Pull request #30 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 36ec5bb4839d48288712cbf208a147c93749a790+a193e592b38d26fd25d0e1783a09c429068bfbdb (4c19508a34f6d499204a09b59a2b65b9d49f0023) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3145807566325598397.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5841200688778004849.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1930521086935299618.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9772634487914107081.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6860353238170873032.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-64195 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-30 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a193e592b38d26fd25d0e1783a09c429068bfbdb into PR head commit 36ec5bb4839d48288712cbf208a147c93749a790 Merge succeeded, producing f9f6f1e7cb440328c79261ac55fa22b0edba285b Checking out Revision f9f6f1e7cb440328c79261ac55fa22b0edba285b (PR-30) > git config core.sparsecheckout # timeout=10 > git checkout -f 36ec5bb4839d48288712cbf208a147c93749a790 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a193e592b38d26fd25d0e1783a09c429068bfbdb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9f6f1e7cb440328c79261ac55fa22b0edba285b # timeout=10 Commit message: "Merge commit 'a193e592b38d26fd25d0e1783a09c429068bfbdb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:11:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:11:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:11:09 ========================================================= 13:11:09 EdgeX Global Pipelines Version Info 13:11:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk de1f0ddc45ecff766976fe88c684f12965260543 # timeout=10 13:11:10 ------------------- 13:11:10 stable info: 13:11:10 ------------------- 13:11:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:11:10 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 13:11:10 Message: update stable to v1.0.230 13:11:10 ------------------- 13:11:10 experimental info: 13:11:10 ------------------- 13:11:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:11:10 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 13:11:10 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:11:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 13:11:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 13:11:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:11:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:11:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:11:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:11:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 13:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:11:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9f6f1e7cb440328c79261ac55fa22b0edba285b [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9f6f1e [Pipeline] echo 13:11:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:11:11 provisioning config files... 13:11:11 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config591399141290478831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:11:11 ---> docker-login.sh 13:11:11 nexus3.edgexfoundry.org:10001 13:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:11 Configure a credential helper to remove this warning. See 13:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:11 13:11:11 Login Succeeded 13:11:11 nexus3.edgexfoundry.org:10002 13:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:12 Configure a credential helper to remove this warning. See 13:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:12 13:11:12 Login Succeeded 13:11:12 nexus3.edgexfoundry.org:10003 13:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:12 Configure a credential helper to remove this warning. See 13:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:12 13:11:12 Login Succeeded 13:11:12 nexus3.edgexfoundry.org:10004 13:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:12 Configure a credential helper to remove this warning. See 13:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:12 13:11:12 Login Succeeded 13:11:12 docker.io 13:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:12 Configure a credential helper to remove this warning. See 13:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:12 13:11:12 Login Succeeded 13:11:12 ---> docker-login.sh ends [Pipeline] } 13:11:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:11:13 + git rev-list -1 --merges f9f6f1e7cb440328c79261ac55fa22b0edba285b~1..f9f6f1e7cb440328c79261ac55fa22b0edba285b [Pipeline] echo 13:11:13 -----------> git rev-list -1 --merges f9f6f1e7cb440328c79261ac55fa22b0edba285b~1..f9f6f1e7cb440328c79261ac55fa22b0edba285b f9f6f1e7cb440328c79261ac55fa22b0edba285b 13:11:13 f9f6f1e7cb440328c79261ac55fa22b0edba285b [false] [Pipeline] sh 13:11:13 + git log --format=format:%s -1 f9f6f1e7cb440328c79261ac55fa22b0edba285b [Pipeline] echo 13:11:13 ========================================================= 13:11:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:11:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:11:13 + git log --format=format:%s -1 f9f6f1e7cb440328c79261ac55fa22b0edba285b [Pipeline] echo 13:11:13 [semverPrep] GIT_COMMIT: f9f6f1e7cb440328c79261ac55fa22b0edba285b, Commit Message: Merge commit 'a193e592b38d26fd25d0e1783a09c429068bfbdb' into HEAD [Pipeline] echo 13:11:13 [semverPrep] This is not a build commit. [Pipeline] sh 13:11:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:11:14 + grep -v github /etc/ssh/ssh_known_hosts 13:11:14 + [ -e /tmp/ssh_known_hosts ] 13:11:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:11:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:11:14 + sudo tee -a /etc/ssh/ssh_known_hosts 13:11:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:11:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:11:14 13:11:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:11:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:11:14 latest: Pulling from edgex-devops/py-git-semver 13:11:14 1fe172e4850f: Pulling fs layer 13:11:14 caf521ccaac6: Pulling fs layer 13:11:14 3ead6fa29328: Pulling fs layer 13:11:14 5c2a1cbceb83: Pulling fs layer 13:11:14 a8d5f1318db7: Pulling fs layer 13:11:14 c427282e49a2: Pulling fs layer 13:11:14 1827001aaf11: Pulling fs layer 13:11:14 0714d37db230: Pulling fs layer 13:11:14 ac28cf19c067: Pulling fs layer 13:11:14 ca983d60f3e2: Pulling fs layer 13:11:14 9f894cec8388: Pulling fs layer 13:11:14 1827001aaf11: Waiting 13:11:14 a8d5f1318db7: Waiting 13:11:14 0714d37db230: Waiting 13:11:14 c427282e49a2: Waiting 13:11:14 ca983d60f3e2: Waiting 13:11:14 5c2a1cbceb83: Waiting 13:11:14 9f894cec8388: Waiting 13:11:14 ac28cf19c067: Waiting 13:11:14 caf521ccaac6: Verifying Checksum 13:11:14 caf521ccaac6: Download complete 13:11:14 5c2a1cbceb83: Verifying Checksum 13:11:14 5c2a1cbceb83: Download complete 13:11:14 3ead6fa29328: Verifying Checksum 13:11:14 3ead6fa29328: Download complete 13:11:15 a8d5f1318db7: Verifying Checksum 13:11:15 a8d5f1318db7: Download complete 13:11:15 c427282e49a2: Verifying Checksum 13:11:15 c427282e49a2: Download complete 13:11:15 0714d37db230: Download complete 13:11:15 ac28cf19c067: Download complete 13:11:15 ca983d60f3e2: Download complete 13:11:15 9f894cec8388: Download complete 13:11:15 1fe172e4850f: Download complete 13:11:15 1827001aaf11: Verifying Checksum 13:11:15 1827001aaf11: Download complete 13:11:16 1fe172e4850f: Pull complete 13:11:16 caf521ccaac6: Pull complete 13:11:16 3ead6fa29328: Pull complete 13:11:17 5c2a1cbceb83: Pull complete 13:11:17 a8d5f1318db7: Pull complete 13:11:17 c427282e49a2: Pull complete 13:11:19 1827001aaf11: Pull complete 13:11:19 0714d37db230: Pull complete 13:11:19 ac28cf19c067: Pull complete 13:11:19 ca983d60f3e2: Pull complete 13:11:19 9f894cec8388: Pull complete 13:11:19 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 13:11:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:11:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 13:11:19 prd-ubuntu20.04-docker-8c-8g-64195 does not seem to be running inside a container 13:11:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 13:11:20 $ docker top 5d3230d49fd60efc63377a55f8cf5011acf83769a832591390887a3726a1311e -eo pid,comm 13:11:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:11:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:11:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:11:21 [ssh-agent] Looking for ssh-agent implementation... 13:11:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:11:21 $ docker exec 5d3230d49fd60efc63377a55f8cf5011acf83769a832591390887a3726a1311e ssh-agent 13:11:21 SSH_AUTH_SOCK=/tmp/ssh-fZAJ5YHrIHrV/agent.33 13:11:21 SSH_AGENT_PID=39 13:11:21 Running ssh-add (command line suppressed) 13:11:21 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_991086945012881916.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_991086945012881916.key) 13:11:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:11:21 + git tag --points-at HEAD [Pipeline] } 13:11:21 $ docker exec --env ******** --env ******** 5d3230d49fd60efc63377a55f8cf5011acf83769a832591390887a3726a1311e ssh-agent -k 13:11:21 unset SSH_AUTH_SOCK; 13:11:21 unset SSH_AGENT_PID; 13:11:21 echo Agent pid 39 killed; 13:11:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:11:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:11:21 [ssh-agent] Looking for ssh-agent implementation... 13:11:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:11:22 $ docker exec 5d3230d49fd60efc63377a55f8cf5011acf83769a832591390887a3726a1311e ssh-agent 13:11:22 SSH_AUTH_SOCK=/tmp/ssh-pJmitpkzNR81/agent.73 13:11:22 SSH_AGENT_PID=79 13:11:22 Running ssh-add (command line suppressed) 13:11:22 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_1312439601158471892.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_1312439601158471892.key) 13:11:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:11:22 + git semver init 13:11:22 2022-05-20 13:11:22,841 [run_init] DEBUG init version:0.0.0 force:False 13:11:22 2022-05-20 13:11:22,842 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver 13:11:22 2022-05-20 13:11:22,842 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver 13:11:22 2022-05-20 13:11:22,842 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-30/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30, universal_newlines=False, shell=None, istream=None) 13:11:23 2022-05-20 13:11:23,385 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude 13:11:23 2022-05-20 13:11:23,386 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False 13:11:23 2022-05-20 13:11:23,386 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 13:11:23 2022-05-20 13:11:23,391 [execute] INFO git cat-file --batch-check 13:11:23 2022-05-20 13:11:23,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 13:11:23 2022-05-20 13:11:23,397 [execute] INFO git cat-file --batch 13:11:23 2022-05-20 13:11:23,398 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 13:11:23 2022-05-20 13:11:23,402 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 13:11:23 0.0.0 [Pipeline] } 13:11:23 $ docker exec --env ******** --env ******** 5d3230d49fd60efc63377a55f8cf5011acf83769a832591390887a3726a1311e ssh-agent -k 13:11:23 unset SSH_AUTH_SOCK; 13:11:23 unset SSH_AGENT_PID; 13:11:23 echo Agent pid 79 killed; 13:11:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:11:23 + git semver [Pipeline] } 13:11:24 $ docker stop --time=1 5d3230d49fd60efc63377a55f8cf5011acf83769a832591390887a3726a1311e 13:11:25 $ docker rm -f 5d3230d49fd60efc63377a55f8cf5011acf83769a832591390887a3726a1311e [Pipeline] // withDockerContainer [Pipeline] sh 13:11:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:11:26 Stashed 1 file(s) [Pipeline] echo 13:11:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:11:26 provisioning config files... 13:11:26 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config687468113033083987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:11:26 ---> docker-login.sh 13:11:26 nexus3.edgexfoundry.org:10001 13:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:26 Configure a credential helper to remove this warning. See 13:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:26 13:11:26 Login Succeeded 13:11:26 nexus3.edgexfoundry.org:10002 13:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:26 Configure a credential helper to remove this warning. See 13:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:26 13:11:26 Login Succeeded 13:11:26 nexus3.edgexfoundry.org:10003 13:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:26 Configure a credential helper to remove this warning. See 13:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:26 13:11:26 Login Succeeded 13:11:26 nexus3.edgexfoundry.org:10004 13:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:27 Configure a credential helper to remove this warning. See 13:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:27 13:11:27 Login Succeeded 13:11:27 docker.io 13:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:27 Configure a credential helper to remove this warning. See 13:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:27 13:11:27 Login Succeeded 13:11:27 ---> docker-login.sh ends [Pipeline] } 13:11:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:11:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:11:27 ========================================================= 13:11:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:11:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:11:27 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:11:27 Sending build context to Docker daemon 857.1kB 13:11:27 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:11:27 Step 2/12 : FROM ${BASE} AS builder 13:11:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:11:27 59bf1c3509f3: Pulling fs layer 13:11:27 666ba61612fd: Pulling fs layer 13:11:27 8ed8ca486205: Pulling fs layer 13:11:27 4fe6c5a15a65: Pulling fs layer 13:11:27 22a0e8bec74d: Pulling fs layer 13:11:27 ca2b28591e48: Pulling fs layer 13:11:27 a51346096db8: Pulling fs layer 13:11:27 daebc70d1ce1: Pulling fs layer 13:11:27 0e18a0eac166: Pulling fs layer 13:11:27 22a0e8bec74d: Waiting 13:11:27 ca2b28591e48: Waiting 13:11:27 a51346096db8: Waiting 13:11:27 0e18a0eac166: Waiting 13:11:27 daebc70d1ce1: Waiting 13:11:27 8ed8ca486205: Verifying Checksum 13:11:27 8ed8ca486205: Download complete 13:11:27 666ba61612fd: Verifying Checksum 13:11:27 666ba61612fd: Download complete 13:11:27 22a0e8bec74d: Download complete 13:11:27 ca2b28591e48: Verifying Checksum 13:11:27 ca2b28591e48: Download complete 13:11:27 59bf1c3509f3: Download complete 13:11:27 a51346096db8: Verifying Checksum 13:11:27 a51346096db8: Download complete 13:11:28 daebc70d1ce1: Verifying Checksum 13:11:28 daebc70d1ce1: Download complete 13:11:28 59bf1c3509f3: Pull complete 13:11:28 666ba61612fd: Pull complete 13:11:28 8ed8ca486205: Pull complete 13:11:28 0e18a0eac166: Verifying Checksum 13:11:28 0e18a0eac166: Download complete 13:11:28 4fe6c5a15a65: Verifying Checksum 13:11:28 4fe6c5a15a65: Download complete 13:11:32 4fe6c5a15a65: Pull complete 13:11:32 22a0e8bec74d: Pull complete 13:11:32 ca2b28591e48: Pull complete 13:11:32 a51346096db8: Pull complete 13:11:32 daebc70d1ce1: Pull complete 13:11:34 0e18a0eac166: Pull complete 13:11:34 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 13:11:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:11:34 ---> f018257e8ee9 13:11:34 Step 3/12 : ARG MAKE="make build" 13:11:36 ---> Running in 1a4f8f2dc937 13:11:36 Removing intermediate container 1a4f8f2dc937 13:11:36 ---> 02ecb34623ba 13:11:36 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:11:37 ---> Running in 086a9a9e3f7d 13:11:37 Removing intermediate container 086a9a9e3f7d 13:11:37 ---> 1ab21467b70a 13:11:37 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 13:11:37 ---> Running in 870be20f0b23 13:11:37 Removing intermediate container 870be20f0b23 13:11:37 ---> 4930bc4ab98a 13:11:37 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:11:37 ---> Running in 1fbbc01ac97a 13:11:38 Removing intermediate container 1fbbc01ac97a 13:11:38 ---> 903855aea5c5 13:11:38 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:11:38 ---> Running in a74fea9064ff 13:11:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:11:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:11:39 (1/81) Installing mesa (21.2.6-r0) 13:11:39 (2/81) Installing libxau (1.0.9-r0) 13:11:39 (3/81) Installing libmd (1.0.3-r0) 13:11:40 (4/81) Installing libbsd (0.11.3-r1) 13:11:40 (5/81) Installing libxdmcp (1.1.3-r0) 13:11:40 (6/81) Installing libxcb (1.14-r2) 13:11:40 (7/81) Installing libx11 (1.7.2-r0) 13:11:40 (8/81) Installing libxext (1.3.4-r0) 13:11:40 (9/81) Installing libxfixes (6.0.0-r0) 13:11:40 (10/81) Installing libxxf86vm (1.1.4-r2) 13:11:40 (11/81) Installing libpciaccess (0.16-r0) 13:11:41 (12/81) Installing libdrm (2.4.109-r0) 13:11:41 (13/81) Installing mesa-glapi (21.2.6-r0) 13:11:41 (14/81) Installing libxshmfence (1.3-r1) 13:11:41 Still waiting to schedule task 13:11:41 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 13:11:41 (15/81) Installing mesa-gl (21.2.6-r0) 13:11:41 (16/81) Installing libice (1.0.10-r0) 13:11:41 (17/81) Installing libuuid (2.37.4-r0) 13:11:41 (18/81) Installing libsm (1.2.3-r0) 13:11:41 (19/81) Installing libxt (1.2.1-r0) 13:11:41 (20/81) Installing libxmu (1.1.3-r0) 13:11:41 (21/81) Installing xset (1.2.4-r0) 13:11:41 (22/81) Installing xprop (1.2.5-r0) 13:11:41 (23/81) Installing xdg-utils (1.1.3-r0) 13:11:42 (24/81) Installing dbus-libs (1.12.20-r4) 13:11:42 (25/81) Installing libffi (3.4.2-r1) 13:11:42 (26/81) Installing libintl (0.21-r0) 13:11:42 (27/81) Installing libblkid (2.37.4-r0) 13:11:42 (28/81) Installing libmount (2.37.4-r0) 13:11:42 (29/81) Installing pcre (8.45-r1) 13:11:42 (30/81) Installing glib (2.70.1-r0) 13:11:42 (31/81) Installing icu-libs (69.1-r1) 13:11:43 (32/81) Installing libpcre2-16 (10.39-r0) 13:11:43 (33/81) Installing zstd-libs (1.5.0-r0) 13:11:43 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 13:11:45 (35/81) Installing hicolor-icon-theme (0.17-r1) 13:11:45 (36/81) Installing wayland-libs-server (1.19.0-r1) 13:11:45 (37/81) Installing mesa-gbm (21.2.6-r0) 13:11:45 (38/81) Installing wayland-libs-client (1.19.0-r1) 13:11:45 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 13:11:45 (40/81) Installing libxcomposite (0.4.5-r0) 13:11:45 (41/81) Installing libbz2 (1.0.8-r1) 13:11:45 (42/81) Installing libpng (1.6.37-r1) 13:11:45 (43/81) Installing freetype (2.11.1-r2) 13:11:45 (44/81) Installing fontconfig (2.13.1-r4) 13:11:46 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 13:11:46 (46/81) Installing wayland-libs-egl (1.19.0-r1) 13:11:46 (47/81) Installing xkeyboard-config (2.34-r0) 13:11:46 (48/81) Installing xz-libs (5.2.5-r1) 13:11:46 (49/81) Installing libxml2 (2.9.14-r0) 13:11:46 (50/81) Installing libxkbcommon (1.3.1-r0) 13:11:46 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 13:11:46 (52/81) Installing mesa-egl (21.2.6-r0) 13:11:47 (53/81) Installing avahi-libs (0.8-r5) 13:11:47 (54/81) Installing nettle (3.7.3-r0) 13:11:47 (55/81) Installing p11-kit (0.24.0-r1) 13:11:47 (56/81) Installing libtasn1 (4.18.0-r0) 13:11:47 (57/81) Installing libunistring (0.9.10-r1) 13:11:47 (58/81) Installing gnutls (3.7.1-r0) 13:11:47 (59/81) Installing cups-libs (2.3.3-r5) 13:11:47 (60/81) Installing graphite2 (1.3.14-r0) 13:11:47 (61/81) Installing harfbuzz (3.0.0-r2) 13:11:47 (62/81) Installing libevdev (1.12.0-r0) 13:11:47 (63/81) Installing mtdev (1.1.6-r0) 13:11:48 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 13:11:48 (65/81) Installing libinput-libs (1.19.4-r0) 13:11:48 (66/81) Installing libjpeg-turbo (2.1.2-r0) 13:11:48 (67/81) Installing xcb-util-wm (0.4.1-r1) 13:11:48 (68/81) Installing xcb-util (0.4.0-r3) 13:11:48 (69/81) Installing xcb-util-image (0.4.0-r1) 13:11:48 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 13:11:48 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 13:11:48 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 13:11:48 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 13:11:49 (74/81) Installing v4l-utils-libs (1.22.1-r1) 13:11:49 (75/81) Installing v4l-utils (1.22.1-r1) 13:11:49 (76/81) Installing udev-init-scripts (35-r0) 13:11:49 Executing udev-init-scripts-35-r0.post-install 13:11:49 (77/81) Installing kmod-libs (29-r2) 13:11:49 (78/81) Installing eudev (3.2.11_pre1-r0) 13:11:49 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 13:11:49 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 13:11:49 (81/81) Installing v4l-utils-dev (1.22.1-r1) 13:11:49 Executing busybox-1.34.1-r3.trigger 13:11:49 Executing eudev-3.2.11_pre1-r0.trigger 13:11:49 OK: 335 MiB in 133 packages 13:11:52 Removing intermediate container a74fea9064ff 13:11:52 ---> 8603683d769e 13:11:52 Step 8/12 : WORKDIR /device-usb-camera 13:11:52 ---> Running in b0f36b263970 13:11:52 Removing intermediate container b0f36b263970 13:11:52 ---> 5103f72bea1e 13:11:52 Step 9/12 : COPY go.mod vendor* ./ 13:11:52 ---> bb7297aa44fa 13:11:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:11:52 ---> Running in 0ef6f6130729 13:12:10 Removing intermediate container 0ef6f6130729 13:12:10 ---> f8311e685a6b 13:12:10 Step 11/12 : COPY . . 13:12:10 ---> 13449a7bcc52 13:12:10 Step 12/12 : RUN ${MAKE} 13:12:10 ---> Running in 9d420a45f663 13:12:10 noop 13:12:10 Removing intermediate container 9d420a45f663 13:12:10 ---> 52cfe7c74c22 13:12:10 Successfully built 52cfe7c74c22 13:12:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:12:11 + docker inspect -f . ci-base-image-x86_64 13:12:11 . [Pipeline] withDockerContainer 13:12:11 prd-ubuntu20.04-docker-8c-8g-64195 does not seem to be running inside a container 13:12:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:12:11 $ docker top 836a5adcb3c48e0271c28350362fe694328616264b16e14280c9bb3268db4ce3 -eo pid,comm [Pipeline] { [Pipeline] sh 13:12:12 + go version 13:12:12 go version go1.17.6 linux/amd64 [Pipeline] } 13:12:12 $ docker stop --time=1 836a5adcb3c48e0271c28350362fe694328616264b16e14280c9bb3268db4ce3 13:12:13 $ docker rm -f 836a5adcb3c48e0271c28350362fe694328616264b16e14280c9bb3268db4ce3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:12:13 + docker inspect -f . ci-base-image-x86_64 13:12:13 . [Pipeline] withDockerContainer 13:12:13 prd-ubuntu20.04-docker-8c-8g-64195 does not seem to be running inside a container 13:12:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:12:14 $ docker top acfce6bcf3ac51de50703a1e181f579b368bf5d7d17aa840286cb56b4f351de9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:12:14 + make test 13:12:14 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 13:12:14 ? github.com/edgexfoundry/device-usb-camera [no test files] 13:12:25 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 13:12:25 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 13:12:31 CGO_ENABLED=1 go vet ./... 13:12:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:12:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:12:35 ./bin/test-attribution-txt.sh [Pipeline] echo 13:12:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:12:36 $ docker stop --time=1 acfce6bcf3ac51de50703a1e181f579b368bf5d7d17aa840286cb56b4f351de9 13:12:37 $ docker rm -f acfce6bcf3ac51de50703a1e181f579b368bf5d7d17aa840286cb56b4f351de9 [Pipeline] // withDockerContainer [Pipeline] sh 13:12:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:12:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:12:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:12:39 + ls -al . 13:12:39 total 168 13:12:39 drwxrwxr-x 10 jenkins jenkins 4096 May 20 13:12 . 13:12:39 drwxrwxr-x 4 jenkins jenkins 4096 May 20 13:11 .. 13:12:39 drwxrwxr-x 8 jenkins jenkins 4096 May 20 13:11 .git 13:12:39 drwxrwxr-x 2 jenkins jenkins 4096 May 20 13:11 .github 13:12:39 -rw-rw-r-- 1 jenkins jenkins 434 May 20 13:11 .gitignore 13:12:39 -rw-rw-r-- 1 jenkins jenkins 42 May 20 13:11 .golangci.yml 13:12:39 -rw-rw-r-- 1 jenkins jenkins 77 May 20 13:11 .hadolint.yml 13:12:39 drwxr-xr-x 3 jenkins jenkins 4096 May 20 13:11 .semver 13:12:39 -rw-rw-r-- 1 jenkins jenkins 8706 May 20 13:11 Attribution.txt 13:12:39 -rw-rw-r-- 1 jenkins jenkins 181 May 20 13:11 CHANGELOG.md 13:12:39 -rw-rw-r-- 1 jenkins jenkins 1891 May 20 13:11 Dockerfile 13:12:39 -rw-rw-r-- 1 jenkins jenkins 678 May 20 13:11 GOVERNANCE.md 13:12:39 -rw-rw-r-- 1 jenkins jenkins 659 May 20 13:11 Jenkinsfile 13:12:39 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 13:11 LICENSE 13:12:39 -rw-rw-r-- 1 jenkins jenkins 1641 May 20 13:11 Makefile 13:12:39 -rw-rw-r-- 1 jenkins jenkins 622 May 20 13:11 OWNERS.md 13:12:39 -rw-rw-r-- 1 jenkins jenkins 8960 May 20 13:11 README.md 13:12:39 -rw-rw-r-- 1 jenkins jenkins 5 May 20 13:11 VERSION 13:12:39 drwxrwxr-x 2 jenkins jenkins 4096 May 20 13:11 bin 13:12:39 drwxrwxr-x 3 jenkins jenkins 4096 May 20 13:11 cmd 13:12:39 -rw-r--r-- 1 jenkins jenkins 10 May 20 13:12 coverage.out 13:12:39 drwxrwxr-x 2 jenkins jenkins 4096 May 20 13:11 docker-compose 13:12:39 -rw-rw-r-- 1 jenkins jenkins 140 May 20 13:11 docker-entrypoint.sh 13:12:39 -rw-rw-r-- 1 jenkins jenkins 3307 May 20 13:11 go.mod 13:12:39 -rw-rw-r-- 1 jenkins jenkins 35656 May 20 13:11 go.sum 13:12:39 drwxrwxr-x 3 jenkins jenkins 4096 May 20 13:11 internal 13:12:39 drwxrwxr-x 3 jenkins jenkins 4096 May 20 13:11 snap 13:12:39 -rw-rw-r-- 1 jenkins jenkins 231 May 20 13:11 version.go [Pipeline] isUnix [Pipeline] sh 13:12:39 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=f9f6f1e7cb440328c79261ac55fa22b0edba285b --label arch=amd64 --label version=0.0.0 . 13:12:39 Sending build context to Docker daemon 858.1kB 13:12:39 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 13:12:39 Step 2/29 : FROM ${BASE} AS builder 13:12:39 ---> 52cfe7c74c22 13:12:39 Step 3/29 : ARG MAKE="make build" 13:12:39 ---> Running in 82f49dbecb55 13:12:39 Removing intermediate container 82f49dbecb55 13:12:39 ---> f8f8ab21d4e8 13:12:39 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:12:39 ---> Running in 88da034d55f3 13:12:39 Removing intermediate container 88da034d55f3 13:12:39 ---> 135988c0d3ff 13:12:39 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 13:12:39 ---> Running in 07d0166ac2d1 13:12:40 Removing intermediate container 07d0166ac2d1 13:12:40 ---> e125c4abb13f 13:12:40 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:12:40 ---> Running in 45d532328d36 13:12:40 Removing intermediate container 45d532328d36 13:12:40 ---> 1b428047cdbd 13:12:40 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:12:40 ---> Running in 16ea75aa3683 13:12:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:12:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:12:42 OK: 335 MiB in 133 packages 13:12:42 Removing intermediate container 16ea75aa3683 13:12:42 ---> 626e4705b9c7 13:12:42 Step 8/29 : WORKDIR /device-usb-camera 13:12:42 ---> Running in dc4f687172c1 13:12:42 Removing intermediate container dc4f687172c1 13:12:42 ---> 3da0cfe196b3 13:12:42 Step 9/29 : COPY go.mod vendor* ./ 13:12:42 ---> 91c8ae40edbe 13:12:42 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:12:42 ---> Running in c3cdd6694911 13:12:43 Removing intermediate container c3cdd6694911 13:12:43 ---> 0865182184ad 13:12:43 Step 11/29 : COPY . . 13:12:43 ---> cfb19ce610be 13:12:43 Step 12/29 : RUN ${MAKE} 13:12:43 ---> Running in 93fc0f30114f 13:12:43 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -o cmd/device-usb-camera ./cmd 13:12:58 Removing intermediate container 93fc0f30114f 13:12:58 ---> c30243fd9135 13:12:58 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 13:12:58 v0.18.4: Pulling from aler9/rtsp-simple-server 13:12:58 af6660deedbd: Pulling fs layer 13:12:58 97cd0a44c592: Pulling fs layer 13:12:58 97cd0a44c592: Download complete 13:12:58 af6660deedbd: Verifying Checksum 13:12:58 af6660deedbd: Download complete 13:12:58 af6660deedbd: Pull complete 13:12:58 97cd0a44c592: Pull complete 13:12:58 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 13:12:58 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 13:12:58 ---> fea57e182299 13:12:58 Step 14/29 : FROM alpine:3.15 13:12:58 3.15: Pulling from library/alpine 13:12:58 df9b9388f04a: Pulling fs layer 13:12:58 df9b9388f04a: Verifying Checksum 13:12:58 df9b9388f04a: Download complete 13:12:58 df9b9388f04a: Pull complete 13:12:58 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 13:12:58 Status: Downloaded newer image for alpine:3.15 13:12:58 ---> 0ac33e5f5afa 13:12:58 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 13:12:58 ---> Running in 6af77a569cd1 13:12:58 Removing intermediate container 6af77a569cd1 13:12:58 ---> e66882650410 13:12:58 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 13:12:59 ---> Running in 3952af871c2c 13:12:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:12:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:12:59 (1/74) Installing dumb-init (1.2.5-r1) 13:12:59 (2/74) Installing sdl2 (2.0.16-r4) 13:12:59 (3/74) Installing libxau (1.0.9-r0) 13:12:59 (4/74) Installing libmd (1.0.3-r0) 13:12:59 (5/74) Installing libbsd (0.11.3-r1) 13:12:59 (6/74) Installing libxdmcp (1.1.3-r0) 13:12:59 (7/74) Installing libxcb (1.14-r2) 13:12:59 (8/74) Installing libx11 (1.7.2-r0) 13:12:59 (9/74) Installing aom-libs (3.2.0-r0) 13:12:59 (10/74) Installing alsa-lib (1.2.5.1-r1) 13:12:59 (11/74) Installing expat (2.4.7-r0) 13:12:59 (12/74) Installing brotli-libs (1.0.9-r5) 13:12:59 (13/74) Installing libbz2 (1.0.8-r1) 13:12:59 (14/74) Installing libpng (1.6.37-r1) 13:12:59 (15/74) Installing freetype (2.11.1-r2) 13:12:59 (16/74) Installing libuuid (2.37.4-r0) 13:12:59 (17/74) Installing fontconfig (2.13.1-r4) 13:12:59 (18/74) Installing fribidi (1.0.11-r0) 13:12:59 (19/74) Installing libffi (3.4.2-r1) 13:12:59 (20/74) Installing libintl (0.21-r0) 13:12:59 (21/74) Installing libblkid (2.37.4-r0) 13:12:59 (22/74) Installing libmount (2.37.4-r0) 13:12:59 (23/74) Installing pcre (8.45-r1) 13:12:59 (24/74) Installing glib (2.70.1-r0) 13:12:59 (25/74) Installing graphite2 (1.3.14-r0) 13:12:59 (26/74) Installing harfbuzz (3.0.0-r2) 13:12:59 (27/74) Installing libass (0.15.2-r0) 13:12:59 (28/74) Installing libdav1d (0.9.2-r0) 13:12:59 (29/74) Installing gmp (6.2.1-r1) 13:12:59 (30/74) Installing nettle (3.7.3-r0) 13:12:59 (31/74) Installing p11-kit (0.24.0-r1) 13:12:59 (32/74) Installing libtasn1 (4.18.0-r0) 13:12:59 (33/74) Installing libunistring (0.9.10-r1) 13:12:59 (34/74) Installing gnutls (3.7.1-r0) 13:12:59 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 13:12:59 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 13:12:59 (37/74) Installing lame (3.100-r0) 13:12:59 (38/74) Installing opus (1.3.1-r1) 13:12:59 (39/74) Installing libgomp (10.3.1_git20211027-r0) 13:12:59 (40/74) Installing soxr (0.1.3-r2) 13:12:59 (41/74) Installing libgcc (10.3.1_git20211027-r0) 13:12:59 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 13:12:59 (43/74) Installing libsrt (1.4.2-r1) 13:12:59 (44/74) Installing libssh (0.9.6-r1) 13:13:00 (45/74) Installing libogg (1.3.5-r0) 13:13:00 (46/74) Installing libtheora (1.1.1-r16) 13:13:00 (47/74) Installing libjpeg-turbo (2.1.2-r0) 13:13:00 (48/74) Installing v4l-utils-libs (1.22.1-r1) 13:13:00 (49/74) Installing libxext (1.3.4-r0) 13:13:00 (50/74) Installing libxfixes (6.0.0-r0) 13:13:00 (51/74) Installing libpciaccess (0.16-r0) 13:13:00 (52/74) Installing libdrm (2.4.109-r0) 13:13:00 (53/74) Installing wayland-libs-client (1.19.0-r1) 13:13:00 (54/74) Installing libva (2.13.0-r0) 13:13:00 (55/74) Installing libvdpau (1.4-r0) 13:13:00 (56/74) Installing vidstab (1.1.0-r1) 13:13:00 (57/74) Installing libvorbis (1.3.7-r0) 13:13:00 (58/74) Installing libvpx (1.10.0-r0) 13:13:00 (59/74) Installing vulkan-loader (1.2.196-r0) 13:13:00 (60/74) Installing libwebp (1.2.2-r0) 13:13:00 (61/74) Installing x264-libs (20210613-r0) 13:13:00 (62/74) Installing x265-libs (3.5-r0) 13:13:00 (63/74) Installing xvidcore (1.3.7-r1) 13:13:00 (64/74) Installing ffmpeg-libs (4.4.1-r2) 13:13:00 (65/74) Installing ffmpeg (4.4.1-r2) 13:13:00 (66/74) Installing udev-init-scripts (35-r0) 13:13:00 Executing udev-init-scripts-35-r0.post-install 13:13:00 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 13:13:00 (68/74) Installing xz-libs (5.2.5-r1) 13:13:00 (69/74) Installing zstd-libs (1.5.0-r0) 13:13:00 (70/74) Installing kmod-libs (29-r2) 13:13:00 (71/74) Installing eudev (3.2.11_pre1-r0) 13:13:00 (72/74) Installing libsodium (1.0.18-r0) 13:13:00 (73/74) Installing libzmq (4.3.4-r0) 13:13:00 (74/74) Installing zeromq (4.3.4-r0) 13:13:00 Executing busybox-1.34.1-r5.trigger 13:13:00 Executing eudev-3.2.11_pre1-r0.trigger 13:13:00 OK: 78 MiB in 88 packages 13:13:01 Removing intermediate container 3952af871c2c 13:13:01 ---> b9dcaeceaaa7 13:13:01 Step 17/29 : WORKDIR / 13:13:01 ---> Running in f89d08e77727 13:13:01 Removing intermediate container f89d08e77727 13:13:01 ---> 555b5bf3d415 13:13:01 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 13:13:02 ---> 3f27d3c839a8 13:13:02 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 13:13:02 ---> 18d6b6f28e05 13:13:02 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 13:13:03 ---> ba6d931bf5ac 13:13:03 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 13:13:03 ---> b113c5e5705c 13:13:03 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 13:13:03 ---> 8e71c24c4d41 13:13:03 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 13:13:04 ---> 4a52bce3a612 13:13:04 Step 24/29 : EXPOSE 59983 13:13:04 ---> Running in 471ed4420a31 13:13:04 Removing intermediate container 471ed4420a31 13:13:04 ---> 6cf37f948f37 13:13:04 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 13:13:04 ---> Running in 0264e9013afe 13:13:04 Removing intermediate container 0264e9013afe 13:13:04 ---> 889f691f5534 13:13:04 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 13:13:04 ---> Running in 2194ca99dea6 13:13:04 Removing intermediate container 2194ca99dea6 13:13:04 ---> f29a5ecdbfb4 13:13:04 Step 27/29 : LABEL arch=amd64 13:13:04 ---> Running in 197c7859ac38 13:13:04 Removing intermediate container 197c7859ac38 13:13:04 ---> 9b4a9c913a60 13:13:04 Step 28/29 : LABEL git_sha=f9f6f1e7cb440328c79261ac55fa22b0edba285b 13:13:04 ---> Running in f74e8ee48858 13:13:04 Removing intermediate container f74e8ee48858 13:13:04 ---> c7e19b87738a 13:13:04 Step 29/29 : LABEL version=0.0.0 13:13:04 ---> Running in 75b27df8c6c2 13:13:04 Removing intermediate container 75b27df8c6c2 13:13:04 ---> 66d2e5d81266 13:13:04 [Warning] One or more build-args [ARCH] were not consumed 13:13:04 Successfully built 66d2e5d81266 13:13:04 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:13:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:13:05 13:13:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:13:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:13:05 latest: Pulling from edgex-lftools-log-publisher 13:13:05 5eb5b503b376: Pulling fs layer 13:13:05 5c69ac0246d0: Pulling fs layer 13:13:05 ec43610c2a17: Pulling fs layer 13:13:05 3a2ae6a8a46f: Pulling fs layer 13:13:05 33b1e0a273af: Pulling fs layer 13:13:05 5d3b04190fa2: Pulling fs layer 13:13:05 2f39f015ded8: Pulling fs layer 13:13:05 33b1e0a273af: Waiting 13:13:05 5d3b04190fa2: Waiting 13:13:05 2f39f015ded8: Waiting 13:13:05 3a2ae6a8a46f: Waiting 13:13:05 5c69ac0246d0: Verifying Checksum 13:13:05 5c69ac0246d0: Download complete 13:13:05 3a2ae6a8a46f: Verifying Checksum 13:13:05 3a2ae6a8a46f: Download complete 13:13:05 ec43610c2a17: Verifying Checksum 13:13:05 ec43610c2a17: Download complete 13:13:05 33b1e0a273af: Verifying Checksum 13:13:05 33b1e0a273af: Download complete 13:13:05 5d3b04190fa2: Download complete 13:13:05 5eb5b503b376: Verifying Checksum 13:13:05 5eb5b503b376: Download complete 13:13:06 2f39f015ded8: Download complete 13:13:07 5eb5b503b376: Pull complete 13:13:07 5c69ac0246d0: Pull complete 13:13:07 ec43610c2a17: Pull complete 13:13:07 3a2ae6a8a46f: Pull complete 13:13:08 33b1e0a273af: Pull complete 13:13:08 5d3b04190fa2: Pull complete 13:13:12 2f39f015ded8: Pull complete 13:13:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:13:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:13:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:13:12 prd-ubuntu20.04-docker-8c-8g-64195 does not seem to be running inside a container 13:13:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:13:14 $ docker top 9bb281d12aec712de4a890f89fd12e1ed102f74e031b831f75f1062b6a1c94d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:13:15 ---> job-cost.sh 13:13:15 lf-activate-venv: SKIPPING 13:13:15 INFO: No Stack... 13:13:15 INFO: Retrieving Pricing Info for: v3-standard-8 13:13:16 INFO: Archiving Costs [Pipeline] sh 13:13:16 + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv 13:13:16 + cut -d, -f6 [Pipeline] lock 13:13:16 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-2-stack-cost] 13:13:16 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-2-stack-cost] did not exist. Created. 13:13:16 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:13:16 + echo total: 0.2199999988079071 [Pipeline] stash 13:13:16 Stashed 1 file(s) [Pipeline] } 13:13:16 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-2-stack-cost] [Pipeline] // lock [Pipeline] } 13:13:16 $ docker stop --time=1 9bb281d12aec712de4a890f89fd12e1ed102f74e031b831f75f1062b6a1c94d3 13:13:17 $ docker rm -f 9bb281d12aec712de4a890f89fd12e1ed102f74e031b831f75f1062b6a1c94d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:15:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64196 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws 13:15:01 Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout 13:15:01 Selected Git installation does not exist. Using Default 13:15:01 The recommended git tool is: NONE 13:15:08 using credential edgex-jenkins-ssh 13:15:08 Cloning the remote Git repository 13:15:08 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 13:15:08 > git init /w/workspace/device-usb-camera/2 # timeout=10 13:15:08 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 13:15:08 > git --version # timeout=10 13:15:08 > git --version # 'git version 2.25.1' 13:15:08 using GIT_SSH to set credentials SSH Credentials for GitHub 13:15:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:15:09 Merging remotes/origin/main commit a193e592b38d26fd25d0e1783a09c429068bfbdb into PR head commit 36ec5bb4839d48288712cbf208a147c93749a790 13:15:10 Merge succeeded, producing 61286f928f8729d3d70d6662ccbe626d8dd228e6 13:15:10 Checking out Revision 61286f928f8729d3d70d6662ccbe626d8dd228e6 (PR-30) 13:15:09 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 13:15:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:15:09 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 13:15:09 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 13:15:09 using GIT_SSH to set credentials SSH Credentials for GitHub 13:15:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:15:09 > git config core.sparsecheckout # timeout=10 13:15:09 > git checkout -f 36ec5bb4839d48288712cbf208a147c93749a790 # timeout=10 13:15:10 > git remote # timeout=10 13:15:10 > git config --get remote.origin.url # timeout=10 13:15:10 using GIT_SSH to set credentials SSH Credentials for GitHub 13:15:10 > git merge a193e592b38d26fd25d0e1783a09c429068bfbdb # timeout=10 13:15:10 > git rev-parse HEAD^{commit} # timeout=10 13:15:10 > git config core.sparsecheckout # timeout=10 13:15:10 > git checkout -f 61286f928f8729d3d70d6662ccbe626d8dd228e6 # timeout=10 13:15:14 Commit message: "Merge commit 'a193e592b38d26fd25d0e1783a09c429068bfbdb' into HEAD" 13:15:14 First time build. Skipping changelog. 13:15:14 > git rev-list --no-walk de1f0ddc45ecff766976fe88c684f12965260543 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:15:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:15:15 % Total % Received % Xferd Average Speed Time Time Time Current 13:15:15 Dload Upload Total Spent Left Speed 13:15:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 46946 0 --:--:-- --:--:-- --:--:-- 46946 [Pipeline] sh 13:15:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:15:16 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo tee /etc/docker/daemon.new 13:15:16 /etc/docker/daemon.json 13:15:16 { 13:15:16 "registry-mirrors": [ 13:15:16 "https://nexus3.edgexfoundry.org:10001" 13:15:16 ], 13:15:16 "bip": "10.250.0.254/24", 13:15:16 "hosts": [ 13:15:16 "tcp://0.0.0.0:5555", 13:15:16 "unix:///var/run/docker.sock" 13:15:16 ], 13:15:16 "mtu": 1458, 13:15:16 "selinux-enabled": true, 13:15:16 "seccomp-profile": "/etc/docker/seccomp.json" 13:15:16 } [Pipeline] sh 13:15:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:15:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:15:35 provisioning config files... 13:15:35 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config7429652120298258743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:35 ---> docker-login.sh 13:15:35 nexus3.edgexfoundry.org:10001 13:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:36 Configure a credential helper to remove this warning. See 13:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:36 13:15:36 Login Succeeded 13:15:36 nexus3.edgexfoundry.org:10002 13:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:37 Configure a credential helper to remove this warning. See 13:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:37 13:15:37 Login Succeeded 13:15:37 nexus3.edgexfoundry.org:10003 13:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:37 Configure a credential helper to remove this warning. See 13:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:37 13:15:37 Login Succeeded 13:15:37 nexus3.edgexfoundry.org:10004 13:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:38 Configure a credential helper to remove this warning. See 13:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:38 13:15:38 Login Succeeded 13:15:38 docker.io 13:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:38 Configure a credential helper to remove this warning. See 13:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:38 13:15:38 Login Succeeded 13:15:38 ---> docker-login.sh ends [Pipeline] } 13:15:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:15:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:15:39 ========================================================= 13:15:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:15:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:15:39 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:15:40 Sending build context to Docker daemon 668.7kB 13:15:40 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:15:40 Step 2/12 : FROM ${BASE} AS builder 13:15:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:15:40 9b3977197b4f: Pulling fs layer 13:15:40 1a89e8eeedd5: Pulling fs layer 13:15:40 94645a83ff95: Pulling fs layer 13:15:40 3f3a8bcf1eab: Pulling fs layer 13:15:40 0c92f367c5e7: Pulling fs layer 13:15:40 3096ccb668a1: Pulling fs layer 13:15:40 e8cf19c19ddd: Pulling fs layer 13:15:40 a4caa8a26152: Pulling fs layer 13:15:40 3f3a8bcf1eab: Waiting 13:15:40 0c92f367c5e7: Waiting 13:15:40 3096ccb668a1: Waiting 13:15:40 e8cf19c19ddd: Waiting 13:15:40 a4caa8a26152: Waiting 13:15:40 94645a83ff95: Verifying Checksum 13:15:40 94645a83ff95: Download complete 13:15:40 1a89e8eeedd5: Download complete 13:15:40 0c92f367c5e7: Verifying Checksum 13:15:40 0c92f367c5e7: Download complete 13:15:40 3096ccb668a1: Verifying Checksum 13:15:40 3096ccb668a1: Download complete 13:15:40 9b3977197b4f: Verifying Checksum 13:15:40 9b3977197b4f: Download complete 13:15:40 e8cf19c19ddd: Verifying Checksum 13:15:40 e8cf19c19ddd: Download complete 13:15:41 9b3977197b4f: Pull complete 13:15:41 1a89e8eeedd5: Pull complete 13:15:42 94645a83ff95: Pull complete 13:15:42 a4caa8a26152: Verifying Checksum 13:15:42 a4caa8a26152: Download complete 13:15:43 3f3a8bcf1eab: Download complete 13:15:55 3f3a8bcf1eab: Pull complete 13:15:55 0c92f367c5e7: Pull complete 13:15:55 3096ccb668a1: Pull complete 13:15:56 e8cf19c19ddd: Pull complete 13:16:02 a4caa8a26152: Pull complete 13:16:02 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 13:16:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:16:02 ---> 725f1c02e7f9 13:16:02 Step 3/12 : ARG MAKE="make build" 13:16:03 ---> Running in 82a45fabb5f4 13:16:04 Removing intermediate container 82a45fabb5f4 13:16:04 ---> 04cc20c4ada2 13:16:04 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:16:04 ---> Running in 6cab7db91c39 13:16:04 Removing intermediate container 6cab7db91c39 13:16:04 ---> 2084681c3d9b 13:16:04 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 13:16:04 ---> Running in c3905e7aefa7 13:16:04 Removing intermediate container c3905e7aefa7 13:16:04 ---> 510431983c80 13:16:04 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:16:04 ---> Running in e92ec7867c8c 13:16:06 Removing intermediate container e92ec7867c8c 13:16:06 ---> 0a5794fcec02 13:16:06 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:16:06 ---> Running in 678d021bce82 13:16:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:16:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:16:09 (1/14) Installing libintl (0.21-r0) 13:16:09 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 13:16:09 (3/14) Installing libjpeg-turbo (2.1.2-r0) 13:16:09 (4/14) Installing v4l-utils-libs (1.22.1-r1) 13:16:09 (5/14) Installing v4l-utils (1.22.1-r1) 13:16:09 (6/14) Installing udev-init-scripts (35-r0) 13:16:10 Executing udev-init-scripts-35-r0.post-install 13:16:10 (7/14) Installing libblkid (2.37.4-r0) 13:16:10 (8/14) Installing xz-libs (5.2.5-r1) 13:16:10 (9/14) Installing zstd-libs (1.5.0-r0) 13:16:10 (10/14) Installing kmod-libs (29-r2) 13:16:10 (11/14) Installing eudev (3.2.11_pre1-r0) 13:16:10 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 13:16:10 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 13:16:10 (14/14) Installing v4l-utils-dev (1.22.1-r1) 13:16:10 Executing busybox-1.34.1-r3.trigger 13:16:10 Executing eudev-3.2.11_pre1-r0.trigger 13:16:10 OK: 227 MiB in 66 packages 13:16:11 Removing intermediate container 678d021bce82 13:16:11 ---> 73ac8bbe4a0b 13:16:11 Step 8/12 : WORKDIR /device-usb-camera 13:16:12 ---> Running in e90b64f11583 13:16:12 Removing intermediate container e90b64f11583 13:16:12 ---> 3a10da6f7066 13:16:12 Step 9/12 : COPY go.mod vendor* ./ 13:16:12 ---> 912a5c94a233 13:16:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:16:13 ---> Running in 107f0e06ad5f 13:17:00 Removing intermediate container 107f0e06ad5f 13:17:00 ---> 002c3bf1842b 13:17:00 Step 11/12 : COPY . . 13:17:00 ---> ffcb8fcb0d6c 13:17:00 Step 12/12 : RUN ${MAKE} 13:17:00 ---> Running in 24aabcd429fb 13:17:00 noop 13:17:00 Removing intermediate container 24aabcd429fb 13:17:00 ---> a89de87585d2 13:17:00 Successfully built a89de87585d2 13:17:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:17:00 + docker inspect -f . ci-base-image-arm64 13:17:00 . [Pipeline] withDockerContainer 13:17:00 prd-ubuntu20.04-docker-arm64-4c-16g-64196 does not seem to be running inside a container 13:17:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:17:02 $ docker top 475342c9199c098930eedadd928d7f29d216a777b2bb5c10445410f0493189f6 -eo pid,comm [Pipeline] { [Pipeline] sh 13:17:02 + go version 13:17:02 go version go1.17.6 linux/arm64 [Pipeline] } 13:17:02 $ docker stop --time=1 475342c9199c098930eedadd928d7f29d216a777b2bb5c10445410f0493189f6 13:17:04 $ docker rm -f 475342c9199c098930eedadd928d7f29d216a777b2bb5c10445410f0493189f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:17:05 + docker inspect -f . ci-base-image-arm64 13:17:05 . [Pipeline] withDockerContainer 13:17:05 prd-ubuntu20.04-docker-arm64-4c-16g-64196 does not seem to be running inside a container 13:17:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:17:06 $ docker top 56242cca99c94e5f1cad89f6d2a0aaecdba1405e06610770ebb227d09b5dc807 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:17:07 + make test 13:17:07 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 13:17:09 ? github.com/edgexfoundry/device-usb-camera [no test files] 13:18:30 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 13:18:30 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 13:18:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:18:30 CGO_ENABLED=1 go vet ./... 13:18:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:18:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:18:53 ./bin/test-attribution-txt.sh [Pipeline] echo 13:18:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:18:55 $ docker stop --time=1 56242cca99c94e5f1cad89f6d2a0aaecdba1405e06610770ebb227d09b5dc807 13:18:56 $ docker rm -f 56242cca99c94e5f1cad89f6d2a0aaecdba1405e06610770ebb227d09b5dc807 [Pipeline] // withDockerContainer [Pipeline] sh 13:18:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:18:57 Warning: overwriting stash ‘coverage-report’ 13:18:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:18:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:18:59 + ls -al . 13:18:59 total 164 13:18:59 drwxrwxr-x 9 jenkins jenkins 4096 May 20 13:18 . 13:18:59 drwxrwxr-x 4 jenkins jenkins 4096 May 20 13:15 .. 13:18:59 drwxrwxr-x 8 jenkins jenkins 4096 May 20 13:15 .git 13:18:59 drwxrwxr-x 2 jenkins jenkins 4096 May 20 13:15 .github 13:18:59 -rw-rw-r-- 1 jenkins jenkins 434 May 20 13:15 .gitignore 13:18:59 -rw-rw-r-- 1 jenkins jenkins 42 May 20 13:15 .golangci.yml 13:18:59 -rw-rw-r-- 1 jenkins jenkins 77 May 20 13:15 .hadolint.yml 13:18:59 -rw-rw-r-- 1 jenkins jenkins 8706 May 20 13:15 Attribution.txt 13:18:59 -rw-rw-r-- 1 jenkins jenkins 181 May 20 13:15 CHANGELOG.md 13:18:59 -rw-rw-r-- 1 jenkins jenkins 1891 May 20 13:15 Dockerfile 13:18:59 -rw-rw-r-- 1 jenkins jenkins 678 May 20 13:15 GOVERNANCE.md 13:18:59 -rw-rw-r-- 1 jenkins jenkins 659 May 20 13:15 Jenkinsfile 13:18:59 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 13:15 LICENSE 13:18:59 -rw-rw-r-- 1 jenkins jenkins 1641 May 20 13:15 Makefile 13:18:59 -rw-rw-r-- 1 jenkins jenkins 622 May 20 13:15 OWNERS.md 13:18:59 -rw-rw-r-- 1 jenkins jenkins 8960 May 20 13:15 README.md 13:18:59 -rw-rw-r-- 1 jenkins jenkins 5 May 20 13:11 VERSION 13:18:59 drwxrwxr-x 2 jenkins jenkins 4096 May 20 13:15 bin 13:18:59 drwxrwxr-x 3 jenkins jenkins 4096 May 20 13:15 cmd 13:18:59 -rw-r--r-- 1 jenkins jenkins 10 May 20 13:17 coverage.out 13:18:59 drwxrwxr-x 2 jenkins jenkins 4096 May 20 13:15 docker-compose 13:18:59 -rw-rw-r-- 1 jenkins jenkins 140 May 20 13:15 docker-entrypoint.sh 13:18:59 -rw-rw-r-- 1 jenkins jenkins 3307 May 20 13:15 go.mod 13:18:59 -rw-rw-r-- 1 jenkins jenkins 35656 May 20 13:15 go.sum 13:18:59 drwxrwxr-x 3 jenkins jenkins 4096 May 20 13:15 internal 13:18:59 drwxrwxr-x 3 jenkins jenkins 4096 May 20 13:15 snap 13:18:59 -rw-rw-r-- 1 jenkins jenkins 231 May 20 13:15 version.go [Pipeline] isUnix [Pipeline] sh 13:18:59 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=61286f928f8729d3d70d6662ccbe626d8dd228e6 --label arch=arm64 --label version=0.0.0 . 13:18:59 Sending build context to Docker daemon 669.7kB 13:18:59 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 13:18:59 Step 2/29 : FROM ${BASE} AS builder 13:18:59 ---> a89de87585d2 13:18:59 Step 3/29 : ARG MAKE="make build" 13:19:00 ---> Running in 46b869bddab6 13:19:00 Removing intermediate container 46b869bddab6 13:19:00 ---> ce847cb4e32b 13:19:00 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:19:00 ---> Running in 60e7927a249a 13:19:01 Removing intermediate container 60e7927a249a 13:19:01 ---> 3f1d646e83fd 13:19:01 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 13:19:01 ---> Running in 47e8c3bcb581 13:19:01 Removing intermediate container 47e8c3bcb581 13:19:01 ---> 865c4e4e4db4 13:19:01 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:19:01 ---> Running in a0dea549be25 13:19:03 Removing intermediate container a0dea549be25 13:19:03 ---> cb321337b800 13:19:03 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:19:03 ---> Running in cf9ed65aae01 13:19:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:19:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:19:05 OK: 227 MiB in 66 packages 13:19:06 Removing intermediate container cf9ed65aae01 13:19:06 ---> 381c88fea8bf 13:19:06 Step 8/29 : WORKDIR /device-usb-camera 13:19:06 ---> Running in 66f21930e0c1 13:19:06 Removing intermediate container 66f21930e0c1 13:19:06 ---> 302d14196121 13:19:06 Step 9/29 : COPY go.mod vendor* ./ 13:19:07 ---> 7b38f31eb92b 13:19:07 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:19:07 ---> Running in 0093e0d49abf 13:19:09 Removing intermediate container 0093e0d49abf 13:19:09 ---> c156d1400c01 13:19:09 Step 11/29 : COPY . . 13:19:10 ---> bb1d7948ce56 13:19:10 Step 12/29 : RUN ${MAKE} 13:19:10 ---> Running in b0d3870ff13b 13:19:11 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -o cmd/device-usb-camera ./cmd 13:20:33 Removing intermediate container b0d3870ff13b 13:20:33 ---> 89cd6c23849a 13:20:33 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 13:20:33 v0.18.4: Pulling from aler9/rtsp-simple-server 13:20:33 eab2503cf8f4: Pulling fs layer 13:20:33 97cd0a44c592: Pulling fs layer 13:20:33 97cd0a44c592: Verifying Checksum 13:20:33 97cd0a44c592: Download complete 13:20:33 eab2503cf8f4: Download complete 13:20:33 eab2503cf8f4: Pull complete 13:20:33 97cd0a44c592: Pull complete 13:20:33 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 13:20:33 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 13:20:33 ---> 7f763cca56b3 13:20:33 Step 14/29 : FROM alpine:3.15 13:20:33 3.15: Pulling from library/alpine 13:20:33 9981e73032c8: Pulling fs layer 13:20:33 9981e73032c8: Download complete 13:20:33 9981e73032c8: Pull complete 13:20:33 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 13:20:33 Status: Downloaded newer image for alpine:3.15 13:20:33 ---> 3fb3c9af89a9 13:20:33 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 13:20:33 ---> Running in e47b71601fa1 13:20:33 Removing intermediate container e47b71601fa1 13:20:33 ---> 6a3de3f4e607 13:20:33 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 13:20:33 ---> Running in 4ee52b51b38a 13:20:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:20:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:20:33 (1/73) Installing dumb-init (1.2.5-r1) 13:20:33 (2/73) Installing sdl2 (2.0.16-r4) 13:20:33 (3/73) Installing libxau (1.0.9-r0) 13:20:33 (4/73) Installing libmd (1.0.3-r0) 13:20:33 (5/73) Installing libbsd (0.11.3-r1) 13:20:33 (6/73) Installing libxdmcp (1.1.3-r0) 13:20:33 (7/73) Installing libxcb (1.14-r2) 13:20:33 (8/73) Installing libx11 (1.7.2-r0) 13:20:33 (9/73) Installing aom-libs (3.2.0-r0) 13:20:33 (10/73) Installing alsa-lib (1.2.5.1-r1) 13:20:33 (11/73) Installing expat (2.4.7-r0) 13:20:33 (12/73) Installing brotli-libs (1.0.9-r5) 13:20:33 (13/73) Installing libbz2 (1.0.8-r1) 13:20:33 (14/73) Installing libpng (1.6.37-r1) 13:20:33 (15/73) Installing freetype (2.11.1-r2) 13:20:33 (16/73) Installing libuuid (2.37.4-r0) 13:20:33 (17/73) Installing fontconfig (2.13.1-r4) 13:20:33 (18/73) Installing fribidi (1.0.11-r0) 13:20:33 (19/73) Installing libffi (3.4.2-r1) 13:20:33 (20/73) Installing libintl (0.21-r0) 13:20:33 (21/73) Installing libblkid (2.37.4-r0) 13:20:33 (22/73) Installing libmount (2.37.4-r0) 13:20:33 (23/73) Installing pcre (8.45-r1) 13:20:33 (24/73) Installing glib (2.70.1-r0) 13:20:33 (25/73) Installing graphite2 (1.3.14-r0) 13:20:33 (26/73) Installing harfbuzz (3.0.0-r2) 13:20:33 (27/73) Installing libass (0.15.2-r0) 13:20:33 (28/73) Installing libdav1d (0.9.2-r0) 13:20:33 (29/73) Installing gmp (6.2.1-r1) 13:20:33 (30/73) Installing nettle (3.7.3-r0) 13:20:33 (31/73) Installing p11-kit (0.24.0-r1) 13:20:33 (32/73) Installing libtasn1 (4.18.0-r0) 13:20:33 (33/73) Installing libunistring (0.9.10-r1) 13:20:33 (34/73) Installing gnutls (3.7.1-r0) 13:20:33 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 13:20:33 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 13:20:33 (37/73) Installing lame (3.100-r0) 13:20:33 (38/73) Installing opus (1.3.1-r1) 13:20:33 (39/73) Installing libgomp (10.3.1_git20211027-r0) 13:20:33 (40/73) Installing soxr (0.1.3-r2) 13:20:33 (41/73) Installing libgcc (10.3.1_git20211027-r0) 13:20:33 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 13:20:33 (43/73) Installing libsrt (1.4.2-r1) 13:20:33 (44/73) Installing libssh (0.9.6-r1) 13:20:33 (45/73) Installing libogg (1.3.5-r0) 13:20:33 (46/73) Installing libtheora (1.1.1-r16) 13:20:33 (47/73) Installing libjpeg-turbo (2.1.2-r0) 13:20:33 (48/73) Installing v4l-utils-libs (1.22.1-r1) 13:20:33 (49/73) Installing libxext (1.3.4-r0) 13:20:33 (50/73) Installing libxfixes (6.0.0-r0) 13:20:33 (51/73) Installing libdrm (2.4.109-r0) 13:20:33 (52/73) Installing wayland-libs-client (1.19.0-r1) 13:20:33 (53/73) Installing libva (2.13.0-r0) 13:20:33 (54/73) Installing libvdpau (1.4-r0) 13:20:33 (55/73) Installing vidstab (1.1.0-r1) 13:20:33 (56/73) Installing libvorbis (1.3.7-r0) 13:20:33 (57/73) Installing libvpx (1.10.0-r0) 13:20:33 (58/73) Installing vulkan-loader (1.2.196-r0) 13:20:33 (59/73) Installing libwebp (1.2.2-r0) 13:20:33 (60/73) Installing x264-libs (20210613-r0) 13:20:33 (61/73) Installing x265-libs (3.5-r0) 13:20:33 (62/73) Installing xvidcore (1.3.7-r1) 13:20:33 (63/73) Installing ffmpeg-libs (4.4.1-r2) 13:20:33 (64/73) Installing ffmpeg (4.4.1-r2) 13:20:33 (65/73) Installing udev-init-scripts (35-r0) 13:20:33 Executing udev-init-scripts-35-r0.post-install 13:20:33 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 13:20:33 (67/73) Installing xz-libs (5.2.5-r1) 13:20:33 (68/73) Installing zstd-libs (1.5.0-r0) 13:20:33 (69/73) Installing kmod-libs (29-r2) 13:20:33 (70/73) Installing eudev (3.2.11_pre1-r0) 13:20:33 (71/73) Installing libsodium (1.0.18-r0) 13:20:33 (72/73) Installing libzmq (4.3.4-r0) 13:20:33 (73/73) Installing zeromq (4.3.4-r0) 13:20:33 Executing busybox-1.34.1-r5.trigger 13:20:33 Executing eudev-3.2.11_pre1-r0.trigger 13:20:33 OK: 67 MiB in 87 packages 13:20:37 Removing intermediate container 4ee52b51b38a 13:20:37 ---> e10e17fe948e 13:20:37 Step 17/29 : WORKDIR / 13:20:37 ---> Running in 3890c97c42c2 13:20:37 Removing intermediate container 3890c97c42c2 13:20:37 ---> e733f75a29ce 13:20:37 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 13:20:38 ---> 4295404f9eda 13:20:38 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 13:20:38 ---> d77d303b5cf7 13:20:38 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 13:20:39 ---> df84b57d702f 13:20:39 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 13:20:39 ---> d778df299e3c 13:20:39 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 13:20:40 ---> bc1d909107e2 13:20:40 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 13:20:41 ---> 3016433ee96b 13:20:41 Step 24/29 : EXPOSE 59983 13:20:41 ---> Running in 64edad74ab44 13:20:41 Removing intermediate container 64edad74ab44 13:20:41 ---> 77357db5ea0a 13:20:41 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 13:20:41 ---> Running in a2ac2d41c586 13:20:42 Removing intermediate container a2ac2d41c586 13:20:42 ---> 12692dac14a7 13:20:42 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 13:20:42 ---> Running in 2c51ad229135 13:20:42 Removing intermediate container 2c51ad229135 13:20:42 ---> 183cd1105ac7 13:20:42 Step 27/29 : LABEL arch=arm64 13:20:42 ---> Running in fa36ff316ac0 13:20:43 Removing intermediate container fa36ff316ac0 13:20:43 ---> 7baedbeb77bf 13:20:43 Step 28/29 : LABEL git_sha=61286f928f8729d3d70d6662ccbe626d8dd228e6 13:20:43 ---> Running in ab8f06549509 13:20:43 Removing intermediate container ab8f06549509 13:20:43 ---> bb3d4d2c4ab9 13:20:43 Step 29/29 : LABEL version=0.0.0 13:20:43 ---> Running in c680aa34a00a 13:20:43 Removing intermediate container c680aa34a00a 13:20:43 ---> d128e019d789 13:20:43 [Warning] One or more build-args [ARCH] were not consumed 13:20:43 Successfully built d128e019d789 13:20:43 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:20:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:20:44 13:20:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:20:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:20:44 arm64: Pulling from edgex-lftools-log-publisher 13:20:44 8998bd30e6a1: Pulling fs layer 13:20:44 04944245beec: Pulling fs layer 13:20:44 699f458cf7ca: Pulling fs layer 13:20:44 765212b225bb: Pulling fs layer 13:20:44 f23df028b6ca: Pulling fs layer 13:20:44 d65c8cfc05b1: Pulling fs layer 13:20:44 2437ff75d9bd: Pulling fs layer 13:20:44 765212b225bb: Waiting 13:20:44 f23df028b6ca: Waiting 13:20:44 d65c8cfc05b1: Waiting 13:20:44 2437ff75d9bd: Waiting 13:20:44 04944245beec: Verifying Checksum 13:20:44 04944245beec: Download complete 13:20:44 765212b225bb: Verifying Checksum 13:20:44 765212b225bb: Download complete 13:20:44 f23df028b6ca: Download complete 13:20:44 d65c8cfc05b1: Verifying Checksum 13:20:44 d65c8cfc05b1: Download complete 13:20:45 699f458cf7ca: Verifying Checksum 13:20:45 699f458cf7ca: Download complete 13:20:45 8998bd30e6a1: Verifying Checksum 13:20:45 8998bd30e6a1: Download complete 13:20:48 2437ff75d9bd: Verifying Checksum 13:20:48 2437ff75d9bd: Download complete 13:20:49 8998bd30e6a1: Pull complete 13:20:50 04944245beec: Pull complete 13:20:51 699f458cf7ca: Pull complete 13:20:51 765212b225bb: Pull complete 13:20:52 f23df028b6ca: Pull complete 13:20:52 d65c8cfc05b1: Pull complete 13:21:07 2437ff75d9bd: Pull complete 13:21:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:21:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:21:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:21:08 prd-ubuntu20.04-docker-arm64-4c-16g-64196 does not seem to be running inside a container 13:21:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:21:10 $ docker top 062b290b60fa83ace7362ac14fd02cca81f04ad0cfe65fccc297e45908d6eb2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:11 ---> job-cost.sh 13:21:11 lf-activate-venv: SKIPPING 13:21:11 INFO: No Stack... 13:21:12 INFO: Retrieving Pricing Info for: v3-standard-4 13:21:12 INFO: Archiving Costs [Pipeline] sh 13:21:13 + cat /w/workspace/device-usb-camera/2/archives/cost.csv 13:21:13 + cut -d, -f6 [Pipeline] lock 13:21:13 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-2-stack-cost] 13:21:13 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-2-stack-cost] did not exist. Created. 13:21:13 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:21:14 /w/workspace/device-usb-camera/2@tmp/durable-1fcaad1c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:21:14 + echo total: 0.10999999940395355 [Pipeline] stash 13:21:14 Warning: overwriting stash ‘stack-cost’ 13:21:15 Stashed 1 file(s) [Pipeline] } 13:21:15 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-2-stack-cost] [Pipeline] // lock [Pipeline] } 13:21:15 $ docker stop --time=1 062b290b60fa83ace7362ac14fd02cca81f04ad0cfe65fccc297e45908d6eb2b 13:21:16 $ docker rm -f 062b290b60fa83ace7362ac14fd02cca81f04ad0cfe65fccc297e45908d6eb2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:21:16 provisioning config files... 13:21:16 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config8388450001806269291tmp [Pipeline] { [Pipeline] sh 13:21:17 + set +x 13:21:17 + curl -s https://codecov.io/bash 13:21:17 + bash -s -- 13:21:17 13:21:17 _____ _ 13:21:17 / ____| | | 13:21:17 | | ___ __| | ___ ___ _____ __ 13:21:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:21:17 | |___| (_) | (_| | __/ (_| (_) \ V / 13:21:17 \_____\___/ \__,_|\___|\___\___/ \_/ 13:21:17 Bash-1.0.6 13:21:17 13:21:17 13:21:17 ==> git version 2.25.1 found 13:21:17 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:21:17 Release-Date: 2020-01-08 13:21:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:21:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:21:17 ==> Jenkins CI detected. 13:21:17 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 13:21:17 project root: . 13:21:17 --> token set from env 13:21:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:21:17 ==> Running gcov in . (disable via -X gcov) 13:21:17 ==> Python coveragepy not found 13:21:17 ==> Searching for coverage reports in: 13:21:17 + . 13:21:17 -> Found 1 reports 13:21:17 ==> Detecting git/mercurial file structure 13:21:17 ==> Reading reports 13:21:17 + ./coverage.out bytes=10 13:21:17 ==> Appending adjustments 13:21:17 https://docs.codecov.io/docs/fixing-reports 13:21:17 + Found adjustments 13:21:17 ==> Gzipping contents 13:21:17 4.0K /tmp/codecov.tm7Ru8.gz 13:21:17 ==> Uploading reports 13:21:17 url: https://codecov.io 13:21:17 query: branch=PR-30&commit=f9f6f1e7cb440328c79261ac55fa22b0edba285b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 13:21:17 -> Pinging Codecov 13:21:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-30&commit=f9f6f1e7cb440328c79261ac55fa22b0edba285b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 13:21:17 -> Uploading to 13:21:17 https://storage.googleapis.com/codecov/v4/raw/2022-05-20/73D8F5FF140700D3E01443B452E23636/f9f6f1e7cb440328c79261ac55fa22b0edba285b/5734d74b-2ce4-48aa-a836-59ccbd4e7836.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220520T132117Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ba9531aec49f0716d97a46884749aa3b9be516c4400ac272c4ab7b579e8aded9 13:21:17 % Total % Received % Xferd Average Speed Time Time Time Current 13:21:17 Dload Upload Total Spent Left Speed 13:21:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1839 0 0 100 1839 0 8101 --:--:-- --:--:-- --:--:-- 8101 13:21:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/f9f6f1e7cb440328c79261ac55fa22b0edba285b [Pipeline] } 13:21:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:21:18 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] 13:21:18 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 13:21:18 total 16 13:21:18 drwxr-xr-x 3 root root 4096 May 20 13:13 . 13:21:18 drwxrwxr-x 11 jenkins jenkins 4096 May 20 13:13 .. 13:21:18 drwxr-xr-x 2 root root 4096 May 20 13:13 cost 13:21:18 -rw-r--r-- 1 root root 87 May 20 13:13 cost.csv 13:21:18 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives 13:21:18 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 13:21:18 total 16 13:21:18 drwxr-xr-x 3 jenkins jenkins 4096 May 20 13:13 . 13:21:18 drwxrwxr-x 11 jenkins jenkins 4096 May 20 13:13 .. 13:21:18 drwxr-xr-x 2 jenkins jenkins 4096 May 20 13:13 cost 13:21:18 -rw-r--r-- 1 jenkins jenkins 87 May 20 13:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:21:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:21:19 ---> package-listing.sh 13:21:19 ++ facter osfamily 13:21:19 ++ tr '[:upper:]' '[:lower:]' 13:21:20 + OS_FAMILY=debian 13:21:20 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 13:21:20 + START_PACKAGES=/tmp/packages_start.txt 13:21:20 + END_PACKAGES=/tmp/packages_end.txt 13:21:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:21:20 + PACKAGES=/tmp/packages_start.txt 13:21:20 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 13:21:20 + PACKAGES=/tmp/packages_end.txt 13:21:20 + case "${OS_FAMILY}" in 13:21:20 + dpkg -l 13:21:20 + grep '^ii' 13:21:20 + '[' -f /tmp/packages_start.txt ']' 13:21:20 + '[' -f /tmp/packages_end.txt ']' 13:21:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:21:20 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 13:21:20 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ 13:21:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [Pipeline] echo 13:21:20 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:21:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:21:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:21:21 . [Pipeline] withDockerContainer 13:21:21 prd-ubuntu20.04-docker-8c-8g-64195 does not seem to be running inside a container 13:21:21 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:21:21 $ docker top d6dc63c0994686def54ba644f80f70006306f85a5d4c1d78b7bd3ed0f9cd3653 -eo pid,comm [Pipeline] { [Pipeline] sh 13:21:21 + touch /tmp/pre-build-complete [Pipeline] sh 13:21:22 + mkdir -p /var/log/sysstat [Pipeline] sh 13:21:22 + ls /var/log/sa-host 13:21:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:21:22 provisioning config files... 13:21:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config8834917821691721823tmp [Pipeline] { [Pipeline] echo 13:21:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:21:22 ---> create-netrc.sh [Pipeline] } 13:21:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:21:23 ---> python-tools-install.sh [Pipeline] echo 13:21:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:21:23 ---> sudo-logs.sh 13:21:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:21:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:21:23 ---> job-cost.sh 13:21:23 lf-activate-venv: SKIPPING 13:21:23 DEBUG: total: 0.2199999988079071 13:21:23 INFO: Retrieving Stack Cost... 13:21:24 INFO: Retrieving Pricing Info for: v3-standard-8 13:21:24 INFO: Archiving Costs [Pipeline] echo 13:21:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:21:25 ---> logs-deploy.sh 13:21:25 lf-activate-venv: SKIPPING 13:21:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/2 13:21:25 INFO: archiving workspace using pattern(s): 13:21:26 Archives upload complete. 13:21:26 INFO: archiving logs to Nexus