farshidtz commented: recheck 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 ad872d58df3e42e609e78190bb2c636d48fd5728+f6f81cc8667d3bc8f839c8865208334794a1ef34 (d7ad21426fef646f8ce3c64bee5ff167a15c9473) 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-ssh12924135516665897369.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh12883059455685408492.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-50/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-50/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5781868505610029233.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh7799737551881095433.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-50/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-50/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh278442853500192024.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.18 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20508 in /w/workspace/xfoundry_device-usb-camera_PR-50 [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-50 # 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 f6f81cc8667d3bc8f839c8865208334794a1ef34 into PR head commit ad872d58df3e42e609e78190bb2c636d48fd5728 Merge succeeded, producing 672c9f6342a87989dbbc01aa36211590301fe711 Checking out Revision 672c9f6342a87989dbbc01aa36211590301fe711 (PR-50) > 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/50/head:refs/remotes/origin/PR-50 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad872d58df3e42e609e78190bb2c636d48fd5728 # 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 f6f81cc8667d3bc8f839c8865208334794a1ef34 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 672c9f6342a87989dbbc01aa36211590301fe711 # timeout=10 Commit message: "Merge commit 'f6f81cc8667d3bc8f839c8865208334794a1ef34' into HEAD" > git rev-list --no-walk ad872d58df3e42e609e78190bb2c636d48fd5728 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:35:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:35:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:35:09 ========================================================= 18:35:09 EdgeX Global Pipelines Version Info 18:35:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:35:10 ------------------- 18:35:10 stable info: 18:35:10 ------------------- 18:35:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:35:10 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 18:35:10 Message: update stable to v1.0.238 18:35:11 ------------------- 18:35:11 experimental info: 18:35:11 ------------------- 18:35:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:35:11 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 18:35:11 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-50 [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-50 [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-50 [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 672c9f6342a87989dbbc01aa36211590301fe711 [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 672c9f6 [Pipeline] echo 18:35:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:35:11 provisioning config files... 18:35:11 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/config6339783365680959345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:12 ---> docker-login.sh 18:35:12 nexus3.edgexfoundry.org:10001 18:35:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:13 Configure a credential helper to remove this warning. See 18:35:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:13 18:35:13 Login Succeeded 18:35:13 nexus3.edgexfoundry.org:10002 18:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:13 Configure a credential helper to remove this warning. See 18:35:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:13 18:35:13 Login Succeeded 18:35:13 nexus3.edgexfoundry.org:10003 18:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:13 Configure a credential helper to remove this warning. See 18:35:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:13 18:35:13 Login Succeeded 18:35:13 nexus3.edgexfoundry.org:10004 18:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:13 Configure a credential helper to remove this warning. See 18:35:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:13 18:35:13 Login Succeeded 18:35:13 docker.io 18:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:14 Configure a credential helper to remove this warning. See 18:35:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:14 18:35:14 Login Succeeded 18:35:14 ---> docker-login.sh ends [Pipeline] } 18:35:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:35:14 + git rev-list -1 --merges 672c9f6342a87989dbbc01aa36211590301fe711~1..672c9f6342a87989dbbc01aa36211590301fe711 [Pipeline] echo 18:35:14 -----------> git rev-list -1 --merges 672c9f6342a87989dbbc01aa36211590301fe711~1..672c9f6342a87989dbbc01aa36211590301fe711 672c9f6342a87989dbbc01aa36211590301fe711 18:35:14 672c9f6342a87989dbbc01aa36211590301fe711 [false] [Pipeline] sh 18:35:15 + git log --format=format:%s -1 672c9f6342a87989dbbc01aa36211590301fe711 [Pipeline] echo 18:35:15 ========================================================= 18:35:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:35:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:35:15 + git log --format=format:%s -1 672c9f6342a87989dbbc01aa36211590301fe711 [Pipeline] echo 18:35:15 [semverPrep] GIT_COMMIT: 672c9f6342a87989dbbc01aa36211590301fe711, Commit Message: Merge commit 'f6f81cc8667d3bc8f839c8865208334794a1ef34' into HEAD [Pipeline] echo 18:35:15 [semverPrep] This is not a build commit. [Pipeline] sh 18:35:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:35:15 + grep -v github /etc/ssh/ssh_known_hosts 18:35:15 + [ -e /tmp/ssh_known_hosts ] 18:35:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:35:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:35:15 + sudo tee -a /etc/ssh/ssh_known_hosts 18:35:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:35:16 18:35:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:35:16 0.1.4: Pulling from edgex-devops/py-git-semver 18:35:16 b85a868b505f: Pulling fs layer 18:35:16 e2be974225ed: Pulling fs layer 18:35:16 339a4e72a1f5: Pulling fs layer 18:35:16 988bab9f4d93: Pulling fs layer 18:35:16 1469e6f7b9e6: Pulling fs layer 18:35:16 eaf3925da568: Pulling fs layer 18:35:16 bab4dde63d76: Pulling fs layer 18:35:16 988bab9f4d93: Waiting 18:35:16 eaf3925da568: Waiting 18:35:16 bde34c3a00c8: Pulling fs layer 18:35:16 1469e6f7b9e6: Waiting 18:35:16 bab4dde63d76: Waiting 18:35:16 b352a97aabf1: Pulling fs layer 18:35:16 bde34c3a00c8: Waiting 18:35:16 4872d77fe225: Pulling fs layer 18:35:16 b352a97aabf1: Waiting 18:35:16 5851b861e8e6: Pulling fs layer 18:35:16 4872d77fe225: Waiting 18:35:16 e2be974225ed: Download complete 18:35:16 1469e6f7b9e6: Verifying Checksum 18:35:16 1469e6f7b9e6: Download complete 18:35:16 339a4e72a1f5: Verifying Checksum 18:35:16 339a4e72a1f5: Download complete 18:35:16 eaf3925da568: Verifying Checksum 18:35:16 eaf3925da568: Download complete 18:35:16 bde34c3a00c8: Verifying Checksum 18:35:16 b352a97aabf1: Download complete 18:35:16 4872d77fe225: Verifying Checksum 18:35:16 4872d77fe225: Download complete 18:35:16 5851b861e8e6: Download complete 18:35:16 b85a868b505f: Verifying Checksum 18:35:16 b85a868b505f: Download complete 18:35:17 bab4dde63d76: Verifying Checksum 18:35:17 bab4dde63d76: Download complete 18:35:18 b85a868b505f: Pull complete 18:35:18 e2be974225ed: Pull complete 18:35:19 339a4e72a1f5: Pull complete 18:35:19 988bab9f4d93: Pull complete 18:35:19 1469e6f7b9e6: Pull complete 18:35:19 eaf3925da568: Pull complete 18:35:21 bab4dde63d76: Pull complete 18:35:21 bde34c3a00c8: Pull complete 18:35:21 b352a97aabf1: Pull complete 18:35:21 4872d77fe225: Pull complete 18:35:21 5851b861e8e6: Pull complete 18:35:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:35:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:35:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:35:21 prd-ubuntu20.04-docker-8c-8g-20508 does not seem to be running inside a container 18:35:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-50 -v /w/workspace/xfoundry_device-usb-camera_PR-50:/w/workspace/xfoundry_device-usb-camera_PR-50:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-50@tmp:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:35:23 $ docker top 70926190df62fca06d20afbb5b585b892f3dea71d83ce129706055af4e8bcd92 -eo pid,comm 18:35:23 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). 18:35:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:35:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:35:23 [ssh-agent] Looking for ssh-agent implementation... 18:35:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:35:23 $ docker exec 70926190df62fca06d20afbb5b585b892f3dea71d83ce129706055af4e8bcd92 ssh-agent 18:35:23 SSH_AUTH_SOCK=/tmp/ssh-n32kOm0n0KhQ/agent.34 18:35:23 SSH_AGENT_PID=40 18:35:23 Running ssh-add (command line suppressed) 18:35:23 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-50@tmp/private_key_961495466493203084.key (/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/private_key_961495466493203084.key) 18:35:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:35:24 + git tag --points-at HEAD [Pipeline] } 18:35:24 $ docker exec --env ******** --env ******** 70926190df62fca06d20afbb5b585b892f3dea71d83ce129706055af4e8bcd92 ssh-agent -k 18:35:24 unset SSH_AUTH_SOCK; 18:35:24 unset SSH_AGENT_PID; 18:35:24 echo Agent pid 40 killed; 18:35:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:35:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:35:24 [ssh-agent] Looking for ssh-agent implementation... 18:35:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:35:24 $ docker exec 70926190df62fca06d20afbb5b585b892f3dea71d83ce129706055af4e8bcd92 ssh-agent 18:35:24 SSH_AUTH_SOCK=/tmp/ssh-HlGpQPXQ9xLh/agent.72 18:35:24 SSH_AGENT_PID=78 18:35:24 Running ssh-add (command line suppressed) 18:35:24 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-50@tmp/private_key_4350112046627408242.key (/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/private_key_4350112046627408242.key) 18:35:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:35:25 + git semver init 18:35:25 2022-07-19 18:35:25,429 [run_init] DEBUG init version:0.0.0 force:False 18:35:25 2022-07-19 18:35:25,430 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-50/.semver 18:35:25 2022-07-19 18:35:25,430 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-50/.semver 18:35:25 2022-07-19 18:35:25,430 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-50/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-50, universal_newlines=False, shell=None, istream=None) 18:35:26 2022-07-19 18:35:25,958 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-50/.git/info/exclude 18:35:26 2022-07-19 18:35:25,959 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-50/.semver/PR-50 with force:False 18:35:26 2022-07-19 18:35:25,959 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-50/.semver/PR-50 18:35:26 2022-07-19 18:35:25,963 [execute] INFO git cat-file --batch-check 18:35:26 2022-07-19 18:35:25,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-50/.semver, universal_newlines=False, shell=None, istream=) 18:35:26 2022-07-19 18:35:25,972 [execute] INFO git cat-file --batch 18:35:26 2022-07-19 18:35:25,972 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-50/.semver, universal_newlines=False, shell=None, istream=) 18:35:26 2022-07-19 18:35:25,979 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-50/.semver/PR-50 18:35:26 0.0.0 [Pipeline] } 18:35:26 $ docker exec --env ******** --env ******** 70926190df62fca06d20afbb5b585b892f3dea71d83ce129706055af4e8bcd92 ssh-agent -k 18:35:26 unset SSH_AUTH_SOCK; 18:35:26 unset SSH_AGENT_PID; 18:35:26 echo Agent pid 78 killed; 18:35:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:35:26 + git semver [Pipeline] } 18:35:26 $ docker stop --time=1 70926190df62fca06d20afbb5b585b892f3dea71d83ce129706055af4e8bcd92 18:35:28 $ docker rm -f 70926190df62fca06d20afbb5b585b892f3dea71d83ce129706055af4e8bcd92 [Pipeline] // withDockerContainer [Pipeline] sh 18:35:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:35:28 Stashed 1 file(s) [Pipeline] echo 18:35:28 [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 18:35:28 provisioning config files... 18:35:28 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/config4558255830350204306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:29 ---> docker-login.sh 18:35:29 nexus3.edgexfoundry.org:10001 18:35:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:29 Configure a credential helper to remove this warning. See 18:35:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:29 18:35:29 Login Succeeded 18:35:29 nexus3.edgexfoundry.org:10002 18:35:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:29 Configure a credential helper to remove this warning. See 18:35:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:29 18:35:29 Login Succeeded 18:35:29 nexus3.edgexfoundry.org:10003 18:35:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:29 Configure a credential helper to remove this warning. See 18:35:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:29 18:35:29 Login Succeeded 18:35:29 nexus3.edgexfoundry.org:10004 18:35:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:29 Configure a credential helper to remove this warning. See 18:35:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:29 18:35:29 Login Succeeded 18:35:29 docker.io 18:35:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:29 Configure a credential helper to remove this warning. See 18:35:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:29 18:35:29 Login Succeeded 18:35:29 ---> docker-login.sh ends [Pipeline] } 18:35:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:35:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:35:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:35:30 ========================================================= 18:35:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:35:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:30 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:35:30 Sending build context to Docker daemon 737.8kB 18:35:30 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:35:30 Step 2/12 : FROM ${BASE} AS builder 18:35:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:35:30 2408cc74d12b: Pulling fs layer 18:35:30 ea60b727a1ce: Pulling fs layer 18:35:30 30c4a7721957: Pulling fs layer 18:35:30 370296b7ddb6: Pulling fs layer 18:35:30 7c6cee850709: Pulling fs layer 18:35:30 39a5fcdaea64: Pulling fs layer 18:35:30 d94ebbe4e438: Pulling fs layer 18:35:30 bcfd1f05c69d: Pulling fs layer 18:35:30 59ccb84bbe0f: Pulling fs layer 18:35:30 370296b7ddb6: Waiting 18:35:30 7c6cee850709: Waiting 18:35:30 bcfd1f05c69d: Waiting 18:35:30 39a5fcdaea64: Waiting 18:35:30 d94ebbe4e438: Waiting 18:35:30 59ccb84bbe0f: Waiting 18:35:30 30c4a7721957: Verifying Checksum 18:35:30 30c4a7721957: Download complete 18:35:30 ea60b727a1ce: Verifying Checksum 18:35:30 ea60b727a1ce: Download complete 18:35:30 7c6cee850709: Verifying Checksum 18:35:30 7c6cee850709: Download complete 18:35:30 39a5fcdaea64: Verifying Checksum 18:35:30 39a5fcdaea64: Download complete 18:35:30 2408cc74d12b: Verifying Checksum 18:35:30 2408cc74d12b: Pull complete 18:35:30 ea60b727a1ce: Pull complete 18:35:30 30c4a7721957: Pull complete 18:35:31 59ccb84bbe0f: Download complete 18:35:31 370296b7ddb6: Download complete 18:35:31 bcfd1f05c69d: Verifying Checksum 18:35:31 bcfd1f05c69d: Download complete 18:35:35 370296b7ddb6: Pull complete 18:35:35 7c6cee850709: Pull complete 18:35:35 39a5fcdaea64: Pull complete 18:35:35 d94ebbe4e438: Pull complete 18:35:38 bcfd1f05c69d: Pull complete 18:35:39 59ccb84bbe0f: Pull complete 18:35:39 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 18:35:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:35:39 ---> a4fb48ad2a94 18:35:39 Step 3/12 : ARG MAKE="make build" 18:35:40 ---> Running in d0c0a4e42dfc 18:35:40 Removing intermediate container d0c0a4e42dfc 18:35:40 ---> 3d396f83d49b 18:35:40 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:35:40 ---> Running in b641c23b2855 18:35:40 Removing intermediate container b641c23b2855 18:35:40 ---> 2e4da78ab7cf 18:35:40 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:35:40 ---> Running in 44e46b93f341 18:35:41 Removing intermediate container 44e46b93f341 18:35:41 ---> 09c6c7d47079 18:35:41 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:35:41 ---> Running in f0aef2ff7682 18:35:41 Removing intermediate container f0aef2ff7682 18:35:41 ---> f3277b51d375 18:35:41 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:35:41 ---> Running in 6b1e8d4751fe 18:35:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:35:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:35:43 (1/80) Installing mesa (21.3.8-r1) 18:35:43 (2/80) Installing libxau (1.0.9-r0) 18:35:43 (3/80) Installing libxdmcp (1.1.3-r0) 18:35:43 (4/80) Installing libxcb (1.15-r0) 18:35:43 (5/80) Installing libx11 (1.8-r0) 18:35:43 (6/80) Installing libxext (1.3.4-r0) 18:35:43 (7/80) Installing libxfixes (6.0.0-r0) 18:35:43 (8/80) Installing libxxf86vm (1.1.4-r2) 18:35:43 Still waiting to schedule task 18:35:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:35:44 (9/80) Installing libpciaccess (0.16-r0) 18:35:44 (10/80) Installing libdrm (2.4.110-r0) 18:35:44 (11/80) Installing mesa-glapi (21.3.8-r1) 18:35:44 (12/80) Installing libxshmfence (1.3-r1) 18:35:44 (13/80) Installing mesa-gl (21.3.8-r1) 18:35:44 (14/80) Installing icu-data-full (71.1-r2) 18:35:45 (15/80) Installing libice (1.0.10-r0) 18:35:45 (16/80) Installing libuuid (2.38-r1) 18:35:45 (17/80) Installing libsm (1.2.3-r0) 18:35:45 (18/80) Installing libxt (1.2.1-r0) 18:35:45 (19/80) Installing libxmu (1.1.3-r0) 18:35:45 (20/80) Installing xset (1.2.4-r0) 18:35:45 (21/80) Installing xprop (1.2.5-r0) 18:35:45 (22/80) Installing xdg-utils (1.1.3-r3) 18:35:45 (23/80) Installing dbus-libs (1.14.0-r1) 18:35:46 (24/80) Installing libffi (3.4.2-r1) 18:35:46 (25/80) Installing libintl (0.21-r2) 18:35:46 (26/80) Installing libblkid (2.38-r1) 18:35:46 (27/80) Installing libmount (2.38-r1) 18:35:46 (28/80) Installing pcre (8.45-r2) 18:35:46 (29/80) Installing glib (2.72.1-r0) 18:35:46 (30/80) Installing icu-libs (71.1-r2) 18:35:47 (31/80) Installing libpcre2-16 (10.40-r0) 18:35:47 (32/80) Installing zstd-libs (1.5.2-r1) 18:35:47 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r1) 18:35:48 (34/80) Installing hicolor-icon-theme (0.17-r1) 18:35:48 (35/80) Installing wayland-libs-server (1.20.0-r0) 18:35:48 (36/80) Installing mesa-gbm (21.3.8-r1) 18:35:48 (37/80) Installing wayland-libs-client (1.20.0-r0) 18:35:48 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r0) 18:35:48 (39/80) Installing libxcomposite (0.4.5-r0) 18:35:48 (40/80) Installing libbz2 (1.0.8-r1) 18:35:48 (41/80) Installing libpng (1.6.37-r1) 18:35:48 (42/80) Installing freetype (2.12.1-r0) 18:35:49 (43/80) Installing fontconfig (2.14.0-r0) 18:35:49 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 18:35:49 (45/80) Installing wayland-libs-egl (1.20.0-r0) 18:35:49 (46/80) Installing xkeyboard-config (2.35.1-r0) 18:35:49 (47/80) Installing xz-libs (5.2.5-r1) 18:35:49 (48/80) Installing libxml2 (2.9.14-r0) 18:35:49 (49/80) Installing libxkbcommon (1.4.1-r0) 18:35:49 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 18:35:49 (51/80) Installing mesa-egl (21.3.8-r1) 18:35:49 (52/80) Installing avahi-libs (0.8-r6) 18:35:49 (53/80) Installing nettle (3.7.3-r0) 18:35:50 (54/80) Installing p11-kit (0.24.1-r0) 18:35:50 (55/80) Installing libtasn1 (4.18.0-r0) 18:35:50 (56/80) Installing libunistring (1.0-r0) 18:35:50 (57/80) Installing gnutls (3.7.6-r0) 18:35:50 (58/80) Installing cups-libs (2.4.2-r0) 18:35:50 (59/80) Installing graphite2 (1.3.14-r1) 18:35:50 (60/80) Installing harfbuzz (4.3.0-r0) 18:35:50 (61/80) Installing libevdev (1.12.1-r0) 18:35:50 (62/80) Installing mtdev (1.1.6-r0) 18:35:50 (63/80) Installing eudev-libs (3.2.11-r0) 18:35:50 (64/80) Installing libinput-libs (1.20.1-r0) 18:35:51 (65/80) Installing libjpeg-turbo (2.1.3-r1) 18:35:51 (66/80) Installing xcb-util-wm (0.4.1-r1) 18:35:51 (67/80) Installing xcb-util (0.4.0-r3) 18:35:51 (68/80) Installing xcb-util-image (0.4.0-r1) 18:35:51 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 18:35:51 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 18:35:51 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 18:35:51 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r1) 18:35:52 (73/80) Installing v4l-utils-libs (1.22.1-r1) 18:35:52 (74/80) Installing v4l-utils (1.22.1-r1) 18:35:52 (75/80) Installing udev-init-scripts (35-r0) 18:35:52 Executing udev-init-scripts-35-r0.post-install 18:35:52 (76/80) Installing kmod-libs (29-r2) 18:35:52 (77/80) Installing eudev (3.2.11-r0) 18:35:52 (78/80) Installing eudev-dev (3.2.11-r0) 18:35:52 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 18:35:52 (80/80) Installing v4l-utils-dev (1.22.1-r1) 18:35:52 Executing busybox-1.35.0-r13.trigger 18:35:52 Executing eudev-3.2.11-r0.trigger 18:35:52 OK: 330 MiB in 131 packages 18:35:55 Removing intermediate container 6b1e8d4751fe 18:35:55 ---> 14b55b1e0a85 18:35:55 Step 8/12 : WORKDIR /device-usb-camera 18:35:55 ---> Running in ed23e1ee5fb5 18:35:55 Removing intermediate container ed23e1ee5fb5 18:35:55 ---> b3becd08a4ce 18:35:55 Step 9/12 : COPY go.mod vendor* ./ 18:35:55 ---> 43e360bbd71c 18:35:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:35:55 ---> Running in 0b69a5c7c19b 18:36:10 Removing intermediate container 0b69a5c7c19b 18:36:10 ---> ab3072e23633 18:36:10 Step 11/12 : COPY . . 18:36:10 ---> 0716d1f55bf2 18:36:10 Step 12/12 : RUN ${MAKE} 18:36:10 ---> Running in 6dd6c4b6ca5e 18:36:11 noop 18:36:11 Removing intermediate container 6dd6c4b6ca5e 18:36:11 ---> f6cb62d72cd1 18:36:11 Successfully built f6cb62d72cd1 18:36:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:11 + docker inspect -f . ci-base-image-x86_64 18:36:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:11 prd-ubuntu20.04-docker-8c-8g-20508 does not seem to be running inside a container 18:36:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-50 -v /w/workspace/xfoundry_device-usb-camera_PR-50:/w/workspace/xfoundry_device-usb-camera_PR-50:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-50@tmp:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:36:12 $ docker top 62799647f16d5f73c3f5ff2c98a3c3498ed81ec38be34e3b1a3ecfa2af1249cc -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:12 + go version 18:36:12 go version go1.18.3 linux/amd64 [Pipeline] } 18:36:12 $ docker stop --time=1 62799647f16d5f73c3f5ff2c98a3c3498ed81ec38be34e3b1a3ecfa2af1249cc 18:36:14 $ docker rm -f 62799647f16d5f73c3f5ff2c98a3c3498ed81ec38be34e3b1a3ecfa2af1249cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:14 + docker inspect -f . ci-base-image-x86_64 18:36:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:14 prd-ubuntu20.04-docker-8c-8g-20508 does not seem to be running inside a container 18:36:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-usb-camera_PR-50 -v /w/workspace/xfoundry_device-usb-camera_PR-50:/w/workspace/xfoundry_device-usb-camera_PR-50:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-50@tmp:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:36:15 $ docker top a79eaa42f847ee2269a5c4728cc39a68d8526cb7a8ee51fe852f9dd4078105cf -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:15 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-50 [Pipeline] fileExists [Pipeline] sh 18:36:15 + make test 18:36:15 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 18:36:15 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:36:25 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:36:25 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 18:36:34 CGO_ENABLED=1 go vet ./... 18:36:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:36:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:36:36 ./bin/test-attribution-txt.sh [Pipeline] echo 18:36:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:36:37 $ docker stop --time=1 a79eaa42f847ee2269a5c4728cc39a68d8526cb7a8ee51fe852f9dd4078105cf 18:36:39 $ docker rm -f a79eaa42f847ee2269a5c4728cc39a68d8526cb7a8ee51fe852f9dd4078105cf [Pipeline] // withDockerContainer [Pipeline] sh 18:36:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:36:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:36:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:36:40 + ls -al . 18:36:40 total 164 18:36:40 drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 18:36 . 18:36:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:35 .. 18:36:40 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 18:36 .git 18:36:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:35 .github 18:36:40 -rw-rw-r-- 1 jenkins jenkins 414 Jul 19 18:35 .gitignore 18:36:40 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 18:35 .golangci.yml 18:36:40 -rw-rw-r-- 1 jenkins jenkins 77 Jul 19 18:35 .hadolint.yml 18:36:40 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 18:35 .semver 18:36:40 -rw-rw-r-- 1 jenkins jenkins 8706 Jul 19 18:35 Attribution.txt 18:36:40 -rw-rw-r-- 1 jenkins jenkins 181 Jul 19 18:35 CHANGELOG.md 18:36:40 -rw-rw-r-- 1 jenkins jenkins 1940 Jul 19 18:35 Dockerfile 18:36:40 -rw-rw-r-- 1 jenkins jenkins 678 Jul 19 18:35 GOVERNANCE.md 18:36:40 -rw-rw-r-- 1 jenkins jenkins 659 Jul 19 18:35 Jenkinsfile 18:36:40 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 18:35 LICENSE 18:36:40 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 19 18:35 Makefile 18:36:40 -rw-rw-r-- 1 jenkins jenkins 622 Jul 19 18:35 OWNERS.md 18:36:40 -rw-rw-r-- 1 jenkins jenkins 11243 Jul 19 18:35 README.md 18:36:40 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 18:35 VERSION 18:36:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:35 bin 18:36:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:35 cmd 18:36:40 -rw-r--r-- 1 jenkins jenkins 10 Jul 19 18:36 coverage.out 18:36:40 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 18:35 docker-entrypoint.sh 18:36:40 -rw-rw-r-- 1 jenkins jenkins 3277 Jul 19 18:35 go.mod 18:36:40 -rw-rw-r-- 1 jenkins jenkins 35596 Jul 19 18:35 go.sum 18:36:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:35 internal 18:36:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:35 snap 18:36:40 -rw-rw-r-- 1 jenkins jenkins 231 Jul 19 18:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:40 + 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=672c9f6342a87989dbbc01aa36211590301fe711 --label arch=amd64 --label version=0.0.0 . 18:36:40 Sending build context to Docker daemon 738.8kB 18:36:40 Step 1/30 : ARG BASE=golang:1.17-alpine3.15 18:36:40 Step 2/30 : FROM ${BASE} AS builder 18:36:40 ---> f6cb62d72cd1 18:36:40 Step 3/30 : ARG MAKE="make build" 18:36:40 ---> Running in b5fd148ebae2 18:36:41 Removing intermediate container b5fd148ebae2 18:36:41 ---> b4de84382901 18:36:41 Step 4/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:36:41 ---> Running in 23a8eabf2da4 18:36:41 Removing intermediate container 23a8eabf2da4 18:36:41 ---> d56fb25c76d3 18:36:41 Step 5/30 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:36:41 ---> Running in cb55c1a34630 18:36:41 Removing intermediate container cb55c1a34630 18:36:41 ---> 948df3c65124 18:36:41 Step 6/30 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:36:41 ---> Running in fee6cbab92d9 18:36:41 Removing intermediate container fee6cbab92d9 18:36:41 ---> 2ae04df3f53c 18:36:41 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:36:41 ---> Running in fa5faa5b7695 18:36:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:36:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:36:43 OK: 330 MiB in 131 packages 18:36:44 Removing intermediate container fa5faa5b7695 18:36:44 ---> 699161b4a673 18:36:44 Step 8/30 : WORKDIR /device-usb-camera 18:36:44 ---> Running in b477c89c4e71 18:36:44 Removing intermediate container b477c89c4e71 18:36:44 ---> eeef1aea2a77 18:36:44 Step 9/30 : COPY go.mod vendor* ./ 18:36:44 ---> 7dee51a60367 18:36:44 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:36:44 ---> Running in 1a548f752d3f 18:36:45 Removing intermediate container 1a548f752d3f 18:36:45 ---> a774a341e3ca 18:36:45 Step 11/30 : COPY . . 18:36:45 ---> ea4dbbbb4e4f 18:36:45 Step 12/30 : RUN ${MAKE} 18:36:45 ---> Running in d902ffcf80f5 18:36: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 18:37:07 Removing intermediate container d902ffcf80f5 18:37:07 ---> a0ddd160cf09 18:37:07 Step 13/30 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 18:37:07 v0.18.4: Pulling from aler9/rtsp-simple-server 18:37:08 af6660deedbd: Pulling fs layer 18:37:08 97cd0a44c592: Pulling fs layer 18:37:08 97cd0a44c592: Verifying Checksum 18:37:08 97cd0a44c592: Download complete 18:37:08 af6660deedbd: Verifying Checksum 18:37:08 af6660deedbd: Download complete 18:37:08 af6660deedbd: Pull complete 18:37:08 97cd0a44c592: Pull complete 18:37:08 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 18:37:08 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 18:37:08 ---> fea57e182299 18:37:08 Step 14/30 : FROM alpine:3.15 18:37:09 3.15: Pulling from library/alpine 18:37:09 df9b9388f04a: Pulling fs layer 18:37:09 df9b9388f04a: Verifying Checksum 18:37:09 df9b9388f04a: Download complete 18:37:09 df9b9388f04a: Pull complete 18:37:09 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 18:37:09 Status: Downloaded newer image for alpine:3.15 18:37:09 ---> 0ac33e5f5afa 18:37:09 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:37:10 ---> Running in ec87c98804b0 18:37:10 Removing intermediate container ec87c98804b0 18:37:10 ---> b1b16680723d 18:37:10 Step 16/30 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 18:37:10 ---> Running in 40bd00b7260b 18:37:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:37:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:37:10 (1/74) Installing dumb-init (1.2.5-r1) 18:37:10 (2/74) Installing sdl2 (2.0.16-r4) 18:37:10 (3/74) Installing libxau (1.0.9-r0) 18:37:10 (4/74) Installing libmd (1.0.3-r0) 18:37:10 (5/74) Installing libbsd (0.11.3-r1) 18:37:10 (6/74) Installing libxdmcp (1.1.3-r0) 18:37:10 (7/74) Installing libxcb (1.14-r2) 18:37:10 (8/74) Installing libx11 (1.7.2-r0) 18:37:10 (9/74) Installing aom-libs (3.2.0-r0) 18:37:10 (10/74) Installing alsa-lib (1.2.5.1-r1) 18:37:10 (11/74) Installing expat (2.4.7-r0) 18:37:10 (12/74) Installing brotli-libs (1.0.9-r5) 18:37:10 (13/74) Installing libbz2 (1.0.8-r1) 18:37:10 (14/74) Installing libpng (1.6.37-r1) 18:37:10 (15/74) Installing freetype (2.11.1-r2) 18:37:10 (16/74) Installing libuuid (2.37.4-r0) 18:37:10 (17/74) Installing fontconfig (2.13.1-r4) 18:37:10 (18/74) Installing fribidi (1.0.11-r0) 18:37:10 (19/74) Installing libffi (3.4.2-r1) 18:37:10 (20/74) Installing libintl (0.21-r0) 18:37:10 (21/74) Installing libblkid (2.37.4-r0) 18:37:10 (22/74) Installing libmount (2.37.4-r0) 18:37:10 (23/74) Installing pcre (8.45-r1) 18:37:10 (24/74) Installing glib (2.70.1-r0) 18:37:10 (25/74) Installing graphite2 (1.3.14-r0) 18:37:10 (26/74) Installing harfbuzz (3.0.0-r2) 18:37:10 (27/74) Installing libass (0.15.2-r0) 18:37:10 (28/74) Installing libdav1d (0.9.2-r0) 18:37:10 (29/74) Installing gmp (6.2.1-r1) 18:37:10 (30/74) Installing nettle (3.7.3-r0) 18:37:10 (31/74) Installing p11-kit (0.24.0-r1) 18:37:11 (32/74) Installing libtasn1 (4.18.0-r0) 18:37:11 (33/74) Installing libunistring (0.9.10-r1) 18:37:11 (34/74) Installing gnutls (3.7.1-r0) 18:37:11 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r1) 18:37:11 (36/74) Installing ncurses-libs (6.3_p20211120-r1) 18:37:11 (37/74) Installing lame (3.100-r0) 18:37:11 (38/74) Installing opus (1.3.1-r1) 18:37:11 (39/74) Installing libgomp (10.3.1_git20211027-r0) 18:37:11 (40/74) Installing soxr (0.1.3-r2) 18:37:11 (41/74) Installing libgcc (10.3.1_git20211027-r0) 18:37:11 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 18:37:11 (43/74) Installing libsrt (1.4.2-r1) 18:37:11 (44/74) Installing libssh (0.9.6-r1) 18:37:11 (45/74) Installing libogg (1.3.5-r0) 18:37:11 (46/74) Installing libtheora (1.1.1-r16) 18:37:11 (47/74) Installing libjpeg-turbo (2.1.2-r0) 18:37:11 (48/74) Installing v4l-utils-libs (1.22.1-r1) 18:37:11 (49/74) Installing libxext (1.3.4-r0) 18:37:11 (50/74) Installing libxfixes (6.0.0-r0) 18:37:11 (51/74) Installing libpciaccess (0.16-r0) 18:37:11 (52/74) Installing libdrm (2.4.109-r0) 18:37:11 (53/74) Installing wayland-libs-client (1.19.0-r1) 18:37:11 (54/74) Installing libva (2.13.0-r0) 18:37:11 (55/74) Installing libvdpau (1.4-r0) 18:37:11 (56/74) Installing vidstab (1.1.0-r1) 18:37:11 (57/74) Installing libvorbis (1.3.7-r0) 18:37:11 (58/74) Installing libvpx (1.10.0-r0) 18:37:11 (59/74) Installing vulkan-loader (1.2.196-r0) 18:37:11 (60/74) Installing libwebp (1.2.2-r0) 18:37:11 (61/74) Installing x264-libs (20210613-r0) 18:37:11 (62/74) Installing x265-libs (3.5-r0) 18:37:11 (63/74) Installing xvidcore (1.3.7-r1) 18:37:11 (64/74) Installing ffmpeg-libs (4.4.1-r2) 18:37:11 (65/74) Installing ffmpeg (4.4.1-r2) 18:37:11 (66/74) Installing udev-init-scripts (35-r0) 18:37:11 Executing udev-init-scripts-35-r0.post-install 18:37:11 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 18:37:11 (68/74) Installing xz-libs (5.2.5-r1) 18:37:11 (69/74) Installing zstd-libs (1.5.0-r0) 18:37:11 (70/74) Installing kmod-libs (29-r2) 18:37:11 (71/74) Installing eudev (3.2.11_pre1-r0) 18:37:11 (72/74) Installing libsodium (1.0.18-r0) 18:37:11 (73/74) Installing libzmq (4.3.4-r0) 18:37:11 (74/74) Installing zeromq (4.3.4-r0) 18:37:11 Executing busybox-1.34.1-r5.trigger 18:37:11 Executing eudev-3.2.11_pre1-r0.trigger 18:37:11 OK: 78 MiB in 88 packages 18:37:13 Removing intermediate container 40bd00b7260b 18:37:13 ---> 1e96a5f79062 18:37:13 Step 17/30 : WORKDIR / 18:37:13 ---> Running in 931a2ff8ba1e 18:37:13 Removing intermediate container 931a2ff8ba1e 18:37:13 ---> cc2554681db2 18:37:13 Step 18/30 : COPY --from=builder /device-usb-camera/cmd / 18:37:14 ---> 36683a6ffae2 18:37:14 Step 19/30 : COPY --from=builder /device-usb-camera/LICENSE / 18:37:14 ---> 6c228ed6c27d 18:37:14 Step 20/30 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:37:14 ---> b93bd02e0335 18:37:14 Step 21/30 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:37:14 ---> 24951d274626 18:37:14 Step 22/30 : COPY --from=rtsp /rtsp-simple-server.yml / 18:37:14 ---> 47bc193c835a 18:37:14 Step 23/30 : COPY --from=rtsp /rtsp-simple-server / 18:37:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20509 in /w/workspace/xfoundry_device-usb-camera_PR-50 [Pipeline] { [Pipeline] ws 18:37:15 Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout 18:37:15 ---> 3b51434610da 18:37:15 Step 24/30 : EXPOSE 59983 18:37:15 ---> Running in fd8ff82325fa 18:37:15 Removing intermediate container fd8ff82325fa 18:37:15 ---> d720215d0ce3 18:37:15 Step 25/30 : EXPOSE 8554 18:37:15 ---> Running in 520bb6dcc5db 18:37:15 Removing intermediate container 520bb6dcc5db 18:37:15 ---> b03da9b1a832 18:37:15 Step 26/30 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:37:15 Selected Git installation does not exist. Using Default 18:37:15 The recommended git tool is: NONE 18:37:15 ---> Running in a75984f8aa09 18:37:15 Removing intermediate container a75984f8aa09 18:37:15 ---> 560065c01fc0 18:37:15 Step 27/30 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 18:37:15 ---> Running in 78e6ee07ec33 18:37:15 Removing intermediate container 78e6ee07ec33 18:37:15 ---> e761620ea290 18:37:15 Step 28/30 : LABEL arch=amd64 18:37:15 ---> Running in 5ba1421e3002 18:37:15 Removing intermediate container 5ba1421e3002 18:37:15 ---> e8d9a1f3d592 18:37:15 Step 29/30 : LABEL git_sha=672c9f6342a87989dbbc01aa36211590301fe711 18:37:15 ---> Running in 0995b705b1c4 18:37:15 Removing intermediate container 0995b705b1c4 18:37:15 ---> 1ad7602f867f 18:37:15 Step 30/30 : LABEL version=0.0.0 18:37:15 ---> Running in 5260d00d123c 18:37:15 Removing intermediate container 5260d00d123c 18:37:15 ---> 1ab26dc98115 18:37:15 [Warning] One or more build-args [ARCH] were not consumed 18:37:15 Successfully built 1ab26dc98115 18:37:15 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 18:37:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:16 18:37:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:16 latest: Pulling from edgex-lftools-log-publisher 18:37:16 5eb5b503b376: Pulling fs layer 18:37:16 5c69ac0246d0: Pulling fs layer 18:37:16 ec43610c2a17: Pulling fs layer 18:37:16 3a2ae6a8a46f: Pulling fs layer 18:37:16 33b1e0a273af: Pulling fs layer 18:37:16 5d3b04190fa2: Pulling fs layer 18:37:16 2f39f015ded8: Pulling fs layer 18:37:16 33b1e0a273af: Waiting 18:37:16 2f39f015ded8: Waiting 18:37:16 5d3b04190fa2: Waiting 18:37:16 3a2ae6a8a46f: Waiting 18:37:16 5c69ac0246d0: Verifying Checksum 18:37:16 5c69ac0246d0: Download complete 18:37:16 3a2ae6a8a46f: Verifying Checksum 18:37:16 3a2ae6a8a46f: Download complete 18:37:16 33b1e0a273af: Verifying Checksum 18:37:16 33b1e0a273af: Download complete 18:37:16 ec43610c2a17: Verifying Checksum 18:37:16 ec43610c2a17: Download complete 18:37:16 5d3b04190fa2: Download complete 18:37:16 5eb5b503b376: Verifying Checksum 18:37:16 5eb5b503b376: Download complete 18:37:17 2f39f015ded8: Download complete 18:37:18 5eb5b503b376: Pull complete 18:37:18 5c69ac0246d0: Pull complete 18:37:18 ec43610c2a17: Pull complete 18:37:18 3a2ae6a8a46f: Pull complete 18:37:19 33b1e0a273af: Pull complete 18:37:19 5d3b04190fa2: Pull complete 18:37:22 using credential edgex-jenkins-ssh 18:37:22 Cloning the remote Git repository 18:37:22 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 18:37:22 > git init /w/workspace/device-usb-camera/3 # timeout=10 18:37:22 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:37:22 > git --version # timeout=10 18:37:22 > git --version # 'git version 2.25.1' 18:37:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:37:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:37:23 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:37:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:37:23 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:37:23 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:37:23 using GIT_SSH to set credentials SSH Credentials for GitHub 18:37:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:37:24 Merging remotes/origin/main commit f6f81cc8667d3bc8f839c8865208334794a1ef34 into PR head commit ad872d58df3e42e609e78190bb2c636d48fd5728 18:37:24 Merge succeeded, producing fecbd155ee42077fc2d4a71f091e9444fc8bf251 18:37:24 Checking out Revision fecbd155ee42077fc2d4a71f091e9444fc8bf251 (PR-50) 18:37:24 2f39f015ded8: Pull complete 18:37:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:37:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:24 prd-ubuntu20.04-docker-8c-8g-20508 does not seem to be running inside a container 18:37:24 $ 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-50 -v /w/workspace/xfoundry_device-usb-camera_PR-50:/w/workspace/xfoundry_device-usb-camera_PR-50:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-50@tmp:/w/workspace/xfoundry_device-usb-camera_PR-50@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 18:37:24 > git config core.sparsecheckout # timeout=10 18:37:24 > git checkout -f ad872d58df3e42e609e78190bb2c636d48fd5728 # timeout=10 18:37:24 > git remote # timeout=10 18:37:24 > git config --get remote.origin.url # timeout=10 18:37:24 using GIT_SSH to set credentials SSH Credentials for GitHub 18:37:24 > git merge f6f81cc8667d3bc8f839c8865208334794a1ef34 # timeout=10 18:37:24 > git rev-parse HEAD^{commit} # timeout=10 18:37:24 > git config core.sparsecheckout # timeout=10 18:37:24 > git checkout -f fecbd155ee42077fc2d4a71f091e9444fc8bf251 # timeout=10 18:37:26 $ docker top c3e5e5a477f57e3d359843afeb17659cc0e3b28eff10d63c084e592f4d6bfba0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:27 ---> job-cost.sh 18:37:27 lf-activate-venv: SKIPPING 18:37:27 INFO: No Stack... 18:37:27 INFO: Retrieving Pricing Info for: v3-standard-8 18:37:27 INFO: Archiving Costs [Pipeline] sh 18:37:28 + + cut -d, -f6cat 18:37:28 /w/workspace/xfoundry_device-usb-camera_PR-50/archives/cost.csv [Pipeline] lock 18:37:28 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-50-3-stack-cost] 18:37:28 Resource [jenkins-edgexfoundry-device-usb-camera-PR-50-3-stack-cost] did not exist. Created. 18:37:28 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-50-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:37:28 + echo total: 0.2199999988079071 [Pipeline] stash 18:37:28 Stashed 1 file(s) [Pipeline] } 18:37:28 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-50-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:37:28 $ docker stop --time=1 c3e5e5a477f57e3d359843afeb17659cc0e3b28eff10d63c084e592f4d6bfba0 18:37:28 Commit message: "Merge commit 'f6f81cc8667d3bc8f839c8865208334794a1ef34' into HEAD" 18:37:28 > git rev-list --no-walk ad872d58df3e42e609e78190bb2c636d48fd5728 # timeout=10 18:37:29 18:37:29 GitHub has been notified of this commit’s build result 18:37:29 18:37:29 $ docker rm -f c3e5e5a477f57e3d359843afeb17659cc0e3b28eff10d63c084e592f4d6bfba0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:37:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:37:30 % Total % Received % Xferd Average Speed Time Time Time Current 18:37:30 Dload Upload Total Spent Left Speed 18:37:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 82765 0 --:--:-- --:--:-- --:--:-- 82765 [Pipeline] sh 18:37:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:37:31 + sudo tee /etc/docker/daemon.new 18:37:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:37:31 { 18:37:31 "registry-mirrors": [ 18:37:31 "https://nexus3.edgexfoundry.org:10001" 18:37:31 ], 18:37:31 "bip": "10.250.0.254/24", 18:37:31 "hosts": [ 18:37:31 "tcp://0.0.0.0:5555", 18:37:31 "unix:///var/run/docker.sock" 18:37:31 ], 18:37:31 "mtu": 1458, 18:37:31 "selinux-enabled": true, 18:37:31 "seccomp-profile": "/etc/docker/seccomp.json" 18:37:31 } [Pipeline] sh 18:37:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:37:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:37:50 provisioning config files... 18:37:50 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config558182159945471016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:51 ---> docker-login.sh 18:37:51 nexus3.edgexfoundry.org:10001 18:37:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:52 Configure a credential helper to remove this warning. See 18:37:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:52 18:37:52 Login Succeeded 18:37:52 nexus3.edgexfoundry.org:10002 18:37:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:52 Configure a credential helper to remove this warning. See 18:37:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:52 18:37:52 Login Succeeded 18:37:52 nexus3.edgexfoundry.org:10003 18:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:53 Configure a credential helper to remove this warning. See 18:37:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:53 18:37:53 Login Succeeded 18:37:53 nexus3.edgexfoundry.org:10004 18:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:53 Configure a credential helper to remove this warning. See 18:37:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:53 18:37:53 Login Succeeded 18:37:53 docker.io 18:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:54 Configure a credential helper to remove this warning. See 18:37:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:54 18:37:54 Login Succeeded 18:37:54 ---> docker-login.sh ends [Pipeline] } 18:37:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:37:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:37:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:37:54 ========================================================= 18:37:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:37:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:37:55 Sending build context to Docker daemon 490.5kB 18:37:55 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:37:55 Step 2/12 : FROM ${BASE} AS builder 18:37:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:37:55 b3c136eddcbf: Pulling fs layer 18:37:55 c0a3192eca97: Pulling fs layer 18:37:55 a050256f5b6f: Pulling fs layer 18:37:55 656be50a0ddc: Pulling fs layer 18:37:55 2bbca73fdf42: Pulling fs layer 18:37:55 46d945488cbd: Pulling fs layer 18:37:55 8a5474983e97: Pulling fs layer 18:37:55 329c88fbcd65: Pulling fs layer 18:37:55 656be50a0ddc: Waiting 18:37:55 2bbca73fdf42: Waiting 18:37:55 46d945488cbd: Waiting 18:37:55 8a5474983e97: Waiting 18:37:55 329c88fbcd65: Waiting 18:37:55 a050256f5b6f: Download complete 18:37:55 c0a3192eca97: Download complete 18:37:55 2bbca73fdf42: Verifying Checksum 18:37:55 2bbca73fdf42: Download complete 18:37:55 46d945488cbd: Verifying Checksum 18:37:55 46d945488cbd: Download complete 18:37:55 b3c136eddcbf: Verifying Checksum 18:37:56 b3c136eddcbf: Pull complete 18:37:56 329c88fbcd65: Verifying Checksum 18:37:56 329c88fbcd65: Download complete 18:37:56 c0a3192eca97: Pull complete 18:37:57 a050256f5b6f: Pull complete 18:37:57 8a5474983e97: Verifying Checksum 18:37:57 8a5474983e97: Download complete 18:37:58 656be50a0ddc: Verifying Checksum 18:37:58 656be50a0ddc: Download complete 18:38:10 656be50a0ddc: Pull complete 18:38:11 2bbca73fdf42: Pull complete 18:38:11 46d945488cbd: Pull complete 18:38:18 8a5474983e97: Pull complete 18:38:20 329c88fbcd65: Pull complete 18:38:20 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 18:38:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:38:20 ---> ff4287adb874 18:38:20 Step 3/12 : ARG MAKE="make build" 18:38:20 ---> Running in 62a184285962 18:38:21 Removing intermediate container 62a184285962 18:38:21 ---> 1a2fc6109130 18:38:21 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:38:21 ---> Running in af5211578a75 18:38:21 Removing intermediate container af5211578a75 18:38:21 ---> bc7040cd6e93 18:38:21 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:38:21 ---> Running in 91c2b49bab54 18:38:21 Removing intermediate container 91c2b49bab54 18:38:21 ---> 8ee9f7af7bfb 18:38:21 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:38:21 ---> Running in 58ea3c28e9d7 18:38:23 Removing intermediate container 58ea3c28e9d7 18:38:23 ---> ec047f4e1929 18:38:23 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:38:23 ---> Running in 2fe5a873bda1 18:38:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:38:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:38:26 (1/14) Installing libintl (0.21-r2) 18:38:26 (2/14) Installing eudev-libs (3.2.11-r0) 18:38:26 (3/14) Installing libjpeg-turbo (2.1.3-r1) 18:38:26 (4/14) Installing v4l-utils-libs (1.22.1-r1) 18:38:26 (5/14) Installing v4l-utils (1.22.1-r1) 18:38:26 (6/14) Installing udev-init-scripts (35-r0) 18:38:27 Executing udev-init-scripts-35-r0.post-install 18:38:27 (7/14) Installing libblkid (2.38-r1) 18:38:27 (8/14) Installing xz-libs (5.2.5-r1) 18:38:27 (9/14) Installing zstd-libs (1.5.2-r1) 18:38:27 (10/14) Installing kmod-libs (29-r2) 18:38:27 (11/14) Installing eudev (3.2.11-r0) 18:38:27 (12/14) Installing eudev-dev (3.2.11-r0) 18:38:27 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 18:38:27 (14/14) Installing v4l-utils-dev (1.22.1-r1) 18:38:28 Executing busybox-1.35.0-r13.trigger 18:38:28 Executing eudev-3.2.11-r0.trigger 18:38:28 OK: 228 MiB in 65 packages 18:38:29 Removing intermediate container 2fe5a873bda1 18:38:29 ---> fd432d71e61c 18:38:29 Step 8/12 : WORKDIR /device-usb-camera 18:38:29 ---> Running in 63b36ee78e27 18:38:29 Removing intermediate container 63b36ee78e27 18:38:29 ---> 3ea0354a68ed 18:38:29 Step 9/12 : COPY go.mod vendor* ./ 18:38:30 ---> f5b27cd5c403 18:38:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:38:30 ---> Running in f969fcb1e6ab 18:39:17 Removing intermediate container f969fcb1e6ab 18:39:17 ---> 9b0b005c4ab7 18:39:17 Step 11/12 : COPY . . 18:39:17 ---> a7ff47f3971a 18:39:17 Step 12/12 : RUN ${MAKE} 18:39:17 ---> Running in 9cb25b1f0cac 18:39:17 noop 18:39:17 Removing intermediate container 9cb25b1f0cac 18:39:17 ---> 9ff1331b023a 18:39:17 Successfully built 9ff1331b023a 18:39:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:17 + docker inspect -f . ci-base-image-arm64 18:39:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:17 prd-ubuntu20.04-docker-arm64-4c-16g-20509 does not seem to be running inside a container 18:39:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@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 18:39:19 $ docker top 69d830ef2478eadfba4f24b554587a37e6198e2a208678cd0bd45e818536de58 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:20 + go version 18:39:20 go version go1.18.3 linux/arm64 [Pipeline] } 18:39:20 $ docker stop --time=1 69d830ef2478eadfba4f24b554587a37e6198e2a208678cd0bd45e818536de58 18:39:21 $ docker rm -f 69d830ef2478eadfba4f24b554587a37e6198e2a208678cd0bd45e818536de58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:22 + docker inspect -f . ci-base-image-arm64 18:39:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:22 prd-ubuntu20.04-docker-arm64-4c-16g-20509 does not seem to be running inside a container 18:39:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@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 18:39:23 $ docker top f0c0b02900ced6fe7a7a8e7dfdf80ba9654baaa35d716287a88e68c0173db298 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:24 + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh 18:39:25 + make test 18:39:25 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 18:39:26 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:40:48 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:40:48 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 18:40:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:40:48 CGO_ENABLED=1 go vet ./... 18:41:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:41:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:41:07 ./bin/test-attribution-txt.sh [Pipeline] echo 18:41:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:41:08 $ docker stop --time=1 f0c0b02900ced6fe7a7a8e7dfdf80ba9654baaa35d716287a88e68c0173db298 18:41:09 $ docker rm -f f0c0b02900ced6fe7a7a8e7dfdf80ba9654baaa35d716287a88e68c0173db298 [Pipeline] // withDockerContainer [Pipeline] sh 18:41:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:41:10 Warning: overwriting stash ‘coverage-report’ 18:41:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:41:12 + ls -al . 18:41:12 total 160 18:41:12 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 18:41 . 18:41:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:37 .. 18:41:12 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 18:37 .git 18:41:12 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:37 .github 18:41:12 -rw-rw-r-- 1 jenkins jenkins 414 Jul 19 18:37 .gitignore 18:41:12 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 18:37 .golangci.yml 18:41:12 -rw-rw-r-- 1 jenkins jenkins 77 Jul 19 18:37 .hadolint.yml 18:41:12 -rw-rw-r-- 1 jenkins jenkins 8706 Jul 19 18:37 Attribution.txt 18:41:12 -rw-rw-r-- 1 jenkins jenkins 181 Jul 19 18:37 CHANGELOG.md 18:41:12 -rw-rw-r-- 1 jenkins jenkins 1940 Jul 19 18:37 Dockerfile 18:41:12 -rw-rw-r-- 1 jenkins jenkins 678 Jul 19 18:37 GOVERNANCE.md 18:41:12 -rw-rw-r-- 1 jenkins jenkins 659 Jul 19 18:37 Jenkinsfile 18:41:12 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 18:37 LICENSE 18:41:12 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 19 18:37 Makefile 18:41:12 -rw-rw-r-- 1 jenkins jenkins 622 Jul 19 18:37 OWNERS.md 18:41:12 -rw-rw-r-- 1 jenkins jenkins 11243 Jul 19 18:37 README.md 18:41:12 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 18:35 VERSION 18:41:12 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:37 bin 18:41:12 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:37 cmd 18:41:12 -rw-r--r-- 1 jenkins jenkins 10 Jul 19 18:39 coverage.out 18:41:12 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 18:37 docker-entrypoint.sh 18:41:12 -rw-rw-r-- 1 jenkins jenkins 3277 Jul 19 18:37 go.mod 18:41:12 -rw-rw-r-- 1 jenkins jenkins 35596 Jul 19 18:37 go.sum 18:41:12 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:37 internal 18:41:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:37 snap 18:41:12 -rw-rw-r-- 1 jenkins jenkins 231 Jul 19 18:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:12 + 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=fecbd155ee42077fc2d4a71f091e9444fc8bf251 --label arch=arm64 --label version=0.0.0 . 18:41:12 Sending build context to Docker daemon 491.5kB 18:41:12 Step 1/30 : ARG BASE=golang:1.17-alpine3.15 18:41:12 Step 2/30 : FROM ${BASE} AS builder 18:41:12 ---> 9ff1331b023a 18:41:12 Step 3/30 : ARG MAKE="make build" 18:41:13 ---> Running in 14b82be1ca65 18:41:13 Removing intermediate container 14b82be1ca65 18:41:13 ---> 5d5e09472d30 18:41:13 Step 4/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:41:13 ---> Running in 686d2a497ddf 18:41:13 Removing intermediate container 686d2a497ddf 18:41:13 ---> 673173c99d37 18:41:13 Step 5/30 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:41:13 ---> Running in f548c4309658 18:41:14 Removing intermediate container f548c4309658 18:41:14 ---> 15a999c39c4d 18:41:14 Step 6/30 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:41:14 ---> Running in 5703948e4f48 18:41:16 Removing intermediate container 5703948e4f48 18:41:16 ---> ebb7e579ae76 18:41:16 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:41:16 ---> Running in fc7f4f15d99b 18:41:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:41:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:41:20 OK: 228 MiB in 65 packages 18:41:21 Removing intermediate container fc7f4f15d99b 18:41:21 ---> e68b1b13a4c5 18:41:21 Step 8/30 : WORKDIR /device-usb-camera 18:41:21 ---> Running in 8a624476d35c 18:41:21 Removing intermediate container 8a624476d35c 18:41:21 ---> 625b2f669d78 18:41:21 Step 9/30 : COPY go.mod vendor* ./ 18:41:22 ---> 2ee94011943f 18:41:22 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:41:22 ---> Running in fd078caecc77 18:41:24 Removing intermediate container fd078caecc77 18:41:24 ---> eb516fc18fd8 18:41:24 Step 11/30 : COPY . . 18:41:25 ---> e775c091a541 18:41:25 Step 12/30 : RUN ${MAKE} 18:41:25 ---> Running in d7b3f94960ff 18:41:26 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 18:43:48 Removing intermediate container d7b3f94960ff 18:43:48 ---> e316abf28666 18:43:48 Step 13/30 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 18:43:48 v0.18.4: Pulling from aler9/rtsp-simple-server 18:43:48 eab2503cf8f4: Pulling fs layer 18:43:48 97cd0a44c592: Pulling fs layer 18:43:48 97cd0a44c592: Verifying Checksum 18:43:48 97cd0a44c592: Download complete 18:43:48 eab2503cf8f4: Download complete 18:43:48 eab2503cf8f4: Pull complete 18:43:48 97cd0a44c592: Pull complete 18:43:48 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 18:43:48 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 18:43:48 ---> 7f763cca56b3 18:43:48 Step 14/30 : FROM alpine:3.15 18:43:48 3.15: Pulling from library/alpine 18:43:48 9981e73032c8: Pulling fs layer 18:43:48 9981e73032c8: Verifying Checksum 18:43:48 9981e73032c8: Download complete 18:43:48 9981e73032c8: Pull complete 18:43:48 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 18:43:48 Status: Downloaded newer image for alpine:3.15 18:43:48 ---> 3fb3c9af89a9 18:43:48 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:43:49 ---> Running in 17fca6d4a6aa 18:43:49 Removing intermediate container 17fca6d4a6aa 18:43:49 ---> 2cae04bdb98e 18:43:49 Step 16/30 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 18:43:49 ---> Running in ca5d238e0879 18:43:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:43:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:43:51 (1/73) Installing dumb-init (1.2.5-r1) 18:43:51 (2/73) Installing sdl2 (2.0.16-r4) 18:43:51 (3/73) Installing libxau (1.0.9-r0) 18:43:51 (4/73) Installing libmd (1.0.3-r0) 18:43:51 (5/73) Installing libbsd (0.11.3-r1) 18:43:51 (6/73) Installing libxdmcp (1.1.3-r0) 18:43:51 (7/73) Installing libxcb (1.14-r2) 18:43:51 (8/73) Installing libx11 (1.7.2-r0) 18:43:51 (9/73) Installing aom-libs (3.2.0-r0) 18:43:51 (10/73) Installing alsa-lib (1.2.5.1-r1) 18:43:52 (11/73) Installing expat (2.4.7-r0) 18:43:52 (12/73) Installing brotli-libs (1.0.9-r5) 18:43:52 (13/73) Installing libbz2 (1.0.8-r1) 18:43:52 (14/73) Installing libpng (1.6.37-r1) 18:43:52 (15/73) Installing freetype (2.11.1-r2) 18:43:52 (16/73) Installing libuuid (2.37.4-r0) 18:43:52 (17/73) Installing fontconfig (2.13.1-r4) 18:43:52 (18/73) Installing fribidi (1.0.11-r0) 18:43:52 (19/73) Installing libffi (3.4.2-r1) 18:43:52 (20/73) Installing libintl (0.21-r0) 18:43:52 (21/73) Installing libblkid (2.37.4-r0) 18:43:52 (22/73) Installing libmount (2.37.4-r0) 18:43:52 (23/73) Installing pcre (8.45-r1) 18:43:52 (24/73) Installing glib (2.70.1-r0) 18:43:52 (25/73) Installing graphite2 (1.3.14-r0) 18:43:52 (26/73) Installing harfbuzz (3.0.0-r2) 18:43:52 (27/73) Installing libass (0.15.2-r0) 18:43:52 (28/73) Installing libdav1d (0.9.2-r0) 18:43:52 (29/73) Installing gmp (6.2.1-r1) 18:43:52 (30/73) Installing nettle (3.7.3-r0) 18:43:52 (31/73) Installing p11-kit (0.24.0-r1) 18:43:52 (32/73) Installing libtasn1 (4.18.0-r0) 18:43:52 (33/73) Installing libunistring (0.9.10-r1) 18:43:52 (34/73) Installing gnutls (3.7.1-r0) 18:43:52 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r1) 18:43:52 (36/73) Installing ncurses-libs (6.3_p20211120-r1) 18:43:52 (37/73) Installing lame (3.100-r0) 18:43:52 (38/73) Installing opus (1.3.1-r1) 18:43:52 (39/73) Installing libgomp (10.3.1_git20211027-r0) 18:43:52 (40/73) Installing soxr (0.1.3-r2) 18:43:52 (41/73) Installing libgcc (10.3.1_git20211027-r0) 18:43:52 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 18:43:52 (43/73) Installing libsrt (1.4.2-r1) 18:43:52 (44/73) Installing libssh (0.9.6-r1) 18:43:52 (45/73) Installing libogg (1.3.5-r0) 18:43:52 (46/73) Installing libtheora (1.1.1-r16) 18:43:52 (47/73) Installing libjpeg-turbo (2.1.2-r0) 18:43:52 (48/73) Installing v4l-utils-libs (1.22.1-r1) 18:43:52 (49/73) Installing libxext (1.3.4-r0) 18:43:52 (50/73) Installing libxfixes (6.0.0-r0) 18:43:52 (51/73) Installing libdrm (2.4.109-r0) 18:43:52 (52/73) Installing wayland-libs-client (1.19.0-r1) 18:43:52 (53/73) Installing libva (2.13.0-r0) 18:43:53 (54/73) Installing libvdpau (1.4-r0) 18:43:53 (55/73) Installing vidstab (1.1.0-r1) 18:43:53 (56/73) Installing libvorbis (1.3.7-r0) 18:43:53 (57/73) Installing libvpx (1.10.0-r0) 18:43:53 (58/73) Installing vulkan-loader (1.2.196-r0) 18:43:53 (59/73) Installing libwebp (1.2.2-r0) 18:43:53 (60/73) Installing x264-libs (20210613-r0) 18:43:53 (61/73) Installing x265-libs (3.5-r0) 18:43:53 (62/73) Installing xvidcore (1.3.7-r1) 18:43:53 (63/73) Installing ffmpeg-libs (4.4.1-r2) 18:43:53 (64/73) Installing ffmpeg (4.4.1-r2) 18:43:53 (65/73) Installing udev-init-scripts (35-r0) 18:43:53 Executing udev-init-scripts-35-r0.post-install 18:43:53 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 18:43:53 (67/73) Installing xz-libs (5.2.5-r1) 18:43:53 (68/73) Installing zstd-libs (1.5.0-r0) 18:43:53 (69/73) Installing kmod-libs (29-r2) 18:43:53 (70/73) Installing eudev (3.2.11_pre1-r0) 18:43:53 (71/73) Installing libsodium (1.0.18-r0) 18:43:53 (72/73) Installing libzmq (4.3.4-r0) 18:43:53 (73/73) Installing zeromq (4.3.4-r0) 18:43:53 Executing busybox-1.34.1-r5.trigger 18:43:53 Executing eudev-3.2.11_pre1-r0.trigger 18:43:53 OK: 67 MiB in 87 packages 18:43:57 Removing intermediate container ca5d238e0879 18:43:57 ---> a3f08961eda6 18:43:57 Step 17/30 : WORKDIR / 18:43:57 ---> Running in ea89ebd3a31f 18:43:57 Removing intermediate container ea89ebd3a31f 18:43:57 ---> f5cad8f878ce 18:43:57 Step 18/30 : COPY --from=builder /device-usb-camera/cmd / 18:43:58 ---> b73e958a8cf3 18:43:58 Step 19/30 : COPY --from=builder /device-usb-camera/LICENSE / 18:43:58 ---> c45edb9afc87 18:43:58 Step 20/30 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:43:59 ---> eb34cf441b24 18:43:59 Step 21/30 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:43:59 ---> 543f7b575302 18:43:59 Step 22/30 : COPY --from=rtsp /rtsp-simple-server.yml / 18:44:00 ---> 1c4c09f1b670 18:44:00 Step 23/30 : COPY --from=rtsp /rtsp-simple-server / 18:44:01 ---> fa67c7a88134 18:44:01 Step 24/30 : EXPOSE 59983 18:44:01 ---> Running in 2f6e67745610 18:44:01 Removing intermediate container 2f6e67745610 18:44:01 ---> 1131fb10c433 18:44:01 Step 25/30 : EXPOSE 8554 18:44:02 ---> Running in fbcc0622108c 18:44:02 Removing intermediate container fbcc0622108c 18:44:02 ---> 30b0d2b810c7 18:44:02 Step 26/30 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:44:02 ---> Running in 29be24c9c4fc 18:44:02 Removing intermediate container 29be24c9c4fc 18:44:02 ---> f5dfde6ff4d7 18:44:02 Step 27/30 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 18:44:02 ---> Running in 86725c49a80f 18:44:02 Removing intermediate container 86725c49a80f 18:44:02 ---> 4ac15850f56c 18:44:02 Step 28/30 : LABEL arch=arm64 18:44:03 ---> Running in 1605b8077cd5 18:44:03 Removing intermediate container 1605b8077cd5 18:44:03 ---> 3c9d2ffb3e32 18:44:03 Step 29/30 : LABEL git_sha=fecbd155ee42077fc2d4a71f091e9444fc8bf251 18:44:03 ---> Running in 478956ea312a 18:44:03 Removing intermediate container 478956ea312a 18:44:03 ---> ce9aa92d33ae 18:44:03 Step 30/30 : LABEL version=0.0.0 18:44:03 ---> Running in 245b526edd69 18:44:03 Removing intermediate container 245b526edd69 18:44:03 ---> 6a6f8032aa69 18:44:03 [Warning] One or more build-args [ARCH] were not consumed 18:44:03 Successfully built 6a6f8032aa69 18:44:03 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 18:44:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:44:04 18:44:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:44:04 arm64: Pulling from edgex-lftools-log-publisher 18:44:04 8998bd30e6a1: Pulling fs layer 18:44:04 04944245beec: Pulling fs layer 18:44:04 699f458cf7ca: Pulling fs layer 18:44:04 765212b225bb: Pulling fs layer 18:44:04 f23df028b6ca: Pulling fs layer 18:44:04 d65c8cfc05b1: Pulling fs layer 18:44:04 2437ff75d9bd: Pulling fs layer 18:44:04 765212b225bb: Waiting 18:44:04 d65c8cfc05b1: Waiting 18:44:04 2437ff75d9bd: Waiting 18:44:04 f23df028b6ca: Waiting 18:44:05 04944245beec: Verifying Checksum 18:44:05 04944245beec: Download complete 18:44:05 765212b225bb: Verifying Checksum 18:44:05 765212b225bb: Download complete 18:44:05 f23df028b6ca: Verifying Checksum 18:44:05 f23df028b6ca: Download complete 18:44:05 d65c8cfc05b1: Verifying Checksum 18:44:05 d65c8cfc05b1: Download complete 18:44:05 699f458cf7ca: Verifying Checksum 18:44:05 699f458cf7ca: Download complete 18:44:05 8998bd30e6a1: Verifying Checksum 18:44:05 8998bd30e6a1: Download complete 18:44:07 2437ff75d9bd: Verifying Checksum 18:44:07 2437ff75d9bd: Download complete 18:44:09 8998bd30e6a1: Pull complete 18:44:09 04944245beec: Pull complete 18:44:11 699f458cf7ca: Pull complete 18:44:11 765212b225bb: Pull complete 18:44:12 f23df028b6ca: Pull complete 18:44:12 d65c8cfc05b1: Pull complete 18:44:27 2437ff75d9bd: Pull complete 18:44:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:44:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:44:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:27 prd-ubuntu20.04-docker-arm64-4c-16g-20509 does not seem to be running inside a container 18:44:27 $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@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 18:44:30 $ docker top ad7595c17f7e5a284a3b84db20a7f2491a5fb44bdc07e7d303ee63e66840d9bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:31 ---> job-cost.sh 18:44:31 lf-activate-venv: SKIPPING 18:44:31 INFO: No Stack... 18:44:32 INFO: Retrieving Pricing Info for: v3-standard-4 18:44:33 INFO: Archiving Costs [Pipeline] sh 18:44:33 + cat /w/workspace/device-usb-camera/3/archives/cost.csv 18:44:33 + cut -d, -f6 [Pipeline] lock 18:44:33 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-50-3-stack-cost] 18:44:33 Resource [jenkins-edgexfoundry-device-usb-camera-PR-50-3-stack-cost] did not exist. Created. 18:44:33 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-50-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:44:34 /w/workspace/device-usb-camera/3@tmp/durable-7b6aaeec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:44:35 + echo total: 0.10999999940395355 [Pipeline] stash 18:44:35 Warning: overwriting stash ‘stack-cost’ 18:44:35 Stashed 1 file(s) [Pipeline] } 18:44:35 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-50-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:44:35 $ docker stop --time=1 ad7595c17f7e5a284a3b84db20a7f2491a5fb44bdc07e7d303ee63e66840d9bc 18:44:36 $ docker rm -f ad7595c17f7e5a284a3b84db20a7f2491a5fb44bdc07e7d303ee63e66840d9bc [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 18:44:37 provisioning config files... 18:44:37 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/config1126912926634758510tmp [Pipeline] { [Pipeline] sh 18:44:37 + set +x 18:44:37 + curl+ -s https://codecov.io/bash 18:44:37 bash -s -- 18:44:37 18:44:37 _____ _ 18:44:37 / ____| | | 18:44:37 | | ___ __| | ___ ___ _____ __ 18:44:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:44:37 | |___| (_) | (_| | __/ (_| (_) \ V / 18:44:37 \_____\___/ \__,_|\___|\___\___/ \_/ 18:44:37 Bash-1.0.6 18:44:37 18:44:37 18:44:37 ==> git version 2.25.1 found 18:44:37 ==> 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 18:44:37 Release-Date: 2020-01-08 18:44:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:44:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:44:37 ==> Jenkins CI detected. 18:44:37 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-50 18:44:37 project root: . 18:44:37 --> token set from env 18:44:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:44:37 ==> Running gcov in . (disable via -X gcov) 18:44:37 ==> Python coveragepy not found 18:44:37 ==> Searching for coverage reports in: 18:44:37 + . 18:44:37 -> Found 1 reports 18:44:37 ==> Detecting git/mercurial file structure 18:44:37 ==> Reading reports 18:44:37 + ./coverage.out bytes=10 18:44:37 ==> Appending adjustments 18:44:37 https://docs.codecov.io/docs/fixing-reports 18:44:37 + Found adjustments 18:44:37 ==> Gzipping contents 18:44:37 4.0K /tmp/codecov.7a5vp0.gz 18:44:37 ==> Uploading reports 18:44:37 url: https://codecov.io 18:44:37 query: branch=PR-50&commit=672c9f6342a87989dbbc01aa36211590301fe711&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-50%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=50&job=&cmd_args= 18:44:37 -> Pinging Codecov 18:44:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-50&commit=672c9f6342a87989dbbc01aa36211590301fe711&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-50%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=50&job=&cmd_args= 18:44:38 -> Uploading to 18:44:38 https://storage.googleapis.com/codecov/v4/raw/2022-07-19/73D8F5FF140700D3E01443B452E23636/672c9f6342a87989dbbc01aa36211590301fe711/5df74e39-d961-4c75-815f-b8bc26f1e5d0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220719T184438Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9ff19aa9fb449b25eedaddc438e3936a07497677682555b00c09c499ab898069 18:44:38 % Total % Received % Xferd Average Speed Time Time Time Current 18:44:38 Dload Upload Total Spent Left Speed 18:44:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1205 0 0 100 1205 0 5149 --:--:-- --:--:-- --:--:-- 5171 18:44:38 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/672c9f6342a87989dbbc01aa36211590301fe711 [Pipeline] } 18:44:38 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 18:44:39 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-50/archives ] 18:44:39 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-50/archives 18:44:39 total 16 18:44:39 drwxr-xr-x 3 root root 4096 Jul 19 18:37 . 18:44:39 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 18:37 .. 18:44:39 drwxr-xr-x 2 root root 4096 Jul 19 18:37 cost 18:44:39 -rw-r--r-- 1 root root 87 Jul 19 18:37 cost.csv 18:44:39 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-50/archives 18:44:39 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-50/archives 18:44:39 total 16 18:44:39 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 18:37 . 18:44:39 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 18:37 .. 18:44:39 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 18:37 cost 18:44:39 -rw-r--r-- 1 jenkins jenkins 87 Jul 19 18:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:44:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:44:40 ---> package-listing.sh 18:44:40 ++ facter osfamily 18:44:40 ++ tr '[:upper:]' '[:lower:]' 18:44:40 + OS_FAMILY=debian 18:44:40 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-50 18:44:40 + START_PACKAGES=/tmp/packages_start.txt 18:44:40 + END_PACKAGES=/tmp/packages_end.txt 18:44:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:44:40 + PACKAGES=/tmp/packages_start.txt 18:44:40 + '[' /w/workspace/xfoundry_device-usb-camera_PR-50 ']' 18:44:40 + PACKAGES=/tmp/packages_end.txt 18:44:40 + case "${OS_FAMILY}" in 18:44:40 + dpkg -l 18:44:40 + grep '^ii' 18:44:40 + '[' -f /tmp/packages_start.txt ']' 18:44:40 + '[' -f /tmp/packages_end.txt ']' 18:44:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:44:40 + '[' /w/workspace/xfoundry_device-usb-camera_PR-50 ']' 18:44:40 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-50/archives/ 18:44:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-50/archives/ [Pipeline] echo 18:44:40 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-50/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:44:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:41 prd-ubuntu20.04-docker-8c-8g-20508 does not seem to be running inside a container 18:44:41 $ 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-50/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-50 -v /w/workspace/xfoundry_device-usb-camera_PR-50:/w/workspace/xfoundry_device-usb-camera_PR-50:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-50@tmp:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:44:41 $ docker top ec7b4b2fd6b8be966993a0b03a83fa6cac6e3d80a0689b93ab116e6c3467a737 -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:42 + touch /tmp/pre-build-complete [Pipeline] sh 18:44:42 + mkdir -p /var/log/sysstat [Pipeline] sh 18:44:42 + ls /var/log/sa-host 18:44:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:42 provisioning config files... 18:44:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/config1532645663374271305tmp [Pipeline] { [Pipeline] echo 18:44:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:44:43 ---> create-netrc.sh [Pipeline] } 18:44:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:44:43 ---> python-tools-install.sh [Pipeline] echo 18:44:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:44:43 ---> sudo-logs.sh 18:44:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:44:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:44:44 ---> job-cost.sh 18:44:44 lf-activate-venv: SKIPPING 18:44:44 DEBUG: total: 0.2199999988079071 18:44:44 INFO: Retrieving Stack Cost... 18:44:44 INFO: Retrieving Pricing Info for: v3-standard-8 18:44:45 INFO: Archiving Costs [Pipeline] echo 18:44:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:44:45 ---> logs-deploy.sh 18:44:45 lf-activate-venv: SKIPPING 18:44:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-50/3 18:44:45 INFO: archiving workspace using pattern(s): 18:44:46 Archives upload complete. 18:44:46 INFO: archiving logs to Nexus