Pull request #176 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2402799890877f9287f725607bb876464085879b+3323a63d0afd632e576abad22becd63271ca5b86 (abdf8a6781c098b421acf57e0a21a4f1b09f0b94) 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-ssh14974488355957358122.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-ssh5374252458029290608.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-176/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-176/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3691645744629432240.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-176/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11988339846619675325.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-ssh17592091414871086037.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-176/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-176/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8600542029901389958.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 ‘prd-ubuntu20.04-docker-8c-8g-9505’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9508 in /w/workspace/foundry_device-usb-camera_PR-176 [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-176 # 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 3323a63d0afd632e576abad22becd63271ca5b86 into PR head commit 2402799890877f9287f725607bb876464085879b Merge succeeded, producing 2402799890877f9287f725607bb876464085879b Checking out Revision 2402799890877f9287f725607bb876464085879b (PR-176) > 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/176/head:refs/remotes/origin/PR-176 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2402799890877f9287f725607bb876464085879b # 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 3323a63d0afd632e576abad22becd63271ca5b86 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2402799890877f9287f725607bb876464085879b # timeout=10 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 17:20:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:20:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:20:27 ========================================================= 17:20:27 EdgeX Global Pipelines Version Info 17:20:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:20:27 ------------------- 17:20:27 stable info: 17:20:27 ------------------- 17:20:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:20:27 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:20:27 Message: update stable to v1.0.244 17:20:28 ------------------- 17:20:28 experimental info: 17:20:28 ------------------- 17:20:28 Commited By: **** collab-it+edgex@linuxfoundation.org 17:20:28 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:20:28 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:20:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:20:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:20:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:20:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:20:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:20:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:20:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-176 [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-176 [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-176 [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2402799890877f9287f725607bb876464085879b [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2402799 [Pipeline] echo 17:20:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:20:29 provisioning config files... 17:20:30 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-176@tmp/config4688762029375642710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:30 ---> docker-login.sh 17:20:30 nexus3.edgexfoundry.org:10001 17:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:30 Configure a credential helper to remove this warning. See 17:20:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:30 17:20:30 Login Succeeded 17:20:30 nexus3.edgexfoundry.org:10002 17:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:30 Configure a credential helper to remove this warning. See 17:20:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:30 17:20:30 Login Succeeded 17:20:30 nexus3.edgexfoundry.org:10003 17:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:31 Configure a credential helper to remove this warning. See 17:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:31 17:20:31 Login Succeeded 17:20:31 nexus3.edgexfoundry.org:10004 17:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:31 Configure a credential helper to remove this warning. See 17:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:31 17:20:31 Login Succeeded 17:20:31 docker.io 17:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:31 Configure a credential helper to remove this warning. See 17:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:31 17:20:31 Login Succeeded 17:20:31 ---> docker-login.sh ends [Pipeline] } 17:20:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:20:32 + git rev-list -1 --merges 2402799890877f9287f725607bb876464085879b~1..2402799890877f9287f725607bb876464085879b [Pipeline] echo 17:20:32 -----------> git rev-list -1 --merges 2402799890877f9287f725607bb876464085879b~1..2402799890877f9287f725607bb876464085879b 2402799890877f9287f725607bb876464085879b [false] [Pipeline] sh 17:20:32 + git log --format=format:%s -1 2402799890877f9287f725607bb876464085879b [Pipeline] echo 17:20:32 ========================================================= 17:20:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:20:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:20:32 + git log --format=format:%s -1 2402799890877f9287f725607bb876464085879b [Pipeline] echo 17:20:32 [semverPrep] GIT_COMMIT: 2402799890877f9287f725607bb876464085879b, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 17:20:33 [semverPrep] This is not a build commit. [Pipeline] sh 17:20:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:20:33 + grep -v github /etc/ssh/ssh_known_hosts 17:20:33 + [ -e /tmp/ssh_known_hosts ] 17:20:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:20:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:20:33 + sudo tee -a /etc/ssh/ssh_known_hosts 17:20:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:20:33 17:20:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:20:35 0.1.4: Pulling from edgex-devops/py-git-semver 17:20:35 b85a868b505f: Pulling fs layer 17:20:35 e2be974225ed: Pulling fs layer 17:20:35 339a4e72a1f5: Pulling fs layer 17:20:35 988bab9f4d93: Pulling fs layer 17:20:35 1469e6f7b9e6: Pulling fs layer 17:20:35 eaf3925da568: Pulling fs layer 17:20:35 bab4dde63d76: Pulling fs layer 17:20:35 bde34c3a00c8: Pulling fs layer 17:20:35 b352a97aabf1: Pulling fs layer 17:20:35 4872d77fe225: Pulling fs layer 17:20:35 5851b861e8e6: Pulling fs layer 17:20:35 988bab9f4d93: Waiting 17:20:35 1469e6f7b9e6: Waiting 17:20:35 eaf3925da568: Waiting 17:20:35 bab4dde63d76: Waiting 17:20:35 bde34c3a00c8: Waiting 17:20:35 b352a97aabf1: Waiting 17:20:35 4872d77fe225: Waiting 17:20:35 5851b861e8e6: Waiting 17:20:35 e2be974225ed: Download complete 17:20:35 988bab9f4d93: Verifying Checksum 17:20:35 988bab9f4d93: Download complete 17:20:35 1469e6f7b9e6: Verifying Checksum 17:20:35 1469e6f7b9e6: Download complete 17:20:35 eaf3925da568: Verifying Checksum 17:20:35 eaf3925da568: Download complete 17:20:35 339a4e72a1f5: Verifying Checksum 17:20:35 339a4e72a1f5: Download complete 17:20:35 bde34c3a00c8: Verifying Checksum 17:20:35 bde34c3a00c8: Download complete 17:20:35 b352a97aabf1: Verifying Checksum 17:20:35 b352a97aabf1: Download complete 17:20:35 4872d77fe225: Verifying Checksum 17:20:35 4872d77fe225: Download complete 17:20:35 5851b861e8e6: Verifying Checksum 17:20:35 5851b861e8e6: Download complete 17:20:35 b85a868b505f: Verifying Checksum 17:20:35 b85a868b505f: Download complete 17:20:36 bab4dde63d76: Verifying Checksum 17:20:36 b85a868b505f: Pull complete 17:20:36 e2be974225ed: Pull complete 17:20:37 339a4e72a1f5: Pull complete 17:20:37 988bab9f4d93: Pull complete 17:20:38 1469e6f7b9e6: Pull complete 17:20:38 eaf3925da568: Pull complete 17:20:40 bab4dde63d76: Pull complete 17:20:40 bde34c3a00c8: Pull complete 17:20:40 b352a97aabf1: Pull complete 17:20:40 4872d77fe225: Pull complete 17:20:40 5851b861e8e6: Pull complete 17:20:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:20:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:20:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:20:40 prd-ubuntu20.04-docker-8c-8g-9508 does not seem to be running inside a container 17:20:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-176 -v /w/workspace/foundry_device-usb-camera_PR-176:/w/workspace/foundry_device-usb-camera_PR-176:rw,z -v /w/workspace/foundry_device-usb-camera_PR-176@tmp:/w/workspace/foundry_device-usb-camera_PR-176@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 17:20:44 $ docker top 95f1c357b576cb57d52694851486d60259559d815405bc86aae88349720d83f8 -eo pid,comm 17:20:44 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:20:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:20:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:20:44 [ssh-agent] Looking for ssh-agent implementation... 17:20:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:20:44 $ docker exec 95f1c357b576cb57d52694851486d60259559d815405bc86aae88349720d83f8 ssh-agent 17:20:44 SSH_AUTH_SOCK=/tmp/ssh-OM1PSbaPuvns/agent.33 17:20:44 SSH_AGENT_PID=39 17:20:44 Running ssh-add (command line suppressed) 17:20:44 Identity added: /w/workspace/foundry_device-usb-camera_PR-176@tmp/private_key_16821717808700587293.key (/w/workspace/foundry_device-usb-camera_PR-176@tmp/private_key_16821717808700587293.key) 17:20:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:20:45 + git tag --points-at HEAD [Pipeline] } 17:20:45 $ docker exec --env ******** --env ******** 95f1c357b576cb57d52694851486d60259559d815405bc86aae88349720d83f8 ssh-agent -k 17:20:45 unset SSH_AUTH_SOCK; 17:20:45 unset SSH_AGENT_PID; 17:20:45 echo Agent pid 39 killed; 17:20:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:20:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:20:45 [ssh-agent] Looking for ssh-agent implementation... 17:20:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:20:45 $ docker exec 95f1c357b576cb57d52694851486d60259559d815405bc86aae88349720d83f8 ssh-agent 17:20:45 SSH_AUTH_SOCK=/tmp/ssh-dUo0S0BjXUxw/agent.71 17:20:45 SSH_AGENT_PID=77 17:20:45 Running ssh-add (command line suppressed) 17:20:45 Identity added: /w/workspace/foundry_device-usb-camera_PR-176@tmp/private_key_7011242735035121299.key (/w/workspace/foundry_device-usb-camera_PR-176@tmp/private_key_7011242735035121299.key) 17:20:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:20:46 + git semver init 17:20:46 2023-03-09 17:20:46,272 [run_init] DEBUG init version:0.0.0 force:False 17:20:46 2023-03-09 17:20:46,273 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-176/.semver 17:20:46 2023-03-09 17:20:46,274 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-176/.semver 17:20:46 2023-03-09 17:20:46,274 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-176/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-176, universal_newlines=False, shell=None, istream=None) 17:20:47 2023-03-09 17:20:47,031 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-176/.git/info/exclude 17:20:47 2023-03-09 17:20:47,031 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-176/.semver/PR-176 with force:False 17:20:47 2023-03-09 17:20:47,031 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-176/.semver/PR-176 17:20:47 2023-03-09 17:20:47,035 [execute] INFO git cat-file --batch-check 17:20:47 2023-03-09 17:20:47,036 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-176/.semver, universal_newlines=False, shell=None, istream=) 17:20:47 2023-03-09 17:20:47,042 [execute] INFO git cat-file --batch 17:20:47 2023-03-09 17:20:47,042 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-176/.semver, universal_newlines=False, shell=None, istream=) 17:20:47 2023-03-09 17:20:47,047 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-176/.semver/PR-176 17:20:47 0.0.0 [Pipeline] } 17:20:47 $ docker exec --env ******** --env ******** 95f1c357b576cb57d52694851486d60259559d815405bc86aae88349720d83f8 ssh-agent -k 17:20:47 unset SSH_AUTH_SOCK; 17:20:47 unset SSH_AGENT_PID; 17:20:47 echo Agent pid 77 killed; 17:20:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:20:47 + git semver [Pipeline] } 17:20:48 $ docker stop --time=1 95f1c357b576cb57d52694851486d60259559d815405bc86aae88349720d83f8 17:20:49 $ docker rm -f --volumes 95f1c357b576cb57d52694851486d60259559d815405bc86aae88349720d83f8 [Pipeline] // withDockerContainer [Pipeline] sh 17:20:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:20:50 Stashed 1 file(s) [Pipeline] echo 17:20:50 [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:20:50 provisioning config files... 17:20:50 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-176@tmp/config14658553576863518139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:51 ---> docker-login.sh 17:20:51 nexus3.edgexfoundry.org:10001 17:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:51 Configure a credential helper to remove this warning. See 17:20:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:51 17:20:51 Login Succeeded 17:20:51 nexus3.edgexfoundry.org:10002 17:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:51 Configure a credential helper to remove this warning. See 17:20:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:51 17:20:51 Login Succeeded 17:20:51 nexus3.edgexfoundry.org:10003 17:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:51 Configure a credential helper to remove this warning. See 17:20:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:51 17:20:51 Login Succeeded 17:20:51 nexus3.edgexfoundry.org:10004 17:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:51 Configure a credential helper to remove this warning. See 17:20:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:51 17:20:51 Login Succeeded 17:20:51 docker.io 17:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:51 Configure a credential helper to remove this warning. See 17:20:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:51 17:20:51 Login Succeeded 17:20:51 ---> docker-login.sh ends [Pipeline] } 17:20:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:20:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:20:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:20:51 ========================================================= 17:20:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:20:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:52 + 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:20:52 Sending build context to Docker daemon 1.799MB 17:20:52 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:20:52 Step 2/13 : FROM ${BASE} AS builder 17:20:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:20:52 213ec9aee27d: Pulling fs layer 17:20:52 4583459ba037: Pulling fs layer 17:20:52 93c1e223e6f2: Pulling fs layer 17:20:52 53926ce57604: Pulling fs layer 17:20:52 21b2b0c7a3f4: Pulling fs layer 17:20:52 22ff95d597cd: Pulling fs layer 17:20:52 12d6caf4c0d1: Pulling fs layer 17:20:52 96b7cbca73a9: Pulling fs layer 17:20:52 a7acece74701: Pulling fs layer 17:20:52 22ff95d597cd: Waiting 17:20:52 53926ce57604: Waiting 17:20:52 12d6caf4c0d1: Waiting 17:20:52 21b2b0c7a3f4: Waiting 17:20:52 96b7cbca73a9: Waiting 17:20:52 a7acece74701: Waiting 17:20:52 93c1e223e6f2: Verifying Checksum 17:20:52 93c1e223e6f2: Download complete 17:20:52 4583459ba037: Verifying Checksum 17:20:52 4583459ba037: Download complete 17:20:52 21b2b0c7a3f4: Verifying Checksum 17:20:52 21b2b0c7a3f4: Download complete 17:20:52 22ff95d597cd: Verifying Checksum 17:20:52 22ff95d597cd: Download complete 17:20:52 213ec9aee27d: Verifying Checksum 17:20:52 213ec9aee27d: Download complete 17:20:52 12d6caf4c0d1: Download complete 17:20:52 213ec9aee27d: Pull complete 17:20:52 4583459ba037: Pull complete 17:20:52 93c1e223e6f2: Pull complete 17:20:53 a7acece74701: Verifying Checksum 17:20:53 96b7cbca73a9: Verifying Checksum 17:20:53 96b7cbca73a9: Download complete 17:20:53 53926ce57604: Verifying Checksum 17:20:53 53926ce57604: Download complete 17:20:57 53926ce57604: Pull complete 17:20:57 21b2b0c7a3f4: Pull complete 17:20:57 22ff95d597cd: Pull complete 17:20:57 12d6caf4c0d1: Pull complete 17:20:59 96b7cbca73a9: Pull complete 17:21:00 a7acece74701: Pull complete 17:21:00 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:21:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:21:00 ---> db6d94c90886 17:21:00 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:21:05 Still waiting to schedule task 17:21:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:21:05 ---> Running in 13658e513744 17:21:05 Removing intermediate container 13658e513744 17:21:05 ---> b0dba77c7f3c 17:21:05 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:21:05 ---> Running in 8b635ca95792 17:21:05 Removing intermediate container 8b635ca95792 17:21:05 ---> 2962b87a338e 17:21:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:21:05 ---> Running in 4541f9ca7cac 17:21:06 Removing intermediate container 4541f9ca7cac 17:21:06 ---> 57480f85f78e 17:21:06 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:21:06 ---> Running in 727d06444758 17:21:06 Removing intermediate container 727d06444758 17:21:06 ---> ee3b21b02c58 17:21:06 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:21:06 ---> Running in a0d050817c15 17:21:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:21:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:21:06 (1/80) Installing mesa (21.3.9-r0) 17:21:06 (2/80) Installing libxau (1.0.9-r0) 17:21:06 (3/80) Installing libxdmcp (1.1.3-r0) 17:21:06 (4/80) Installing libxcb (1.15-r0) 17:21:06 (5/80) Installing libx11 (1.8-r0) 17:21:06 (6/80) Installing libxext (1.3.4-r0) 17:21:06 (7/80) Installing libxfixes (6.0.0-r0) 17:21:06 (8/80) Installing libxxf86vm (1.1.4-r2) 17:21:06 (9/80) Installing libpciaccess (0.16-r0) 17:21:06 (10/80) Installing libdrm (2.4.110-r0) 17:21:07 (11/80) Installing mesa-glapi (21.3.9-r0) 17:21:07 (12/80) Installing libxshmfence (1.3-r1) 17:21:07 (13/80) Installing mesa-gl (21.3.9-r0) 17:21:07 (14/80) Installing icu-data-full (71.1-r2) 17:21:07 (15/80) Installing libice (1.0.10-r0) 17:21:07 (16/80) Installing libuuid (2.38-r1) 17:21:07 (17/80) Installing libsm (1.2.3-r0) 17:21:07 (18/80) Installing libxt (1.2.1-r0) 17:21:07 (19/80) Installing libxmu (1.1.3-r0) 17:21:07 (20/80) Installing xset (1.2.4-r0) 17:21:07 (21/80) Installing xprop (1.2.5-r0) 17:21:07 (22/80) Installing xdg-utils (1.1.3-r3) 17:21:07 (23/80) Installing dbus-libs (1.14.4-r0) 17:21:07 (24/80) Installing libffi (3.4.2-r1) 17:21:07 (25/80) Installing libintl (0.21-r2) 17:21:07 (26/80) Installing libblkid (2.38-r1) 17:21:07 (27/80) Installing libmount (2.38-r1) 17:21:07 (28/80) Installing pcre (8.45-r2) 17:21:07 (29/80) Installing glib (2.72.1-r0) 17:21:07 (30/80) Installing icu-libs (71.1-r2) 17:21:07 (31/80) Installing libpcre2-16 (10.40-r0) 17:21:07 (32/80) Installing zstd-libs (1.5.2-r1) 17:21:07 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 17:21:07 (34/80) Installing hicolor-icon-theme (0.17-r1) 17:21:07 (35/80) Installing wayland-libs-server (1.20.0-r0) 17:21:07 (36/80) Installing mesa-gbm (21.3.9-r0) 17:21:07 (37/80) Installing wayland-libs-client (1.20.0-r0) 17:21:07 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 17:21:07 (39/80) Installing libxcomposite (0.4.5-r0) 17:21:07 (40/80) Installing libbz2 (1.0.8-r1) 17:21:07 (41/80) Installing libpng (1.6.37-r1) 17:21:07 (42/80) Installing freetype (2.12.1-r0) 17:21:07 (43/80) Installing fontconfig (2.14.0-r0) 17:21:07 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 17:21:07 (45/80) Installing wayland-libs-egl (1.20.0-r0) 17:21:07 (46/80) Installing xkeyboard-config (2.35.1-r0) 17:21:07 (47/80) Installing xz-libs (5.2.5-r1) 17:21:07 (48/80) Installing libxml2 (2.9.14-r2) 17:21:07 (49/80) Installing libxkbcommon (1.4.1-r0) 17:21:07 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 17:21:07 (51/80) Installing mesa-egl (21.3.9-r0) 17:21:07 (52/80) Installing avahi-libs (0.8-r6) 17:21:07 (53/80) Installing nettle (3.7.3-r0) 17:21:07 (54/80) Installing p11-kit (0.24.1-r0) 17:21:07 (55/80) Installing libtasn1 (4.18.0-r1) 17:21:07 (56/80) Installing libunistring (1.0-r0) 17:21:07 (57/80) Installing gnutls (3.7.7-r1) 17:21:07 (58/80) Installing cups-libs (2.4.2-r0) 17:21:07 (59/80) Installing graphite2 (1.3.14-r1) 17:21:08 (60/80) Installing harfbuzz (4.3.0-r0) 17:21:08 (61/80) Installing libevdev (1.12.1-r0) 17:21:08 (62/80) Installing mtdev (1.1.6-r0) 17:21:08 (63/80) Installing eudev-libs (3.2.11-r0) 17:21:08 (64/80) Installing libinput-libs (1.20.1-r0) 17:21:08 (65/80) Installing libjpeg-turbo (2.1.3-r1) 17:21:08 (66/80) Installing xcb-util-wm (0.4.1-r1) 17:21:08 (67/80) Installing xcb-util (0.4.0-r3) 17:21:08 (68/80) Installing xcb-util-image (0.4.0-r1) 17:21:08 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 17:21:08 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 17:21:08 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 17:21:08 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 17:21:08 (73/80) Installing v4l-utils-libs (1.22.1-r1) 17:21:08 (74/80) Installing v4l-utils (1.22.1-r1) 17:21:08 (75/80) Installing udev-init-scripts (35-r0) 17:21:08 Executing udev-init-scripts-35-r0.post-install 17:21:08 (76/80) Installing kmod-libs (29-r2) 17:21:08 (77/80) Installing eudev (3.2.11-r0) 17:21:08 (78/80) Installing eudev-dev (3.2.11-r0) 17:21:08 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:21:08 (80/80) Installing v4l-utils-dev (1.22.1-r1) 17:21:08 Executing busybox-1.35.0-r17.trigger 17:21:08 Executing eudev-3.2.11-r0.trigger 17:21:08 OK: 331 MiB in 131 packages 17:21:11 Removing intermediate container a0d050817c15 17:21:11 ---> 8c80df96dd15 17:21:11 Step 8/13 : WORKDIR /device-usb-camera 17:21:11 ---> Running in 3816da2cdf2c 17:21:11 Removing intermediate container 3816da2cdf2c 17:21:11 ---> 015ebc60ea13 17:21:11 Step 9/13 : COPY go.mod vendor* ./ 17:21:11 ---> 28d57c8b73f2 17:21:11 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:21:11 ---> Running in ea484c3d0eba 17:21:43 go: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45: verifying go.mod: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/go.mod: checking tree#16329011 against tree#16329439: reading https://sum.golang.org/tile/8/0/x063/786.p/223: 404 Not Found 17:21:43 server response: not found 17:21:43 go: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.39: verifying go.mod: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.39/go.mod: checking tree#16329080 against tree#16329440: reading https://sum.golang.org/tile/8/0/x063/786.p/224: 404 Not Found 17:21:43 server response: not found 17:21:43 go: github.com/edgexfoundry/go-mod-configuration/v3@v3.0.0-dev.6: verifying go.mod: github.com/edgexfoundry/go-mod-configuration/v3@v3.0.0-dev.6/go.mod: reading https://sum.golang.org/tile/8/0/x062/538: 404 Not Found 17:21:43 server response: not found 17:21:43 go: github.com/mitchellh/consulstructure@v0.0.0-20190329231841-56fdc4d2da54: verifying go.mod: github.com/mitchellh/consulstructure@v0.0.0-20190329231841-56fdc4d2da54/go.mod: checking tree#16329436 against tree#16329439: reading https://sum.golang.org/tile/8/0/x063/786.p/223: 404 Not Found 17:21:43 server response: not found 17:21:43 go: github.com/nats-io/nats.go@v1.24.0: verifying go.mod: github.com/nats-io/nats.go@v1.24.0/go.mod: checking tree#16329436 against tree#16329440: reading https://sum.golang.org/tile/8/0/x063/786.p/224: 404 Not Found 17:21:43 server response: not found 17:21:43 go: github.com/vladimirvivien/go4vl@v0.0.2: verifying go.mod: github.com/vladimirvivien/go4vl@v0.0.2/go.mod: checking tree#16329436 against tree#16329439: reading https://sum.golang.org/tile/8/0/x063/786.p/223: 404 Not Found 17:21:43 server response: not found 17:21:43 skipping... 17:22:05 Removing intermediate container ea484c3d0eba 17:22:05 ---> e3105424aebb 17:22:05 Step 11/13 : COPY . . 17:22:05 ---> 042411e5930a 17:22:05 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:22:05 ---> Running in b58d6a698e32 17:22:05  % Total % Received % Xferd Average Speed Time Time Time Current 17:22:05 Dload Upload Total Spent Left Speed 17:22:05 0 0 0 0 0  0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9859 0 --:--:-- --:--:-- --:--:-- 9925 17:22:05 Removing intermediate container b58d6a698e32 17:22:05 ---> cb15fdd7c5ad 17:22:05 Step 13/13 : RUN ${MAKE} 17:22:05 ---> Running in 6f5be9f2902d 17:22:05 noop 17:22:05 Removing intermediate container 6f5be9f2902d 17:22:05 ---> 8d0ff3d3cf50 17:22:05 Successfully built 8d0ff3d3cf50 17:22:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:06 + docker inspect -f . ci-base-image-x86_64 17:22:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:06 prd-ubuntu20.04-docker-8c-8g-9508 does not seem to be running inside a container 17:22:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-176 -v /w/workspace/foundry_device-usb-camera_PR-176:/w/workspace/foundry_device-usb-camera_PR-176:rw,z -v /w/workspace/foundry_device-usb-camera_PR-176@tmp:/w/workspace/foundry_device-usb-camera_PR-176@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 17:22:06 $ docker top 95177281d596712248fcd5b7ad9e520137ce107d5c65ccd25df14bf18be29d8f -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:07 + go version 17:22:07 go version go1.18.7 linux/amd64 [Pipeline] } 17:22:07 $ docker stop --time=1 95177281d596712248fcd5b7ad9e520137ce107d5c65ccd25df14bf18be29d8f 17:22:08 $ docker rm -f --volumes 95177281d596712248fcd5b7ad9e520137ce107d5c65ccd25df14bf18be29d8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:09 + docker inspect -f . ci-base-image-x86_64 17:22:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:09 prd-ubuntu20.04-docker-8c-8g-9508 does not seem to be running inside a container 17:22:09 $ 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-176 -v /w/workspace/foundry_device-usb-camera_PR-176:/w/workspace/foundry_device-usb-camera_PR-176:rw,z -v /w/workspace/foundry_device-usb-camera_PR-176@tmp:/w/workspace/foundry_device-usb-camera_PR-176@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 17:22:09 $ docker top e03632550cd34d1cb4c827f452891d7b3b14c7eab92a64f2e5005cfa57d085fe -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:10 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-176 [Pipeline] fileExists [Pipeline] sh 17:22:10 + make test 17:22:10 go test ./... -coverprofile=coverage.out ./... 17:22:10 go: downloading github.com/vladimirvivien/go4vl v0.0.2 17:22:10 go: downloading github.com/edgexfoundry/device-sdk-go/v3 v3.0.0-dev.45 17:22:10 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.39 17:22:10 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.6 17:22:10 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:22:10 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:22:19 # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 17:22:19 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) 17:22:19 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) 17:22:19 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as type string in argument to transformOffset 17:22:19 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) 17:22:19 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) 17:22:19 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as type string in argument to transformScale 17:22:19 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) 17:22:19 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) 17:22:19 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as type string in argument to transformBase 17:22:19 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) 17:22:19 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: too many errors 17:22:19 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 17:22:19 make: *** [Makefile:46: unittest] Error 2 [Pipeline] } 17:22:19 $ docker stop --time=1 e03632550cd34d1cb4c827f452891d7b3b14c7eab92a64f2e5005cfa57d085fe 17:22:21 $ docker rm -f --volumes e03632550cd34d1cb4c827f452891d7b3b14c7eab92a64f2e5005cfa57d085fe [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:22:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:22:22 17:22:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:22:23 latest: Pulling from edgex-lftools-log-publisher 17:22:23 5eb5b503b376: Pulling fs layer 17:22:23 5c69ac0246d0: Pulling fs layer 17:22:23 ec43610c2a17: Pulling fs layer 17:22:23 3a2ae6a8a46f: Pulling fs layer 17:22:23 33b1e0a273af: Pulling fs layer 17:22:23 5d3b04190fa2: Pulling fs layer 17:22:23 2f39f015ded8: Pulling fs layer 17:22:23 33b1e0a273af: Waiting 17:22:23 5d3b04190fa2: Waiting 17:22:23 3a2ae6a8a46f: Waiting 17:22:23 2f39f015ded8: Waiting 17:22:23 5c69ac0246d0: Verifying Checksum 17:22:23 5c69ac0246d0: Download complete 17:22:23 3a2ae6a8a46f: Verifying Checksum 17:22:23 3a2ae6a8a46f: Download complete 17:22:23 ec43610c2a17: Verifying Checksum 17:22:23 ec43610c2a17: Download complete 17:22:23 33b1e0a273af: Verifying Checksum 17:22:23 33b1e0a273af: Download complete 17:22:23 5d3b04190fa2: Verifying Checksum 17:22:23 5d3b04190fa2: Download complete 17:22:23 5eb5b503b376: Verifying Checksum 17:22:23 5eb5b503b376: Download complete 17:22:23 2f39f015ded8: Download complete 17:22:24 5eb5b503b376: Pull complete 17:22:24 5c69ac0246d0: Pull complete 17:22:25 ec43610c2a17: Pull complete 17:22:25 3a2ae6a8a46f: Pull complete 17:22:25 33b1e0a273af: Pull complete 17:22:25 5d3b04190fa2: Pull complete 17:22:29 2f39f015ded8: Pull complete 17:22:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:22:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:22:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:29 prd-ubuntu20.04-docker-8c-8g-9508 does not seem to be running inside a container 17:22:29 $ 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-176 -v /w/workspace/foundry_device-usb-camera_PR-176:/w/workspace/foundry_device-usb-camera_PR-176:rw,z -v /w/workspace/foundry_device-usb-camera_PR-176@tmp:/w/workspace/foundry_device-usb-camera_PR-176@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 17:22:34 $ docker top f9418f7a9d6a3ef0ba7083c15a5f07be5c81495255d4aa5f5310e907795d5205 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:35 ---> job-cost.sh 17:22:35 lf-activate-venv: SKIPPING 17:22:35 INFO: No Stack... 17:22:35 INFO: Retrieving Pricing Info for: v3-standard-8 17:22:36 INFO: Archiving Costs [Pipeline] sh 17:22:36 + cat /w/workspace/foundry_device-usb-camera_PR-176/archives/cost.csv 17:22:36 + cut -d, -f6 [Pipeline] lock 17:22:36 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-176-1-stack-cost] 17:22:36 Resource [jenkins-edgexfoundry-device-usb-camera-PR-176-1-stack-cost] did not exist. Created. 17:22:36 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-176-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:22:36 + echo total: 0.2199999988079071 [Pipeline] stash 17:22:36 Stashed 1 file(s) [Pipeline] } 17:22:36 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-176-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:22:36 $ docker stop --time=1 f9418f7a9d6a3ef0ba7083c15a5f07be5c81495255d4aa5f5310e907795d5205 17:22:38 $ docker rm -f --volumes f9418f7a9d6a3ef0ba7083c15a5f07be5c81495255d4aa5f5310e907795d5205 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:22:38 Failed in branch amd64 17:22:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9510 in /w/workspace/foundry_device-usb-camera_PR-176 [Pipeline] { [Pipeline] ws 17:22:47 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 17:22:48 Selected Git installation does not exist. Using Default 17:22:48 The recommended git tool is: NONE 17:22:52 using credential edgex-jenkins-ssh 17:22:52 Cloning the remote Git repository 17:22:53 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:22:53 > git init /w/workspace/device-usb-camera/1 # timeout=10 17:22:53 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:22:53 > git --version # timeout=10 17:22:53 > git --version # 'git version 2.25.1' 17:22:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:54 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:22:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:55 Merging remotes/origin/main commit 3323a63d0afd632e576abad22becd63271ca5b86 into PR head commit 2402799890877f9287f725607bb876464085879b 17:22:55 Merge succeeded, producing 2402799890877f9287f725607bb876464085879b 17:22:55 Checking out Revision 2402799890877f9287f725607bb876464085879b (PR-176) 17:22:54 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:22:54 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:22:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/176/head:refs/remotes/origin/PR-176 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:22:55 > git config core.sparsecheckout # timeout=10 17:22:55 > git checkout -f 2402799890877f9287f725607bb876464085879b # timeout=10 17:22:55 > git remote # timeout=10 17:22:55 > git config --get remote.origin.url # timeout=10 17:22:55 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:55 > git merge 3323a63d0afd632e576abad22becd63271ca5b86 # timeout=10 17:22:55 > git rev-parse HEAD^{commit} # timeout=10 17:22:55 > git config core.sparsecheckout # timeout=10 17:22:55 > git checkout -f 2402799890877f9287f725607bb876464085879b # timeout=10 17:22:56 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 17:22:56 > git --version # timeout=10 17:22:56 > git --version # 'git version 2.25.1' 17:22:56 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:22:57 % Total % Received % Xferd Average Speed Time Time Time Current 17:22:57 Dload Upload Total Spent Left Speed 17:22:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 17:22:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:22:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:22:58 + sudo tee /etc/docker/daemon.new 17:22:58 { 17:22:58 "registry-mirrors": [ 17:22:58 "https://nexus3.edgexfoundry.org:10001" 17:22:58 ], 17:22:58 "bip": "10.250.0.254/24", 17:22:58 "hosts": [ 17:22:58 "tcp://0.0.0.0:5555", 17:22:58 "unix:///var/run/docker.sock" 17:22:58 ], 17:22:58 "mtu": 1458, 17:22:58 "selinux-enabled": true, 17:22:58 "seccomp-profile": "/etc/docker/seccomp.json" 17:22:58 } [Pipeline] sh 17:22:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:22:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:23:17 provisioning config files... 17:23:17 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config8004222961111003678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:17 ---> docker-login.sh 17:23:17 nexus3.edgexfoundry.org:10001 17:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:18 Configure a credential helper to remove this warning. See 17:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:18 17:23:18 Login Succeeded 17:23:18 nexus3.edgexfoundry.org:10002 17:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:18 Configure a credential helper to remove this warning. See 17:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:18 17:23:18 Login Succeeded 17:23:18 nexus3.edgexfoundry.org:10003 17:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:18 Configure a credential helper to remove this warning. See 17:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:18 17:23:18 Login Succeeded 17:23:18 nexus3.edgexfoundry.org:10004 17:23:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:19 Configure a credential helper to remove this warning. See 17:23:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:19 17:23:19 Login Succeeded 17:23:19 docker.io 17:23:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:19 Configure a credential helper to remove this warning. See 17:23:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:19 17:23:19 Login Succeeded 17:23:19 ---> docker-login.sh ends [Pipeline] } 17:23:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:23:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:20 ========================================================= 17:23:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:23:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:20 + 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:23:20 Sending build context to Docker daemon 1.157MB 17:23:20 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:23:20 Step 2/13 : FROM ${BASE} AS builder 17:23:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:23:21 9b18e9b68314: Pulling fs layer 17:23:21 35d82f9e3411: Pulling fs layer 17:23:21 e16973657156: Pulling fs layer 17:23:21 fc693d55d65f: Pulling fs layer 17:23:21 7e9fc2657dce: Pulling fs layer 17:23:21 dda99020689f: Pulling fs layer 17:23:21 db1c61fa0a46: Pulling fs layer 17:23:21 891c053d2c06: Pulling fs layer 17:23:21 dda99020689f: Waiting 17:23:21 db1c61fa0a46: Waiting 17:23:21 891c053d2c06: Waiting 17:23:21 fc693d55d65f: Waiting 17:23:21 7e9fc2657dce: Waiting 17:23:21 e16973657156: Verifying Checksum 17:23:21 e16973657156: Download complete 17:23:21 35d82f9e3411: Verifying Checksum 17:23:21 35d82f9e3411: Download complete 17:23:21 7e9fc2657dce: Verifying Checksum 17:23:21 7e9fc2657dce: Download complete 17:23:21 dda99020689f: Download complete 17:23:21 9b18e9b68314: Download complete 17:23:22 9b18e9b68314: Pull complete 17:23:22 891c053d2c06: Verifying Checksum 17:23:22 891c053d2c06: Download complete 17:23:22 35d82f9e3411: Pull complete 17:23:22 e16973657156: Pull complete 17:23:23 db1c61fa0a46: Verifying Checksum 17:23:23 db1c61fa0a46: Download complete 17:23:23 fc693d55d65f: Verifying Checksum 17:23:23 fc693d55d65f: Download complete 17:23:36 fc693d55d65f: Pull complete 17:23:36 7e9fc2657dce: Pull complete 17:23:36 dda99020689f: Pull complete 17:23:41 db1c61fa0a46: Pull complete 17:23:43 891c053d2c06: Pull complete 17:23:43 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:23:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:23:43 ---> f96f9c87975a 17:23:43 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:23:45 ---> Running in bbf9462972c8 17:23:45 Removing intermediate container bbf9462972c8 17:23:45 ---> f9fd5c8d72d5 17:23:45 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:23:45 ---> Running in e36eb1c8f557 17:23:46 Removing intermediate container e36eb1c8f557 17:23:46 ---> 45c0a412f14e 17:23:46 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:23:46 ---> Running in 6d2576fd419f 17:23:46 Removing intermediate container 6d2576fd419f 17:23:46 ---> 41b3f434e556 17:23:46 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:23:46 ---> Running in 895e8fdb10e9 17:23:46 Removing intermediate container 895e8fdb10e9 17:23:46 ---> 5ef2f08f5fd3 17:23:46 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:23:46 ---> Running in dbb064d3f2f1 17:23:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:23:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:23:49 (1/14) Installing libintl (0.21-r2) 17:23:49 (2/14) Installing eudev-libs (3.2.11-r0) 17:23:49 (3/14) Installing libjpeg-turbo (2.1.3-r1) 17:23:49 (4/14) Installing v4l-utils-libs (1.22.1-r1) 17:23:49 (5/14) Installing v4l-utils (1.22.1-r1) 17:23:49 (6/14) Installing udev-init-scripts (35-r0) 17:23:49 Executing udev-init-scripts-35-r0.post-install 17:23:49 (7/14) Installing libblkid (2.38-r1) 17:23:49 (8/14) Installing xz-libs (5.2.5-r1) 17:23:49 (9/14) Installing zstd-libs (1.5.2-r1) 17:23:49 (10/14) Installing kmod-libs (29-r2) 17:23:49 (11/14) Installing eudev (3.2.11-r0) 17:23:49 (12/14) Installing eudev-dev (3.2.11-r0) 17:23:49 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:23:49 (14/14) Installing v4l-utils-dev (1.22.1-r1) 17:23:49 Executing busybox-1.35.0-r17.trigger 17:23:49 Executing eudev-3.2.11-r0.trigger 17:23:49 OK: 228 MiB in 65 packages 17:23:51 Removing intermediate container dbb064d3f2f1 17:23:51 ---> aeaae927e38f 17:23:51 Step 8/13 : WORKDIR /device-usb-camera 17:23:51 ---> Running in 49fad6f34fdb 17:23:51 Removing intermediate container 49fad6f34fdb 17:23:51 ---> c69db3522ed1 17:23:51 Step 9/13 : COPY go.mod vendor* ./ 17:23:52 ---> 5d5f1fb3a35f 17:23:52 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:52 ---> Running in e24677f37fc2 17:25:14 Removing intermediate container e24677f37fc2 17:25:14 ---> f75bc314f97f 17:25:14 Step 11/13 : COPY . . 17:25:14 ---> 3586cde67543 17:25:14 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:25:14 ---> Running in ba962f30921f 17:25:14  % Total % Received % Xferd Average Speed Time Time Time Current 17:25:14 Dload Upload Total Spent Left Speed 17:25:14 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 14856 0 --:--:-- --:--:-- --:--:-- 14750 17:25:14 Removing intermediate container ba962f30921f 17:25:14 ---> e16e0702f001 17:25:14 Step 13/13 : RUN ${MAKE} 17:25:14 ---> Running in 0a0d95e38dfb 17:25:14 noop 17:25:14 Removing intermediate container 0a0d95e38dfb 17:25:14 ---> 8b2531881980 17:25:14 Successfully built 8b2531881980 17:25:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:14 + docker inspect -f . ci-base-image-arm64 17:25:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:14 prd-ubuntu20.04-docker-arm64-4c-16g-9510 does not seem to be running inside a container 17:25:14 $ 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:25:16 $ docker top 6f0dc6f17b663a1e7f6d6bd6a2dc2877b24b542d8c4eba0b8795e4545cf70664 -eo pid,comm [Pipeline] { [Pipeline] sh 17:25:17 + go version 17:25:17 go version go1.18.7 linux/arm64 [Pipeline] } 17:25:17 $ docker stop --time=1 6f0dc6f17b663a1e7f6d6bd6a2dc2877b24b542d8c4eba0b8795e4545cf70664 17:25:18 $ docker rm -f --volumes 6f0dc6f17b663a1e7f6d6bd6a2dc2877b24b542d8c4eba0b8795e4545cf70664 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:19 + docker inspect -f . ci-base-image-arm64 17:25:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:19 prd-ubuntu20.04-docker-arm64-4c-16g-9510 does not seem to be running inside a container 17:25:19 $ 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:25:21 $ docker top 3ac19fa7f9725359dd8f48929ed4494b3d0fde125bf4f50848baca5e8bdbfcd9 -eo pid,comm [Pipeline] { [Pipeline] sh 17:25:22 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 17:25:22 + make test 17:25:22 go test ./... -coverprofile=coverage.out ./... 17:25:24 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:26:45 # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 17:26:45 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) 17:26:45 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) 17:26:45 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as type string in argument to transformOffset 17:26:45 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) 17:26:45 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) 17:26:45 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as type string in argument to transformScale 17:26:45 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) 17:26:45 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) 17:26:45 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as type string in argument to transformBase 17:26:45 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) 17:26:45 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: too many errors 17:26:48 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 17:26:48 make: *** [Makefile:46: unittest] Error 2 [Pipeline] } 17:26:48 $ docker stop --time=1 3ac19fa7f9725359dd8f48929ed4494b3d0fde125bf4f50848baca5e8bdbfcd9 17:26:50 $ docker rm -f --volumes 3ac19fa7f9725359dd8f48929ed4494b3d0fde125bf4f50848baca5e8bdbfcd9 [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:26:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:26:52 17:26:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:26:52 arm64: Pulling from edgex-lftools-log-publisher 17:26:52 8998bd30e6a1: Pulling fs layer 17:26:52 04944245beec: Pulling fs layer 17:26:52 699f458cf7ca: Pulling fs layer 17:26:52 765212b225bb: Pulling fs layer 17:26:52 f23df028b6ca: Pulling fs layer 17:26:52 d65c8cfc05b1: Pulling fs layer 17:26:52 2437ff75d9bd: Pulling fs layer 17:26:52 765212b225bb: Waiting 17:26:52 f23df028b6ca: Waiting 17:26:52 d65c8cfc05b1: Waiting 17:26:52 2437ff75d9bd: Waiting 17:26:52 04944245beec: Verifying Checksum 17:26:52 04944245beec: Download complete 17:26:52 765212b225bb: Verifying Checksum 17:26:52 765212b225bb: Download complete 17:26:52 f23df028b6ca: Download complete 17:26:53 d65c8cfc05b1: Verifying Checksum 17:26:53 d65c8cfc05b1: Download complete 17:26:53 699f458cf7ca: Verifying Checksum 17:26:53 699f458cf7ca: Download complete 17:26:53 8998bd30e6a1: Verifying Checksum 17:26:53 8998bd30e6a1: Download complete 17:26:55 2437ff75d9bd: Download complete 17:26:57 8998bd30e6a1: Pull complete 17:26:57 04944245beec: Pull complete 17:26:58 699f458cf7ca: Pull complete 17:26:59 765212b225bb: Pull complete 17:26:59 f23df028b6ca: Pull complete 17:27:00 d65c8cfc05b1: Pull complete 17:27:18 2437ff75d9bd: Pull complete 17:27:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:27:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:27:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:19 prd-ubuntu20.04-docker-arm64-4c-16g-9510 does not seem to be running inside a container 17:27:19 $ 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:27:20 $ docker top 93c82cb742c3a1843d1ba0f5a03ada4aa3ce25a1db67ce62e7c0d475e5385e53 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:21 ---> job-cost.sh 17:27:21 lf-activate-venv: SKIPPING 17:27:21 INFO: No Stack... 17:27:21 INFO: Retrieving Pricing Info for: v3-standard-4 17:27:22 INFO: Archiving Costs [Pipeline] sh 17:27:23 + cut -d, -f6 17:27:23 + cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock 17:27:23 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-176-1-stack-cost] 17:27:23 Resource [jenkins-edgexfoundry-device-usb-camera-PR-176-1-stack-cost] did not exist. Created. 17:27:23 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-176-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:27:24 /w/workspace/device-usb-camera/1@tmp/durable-893470ab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:27:24 + echo total: 0.10999999940395355 [Pipeline] stash 17:27:24 Warning: overwriting stash ‘stack-cost’ 17:27:25 Stashed 1 file(s) [Pipeline] } 17:27:25 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-176-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:27:25 $ docker stop --time=1 93c82cb742c3a1843d1ba0f5a03ada4aa3ce25a1db67ce62e7c0d475e5385e53 17:27:27 $ docker rm -f --volumes 93c82cb742c3a1843d1ba0f5a03ada4aa3ce25a1db67ce62e7c0d475e5385e53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:27:27 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:27:29 + [ -d /w/workspace/foundry_device-usb-camera_PR-176/archives ] 17:27:29 + ls -al /w/workspace/foundry_device-usb-camera_PR-176/archives 17:27:29 total 16 17:27:29 drwxr-xr-x 3 root root 4096 Mar 9 17:22 . 17:27:29 drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 17:22 .. 17:27:29 drwxr-xr-x 2 root root 4096 Mar 9 17:22 cost 17:27:29 -rw-r--r-- 1 root root 89 Mar 9 17:22 cost.csv 17:27:29 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-176/archives 17:27:29 + ls -al /w/workspace/foundry_device-usb-camera_PR-176/archives 17:27:29 total 16 17:27:29 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 17:22 . 17:27:29 drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 17:22 .. 17:27:29 drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 17:22 cost 17:27:29 -rw-r--r-- 1 jenkins jenkins 89 Mar 9 17:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:27:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:27:31 ---> package-listing.sh 17:27:31 ++ facter osfamily 17:27:31 ++ tr '[:upper:]' '[:lower:]' 17:27:31 + OS_FAMILY=debian 17:27:31 + workspace=/w/workspace/foundry_device-usb-camera_PR-176 17:27:31 + START_PACKAGES=/tmp/packages_start.txt 17:27:31 + END_PACKAGES=/tmp/packages_end.txt 17:27:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:27:31 + PACKAGES=/tmp/packages_start.txt 17:27:31 + '[' /w/workspace/foundry_device-usb-camera_PR-176 ']' 17:27:31 + PACKAGES=/tmp/packages_end.txt 17:27:31 + case "${OS_FAMILY}" in 17:27:31 + dpkg -l 17:27:31 + grep '^ii' 17:27:31 + '[' -f /tmp/packages_start.txt ']' 17:27:31 + '[' -f /tmp/packages_end.txt ']' 17:27:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:27:31 + '[' /w/workspace/foundry_device-usb-camera_PR-176 ']' 17:27:31 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-176/archives/ 17:27:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-176/archives/ [Pipeline] echo 17:27:31 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-176/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:27:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:27:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:32 prd-ubuntu20.04-docker-8c-8g-9508 does not seem to be running inside a container 17:27:32 $ 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-176/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-176 -v /w/workspace/foundry_device-usb-camera_PR-176:/w/workspace/foundry_device-usb-camera_PR-176:rw,z -v /w/workspace/foundry_device-usb-camera_PR-176@tmp:/w/workspace/foundry_device-usb-camera_PR-176@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:27:32 $ docker top cc59e68d3cbef1afbdebc53d7310b72ccc6959291bfefc63befca1b35f739286 -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:33 + touch /tmp/pre-build-complete [Pipeline] sh 17:27:33 + mkdir -p /var/log/sysstat [Pipeline] sh 17:27:33 + ls /var/log/sa-host 17:27:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:27:34 provisioning config files... 17:27:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-176@tmp/config13716971648583453248tmp [Pipeline] { [Pipeline] echo 17:27:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:27:34 ---> create-netrc.sh [Pipeline] } 17:27:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:27:34 ---> python-tools-install.sh [Pipeline] echo 17:27:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:27:35 ---> sudo-logs.sh 17:27:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:27:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:27:35 ---> job-cost.sh 17:27:35 lf-activate-venv: SKIPPING 17:27:35 DEBUG: total: 0.2199999988079071 17:27:35 INFO: Retrieving Stack Cost... 17:27:35 INFO: Retrieving Pricing Info for: v3-standard-8 17:27:36 INFO: Archiving Costs [Pipeline] echo 17:27:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:27:36 ---> logs-deploy.sh 17:27:36 lf-activate-venv: SKIPPING 17:27:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-176/1 17:27:36 INFO: archiving workspace using pattern(s): 17:27:37 Archives upload complete. 17:27:37 INFO: archiving logs to Nexus 17:27:38 ---> uname -a: 17:27:38 Linux prd-ubuntu20-04-docker-8c-8g-9508 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:27:38 17:27:38 17:27:38 ---> lscpu: 17:27:38 Architecture: x86_64 17:27:38 CPU op-mode(s): 32-bit, 64-bit 17:27:38 Byte Order: Little Endian 17:27:38 Address sizes: 40 bits physical, 48 bits virtual 17:27:38 CPU(s): 8 17:27:38 On-line CPU(s) list: 0-7 17:27:38 Thread(s) per core: 1 17:27:38 Core(s) per socket: 1 17:27:38 Socket(s): 8 17:27:38 NUMA node(s): 1 17:27:38 Vendor ID: AuthenticAMD 17:27:38 CPU family: 23 17:27:38 Model: 49 17:27:38 Model name: AMD EPYC-Rome Processor 17:27:38 Stepping: 0 17:27:38 CPU MHz: 2800.002 17:27:38 BogoMIPS: 5600.00 17:27:38 Virtualization: AMD-V 17:27:38 Hypervisor vendor: KVM 17:27:38 Virtualization type: full 17:27:38 L1d cache: 256 KiB 17:27:38 L1i cache: 256 KiB 17:27:38 L2 cache: 4 MiB 17:27:38 L3 cache: 128 MiB 17:27:38 NUMA node0 CPU(s): 0-7 17:27:38 Vulnerability Itlb multihit: Not affected 17:27:38 Vulnerability L1tf: Not affected 17:27:38 Vulnerability Mds: Not affected 17:27:38 Vulnerability Meltdown: Not affected 17:27:38 Vulnerability Mmio stale data: Not affected 17:27:38 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:27:38 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:27:38 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:27:38 Vulnerability Srbds: Not affected 17:27:38 Vulnerability Tsx async abort: Not affected 17:27:38 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 17:27:38 17:27:38