Pull request #151 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e10ce42eed5fb5521aace79614e371db8734bcaa+d43df4097523a2749be68cc9a7c29d8397ed8c11 (d99cd41d564e645330b789f98cbae684061f8935) 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-ssh3295177735858284179.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-ssh6519268497305991414.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-151/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-151/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6819523209811877718.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-151/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13434141929992133206.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-ssh13952324834691394123.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-151/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-151/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16054290780734076833.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6314 in /w/workspace/foundry_device-usb-camera_PR-151 [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-151 # 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 d43df4097523a2749be68cc9a7c29d8397ed8c11 into PR head commit e10ce42eed5fb5521aace79614e371db8734bcaa > 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/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e10ce42eed5fb5521aace79614e371db8734bcaa # timeout=10 > git remote # timeout=10 Merge succeeded, producing e10ce42eed5fb5521aace79614e371db8734bcaa Checking out Revision e10ce42eed5fb5521aace79614e371db8734bcaa (PR-151) 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 18:02:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:02:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:02:55 ========================================================= 18:02:55 EdgeX Global Pipelines Version Info 18:02:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d43df4097523a2749be68cc9a7c29d8397ed8c11 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e10ce42eed5fb5521aace79614e371db8734bcaa # timeout=10 18:02:56 ------------------- 18:02:56 stable info: 18:02:56 ------------------- 18:02:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:02:56 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:02:56 Message: update stable to v1.0.244 18:02:56 ------------------- 18:02:56 experimental info: 18:02:56 ------------------- 18:02:56 Commited By: **** collab-it+edgex@linuxfoundation.org 18:02:56 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:02:56 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:02:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 18:02:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:02:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:02:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-151 [Pipeline] echo 18:02:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-151 [Pipeline] echo 18:02:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-151 [Pipeline] echo 18:02:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e10ce42eed5fb5521aace79614e371db8734bcaa [Pipeline] echo 18:02:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e10ce42 [Pipeline] echo 18:02:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:02:58 provisioning config files... 18:02:58 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-151@tmp/config16608234387224921001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:02:58 ---> docker-login.sh 18:02:58 nexus3.edgexfoundry.org:10001 18:02:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:59 Configure a credential helper to remove this warning. See 18:02:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:59 18:02:59 Login Succeeded 18:02:59 nexus3.edgexfoundry.org:10002 18:02:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:59 Configure a credential helper to remove this warning. See 18:02:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:59 18:02:59 Login Succeeded 18:02:59 nexus3.edgexfoundry.org:10003 18:02:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:59 Configure a credential helper to remove this warning. See 18:02:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:59 18:02:59 Login Succeeded 18:02:59 nexus3.edgexfoundry.org:10004 18:02:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:59 Configure a credential helper to remove this warning. See 18:02:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:59 18:02:59 Login Succeeded 18:02:59 docker.io 18:02:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:59 Configure a credential helper to remove this warning. See 18:02:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:59 18:02:59 Login Succeeded 18:02:59 ---> docker-login.sh ends [Pipeline] } 18:02:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:03:00 + git rev-list -1 --merges e10ce42eed5fb5521aace79614e371db8734bcaa~1..e10ce42eed5fb5521aace79614e371db8734bcaa [Pipeline] echo 18:03:00 -----------> git rev-list -1 --merges e10ce42eed5fb5521aace79614e371db8734bcaa~1..e10ce42eed5fb5521aace79614e371db8734bcaa e10ce42eed5fb5521aace79614e371db8734bcaa [false] [Pipeline] sh 18:03:00 + git log --format=format:%s -1 e10ce42eed5fb5521aace79614e371db8734bcaa [Pipeline] echo 18:03:00 ========================================================= 18:03:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:03:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:03:01 + git log --format=format:%s -1 e10ce42eed5fb5521aace79614e371db8734bcaa [Pipeline] echo 18:03:01 [semverPrep] GIT_COMMIT: e10ce42eed5fb5521aace79614e371db8734bcaa, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 18:03:01 [semverPrep] This is not a build commit. [Pipeline] sh 18:03:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:03:01 + grep -v github /etc/ssh/ssh_known_hosts 18:03:01 + [ -e /tmp/ssh_known_hosts ] 18:03:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:03:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:03:01 + sudo tee -a /etc/ssh/ssh_known_hosts 18:03:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:03:02 18:03:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:03:02 0.1.4: Pulling from edgex-devops/py-git-semver 18:03:02 b85a868b505f: Pulling fs layer 18:03:02 e2be974225ed: Pulling fs layer 18:03:02 339a4e72a1f5: Pulling fs layer 18:03:02 988bab9f4d93: Pulling fs layer 18:03:02 1469e6f7b9e6: Pulling fs layer 18:03:02 988bab9f4d93: Waiting 18:03:02 eaf3925da568: Pulling fs layer 18:03:02 bab4dde63d76: Pulling fs layer 18:03:02 1469e6f7b9e6: Waiting 18:03:02 eaf3925da568: Waiting 18:03:02 bde34c3a00c8: Pulling fs layer 18:03:02 b352a97aabf1: Pulling fs layer 18:03:02 bde34c3a00c8: Waiting 18:03:02 4872d77fe225: Pulling fs layer 18:03:02 b352a97aabf1: Waiting 18:03:02 5851b861e8e6: Pulling fs layer 18:03:02 4872d77fe225: Waiting 18:03:02 5851b861e8e6: Waiting 18:03:02 e2be974225ed: Verifying Checksum 18:03:02 e2be974225ed: Download complete 18:03:02 988bab9f4d93: Verifying Checksum 18:03:02 988bab9f4d93: Download complete 18:03:02 1469e6f7b9e6: Verifying Checksum 18:03:02 1469e6f7b9e6: Download complete 18:03:02 eaf3925da568: Verifying Checksum 18:03:02 eaf3925da568: Download complete 18:03:02 339a4e72a1f5: Verifying Checksum 18:03:02 339a4e72a1f5: Download complete 18:03:02 bde34c3a00c8: Verifying Checksum 18:03:02 bde34c3a00c8: Download complete 18:03:02 b352a97aabf1: Verifying Checksum 18:03:02 b352a97aabf1: Download complete 18:03:03 4872d77fe225: Verifying Checksum 18:03:03 4872d77fe225: Download complete 18:03:03 5851b861e8e6: Download complete 18:03:03 b85a868b505f: Verifying Checksum 18:03:03 b85a868b505f: Download complete 18:03:03 bab4dde63d76: Verifying Checksum 18:03:03 bab4dde63d76: Download complete 18:03:04 b85a868b505f: Pull complete 18:03:04 e2be974225ed: Pull complete 18:03:04 339a4e72a1f5: Pull complete 18:03:04 988bab9f4d93: Pull complete 18:03:05 1469e6f7b9e6: Pull complete 18:03:05 eaf3925da568: Pull complete 18:03:07 bab4dde63d76: Pull complete 18:03:07 bde34c3a00c8: Pull complete 18:03:07 b352a97aabf1: Pull complete 18:03:07 4872d77fe225: Pull complete 18:03:07 5851b861e8e6: Pull complete 18:03:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:03:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:03:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:03:07 prd-ubuntu20.04-docker-8c-8g-6314 does not seem to be running inside a container 18:03:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-151 -v /w/workspace/foundry_device-usb-camera_PR-151:/w/workspace/foundry_device-usb-camera_PR-151:rw,z -v /w/workspace/foundry_device-usb-camera_PR-151@tmp:/w/workspace/foundry_device-usb-camera_PR-151@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 18:03:09 $ docker top cd0f36d40b1462c32c02ffe8b21ffe22257e54a72d67b462d86eb4020b1d7581 -eo pid,comm 18:03:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:03:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:03:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:03:09 [ssh-agent] Looking for ssh-agent implementation... 18:03:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:03:09 $ docker exec cd0f36d40b1462c32c02ffe8b21ffe22257e54a72d67b462d86eb4020b1d7581 ssh-agent 18:03:09 SSH_AUTH_SOCK=/tmp/ssh-sGq8xcF8Q6rx/agent.33 18:03:09 SSH_AGENT_PID=39 18:03:09 Running ssh-add (command line suppressed) 18:03:09 Identity added: /w/workspace/foundry_device-usb-camera_PR-151@tmp/private_key_13840286376084404637.key (/w/workspace/foundry_device-usb-camera_PR-151@tmp/private_key_13840286376084404637.key) 18:03:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:03:10 + git tag --points-at HEAD [Pipeline] } 18:03:10 $ docker exec --env ******** --env ******** cd0f36d40b1462c32c02ffe8b21ffe22257e54a72d67b462d86eb4020b1d7581 ssh-agent -k 18:03:10 unset SSH_AUTH_SOCK; 18:03:10 unset SSH_AGENT_PID; 18:03:10 echo Agent pid 39 killed; 18:03:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:03:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:03:10 [ssh-agent] Looking for ssh-agent implementation... 18:03:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:03:10 $ docker exec cd0f36d40b1462c32c02ffe8b21ffe22257e54a72d67b462d86eb4020b1d7581 ssh-agent 18:03:10 SSH_AUTH_SOCK=/tmp/ssh-xgmNMvt9vOGS/agent.71 18:03:10 SSH_AGENT_PID=77 18:03:10 Running ssh-add (command line suppressed) 18:03:10 Identity added: /w/workspace/foundry_device-usb-camera_PR-151@tmp/private_key_15289088753923697977.key (/w/workspace/foundry_device-usb-camera_PR-151@tmp/private_key_15289088753923697977.key) 18:03:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:03:10 + git semver init 18:03:11 2023-02-16 18:03:11,172 [run_init] DEBUG init version:0.0.0 force:False 18:03:11 2023-02-16 18:03:11,175 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-151/.semver 18:03:11 2023-02-16 18:03:11,176 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-151/.semver 18:03:11 2023-02-16 18:03:11,176 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-151/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-151, universal_newlines=False, shell=None, istream=None) 18:03:12 2023-02-16 18:03:12,061 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-151/.git/info/exclude 18:03:12 2023-02-16 18:03:12,062 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-151/.semver/PR-151 with force:False 18:03:12 2023-02-16 18:03:12,062 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-151/.semver/PR-151 18:03:12 2023-02-16 18:03:12,066 [execute] INFO git cat-file --batch-check 18:03:12 2023-02-16 18:03:12,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-151/.semver, universal_newlines=False, shell=None, istream=) 18:03:12 2023-02-16 18:03:12,072 [execute] INFO git cat-file --batch 18:03:12 2023-02-16 18:03:12,072 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-151/.semver, universal_newlines=False, shell=None, istream=) 18:03:12 2023-02-16 18:03:12,077 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-151/.semver/PR-151 18:03:12 0.0.0 [Pipeline] } 18:03:12 $ docker exec --env ******** --env ******** cd0f36d40b1462c32c02ffe8b21ffe22257e54a72d67b462d86eb4020b1d7581 ssh-agent -k 18:03:12 unset SSH_AUTH_SOCK; 18:03:12 unset SSH_AGENT_PID; 18:03:12 echo Agent pid 77 killed; 18:03:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:03:12 + git semver [Pipeline] } 18:03:13 $ docker stop --time=1 cd0f36d40b1462c32c02ffe8b21ffe22257e54a72d67b462d86eb4020b1d7581 18:03:14 $ docker rm -f --volumes cd0f36d40b1462c32c02ffe8b21ffe22257e54a72d67b462d86eb4020b1d7581 [Pipeline] // withDockerContainer [Pipeline] sh 18:03:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:03:15 Stashed 1 file(s) [Pipeline] echo 18:03:15 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:03:15 provisioning config files... 18:03:15 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-151@tmp/config10782581863652587267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:03:15 ---> docker-login.sh 18:03:15 nexus3.edgexfoundry.org:10001 18:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:15 Configure a credential helper to remove this warning. See 18:03:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:15 18:03:15 Login Succeeded 18:03:15 nexus3.edgexfoundry.org:10002 18:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:15 Configure a credential helper to remove this warning. See 18:03:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:15 18:03:15 Login Succeeded 18:03:15 nexus3.edgexfoundry.org:10003 18:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:16 Configure a credential helper to remove this warning. See 18:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:16 18:03:16 Login Succeeded 18:03:16 nexus3.edgexfoundry.org:10004 18:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:16 Configure a credential helper to remove this warning. See 18:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:16 18:03:16 Login Succeeded 18:03:16 docker.io 18:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:16 Configure a credential helper to remove this warning. See 18:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:16 18:03:16 Login Succeeded 18:03:16 ---> docker-login.sh ends [Pipeline] } 18:03:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:03:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:03:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:03:17 ========================================================= 18:03:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:03:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:17 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:03:17 Sending build context to Docker daemon 1.744MB 18:03:17 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:03:17 Step 2/13 : FROM ${BASE} AS builder 18:03:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:03:17 213ec9aee27d: Pulling fs layer 18:03:17 4583459ba037: Pulling fs layer 18:03:17 93c1e223e6f2: Pulling fs layer 18:03:17 53926ce57604: Pulling fs layer 18:03:17 21b2b0c7a3f4: Pulling fs layer 18:03:17 22ff95d597cd: Pulling fs layer 18:03:17 12d6caf4c0d1: Pulling fs layer 18:03:17 96b7cbca73a9: Pulling fs layer 18:03:17 a7acece74701: Pulling fs layer 18:03:17 53926ce57604: Waiting 18:03:17 22ff95d597cd: Waiting 18:03:17 a7acece74701: Waiting 18:03:17 96b7cbca73a9: Waiting 18:03:17 21b2b0c7a3f4: Waiting 18:03:17 12d6caf4c0d1: Waiting 18:03:17 93c1e223e6f2: Verifying Checksum 18:03:17 93c1e223e6f2: Download complete 18:03:17 4583459ba037: Download complete 18:03:17 21b2b0c7a3f4: Verifying Checksum 18:03:17 21b2b0c7a3f4: Download complete 18:03:17 22ff95d597cd: Download complete 18:03:17 213ec9aee27d: Verifying Checksum 18:03:17 213ec9aee27d: Download complete 18:03:17 12d6caf4c0d1: Download complete 18:03:17 213ec9aee27d: Pull complete 18:03:18 4583459ba037: Pull complete 18:03:18 93c1e223e6f2: Pull complete 18:03:19 a7acece74701: Verifying Checksum 18:03:19 a7acece74701: Download complete 18:03:19 53926ce57604: Verifying Checksum 18:03:19 53926ce57604: Download complete 18:03:19 96b7cbca73a9: Verifying Checksum 18:03:19 96b7cbca73a9: Download complete 18:03:22 53926ce57604: Pull complete 18:03:22 21b2b0c7a3f4: Pull complete 18:03:22 22ff95d597cd: Pull complete 18:03:22 12d6caf4c0d1: Pull complete 18:03:24 96b7cbca73a9: Pull complete 18:03:25 a7acece74701: Pull complete 18:03:25 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:03:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:03:25 ---> db6d94c90886 18:03:25 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:03:27 ---> Running in 5501ed58cd52 18:03:27 Removing intermediate container 5501ed58cd52 18:03:27 ---> 2e25df91efca 18:03:27 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:03:27 ---> Running in 2f98f84abb0a 18:03:27 Removing intermediate container 2f98f84abb0a 18:03:27 ---> 895a4c7cc1d4 18:03:27 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:03:27 ---> Running in 1ca3c3078683 18:03:27 Removing intermediate container 1ca3c3078683 18:03:27 ---> cc99649693a7 18:03:27 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:03:27 ---> Running in d6977dd1559e 18:03:27 Removing intermediate container d6977dd1559e 18:03:27 ---> a7d03b0d5c13 18:03:27 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:03:27 ---> Running in 375468510fc6 18:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:03:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:03:28 (1/80) Installing mesa (21.3.9-r0) 18:03:28 (2/80) Installing libxau (1.0.9-r0) 18:03:28 (3/80) Installing libxdmcp (1.1.3-r0) 18:03:28 (4/80) Installing libxcb (1.15-r0) 18:03:28 (5/80) Installing libx11 (1.8-r0) 18:03:28 (6/80) Installing libxext (1.3.4-r0) 18:03:28 (7/80) Installing libxfixes (6.0.0-r0) 18:03:28 (8/80) Installing libxxf86vm (1.1.4-r2) 18:03:28 (9/80) Installing libpciaccess (0.16-r0) 18:03:28 (10/80) Installing libdrm (2.4.110-r0) 18:03:28 (11/80) Installing mesa-glapi (21.3.9-r0) 18:03:28 (12/80) Installing libxshmfence (1.3-r1) 18:03:28 (13/80) Installing mesa-gl (21.3.9-r0) 18:03:28 (14/80) Installing icu-data-full (71.1-r2) 18:03:28 (15/80) Installing libice (1.0.10-r0) 18:03:28 (16/80) Installing libuuid (2.38-r1) 18:03:28 (17/80) Installing libsm (1.2.3-r0) 18:03:28 (18/80) Installing libxt (1.2.1-r0) 18:03:28 (19/80) Installing libxmu (1.1.3-r0) 18:03:28 (20/80) Installing xset (1.2.4-r0) 18:03:28 (21/80) Installing xprop (1.2.5-r0) 18:03:28 (22/80) Installing xdg-utils (1.1.3-r3) 18:03:28 (23/80) Installing dbus-libs (1.14.4-r0) 18:03:28 (24/80) Installing libffi (3.4.2-r1) 18:03:28 (25/80) Installing libintl (0.21-r2) 18:03:28 (26/80) Installing libblkid (2.38-r1) 18:03:28 (27/80) Installing libmount (2.38-r1) 18:03:28 (28/80) Installing pcre (8.45-r2) 18:03:28 (29/80) Installing glib (2.72.1-r0) 18:03:28 (30/80) Installing icu-libs (71.1-r2) 18:03:28 (31/80) Installing libpcre2-16 (10.40-r0) 18:03:28 (32/80) Installing zstd-libs (1.5.2-r1) 18:03:28 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 18:03:28 (34/80) Installing hicolor-icon-theme (0.17-r1) 18:03:28 (35/80) Installing wayland-libs-server (1.20.0-r0) 18:03:28 (36/80) Installing mesa-gbm (21.3.9-r0) 18:03:28 (37/80) Installing wayland-libs-client (1.20.0-r0) 18:03:28 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 18:03:29 (39/80) Installing libxcomposite (0.4.5-r0) 18:03:29 (40/80) Installing libbz2 (1.0.8-r1) 18:03:29 (41/80) Installing libpng (1.6.37-r1) 18:03:29 (42/80) Installing freetype (2.12.1-r0) 18:03:29 (43/80) Installing fontconfig (2.14.0-r0) 18:03:29 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 18:03:29 (45/80) Installing wayland-libs-egl (1.20.0-r0) 18:03:29 (46/80) Installing xkeyboard-config (2.35.1-r0) 18:03:29 (47/80) Installing xz-libs (5.2.5-r1) 18:03:29 (48/80) Installing libxml2 (2.9.14-r2) 18:03:29 (49/80) Installing libxkbcommon (1.4.1-r0) 18:03:29 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 18:03:29 (51/80) Installing mesa-egl (21.3.9-r0) 18:03:29 (52/80) Installing avahi-libs (0.8-r6) 18:03:29 (53/80) Installing nettle (3.7.3-r0) 18:03:29 (54/80) Installing p11-kit (0.24.1-r0) 18:03:29 (55/80) Installing libtasn1 (4.18.0-r1) 18:03:29 (56/80) Installing libunistring (1.0-r0) 18:03:29 (57/80) Installing gnutls (3.7.7-r1) 18:03:29 (58/80) Installing cups-libs (2.4.2-r0) 18:03:29 (59/80) Installing graphite2 (1.3.14-r1) 18:03:29 (60/80) Installing harfbuzz (4.3.0-r0) 18:03:29 (61/80) Installing libevdev (1.12.1-r0) 18:03:29 (62/80) Installing mtdev (1.1.6-r0) 18:03:29 (63/80) Installing eudev-libs (3.2.11-r0) 18:03:29 (64/80) Installing libinput-libs (1.20.1-r0) 18:03:29 (65/80) Installing libjpeg-turbo (2.1.3-r1) 18:03:29 (66/80) Installing xcb-util-wm (0.4.1-r1) 18:03:29 (67/80) Installing xcb-util (0.4.0-r3) 18:03:29 (68/80) Installing xcb-util-image (0.4.0-r1) 18:03:29 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 18:03:29 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 18:03:29 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 18:03:29 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 18:03:29 (73/80) Installing v4l-utils-libs (1.22.1-r1) 18:03:29 (74/80) Installing v4l-utils (1.22.1-r1) 18:03:29 (75/80) Installing udev-init-scripts (35-r0) 18:03:29 Executing udev-init-scripts-35-r0.post-install 18:03:29 (76/80) Installing kmod-libs (29-r2) 18:03:29 (77/80) Installing eudev (3.2.11-r0) 18:03:29 (78/80) Installing eudev-dev (3.2.11-r0) 18:03:29 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 18:03:29 (80/80) Installing v4l-utils-dev (1.22.1-r1) 18:03:29 Executing busybox-1.35.0-r17.trigger 18:03:29 Executing eudev-3.2.11-r0.trigger 18:03:29 OK: 331 MiB in 131 packages 18:03:30 Still waiting to schedule task 18:03:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:03:31 Removing intermediate container 375468510fc6 18:03:31 ---> 241cab3eb172 18:03:31 Step 8/13 : WORKDIR /device-usb-camera 18:03:31 ---> Running in 9005027d472e 18:03:31 Removing intermediate container 9005027d472e 18:03:31 ---> 75adc9c6652d 18:03:31 Step 9/13 : COPY go.mod vendor* ./ 18:03:31 ---> 5c71b87be944 18:03:31 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:03:31 ---> Running in 2aabd2d2e61f 18:03:58 Removing intermediate container 2aabd2d2e61f 18:03:58 ---> d7237b62aadd 18:03:58 Step 11/13 : COPY . . 18:03:58 ---> 4101915540db 18:03:58 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:03:58 ---> Running in 1c75b89aec95 18:03:58  % Total % Received % Xferd Average Speed Time Time Time Current 18:03:58 Dload Upload Total Spent Left Speed 18:03:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8999 0 --:--:-- --:--:-- --:--:-- 9076 18:03:58 Removing intermediate container 1c75b89aec95 18:03:58 ---> 217b84cad3f9 18:03:58 Step 13/13 : RUN ${MAKE} 18:03:58 ---> Running in 77d35084ecb8 18:03:58 noop 18:03:58 Removing intermediate container 77d35084ecb8 18:03:58 ---> b10845475836 18:03:58 Successfully built b10845475836 18:03:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:58 + docker inspect -f . ci-base-image-x86_64 18:03:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:03:59 prd-ubuntu20.04-docker-8c-8g-6314 does not seem to be running inside a container 18:03:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-151 -v /w/workspace/foundry_device-usb-camera_PR-151:/w/workspace/foundry_device-usb-camera_PR-151:rw,z -v /w/workspace/foundry_device-usb-camera_PR-151@tmp:/w/workspace/foundry_device-usb-camera_PR-151@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 18:03:59 $ docker top fa6ab6d047ff0fc82f7e3d3c9a8fd95e340ecc99b68ac9f69db5230457140c92 -eo pid,comm [Pipeline] { [Pipeline] sh 18:03:59 + go version 18:03:59 go version go1.18.7 linux/amd64 [Pipeline] } 18:03:59 $ docker stop --time=1 fa6ab6d047ff0fc82f7e3d3c9a8fd95e340ecc99b68ac9f69db5230457140c92 18:04:01 $ docker rm -f --volumes fa6ab6d047ff0fc82f7e3d3c9a8fd95e340ecc99b68ac9f69db5230457140c92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:01 + docker inspect -f . ci-base-image-x86_64 18:04:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:02 prd-ubuntu20.04-docker-8c-8g-6314 does not seem to be running inside a container 18:04:02 $ 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-151 -v /w/workspace/foundry_device-usb-camera_PR-151:/w/workspace/foundry_device-usb-camera_PR-151:rw,z -v /w/workspace/foundry_device-usb-camera_PR-151@tmp:/w/workspace/foundry_device-usb-camera_PR-151@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 18:04:02 $ docker top 22fa8c2ad59d1af6765b31abefd4a8850910412cfa3834a0b8fec69ca79cd897 -eo pid,comm [Pipeline] { [Pipeline] sh 18:04:02 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-151 [Pipeline] fileExists [Pipeline] sh 18:04:03 + make test 18:04:03 go test ./... -coverprofile=coverage.out ./... 18:04:03 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:04:10 # github.com/edgexfoundry/go-mod-messaging/v3/clients 18:04:10 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: 18:04:10 *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) 18:04:10 have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) 18:04:10 want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) 18:04:10 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo 18:04:11 # github.com/edgexfoundry/device-sdk-go/v3/internal/common 18:04:11 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:99:25: not enough arguments in call to ec.Add 18:04:11 have (context.Context, requests.AddEventRequest) 18:04:11 want (context.Context, string, requests.AddEventRequest) 18:04:11 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 18:04:11 make: *** [Makefile:46: unittest] Error 2 [Pipeline] } 18:04:11 $ docker stop --time=1 22fa8c2ad59d1af6765b31abefd4a8850910412cfa3834a0b8fec69ca79cd897 18:04:13 $ docker rm -f --volumes 22fa8c2ad59d1af6765b31abefd4a8850910412cfa3834a0b8fec69ca79cd897 [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 18:04:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:14 18:04:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:15 latest: Pulling from edgex-lftools-log-publisher 18:04:15 5eb5b503b376: Pulling fs layer 18:04:15 5c69ac0246d0: Pulling fs layer 18:04:15 ec43610c2a17: Pulling fs layer 18:04:15 3a2ae6a8a46f: Pulling fs layer 18:04:15 33b1e0a273af: Pulling fs layer 18:04:15 5d3b04190fa2: Pulling fs layer 18:04:15 2f39f015ded8: Pulling fs layer 18:04:15 33b1e0a273af: Waiting 18:04:15 5d3b04190fa2: Waiting 18:04:15 2f39f015ded8: Waiting 18:04:15 3a2ae6a8a46f: Waiting 18:04:15 5c69ac0246d0: Download complete 18:04:15 3a2ae6a8a46f: Verifying Checksum 18:04:15 3a2ae6a8a46f: Download complete 18:04:15 33b1e0a273af: Verifying Checksum 18:04:15 33b1e0a273af: Download complete 18:04:15 ec43610c2a17: Verifying Checksum 18:04:15 ec43610c2a17: Download complete 18:04:15 5d3b04190fa2: Verifying Checksum 18:04:15 5d3b04190fa2: Download complete 18:04:15 5eb5b503b376: Verifying Checksum 18:04:15 5eb5b503b376: Download complete 18:04:16 2f39f015ded8: Download complete 18:04:17 5eb5b503b376: Pull complete 18:04:17 5c69ac0246d0: Pull complete 18:04:17 ec43610c2a17: Pull complete 18:04:17 3a2ae6a8a46f: Pull complete 18:04:17 33b1e0a273af: Pull complete 18:04:18 5d3b04190fa2: Pull complete 18:04:22 2f39f015ded8: Pull complete 18:04:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:04:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:22 prd-ubuntu20.04-docker-8c-8g-6314 does not seem to be running inside a container 18:04:22 $ 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-151 -v /w/workspace/foundry_device-usb-camera_PR-151:/w/workspace/foundry_device-usb-camera_PR-151:rw,z -v /w/workspace/foundry_device-usb-camera_PR-151@tmp:/w/workspace/foundry_device-usb-camera_PR-151@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 18:04:24 $ docker top fed98a7fbbe6f7e1481b3e080bd93b0ee2609b372e65e33933fa163c9f41f5c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:24 ---> job-cost.sh 18:04:24 lf-activate-venv: SKIPPING 18:04:24 INFO: No Stack... 18:04:25 INFO: Retrieving Pricing Info for: v3-standard-8 18:04:25 INFO: Archiving Costs [Pipeline] sh 18:04:25 + cat /w/workspace/foundry_device-usb-camera_PR-151/archives/cost.csv 18:04:25 + cut -d, -f6 [Pipeline] lock 18:04:25 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-151-1-stack-cost] 18:04:25 Resource [jenkins-edgexfoundry-device-usb-camera-PR-151-1-stack-cost] did not exist. Created. 18:04:25 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-151-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:26 + echo total: 0.2199999988079071 [Pipeline] stash 18:04:26 Stashed 1 file(s) [Pipeline] } 18:04:26 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-151-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:04:26 $ docker stop --time=1 fed98a7fbbe6f7e1481b3e080bd93b0ee2609b372e65e33933fa163c9f41f5c0 18:04:27 $ docker rm -f --volumes fed98a7fbbe6f7e1481b3e080bd93b0ee2609b372e65e33933fa163c9f41f5c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:04:28 Failed in branch amd64 18:05:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6316 in /w/workspace/foundry_device-usb-camera_PR-151 [Pipeline] { [Pipeline] ws 18:05:00 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 18:05:00 Selected Git installation does not exist. Using Default 18:05:00 The recommended git tool is: NONE 18:05:05 using credential edgex-jenkins-ssh 18:05:05 Cloning the remote Git repository 18:05:05 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 18:05:05 > git init /w/workspace/device-usb-camera/1 # timeout=10 18:05:05 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:05:05 > git --version # timeout=10 18:05:05 > git --version # 'git version 2.25.1' 18:05:05 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:05:08 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:05:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:05:10 Merging remotes/origin/main commit d43df4097523a2749be68cc9a7c29d8397ed8c11 into PR head commit e10ce42eed5fb5521aace79614e371db8734bcaa 18:05:10 Merge succeeded, producing e10ce42eed5fb5521aace79614e371db8734bcaa 18:05:10 Checking out Revision e10ce42eed5fb5521aace79614e371db8734bcaa (PR-151) 18:05:09 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:05:09 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:05:09 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:05:10 > git config core.sparsecheckout # timeout=10 18:05:10 > git checkout -f e10ce42eed5fb5521aace79614e371db8734bcaa # timeout=10 18:05:10 > git remote # timeout=10 18:05:10 > git config --get remote.origin.url # timeout=10 18:05:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:10 > git merge d43df4097523a2749be68cc9a7c29d8397ed8c11 # timeout=10 18:05:10 > git rev-parse HEAD^{commit} # timeout=10 18:05:10 > git config core.sparsecheckout # timeout=10 18:05:10 > git checkout -f e10ce42eed5fb5521aace79614e371db8734bcaa # timeout=10 18:05:10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 18:05:10 > git --version # timeout=10 18:05:10 > git --version # 'git version 2.25.1' 18:05:10 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:05:12 % Total % Received % Xferd Average Speed Time Time Time Current 18:05:12 Dload Upload Total Spent Left Speed 18:05:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85577 [Pipeline] sh 18:05:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:05:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:05:13 + sudo tee /etc/docker/daemon.new 18:05:13 { 18:05:13 "registry-mirrors": [ 18:05:13 "https://nexus3.edgexfoundry.org:10001" 18:05:13 ], 18:05:13 "bip": "10.250.0.254/24", 18:05:13 "hosts": [ 18:05:13 "tcp://0.0.0.0:5555", 18:05:13 "unix:///var/run/docker.sock" 18:05:13 ], 18:05:13 "mtu": 1458, 18:05:13 "selinux-enabled": true, 18:05:13 "seccomp-profile": "/etc/docker/seccomp.json" 18:05:13 } [Pipeline] sh 18:05:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:05:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:32 provisioning config files... 18:05:32 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config17087233898162385456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:32 ---> docker-login.sh 18:05:32 nexus3.edgexfoundry.org:10001 18:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:33 Configure a credential helper to remove this warning. See 18:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:33 18:05:33 Login Succeeded 18:05:33 nexus3.edgexfoundry.org:10002 18:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:33 Configure a credential helper to remove this warning. See 18:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:33 18:05:33 Login Succeeded 18:05:33 nexus3.edgexfoundry.org:10003 18:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:33 Configure a credential helper to remove this warning. See 18:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:33 18:05:33 Login Succeeded 18:05:33 nexus3.edgexfoundry.org:10004 18:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:34 Configure a credential helper to remove this warning. See 18:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:34 18:05:34 Login Succeeded 18:05:34 docker.io 18:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:34 Configure a credential helper to remove this warning. See 18:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:34 18:05:34 Login Succeeded 18:05:34 ---> docker-login.sh ends [Pipeline] } 18:05:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:05:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:05:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:05:35 ========================================================= 18:05:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:05:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:05:36 Sending build context to Docker daemon 1.135MB 18:05:36 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:05:36 Step 2/13 : FROM ${BASE} AS builder 18:05:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:05:36 9b18e9b68314: Pulling fs layer 18:05:36 35d82f9e3411: Pulling fs layer 18:05:36 e16973657156: Pulling fs layer 18:05:36 fc693d55d65f: Pulling fs layer 18:05:36 7e9fc2657dce: Pulling fs layer 18:05:36 dda99020689f: Pulling fs layer 18:05:36 db1c61fa0a46: Pulling fs layer 18:05:36 891c053d2c06: Pulling fs layer 18:05:36 7e9fc2657dce: Waiting 18:05:36 dda99020689f: Waiting 18:05:36 db1c61fa0a46: Waiting 18:05:36 891c053d2c06: Waiting 18:05:36 e16973657156: Download complete 18:05:36 35d82f9e3411: Download complete 18:05:36 7e9fc2657dce: Verifying Checksum 18:05:36 7e9fc2657dce: Download complete 18:05:36 dda99020689f: Verifying Checksum 18:05:36 dda99020689f: Download complete 18:05:36 9b18e9b68314: Verifying Checksum 18:05:37 9b18e9b68314: Pull complete 18:05:37 891c053d2c06: Verifying Checksum 18:05:37 891c053d2c06: Download complete 18:05:37 35d82f9e3411: Pull complete 18:05:38 e16973657156: Pull complete 18:05:38 db1c61fa0a46: Verifying Checksum 18:05:38 db1c61fa0a46: Download complete 18:05:39 fc693d55d65f: Verifying Checksum 18:05:39 fc693d55d65f: Download complete 18:05:51 fc693d55d65f: Pull complete 18:05:51 7e9fc2657dce: Pull complete 18:05:51 dda99020689f: Pull complete 18:05:57 db1c61fa0a46: Pull complete 18:05:59 891c053d2c06: Pull complete 18:05:59 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:05:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:05:59 ---> f96f9c87975a 18:05:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:06:01 ---> Running in 4d2e849def13 18:06:01 Removing intermediate container 4d2e849def13 18:06:01 ---> 89423f1ecd8b 18:06:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:06:01 ---> Running in 4aab7f02f60e 18:06:01 Removing intermediate container 4aab7f02f60e 18:06:01 ---> ed88dcfe658d 18:06:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:06:01 ---> Running in affda306edf4 18:06:01 Removing intermediate container affda306edf4 18:06:01 ---> e81b7c84e965 18:06:01 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:06:01 ---> Running in 6f6b59953f8a 18:06:02 Removing intermediate container 6f6b59953f8a 18:06:02 ---> 522b8db32e68 18:06:02 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:06:02 ---> Running in 2e89ae2ec480 18:06:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:06:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:06:04 (1/14) Installing libintl (0.21-r2) 18:06:04 (2/14) Installing eudev-libs (3.2.11-r0) 18:06:04 (3/14) Installing libjpeg-turbo (2.1.3-r1) 18:06:04 (4/14) Installing v4l-utils-libs (1.22.1-r1) 18:06:04 (5/14) Installing v4l-utils (1.22.1-r1) 18:06:04 (6/14) Installing udev-init-scripts (35-r0) 18:06:04 Executing udev-init-scripts-35-r0.post-install 18:06:04 (7/14) Installing libblkid (2.38-r1) 18:06:04 (8/14) Installing xz-libs (5.2.5-r1) 18:06:04 (9/14) Installing zstd-libs (1.5.2-r1) 18:06:04 (10/14) Installing kmod-libs (29-r2) 18:06:04 (11/14) Installing eudev (3.2.11-r0) 18:06:04 (12/14) Installing eudev-dev (3.2.11-r0) 18:06:04 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 18:06:04 (14/14) Installing v4l-utils-dev (1.22.1-r1) 18:06:04 Executing busybox-1.35.0-r17.trigger 18:06:04 Executing eudev-3.2.11-r0.trigger 18:06:04 OK: 228 MiB in 65 packages 18:06:05 Removing intermediate container 2e89ae2ec480 18:06:05 ---> 06c534de4aa1 18:06:05 Step 8/13 : WORKDIR /device-usb-camera 18:06:06 ---> Running in 7e958d752a83 18:06:06 Removing intermediate container 7e958d752a83 18:06:06 ---> 3d10f90481df 18:06:06 Step 9/13 : COPY go.mod vendor* ./ 18:06:06 ---> 84bf42fcb920 18:06:06 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:06:06 ---> Running in 2b76ffac9adf 18:07:14 Removing intermediate container 2b76ffac9adf 18:07:14 ---> 3cf54cb8e0e2 18:07:14 Step 11/13 : COPY . . 18:07:14 ---> 7c13249588b8 18:07:14 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:07:14 ---> Running in 9912a626b0a6 18:07:14  % Total % Received % Xferd Average Speed Time Time Time Current 18:07:14 Dload Upload Total Spent Left Speed 18:07:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13734 0 --:--:-- --:--:-- --:--:-- 13973 18:07:14 Removing intermediate container 9912a626b0a6 18:07:14 ---> 0f2d84420745 18:07:14 Step 13/13 : RUN ${MAKE} 18:07:14 ---> Running in be8f5277cd7c 18:07:14 noop 18:07:14 Removing intermediate container be8f5277cd7c 18:07:14 ---> 905386f03b78 18:07:14 Successfully built 905386f03b78 18:07:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:15 + docker inspect -f . ci-base-image-arm64 18:07:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:15 prd-ubuntu20.04-docker-arm64-4c-16g-6316 does not seem to be running inside a container 18:07:15 $ 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 ******** ci-base-image-arm64 cat 18:07:17 $ docker top 53210553529c67316885835844901b770353a001b6289560cadb8b53328727de -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:17 + go version 18:07:17 go version go1.18.7 linux/arm64 [Pipeline] } 18:07:18 $ docker stop --time=1 53210553529c67316885835844901b770353a001b6289560cadb8b53328727de 18:07:19 $ docker rm -f --volumes 53210553529c67316885835844901b770353a001b6289560cadb8b53328727de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:20 + docker inspect -f . ci-base-image-arm64 18:07:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:20 prd-ubuntu20.04-docker-arm64-4c-16g-6316 does not seem to be running inside a container 18:07:20 $ 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 ******** ci-base-image-arm64 cat 18:07:22 $ docker top 705644b087dec73bb9c82ebe6fe80f0f5e98c0fdda6d791c1cd4d98358c743c2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:22 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 18:07:23 + make test 18:07:23 go test ./... -coverprofile=coverage.out ./... 18:07:25 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:08:11 # github.com/edgexfoundry/go-mod-messaging/v3/clients 18:08:11 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: 18:08:11 *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) 18:08:11 have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) 18:08:11 want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) 18:08:11 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo 18:08:30 # github.com/edgexfoundry/device-sdk-go/v3/internal/common 18:08:30 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:99:25: not enough arguments in call to ec.Add 18:08:30 have (context.Context, requests.AddEventRequest) 18:08:30 want (context.Context, string, requests.AddEventRequest) 18:08:45 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 18:08:45 make: *** [Makefile:46: unittest] Error 2 [Pipeline] } 18:08:45 $ docker stop --time=1 705644b087dec73bb9c82ebe6fe80f0f5e98c0fdda6d791c1cd4d98358c743c2 18:08:48 $ docker rm -f --volumes 705644b087dec73bb9c82ebe6fe80f0f5e98c0fdda6d791c1cd4d98358c743c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:08:49 18:08:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:08:50 arm64: Pulling from edgex-lftools-log-publisher 18:08:50 8998bd30e6a1: Pulling fs layer 18:08:50 04944245beec: Pulling fs layer 18:08:50 699f458cf7ca: Pulling fs layer 18:08:50 765212b225bb: Pulling fs layer 18:08:50 f23df028b6ca: Pulling fs layer 18:08:50 d65c8cfc05b1: Pulling fs layer 18:08:50 2437ff75d9bd: Pulling fs layer 18:08:50 f23df028b6ca: Waiting 18:08:50 d65c8cfc05b1: Waiting 18:08:50 765212b225bb: Waiting 18:08:50 2437ff75d9bd: Waiting 18:08:50 04944245beec: Verifying Checksum 18:08:50 04944245beec: Download complete 18:08:50 765212b225bb: Verifying Checksum 18:08:50 765212b225bb: Download complete 18:08:50 f23df028b6ca: Verifying Checksum 18:08:50 d65c8cfc05b1: Verifying Checksum 18:08:50 d65c8cfc05b1: Download complete 18:08:50 699f458cf7ca: Verifying Checksum 18:08:50 699f458cf7ca: Download complete 18:08:50 8998bd30e6a1: Verifying Checksum 18:08:50 8998bd30e6a1: Download complete 18:08:53 2437ff75d9bd: Verifying Checksum 18:08:53 2437ff75d9bd: Download complete 18:08:54 8998bd30e6a1: Pull complete 18:08:55 04944245beec: Pull complete 18:08:56 699f458cf7ca: Pull complete 18:08:56 765212b225bb: Pull complete 18:09:00 f23df028b6ca: Pull complete 18:09:00 d65c8cfc05b1: Pull complete 18:09:15 2437ff75d9bd: Pull complete 18:09:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:09:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:09:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:15 prd-ubuntu20.04-docker-arm64-4c-16g-6316 does not seem to be running inside a container 18:09:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:09:18 $ docker top 5442adc52aac266ded788a1c5f1e21d8f96a6b732925aaf91a99aecb87ff2311 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:18 ---> job-cost.sh 18:09:18 lf-activate-venv: SKIPPING 18:09:18 INFO: No Stack... 18:09:19 INFO: Retrieving Pricing Info for: v3-standard-4 18:09:20 INFO: Archiving Costs [Pipeline] sh 18:09:20 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 18:09:20 + cut -d, -f6 [Pipeline] lock 18:09:20 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-151-1-stack-cost] 18:09:20 Resource [jenkins-edgexfoundry-device-usb-camera-PR-151-1-stack-cost] did not exist. Created. 18:09:20 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-151-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:09:21 /w/workspace/device-usb-camera/1@tmp/durable-7e0f5801/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:09:22 + echo total: 0.10999999940395355 [Pipeline] stash 18:09:22 Warning: overwriting stash ‘stack-cost’ 18:09:22 Stashed 1 file(s) [Pipeline] } 18:09:22 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-151-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:09:22 $ docker stop --time=1 5442adc52aac266ded788a1c5f1e21d8f96a6b732925aaf91a99aecb87ff2311 18:09:24 $ docker rm -f --volumes 5442adc52aac266ded788a1c5f1e21d8f96a6b732925aaf91a99aecb87ff2311 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:09:25 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:09:27 + [ -d /w/workspace/foundry_device-usb-camera_PR-151/archives ] 18:09:27 + ls -al /w/workspace/foundry_device-usb-camera_PR-151/archives 18:09:27 total 16 18:09:27 drwxr-xr-x 3 root root 4096 Feb 16 18:04 . 18:09:27 drwxrwxr-x 11 jenkins jenkins 4096 Feb 16 18:04 .. 18:09:27 drwxr-xr-x 2 root root 4096 Feb 16 18:04 cost 18:09:27 -rw-r--r-- 1 root root 89 Feb 16 18:04 cost.csv 18:09:27 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-151/archives 18:09:27 + ls -al /w/workspace/foundry_device-usb-camera_PR-151/archives 18:09:27 total 16 18:09:27 drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 18:04 . 18:09:27 drwxrwxr-x 11 jenkins jenkins 4096 Feb 16 18:04 .. 18:09:27 drwxr-xr-x 2 jenkins jenkins 4096 Feb 16 18:04 cost 18:09:27 -rw-r--r-- 1 jenkins jenkins 89 Feb 16 18:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:09:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:09:28 ---> package-listing.sh 18:09:28 ++ facter osfamily 18:09:28 ++ tr '[:upper:]' '[:lower:]' 18:09:28 + OS_FAMILY=debian 18:09:28 + workspace=/w/workspace/foundry_device-usb-camera_PR-151 18:09:28 + START_PACKAGES=/tmp/packages_start.txt 18:09:28 + END_PACKAGES=/tmp/packages_end.txt 18:09:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:09:28 + PACKAGES=/tmp/packages_start.txt 18:09:28 + '[' /w/workspace/foundry_device-usb-camera_PR-151 ']' 18:09:28 + PACKAGES=/tmp/packages_end.txt 18:09:28 + case "${OS_FAMILY}" in 18:09:28 + dpkg -l 18:09:28 + grep '^ii' 18:09:28 + '[' -f /tmp/packages_start.txt ']' 18:09:28 + '[' -f /tmp/packages_end.txt ']' 18:09:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:09:28 + '[' /w/workspace/foundry_device-usb-camera_PR-151 ']' 18:09:28 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-151/archives/ 18:09:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-151/archives/ [Pipeline] echo 18:09:28 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-151/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:09:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:09:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:29 prd-ubuntu20.04-docker-8c-8g-6314 does not seem to be running inside a container 18:09:29 $ 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-151/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-151 -v /w/workspace/foundry_device-usb-camera_PR-151:/w/workspace/foundry_device-usb-camera_PR-151:rw,z -v /w/workspace/foundry_device-usb-camera_PR-151@tmp:/w/workspace/foundry_device-usb-camera_PR-151@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 18:09:30 $ docker top 17fbd27f2b668ac151fe332a58b904c62968066ffad90ddb2d463642cb82f847 -eo pid,comm [Pipeline] { [Pipeline] sh 18:09:30 + touch /tmp/pre-build-complete [Pipeline] sh 18:09:30 + mkdir -p /var/log/sysstat [Pipeline] sh 18:09:31 + ls /var/log/sa-host 18:09:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:09:31 provisioning config files... 18:09:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-151@tmp/config10365939387841710786tmp [Pipeline] { [Pipeline] echo 18:09:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:09:31 ---> create-netrc.sh [Pipeline] } 18:09:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:09:32 ---> python-tools-install.sh [Pipeline] echo 18:09:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:09:32 ---> sudo-logs.sh 18:09:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:09:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:09:32 ---> job-cost.sh 18:09:32 lf-activate-venv: SKIPPING 18:09:32 DEBUG: total: 0.2199999988079071 18:09:32 INFO: Retrieving Stack Cost... 18:09:33 INFO: Retrieving Pricing Info for: v3-standard-8 18:09:33 INFO: Archiving Costs [Pipeline] echo 18:09:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:09:34 ---> logs-deploy.sh 18:09:34 lf-activate-venv: SKIPPING 18:09:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-151/1 18:09:34 INFO: archiving workspace using pattern(s): 18:09:35 Archives upload complete. 18:09:35 INFO: archiving logs to Nexus