Pull request #81 updated Pull request #81 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 19d22e422abd2bf1e17912171b3c0bb2febc4a3e rather than 510a1e37f39c6a6f3f7da3864c322722f262e640 Obtained Jenkinsfile from 19d22e422abd2bf1e17912171b3c0bb2febc4a3e 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-ssh5419520141197184065.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh3832882189998725172.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-81/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-onvif-camera/branches/PR-81/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8622564608618819448.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh11880256080374193953.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-81/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-onvif-camera/branches/PR-81/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh570818528932684226.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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-onvif-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-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 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-onvif-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-1694’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1696 in /w/workspace/oundry_device-onvif-camera_PR-81 [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-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-81 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 510a1e37f39c6a6f3f7da3864c322722f262e640 Merge succeeded, producing d54ae050167479951db1a3abd57b43203adf0611 Checking out Revision d54ae050167479951db1a3abd57b43203adf0611 (PR-81) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-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-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 510a1e37f39c6a6f3f7da3864c322722f262e640 # 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 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d54ae050167479951db1a3abd57b43203adf0611 # timeout=10 Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:50:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:50:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:50:01 ========================================================= 22:50:01 EdgeX Global Pipelines Version Info 22:50:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 34550789741a4b9a815ecef927b119849de77219 # timeout=10 22:50:02 ------------------- 22:50:02 stable info: 22:50:02 ------------------- 22:50:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:50:02 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 22:50:02 Message: update stable to v1.0.234 22:50:03 ------------------- 22:50:03 experimental info: 22:50:03 ------------------- 22:50:03 Commited By: **** collab-it+edgex@linuxfoundation.org 22:50:03 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 22:50:03 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d54ae050167479951db1a3abd57b43203adf0611 [Pipeline] echo 22:50:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d54ae05 [Pipeline] echo 22:50:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:50:04 provisioning config files... 22:50:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config7905892330361985190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:50:04 ---> docker-login.sh 22:50:04 nexus3.edgexfoundry.org:10001 22:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:04 Configure a credential helper to remove this warning. See 22:50:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:04 22:50:04 Login Succeeded 22:50:04 nexus3.edgexfoundry.org:10002 22:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:04 Configure a credential helper to remove this warning. See 22:50:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:04 22:50:04 Login Succeeded 22:50:04 nexus3.edgexfoundry.org:10003 22:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:05 Configure a credential helper to remove this warning. See 22:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:05 22:50:05 Login Succeeded 22:50:05 nexus3.edgexfoundry.org:10004 22:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:05 Configure a credential helper to remove this warning. See 22:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:05 22:50:05 Login Succeeded 22:50:05 docker.io 22:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:05 Configure a credential helper to remove this warning. See 22:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:05 22:50:05 Login Succeeded 22:50:05 ---> docker-login.sh ends [Pipeline] } 22:50:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:50:06 + git rev-list -1 --merges d54ae050167479951db1a3abd57b43203adf0611~1..d54ae050167479951db1a3abd57b43203adf0611 [Pipeline] echo 22:50:06 -----------> git rev-list -1 --merges d54ae050167479951db1a3abd57b43203adf0611~1..d54ae050167479951db1a3abd57b43203adf0611 d54ae050167479951db1a3abd57b43203adf0611 22:50:06 d54ae050167479951db1a3abd57b43203adf0611 [false] [Pipeline] sh 22:50:06 + git log --format=format:%s -1 d54ae050167479951db1a3abd57b43203adf0611 [Pipeline] echo 22:50:06 ========================================================= 22:50:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:50:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:50:06 + git log --format=format:%s -1 d54ae050167479951db1a3abd57b43203adf0611 [Pipeline] echo 22:50:06 [semverPrep] GIT_COMMIT: d54ae050167479951db1a3abd57b43203adf0611, Commit Message: Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD [Pipeline] echo 22:50:06 [semverPrep] This is not a build commit. [Pipeline] sh 22:50:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:50:07 + grep -v github /etc/ssh/ssh_known_hosts 22:50:07 + [ -e /tmp/ssh_known_hosts ] 22:50:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:50:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:50:07 + sudo tee -a /etc/ssh/ssh_known_hosts 22:50:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:50:07 22:50:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:50:07 0.1.4: Pulling from edgex-devops/py-git-semver 22:50:07 42c077c10790: Pulling fs layer 22:50:07 f63e77b7563a: Pulling fs layer 22:50:07 bd5fdadae976: Pulling fs layer 22:50:07 205491f53016: Pulling fs layer 22:50:07 df18705c85c3: Pulling fs layer 22:50:07 bdb3f477010e: Pulling fs layer 22:50:07 c8a8fc8e1c8f: Pulling fs layer 22:50:07 2c6e9b1d212d: Pulling fs layer 22:50:07 bdb8f0575790: Pulling fs layer 22:50:07 386e3cb2ff24: Pulling fs layer 22:50:07 2343380bae48: Pulling fs layer 22:50:07 c8a8fc8e1c8f: Waiting 22:50:07 2c6e9b1d212d: Waiting 22:50:07 bdb8f0575790: Waiting 22:50:07 386e3cb2ff24: Waiting 22:50:07 205491f53016: Waiting 22:50:07 2343380bae48: Waiting 22:50:07 bdb3f477010e: Waiting 22:50:07 f63e77b7563a: Download complete 22:50:07 205491f53016: Verifying Checksum 22:50:07 205491f53016: Download complete 22:50:08 df18705c85c3: Verifying Checksum 22:50:08 df18705c85c3: Download complete 22:50:08 bdb3f477010e: Download complete 22:50:08 bd5fdadae976: Verifying Checksum 22:50:08 bd5fdadae976: Download complete 22:50:08 2c6e9b1d212d: Verifying Checksum 22:50:08 2c6e9b1d212d: Download complete 22:50:08 bdb8f0575790: Verifying Checksum 22:50:08 bdb8f0575790: Download complete 22:50:08 386e3cb2ff24: Download complete 22:50:08 2343380bae48: Verifying Checksum 22:50:08 2343380bae48: Download complete 22:50:08 42c077c10790: Verifying Checksum 22:50:08 42c077c10790: Download complete 22:50:08 c8a8fc8e1c8f: Verifying Checksum 22:50:08 c8a8fc8e1c8f: Download complete 22:50:09 42c077c10790: Pull complete 22:50:09 f63e77b7563a: Pull complete 22:50:10 bd5fdadae976: Pull complete 22:50:10 205491f53016: Pull complete 22:50:10 df18705c85c3: Pull complete 22:50:10 bdb3f477010e: Pull complete 22:50:12 c8a8fc8e1c8f: Pull complete 22:50:12 2c6e9b1d212d: Pull complete 22:50:12 bdb8f0575790: Pull complete 22:50:12 386e3cb2ff24: Pull complete 22:50:12 2343380bae48: Pull complete 22:50:12 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 22:50:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:50:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:13 prd-ubuntu20.04-docker-8c-8g-1696 does not seem to be running inside a container 22:50:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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-devops/py-git-semver:0.1.4 cat 22:50:14 $ docker top 8d93fc4b1611407ae0c676cea09f93ac60f2c3939371d46bc4a123c3161765df -eo pid,comm 22:50:14 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). 22:50:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:50:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:50:14 [ssh-agent] Looking for ssh-agent implementation... 22:50:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:50:14 $ docker exec 8d93fc4b1611407ae0c676cea09f93ac60f2c3939371d46bc4a123c3161765df ssh-agent 22:50:14 SSH_AUTH_SOCK=/tmp/ssh-v2Js9BqF4OMa/agent.33 22:50:14 SSH_AGENT_PID=39 22:50:14 Running ssh-add (command line suppressed) 22:50:14 Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_2198212500630349825.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_2198212500630349825.key) 22:50:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:50:15 + git tag --points-at HEAD [Pipeline] } 22:50:15 $ docker exec --env ******** --env ******** 8d93fc4b1611407ae0c676cea09f93ac60f2c3939371d46bc4a123c3161765df ssh-agent -k 22:50:15 unset SSH_AUTH_SOCK; 22:50:15 unset SSH_AGENT_PID; 22:50:15 echo Agent pid 39 killed; 22:50:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:50:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:50:15 [ssh-agent] Looking for ssh-agent implementation... 22:50:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:50:15 $ docker exec 8d93fc4b1611407ae0c676cea09f93ac60f2c3939371d46bc4a123c3161765df ssh-agent 22:50:15 SSH_AUTH_SOCK=/tmp/ssh-6gBtYcilkQiP/agent.72 22:50:15 SSH_AGENT_PID=79 22:50:15 Running ssh-add (command line suppressed) 22:50:15 Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_1549902623402212364.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_1549902623402212364.key) 22:50:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:50:16 + git semver init 22:50:16 2022-06-07 22:50:16,570 [run_init] DEBUG init version:0.0.0 force:False 22:50:16 2022-06-07 22:50:16,571 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-81/.semver 22:50:16 2022-06-07 22:50:16,571 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-81/.semver 22:50:16 2022-06-07 22:50:16,572 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-81/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81, universal_newlines=False, shell=None, istream=None) 22:50:17 2022-06-07 22:50:17,220 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-81/.git/info/exclude 22:50:17 2022-06-07 22:50:17,221 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 with force:False 22:50:17 2022-06-07 22:50:17,221 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 22:50:17 2022-06-07 22:50:17,225 [execute] INFO git cat-file --batch-check 22:50:17 2022-06-07 22:50:17,225 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) 22:50:17 2022-06-07 22:50:17,234 [execute] INFO git cat-file --batch 22:50:17 2022-06-07 22:50:17,234 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) 22:50:17 2022-06-07 22:50:17,241 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 22:50:17 0.0.0 [Pipeline] } 22:50:17 $ docker exec --env ******** --env ******** 8d93fc4b1611407ae0c676cea09f93ac60f2c3939371d46bc4a123c3161765df ssh-agent -k 22:50:17 unset SSH_AUTH_SOCK; 22:50:17 unset SSH_AGENT_PID; 22:50:17 echo Agent pid 79 killed; 22:50:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:50:17 + git semver [Pipeline] } 22:50:18 $ docker stop --time=1 8d93fc4b1611407ae0c676cea09f93ac60f2c3939371d46bc4a123c3161765df 22:50:19 $ docker rm -f 8d93fc4b1611407ae0c676cea09f93ac60f2c3939371d46bc4a123c3161765df [Pipeline] // withDockerContainer [Pipeline] sh 22:50:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:50:20 Stashed 1 file(s) [Pipeline] echo 22:50:20 [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 22:50:20 provisioning config files... 22:50:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config6071587580076940228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:50:20 ---> docker-login.sh 22:50:20 nexus3.edgexfoundry.org:10001 22:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:20 Configure a credential helper to remove this warning. See 22:50:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:20 22:50:20 Login Succeeded 22:50:20 nexus3.edgexfoundry.org:10002 22:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:20 Configure a credential helper to remove this warning. See 22:50:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:20 22:50:20 Login Succeeded 22:50:20 nexus3.edgexfoundry.org:10003 22:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:20 Configure a credential helper to remove this warning. See 22:50:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:20 22:50:20 Login Succeeded 22:50:20 nexus3.edgexfoundry.org:10004 22:50:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:21 Configure a credential helper to remove this warning. See 22:50:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:21 22:50:21 Login Succeeded 22:50:21 docker.io 22:50:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:21 Configure a credential helper to remove this warning. See 22:50:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:21 22:50:21 Login Succeeded 22:50:21 ---> docker-login.sh ends [Pipeline] } 22:50:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:50:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:50:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:50:21 ========================================================= 22:50:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:50:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:21 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:50:21 Sending build context to Docker daemon 8.999MB 22:50:21 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 22:50:21 Step 2/13 : FROM ${BASE} AS builder 22:50:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:50:21 59bf1c3509f3: Pulling fs layer 22:50:21 666ba61612fd: Pulling fs layer 22:50:21 8ed8ca486205: Pulling fs layer 22:50:21 cc1cd167ecdc: Pulling fs layer 22:50:21 c516ae0d96e1: Pulling fs layer 22:50:21 684cea983483: Pulling fs layer 22:50:21 dd3240ac7de5: Pulling fs layer 22:50:21 b1e948a4e11c: Pulling fs layer 22:50:21 a8fd76ee1af6: Pulling fs layer 22:50:21 646ad004c059: Pulling fs layer 22:50:21 dd3240ac7de5: Waiting 22:50:21 b1e948a4e11c: Waiting 22:50:21 cc1cd167ecdc: Waiting 22:50:21 a8fd76ee1af6: Waiting 22:50:21 c516ae0d96e1: Waiting 22:50:21 646ad004c059: Waiting 22:50:21 684cea983483: Waiting 22:50:21 8ed8ca486205: Verifying Checksum 22:50:21 666ba61612fd: Verifying Checksum 22:50:21 666ba61612fd: Download complete 22:50:22 c516ae0d96e1: Verifying Checksum 22:50:22 c516ae0d96e1: Download complete 22:50:22 684cea983483: Verifying Checksum 22:50:22 684cea983483: Download complete 22:50:22 59bf1c3509f3: Download complete 22:50:22 dd3240ac7de5: Download complete 22:50:22 b1e948a4e11c: Verifying Checksum 22:50:22 b1e948a4e11c: Download complete 22:50:22 59bf1c3509f3: Pull complete 22:50:22 666ba61612fd: Pull complete 22:50:22 8ed8ca486205: Pull complete 22:50:22 a8fd76ee1af6: Verifying Checksum 22:50:22 a8fd76ee1af6: Download complete 22:50:22 cc1cd167ecdc: Verifying Checksum 22:50:22 cc1cd167ecdc: Download complete 22:50:22 646ad004c059: Verifying Checksum 22:50:22 646ad004c059: Download complete 22:50:27 cc1cd167ecdc: Pull complete 22:50:27 c516ae0d96e1: Pull complete 22:50:27 684cea983483: Pull complete 22:50:27 dd3240ac7de5: Pull complete 22:50:27 b1e948a4e11c: Pull complete 22:50:29 a8fd76ee1af6: Pull complete 22:50:30 646ad004c059: Pull complete 22:50:30 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 22:50:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:50:30 ---> 8f69c11f6b0c 22:50:30 Step 3/13 : ARG MAKE="make build" 22:50:31 ---> Running in d671f1a514de 22:50:31 Removing intermediate container d671f1a514de 22:50:31 ---> e72e025d3bae 22:50:31 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:50:31 ---> Running in 711e1a9582c4 22:50:31 Removing intermediate container 711e1a9582c4 22:50:31 ---> 62618951529a 22:50:31 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 22:50:31 ---> Running in 2ceab8e55f2c 22:50:31 Removing intermediate container 2ceab8e55f2c 22:50:31 ---> 7382c5baa0d0 22:50:31 Step 6/13 : LABEL Name=edgex-device-onvif-camera 22:50:31 ---> Running in ac094d1872e2 22:50:31 Removing intermediate container ac094d1872e2 22:50:31 ---> af45d72e8e2c 22:50:31 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:50:31 ---> Running in 6d9f35020332 22:50:32 Removing intermediate container 6d9f35020332 22:50:32 ---> e820586ceb15 22:50:32 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:50:32 ---> Running in 93e404685fca 22:50:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:50:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:50:34 OK: 221 MiB in 52 packages 22:50:34 Removing intermediate container 93e404685fca 22:50:34 ---> b4fcf419bc57 22:50:34 Step 9/13 : WORKDIR /device-onvif-camera 22:50:34 ---> Running in 1afbc91b1433 22:50:34 Removing intermediate container 1afbc91b1433 22:50:34 ---> 1d31dbf6805e 22:50:34 Step 10/13 : COPY go.mod vendor* ./ 22:50:34 ---> 0927f9df49a1 22:50:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:50:34 ---> Running in fe22265bb715 22:50:35 Still waiting to schedule task 22:50:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1695’ is offline 22:50:47 Removing intermediate container fe22265bb715 22:50:47 ---> 5cd3bcac40fa 22:50:47 Step 12/13 : COPY . . 22:50:47 ---> e6b0135868de 22:50:47 Step 13/13 : RUN ${MAKE} 22:50:47 ---> Running in 3c5b75247259 22:50:47 noop 22:50:48 Removing intermediate container 3c5b75247259 22:50:48 ---> 0c464c586ba2 22:50:48 Successfully built 0c464c586ba2 22:50:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:48 + docker inspect -f . ci-base-image-x86_64 22:50:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:48 prd-ubuntu20.04-docker-8c-8g-1696 does not seem to be running inside a container 22:50:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:50:49 $ docker top c7f791e3980825add1961d79ab2811d2e632b76134ba6d462d413bf32c15abfb -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:49 + go version 22:50:49 go version go1.17.7 linux/amd64 [Pipeline] } 22:50:49 $ docker stop --time=1 c7f791e3980825add1961d79ab2811d2e632b76134ba6d462d413bf32c15abfb 22:50:50 $ docker rm -f c7f791e3980825add1961d79ab2811d2e632b76134ba6d462d413bf32c15abfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:51 + docker inspect -f . ci-base-image-x86_64 22:50:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:51 prd-ubuntu20.04-docker-8c-8g-1696 does not seem to be running inside a container 22:50:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:50:51 $ docker top b031c66b864560361f8a1257ca8513d27001669e9ce9669f302fa086ad13ef9d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:50:52 + make test 22:50:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:50:52 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:51:02 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:51:02 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.2% of statements 22:51:05 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.319s coverage: 13.8% of statements 22:51:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:51:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:51:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:51:16 ./bin/test-attribution-txt.sh [Pipeline] echo 22:51:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:51:16 $ docker stop --time=1 b031c66b864560361f8a1257ca8513d27001669e9ce9669f302fa086ad13ef9d 22:51:18 $ docker rm -f b031c66b864560361f8a1257ca8513d27001669e9ce9669f302fa086ad13ef9d [Pipeline] // withDockerContainer [Pipeline] sh 22:51:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:51:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:51:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:51:19 + ls -al . 22:51:19 total 236 22:51:19 drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 22:51 . 22:51:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 22:49 .. 22:51:19 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 22:50 .git 22:51:19 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 22:49 .github 22:51:19 -rw-rw-r-- 1 jenkins jenkins 352 Jun 7 22:49 .gitignore 22:51:19 -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 22:49 .golangci.yml 22:51:19 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 22:50 .semver 22:51:19 -rw-rw-r-- 1 jenkins jenkins 9099 Jun 7 22:49 Attribution.txt 22:51:19 -rw-rw-r-- 1 jenkins jenkins 189 Jun 7 22:49 CHANGELOG.md 22:51:19 -rw-rw-r-- 1 jenkins jenkins 1667 Jun 7 22:49 Dockerfile 22:51:19 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 22:49 GOVERNANCE.md 22:51:19 -rw-rw-r-- 1 jenkins jenkins 660 Jun 7 22:49 Jenkinsfile 22:51:19 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 7 22:49 LICENSE 22:51:19 -rw-rw-r-- 1 jenkins jenkins 2473 Jun 7 22:49 Makefile 22:51:19 -rw-rw-r-- 1 jenkins jenkins 625 Jun 7 22:49 OWNERS.md 22:51:19 -rw-rw-r-- 1 jenkins jenkins 30599 Jun 7 22:49 README.md 22:51:19 -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 22:50 VERSION 22:51:19 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 22:49 bin 22:51:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 22:49 cmd 22:51:19 -rw-r--r-- 1 jenkins jenkins 59850 Jun 7 22:51 coverage.out 22:51:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 22:49 doc 22:51:19 -rw-rw-r-- 1 jenkins jenkins 3534 Jun 7 22:49 go.mod 22:51:19 -rw-rw-r-- 1 jenkins jenkins 37264 Jun 7 22:49 go.sum 22:51:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 22:49 internal 22:51:19 -rw-rw-r-- 1 jenkins jenkins 236 Jun 7 22:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:20 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d54ae050167479951db1a3abd57b43203adf0611 --label arch=amd64 --label version=0.0.0 . 22:51:20 Sending build context to Docker daemon 9.06MB 22:51:20 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 22:51:20 Step 2/26 : FROM ${BASE} AS builder 22:51:20 ---> 0c464c586ba2 22:51:20 Step 3/26 : ARG MAKE="make build" 22:51:20 ---> Running in d44bfdae2b00 22:51:20 Removing intermediate container d44bfdae2b00 22:51:20 ---> 7d87f6ec4474 22:51:20 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:51:20 ---> Running in 691620e1e2cf 22:51:20 Removing intermediate container 691620e1e2cf 22:51:20 ---> fa856a0a1766 22:51:20 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 22:51:20 ---> Running in e5c02ccf9de6 22:51:20 Removing intermediate container e5c02ccf9de6 22:51:20 ---> 279a9cb9139f 22:51:20 Step 6/26 : LABEL Name=edgex-device-onvif-camera 22:51:20 ---> Running in 2ed26d499420 22:51:20 Removing intermediate container 2ed26d499420 22:51:20 ---> 1be2805451f3 22:51:20 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:51:20 ---> Running in 219e1aac6e4c 22:51:21 Removing intermediate container 219e1aac6e4c 22:51:21 ---> acdd7989aa06 22:51:21 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:51:21 ---> Running in ce881d03ff45 22:51:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:51:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:51:22 OK: 221 MiB in 52 packages 22:51:22 Removing intermediate container ce881d03ff45 22:51:22 ---> b7801119f247 22:51:22 Step 9/26 : WORKDIR /device-onvif-camera 22:51:22 ---> Running in 7bf46601d50a 22:51:23 Removing intermediate container 7bf46601d50a 22:51:23 ---> eb779d2d3e9f 22:51:23 Step 10/26 : COPY go.mod vendor* ./ 22:51:23 ---> 4190ea0ee3f2 22:51:23 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:51:23 ---> Running in 23d0a3c9a533 22:51:24 Removing intermediate container 23d0a3c9a533 22:51:24 ---> 8c1e9944b074 22:51:24 Step 12/26 : COPY . . 22:51:24 ---> 655e12ec1fe3 22:51:24 Step 13/26 : RUN ${MAKE} 22:51:24 ---> Running in e12c3118c978 22:51:24 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 22:51:46 Removing intermediate container e12c3118c978 22:51:46 ---> da14c4eaaa88 22:51:46 Step 14/26 : FROM alpine:3.15 22:51:46 3.15: Pulling from library/alpine 22:51:46 df9b9388f04a: Pulling fs layer 22:51:46 df9b9388f04a: Verifying Checksum 22:51:46 df9b9388f04a: Download complete 22:51:46 df9b9388f04a: Pull complete 22:51:46 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 22:51:46 Status: Downloaded newer image for alpine:3.15 22:51:46 ---> 0ac33e5f5afa 22:51:46 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:51:46 ---> Running in 86e4fafc4a2c 22:51:46 Removing intermediate container 86e4fafc4a2c 22:51:46 ---> 631b1f7dd1a3 22:51:46 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 22:51:46 ---> Running in d2c8a35ac6eb 22:51:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:51:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:51:46 (1/6) Installing dumb-init (1.2.5-r1) 22:51:46 (2/6) Installing libgcc (10.3.1_git20211027-r0) 22:51:46 (3/6) Installing libsodium (1.0.18-r0) 22:51:46 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 22:51:46 (5/6) Installing libzmq (4.3.4-r0) 22:51:46 (6/6) Installing zeromq (4.3.4-r0) 22:51:46 Executing busybox-1.34.1-r5.trigger 22:51:46 OK: 8 MiB in 20 packages 22:51:46 Removing intermediate container d2c8a35ac6eb 22:51:46 ---> b4efc78ee767 22:51:46 Step 17/26 : WORKDIR / 22:51:46 ---> Running in 61249e38811d 22:51:46 Removing intermediate container 61249e38811d 22:51:46 ---> b30aa329d0a6 22:51:46 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:51:46 ---> 43fafbddbf0a 22:51:46 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:51:46 ---> 68ccf2304861 22:51:46 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:51:46 ---> 80e140419715 22:51:46 Step 21/26 : EXPOSE 59984 22:51:46 ---> Running in b87efe2cc84e 22:51:46 Removing intermediate container b87efe2cc84e 22:51:46 ---> f9990bfef24c 22:51:46 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:51:46 ---> Running in 1bd75d6a8cac 22:51:47 Removing intermediate container 1bd75d6a8cac 22:51:47 ---> 37090abd1618 22:51:47 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:51:47 ---> Running in c0a996fb6830 22:51:47 Removing intermediate container c0a996fb6830 22:51:47 ---> aa30071a6d56 22:51:47 Step 24/26 : LABEL arch=amd64 22:51:47 ---> Running in 59ce25d791eb 22:51:47 Removing intermediate container 59ce25d791eb 22:51:47 ---> 5ff7a8baeda5 22:51:47 Step 25/26 : LABEL git_sha=d54ae050167479951db1a3abd57b43203adf0611 22:51:47 ---> Running in cbb3209624c7 22:51:47 Removing intermediate container cbb3209624c7 22:51:47 ---> f5261c535964 22:51:47 Step 26/26 : LABEL version=0.0.0 22:51:47 ---> Running in b45131b2a386 22:51:47 Removing intermediate container b45131b2a386 22:51:47 ---> 5f7b277c2539 22:51:47 [Warning] One or more build-args [ARCH] were not consumed 22:51:47 Successfully built 5f7b277c2539 22:51:47 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:51:47 22:51:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:51:48 latest: Pulling from edgex-lftools-log-publisher 22:51:48 5eb5b503b376: Pulling fs layer 22:51:48 5c69ac0246d0: Pulling fs layer 22:51:48 ec43610c2a17: Pulling fs layer 22:51:48 3a2ae6a8a46f: Pulling fs layer 22:51:48 33b1e0a273af: Pulling fs layer 22:51:48 5d3b04190fa2: Pulling fs layer 22:51:48 2f39f015ded8: Pulling fs layer 22:51:48 3a2ae6a8a46f: Waiting 22:51:48 5d3b04190fa2: Waiting 22:51:48 2f39f015ded8: Waiting 22:51:48 5c69ac0246d0: Download complete 22:51:48 3a2ae6a8a46f: Download complete 22:51:48 33b1e0a273af: Verifying Checksum 22:51:48 33b1e0a273af: Download complete 22:51:48 5d3b04190fa2: Verifying Checksum 22:51:48 5d3b04190fa2: Download complete 22:51:48 ec43610c2a17: Download complete 22:51:48 5eb5b503b376: Verifying Checksum 22:51:48 5eb5b503b376: Download complete 22:51:48 2f39f015ded8: Download complete 22:51:49 5eb5b503b376: Pull complete 22:51:49 5c69ac0246d0: Pull complete 22:51:50 ec43610c2a17: Pull complete 22:51:50 3a2ae6a8a46f: Pull complete 22:51:50 33b1e0a273af: Pull complete 22:51:50 5d3b04190fa2: Pull complete 22:51:54 2f39f015ded8: Pull complete 22:51:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:51:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:51:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:51:54 prd-ubuntu20.04-docker-8c-8g-1696 does not seem to be running inside a container 22:51:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:51:56 $ docker top 4bb43529fbac139308118b67f79d800a7124a7140ec4c6a5d653698083760ea5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:51:56 ---> job-cost.sh 22:51:56 lf-activate-venv: SKIPPING 22:51:56 INFO: No Stack... 22:51:57 INFO: Retrieving Pricing Info for: v3-standard-8 22:51:57 INFO: Archiving Costs [Pipeline] sh 22:51:58 + cat /w/workspace/oundry_device-onvif-camera_PR-81/archives/cost.csv 22:51:58 + cut -d, -f6 [Pipeline] lock 22:51:58 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-8-stack-cost] 22:51:58 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-8-stack-cost] did not exist. Created. 22:51:58 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:51:58 + echo total: 0.2199999988079071 [Pipeline] stash 22:51:58 Stashed 1 file(s) [Pipeline] } 22:51:58 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-8-stack-cost] [Pipeline] // lock [Pipeline] } 22:51:58 $ docker stop --time=1 4bb43529fbac139308118b67f79d800a7124a7140ec4c6a5d653698083760ea5 22:51:59 $ docker rm -f 4bb43529fbac139308118b67f79d800a7124a7140ec4c6a5d653698083760ea5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:52:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1697 in /w/workspace/oundry_device-onvif-camera_PR-81 [Pipeline] { [Pipeline] ws 22:52:06 Running in /w/workspace/device-onvif-camera/8 [Pipeline] { [Pipeline] checkout 22:52:06 Selected Git installation does not exist. Using Default 22:52:06 The recommended git tool is: NONE 22:52:13 using credential edgex-jenkins-ssh 22:52:14 Cloning the remote Git repository 22:52:14 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:52:14 > git init /w/workspace/device-onvif-camera/8 # timeout=10 22:52:14 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:52:14 > git --version # timeout=10 22:52:14 > git --version # 'git version 2.25.1' 22:52:14 using GIT_SSH to set credentials SSH Credentials for GitHub 22:52:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:52:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:52:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:52:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:52:15 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:52:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:52:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:52:15 Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 510a1e37f39c6a6f3f7da3864c322722f262e640 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:52:15 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 22:52:16 + [ -d /w/workspace/oundry_device-onvif-camera_PR-81/archives ] 22:52:16 + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives 22:52:16 total 16 22:52:16 drwxr-xr-x 3 root root 4096 Jun 7 22:51 . 22:52:16 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 22:51 .. 22:52:16 drwxr-xr-x 2 root root 4096 Jun 7 22:51 cost 22:52:16 -rw-r--r-- 1 root root 89 Jun 7 22:51 cost.csv 22:52:16 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-81/archives 22:52:16 + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives 22:52:16 total 16 22:52:16 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 22:51 . 22:52:16 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 22:51 .. 22:52:16 drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 22:51 cost 22:52:16 -rw-r--r-- 1 jenkins jenkins 89 Jun 7 22:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:52:16 ---> sysstat.sh 22:52:15 > git config core.sparsecheckout # timeout=10 22:52:15 > git checkout -f 510a1e37f39c6a6f3f7da3864c322722f262e640 # timeout=10 [Pipeline] libraryResource [Pipeline] sh 22:52:17 ---> package-listing.sh 22:52:17 ++ facter osfamily 22:52:17 ++ tr '[:upper:]' '[:lower:]' 22:52:18 + OS_FAMILY=debian 22:52:18 + workspace=/w/workspace/oundry_device-onvif-camera_PR-81 22:52:18 + START_PACKAGES=/tmp/packages_start.txt 22:52:18 + END_PACKAGES=/tmp/packages_end.txt 22:52:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:52:18 + PACKAGES=/tmp/packages_start.txt 22:52:18 + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' 22:52:18 + PACKAGES=/tmp/packages_end.txt 22:52:18 + case "${OS_FAMILY}" in 22:52:18 + dpkg -l 22:52:18 + grep '^ii' 22:52:18 + '[' -f /tmp/packages_start.txt ']' 22:52:18 + '[' -f /tmp/packages_end.txt ']' 22:52:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:52:18 + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' 22:52:18 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-81/archives/ 22:52:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [Pipeline] echo 22:52:18 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/oundry_device-onvif-camera_PR-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:52:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:52:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:52:19 prd-ubuntu20.04-docker-8c-8g-1696 does not seem to be running inside a container 22:52:19 $ 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/oundry_device-onvif-camera_PR-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:52:19 $ docker top de092361b6732b31bdec91746b7efb9ddfe48547b3236d669bbb1109a234c1d5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:52:19 + touch /tmp/pre-build-complete [Pipeline] sh 22:52:20 + mkdir -p /var/log/sysstat [Pipeline] sh 22:52:20 + ls /var/log/sa-host 22:52:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:52:20 provisioning config files... 22:52:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config6073154042612367788tmp [Pipeline] { [Pipeline] echo 22:52:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:52:21 ---> create-netrc.sh [Pipeline] } 22:52:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:52:21 ---> python-tools-install.sh [Pipeline] echo 22:52:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:52:21 ---> sudo-logs.sh 22:52:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:52:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:52:22 ---> job-cost.sh 22:52:22 lf-activate-venv: SKIPPING 22:52:22 DEBUG: total: 0.2199999988079071 22:52:22 INFO: Retrieving Stack Cost... 22:52:22 INFO: Retrieving Pricing Info for: v3-standard-8 22:52:23 INFO: Archiving Costs [Pipeline] echo 22:52:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:52:23 ---> logs-deploy.sh 22:52:23 lf-activate-venv: SKIPPING 22:52:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-81/8 22:52:23 INFO: archiving workspace using pattern(s): 22:52:24 Archives upload complete. 22:52:24 INFO: archiving logs to Nexus