Branch indexing 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 FelixTing for edgexfoundry/device-usb-camera Obtained Jenkinsfile from a600adc348fec57cab4dd563690f906113ff476a+0d2f133a70ca139fe5a25e6e35809f1e9812dab5 (6ce66796bbf1df1297412b65162ae5eea3070ecd) 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-ssh4090600681128005788.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh14271016833885732830.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-32/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-32/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2609788619869604245.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh4101951868909144307.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-32/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-32/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1387158397516138844.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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 SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-15424 in /w/workspace/xfoundry_device-usb-camera_PR-32 [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-32 # 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/32/head:refs/remotes/origin/PR-32 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 into PR head commit a600adc348fec57cab4dd563690f906113ff476a Merge succeeded, producing 74a6d3d76903ee915e19975c4083e2782367bddc Checking out Revision 74a6d3d76903ee915e19975c4083e2782367bddc (PR-32) > git config core.sparsecheckout # timeout=10 > git checkout -f a600adc348fec57cab4dd563690f906113ff476a # 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 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74a6d3d76903ee915e19975c4083e2782367bddc # timeout=10 Commit message: "Merge commit '0d2f133a70ca139fe5a25e6e35809f1e9812dab5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:14:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:14:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:14:25 ========================================================= 06:14:25 EdgeX Global Pipelines Version Info 06:14:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9c7bd5ed1d6e4d35bc0192e9010e85077a629178 # timeout=10 06:14:26 ------------------- 06:14:26 stable info: 06:14:26 ------------------- 06:14:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:14:26 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:14:26 Message: update stable to v1.0.234 06:14:26 ------------------- 06:14:26 experimental info: 06:14:26 ------------------- 06:14:26 Commited By: **** collab-it+edgex@linuxfoundation.org 06:14:26 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:14:26 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-32 [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-32 [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-32 [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74a6d3d76903ee915e19975c4083e2782367bddc [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74a6d3d [Pipeline] echo 06:14:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:14:27 provisioning config files... 06:14:27 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-32@tmp/config8241580539736968079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:27 ---> docker-login.sh 06:14:27 nexus3.edgexfoundry.org:10001 06:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:28 Configure a credential helper to remove this warning. See 06:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:28 06:14:28 Login Succeeded 06:14:28 nexus3.edgexfoundry.org:10002 06:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:28 Configure a credential helper to remove this warning. See 06:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:28 06:14:28 Login Succeeded 06:14:28 nexus3.edgexfoundry.org:10003 06:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:28 Configure a credential helper to remove this warning. See 06:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:28 06:14:28 Login Succeeded 06:14:28 nexus3.edgexfoundry.org:10004 06:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:28 Configure a credential helper to remove this warning. See 06:14:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:28 06:14:28 Login Succeeded 06:14:28 docker.io 06:14:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:29 Configure a credential helper to remove this warning. See 06:14:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:29 06:14:29 Login Succeeded 06:14:29 ---> docker-login.sh ends [Pipeline] } 06:14:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:14:29 + git rev-list -1 --merges 74a6d3d76903ee915e19975c4083e2782367bddc~1..74a6d3d76903ee915e19975c4083e2782367bddc [Pipeline] echo 06:14:29 -----------> git rev-list -1 --merges 74a6d3d76903ee915e19975c4083e2782367bddc~1..74a6d3d76903ee915e19975c4083e2782367bddc 74a6d3d76903ee915e19975c4083e2782367bddc 06:14:29 74a6d3d76903ee915e19975c4083e2782367bddc [false] [Pipeline] sh 06:14:29 + git log --format=format:%s -1 74a6d3d76903ee915e19975c4083e2782367bddc [Pipeline] echo 06:14:29 ========================================================= 06:14:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:14:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:14:30 + git log --format=format:%s -1 74a6d3d76903ee915e19975c4083e2782367bddc [Pipeline] echo 06:14:30 [semverPrep] GIT_COMMIT: 74a6d3d76903ee915e19975c4083e2782367bddc, Commit Message: Merge commit '0d2f133a70ca139fe5a25e6e35809f1e9812dab5' into HEAD [Pipeline] echo 06:14:30 [semverPrep] This is not a build commit. [Pipeline] sh 06:14:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:14:30 + grep -v github /etc/ssh/ssh_known_hosts 06:14:30 + [ -e /tmp/ssh_known_hosts ] 06:14:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:14:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:14:30 + sudo tee -a /etc/ssh/ssh_known_hosts 06:14:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:30 06:14:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:31 0.1.4: Pulling from edgex-devops/py-git-semver 06:14:31 42c077c10790: Pulling fs layer 06:14:31 f63e77b7563a: Pulling fs layer 06:14:31 bd5fdadae976: Pulling fs layer 06:14:31 205491f53016: Pulling fs layer 06:14:31 df18705c85c3: Pulling fs layer 06:14:31 bdb3f477010e: Pulling fs layer 06:14:31 c8a8fc8e1c8f: Pulling fs layer 06:14:31 2c6e9b1d212d: Pulling fs layer 06:14:31 bdb8f0575790: Pulling fs layer 06:14:31 df18705c85c3: Waiting 06:14:31 c8a8fc8e1c8f: Waiting 06:14:31 205491f53016: Waiting 06:14:31 2c6e9b1d212d: Waiting 06:14:31 386e3cb2ff24: Pulling fs layer 06:14:31 bdb8f0575790: Waiting 06:14:31 2343380bae48: Pulling fs layer 06:14:31 386e3cb2ff24: Waiting 06:14:31 2343380bae48: Waiting 06:14:31 bdb3f477010e: Waiting 06:14:31 f63e77b7563a: Verifying Checksum 06:14:31 f63e77b7563a: Download complete 06:14:31 205491f53016: Verifying Checksum 06:14:31 205491f53016: Download complete 06:14:31 df18705c85c3: Verifying Checksum 06:14:31 df18705c85c3: Download complete 06:14:31 bdb3f477010e: Verifying Checksum 06:14:31 bdb3f477010e: Download complete 06:14:31 bd5fdadae976: Verifying Checksum 06:14:31 bd5fdadae976: Download complete 06:14:31 2c6e9b1d212d: Verifying Checksum 06:14:31 2c6e9b1d212d: Download complete 06:14:31 bdb8f0575790: Download complete 06:14:31 386e3cb2ff24: Verifying Checksum 06:14:31 386e3cb2ff24: Download complete 06:14:31 2343380bae48: Verifying Checksum 06:14:31 2343380bae48: Download complete 06:14:31 42c077c10790: Download complete 06:14:31 c8a8fc8e1c8f: Verifying Checksum 06:14:31 c8a8fc8e1c8f: Download complete 06:14:33 42c077c10790: Pull complete 06:14:33 f63e77b7563a: Pull complete 06:14:33 bd5fdadae976: Pull complete 06:14:33 205491f53016: Pull complete 06:14:34 df18705c85c3: Pull complete 06:14:34 bdb3f477010e: Pull complete 06:14:36 c8a8fc8e1c8f: Pull complete 06:14:36 2c6e9b1d212d: Pull complete 06:14:36 bdb8f0575790: Pull complete 06:14:36 386e3cb2ff24: Pull complete 06:14:36 2343380bae48: Pull complete 06:14:36 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 06:14:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:36 prd-ubuntu20.04-docker-8c-8g-15424 does not seem to be running inside a container 06:14:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-32 -v /w/workspace/xfoundry_device-usb-camera_PR-32:/w/workspace/xfoundry_device-usb-camera_PR-32:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-32@tmp:/w/workspace/xfoundry_device-usb-camera_PR-32@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:14:38 $ docker top b8deaf8dfda14a2a547a323571fca8ceecba9c81cdcf8c9df647a427768720e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:14:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:38 [ssh-agent] Looking for ssh-agent implementation... 06:14:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:38 $ docker exec b8deaf8dfda14a2a547a323571fca8ceecba9c81cdcf8c9df647a427768720e7 ssh-agent 06:14:38 SSH_AUTH_SOCK=/tmp/ssh-91qA2d49UhEA/agent.34 06:14:38 SSH_AGENT_PID=41 06:14:38 Running ssh-add (command line suppressed) 06:14:38 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-32@tmp/private_key_183201425000222143.key (/w/workspace/xfoundry_device-usb-camera_PR-32@tmp/private_key_183201425000222143.key) 06:14:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:38 + git tag --points-at HEAD [Pipeline] } 06:14:38 $ docker exec --env ******** --env ******** b8deaf8dfda14a2a547a323571fca8ceecba9c81cdcf8c9df647a427768720e7 ssh-agent -k 06:14:39 unset SSH_AUTH_SOCK; 06:14:39 unset SSH_AGENT_PID; 06:14:39 echo Agent pid 41 killed; 06:14:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:14:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:39 [ssh-agent] Looking for ssh-agent implementation... 06:14:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:39 $ docker exec b8deaf8dfda14a2a547a323571fca8ceecba9c81cdcf8c9df647a427768720e7 ssh-agent 06:14:39 SSH_AUTH_SOCK=/tmp/ssh-oaONg1DVFrlx/agent.73 06:14:39 SSH_AGENT_PID=79 06:14:39 Running ssh-add (command line suppressed) 06:14:39 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-32@tmp/private_key_8957855175195901621.key (/w/workspace/xfoundry_device-usb-camera_PR-32@tmp/private_key_8957855175195901621.key) 06:14:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:39 + git semver init 06:14:40 2022-06-23 06:14:40,064 [run_init] DEBUG init version:0.0.0 force:False 06:14:40 2022-06-23 06:14:40,065 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-32/.semver 06:14:40 2022-06-23 06:14:40,066 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-32/.semver 06:14:40 2022-06-23 06:14:40,066 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-32/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-32, universal_newlines=False, shell=None, istream=None) 06:14:40 2022-06-23 06:14:40,644 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-32/.git/info/exclude 06:14:40 2022-06-23 06:14:40,644 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-32/.semver/PR-32 with force:False 06:14:40 2022-06-23 06:14:40,644 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-32/.semver/PR-32 06:14:40 2022-06-23 06:14:40,649 [execute] INFO git cat-file --batch-check 06:14:40 2022-06-23 06:14:40,649 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-32/.semver, universal_newlines=False, shell=None, istream=) 06:14:40 2022-06-23 06:14:40,656 [execute] INFO git cat-file --batch 06:14:40 2022-06-23 06:14:40,656 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-32/.semver, universal_newlines=False, shell=None, istream=) 06:14:40 2022-06-23 06:14:40,662 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-32/.semver/PR-32 06:14:40 0.0.0 [Pipeline] } 06:14:40 $ docker exec --env ******** --env ******** b8deaf8dfda14a2a547a323571fca8ceecba9c81cdcf8c9df647a427768720e7 ssh-agent -k 06:14:40 unset SSH_AUTH_SOCK; 06:14:40 unset SSH_AGENT_PID; 06:14:40 echo Agent pid 79 killed; 06:14:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:14:41 + git semver [Pipeline] } 06:14:41 $ docker stop --time=1 b8deaf8dfda14a2a547a323571fca8ceecba9c81cdcf8c9df647a427768720e7 06:14:42 $ docker rm -f b8deaf8dfda14a2a547a323571fca8ceecba9c81cdcf8c9df647a427768720e7 [Pipeline] // withDockerContainer [Pipeline] sh 06:14:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:14:43 Stashed 1 file(s) [Pipeline] echo 06:14:43 [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 06:14:43 provisioning config files... 06:14:43 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-32@tmp/config3239239942609093953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:43 ---> docker-login.sh 06:14:43 nexus3.edgexfoundry.org:10001 06:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:43 Configure a credential helper to remove this warning. See 06:14:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:43 06:14:43 Login Succeeded 06:14:43 nexus3.edgexfoundry.org:10002 06:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:43 Configure a credential helper to remove this warning. See 06:14:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:43 06:14:43 Login Succeeded 06:14:43 nexus3.edgexfoundry.org:10003 06:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:43 Configure a credential helper to remove this warning. See 06:14:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:43 06:14:43 Login Succeeded 06:14:43 nexus3.edgexfoundry.org:10004 06:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:44 Configure a credential helper to remove this warning. See 06:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:44 06:14:44 Login Succeeded 06:14:44 docker.io 06:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:44 Configure a credential helper to remove this warning. See 06:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:44 06:14:44 Login Succeeded 06:14:44 ---> docker-login.sh ends [Pipeline] } 06:14:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:14:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:14:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:14:44 ========================================================= 06:14:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:14:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:44 + 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 . 06:14:44 Sending build context to Docker daemon 702kB 06:14:44 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:14:44 Step 2/12 : FROM ${BASE} AS builder 06:14:44 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:14:44 59bf1c3509f3: Pulling fs layer 06:14:44 666ba61612fd: Pulling fs layer 06:14:44 8ed8ca486205: Pulling fs layer 06:14:44 cc1cd167ecdc: Pulling fs layer 06:14:44 c516ae0d96e1: Pulling fs layer 06:14:44 684cea983483: Pulling fs layer 06:14:44 dd3240ac7de5: Pulling fs layer 06:14:44 b1e948a4e11c: Pulling fs layer 06:14:44 a8fd76ee1af6: Pulling fs layer 06:14:44 646ad004c059: Pulling fs layer 06:14:44 dd3240ac7de5: Waiting 06:14:44 b1e948a4e11c: Waiting 06:14:44 a8fd76ee1af6: Waiting 06:14:44 646ad004c059: Waiting 06:14:44 cc1cd167ecdc: Waiting 06:14:44 c516ae0d96e1: Waiting 06:14:44 684cea983483: Waiting 06:14:44 8ed8ca486205: Download complete 06:14:44 666ba61612fd: Verifying Checksum 06:14:44 666ba61612fd: Download complete 06:14:44 c516ae0d96e1: Verifying Checksum 06:14:44 c516ae0d96e1: Download complete 06:14:45 684cea983483: Verifying Checksum 06:14:45 684cea983483: Download complete 06:14:45 59bf1c3509f3: Verifying Checksum 06:14:45 dd3240ac7de5: Verifying Checksum 06:14:45 dd3240ac7de5: Download complete 06:14:45 b1e948a4e11c: Verifying Checksum 06:14:45 b1e948a4e11c: Download complete 06:14:45 59bf1c3509f3: Pull complete 06:14:45 666ba61612fd: Pull complete 06:14:45 8ed8ca486205: Pull complete 06:14:45 646ad004c059: Verifying Checksum 06:14:45 646ad004c059: Download complete 06:14:45 a8fd76ee1af6: Download complete 06:14:45 cc1cd167ecdc: Verifying Checksum 06:14:45 cc1cd167ecdc: Download complete 06:14:49 cc1cd167ecdc: Pull complete 06:14:49 c516ae0d96e1: Pull complete 06:14:49 684cea983483: Pull complete 06:14:49 dd3240ac7de5: Pull complete 06:14:49 b1e948a4e11c: Pull complete 06:14:51 a8fd76ee1af6: Pull complete 06:14:52 646ad004c059: Pull complete 06:14:52 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 06:14:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:14:52 ---> 8f69c11f6b0c 06:14:52 Step 3/12 : ARG MAKE="make build" 06:14:54 ---> Running in 02da188c10e7 06:14:54 Removing intermediate container 02da188c10e7 06:14:54 ---> 9c3bf5f40e51 06:14:54 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:14:54 ---> Running in 5f1ceefdd109 06:14:54 Removing intermediate container 5f1ceefdd109 06:14:54 ---> 58b1f6735e7f 06:14:54 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:14:54 ---> Running in b3ca8c94a0bb 06:14:54 Removing intermediate container b3ca8c94a0bb 06:14:54 ---> af10482426fd 06:14:54 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:14:54 ---> Running in 2ed6efbfe015 06:14:55 Removing intermediate container 2ed6efbfe015 06:14:55 ---> 0a08a8ff80e0 06:14:55 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:14:55 ---> Running in 50f71a5841fe 06:14:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:14:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:14:56 (1/81) Installing mesa (21.2.6-r0) 06:14:56 (2/81) Installing libxau (1.0.9-r0) 06:14:57 (3/81) Installing libmd (1.0.3-r0) 06:14:57 (4/81) Installing libbsd (0.11.3-r1) 06:14:57 (5/81) Installing libxdmcp (1.1.3-r0) 06:14:57 (6/81) Installing libxcb (1.14-r2) 06:14:57 (7/81) Installing libx11 (1.7.2-r0) 06:14:57 (8/81) Installing libxext (1.3.4-r0) 06:14:57 (9/81) Installing libxfixes (6.0.0-r0) 06:14:57 (10/81) Installing libxxf86vm (1.1.4-r2) 06:14:57 (11/81) Installing libpciaccess (0.16-r0) 06:14:57 (12/81) Installing libdrm (2.4.109-r0) 06:14:57 (13/81) Installing mesa-glapi (21.2.6-r0) 06:14:58 (14/81) Installing libxshmfence (1.3-r1) 06:14:58 (15/81) Installing mesa-gl (21.2.6-r0) 06:14:58 (16/81) Installing libice (1.0.10-r0) 06:14:58 (17/81) Installing libuuid (2.37.4-r0) 06:14:58 (18/81) Installing libsm (1.2.3-r0) 06:14:58 (19/81) Installing libxt (1.2.1-r0) 06:14:58 Still waiting to schedule task 06:14:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:14:58 (20/81) Installing libxmu (1.1.3-r0) 06:14:58 (21/81) Installing xset (1.2.4-r0) 06:14:58 (22/81) Installing xprop (1.2.5-r0) 06:14:58 (23/81) Installing xdg-utils (1.1.3-r0) 06:14:58 (24/81) Installing dbus-libs (1.12.20-r4) 06:14:58 (25/81) Installing libffi (3.4.2-r1) 06:14:59 (26/81) Installing libintl (0.21-r0) 06:14:59 (27/81) Installing libblkid (2.37.4-r0) 06:14:59 (28/81) Installing libmount (2.37.4-r0) 06:14:59 (29/81) Installing pcre (8.45-r1) 06:14:59 (30/81) Installing glib (2.70.1-r0) 06:14:59 (31/81) Installing icu-libs (69.1-r1) 06:15:00 (32/81) Installing libpcre2-16 (10.40-r0) 06:15:00 (33/81) Installing zstd-libs (1.5.0-r0) 06:15:00 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 06:15:00 (35/81) Installing hicolor-icon-theme (0.17-r1) 06:15:00 (36/81) Installing wayland-libs-server (1.19.0-r1) 06:15:01 (37/81) Installing mesa-gbm (21.2.6-r0) 06:15:01 (38/81) Installing wayland-libs-client (1.19.0-r1) 06:15:01 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 06:15:01 (40/81) Installing libxcomposite (0.4.5-r0) 06:15:01 (41/81) Installing libbz2 (1.0.8-r1) 06:15:01 (42/81) Installing libpng (1.6.37-r1) 06:15:01 (43/81) Installing freetype (2.11.1-r2) 06:15:01 (44/81) Installing fontconfig (2.13.1-r4) 06:15:01 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 06:15:02 (46/81) Installing wayland-libs-egl (1.19.0-r1) 06:15:02 (47/81) Installing xkeyboard-config (2.34-r0) 06:15:02 (48/81) Installing xz-libs (5.2.5-r1) 06:15:02 (49/81) Installing libxml2 (2.9.14-r0) 06:15:02 (50/81) Installing libxkbcommon (1.3.1-r0) 06:15:02 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 06:15:02 (52/81) Installing mesa-egl (21.2.6-r0) 06:15:03 (53/81) Installing avahi-libs (0.8-r5) 06:15:03 (54/81) Installing nettle (3.7.3-r0) 06:15:03 (55/81) Installing p11-kit (0.24.0-r1) 06:15:03 (56/81) Installing libtasn1 (4.18.0-r0) 06:15:03 (57/81) Installing libunistring (0.9.10-r1) 06:15:03 (58/81) Installing gnutls (3.7.1-r0) 06:15:03 (59/81) Installing cups-libs (2.3.3-r6) 06:15:03 (60/81) Installing graphite2 (1.3.14-r0) 06:15:03 (61/81) Installing harfbuzz (3.0.0-r2) 06:15:03 (62/81) Installing libevdev (1.12.0-r0) 06:15:04 (63/81) Installing mtdev (1.1.6-r0) 06:15:04 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 06:15:04 (65/81) Installing libinput-libs (1.19.4-r0) 06:15:04 (66/81) Installing libjpeg-turbo (2.1.2-r0) 06:15:04 (67/81) Installing xcb-util-wm (0.4.1-r1) 06:15:04 (68/81) Installing xcb-util (0.4.0-r3) 06:15:04 (69/81) Installing xcb-util-image (0.4.0-r1) 06:15:04 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 06:15:04 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 06:15:04 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 06:15:04 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 06:15:05 (74/81) Installing v4l-utils-libs (1.22.1-r1) 06:15:05 (75/81) Installing v4l-utils (1.22.1-r1) 06:15:05 (76/81) Installing udev-init-scripts (35-r0) 06:15:05 Executing udev-init-scripts-35-r0.post-install 06:15:05 (77/81) Installing kmod-libs (29-r2) 06:15:06 (78/81) Installing eudev (3.2.11_pre1-r0) 06:15:06 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 06:15:06 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 06:15:06 (81/81) Installing v4l-utils-dev (1.22.1-r1) 06:15:06 Executing busybox-1.34.1-r3.trigger 06:15:06 Executing eudev-3.2.11_pre1-r0.trigger 06:15:06 OK: 335 MiB in 133 packages 06:15:08 Removing intermediate container 50f71a5841fe 06:15:08 ---> 64c53175ca08 06:15:08 Step 8/12 : WORKDIR /device-usb-camera 06:15:08 ---> Running in c1ba0940e47a 06:15:08 Removing intermediate container c1ba0940e47a 06:15:08 ---> e2a3af327038 06:15:08 Step 9/12 : COPY go.mod vendor* ./ 06:15:08 ---> 0bb41f399c1c 06:15:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:08 ---> Running in 1e2b06d96ed8 06:15:30 Removing intermediate container 1e2b06d96ed8 06:15:30 ---> 9775559e02e6 06:15:30 Step 11/12 : COPY . . 06:15:30 ---> 7523f9c2c56f 06:15:30 Step 12/12 : RUN ${MAKE} 06:15:30 ---> Running in c2809b419955 06:15:30 noop 06:15:30 Removing intermediate container c2809b419955 06:15:30 ---> 9dd41becea97 06:15:30 Successfully built 9dd41becea97 06:15:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:30 + docker inspect -f . ci-base-image-x86_64 06:15:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:30 prd-ubuntu20.04-docker-8c-8g-15424 does not seem to be running inside a container 06:15:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-32 -v /w/workspace/xfoundry_device-usb-camera_PR-32:/w/workspace/xfoundry_device-usb-camera_PR-32:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-32@tmp:/w/workspace/xfoundry_device-usb-camera_PR-32@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 ******** ci-base-image-x86_64 cat 06:15:31 $ docker top ed6e5dac9315117a179fc15d0a20027dae733c07aa43b77b119e0f4592358fa2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:31 + go version 06:15:31 go version go1.17.7 linux/amd64 [Pipeline] } 06:15:31 $ docker stop --time=1 ed6e5dac9315117a179fc15d0a20027dae733c07aa43b77b119e0f4592358fa2 06:15:32 $ docker rm -f ed6e5dac9315117a179fc15d0a20027dae733c07aa43b77b119e0f4592358fa2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:33 + docker inspect -f . ci-base-image-x86_64 06:15:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:33 prd-ubuntu20.04-docker-8c-8g-15424 does not seem to be running inside a container 06:15:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-32 -v /w/workspace/xfoundry_device-usb-camera_PR-32:/w/workspace/xfoundry_device-usb-camera_PR-32:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-32@tmp:/w/workspace/xfoundry_device-usb-camera_PR-32@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 ******** ci-base-image-x86_64 cat 06:15:33 $ docker top bbaa95e7474db637908aae8817a8f7361070d54fc3e5867ecae5e4974b5c62dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:15:34 + make test 06:15:34 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 06:15:34 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:15:44 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 06:15:44 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 1.9% of statements 06:15:53 CGO_ENABLED=1 go vet ./... 06:15:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:15:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:15:56 ./bin/test-attribution-txt.sh [Pipeline] echo 06:15:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:15:56 $ docker stop --time=1 bbaa95e7474db637908aae8817a8f7361070d54fc3e5867ecae5e4974b5c62dc 06:15:58 $ docker rm -f bbaa95e7474db637908aae8817a8f7361070d54fc3e5867ecae5e4974b5c62dc [Pipeline] // withDockerContainer [Pipeline] sh 06:15:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:15:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:15:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:16:00 + ls -al . 06:16:00 total 188 06:16:00 drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 06:15 . 06:16:00 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 06:14 .. 06:16:00 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 06:14 .git 06:16:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:14 .github 06:16:00 -rw-rw-r-- 1 jenkins jenkins 349 Jun 23 06:14 .gitignore 06:16:00 -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 06:14 .golangci.yml 06:16:00 -rw-rw-r-- 1 jenkins jenkins 77 Jun 23 06:14 .hadolint.yml 06:16:00 drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 06:14 .semver 06:16:00 -rw-rw-r-- 1 jenkins jenkins 9065 Jun 23 06:14 Attribution.txt 06:16:00 -rw-rw-r-- 1 jenkins jenkins 181 Jun 23 06:14 CHANGELOG.md 06:16:00 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 23 06:14 Dockerfile 06:16:00 -rw-rw-r-- 1 jenkins jenkins 678 Jun 23 06:14 GOVERNANCE.md 06:16:00 -rw-rw-r-- 1 jenkins jenkins 659 Jun 23 06:14 Jenkinsfile 06:16:00 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 06:14 LICENSE 06:16:00 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 23 06:14 Makefile 06:16:00 -rw-rw-r-- 1 jenkins jenkins 622 Jun 23 06:14 OWNERS.md 06:16:00 -rw-rw-r-- 1 jenkins jenkins 10893 Jun 23 06:14 README.md 06:16:00 -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 06:14 VERSION 06:16:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:14 bin 06:16:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 06:14 cmd 06:16:00 -rw-r--r-- 1 jenkins jenkins 27324 Jun 23 06:15 coverage.out 06:16:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:14 docker-compose 06:16:00 -rw-rw-r-- 1 jenkins jenkins 140 Jun 23 06:14 docker-entrypoint.sh 06:16:00 -rw-rw-r-- 1 jenkins jenkins 3440 Jun 23 06:14 go.mod 06:16:00 -rw-rw-r-- 1 jenkins jenkins 35656 Jun 23 06:14 go.sum 06:16:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 06:14 internal 06:16:00 -rw-rw-r-- 1 jenkins jenkins 231 Jun 23 06:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:00 + 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=74a6d3d76903ee915e19975c4083e2782367bddc --label arch=amd64 --label version=0.0.0 . 06:16:00 Sending build context to Docker daemon 730.1kB 06:16:00 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 06:16:00 Step 2/29 : FROM ${BASE} AS builder 06:16:00 ---> 9dd41becea97 06:16:00 Step 3/29 : ARG MAKE="make build" 06:16:00 ---> Running in 86adf617b21c 06:16:00 Removing intermediate container 86adf617b21c 06:16:00 ---> ce9fecdb4f5a 06:16:00 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:16:00 ---> Running in ffd7c1a6722b 06:16:00 Removing intermediate container ffd7c1a6722b 06:16:00 ---> 828d256fb341 06:16:00 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:16:00 ---> Running in f94aacbc06c8 06:16:01 Removing intermediate container f94aacbc06c8 06:16:01 ---> 55389e4eb965 06:16:01 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:01 ---> Running in 6cc34b6d5882 06:16:01 Removing intermediate container 6cc34b6d5882 06:16:01 ---> bfc22cc570b3 06:16:01 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:01 ---> Running in 92f593775ed3 06:16:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:16:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:16:03 OK: 335 MiB in 133 packages 06:16:03 Removing intermediate container 92f593775ed3 06:16:03 ---> 10493087756e 06:16:03 Step 8/29 : WORKDIR /device-usb-camera 06:16:03 ---> Running in 757bbb095e25 06:16:03 Removing intermediate container 757bbb095e25 06:16:03 ---> 50378d6d3971 06:16:03 Step 9/29 : COPY go.mod vendor* ./ 06:16:03 ---> 2ef78e39726c 06:16:03 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:03 ---> Running in edeac50c3674 06:16:04 Removing intermediate container edeac50c3674 06:16:04 ---> c349d472501e 06:16:04 Step 11/29 : COPY . . 06:16:04 ---> b7280b7f7d38 06:16:04 Step 12/29 : RUN ${MAKE} 06:16:04 ---> Running in 12c09852b80d 06:16:04 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 06:16:26 Removing intermediate container 12c09852b80d 06:16:26 ---> 52040b4b864e 06:16:26 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 06:16:26 v0.18.4: Pulling from aler9/rtsp-simple-server 06:16:26 af6660deedbd: Pulling fs layer 06:16:26 97cd0a44c592: Pulling fs layer 06:16:26 97cd0a44c592: Download complete 06:16:26 af6660deedbd: Verifying Checksum 06:16:26 af6660deedbd: Download complete 06:16:26 af6660deedbd: Pull complete 06:16:26 97cd0a44c592: Pull complete 06:16:26 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 06:16:26 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 06:16:26 ---> fea57e182299 06:16:26 Step 14/29 : FROM alpine:3.15 06:16:27 3.15: Pulling from library/alpine 06:16:27 df9b9388f04a: Pulling fs layer 06:16:27 df9b9388f04a: Verifying Checksum 06:16:27 df9b9388f04a: Download complete 06:16:27 df9b9388f04a: Pull complete 06:16:27 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 06:16:27 Status: Downloaded newer image for alpine:3.15 06:16:27 ---> 0ac33e5f5afa 06:16:27 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:16:27 ---> Running in d6eadf63c359 06:16:27 Removing intermediate container d6eadf63c359 06:16:27 ---> 02edc57f8e1d 06:16:27 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 06:16:27 ---> Running in d23e80c15305 06:16:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:16:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:16:28 (1/74) Installing dumb-init (1.2.5-r1) 06:16:28 (2/74) Installing sdl2 (2.0.16-r4) 06:16:28 (3/74) Installing libxau (1.0.9-r0) 06:16:28 (4/74) Installing libmd (1.0.3-r0) 06:16:28 (5/74) Installing libbsd (0.11.3-r1) 06:16:28 (6/74) Installing libxdmcp (1.1.3-r0) 06:16:28 (7/74) Installing libxcb (1.14-r2) 06:16:28 (8/74) Installing libx11 (1.7.2-r0) 06:16:28 (9/74) Installing aom-libs (3.2.0-r0) 06:16:28 (10/74) Installing alsa-lib (1.2.5.1-r1) 06:16:28 (11/74) Installing expat (2.4.7-r0) 06:16:28 (12/74) Installing brotli-libs (1.0.9-r5) 06:16:28 (13/74) Installing libbz2 (1.0.8-r1) 06:16:28 (14/74) Installing libpng (1.6.37-r1) 06:16:28 (15/74) Installing freetype (2.11.1-r2) 06:16:28 (16/74) Installing libuuid (2.37.4-r0) 06:16:28 (17/74) Installing fontconfig (2.13.1-r4) 06:16:28 (18/74) Installing fribidi (1.0.11-r0) 06:16:28 (19/74) Installing libffi (3.4.2-r1) 06:16:28 (20/74) Installing libintl (0.21-r0) 06:16:28 (21/74) Installing libblkid (2.37.4-r0) 06:16:28 (22/74) Installing libmount (2.37.4-r0) 06:16:28 (23/74) Installing pcre (8.45-r1) 06:16:28 (24/74) Installing glib (2.70.1-r0) 06:16:28 (25/74) Installing graphite2 (1.3.14-r0) 06:16:28 (26/74) Installing harfbuzz (3.0.0-r2) 06:16:28 (27/74) Installing libass (0.15.2-r0) 06:16:28 (28/74) Installing libdav1d (0.9.2-r0) 06:16:28 (29/74) Installing gmp (6.2.1-r1) 06:16:28 (30/74) Installing nettle (3.7.3-r0) 06:16:28 (31/74) Installing p11-kit (0.24.0-r1) 06:16:28 (32/74) Installing libtasn1 (4.18.0-r0) 06:16:28 (33/74) Installing libunistring (0.9.10-r1) 06:16:28 (34/74) Installing gnutls (3.7.1-r0) 06:16:28 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 06:16:28 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 06:16:28 (37/74) Installing lame (3.100-r0) 06:16:28 (38/74) Installing opus (1.3.1-r1) 06:16:28 (39/74) Installing libgomp (10.3.1_git20211027-r0) 06:16:28 (40/74) Installing soxr (0.1.3-r2) 06:16:28 (41/74) Installing libgcc (10.3.1_git20211027-r0) 06:16:28 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 06:16:28 (43/74) Installing libsrt (1.4.2-r1) 06:16:28 (44/74) Installing libssh (0.9.6-r1) 06:16:28 (45/74) Installing libogg (1.3.5-r0) 06:16:28 (46/74) Installing libtheora (1.1.1-r16) 06:16:28 (47/74) Installing libjpeg-turbo (2.1.2-r0) 06:16:28 (48/74) Installing v4l-utils-libs (1.22.1-r1) 06:16:28 (49/74) Installing libxext (1.3.4-r0) 06:16:28 (50/74) Installing libxfixes (6.0.0-r0) 06:16:28 (51/74) Installing libpciaccess (0.16-r0) 06:16:28 (52/74) Installing libdrm (2.4.109-r0) 06:16:28 (53/74) Installing wayland-libs-client (1.19.0-r1) 06:16:28 (54/74) Installing libva (2.13.0-r0) 06:16:28 (55/74) Installing libvdpau (1.4-r0) 06:16:28 (56/74) Installing vidstab (1.1.0-r1) 06:16:28 (57/74) Installing libvorbis (1.3.7-r0) 06:16:28 (58/74) Installing libvpx (1.10.0-r0) 06:16:28 (59/74) Installing vulkan-loader (1.2.196-r0) 06:16:28 (60/74) Installing libwebp (1.2.2-r0) 06:16:28 (61/74) Installing x264-libs (20210613-r0) 06:16:29 (62/74) Installing x265-libs (3.5-r0) 06:16:29 (63/74) Installing xvidcore (1.3.7-r1) 06:16:29 (64/74) Installing ffmpeg-libs (4.4.1-r2) 06:16:29 (65/74) Installing ffmpeg (4.4.1-r2) 06:16:29 (66/74) Installing udev-init-scripts (35-r0) 06:16:29 Executing udev-init-scripts-35-r0.post-install 06:16:29 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 06:16:29 (68/74) Installing xz-libs (5.2.5-r1) 06:16:29 (69/74) Installing zstd-libs (1.5.0-r0) 06:16:29 (70/74) Installing kmod-libs (29-r2) 06:16:29 (71/74) Installing eudev (3.2.11_pre1-r0) 06:16:29 (72/74) Installing libsodium (1.0.18-r0) 06:16:29 (73/74) Installing libzmq (4.3.4-r0) 06:16:29 (74/74) Installing zeromq (4.3.4-r0) 06:16:29 Executing busybox-1.34.1-r5.trigger 06:16:29 Executing eudev-3.2.11_pre1-r0.trigger 06:16:29 OK: 78 MiB in 88 packages 06:16:30 Removing intermediate container d23e80c15305 06:16:30 ---> 06ef728ad09c 06:16:30 Step 17/29 : WORKDIR / 06:16:30 ---> Running in 07f773d4c42d 06:16:30 Removing intermediate container 07f773d4c42d 06:16:30 ---> 8bb97a9753ce 06:16:30 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 06:16:31 ---> a2f2eaa5bdba 06:16:31 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 06:16:31 ---> 245bfc3087a7 06:16:31 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 06:16:31 ---> 8a08d95756b6 06:16:31 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 06:16:31 ---> f10550c2fedc 06:16:31 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 06:16:32 ---> 9516994517ce 06:16:32 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 06:16:32 ---> 8049a9cf95e6 06:16:32 Step 24/29 : EXPOSE 59983 06:16:32 ---> Running in 65abac7ed68c 06:16:32 Removing intermediate container 65abac7ed68c 06:16:32 ---> 6560a4290518 06:16:32 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 06:16:32 ---> Running in fec74dd5abd6 06:16:32 Removing intermediate container fec74dd5abd6 06:16:32 ---> ef054973277e 06:16:32 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 06:16:32 ---> Running in cb954e049c54 06:16:33 Removing intermediate container cb954e049c54 06:16:33 ---> 8c9321de56a9 06:16:33 Step 27/29 : LABEL arch=amd64 06:16:33 ---> Running in 4dbd83d4155e 06:16:33 Removing intermediate container 4dbd83d4155e 06:16:33 ---> 8832a17a9f6b 06:16:33 Step 28/29 : LABEL git_sha=74a6d3d76903ee915e19975c4083e2782367bddc 06:16:33 ---> Running in 9167ea69e451 06:16:33 Removing intermediate container 9167ea69e451 06:16:33 ---> 5630cc6b82e7 06:16:33 Step 29/29 : LABEL version=0.0.0 06:16:33 ---> Running in 9483dbdc1a46 06:16:33 Removing intermediate container 9483dbdc1a46 06:16:33 ---> 6e2762e69ed5 06:16:33 [Warning] One or more build-args [ARCH] were not consumed 06:16:33 Successfully built 6e2762e69ed5 06:16:33 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 06:16:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:16:33 06:16:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:16:34 latest: Pulling from edgex-lftools-log-publisher 06:16:34 5eb5b503b376: Pulling fs layer 06:16:34 5c69ac0246d0: Pulling fs layer 06:16:34 ec43610c2a17: Pulling fs layer 06:16:34 3a2ae6a8a46f: Pulling fs layer 06:16:34 33b1e0a273af: Pulling fs layer 06:16:34 5d3b04190fa2: Pulling fs layer 06:16:34 2f39f015ded8: Pulling fs layer 06:16:34 33b1e0a273af: Waiting 06:16:34 5d3b04190fa2: Waiting 06:16:34 2f39f015ded8: Waiting 06:16:34 3a2ae6a8a46f: Waiting 06:16:34 5c69ac0246d0: Download complete 06:16:34 3a2ae6a8a46f: Verifying Checksum 06:16:34 3a2ae6a8a46f: Download complete 06:16:34 33b1e0a273af: Verifying Checksum 06:16:34 33b1e0a273af: Download complete 06:16:34 ec43610c2a17: Verifying Checksum 06:16:34 ec43610c2a17: Download complete 06:16:34 5d3b04190fa2: Download complete 06:16:34 5eb5b503b376: Verifying Checksum 06:16:34 5eb5b503b376: Download complete 06:16:34 2f39f015ded8: Verifying Checksum 06:16:34 2f39f015ded8: Download complete 06:16:35 5eb5b503b376: Pull complete 06:16:35 5c69ac0246d0: Pull complete 06:16:36 ec43610c2a17: Pull complete 06:16:36 3a2ae6a8a46f: Pull complete 06:16:36 33b1e0a273af: Pull complete 06:16:36 5d3b04190fa2: Pull complete 06:16:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15430 in /w/workspace/xfoundry_device-usb-camera_PR-32 [Pipeline] { [Pipeline] ws 06:16:39 Running in /w/workspace/device-usb-camera/8 [Pipeline] { [Pipeline] checkout 06:16:39 Selected Git installation does not exist. Using Default 06:16:39 The recommended git tool is: NONE 06:16:41 2f39f015ded8: Pull complete 06:16:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:16:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:16:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:41 prd-ubuntu20.04-docker-8c-8g-15424 does not seem to be running inside a container 06:16:41 $ 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-32 -v /w/workspace/xfoundry_device-usb-camera_PR-32:/w/workspace/xfoundry_device-usb-camera_PR-32:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-32@tmp:/w/workspace/xfoundry_device-usb-camera_PR-32@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 06:16:43 $ docker top 6c086b75e893b0a861f8a54a1d817533518ec72947a284c2aec1335c6a571e6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:44 ---> job-cost.sh 06:16:44 lf-activate-venv: SKIPPING 06:16:44 INFO: No Stack... 06:16:44 INFO: Retrieving Pricing Info for: v3-standard-8 06:16:44 INFO: Archiving Costs [Pipeline] sh 06:16:45 + cat /w/workspace/xfoundry_device-usb-camera_PR-32/archives/cost.csv 06:16:45 + cut -d, -f6 [Pipeline] lock 06:16:45 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-32-8-stack-cost] 06:16:45 Resource [jenkins-edgexfoundry-device-usb-camera-PR-32-8-stack-cost] did not exist. Created. 06:16:45 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-32-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:16:45 using credential edgex-jenkins-ssh 06:16:45 Cloning the remote Git repository 06:16:45 + echo total: 0.2199999988079071 [Pipeline] stash 06:16:45 Stashed 1 file(s) [Pipeline] } 06:16:45 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-32-8-stack-cost] [Pipeline] // lock [Pipeline] } 06:16:45 $ docker stop --time=1 6c086b75e893b0a861f8a54a1d817533518ec72947a284c2aec1335c6a571e6e 06:16:45 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 06:16:45 > git init /w/workspace/device-usb-camera/8 # timeout=10 06:16:45 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:16:45 > git --version # timeout=10 06:16:45 > git --version # 'git version 2.25.1' 06:16:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:46 $ docker rm -f 6c086b75e893b0a861f8a54a1d817533518ec72947a284c2aec1335c6a571e6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:16:46 Merging remotes/origin/main commit 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 into PR head commit a600adc348fec57cab4dd563690f906113ff476a 06:16:47 Merge succeeded, producing 5bfc0a949f9af60c9fb750edf5147b91e3308c6d 06:16:47 Checking out Revision 5bfc0a949f9af60c9fb750edf5147b91e3308c6d (PR-32) 06:16:46 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:16:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:46 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:16:46 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:16:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:16:47 > git config core.sparsecheckout # timeout=10 06:16:47 > git checkout -f a600adc348fec57cab4dd563690f906113ff476a # timeout=10 06:16:47 > git remote # timeout=10 06:16:47 > git config --get remote.origin.url # timeout=10 06:16:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:47 > git merge 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 # timeout=10 06:16:47 > git rev-parse HEAD^{commit} # timeout=10 06:16:47 > git config core.sparsecheckout # timeout=10 06:16:47 > git checkout -f 5bfc0a949f9af60c9fb750edf5147b91e3308c6d # timeout=10 06:16:51 Commit message: "Merge commit '0d2f133a70ca139fe5a25e6e35809f1e9812dab5' into HEAD" 06:16:51 First time build. Skipping changelog. 06:16:51 > git rev-list --no-walk 9c7bd5ed1d6e4d35bc0192e9010e85077a629178 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:16:52 % Total % Received % Xferd Average Speed Time Time Time Current 06:16:52 Dload Upload Total Spent Left Speed 06:16:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 86900 0 --:--:-- --:--:-- --:--:-- 86900 [Pipeline] sh 06:16:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:16:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:16:53 + sudo tee /etc/docker/daemon.new 06:16:53 { 06:16:53 "registry-mirrors": [ 06:16:53 "https://nexus3.edgexfoundry.org:10001" 06:16:53 ], 06:16:53 "bip": "10.250.0.254/24", 06:16:53 "hosts": [ 06:16:53 "tcp://0.0.0.0:5555", 06:16:53 "unix:///var/run/docker.sock" 06:16:53 ], 06:16:53 "mtu": 1458, 06:16:53 "selinux-enabled": true, 06:16:53 "seccomp-profile": "/etc/docker/seccomp.json" 06:16:53 } [Pipeline] sh 06:16:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:16:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:17:12 provisioning config files... 06:17:12 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/8@tmp/config7053884126733487110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:12 ---> docker-login.sh 06:17:12 nexus3.edgexfoundry.org:10001 06:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:13 Configure a credential helper to remove this warning. See 06:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:13 06:17:13 Login Succeeded 06:17:13 nexus3.edgexfoundry.org:10002 06:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:13 Configure a credential helper to remove this warning. See 06:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:13 06:17:13 Login Succeeded 06:17:13 nexus3.edgexfoundry.org:10003 06:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:14 Configure a credential helper to remove this warning. See 06:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:14 06:17:14 Login Succeeded 06:17:14 nexus3.edgexfoundry.org:10004 06:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:15 Configure a credential helper to remove this warning. See 06:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:15 06:17:15 Login Succeeded 06:17:15 docker.io 06:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:15 Configure a credential helper to remove this warning. See 06:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:15 06:17:15 Login Succeeded 06:17:15 ---> docker-login.sh ends [Pipeline] } 06:17:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:17:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:17:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:17:16 ========================================================= 06:17:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:17:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:16 + 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 . 06:17:17 Sending build context to Docker daemon 491.5kB 06:17:17 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:17:17 Step 2/12 : FROM ${BASE} AS builder 06:17:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:17:17 9b3977197b4f: Pulling fs layer 06:17:17 1a89e8eeedd5: Pulling fs layer 06:17:17 94645a83ff95: Pulling fs layer 06:17:17 e6fb740bc735: Pulling fs layer 06:17:17 3a77bd46dcc9: Pulling fs layer 06:17:17 355e64cbe906: Pulling fs layer 06:17:17 63ab81a10011: Pulling fs layer 06:17:17 555d1d1c4555: Pulling fs layer 06:17:17 7d9057610161: Pulling fs layer 06:17:17 e6fb740bc735: Waiting 06:17:17 3a77bd46dcc9: Waiting 06:17:17 355e64cbe906: Waiting 06:17:17 63ab81a10011: Waiting 06:17:17 555d1d1c4555: Waiting 06:17:17 7d9057610161: Waiting 06:17:17 94645a83ff95: Verifying Checksum 06:17:17 94645a83ff95: Download complete 06:17:17 1a89e8eeedd5: Download complete 06:17:17 3a77bd46dcc9: Download complete 06:17:17 355e64cbe906: Verifying Checksum 06:17:17 355e64cbe906: Download complete 06:17:17 9b3977197b4f: Verifying Checksum 06:17:17 9b3977197b4f: Download complete 06:17:17 63ab81a10011: Verifying Checksum 06:17:17 63ab81a10011: Download complete 06:17:18 9b3977197b4f: Pull complete 06:17:18 7d9057610161: Verifying Checksum 06:17:18 7d9057610161: Download complete 06:17:18 1a89e8eeedd5: Pull complete 06:17:19 94645a83ff95: Pull complete 06:17:19 555d1d1c4555: Verifying Checksum 06:17:19 555d1d1c4555: Download complete 06:17:20 e6fb740bc735: Verifying Checksum 06:17:20 e6fb740bc735: Download complete 06:17:32 e6fb740bc735: Pull complete 06:17:32 3a77bd46dcc9: Pull complete 06:17:32 355e64cbe906: Pull complete 06:17:32 63ab81a10011: Pull complete 06:17:39 555d1d1c4555: Pull complete 06:17:41 7d9057610161: Pull complete 06:17:41 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 06:17:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:17:41 ---> 819e984ddca1 06:17:41 Step 3/12 : ARG MAKE="make build" 06:17:42 ---> Running in d659f6812ca1 06:17:42 Removing intermediate container d659f6812ca1 06:17:42 ---> 241d146d6631 06:17:42 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:17:42 ---> Running in 013eab35b1ff 06:17:42 Removing intermediate container 013eab35b1ff 06:17:42 ---> 652141365a80 06:17:42 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:17:42 ---> Running in f532a2795345 06:17:43 Removing intermediate container f532a2795345 06:17:43 ---> cc07f96d8a0e 06:17:43 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:17:43 ---> Running in 78d825b19cb5 06:17:46 Removing intermediate container 78d825b19cb5 06:17:46 ---> 9aaafb58ed42 06:17:46 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:17:46 ---> Running in 5b8c3155bc72 06:17:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:17:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:17:48 (1/14) Installing libintl (0.21-r0) 06:17:48 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 06:17:48 (3/14) Installing libjpeg-turbo (2.1.2-r0) 06:17:49 (4/14) Installing v4l-utils-libs (1.22.1-r1) 06:17:49 (5/14) Installing v4l-utils (1.22.1-r1) 06:17:49 (6/14) Installing udev-init-scripts (35-r0) 06:17:49 Executing udev-init-scripts-35-r0.post-install 06:17:49 (7/14) Installing libblkid (2.37.4-r0) 06:17:49 (8/14) Installing xz-libs (5.2.5-r1) 06:17:49 (9/14) Installing zstd-libs (1.5.0-r0) 06:17:49 (10/14) Installing kmod-libs (29-r2) 06:17:49 (11/14) Installing eudev (3.2.11_pre1-r0) 06:17:49 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 06:17:49 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 06:17:50 (14/14) Installing v4l-utils-dev (1.22.1-r1) 06:17:50 Executing busybox-1.34.1-r3.trigger 06:17:50 Executing eudev-3.2.11_pre1-r0.trigger 06:17:50 OK: 228 MiB in 66 packages 06:17:51 Removing intermediate container 5b8c3155bc72 06:17:51 ---> 37933f3c006e 06:17:51 Step 8/12 : WORKDIR /device-usb-camera 06:17:51 ---> Running in 6af84df11823 06:17:51 Removing intermediate container 6af84df11823 06:17:51 ---> 448a2f6ef225 06:17:51 Step 9/12 : COPY go.mod vendor* ./ 06:17:52 ---> 2a2f24144b54 06:17:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:17:52 ---> Running in 4d6e92694261 06:18:39 Removing intermediate container 4d6e92694261 06:18:39 ---> 0399c412a4ee 06:18:39 Step 11/12 : COPY . . 06:18:39 ---> 2090c1e43587 06:18:39 Step 12/12 : RUN ${MAKE} 06:18:39 ---> Running in 927c9337371e 06:18:39 noop 06:18:39 Removing intermediate container 927c9337371e 06:18:39 ---> 5a897a913253 06:18:39 Successfully built 5a897a913253 06:18:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:39 + docker inspect -f . ci-base-image-arm64 06:18:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:39 prd-ubuntu20.04-docker-arm64-4c-16g-15430 does not seem to be running inside a container 06:18:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@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 06:18:41 $ docker top c2cb0fee2f677e62f912c7fd5511aad3594421f12133e7f0a3e0ba9372ba1107 -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:42 + go version 06:18:42 go version go1.17.7 linux/arm64 [Pipeline] } 06:18:42 $ docker stop --time=1 c2cb0fee2f677e62f912c7fd5511aad3594421f12133e7f0a3e0ba9372ba1107 06:18:43 $ docker rm -f c2cb0fee2f677e62f912c7fd5511aad3594421f12133e7f0a3e0ba9372ba1107 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:44 + docker inspect -f . ci-base-image-arm64 06:18:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:44 prd-ubuntu20.04-docker-arm64-4c-16g-15430 does not seem to be running inside a container 06:18:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@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 06:18:46 $ docker top 8610c17b5c91220fc8969aa946e0cce7217a8fced637bae814a2950a2b1088fb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:18:46 + make test 06:18:46 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 06:18:48 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:20:10 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 06:20:10 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.071s coverage: 1.9% of statements 06:20:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:20:10 CGO_ENABLED=1 go vet ./... 06:20:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:20:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:20:37 ./bin/test-attribution-txt.sh [Pipeline] echo 06:20:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:20:37 $ docker stop --time=1 8610c17b5c91220fc8969aa946e0cce7217a8fced637bae814a2950a2b1088fb 06:20:38 $ docker rm -f 8610c17b5c91220fc8969aa946e0cce7217a8fced637bae814a2950a2b1088fb [Pipeline] // withDockerContainer [Pipeline] sh 06:20:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:20:39 Warning: overwriting stash ‘coverage-report’ 06:20:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:20:41 + ls -al . 06:20:41 total 184 06:20:41 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 06:20 . 06:20:41 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 06:16 .. 06:20:41 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 06:16 .git 06:20:41 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:16 .github 06:20:41 -rw-rw-r-- 1 jenkins jenkins 349 Jun 23 06:16 .gitignore 06:20:41 -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 06:16 .golangci.yml 06:20:41 -rw-rw-r-- 1 jenkins jenkins 77 Jun 23 06:16 .hadolint.yml 06:20:41 -rw-rw-r-- 1 jenkins jenkins 9065 Jun 23 06:16 Attribution.txt 06:20:41 -rw-rw-r-- 1 jenkins jenkins 181 Jun 23 06:16 CHANGELOG.md 06:20:41 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 23 06:16 Dockerfile 06:20:41 -rw-rw-r-- 1 jenkins jenkins 678 Jun 23 06:16 GOVERNANCE.md 06:20:41 -rw-rw-r-- 1 jenkins jenkins 659 Jun 23 06:16 Jenkinsfile 06:20:41 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 06:16 LICENSE 06:20:41 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 23 06:16 Makefile 06:20:41 -rw-rw-r-- 1 jenkins jenkins 622 Jun 23 06:16 OWNERS.md 06:20:41 -rw-rw-r-- 1 jenkins jenkins 10893 Jun 23 06:16 README.md 06:20:41 -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 06:14 VERSION 06:20:41 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:16 bin 06:20:41 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 06:16 cmd 06:20:41 -rw-r--r-- 1 jenkins jenkins 27324 Jun 23 06:20 coverage.out 06:20:41 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 06:16 docker-compose 06:20:41 -rw-rw-r-- 1 jenkins jenkins 140 Jun 23 06:16 docker-entrypoint.sh 06:20:41 -rw-rw-r-- 1 jenkins jenkins 3440 Jun 23 06:16 go.mod 06:20:41 -rw-rw-r-- 1 jenkins jenkins 35656 Jun 23 06:16 go.sum 06:20:41 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 06:16 internal 06:20:41 -rw-rw-r-- 1 jenkins jenkins 231 Jun 23 06:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:41 + 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=5bfc0a949f9af60c9fb750edf5147b91e3308c6d --label arch=arm64 --label version=0.0.0 . 06:20:41 Sending build context to Docker daemon 519.7kB 06:20:41 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 06:20:41 Step 2/29 : FROM ${BASE} AS builder 06:20:41 ---> 5a897a913253 06:20:41 Step 3/29 : ARG MAKE="make build" 06:20:42 ---> Running in 457d05488014 06:20:42 Removing intermediate container 457d05488014 06:20:42 ---> 21d050cad4a9 06:20:42 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:20:42 ---> Running in 930170282c8f 06:20:42 Removing intermediate container 930170282c8f 06:20:42 ---> e9740ce597ad 06:20:42 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:20:42 ---> Running in b40e0a5f366a 06:20:42 Removing intermediate container b40e0a5f366a 06:20:42 ---> ae6bdbb591d7 06:20:42 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:20:43 ---> Running in a6e34cff3ecb 06:20:44 Removing intermediate container a6e34cff3ecb 06:20:44 ---> 59de651f283d 06:20:44 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:20:44 ---> Running in c3312f708dcb 06:20:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:20:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:20:47 OK: 228 MiB in 66 packages 06:20:48 Removing intermediate container c3312f708dcb 06:20:48 ---> 2da066c9f34e 06:20:48 Step 8/29 : WORKDIR /device-usb-camera 06:20:48 ---> Running in 9b67198f25f9 06:20:48 Removing intermediate container 9b67198f25f9 06:20:48 ---> 9e2d31424621 06:20:48 Step 9/29 : COPY go.mod vendor* ./ 06:20:49 ---> d3b561609e5f 06:20:49 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:20:49 ---> Running in 5e85a93cfc58 06:20:51 Removing intermediate container 5e85a93cfc58 06:20:51 ---> d151e2fec661 06:20:51 Step 11/29 : COPY . . 06:20:52 ---> a129b51761db 06:20:52 Step 12/29 : RUN ${MAKE} 06:20:52 ---> Running in 69c9d2e0ab5e 06:20:53 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 06:23:00 Removing intermediate container 69c9d2e0ab5e 06:23:00 ---> 65a07a9098ab 06:23:00 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 06:23:00 v0.18.4: Pulling from aler9/rtsp-simple-server 06:23:00 eab2503cf8f4: Pulling fs layer 06:23:00 97cd0a44c592: Pulling fs layer 06:23:00 97cd0a44c592: Verifying Checksum 06:23:00 97cd0a44c592: Download complete 06:23:00 eab2503cf8f4: Verifying Checksum 06:23:00 eab2503cf8f4: Download complete 06:23:00 eab2503cf8f4: Pull complete 06:23:00 97cd0a44c592: Pull complete 06:23:00 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 06:23:00 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 06:23:00 ---> 7f763cca56b3 06:23:00 Step 14/29 : FROM alpine:3.15 06:23:00 3.15: Pulling from library/alpine 06:23:00 9981e73032c8: Pulling fs layer 06:23:00 9981e73032c8: Download complete 06:23:00 9981e73032c8: Pull complete 06:23:00 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 06:23:00 Status: Downloaded newer image for alpine:3.15 06:23:00 ---> 3fb3c9af89a9 06:23:00 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:23:00 ---> Running in bf279723cdb8 06:23:00 Removing intermediate container bf279723cdb8 06:23:00 ---> 7cfae64b1580 06:23:00 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 06:23:00 ---> Running in 0cec05a8b12b 06:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:23:01 (1/73) Installing dumb-init (1.2.5-r1) 06:23:01 (2/73) Installing sdl2 (2.0.16-r4) 06:23:01 (3/73) Installing libxau (1.0.9-r0) 06:23:01 (4/73) Installing libmd (1.0.3-r0) 06:23:01 (5/73) Installing libbsd (0.11.3-r1) 06:23:01 (6/73) Installing libxdmcp (1.1.3-r0) 06:23:01 (7/73) Installing libxcb (1.14-r2) 06:23:01 (8/73) Installing libx11 (1.7.2-r0) 06:23:01 (9/73) Installing aom-libs (3.2.0-r0) 06:23:01 (10/73) Installing alsa-lib (1.2.5.1-r1) 06:23:01 (11/73) Installing expat (2.4.7-r0) 06:23:01 (12/73) Installing brotli-libs (1.0.9-r5) 06:23:01 (13/73) Installing libbz2 (1.0.8-r1) 06:23:01 (14/73) Installing libpng (1.6.37-r1) 06:23:01 (15/73) Installing freetype (2.11.1-r2) 06:23:01 (16/73) Installing libuuid (2.37.4-r0) 06:23:01 (17/73) Installing fontconfig (2.13.1-r4) 06:23:01 (18/73) Installing fribidi (1.0.11-r0) 06:23:01 (19/73) Installing libffi (3.4.2-r1) 06:23:01 (20/73) Installing libintl (0.21-r0) 06:23:01 (21/73) Installing libblkid (2.37.4-r0) 06:23:01 (22/73) Installing libmount (2.37.4-r0) 06:23:01 (23/73) Installing pcre (8.45-r1) 06:23:01 (24/73) Installing glib (2.70.1-r0) 06:23:02 (25/73) Installing graphite2 (1.3.14-r0) 06:23:02 (26/73) Installing harfbuzz (3.0.0-r2) 06:23:02 (27/73) Installing libass (0.15.2-r0) 06:23:02 (28/73) Installing libdav1d (0.9.2-r0) 06:23:02 (29/73) Installing gmp (6.2.1-r1) 06:23:02 (30/73) Installing nettle (3.7.3-r0) 06:23:02 (31/73) Installing p11-kit (0.24.0-r1) 06:23:02 (32/73) Installing libtasn1 (4.18.0-r0) 06:23:02 (33/73) Installing libunistring (0.9.10-r1) 06:23:02 (34/73) Installing gnutls (3.7.1-r0) 06:23:02 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 06:23:02 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 06:23:02 (37/73) Installing lame (3.100-r0) 06:23:02 (38/73) Installing opus (1.3.1-r1) 06:23:02 (39/73) Installing libgomp (10.3.1_git20211027-r0) 06:23:02 (40/73) Installing soxr (0.1.3-r2) 06:23:02 (41/73) Installing libgcc (10.3.1_git20211027-r0) 06:23:02 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 06:23:02 (43/73) Installing libsrt (1.4.2-r1) 06:23:02 (44/73) Installing libssh (0.9.6-r1) 06:23:02 (45/73) Installing libogg (1.3.5-r0) 06:23:02 (46/73) Installing libtheora (1.1.1-r16) 06:23:02 (47/73) Installing libjpeg-turbo (2.1.2-r0) 06:23:02 (48/73) Installing v4l-utils-libs (1.22.1-r1) 06:23:02 (49/73) Installing libxext (1.3.4-r0) 06:23:02 (50/73) Installing libxfixes (6.0.0-r0) 06:23:02 (51/73) Installing libdrm (2.4.109-r0) 06:23:02 (52/73) Installing wayland-libs-client (1.19.0-r1) 06:23:02 (53/73) Installing libva (2.13.0-r0) 06:23:02 (54/73) Installing libvdpau (1.4-r0) 06:23:02 (55/73) Installing vidstab (1.1.0-r1) 06:23:02 (56/73) Installing libvorbis (1.3.7-r0) 06:23:02 (57/73) Installing libvpx (1.10.0-r0) 06:23:02 (58/73) Installing vulkan-loader (1.2.196-r0) 06:23:02 (59/73) Installing libwebp (1.2.2-r0) 06:23:02 (60/73) Installing x264-libs (20210613-r0) 06:23:02 (61/73) Installing x265-libs (3.5-r0) 06:23:02 (62/73) Installing xvidcore (1.3.7-r1) 06:23:02 (63/73) Installing ffmpeg-libs (4.4.1-r2) 06:23:03 (64/73) Installing ffmpeg (4.4.1-r2) 06:23:03 (65/73) Installing udev-init-scripts (35-r0) 06:23:03 Executing udev-init-scripts-35-r0.post-install 06:23:03 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 06:23:03 (67/73) Installing xz-libs (5.2.5-r1) 06:23:03 (68/73) Installing zstd-libs (1.5.0-r0) 06:23:03 (69/73) Installing kmod-libs (29-r2) 06:23:03 (70/73) Installing eudev (3.2.11_pre1-r0) 06:23:03 (71/73) Installing libsodium (1.0.18-r0) 06:23:03 (72/73) Installing libzmq (4.3.4-r0) 06:23:03 (73/73) Installing zeromq (4.3.4-r0) 06:23:03 Executing busybox-1.34.1-r5.trigger 06:23:03 Executing eudev-3.2.11_pre1-r0.trigger 06:23:03 OK: 67 MiB in 87 packages 06:23:06 Removing intermediate container 0cec05a8b12b 06:23:06 ---> 3144579cd359 06:23:06 Step 17/29 : WORKDIR / 06:23:06 ---> Running in 1979a383328c 06:23:06 Removing intermediate container 1979a383328c 06:23:06 ---> e6c3ea44b7c6 06:23:06 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 06:23:07 ---> bf5656dc4d14 06:23:07 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 06:23:08 ---> cbc56dc1b022 06:23:08 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 06:23:09 ---> 61a94be887ec 06:23:09 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 06:23:09 ---> dc61db000126 06:23:09 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 06:23:10 ---> d7f7a1797b6c 06:23:10 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 06:23:11 ---> efc727e94adb 06:23:11 Step 24/29 : EXPOSE 59983 06:23:11 ---> Running in c08225939209 06:23:11 Removing intermediate container c08225939209 06:23:11 ---> 5c4d663b6e52 06:23:11 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 06:23:11 ---> Running in 284e012a81fb 06:23:11 Removing intermediate container 284e012a81fb 06:23:11 ---> 15a73fe3bf13 06:23:11 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 06:23:12 ---> Running in 5c69ab88447f 06:23:12 Removing intermediate container 5c69ab88447f 06:23:12 ---> 229ff2a5bad8 06:23:12 Step 27/29 : LABEL arch=arm64 06:23:12 ---> Running in 98b4f7a0f8a8 06:23:12 Removing intermediate container 98b4f7a0f8a8 06:23:12 ---> d0a8c076b4fb 06:23:12 Step 28/29 : LABEL git_sha=5bfc0a949f9af60c9fb750edf5147b91e3308c6d 06:23:12 ---> Running in 569a0c0ce7db 06:23:12 Removing intermediate container 569a0c0ce7db 06:23:12 ---> 72bdbbbd75d8 06:23:12 Step 29/29 : LABEL version=0.0.0 06:23:13 ---> Running in 4c035110f31a 06:23:13 Removing intermediate container 4c035110f31a 06:23:13 ---> 6dec1d9c080c 06:23:13 [Warning] One or more build-args [ARCH] were not consumed 06:23:13 Successfully built 6dec1d9c080c 06:23:13 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 06:23:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:13 06:23:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:14 arm64: Pulling from edgex-lftools-log-publisher 06:23:14 8998bd30e6a1: Pulling fs layer 06:23:14 04944245beec: Pulling fs layer 06:23:14 699f458cf7ca: Pulling fs layer 06:23:14 765212b225bb: Pulling fs layer 06:23:14 f23df028b6ca: Pulling fs layer 06:23:14 d65c8cfc05b1: Pulling fs layer 06:23:14 2437ff75d9bd: Pulling fs layer 06:23:14 f23df028b6ca: Waiting 06:23:14 d65c8cfc05b1: Waiting 06:23:14 2437ff75d9bd: Waiting 06:23:14 765212b225bb: Waiting 06:23:14 04944245beec: Verifying Checksum 06:23:14 04944245beec: Download complete 06:23:14 765212b225bb: Verifying Checksum 06:23:14 765212b225bb: Download complete 06:23:14 f23df028b6ca: Verifying Checksum 06:23:14 f23df028b6ca: Download complete 06:23:14 d65c8cfc05b1: Verifying Checksum 06:23:14 d65c8cfc05b1: Download complete 06:23:14 699f458cf7ca: Verifying Checksum 06:23:14 699f458cf7ca: Download complete 06:23:14 8998bd30e6a1: Verifying Checksum 06:23:14 8998bd30e6a1: Download complete 06:23:17 2437ff75d9bd: Verifying Checksum 06:23:17 2437ff75d9bd: Download complete 06:23:19 8998bd30e6a1: Pull complete 06:23:19 04944245beec: Pull complete 06:23:21 699f458cf7ca: Pull complete 06:23:21 765212b225bb: Pull complete 06:23:22 f23df028b6ca: Pull complete 06:23:22 d65c8cfc05b1: Pull complete 06:23:37 2437ff75d9bd: Pull complete 06:23:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:23:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:37 prd-ubuntu20.04-docker-arm64-4c-16g-15430 does not seem to be running inside a container 06:23:37 $ 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/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@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 06:23:40 $ docker top d390ebb65cc4cc72f6c25cfe46dad3ce040a804b7b79437ea6eba73be18427b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:41 ---> job-cost.sh 06:23:41 lf-activate-venv: SKIPPING 06:23:41 INFO: No Stack... 06:23:41 INFO: Retrieving Pricing Info for: v3-standard-4 06:23:42 INFO: Archiving Costs [Pipeline] sh 06:23:43 + cut -d, -f6 06:23:43 + cat /w/workspace/device-usb-camera/8/archives/cost.csv [Pipeline] lock 06:23:43 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-32-8-stack-cost] 06:23:43 Resource [jenkins-edgexfoundry-device-usb-camera-PR-32-8-stack-cost] did not exist. Created. 06:23:43 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-32-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:23:44 /w/workspace/device-usb-camera/8@tmp/durable-09530048/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:23:45 + echo total: 0.10999999940395355 [Pipeline] stash 06:23:45 Warning: overwriting stash ‘stack-cost’ 06:23:45 Stashed 1 file(s) [Pipeline] } 06:23:45 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-32-8-stack-cost] [Pipeline] // lock [Pipeline] } 06:23:45 $ docker stop --time=1 d390ebb65cc4cc72f6c25cfe46dad3ce040a804b7b79437ea6eba73be18427b0 06:23:46 $ docker rm -f d390ebb65cc4cc72f6c25cfe46dad3ce040a804b7b79437ea6eba73be18427b0 [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 06:23:47 provisioning config files... 06:23:47 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-32@tmp/config7175547443605897898tmp [Pipeline] { [Pipeline] sh 06:23:47 + set +x 06:23:47 + bash -s -- 06:23:47 + curl -s https://codecov.io/bash 06:23:47 06:23:47 _____ _ 06:23:47 / ____| | | 06:23:47 | | ___ __| | ___ ___ _____ __ 06:23:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:23:47 | |___| (_) | (_| | __/ (_| (_) \ V / 06:23:47 \_____\___/ \__,_|\___|\___\___/ \_/ 06:23:47 Bash-1.0.6 06:23:47 06:23:47 06:23:47 ==> git version 2.25.1 found 06:23:47 ==> 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 06:23:47 Release-Date: 2020-01-08 06:23:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:23:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:23:47 ==> Jenkins CI detected. 06:23:47 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-32 06:23:47 project root: . 06:23:47 --> token set from env 06:23:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:23:47 ==> Running gcov in . (disable via -X gcov) 06:23:47 ==> Python coveragepy not found 06:23:47 ==> Searching for coverage reports in: 06:23:47 + . 06:23:47 -> Found 1 reports 06:23:47 ==> Detecting git/mercurial file structure 06:23:47 ==> Reading reports 06:23:47 + ./coverage.out bytes=27324 06:23:47 ==> Appending adjustments 06:23:47 https://docs.codecov.io/docs/fixing-reports 06:23:47 + Found adjustments 06:23:47 ==> Gzipping contents 06:23:47 4.0K /tmp/codecov.wOIH3f.gz 06:23:47 ==> Uploading reports 06:23:47 url: https://codecov.io 06:23:47 query: branch=PR-32&commit=74a6d3d76903ee915e19975c4083e2782367bddc&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-32%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=32&job=&cmd_args= 06:23:47 -> Pinging Codecov 06:23:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-32&commit=74a6d3d76903ee915e19975c4083e2782367bddc&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-32%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=32&job=&cmd_args= 06:23:48 -> Uploading to 06:23:48 https://storage.googleapis.com/codecov/v4/raw/2022-06-23/73D8F5FF140700D3E01443B452E23636/74a6d3d76903ee915e19975c4083e2782367bddc/c8b4e1ef-0484-4ce7-af1c-0c6d9666c8f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220623T062347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=beac11593b05130ec5d8bc9d3a9162b91a3cb325c61dbcbaf97971ca2f3a53ab 06:23:48 % Total % Received % Xferd Average Speed Time Time Time Current 06:23:48 Dload Upload Total Spent Left Speed 06:23:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3594 0 0 100 3594 0 15763 --:--:-- --:--:-- --:--:-- 15763 06:23:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/74a6d3d76903ee915e19975c4083e2782367bddc [Pipeline] } 06:23:48 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 06:23:49 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-32/archives ] 06:23:49 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-32/archives 06:23:49 total 16 06:23:49 drwxr-xr-x 3 root root 4096 Jun 23 06:16 . 06:23:49 drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 06:16 .. 06:23:49 drwxr-xr-x 2 root root 4096 Jun 23 06:16 cost 06:23:49 -rw-r--r-- 1 root root 88 Jun 23 06:16 cost.csv 06:23:49 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-32/archives 06:23:49 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-32/archives 06:23:49 total 16 06:23:49 drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 06:16 . 06:23:49 drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 06:16 .. 06:23:49 drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 06:16 cost 06:23:49 -rw-r--r-- 1 jenkins jenkins 88 Jun 23 06:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:23:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:23:50 ---> package-listing.sh 06:23:50 ++ facter osfamily 06:23:50 ++ tr '[:upper:]' '[:lower:]' 06:23:50 + OS_FAMILY=debian 06:23:50 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-32 06:23:50 + START_PACKAGES=/tmp/packages_start.txt 06:23:50 + END_PACKAGES=/tmp/packages_end.txt 06:23:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:23:50 + PACKAGES=/tmp/packages_start.txt 06:23:50 + '[' /w/workspace/xfoundry_device-usb-camera_PR-32 ']' 06:23:50 + PACKAGES=/tmp/packages_end.txt 06:23:50 + case "${OS_FAMILY}" in 06:23:50 + dpkg -l 06:23:50 + grep '^ii' 06:23:50 + '[' -f /tmp/packages_start.txt ']' 06:23:50 + '[' -f /tmp/packages_end.txt ']' 06:23:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:23:50 + '[' /w/workspace/xfoundry_device-usb-camera_PR-32 ']' 06:23:50 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-32/archives/ 06:23:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-32/archives/ [Pipeline] echo 06:23:50 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-32/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:23:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:23:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:51 prd-ubuntu20.04-docker-8c-8g-15424 does not seem to be running inside a container 06:23:51 $ 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-32/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-32 -v /w/workspace/xfoundry_device-usb-camera_PR-32:/w/workspace/xfoundry_device-usb-camera_PR-32:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-32@tmp:/w/workspace/xfoundry_device-usb-camera_PR-32@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:23:51 $ docker top ab2c91a64cfac1f0f468a7c69fed7b2b13293cead3f9dcbe76155342763511d3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:52 + touch /tmp/pre-build-complete [Pipeline] sh 06:23:52 + mkdir -p /var/log/sysstat [Pipeline] sh 06:23:52 + ls /var/log/sa-host 06:23:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:23:52 provisioning config files... 06:23:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-32@tmp/config3183974926937996036tmp [Pipeline] { [Pipeline] echo 06:23:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:23:53 ---> create-netrc.sh [Pipeline] } 06:23:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:23:53 ---> python-tools-install.sh [Pipeline] echo 06:23:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:23:53 ---> sudo-logs.sh 06:23:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:23:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:23:54 ---> job-cost.sh 06:23:54 lf-activate-venv: SKIPPING 06:23:54 DEBUG: total: 0.2199999988079071 06:23:54 INFO: Retrieving Stack Cost... 06:23:54 INFO: Retrieving Pricing Info for: v3-standard-8 06:23:54 INFO: Archiving Costs [Pipeline] echo 06:23:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:23:55 ---> logs-deploy.sh 06:23:55 lf-activate-venv: SKIPPING 06:23:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-32/8 06:23:55 INFO: archiving workspace using pattern(s): 06:23:56 Archives upload complete. 06:23:56 INFO: archiving logs to Nexus