Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4aba8cca995d5308e86008ac4043bd77e532bb5a+e17bf6eb7b6ec689c18abb192f67e707f10f3ec9 (9556231e668e515daea3d4b38c4dc9b8aea89fae) 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-ssh10926939648618302335.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-ssh10260190649325815692.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10772305337210449572.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17302400667851273826.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14976403914662632363.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-121325’ is offline Running on prd-ubuntu20.04-docker-8c-8g-121341 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-99 # 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 e17bf6eb7b6ec689c18abb192f67e707f10f3ec9 into PR head commit 4aba8cca995d5308e86008ac4043bd77e532bb5a Merge succeeded, producing 3472c5edf0e1b2145ff7ff753335788e0b7c1157 Checking out Revision 3472c5edf0e1b2145ff7ff753335788e0b7c1157 (PR-99) > 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/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4aba8cca995d5308e86008ac4043bd77e532bb5a # 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 e17bf6eb7b6ec689c18abb192f67e707f10f3ec9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3472c5edf0e1b2145ff7ff753335788e0b7c1157 # timeout=10 Commit message: "Merge commit 'e17bf6eb7b6ec689c18abb192f67e707f10f3ec9' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:16:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:16:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:16:10 ========================================================= 06:16:10 EdgeX Global Pipelines Version Info 06:16:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 46584bcb6b0243f5c89cad71688cda25f3ec3d19 # timeout=10 06:16:11 ------------------- 06:16:11 stable info: 06:16:11 ------------------- 06:16:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:16:11 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:16:11 Message: update stable to v1.0.244 06:16:12 ------------------- 06:16:12 experimental info: 06:16:12 ------------------- 06:16:12 Commited By: **** collab-it+edgex@linuxfoundation.org 06:16:12 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:16:12 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3472c5edf0e1b2145ff7ff753335788e0b7c1157 [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3472c5e [Pipeline] echo 06:16:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:12 provisioning config files... 06:16:12 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config3702337065393567746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:13 ---> docker-login.sh 06:16:13 nexus3.edgexfoundry.org:10001 06:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:13 Configure a credential helper to remove this warning. See 06:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:13 06:16:13 Login Succeeded 06:16:13 nexus3.edgexfoundry.org:10002 06:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:13 Configure a credential helper to remove this warning. See 06:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:13 06:16:13 Login Succeeded 06:16:13 nexus3.edgexfoundry.org:10003 06:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:13 Configure a credential helper to remove this warning. See 06:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:13 06:16:13 Login Succeeded 06:16:13 nexus3.edgexfoundry.org:10004 06:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:13 Configure a credential helper to remove this warning. See 06:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:13 06:16:13 Login Succeeded 06:16:13 docker.io 06:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:14 Configure a credential helper to remove this warning. See 06:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:14 06:16:14 Login Succeeded 06:16:14 ---> docker-login.sh ends [Pipeline] } 06:16:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:16:14 + git rev-list -1 --merges 3472c5edf0e1b2145ff7ff753335788e0b7c1157~1..3472c5edf0e1b2145ff7ff753335788e0b7c1157 [Pipeline] echo 06:16:14 -----------> git rev-list -1 --merges 3472c5edf0e1b2145ff7ff753335788e0b7c1157~1..3472c5edf0e1b2145ff7ff753335788e0b7c1157 3472c5edf0e1b2145ff7ff753335788e0b7c1157 06:16:14 3472c5edf0e1b2145ff7ff753335788e0b7c1157 [false] [Pipeline] sh 06:16:14 + git log --format=format:%s -1 3472c5edf0e1b2145ff7ff753335788e0b7c1157 [Pipeline] echo 06:16:14 ========================================================= 06:16:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:16:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:15 + git log --format=format:%s -1 3472c5edf0e1b2145ff7ff753335788e0b7c1157 [Pipeline] echo 06:16:15 [semverPrep] GIT_COMMIT: 3472c5edf0e1b2145ff7ff753335788e0b7c1157, Commit Message: Merge commit 'e17bf6eb7b6ec689c18abb192f67e707f10f3ec9' into HEAD [Pipeline] echo 06:16:15 [semverPrep] This is not a build commit. [Pipeline] sh 06:16:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:16:15 + grep -v github /etc/ssh/ssh_known_hosts 06:16:15 + [ -e /tmp/ssh_known_hosts ] 06:16:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:16:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:16:15 + sudo tee -a /etc/ssh/ssh_known_hosts 06:16:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:15 06:16:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:16 0.1.4: Pulling from edgex-devops/py-git-semver 06:16:16 b85a868b505f: Pulling fs layer 06:16:16 e2be974225ed: Pulling fs layer 06:16:16 339a4e72a1f5: Pulling fs layer 06:16:16 988bab9f4d93: Pulling fs layer 06:16:16 1469e6f7b9e6: Pulling fs layer 06:16:16 eaf3925da568: Pulling fs layer 06:16:16 bab4dde63d76: Pulling fs layer 06:16:16 bde34c3a00c8: Pulling fs layer 06:16:16 b352a97aabf1: Pulling fs layer 06:16:16 4872d77fe225: Pulling fs layer 06:16:16 5851b861e8e6: Pulling fs layer 06:16:16 988bab9f4d93: Waiting 06:16:16 eaf3925da568: Waiting 06:16:16 b352a97aabf1: Waiting 06:16:16 4872d77fe225: Waiting 06:16:16 bab4dde63d76: Waiting 06:16:16 bde34c3a00c8: Waiting 06:16:16 5851b861e8e6: Waiting 06:16:16 1469e6f7b9e6: Waiting 06:16:16 e2be974225ed: Verifying Checksum 06:16:16 e2be974225ed: Download complete 06:16:16 988bab9f4d93: Download complete 06:16:16 1469e6f7b9e6: Verifying Checksum 06:16:16 1469e6f7b9e6: Download complete 06:16:16 339a4e72a1f5: Verifying Checksum 06:16:16 339a4e72a1f5: Download complete 06:16:16 eaf3925da568: Verifying Checksum 06:16:16 eaf3925da568: Download complete 06:16:16 bde34c3a00c8: Verifying Checksum 06:16:16 bde34c3a00c8: Download complete 06:16:16 b352a97aabf1: Download complete 06:16:16 4872d77fe225: Verifying Checksum 06:16:16 4872d77fe225: Download complete 06:16:16 5851b861e8e6: Download complete 06:16:16 b85a868b505f: Verifying Checksum 06:16:16 b85a868b505f: Download complete 06:16:16 bab4dde63d76: Verifying Checksum 06:16:16 bab4dde63d76: Download complete 06:16:17 b85a868b505f: Pull complete 06:16:18 e2be974225ed: Pull complete 06:16:18 339a4e72a1f5: Pull complete 06:16:18 988bab9f4d93: Pull complete 06:16:18 1469e6f7b9e6: Pull complete 06:16:18 eaf3925da568: Pull complete 06:16:20 bab4dde63d76: Pull complete 06:16:20 bde34c3a00c8: Pull complete 06:16:21 b352a97aabf1: Pull complete 06:16:21 4872d77fe225: Pull complete 06:16:21 5851b861e8e6: Pull complete 06:16:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:16:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:21 prd-ubuntu20.04-docker-8c-8g-121341 does not seem to be running inside a container 06:16:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:16:23 $ docker top d755e024b4ba3cbed7cc093c0e0f1752d993d0a16a133d9d4263a9250b39ef91 -eo pid,comm 06:16:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:16:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:16:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:23 [ssh-agent] Looking for ssh-agent implementation... 06:16:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:23 $ docker exec d755e024b4ba3cbed7cc093c0e0f1752d993d0a16a133d9d4263a9250b39ef91 ssh-agent 06:16:23 SSH_AUTH_SOCK=/tmp/ssh-KBIJ5631vCFR/agent.32 06:16:23 SSH_AGENT_PID=38 06:16:23 Running ssh-add (command line suppressed) 06:16:23 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_4762686019366808245.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_4762686019366808245.key) 06:16:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:23 + git tag --points-at HEAD [Pipeline] } 06:16:23 $ docker exec --env ******** --env ******** d755e024b4ba3cbed7cc093c0e0f1752d993d0a16a133d9d4263a9250b39ef91 ssh-agent -k 06:16:24 unset SSH_AUTH_SOCK; 06:16:24 unset SSH_AGENT_PID; 06:16:24 echo Agent pid 38 killed; 06:16:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:16:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:24 [ssh-agent] Looking for ssh-agent implementation... 06:16:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:24 $ docker exec d755e024b4ba3cbed7cc093c0e0f1752d993d0a16a133d9d4263a9250b39ef91 ssh-agent 06:16:24 SSH_AUTH_SOCK=/tmp/ssh-GRnVk17igESd/agent.71 06:16:24 SSH_AGENT_PID=77 06:16:24 Running ssh-add (command line suppressed) 06:16:24 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_5981055469439476719.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_5981055469439476719.key) 06:16:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:24 + git semver init 06:16:24 2022-12-15 06:16:24,959 [run_init] DEBUG init version:0.0.0 force:False 06:16:24 2022-12-15 06:16:24,960 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver 06:16:24 2022-12-15 06:16:24,960 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-99/.semver 06:16:24 2022-12-15 06:16:24,960 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-99/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99, universal_newlines=False, shell=None, istream=None) 06:16:25 2022-12-15 06:16:25,668 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.git/info/exclude 06:16:25 2022-12-15 06:16:25,669 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 with force:False 06:16:25 2022-12-15 06:16:25,669 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 06:16:25 2022-12-15 06:16:25,673 [execute] INFO git cat-file --batch-check 06:16:25 2022-12-15 06:16:25,674 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 06:16:25 2022-12-15 06:16:25,680 [execute] INFO git cat-file --batch 06:16:25 2022-12-15 06:16:25,681 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) 06:16:25 2022-12-15 06:16:25,686 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 06:16:25 0.0.0 [Pipeline] } 06:16:25 $ docker exec --env ******** --env ******** d755e024b4ba3cbed7cc093c0e0f1752d993d0a16a133d9d4263a9250b39ef91 ssh-agent -k 06:16:26 unset SSH_AUTH_SOCK; 06:16:26 unset SSH_AGENT_PID; 06:16:26 echo Agent pid 77 killed; 06:16:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:16:26 + git semver [Pipeline] } 06:16:26 $ docker stop --time=1 d755e024b4ba3cbed7cc093c0e0f1752d993d0a16a133d9d4263a9250b39ef91 06:16:28 $ docker rm -f d755e024b4ba3cbed7cc093c0e0f1752d993d0a16a133d9d4263a9250b39ef91 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:16:28 Stashed 1 file(s) [Pipeline] echo 06:16:28 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:29 provisioning config files... 06:16:29 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config11550308716382210671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:29 ---> docker-login.sh 06:16:29 nexus3.edgexfoundry.org:10001 06:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:29 Configure a credential helper to remove this warning. See 06:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:29 06:16:29 Login Succeeded 06:16:29 nexus3.edgexfoundry.org:10002 06:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:29 Configure a credential helper to remove this warning. See 06:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:29 06:16:29 Login Succeeded 06:16:29 nexus3.edgexfoundry.org:10003 06:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:29 Configure a credential helper to remove this warning. See 06:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:29 06:16:29 Login Succeeded 06:16:29 nexus3.edgexfoundry.org:10004 06:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:29 Configure a credential helper to remove this warning. See 06:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:29 06:16:29 Login Succeeded 06:16:29 docker.io 06:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:30 Configure a credential helper to remove this warning. See 06:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:30 06:16:30 Login Succeeded 06:16:30 ---> docker-login.sh ends [Pipeline] } 06:16:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:16:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:16:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:16:30 ========================================================= 06:16:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:16:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:30 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 06:16:30 Sending build context to Docker daemon 1.617MB 06:16:30 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 06:16:30 Step 2/13 : FROM ${BASE} AS builder 06:16:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:16:30 213ec9aee27d: Pulling fs layer 06:16:30 4583459ba037: Pulling fs layer 06:16:30 93c1e223e6f2: Pulling fs layer 06:16:30 53926ce57604: Pulling fs layer 06:16:30 21b2b0c7a3f4: Pulling fs layer 06:16:30 22ff95d597cd: Pulling fs layer 06:16:30 12d6caf4c0d1: Pulling fs layer 06:16:30 96b7cbca73a9: Pulling fs layer 06:16:30 a7acece74701: Pulling fs layer 06:16:30 22ff95d597cd: Waiting 06:16:30 21b2b0c7a3f4: Waiting 06:16:30 12d6caf4c0d1: Waiting 06:16:30 96b7cbca73a9: Waiting 06:16:30 53926ce57604: Waiting 06:16:30 93c1e223e6f2: Verifying Checksum 06:16:30 93c1e223e6f2: Download complete 06:16:30 4583459ba037: Verifying Checksum 06:16:30 4583459ba037: Download complete 06:16:30 21b2b0c7a3f4: Verifying Checksum 06:16:30 21b2b0c7a3f4: Download complete 06:16:30 22ff95d597cd: Verifying Checksum 06:16:30 22ff95d597cd: Download complete 06:16:30 213ec9aee27d: Verifying Checksum 06:16:30 213ec9aee27d: Download complete 06:16:30 12d6caf4c0d1: Download complete 06:16:30 213ec9aee27d: Pull complete 06:16:31 4583459ba037: Pull complete 06:16:31 93c1e223e6f2: Pull complete 06:16:31 a7acece74701: Verifying Checksum 06:16:31 a7acece74701: Download complete 06:16:31 53926ce57604: Download complete 06:16:31 96b7cbca73a9: Verifying Checksum 06:16:31 96b7cbca73a9: Download complete 06:16:36 53926ce57604: Pull complete 06:16:36 21b2b0c7a3f4: Pull complete 06:16:36 22ff95d597cd: Pull complete 06:16:36 12d6caf4c0d1: Pull complete 06:16:38 96b7cbca73a9: Pull complete 06:16:38 a7acece74701: Pull complete 06:16:38 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 06:16:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:16:39 ---> db6d94c90886 06:16:39 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:16:41 ---> Running in 0278a7d4c315 06:16:41 Removing intermediate container 0278a7d4c315 06:16:41 ---> 1543945dc04a 06:16:41 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:16:41 ---> Running in ad1cc420c0bc 06:16:41 Removing intermediate container ad1cc420c0bc 06:16:41 ---> bd76c40ee461 06:16:41 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 06:16:41 ---> Running in 1f93814b616b 06:16:41 Removing intermediate container 1f93814b616b 06:16:41 ---> 622567522a39 06:16:41 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:16:41 ---> Running in d23927bdc8a1 06:16:41 Removing intermediate container d23927bdc8a1 06:16:41 ---> c73d1cae395e 06:16:41 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:41 ---> Running in a37cf499a547 06:16:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:16:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:16:42 (1/80) Installing mesa (21.3.8-r2) 06:16:42 (2/80) Installing libxau (1.0.9-r0) 06:16:42 (3/80) Installing libxdmcp (1.1.3-r0) 06:16:42 (4/80) Installing libxcb (1.15-r0) 06:16:42 (5/80) Installing libx11 (1.8-r0) 06:16:42 (6/80) Installing libxext (1.3.4-r0) 06:16:42 (7/80) Installing libxfixes (6.0.0-r0) 06:16:42 (8/80) Installing libxxf86vm (1.1.4-r2) 06:16:42 (9/80) Installing libpciaccess (0.16-r0) 06:16:42 (10/80) Installing libdrm (2.4.110-r0) 06:16:42 (11/80) Installing mesa-glapi (21.3.8-r2) 06:16:42 (12/80) Installing libxshmfence (1.3-r1) 06:16:42 (13/80) Installing mesa-gl (21.3.8-r2) 06:16:42 (14/80) Installing icu-data-full (71.1-r2) 06:16:42 (15/80) Installing libice (1.0.10-r0) 06:16:42 (16/80) Installing libuuid (2.38-r1) 06:16:42 (17/80) Installing libsm (1.2.3-r0) 06:16:42 (18/80) Installing libxt (1.2.1-r0) 06:16:42 (19/80) Installing libxmu (1.1.3-r0) 06:16:42 (20/80) Installing xset (1.2.4-r0) 06:16:42 (21/80) Installing xprop (1.2.5-r0) 06:16:42 (22/80) Installing xdg-utils (1.1.3-r3) 06:16:42 (23/80) Installing dbus-libs (1.14.4-r0) 06:16:42 (24/80) Installing libffi (3.4.2-r1) 06:16:42 (25/80) Installing libintl (0.21-r2) 06:16:42 (26/80) Installing libblkid (2.38-r1) 06:16:42 (27/80) Installing libmount (2.38-r1) 06:16:42 (28/80) Installing pcre (8.45-r2) 06:16:42 (29/80) Installing glib (2.72.1-r0) 06:16:42 (30/80) Installing icu-libs (71.1-r2) 06:16:42 (31/80) Installing libpcre2-16 (10.40-r0) 06:16:42 (32/80) Installing zstd-libs (1.5.2-r1) 06:16:42 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 06:16:42 (34/80) Installing hicolor-icon-theme (0.17-r1) 06:16:42 (35/80) Installing wayland-libs-server (1.20.0-r0) 06:16:42 (36/80) Installing mesa-gbm (21.3.8-r2) 06:16:42 (37/80) Installing wayland-libs-client (1.20.0-r0) 06:16:42 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 06:16:42 (39/80) Installing libxcomposite (0.4.5-r0) 06:16:42 (40/80) Installing libbz2 (1.0.8-r1) 06:16:42 (41/80) Installing libpng (1.6.37-r1) 06:16:42 (42/80) Installing freetype (2.12.1-r0) 06:16:42 (43/80) Installing fontconfig (2.14.0-r0) 06:16:42 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 06:16:42 (45/80) Installing wayland-libs-egl (1.20.0-r0) 06:16:42 (46/80) Installing xkeyboard-config (2.35.1-r0) 06:16:42 (47/80) Installing xz-libs (5.2.5-r1) 06:16:43 (48/80) Installing libxml2 (2.9.14-r2) 06:16:43 (49/80) Installing libxkbcommon (1.4.1-r0) 06:16:43 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 06:16:43 (51/80) Installing mesa-egl (21.3.8-r2) 06:16:43 (52/80) Installing avahi-libs (0.8-r6) 06:16:43 (53/80) Installing nettle (3.7.3-r0) 06:16:43 (54/80) Installing p11-kit (0.24.1-r0) 06:16:43 (55/80) Installing libtasn1 (4.18.0-r0) 06:16:43 (56/80) Installing libunistring (1.0-r0) 06:16:43 (57/80) Installing gnutls (3.7.7-r0) 06:16:43 (58/80) Installing cups-libs (2.4.2-r0) 06:16:43 (59/80) Installing graphite2 (1.3.14-r1) 06:16:43 (60/80) Installing harfbuzz (4.3.0-r0) 06:16:43 (61/80) Installing libevdev (1.12.1-r0) 06:16:43 (62/80) Installing mtdev (1.1.6-r0) 06:16:43 (63/80) Installing eudev-libs (3.2.11-r0) 06:16:43 (64/80) Installing libinput-libs (1.20.1-r0) 06:16:43 (65/80) Installing libjpeg-turbo (2.1.3-r1) 06:16:43 (66/80) Installing xcb-util-wm (0.4.1-r1) 06:16:43 (67/80) Installing xcb-util (0.4.0-r3) 06:16:43 (68/80) Installing xcb-util-image (0.4.0-r1) 06:16:43 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 06:16:43 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 06:16:43 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 06:16:43 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 06:16:43 (73/80) Installing v4l-utils-libs (1.22.1-r1) 06:16:43 (74/80) Installing v4l-utils (1.22.1-r1) 06:16:43 (75/80) Installing udev-init-scripts (35-r0) 06:16:43 Executing udev-init-scripts-35-r0.post-install 06:16:43 (76/80) Installing kmod-libs (29-r2) 06:16:43 (77/80) Installing eudev (3.2.11-r0) 06:16:43 (78/80) Installing eudev-dev (3.2.11-r0) 06:16:43 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 06:16:43 (80/80) Installing v4l-utils-dev (1.22.1-r1) 06:16:43 Executing busybox-1.35.0-r17.trigger 06:16:43 Executing eudev-3.2.11-r0.trigger 06:16:43 OK: 330 MiB in 131 packages 06:16:44 Still waiting to schedule task 06:16:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:16:45 Removing intermediate container a37cf499a547 06:16:45 ---> ed185cac352c 06:16:45 Step 8/13 : WORKDIR /device-usb-camera 06:16:45 ---> Running in 954d3fc6e195 06:16:45 Removing intermediate container 954d3fc6e195 06:16:45 ---> f1a6edde21ec 06:16:45 Step 9/13 : COPY go.mod vendor* ./ 06:16:45 ---> e1fee72c37e1 06:16:45 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:46 ---> Running in d419e988aa43 06:17:04 Removing intermediate container d419e988aa43 06:17:04 ---> 2deb4182bd96 06:17:04 Step 11/13 : COPY . . 06:17:04 ---> b2605c5d23ec 06:17:04 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:17:04 ---> Running in 292b1bc7c4f4 06:17:04  % Total % Received % Xferd Average Speed Time Time Time Current 06:17:04 Dload Upload Total Spent Left Speed 06:17:04 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 40571 0 --:--:-- --:--:-- --:--:-- 40846 06:17:04 Removing intermediate container 292b1bc7c4f4 06:17:04 ---> 4598ebaf9f79 06:17:04 Step 13/13 : RUN ${MAKE} 06:17:04 ---> Running in 5a86a59c8432 06:17:04 noop 06:17:04 Removing intermediate container 5a86a59c8432 06:17:04 ---> abd686962666 06:17:04 Successfully built abd686962666 06:17:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:04 + docker inspect -f . ci-base-image-x86_64 06:17:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:04 prd-ubuntu20.04-docker-8c-8g-121341 does not seem to be running inside a container 06:17:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:17:05 $ docker top db4f7f47ff6fb936434bb70394c8807c4b37fd3f57e55efdbb738291f1279f1b -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:05 + go version 06:17:05 go version go1.18.7 linux/amd64 [Pipeline] } 06:17:05 $ docker stop --time=1 db4f7f47ff6fb936434bb70394c8807c4b37fd3f57e55efdbb738291f1279f1b 06:17:06 $ docker rm -f db4f7f47ff6fb936434bb70394c8807c4b37fd3f57e55efdbb738291f1279f1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:07 + docker inspect -f . ci-base-image-x86_64 06:17:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:07 prd-ubuntu20.04-docker-8c-8g-121341 does not seem to be running inside a container 06:17:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:17:07 $ docker top 8e188152d1f0d0ebb1aacca73f32e2fc7f14cb7e712faf80e393c39e918c3ad3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:07 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] fileExists [Pipeline] sh 06:17:08 + make test 06:17:08 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 06:17:08 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:17:20 # github.com/edgexfoundry/device-usb-camera/internal/driver 06:17:20 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 06:17:20 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 06:17:20 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 06:17:20 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 06:17:20 $ docker stop --time=1 8e188152d1f0d0ebb1aacca73f32e2fc7f14cb7e712faf80e393c39e918c3ad3 06:17:22 $ docker rm -f 8e188152d1f0d0ebb1aacca73f32e2fc7f14cb7e712faf80e393c39e918c3ad3 [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 06:17:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:22 06:17:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:23 latest: Pulling from edgex-lftools-log-publisher 06:17:23 5eb5b503b376: Pulling fs layer 06:17:23 5c69ac0246d0: Pulling fs layer 06:17:23 ec43610c2a17: Pulling fs layer 06:17:23 3a2ae6a8a46f: Pulling fs layer 06:17:23 33b1e0a273af: Pulling fs layer 06:17:23 5d3b04190fa2: Pulling fs layer 06:17:23 2f39f015ded8: Pulling fs layer 06:17:23 3a2ae6a8a46f: Waiting 06:17:23 5d3b04190fa2: Waiting 06:17:23 2f39f015ded8: Waiting 06:17:23 33b1e0a273af: Waiting 06:17:23 5c69ac0246d0: Verifying Checksum 06:17:23 5c69ac0246d0: Download complete 06:17:23 3a2ae6a8a46f: Verifying Checksum 06:17:23 3a2ae6a8a46f: Download complete 06:17:23 33b1e0a273af: Verifying Checksum 06:17:23 33b1e0a273af: Download complete 06:17:23 5d3b04190fa2: Verifying Checksum 06:17:23 5d3b04190fa2: Download complete 06:17:23 ec43610c2a17: Verifying Checksum 06:17:23 ec43610c2a17: Download complete 06:17:23 5eb5b503b376: Verifying Checksum 06:17:23 5eb5b503b376: Download complete 06:17:24 2f39f015ded8: Download complete 06:17:24 5eb5b503b376: Pull complete 06:17:24 5c69ac0246d0: Pull complete 06:17:25 ec43610c2a17: Pull complete 06:17:25 3a2ae6a8a46f: Pull complete 06:17:25 33b1e0a273af: Pull complete 06:17:25 5d3b04190fa2: Pull complete 06:17:30 2f39f015ded8: Pull complete 06:17:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:17:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:31 prd-ubuntu20.04-docker-8c-8g-121341 does not seem to be running inside a container 06:17:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:17:33 $ docker top 20f5f3a03c6d568cf1ce40c237f4ce91907ebdc5798b09fc8638827896ac6f84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:33 ---> job-cost.sh 06:17:33 lf-activate-venv: SKIPPING 06:17:33 INFO: No Stack... 06:17:33 INFO: Retrieving Pricing Info for: v3-standard-8 06:17:34 INFO: Archiving Costs [Pipeline] sh 06:17:34 + cat /w/workspace/xfoundry_device-usb-camera_PR-99/archives/cost.csv 06:17:34 + cut -d, -f6 [Pipeline] lock 06:17:34 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-20-stack-cost] 06:17:34 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-20-stack-cost] did not exist. Created. 06:17:34 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:17:34 + echo total: 0.2199999988079071 [Pipeline] stash 06:17:34 Stashed 1 file(s) [Pipeline] } 06:17:34 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-20-stack-cost] [Pipeline] // lock [Pipeline] } 06:17:34 $ docker stop --time=1 20f5f3a03c6d568cf1ce40c237f4ce91907ebdc5798b09fc8638827896ac6f84 06:17:36 $ docker rm -f 20f5f3a03c6d568cf1ce40c237f4ce91907ebdc5798b09fc8638827896ac6f84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:17:36 Failed in branch amd64 06:19:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-121343 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] ws 06:19:09 Running in /w/workspace/device-usb-camera/20 [Pipeline] { [Pipeline] checkout 06:19:09 Selected Git installation does not exist. Using Default 06:19:09 The recommended git tool is: NONE 06:19:13 using credential edgex-jenkins-ssh 06:19:14 Cloning the remote Git repository 06:19:14 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 06:19:14 > git init /w/workspace/device-usb-camera/20 # timeout=10 06:19:14 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:19:14 > git --version # timeout=10 06:19:14 > git --version # 'git version 2.25.1' 06:19:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:15 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:19:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:16 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:19:16 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:19:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:19:16 Merging remotes/origin/main commit e17bf6eb7b6ec689c18abb192f67e707f10f3ec9 into PR head commit 4aba8cca995d5308e86008ac4043bd77e532bb5a 06:19:16 Merge succeeded, producing 51f87aa1016acd1b6d0a57062d21a41d670cde6a 06:19:16 Checking out Revision 51f87aa1016acd1b6d0a57062d21a41d670cde6a (PR-99) 06:19:16 > git config core.sparsecheckout # timeout=10 06:19:16 > git checkout -f 4aba8cca995d5308e86008ac4043bd77e532bb5a # timeout=10 06:19:16 > git remote # timeout=10 06:19:16 > git config --get remote.origin.url # timeout=10 06:19:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:16 > git merge e17bf6eb7b6ec689c18abb192f67e707f10f3ec9 # timeout=10 06:19:16 > git rev-parse HEAD^{commit} # timeout=10 06:19:16 > git config core.sparsecheckout # timeout=10 06:19:16 > git checkout -f 51f87aa1016acd1b6d0a57062d21a41d670cde6a # timeout=10 06:19:20 Commit message: "Merge commit 'e17bf6eb7b6ec689c18abb192f67e707f10f3ec9' into HEAD" 06:19:20 First time build. Skipping changelog. 06:19:20 > git rev-list --no-walk 46584bcb6b0243f5c89cad71688cda25f3ec3d19 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:19:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:19:21 % Total % Received % Xferd Average Speed Time Time Time Current 06:19:21 Dload Upload Total Spent Left Speed 06:19:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 06:19:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:19:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:19:22 + sudo tee /etc/docker/daemon.new 06:19:22 { 06:19:22 "registry-mirrors": [ 06:19:22 "https://nexus3.edgexfoundry.org:10001" 06:19:22 ], 06:19:22 "bip": "10.250.0.254/24", 06:19:22 "hosts": [ 06:19:22 "tcp://0.0.0.0:5555", 06:19:22 "unix:///var/run/docker.sock" 06:19:22 ], 06:19:22 "mtu": 1458, 06:19:22 "selinux-enabled": true, 06:19:22 "seccomp-profile": "/etc/docker/seccomp.json" 06:19:22 } [Pipeline] sh 06:19:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:19:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:19:41 provisioning config files... 06:19:41 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/20@tmp/config18356933828990618141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:41 ---> docker-login.sh 06:19:41 nexus3.edgexfoundry.org:10001 06:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:42 Configure a credential helper to remove this warning. See 06:19:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:42 06:19:42 Login Succeeded 06:19:42 nexus3.edgexfoundry.org:10002 06:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:42 Configure a credential helper to remove this warning. See 06:19:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:42 06:19:42 Login Succeeded 06:19:42 nexus3.edgexfoundry.org:10003 06:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:43 Configure a credential helper to remove this warning. See 06:19:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:43 06:19:43 Login Succeeded 06:19:43 nexus3.edgexfoundry.org:10004 06:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:43 Configure a credential helper to remove this warning. See 06:19:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:43 06:19:43 Login Succeeded 06:19:43 docker.io 06:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:44 Configure a credential helper to remove this warning. See 06:19:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:44 06:19:44 Login Succeeded 06:19:44 ---> docker-login.sh ends [Pipeline] } 06:19:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:19:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:19:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:19:44 ========================================================= 06:19:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:19:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:44 + 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 . 06:19:45 Sending build context to Docker daemon 1.069MB 06:19:45 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 06:19:45 Step 2/13 : FROM ${BASE} AS builder 06:19:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:19:45 9b18e9b68314: Pulling fs layer 06:19:45 35d82f9e3411: Pulling fs layer 06:19:45 e16973657156: Pulling fs layer 06:19:45 fc693d55d65f: Pulling fs layer 06:19:45 7e9fc2657dce: Pulling fs layer 06:19:45 dda99020689f: Pulling fs layer 06:19:45 db1c61fa0a46: Pulling fs layer 06:19:45 891c053d2c06: Pulling fs layer 06:19:45 fc693d55d65f: Waiting 06:19:45 7e9fc2657dce: Waiting 06:19:45 dda99020689f: Waiting 06:19:45 db1c61fa0a46: Waiting 06:19:45 891c053d2c06: Waiting 06:19:45 e16973657156: Verifying Checksum 06:19:45 e16973657156: Download complete 06:19:45 35d82f9e3411: Verifying Checksum 06:19:45 35d82f9e3411: Download complete 06:19:45 7e9fc2657dce: Download complete 06:19:45 dda99020689f: Verifying Checksum 06:19:45 dda99020689f: Download complete 06:19:45 9b18e9b68314: Download complete 06:19:46 9b18e9b68314: Pull complete 06:19:46 891c053d2c06: Verifying Checksum 06:19:46 891c053d2c06: Download complete 06:19:47 35d82f9e3411: Pull complete 06:19:47 e16973657156: Pull complete 06:19:47 db1c61fa0a46: Verifying Checksum 06:19:47 db1c61fa0a46: Download complete 06:19:48 fc693d55d65f: Verifying Checksum 06:19:48 fc693d55d65f: Download complete 06:20:00 fc693d55d65f: Pull complete 06:20:00 7e9fc2657dce: Pull complete 06:20:00 dda99020689f: Pull complete 06:20:07 db1c61fa0a46: Pull complete 06:20:08 891c053d2c06: Pull complete 06:20:08 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:20:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:20:08 ---> f96f9c87975a 06:20:08 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:20:11 ---> Running in 9bc34180456b 06:20:11 Removing intermediate container 9bc34180456b 06:20:11 ---> af87b06321a1 06:20:11 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:20:11 ---> Running in 2407bf6c16a5 06:20:11 Removing intermediate container 2407bf6c16a5 06:20:11 ---> aa6656dbdf87 06:20:11 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 06:20:12 ---> Running in e886936e67e0 06:20:12 Removing intermediate container e886936e67e0 06:20:12 ---> fa1b49b61f97 06:20:12 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:20:12 ---> Running in 88201f17a881 06:20:12 Removing intermediate container 88201f17a881 06:20:12 ---> 4b7e45944e4a 06:20:12 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:20:13 ---> Running in 05176642586d 06:20:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:20:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:20:15 (1/14) Installing libintl (0.21-r2) 06:20:15 (2/14) Installing eudev-libs (3.2.11-r0) 06:20:15 (3/14) Installing libjpeg-turbo (2.1.3-r1) 06:20:15 (4/14) Installing v4l-utils-libs (1.22.1-r1) 06:20:15 (5/14) Installing v4l-utils (1.22.1-r1) 06:20:15 (6/14) Installing udev-init-scripts (35-r0) 06:20:15 Executing udev-init-scripts-35-r0.post-install 06:20:15 (7/14) Installing libblkid (2.38-r1) 06:20:15 (8/14) Installing xz-libs (5.2.5-r1) 06:20:15 (9/14) Installing zstd-libs (1.5.2-r1) 06:20:15 (10/14) Installing kmod-libs (29-r2) 06:20:15 (11/14) Installing eudev (3.2.11-r0) 06:20:15 (12/14) Installing eudev-dev (3.2.11-r0) 06:20:15 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 06:20:15 (14/14) Installing v4l-utils-dev (1.22.1-r1) 06:20:15 Executing busybox-1.35.0-r17.trigger 06:20:15 Executing eudev-3.2.11-r0.trigger 06:20:15 OK: 228 MiB in 65 packages 06:20:16 Removing intermediate container 05176642586d 06:20:16 ---> 1a92a5f7e139 06:20:16 Step 8/13 : WORKDIR /device-usb-camera 06:20:17 ---> Running in 406b5e65da81 06:20:17 Removing intermediate container 406b5e65da81 06:20:17 ---> 71305dd768df 06:20:17 Step 9/13 : COPY go.mod vendor* ./ 06:20:18 ---> c3cd85398997 06:20:18 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:20:18 ---> Running in c12dc1c0c2da 06:21:14 Removing intermediate container c12dc1c0c2da 06:21:14 ---> 74401e2eee4f 06:21:14 Step 11/13 : COPY . . 06:21:14 ---> df9ed60f8bc9 06:21:14 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:21:14 ---> Running in 7f1b7043a186 06:21:14  % Total % Received % Xferd Average Speed Time Time Time  Current 06:21:14 Dload Upload Total Spent Left Speed 06:21:14 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7012 0 --:--:-- --:--:-- --:--:-- 7033 06:21:14 Removing intermediate container 7f1b7043a186 06:21:14 ---> 67265129bfd2 06:21:14 Step 13/13 : RUN ${MAKE} 06:21:14 ---> Running in b5dc8a063b6f 06:21:14 noop 06:21:15 Removing intermediate container b5dc8a063b6f 06:21:15 ---> 9e75b38020ef 06:21:15 Successfully built 9e75b38020ef 06:21:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:16 + docker inspect -f . ci-base-image-arm64 06:21:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:16 prd-ubuntu20.04-docker-arm64-4c-16g-121343 does not seem to be running inside a container 06:21:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/20 -v /w/workspace/device-usb-camera/20:/w/workspace/device-usb-camera/20:rw,z -v /w/workspace/device-usb-camera/20@tmp:/w/workspace/device-usb-camera/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:21:17 $ docker top 9c0c5082509c5dab7b575739eb66aa5317a01ac23c6692ba32c27f0b90b57bff -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:18 + go version 06:21:18 go version go1.18.7 linux/arm64 [Pipeline] } 06:21:18 $ docker stop --time=1 9c0c5082509c5dab7b575739eb66aa5317a01ac23c6692ba32c27f0b90b57bff 06:21:20 $ docker rm -f 9c0c5082509c5dab7b575739eb66aa5317a01ac23c6692ba32c27f0b90b57bff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:20 + docker inspect -f . ci-base-image-arm64 06:21:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:20 prd-ubuntu20.04-docker-arm64-4c-16g-121343 does not seem to be running inside a container 06:21: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/20 -v /w/workspace/device-usb-camera/20:/w/workspace/device-usb-camera/20:rw,z -v /w/workspace/device-usb-camera/20@tmp:/w/workspace/device-usb-camera/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:21:21 $ docker top 9c02b57b6a034e77cd3809637bae413d592195b84219d6766096ddbc576d6a18 -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:22 + git config --global --add safe.directory /w/workspace/device-usb-camera/20 [Pipeline] fileExists [Pipeline] sh 06:21:23 + make test 06:21:23 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 06:21:25 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:23:17 # github.com/edgexfoundry/device-usb-camera/internal/driver 06:23:17 internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 06:23:17 internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey 06:23:17 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 06:23:17 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 06:23:17 $ docker stop --time=1 9c02b57b6a034e77cd3809637bae413d592195b84219d6766096ddbc576d6a18 06:23:18 $ docker rm -f 9c02b57b6a034e77cd3809637bae413d592195b84219d6766096ddbc576d6a18 [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 06:23:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:19 06:23:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:20 arm64: Pulling from edgex-lftools-log-publisher 06:23:20 8998bd30e6a1: Pulling fs layer 06:23:20 04944245beec: Pulling fs layer 06:23:20 699f458cf7ca: Pulling fs layer 06:23:20 765212b225bb: Pulling fs layer 06:23:20 f23df028b6ca: Pulling fs layer 06:23:20 d65c8cfc05b1: Pulling fs layer 06:23:20 2437ff75d9bd: Pulling fs layer 06:23:20 765212b225bb: Waiting 06:23:20 2437ff75d9bd: Waiting 06:23:20 f23df028b6ca: Waiting 06:23:20 d65c8cfc05b1: Waiting 06:23:20 04944245beec: Verifying Checksum 06:23:20 04944245beec: Download complete 06:23:20 765212b225bb: Verifying Checksum 06:23:20 765212b225bb: Download complete 06:23:21 f23df028b6ca: Verifying Checksum 06:23:21 f23df028b6ca: Download complete 06:23:21 d65c8cfc05b1: Verifying Checksum 06:23:21 d65c8cfc05b1: Download complete 06:23:21 699f458cf7ca: Verifying Checksum 06:23:21 699f458cf7ca: Download complete 06:23:21 8998bd30e6a1: Verifying Checksum 06:23:21 8998bd30e6a1: Download complete 06:23:23 2437ff75d9bd: Verifying Checksum 06:23:23 2437ff75d9bd: Download complete 06:23:26 8998bd30e6a1: Pull complete 06:23:26 04944245beec: Pull complete 06:23:28 699f458cf7ca: Pull complete 06:23:28 765212b225bb: Pull complete 06:23:29 f23df028b6ca: Pull complete 06:23:29 d65c8cfc05b1: Pull complete 06:23:51 2437ff75d9bd: Pull complete 06:23:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:23:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:51 prd-ubuntu20.04-docker-arm64-4c-16g-121343 does not seem to be running inside a container 06:23:51 $ 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/20 -v /w/workspace/device-usb-camera/20:/w/workspace/device-usb-camera/20:rw,z -v /w/workspace/device-usb-camera/20@tmp:/w/workspace/device-usb-camera/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:23:53 $ docker top 3a2496f690b604dc8004da1667662d036c71d0400027dadc1cd520df63c826d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:54 ---> job-cost.sh 06:23:54 lf-activate-venv: SKIPPING 06:23:54 INFO: No Stack... 06:23:55 INFO: Retrieving Pricing Info for: v3-standard-4 06:23:56 INFO: Archiving Costs [Pipeline] sh 06:23:57 + cat /w/workspace/device-usb-camera/20/archives/cost.csv 06:23:57 + cut -d, -f6 [Pipeline] lock 06:23:57 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-20-stack-cost] 06:23:57 Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-20-stack-cost] did not exist. Created. 06:23:57 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:23:57 /w/workspace/device-usb-camera/20@tmp/durable-599746c4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:23:58 + echo total: 0.10999999940395355 [Pipeline] stash 06:23:58 Warning: overwriting stash ‘stack-cost’ 06:23:59 Stashed 1 file(s) [Pipeline] } 06:23:59 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-20-stack-cost] [Pipeline] // lock [Pipeline] } 06:23:59 $ docker stop --time=1 3a2496f690b604dc8004da1667662d036c71d0400027dadc1cd520df63c826d8 06:24:00 $ docker rm -f 3a2496f690b604dc8004da1667662d036c71d0400027dadc1cd520df63c826d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:24:01 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 06:24:01 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-99/archives ] 06:24:01 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 06:24:01 total 16 06:24:01 drwxr-xr-x 3 root root 4096 Dec 15 06:17 . 06:24:01 drwxrwxr-x 11 jenkins jenkins 4096 Dec 15 06:17 .. 06:24:01 drwxr-xr-x 2 root root 4096 Dec 15 06:17 cost 06:24:01 -rw-r--r-- 1 root root 89 Dec 15 06:17 cost.csv 06:24:01 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-99/archives 06:24:01 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives 06:24:01 total 16 06:24:01 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 06:17 . 06:24:01 drwxrwxr-x 11 jenkins jenkins 4096 Dec 15 06:17 .. 06:24:01 drwxr-xr-x 2 jenkins jenkins 4096 Dec 15 06:17 cost 06:24:01 -rw-r--r-- 1 jenkins jenkins 89 Dec 15 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:24:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:24:02 ---> package-listing.sh 06:24:02 ++ tr '[:upper:]' '[:lower:]' 06:24:02 ++ facter osfamily 06:24:03 + OS_FAMILY=debian 06:24:03 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-99 06:24:03 + START_PACKAGES=/tmp/packages_start.txt 06:24:03 + END_PACKAGES=/tmp/packages_end.txt 06:24:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:24:03 + PACKAGES=/tmp/packages_start.txt 06:24:03 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 06:24:03 + PACKAGES=/tmp/packages_end.txt 06:24:03 + case "${OS_FAMILY}" in 06:24:03 + dpkg -l 06:24:03 + grep '^ii' 06:24:03 + '[' -f /tmp/packages_start.txt ']' 06:24:03 + '[' -f /tmp/packages_end.txt ']' 06:24:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:24:03 + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' 06:24:03 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ 06:24:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ [Pipeline] echo 06:24:03 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:24:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:24:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:04 prd-ubuntu20.04-docker-8c-8g-121341 does not seem to be running inside a container 06:24:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:24:04 $ docker top fd336b14fefa6e4bddcec2432b9ddb4a0471f9d3a0e2e3d0e748ce9ce353f8b3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:04 + touch /tmp/pre-build-complete [Pipeline] sh 06:24:05 + mkdir -p /var/log/sysstat [Pipeline] sh 06:24:05 + ls /var/log/sa-host 06:24:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:24:05 provisioning config files... 06:24:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config5867490043623317255tmp [Pipeline] { [Pipeline] echo 06:24:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:24:05 ---> create-netrc.sh [Pipeline] } 06:24:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:24:06 ---> python-tools-install.sh [Pipeline] echo 06:24:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:24:06 ---> sudo-logs.sh 06:24:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:24:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:24:06 ---> job-cost.sh 06:24:06 lf-activate-venv: SKIPPING 06:24:06 DEBUG: total: 0.2199999988079071 06:24:06 INFO: Retrieving Stack Cost... 06:24:06 INFO: Retrieving Pricing Info for: v3-standard-8 06:24:07 INFO: Archiving Costs [Pipeline] echo 06:24:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:24:07 ---> logs-deploy.sh 06:24:07 lf-activate-venv: SKIPPING 06:24:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-99/20 06:24:07 INFO: archiving workspace using pattern(s): 06:24:08 Archives upload complete. 06:24:08 INFO: archiving logs to Nexus 06:24:09 ---> uname -a: 06:24:09 Linux prd-ubuntu20-04-docker-8c-8g-121341 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 06:24:09 06:24:09