Pull request #49 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 2df6a388d86acf306cadada7b0d82092b6ea7bbe+2a2498c9bbadf04898195d37569b88cc82665a53 (ecbe2efad43f7b93cc6ae1031fb00abe594e3108) 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 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d 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 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d # timeout=10 Commit message: "Merge pull request #173 from ernestojeda/bugfix-did-change-prev" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6459 in /w/workspace/dgexfoundry_device-snmp-go_PR-49 [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 Fetching without tags Merging remotes/origin/master commit 2a2498c9bbadf04898195d37569b88cc82665a53 into PR head commit 2df6a388d86acf306cadada7b0d82092b6ea7bbe > git init /w/workspace/dgexfoundry_device-snmp-go_PR-49 # 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/pull/49/head:refs/remotes/origin/PR-49 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/49/head:refs/remotes/origin/PR-49 # 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/pull/49/head:refs/remotes/origin/PR-49 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing 2df6a388d86acf306cadada7b0d82092b6ea7bbe Checking out Revision 2df6a388d86acf306cadada7b0d82092b6ea7bbe (PR-49) > git config core.sparsecheckout # timeout=10 > git checkout -f 2df6a388d86acf306cadada7b0d82092b6ea7bbe # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2a2498c9bbadf04898195d37569b88cc82665a53 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2df6a388d86acf306cadada7b0d82092b6ea7bbe # timeout=10 Commit message: "refactor: upgrade SDK to v1.2.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:33:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:33:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:33:42 ========================================================= 08:33:42 EdgeX Global Pipelines Version Info 08:33:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6cbb7bff062e751609f5520d3ffbff3f7b224b09 # timeout=10 08:33:43 ------------------- 08:33:43 stable info: 08:33:43 ------------------- 08:33:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:33:43 Commit SHA: 997776a94285dd80d478e4f0c197496148fdc64f 08:33:43 Message: update stable to v1.0.86 08:33:44 ------------------- 08:33:44 experimental info: 08:33:44 ------------------- 08:33:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:33:44 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 08:33:44 Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 08:33:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:33:46 08:33:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:33:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:33:46 latest: Pulling from edgex-devops/git-semver 08:33:46 9123ac7c32f7: Pulling fs layer 08:33:46 b8cc5d1170e3: Pulling fs layer 08:33:46 2924cbbf6a41: Pulling fs layer 08:33:46 93b08a4f1073: Pulling fs layer 08:33:46 93b08a4f1073: Waiting 08:33:46 b8cc5d1170e3: Verifying Checksum 08:33:46 b8cc5d1170e3: Download complete 08:33:46 9123ac7c32f7: Verifying Checksum 08:33:46 9123ac7c32f7: Download complete 08:33:47 93b08a4f1073: Verifying Checksum 08:33:47 93b08a4f1073: Download complete 08:33:47 2924cbbf6a41: Download complete 08:33:47 9123ac7c32f7: Pull complete 08:33:47 b8cc5d1170e3: Pull complete 08:33:47 2924cbbf6a41: Pull complete 08:33:48 93b08a4f1073: Pull complete 08:33:48 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 08:33:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:33:48 prd-centos7-docker-4c-2g-6459 does not seem to be running inside a container 08:33:48 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-49 -v /w/workspace/dgexfoundry_device-snmp-go_PR-49:/w/workspace/dgexfoundry_device-snmp-go_PR-49:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-49@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:33:48 $ docker top e6a75902dd36d891079fcf63dfc7be837094ba59de69a2b5876c1653eea0ee33 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:33:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:33:49 [ssh-agent] Looking for ssh-agent implementation... 08:33:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:33:49 $ docker exec e6a75902dd36d891079fcf63dfc7be837094ba59de69a2b5876c1653eea0ee33 ssh-agent 08:33:49 SSH_AUTH_SOCK=/tmp/ssh-bmosaHc1oo8K/agent.14 08:33:49 SSH_AGENT_PID=21 08:33:49 Running ssh-add (command line suppressed) 08:33:49 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-49@tmp/private_key_6659325969650253276.key (/w/workspace/dgexfoundry_device-snmp-go_PR-49@tmp/private_key_6659325969650253276.key) 08:33:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:33:50 + git describe --exact-match --tags HEAD 08:33:50 fatal: No names found, cannot describe anything. [Pipeline] } 08:33:50 $ docker exec --env ******** --env ******** e6a75902dd36d891079fcf63dfc7be837094ba59de69a2b5876c1653eea0ee33 ssh-agent -k 08:33:50 unset SSH_AUTH_SOCK; 08:33:50 unset SSH_AGENT_PID; 08:33:50 echo Agent pid 21 killed; 08:33:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:33:50 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:33:50 This usually means this commit has not been tagged. [Pipeline] sshagent 08:33:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:33:50 [ssh-agent] Looking for ssh-agent implementation... 08:33:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:33:50 $ docker exec e6a75902dd36d891079fcf63dfc7be837094ba59de69a2b5876c1653eea0ee33 ssh-agent 08:33:50 SSH_AUTH_SOCK=/tmp/ssh-oi3HnNKsLZUh/agent.56 08:33:50 SSH_AGENT_PID=62 08:33:50 Running ssh-add (command line suppressed) 08:33:51 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-49@tmp/private_key_5071421518987499430.key (/w/workspace/dgexfoundry_device-snmp-go_PR-49@tmp/private_key_5071421518987499430.key) 08:33:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:33:51 + git semver init 08:33:51 # -> Open(): unable to determine branch for HEAD 08:33:51 # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-49/.git 08:33:51 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-49 08:33:51 # $SEMVER_REMOTE_NAME = origin 08:33:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:33:51 # $SEMVER_USER_NAME = edgex-jenkins 08:33:51 # $SEMVER_BRANCH = PR-49 08:33:51 # $SEMVER_TEMP = /tmp/semver-176526672 08:33:51 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 08:33:51 # '/tmp/semver-176526672' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-49/.semver' 08:33:51 # -> Force: false 08:33:51 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-49/.semver [Pipeline] } 08:33:51 $ docker exec --env ******** --env ******** e6a75902dd36d891079fcf63dfc7be837094ba59de69a2b5876c1653eea0ee33 ssh-agent -k 08:33:51 unset SSH_AUTH_SOCK; 08:33:51 unset SSH_AGENT_PID; 08:33:51 echo Agent pid 62 killed; 08:33:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:33:52 + git semver [Pipeline] } 08:33:52 $ docker stop --time=1 e6a75902dd36d891079fcf63dfc7be837094ba59de69a2b5876c1653eea0ee33 08:33:53 $ docker rm -f e6a75902dd36d891079fcf63dfc7be837094ba59de69a2b5876c1653eea0ee33 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:33:54 Stashed 35 file(s) [Pipeline] echo 08:33:54 [edgeXSemver] initialized semver on version 0.0.0 [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 08:34:09 Still waiting to schedule task 08:34:09 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:34:09 Still waiting to schedule task 08:34:09 ‘prd-ubuntu18.04-docker-arm64-4c-16g-6457’ is offline 08:35:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6460 in /w/workspace/dgexfoundry_device-snmp-go_PR-49 [Pipeline] { [Pipeline] ws 08:35:53 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 08:35:59 using credential edgex-jenkins-ssh 08:35:59 Cloning the remote Git repository 08:35:59 Cloning with configured refspecs honoured and without tags 08:35:59 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 08:36:00 Fetching without tags 08:35:59 > git init /w/workspace/device-snmp-go/2 # timeout=10 08:35:59 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:35:59 > git --version # timeout=10 08:35:59 using GIT_SSH to set credentials SSH Credentials for GitHub 08:36:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/49/head:refs/remotes/origin/PR-49 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:36:00 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:36:00 > git config --add remote.origin.fetch +refs/pull/49/head:refs/remotes/origin/PR-49 # timeout=10 08:36:00 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:36:00 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:36:00 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:36:00 using GIT_SSH to set credentials SSH Credentials for GitHub 08:36:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/49/head:refs/remotes/origin/PR-49 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:36:01 Merging remotes/origin/master commit 2a2498c9bbadf04898195d37569b88cc82665a53 into PR head commit 2df6a388d86acf306cadada7b0d82092b6ea7bbe 08:36:01 Merge succeeded, producing 2df6a388d86acf306cadada7b0d82092b6ea7bbe 08:36:01 Checking out Revision 2df6a388d86acf306cadada7b0d82092b6ea7bbe (PR-49) 08:36:01 > git config core.sparsecheckout # timeout=10 08:36:01 > git checkout -f 2df6a388d86acf306cadada7b0d82092b6ea7bbe # timeout=10 08:36:01 > git remote # timeout=10 08:36:01 > git config --get remote.origin.url # timeout=10 08:36:01 using GIT_SSH to set credentials SSH Credentials for GitHub 08:36:01 > git merge 2a2498c9bbadf04898195d37569b88cc82665a53 # timeout=10 08:36:01 > git rev-parse HEAD^{commit} # timeout=10 08:36:01 > git config core.sparsecheckout # timeout=10 08:36:01 > git checkout -f 2df6a388d86acf306cadada7b0d82092b6ea7bbe # timeout=10 08:36:05 Running on prd-centos7-docker-4c-2g-6461 in /w/workspace/dgexfoundry_device-snmp-go_PR-49 [Pipeline] { [Pipeline] ws 08:36:05 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 08:36:06 Commit message: "refactor: upgrade SDK to v1.2.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:36:07 ========================================================= 08:36:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:36:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:36:08 using credential edgex-jenkins-ssh 08:36:08 Cloning the remote Git repository 08:36:08 Cloning with configured refspecs honoured and without tags 08:36:08 + 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 . 08:36:08 Fetching without tags 08:36:09 Sending build context to Docker daemon 356.9kB 08:36:09 Step 1/10 : ARG BASE=golang:1.13-alpine 08:36:09 Step 2/10 : FROM ${BASE} 08:36:08 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 08:36:08 > git init /w/workspace/device-snmp-go/2 # timeout=10 08:36:08 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:36:08 > git --version # timeout=10 08:36:08 using GIT_SSH to set credentials SSH Credentials for GitHub 08:36:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/49/head:refs/remotes/origin/PR-49 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:36:08 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:36:08 > git config --add remote.origin.fetch +refs/pull/49/head:refs/remotes/origin/PR-49 # timeout=10 08:36:08 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:36:08 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:36:08 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:36:08 using GIT_SSH to set credentials SSH Credentials for GitHub 08:36:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/49/head:refs/remotes/origin/PR-49 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:36:09 Merging remotes/origin/master commit 2a2498c9bbadf04898195d37569b88cc82665a53 into PR head commit 2df6a388d86acf306cadada7b0d82092b6ea7bbe 08:36:09 Merge succeeded, producing 2df6a388d86acf306cadada7b0d82092b6ea7bbe 08:36:09 Checking out Revision 2df6a388d86acf306cadada7b0d82092b6ea7bbe (PR-49) 08:36:09 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:36:09 cde5963f3b93: Pulling fs layer 08:36:09 2a23fa8c16f7: Pulling fs layer 08:36:09 777b28850792: Pulling fs layer 08:36:09 8a11ddd9e578: Pulling fs layer 08:36:09 4cf88f913ddb: Pulling fs layer 08:36:09 1df406cf5192: Pulling fs layer 08:36:09 cd6300453558: Pulling fs layer 08:36:09 b9c365052c96: Pulling fs layer 08:36:09 a2d8cc88f415: Pulling fs layer 08:36:09 ea1d1ca13537: Pulling fs layer 08:36:09 3750a50a1c5e: Pulling fs layer 08:36:09 8a11ddd9e578: Waiting 08:36:09 b9c365052c96: Waiting 08:36:09 4cf88f913ddb: Waiting 08:36:09 a2d8cc88f415: Waiting 08:36:09 1df406cf5192: Waiting 08:36:09 ea1d1ca13537: Waiting 08:36:09 cd6300453558: Waiting 08:36:09 3750a50a1c5e: Waiting 08:36:09 777b28850792: Verifying Checksum 08:36:09 777b28850792: Download complete 08:36:09 2a23fa8c16f7: Verifying Checksum 08:36:09 2a23fa8c16f7: Download complete 08:36:09 4cf88f913ddb: Verifying Checksum 08:36:09 4cf88f913ddb: Download complete 08:36:09 1df406cf5192: Verifying Checksum 08:36:09 1df406cf5192: Download complete 08:36:09 cde5963f3b93: Verifying Checksum 08:36:09 cde5963f3b93: Download complete 08:36:09 > git config core.sparsecheckout # timeout=10 08:36:09 > git checkout -f 2df6a388d86acf306cadada7b0d82092b6ea7bbe # timeout=10 08:36:09 > git remote # timeout=10 08:36:09 > git config --get remote.origin.url # timeout=10 08:36:09 using GIT_SSH to set credentials SSH Credentials for GitHub 08:36:09 > git merge 2a2498c9bbadf04898195d37569b88cc82665a53 # timeout=10 08:36:09 > git rev-parse HEAD^{commit} # timeout=10 08:36:09 > git config core.sparsecheckout # timeout=10 08:36:09 > git checkout -f 2df6a388d86acf306cadada7b0d82092b6ea7bbe # timeout=10 08:36:10 cde5963f3b93: Pull complete 08:36:11 2a23fa8c16f7: Pull complete 08:36:11 777b28850792: Pull complete 08:36:13 Commit message: "refactor: upgrade SDK to v1.2.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 08:36:13 cd6300453558: Verifying Checksum 08:36:13 cd6300453558: Download complete [Pipeline] unstash [Pipeline] echo 08:36:13 ========================================================= 08:36:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:36:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:36:14 a2d8cc88f415: Verifying Checksum 08:36:14 a2d8cc88f415: Download complete 08:36:14 + 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 . 08:36:14 Sending build context to Docker daemon 356.9kB 08:36:14 Step 1/10 : ARG BASE=golang:1.13-alpine 08:36:14 Step 2/10 : FROM ${BASE} 08:36:14 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 08:36:14 e6b0cf9c0882: Pulling fs layer 08:36:14 2848faf0eed1: Pulling fs layer 08:36:14 0f37312ad70f: Pulling fs layer 08:36:14 5788d62ee057: Pulling fs layer 08:36:14 0e6b1d234666: Pulling fs layer 08:36:14 bf5d7aec512f: Pulling fs layer 08:36:14 34c802a77dc8: Pulling fs layer 08:36:14 9eb99e56ec68: Pulling fs layer 08:36:14 27c7a5d97fbd: Pulling fs layer 08:36:14 5c102a31e300: Pulling fs layer 08:36:14 dcfb455df0a1: Pulling fs layer 08:36:14 34c802a77dc8: Waiting 08:36:14 9eb99e56ec68: Waiting 08:36:14 5788d62ee057: Waiting 08:36:14 0e6b1d234666: Waiting 08:36:14 bf5d7aec512f: Waiting 08:36:14 27c7a5d97fbd: Waiting 08:36:14 5c102a31e300: Waiting 08:36:14 dcfb455df0a1: Waiting 08:36:14 0f37312ad70f: Verifying Checksum 08:36:14 0f37312ad70f: Download complete 08:36:14 2848faf0eed1: Verifying Checksum 08:36:14 2848faf0eed1: Download complete 08:36:14 0e6b1d234666: Verifying Checksum 08:36:14 0e6b1d234666: Download complete 08:36:14 bf5d7aec512f: Verifying Checksum 08:36:14 bf5d7aec512f: Download complete 08:36:14 e6b0cf9c0882: Verifying Checksum 08:36:14 e6b0cf9c0882: Download complete 08:36:15 e6b0cf9c0882: Pull complete 08:36:15 2848faf0eed1: Pull complete 08:36:15 0f37312ad70f: Pull complete 08:36:15 34c802a77dc8: Verifying Checksum 08:36:15 34c802a77dc8: Download complete 08:36:16 27c7a5d97fbd: Verifying Checksum 08:36:16 27c7a5d97fbd: Download complete 08:36:16 ea1d1ca13537: Verifying Checksum 08:36:16 ea1d1ca13537: Download complete 08:36:16 3750a50a1c5e: Download complete 08:36:16 5788d62ee057: Verifying Checksum 08:36:16 5788d62ee057: Download complete 08:36:16 5c102a31e300: Verifying Checksum 08:36:16 5c102a31e300: Download complete 08:36:16 dcfb455df0a1: Verifying Checksum 08:36:16 dcfb455df0a1: Download complete 08:36:17 9eb99e56ec68: Verifying Checksum 08:36:17 9eb99e56ec68: Download complete 08:36:19 b9c365052c96: Verifying Checksum 08:36:19 b9c365052c96: Download complete 08:36:20 8a11ddd9e578: Verifying Checksum 08:36:20 8a11ddd9e578: Download complete 08:36:23 5788d62ee057: Pull complete 08:36:23 0e6b1d234666: Pull complete 08:36:23 bf5d7aec512f: Pull complete 08:36:30 34c802a77dc8: Pull complete 08:36:32 8a11ddd9e578: Pull complete 08:36:32 4cf88f913ddb: Pull complete 08:36:33 1df406cf5192: Pull complete 08:36:33 9eb99e56ec68: Pull complete 08:36:33 27c7a5d97fbd: Pull complete 08:36:34 5c102a31e300: Pull complete 08:36:34 dcfb455df0a1: Pull complete 08:36:34 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 08:36:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 08:36:34 ---> 7c70fe431013 08:36:34 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 08:36:34 ---> Running in 521b3606e675 08:36:34 Removing intermediate container 521b3606e675 08:36:34 ---> 801d02a6fa83 08:36:34 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 08:36:34 ---> Running in b7b995ee4e71 08:36:34 Removing intermediate container b7b995ee4e71 08:36:34 ---> 8bc8c01f535c 08:36:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 08:36:34 ---> Running in 4ef30c7ae25f 08:36:34 Removing intermediate container 4ef30c7ae25f 08:36:34 ---> 9573a711d64d 08:36:34 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:36:34 ---> Running in 3d3007c9fcee 08:36:35 Removing intermediate container 3d3007c9fcee 08:36:35 ---> 1958f8baf0c4 08:36:35 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:36:35 ---> Running in 59807823549e 08:36:36 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:36:37 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:36:37 OK: 143 MiB in 39 packages 08:36:38 Removing intermediate container 59807823549e 08:36:38 ---> 04181048e252 08:36:38 Step 8/10 : WORKDIR /device-snmp-go 08:36:38 ---> Running in c459483804cf 08:36:38 Removing intermediate container c459483804cf 08:36:38 ---> 47f2d81b8322 08:36:38 Step 9/10 : COPY . . 08:36:38 ---> 489ae273ebb2 08:36:38 Step 10/10 : RUN go mod download 08:36:38 ---> Running in 84131f9b8a6b 08:36:38 cd6300453558: Pull complete 08:36:40 go: finding github.com/BurntSushi/toml v0.3.1 08:36:40 go: finding github.com/OneOfOne/xxhash v1.2.6 08:36:40 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:36:40 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:36:40 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:36:40 go: finding github.com/bgentry/speakeasy v0.1.0 08:36:40 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:36:40 go: finding github.com/davecgh/go-spew v1.1.1 08:36:40 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 08:36:40 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 08:36:40 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:36:40 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 08:36:40 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 08:36:40 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:36:40 go: finding github.com/fatih/color v1.7.0 08:36:40 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:36:40 go: finding github.com/go-kit/kit v0.8.0 08:36:40 go: finding github.com/go-logfmt/logfmt v0.4.0 08:36:40 go: finding github.com/go-stack/stack v1.8.0 08:36:40 go: finding github.com/golang/mock v1.2.0 08:36:40 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:36:40 go: finding github.com/google/uuid v1.1.0 08:36:40 go: finding github.com/gorilla/mux v1.7.1 08:36:40 go: finding github.com/hashicorp/consul/api v1.1.0 08:36:40 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:36:40 go: finding github.com/hashicorp/errwrap v1.0.0 08:36:40 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:36:40 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:36:40 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:36:40 go: finding github.com/hashicorp/go-multierror v1.0.0 08:36:40 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:36:40 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:36:40 go: finding github.com/hashicorp/go-syslog v1.0.0 08:36:40 go: finding github.com/hashicorp/go-uuid v1.0.1 08:36:40 go: finding github.com/hashicorp/go.net v0.0.1 08:36:40 go: finding github.com/hashicorp/golang-lru v0.5.0 08:36:40 go: finding github.com/hashicorp/logutils v1.0.0 08:36:40 go: finding github.com/hashicorp/mdns v1.0.0 08:36:40 go: finding github.com/hashicorp/memberlist v0.1.3 08:36:40 go: finding github.com/hashicorp/serf v0.8.2 08:36:40 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:36:40 go: finding github.com/mattn/go-colorable v0.0.9 08:36:40 go: finding github.com/mattn/go-isatty v0.0.3 08:36:40 go: finding github.com/miekg/dns v1.0.14 08:36:40 go: finding github.com/mitchellh/cli v1.0.0 08:36:40 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:36:40 go: finding github.com/mitchellh/copystructure v1.0.0 08:36:40 go: finding github.com/mitchellh/go-homedir v1.0.0 08:36:40 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:36:40 go: finding github.com/mitchellh/gox v0.4.0 08:36:40 go: finding github.com/mitchellh/iochan v1.0.0 08:36:40 go: finding github.com/mitchellh/mapstructure v1.1.2 08:36:40 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:36:40 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:36:40 go: finding github.com/pelletier/go-toml v1.2.0 08:36:40 go: finding github.com/pkg/errors v0.8.1 08:36:40 go: finding github.com/pmezard/go-difflib v1.0.0 08:36:40 go: finding github.com/posener/complete v1.1.1 08:36:40 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:36:40 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:36:40 go: finding github.com/soniah/gosnmp v1.21.0 08:36:40 go: finding github.com/stretchr/objx v0.1.0 08:36:40 go: finding github.com/stretchr/testify v1.5.1 08:36:40 go: finding github.com/ugorji/go v1.1.4 08:36:40 go: finding github.com/x448/float16 v0.8.4 08:36:40 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:36:40 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:36:40 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:36:40 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:36:40 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:36:40 go: finding gopkg.in/yaml.v2 v2.2.8 08:36:42 b9c365052c96: Pull complete 08:36:43 a2d8cc88f415: Pull complete 08:36:45 ea1d1ca13537: Pull complete 08:36:45 3750a50a1c5e: Pull complete 08:36:45 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 08:36:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:36:45 ---> 78745c68409d 08:36:45 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 08:36:46 Removing intermediate container 84131f9b8a6b 08:36:46 ---> 48796960baf5 08:36:46 Successfully built 48796960baf5 08:36:46 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 08:36:46 + docker inspect -f . ci-base-image-x86_64 08:36:46 . [Pipeline] withDockerContainer 08:36:46 prd-centos7-docker-4c-2g-6461 does not seem to be running inside a container 08:36:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:36:47 $ docker top 3e2ac972ab179268547240df0b942bfd52e649e282e3775976675a6816166c71 -eo pid,comm [Pipeline] { [Pipeline] sh 08:36:48 + go version 08:36:48 go version go1.13.5 linux/amd64 [Pipeline] sh 08:36:48 + make test 08:36:48 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:36:48 ---> Running in e71fd6219ecf 08:36:48 Removing intermediate container e71fd6219ecf 08:36:48 ---> 7998c1c18892 08:36:48 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 08:36:49 ---> Running in 89748d9af447 08:36:49 ? github.com/edgexfoundry/device-snmp-go [no test files] 08:36:49 Removing intermediate container 89748d9af447 08:36:49 ---> 84a4107a70cf 08:36:49 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 08:36:49 ---> Running in 9ac18fccf0c0 08:36:49 Removing intermediate container 9ac18fccf0c0 08:36:49 ---> e683618640ba 08:36:49 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:36:50 ---> Running in 77d17473251c 08:36:52 Removing intermediate container 77d17473251c 08:36:52 ---> 1ee8ce0b0bc8 08:36:52 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:36:52 ---> Running in 7b7ec71e916b 08:36:53 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:36:54 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:36:54 OK: 125 MiB in 39 packages 08:36:55 Removing intermediate container 7b7ec71e916b 08:36:55 ---> 4bc66007d60e 08:36:55 Step 8/10 : WORKDIR /device-snmp-go 08:36:55 ---> Running in 512588e9846a 08:36:56 Removing intermediate container 512588e9846a 08:36:56 ---> aa67f621b316 08:36:56 Step 9/10 : COPY . . 08:36:56 ---> 9619288cbdb6 08:36:56 Step 10/10 : RUN go mod download 08:36:56 ---> Running in 67dadccf6372 08:36:58 go: finding github.com/BurntSushi/toml v0.3.1 08:36:58 go: finding github.com/OneOfOne/xxhash v1.2.6 08:36:58 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:36:58 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:36:58 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:36:58 go: finding github.com/bgentry/speakeasy v0.1.0 08:36:58 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:36:58 go: finding github.com/davecgh/go-spew v1.1.1 08:36:58 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 08:36:58 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 08:36:58 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:36:58 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 08:36:58 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 08:36:58 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:36:58 go: finding github.com/fatih/color v1.7.0 08:36:58 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:36:58 go: finding github.com/go-kit/kit v0.8.0 08:36:59 go: finding github.com/go-logfmt/logfmt v0.4.0 08:36:59 go: finding github.com/go-stack/stack v1.8.0 08:36:59 go: finding github.com/golang/mock v1.2.0 08:36:59 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:36:59 go: finding github.com/google/uuid v1.1.0 08:36:59 go: finding github.com/gorilla/mux v1.7.1 08:36:59 go: finding github.com/hashicorp/consul/api v1.1.0 08:36:59 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:36:59 go: finding github.com/hashicorp/errwrap v1.0.0 08:36:59 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:36:59 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:36:59 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:36:59 go: finding github.com/hashicorp/go-multierror v1.0.0 08:36:59 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:36:59 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:36:59 go: finding github.com/hashicorp/go-syslog v1.0.0 08:36:59 go: finding github.com/hashicorp/go-uuid v1.0.1 08:36:59 go: finding github.com/hashicorp/go.net v0.0.1 08:36:59 go: finding github.com/hashicorp/golang-lru v0.5.0 08:36:59 go: finding github.com/hashicorp/logutils v1.0.0 08:36:59 go: finding github.com/hashicorp/mdns v1.0.0 08:36:59 go: finding github.com/hashicorp/memberlist v0.1.3 08:36:59 go: finding github.com/hashicorp/serf v0.8.2 08:36:59 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:36:59 go: finding github.com/mattn/go-colorable v0.0.9 08:36:59 go: finding github.com/mattn/go-isatty v0.0.3 08:36:59 go: finding github.com/miekg/dns v1.0.14 08:36:59 go: finding github.com/mitchellh/cli v1.0.0 08:36:59 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:36:59 go: finding github.com/mitchellh/copystructure v1.0.0 08:36:59 go: finding github.com/mitchellh/go-homedir v1.0.0 08:36:59 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:36:59 go: finding github.com/mitchellh/gox v0.4.0 08:36:59 go: finding github.com/mitchellh/iochan v1.0.0 08:36:59 go: finding github.com/mitchellh/mapstructure v1.1.2 08:36:59 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:36:59 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:36:59 go: finding github.com/pelletier/go-toml v1.2.0 08:36:59 go: finding github.com/pkg/errors v0.8.1 08:36:59 go: finding github.com/pmezard/go-difflib v1.0.0 08:36:59 go: finding github.com/posener/complete v1.1.1 08:36:59 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:36:59 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:36:59 go: finding github.com/soniah/gosnmp v1.21.0 08:36:59 go: finding github.com/stretchr/objx v0.1.0 08:36:59 go: finding github.com/stretchr/testify v1.5.1 08:36:59 go: finding github.com/ugorji/go v1.1.4 08:36:59 go: finding github.com/x448/float16 v0.8.4 08:36:59 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:36:59 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:36:59 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:36:59 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 08:36:59 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:36:59 go: finding gopkg.in/yaml.v2 v2.2.8 08:37:01 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 08:37:01 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 08:37:01 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:37:02 gofmt -l . 08:37:02 [ "`gofmt -l .`" = "" ] 08:37:02 ./bin/test-attribution-txt.sh 08:37:02 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:37:03 Stashed 1 file(s) [Pipeline] } 08:37:03 $ docker stop --time=1 3e2ac972ab179268547240df0b942bfd52e649e282e3775976675a6816166c71 08:37:04 $ docker rm -f 3e2ac972ab179268547240df0b942bfd52e649e282e3775976675a6816166c71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:37:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:37:06 + ls -al . 08:37:06 total 104 08:37:06 drwxrwxr-x. 8 jenkins jenkins 4096 Apr 28 08:37 . 08:37:06 drwxrwxr-x. 4 jenkins jenkins 28 Apr 28 08:36 .. 08:37:06 -rw-rw-r--. 1 jenkins jenkins 4910 Apr 28 08:36 Attribution.txt 08:37:06 drwxrwxr-x. 2 jenkins jenkins 87 Apr 28 08:36 bin 08:37:06 drwxrwxr-x. 3 jenkins jenkins 32 Apr 28 08:36 cmd 08:37:06 -rw-r--r--. 1 jenkins jenkins 8493 Apr 28 08:36 coverage.out 08:37:06 -rw-rw-r--. 1 jenkins jenkins 994 Apr 28 08:36 Dockerfile 08:37:06 -rw-rw-r--. 1 jenkins jenkins 409 Apr 28 08:36 Dockerfile.build 08:37:06 -rw-rw-r--. 1 jenkins jenkins 6 Apr 28 08:36 .dockerignore 08:37:06 drwxrwxr-x. 8 jenkins jenkins 179 Apr 28 08:36 .git 08:37:06 -rw-rw-r--. 1 jenkins jenkins 272 Apr 28 08:36 .gitignore 08:37:06 -rw-r--r--. 1 jenkins jenkins 203 Apr 28 08:37 go.mod 08:37:06 -rw-r--r--. 1 jenkins jenkins 12601 Apr 28 08:37 go.sum 08:37:06 drwxrwxr-x. 3 jenkins jenkins 20 Apr 28 08:36 internal 08:37:06 -rw-rw-r--. 1 jenkins jenkins 678 Apr 28 08:36 Jenkinsfile 08:37:06 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 28 08:36 LICENSE 08:37:06 -rw-rw-r--. 1 jenkins jenkins 937 Apr 28 08:36 Makefile 08:37:06 drwxrwxr-x. 2 jenkins jenkins 84 Apr 28 08:36 profiles 08:37:06 -rw-rw-r--. 1 jenkins jenkins 12398 Apr 28 08:36 README.md 08:37:06 drwxrwxr-x. 3 jenkins jenkins 74 Apr 28 08:36 .semver 08:37:06 -rw-rw-r--. 1 jenkins jenkins 5 Apr 28 08:33 VERSION 08:37:06 -rw-rw-r--. 1 jenkins jenkins 209 Apr 28 08:36 version.go [Pipeline] isUnix [Pipeline] sh 08:37:06 + 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=2df6a388d86acf306cadada7b0d82092b6ea7bbe --label arch=amd64 --label version=0.0.0 . 08:37:06 Sending build context to Docker daemon 366.1kB 08:37:06 Step 1/25 : ARG BASE=golang:1.13-alpine 08:37:06 Step 2/25 : FROM ${BASE} AS builder 08:37:06 ---> 48796960baf5 08:37:06 Step 3/25 : ARG MAKE='make build' 08:37:07 ---> Running in d4e628841566 08:37:07 Removing intermediate container d4e628841566 08:37:07 ---> 5295908b1c70 08:37:07 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 08:37:07 ---> Running in 0dd1db423c8c 08:37:07 Removing intermediate container 0dd1db423c8c 08:37:07 ---> fede67dccb17 08:37:07 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 08:37:07 ---> Running in 515f8f04bc90 08:37:07 Removing intermediate container 515f8f04bc90 08:37:07 ---> e101a8200815 08:37:07 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:37:07 ---> Running in 3e5f6496d338 08:37:08 Removing intermediate container 3e5f6496d338 08:37:08 ---> e48ff8510a63 08:37:08 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:37:08 ---> Running in e7d63d3d6861 08:37:08 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:37:09 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:37:09 OK: 143 MiB in 39 packages 08:37:09 Removing intermediate container 67dadccf6372 08:37:09 ---> 7876fc22c33b 08:37:09 Successfully built 7876fc22c33b 08:37:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } 08:37:09 Removing intermediate container e7d63d3d6861 08:37:09 ---> 783cef97d189 08:37:09 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 08:37:09 ---> Running in afcc44cbb322 08:37:09 Removing intermediate container afcc44cbb322 08:37:09 ---> 42a81ffdbcb4 08:37:09 Step 9/25 : COPY go.mod . [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:37:10 ---> 344f57b28239 08:37:10 Step 10/25 : COPY Makefile . 08:37:10 ---> 4e39b455ada1 08:37:10 Step 11/25 : RUN make update 08:37:10 + docker inspect -f . ci-base-image-arm64 08:37:10 ---> Running in 05fe6ed67a09 08:37:10 CGO_ENABLED=0 GO111MODULE=on go mod download 08:37:10 . [Pipeline] withDockerContainer 08:37:11 prd-ubuntu18.04-docker-arm64-4c-16g-6460 does not seem to be running inside a container 08:37:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:37:11 Removing intermediate container 05fe6ed67a09 08:37:11 ---> 5656f1dfa467 08:37:11 Step 12/25 : COPY . . 08:37:11 ---> 21a06fb6b881 08:37:11 Step 13/25 : RUN ${MAKE} 08:37:11 ---> Running in 40ff54c55623 08:37:11 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd 08:37:12 $ docker top 889a396c3d5607a8b3d78768d2f0ec8e918e267a286aab3148a0af1fbb1b08ea -eo pid,comm [Pipeline] { [Pipeline] sh 08:37:13 + go version 08:37:13 go version go1.13.5 linux/arm64 [Pipeline] sh 08:37:14 + make test 08:37:14 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:37:15 ? github.com/edgexfoundry/device-snmp-go [no test files] 08:37:21 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:37:25 Removing intermediate container 40ff54c55623 08:37:25 ---> af222f28c352 08:37:25 Step 14/25 : FROM alpine 08:37:25 latest: Pulling from library/alpine 08:37:25 cbdbe7a5bc2a: Pulling fs layer 08:37:25 cbdbe7a5bc2a: Verifying Checksum 08:37:25 cbdbe7a5bc2a: Download complete 08:37:25 cbdbe7a5bc2a: Pull complete 08:37:25 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 08:37:25 Status: Downloaded newer image for alpine:latest 08:37:25 ---> f70734b6a266 08:37:25 Step 15/25 : ENV APP_PORT=49993 08:37:25 ---> Running in 42d037c062c3 08:37:25 Removing intermediate container 42d037c062c3 08:37:25 ---> 0f969f67bc45 08:37:25 Step 16/25 : EXPOSE $APP_PORT 08:37:25 ---> Running in ec053d5b101e 08:37:25 Removing intermediate container ec053d5b101e 08:37:25 ---> be4c4dfc850b 08:37:25 Step 17/25 : ENV DEVICE_PORT=161 08:37:25 ---> Running in bca1cac1ccb9 08:37:25 Removing intermediate container bca1cac1ccb9 08:37:25 ---> f37d3d5dc4d4 08:37:25 Step 18/25 : EXPOSE $DEVICE_PORT 08:37:25 ---> Running in 7944e1f1fbc2 08:37:26 Removing intermediate container 7944e1f1fbc2 08:37:26 ---> 30ba751375f7 08:37:26 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 08:37:26 ---> 29d2859919ed 08:37:26 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 08:37:26 ---> ce2c97691082 08:37:26 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 08:37:26 ---> e6e0a951fecc 08:37:26 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 08:37:26 ---> Running in 8b31a7610a5d 08:37:26 Removing intermediate container 8b31a7610a5d 08:37:26 ---> 5a4e684f381d 08:37:26 Step 23/25 : LABEL arch=amd64 08:37:27 ---> Running in 25bfcd8162f4 08:37:27 Removing intermediate container 25bfcd8162f4 08:37:27 ---> a25ae74fead9 08:37:27 Step 24/25 : LABEL git_sha=2df6a388d86acf306cadada7b0d82092b6ea7bbe 08:37:27 ---> Running in 40c5b6b021ca 08:37:27 Removing intermediate container 40c5b6b021ca 08:37:27 ---> 1ce206b856bb 08:37:27 Step 25/25 : LABEL version=0.0.0 08:37:27 ---> Running in 73c9a8576cfc 08:37:27 Removing intermediate container 73c9a8576cfc 08:37:27 ---> 9c7be9652ab5 08:37:27 [Warning] One or more build-args [ARCH] were not consumed 08:37:27 Successfully built 9c7be9652ab5 08:37:27 Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:37:47 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 08:37:47 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements 08:37:47 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:37:49 gofmt -l . 08:37:49 [ "`gofmt -l .`" = "" ] 08:37:49 ./bin/test-attribution-txt.sh 08:37:49 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:37:50 Warning: overwriting stash ‘coverage-report’ 08:37:50 Stashed 1 file(s) [Pipeline] } 08:37:50 $ docker stop --time=1 889a396c3d5607a8b3d78768d2f0ec8e918e267a286aab3148a0af1fbb1b08ea 08:37:52 $ docker rm -f 889a396c3d5607a8b3d78768d2f0ec8e918e267a286aab3148a0af1fbb1b08ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:37:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:37:54 + ls -al . 08:37:54 total 132 08:37:54 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 08:37 . 08:37:54 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 08:35 .. 08:37:54 -rw-rw-r-- 1 jenkins jenkins 6 Apr 28 08:36 .dockerignore 08:37:54 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 08:36 .git 08:37:54 -rw-rw-r-- 1 jenkins jenkins 272 Apr 28 08:36 .gitignore 08:37:54 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 08:36 .semver 08:37:54 -rw-rw-r-- 1 jenkins jenkins 4910 Apr 28 08:36 Attribution.txt 08:37:54 -rw-rw-r-- 1 jenkins jenkins 994 Apr 28 08:36 Dockerfile 08:37:54 -rw-rw-r-- 1 jenkins jenkins 409 Apr 28 08:36 Dockerfile.build 08:37:54 -rw-rw-r-- 1 jenkins jenkins 678 Apr 28 08:36 Jenkinsfile 08:37:54 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 28 08:36 LICENSE 08:37:54 -rw-rw-r-- 1 jenkins jenkins 937 Apr 28 08:36 Makefile 08:37:54 -rw-rw-r-- 1 jenkins jenkins 12398 Apr 28 08:36 README.md 08:37:54 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 08:33 VERSION 08:37:54 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 08:36 bin 08:37:54 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 08:36 cmd 08:37:54 -rw-r--r-- 1 jenkins jenkins 8493 Apr 28 08:37 coverage.out 08:37:54 -rw-r--r-- 1 jenkins jenkins 203 Apr 28 08:37 go.mod 08:37:54 -rw-r--r-- 1 jenkins jenkins 12601 Apr 28 08:37 go.sum 08:37:54 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 08:36 internal 08:37:54 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 08:36 profiles 08:37:54 -rw-rw-r-- 1 jenkins jenkins 209 Apr 28 08:36 version.go [Pipeline] isUnix [Pipeline] sh 08:37:54 + 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=2df6a388d86acf306cadada7b0d82092b6ea7bbe --label arch=arm64 --label version=0.0.0 . 08:37:54 Sending build context to Docker daemon 366.1kB 08:37:54 Step 1/25 : ARG BASE=golang:1.13-alpine 08:37:54 Step 2/25 : FROM ${BASE} AS builder 08:37:54 ---> 7876fc22c33b 08:37:54 Step 3/25 : ARG MAKE='make build' 08:37:55 ---> Running in 1d96bceca46c 08:37:55 Removing intermediate container 1d96bceca46c 08:37:55 ---> 756bcac4552a 08:37:55 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 08:37:55 ---> Running in 1f77d9b3e499 08:37:56 Removing intermediate container 1f77d9b3e499 08:37:56 ---> 759250155449 08:37:56 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 08:37:56 ---> Running in b35f037461b6 08:37:56 Removing intermediate container b35f037461b6 08:37:56 ---> 9a779db26497 08:37:56 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:37:56 ---> Running in 3f1907bbfeee 08:37:58 Removing intermediate container 3f1907bbfeee 08:37:58 ---> 8071637b14ce 08:37:58 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:37:58 ---> Running in 5bfa5b917b86 08:37:59 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:38:00 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:38:00 OK: 125 MiB in 39 packages 08:38:01 Removing intermediate container 5bfa5b917b86 08:38:01 ---> b0a063e258dc 08:38:01 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 08:38:02 ---> Running in bc60ca4167eb 08:38:02 Removing intermediate container bc60ca4167eb 08:38:02 ---> 347258eb98a3 08:38:02 Step 9/25 : COPY go.mod . 08:38:02 ---> b27e7beefe61 08:38:02 Step 10/25 : COPY Makefile . 08:38:03 ---> bfcaca53cd92 08:38:03 Step 11/25 : RUN make update 08:38:03 ---> Running in 9a54bfdedcc1 08:38:04 CGO_ENABLED=0 GO111MODULE=on go mod download 08:38:05 Removing intermediate container 9a54bfdedcc1 08:38:05 ---> 62b0c3eeeaac 08:38:05 Step 12/25 : COPY . . 08:38:06 ---> ca8257012c68 08:38:06 Step 13/25 : RUN ${MAKE} 08:38:06 ---> Running in 3cf6068ed654 08:38:07 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd 08:38:34 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:38:37 Removing intermediate container 3cf6068ed654 08:38:37 ---> d8755528c3e0 08:38:37 Step 14/25 : FROM alpine 08:38:37 latest: Pulling from library/alpine 08:38:37 29e5d40040c1: Pulling fs layer 08:38:38 29e5d40040c1: Download complete 08:38:38 29e5d40040c1: Pull complete 08:38:38 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 08:38:38 Status: Downloaded newer image for alpine:latest 08:38:38 ---> c20d2a9ab686 08:38:38 Step 15/25 : ENV APP_PORT=49993 08:38:39 ---> Running in 675ec1355d64 08:38:39 Removing intermediate container 675ec1355d64 08:38:39 ---> 16b89fedaf15 08:38:39 Step 16/25 : EXPOSE $APP_PORT 08:38:39 ---> Running in 496881071f86 08:38:39 Removing intermediate container 496881071f86 08:38:39 ---> c91ca1105d87 08:38:39 Step 17/25 : ENV DEVICE_PORT=161 08:38:39 ---> Running in da87fee64f59 08:38:40 Removing intermediate container da87fee64f59 08:38:40 ---> d3c6fc5528ad 08:38:40 Step 18/25 : EXPOSE $DEVICE_PORT 08:38:40 ---> Running in a9c38ef7a982 08:38:40 Removing intermediate container a9c38ef7a982 08:38:40 ---> af1a0c830d98 08:38:40 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 08:38:41 ---> c64a303df0a1 08:38:41 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 08:38:42 ---> cee8f50505ee 08:38:42 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 08:38:42 ---> 3fa497a24896 08:38:42 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 08:38:42 ---> Running in 33784c359539 08:38:43 Removing intermediate container 33784c359539 08:38:43 ---> 489e66eedcc2 08:38:43 Step 23/25 : LABEL arch=arm64 08:38:43 ---> Running in e7e8de2df85b 08:38:43 Removing intermediate container e7e8de2df85b 08:38:43 ---> 414c978a92a9 08:38:43 Step 24/25 : LABEL git_sha=2df6a388d86acf306cadada7b0d82092b6ea7bbe 08:38:43 ---> Running in c79d4a1fb4ea 08:38:44 Removing intermediate container c79d4a1fb4ea 08:38:44 ---> 15e8d55e7038 08:38:44 Step 25/25 : LABEL version=0.0.0 08:38:44 ---> Running in 27f951c6fd12 08:38:44 Removing intermediate container 27f951c6fd12 08:38:44 ---> 033811ff5650 08:38:44 [Warning] One or more build-args [ARCH] were not consumed 08:38:44 Successfully built 033811ff5650 08:38:44 Successfully tagged docker-device-snmp-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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 08:38:45 provisioning config files... 08:38:45 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-49@tmp/config4531224155975069350tmp [Pipeline] { [Pipeline] sh 08:38:46 + curl -s https://codecov.io/bash 08:38:46 + bash -s - -t @/w/workspace/dgexfoundry_device-snmp-go_PR-49@tmp/config4531224155975069350tmp 08:38:46 08:38:46 _____ _ 08:38:46 / ____| | | 08:38:46 | | ___ __| | ___ ___ _____ __ 08:38:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:38:46 | |___| (_) | (_| | __/ (_| (_) \ V / 08:38:46 \_____\___/ \__,_|\___|\___\___/ \_/ 08:38:46 Bash-tbd 08:38:46 08:38:46 08:38:46 ==> Jenkins CI detected. 08:38:46 project root: . 08:38:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:38:46 ==> Running gcov in . (disable via -X gcov) 08:38:46 ==> Python coveragepy not found 08:38:46 ==> Searching for coverage reports in: 08:38:46 + . 08:38:46 -> Found 1 reports 08:38:46 ==> Detecting git/mercurial file structure 08:38:46 ==> Reading reports 08:38:46 + ./coverage.out bytes=8493 08:38:46 ==> Appending adjustments 08:38:46 http://docs.codecov.io/docs/fixing-reports 08:38:46 + Found adjustments 08:38:46 ==> Gzipping contents 08:38:46 ==> Uploading reports 08:38:46 url: https://codecov.io 08:38:46 query: branch=PR-49&commit=2df6a388d86acf306cadada7b0d82092b6ea7bbe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-49%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=49&job= 08:38:46 -> Pinging Codecov 08:38:46 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-49&commit=2df6a388d86acf306cadada7b0d82092b6ea7bbe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-49%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=49&job= 08:38:47 -> Uploading 08:38:47 -> View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/2df6a388d86acf306cadada7b0d82092b6ea7bbe [Pipeline] } 08:38:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:38:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:38:49 ---> package-listing.sh 08:38:49 ++ facter osfamily 08:38:49 ++ tr '[:upper:]' '[:lower:]' 08:38:49 + OS_FAMILY=redhat 08:38:49 + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-49 08:38:49 + START_PACKAGES=/tmp/packages_start.txt 08:38:49 + END_PACKAGES=/tmp/packages_end.txt 08:38:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:38:49 + PACKAGES=/tmp/packages_start.txt 08:38:49 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-49 ']' 08:38:49 + PACKAGES=/tmp/packages_end.txt 08:38:49 + case "${OS_FAMILY}" in 08:38:49 + rpm -qa 08:38:49 + sort 08:38:53 + '[' -f /tmp/packages_start.txt ']' 08:38:53 + '[' -f /tmp/packages_end.txt ']' 08:38:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:38:53 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-49 ']' 08:38:53 + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-49/archives/ 08:38:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-49/archives/ [Pipeline] isUnix [Pipeline] sh 08:38:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:38:53 08:38:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:38:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:38:54 alpine: Pulling from edgex-lftools-log-publisher 08:38:54 c9b1b535fdd9: Pulling fs layer 08:38:54 2cc5ad85d9ab: Pulling fs layer 08:38:54 756a868c4378: Pulling fs layer 08:38:54 444b2fc9a129: Pulling fs layer 08:38:54 ea15f1150254: Pulling fs layer 08:38:54 41b27a9f41bf: Pulling fs layer 08:38:54 28c525ee5125: Pulling fs layer 08:38:54 094b1ea09ed8: Pulling fs layer 08:38:54 138eaada9080: Pulling fs layer 08:38:54 0622d0fa9048: Pulling fs layer 08:38:54 ea15f1150254: Waiting 08:38:54 41b27a9f41bf: Waiting 08:38:54 28c525ee5125: Waiting 08:38:54 094b1ea09ed8: Waiting 08:38:54 138eaada9080: Waiting 08:38:54 0622d0fa9048: Waiting 08:38:54 444b2fc9a129: Waiting 08:38:54 2cc5ad85d9ab: Download complete 08:38:54 444b2fc9a129: Download complete 08:38:54 c9b1b535fdd9: Download complete 08:38:54 ea15f1150254: Verifying Checksum 08:38:54 ea15f1150254: Download complete 08:38:54 28c525ee5125: Verifying Checksum 08:38:54 28c525ee5125: Download complete 08:38:54 c9b1b535fdd9: Pull complete 08:38:54 756a868c4378: Verifying Checksum 08:38:54 756a868c4378: Download complete 08:38:54 2cc5ad85d9ab: Pull complete 08:38:54 138eaada9080: Verifying Checksum 08:38:54 138eaada9080: Download complete 08:38:54 0622d0fa9048: Verifying Checksum 08:38:54 0622d0fa9048: Download complete 08:38:54 094b1ea09ed8: Verifying Checksum 08:38:54 094b1ea09ed8: Download complete 08:38:55 41b27a9f41bf: Verifying Checksum 08:38:55 41b27a9f41bf: Download complete 08:38:56 756a868c4378: Pull complete 08:38:56 444b2fc9a129: Pull complete 08:38:56 ea15f1150254: Pull complete 08:38:59 41b27a9f41bf: Pull complete 08:38:59 28c525ee5125: Pull complete 08:39:01 094b1ea09ed8: Pull complete 08:39:01 138eaada9080: Pull complete 08:39:02 0622d0fa9048: Pull complete 08:39:02 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:39:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:39:02 prd-centos7-docker-4c-2g-6459 does not seem to be running inside a container 08:39:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-snmp-go_PR-49 -v /w/workspace/dgexfoundry_device-snmp-go_PR-49:/w/workspace/dgexfoundry_device-snmp-go_PR-49:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-49@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:39:03 $ docker top aacd06884732f1467b9802e8331efe3f46abf94777f409761dbaed85fc973d49 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:39:03 provisioning config files... 08:39:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-49@tmp/config4457801576682349455tmp [Pipeline] { [Pipeline] echo 08:39:03 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:39:04 ---> create-netrc.sh [Pipeline] echo 08:39:04 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:39:04 ---> logs-deploy.sh 08:39:04 + ARCHIVE_ARTIFACTS= 08:39:04 + LOGS_SERVER=https://logs.edgexfoundry.org 08:39:04 + '[' https://logs.edgexfoundry.org == None ']' 08:39:04 + NEXUS_URL=https://nexus.edgexfoundry.org 08:39:04 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-49/2 08:39:04 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/PR-49/2/ 08:39:04 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-49/2 /w/workspace/dgexfoundry_device-snmp-go_PR-49 08:39:05 Archives upload complete. 08:39:05 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-49/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/PR-49/2/