Pull request #53 opened 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 jamesrgregg for edgexfoundry/device-snmp-go Obtained Jenkinsfile from a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc+f8f17c2013d07295decc13e984e4b5973bc1f0af (0ec9f813ae699c7667134d5da1483260136abf45) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-53/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3479 in /w/workspace/dgexfoundry_device-snmp-go_PR-53 [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 Fetching without tags Merging remotes/origin/master commit f8f17c2013d07295decc13e984e4b5973bc1f0af into PR head commit a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/dgexfoundry_device-snmp-go_PR-53 # 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/53/head:refs/remotes/origin/PR-53 +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/53/head:refs/remotes/origin/PR-53 # 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/53/head:refs/remotes/origin/PR-53 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc # timeout=10 Merge succeeded, producing a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc Checking out Revision a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc (PR-53) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f8f17c2013d07295decc13e984e4b5973bc1f0af # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc # timeout=10 Commit message: "docs: Add standard PR template" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:59:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:59:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:59:56 ========================================================= 03:59:56 EdgeX Global Pipelines Version Info 03:59:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:59:58 ------------------- 03:59:58 stable info: 03:59:58 ------------------- 03:59:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:59:58 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 03:59:58 Message: update stable to v1.0.89 03:59:58 ------------------- 03:59:58 experimental info: 03:59:58 ------------------- 03:59:58 Commited By: **** collab-it+edgex@linuxfoundation.org 03:59:58 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 03:59:58 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 04:00:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:00:00 04:00:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:00:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:00:00 latest: Pulling from edgex-devops/git-semver 04:00:00 9123ac7c32f7: Pulling fs layer 04:00:00 b8cc5d1170e3: Pulling fs layer 04:00:00 2924cbbf6a41: Pulling fs layer 04:00:00 93b08a4f1073: Pulling fs layer 04:00:00 93b08a4f1073: Waiting 04:00:00 b8cc5d1170e3: Verifying Checksum 04:00:00 b8cc5d1170e3: Download complete 04:00:01 9123ac7c32f7: Verifying Checksum 04:00:01 9123ac7c32f7: Download complete 04:00:01 2924cbbf6a41: Verifying Checksum 04:00:01 2924cbbf6a41: Download complete 04:00:01 93b08a4f1073: Verifying Checksum 04:00:01 93b08a4f1073: Download complete 04:00:01 9123ac7c32f7: Pull complete 04:00:01 b8cc5d1170e3: Pull complete 04:00:02 2924cbbf6a41: Pull complete 04:00:02 93b08a4f1073: Pull complete 04:00:02 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 04:00:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:00:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:00:02 prd-centos7-docker-4c-2g-3479 does not seem to be running inside a container 04:00:02 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-53 -v /w/workspace/dgexfoundry_device-snmp-go_PR-53:/w/workspace/dgexfoundry_device-snmp-go_PR-53:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-53@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-53@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:00:04 $ docker top 93d1b3892c7fcd577b250984c4047326b96a0d8d8ad38d6d1c229614bc7e0c17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:00:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:00:05 [ssh-agent] Looking for ssh-agent implementation... 04:00:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:00:05 $ docker exec 93d1b3892c7fcd577b250984c4047326b96a0d8d8ad38d6d1c229614bc7e0c17 ssh-agent 04:00:05 SSH_AUTH_SOCK=/tmp/ssh-spaOqEGiNh8s/agent.12 04:00:05 SSH_AGENT_PID=17 04:00:05 Running ssh-add (command line suppressed) 04:00:05 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-53@tmp/private_key_2666040260669020398.key (/w/workspace/dgexfoundry_device-snmp-go_PR-53@tmp/private_key_2666040260669020398.key) 04:00:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:00:06 + git describe --exact-match --tags HEAD 04:00:06 fatal: No names found, cannot describe anything. [Pipeline] } 04:00:06 $ docker exec --env ******** --env ******** 93d1b3892c7fcd577b250984c4047326b96a0d8d8ad38d6d1c229614bc7e0c17 ssh-agent -k 04:00:06 unset SSH_AUTH_SOCK; 04:00:06 unset SSH_AGENT_PID; 04:00:06 echo Agent pid 17 killed; 04:00:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 04:00:06 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 04:00:06 This usually means this commit has not been tagged. [Pipeline] sshagent 04:00:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:00:06 [ssh-agent] Looking for ssh-agent implementation... 04:00:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:00:06 $ docker exec 93d1b3892c7fcd577b250984c4047326b96a0d8d8ad38d6d1c229614bc7e0c17 ssh-agent 04:00:06 SSH_AUTH_SOCK=/tmp/ssh-BFixkxiJmCwM/agent.45 04:00:06 SSH_AGENT_PID=51 04:00:06 Running ssh-add (command line suppressed) 04:00:06 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-53@tmp/private_key_133333750166514772.key (/w/workspace/dgexfoundry_device-snmp-go_PR-53@tmp/private_key_133333750166514772.key) 04:00:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:00:07 + git semver init 04:00:07 # -> Open(): unable to determine branch for HEAD 04:00:07 # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-53/.git 04:00:07 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-53 04:00:07 # $SEMVER_REMOTE_NAME = origin 04:00:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:00:07 # $SEMVER_USER_NAME = edgex-jenkins 04:00:07 # $SEMVER_BRANCH = PR-53 04:00:07 # $SEMVER_TEMP = /tmp/semver-283881561 04:00:07 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 04:00:07 # '/tmp/semver-283881561' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-53/.semver' 04:00:07 # -> Force: false 04:00:07 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-53/.semver [Pipeline] } 04:00:07 $ docker exec --env ******** --env ******** 93d1b3892c7fcd577b250984c4047326b96a0d8d8ad38d6d1c229614bc7e0c17 ssh-agent -k 04:00:08 unset SSH_AUTH_SOCK; 04:00:08 unset SSH_AGENT_PID; 04:00:08 echo Agent pid 51 killed; 04:00:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:00:08 + git semver [Pipeline] } 04:00:08 $ docker stop --time=1 93d1b3892c7fcd577b250984c4047326b96a0d8d8ad38d6d1c229614bc7e0c17 04:00:09 $ docker rm -f 93d1b3892c7fcd577b250984c4047326b96a0d8d8ad38d6d1c229614bc7e0c17 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 04:00:10 Stashed 40 file(s) [Pipeline] echo 04:00:10 [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 04:00:25 Still waiting to schedule task 04:00:25 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3479’ 04:00:25 Still waiting to schedule task 04:00:25 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:01:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3480 in /w/workspace/dgexfoundry_device-snmp-go_PR-53 [Pipeline] { [Pipeline] ws 04:01:57 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 04:02:02 using credential edgex-jenkins-ssh 04:02:02 Cloning the remote Git repository 04:02:02 Cloning with configured refspecs honoured and without tags 04:02:02 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 04:02:02 > git init /w/workspace/device-snmp-go/1 # timeout=10 04:02:02 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:02:02 > git --version # timeout=10 04:02:02 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:02 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/53/head:refs/remotes/origin/PR-53 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:02:03 Fetching without tags 04:02:04 Merging remotes/origin/master commit f8f17c2013d07295decc13e984e4b5973bc1f0af into PR head commit a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc 04:02:04 Merge succeeded, producing a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc 04:02:04 Checking out Revision a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc (PR-53) 04:02:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:02:03 > git config --add remote.origin.fetch +refs/pull/53/head:refs/remotes/origin/PR-53 # timeout=10 04:02:03 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:02:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:02:03 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:02:03 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/53/head:refs/remotes/origin/PR-53 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:02:04 > git config core.sparsecheckout # timeout=10 04:02:04 > git checkout -f a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc # timeout=10 04:02:04 > git remote # timeout=10 04:02:04 > git config --get remote.origin.url # timeout=10 04:02:04 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:04 > git merge f8f17c2013d07295decc13e984e4b5973bc1f0af # timeout=10 04:02:04 > git rev-parse HEAD^{commit} # timeout=10 04:02:04 > git config core.sparsecheckout # timeout=10 04:02:04 > git checkout -f a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc # timeout=10 04:02:09 Commit message: "docs: Add standard PR template" 04:02:09 > git --version # timeout=10 04:02:09 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:02:10 ========================================================= 04:02:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 04:02:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:02:11 + 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 . 04:02:12 Sending build context to Docker daemon 375.8kB 04:02:12 Step 1/10 : ARG BASE=golang:1.13-alpine 04:02:12 Step 2/10 : FROM ${BASE} 04:02:12 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:02:12 cde5963f3b93: Pulling fs layer 04:02:12 2a23fa8c16f7: Pulling fs layer 04:02:12 777b28850792: Pulling fs layer 04:02:12 8a11ddd9e578: Pulling fs layer 04:02:12 4cf88f913ddb: Pulling fs layer 04:02:12 1df406cf5192: Pulling fs layer 04:02:12 cd6300453558: Pulling fs layer 04:02:12 8a11ddd9e578: Waiting 04:02:12 b9c365052c96: Pulling fs layer 04:02:12 a2d8cc88f415: Pulling fs layer 04:02:12 ea1d1ca13537: Pulling fs layer 04:02:12 3750a50a1c5e: Pulling fs layer 04:02:12 4cf88f913ddb: Waiting 04:02:12 cd6300453558: Waiting 04:02:12 b9c365052c96: Waiting 04:02:12 a2d8cc88f415: Waiting 04:02:12 ea1d1ca13537: Waiting 04:02:12 3750a50a1c5e: Waiting 04:02:12 1df406cf5192: Waiting 04:02:12 777b28850792: Verifying Checksum 04:02:12 777b28850792: Download complete 04:02:12 2a23fa8c16f7: Verifying Checksum 04:02:12 2a23fa8c16f7: Download complete 04:02:12 4cf88f913ddb: Verifying Checksum 04:02:12 4cf88f913ddb: Download complete 04:02:12 1df406cf5192: Download complete 04:02:12 cde5963f3b93: Verifying Checksum 04:02:13 cde5963f3b93: Pull complete 04:02:14 2a23fa8c16f7: Pull complete 04:02:14 cd6300453558: Verifying Checksum 04:02:14 cd6300453558: Download complete 04:02:14 a2d8cc88f415: Verifying Checksum 04:02:14 a2d8cc88f415: Download complete 04:02:14 777b28850792: Pull complete 04:02:15 ea1d1ca13537: Verifying Checksum 04:02:15 ea1d1ca13537: Download complete 04:02:16 3750a50a1c5e: Verifying Checksum 04:02:16 3750a50a1c5e: Download complete 04:02:17 b9c365052c96: Download complete 04:02:18 8a11ddd9e578: Verifying Checksum 04:02:18 8a11ddd9e578: Download complete 04:02:28 8a11ddd9e578: Pull complete 04:02:28 4cf88f913ddb: Pull complete 04:02:28 1df406cf5192: Pull complete 04:02:34 cd6300453558: Pull complete 04:02:38 b9c365052c96: Pull complete 04:02:38 a2d8cc88f415: Pull complete 04:02:40 ea1d1ca13537: Pull complete 04:02:40 3750a50a1c5e: Pull complete 04:02:40 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 04:02:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 04:02:40 ---> 78745c68409d 04:02:40 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 04:02:46 ---> Running in e61c22bad5f3 04:02:46 Removing intermediate container e61c22bad5f3 04:02:46 ---> e771924346d0 04:02:46 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 04:02:46 ---> Running in 5a00c7de39e5 04:02:46 Removing intermediate container 5a00c7de39e5 04:02:46 ---> 47e9746a6243 04:02:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 04:02:46 ---> Running in f79f610b2b6a 04:02:46 Removing intermediate container f79f610b2b6a 04:02:46 ---> 7b1218a97f89 04:02:46 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:02:47 ---> Running in e43820b87114 04:02:49 Removing intermediate container e43820b87114 04:02:49 ---> ea854f597471 04:02:49 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:02:49 ---> Running in 08bf9ab3cdfc 04:02:51 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 04:02:52 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 04:02:52 OK: 125 MiB in 39 packages 04:02:53 Removing intermediate container 08bf9ab3cdfc 04:02:53 ---> 8203b70cde7f 04:02:53 Step 8/10 : WORKDIR /device-snmp-go 04:02:54 ---> Running in 92a68e3f8545 04:02:54 Removing intermediate container 92a68e3f8545 04:02:54 ---> 8fd66ba6b301 04:02:54 Step 9/10 : COPY . . 04:02:55 ---> f839dcc51afa 04:02:55 Step 10/10 : RUN go mod download 04:02:55 ---> Running in 2c3d2c4e2e9e 04:02:59 go: finding github.com/BurntSushi/toml v0.3.1 04:02:59 go: finding github.com/OneOfOne/xxhash v1.2.6 04:02:59 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:02:59 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:02:59 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:02:59 go: finding github.com/bgentry/speakeasy v0.1.0 04:02:59 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 04:02:59 go: finding github.com/davecgh/go-spew v1.1.1 04:02:59 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 04:02:59 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 04:02:59 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 04:02:59 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:02:59 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 04:02:59 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 04:02:59 go: finding github.com/fatih/color v1.7.0 04:02:59 go: finding github.com/fxamacker/cbor/v2 v2.2.0 04:02:59 go: finding github.com/go-kit/kit v0.8.0 04:02:59 go: finding github.com/go-logfmt/logfmt v0.4.0 04:02:59 go: finding github.com/go-stack/stack v1.8.0 04:02:59 go: finding github.com/golang/mock v1.2.0 04:02:59 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:02:59 go: finding github.com/google/uuid v1.1.0 04:02:59 go: finding github.com/gorilla/mux v1.7.1 04:03:00 go: finding github.com/hashicorp/consul/api v1.1.0 04:03:00 go: finding github.com/hashicorp/consul/sdk v0.1.1 04:03:00 go: finding github.com/hashicorp/errwrap v1.0.0 04:03:00 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 04:03:00 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:03:00 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:03:00 go: finding github.com/hashicorp/go-multierror v1.0.0 04:03:00 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:03:00 go: finding github.com/hashicorp/go-sockaddr v1.0.0 04:03:00 go: finding github.com/hashicorp/go-syslog v1.0.0 04:03:00 go: finding github.com/hashicorp/go-uuid v1.0.1 04:03:00 go: finding github.com/hashicorp/go.net v0.0.1 04:03:00 go: finding github.com/hashicorp/golang-lru v0.5.0 04:03:00 go: finding github.com/hashicorp/logutils v1.0.0 04:03:00 go: finding github.com/hashicorp/mdns v1.0.0 04:03:00 go: finding github.com/hashicorp/memberlist v0.1.3 04:03:00 go: finding github.com/hashicorp/serf v0.8.2 04:03:00 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:03:00 go: finding github.com/mattn/go-colorable v0.0.9 04:03:00 go: finding github.com/mattn/go-isatty v0.0.3 04:03:00 go: finding github.com/miekg/dns v1.0.14 04:03:00 go: finding github.com/mitchellh/cli v1.0.0 04:03:00 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:03:00 go: finding github.com/mitchellh/copystructure v1.0.0 04:03:00 go: finding github.com/mitchellh/go-homedir v1.0.0 04:03:00 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:03:00 go: finding github.com/mitchellh/gox v0.4.0 04:03:00 go: finding github.com/mitchellh/iochan v1.0.0 04:03:00 go: finding github.com/mitchellh/mapstructure v1.1.2 04:03:00 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:03:00 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:03:00 go: finding github.com/pelletier/go-toml v1.2.0 04:03:00 go: finding github.com/pkg/errors v0.8.1 04:03:00 go: finding github.com/pmezard/go-difflib v1.0.0 04:03:00 go: finding github.com/posener/complete v1.1.1 04:03:00 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 04:03:00 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:03:00 go: finding github.com/soniah/gosnmp v1.21.0 04:03:00 go: finding github.com/stretchr/objx v0.1.0 04:03:00 go: finding github.com/stretchr/testify v1.5.1 04:03:00 go: finding github.com/ugorji/go v1.1.4 04:03:00 go: finding github.com/x448/float16 v0.8.4 04:03:00 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:03:00 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 04:03:00 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:03:00 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:03:00 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 04:03:00 go: finding gopkg.in/yaml.v2 v2.2.8 04:03:02 Running on prd-centos7-docker-4c-2g-3481 in /w/workspace/dgexfoundry_device-snmp-go_PR-53 [Pipeline] { [Pipeline] ws 04:03:02 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 04:03:05 using credential edgex-jenkins-ssh 04:03:05 Cloning the remote Git repository 04:03:05 Cloning with configured refspecs honoured and without tags 04:03:06 Fetching without tags 04:03:05 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 04:03:05 > git init /w/workspace/device-snmp-go/1 # timeout=10 04:03:05 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:03:05 > git --version # timeout=10 04:03:05 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/53/head:refs/remotes/origin/PR-53 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:03:06 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:03:06 > git config --add remote.origin.fetch +refs/pull/53/head:refs/remotes/origin/PR-53 # timeout=10 04:03:06 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:03:06 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:03:06 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:03:06 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/53/head:refs/remotes/origin/PR-53 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:03:06 Merging remotes/origin/master commit f8f17c2013d07295decc13e984e4b5973bc1f0af into PR head commit a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc 04:03:06 Merge succeeded, producing a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc 04:03:06 Checking out Revision a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc (PR-53) 04:03:06 > git config core.sparsecheckout # timeout=10 04:03:06 > git checkout -f a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc # timeout=10 04:03:06 > git remote # timeout=10 04:03:06 > git config --get remote.origin.url # timeout=10 04:03:06 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:06 > git merge f8f17c2013d07295decc13e984e4b5973bc1f0af # timeout=10 04:03:06 > git rev-parse HEAD^{commit} # timeout=10 04:03:06 > git config core.sparsecheckout # timeout=10 04:03:06 > git checkout -f a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc # timeout=10 04:03:10 Commit message: "docs: Add standard PR template" 04:03:10 > git --version # timeout=10 04:03:10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 04:03:11 Removing intermediate container 2c3d2c4e2e9e 04:03:11 ---> 8a0836db1efc 04:03:11 Successfully built 8a0836db1efc 04:03:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] script [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] unstash [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 04:03:11 ========================================================= 04:03:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 04:03:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:03:12 + docker inspect -f . ci-base-image-arm64 04:03:12 . [Pipeline] withDockerContainer 04:03:12 + 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 . 04:03:12 prd-ubuntu18.04-docker-arm64-4c-16g-3480 does not seem to be running inside a container 04:03:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:03:12 Sending build context to Docker daemon 375.8kB 04:03:12 Step 1/10 : ARG BASE=golang:1.13-alpine 04:03:12 Step 2/10 : FROM ${BASE} 04:03:13 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 04:03:13 e6b0cf9c0882: Pulling fs layer 04:03:13 2848faf0eed1: Pulling fs layer 04:03:13 0f37312ad70f: Pulling fs layer 04:03:13 5788d62ee057: Pulling fs layer 04:03:13 0e6b1d234666: Pulling fs layer 04:03:13 bf5d7aec512f: Pulling fs layer 04:03:13 34c802a77dc8: Pulling fs layer 04:03:13 9eb99e56ec68: Pulling fs layer 04:03:13 27c7a5d97fbd: Pulling fs layer 04:03:13 5c102a31e300: Pulling fs layer 04:03:13 dcfb455df0a1: Pulling fs layer 04:03:13 5788d62ee057: Waiting 04:03:13 0e6b1d234666: Waiting 04:03:13 bf5d7aec512f: Waiting 04:03:13 34c802a77dc8: Waiting 04:03:13 5c102a31e300: Waiting 04:03:13 9eb99e56ec68: Waiting 04:03:13 dcfb455df0a1: Waiting 04:03:13 27c7a5d97fbd: Waiting 04:03:13 0f37312ad70f: Download complete 04:03:13 2848faf0eed1: Verifying Checksum 04:03:13 2848faf0eed1: Download complete 04:03:13 0e6b1d234666: Verifying Checksum 04:03:13 0e6b1d234666: Download complete 04:03:13 bf5d7aec512f: Download complete 04:03:13 e6b0cf9c0882: Verifying Checksum 04:03:13 e6b0cf9c0882: Download complete 04:03:13 e6b0cf9c0882: Pull complete 04:03:13 34c802a77dc8: Verifying Checksum 04:03:13 34c802a77dc8: Download complete 04:03:13 27c7a5d97fbd: Verifying Checksum 04:03:13 27c7a5d97fbd: Download complete 04:03:14 $ docker top 341c3753e56e31cd65ba26e914a962d0cae6c1f1e843c1758e0ad3eba79d9408 -eo pid,comm 04:03:14 5c102a31e300: Verifying Checksum 04:03:14 5c102a31e300: Download complete 04:03:14 5788d62ee057: Verifying Checksum 04:03:14 5788d62ee057: Download complete 04:03:14 dcfb455df0a1: Verifying Checksum 04:03:14 dcfb455df0a1: Download complete 04:03:14 9eb99e56ec68: Verifying Checksum 04:03:14 9eb99e56ec68: Download complete [Pipeline] { [Pipeline] sh 04:03:15 2848faf0eed1: Pull complete 04:03:15 0f37312ad70f: Pull complete 04:03:16 + go version 04:03:16 go version go1.13.5 linux/arm64 [Pipeline] sh 04:03:17 + make test 04:03:17 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:03:18 ? github.com/edgexfoundry/device-snmp-go [no test files] 04:03:21 5788d62ee057: Pull complete 04:03:21 0e6b1d234666: Pull complete 04:03:21 bf5d7aec512f: Pull complete 04:03:27 34c802a77dc8: Pull complete 04:03:30 9eb99e56ec68: Pull complete 04:03:30 27c7a5d97fbd: Pull complete 04:03:31 5c102a31e300: Pull complete 04:03:31 dcfb455df0a1: Pull complete 04:03:31 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 04:03:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 04:03:31 ---> 7c70fe431013 04:03:31 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 04:03:32 ---> Running in 81081aef913e 04:03:33 Removing intermediate container 81081aef913e 04:03:33 ---> 09e555161d2a 04:03:33 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 04:03:33 ---> Running in 54e508534e3a 04:03:33 Removing intermediate container 54e508534e3a 04:03:33 ---> 8804881c323f 04:03:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 04:03:33 ---> Running in 5e947bac624e 04:03:33 Removing intermediate container 5e947bac624e 04:03:33 ---> 5b647f7ecf89 04:03:33 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:03:33 ---> Running in 161fa2d3f280 04:03:35 Removing intermediate container 161fa2d3f280 04:03:35 ---> 5b6c810ff639 04:03:35 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:03:35 ---> Running in 944766ef4054 04:03:35 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 04:03:37 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 04:03:37 OK: 143 MiB in 39 packages 04:03:37 Removing intermediate container 944766ef4054 04:03:37 ---> f4ac2edf62ee 04:03:37 Step 8/10 : WORKDIR /device-snmp-go 04:03:37 ---> Running in 5ae5b9f11575 04:03:37 Removing intermediate container 5ae5b9f11575 04:03:37 ---> ac4cb0d66ab5 04:03:37 Step 9/10 : COPY . . 04:03:38 ---> ee2d9a09ed00 04:03:38 Step 10/10 : RUN go mod download 04:03:38 ---> Running in ff2be46d6fee 04:03:40 go: finding github.com/BurntSushi/toml v0.3.1 04:03:40 go: finding github.com/OneOfOne/xxhash v1.2.6 04:03:40 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:03:40 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:03:40 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:03:40 go: finding github.com/bgentry/speakeasy v0.1.0 04:03:40 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 04:03:40 go: finding github.com/davecgh/go-spew v1.1.1 04:03:40 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 04:03:40 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 04:03:40 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 04:03:40 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:03:40 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 04:03:40 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 04:03:40 go: finding github.com/fatih/color v1.7.0 04:03:40 go: finding github.com/fxamacker/cbor/v2 v2.2.0 04:03:40 go: finding github.com/go-kit/kit v0.8.0 04:03:40 go: finding github.com/go-logfmt/logfmt v0.4.0 04:03:40 go: finding github.com/go-stack/stack v1.8.0 04:03:40 go: finding github.com/golang/mock v1.2.0 04:03:40 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:03:40 go: finding github.com/google/uuid v1.1.0 04:03:40 go: finding github.com/gorilla/mux v1.7.1 04:03:40 go: finding github.com/hashicorp/consul/api v1.1.0 04:03:40 go: finding github.com/hashicorp/consul/sdk v0.1.1 04:03:40 go: finding github.com/hashicorp/errwrap v1.0.0 04:03:40 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 04:03:40 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:03:40 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:03:40 go: finding github.com/hashicorp/go-multierror v1.0.0 04:03:40 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:03:40 go: finding github.com/hashicorp/go-sockaddr v1.0.0 04:03:40 go: finding github.com/hashicorp/go-syslog v1.0.0 04:03:40 go: finding github.com/hashicorp/go-uuid v1.0.1 04:03:40 go: finding github.com/hashicorp/go.net v0.0.1 04:03:40 go: finding github.com/hashicorp/golang-lru v0.5.0 04:03:40 go: finding github.com/hashicorp/logutils v1.0.0 04:03:40 go: finding github.com/hashicorp/mdns v1.0.0 04:03:40 go: finding github.com/hashicorp/memberlist v0.1.3 04:03:40 go: finding github.com/hashicorp/serf v0.8.2 04:03:40 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:03:40 go: finding github.com/mattn/go-colorable v0.0.9 04:03:40 go: finding github.com/mattn/go-isatty v0.0.3 04:03:40 go: finding github.com/miekg/dns v1.0.14 04:03:40 go: finding github.com/mitchellh/cli v1.0.0 04:03:40 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:03:40 go: finding github.com/mitchellh/copystructure v1.0.0 04:03:40 go: finding github.com/mitchellh/go-homedir v1.0.0 04:03:40 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:03:40 go: finding github.com/mitchellh/gox v0.4.0 04:03:40 go: finding github.com/mitchellh/iochan v1.0.0 04:03:40 go: finding github.com/mitchellh/mapstructure v1.1.2 04:03:40 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:03:40 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:03:40 go: finding github.com/pelletier/go-toml v1.2.0 04:03:40 go: finding github.com/pkg/errors v0.8.1 04:03:40 go: finding github.com/pmezard/go-difflib v1.0.0 04:03:40 go: finding github.com/posener/complete v1.1.1 04:03:40 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 04:03:40 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:03:40 go: finding github.com/soniah/gosnmp v1.21.0 04:03:40 go: finding github.com/stretchr/objx v0.1.0 04:03:40 go: finding github.com/stretchr/testify v1.5.1 04:03:40 go: finding github.com/ugorji/go v1.1.4 04:03:40 go: finding github.com/x448/float16 v0.8.4 04:03:40 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:03:40 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 04:03:40 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:03:40 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:03:40 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 04:03:40 go: finding gopkg.in/yaml.v2 v2.2.8 04:03:45 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 04:03:45 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements 04:03:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:03:49 Removing intermediate container ff2be46d6fee 04:03:49 ---> 44f3fd2be7be 04:03:49 Successfully built 44f3fd2be7be 04:03:49 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 04:03:50 + docker inspect -f . ci-base-image-x86_64 04:03:50 . [Pipeline] withDockerContainer 04:03:50 prd-centos7-docker-4c-2g-3481 does not seem to be running inside a container 04:03:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:03:51 $ docker top 14f7717634d1c23209491338dcb108c1c95250f9f602e24d36582d647cf01b33 -eo pid,comm 04:03:51 gofmt -l . 04:03:51 [ "`gofmt -l .`" = "" ] 04:03:51 ./bin/test-attribution-txt.sh [Pipeline] { [Pipeline] sh 04:03:51 + go version 04:03:51 go version go1.13.5 linux/amd64 [Pipeline] sh 04:03:51 ./bin/test-go-mod-tidy.sh 04:03:52 + make test 04:03:52 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] stash 04:03:52 Stashed 1 file(s) [Pipeline] } 04:03:52 $ docker stop --time=1 341c3753e56e31cd65ba26e914a962d0cae6c1f1e843c1758e0ad3eba79d9408 04:03:53 ? github.com/edgexfoundry/device-snmp-go [no test files] 04:03:54 $ docker rm -f 341c3753e56e31cd65ba26e914a962d0cae6c1f1e843c1758e0ad3eba79d9408 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:03:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:03:57 + ls -al . 04:03:57 total 136 04:03:57 drwxrwxr-x 9 jenkins jenkins 4096 Jun 18 04:03 . 04:03:57 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 04:02 .. 04:03:57 -rw-rw-r-- 1 jenkins jenkins 6 Jun 18 04:02 .dockerignore 04:03:57 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 04:02 .git 04:03:57 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 04:02 .github 04:03:57 -rw-rw-r-- 1 jenkins jenkins 272 Jun 18 04:02 .gitignore 04:03:57 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 04:02 .semver 04:03:57 -rw-rw-r-- 1 jenkins jenkins 4910 Jun 18 04:02 Attribution.txt 04:03:57 -rw-rw-r-- 1 jenkins jenkins 994 Jun 18 04:02 Dockerfile 04:03:57 -rw-rw-r-- 1 jenkins jenkins 409 Jun 18 04:02 Dockerfile.build 04:03:57 -rw-rw-r-- 1 jenkins jenkins 678 Jun 18 04:02 Jenkinsfile 04:03:57 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 18 04:02 LICENSE 04:03:57 -rw-rw-r-- 1 jenkins jenkins 937 Jun 18 04:02 Makefile 04:03:57 -rw-rw-r-- 1 jenkins jenkins 12398 Jun 18 04:02 README.md 04:03:57 -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 04:00 VERSION 04:03:57 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 04:02 bin 04:03:57 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 04:02 cmd 04:03:57 -rw-r--r-- 1 jenkins jenkins 8493 Jun 18 04:03 coverage.out 04:03:57 -rw-r--r-- 1 jenkins jenkins 203 Jun 18 04:03 go.mod 04:03:57 -rw-r--r-- 1 jenkins jenkins 12704 Jun 18 04:03 go.sum 04:03:57 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 04:02 internal 04:03:57 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 04:02 profiles 04:03:57 -rw-rw-r-- 1 jenkins jenkins 209 Jun 18 04:02 version.go [Pipeline] isUnix [Pipeline] sh 04:03:58 + 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=a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc --label arch=arm64 --label version=0.0.0 . 04:03:58 Sending build context to Docker daemon 385kB 04:03:58 Step 1/25 : ARG BASE=golang:1.13-alpine 04:03:58 Step 2/25 : FROM ${BASE} AS builder 04:03:58 ---> 8a0836db1efc 04:03:58 Step 3/25 : ARG MAKE='make build' 04:03:58 ---> Running in ee302949c83e 04:03:59 Removing intermediate container ee302949c83e 04:03:59 ---> 683e115f94b2 04:03:59 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 04:03:59 ---> Running in 7872b4ec2d4a 04:03:59 Removing intermediate container 7872b4ec2d4a 04:03:59 ---> 9f650fe76193 04:03:59 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 04:03:59 ---> Running in 22aa9cc3fd4c 04:03:59 Removing intermediate container 22aa9cc3fd4c 04:03:59 ---> 17bd823855ea 04:03:59 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:04:00 ---> Running in ff24c418cb8e 04:04:02 Removing intermediate container ff24c418cb8e 04:04:02 ---> e996ba652510 04:04:02 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:04:02 ---> Running in f0c5874100eb 04:04:03 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 04:04:03 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.004s coverage: 0.0% of statements 04:04:03 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:04:03 gofmt -l . 04:04:03 [ "`gofmt -l .`" = "" ] 04:04:03 ./bin/test-attribution-txt.sh 04:04:04 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 04:04:04 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:04:04 Warning: overwriting stash ‘coverage-report’ 04:04:04 Stashed 1 file(s) [Pipeline] } 04:04:04 $ docker stop --time=1 14f7717634d1c23209491338dcb108c1c95250f9f602e24d36582d647cf01b33 04:04:04 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 04:04:05 OK: 125 MiB in 39 packages 04:04:06 Removing intermediate container f0c5874100eb 04:04:06 ---> 77f482ef177c 04:04:06 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 04:04:06 ---> Running in 4d9b2b450998 04:04:06 $ docker rm -f 14f7717634d1c23209491338dcb108c1c95250f9f602e24d36582d647cf01b33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 04:04:07 Removing intermediate container 4d9b2b450998 04:04:07 ---> 86d424526fbe 04:04:07 Step 9/25 : COPY go.mod . [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:04:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:04:07 ---> 74f73a44d42e 04:04:07 Step 10/25 : COPY Makefile . 04:04:07 + ls -al . 04:04:07 total 104 04:04:07 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 18 04:04 . 04:04:07 drwxrwxr-x. 4 jenkins jenkins 28 Jun 18 04:03 .. 04:04:07 -rw-rw-r--. 1 jenkins jenkins 4910 Jun 18 04:03 Attribution.txt 04:04:07 drwxrwxr-x. 2 jenkins jenkins 87 Jun 18 04:03 bin 04:04:07 drwxrwxr-x. 3 jenkins jenkins 32 Jun 18 04:03 cmd 04:04:07 -rw-r--r--. 1 jenkins jenkins 8493 Jun 18 04:04 coverage.out 04:04:07 -rw-rw-r--. 1 jenkins jenkins 994 Jun 18 04:03 Dockerfile 04:04:07 -rw-rw-r--. 1 jenkins jenkins 409 Jun 18 04:03 Dockerfile.build 04:04:07 -rw-rw-r--. 1 jenkins jenkins 6 Jun 18 04:03 .dockerignore 04:04:07 drwxrwxr-x. 8 jenkins jenkins 179 Jun 18 04:03 .git 04:04:07 drwxrwxr-x. 2 jenkins jenkins 38 Jun 18 04:03 .github 04:04:07 -rw-rw-r--. 1 jenkins jenkins 272 Jun 18 04:03 .gitignore 04:04:07 -rw-r--r--. 1 jenkins jenkins 203 Jun 18 04:04 go.mod 04:04:07 -rw-r--r--. 1 jenkins jenkins 12704 Jun 18 04:04 go.sum 04:04:07 drwxrwxr-x. 3 jenkins jenkins 20 Jun 18 04:03 internal 04:04:07 -rw-rw-r--. 1 jenkins jenkins 678 Jun 18 04:03 Jenkinsfile 04:04:07 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 18 04:03 LICENSE 04:04:07 -rw-rw-r--. 1 jenkins jenkins 937 Jun 18 04:03 Makefile 04:04:07 drwxrwxr-x. 2 jenkins jenkins 84 Jun 18 04:03 profiles 04:04:07 -rw-rw-r--. 1 jenkins jenkins 12398 Jun 18 04:03 README.md 04:04:07 drwxrwxr-x. 3 jenkins jenkins 74 Jun 18 04:03 .semver 04:04:07 -rw-rw-r--. 1 jenkins jenkins 5 Jun 18 04:00 VERSION 04:04:07 -rw-rw-r--. 1 jenkins jenkins 209 Jun 18 04:03 version.go [Pipeline] isUnix [Pipeline] sh 04:04:08 + 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=a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc --label arch=amd64 --label version=0.0.0 . 04:04:08 Sending build context to Docker daemon 385kB 04:04:08 Step 1/25 : ARG BASE=golang:1.13-alpine 04:04:08 Step 2/25 : FROM ${BASE} AS builder 04:04:08 ---> 44f3fd2be7be 04:04:08 Step 3/25 : ARG MAKE='make build' 04:04:08 ---> Running in ac0ca38c40f0 04:04:08 Removing intermediate container ac0ca38c40f0 04:04:08 ---> 049b2c80c9bc 04:04:08 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 04:04:08 ---> 02a827add3c1 04:04:08 Step 11/25 : RUN make update 04:04:08 ---> Running in 8627438a81aa 04:04:08 ---> Running in 0b95bcd63ed1 04:04:08 Removing intermediate container 0b95bcd63ed1 04:04:08 ---> 8c3a02da727a 04:04:08 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 04:04:08 ---> Running in c4f289cbce5d 04:04:09 Removing intermediate container c4f289cbce5d 04:04:09 ---> 631394bc2104 04:04:09 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:04:09 ---> Running in b5ca07a51c48 04:04:09 Removing intermediate container b5ca07a51c48 04:04:09 ---> 55fe46b4edea 04:04:09 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:04:09 ---> Running in 1430330581c0 04:04:10 CGO_ENABLED=0 GO111MODULE=on go mod download 04:04:10 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 04:04:11 Removing intermediate container 8627438a81aa 04:04:11 ---> 23989340aee5 04:04:11 Step 12/25 : COPY . . 04:04:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 04:04:11 OK: 143 MiB in 39 packages 04:04:11 Removing intermediate container 1430330581c0 04:04:11 ---> ad53f34410da 04:04:11 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 04:04:11 ---> Running in 35d7344d5acb 04:04:12 ---> 788b3e61b27f 04:04:12 Step 13/25 : RUN ${MAKE} 04:04:12 ---> Running in ed56e423e964 04:04:12 Removing intermediate container 35d7344d5acb 04:04:12 ---> 80c309943b63 04:04:12 Step 9/25 : COPY go.mod . 04:04:12 ---> 85cc582534ca 04:04:12 Step 10/25 : COPY Makefile . 04:04:12 ---> 4ce6119e6bb5 04:04:12 Step 11/25 : RUN make update 04:04:12 ---> Running in ba3fb99a1354 04:04:13 CGO_ENABLED=0 GO111MODULE=on go mod download 04:04:13 Removing intermediate container ba3fb99a1354 04:04:13 ---> 22590d60e268 04:04:13 Step 12/25 : COPY . . 04:04:13 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 04:04:14 ---> c36e0d07c473 04:04:14 Step 13/25 : RUN ${MAKE} 04:04:14 ---> Running in c4e9eb8f9962 04:04:14 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 04:04:22 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:04:26 Removing intermediate container c4e9eb8f9962 04:04:26 ---> e4f95013bf5f 04:04:26 Step 14/25 : FROM alpine 04:04:26 latest: Pulling from library/alpine 04:04:26 df20fa9351a1: Pulling fs layer 04:04:26 df20fa9351a1: Download complete 04:04:26 df20fa9351a1: Pull complete 04:04:26 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 04:04:26 Status: Downloaded newer image for alpine:latest 04:04:26 ---> a24bb4013296 04:04:26 Step 15/25 : ENV APP_PORT=49993 04:04:26 ---> Running in 10c8c608cbc4 04:04:26 Removing intermediate container 10c8c608cbc4 04:04:26 ---> 2999205ce89c 04:04:26 Step 16/25 : EXPOSE $APP_PORT 04:04:26 ---> Running in f10a41f2b1e1 04:04:27 Removing intermediate container f10a41f2b1e1 04:04:27 ---> be2d98327255 04:04:27 Step 17/25 : ENV DEVICE_PORT=161 04:04:27 ---> Running in d0e0eb54baeb 04:04:27 Removing intermediate container d0e0eb54baeb 04:04:27 ---> 3d10b533e51c 04:04:27 Step 18/25 : EXPOSE $DEVICE_PORT 04:04:27 ---> Running in 045a9f87bc9e 04:04:27 Removing intermediate container 045a9f87bc9e 04:04:27 ---> 11e4c38879a4 04:04:27 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 04:04:27 ---> f1777b714cda 04:04:27 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 04:04:28 ---> f7a829164b2a 04:04:28 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 04:04:28 ---> 28ef9a5c1941 04:04:28 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 04:04:28 ---> Running in 94646ecd0dbf 04:04:28 Removing intermediate container 94646ecd0dbf 04:04:28 ---> 771dbeac0572 04:04:28 Step 23/25 : LABEL arch=amd64 04:04:28 ---> Running in bca030923439 04:04:28 Removing intermediate container bca030923439 04:04:28 ---> b1bfe5adf692 04:04:28 Step 24/25 : LABEL git_sha=a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc 04:04:28 ---> Running in 30ec799d1b4b 04:04:29 Removing intermediate container 30ec799d1b4b 04:04:29 ---> 900cf2e47096 04:04:29 Step 25/25 : LABEL version=0.0.0 04:04:29 ---> Running in ff20626293fe 04:04:29 Removing intermediate container ff20626293fe 04:04:29 ---> e0ddfce625db 04:04:29 [Warning] One or more build-args [ARCH] were not consumed 04:04:29 Successfully built e0ddfce625db 04:04:29 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] } 04:04:40 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:04:44 Removing intermediate container ed56e423e964 04:04:44 ---> 597538a08f46 04:04:44 Step 14/25 : FROM alpine 04:04:44 latest: Pulling from library/alpine 04:04:45 b538f80385f9: Pulling fs layer 04:04:45 b538f80385f9: Verifying Checksum 04:04:45 b538f80385f9: Download complete 04:04:45 b538f80385f9: Pull complete 04:04:45 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 04:04:45 Status: Downloaded newer image for alpine:latest 04:04:45 ---> 62ee0e9f8440 04:04:45 Step 15/25 : ENV APP_PORT=49993 04:04:45 ---> Running in 82d9b7035dc7 04:04:46 Removing intermediate container 82d9b7035dc7 04:04:46 ---> 198feca293f1 04:04:46 Step 16/25 : EXPOSE $APP_PORT 04:04:46 ---> Running in 895eb6256940 04:04:46 Removing intermediate container 895eb6256940 04:04:46 ---> deba9cb3e0fc 04:04:46 Step 17/25 : ENV DEVICE_PORT=161 04:04:47 ---> Running in 396bc8e25e0e 04:04:47 Removing intermediate container 396bc8e25e0e 04:04:47 ---> 70dc50ebbd16 04:04:47 Step 18/25 : EXPOSE $DEVICE_PORT 04:04:47 ---> Running in c36d1cad8c13 04:04:47 Removing intermediate container c36d1cad8c13 04:04:47 ---> 5d781046a84a 04:04:47 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 04:04:49 ---> 2e3265247b5d 04:04:49 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 04:04:49 ---> 8356207c2ff0 04:04:49 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 04:04:50 ---> f54749d5cb5d 04:04:50 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 04:04:50 ---> Running in a7ce0f70303b 04:04:51 Removing intermediate container a7ce0f70303b 04:04:51 ---> e3c7822d9ad5 04:04:51 Step 23/25 : LABEL arch=arm64 04:04:51 ---> Running in 4c705c00c9e9 04:04:51 Removing intermediate container 4c705c00c9e9 04:04:51 ---> 5856962a0a3c 04:04:51 Step 24/25 : LABEL git_sha=a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc 04:04:51 ---> Running in 33c5d2fb1f4b 04:04:52 Removing intermediate container 33c5d2fb1f4b 04:04:52 ---> 51b0debad766 04:04:52 Step 25/25 : LABEL version=0.0.0 04:04:52 ---> Running in afd3e6d52845 04:04:52 Removing intermediate container afd3e6d52845 04:04:52 ---> 6b446c729874 04:04:52 [Warning] One or more build-args [ARCH] were not consumed 04:04:52 Successfully built 6b446c729874 04:04:52 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 04:04:54 provisioning config files... 04:04:54 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-53@tmp/config4965912205494390929tmp [Pipeline] { [Pipeline] sh 04:04:54 + curl -s https://codecov.io/bash 04:04:54 + bash -s - -t @/w/workspace/dgexfoundry_device-snmp-go_PR-53@tmp/config4965912205494390929tmp 04:04:55 04:04:55 _____ _ 04:04:55 / ____| | | 04:04:55 | | ___ __| | ___ ___ _____ __ 04:04:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:04:55 | |___| (_) | (_| | __/ (_| (_) \ V / 04:04:55 \_____\___/ \__,_|\___|\___\___/ \_/ 04:04:55 Bash-20200602-f809a24 04:04:55 04:04:55 04:04:55 ==> Jenkins CI detected. 04:04:55 project root: . 04:04:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:04:55 ==> Running gcov in . (disable via -X gcov) 04:04:55 ==> Python coveragepy not found 04:04:55 ==> Searching for coverage reports in: 04:04:55 + . 04:04:55 -> Found 1 reports 04:04:55 ==> Detecting git/mercurial file structure 04:04:55 ==> Reading reports 04:04:55 + ./coverage.out bytes=8493 04:04:55 ==> Appending adjustments 04:04:55 https://docs.codecov.io/docs/fixing-reports 04:04:55 + Found adjustments 04:04:55 ==> Gzipping contents 04:04:55 ==> Uploading reports 04:04:55 url: https://codecov.io 04:04:55 query: branch=PR-53&commit=a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-53%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=53&job= 04:04:55 -> Pinging Codecov 04:04:55 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-53&commit=a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-53%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=53&job= 04:04:55 -> Uploading 04:04:56 -> View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/a0c73d47ed44cf73c1a993c8ae01695f7e5f79fc [Pipeline] } 04:04:56 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 04:04:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:04:58 ---> package-listing.sh 04:04:58 ++ facter osfamily 04:04:58 ++ tr '[:upper:]' '[:lower:]' 04:04:58 + OS_FAMILY=redhat 04:04:58 + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-53 04:04:58 + START_PACKAGES=/tmp/packages_start.txt 04:04:58 + END_PACKAGES=/tmp/packages_end.txt 04:04:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:04:58 + PACKAGES=/tmp/packages_start.txt 04:04:58 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-53 ']' 04:04:58 + PACKAGES=/tmp/packages_end.txt 04:04:58 + case "${OS_FAMILY}" in 04:04:58 + rpm -qa 04:04:58 + sort 04:05:02 + '[' -f /tmp/packages_start.txt ']' 04:05:02 + '[' -f /tmp/packages_end.txt ']' 04:05:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:05:02 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-53 ']' 04:05:02 + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-53/archives/ 04:05:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-53/archives/ [Pipeline] isUnix [Pipeline] sh 04:05:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:05:03 04:05:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:05:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:05:03 alpine: Pulling from edgex-lftools-log-publisher 04:05:03 c9b1b535fdd9: Pulling fs layer 04:05:03 2cc5ad85d9ab: Pulling fs layer 04:05:03 756a868c4378: Pulling fs layer 04:05:03 444b2fc9a129: Pulling fs layer 04:05:03 ea15f1150254: Pulling fs layer 04:05:03 41b27a9f41bf: Pulling fs layer 04:05:03 28c525ee5125: Pulling fs layer 04:05:03 094b1ea09ed8: Pulling fs layer 04:05:03 138eaada9080: Pulling fs layer 04:05:03 0622d0fa9048: Pulling fs layer 04:05:03 ea15f1150254: Waiting 04:05:03 41b27a9f41bf: Waiting 04:05:03 28c525ee5125: Waiting 04:05:03 094b1ea09ed8: Waiting 04:05:03 138eaada9080: Waiting 04:05:03 0622d0fa9048: Waiting 04:05:03 444b2fc9a129: Waiting 04:05:03 2cc5ad85d9ab: Verifying Checksum 04:05:03 2cc5ad85d9ab: Download complete 04:05:03 444b2fc9a129: Download complete 04:05:03 c9b1b535fdd9: Verifying Checksum 04:05:03 c9b1b535fdd9: Download complete 04:05:03 ea15f1150254: Verifying Checksum 04:05:03 ea15f1150254: Download complete 04:05:03 28c525ee5125: Verifying Checksum 04:05:03 28c525ee5125: Download complete 04:05:04 756a868c4378: Verifying Checksum 04:05:04 756a868c4378: Download complete 04:05:04 138eaada9080: Verifying Checksum 04:05:04 138eaada9080: Download complete 04:05:04 0622d0fa9048: Verifying Checksum 04:05:04 0622d0fa9048: Download complete 04:05:04 094b1ea09ed8: Verifying Checksum 04:05:04 094b1ea09ed8: Download complete 04:05:04 c9b1b535fdd9: Pull complete 04:05:04 2cc5ad85d9ab: Pull complete 04:05:04 41b27a9f41bf: Verifying Checksum 04:05:04 41b27a9f41bf: Download complete 04:05:05 756a868c4378: Pull complete 04:05:05 444b2fc9a129: Pull complete 04:05:06 ea15f1150254: Pull complete 04:05:10 41b27a9f41bf: Pull complete 04:05:10 28c525ee5125: Pull complete 04:05:13 094b1ea09ed8: Pull complete 04:05:13 138eaada9080: Pull complete 04:05:13 0622d0fa9048: Pull complete 04:05:13 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 04:05:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:05:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:05:13 prd-centos7-docker-4c-2g-3479 does not seem to be running inside a container 04:05:13 $ 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-53 -v /w/workspace/dgexfoundry_device-snmp-go_PR-53:/w/workspace/dgexfoundry_device-snmp-go_PR-53:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-53@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-53@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 04:05:16 $ docker top a426ddf3130e94696fb0a6cdc134dfa8ef20b9891d8d95ae6bdc9b7917ecf2e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:16 provisioning config files... 04:05:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-53@tmp/config5967236026867503576tmp [Pipeline] { [Pipeline] echo 04:05:17 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:05:17 ---> create-netrc.sh [Pipeline] echo 04:05:17 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:05:17 ---> logs-deploy.sh 04:05:17 + ARCHIVE_ARTIFACTS= 04:05:17 + LOGS_SERVER=https://logs.edgexfoundry.org 04:05:17 + '[' https://logs.edgexfoundry.org == None ']' 04:05:17 + NEXUS_URL=https://nexus.edgexfoundry.org 04:05:17 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-53/1 04:05:17 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/PR-53/1/ 04:05:17 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-53/1 /w/workspace/dgexfoundry_device-snmp-go_PR-53 04:05:19 Archives upload complete. 04:05:19 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-53/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/PR-53/1/