Pull request #30 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 91b64afb3be730d92232b12e9c94e2c43b52d870+73afea3ace466341e80d38fe07fac6720914120d (fd024b8d319b1bd030157a6ee63addd74e561b4c) 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-ssh14483646228238798040.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-ssh3436210093851436888.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-30/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-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1973579769561255495.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-ssh16878140759583051044.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-30/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-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8406524128842234236.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 Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-16485’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16487 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-30 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 73afea3ace466341e80d38fe07fac6720914120d into PR head commit 91b64afb3be730d92232b12e9c94e2c43b52d870 Merge succeeded, producing f734813f37683fc511e70351bfb746b73d2d3bd7 Checking out Revision f734813f37683fc511e70351bfb746b73d2d3bd7 (PR-30) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91b64afb3be730d92232b12e9c94e2c43b52d870 # 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 73afea3ace466341e80d38fe07fac6720914120d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f734813f37683fc511e70351bfb746b73d2d3bd7 # timeout=10 Commit message: "Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 3f5b0aa191ad86dc0754d833877fd9d78e6c11fe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:00:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:00:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:00:08 ========================================================= 13:00:08 EdgeX Global Pipelines Version Info 13:00:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:00:09 ------------------- 13:00:09 stable info: 13:00:09 ------------------- 13:00:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:00:09 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 13:00:09 Message: update stable to v1.0.234 13:00:09 ------------------- 13:00:09 experimental info: 13:00:09 ------------------- 13:00:09 Commited By: **** collab-it+edgex@linuxfoundation.org 13:00:09 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 13:00:09 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:00:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:00:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:00:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:00:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:00:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:00:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo 13:00:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo 13:00:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo 13:00:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f734813f37683fc511e70351bfb746b73d2d3bd7 [Pipeline] echo 13:00:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f734813 [Pipeline] echo 13:00:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:00:10 provisioning config files... 13:00:10 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config922103015839646684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:00:10 ---> docker-login.sh 13:00:10 nexus3.edgexfoundry.org:10001 13:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:10 Configure a credential helper to remove this warning. See 13:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:10 13:00:10 Login Succeeded 13:00:10 nexus3.edgexfoundry.org:10002 13:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:10 Configure a credential helper to remove this warning. See 13:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:10 13:00:10 Login Succeeded 13:00:10 nexus3.edgexfoundry.org:10003 13:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:10 Configure a credential helper to remove this warning. See 13:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:10 13:00:10 Login Succeeded 13:00:10 nexus3.edgexfoundry.org:10004 13:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:11 Configure a credential helper to remove this warning. See 13:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:11 13:00:11 Login Succeeded 13:00:11 docker.io 13:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:11 Configure a credential helper to remove this warning. See 13:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:11 13:00:11 Login Succeeded 13:00:11 ---> docker-login.sh ends [Pipeline] } 13:00:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:00:12 + git rev-list -1 --merges f734813f37683fc511e70351bfb746b73d2d3bd7~1..f734813f37683fc511e70351bfb746b73d2d3bd7 [Pipeline] echo 13:00:12 -----------> git rev-list -1 --merges f734813f37683fc511e70351bfb746b73d2d3bd7~1..f734813f37683fc511e70351bfb746b73d2d3bd7 f734813f37683fc511e70351bfb746b73d2d3bd7 13:00:12 f734813f37683fc511e70351bfb746b73d2d3bd7 [false] [Pipeline] sh 13:00:12 + git log --format=format:%s -1 f734813f37683fc511e70351bfb746b73d2d3bd7 [Pipeline] echo 13:00:12 ========================================================= 13:00:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:00:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:00:12 + git log --format=format:%s -1 f734813f37683fc511e70351bfb746b73d2d3bd7 [Pipeline] echo 13:00:12 [semverPrep] GIT_COMMIT: f734813f37683fc511e70351bfb746b73d2d3bd7, Commit Message: Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD [Pipeline] echo 13:00:12 [semverPrep] This is not a build commit. [Pipeline] sh 13:00:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:00:13 + grep -v github /etc/ssh/ssh_known_hosts 13:00:13 + [ -e /tmp/ssh_known_hosts ] 13:00:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:00:13 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:00:13 sudo tee -a /etc/ssh/ssh_known_hosts 13:00:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:00:13 13:00:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:00:14 0.1.4: Pulling from edgex-devops/py-git-semver 13:00:14 42c077c10790: Pulling fs layer 13:00:14 f63e77b7563a: Pulling fs layer 13:00:14 bd5fdadae976: Pulling fs layer 13:00:14 205491f53016: Pulling fs layer 13:00:14 df18705c85c3: Pulling fs layer 13:00:14 bdb3f477010e: Pulling fs layer 13:00:14 c8a8fc8e1c8f: Pulling fs layer 13:00:14 2c6e9b1d212d: Pulling fs layer 13:00:14 bdb8f0575790: Pulling fs layer 13:00:14 386e3cb2ff24: Pulling fs layer 13:00:14 2343380bae48: Pulling fs layer 13:00:14 c8a8fc8e1c8f: Waiting 13:00:14 2c6e9b1d212d: Waiting 13:00:14 205491f53016: Waiting 13:00:14 df18705c85c3: Waiting 13:00:14 bdb3f477010e: Waiting 13:00:14 bdb8f0575790: Waiting 13:00:14 386e3cb2ff24: Waiting 13:00:14 f63e77b7563a: Verifying Checksum 13:00:14 f63e77b7563a: Download complete 13:00:14 205491f53016: Verifying Checksum 13:00:14 205491f53016: Download complete 13:00:14 df18705c85c3: Verifying Checksum 13:00:14 df18705c85c3: Download complete 13:00:14 bdb3f477010e: Verifying Checksum 13:00:14 bdb3f477010e: Download complete 13:00:14 bd5fdadae976: Verifying Checksum 13:00:14 bd5fdadae976: Download complete 13:00:14 2c6e9b1d212d: Verifying Checksum 13:00:14 2c6e9b1d212d: Download complete 13:00:14 bdb8f0575790: Verifying Checksum 13:00:14 386e3cb2ff24: Download complete 13:00:14 2343380bae48: Verifying Checksum 13:00:14 2343380bae48: Download complete 13:00:14 42c077c10790: Download complete 13:00:14 c8a8fc8e1c8f: Verifying Checksum 13:00:14 c8a8fc8e1c8f: Download complete 13:00:15 42c077c10790: Pull complete 13:00:15 f63e77b7563a: Pull complete 13:00:16 bd5fdadae976: Pull complete 13:00:16 205491f53016: Pull complete 13:00:16 df18705c85c3: Pull complete 13:00:16 bdb3f477010e: Pull complete 13:00:18 c8a8fc8e1c8f: Pull complete 13:00:18 2c6e9b1d212d: Pull complete 13:00:18 bdb8f0575790: Pull complete 13:00:18 386e3cb2ff24: Pull complete 13:00:19 2343380bae48: Pull complete 13:00:19 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 13:00:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:00:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:19 prd-ubuntu20.04-docker-8c-8g-16487 does not seem to be running inside a container 13:00:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:00:20 $ docker top fd7cf82761018497c834e567601c58d19abe38b4a2e4ef39e22a95bb11fd44de -eo pid,comm 13:00:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:00:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:00:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:00:20 [ssh-agent] Looking for ssh-agent implementation... 13:00:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:00:21 $ docker exec fd7cf82761018497c834e567601c58d19abe38b4a2e4ef39e22a95bb11fd44de ssh-agent 13:00:21 SSH_AUTH_SOCK=/tmp/ssh-HxTQc4cYRkYB/agent.33 13:00:21 SSH_AGENT_PID=39 13:00:21 Running ssh-add (command line suppressed) 13:00:21 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_4413417268157313743.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_4413417268157313743.key) 13:00:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:00:21 + git tag --points-at HEAD [Pipeline] } 13:00:21 $ docker exec --env ******** --env ******** fd7cf82761018497c834e567601c58d19abe38b4a2e4ef39e22a95bb11fd44de ssh-agent -k 13:00:21 unset SSH_AUTH_SOCK; 13:00:21 unset SSH_AGENT_PID; 13:00:21 echo Agent pid 39 killed; 13:00:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:00:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:00:21 [ssh-agent] Looking for ssh-agent implementation... 13:00:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:00:21 $ docker exec fd7cf82761018497c834e567601c58d19abe38b4a2e4ef39e22a95bb11fd44de ssh-agent 13:00:22 SSH_AUTH_SOCK=/tmp/ssh-c6VwdUIQmoDo/agent.71 13:00:22 SSH_AGENT_PID=77 13:00:22 Running ssh-add (command line suppressed) 13:00:22 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_4375349850125882665.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_4375349850125882665.key) 13:00:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:00:22 + git semver init 13:00:22 2022-06-30 13:00:22,724 [run_init] DEBUG init version:0.0.0 force:False 13:00:22 2022-06-30 13:00:22,725 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver 13:00:22 2022-06-30 13:00:22,725 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver 13:00:22 2022-06-30 13:00:22,726 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-30/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30, universal_newlines=False, shell=None, istream=None) 13:00:23 2022-06-30 13:00:23,327 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude 13:00:23 2022-06-30 13:00:23,327 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False 13:00:23 2022-06-30 13:00:23,328 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 13:00:23 2022-06-30 13:00:23,332 [execute] INFO git cat-file --batch-check 13:00:23 2022-06-30 13:00:23,332 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 13:00:23 2022-06-30 13:00:23,339 [execute] INFO git cat-file --batch 13:00:23 2022-06-30 13:00:23,340 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 13:00:23 2022-06-30 13:00:23,345 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 13:00:23 0.0.0 [Pipeline] } 13:00:23 $ docker exec --env ******** --env ******** fd7cf82761018497c834e567601c58d19abe38b4a2e4ef39e22a95bb11fd44de ssh-agent -k 13:00:23 unset SSH_AUTH_SOCK; 13:00:23 unset SSH_AGENT_PID; 13:00:23 echo Agent pid 77 killed; 13:00:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:00:24 + git semver [Pipeline] } 13:00:24 $ docker stop --time=1 fd7cf82761018497c834e567601c58d19abe38b4a2e4ef39e22a95bb11fd44de 13:00:25 $ docker rm -f fd7cf82761018497c834e567601c58d19abe38b4a2e4ef39e22a95bb11fd44de [Pipeline] // withDockerContainer [Pipeline] sh 13:00:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:00:26 Stashed 1 file(s) [Pipeline] echo 13:00:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:00:26 provisioning config files... 13:00:26 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config601107045608856302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:00:26 ---> docker-login.sh 13:00:26 nexus3.edgexfoundry.org:10001 13:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:26 Configure a credential helper to remove this warning. See 13:00:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:26 13:00:26 Login Succeeded 13:00:26 nexus3.edgexfoundry.org:10002 13:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:26 Configure a credential helper to remove this warning. See 13:00:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:26 13:00:26 Login Succeeded 13:00:26 nexus3.edgexfoundry.org:10003 13:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:26 Configure a credential helper to remove this warning. See 13:00:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:26 13:00:26 Login Succeeded 13:00:26 nexus3.edgexfoundry.org:10004 13:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:27 Configure a credential helper to remove this warning. See 13:00:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:27 13:00:27 Login Succeeded 13:00:27 docker.io 13:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:27 Configure a credential helper to remove this warning. See 13:00:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:27 13:00:27 Login Succeeded 13:00:27 ---> docker-login.sh ends [Pipeline] } 13:00:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:00:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:00:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:00:27 ========================================================= 13:00:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:00:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:27 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:00:27 Sending build context to Docker daemon 745kB 13:00:27 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:00:27 Step 2/12 : FROM ${BASE} AS builder 13:00:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:00:27 59bf1c3509f3: Pulling fs layer 13:00:27 666ba61612fd: Pulling fs layer 13:00:27 8ed8ca486205: Pulling fs layer 13:00:27 cc1cd167ecdc: Pulling fs layer 13:00:27 c516ae0d96e1: Pulling fs layer 13:00:27 684cea983483: Pulling fs layer 13:00:27 dd3240ac7de5: Pulling fs layer 13:00:27 b1e948a4e11c: Pulling fs layer 13:00:27 a8fd76ee1af6: Pulling fs layer 13:00:27 646ad004c059: Pulling fs layer 13:00:27 cc1cd167ecdc: Waiting 13:00:27 c516ae0d96e1: Waiting 13:00:27 684cea983483: Waiting 13:00:27 dd3240ac7de5: Waiting 13:00:27 b1e948a4e11c: Waiting 13:00:27 a8fd76ee1af6: Waiting 13:00:27 646ad004c059: Waiting 13:00:27 8ed8ca486205: Verifying Checksum 13:00:27 8ed8ca486205: Download complete 13:00:27 666ba61612fd: Download complete 13:00:27 c516ae0d96e1: Download complete 13:00:27 684cea983483: Download complete 13:00:28 59bf1c3509f3: Verifying Checksum 13:00:28 59bf1c3509f3: Download complete 13:00:28 dd3240ac7de5: Verifying Checksum 13:00:28 dd3240ac7de5: Download complete 13:00:28 b1e948a4e11c: Verifying Checksum 13:00:28 b1e948a4e11c: Download complete 13:00:28 59bf1c3509f3: Pull complete 13:00:28 666ba61612fd: Pull complete 13:00:28 8ed8ca486205: Pull complete 13:00:28 a8fd76ee1af6: Verifying Checksum 13:00:28 a8fd76ee1af6: Download complete 13:00:28 646ad004c059: Verifying Checksum 13:00:28 646ad004c059: Download complete 13:00:28 cc1cd167ecdc: Download complete 13:00:32 cc1cd167ecdc: Pull complete 13:00:32 c516ae0d96e1: Pull complete 13:00:33 684cea983483: Pull complete 13:00:33 dd3240ac7de5: Pull complete 13:00:33 b1e948a4e11c: Pull complete 13:00:35 a8fd76ee1af6: Pull complete 13:00:36 646ad004c059: Pull complete 13:00:36 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 13:00:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:00:36 ---> 8f69c11f6b0c 13:00:36 Step 3/12 : ARG MAKE="make build" 13:00:37 ---> Running in bd2d5d0a9072 13:00:37 Removing intermediate container bd2d5d0a9072 13:00:37 ---> 2f6e569c2003 13:00:37 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:00:37 ---> Running in 682e2203dfcf 13:00:38 Removing intermediate container 682e2203dfcf 13:00:38 ---> bc52ad9f76ee 13:00:38 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 13:00:38 ---> Running in 9036343aec02 13:00:38 Removing intermediate container 9036343aec02 13:00:38 ---> 293b0931f022 13:00:38 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:00:38 ---> Running in b5f9e638029a 13:00:38 Removing intermediate container b5f9e638029a 13:00:38 ---> ac5201a17788 13:00:38 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:00:39 ---> Running in 58919e8a42c4 13:00:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:00:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:00:40 (1/81) Installing mesa (21.2.6-r0) 13:00:40 (2/81) Installing libxau (1.0.9-r0) 13:00:40 (3/81) Installing libmd (1.0.3-r0) 13:00:40 (4/81) Installing libbsd (0.11.3-r1) 13:00:40 (5/81) Installing libxdmcp (1.1.3-r0) 13:00:40 (6/81) Installing libxcb (1.14-r2) 13:00:40 (7/81) Installing libx11 (1.7.2-r0) 13:00:40 (8/81) Installing libxext (1.3.4-r0) 13:00:40 (9/81) Installing libxfixes (6.0.0-r0) 13:00:41 (10/81) Installing libxxf86vm (1.1.4-r2) 13:00:41 (11/81) Installing libpciaccess (0.16-r0) 13:00:41 (12/81) Installing libdrm (2.4.109-r0) 13:00:41 Still waiting to schedule task 13:00:41 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16486’ is offline 13:00:41 (13/81) Installing mesa-glapi (21.2.6-r0) 13:00:41 (14/81) Installing libxshmfence (1.3-r1) 13:00:41 (15/81) Installing mesa-gl (21.2.6-r0) 13:00:41 (16/81) Installing libice (1.0.10-r0) 13:00:41 (17/81) Installing libuuid (2.37.4-r0) 13:00:42 (18/81) Installing libsm (1.2.3-r0) 13:00:42 (19/81) Installing libxt (1.2.1-r0) 13:00:42 (20/81) Installing libxmu (1.1.3-r0) 13:00:42 (21/81) Installing xset (1.2.4-r0) 13:00:42 (22/81) Installing xprop (1.2.5-r0) 13:00:42 (23/81) Installing xdg-utils (1.1.3-r0) 13:00:42 (24/81) Installing dbus-libs (1.12.20-r4) 13:00:42 (25/81) Installing libffi (3.4.2-r1) 13:00:42 (26/81) Installing libintl (0.21-r0) 13:00:42 (27/81) Installing libblkid (2.37.4-r0) 13:00:42 (28/81) Installing libmount (2.37.4-r0) 13:00:42 (29/81) Installing pcre (8.45-r1) 13:00:43 (30/81) Installing glib (2.70.1-r0) 13:00:43 (31/81) Installing icu-libs (69.1-r1) 13:00:43 (32/81) Installing libpcre2-16 (10.40-r0) 13:00:43 (33/81) Installing zstd-libs (1.5.0-r0) 13:00:44 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 13:00:45 (35/81) Installing hicolor-icon-theme (0.17-r1) 13:00:45 (36/81) Installing wayland-libs-server (1.19.0-r1) 13:00:45 (37/81) Installing mesa-gbm (21.2.6-r0) 13:00:45 (38/81) Installing wayland-libs-client (1.19.0-r1) 13:00:46 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 13:00:46 (40/81) Installing libxcomposite (0.4.5-r0) 13:00:46 (41/81) Installing libbz2 (1.0.8-r1) 13:00:46 (42/81) Installing libpng (1.6.37-r1) 13:00:46 (43/81) Installing freetype (2.11.1-r2) 13:00:46 (44/81) Installing fontconfig (2.13.1-r4) 13:00:46 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 13:00:46 (46/81) Installing wayland-libs-egl (1.19.0-r1) 13:00:46 (47/81) Installing xkeyboard-config (2.34-r0) 13:00:47 (48/81) Installing xz-libs (5.2.5-r1) 13:00:47 (49/81) Installing libxml2 (2.9.14-r0) 13:00:47 (50/81) Installing libxkbcommon (1.3.1-r0) 13:00:47 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 13:00:47 (52/81) Installing mesa-egl (21.2.6-r0) 13:00:47 (53/81) Installing avahi-libs (0.8-r5) 13:00:47 (54/81) Installing nettle (3.7.3-r0) 13:00:48 (55/81) Installing p11-kit (0.24.0-r1) 13:00:48 (56/81) Installing libtasn1 (4.18.0-r0) 13:00:48 (57/81) Installing libunistring (0.9.10-r1) 13:00:48 (58/81) Installing gnutls (3.7.1-r0) 13:00:48 (59/81) Installing cups-libs (2.3.3-r6) 13:00:48 (60/81) Installing graphite2 (1.3.14-r0) 13:00:48 (61/81) Installing harfbuzz (3.0.0-r2) 13:00:48 (62/81) Installing libevdev (1.12.0-r0) 13:00:48 (63/81) Installing mtdev (1.1.6-r0) 13:00:48 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 13:00:48 (65/81) Installing libinput-libs (1.19.4-r0) 13:00:49 (66/81) Installing libjpeg-turbo (2.1.2-r0) 13:00:49 (67/81) Installing xcb-util-wm (0.4.1-r1) 13:00:49 (68/81) Installing xcb-util (0.4.0-r3) 13:00:49 (69/81) Installing xcb-util-image (0.4.0-r1) 13:00:49 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 13:00:49 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 13:00:49 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 13:00:49 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 13:00:50 (74/81) Installing v4l-utils-libs (1.22.1-r1) 13:00:50 (75/81) Installing v4l-utils (1.22.1-r1) 13:00:50 (76/81) Installing udev-init-scripts (35-r0) 13:00:50 Executing udev-init-scripts-35-r0.post-install 13:00:50 (77/81) Installing kmod-libs (29-r2) 13:00:50 (78/81) Installing eudev (3.2.11_pre1-r0) 13:00:50 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 13:00:50 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 13:00:50 (81/81) Installing v4l-utils-dev (1.22.1-r1) 13:00:50 Executing busybox-1.34.1-r3.trigger 13:00:50 Executing eudev-3.2.11_pre1-r0.trigger 13:00:50 OK: 335 MiB in 133 packages 13:00:53 Removing intermediate container 58919e8a42c4 13:00:53 ---> cbc1a0c3e228 13:00:53 Step 8/12 : WORKDIR /device-usb-camera 13:00:53 ---> Running in 7569c9667b9e 13:00:53 Removing intermediate container 7569c9667b9e 13:00:53 ---> 9f55766216e8 13:00:53 Step 9/12 : COPY go.mod vendor* ./ 13:00:53 ---> 349726eae1a6 13:00:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:00:53 ---> Running in 665faddfe263 13:01:11 Removing intermediate container 665faddfe263 13:01:11 ---> 729110d29286 13:01:11 Step 11/12 : COPY . . 13:01:11 ---> 229d2414ab88 13:01:11 Step 12/12 : RUN ${MAKE} 13:01:11 ---> Running in d395a3b10c35 13:01:11 noop 13:01:11 Removing intermediate container d395a3b10c35 13:01:11 ---> 3146bfeeb4e9 13:01:11 Successfully built 3146bfeeb4e9 13:01:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:11 + docker inspect -f . ci-base-image-x86_64 13:01:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:12 prd-ubuntu20.04-docker-8c-8g-16487 does not seem to be running inside a container 13:01:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:01:12 $ docker top 9615965f9cd839bd756e8da71ca0e4ad45f4cbe25ed8d871f9aa092352524eba -eo pid,comm [Pipeline] { [Pipeline] sh 13:01:12 + go version 13:01:12 go version go1.17.7 linux/amd64 [Pipeline] } 13:01:12 $ docker stop --time=1 9615965f9cd839bd756e8da71ca0e4ad45f4cbe25ed8d871f9aa092352524eba 13:01:14 $ docker rm -f 9615965f9cd839bd756e8da71ca0e4ad45f4cbe25ed8d871f9aa092352524eba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:14 + docker inspect -f . ci-base-image-x86_64 13:01:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:14 prd-ubuntu20.04-docker-8c-8g-16487 does not seem to be running inside a container 13:01:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:01:15 $ docker top 7669a5781d7b89bf03f2c09e61acde582c29906137fec1b34590123417ce6aea -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:01:15 + make test 13:01:15 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 13:01:15 ? github.com/edgexfoundry/device-usb-camera [no test files] 13:01:28 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 13:01:28 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 13:01:33 CGO_ENABLED=1 go vet ./... 13:01:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:01:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:01:37 ./bin/test-attribution-txt.sh [Pipeline] echo 13:01:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:01:37 $ docker stop --time=1 7669a5781d7b89bf03f2c09e61acde582c29906137fec1b34590123417ce6aea 13:01:39 $ docker rm -f 7669a5781d7b89bf03f2c09e61acde582c29906137fec1b34590123417ce6aea [Pipeline] // withDockerContainer [Pipeline] sh 13:01:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:01:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:01:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:01:40 + ls -al . 13:01:40 total 168 13:01:40 drwxrwxr-x 10 jenkins jenkins 4096 Jun 30 13:01 . 13:01:40 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 13:00 .. 13:01:40 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 13:00 .git 13:01:40 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:00 .github 13:01:40 -rw-rw-r-- 1 jenkins jenkins 414 Jun 30 13:00 .gitignore 13:01:40 -rw-rw-r-- 1 jenkins jenkins 42 Jun 30 13:00 .golangci.yml 13:01:40 -rw-rw-r-- 1 jenkins jenkins 77 Jun 30 13:00 .hadolint.yml 13:01:40 drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 13:00 .semver 13:01:40 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 30 13:00 Attribution.txt 13:01:40 -rw-rw-r-- 1 jenkins jenkins 181 Jun 30 13:00 CHANGELOG.md 13:01:40 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 30 13:00 Dockerfile 13:01:40 -rw-rw-r-- 1 jenkins jenkins 678 Jun 30 13:00 GOVERNANCE.md 13:01:40 -rw-rw-r-- 1 jenkins jenkins 659 Jun 30 13:00 Jenkinsfile 13:01:40 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 30 13:00 LICENSE 13:01:40 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 30 13:00 Makefile 13:01:40 -rw-rw-r-- 1 jenkins jenkins 622 Jun 30 13:00 OWNERS.md 13:01:40 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 30 13:00 README.md 13:01:40 -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 13:00 VERSION 13:01:40 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:00 bin 13:01:40 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 13:00 cmd 13:01:40 -rw-r--r-- 1 jenkins jenkins 10 Jun 30 13:01 coverage.out 13:01:40 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:00 docker-compose 13:01:40 -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 13:00 docker-entrypoint.sh 13:01:40 -rw-rw-r-- 1 jenkins jenkins 3277 Jun 30 13:00 go.mod 13:01:40 -rw-rw-r-- 1 jenkins jenkins 35596 Jun 30 13:00 go.sum 13:01:40 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 13:00 internal 13:01:40 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 13:00 snap 13:01:40 -rw-rw-r-- 1 jenkins jenkins 231 Jun 30 13:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:41 + 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=f734813f37683fc511e70351bfb746b73d2d3bd7 --label arch=amd64 --label version=0.0.0 . 13:01:41 Sending build context to Docker daemon 746kB 13:01:41 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 13:01:41 Step 2/29 : FROM ${BASE} AS builder 13:01:41 ---> 3146bfeeb4e9 13:01:41 Step 3/29 : ARG MAKE="make build" 13:01:41 ---> Running in b790a9fd85ee 13:01:41 Removing intermediate container b790a9fd85ee 13:01:41 ---> eaea42e7a148 13:01:41 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:01:41 ---> Running in 3b33e9ed944c 13:01:41 Removing intermediate container 3b33e9ed944c 13:01:41 ---> 38651ecccae1 13:01:41 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 13:01:41 ---> Running in 22a481ae1f0e 13:01:41 Removing intermediate container 22a481ae1f0e 13:01:41 ---> 6b86224d0c0f 13:01:41 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:01:41 ---> Running in da293599c89f 13:01:42 Removing intermediate container da293599c89f 13:01:42 ---> cb24e72858f5 13:01:42 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:42 ---> Running in 77bb4ca2b982 13:01:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:01:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:01:43 OK: 335 MiB in 133 packages 13:01:43 Removing intermediate container 77bb4ca2b982 13:01:43 ---> ed599af9fc4c 13:01:43 Step 8/29 : WORKDIR /device-usb-camera 13:01:43 ---> Running in bf5159e8067d 13:01:43 Removing intermediate container bf5159e8067d 13:01:43 ---> 84fe95334bee 13:01:43 Step 9/29 : COPY go.mod vendor* ./ 13:01:44 ---> bcbc816f9587 13:01:44 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:44 ---> Running in 854412bafcfd 13:01:44 Removing intermediate container 854412bafcfd 13:01:44 ---> 94131188993a 13:01:44 Step 11/29 : COPY . . 13:01:45 ---> 966d6106dc46 13:01:45 Step 12/29 : RUN ${MAKE} 13:01:45 ---> Running in 19e3e65ef640 13:01:45 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 13:02:07 Removing intermediate container 19e3e65ef640 13:02:07 ---> 071440670346 13:02:07 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 13:02:07 v0.18.4: Pulling from aler9/rtsp-simple-server 13:02:07 af6660deedbd: Pulling fs layer 13:02:07 97cd0a44c592: Pulling fs layer 13:02:07 97cd0a44c592: Download complete 13:02:07 af6660deedbd: Download complete 13:02:07 af6660deedbd: Pull complete 13:02:07 97cd0a44c592: Pull complete 13:02:07 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 13:02:07 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 13:02:07 ---> fea57e182299 13:02:07 Step 14/29 : FROM alpine:3.15 13:02:07 3.15: Pulling from library/alpine 13:02:07 df9b9388f04a: Pulling fs layer 13:02:07 df9b9388f04a: Verifying Checksum 13:02:07 df9b9388f04a: Download complete 13:02:07 df9b9388f04a: Pull complete 13:02:07 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 13:02:07 Status: Downloaded newer image for alpine:3.15 13:02:07 ---> 0ac33e5f5afa 13:02:07 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 13:02:07 ---> Running in 569b628125e3 13:02:07 Removing intermediate container 569b628125e3 13:02:07 ---> 9f81ca309020 13:02:07 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 13:02:07 ---> Running in b03812e77a3d 13:02:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:02:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:02:08 (1/74) Installing dumb-init (1.2.5-r1) 13:02:08 (2/74) Installing sdl2 (2.0.16-r4) 13:02:08 (3/74) Installing libxau (1.0.9-r0) 13:02:08 (4/74) Installing libmd (1.0.3-r0) 13:02:08 (5/74) Installing libbsd (0.11.3-r1) 13:02:08 (6/74) Installing libxdmcp (1.1.3-r0) 13:02:08 (7/74) Installing libxcb (1.14-r2) 13:02:08 (8/74) Installing libx11 (1.7.2-r0) 13:02:08 (9/74) Installing aom-libs (3.2.0-r0) 13:02:08 (10/74) Installing alsa-lib (1.2.5.1-r1) 13:02:08 (11/74) Installing expat (2.4.7-r0) 13:02:08 (12/74) Installing brotli-libs (1.0.9-r5) 13:02:08 (13/74) Installing libbz2 (1.0.8-r1) 13:02:08 (14/74) Installing libpng (1.6.37-r1) 13:02:08 (15/74) Installing freetype (2.11.1-r2) 13:02:08 (16/74) Installing libuuid (2.37.4-r0) 13:02:08 (17/74) Installing fontconfig (2.13.1-r4) 13:02:08 (18/74) Installing fribidi (1.0.11-r0) 13:02:08 (19/74) Installing libffi (3.4.2-r1) 13:02:08 (20/74) Installing libintl (0.21-r0) 13:02:08 (21/74) Installing libblkid (2.37.4-r0) 13:02:08 (22/74) Installing libmount (2.37.4-r0) 13:02:08 (23/74) Installing pcre (8.45-r1) 13:02:08 (24/74) Installing glib (2.70.1-r0) 13:02:08 (25/74) Installing graphite2 (1.3.14-r0) 13:02:08 (26/74) Installing harfbuzz (3.0.0-r2) 13:02:08 (27/74) Installing libass (0.15.2-r0) 13:02:08 (28/74) Installing libdav1d (0.9.2-r0) 13:02:08 (29/74) Installing gmp (6.2.1-r1) 13:02:08 (30/74) Installing nettle (3.7.3-r0) 13:02:08 (31/74) Installing p11-kit (0.24.0-r1) 13:02:08 (32/74) Installing libtasn1 (4.18.0-r0) 13:02:08 (33/74) Installing libunistring (0.9.10-r1) 13:02:08 (34/74) Installing gnutls (3.7.1-r0) 13:02:08 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 13:02:08 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 13:02:08 (37/74) Installing lame (3.100-r0) 13:02:08 (38/74) Installing opus (1.3.1-r1) 13:02:08 (39/74) Installing libgomp (10.3.1_git20211027-r0) 13:02:08 (40/74) Installing soxr (0.1.3-r2) 13:02:08 (41/74) Installing libgcc (10.3.1_git20211027-r0) 13:02:08 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 13:02:08 (43/74) Installing libsrt (1.4.2-r1) 13:02:08 (44/74) Installing libssh (0.9.6-r1) 13:02:08 (45/74) Installing libogg (1.3.5-r0) 13:02:08 (46/74) Installing libtheora (1.1.1-r16) 13:02:08 (47/74) Installing libjpeg-turbo (2.1.2-r0) 13:02:08 (48/74) Installing v4l-utils-libs (1.22.1-r1) 13:02:08 (49/74) Installing libxext (1.3.4-r0) 13:02:08 (50/74) Installing libxfixes (6.0.0-r0) 13:02:08 (51/74) Installing libpciaccess (0.16-r0) 13:02:08 (52/74) Installing libdrm (2.4.109-r0) 13:02:08 (53/74) Installing wayland-libs-client (1.19.0-r1) 13:02:08 (54/74) Installing libva (2.13.0-r0) 13:02:08 (55/74) Installing libvdpau (1.4-r0) 13:02:08 (56/74) Installing vidstab (1.1.0-r1) 13:02:08 (57/74) Installing libvorbis (1.3.7-r0) 13:02:08 (58/74) Installing libvpx (1.10.0-r0) 13:02:09 (59/74) Installing vulkan-loader (1.2.196-r0) 13:02:09 (60/74) Installing libwebp (1.2.2-r0) 13:02:09 (61/74) Installing x264-libs (20210613-r0) 13:02:09 (62/74) Installing x265-libs (3.5-r0) 13:02:09 (63/74) Installing xvidcore (1.3.7-r1) 13:02:09 (64/74) Installing ffmpeg-libs (4.4.1-r2) 13:02:09 (65/74) Installing ffmpeg (4.4.1-r2) 13:02:09 (66/74) Installing udev-init-scripts (35-r0) 13:02:09 Executing udev-init-scripts-35-r0.post-install 13:02:09 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 13:02:09 (68/74) Installing xz-libs (5.2.5-r1) 13:02:09 (69/74) Installing zstd-libs (1.5.0-r0) 13:02:09 (70/74) Installing kmod-libs (29-r2) 13:02:09 (71/74) Installing eudev (3.2.11_pre1-r0) 13:02:09 (72/74) Installing libsodium (1.0.18-r0) 13:02:09 (73/74) Installing libzmq (4.3.4-r0) 13:02:09 (74/74) Installing zeromq (4.3.4-r0) 13:02:09 Executing busybox-1.34.1-r5.trigger 13:02:09 Executing eudev-3.2.11_pre1-r0.trigger 13:02:09 OK: 78 MiB in 88 packages 13:02:10 Removing intermediate container b03812e77a3d 13:02:10 ---> 742696fe32b0 13:02:10 Step 17/29 : WORKDIR / 13:02:10 ---> Running in 52d989a70945 13:02:10 Removing intermediate container 52d989a70945 13:02:10 ---> 55bfa0fe2154 13:02:10 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 13:02:11 ---> 189c2ae154ac 13:02:11 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 13:02:11 ---> 47cf3f64343e 13:02:11 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 13:02:11 ---> 9fd7c257b653 13:02:11 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 13:02:11 ---> bb37dae50f2b 13:02:11 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 13:02:12 ---> 4c021abc5011 13:02:12 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 13:02:12 ---> 056d41bf7267 13:02:12 Step 24/29 : EXPOSE 59983 13:02:12 ---> Running in 9dda377ce09b 13:02:12 Removing intermediate container 9dda377ce09b 13:02:12 ---> f941bf7bba45 13:02:12 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 13:02:12 ---> Running in 6080fcfaabf4 13:02:12 Removing intermediate container 6080fcfaabf4 13:02:12 ---> f6fc9c375a98 13:02:12 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 13:02:12 ---> Running in f4ced58f1c2c 13:02:13 Removing intermediate container f4ced58f1c2c 13:02:13 ---> e15f0b7fb2c4 13:02:13 Step 27/29 : LABEL arch=amd64 13:02:13 ---> Running in 00365a987e86 13:02:13 Removing intermediate container 00365a987e86 13:02:13 ---> 2c279b8fea7c 13:02:13 Step 28/29 : LABEL git_sha=f734813f37683fc511e70351bfb746b73d2d3bd7 13:02:13 ---> Running in a47e2311b17d 13:02:13 Removing intermediate container a47e2311b17d 13:02:13 ---> 3d5867bd9bea 13:02:13 Step 29/29 : LABEL version=0.0.0 13:02:13 ---> Running in 3d7c81d7c5ba 13:02:13 Removing intermediate container 3d7c81d7c5ba 13:02:13 ---> 7273bb3a8f17 13:02:13 [Warning] One or more build-args [ARCH] were not consumed 13:02:13 Successfully built 7273bb3a8f17 13:02:13 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 13:02:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:02:13 13:02:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:02:14 latest: Pulling from edgex-lftools-log-publisher 13:02:14 5eb5b503b376: Pulling fs layer 13:02:14 5c69ac0246d0: Pulling fs layer 13:02:14 ec43610c2a17: Pulling fs layer 13:02:14 3a2ae6a8a46f: Pulling fs layer 13:02:14 33b1e0a273af: Pulling fs layer 13:02:14 5d3b04190fa2: Pulling fs layer 13:02:14 2f39f015ded8: Pulling fs layer 13:02:14 3a2ae6a8a46f: Waiting 13:02:14 33b1e0a273af: Waiting 13:02:14 5d3b04190fa2: Waiting 13:02:14 2f39f015ded8: Waiting 13:02:14 5c69ac0246d0: Verifying Checksum 13:02:14 5c69ac0246d0: Download complete 13:02:14 3a2ae6a8a46f: Verifying Checksum 13:02:14 3a2ae6a8a46f: Download complete 13:02:14 33b1e0a273af: Verifying Checksum 13:02:14 33b1e0a273af: Download complete 13:02:14 5d3b04190fa2: Verifying Checksum 13:02:14 5d3b04190fa2: Download complete 13:02:14 ec43610c2a17: Verifying Checksum 13:02:14 ec43610c2a17: Download complete 13:02:14 5eb5b503b376: Verifying Checksum 13:02:14 5eb5b503b376: Download complete 13:02:14 2f39f015ded8: Download complete 13:02:15 5eb5b503b376: Pull complete 13:02:15 5c69ac0246d0: Pull complete 13:02:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16488 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws 13:02:15 Running in /w/workspace/device-usb-camera/22 [Pipeline] { [Pipeline] checkout 13:02:15 Selected Git installation does not exist. Using Default 13:02:15 The recommended git tool is: NONE 13:02:16 ec43610c2a17: Pull complete 13:02:16 3a2ae6a8a46f: Pull complete 13:02:16 33b1e0a273af: Pull complete 13:02:16 5d3b04190fa2: Pull complete 13:02:20 2f39f015ded8: Pull complete 13:02:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:02:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:02:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:20 prd-ubuntu20.04-docker-8c-8g-16487 does not seem to be running inside a container 13:02:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:02:21 using credential edgex-jenkins-ssh 13:02:21 Cloning the remote Git repository 13:02:21 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 13:02:21 > git init /w/workspace/device-usb-camera/22 # timeout=10 13:02:21 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 13:02:21 > git --version # timeout=10 13:02:21 > git --version # 'git version 2.25.1' 13:02:21 using GIT_SSH to set credentials SSH Credentials for GitHub 13:02:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:02:21 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 13:02:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:02:22 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 13:02:22 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 13:02:22 using GIT_SSH to set credentials SSH Credentials for GitHub 13:02:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:02:22 $ docker top ae916c8e53c7b3c38678828201ec2170b9e5bf2e085745b161d3e1c9970e3b06 -eo pid,comm [Pipeline] { 13:02:22 Merging remotes/origin/main commit 73afea3ace466341e80d38fe07fac6720914120d into PR head commit 91b64afb3be730d92232b12e9c94e2c43b52d870 [Pipeline] libraryResource [Pipeline] sh 13:02:22 Merge succeeded, producing 39f5e86c1cf1a42124c4efcfc624f9a8895bb525 13:02:22 Checking out Revision 39f5e86c1cf1a42124c4efcfc624f9a8895bb525 (PR-30) 13:02:23 ---> job-cost.sh 13:02:23 lf-activate-venv: SKIPPING 13:02:23 INFO: No Stack... 13:02:23 INFO: Retrieving Pricing Info for: v3-standard-8 13:02:22 > git config core.sparsecheckout # timeout=10 13:02:22 > git checkout -f 91b64afb3be730d92232b12e9c94e2c43b52d870 # timeout=10 13:02:22 > git remote # timeout=10 13:02:22 > git config --get remote.origin.url # timeout=10 13:02:22 using GIT_SSH to set credentials SSH Credentials for GitHub 13:02:22 > git merge 73afea3ace466341e80d38fe07fac6720914120d # timeout=10 13:02:22 > git rev-parse HEAD^{commit} # timeout=10 13:02:22 > git config core.sparsecheckout # timeout=10 13:02:22 > git checkout -f 39f5e86c1cf1a42124c4efcfc624f9a8895bb525 # timeout=10 13:02:23 INFO: Archiving Costs [Pipeline] sh 13:02:24 + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv 13:02:24 + cut -d, -f6 [Pipeline] lock 13:02:24 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] 13:02:24 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] did not exist. Created. 13:02:24 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:02:24 + echo total: 0.2199999988079071 [Pipeline] stash 13:02:24 Stashed 1 file(s) [Pipeline] } 13:02:24 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] [Pipeline] // lock [Pipeline] } 13:02:24 $ docker stop --time=1 ae916c8e53c7b3c38678828201ec2170b9e5bf2e085745b161d3e1c9970e3b06 13:02:25 $ docker rm -f ae916c8e53c7b3c38678828201ec2170b9e5bf2e085745b161d3e1c9970e3b06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:02:27 Commit message: "Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD" 13:02:27 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:02:27 > git rev-list --no-walk 3f5b0aa191ad86dc0754d833877fd9d78e6c11fe # timeout=10 13:02:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:02:28 % Total % Received % Xferd Average Speed Time Time Time Current 13:02:28 Dload Upload Total Spent Left Speed 13:02:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 74 12253 74 9126 0 0 68104 0 --:--:-- --:--:-- --:--:-- 68104 100 12253 100 12253 0 0 90762 0 --:--:-- --:--:-- --:--:-- 90095 [Pipeline] sh 13:02:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:02:29 + + sudosudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json 13:02:29 /etc/docker/daemon.new 13:02:29 { 13:02:29 "registry-mirrors": [ 13:02:29 "https://nexus3.edgexfoundry.org:10001" 13:02:29 ], 13:02:29 "bip": "10.250.0.254/24", 13:02:29 "hosts": [ 13:02:29 "tcp://0.0.0.0:5555", 13:02:29 "unix:///var/run/docker.sock" 13:02:29 ], 13:02:29 "mtu": 1458, 13:02:29 "selinux-enabled": true, 13:02:29 "seccomp-profile": "/etc/docker/seccomp.json" 13:02:29 } [Pipeline] sh 13:02:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:02:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:02:48 provisioning config files... 13:02:48 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/22@tmp/config5902256525332911424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:02:48 ---> docker-login.sh 13:02:48 nexus3.edgexfoundry.org:10001 13:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:02:49 Configure a credential helper to remove this warning. See 13:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:02:49 13:02:49 Login Succeeded 13:02:49 nexus3.edgexfoundry.org:10002 13:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:02:50 Configure a credential helper to remove this warning. See 13:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:02:50 13:02:50 Login Succeeded 13:02:50 nexus3.edgexfoundry.org:10003 13:02:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:02:50 Configure a credential helper to remove this warning. See 13:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:02:50 13:02:50 Login Succeeded 13:02:50 nexus3.edgexfoundry.org:10004 13:02:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:02:50 Configure a credential helper to remove this warning. See 13:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:02:50 13:02:50 Login Succeeded 13:02:50 docker.io 13:02:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:02:51 Configure a credential helper to remove this warning. See 13:02:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:02:51 13:02:51 Login Succeeded 13:02:51 ---> docker-login.sh ends [Pipeline] } 13:02:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:02:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:02:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:02:52 ========================================================= 13:02:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:02:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:52 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:02:53 Sending build context to Docker daemon 525.8kB 13:02:53 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:02:53 Step 2/12 : FROM ${BASE} AS builder 13:02:53 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:02:53 9b3977197b4f: Pulling fs layer 13:02:53 1a89e8eeedd5: Pulling fs layer 13:02:53 94645a83ff95: Pulling fs layer 13:02:53 e6fb740bc735: Pulling fs layer 13:02:53 3a77bd46dcc9: Pulling fs layer 13:02:53 355e64cbe906: Pulling fs layer 13:02:53 63ab81a10011: Pulling fs layer 13:02:53 555d1d1c4555: Pulling fs layer 13:02:53 7d9057610161: Pulling fs layer 13:02:53 355e64cbe906: Waiting 13:02:53 63ab81a10011: Waiting 13:02:53 555d1d1c4555: Waiting 13:02:53 7d9057610161: Waiting 13:02:53 3a77bd46dcc9: Waiting 13:02:53 e6fb740bc735: Waiting 13:02:53 94645a83ff95: Verifying Checksum 13:02:53 94645a83ff95: Download complete 13:02:53 1a89e8eeedd5: Verifying Checksum 13:02:53 1a89e8eeedd5: Download complete 13:02:53 3a77bd46dcc9: Verifying Checksum 13:02:53 3a77bd46dcc9: Download complete 13:02:53 355e64cbe906: Verifying Checksum 13:02:53 355e64cbe906: Download complete 13:02:53 9b3977197b4f: Download complete 13:02:53 63ab81a10011: Verifying Checksum 13:02:53 63ab81a10011: Download complete 13:02:54 9b3977197b4f: Pull complete 13:02:54 7d9057610161: Verifying Checksum 13:02:54 7d9057610161: Download complete 13:02:54 1a89e8eeedd5: Pull complete 13:02:55 94645a83ff95: Pull complete 13:02:55 555d1d1c4555: Verifying Checksum 13:02:55 555d1d1c4555: Download complete 13:02:56 e6fb740bc735: Verifying Checksum 13:02:56 e6fb740bc735: Download complete 13:03:08 e6fb740bc735: Pull complete 13:03:08 3a77bd46dcc9: Pull complete 13:03:09 355e64cbe906: Pull complete 13:03:09 63ab81a10011: Pull complete 13:03:16 555d1d1c4555: Pull complete 13:03:18 7d9057610161: Pull complete 13:03:18 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 13:03:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:03:18 ---> 819e984ddca1 13:03:18 Step 3/12 : ARG MAKE="make build" 13:03:19 ---> Running in 519ab0f05bfc 13:03:20 Removing intermediate container 519ab0f05bfc 13:03:20 ---> 7b107ea6a574 13:03:20 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:03:20 ---> Running in 53f99bd27b51 13:03:20 Removing intermediate container 53f99bd27b51 13:03:20 ---> 69860211d021 13:03:20 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 13:03:20 ---> Running in fcb1344c5f3b 13:03:20 Removing intermediate container fcb1344c5f3b 13:03:20 ---> 2823248eebd4 13:03:20 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:03:20 ---> Running in d27646bc2cad 13:03:22 Removing intermediate container d27646bc2cad 13:03:22 ---> 28a7922aad63 13:03:22 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:03:22 ---> Running in 8418983343ab 13:03:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:03:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:03:25 (1/14) Installing libintl (0.21-r0) 13:03:25 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 13:03:25 (3/14) Installing libjpeg-turbo (2.1.2-r0) 13:03:25 (4/14) Installing v4l-utils-libs (1.22.1-r1) 13:03:25 (5/14) Installing v4l-utils (1.22.1-r1) 13:03:25 (6/14) Installing udev-init-scripts (35-r0) 13:03:25 Executing udev-init-scripts-35-r0.post-install 13:03:25 (7/14) Installing libblkid (2.37.4-r0) 13:03:25 (8/14) Installing xz-libs (5.2.5-r1) 13:03:25 (9/14) Installing zstd-libs (1.5.0-r0) 13:03:25 (10/14) Installing kmod-libs (29-r2) 13:03:26 (11/14) Installing eudev (3.2.11_pre1-r0) 13:03:26 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 13:03:26 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 13:03:26 (14/14) Installing v4l-utils-dev (1.22.1-r1) 13:03:26 Executing busybox-1.34.1-r3.trigger 13:03:26 Executing eudev-3.2.11_pre1-r0.trigger 13:03:26 OK: 228 MiB in 66 packages 13:03:27 Removing intermediate container 8418983343ab 13:03:27 ---> a85283c78769 13:03:27 Step 8/12 : WORKDIR /device-usb-camera 13:03:27 ---> Running in 11b01f35d118 13:03:28 Removing intermediate container 11b01f35d118 13:03:28 ---> f844588930c1 13:03:28 Step 9/12 : COPY go.mod vendor* ./ 13:03:28 ---> dcbdc8472555 13:03:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:03:28 ---> Running in 8d7f1afecded 13:04:15 Removing intermediate container 8d7f1afecded 13:04:15 ---> 617698b0d156 13:04:15 Step 11/12 : COPY . . 13:04:15 ---> b91dcc33ad83 13:04:15 Step 12/12 : RUN ${MAKE} 13:04:15 ---> Running in f89cd048eebe 13:04:15 noop 13:04:15 Removing intermediate container f89cd048eebe 13:04:15 ---> 4ae59df8286c 13:04:15 Successfully built 4ae59df8286c 13:04:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:16 + docker inspect -f . ci-base-image-arm64 13:04:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:04:16 prd-ubuntu20.04-docker-arm64-4c-16g-16488 does not seem to be running inside a container 13:04:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/22 -v /w/workspace/device-usb-camera/22:/w/workspace/device-usb-camera/22:rw,z -v /w/workspace/device-usb-camera/22@tmp:/w/workspace/device-usb-camera/22@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 ******** -e ******** ci-base-image-arm64 cat 13:04:17 $ docker top 64626f6969e11e0f9fde8bb05558a063726c1109225e5339441a62565d53b533 -eo pid,comm [Pipeline] { [Pipeline] sh 13:04:18 + go version 13:04:18 go version go1.17.7 linux/arm64 [Pipeline] } 13:04:18 $ docker stop --time=1 64626f6969e11e0f9fde8bb05558a063726c1109225e5339441a62565d53b533 13:04:20 $ docker rm -f 64626f6969e11e0f9fde8bb05558a063726c1109225e5339441a62565d53b533 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:20 + docker inspect -f . ci-base-image-arm64 13:04:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:04:21 prd-ubuntu20.04-docker-arm64-4c-16g-16488 does not seem to be running inside a container 13:04:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/22 -v /w/workspace/device-usb-camera/22:/w/workspace/device-usb-camera/22:rw,z -v /w/workspace/device-usb-camera/22@tmp:/w/workspace/device-usb-camera/22@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 ******** -e ******** ci-base-image-arm64 cat 13:04:22 $ docker top 877751eff9a385cc1c93c9f02677cef53192d5643cb7523df28243b0d6ef1e1f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:04:23 + make test 13:04:23 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 13:04:24 ? github.com/edgexfoundry/device-usb-camera [no test files] 13:05:46 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 13:05:46 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 13:05:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:05:46 CGO_ENABLED=1 go vet ./... 13:06:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:06:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:06:13 ./bin/test-attribution-txt.sh [Pipeline] echo 13:06:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:06:14 $ docker stop --time=1 877751eff9a385cc1c93c9f02677cef53192d5643cb7523df28243b0d6ef1e1f 13:06:15 $ docker rm -f 877751eff9a385cc1c93c9f02677cef53192d5643cb7523df28243b0d6ef1e1f [Pipeline] // withDockerContainer [Pipeline] sh 13:06:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:06:16 Warning: overwriting stash ‘coverage-report’ 13:06:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:06:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:06:18 + ls -al . 13:06:18 total 164 13:06:18 drwxrwxr-x 9 jenkins jenkins 4096 Jun 30 13:06 . 13:06:18 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 13:02 .. 13:06:18 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 13:02 .git 13:06:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:02 .github 13:06:18 -rw-rw-r-- 1 jenkins jenkins 414 Jun 30 13:02 .gitignore 13:06:18 -rw-rw-r-- 1 jenkins jenkins 42 Jun 30 13:02 .golangci.yml 13:06:18 -rw-rw-r-- 1 jenkins jenkins 77 Jun 30 13:02 .hadolint.yml 13:06:18 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 30 13:02 Attribution.txt 13:06:18 -rw-rw-r-- 1 jenkins jenkins 181 Jun 30 13:02 CHANGELOG.md 13:06:18 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 30 13:02 Dockerfile 13:06:18 -rw-rw-r-- 1 jenkins jenkins 678 Jun 30 13:02 GOVERNANCE.md 13:06:18 -rw-rw-r-- 1 jenkins jenkins 659 Jun 30 13:02 Jenkinsfile 13:06:18 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 30 13:02 LICENSE 13:06:18 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 30 13:02 Makefile 13:06:18 -rw-rw-r-- 1 jenkins jenkins 622 Jun 30 13:02 OWNERS.md 13:06:18 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 30 13:02 README.md 13:06:18 -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 13:00 VERSION 13:06:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:02 bin 13:06:18 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 13:02 cmd 13:06:18 -rw-r--r-- 1 jenkins jenkins 10 Jun 30 13:04 coverage.out 13:06:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:02 docker-compose 13:06:18 -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 13:02 docker-entrypoint.sh 13:06:18 -rw-rw-r-- 1 jenkins jenkins 3277 Jun 30 13:02 go.mod 13:06:18 -rw-rw-r-- 1 jenkins jenkins 35596 Jun 30 13:02 go.sum 13:06:18 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 13:02 internal 13:06:18 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 13:02 snap 13:06:18 -rw-rw-r-- 1 jenkins jenkins 231 Jun 30 13:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:18 + 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=39f5e86c1cf1a42124c4efcfc624f9a8895bb525 --label arch=arm64 --label version=0.0.0 . 13:06:18 Sending build context to Docker daemon 526.8kB 13:06:18 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 13:06:18 Step 2/29 : FROM ${BASE} AS builder 13:06:18 ---> 4ae59df8286c 13:06:18 Step 3/29 : ARG MAKE="make build" 13:06:19 ---> Running in 16efbc16f012 13:06:19 Removing intermediate container 16efbc16f012 13:06:19 ---> 51098c4e08a8 13:06:19 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:06:19 ---> Running in 95b193e9f91f 13:06:19 Removing intermediate container 95b193e9f91f 13:06:19 ---> 876dea539b26 13:06:19 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 13:06:19 ---> Running in 5920ec24be63 13:06:19 Removing intermediate container 5920ec24be63 13:06:19 ---> f5b4a955154e 13:06:19 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:06:20 ---> Running in 5e2ada2c01fd 13:06:21 Removing intermediate container 5e2ada2c01fd 13:06:21 ---> 2e5ef42f9d87 13:06:21 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:06:21 ---> Running in 924161ca0b52 13:06:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:06:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:06:24 OK: 228 MiB in 66 packages 13:06:25 Removing intermediate container 924161ca0b52 13:06:25 ---> 5922ed5e02ef 13:06:25 Step 8/29 : WORKDIR /device-usb-camera 13:06:25 ---> Running in d901d4cd436b 13:06:25 Removing intermediate container d901d4cd436b 13:06:25 ---> 37287f69e208 13:06:25 Step 9/29 : COPY go.mod vendor* ./ 13:06:26 ---> 8533b733a977 13:06:26 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:06:26 ---> Running in f0a13b71ab17 13:06:28 Removing intermediate container f0a13b71ab17 13:06:28 ---> ac27dfaeb0df 13:06:28 Step 11/29 : COPY . . 13:06:29 ---> 4a4a54935bcc 13:06:29 Step 12/29 : RUN ${MAKE} 13:06:29 ---> Running in 13ca006eb482 13:06:30 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 13:08:37 Removing intermediate container 13ca006eb482 13:08:37 ---> daaee050fe08 13:08:37 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 13:08:37 v0.18.4: Pulling from aler9/rtsp-simple-server 13:08:37 eab2503cf8f4: Pulling fs layer 13:08:37 97cd0a44c592: Pulling fs layer 13:08:37 97cd0a44c592: Verifying Checksum 13:08:37 97cd0a44c592: Download complete 13:08:37 eab2503cf8f4: Verifying Checksum 13:08:37 eab2503cf8f4: Download complete 13:08:37 eab2503cf8f4: Pull complete 13:08:37 97cd0a44c592: Pull complete 13:08:37 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 13:08:37 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 13:08:37 ---> 7f763cca56b3 13:08:37 Step 14/29 : FROM alpine:3.15 13:08:37 3.15: Pulling from library/alpine 13:08:37 9981e73032c8: Pulling fs layer 13:08:37 9981e73032c8: Download complete 13:08:37 9981e73032c8: Pull complete 13:08:37 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 13:08:37 Status: Downloaded newer image for alpine:3.15 13:08:37 ---> 3fb3c9af89a9 13:08:37 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 13:08:37 ---> Running in b889c23c5ca8 13:08:37 Removing intermediate container b889c23c5ca8 13:08:37 ---> 1328fff3fc12 13:08:37 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 13:08:37 ---> Running in c919c92bcddf 13:08:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:08:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:08:37 (1/73) Installing dumb-init (1.2.5-r1) 13:08:37 (2/73) Installing sdl2 (2.0.16-r4) 13:08:37 (3/73) Installing libxau (1.0.9-r0) 13:08:37 (4/73) Installing libmd (1.0.3-r0) 13:08:37 (5/73) Installing libbsd (0.11.3-r1) 13:08:37 (6/73) Installing libxdmcp (1.1.3-r0) 13:08:37 (7/73) Installing libxcb (1.14-r2) 13:08:37 (8/73) Installing libx11 (1.7.2-r0) 13:08:37 (9/73) Installing aom-libs (3.2.0-r0) 13:08:37 (10/73) Installing alsa-lib (1.2.5.1-r1) 13:08:37 (11/73) Installing expat (2.4.7-r0) 13:08:37 (12/73) Installing brotli-libs (1.0.9-r5) 13:08:37 (13/73) Installing libbz2 (1.0.8-r1) 13:08:37 (14/73) Installing libpng (1.6.37-r1) 13:08:37 (15/73) Installing freetype (2.11.1-r2) 13:08:37 (16/73) Installing libuuid (2.37.4-r0) 13:08:37 (17/73) Installing fontconfig (2.13.1-r4) 13:08:37 (18/73) Installing fribidi (1.0.11-r0) 13:08:37 (19/73) Installing libffi (3.4.2-r1) 13:08:37 (20/73) Installing libintl (0.21-r0) 13:08:37 (21/73) Installing libblkid (2.37.4-r0) 13:08:37 (22/73) Installing libmount (2.37.4-r0) 13:08:37 (23/73) Installing pcre (8.45-r1) 13:08:37 (24/73) Installing glib (2.70.1-r0) 13:08:37 (25/73) Installing graphite2 (1.3.14-r0) 13:08:37 (26/73) Installing harfbuzz (3.0.0-r2) 13:08:37 (27/73) Installing libass (0.15.2-r0) 13:08:37 (28/73) Installing libdav1d (0.9.2-r0) 13:08:37 (29/73) Installing gmp (6.2.1-r1) 13:08:37 (30/73) Installing nettle (3.7.3-r0) 13:08:37 (31/73) Installing p11-kit (0.24.0-r1) 13:08:37 (32/73) Installing libtasn1 (4.18.0-r0) 13:08:37 (33/73) Installing libunistring (0.9.10-r1) 13:08:37 (34/73) Installing gnutls (3.7.1-r0) 13:08:37 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 13:08:37 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 13:08:37 (37/73) Installing lame (3.100-r0) 13:08:37 (38/73) Installing opus (1.3.1-r1) 13:08:37 (39/73) Installing libgomp (10.3.1_git20211027-r0) 13:08:37 (40/73) Installing soxr (0.1.3-r2) 13:08:37 (41/73) Installing libgcc (10.3.1_git20211027-r0) 13:08:37 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 13:08:38 (43/73) Installing libsrt (1.4.2-r1) 13:08:38 (44/73) Installing libssh (0.9.6-r1) 13:08:38 (45/73) Installing libogg (1.3.5-r0) 13:08:38 (46/73) Installing libtheora (1.1.1-r16) 13:08:38 (47/73) Installing libjpeg-turbo (2.1.2-r0) 13:08:38 (48/73) Installing v4l-utils-libs (1.22.1-r1) 13:08:38 (49/73) Installing libxext (1.3.4-r0) 13:08:38 (50/73) Installing libxfixes (6.0.0-r0) 13:08:38 (51/73) Installing libdrm (2.4.109-r0) 13:08:38 (52/73) Installing wayland-libs-client (1.19.0-r1) 13:08:38 (53/73) Installing libva (2.13.0-r0) 13:08:38 (54/73) Installing libvdpau (1.4-r0) 13:08:38 (55/73) Installing vidstab (1.1.0-r1) 13:08:38 (56/73) Installing libvorbis (1.3.7-r0) 13:08:38 (57/73) Installing libvpx (1.10.0-r0) 13:08:38 (58/73) Installing vulkan-loader (1.2.196-r0) 13:08:38 (59/73) Installing libwebp (1.2.2-r0) 13:08:38 (60/73) Installing x264-libs (20210613-r0) 13:08:38 (61/73) Installing x265-libs (3.5-r0) 13:08:38 (62/73) Installing xvidcore (1.3.7-r1) 13:08:38 (63/73) Installing ffmpeg-libs (4.4.1-r2) 13:08:38 (64/73) Installing ffmpeg (4.4.1-r2) 13:08:38 (65/73) Installing udev-init-scripts (35-r0) 13:08:38 Executing udev-init-scripts-35-r0.post-install 13:08:38 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 13:08:38 (67/73) Installing xz-libs (5.2.5-r1) 13:08:38 (68/73) Installing zstd-libs (1.5.0-r0) 13:08:38 (69/73) Installing kmod-libs (29-r2) 13:08:38 (70/73) Installing eudev (3.2.11_pre1-r0) 13:08:38 (71/73) Installing libsodium (1.0.18-r0) 13:08:38 (72/73) Installing libzmq (4.3.4-r0) 13:08:39 (73/73) Installing zeromq (4.3.4-r0) 13:08:39 Executing busybox-1.34.1-r5.trigger 13:08:39 Executing eudev-3.2.11_pre1-r0.trigger 13:08:39 OK: 67 MiB in 87 packages 13:08:42 Removing intermediate container c919c92bcddf 13:08:42 ---> d9fcc3c4b446 13:08:42 Step 17/29 : WORKDIR / 13:08:42 ---> Running in 5bc6283b15cb 13:08:42 Removing intermediate container 5bc6283b15cb 13:08:42 ---> 8c28a0fa1576 13:08:42 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 13:08:43 ---> 52ab2ed6db9d 13:08:43 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 13:08:44 ---> 43f2a9c58088 13:08:44 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 13:08:44 ---> b5b2e9a4b108 13:08:44 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 13:08:45 ---> 947eb585ad12 13:08:45 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 13:08:46 ---> 1fe84225f8d9 13:08:46 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 13:08:47 ---> 20e462d0ff12 13:08:47 Step 24/29 : EXPOSE 59983 13:08:47 ---> Running in f8cbd15610da 13:08:47 Removing intermediate container f8cbd15610da 13:08:47 ---> 6ff624a5fed0 13:08:47 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 13:08:47 ---> Running in 3dfe8ab5a221 13:08:48 Removing intermediate container 3dfe8ab5a221 13:08:48 ---> 4edc0d540a85 13:08:48 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 13:08:48 ---> Running in 7e3864fbeefd 13:08:48 Removing intermediate container 7e3864fbeefd 13:08:48 ---> 3f195c5c2b2e 13:08:48 Step 27/29 : LABEL arch=arm64 13:08:48 ---> Running in 733288f531a7 13:08:48 Removing intermediate container 733288f531a7 13:08:48 ---> 4ec512ba5ab0 13:08:48 Step 28/29 : LABEL git_sha=39f5e86c1cf1a42124c4efcfc624f9a8895bb525 13:08:48 ---> Running in 0bf5ff08d736 13:08:49 Removing intermediate container 0bf5ff08d736 13:08:49 ---> 71b74cc73c2e 13:08:49 Step 29/29 : LABEL version=0.0.0 13:08:49 ---> Running in cb3dc2a96c9f 13:08:49 Removing intermediate container cb3dc2a96c9f 13:08:49 ---> d3f24851261a 13:08:49 [Warning] One or more build-args [ARCH] were not consumed 13:08:49 Successfully built d3f24851261a 13:08:49 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 13:08:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:08:49 13:08:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:08:50 arm64: Pulling from edgex-lftools-log-publisher 13:08:50 8998bd30e6a1: Pulling fs layer 13:08:50 04944245beec: Pulling fs layer 13:08:50 699f458cf7ca: Pulling fs layer 13:08:50 765212b225bb: Pulling fs layer 13:08:50 f23df028b6ca: Pulling fs layer 13:08:50 d65c8cfc05b1: Pulling fs layer 13:08:50 2437ff75d9bd: Pulling fs layer 13:08:50 f23df028b6ca: Waiting 13:08:50 d65c8cfc05b1: Waiting 13:08:50 765212b225bb: Waiting 13:08:50 2437ff75d9bd: Waiting 13:08:50 04944245beec: Download complete 13:08:50 765212b225bb: Verifying Checksum 13:08:50 765212b225bb: Download complete 13:08:50 f23df028b6ca: Download complete 13:08:50 d65c8cfc05b1: Verifying Checksum 13:08:50 d65c8cfc05b1: Download complete 13:08:50 699f458cf7ca: Verifying Checksum 13:08:50 699f458cf7ca: Download complete 13:08:51 8998bd30e6a1: Verifying Checksum 13:08:51 8998bd30e6a1: Download complete 13:08:53 2437ff75d9bd: Verifying Checksum 13:08:53 2437ff75d9bd: Download complete 13:08:55 8998bd30e6a1: Pull complete 13:08:55 04944245beec: Pull complete 13:08:57 699f458cf7ca: Pull complete 13:08:57 765212b225bb: Pull complete 13:08:58 f23df028b6ca: Pull complete 13:08:58 d65c8cfc05b1: Pull complete 13:09:14 2437ff75d9bd: Pull complete 13:09:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:09:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:09:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:09:14 prd-ubuntu20.04-docker-arm64-4c-16g-16488 does not seem to be running inside a container 13:09:14 $ 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/22 -v /w/workspace/device-usb-camera/22:/w/workspace/device-usb-camera/22:rw,z -v /w/workspace/device-usb-camera/22@tmp:/w/workspace/device-usb-camera/22@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:09:16 $ docker top 9817c79d927d353a69511bd3af99abe84ab3e0f81d181882bc1a4b9c46c17809 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:09:17 ---> job-cost.sh 13:09:17 lf-activate-venv: SKIPPING 13:09:17 INFO: No Stack... 13:09:18 INFO: Retrieving Pricing Info for: v3-standard-4 13:09:19 INFO: Archiving Costs [Pipeline] sh 13:09:19 + cat /w/workspace/device-usb-camera/22/archives/cost.csv 13:09:19 + cut -d, -f6 [Pipeline] lock 13:09:19 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] 13:09:19 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] did not exist. Created. 13:09:19 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:09:20 /w/workspace/device-usb-camera/22@tmp/durable-59482898/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:09:21 + echo total: 0.10999999940395355 [Pipeline] stash 13:09:21 Warning: overwriting stash ‘stack-cost’ 13:09:21 Stashed 1 file(s) [Pipeline] } 13:09:21 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-22-stack-cost] [Pipeline] // lock [Pipeline] } 13:09:21 $ docker stop --time=1 9817c79d927d353a69511bd3af99abe84ab3e0f81d181882bc1a4b9c46c17809 13:09:22 $ docker rm -f 9817c79d927d353a69511bd3af99abe84ab3e0f81d181882bc1a4b9c46c17809 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:09:23 provisioning config files... 13:09:23 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config7083152518890033781tmp [Pipeline] { [Pipeline] sh 13:09:23 + set +x 13:09:23 + curl -s https://codecov.io/bash 13:09:23 + bash -s -- 13:09:23 13:09:23 _____ _ 13:09:23 / ____| | | 13:09:23 | | ___ __| | ___ ___ _____ __ 13:09:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:09:23 | |___| (_) | (_| | __/ (_| (_) \ V / 13:09:23 \_____\___/ \__,_|\___|\___\___/ \_/ 13:09:23 Bash-1.0.6 13:09:23 13:09:23 13:09:23 ==> git version 2.25.1 found 13:09:23 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:09:23 Release-Date: 2020-01-08 13:09:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:09:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:09:23 ==> Jenkins CI detected. 13:09:23 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 13:09:23 project root: . 13:09:23 --> token set from env 13:09:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:09:23 ==> Running gcov in . (disable via -X gcov) 13:09:23 ==> Python coveragepy not found 13:09:23 ==> Searching for coverage reports in: 13:09:23 + . 13:09:23 -> Found 1 reports 13:09:23 ==> Detecting git/mercurial file structure 13:09:23 ==> Reading reports 13:09:23 + ./coverage.out bytes=10 13:09:23 ==> Appending adjustments 13:09:23 https://docs.codecov.io/docs/fixing-reports 13:09:23 + Found adjustments 13:09:23 ==> Gzipping contents 13:09:23 4.0K /tmp/codecov.wE9vMQ.gz 13:09:23 ==> Uploading reports 13:09:23 url: https://codecov.io 13:09:23 query: branch=PR-30&commit=f734813f37683fc511e70351bfb746b73d2d3bd7&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 13:09:23 -> Pinging Codecov 13:09:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-30&commit=f734813f37683fc511e70351bfb746b73d2d3bd7&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 13:09:24 -> Uploading to 13:09:24 https://storage.googleapis.com/codecov/v4/raw/2022-06-30/73D8F5FF140700D3E01443B452E23636/f734813f37683fc511e70351bfb746b73d2d3bd7/4a1ab71a-4c04-490a-a9a7-89d0a31e18c1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220630T130923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f95e692e951f592ca1fe11e73e79dbdc95f5d1cd2ba910c4472a866d6ac953d0 13:09:24 % Total % Received % Xferd Average Speed Time Time Time Current 13:09:24 Dload Upload Total Spent Left Speed 13:09:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1215 0 0 100 1215 0 5237 --:--:-- --:--:-- --:--:-- 5237 13:09:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/f734813f37683fc511e70351bfb746b73d2d3bd7 [Pipeline] } 13:09:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:09:24 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] 13:09:24 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 13:09:24 total 16 13:09:24 drwxr-xr-x 3 root root 4096 Jun 30 13:02 . 13:09:24 drwxrwxr-x 11 jenkins jenkins 4096 Jun 30 13:02 .. 13:09:24 drwxr-xr-x 2 root root 4096 Jun 30 13:02 cost 13:09:24 -rw-r--r-- 1 root root 88 Jun 30 13:02 cost.csv 13:09:24 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives 13:09:24 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 13:09:24 total 16 13:09:24 drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 13:02 . 13:09:24 drwxrwxr-x 11 jenkins jenkins 4096 Jun 30 13:02 .. 13:09:24 drwxr-xr-x 2 jenkins jenkins 4096 Jun 30 13:02 cost 13:09:24 -rw-r--r-- 1 jenkins jenkins 88 Jun 30 13:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:09:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:09:26 ---> package-listing.sh 13:09:26 ++ facter osfamily 13:09:26 ++ tr '[:upper:]' '[:lower:]' 13:09:26 + OS_FAMILY=debian 13:09:26 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 13:09:26 + START_PACKAGES=/tmp/packages_start.txt 13:09:26 + END_PACKAGES=/tmp/packages_end.txt 13:09:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:09:26 + PACKAGES=/tmp/packages_start.txt 13:09:26 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 13:09:26 + PACKAGES=/tmp/packages_end.txt 13:09:26 + case "${OS_FAMILY}" in 13:09:26 + dpkg -l 13:09:26 + grep '^ii' 13:09:26 + '[' -f /tmp/packages_start.txt ']' 13:09:26 + '[' -f /tmp/packages_end.txt ']' 13:09:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:09:26 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 13:09:26 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ 13:09:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [Pipeline] echo 13:09:26 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:09:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:09:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:09:27 prd-ubuntu20.04-docker-8c-8g-16487 does not seem to be running inside a container 13:09:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:09:27 $ docker top 059343983f743c03c248e95e97f6e97da987e31b2e875690d33eb1e6f85bf1da -eo pid,comm [Pipeline] { [Pipeline] sh 13:09:27 + touch /tmp/pre-build-complete [Pipeline] sh 13:09:28 + mkdir -p /var/log/sysstat [Pipeline] sh 13:09:28 + ls /var/log/sa-host 13:09:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:09:28 provisioning config files... 13:09:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config519287511495662697tmp [Pipeline] { [Pipeline] echo 13:09:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:09:28 ---> create-netrc.sh [Pipeline] } 13:09:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:09:29 ---> python-tools-install.sh [Pipeline] echo 13:09:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:09:29 ---> sudo-logs.sh 13:09:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:09:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:09:29 ---> job-cost.sh 13:09:29 lf-activate-venv: SKIPPING 13:09:29 DEBUG: total: 0.2199999988079071 13:09:29 INFO: Retrieving Stack Cost... 13:09:30 INFO: Retrieving Pricing Info for: v3-standard-8 13:09:30 INFO: Archiving Costs [Pipeline] echo 13:09:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:09:31 ---> logs-deploy.sh 13:09:31 lf-activate-venv: SKIPPING 13:09:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/22 13:09:31 INFO: archiving workspace using pattern(s): 13:09:31 Archives upload complete. 13:09:31 INFO: archiving logs to Nexus