Pull request #162 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c+87705a392df95c720bda82ac1b9f5f1497326bc3 (b8c1e6809459565597f49321a6200a1c37545e8f) 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-ssh9681627075002728929.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6079810665518799653.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-162/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-162/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17692071212353179642.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh6830629183945964409.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-162/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-162/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8647220620414940565.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7770’ Running on prd-ubuntu20.04-docker-8c-8g-7774 in /w/workspace/foundry_device-usb-camera_PR-162 [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/foundry_device-usb-camera_PR-162 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 87705a392df95c720bda82ac1b9f5f1497326bc3 into PR head commit cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c Merge succeeded, producing cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c Checking out Revision cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c (PR-162) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:56:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:56:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:56:24 ========================================================= 17:56:24 EdgeX Global Pipelines Version Info 17:56:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c # 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 87705a392df95c720bda82ac1b9f5f1497326bc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c # timeout=10 > git rev-list --no-walk 8481b428beb9b49af7e07dc60811ab8d2ed29526 # timeout=10 17:56:25 ------------------- 17:56:25 stable info: 17:56:25 ------------------- 17:56:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:56:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:56:25 Message: update stable to v1.0.244 17:56:25 ------------------- 17:56:25 experimental info: 17:56:25 ------------------- 17:56:25 Commited By: **** collab-it+edgex@linuxfoundation.org 17:56:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:56:25 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:56:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-162 [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-162 [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-162 [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cfc32e1 [Pipeline] echo 17:56:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:56:26 provisioning config files... 17:56:26 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-162@tmp/config16234215465901507045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:56:26 ---> docker-login.sh 17:56:26 nexus3.edgexfoundry.org:10001 17:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:26 Configure a credential helper to remove this warning. See 17:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:26 17:56:26 Login Succeeded 17:56:26 nexus3.edgexfoundry.org:10002 17:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:27 Configure a credential helper to remove this warning. See 17:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:27 17:56:27 Login Succeeded 17:56:27 nexus3.edgexfoundry.org:10003 17:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:27 Configure a credential helper to remove this warning. See 17:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:27 17:56:27 Login Succeeded 17:56:27 nexus3.edgexfoundry.org:10004 17:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:27 Configure a credential helper to remove this warning. See 17:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:27 17:56:27 Login Succeeded 17:56:27 docker.io 17:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:27 Configure a credential helper to remove this warning. See 17:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:27 17:56:27 Login Succeeded 17:56:27 ---> docker-login.sh ends [Pipeline] } 17:56:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:56:27 + git rev-list -1 --merges cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c~1..cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c [Pipeline] echo 17:56:27 -----------> git rev-list -1 --merges cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c~1..cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c [false] [Pipeline] sh 17:56:28 + git log --format=format:%s -1 cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c [Pipeline] echo 17:56:28 ========================================================= 17:56:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:56:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:56:28 + git log --format=format:%s -1 cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c [Pipeline] echo 17:56:28 [semverPrep] GIT_COMMIT: cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 17:56:28 [semverPrep] This is not a build commit. [Pipeline] sh 17:56:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:56:29 + grep -v github /etc/ssh/ssh_known_hosts 17:56:29 + [ -e /tmp/ssh_known_hosts ] 17:56:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:56:29 + sudo tee -a /etc/ssh/ssh_known_hosts 17:56:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:56:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:56:29 17:56:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:56:29 0.1.4: Pulling from edgex-devops/py-git-semver 17:56:29 b85a868b505f: Pulling fs layer 17:56:29 e2be974225ed: Pulling fs layer 17:56:29 339a4e72a1f5: Pulling fs layer 17:56:29 988bab9f4d93: Pulling fs layer 17:56:29 1469e6f7b9e6: Pulling fs layer 17:56:29 eaf3925da568: Pulling fs layer 17:56:29 bab4dde63d76: Pulling fs layer 17:56:29 bde34c3a00c8: Pulling fs layer 17:56:29 b352a97aabf1: Pulling fs layer 17:56:29 4872d77fe225: Pulling fs layer 17:56:29 5851b861e8e6: Pulling fs layer 17:56:29 1469e6f7b9e6: Waiting 17:56:29 eaf3925da568: Waiting 17:56:29 bab4dde63d76: Waiting 17:56:29 bde34c3a00c8: Waiting 17:56:29 b352a97aabf1: Waiting 17:56:29 4872d77fe225: Waiting 17:56:29 5851b861e8e6: Waiting 17:56:29 988bab9f4d93: Waiting 17:56:29 e2be974225ed: Verifying Checksum 17:56:29 e2be974225ed: Download complete 17:56:29 988bab9f4d93: Verifying Checksum 17:56:29 988bab9f4d93: Download complete 17:56:29 1469e6f7b9e6: Verifying Checksum 17:56:29 1469e6f7b9e6: Download complete 17:56:29 339a4e72a1f5: Verifying Checksum 17:56:29 339a4e72a1f5: Download complete 17:56:30 b85a868b505f: Verifying Checksum 17:56:30 b85a868b505f: Download complete 17:56:30 bde34c3a00c8: Verifying Checksum 17:56:30 eaf3925da568: Verifying Checksum 17:56:30 eaf3925da568: Download complete 17:56:30 4872d77fe225: Verifying Checksum 17:56:30 4872d77fe225: Download complete 17:56:30 5851b861e8e6: Verifying Checksum 17:56:30 5851b861e8e6: Download complete 17:56:30 b352a97aabf1: Verifying Checksum 17:56:30 b352a97aabf1: Download complete 17:56:31 bab4dde63d76: Verifying Checksum 17:56:31 bab4dde63d76: Download complete 17:56:31 b85a868b505f: Pull complete 17:56:31 e2be974225ed: Pull complete 17:56:32 339a4e72a1f5: Pull complete 17:56:32 988bab9f4d93: Pull complete 17:56:32 1469e6f7b9e6: Pull complete 17:56:32 eaf3925da568: Pull complete 17:56:34 bab4dde63d76: Pull complete 17:56:34 bde34c3a00c8: Pull complete 17:56:34 b352a97aabf1: Pull complete 17:56:34 4872d77fe225: Pull complete 17:56:34 5851b861e8e6: Pull complete 17:56:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:56:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:56:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:34 prd-ubuntu20.04-docker-8c-8g-7774 does not seem to be running inside a container 17:56:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-162 -v /w/workspace/foundry_device-usb-camera_PR-162:/w/workspace/foundry_device-usb-camera_PR-162:rw,z -v /w/workspace/foundry_device-usb-camera_PR-162@tmp:/w/workspace/foundry_device-usb-camera_PR-162@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:56:37 $ docker top 9b3bca4173046a7bc63f9de9f75f40a37a3d9ddade73571969a60cbc472d578f -eo pid,comm 17:56:37 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). 17:56:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:56:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:56:37 [ssh-agent] Looking for ssh-agent implementation... 17:56:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:56:37 $ docker exec 9b3bca4173046a7bc63f9de9f75f40a37a3d9ddade73571969a60cbc472d578f ssh-agent 17:56:37 SSH_AUTH_SOCK=/tmp/ssh-sxTebDiLy4xm/agent.31 17:56:37 SSH_AGENT_PID=37 17:56:37 Running ssh-add (command line suppressed) 17:56:37 Identity added: /w/workspace/foundry_device-usb-camera_PR-162@tmp/private_key_9622368403411807530.key (/w/workspace/foundry_device-usb-camera_PR-162@tmp/private_key_9622368403411807530.key) 17:56:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:56:37 + git tag --points-at HEAD [Pipeline] } 17:56:37 $ docker exec --env ******** --env ******** 9b3bca4173046a7bc63f9de9f75f40a37a3d9ddade73571969a60cbc472d578f ssh-agent -k 17:56:38 unset SSH_AUTH_SOCK; 17:56:38 unset SSH_AGENT_PID; 17:56:38 echo Agent pid 37 killed; 17:56:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:56:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:56:38 [ssh-agent] Looking for ssh-agent implementation... 17:56:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:56:38 $ docker exec 9b3bca4173046a7bc63f9de9f75f40a37a3d9ddade73571969a60cbc472d578f ssh-agent 17:56:38 SSH_AUTH_SOCK=/tmp/ssh-oIbvaD9LBiCa/agent.70 17:56:38 SSH_AGENT_PID=76 17:56:38 Running ssh-add (command line suppressed) 17:56:38 Identity added: /w/workspace/foundry_device-usb-camera_PR-162@tmp/private_key_1260283947107355478.key (/w/workspace/foundry_device-usb-camera_PR-162@tmp/private_key_1260283947107355478.key) 17:56:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:56:38 + git semver init 17:56:38 2023-02-28 17:56:38,856 [run_init] DEBUG init version:0.0.0 force:False 17:56:38 2023-02-28 17:56:38,857 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-162/.semver 17:56:38 2023-02-28 17:56:38,857 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-162/.semver 17:56:38 2023-02-28 17:56:38,858 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-162/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-162, universal_newlines=False, shell=None, istream=None) 17:56:39 2023-02-28 17:56:39,683 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-162/.git/info/exclude 17:56:39 2023-02-28 17:56:39,684 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-162/.semver/PR-162 with force:False 17:56:39 2023-02-28 17:56:39,684 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-162/.semver/PR-162 17:56:39 2023-02-28 17:56:39,688 [execute] INFO git cat-file --batch-check 17:56:39 2023-02-28 17:56:39,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-162/.semver, universal_newlines=False, shell=None, istream=) 17:56:39 2023-02-28 17:56:39,692 [execute] INFO git cat-file --batch 17:56:39 2023-02-28 17:56:39,693 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-162/.semver, universal_newlines=False, shell=None, istream=) 17:56:39 2023-02-28 17:56:39,697 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-162/.semver/PR-162 17:56:39 0.0.0 [Pipeline] } 17:56:39 $ docker exec --env ******** --env ******** 9b3bca4173046a7bc63f9de9f75f40a37a3d9ddade73571969a60cbc472d578f ssh-agent -k 17:56:39 unset SSH_AUTH_SOCK; 17:56:39 unset SSH_AGENT_PID; 17:56:39 echo Agent pid 76 killed; 17:56:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:56:40 + git semver [Pipeline] } 17:56:40 $ docker stop --time=1 9b3bca4173046a7bc63f9de9f75f40a37a3d9ddade73571969a60cbc472d578f 17:56:41 $ docker rm -f --volumes 9b3bca4173046a7bc63f9de9f75f40a37a3d9ddade73571969a60cbc472d578f [Pipeline] // withDockerContainer [Pipeline] sh 17:56:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:56:42 Stashed 1 file(s) [Pipeline] echo 17:56:42 [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 17:56:42 provisioning config files... 17:56:42 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-162@tmp/config16774138911188826969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:56:42 ---> docker-login.sh 17:56:42 nexus3.edgexfoundry.org:10001 17:56:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:42 Configure a credential helper to remove this warning. See 17:56:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:42 17:56:42 Login Succeeded 17:56:42 nexus3.edgexfoundry.org:10002 17:56:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:42 Configure a credential helper to remove this warning. See 17:56:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:42 17:56:42 Login Succeeded 17:56:42 nexus3.edgexfoundry.org:10003 17:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:43 Configure a credential helper to remove this warning. See 17:56:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:43 17:56:43 Login Succeeded 17:56:43 nexus3.edgexfoundry.org:10004 17:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:43 Configure a credential helper to remove this warning. See 17:56:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:43 17:56:43 Login Succeeded 17:56:43 docker.io 17:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:43 Configure a credential helper to remove this warning. See 17:56:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:43 17:56:43 Login Succeeded 17:56:43 ---> docker-login.sh ends [Pipeline] } 17:56:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:56:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:56:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:56:43 ========================================================= 17:56:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:56:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:43 + 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 . 17:56:43 Sending build context to Docker daemon 1.752MB 17:56:43 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:56:43 Step 2/13 : FROM ${BASE} AS builder 17:56:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:56:43 213ec9aee27d: Pulling fs layer 17:56:43 4583459ba037: Pulling fs layer 17:56:43 93c1e223e6f2: Pulling fs layer 17:56:43 53926ce57604: Pulling fs layer 17:56:43 21b2b0c7a3f4: Pulling fs layer 17:56:43 22ff95d597cd: Pulling fs layer 17:56:43 12d6caf4c0d1: Pulling fs layer 17:56:43 96b7cbca73a9: Pulling fs layer 17:56:43 a7acece74701: Pulling fs layer 17:56:43 22ff95d597cd: Waiting 17:56:43 12d6caf4c0d1: Waiting 17:56:43 96b7cbca73a9: Waiting 17:56:43 a7acece74701: Waiting 17:56:43 53926ce57604: Waiting 17:56:43 21b2b0c7a3f4: Waiting 17:56:43 93c1e223e6f2: Verifying Checksum 17:56:43 93c1e223e6f2: Download complete 17:56:43 4583459ba037: Download complete 17:56:43 21b2b0c7a3f4: Verifying Checksum 17:56:43 21b2b0c7a3f4: Download complete 17:56:43 22ff95d597cd: Verifying Checksum 17:56:43 22ff95d597cd: Download complete 17:56:44 213ec9aee27d: Verifying Checksum 17:56:44 213ec9aee27d: Download complete 17:56:44 12d6caf4c0d1: Download complete 17:56:44 213ec9aee27d: Pull complete 17:56:44 4583459ba037: Pull complete 17:56:44 93c1e223e6f2: Pull complete 17:56:44 a7acece74701: Verifying Checksum 17:56:44 a7acece74701: Download complete 17:56:44 96b7cbca73a9: Verifying Checksum 17:56:44 96b7cbca73a9: Download complete 17:56:44 53926ce57604: Verifying Checksum 17:56:44 53926ce57604: Download complete 17:56:48 53926ce57604: Pull complete 17:56:48 21b2b0c7a3f4: Pull complete 17:56:48 22ff95d597cd: Pull complete 17:56:48 12d6caf4c0d1: Pull complete 17:56:50 96b7cbca73a9: Pull complete 17:56:51 a7acece74701: Pull complete 17:56:51 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:56:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:56:51 ---> db6d94c90886 17:56:51 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:56:56 ---> Running in 253697697ca9 17:56:56 Removing intermediate container 253697697ca9 17:56:56 ---> e1e24390c22a 17:56:56 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:56:56 ---> Running in 71dc5ee46be6 17:56:56 Removing intermediate container 71dc5ee46be6 17:56:56 ---> 30cedf194fa9 17:56:56 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:56:56 ---> Running in 3de75c06714c 17:56:57 Removing intermediate container 3de75c06714c 17:56:57 ---> 8af17fd30027 17:56:57 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:56:57 ---> Running in 2c82e17d43ec 17:56:57 Removing intermediate container 2c82e17d43ec 17:56:57 ---> 996afb3e6cd4 17:56:57 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:56:57 ---> Running in f9695ea88532 17:56:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:56:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:56:57 Still waiting to schedule task 17:56:57 ‘prd-centos7-blackbox-4c-2g-7428’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:56:57 ‘prd-centos7-blackbox-4c-2g-7429’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:56:57 ‘prd-ubuntu20.04-docker-8c-8g-7771’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:56:57 ‘prd-ubuntu20.04-docker-8c-8g-7777’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:56:57 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7773’ is offline 17:56:57 (1/80) Installing mesa (21.3.9-r0) 17:56:57 (2/80) Installing libxau (1.0.9-r0) 17:56:57 (3/80) Installing libxdmcp (1.1.3-r0) 17:56:57 (4/80) Installing libxcb (1.15-r0) 17:56:57 (5/80) Installing libx11 (1.8-r0) 17:56:57 (6/80) Installing libxext (1.3.4-r0) 17:56:57 (7/80) Installing libxfixes (6.0.0-r0) 17:56:57 (8/80) Installing libxxf86vm (1.1.4-r2) 17:56:57 (9/80) Installing libpciaccess (0.16-r0) 17:56:57 (10/80) Installing libdrm (2.4.110-r0) 17:56:57 (11/80) Installing mesa-glapi (21.3.9-r0) 17:56:57 (12/80) Installing libxshmfence (1.3-r1) 17:56:57 (13/80) Installing mesa-gl (21.3.9-r0) 17:56:57 (14/80) Installing icu-data-full (71.1-r2) 17:56:57 (15/80) Installing libice (1.0.10-r0) 17:56:57 (16/80) Installing libuuid (2.38-r1) 17:56:57 (17/80) Installing libsm (1.2.3-r0) 17:56:57 (18/80) Installing libxt (1.2.1-r0) 17:56:57 (19/80) Installing libxmu (1.1.3-r0) 17:56:57 (20/80) Installing xset (1.2.4-r0) 17:56:57 (21/80) Installing xprop (1.2.5-r0) 17:56:57 (22/80) Installing xdg-utils (1.1.3-r3) 17:56:57 (23/80) Installing dbus-libs (1.14.4-r0) 17:56:57 (24/80) Installing libffi (3.4.2-r1) 17:56:57 (25/80) Installing libintl (0.21-r2) 17:56:57 (26/80) Installing libblkid (2.38-r1) 17:56:57 (27/80) Installing libmount (2.38-r1) 17:56:57 (28/80) Installing pcre (8.45-r2) 17:56:57 (29/80) Installing glib (2.72.1-r0) 17:56:57 (30/80) Installing icu-libs (71.1-r2) 17:56:57 (31/80) Installing libpcre2-16 (10.40-r0) 17:56:57 (32/80) Installing zstd-libs (1.5.2-r1) 17:56:57 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 17:56:58 (34/80) Installing hicolor-icon-theme (0.17-r1) 17:56:58 (35/80) Installing wayland-libs-server (1.20.0-r0) 17:56:58 (36/80) Installing mesa-gbm (21.3.9-r0) 17:56:58 (37/80) Installing wayland-libs-client (1.20.0-r0) 17:56:58 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 17:56:58 (39/80) Installing libxcomposite (0.4.5-r0) 17:56:58 (40/80) Installing libbz2 (1.0.8-r1) 17:56:58 (41/80) Installing libpng (1.6.37-r1) 17:56:58 (42/80) Installing freetype (2.12.1-r0) 17:56:58 (43/80) Installing fontconfig (2.14.0-r0) 17:56:58 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 17:56:58 (45/80) Installing wayland-libs-egl (1.20.0-r0) 17:56:58 (46/80) Installing xkeyboard-config (2.35.1-r0) 17:56:58 (47/80) Installing xz-libs (5.2.5-r1) 17:56:58 (48/80) Installing libxml2 (2.9.14-r2) 17:56:58 (49/80) Installing libxkbcommon (1.4.1-r0) 17:56:58 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 17:56:58 (51/80) Installing mesa-egl (21.3.9-r0) 17:56:58 (52/80) Installing avahi-libs (0.8-r6) 17:56:58 (53/80) Installing nettle (3.7.3-r0) 17:56:58 (54/80) Installing p11-kit (0.24.1-r0) 17:56:58 (55/80) Installing libtasn1 (4.18.0-r1) 17:56:58 (56/80) Installing libunistring (1.0-r0) 17:56:58 (57/80) Installing gnutls (3.7.7-r1) 17:56:58 (58/80) Installing cups-libs (2.4.2-r0) 17:56:58 (59/80) Installing graphite2 (1.3.14-r1) 17:56:58 (60/80) Installing harfbuzz (4.3.0-r0) 17:56:58 (61/80) Installing libevdev (1.12.1-r0) 17:56:58 (62/80) Installing mtdev (1.1.6-r0) 17:56:58 (63/80) Installing eudev-libs (3.2.11-r0) 17:56:58 (64/80) Installing libinput-libs (1.20.1-r0) 17:56:58 (65/80) Installing libjpeg-turbo (2.1.3-r1) 17:56:58 (66/80) Installing xcb-util-wm (0.4.1-r1) 17:56:58 (67/80) Installing xcb-util (0.4.0-r3) 17:56:58 (68/80) Installing xcb-util-image (0.4.0-r1) 17:56:58 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 17:56:58 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 17:56:58 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 17:56:58 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 17:56:58 (73/80) Installing v4l-utils-libs (1.22.1-r1) 17:56:58 (74/80) Installing v4l-utils (1.22.1-r1) 17:56:58 (75/80) Installing udev-init-scripts (35-r0) 17:56:58 Executing udev-init-scripts-35-r0.post-install 17:56:58 (76/80) Installing kmod-libs (29-r2) 17:56:58 (77/80) Installing eudev (3.2.11-r0) 17:56:58 (78/80) Installing eudev-dev (3.2.11-r0) 17:56:58 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:56:58 (80/80) Installing v4l-utils-dev (1.22.1-r1) 17:56:58 Executing busybox-1.35.0-r17.trigger 17:56:58 Executing eudev-3.2.11-r0.trigger 17:56:58 OK: 331 MiB in 131 packages 17:57:01 Removing intermediate container f9695ea88532 17:57:01 ---> 87a6f88339be 17:57:01 Step 8/13 : WORKDIR /device-usb-camera 17:57:01 ---> Running in b0c3b212dbc3 17:57:01 Removing intermediate container b0c3b212dbc3 17:57:01 ---> 82ab1e90a631 17:57:01 Step 9/13 : COPY go.mod vendor* ./ 17:57:01 ---> a4d5fafcf20e 17:57:01 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:57:02 ---> Running in 1ba7964b6468 17:57:34 Removing intermediate container 1ba7964b6468 17:57:34 ---> 5278165c0c3b 17:57:34 Step 11/13 : COPY . . 17:57:34 ---> e3449e55cfe0 17:57:34 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:57:34 ---> Running in 5a51bd621b5b 17:57:34  % Total % Received % Xferd Average Speed Time Time Time Current 17:57:34 Dload Upload Total Spent Left Speed 17:57:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 47191 0 --:--:-- --:--:-- --:--:-- 48272 17:57:34 Removing intermediate container 5a51bd621b5b 17:57:34 ---> 280fe71a314b 17:57:34 Step 13/13 : RUN ${MAKE} 17:57:34 ---> Running in 85284777cb0b 17:57:34 noop 17:57:34 Removing intermediate container 85284777cb0b 17:57:34 ---> 5a2181fcbc2a 17:57:34 Successfully built 5a2181fcbc2a 17:57:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:34 + docker inspect -f . ci-base-image-x86_64 17:57:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:34 prd-ubuntu20.04-docker-8c-8g-7774 does not seem to be running inside a container 17:57:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-162 -v /w/workspace/foundry_device-usb-camera_PR-162:/w/workspace/foundry_device-usb-camera_PR-162:rw,z -v /w/workspace/foundry_device-usb-camera_PR-162@tmp:/w/workspace/foundry_device-usb-camera_PR-162@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 ******** ci-base-image-x86_64 cat 17:57:34 $ docker top e3a41d2e30ee083bf8e66e020e9114477fb55a1ef2874ec2376520f8b4a6d1d6 -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:35 + go version 17:57:35 go version go1.18.7 linux/amd64 [Pipeline] } 17:57:35 $ docker stop --time=1 e3a41d2e30ee083bf8e66e020e9114477fb55a1ef2874ec2376520f8b4a6d1d6 17:57:36 $ docker rm -f --volumes e3a41d2e30ee083bf8e66e020e9114477fb55a1ef2874ec2376520f8b4a6d1d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:37 + docker inspect -f . ci-base-image-x86_64 17:57:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:37 prd-ubuntu20.04-docker-8c-8g-7774 does not seem to be running inside a container 17:57:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-162 -v /w/workspace/foundry_device-usb-camera_PR-162:/w/workspace/foundry_device-usb-camera_PR-162:rw,z -v /w/workspace/foundry_device-usb-camera_PR-162@tmp:/w/workspace/foundry_device-usb-camera_PR-162@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 ******** ci-base-image-x86_64 cat 17:57:37 $ docker top 710785246a27443ebaf89e8d47a1edabb16016826961a79aba82103dec4a21f1 -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:37 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-162 [Pipeline] fileExists [Pipeline] sh 17:57:38 + make test 17:57:38 go test ./... -coverprofile=coverage.out ./... 17:57:38 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:57:46 # github.com/edgexfoundry/device-sdk-go/v3/internal/common 17:57:46 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.28/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice 17:57:46 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 17:57:46 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:76:36: not enough arguments in call to clients.NewEventClient 17:57:46 have (string) 17:57:46 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:57:46 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:82:37: not enough arguments in call to clients.NewDeviceClient 17:57:46 have (string) 17:57:46 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:57:46 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:85:44: not enough arguments in call to clients.NewDeviceServiceClient 17:57:46 have (string) 17:57:46 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:57:46 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:88:44: not enough arguments in call to clients.NewDeviceProfileClient 17:57:46 have (string) 17:57:46 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:57:46 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:91:47: not enough arguments in call to clients.NewProvisionWatcherClient 17:57:46 have (string) 17:57:46 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:57:46 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:118:39: not enough arguments in call to clients.NewCommandClient 17:57:46 have (string) 17:57:46 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:57:46 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:130:43: not enough arguments in call to clients.NewNotificationClient 17:57:46 have (string) 17:57:46 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:57:46 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:133:43: not enough arguments in call to clients.NewSubscriptionClient 17:57:46 have (string) 17:57:46 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:57:46 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:140:39: not enough arguments in call to clients.NewIntervalClient 17:57:46 have (string) 17:57:46 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:57:46 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:143:45: not enough arguments in call to clients.NewIntervalActionClient 17:57:46 have (string) 17:57:46 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:57:46 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:143:45: too many errors 17:57:46 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 17:57:46 make: *** [Makefile:46: unittest] Error 2 [Pipeline] } 17:57:46 $ docker stop --time=1 710785246a27443ebaf89e8d47a1edabb16016826961a79aba82103dec4a21f1 17:57:48 $ docker rm -f --volumes 710785246a27443ebaf89e8d47a1edabb16016826961a79aba82103dec4a21f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:57:49 17:57:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:57:49 latest: Pulling from edgex-lftools-log-publisher 17:57:49 5eb5b503b376: Pulling fs layer 17:57:49 5c69ac0246d0: Pulling fs layer 17:57:49 ec43610c2a17: Pulling fs layer 17:57:49 3a2ae6a8a46f: Pulling fs layer 17:57:49 33b1e0a273af: Pulling fs layer 17:57:49 5d3b04190fa2: Pulling fs layer 17:57:49 2f39f015ded8: Pulling fs layer 17:57:49 3a2ae6a8a46f: Waiting 17:57:49 33b1e0a273af: Waiting 17:57:49 5d3b04190fa2: Waiting 17:57:49 2f39f015ded8: Waiting 17:57:49 5c69ac0246d0: Download complete 17:57:49 3a2ae6a8a46f: Verifying Checksum 17:57:49 3a2ae6a8a46f: Download complete 17:57:49 33b1e0a273af: Verifying Checksum 17:57:49 33b1e0a273af: Download complete 17:57:49 5d3b04190fa2: Verifying Checksum 17:57:49 ec43610c2a17: Verifying Checksum 17:57:49 ec43610c2a17: Download complete 17:57:49 5eb5b503b376: Verifying Checksum 17:57:49 5eb5b503b376: Download complete 17:57:50 2f39f015ded8: Download complete 17:57:50 5eb5b503b376: Pull complete 17:57:50 5c69ac0246d0: Pull complete 17:57:51 ec43610c2a17: Pull complete 17:57:51 3a2ae6a8a46f: Pull complete 17:57:51 33b1e0a273af: Pull complete 17:57:51 5d3b04190fa2: Pull complete 17:57:55 2f39f015ded8: Pull complete 17:57:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:57:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:57:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:55 prd-ubuntu20.04-docker-8c-8g-7774 does not seem to be running inside a container 17:57:55 $ 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/foundry_device-usb-camera_PR-162 -v /w/workspace/foundry_device-usb-camera_PR-162:/w/workspace/foundry_device-usb-camera_PR-162:rw,z -v /w/workspace/foundry_device-usb-camera_PR-162@tmp:/w/workspace/foundry_device-usb-camera_PR-162@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-lftools-log-publisher:latest cat 17:57:58 $ docker top 79ad7e622c4e5f723ace9047d03e6b22e3635cefa9f2fdeef5cb3eab931e7376 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:58 ---> job-cost.sh 17:57:58 lf-activate-venv: SKIPPING 17:57:58 INFO: No Stack... 17:57:59 INFO: Retrieving Pricing Info for: v3-standard-8 17:57:59 INFO: Archiving Costs [Pipeline] sh 17:57:59 + cat /w/workspace/foundry_device-usb-camera_PR-162/archives/cost.csv 17:57:59 + cut -d, -f6 [Pipeline] lock 17:57:59 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-162-2-stack-cost] 17:57:59 Resource [jenkins-edgexfoundry-device-usb-camera-PR-162-2-stack-cost] did not exist. Created. 17:57:59 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-162-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:58:00 + echo total: 0.2199999988079071 [Pipeline] stash 17:58:00 Stashed 1 file(s) [Pipeline] } 17:58:00 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-162-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:58:00 $ docker stop --time=1 79ad7e622c4e5f723ace9047d03e6b22e3635cefa9f2fdeef5cb3eab931e7376 17:58:01 $ docker rm -f --volumes 79ad7e622c4e5f723ace9047d03e6b22e3635cefa9f2fdeef5cb3eab931e7376 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:58:01 Failed in branch amd64 17:59:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7779 in /w/workspace/foundry_device-usb-camera_PR-162 [Pipeline] { [Pipeline] ws 17:59:13 Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout 17:59:13 Selected Git installation does not exist. Using Default 17:59:13 The recommended git tool is: NONE 17:59:19 using credential edgex-jenkins-ssh 17:59:19 Cloning the remote Git repository 17:59:19 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:59:20 > git init /w/workspace/device-usb-camera/2 # timeout=10 17:59:20 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:59:20 > git --version # timeout=10 17:59:20 > git --version # 'git version 2.25.1' 17:59:20 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:21 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:59:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:22 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:59:22 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:59:22 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:59:22 Merging remotes/origin/main commit 87705a392df95c720bda82ac1b9f5f1497326bc3 into PR head commit cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c 17:59:23 Merge succeeded, producing cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c 17:59:23 Checking out Revision cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c (PR-162) 17:59:23 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:59:22 > git config core.sparsecheckout # timeout=10 17:59:22 > git checkout -f cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c # timeout=10 17:59:22 > git remote # timeout=10 17:59:22 > git config --get remote.origin.url # timeout=10 17:59:22 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:22 > git merge 87705a392df95c720bda82ac1b9f5f1497326bc3 # timeout=10 17:59:22 > git rev-parse HEAD^{commit} # timeout=10 17:59:23 > git config core.sparsecheckout # timeout=10 17:59:23 > git checkout -f cfc32e1a9e5f0c2abedebecffda7b11ba2e8d93c # timeout=10 17:59:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:59:24 % Total % Received % Xferd Average Speed Time Time Time Current 17:59:24 Dload Upload Total Spent Left Speed 17:59:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 17:59:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:59:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:59:25 + sudo tee /etc/docker/daemon.new 17:59:25 { 17:59:25 "registry-mirrors": [ 17:59:25 "https://nexus3.edgexfoundry.org:10001" 17:59:25 ], 17:59:25 "bip": "10.250.0.254/24", 17:59:25 "hosts": [ 17:59:25 "tcp://0.0.0.0:5555", 17:59:25 "unix:///var/run/docker.sock" 17:59:25 ], 17:59:25 "mtu": 1458, 17:59:25 "selinux-enabled": true, 17:59:25 "seccomp-profile": "/etc/docker/seccomp.json" 17:59:25 } [Pipeline] sh 17:59:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:59:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:59:44 provisioning config files... 17:59:44 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config10964135132784183564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:59:44 ---> docker-login.sh 17:59:44 nexus3.edgexfoundry.org:10001 17:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:45 Configure a credential helper to remove this warning. See 17:59:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:45 17:59:45 Login Succeeded 17:59:45 nexus3.edgexfoundry.org:10002 17:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:46 Configure a credential helper to remove this warning. See 17:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:46 17:59:46 Login Succeeded 17:59:46 nexus3.edgexfoundry.org:10003 17:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:46 Configure a credential helper to remove this warning. See 17:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:46 17:59:46 Login Succeeded 17:59:46 nexus3.edgexfoundry.org:10004 17:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:46 Configure a credential helper to remove this warning. See 17:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:46 17:59:46 Login Succeeded 17:59:46 docker.io 17:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:47 Configure a credential helper to remove this warning. See 17:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:47 17:59:47 Login Succeeded 17:59:47 ---> docker-login.sh ends [Pipeline] } 17:59:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:59:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:59:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:59:47 ========================================================= 17:59:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:59:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:48 + 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 . 17:59:48 Sending build context to Docker daemon 1.134MB 17:59:48 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:59:48 Step 2/13 : FROM ${BASE} AS builder 17:59:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:59:48 9b18e9b68314: Pulling fs layer 17:59:48 35d82f9e3411: Pulling fs layer 17:59:48 e16973657156: Pulling fs layer 17:59:48 fc693d55d65f: Pulling fs layer 17:59:48 7e9fc2657dce: Pulling fs layer 17:59:48 dda99020689f: Pulling fs layer 17:59:48 db1c61fa0a46: Pulling fs layer 17:59:48 891c053d2c06: Pulling fs layer 17:59:48 fc693d55d65f: Waiting 17:59:48 dda99020689f: Waiting 17:59:48 7e9fc2657dce: Waiting 17:59:48 891c053d2c06: Waiting 17:59:48 e16973657156: Verifying Checksum 17:59:48 e16973657156: Download complete 17:59:48 35d82f9e3411: Verifying Checksum 17:59:48 35d82f9e3411: Download complete 17:59:48 7e9fc2657dce: Verifying Checksum 17:59:48 7e9fc2657dce: Download complete 17:59:48 dda99020689f: Verifying Checksum 17:59:48 dda99020689f: Download complete 17:59:48 9b18e9b68314: Verifying Checksum 17:59:48 9b18e9b68314: Download complete 17:59:50 9b18e9b68314: Pull complete 17:59:50 891c053d2c06: Verifying Checksum 17:59:50 891c053d2c06: Download complete 17:59:50 35d82f9e3411: Pull complete 17:59:51 e16973657156: Pull complete 17:59:51 db1c61fa0a46: Verifying Checksum 17:59:51 db1c61fa0a46: Download complete 17:59:52 fc693d55d65f: Verifying Checksum 17:59:52 fc693d55d65f: Download complete 18:00:04 fc693d55d65f: Pull complete 18:00:04 7e9fc2657dce: Pull complete 18:00:04 dda99020689f: Pull complete 18:00:10 db1c61fa0a46: Pull complete 18:00:12 891c053d2c06: Pull complete 18:00:12 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:00:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:00:12 ---> f96f9c87975a 18:00:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:00:14 ---> Running in 642237de6fa0 18:00:15 Removing intermediate container 642237de6fa0 18:00:15 ---> 2e2a652acf05 18:00:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:00:15 ---> Running in 0258a3a7d3f4 18:00:15 Removing intermediate container 0258a3a7d3f4 18:00:15 ---> aedace9b3e04 18:00:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:00:15 ---> Running in 332971c1a603 18:00:16 Removing intermediate container 332971c1a603 18:00:16 ---> 4ae082a9a457 18:00:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:00:16 ---> Running in d9358670527f 18:00:16 Removing intermediate container d9358670527f 18:00:16 ---> 4bb36e61f3b6 18:00:16 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:00:16 ---> Running in e942585095ff 18:00:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:00:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:00:19 (1/14) Installing libintl (0.21-r2) 18:00:19 (2/14) Installing eudev-libs (3.2.11-r0) 18:00:19 (3/14) Installing libjpeg-turbo (2.1.3-r1) 18:00:19 (4/14) Installing v4l-utils-libs (1.22.1-r1) 18:00:19 (5/14) Installing v4l-utils (1.22.1-r1) 18:00:19 (6/14) Installing udev-init-scripts (35-r0) 18:00:19 Executing udev-init-scripts-35-r0.post-install 18:00:19 (7/14) Installing libblkid (2.38-r1) 18:00:19 (8/14) Installing xz-libs (5.2.5-r1) 18:00:19 (9/14) Installing zstd-libs (1.5.2-r1) 18:00:19 (10/14) Installing kmod-libs (29-r2) 18:00:19 (11/14) Installing eudev (3.2.11-r0) 18:00:19 (12/14) Installing eudev-dev (3.2.11-r0) 18:00:19 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 18:00:19 (14/14) Installing v4l-utils-dev (1.22.1-r1) 18:00:19 Executing busybox-1.35.0-r17.trigger 18:00:19 Executing eudev-3.2.11-r0.trigger 18:00:19 OK: 228 MiB in 65 packages 18:00:21 Removing intermediate container e942585095ff 18:00:21 ---> 1b38684ebba2 18:00:21 Step 8/13 : WORKDIR /device-usb-camera 18:00:21 ---> Running in 0ba78415ee06 18:00:21 Removing intermediate container 0ba78415ee06 18:00:21 ---> 9ac3b7701734 18:00:21 Step 9/13 : COPY go.mod vendor* ./ 18:00:22 ---> cc3b2178f8f3 18:00:22 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:00:22 ---> Running in 6e44836271b8 18:01:44 Removing intermediate container 6e44836271b8 18:01:44 ---> 1550f064c695 18:01:44 Step 11/13 : COPY . . 18:01:44 ---> 478d0bd8dccd 18:01:44 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:01:44 ---> Running in d1ab91c946d9 18:01:44   % Total % Received % Xferd Average Speed Time Time Time Current 18:01:44  Dload Upload Total Spent Left Speed 18:01:44 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11664 0 --:--:-- --:--:-- --:--:-- 11800 18:01:44 Removing intermediate container d1ab91c946d9 18:01:44 ---> 704ebe34bded 18:01:44 Step 13/13 : RUN ${MAKE} 18:01:44 ---> Running in ca291f16cf59 18:01:44 noop 18:01:44 Removing intermediate container ca291f16cf59 18:01:44 ---> cab400ce3517 18:01:44 Successfully built cab400ce3517 18:01:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:44 + docker inspect -f . ci-base-image-arm64 18:01:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:44 prd-ubuntu20.04-docker-arm64-4c-16g-7779 does not seem to be running inside a container 18:01:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:01:46 $ docker top 06d79dad3a24460adc5b4062821644dfe6361855284c0ffc7b9a1e1525d78a0d -eo pid,comm [Pipeline] { [Pipeline] sh 18:01:47 + go version 18:01:47 go version go1.18.7 linux/arm64 [Pipeline] } 18:01:47 $ docker stop --time=1 06d79dad3a24460adc5b4062821644dfe6361855284c0ffc7b9a1e1525d78a0d 18:01:48 $ docker rm -f --volumes 06d79dad3a24460adc5b4062821644dfe6361855284c0ffc7b9a1e1525d78a0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:49 + docker inspect -f . ci-base-image-arm64 18:01:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:49 prd-ubuntu20.04-docker-arm64-4c-16g-7779 does not seem to be running inside a container 18:01:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:01:51 $ docker top bf28fc109bdb9160e1c79cbbfa6b0cbf61ceab8e3f15ab261a189fc4e48449ac -eo pid,comm [Pipeline] { [Pipeline] sh 18:01:51 + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh 18:01:52 + make test 18:01:52 go test ./... -coverprofile=coverage.out ./... 18:01:54 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:03:16 # github.com/edgexfoundry/device-sdk-go/v3/internal/common 18:03:16 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.28/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice 18:03:16 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 18:03:16 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:76:36: not enough arguments in call to clients.NewEventClient 18:03:16 have (string) 18:03:16 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 18:03:16 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:82:37: not enough arguments in call to clients.NewDeviceClient 18:03:16 have (string) 18:03:16 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 18:03:16 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:85:44: not enough arguments in call to clients.NewDeviceServiceClient 18:03:16 have (string) 18:03:16 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 18:03:16 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:88:44: not enough arguments in call to clients.NewDeviceProfileClient 18:03:16 have (string) 18:03:16 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 18:03:16 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:91:47: not enough arguments in call to clients.NewProvisionWatcherClient 18:03:16 have (string) 18:03:16 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 18:03:16 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:118:39: not enough arguments in call to clients.NewCommandClient 18:03:16 have (string) 18:03:16 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 18:03:16 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:130:43: not enough arguments in call to clients.NewNotificationClient 18:03:16 have (string) 18:03:16 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 18:03:16 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:133:43: not enough arguments in call to clients.NewSubscriptionClient 18:03:16 have (string) 18:03:16 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 18:03:16 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:140:39: not enough arguments in call to clients.NewIntervalClient 18:03:16 have (string) 18:03:16 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 18:03:16 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:143:45: not enough arguments in call to clients.NewIntervalActionClient 18:03:16 have (string) 18:03:16 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 18:03:16 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.24/bootstrap/handlers/clients.go:143:45: too many errors 18:03:38 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 18:03:38 make: *** [Makefile:46: unittest] Error 2 [Pipeline] } 18:03:38 $ docker stop --time=1 bf28fc109bdb9160e1c79cbbfa6b0cbf61ceab8e3f15ab261a189fc4e48449ac 18:03:40 $ docker rm -f --volumes bf28fc109bdb9160e1c79cbbfa6b0cbf61ceab8e3f15ab261a189fc4e48449ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:03:41 18:03:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:03:43 arm64: Pulling from edgex-lftools-log-publisher 18:03:43 8998bd30e6a1: Pulling fs layer 18:03:43 04944245beec: Pulling fs layer 18:03:43 699f458cf7ca: Pulling fs layer 18:03:43 765212b225bb: Pulling fs layer 18:03:43 f23df028b6ca: Pulling fs layer 18:03:43 d65c8cfc05b1: Pulling fs layer 18:03:43 2437ff75d9bd: Pulling fs layer 18:03:43 f23df028b6ca: Waiting 18:03:43 d65c8cfc05b1: Waiting 18:03:43 2437ff75d9bd: Waiting 18:03:43 765212b225bb: Waiting 18:03:43 04944245beec: Verifying Checksum 18:03:43 04944245beec: Download complete 18:03:43 765212b225bb: Download complete 18:03:43 f23df028b6ca: Verifying Checksum 18:03:43 f23df028b6ca: Download complete 18:03:43 d65c8cfc05b1: Download complete 18:03:44 699f458cf7ca: Verifying Checksum 18:03:44 699f458cf7ca: Download complete 18:03:44 8998bd30e6a1: Verifying Checksum 18:03:44 8998bd30e6a1: Download complete 18:03:47 2437ff75d9bd: Verifying Checksum 18:03:47 2437ff75d9bd: Download complete 18:03:49 8998bd30e6a1: Pull complete 18:03:50 04944245beec: Pull complete 18:03:52 699f458cf7ca: Pull complete 18:03:52 765212b225bb: Pull complete 18:03:53 f23df028b6ca: Pull complete 18:03:53 d65c8cfc05b1: Pull complete 18:04:15 2437ff75d9bd: Pull complete 18:04:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:04:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:15 prd-ubuntu20.04-docker-arm64-4c-16g-7779 does not seem to be running inside a container 18:04:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:04:17 $ docker top c4708b3170ab511a99b5567b3de75c749625bb09de45a94e2f6ed3541c1276cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:18 ---> job-cost.sh 18:04:18 lf-activate-venv: SKIPPING 18:04:18 INFO: No Stack... 18:04:18 INFO: Retrieving Pricing Info for: v3-standard-4 18:04:19 INFO: Archiving Costs [Pipeline] sh 18:04:20 + cat /w/workspace/device-usb-camera/2/archives/cost.csv 18:04:20 + cut -d, -f6 [Pipeline] lock 18:04:20 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-162-2-stack-cost] 18:04:20 Resource [jenkins-edgexfoundry-device-usb-camera-PR-162-2-stack-cost] did not exist. Created. 18:04:20 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-162-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:20 /w/workspace/device-usb-camera/2@tmp/durable-ef12b33f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:04:21 + echo total: 0.10999999940395355 [Pipeline] stash 18:04:21 Warning: overwriting stash ‘stack-cost’ 18:04:21 Stashed 1 file(s) [Pipeline] } 18:04:21 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-162-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:04:22 $ docker stop --time=1 c4708b3170ab511a99b5567b3de75c749625bb09de45a94e2f6ed3541c1276cc 18:04:23 $ docker rm -f --volumes c4708b3170ab511a99b5567b3de75c749625bb09de45a94e2f6ed3541c1276cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:04:23 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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:04:24 + [ -d /w/workspace/foundry_device-usb-camera_PR-162/archives ] 18:04:24 + ls -al /w/workspace/foundry_device-usb-camera_PR-162/archives 18:04:24 total 16 18:04:24 drwxr-xr-x 3 root root 4096 Feb 28 17:57 . 18:04:24 drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 17:57 .. 18:04:24 drwxr-xr-x 2 root root 4096 Feb 28 17:57 cost 18:04:24 -rw-r--r-- 1 root root 89 Feb 28 17:57 cost.csv 18:04:24 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-162/archives 18:04:24 + ls -al /w/workspace/foundry_device-usb-camera_PR-162/archives 18:04:24 total 16 18:04:24 drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 17:57 . 18:04:24 drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 17:57 .. 18:04:24 drwxr-xr-x 2 jenkins jenkins 4096 Feb 28 17:57 cost 18:04:24 -rw-r--r-- 1 jenkins jenkins 89 Feb 28 17:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:04:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:04:25 ---> package-listing.sh 18:04:25 ++ facter osfamily 18:04:25 ++ tr '[:upper:]' '[:lower:]' 18:04:25 + OS_FAMILY=debian 18:04:25 + workspace=/w/workspace/foundry_device-usb-camera_PR-162 18:04:25 + START_PACKAGES=/tmp/packages_start.txt 18:04:25 + END_PACKAGES=/tmp/packages_end.txt 18:04:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:04:25 + PACKAGES=/tmp/packages_start.txt 18:04:25 + '[' /w/workspace/foundry_device-usb-camera_PR-162 ']' 18:04:25 + PACKAGES=/tmp/packages_end.txt 18:04:25 + case "${OS_FAMILY}" in 18:04:25 + dpkg -l 18:04:25 + grep '^ii' 18:04:25 + '[' -f /tmp/packages_start.txt ']' 18:04:25 + '[' -f /tmp/packages_end.txt ']' 18:04:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:04:25 + '[' /w/workspace/foundry_device-usb-camera_PR-162 ']' 18:04:25 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-162/archives/ 18:04:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-162/archives/ [Pipeline] echo 18:04:25 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/foundry_device-usb-camera_PR-162/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:04:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:26 prd-ubuntu20.04-docker-8c-8g-7774 does not seem to be running inside a container 18:04:26 $ 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/foundry_device-usb-camera_PR-162/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-162 -v /w/workspace/foundry_device-usb-camera_PR-162:/w/workspace/foundry_device-usb-camera_PR-162:rw,z -v /w/workspace/foundry_device-usb-camera_PR-162@tmp:/w/workspace/foundry_device-usb-camera_PR-162@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:04:27 $ docker top a5a9e783120f945a553cb7caf3df58506e43e9d8626676bb0808a49d86bb2e7c -eo pid,comm [Pipeline] { [Pipeline] sh 18:04:27 + touch /tmp/pre-build-complete [Pipeline] sh 18:04:27 + mkdir -p /var/log/sysstat [Pipeline] sh 18:04:27 + ls /var/log/sa-host 18:04:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:04:28 provisioning config files... 18:04:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-162@tmp/config2658627043088175319tmp [Pipeline] { [Pipeline] echo 18:04:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:04:28 ---> create-netrc.sh [Pipeline] } 18:04:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:04:28 ---> python-tools-install.sh [Pipeline] echo 18:04:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:04:29 ---> sudo-logs.sh 18:04:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:04:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:04:29 ---> job-cost.sh 18:04:29 lf-activate-venv: SKIPPING 18:04:29 DEBUG: total: 0.2199999988079071 18:04:29 INFO: Retrieving Stack Cost... 18:04:29 INFO: Retrieving Pricing Info for: v3-standard-8 18:04:29 INFO: Archiving Costs [Pipeline] echo 18:04:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:04:30 ---> logs-deploy.sh 18:04:30 lf-activate-venv: SKIPPING 18:04:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-162/2 18:04:30 INFO: archiving workspace using pattern(s): 18:04:31 Archives upload complete. 18:04:31 INFO: archiving logs to Nexus