Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2a2498c9bbadf04898195d37569b88cc82665a53 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-snmp-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-4592’ is offline Running on prd-centos7-docker-4c-2g-4955 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 2a2498c9bbadf04898195d37569b88cc82665a53 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2a2498c9bbadf04898195d37569b88cc82665a53 # timeout=10 Commit message: "Merge pull request #47 from hahattan/issue-46" > git rev-list --no-walk 70d107fb98bfe092cd81e398d0214a861e2dccdc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:26:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:26:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:26:07 ========================================================= 12:26:07 EdgeX Global Pipelines Version Info 12:26:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:26:09 ------------------- 12:26:09 stable info: 12:26:09 ------------------- 12:26:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:26:09 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 12:26:09 Message: update stable to v1.0.73 12:26:09 ------------------- 12:26:09 experimental info: 12:26:09 ------------------- 12:26:09 Commited By: **** collab-it+edgex@linuxfoundation.org 12:26:09 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 12:26:09 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 12:26:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:26:11 12:26:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:26:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:26:12 latest: Pulling from edgex-devops/git-semver 12:26:12 9123ac7c32f7: Pulling fs layer 12:26:12 b8cc5d1170e3: Pulling fs layer 12:26:12 2924cbbf6a41: Pulling fs layer 12:26:12 93b08a4f1073: Pulling fs layer 12:26:12 93b08a4f1073: Waiting 12:26:12 b8cc5d1170e3: Verifying Checksum 12:26:12 b8cc5d1170e3: Download complete 12:26:12 9123ac7c32f7: Verifying Checksum 12:26:12 9123ac7c32f7: Download complete 12:26:12 93b08a4f1073: Verifying Checksum 12:26:12 93b08a4f1073: Download complete 12:26:12 2924cbbf6a41: Verifying Checksum 12:26:12 2924cbbf6a41: Download complete 12:26:12 9123ac7c32f7: Pull complete 12:26:12 b8cc5d1170e3: Pull complete 12:26:13 2924cbbf6a41: Pull complete 12:26:13 93b08a4f1073: Pull complete 12:26:13 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 12:26:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:26:13 prd-centos7-docker-4c-2g-4955 does not seem to be running inside a container 12:26:13 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:26:14 $ docker top be19ec8073b5815e2c46a4dd08182137895d386b6b250f9b486fea3f45e11a3f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:26:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:26:14 [ssh-agent] Looking for ssh-agent implementation... 12:26:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:26:14 $ docker exec be19ec8073b5815e2c46a4dd08182137895d386b6b250f9b486fea3f45e11a3f ssh-agent 12:26:14 SSH_AUTH_SOCK=/tmp/ssh-nqD2mSb5VRBH/agent.15 12:26:14 SSH_AGENT_PID=21 12:26:14 Running ssh-add (command line suppressed) 12:26:15 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8528206982814027415.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8528206982814027415.key) 12:26:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:26:15 + git describe --exact-match --tags HEAD 12:26:15 fatal: No names found, cannot describe anything. [Pipeline] } 12:26:15 $ docker exec --env ******** --env ******** be19ec8073b5815e2c46a4dd08182137895d386b6b250f9b486fea3f45e11a3f ssh-agent -k 12:26:15 unset SSH_AUTH_SOCK; 12:26:15 unset SSH_AGENT_PID; 12:26:15 echo Agent pid 21 killed; 12:26:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 12:26:15 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 12:26:15 This usually means this commit has not been tagged. [Pipeline] sshagent 12:26:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:26:15 [ssh-agent] Looking for ssh-agent implementation... 12:26:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:26:16 $ docker exec be19ec8073b5815e2c46a4dd08182137895d386b6b250f9b486fea3f45e11a3f ssh-agent 12:26:16 SSH_AUTH_SOCK=/tmp/ssh-aCEscqpDyiZX/agent.56 12:26:16 SSH_AGENT_PID=63 12:26:16 Running ssh-add (command line suppressed) 12:26:16 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8827415534388339182.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8827415534388339182.key) 12:26:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:26:16 + git semver init 12:26:16 # -> Open(): unable to determine branch for HEAD 12:26:16 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 12:26:16 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 12:26:16 # $SEMVER_REMOTE_NAME = origin 12:26:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:26:16 # $SEMVER_USER_NAME = edgex-jenkins 12:26:16 # $SEMVER_BRANCH = master 12:26:16 # $SEMVER_TEMP = /tmp/semver-498443467 12:26:16 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 12:26:17 # '/tmp/semver-498443467' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' 12:26:17 # -> Force: false 12:26:17 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 12:26:17 $ docker exec --env ******** --env ******** be19ec8073b5815e2c46a4dd08182137895d386b6b250f9b486fea3f45e11a3f ssh-agent -k 12:26:17 unset SSH_AUTH_SOCK; 12:26:17 unset SSH_AGENT_PID; 12:26:17 echo Agent pid 63 killed; 12:26:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:26:17 + git semver [Pipeline] } 12:26:17 $ docker stop --time=1 be19ec8073b5815e2c46a4dd08182137895d386b6b250f9b486fea3f45e11a3f 12:26:18 $ docker rm -f be19ec8073b5815e2c46a4dd08182137895d386b6b250f9b486fea3f45e11a3f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 12:26:19 Stashed 30 file(s) [Pipeline] echo 12:26:19 [edgeXSemver] initialized semver on version 1.2.0-dev.3 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 12:26:34 Still waiting to schedule task 12:26:34 Waiting for next available executor on ‘centos7-docker-4c-2g’ 12:26:34 Still waiting to schedule task 12:26:34 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 12:28:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4956 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 12:28:30 Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout 12:28:36 using credential edgex-jenkins-ssh 12:28:36 Cloning the remote Git repository 12:28:36 Cloning with configured refspecs honoured and without tags 12:28:36 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 12:28:36 > git init /w/workspace/device-snmp-go/4 # timeout=10 12:28:36 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 12:28:36 > git --version # timeout=10 12:28:36 using GIT_SSH to set credentials SSH Credentials for GitHub 12:28:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 12:28:37 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 12:28:37 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 12:28:37 Fetching without tags 12:28:37 Checking out Revision 2a2498c9bbadf04898195d37569b88cc82665a53 (master) 12:28:37 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 12:28:37 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 12:28:37 using GIT_SSH to set credentials SSH Credentials for GitHub 12:28:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 12:28:38 > git config core.sparsecheckout # timeout=10 12:28:38 > git checkout -f 2a2498c9bbadf04898195d37569b88cc82665a53 # timeout=10 12:28:42 Commit message: "Merge pull request #47 from hahattan/issue-46" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 12:28:43 ========================================================= 12:28:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 12:28:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:28:44 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 12:28:45 Sending build context to Docker daemon 322.6kB 12:28:45 Step 1/10 : ARG BASE=golang:1.13-alpine 12:28:45 Step 2/10 : FROM ${BASE} 12:28:45 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:28:45 cde5963f3b93: Pulling fs layer 12:28:45 2a23fa8c16f7: Pulling fs layer 12:28:45 777b28850792: Pulling fs layer 12:28:45 8a11ddd9e578: Pulling fs layer 12:28:45 4cf88f913ddb: Pulling fs layer 12:28:45 1df406cf5192: Pulling fs layer 12:28:45 cd6300453558: Pulling fs layer 12:28:45 b9c365052c96: Pulling fs layer 12:28:45 a2d8cc88f415: Pulling fs layer 12:28:45 ea1d1ca13537: Pulling fs layer 12:28:45 3750a50a1c5e: Pulling fs layer 12:28:45 8a11ddd9e578: Waiting 12:28:45 4cf88f913ddb: Waiting 12:28:45 1df406cf5192: Waiting 12:28:45 cd6300453558: Waiting 12:28:45 b9c365052c96: Waiting 12:28:45 a2d8cc88f415: Waiting 12:28:45 ea1d1ca13537: Waiting 12:28:45 3750a50a1c5e: Waiting 12:28:45 777b28850792: Verifying Checksum 12:28:45 777b28850792: Download complete 12:28:45 2a23fa8c16f7: Verifying Checksum 12:28:45 2a23fa8c16f7: Download complete 12:28:45 4cf88f913ddb: Download complete 12:28:45 1df406cf5192: Download complete 12:28:45 cde5963f3b93: Verifying Checksum 12:28:45 cde5963f3b93: Download complete 12:28:46 cde5963f3b93: Pull complete 12:28:47 2a23fa8c16f7: Pull complete 12:28:47 777b28850792: Pull complete 12:28:49 cd6300453558: Verifying Checksum 12:28:49 cd6300453558: Download complete 12:28:49 a2d8cc88f415: Verifying Checksum 12:28:49 a2d8cc88f415: Download complete 12:28:52 ea1d1ca13537: Verifying Checksum 12:28:52 ea1d1ca13537: Download complete 12:28:52 3750a50a1c5e: Verifying Checksum 12:28:52 3750a50a1c5e: Download complete 12:28:54 b9c365052c96: Verifying Checksum 12:28:54 b9c365052c96: Download complete 12:28:55 Running on prd-centos7-docker-4c-2g-4957 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 12:28:55 Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout 12:28:56 8a11ddd9e578: Verifying Checksum 12:28:56 8a11ddd9e578: Download complete 12:28:58 using credential edgex-jenkins-ssh 12:28:58 Cloning the remote Git repository 12:28:58 Cloning with configured refspecs honoured and without tags 12:28:59 Fetching without tags 12:28:59 Checking out Revision 2a2498c9bbadf04898195d37569b88cc82665a53 (master) 12:28:58 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 12:28:58 > git init /w/workspace/device-snmp-go/4 # timeout=10 12:28:58 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 12:28:58 > git --version # timeout=10 12:28:58 using GIT_SSH to set credentials SSH Credentials for GitHub 12:28:58 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 12:28:59 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 12:28:59 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 12:28:59 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 12:28:59 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 12:28:59 using GIT_SSH to set credentials SSH Credentials for GitHub 12:28:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 12:28:59 > git config core.sparsecheckout # timeout=10 12:28:59 > git checkout -f 2a2498c9bbadf04898195d37569b88cc82665a53 # timeout=10 12:29:03 Commit message: "Merge pull request #47 from hahattan/issue-46" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 12:29:03 ========================================================= 12:29:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 12:29:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:29:04 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 12:29:04 Sending build context to Docker daemon 322.6kB 12:29:04 Step 1/10 : ARG BASE=golang:1.13-alpine 12:29:04 Step 2/10 : FROM ${BASE} 12:29:04 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 12:29:04 e6b0cf9c0882: Pulling fs layer 12:29:04 2848faf0eed1: Pulling fs layer 12:29:04 0f37312ad70f: Pulling fs layer 12:29:04 5788d62ee057: Pulling fs layer 12:29:04 0e6b1d234666: Pulling fs layer 12:29:04 bf5d7aec512f: Pulling fs layer 12:29:04 34c802a77dc8: Pulling fs layer 12:29:04 9eb99e56ec68: Pulling fs layer 12:29:04 27c7a5d97fbd: Pulling fs layer 12:29:04 5c102a31e300: Pulling fs layer 12:29:04 dcfb455df0a1: Pulling fs layer 12:29:04 34c802a77dc8: Waiting 12:29:04 9eb99e56ec68: Waiting 12:29:04 27c7a5d97fbd: Waiting 12:29:04 5c102a31e300: Waiting 12:29:04 dcfb455df0a1: Waiting 12:29:04 5788d62ee057: Waiting 12:29:04 0e6b1d234666: Waiting 12:29:04 bf5d7aec512f: Waiting 12:29:04 0f37312ad70f: Verifying Checksum 12:29:04 0f37312ad70f: Download complete 12:29:04 2848faf0eed1: Verifying Checksum 12:29:04 2848faf0eed1: Download complete 12:29:04 0e6b1d234666: Verifying Checksum 12:29:04 0e6b1d234666: Download complete 12:29:04 bf5d7aec512f: Verifying Checksum 12:29:04 bf5d7aec512f: Download complete 12:29:04 e6b0cf9c0882: Verifying Checksum 12:29:04 e6b0cf9c0882: Download complete 12:29:05 e6b0cf9c0882: Pull complete 12:29:05 2848faf0eed1: Pull complete 12:29:05 34c802a77dc8: Verifying Checksum 12:29:05 34c802a77dc8: Download complete 12:29:05 27c7a5d97fbd: Verifying Checksum 12:29:05 27c7a5d97fbd: Download complete 12:29:06 5c102a31e300: Verifying Checksum 12:29:06 5c102a31e300: Download complete 12:29:06 dcfb455df0a1: Verifying Checksum 12:29:06 dcfb455df0a1: Download complete 12:29:06 5788d62ee057: Verifying Checksum 12:29:06 5788d62ee057: Download complete 12:29:06 9eb99e56ec68: Verifying Checksum 12:29:07 0f37312ad70f: Pull complete 12:29:08 8a11ddd9e578: Pull complete 12:29:08 4cf88f913ddb: Pull complete 12:29:08 1df406cf5192: Pull complete 12:29:13 5788d62ee057: Pull complete 12:29:13 0e6b1d234666: Pull complete 12:29:13 bf5d7aec512f: Pull complete 12:29:14 cd6300453558: Pull complete 12:29:18 34c802a77dc8: Pull complete 12:29:18 b9c365052c96: Pull complete 12:29:18 a2d8cc88f415: Pull complete 12:29:20 ea1d1ca13537: Pull complete 12:29:20 9eb99e56ec68: Pull complete 12:29:20 27c7a5d97fbd: Pull complete 12:29:20 3750a50a1c5e: Pull complete 12:29:21 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 12:29:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 12:29:21 ---> 78745c68409d 12:29:21 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 12:29:21 5c102a31e300: Pull complete 12:29:21 dcfb455df0a1: Pull complete 12:29:21 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 12:29:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 12:29:21 ---> 7c70fe431013 12:29:21 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 12:29:21 ---> Running in 7459327d880a 12:29:21 Removing intermediate container 7459327d880a 12:29:21 ---> 1e5b4ef837ff 12:29:21 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 12:29:22 ---> Running in f70249ec7fd9 12:29:22 Removing intermediate container f70249ec7fd9 12:29:22 ---> bf8ac4ffa348 12:29:22 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 12:29:22 ---> Running in ac2f953e92b4 12:29:22 Removing intermediate container ac2f953e92b4 12:29:22 ---> 3dd44cd608a7 12:29:22 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:29:22 ---> Running in 6ffaab0e9487 12:29:23 Removing intermediate container 6ffaab0e9487 12:29:23 ---> be0c729e7d59 12:29:23 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:29:23 ---> Running in eb1dc70da6c2 12:29:24 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 12:29:25 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 12:29:25 OK: 143 MiB in 39 packages 12:29:25 ---> Running in 837aa528009c 12:29:25 Removing intermediate container 837aa528009c 12:29:25 ---> e66f56ccdc34 12:29:25 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 12:29:25 ---> Running in 3e280480deeb 12:29:25 Removing intermediate container eb1dc70da6c2 12:29:25 ---> 88eb79ebab59 12:29:25 Step 8/10 : WORKDIR /device-snmp-go 12:29:25 ---> Running in 795d50643251 12:29:25 Removing intermediate container 795d50643251 12:29:25 ---> 4054f7dec360 12:29:25 Step 9/10 : COPY . . 12:29:25 Removing intermediate container 3e280480deeb 12:29:25 ---> 763f30f230b0 12:29:25 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 12:29:25 ---> Running in 17998fc9d469 12:29:26 Removing intermediate container 17998fc9d469 12:29:26 ---> 58c23db961f7 12:29:26 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:29:26 ---> 19e9bc3be1be 12:29:26 Step 10/10 : RUN go mod download 12:29:26 ---> Running in ce361abdb553 12:29:26 ---> Running in dfb07c5ff9f2 12:29:28 Removing intermediate container dfb07c5ff9f2 12:29:28 ---> 13e3c359155e 12:29:28 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:29:28 ---> Running in fec738f187b0 12:29:29 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 12:29:29 go: finding github.com/BurntSushi/toml v0.3.1 12:29:29 go: finding github.com/OneOfOne/xxhash v1.2.6 12:29:29 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 12:29:29 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 12:29:29 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 12:29:29 go: finding github.com/bgentry/speakeasy v0.1.0 12:29:29 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 12:29:29 go: finding github.com/davecgh/go-spew v1.1.1 12:29:29 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 12:29:29 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 12:29:29 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 12:29:29 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 12:29:29 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 12:29:29 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 12:29:29 go: finding github.com/fatih/color v1.7.0 12:29:29 go: finding github.com/fxamacker/cbor/v2 v2.2.0 12:29:29 go: finding github.com/go-kit/kit v0.8.0 12:29:29 go: finding github.com/go-logfmt/logfmt v0.4.0 12:29:29 go: finding github.com/go-stack/stack v1.8.0 12:29:29 go: finding github.com/golang/mock v1.2.0 12:29:29 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 12:29:29 go: finding github.com/google/uuid v1.1.0 12:29:30 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 12:29:30 go: finding github.com/gorilla/mux v1.7.1 12:29:30 go: finding github.com/hashicorp/consul/api v1.1.0 12:29:30 go: finding github.com/hashicorp/consul/sdk v0.1.1 12:29:30 go: finding github.com/hashicorp/errwrap v1.0.0 12:29:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 12:29:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 12:29:30 go: finding github.com/hashicorp/go-msgpack v0.5.3 12:29:30 go: finding github.com/hashicorp/go-multierror v1.0.0 12:29:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 12:29:30 go: finding github.com/hashicorp/go-sockaddr v1.0.0 12:29:30 go: finding github.com/hashicorp/go-syslog v1.0.0 12:29:30 go: finding github.com/hashicorp/go-uuid v1.0.1 12:29:30 go: finding github.com/hashicorp/go.net v0.0.1 12:29:30 go: finding github.com/hashicorp/golang-lru v0.5.0 12:29:30 OK: 125 MiB in 39 packages 12:29:30 go: finding github.com/hashicorp/logutils v1.0.0 12:29:30 go: finding github.com/hashicorp/mdns v1.0.0 12:29:30 go: finding github.com/hashicorp/memberlist v0.1.3 12:29:30 go: finding github.com/hashicorp/serf v0.8.2 12:29:30 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 12:29:30 go: finding github.com/mattn/go-colorable v0.0.9 12:29:30 go: finding github.com/mattn/go-isatty v0.0.3 12:29:30 go: finding github.com/miekg/dns v1.0.14 12:29:30 go: finding github.com/mitchellh/cli v1.0.0 12:29:30 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 12:29:30 go: finding github.com/mitchellh/copystructure v1.0.0 12:29:30 go: finding github.com/mitchellh/go-homedir v1.0.0 12:29:30 go: finding github.com/mitchellh/go-testing-interface v1.0.0 12:29:30 go: finding github.com/mitchellh/gox v0.4.0 12:29:31 go: finding github.com/mitchellh/iochan v1.0.0 12:29:31 go: finding github.com/mitchellh/mapstructure v1.1.2 12:29:31 go: finding github.com/mitchellh/reflectwalk v1.0.0 12:29:31 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 12:29:31 go: finding github.com/pelletier/go-toml v1.2.0 12:29:31 go: finding github.com/pkg/errors v0.8.1 12:29:31 go: finding github.com/pmezard/go-difflib v1.0.0 12:29:31 go: finding github.com/posener/complete v1.1.1 12:29:31 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 12:29:31 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 12:29:31 go: finding github.com/soniah/gosnmp v1.21.0 12:29:31 go: finding github.com/stretchr/objx v0.1.0 12:29:31 go: finding github.com/stretchr/testify v1.5.1 12:29:31 go: finding github.com/ugorji/go v1.1.4 12:29:31 go: finding github.com/x448/float16 v0.8.4 12:29:31 Removing intermediate container fec738f187b0 12:29:31 ---> eecba9bff9c1 12:29:31 Step 8/10 : WORKDIR /device-snmp-go 12:29:31 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 12:29:31 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 12:29:31 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 12:29:31 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 12:29:31 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 12:29:31 go: finding gopkg.in/yaml.v2 v2.2.8 12:29:31 ---> Running in 17dbf812ee07 12:29:32 Removing intermediate container 17dbf812ee07 12:29:32 ---> 2ca4bbb713b4 12:29:32 Step 9/10 : COPY . . 12:29:33 ---> 7473e11befba 12:29:33 Step 10/10 : RUN go mod download 12:29:33 ---> Running in 3d1bc7abe0bb 12:29:35 go: finding github.com/BurntSushi/toml v0.3.1 12:29:35 go: finding github.com/OneOfOne/xxhash v1.2.6 12:29:35 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 12:29:35 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 12:29:35 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 12:29:35 go: finding github.com/bgentry/speakeasy v0.1.0 12:29:35 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 12:29:35 go: finding github.com/davecgh/go-spew v1.1.1 12:29:35 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 12:29:35 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 12:29:35 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 12:29:35 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 12:29:35 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 12:29:35 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 12:29:35 go: finding github.com/fatih/color v1.7.0 12:29:35 go: finding github.com/fxamacker/cbor/v2 v2.2.0 12:29:35 go: finding github.com/go-kit/kit v0.8.0 12:29:35 go: finding github.com/go-logfmt/logfmt v0.4.0 12:29:35 go: finding github.com/go-stack/stack v1.8.0 12:29:35 go: finding github.com/golang/mock v1.2.0 12:29:35 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 12:29:35 go: finding github.com/google/uuid v1.1.0 12:29:35 go: finding github.com/gorilla/mux v1.7.1 12:29:35 go: finding github.com/hashicorp/consul/api v1.1.0 12:29:35 go: finding github.com/hashicorp/consul/sdk v0.1.1 12:29:35 go: finding github.com/hashicorp/errwrap v1.0.0 12:29:35 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 12:29:35 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 12:29:35 go: finding github.com/hashicorp/go-msgpack v0.5.3 12:29:35 go: finding github.com/hashicorp/go-multierror v1.0.0 12:29:35 go: finding github.com/hashicorp/go-rootcerts v1.0.0 12:29:35 go: finding github.com/hashicorp/go-sockaddr v1.0.0 12:29:35 go: finding github.com/hashicorp/go-syslog v1.0.0 12:29:35 go: finding github.com/hashicorp/go-uuid v1.0.1 12:29:35 go: finding github.com/hashicorp/go.net v0.0.1 12:29:35 go: finding github.com/hashicorp/golang-lru v0.5.0 12:29:35 go: finding github.com/hashicorp/logutils v1.0.0 12:29:35 go: finding github.com/hashicorp/mdns v1.0.0 12:29:35 go: finding github.com/hashicorp/memberlist v0.1.3 12:29:35 go: finding github.com/hashicorp/serf v0.8.2 12:29:35 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 12:29:35 go: finding github.com/mattn/go-colorable v0.0.9 12:29:35 go: finding github.com/mattn/go-isatty v0.0.3 12:29:35 go: finding github.com/miekg/dns v1.0.14 12:29:35 go: finding github.com/mitchellh/cli v1.0.0 12:29:35 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 12:29:35 go: finding github.com/mitchellh/copystructure v1.0.0 12:29:35 go: finding github.com/mitchellh/go-homedir v1.0.0 12:29:35 go: finding github.com/mitchellh/go-testing-interface v1.0.0 12:29:35 go: finding github.com/mitchellh/gox v0.4.0 12:29:35 go: finding github.com/mitchellh/iochan v1.0.0 12:29:35 go: finding github.com/mitchellh/mapstructure v1.1.2 12:29:35 go: finding github.com/mitchellh/reflectwalk v1.0.0 12:29:35 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 12:29:35 go: finding github.com/pelletier/go-toml v1.2.0 12:29:35 go: finding github.com/pkg/errors v0.8.1 12:29:35 go: finding github.com/pmezard/go-difflib v1.0.0 12:29:35 go: finding github.com/posener/complete v1.1.1 12:29:35 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 12:29:35 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 12:29:35 go: finding github.com/soniah/gosnmp v1.21.0 12:29:35 go: finding github.com/stretchr/objx v0.1.0 12:29:35 go: finding github.com/stretchr/testify v1.5.1 12:29:35 go: finding github.com/ugorji/go v1.1.4 12:29:35 go: finding github.com/x448/float16 v0.8.4 12:29:35 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 12:29:35 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 12:29:35 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 12:29:35 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 12:29:35 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 12:29:35 go: finding gopkg.in/yaml.v2 v2.2.8 12:29:37 Removing intermediate container ce361abdb553 12:29:37 ---> 948f9b435045 12:29:37 Successfully built 948f9b435045 12:29:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:29:37 + docker inspect -f . ci-base-image-x86_64 12:29:37 . [Pipeline] withDockerContainer 12:29:37 prd-centos7-docker-4c-2g-4957 does not seem to be running inside a container 12:29:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** ci-base-image-x86_64 cat 12:29:38 $ docker top 484c28696f05c07796da121ae445d50c64c13e25434ac88a3f42c52c7ae49303 -eo pid,comm [Pipeline] { [Pipeline] sh 12:29:38 + go version 12:29:38 go version go1.13.5 linux/amd64 [Pipeline] sh 12:29:39 + make test 12:29:39 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:29:39 ? github.com/edgexfoundry/device-snmp-go [no test files] 12:29:45 Removing intermediate container 3d1bc7abe0bb 12:29:45 ---> 380f39ffeb1a 12:29:45 Successfully built 380f39ffeb1a 12:29:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:29:46 + docker inspect -f . ci-base-image-arm64 12:29:46 . [Pipeline] withDockerContainer 12:29:46 prd-ubuntu18.04-docker-arm64-4c-16g-4956 does not seem to be running inside a container 12:29:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** ci-base-image-arm64 cat 12:29:48 $ docker top e1212b2168c4165f113838bced80396621efecd04e8a5e11ff67231ffce4380a -eo pid,comm [Pipeline] { [Pipeline] sh 12:29:49 + go version 12:29:49 go version go1.13.5 linux/arm64 [Pipeline] sh 12:29:49 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 12:29:49 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 12:29:50 CGO_ENABLED=0 GO111MODULE=on go vet ./... 12:29:50 + make test 12:29:50 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:29:51 ? github.com/edgexfoundry/device-snmp-go [no test files] 12:29:51 gofmt -l . 12:29:51 [ "`gofmt -l .`" = "" ] 12:29:51 ./bin/test-attribution-txt.sh 12:29:52 ./bin/test-go-mod-tidy.sh [Pipeline] stash 12:29:52 Stashed 1 file(s) [Pipeline] } 12:29:52 $ docker stop --time=1 484c28696f05c07796da121ae445d50c64c13e25434ac88a3f42c52c7ae49303 12:29:54 $ docker rm -f 484c28696f05c07796da121ae445d50c64c13e25434ac88a3f42c52c7ae49303 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:29:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:29:55 + ls -al . 12:29:55 total 84 12:29:55 drwxrwxr-x. 8 jenkins jenkins 4096 Apr 20 12:29 . 12:29:55 drwxrwxr-x. 4 jenkins jenkins 28 Apr 20 12:28 .. 12:29:55 drwxrwxr-x. 2 jenkins jenkins 87 Apr 20 12:28 bin 12:29:55 drwxrwxr-x. 3 jenkins jenkins 55 Apr 20 12:28 cmd 12:29:55 -rw-r--r--. 1 jenkins jenkins 8492 Apr 20 12:29 coverage.out 12:29:55 -rw-rw-r--. 1 jenkins jenkins 832 Apr 20 12:28 Dockerfile 12:29:55 -rw-rw-r--. 1 jenkins jenkins 409 Apr 20 12:28 Dockerfile.build 12:29:55 -rw-rw-r--. 1 jenkins jenkins 6 Apr 20 12:28 .dockerignore 12:29:55 drwxrwxr-x. 8 jenkins jenkins 162 Apr 20 12:29 .git 12:29:55 -rw-rw-r--. 1 jenkins jenkins 272 Apr 20 12:28 .gitignore 12:29:55 -rw-r--r--. 1 jenkins jenkins 210 Apr 20 12:29 go.mod 12:29:55 -rw-r--r--. 1 jenkins jenkins 12615 Apr 20 12:29 go.sum 12:29:55 drwxrwxr-x. 3 jenkins jenkins 20 Apr 20 12:28 internal 12:29:55 -rw-rw-r--. 1 jenkins jenkins 678 Apr 20 12:28 Jenkinsfile 12:29:55 -rw-rw-r--. 1 jenkins jenkins 937 Apr 20 12:28 Makefile 12:29:55 drwxrwxr-x. 2 jenkins jenkins 84 Apr 20 12:28 profiles 12:29:55 -rw-rw-r--. 1 jenkins jenkins 12398 Apr 20 12:28 README.md 12:29:55 drwxrwxr-x. 3 jenkins jenkins 61 Apr 20 12:29 .semver 12:29:55 -rw-rw-r--. 1 jenkins jenkins 11 Apr 20 12:26 VERSION 12:29:55 -rw-rw-r--. 1 jenkins jenkins 209 Apr 20 12:28 version.go [Pipeline] isUnix [Pipeline] sh 12:29:56 + docker build -t docker-device-snmp-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=2a2498c9bbadf04898195d37569b88cc82665a53 --label arch=amd64 --label version=1.2.0-dev.3 . 12:29:56 Sending build context to Docker daemon 331.8kB 12:29:56 Step 1/23 : ARG BASE=golang:1.13-alpine 12:29:56 Step 2/23 : FROM ${BASE} AS builder 12:29:56 ---> 948f9b435045 12:29:56 Step 3/23 : ARG MAKE='make build' 12:29:56 ---> Running in 2120f8aa052f 12:29:56 Removing intermediate container 2120f8aa052f 12:29:56 ---> 9bdddc7c6e49 12:29:56 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 12:29:56 ---> Running in a438af256240 12:29:56 Removing intermediate container a438af256240 12:29:56 ---> 581ae7724a3e 12:29:56 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 12:29:56 ---> Running in 1680af37bccc 12:29:57 Removing intermediate container 1680af37bccc 12:29:57 ---> 412edc6946df 12:29:57 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:29:57 ---> Running in 99470c9c4ffc 12:29:57 Removing intermediate container 99470c9c4ffc 12:29:57 ---> 2456c68cd1de 12:29:57 Step 7/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:29:57 ---> Running in 8680654fe62f 12:29:58 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 12:29:58 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 12:29:59 OK: 143 MiB in 39 packages 12:29:59 Removing intermediate container 8680654fe62f 12:29:59 ---> 55daac1e0561 12:29:59 Step 8/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 12:29:59 ---> Running in 44118c7a4860 12:29:59 Removing intermediate container 44118c7a4860 12:29:59 ---> 6a4af1609819 12:29:59 Step 9/23 : COPY go.mod . 12:29:59 ---> bef3ef7249da 12:29:59 Step 10/23 : COPY Makefile . 12:30:00 ---> 274d7288f535 12:30:00 Step 11/23 : RUN make update 12:30:00 ---> Running in 1c95dea08bbe 12:30:00 CGO_ENABLED=0 GO111MODULE=on go mod download 12:30:00 Removing intermediate container 1c95dea08bbe 12:30:00 ---> a6f63d9fbaaf 12:30:00 Step 12/23 : COPY . . 12:30:01 ---> a387601e5fc2 12:30:01 Step 13/23 : RUN ${MAKE} 12:30:01 ---> Running in e4d3ee74f5f0 12:30:01 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.0-dev.3" -o cmd/device-snmp-go ./cmd 12:30:11 CGO_ENABLED=0 GO111MODULE=on go build ./... 12:30:12 Removing intermediate container e4d3ee74f5f0 12:30:12 ---> f98180f10e41 12:30:12 Step 14/23 : FROM alpine 12:30:13 latest: Pulling from library/alpine 12:30:13 aad63a933944: Pulling fs layer 12:30:13 aad63a933944: Verifying Checksum 12:30:13 aad63a933944: Download complete 12:30:13 aad63a933944: Pull complete 12:30:13 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 12:30:13 Status: Downloaded newer image for alpine:latest 12:30:13 ---> a187dde48cd2 12:30:13 Step 15/23 : ENV APP_PORT=49993 12:30:13 ---> Running in 97de361490a0 12:30:13 Removing intermediate container 97de361490a0 12:30:13 ---> b46b2a9b48f5 12:30:13 Step 16/23 : EXPOSE $APP_PORT 12:30:13 ---> Running in b0b5d08ae626 12:30:13 Removing intermediate container b0b5d08ae626 12:30:13 ---> 08b7381d8e3a 12:30:13 Step 17/23 : ENV DEVICE_PORT=161 12:30:13 ---> Running in b547e99f455d 12:30:14 Removing intermediate container b547e99f455d 12:30:14 ---> 8dc177676cdb 12:30:14 Step 18/23 : EXPOSE $DEVICE_PORT 12:30:14 ---> Running in 24c6d9e4113d 12:30:14 Removing intermediate container 24c6d9e4113d 12:30:14 ---> 14b4bf97a4e1 12:30:14 Step 19/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 12:30:14 ---> f3a49997c688 12:30:14 Step 20/23 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 12:30:14 ---> Running in ecb7de795297 12:30:14 Removing intermediate container ecb7de795297 12:30:14 ---> 82e67422ffd7 12:30:14 Step 21/23 : LABEL arch=amd64 12:30:14 ---> Running in 1ff9abf21940 12:30:15 Removing intermediate container 1ff9abf21940 12:30:15 ---> e5f627e112b2 12:30:15 Step 22/23 : LABEL git_sha=2a2498c9bbadf04898195d37569b88cc82665a53 12:30:15 ---> Running in f8828fe8d99d 12:30:15 Removing intermediate container f8828fe8d99d 12:30:15 ---> 37fbdbb5a3d9 12:30:15 Step 23/23 : LABEL version=1.2.0-dev.3 12:30:15 ---> Running in 751b569feb22 12:30:15 Removing intermediate container 751b569feb22 12:30:15 ---> 1aedb9787fc1 12:30:15 [Warning] One or more build-args [ARCH] were not consumed 12:30:15 Successfully built 1aedb9787fc1 12:30:15 Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:30:15 provisioning config files... 12:30:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config1816609306546299683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:30:16 nexus3.edgexfoundry.org:10001 12:30:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:30:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:30:16 Configure a credential helper to remove this warning. See 12:30:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:30:16 12:30:16 Login Succeeded 12:30:16 nexus3.edgexfoundry.org:10002 12:30:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:30:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:30:16 Configure a credential helper to remove this warning. See 12:30:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:30:16 12:30:16 Login Succeeded 12:30:16 nexus3.edgexfoundry.org:10003 12:30:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:30:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:30:16 Configure a credential helper to remove this warning. See 12:30:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:30:16 12:30:16 Login Succeeded 12:30:16 nexus3.edgexfoundry.org:10004 12:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:30:17 Configure a credential helper to remove this warning. See 12:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:30:17 12:30:17 Login Succeeded 12:30:17 docker.io 12:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:30:17 Configure a credential helper to remove this warning. See 12:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:30:17 12:30:17 Login Succeeded [Pipeline] } 12:30:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:30:17 [edgeXDocker.push] Tagging docker image docker-device-snmp-go with the following tags: 12:30:17 2a2498c9bbadf04898195d37569b88cc82665a53 12:30:17 latest 12:30:17 1.2.0-dev.3 12:30:17 2a2498c9bbadf04898195d37569b88cc82665a53-1.2.0-dev.3 12:30:17 master 12:30:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:30:18 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:2a2498c9bbadf04898195d37569b88cc82665a53 [Pipeline] isUnix [Pipeline] sh 12:30:18 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:2a2498c9bbadf04898195d37569b88cc82665a53 12:30:18 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 12:30:18 261c68b1e384: Preparing 12:30:18 beee9f30bc1f: Preparing 12:30:18 beee9f30bc1f: Layer already exists 12:30:18 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 12:30:18 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements 12:30:18 CGO_ENABLED=0 GO111MODULE=on go vet ./... 12:30:19 261c68b1e384: Pushed 12:30:19 2a2498c9bbadf04898195d37569b88cc82665a53: digest: sha256:25a9186f8c0f8aa4813535efec30da691763187a2573e4ed1b7baa5da7a8d145 size: 739 [Pipeline] isUnix [Pipeline] sh 12:30:20 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [Pipeline] isUnix [Pipeline] sh 12:30:20 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest 12:30:20 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 12:30:20 261c68b1e384: Preparing 12:30:20 beee9f30bc1f: Preparing 12:30:20 261c68b1e384: Layer already exists 12:30:20 beee9f30bc1f: Layer already exists 12:30:20 latest: digest: sha256:25a9186f8c0f8aa4813535efec30da691763187a2573e4ed1b7baa5da7a8d145 size: 739 [Pipeline] isUnix [Pipeline] sh 12:30:20 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 12:30:21 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.0-dev.3 12:30:21 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 12:30:21 261c68b1e384: Preparing 12:30:21 beee9f30bc1f: Preparing 12:30:21 261c68b1e384: Layer already exists 12:30:21 beee9f30bc1f: Layer already exists 12:30:21 1.2.0-dev.3: digest: sha256:25a9186f8c0f8aa4813535efec30da691763187a2573e4ed1b7baa5da7a8d145 size: 739 [Pipeline] isUnix [Pipeline] sh 12:30:21 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:2a2498c9bbadf04898195d37569b88cc82665a53-1.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 12:30:21 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:2a2498c9bbadf04898195d37569b88cc82665a53-1.2.0-dev.3 12:30:21 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 12:30:21 261c68b1e384: Preparing 12:30:21 beee9f30bc1f: Preparing 12:30:21 261c68b1e384: Layer already exists 12:30:21 beee9f30bc1f: Layer already exists 12:30:21 2a2498c9bbadf04898195d37569b88cc82665a53-1.2.0-dev.3: digest: sha256:25a9186f8c0f8aa4813535efec30da691763187a2573e4ed1b7baa5da7a8d145 size: 739 [Pipeline] isUnix [Pipeline] sh 12:30:21 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] isUnix [Pipeline] sh 12:30:22 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master 12:30:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 12:30:22 261c68b1e384: Preparing 12:30:22 beee9f30bc1f: Preparing 12:30:22 261c68b1e384: Layer already exists 12:30:22 beee9f30bc1f: Layer already exists 12:30:22 master: digest: sha256:25a9186f8c0f8aa4813535efec30da691763187a2573e4ed1b7baa5da7a8d145 size: 739 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:30:23 gofmt -l . 12:30:23 [ "`gofmt -l .`" = "" ] 12:30:23 ./bin/test-attribution-txt.sh 12:30:24 ./bin/test-go-mod-tidy.sh [Pipeline] stash 12:30:24 Warning: overwriting stash ‘coverage-report’ 12:30:25 Stashed 1 file(s) [Pipeline] } 12:30:25 $ docker stop --time=1 e1212b2168c4165f113838bced80396621efecd04e8a5e11ff67231ffce4380a 12:30:27 $ docker rm -f e1212b2168c4165f113838bced80396621efecd04e8a5e11ff67231ffce4380a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:30:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:30:29 + ls -al . 12:30:29 total 112 12:30:29 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 12:30 . 12:30:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 12:28 .. 12:30:29 -rw-rw-r-- 1 jenkins jenkins 6 Apr 20 12:28 .dockerignore 12:30:29 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 12:28 .git 12:30:29 -rw-rw-r-- 1 jenkins jenkins 272 Apr 20 12:28 .gitignore 12:30:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 12:28 .semver 12:30:29 -rw-rw-r-- 1 jenkins jenkins 832 Apr 20 12:28 Dockerfile 12:30:29 -rw-rw-r-- 1 jenkins jenkins 409 Apr 20 12:28 Dockerfile.build 12:30:29 -rw-rw-r-- 1 jenkins jenkins 678 Apr 20 12:28 Jenkinsfile 12:30:29 -rw-rw-r-- 1 jenkins jenkins 937 Apr 20 12:28 Makefile 12:30:29 -rw-rw-r-- 1 jenkins jenkins 12398 Apr 20 12:28 README.md 12:30:29 -rw-rw-r-- 1 jenkins jenkins 11 Apr 20 12:26 VERSION 12:30:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 12:28 bin 12:30:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 12:28 cmd 12:30:29 -rw-r--r-- 1 jenkins jenkins 8492 Apr 20 12:30 coverage.out 12:30:29 -rw-r--r-- 1 jenkins jenkins 210 Apr 20 12:30 go.mod 12:30:29 -rw-r--r-- 1 jenkins jenkins 12615 Apr 20 12:30 go.sum 12:30:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 12:28 internal 12:30:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 12:28 profiles 12:30:29 -rw-rw-r-- 1 jenkins jenkins 209 Apr 20 12:28 version.go [Pipeline] isUnix [Pipeline] sh 12:30:29 + docker build -t docker-device-snmp-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2a2498c9bbadf04898195d37569b88cc82665a53 --label arch=arm64 --label version=1.2.0-dev.3 . 12:30:29 Sending build context to Docker daemon 331.8kB 12:30:29 Step 1/23 : ARG BASE=golang:1.13-alpine 12:30:29 Step 2/23 : FROM ${BASE} AS builder 12:30:29 ---> 380f39ffeb1a 12:30:29 Step 3/23 : ARG MAKE='make build' 12:30:29 ---> Running in 8d394a5d969f 12:30:30 Removing intermediate container 8d394a5d969f 12:30:30 ---> 3ea0a0b42f13 12:30:30 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 12:30:30 ---> Running in 3b75aed0a299 12:30:30 Removing intermediate container 3b75aed0a299 12:30:30 ---> 17d1c7f74093 12:30:30 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 12:30:30 ---> Running in 0d89c9b83d86 12:30:31 Removing intermediate container 0d89c9b83d86 12:30:31 ---> 84e35049593c 12:30:31 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:30:31 ---> Running in 2e68120e83a7 12:30:33 Removing intermediate container 2e68120e83a7 12:30:33 ---> 6ea852289d30 12:30:33 Step 7/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:30:33 ---> Running in afa4cf23721f 12:30:34 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 12:30:34 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 12:30:35 OK: 125 MiB in 39 packages 12:30:36 Removing intermediate container afa4cf23721f 12:30:36 ---> fd4581deece0 12:30:36 Step 8/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 12:30:36 ---> Running in e266759fdb16 12:30:36 Removing intermediate container e266759fdb16 12:30:36 ---> d71edce75994 12:30:36 Step 9/23 : COPY go.mod . 12:30:37 ---> 4193844ac186 12:30:37 Step 10/23 : COPY Makefile . 12:30:37 ---> a172e16c1c63 12:30:37 Step 11/23 : RUN make update 12:30:37 ---> Running in 427547eea260 12:30:38 CGO_ENABLED=0 GO111MODULE=on go mod download 12:30:39 Removing intermediate container 427547eea260 12:30:39 ---> f579558ece1e 12:30:39 Step 12/23 : COPY . . 12:30:40 ---> a1e39a0d34e6 12:30:40 Step 13/23 : RUN ${MAKE} 12:30:40 ---> Running in 2a244e5d6851 12:30:41 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.0-dev.3" -o cmd/device-snmp-go ./cmd 12:31:08 CGO_ENABLED=0 GO111MODULE=on go build ./... 12:31:12 Removing intermediate container 2a244e5d6851 12:31:12 ---> 0ffa73d2450b 12:31:12 Step 14/23 : FROM alpine 12:31:12 latest: Pulling from library/alpine 12:31:12 8a0637ca1ac9: Pulling fs layer 12:31:13 8a0637ca1ac9: Verifying Checksum 12:31:13 8a0637ca1ac9: Download complete 12:31:13 8a0637ca1ac9: Pull complete 12:31:13 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 12:31:13 Status: Downloaded newer image for alpine:latest 12:31:13 ---> 2ee122dcc32d 12:31:13 Step 15/23 : ENV APP_PORT=49993 12:31:13 ---> Running in 030bbab90bd0 12:31:14 Removing intermediate container 030bbab90bd0 12:31:14 ---> 3ae37bb27221 12:31:14 Step 16/23 : EXPOSE $APP_PORT 12:31:14 ---> Running in 7436756d8fbf 12:31:14 Removing intermediate container 7436756d8fbf 12:31:14 ---> 9c604bf7eb51 12:31:14 Step 17/23 : ENV DEVICE_PORT=161 12:31:14 ---> Running in 5bda3a831376 12:31:15 Removing intermediate container 5bda3a831376 12:31:15 ---> b59f557e261f 12:31:15 Step 18/23 : EXPOSE $DEVICE_PORT 12:31:15 ---> Running in 5c03031c0770 12:31:15 Removing intermediate container 5c03031c0770 12:31:15 ---> 98fa9c7da91c 12:31:15 Step 19/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 12:31:17 ---> c4e54b5859e0 12:31:17 Step 20/23 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 12:31:17 ---> Running in 7818d686a44c 12:31:17 Removing intermediate container 7818d686a44c 12:31:17 ---> 8ccff59c705c 12:31:17 Step 21/23 : LABEL arch=arm64 12:31:17 ---> Running in 559bf76fa4ce 12:31:18 Removing intermediate container 559bf76fa4ce 12:31:18 ---> 4624097f5a2a 12:31:18 Step 22/23 : LABEL git_sha=2a2498c9bbadf04898195d37569b88cc82665a53 12:31:18 ---> Running in f9071077bada 12:31:18 Removing intermediate container f9071077bada 12:31:18 ---> 2d1f951ae59a 12:31:18 Step 23/23 : LABEL version=1.2.0-dev.3 12:31:18 ---> Running in e48e6dc9d390 12:31:18 Removing intermediate container e48e6dc9d390 12:31:18 ---> f3fcbb1f85dc 12:31:18 [Warning] One or more build-args [ARCH] were not consumed 12:31:18 Successfully built f3fcbb1f85dc 12:31:19 Successfully tagged docker-device-snmp-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:31:19 provisioning config files... 12:31:19 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config7843205777524228264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:31:19 nexus3.edgexfoundry.org:10001 12:31:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:31:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:31:20 Configure a credential helper to remove this warning. See 12:31:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:31:20 12:31:20 Login Succeeded 12:31:20 nexus3.edgexfoundry.org:10002 12:31:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:31:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:31:21 Configure a credential helper to remove this warning. See 12:31:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:31:21 12:31:21 Login Succeeded 12:31:21 nexus3.edgexfoundry.org:10003 12:31:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:31:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:31:21 Configure a credential helper to remove this warning. See 12:31:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:31:21 12:31:21 Login Succeeded 12:31:21 nexus3.edgexfoundry.org:10004 12:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:31:22 Configure a credential helper to remove this warning. See 12:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:31:22 12:31:22 Login Succeeded 12:31:22 docker.io 12:31:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:31:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:31:23 Configure a credential helper to remove this warning. See 12:31:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:31:23 12:31:23 Login Succeeded [Pipeline] } 12:31:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:31:23 [edgeXDocker.push] Tagging docker image docker-device-snmp-go-arm64 with the following tags: 12:31:23 2a2498c9bbadf04898195d37569b88cc82665a53 12:31:23 latest 12:31:23 1.2.0-dev.3 12:31:23 2a2498c9bbadf04898195d37569b88cc82665a53-1.2.0-dev.3 12:31:23 master 12:31:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:31:24 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:2a2498c9bbadf04898195d37569b88cc82665a53 [Pipeline] isUnix [Pipeline] sh 12:31:24 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:2a2498c9bbadf04898195d37569b88cc82665a53 12:31:24 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 12:31:24 4810cbba042d: Preparing 12:31:24 294ac687b5fc: Preparing 12:31:24 294ac687b5fc: Layer already exists 12:31:28 4810cbba042d: Pushed 12:31:28 2a2498c9bbadf04898195d37569b88cc82665a53: digest: sha256:37f308e3fa2c6ccfec40e333be4f09223069ec5b014bd29b089e46fc003b1da1 size: 739 [Pipeline] isUnix [Pipeline] sh 12:31:28 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:31:29 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest 12:31:29 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 12:31:29 4810cbba042d: Preparing 12:31:29 294ac687b5fc: Preparing 12:31:29 294ac687b5fc: Layer already exists 12:31:29 4810cbba042d: Layer already exists 12:31:29 latest: digest: sha256:37f308e3fa2c6ccfec40e333be4f09223069ec5b014bd29b089e46fc003b1da1 size: 739 [Pipeline] isUnix [Pipeline] sh 12:31:29 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 12:31:30 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.0-dev.3 12:31:30 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 12:31:30 4810cbba042d: Preparing 12:31:30 294ac687b5fc: Preparing 12:31:30 4810cbba042d: Layer already exists 12:31:30 294ac687b5fc: Layer already exists 12:31:30 1.2.0-dev.3: digest: sha256:37f308e3fa2c6ccfec40e333be4f09223069ec5b014bd29b089e46fc003b1da1 size: 739 [Pipeline] isUnix [Pipeline] sh 12:31:30 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:2a2498c9bbadf04898195d37569b88cc82665a53-1.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 12:31:31 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:2a2498c9bbadf04898195d37569b88cc82665a53-1.2.0-dev.3 12:31:31 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 12:31:31 4810cbba042d: Preparing 12:31:31 294ac687b5fc: Preparing 12:31:31 4810cbba042d: Layer already exists 12:31:31 294ac687b5fc: Layer already exists 12:31:31 2a2498c9bbadf04898195d37569b88cc82665a53-1.2.0-dev.3: digest: sha256:37f308e3fa2c6ccfec40e333be4f09223069ec5b014bd29b089e46fc003b1da1 size: 739 [Pipeline] isUnix [Pipeline] sh 12:31:32 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] isUnix [Pipeline] sh 12:31:32 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master 12:31:33 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 12:31:33 4810cbba042d: Preparing 12:31:33 294ac687b5fc: Preparing 12:31:33 4810cbba042d: Layer already exists 12:31:33 294ac687b5fc: Layer already exists 12:31:33 master: digest: sha256:37f308e3fa2c6ccfec40e333be4f09223069ec5b014bd29b089e46fc003b1da1 size: 739 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 12:31:34 provisioning config files... 12:31:34 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config5948735846202972313tmp [Pipeline] { [Pipeline] sh 12:31:34 + curl -s https://codecov.io/bash 12:31:34 + bash -s - -t @/w/workspace/gexfoundry_device-snmp-go_master@tmp/config5948735846202972313tmp 12:31:34 12:31:34 _____ _ 12:31:34 / ____| | | 12:31:34 | | ___ __| | ___ ___ _____ __ 12:31:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:31:34 | |___| (_) | (_| | __/ (_| (_) \ V / 12:31:34 \_____\___/ \__,_|\___|\___\___/ \_/ 12:31:34 Bash-tbd 12:31:34 12:31:34 12:31:34 ==> Jenkins CI detected. 12:31:34 project root: . 12:31:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:31:34 ==> Running gcov in . (disable via -X gcov) 12:31:34 ==> Python coveragepy not found 12:31:34 ==> Searching for coverage reports in: 12:31:34 + . 12:31:34 -> Found 1 reports 12:31:34 ==> Detecting git/mercurial file structure 12:31:34 ==> Reading reports 12:31:34 + ./coverage.out bytes=8492 12:31:34 ==> Appending adjustments 12:31:34 http://docs.codecov.io/docs/fixing-reports 12:31:34 + Found adjustments 12:31:34 ==> Gzipping contents 12:31:34 ==> Uploading reports 12:31:34 url: https://codecov.io 12:31:34 query: branch=master&commit=2a2498c9bbadf04898195d37569b88cc82665a53&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job= 12:31:34 -> Pinging Codecov 12:31:34 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=2a2498c9bbadf04898195d37569b88cc82665a53&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job= 12:31:35 -> Uploading 12:31:35 -> View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/2a2498c9bbadf04898195d37569b88cc82665a53 [Pipeline] } 12:31:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 12:31:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 12:31:35 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 12:31:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:31:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 12:31:36 12:31:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 12:31:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 12:31:36 1.217.3: Pulling from edgex-devops/edgex-snyk-go 12:31:36 e6b0cf9c0882: Pulling fs layer 12:31:36 2848faf0eed1: Pulling fs layer 12:31:36 0f37312ad70f: Pulling fs layer 12:31:36 7d08f2745646: Pulling fs layer 12:31:36 4c9f31393084: Pulling fs layer 12:31:36 eb21ddb83652: Pulling fs layer 12:31:36 345998794f6b: Pulling fs layer 12:31:36 97a711d68925: Pulling fs layer 12:31:36 7c8476c1cb00: Pulling fs layer 12:31:36 eb21ddb83652: Waiting 12:31:36 345998794f6b: Waiting 12:31:36 97a711d68925: Waiting 12:31:36 7c8476c1cb00: Waiting 12:31:36 7d08f2745646: Waiting 12:31:36 4c9f31393084: Waiting 12:31:36 0f37312ad70f: Verifying Checksum 12:31:36 0f37312ad70f: Download complete 12:31:36 2848faf0eed1: Download complete 12:31:36 4c9f31393084: Verifying Checksum 12:31:36 4c9f31393084: Download complete 12:31:36 eb21ddb83652: Verifying Checksum 12:31:36 eb21ddb83652: Download complete 12:31:36 e6b0cf9c0882: Verifying Checksum 12:31:36 e6b0cf9c0882: Download complete 12:31:36 e6b0cf9c0882: Pull complete 12:31:37 345998794f6b: Verifying Checksum 12:31:37 345998794f6b: Download complete 12:31:37 2848faf0eed1: Pull complete 12:31:37 0f37312ad70f: Pull complete 12:31:37 97a711d68925: Verifying Checksum 12:31:37 97a711d68925: Download complete 12:31:37 7c8476c1cb00: Verifying Checksum 12:31:37 7c8476c1cb00: Download complete 12:31:38 7d08f2745646: Verifying Checksum 12:31:38 7d08f2745646: Download complete 12:31:43 7d08f2745646: Pull complete 12:31:43 4c9f31393084: Pull complete 12:31:43 eb21ddb83652: Pull complete 12:31:44 345998794f6b: Pull complete 12:31:48 97a711d68925: Pull complete 12:31:48 7c8476c1cb00: Pull complete 12:31:48 Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 12:31:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 12:31:48 prd-centos7-docker-4c-2g-4955 does not seem to be running inside a container 12:31:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/gexfoundry_device-snmp-go_master:/ws -w /ws --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat 12:31:49 $ docker top 3c590d3767590ce4f3451c44d2160c8e8ffd7b9b929366846b4fdd236317864c -eo pid,comm [Pipeline] { [Pipeline] sh 12:31:50 + snyk monitor '--org=edgex-jenkins' 12:32:08 12:32:08 Monitoring /w/workspace/gexfoundry_device-snmp-go_master... 12:32:08 12:32:08 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/fb9dc1de-f209-4d9c-9a0e-ea2381669300 12:32:08 12:32:08 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:32:08 12:32:08 [Pipeline] } 12:32:08 $ docker stop --time=1 3c590d3767590ce4f3451c44d2160c8e8ffd7b9b929366846b4fdd236317864c 12:32:10 $ docker rm -f 3c590d3767590ce4f3451c44d2160c8e8ffd7b9b929366846b4fdd236317864c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:32:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 12:32:10 12:32:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 12:32:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 12:32:11 latest: Pulling from edgex-devops/edgex-klar 12:32:11 e7c96db7181b: Pulling fs layer 12:32:11 1868ca2cb446: Pulling fs layer 12:32:11 136be5d0fe8e: Pulling fs layer 12:32:11 894bfe63afcb: Pulling fs layer 12:32:11 894bfe63afcb: Waiting 12:32:11 1868ca2cb446: Verifying Checksum 12:32:11 1868ca2cb446: Download complete 12:32:11 136be5d0fe8e: Download complete 12:32:11 e7c96db7181b: Verifying Checksum 12:32:11 e7c96db7181b: Download complete 12:32:11 894bfe63afcb: Verifying Checksum 12:32:11 894bfe63afcb: Download complete 12:32:11 e7c96db7181b: Pull complete 12:32:11 1868ca2cb446: Pull complete 12:32:11 136be5d0fe8e: Pull complete 12:32:11 894bfe63afcb: Pull complete 12:32:11 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 12:32:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 12:32:12 prd-centos7-docker-4c-2g-4955 does not seem to be running inside a container 12:32:12 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 12:32:12 $ docker top e45e3150811cb3902df9ce0670ec02ace74dba25e9e98e824b350e319e510668 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:13 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go:2a2498c9bbadf04898195d37569b88cc82665a53 12:32:13 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 12:32:15 $ docker stop --time=1 e45e3150811cb3902df9ce0670ec02ace74dba25e9e98e824b350e319e510668 12:32:17 $ docker rm -f e45e3150811cb3902df9ce0670ec02ace74dba25e9e98e824b350e319e510668 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 12:32:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 12:32:18 . [Pipeline] withDockerContainer 12:32:18 prd-centos7-docker-4c-2g-4955 does not seem to be running inside a container 12:32:18 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 12:32:18 $ docker top 51685e414bd106b2210b1bbd169a78833e587cc922a60ba0ccddfa01a84a5c2b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:19 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go:2a2498c9bbadf04898195d37569b88cc82665a53 12:32:19 + tee 12:32:19 clair timeout 1m0s 12:32:19 docker timeout: 1m0s 12:32:19 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 12:32:19 $ docker stop --time=1 51685e414bd106b2210b1bbd169a78833e587cc922a60ba0ccddfa01a84a5c2b 12:32:21 $ docker rm -f 51685e414bd106b2210b1bbd169a78833e587cc922a60ba0ccddfa01a84a5c2b [Pipeline] // withDockerContainer [Pipeline] sh 12:32:21 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/clair-reports [Pipeline] echo 12:32:21 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-snmp-go_master/clair-reports/clair_results_docker-device-snmp-go_2a2498c9bbadf04898195d37569b88cc82665a53.html [Pipeline] writeFile [Pipeline] step 12:32:21 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 12:32:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 12:32:22 . [Pipeline] withDockerContainer 12:32:22 prd-centos7-docker-4c-2g-4955 does not seem to be running inside a container 12:32:22 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 12:32:23 $ docker top 77b3fd2e58b6c4719ce987bc9bbd6869400cdec8d665ac7cf6ca64ddb40c3ac7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:23 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:2a2498c9bbadf04898195d37569b88cc82665a53 12:32:23 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 12:32:26 $ docker stop --time=1 77b3fd2e58b6c4719ce987bc9bbd6869400cdec8d665ac7cf6ca64ddb40c3ac7 12:32:27 $ docker rm -f 77b3fd2e58b6c4719ce987bc9bbd6869400cdec8d665ac7cf6ca64ddb40c3ac7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 12:32:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 12:32:27 . [Pipeline] withDockerContainer 12:32:28 prd-centos7-docker-4c-2g-4955 does not seem to be running inside a container 12:32:28 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 12:32:28 $ docker top 5b0cda986da61f8e65e27720bd3d6d61c356087badeb9ec33a58fe3c89e1dc3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:29 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:2a2498c9bbadf04898195d37569b88cc82665a53 12:32:29 + tee 12:32:29 clair timeout 1m0s 12:32:29 docker timeout: 1m0s 12:32:29 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 12:32:29 $ docker stop --time=1 5b0cda986da61f8e65e27720bd3d6d61c356087badeb9ec33a58fe3c89e1dc3e 12:32:31 $ docker rm -f 5b0cda986da61f8e65e27720bd3d6d61c356087badeb9ec33a58fe3c89e1dc3e [Pipeline] // withDockerContainer [Pipeline] sh 12:32:31 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/clair-reports [Pipeline] echo 12:32:31 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-snmp-go_master/clair-reports/clair_results_docker-device-snmp-go-arm64_2a2498c9bbadf04898195d37569b88cc82665a53.html [Pipeline] writeFile [Pipeline] step 12:32:31 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 12:32:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:32:32 . [Pipeline] withDockerContainer 12:32:32 prd-centos7-docker-4c-2g-4955 does not seem to be running inside a container 12:32:32 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:32:33 $ docker top 1db81d59989730abac259381dce42ed96b7a139c2d129762f197176ca9c1a106 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:32:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:32:33 [ssh-agent] Looking for ssh-agent implementation... 12:32:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:32:33 $ docker exec 1db81d59989730abac259381dce42ed96b7a139c2d129762f197176ca9c1a106 ssh-agent 12:32:33 SSH_AUTH_SOCK=/tmp/ssh-e0WhkizBvlOw/agent.15 12:32:33 SSH_AGENT_PID=21 12:32:33 Running ssh-add (command line suppressed) 12:32:34 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_3632639979349856199.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_3632639979349856199.key) 12:32:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:32:34 + git semver tag 12:32:34 # -> Open(): unable to determine branch for HEAD 12:32:34 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 12:32:34 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 12:32:34 # $SEMVER_REMOTE_NAME = origin 12:32:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:32:34 # $SEMVER_USER_NAME = edgex-jenkins 12:32:34 # $SEMVER_BRANCH = master 12:32:34 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 12:32:34 # 2a2498c9bbadf04898195d37569b88cc82665a53 HEAD 12:32:34 # -> Force: false 12:32:34 # 307d349db81b91b59eaf282900ba2fad3ec60b30 refs/tags/v1.2.0-dev.3 [Pipeline] } 12:32:34 $ docker exec --env ******** --env ******** 1db81d59989730abac259381dce42ed96b7a139c2d129762f197176ca9c1a106 ssh-agent -k 12:32:34 unset SSH_AUTH_SOCK; 12:32:34 unset SSH_AGENT_PID; 12:32:34 echo Agent pid 21 killed; 12:32:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:32:35 + git semver [Pipeline] } 12:32:35 $ docker stop --time=1 1db81d59989730abac259381dce42ed96b7a139c2d129762f197176ca9c1a106 12:32:36 $ docker rm -f 1db81d59989730abac259381dce42ed96b7a139c2d129762f197176ca9c1a106 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 12:32:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:32:37 12:32:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 12:32:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:32:37 0.23.1-centos7: Pulling from edgex-lftools 12:32:37 ab5ef0e58194: Pulling fs layer 12:32:37 9712f1f96733: Pulling fs layer 12:32:37 63f879dbbcfc: Pulling fs layer 12:32:37 0d9ebad4ef96: Pulling fs layer 12:32:37 e9a5061849ea: Pulling fs layer 12:32:37 d747dcd14b5f: Pulling fs layer 12:32:37 2de7ff778b66: Pulling fs layer 12:32:37 e9a5061849ea: Waiting 12:32:37 d747dcd14b5f: Waiting 12:32:37 2de7ff778b66: Waiting 12:32:37 9712f1f96733: Verifying Checksum 12:32:37 9712f1f96733: Download complete 12:32:38 63f879dbbcfc: Verifying Checksum 12:32:38 63f879dbbcfc: Download complete 12:32:38 e9a5061849ea: Verifying Checksum 12:32:38 d747dcd14b5f: Verifying Checksum 12:32:38 d747dcd14b5f: Download complete 12:32:38 ab5ef0e58194: Verifying Checksum 12:32:38 ab5ef0e58194: Download complete 12:32:38 0d9ebad4ef96: Verifying Checksum 12:32:38 0d9ebad4ef96: Download complete 12:32:38 2de7ff778b66: Verifying Checksum 12:32:38 2de7ff778b66: Download complete 12:32:44 ab5ef0e58194: Pull complete 12:32:44 9712f1f96733: Pull complete 12:32:46 63f879dbbcfc: Pull complete 12:32:51 0d9ebad4ef96: Pull complete 12:32:51 e9a5061849ea: Pull complete 12:32:51 d747dcd14b5f: Pull complete 12:32:56 2de7ff778b66: Pull complete 12:32:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:32:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 12:32:56 prd-centos7-docker-4c-2g-4955 does not seem to be running inside a container 12:32:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 12:32:57 $ docker top 716a7b9a6eb2f2c41246bd82c4fa6009025a1685d64b0f184ba0c40ef407ca66 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:32:57 provisioning config files... 12:32:57 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config7706132368917160678tmp 12:32:57 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config6289076426381480524tmp 12:32:57 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2771824884547513549tmp [Pipeline] { [Pipeline] echo 12:32:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:32:58 ---> sigul-configuration.sh 12:32:58 gpg: directory `/root/.gnupg' created 12:32:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:32:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:32:58 gpg: keyring `/root/.gnupg/secring.gpg' created 12:32:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:32:58 gpg: CAST5 encrypted data 12:32:58 gpg: encrypted with 1 passphrase 12:32:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:32:58 + mkdir /home/jenkins 12:32:58 + mkdir /home/jenkins/sigul [Pipeline] sh 12:32:59 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 12:32:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:32:59 ---> sigul-install.sh 12:33:05 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 12:33:06 + git tag --list 12:33:06 v1.2.0-dev.3 [Pipeline] sh 12:33:06 + lftools sign git-tag v1.2.0-dev.3 12:33:07 Signing Git tag with Sigul... 12:33:07 Signing v1.2.0-dev.3 [Pipeline] echo 12:33:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:33:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:33:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:33:09 $ docker stop --time=1 716a7b9a6eb2f2c41246bd82c4fa6009025a1685d64b0f184ba0c40ef407ca66 12:33:10 $ docker rm -f 716a7b9a6eb2f2c41246bd82c4fa6009025a1685d64b0f184ba0c40ef407ca66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 12:33:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:33:11 . [Pipeline] withDockerContainer 12:33:11 prd-centos7-docker-4c-2g-4955 does not seem to be running inside a container 12:33:11 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:33:12 $ docker top 1c01c3c0af406fb1b1d9e3c6bfdedb1e636416e9bf88c063bcbfb5997797d5c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:33:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:33:12 [ssh-agent] Looking for ssh-agent implementation... 12:33:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:33:12 $ docker exec 1c01c3c0af406fb1b1d9e3c6bfdedb1e636416e9bf88c063bcbfb5997797d5c3 ssh-agent 12:33:12 SSH_AUTH_SOCK=/tmp/ssh-m0wgHX5WjLeZ/agent.13 12:33:12 SSH_AGENT_PID=20 12:33:12 Running ssh-add (command line suppressed) 12:33:12 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_3585362220726718178.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_3585362220726718178.key) 12:33:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:33:13 + git semver bump pre 12:33:13 # -> Open(): unable to determine branch for HEAD 12:33:13 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 12:33:13 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 12:33:13 # $SEMVER_REMOTE_NAME = origin 12:33:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:33:13 # $SEMVER_USER_NAME = edgex-jenkins 12:33:13 # $SEMVER_BRANCH = master 12:33:13 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 12:33:13 1.2.0-dev.4 [Pipeline] } 12:33:13 $ docker exec --env ******** --env ******** 1c01c3c0af406fb1b1d9e3c6bfdedb1e636416e9bf88c063bcbfb5997797d5c3 ssh-agent -k 12:33:13 unset SSH_AUTH_SOCK; 12:33:13 unset SSH_AGENT_PID; 12:33:13 echo Agent pid 20 killed; 12:33:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:33:13 + git semver [Pipeline] } 12:33:13 $ docker stop --time=1 1c01c3c0af406fb1b1d9e3c6bfdedb1e636416e9bf88c063bcbfb5997797d5c3 12:33:15 $ docker rm -f 1c01c3c0af406fb1b1d9e3c6bfdedb1e636416e9bf88c063bcbfb5997797d5c3 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 12:33:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:33:15 . [Pipeline] withDockerContainer 12:33:15 prd-centos7-docker-4c-2g-4955 does not seem to be running inside a container 12:33:15 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:33:16 $ docker top b8acd9e0b5e2bf876a13cb9bf3a0e0d0a50c2be5e2bcc408ee78efa2cec66a7c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:33:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:33:16 [ssh-agent] Looking for ssh-agent implementation... 12:33:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:33:16 $ docker exec b8acd9e0b5e2bf876a13cb9bf3a0e0d0a50c2be5e2bcc408ee78efa2cec66a7c ssh-agent 12:33:17 SSH_AUTH_SOCK=/tmp/ssh-TxlUMMmiaT0B/agent.15 12:33:17 SSH_AGENT_PID=21 12:33:17 Running ssh-add (command line suppressed) 12:33:17 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_162999677367953397.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_162999677367953397.key) 12:33:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:33:17 + git semver push 12:33:17 # -> Open(): unable to determine branch for HEAD 12:33:17 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 12:33:17 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 12:33:17 # $SEMVER_REMOTE_NAME = origin 12:33:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:33:17 # $SEMVER_USER_NAME = edgex-jenkins 12:33:17 # $SEMVER_BRANCH = master 12:33:17 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 12:33:24 $ docker exec --env ******** --env ******** b8acd9e0b5e2bf876a13cb9bf3a0e0d0a50c2be5e2bcc408ee78efa2cec66a7c ssh-agent -k 12:33:24 unset SSH_AUTH_SOCK; 12:33:24 unset SSH_AGENT_PID; 12:33:24 echo Agent pid 21 killed; 12:33:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:33:24 + git semver [Pipeline] } 12:33:24 $ docker stop --time=1 b8acd9e0b5e2bf876a13cb9bf3a0e0d0a50c2be5e2bcc408ee78efa2cec66a7c 12:33:26 $ docker rm -f b8acd9e0b5e2bf876a13cb9bf3a0e0d0a50c2be5e2bcc408ee78efa2cec66a7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 12:33:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:33:27 ---> package-listing.sh 12:33:27 ++ facter osfamily 12:33:27 ++ tr '[:upper:]' '[:lower:]' 12:33:27 + OS_FAMILY=redhat 12:33:27 + workspace=/w/workspace/gexfoundry_device-snmp-go_master 12:33:27 + START_PACKAGES=/tmp/packages_start.txt 12:33:27 + END_PACKAGES=/tmp/packages_end.txt 12:33:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:33:27 + PACKAGES=/tmp/packages_start.txt 12:33:27 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 12:33:27 + PACKAGES=/tmp/packages_end.txt 12:33:27 + case "${OS_FAMILY}" in 12:33:27 + rpm -qa 12:33:27 + sort 12:33:31 + '[' -f /tmp/packages_start.txt ']' 12:33:31 + '[' -f /tmp/packages_end.txt ']' 12:33:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:33:31 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 12:33:31 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ 12:33:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 12:33:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:33:32 12:33:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 12:33:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:33:32 alpine: Pulling from edgex-lftools-log-publisher 12:33:32 c9b1b535fdd9: Pulling fs layer 12:33:32 2cc5ad85d9ab: Pulling fs layer 12:33:32 756a868c4378: Pulling fs layer 12:33:32 444b2fc9a129: Pulling fs layer 12:33:32 ea15f1150254: Pulling fs layer 12:33:32 41b27a9f41bf: Pulling fs layer 12:33:32 28c525ee5125: Pulling fs layer 12:33:32 094b1ea09ed8: Pulling fs layer 12:33:32 138eaada9080: Pulling fs layer 12:33:32 0622d0fa9048: Pulling fs layer 12:33:32 41b27a9f41bf: Waiting 12:33:32 28c525ee5125: Waiting 12:33:32 094b1ea09ed8: Waiting 12:33:32 138eaada9080: Waiting 12:33:32 0622d0fa9048: Waiting 12:33:32 444b2fc9a129: Waiting 12:33:32 ea15f1150254: Waiting 12:33:32 2cc5ad85d9ab: Download complete 12:33:32 444b2fc9a129: Download complete 12:33:32 c9b1b535fdd9: Download complete 12:33:32 ea15f1150254: Verifying Checksum 12:33:32 ea15f1150254: Download complete 12:33:32 28c525ee5125: Verifying Checksum 12:33:32 28c525ee5125: Download complete 12:33:33 756a868c4378: Verifying Checksum 12:33:33 756a868c4378: Download complete 12:33:33 c9b1b535fdd9: Pull complete 12:33:33 138eaada9080: Verifying Checksum 12:33:33 138eaada9080: Download complete 12:33:33 094b1ea09ed8: Verifying Checksum 12:33:33 094b1ea09ed8: Download complete 12:33:33 0622d0fa9048: Verifying Checksum 12:33:33 0622d0fa9048: Download complete 12:33:33 41b27a9f41bf: Verifying Checksum 12:33:33 41b27a9f41bf: Download complete 12:33:34 2cc5ad85d9ab: Pull complete 12:33:35 756a868c4378: Pull complete 12:33:36 444b2fc9a129: Pull complete 12:33:36 ea15f1150254: Pull complete 12:33:39 41b27a9f41bf: Pull complete 12:33:39 28c525ee5125: Pull complete 12:33:41 094b1ea09ed8: Pull complete 12:33:41 138eaada9080: Pull complete 12:33:41 0622d0fa9048: Pull complete 12:33:41 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 12:33:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 12:33:41 prd-centos7-docker-4c-2g-4955 does not seem to be running inside a container 12:33:42 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 12:33:42 $ docker top 5704da2b66b338bae89bf4723f2447a4ab93de15ae1017b09133c9e01815f7af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:33:42 provisioning config files... 12:33:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config8616042805127146614tmp [Pipeline] { [Pipeline] echo 12:33:42 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:33:43 ---> create-netrc.sh [Pipeline] echo 12:33:43 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:33:43 ---> logs-deploy.sh 12:33:43 + ARCHIVE_ARTIFACTS= 12:33:43 + LOGS_SERVER=https://logs.edgexfoundry.org 12:33:43 + '[' https://logs.edgexfoundry.org == None ']' 12:33:43 + NEXUS_URL=https://nexus.edgexfoundry.org 12:33:43 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/4 12:33:43 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/master/4/ 12:33:43 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/4 /w/workspace/gexfoundry_device-snmp-go_master 12:33:44 Archives upload complete. 12:33:44 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/master/4/