Pull request #51 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 hahattan for edgexfoundry/device-snmp-go Obtained Jenkinsfile from c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed+dbf8a36c6ff36112bb028ee31d5f3d17415acaac (dfb0819c1fa8202ea4437e19e7994e47c2cce1de) Running in Durability level: MAX_SURVIVABILITY 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 a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-51/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > 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 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-snmp-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-8175’ is offline; ‘prd-centos7-docker-4c-2g-8177’ is offline; ‘prd-centos7-docker-4c-2g-8182’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8140’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8176’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8184 in /w/workspace/dgexfoundry_device-snmp-go_PR-51 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/dgexfoundry_device-snmp-go_PR-51 # timeout=10 Fetching without tags 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/51/head:refs/remotes/origin/PR-51 +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/51/head:refs/remotes/origin/PR-51 # 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/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit dbf8a36c6ff36112bb028ee31d5f3d17415acaac into PR head commit c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed Merge succeeded, producing c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed Checking out Revision c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed (PR-51) > git config core.sparsecheckout # timeout=10 > git checkout -f c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed # 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 dbf8a36c6ff36112bb028ee31d5f3d17415acaac # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed # timeout=10 Commit message: "upgrade sdk verion to v1.2.1 for geneva release" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:39:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:39:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:39:02 ========================================================= 08:39:02 EdgeX Global Pipelines Version Info 08:39:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:39:03 ------------------- 08:39:03 stable info: 08:39:03 ------------------- 08:39:03 Commited By: Emilio Reyes emilio.reyes@intel.com 08:39:03 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 08:39:03 Message: update stable to v1.0.87 08:39:04 ------------------- 08:39:04 experimental info: 08:39:04 ------------------- 08:39:04 Commited By: **** collab-it+edgex@linuxfoundation.org 08:39:04 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 08:39:04 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 08:39:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:39:07 08:39:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:39:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:39:08 latest: Pulling from edgex-devops/git-semver 08:39:08 9123ac7c32f7: Pulling fs layer 08:39:08 b8cc5d1170e3: Pulling fs layer 08:39:08 2924cbbf6a41: Pulling fs layer 08:39:08 93b08a4f1073: Pulling fs layer 08:39:08 93b08a4f1073: Waiting 08:39:08 b8cc5d1170e3: Verifying Checksum 08:39:08 b8cc5d1170e3: Download complete 08:39:08 9123ac7c32f7: Verifying Checksum 08:39:08 9123ac7c32f7: Download complete 08:39:08 93b08a4f1073: Verifying Checksum 08:39:08 93b08a4f1073: Download complete 08:39:08 2924cbbf6a41: Verifying Checksum 08:39:08 2924cbbf6a41: Download complete 08:39:08 9123ac7c32f7: Pull complete 08:39:08 b8cc5d1170e3: Pull complete 08:39:09 2924cbbf6a41: Pull complete 08:39:09 93b08a4f1073: Pull complete 08:39:09 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 08:39:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:39:09 prd-centos7-docker-4c-2g-8184 does not seem to be running inside a container 08:39:09 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-51 -v /w/workspace/dgexfoundry_device-snmp-go_PR-51:/w/workspace/dgexfoundry_device-snmp-go_PR-51:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-51@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:10004/edgex-devops/git-semver:latest cat 08:39:10 $ docker top dea8913607b210c5c78df134b8d544269d55151a4a089cc0d8e7692f77792104 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:39:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:39:11 [ssh-agent] Looking for ssh-agent implementation... 08:39:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:39:11 $ docker exec dea8913607b210c5c78df134b8d544269d55151a4a089cc0d8e7692f77792104 ssh-agent 08:39:11 SSH_AUTH_SOCK=/tmp/ssh-FjH2zBcajUtB/agent.15 08:39:11 SSH_AGENT_PID=22 08:39:11 Running ssh-add (command line suppressed) 08:39:11 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp/private_key_4088491045020817685.key (/w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp/private_key_4088491045020817685.key) 08:39:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:39:12 + git describe --exact-match --tags HEAD 08:39:12 fatal: No names found, cannot describe anything. [Pipeline] } 08:39:12 $ docker exec --env ******** --env ******** dea8913607b210c5c78df134b8d544269d55151a4a089cc0d8e7692f77792104 ssh-agent -k 08:39:12 unset SSH_AUTH_SOCK; 08:39:12 unset SSH_AGENT_PID; 08:39:12 echo Agent pid 22 killed; 08:39:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:39:12 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:39:12 This usually means this commit has not been tagged. [Pipeline] sshagent 08:39:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:39:12 [ssh-agent] Looking for ssh-agent implementation... 08:39:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:39:12 $ docker exec dea8913607b210c5c78df134b8d544269d55151a4a089cc0d8e7692f77792104 ssh-agent 08:39:13 SSH_AUTH_SOCK=/tmp/ssh-iEtQxtG3h3J3/agent.56 08:39:13 SSH_AGENT_PID=63 08:39:13 Running ssh-add (command line suppressed) 08:39:13 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp/private_key_5477734635108342186.key (/w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp/private_key_5477734635108342186.key) 08:39:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:39:13 + git semver init 08:39:13 # -> Open(): unable to determine branch for HEAD 08:39:13 # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-51/.git 08:39:13 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-51 08:39:13 # $SEMVER_REMOTE_NAME = origin 08:39:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:39:13 # $SEMVER_USER_NAME = edgex-jenkins 08:39:13 # $SEMVER_BRANCH = PR-51 08:39:13 # $SEMVER_TEMP = /tmp/semver-995040116 08:39:13 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 08:39:14 # '/tmp/semver-995040116' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-51/.semver' 08:39:14 # -> Force: false 08:39:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-51/.semver [Pipeline] } 08:39:14 $ docker exec --env ******** --env ******** dea8913607b210c5c78df134b8d544269d55151a4a089cc0d8e7692f77792104 ssh-agent -k 08:39:14 unset SSH_AUTH_SOCK; 08:39:14 unset SSH_AGENT_PID; 08:39:14 echo Agent pid 63 killed; 08:39:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:39:15 + git semver [Pipeline] } 08:39:15 $ docker stop --time=1 dea8913607b210c5c78df134b8d544269d55151a4a089cc0d8e7692f77792104 08:39:16 $ docker rm -f dea8913607b210c5c78df134b8d544269d55151a4a089cc0d8e7692f77792104 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:39:17 Stashed 36 file(s) [Pipeline] echo 08:39:17 [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:39:32 Still waiting to schedule task 08:39:32 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:39:32 Still waiting to schedule task 08:39:32 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:40:36 Running on prd-centos7-docker-4c-2g-8186 in /w/workspace/dgexfoundry_device-snmp-go_PR-51 [Pipeline] { [Pipeline] ws 08:40:36 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 08:40:38 using credential edgex-jenkins-ssh 08:40:38 Cloning the remote Git repository 08:40:38 Cloning with configured refspecs honoured and without tags 08:40:38 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 08:40:38 > git init /w/workspace/device-snmp-go/1 # timeout=10 08:40:38 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:40:38 > git --version # timeout=10 08:40:38 using GIT_SSH to set credentials SSH Credentials for GitHub 08:40:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:40:39 Fetching without tags 08:40:39 Merging remotes/origin/master commit dbf8a36c6ff36112bb028ee31d5f3d17415acaac into PR head commit c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed 08:40:40 Merge succeeded, producing c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed 08:40:40 Checking out Revision c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed (PR-51) 08:40:39 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:40:39 > git config --add remote.origin.fetch +refs/pull/51/head:refs/remotes/origin/PR-51 # timeout=10 08:40:39 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:40:39 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:40:39 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:40:39 using GIT_SSH to set credentials SSH Credentials for GitHub 08:40:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:40:39 > git config core.sparsecheckout # timeout=10 08:40:39 > git checkout -f c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed # timeout=10 08:40:39 > git remote # timeout=10 08:40:39 > git config --get remote.origin.url # timeout=10 08:40:39 using GIT_SSH to set credentials SSH Credentials for GitHub 08:40:39 > git merge dbf8a36c6ff36112bb028ee31d5f3d17415acaac # timeout=10 08:40:39 > git rev-parse HEAD^{commit} # timeout=10 08:40:39 > git config core.sparsecheckout # timeout=10 08:40:39 > git checkout -f c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed # timeout=10 08:40:43 Commit message: "upgrade sdk verion to v1.2.1 for geneva release" 08:40:43 > git --version # timeout=10 08:40:43 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:40:44 ========================================================= 08:40:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:40:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:40:45 + 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:40:45 Sending build context to Docker daemon 368.1kB 08:40:45 Step 1/10 : ARG BASE=golang:1.13-alpine 08:40:45 Step 2/10 : FROM ${BASE} 08:40:45 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 08:40:45 e6b0cf9c0882: Pulling fs layer 08:40:45 2848faf0eed1: Pulling fs layer 08:40:45 0f37312ad70f: Pulling fs layer 08:40:45 5788d62ee057: Pulling fs layer 08:40:45 0e6b1d234666: Pulling fs layer 08:40:45 bf5d7aec512f: Pulling fs layer 08:40:45 34c802a77dc8: Pulling fs layer 08:40:45 9eb99e56ec68: Pulling fs layer 08:40:45 27c7a5d97fbd: Pulling fs layer 08:40:45 5c102a31e300: Pulling fs layer 08:40:45 dcfb455df0a1: Pulling fs layer 08:40:45 bf5d7aec512f: Waiting 08:40:45 34c802a77dc8: Waiting 08:40:45 9eb99e56ec68: Waiting 08:40:45 27c7a5d97fbd: Waiting 08:40:45 5c102a31e300: Waiting 08:40:45 dcfb455df0a1: Waiting 08:40:45 5788d62ee057: Waiting 08:40:45 0e6b1d234666: Waiting 08:40:45 0f37312ad70f: Download complete 08:40:45 2848faf0eed1: Download complete 08:40:45 0e6b1d234666: Download complete 08:40:45 bf5d7aec512f: Verifying Checksum 08:40:45 bf5d7aec512f: Download complete 08:40:45 e6b0cf9c0882: Download complete 08:40:45 e6b0cf9c0882: Pull complete 08:40:46 2848faf0eed1: Pull complete 08:40:46 0f37312ad70f: Pull complete 08:40:46 34c802a77dc8: Verifying Checksum 08:40:46 34c802a77dc8: Download complete 08:40:46 27c7a5d97fbd: Verifying Checksum 08:40:46 27c7a5d97fbd: Download complete 08:40:46 9eb99e56ec68: Verifying Checksum 08:40:46 9eb99e56ec68: Download complete 08:40:46 5c102a31e300: Verifying Checksum 08:40:46 5c102a31e300: Download complete 08:40:47 dcfb455df0a1: Verifying Checksum 08:40:47 dcfb455df0a1: Download complete 08:40:47 5788d62ee057: Verifying Checksum 08:40:47 5788d62ee057: Download complete 08:40:53 5788d62ee057: Pull complete 08:40:53 0e6b1d234666: Pull complete 08:40:53 bf5d7aec512f: Pull complete 08:40:59 34c802a77dc8: Pull complete 08:41:02 9eb99e56ec68: Pull complete 08:41:02 27c7a5d97fbd: Pull complete 08:41:03 5c102a31e300: Pull complete 08:41:03 dcfb455df0a1: Pull complete 08:41:03 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 08:41:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 08:41:03 ---> 7c70fe431013 08:41:03 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 08:41:03 ---> Running in 5720f0cfec7b 08:41:03 Removing intermediate container 5720f0cfec7b 08:41:03 ---> c35ac172f6c7 08:41:03 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 08:41:03 ---> Running in 6f991e7fe542 08:41:04 Removing intermediate container 6f991e7fe542 08:41:04 ---> 3cf663178fc7 08:41:04 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 08:41:04 ---> Running in d3a05ffe8789 08:41:04 Removing intermediate container d3a05ffe8789 08:41:04 ---> 3b3320455bd2 08:41:04 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:41:04 ---> Running in 9ea94b2f776f 08:41:05 Removing intermediate container 9ea94b2f776f 08:41:05 ---> 3c5f9fbecc57 08:41:05 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:41:05 ---> Running in cde883ff75e3 08:41:05 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:41:06 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:41:06 OK: 143 MiB in 39 packages 08:41:07 Removing intermediate container cde883ff75e3 08:41:07 ---> b31dcd5db601 08:41:07 Step 8/10 : WORKDIR /device-snmp-go 08:41:07 ---> Running in 339c6a18315e 08:41:07 Removing intermediate container 339c6a18315e 08:41:07 ---> 6e184630f617 08:41:07 Step 9/10 : COPY . . 08:41:07 ---> ddff6ad2d065 08:41:07 Step 10/10 : RUN go mod download 08:41:07 ---> Running in a7cca6f9854c 08:41:09 go: github.com/edgexfoundry/device-sdk-go@v1.2.1: reading github.com/edgexfoundry/device-sdk-go/go.mod at revision v1.2.1: unknown revision v1.2.1 08:41:09 The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:41:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8185 in /w/workspace/dgexfoundry_device-snmp-go_PR-51 [Pipeline] { [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] ws 08:41:11 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] // stage [Pipeline] } 08:41:11 Failed in branch amd64 [Pipeline] checkout 08:41:17 using credential edgex-jenkins-ssh 08:41:17 Cloning the remote Git repository 08:41:17 Cloning with configured refspecs honoured and without tags 08:41:17 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 08:41:17 > git init /w/workspace/device-snmp-go/1 # timeout=10 08:41:17 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:41:17 > git --version # timeout=10 08:41:17 using GIT_SSH to set credentials SSH Credentials for GitHub 08:41:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:41:18 Fetching without tags 08:41:19 Merging remotes/origin/master commit dbf8a36c6ff36112bb028ee31d5f3d17415acaac into PR head commit c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed 08:41:19 Merge succeeded, producing c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed 08:41:19 Checking out Revision c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed (PR-51) 08:41:18 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:41:18 > git config --add remote.origin.fetch +refs/pull/51/head:refs/remotes/origin/PR-51 # timeout=10 08:41:18 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:41:18 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 08:41:18 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 08:41:18 using GIT_SSH to set credentials SSH Credentials for GitHub 08:41:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:41:19 > git config core.sparsecheckout # timeout=10 08:41:19 > git checkout -f c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed # timeout=10 08:41:19 > git remote # timeout=10 08:41:19 > git config --get remote.origin.url # timeout=10 08:41:19 using GIT_SSH to set credentials SSH Credentials for GitHub 08:41:19 > git merge dbf8a36c6ff36112bb028ee31d5f3d17415acaac # timeout=10 08:41:19 > git rev-parse HEAD^{commit} # timeout=10 08:41:19 > git config core.sparsecheckout # timeout=10 08:41:19 > git checkout -f c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed # timeout=10 08:41:24 Commit message: "upgrade sdk verion to v1.2.1 for geneva release" 08:41:24 > git --version # timeout=10 08:41:24 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:41:25 ========================================================= 08:41:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:41:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:41:26 + 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:41:27 Sending build context to Docker daemon 368.1kB 08:41:27 Step 1/10 : ARG BASE=golang:1.13-alpine 08:41:27 Step 2/10 : FROM ${BASE} 08:41:27 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:41:27 cde5963f3b93: Pulling fs layer 08:41:27 2a23fa8c16f7: Pulling fs layer 08:41:27 777b28850792: Pulling fs layer 08:41:27 8a11ddd9e578: Pulling fs layer 08:41:27 4cf88f913ddb: Pulling fs layer 08:41:27 1df406cf5192: Pulling fs layer 08:41:27 cd6300453558: Pulling fs layer 08:41:27 b9c365052c96: Pulling fs layer 08:41:27 a2d8cc88f415: Pulling fs layer 08:41:27 ea1d1ca13537: Pulling fs layer 08:41:27 3750a50a1c5e: Pulling fs layer 08:41:27 b9c365052c96: Waiting 08:41:27 8a11ddd9e578: Waiting 08:41:27 1df406cf5192: Waiting 08:41:27 cd6300453558: Waiting 08:41:27 4cf88f913ddb: Waiting 08:41:27 a2d8cc88f415: Waiting 08:41:27 ea1d1ca13537: Waiting 08:41:27 3750a50a1c5e: Waiting 08:41:27 777b28850792: Verifying Checksum 08:41:27 777b28850792: Download complete 08:41:27 2a23fa8c16f7: Verifying Checksum 08:41:27 2a23fa8c16f7: Download complete 08:41:27 4cf88f913ddb: Download complete 08:41:27 1df406cf5192: Verifying Checksum 08:41:27 1df406cf5192: Download complete 08:41:28 cde5963f3b93: Verifying Checksum 08:41:28 cde5963f3b93: Download complete 08:41:29 cde5963f3b93: Pull complete 08:41:29 2a23fa8c16f7: Pull complete 08:41:29 777b28850792: Pull complete 08:41:31 cd6300453558: Verifying Checksum 08:41:31 cd6300453558: Download complete 08:41:32 a2d8cc88f415: Verifying Checksum 08:41:32 a2d8cc88f415: Download complete 08:41:34 ea1d1ca13537: Verifying Checksum 08:41:34 ea1d1ca13537: Download complete 08:41:34 3750a50a1c5e: Verifying Checksum 08:41:34 3750a50a1c5e: Download complete 08:41:37 b9c365052c96: Verifying Checksum 08:41:37 b9c365052c96: Download complete 08:41:39 8a11ddd9e578: Verifying Checksum 08:41:39 8a11ddd9e578: Download complete 08:41:51 8a11ddd9e578: Pull complete 08:41:51 4cf88f913ddb: Pull complete 08:41:51 1df406cf5192: Pull complete 08:41:55 cd6300453558: Pull complete 08:42:01 b9c365052c96: Pull complete 08:42:01 a2d8cc88f415: Pull complete 08:42:03 ea1d1ca13537: Pull complete 08:42:03 3750a50a1c5e: Pull complete 08:42:03 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 08:42:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:42:03 ---> 78745c68409d 08:42:03 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 08:42:08 ---> Running in 5e1f55c197a8 08:42:08 Removing intermediate container 5e1f55c197a8 08:42:08 ---> 44ebdaf5f915 08:42:08 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 08:42:08 ---> Running in 2881f76baf77 08:42:08 Removing intermediate container 2881f76baf77 08:42:08 ---> 4c3b66eefa70 08:42:08 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 08:42:08 ---> Running in 8efa4fe414db 08:42:09 Removing intermediate container 8efa4fe414db 08:42:09 ---> c1a229def48a 08:42:09 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:42:09 ---> Running in 706fdfb70d7d 08:42:11 Removing intermediate container 706fdfb70d7d 08:42:11 ---> 44854da21069 08:42:11 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:42:11 ---> Running in c41ee79413ad 08:42:12 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:42:13 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:42:13 OK: 125 MiB in 39 packages 08:42:15 Removing intermediate container c41ee79413ad 08:42:15 ---> 7dd4187ee72c 08:42:15 Step 8/10 : WORKDIR /device-snmp-go 08:42:15 ---> Running in d28e64409274 08:42:15 Removing intermediate container d28e64409274 08:42:15 ---> 6d1184860e79 08:42:15 Step 9/10 : COPY . . 08:42:16 ---> f81c7fff78ae 08:42:16 Step 10/10 : RUN go mod download 08:42:16 ---> Running in bb3f82dbee85 08:42:23 go: github.com/edgexfoundry/device-sdk-go@v1.2.1: reading github.com/edgexfoundry/device-sdk-go/go.mod at revision v1.2.1: unknown revision v1.2.1 08:42:23 The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:42:25 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:42:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:42:28 ---> package-listing.sh 08:42:28 ++ facter osfamily 08:42:28 ++ tr '[:upper:]' '[:lower:]' 08:42:28 + OS_FAMILY=redhat 08:42:28 + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-51 08:42:28 + START_PACKAGES=/tmp/packages_start.txt 08:42:28 + END_PACKAGES=/tmp/packages_end.txt 08:42:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:42:28 + PACKAGES=/tmp/packages_start.txt 08:42:28 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-51 ']' 08:42:28 + PACKAGES=/tmp/packages_end.txt 08:42:28 + case "${OS_FAMILY}" in 08:42:28 + rpm -qa 08:42:28 + sort 08:42:32 + '[' -f /tmp/packages_start.txt ']' 08:42:32 + '[' -f /tmp/packages_end.txt ']' 08:42:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:42:32 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-51 ']' 08:42:32 + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-51/archives/ 08:42:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-51/archives/ [Pipeline] isUnix [Pipeline] sh 08:42:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:42:32 08:42:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:42:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:42:33 alpine: Pulling from edgex-lftools-log-publisher 08:42:33 c9b1b535fdd9: Pulling fs layer 08:42:33 2cc5ad85d9ab: Pulling fs layer 08:42:33 756a868c4378: Pulling fs layer 08:42:33 444b2fc9a129: Pulling fs layer 08:42:33 ea15f1150254: Pulling fs layer 08:42:33 41b27a9f41bf: Pulling fs layer 08:42:33 28c525ee5125: Pulling fs layer 08:42:33 094b1ea09ed8: Pulling fs layer 08:42:33 138eaada9080: Pulling fs layer 08:42:33 0622d0fa9048: Pulling fs layer 08:42:33 444b2fc9a129: Waiting 08:42:33 ea15f1150254: Waiting 08:42:33 41b27a9f41bf: Waiting 08:42:33 28c525ee5125: Waiting 08:42:33 094b1ea09ed8: Waiting 08:42:33 138eaada9080: Waiting 08:42:33 0622d0fa9048: Waiting 08:42:33 2cc5ad85d9ab: Verifying Checksum 08:42:33 2cc5ad85d9ab: Download complete 08:42:33 444b2fc9a129: Verifying Checksum 08:42:33 444b2fc9a129: Download complete 08:42:33 c9b1b535fdd9: Download complete 08:42:33 ea15f1150254: Verifying Checksum 08:42:33 ea15f1150254: Download complete 08:42:33 28c525ee5125: Verifying Checksum 08:42:33 28c525ee5125: Download complete 08:42:33 756a868c4378: Download complete 08:42:33 c9b1b535fdd9: Pull complete 08:42:34 138eaada9080: Verifying Checksum 08:42:34 138eaada9080: Download complete 08:42:34 0622d0fa9048: Verifying Checksum 08:42:34 0622d0fa9048: Download complete 08:42:34 094b1ea09ed8: Verifying Checksum 08:42:34 094b1ea09ed8: Download complete 08:42:34 2cc5ad85d9ab: Pull complete 08:42:34 41b27a9f41bf: Verifying Checksum 08:42:34 41b27a9f41bf: Download complete 08:42:36 756a868c4378: Pull complete 08:42:36 444b2fc9a129: Pull complete 08:42:36 ea15f1150254: Pull complete 08:42:41 41b27a9f41bf: Pull complete 08:42:41 28c525ee5125: Pull complete 08:42:44 094b1ea09ed8: Pull complete 08:42:44 138eaada9080: Pull complete 08:42:44 0622d0fa9048: Pull complete 08:42:44 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:42:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:42:44 prd-centos7-docker-4c-2g-8184 does not seem to be running inside a container 08:42:44 $ 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-51 -v /w/workspace/dgexfoundry_device-snmp-go_PR-51:/w/workspace/dgexfoundry_device-snmp-go_PR-51:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-51@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:42:46 $ docker top 178727fb82d13ffa126e34a388d319aee474e9b11990720c0df582dae5389d94 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:42:46 provisioning config files... 08:42:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp/config3275632189765815867tmp [Pipeline] { [Pipeline] echo 08:42:46 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:42:46 ---> create-netrc.sh [Pipeline] echo 08:42:46 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:42:47 ---> logs-deploy.sh 08:42:47 + ARCHIVE_ARTIFACTS= 08:42:47 + LOGS_SERVER=https://logs.edgexfoundry.org 08:42:47 + '[' https://logs.edgexfoundry.org == None ']' 08:42:47 + NEXUS_URL=https://nexus.edgexfoundry.org 08:42:47 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-51/1 08:42:47 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/PR-51/1/ 08:42:47 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-51/1 /w/workspace/dgexfoundry_device-snmp-go_PR-51 08:42:48 Archives upload complete. 08:42:48 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-51/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/PR-51/1/