Pull request #162 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8481b428beb9b49af7e07dc60811ab8d2ed29526+8b62b64e9680a6df61e12b3c0a704648afc4bcdc (aa11872b88e4f03995b72aaf8fdf0c671ab596f3) 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-ssh9294004760486609480.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-ssh15817438321031040091.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-162/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-ssh16357573496615257897.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh4717342983966622517.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh4769221022407309201.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-162/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-ssh2397402707152052623.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-7754’ Running on prd-ubuntu20.04-docker-8c-8g-7762 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 Merging remotes/origin/main commit 8b62b64e9680a6df61e12b3c0a704648afc4bcdc into PR head commit 8481b428beb9b49af7e07dc60811ab8d2ed29526 > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 8481b428beb9b49af7e07dc60811ab8d2ed29526 # 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 8b62b64e9680a6df61e12b3c0a704648afc4bcdc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing 8481b428beb9b49af7e07dc60811ab8d2ed29526 Checking out Revision 8481b428beb9b49af7e07dc60811ab8d2ed29526 (PR-162) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:56:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:56:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:56:32 ========================================================= 16:56:32 EdgeX Global Pipelines Version Info 16:56:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 8481b428beb9b49af7e07dc60811ab8d2ed29526 # timeout=10 16:56:33 ------------------- 16:56:33 stable info: 16:56:33 ------------------- 16:56:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:56:33 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:56:33 Message: update stable to v1.0.244 16:56:34 ------------------- 16:56:34 experimental info: 16:56:34 ------------------- 16:56:34 Commited By: **** collab-it+edgex@linuxfoundation.org 16:56:34 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:56:34 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:56:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-162 [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-162 [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-162 [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8481b428beb9b49af7e07dc60811ab8d2ed29526 [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8481b42 [Pipeline] echo 16:56:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:56:35 provisioning config files... 16:56:35 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-162@tmp/config2383099664263298634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:36 ---> docker-login.sh 16:56:36 nexus3.edgexfoundry.org:10001 16:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:36 Configure a credential helper to remove this warning. See 16:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:36 16:56:36 Login Succeeded 16:56:36 nexus3.edgexfoundry.org:10002 16:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:36 Configure a credential helper to remove this warning. See 16:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:36 16:56:36 Login Succeeded 16:56:36 nexus3.edgexfoundry.org:10003 16:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:36 Configure a credential helper to remove this warning. See 16:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:36 16:56:36 Login Succeeded 16:56:36 nexus3.edgexfoundry.org:10004 16:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:36 Configure a credential helper to remove this warning. See 16:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:36 16:56:36 Login Succeeded 16:56:36 docker.io 16:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:36 Configure a credential helper to remove this warning. See 16:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:36 16:56:36 Login Succeeded 16:56:36 ---> docker-login.sh ends [Pipeline] } 16:56:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:56:37 + git rev-list -1 --merges 8481b428beb9b49af7e07dc60811ab8d2ed29526~1..8481b428beb9b49af7e07dc60811ab8d2ed29526 [Pipeline] echo 16:56:37 -----------> git rev-list -1 --merges 8481b428beb9b49af7e07dc60811ab8d2ed29526~1..8481b428beb9b49af7e07dc60811ab8d2ed29526 8481b428beb9b49af7e07dc60811ab8d2ed29526 [false] [Pipeline] sh 16:56:38 + git log --format=format:%s -1 8481b428beb9b49af7e07dc60811ab8d2ed29526 [Pipeline] echo 16:56:38 ========================================================= 16:56:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:56:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:56:38 + git log --format=format:%s -1 8481b428beb9b49af7e07dc60811ab8d2ed29526 [Pipeline] echo 16:56:38 [semverPrep] GIT_COMMIT: 8481b428beb9b49af7e07dc60811ab8d2ed29526, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 16:56:38 [semverPrep] This is not a build commit. [Pipeline] sh 16:56:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:56:38 + grep -v github /etc/ssh/ssh_known_hosts 16:56:38 + [ -e /tmp/ssh_known_hosts ] 16:56:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:56:38 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 16:56:38 tee -a /etc/ssh/ssh_known_hosts 16:56:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:56:39 16:56:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:56:39 0.1.4: Pulling from edgex-devops/py-git-semver 16:56:39 b85a868b505f: Pulling fs layer 16:56:39 e2be974225ed: Pulling fs layer 16:56:39 339a4e72a1f5: Pulling fs layer 16:56:39 988bab9f4d93: Pulling fs layer 16:56:39 1469e6f7b9e6: Pulling fs layer 16:56:39 eaf3925da568: Pulling fs layer 16:56:39 bab4dde63d76: Pulling fs layer 16:56:39 bde34c3a00c8: Pulling fs layer 16:56:39 b352a97aabf1: Pulling fs layer 16:56:39 4872d77fe225: Pulling fs layer 16:56:39 5851b861e8e6: Pulling fs layer 16:56:39 5851b861e8e6: Waiting 16:56:39 988bab9f4d93: Waiting 16:56:39 bde34c3a00c8: Waiting 16:56:39 1469e6f7b9e6: Waiting 16:56:39 eaf3925da568: Waiting 16:56:39 bab4dde63d76: Waiting 16:56:39 4872d77fe225: Waiting 16:56:39 b352a97aabf1: Waiting 16:56:39 e2be974225ed: Download complete 16:56:39 988bab9f4d93: Download complete 16:56:39 1469e6f7b9e6: Verifying Checksum 16:56:39 1469e6f7b9e6: Download complete 16:56:39 eaf3925da568: Download complete 16:56:39 339a4e72a1f5: Verifying Checksum 16:56:39 339a4e72a1f5: Download complete 16:56:39 bde34c3a00c8: Download complete 16:56:39 b352a97aabf1: Download complete 16:56:39 4872d77fe225: Verifying Checksum 16:56:39 4872d77fe225: Download complete 16:56:39 5851b861e8e6: Download complete 16:56:39 b85a868b505f: Verifying Checksum 16:56:39 b85a868b505f: Download complete 16:56:40 bab4dde63d76: Verifying Checksum 16:56:40 bab4dde63d76: Download complete 16:56:41 b85a868b505f: Pull complete 16:56:41 e2be974225ed: Pull complete 16:56:41 339a4e72a1f5: Pull complete 16:56:41 988bab9f4d93: Pull complete 16:56:42 1469e6f7b9e6: Pull complete 16:56:42 eaf3925da568: Pull complete 16:56:44 bab4dde63d76: Pull complete 16:56:44 bde34c3a00c8: Pull complete 16:56:44 b352a97aabf1: Pull complete 16:56:44 4872d77fe225: Pull complete 16:56:44 5851b861e8e6: Pull complete 16:56:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:56:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:56:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:56:45 prd-ubuntu20.04-docker-8c-8g-7762 does not seem to be running inside a container 16:56:45 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:56:48 $ docker top 39a703756da5bb10870ba9038d9802a685d2ca6f1ec0beb80b5b421b3bde982f -eo pid,comm 16:56:48 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). 16:56:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:56:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:56:48 [ssh-agent] Looking for ssh-agent implementation... 16:56:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:56:48 $ docker exec 39a703756da5bb10870ba9038d9802a685d2ca6f1ec0beb80b5b421b3bde982f ssh-agent 16:56:48 SSH_AUTH_SOCK=/tmp/ssh-2gaV9S1TWW1Z/agent.33 16:56:48 SSH_AGENT_PID=39 16:56:48 Running ssh-add (command line suppressed) 16:56:49 Identity added: /w/workspace/foundry_device-usb-camera_PR-162@tmp/private_key_3407866783281127852.key (/w/workspace/foundry_device-usb-camera_PR-162@tmp/private_key_3407866783281127852.key) 16:56:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:56:49 + git tag --points-at HEAD [Pipeline] } 16:56:49 $ docker exec --env ******** --env ******** 39a703756da5bb10870ba9038d9802a685d2ca6f1ec0beb80b5b421b3bde982f ssh-agent -k 16:56:49 unset SSH_AUTH_SOCK; 16:56:49 unset SSH_AGENT_PID; 16:56:49 echo Agent pid 39 killed; 16:56:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:56:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:56:49 [ssh-agent] Looking for ssh-agent implementation... 16:56:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:56:49 $ docker exec 39a703756da5bb10870ba9038d9802a685d2ca6f1ec0beb80b5b421b3bde982f ssh-agent 16:56:49 SSH_AUTH_SOCK=/tmp/ssh-jFpcG9UGcGSX/agent.71 16:56:49 SSH_AGENT_PID=77 16:56:49 Running ssh-add (command line suppressed) 16:56:49 Identity added: /w/workspace/foundry_device-usb-camera_PR-162@tmp/private_key_13814410081497100356.key (/w/workspace/foundry_device-usb-camera_PR-162@tmp/private_key_13814410081497100356.key) 16:56:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:56:50 + git semver init 16:56:50 2023-02-28 16:56:50,486 [run_init] DEBUG init version:0.0.0 force:False 16:56:50 2023-02-28 16:56:50,487 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-162/.semver 16:56:50 2023-02-28 16:56:50,487 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-162/.semver 16:56:50 2023-02-28 16:56:50,487 [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) 16:56:51 2023-02-28 16:56:51,299 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-162/.git/info/exclude 16:56:51 2023-02-28 16:56:51,300 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-162/.semver/PR-162 with force:False 16:56:51 2023-02-28 16:56:51,300 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-162/.semver/PR-162 16:56:51 2023-02-28 16:56:51,304 [execute] INFO git cat-file --batch-check 16:56:51 2023-02-28 16:56:51,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-162/.semver, universal_newlines=False, shell=None, istream=) 16:56:51 2023-02-28 16:56:51,309 [execute] INFO git cat-file --batch 16:56:51 2023-02-28 16:56:51,309 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-162/.semver, universal_newlines=False, shell=None, istream=) 16:56:51 2023-02-28 16:56:51,314 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-162/.semver/PR-162 16:56:51 0.0.0 [Pipeline] } 16:56:51 $ docker exec --env ******** --env ******** 39a703756da5bb10870ba9038d9802a685d2ca6f1ec0beb80b5b421b3bde982f ssh-agent -k 16:56:51 unset SSH_AUTH_SOCK; 16:56:51 unset SSH_AGENT_PID; 16:56:51 echo Agent pid 77 killed; 16:56:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:56:52 + git semver [Pipeline] } 16:56:52 $ docker stop --time=1 39a703756da5bb10870ba9038d9802a685d2ca6f1ec0beb80b5b421b3bde982f 16:56:53 $ docker rm -f --volumes 39a703756da5bb10870ba9038d9802a685d2ca6f1ec0beb80b5b421b3bde982f [Pipeline] // withDockerContainer [Pipeline] sh 16:56:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:56:54 Stashed 1 file(s) [Pipeline] echo 16:56:54 [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 16:56:54 provisioning config files... 16:56:55 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-162@tmp/config15458911511965771472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:55 ---> docker-login.sh 16:56:55 nexus3.edgexfoundry.org:10001 16:56:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:55 Configure a credential helper to remove this warning. See 16:56:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:55 16:56:55 Login Succeeded 16:56:55 nexus3.edgexfoundry.org:10002 16:56:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:55 Configure a credential helper to remove this warning. See 16:56:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:55 16:56:55 Login Succeeded 16:56:55 nexus3.edgexfoundry.org:10003 16:56:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:55 Configure a credential helper to remove this warning. See 16:56:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:55 16:56:55 Login Succeeded 16:56:55 nexus3.edgexfoundry.org:10004 16:56:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:55 Configure a credential helper to remove this warning. See 16:56:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:55 16:56:55 Login Succeeded 16:56:55 docker.io 16:56:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:55 Configure a credential helper to remove this warning. See 16:56:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:55 16:56:55 Login Succeeded 16:56:55 ---> docker-login.sh ends [Pipeline] } 16:56:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:56:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:56:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:56:56 ========================================================= 16:56:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:56:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:56 + 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 . 16:56:56 Sending build context to Docker daemon 1.742MB 16:56:56 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:56:56 Step 2/13 : FROM ${BASE} AS builder 16:56:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:56:56 213ec9aee27d: Pulling fs layer 16:56:56 4583459ba037: Pulling fs layer 16:56:56 93c1e223e6f2: Pulling fs layer 16:56:56 53926ce57604: Pulling fs layer 16:56:56 21b2b0c7a3f4: Pulling fs layer 16:56:56 22ff95d597cd: Pulling fs layer 16:56:56 12d6caf4c0d1: Pulling fs layer 16:56:56 96b7cbca73a9: Pulling fs layer 16:56:56 a7acece74701: Pulling fs layer 16:56:56 21b2b0c7a3f4: Waiting 16:56:56 22ff95d597cd: Waiting 16:56:56 96b7cbca73a9: Waiting 16:56:56 12d6caf4c0d1: Waiting 16:56:56 a7acece74701: Waiting 16:56:56 53926ce57604: Waiting 16:56:56 93c1e223e6f2: Verifying Checksum 16:56:56 93c1e223e6f2: Download complete 16:56:56 4583459ba037: Verifying Checksum 16:56:56 4583459ba037: Download complete 16:56:56 21b2b0c7a3f4: Download complete 16:56:56 22ff95d597cd: Verifying Checksum 16:56:56 22ff95d597cd: Download complete 16:56:56 213ec9aee27d: Verifying Checksum 16:56:56 213ec9aee27d: Download complete 16:56:56 12d6caf4c0d1: Verifying Checksum 16:56:56 12d6caf4c0d1: Download complete 16:56:56 213ec9aee27d: Pull complete 16:56:57 4583459ba037: Pull complete 16:56:57 93c1e223e6f2: Pull complete 16:56:57 a7acece74701: Verifying Checksum 16:56:57 a7acece74701: Download complete 16:56:57 53926ce57604: Verifying Checksum 16:56:57 53926ce57604: Download complete 16:56:57 96b7cbca73a9: Verifying Checksum 16:56:57 96b7cbca73a9: Download complete 16:57:01 53926ce57604: Pull complete 16:57:01 21b2b0c7a3f4: Pull complete 16:57:01 22ff95d597cd: Pull complete 16:57:02 12d6caf4c0d1: Pull complete 16:57:04 96b7cbca73a9: Pull complete 16:57:05 a7acece74701: Pull complete 16:57:05 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:57:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:57:05 ---> db6d94c90886 16:57:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:57:07 ---> Running in 648c8d1de70e 16:57:07 Removing intermediate container 648c8d1de70e 16:57:07 ---> c9081e3eb1a0 16:57:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:57:07 ---> Running in 5490ad4a35ab 16:57:07 Removing intermediate container 5490ad4a35ab 16:57:07 ---> 48c9edab95ac 16:57:07 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 16:57:07 ---> Running in b713b5156d29 16:57:07 Removing intermediate container b713b5156d29 16:57:07 ---> 8defed9fc72c 16:57:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:57:07 ---> Running in 4660b2c054a0 16:57:08 Removing intermediate container 4660b2c054a0 16:57:08 ---> 632d54aac72d 16:57:08 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:57:08 ---> Running in 1b25ee6c2f46 16:57:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:57:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:57:08 (1/80) Installing mesa (21.3.9-r0) 16:57:08 (2/80) Installing libxau (1.0.9-r0) 16:57:08 (3/80) Installing libxdmcp (1.1.3-r0) 16:57:08 (4/80) Installing libxcb (1.15-r0) 16:57:08 (5/80) Installing libx11 (1.8-r0) 16:57:08 (6/80) Installing libxext (1.3.4-r0) 16:57:08 (7/80) Installing libxfixes (6.0.0-r0) 16:57:08 (8/80) Installing libxxf86vm (1.1.4-r2) 16:57:08 (9/80) Installing libpciaccess (0.16-r0) 16:57:08 (10/80) Installing libdrm (2.4.110-r0) 16:57:08 (11/80) Installing mesa-glapi (21.3.9-r0) 16:57:08 (12/80) Installing libxshmfence (1.3-r1) 16:57:08 (13/80) Installing mesa-gl (21.3.9-r0) 16:57:08 (14/80) Installing icu-data-full (71.1-r2) 16:57:09 (15/80) Installing libice (1.0.10-r0) 16:57:09 (16/80) Installing libuuid (2.38-r1) 16:57:09 (17/80) Installing libsm (1.2.3-r0) 16:57:09 (18/80) Installing libxt (1.2.1-r0) 16:57:09 (19/80) Installing libxmu (1.1.3-r0) 16:57:09 (20/80) Installing xset (1.2.4-r0) 16:57:09 (21/80) Installing xprop (1.2.5-r0) 16:57:09 (22/80) Installing xdg-utils (1.1.3-r3) 16:57:09 (23/80) Installing dbus-libs (1.14.4-r0) 16:57:09 (24/80) Installing libffi (3.4.2-r1) 16:57:09 (25/80) Installing libintl (0.21-r2) 16:57:09 (26/80) Installing libblkid (2.38-r1) 16:57:09 (27/80) Installing libmount (2.38-r1) 16:57:09 (28/80) Installing pcre (8.45-r2) 16:57:09 (29/80) Installing glib (2.72.1-r0) 16:57:09 (30/80) Installing icu-libs (71.1-r2) 16:57:09 (31/80) Installing libpcre2-16 (10.40-r0) 16:57:09 (32/80) Installing zstd-libs (1.5.2-r1) 16:57:09 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 16:57:09 (34/80) Installing hicolor-icon-theme (0.17-r1) 16:57:09 (35/80) Installing wayland-libs-server (1.20.0-r0) 16:57:09 (36/80) Installing mesa-gbm (21.3.9-r0) 16:57:09 (37/80) Installing wayland-libs-client (1.20.0-r0) 16:57:09 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 16:57:09 (39/80) Installing libxcomposite (0.4.5-r0) 16:57:09 (40/80) Installing libbz2 (1.0.8-r1) 16:57:09 (41/80) Installing libpng (1.6.37-r1) 16:57:09 (42/80) Installing freetype (2.12.1-r0) 16:57:09 (43/80) Installing fontconfig (2.14.0-r0) 16:57:09 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 16:57:09 (45/80) Installing wayland-libs-egl (1.20.0-r0) 16:57:09 (46/80) Installing xkeyboard-config (2.35.1-r0) 16:57:09 (47/80) Installing xz-libs (5.2.5-r1) 16:57:09 (48/80) Installing libxml2 (2.9.14-r2) 16:57:09 (49/80) Installing libxkbcommon (1.4.1-r0) 16:57:09 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 16:57:09 (51/80) Installing mesa-egl (21.3.9-r0) 16:57:09 (52/80) Installing avahi-libs (0.8-r6) 16:57:09 (53/80) Installing nettle (3.7.3-r0) 16:57:09 (54/80) Installing p11-kit (0.24.1-r0) 16:57:09 (55/80) Installing libtasn1 (4.18.0-r1) 16:57:09 (56/80) Installing libunistring (1.0-r0) 16:57:09 (57/80) Installing gnutls (3.7.7-r1) 16:57:09 (58/80) Installing cups-libs (2.4.2-r0) 16:57:09 (59/80) Installing graphite2 (1.3.14-r1) 16:57:09 (60/80) Installing harfbuzz (4.3.0-r0) 16:57:09 (61/80) Installing libevdev (1.12.1-r0) 16:57:09 (62/80) Installing mtdev (1.1.6-r0) 16:57:09 (63/80) Installing eudev-libs (3.2.11-r0) 16:57:09 (64/80) Installing libinput-libs (1.20.1-r0) 16:57:09 (65/80) Installing libjpeg-turbo (2.1.3-r1) 16:57:09 (66/80) Installing xcb-util-wm (0.4.1-r1) 16:57:09 (67/80) Installing xcb-util (0.4.0-r3) 16:57:09 (68/80) Installing xcb-util-image (0.4.0-r1) 16:57:09 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 16:57:09 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 16:57:09 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 16:57:09 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 16:57:09 (73/80) Installing v4l-utils-libs (1.22.1-r1) 16:57:09 (74/80) Installing v4l-utils (1.22.1-r1) 16:57:09 (75/80) Installing udev-init-scripts (35-r0) 16:57:09 Executing udev-init-scripts-35-r0.post-install 16:57:09 (76/80) Installing kmod-libs (29-r2) 16:57:09 (77/80) Installing eudev (3.2.11-r0) 16:57:09 (78/80) Installing eudev-dev (3.2.11-r0) 16:57:09 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:57:09 (80/80) Installing v4l-utils-dev (1.22.1-r1) 16:57:09 Executing busybox-1.35.0-r17.trigger 16:57:09 Executing eudev-3.2.11-r0.trigger 16:57:09 OK: 331 MiB in 131 packages 16:57:09 Still waiting to schedule task 16:57:09 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:57:11 Removing intermediate container 1b25ee6c2f46 16:57:11 ---> 94db4d2c6fd8 16:57:11 Step 8/13 : WORKDIR /device-usb-camera 16:57:11 ---> Running in a9819f9478a6 16:57:11 Removing intermediate container a9819f9478a6 16:57:11 ---> 4c4c6bc3f7e7 16:57:11 Step 9/13 : COPY go.mod vendor* ./ 16:57:11 ---> 8b45ec6bc56b 16:57:11 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:57:11 ---> Running in 82150e2ec6df 16:57:50 Removing intermediate container 82150e2ec6df 16:57:50 ---> ac4d60818365 16:57:50 Step 11/13 : COPY . . 16:57:50 ---> 1dec761b04fb 16:57:50 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:57:50 ---> Running in b43acc606ab3 16:57:50  % Total % Received % Xferd Average Speed Time Time Time Current 16:57:50 Dload Upload Total Spent Left Speed 16:57:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 46829 0 --:--:-- --:--:-- --:--:-- 48272 16:57:50 Removing intermediate container b43acc606ab3 16:57:50 ---> 6138b97b1aa1 16:57:50 Step 13/13 : RUN ${MAKE} 16:57:50 ---> Running in 7f11bf39f302 16:57:50 noop 16:57:50 Removing intermediate container 7f11bf39f302 16:57:50 ---> 6d8890399c7c 16:57:50 Successfully built 6d8890399c7c 16:57:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:50 + docker inspect -f . ci-base-image-x86_64 16:57:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:51 prd-ubuntu20.04-docker-8c-8g-7762 does not seem to be running inside a container 16:57:51 $ 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 ******** ci-base-image-x86_64 cat 16:57:51 $ docker top 653ce4b98ae136c070657d0b934695acfa6932199bbce52923debd4b0a519fb6 -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:51 + go version 16:57:51 go version go1.18.7 linux/amd64 [Pipeline] } 16:57:51 $ docker stop --time=1 653ce4b98ae136c070657d0b934695acfa6932199bbce52923debd4b0a519fb6 16:57:53 $ docker rm -f --volumes 653ce4b98ae136c070657d0b934695acfa6932199bbce52923debd4b0a519fb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:53 + docker inspect -f . ci-base-image-x86_64 16:57:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:54 prd-ubuntu20.04-docker-8c-8g-7762 does not seem to be running inside a container 16:57:54 $ 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 ******** ci-base-image-x86_64 cat 16:57:54 $ docker top cd472e3c8f46bd864826a7dbe047d8ebea363005f741cd3f5fa1c4a508a99e0d -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:54 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-162 [Pipeline] fileExists [Pipeline] sh 16:57:55 + make test 16:57:55 go test ./... -coverprofile=coverage.out ./... 16:57:55 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:58:03 # github.com/edgexfoundry/device-sdk-go/v3/internal/common 16:58:03 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/common/utils.go:45:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice 16:58:03 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 16:58:03 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:76:36: not enough arguments in call to clients.NewEventClient 16:58:03 have (string) 16:58:03 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 16:58:03 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:82:37: not enough arguments in call to clients.NewDeviceClient 16:58:03 have (string) 16:58:03 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 16:58:03 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:85:44: not enough arguments in call to clients.NewDeviceServiceClient 16:58:03 have (string) 16:58:03 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 16:58:03 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:88:44: not enough arguments in call to clients.NewDeviceProfileClient 16:58:03 have (string) 16:58:03 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 16:58:03 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:91:47: not enough arguments in call to clients.NewProvisionWatcherClient 16:58:03 have (string) 16:58:03 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 16:58:03 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:121:39: not enough arguments in call to clients.NewCommandClient 16:58:03 have (string) 16:58:03 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 16:58:03 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:133:43: not enough arguments in call to clients.NewNotificationClient 16:58:03 have (string) 16:58:03 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 16:58:03 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:136:43: not enough arguments in call to clients.NewSubscriptionClient 16:58:03 have (string) 16:58:03 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 16:58:03 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:143:39: not enough arguments in call to clients.NewIntervalClient 16:58:03 have (string) 16:58:03 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 16:58:03 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:146:45: not enough arguments in call to clients.NewIntervalActionClient 16:58:03 have (string) 16:58:03 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 16:58:03 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:146:45: too many errors 16:58:03 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 16:58:03 make: *** [Makefile:46: unittest] Error 2 [Pipeline] } 16:58:03 $ docker stop --time=1 cd472e3c8f46bd864826a7dbe047d8ebea363005f741cd3f5fa1c4a508a99e0d 16:58:06 $ docker rm -f --volumes cd472e3c8f46bd864826a7dbe047d8ebea363005f741cd3f5fa1c4a508a99e0d [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 16:58:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:58:07 16:58:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:58:08 latest: Pulling from edgex-lftools-log-publisher 16:58:08 5eb5b503b376: Pulling fs layer 16:58:08 5c69ac0246d0: Pulling fs layer 16:58:08 ec43610c2a17: Pulling fs layer 16:58:08 3a2ae6a8a46f: Pulling fs layer 16:58:08 33b1e0a273af: Pulling fs layer 16:58:08 5d3b04190fa2: Pulling fs layer 16:58:08 2f39f015ded8: Pulling fs layer 16:58:08 3a2ae6a8a46f: Waiting 16:58:08 5d3b04190fa2: Waiting 16:58:08 2f39f015ded8: Waiting 16:58:08 33b1e0a273af: Waiting 16:58:08 5c69ac0246d0: Download complete 16:58:08 3a2ae6a8a46f: Verifying Checksum 16:58:08 3a2ae6a8a46f: Download complete 16:58:08 33b1e0a273af: Verifying Checksum 16:58:08 33b1e0a273af: Download complete 16:58:08 5d3b04190fa2: Verifying Checksum 16:58:08 5d3b04190fa2: Download complete 16:58:08 ec43610c2a17: Verifying Checksum 16:58:08 ec43610c2a17: Download complete 16:58:08 5eb5b503b376: Verifying Checksum 16:58:08 5eb5b503b376: Download complete 16:58:09 2f39f015ded8: Download complete 16:58:09 5eb5b503b376: Pull complete 16:58:09 5c69ac0246d0: Pull complete 16:58:10 ec43610c2a17: Pull complete 16:58:10 3a2ae6a8a46f: Pull complete 16:58:11 33b1e0a273af: Pull complete 16:58:11 5d3b04190fa2: Pull complete 16:58:17 2f39f015ded8: Pull complete 16:58:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:58:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:58:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:17 prd-ubuntu20.04-docker-8c-8g-7762 does not seem to be running inside a container 16:58:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:58:21 $ docker top 80d51d7500bfc9e963234b8f1d68948f754545f3c1964b54122add95e19289e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:58:22 ---> job-cost.sh 16:58:22 lf-activate-venv: SKIPPING 16:58:22 INFO: No Stack... 16:58:22 INFO: Retrieving Pricing Info for: v3-standard-8 16:58:22 INFO: Archiving Costs [Pipeline] sh 16:58:23 + cat /w/workspace/foundry_device-usb-camera_PR-162/archives/cost.csv 16:58:23 + cut -d, -f6 [Pipeline] lock 16:58:23 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-162-1-stack-cost] 16:58:23 Resource [jenkins-edgexfoundry-device-usb-camera-PR-162-1-stack-cost] did not exist. Created. 16:58:23 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-162-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:58:23 + echo total: 0.2199999988079071 [Pipeline] stash 16:58:23 Stashed 1 file(s) [Pipeline] } 16:58:23 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-162-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:58:23 $ docker stop --time=1 80d51d7500bfc9e963234b8f1d68948f754545f3c1964b54122add95e19289e4 16:58:25 $ docker rm -f --volumes 80d51d7500bfc9e963234b8f1d68948f754545f3c1964b54122add95e19289e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:58:25 Failed in branch amd64 16:59:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7767 in /w/workspace/foundry_device-usb-camera_PR-162 [Pipeline] { [Pipeline] ws 16:59:58 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 16:59:58 Selected Git installation does not exist. Using Default 16:59:58 The recommended git tool is: NONE 17:00:06 using credential edgex-jenkins-ssh 17:00:06 Cloning the remote Git repository 17:00:06 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:00:06 > git init /w/workspace/device-usb-camera/1 # timeout=10 17:00:06 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:00:06 > git --version # timeout=10 17:00:06 > git --version # 'git version 2.25.1' 17:00:06 using GIT_SSH to set credentials SSH Credentials for GitHub 17:00:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:00:07 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:00:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:00:09 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:00:09 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:00:09 using GIT_SSH to set credentials SSH Credentials for GitHub 17:00:09 > 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:00:09 Merging remotes/origin/main commit 8b62b64e9680a6df61e12b3c0a704648afc4bcdc into PR head commit 8481b428beb9b49af7e07dc60811ab8d2ed29526 17:00:10 Merge succeeded, producing 8481b428beb9b49af7e07dc60811ab8d2ed29526 17:00:10 Checking out Revision 8481b428beb9b49af7e07dc60811ab8d2ed29526 (PR-162) 17:00:09 > git config core.sparsecheckout # timeout=10 17:00:09 > git checkout -f 8481b428beb9b49af7e07dc60811ab8d2ed29526 # timeout=10 17:00:09 > git remote # timeout=10 17:00:09 > git config --get remote.origin.url # timeout=10 17:00:09 using GIT_SSH to set credentials SSH Credentials for GitHub 17:00:09 > git merge 8b62b64e9680a6df61e12b3c0a704648afc4bcdc # timeout=10 17:00:10 > git rev-parse HEAD^{commit} # timeout=10 17:00:10 > git config core.sparsecheckout # timeout=10 17:00:10 > git checkout -f 8481b428beb9b49af7e07dc60811ab8d2ed29526 # timeout=10 17:00:10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 17:00:10 > git --version # timeout=10 17:00:10 > git --version # 'git version 2.25.1' 17:00:10 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:00:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:00:12 % Total % Received % Xferd Average Speed Time Time Time Current 17:00:12 Dload Upload Total Spent Left Speed 17:00:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh 17:00:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:00:13 + sudo tee /etc/docker/daemon.new 17:00:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:00:13 { 17:00:13 "registry-mirrors": [ 17:00:13 "https://nexus3.edgexfoundry.org:10001" 17:00:13 ], 17:00:13 "bip": "10.250.0.254/24", 17:00:13 "hosts": [ 17:00:13 "tcp://0.0.0.0:5555", 17:00:13 "unix:///var/run/docker.sock" 17:00:13 ], 17:00:13 "mtu": 1458, 17:00:13 "selinux-enabled": true, 17:00:13 "seccomp-profile": "/etc/docker/seccomp.json" 17:00:13 } [Pipeline] sh 17:00:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:00:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:00:32 provisioning config files... 17:00:32 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config17406940870833071769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:00:33 ---> docker-login.sh 17:00:33 nexus3.edgexfoundry.org:10001 17:00:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:34 Configure a credential helper to remove this warning. See 17:00:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:34 17:00:34 Login Succeeded 17:00:34 nexus3.edgexfoundry.org:10002 17:00:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:34 Configure a credential helper to remove this warning. See 17:00:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:34 17:00:34 Login Succeeded 17:00:34 nexus3.edgexfoundry.org:10003 17:00:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:34 Configure a credential helper to remove this warning. See 17:00:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:34 17:00:34 Login Succeeded 17:00:34 nexus3.edgexfoundry.org:10004 17:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:35 Configure a credential helper to remove this warning. See 17:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:35 17:00:35 Login Succeeded 17:00:35 docker.io 17:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:35 Configure a credential helper to remove this warning. See 17:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:35 17:00:35 Login Succeeded 17:00:36 ---> docker-login.sh ends [Pipeline] } 17:00:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:00:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:00:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:00:36 ========================================================= 17:00:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:00:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:37 + 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:00:37 Sending build context to Docker daemon 1.131MB 17:00:37 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:00:37 Step 2/13 : FROM ${BASE} AS builder 17:00:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:00:38 9b18e9b68314: Pulling fs layer 17:00:38 35d82f9e3411: Pulling fs layer 17:00:38 e16973657156: Pulling fs layer 17:00:38 fc693d55d65f: Pulling fs layer 17:00:38 7e9fc2657dce: Pulling fs layer 17:00:38 dda99020689f: Pulling fs layer 17:00:38 db1c61fa0a46: Pulling fs layer 17:00:38 891c053d2c06: Pulling fs layer 17:00:38 7e9fc2657dce: Waiting 17:00:38 dda99020689f: Waiting 17:00:38 db1c61fa0a46: Waiting 17:00:38 891c053d2c06: Waiting 17:00:38 fc693d55d65f: Waiting 17:00:38 e16973657156: Verifying Checksum 17:00:38 e16973657156: Download complete 17:00:38 35d82f9e3411: Verifying Checksum 17:00:38 35d82f9e3411: Download complete 17:00:38 7e9fc2657dce: Download complete 17:00:38 dda99020689f: Verifying Checksum 17:00:38 dda99020689f: Download complete 17:00:38 9b18e9b68314: Verifying Checksum 17:00:38 9b18e9b68314: Download complete 17:00:39 9b18e9b68314: Pull complete 17:00:39 891c053d2c06: Verifying Checksum 17:00:39 891c053d2c06: Download complete 17:00:40 35d82f9e3411: Pull complete 17:00:40 e16973657156: Pull complete 17:00:41 db1c61fa0a46: Verifying Checksum 17:00:41 db1c61fa0a46: Download complete 17:00:41 fc693d55d65f: Verifying Checksum 17:00:41 fc693d55d65f: Download complete 17:01:00 fc693d55d65f: Pull complete 17:01:00 7e9fc2657dce: Pull complete 17:01:00 dda99020689f: Pull complete 17:01:10 db1c61fa0a46: Pull complete 17:01:13 891c053d2c06: Pull complete 17:01:13 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:01:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:01:13 ---> f96f9c87975a 17:01:13 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:01:15 ---> Running in 6d58fc116218 17:01:15 Removing intermediate container 6d58fc116218 17:01:15 ---> d3667199f4d2 17:01:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:01:15 ---> Running in 2bf7343848f3 17:01:16 Removing intermediate container 2bf7343848f3 17:01:16 ---> 0107e4892472 17:01:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:01:16 ---> Running in 4f60932ca55e 17:01:16 Removing intermediate container 4f60932ca55e 17:01:16 ---> 5d62a02f9300 17:01:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:01:16 ---> Running in 5d5949680663 17:01:17 Removing intermediate container 5d5949680663 17:01:17 ---> e894d8bf9409 17:01:17 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:01:17 ---> Running in a9941bbaf0a5 17:01:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:01:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:01:20 (1/14) Installing libintl (0.21-r2) 17:01:20 (2/14) Installing eudev-libs (3.2.11-r0) 17:01:20 (3/14) Installing libjpeg-turbo (2.1.3-r1) 17:01:20 (4/14) Installing v4l-utils-libs (1.22.1-r1) 17:01:20 (5/14) Installing v4l-utils (1.22.1-r1) 17:01:20 (6/14) Installing udev-init-scripts (35-r0) 17:01:20 Executing udev-init-scripts-35-r0.post-install 17:01:20 (7/14) Installing libblkid (2.38-r1) 17:01:20 (8/14) Installing xz-libs (5.2.5-r1) 17:01:20 (9/14) Installing zstd-libs (1.5.2-r1) 17:01:20 (10/14) Installing kmod-libs (29-r2) 17:01:20 (11/14) Installing eudev (3.2.11-r0) 17:01:20 (12/14) Installing eudev-dev (3.2.11-r0) 17:01:20 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:01:20 (14/14) Installing v4l-utils-dev (1.22.1-r1) 17:01:20 Executing busybox-1.35.0-r17.trigger 17:01:20 Executing eudev-3.2.11-r0.trigger 17:01:20 OK: 228 MiB in 65 packages 17:01:22 Removing intermediate container a9941bbaf0a5 17:01:22 ---> 0f5419e9c2b3 17:01:22 Step 8/13 : WORKDIR /device-usb-camera 17:01:22 ---> Running in 0c2f4bace8b9 17:01:22 Removing intermediate container 0c2f4bace8b9 17:01:22 ---> c3cddbe0ab4f 17:01:22 Step 9/13 : COPY go.mod vendor* ./ 17:01:23 ---> 102999b9b38f 17:01:23 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:01:23 ---> Running in 6ef44efccdb2 17:02:44 Removing intermediate container 6ef44efccdb2 17:02:44 ---> ee7d8dec4a15 17:02:44 Step 11/13 : COPY . . 17:02:44 ---> 904468cee8f6 17:02:44 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:02:44 ---> Running in 74beb29a2a76 17:02:44  % Total % Received % Xferd Average Speed Time Time Time Current 17:02:44 Dload Upload Total Spent Left Speed 17:02:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11704 0 --:--:-- --:--:-- --:--:-- 11800 17:02:44 Removing intermediate container 74beb29a2a76 17:02:44 ---> 639803e78930 17:02:44 Step 13/13 : RUN ${MAKE} 17:02:44 ---> Running in c017e762ce75 17:02:44 noop 17:02:44 Removing intermediate container c017e762ce75 17:02:44 ---> 5e269707cbf4 17:02:44 Successfully built 5e269707cbf4 17:02:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:45 + docker inspect -f . ci-base-image-arm64 17:02:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:45 prd-ubuntu20.04-docker-arm64-4c-16g-7767 does not seem to be running inside a container 17:02:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat 17:02:46 $ docker top 55083a39004f3cce73320c7ef9e544225496d1ef459e1c879c3103664763c103 -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:47 + go version 17:02:47 go version go1.18.7 linux/arm64 [Pipeline] } 17:02:47 $ docker stop --time=1 55083a39004f3cce73320c7ef9e544225496d1ef459e1c879c3103664763c103 17:02:49 $ docker rm -f --volumes 55083a39004f3cce73320c7ef9e544225496d1ef459e1c879c3103664763c103 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:50 + docker inspect -f . ci-base-image-arm64 17:02:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:50 prd-ubuntu20.04-docker-arm64-4c-16g-7767 does not seem to be running inside a container 17:02:50 $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat 17:02:53 $ docker top 018ee9f0ed77822118c1444403a9e1cd87f1480d75eedf8e91c60486b9202619 -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:54 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 17:02:54 + make test 17:02:54 go test ./... -coverprofile=coverage.out ./... 17:02:56 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:04:18 # github.com/edgexfoundry/device-sdk-go/v3/internal/common 17:04:18 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/common/utils.go:45:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice 17:04:18 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 17:04:18 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:76:36: not enough arguments in call to clients.NewEventClient 17:04:18 have (string) 17:04:18 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:04:18 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:82:37: not enough arguments in call to clients.NewDeviceClient 17:04:18 have (string) 17:04:18 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:04:18 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:85:44: not enough arguments in call to clients.NewDeviceServiceClient 17:04:18 have (string) 17:04:18 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:04:18 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:88:44: not enough arguments in call to clients.NewDeviceProfileClient 17:04:18 have (string) 17:04:18 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:04:18 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:91:47: not enough arguments in call to clients.NewProvisionWatcherClient 17:04:18 have (string) 17:04:18 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:04:18 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:121:39: not enough arguments in call to clients.NewCommandClient 17:04:18 have (string) 17:04:18 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:04:18 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:133:43: not enough arguments in call to clients.NewNotificationClient 17:04:18 have (string) 17:04:18 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:04:18 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:136:43: not enough arguments in call to clients.NewSubscriptionClient 17:04:18 have (string) 17:04:18 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:04:18 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:143:39: not enough arguments in call to clients.NewIntervalClient 17:04:18 have (string) 17:04:18 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:04:18 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:146:45: not enough arguments in call to clients.NewIntervalActionClient 17:04:18 have (string) 17:04:18 want (string, "github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces".AuthenticationInjector) 17:04:18 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22/bootstrap/handlers/clients.go:146:45: too many errors 17:04:33 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 17:04:33 make: *** [Makefile:46: unittest] Error 2 [Pipeline] } 17:04:33 $ docker stop --time=1 018ee9f0ed77822118c1444403a9e1cd87f1480d75eedf8e91c60486b9202619 17:04:34 $ docker rm -f --volumes 018ee9f0ed77822118c1444403a9e1cd87f1480d75eedf8e91c60486b9202619 [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 17:04:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:04:36 17:04:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:04:37 arm64: Pulling from edgex-lftools-log-publisher 17:04:37 8998bd30e6a1: Pulling fs layer 17:04:37 04944245beec: Pulling fs layer 17:04:37 699f458cf7ca: Pulling fs layer 17:04:37 765212b225bb: Pulling fs layer 17:04:37 f23df028b6ca: Pulling fs layer 17:04:37 d65c8cfc05b1: Pulling fs layer 17:04:37 2437ff75d9bd: Pulling fs layer 17:04:37 f23df028b6ca: Waiting 17:04:37 d65c8cfc05b1: Waiting 17:04:37 2437ff75d9bd: Waiting 17:04:37 765212b225bb: Waiting 17:04:37 04944245beec: Verifying Checksum 17:04:37 04944245beec: Download complete 17:04:37 765212b225bb: Verifying Checksum 17:04:37 765212b225bb: Download complete 17:04:37 f23df028b6ca: Verifying Checksum 17:04:37 f23df028b6ca: Download complete 17:04:37 d65c8cfc05b1: Verifying Checksum 17:04:37 d65c8cfc05b1: Download complete 17:04:37 699f458cf7ca: Verifying Checksum 17:04:37 699f458cf7ca: Download complete 17:04:37 8998bd30e6a1: Verifying Checksum 17:04:37 8998bd30e6a1: Download complete 17:04:40 2437ff75d9bd: Download complete 17:04:42 8998bd30e6a1: Pull complete 17:04:42 04944245beec: Pull complete 17:04:43 699f458cf7ca: Pull complete 17:04:43 765212b225bb: Pull complete 17:04:45 f23df028b6ca: Pull complete 17:04:45 d65c8cfc05b1: Pull complete 17:05:00 2437ff75d9bd: Pull complete 17:05:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:05:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:05:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:00 prd-ubuntu20.04-docker-arm64-4c-16g-7767 does not seem to be running inside a container 17:05:01 $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:05:03 $ docker top 7cf91eb840abb609faa862b9345f8a30b5a99eb976453547c3f4d0718ec89792 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:05:04 ---> job-cost.sh 17:05:04 lf-activate-venv: SKIPPING 17:05:04 INFO: No Stack... 17:05:05 INFO: Retrieving Pricing Info for: v3-standard-4 17:05:06 INFO: Archiving Costs [Pipeline] sh 17:05:06 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 17:05:06 + cut -d, -f6 [Pipeline] lock 17:05:06 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-162-1-stack-cost] 17:05:06 Resource [jenkins-edgexfoundry-device-usb-camera-PR-162-1-stack-cost] did not exist. Created. 17:05:06 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-162-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:05:07 /w/workspace/device-usb-camera/1@tmp/durable-dec3f0c6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:05:08 + echo total: 0.10999999940395355 [Pipeline] stash 17:05:08 Warning: overwriting stash ‘stack-cost’ 17:05:08 Stashed 1 file(s) [Pipeline] } 17:05:08 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-162-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:05:08 $ docker stop --time=1 7cf91eb840abb609faa862b9345f8a30b5a99eb976453547c3f4d0718ec89792 17:05:12 $ docker rm -f --volumes 7cf91eb840abb609faa862b9345f8a30b5a99eb976453547c3f4d0718ec89792 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:05:13 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 17:05:15 + [ -d /w/workspace/foundry_device-usb-camera_PR-162/archives ] 17:05:15 + ls -al /w/workspace/foundry_device-usb-camera_PR-162/archives 17:05:15 total 16 17:05:15 drwxr-xr-x 3 root root 4096 Feb 28 16:58 . 17:05:15 drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 16:58 .. 17:05:15 drwxr-xr-x 2 root root 4096 Feb 28 16:58 cost 17:05:15 -rw-r--r-- 1 root root 89 Feb 28 16:58 cost.csv 17:05:15 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-162/archives 17:05:15 + ls -al /w/workspace/foundry_device-usb-camera_PR-162/archives 17:05:15 total 16 17:05:15 drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 16:58 . 17:05:15 drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 16:58 .. 17:05:15 drwxr-xr-x 2 jenkins jenkins 4096 Feb 28 16:58 cost 17:05:15 -rw-r--r-- 1 jenkins jenkins 89 Feb 28 16:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:05:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:05:16 ---> package-listing.sh 17:05:16 ++ facter osfamily 17:05:16 ++ tr '[:upper:]' '[:lower:]' 17:05:16 + OS_FAMILY=debian 17:05:16 + workspace=/w/workspace/foundry_device-usb-camera_PR-162 17:05:16 + START_PACKAGES=/tmp/packages_start.txt 17:05:16 + END_PACKAGES=/tmp/packages_end.txt 17:05:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:05:16 + PACKAGES=/tmp/packages_start.txt 17:05:16 + '[' /w/workspace/foundry_device-usb-camera_PR-162 ']' 17:05:16 + PACKAGES=/tmp/packages_end.txt 17:05:16 + case "${OS_FAMILY}" in 17:05:16 + dpkg -l 17:05:16 + grep '^ii' 17:05:16 + '[' -f /tmp/packages_start.txt ']' 17:05:16 + '[' -f /tmp/packages_end.txt ']' 17:05:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:05:16 + '[' /w/workspace/foundry_device-usb-camera_PR-162 ']' 17:05:16 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-162/archives/ 17:05:16 + 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 17:05:16 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 17:05:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:05:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:17 prd-ubuntu20.04-docker-8c-8g-7762 does not seem to be running inside a container 17:05:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:05:17 $ docker top 038417b53e5dc799c6d2c0c2ae9afb0d6b81525af41e4aed89eb4e7a0916f77a -eo pid,comm [Pipeline] { [Pipeline] sh 17:05:18 + touch /tmp/pre-build-complete [Pipeline] sh 17:05:18 + mkdir -p /var/log/sysstat [Pipeline] sh 17:05:18 + ls /var/log/sa-host 17:05:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:05:18 provisioning config files... 17:05:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-162@tmp/config713502678744325466tmp [Pipeline] { [Pipeline] echo 17:05:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:05:19 ---> create-netrc.sh [Pipeline] } 17:05:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:05:19 ---> python-tools-install.sh [Pipeline] echo 17:05:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:05:20 ---> sudo-logs.sh 17:05:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:05:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:05:20 ---> job-cost.sh 17:05:20 lf-activate-venv: SKIPPING 17:05:20 DEBUG: total: 0.2199999988079071 17:05:20 INFO: Retrieving Stack Cost... 17:05:20 INFO: Retrieving Pricing Info for: v3-standard-8 17:05:21 INFO: Archiving Costs [Pipeline] echo 17:05:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:05:21 ---> logs-deploy.sh 17:05:21 lf-activate-venv: SKIPPING 17:05:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-162/1 17:05:21 INFO: archiving workspace using pattern(s): 17:05:22 Archives upload complete. 17:05:22 INFO: archiving logs to Nexus