Pull request #47 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 89a81a3044fe74e965300ef58198d1a75ebfce47+70d107fb98bfe092cd81e398d0214a861e2dccdc (6cae121f7e17275a5ea97fea2acf37eb1e560340) 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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-47/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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4870 in /w/workspace/dgexfoundry_device-snmp-go_PR-47 [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-47 # 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/47/head:refs/remotes/origin/PR-47 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/47/head:refs/remotes/origin/PR-47 # 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/47/head:refs/remotes/origin/PR-47 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 70d107fb98bfe092cd81e398d0214a861e2dccdc into PR head commit 89a81a3044fe74e965300ef58198d1a75ebfce47 Merge succeeded, producing 89a81a3044fe74e965300ef58198d1a75ebfce47 Checking out Revision 89a81a3044fe74e965300ef58198d1a75ebfce47 (PR-47) > git config core.sparsecheckout # timeout=10 > git checkout -f 89a81a3044fe74e965300ef58198d1a75ebfce47 # 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 70d107fb98bfe092cd81e398d0214a861e2dccdc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 89a81a3044fe74e965300ef58198d1a75ebfce47 # timeout=10 Commit message: "Upgrade to latest SDK and update associated files" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:22:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:22:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:22:23 ========================================================= 04:22:23 EdgeX Global Pipelines Version Info 04:22:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:22:26 ------------------- 04:22:26 stable info: 04:22:26 ------------------- 04:22:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:22:26 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 04:22:26 Message: update stable to v1.0.73 04:22:26 ------------------- 04:22:26 experimental info: 04:22:26 ------------------- 04:22:26 Commited By: **** collab-it+edgex@linuxfoundation.org 04:22:26 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 04:22:26 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 04:22:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:22:29 04:22:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:22:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:22:30 latest: Pulling from edgex-devops/git-semver 04:22:30 9123ac7c32f7: Pulling fs layer 04:22:30 b8cc5d1170e3: Pulling fs layer 04:22:30 2924cbbf6a41: Pulling fs layer 04:22:30 93b08a4f1073: Pulling fs layer 04:22:30 93b08a4f1073: Waiting 04:22:30 b8cc5d1170e3: Verifying Checksum 04:22:30 b8cc5d1170e3: Download complete 04:22:30 9123ac7c32f7: Verifying Checksum 04:22:30 9123ac7c32f7: Download complete 04:22:31 93b08a4f1073: Verifying Checksum 04:22:31 93b08a4f1073: Download complete 04:22:31 9123ac7c32f7: Pull complete 04:22:31 2924cbbf6a41: Verifying Checksum 04:22:31 2924cbbf6a41: Download complete 04:22:31 b8cc5d1170e3: Pull complete 04:22:33 2924cbbf6a41: Pull complete 04:22:33 93b08a4f1073: Pull complete 04:22:33 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 04:22:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:22:34 prd-centos7-docker-4c-2g-4870 does not seem to be running inside a container 04:22:34 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-47 -v /w/workspace/dgexfoundry_device-snmp-go_PR-47:/w/workspace/dgexfoundry_device-snmp-go_PR-47:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-47@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-47@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:22:35 $ docker top 303224d155b7e10217c2a6fef7c5713898a05ef67b29c8a3704edfb9b383a9c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:22:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:36 [ssh-agent] Looking for ssh-agent implementation... 04:22:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:37 $ docker exec 303224d155b7e10217c2a6fef7c5713898a05ef67b29c8a3704edfb9b383a9c1 ssh-agent 04:22:38 SSH_AUTH_SOCK=/tmp/ssh-81BDs8iMtjZx/agent.14 04:22:38 SSH_AGENT_PID=21 04:22:38 Running ssh-add (command line suppressed) 04:22:39 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-47@tmp/private_key_2831818503651575001.key (/w/workspace/dgexfoundry_device-snmp-go_PR-47@tmp/private_key_2831818503651575001.key) 04:22:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:40 + git describe --exact-match --tags HEAD 04:22:40 fatal: No names found, cannot describe anything. [Pipeline] } 04:22:40 $ docker exec --env ******** --env ******** 303224d155b7e10217c2a6fef7c5713898a05ef67b29c8a3704edfb9b383a9c1 ssh-agent -k 04:22:41 unset SSH_AUTH_SOCK; 04:22:41 unset SSH_AGENT_PID; 04:22:41 echo Agent pid 21 killed; 04:22:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 04:22:41 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 04:22:41 This usually means this commit has not been tagged. [Pipeline] sshagent 04:22:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:41 [ssh-agent] Looking for ssh-agent implementation... 04:22:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:42 $ docker exec 303224d155b7e10217c2a6fef7c5713898a05ef67b29c8a3704edfb9b383a9c1 ssh-agent 04:22:42 SSH_AUTH_SOCK=/tmp/ssh-y4glr3bkgNUF/agent.55 04:22:42 SSH_AGENT_PID=62 04:22:42 Running ssh-add (command line suppressed) 04:22:43 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-47@tmp/private_key_2299986355391827162.key (/w/workspace/dgexfoundry_device-snmp-go_PR-47@tmp/private_key_2299986355391827162.key) 04:22:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:44 + git semver init 04:22:44 # -> Open(): unable to determine branch for HEAD 04:22:44 # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-47/.git 04:22:44 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-47 04:22:44 # $SEMVER_REMOTE_NAME = origin 04:22:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:22:44 # $SEMVER_USER_NAME = edgex-jenkins 04:22:44 # $SEMVER_BRANCH = PR-47 04:22:44 # $SEMVER_TEMP = /tmp/semver-809407858 04:22:44 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 04:22:45 # '/tmp/semver-809407858' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-47/.semver' 04:22:45 # -> Force: false 04:22:45 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-47/.semver [Pipeline] } 04:22:45 $ docker exec --env ******** --env ******** 303224d155b7e10217c2a6fef7c5713898a05ef67b29c8a3704edfb9b383a9c1 ssh-agent -k 04:22:45 unset SSH_AUTH_SOCK; 04:22:45 unset SSH_AGENT_PID; 04:22:45 echo Agent pid 62 killed; 04:22:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:22:46 + git semver [Pipeline] } 04:22:46 $ docker stop --time=1 303224d155b7e10217c2a6fef7c5713898a05ef67b29c8a3704edfb9b383a9c1 04:22:47 $ docker rm -f 303224d155b7e10217c2a6fef7c5713898a05ef67b29c8a3704edfb9b383a9c1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 04:22:49 Stashed 34 file(s) [Pipeline] echo 04:22:49 [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:22:50 Running on prd-centos7-docker-4c-2g-4871 in /w/workspace/dgexfoundry_device-snmp-go_PR-47 [Pipeline] { [Pipeline] ws 04:22:50 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 04:22:52 using credential edgex-jenkins-ssh 04:22:52 Cloning the remote Git repository 04:22:52 Cloning with configured refspecs honoured and without tags 04:22:52 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 04:22:52 > git init /w/workspace/device-snmp-go/1 # timeout=10 04:22:52 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:22:52 > git --version # timeout=10 04:22:52 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:52 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/47/head:refs/remotes/origin/PR-47 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:22:53 Fetching without tags 04:22:53 Merging remotes/origin/master commit 70d107fb98bfe092cd81e398d0214a861e2dccdc into PR head commit 89a81a3044fe74e965300ef58198d1a75ebfce47 04:22:53 Merge succeeded, producing 89a81a3044fe74e965300ef58198d1a75ebfce47 04:22:53 Checking out Revision 89a81a3044fe74e965300ef58198d1a75ebfce47 (PR-47) 04:22:53 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:22:53 > git config --add remote.origin.fetch +refs/pull/47/head:refs/remotes/origin/PR-47 # timeout=10 04:22:53 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:22:53 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:22:53 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:22:53 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:53 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/47/head:refs/remotes/origin/PR-47 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:22:53 > git config core.sparsecheckout # timeout=10 04:22:53 > git checkout -f 89a81a3044fe74e965300ef58198d1a75ebfce47 # timeout=10 04:22:53 > git remote # timeout=10 04:22:53 > git config --get remote.origin.url # timeout=10 04:22:53 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:53 > git merge 70d107fb98bfe092cd81e398d0214a861e2dccdc # timeout=10 04:22:53 > git rev-parse HEAD^{commit} # timeout=10 04:22:53 > git config core.sparsecheckout # timeout=10 04:22:53 > git checkout -f 89a81a3044fe74e965300ef58198d1a75ebfce47 # timeout=10 04:22:57 Commit message: "Upgrade to latest SDK and update associated files" 04:22:57 > git --version # timeout=10 04:22:57 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:22:58 ========================================================= 04:22:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 04:22:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:22:59 + 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:22:59 Sending build context to Docker daemon 330.2kB 04:22:59 Step 1/10 : ARG BASE=golang:1.13-alpine 04:22:59 Step 2/10 : FROM ${BASE} 04:22:59 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 04:22:59 e6b0cf9c0882: Pulling fs layer 04:22:59 2848faf0eed1: Pulling fs layer 04:22:59 0f37312ad70f: Pulling fs layer 04:22:59 5788d62ee057: Pulling fs layer 04:22:59 0e6b1d234666: Pulling fs layer 04:22:59 bf5d7aec512f: Pulling fs layer 04:22:59 34c802a77dc8: Pulling fs layer 04:22:59 9eb99e56ec68: Pulling fs layer 04:22:59 27c7a5d97fbd: Pulling fs layer 04:22:59 5c102a31e300: Pulling fs layer 04:22:59 dcfb455df0a1: Pulling fs layer 04:22:59 5788d62ee057: Waiting 04:22:59 0e6b1d234666: Waiting 04:22:59 bf5d7aec512f: Waiting 04:22:59 34c802a77dc8: Waiting 04:22:59 9eb99e56ec68: Waiting 04:22:59 27c7a5d97fbd: Waiting 04:22:59 5c102a31e300: Waiting 04:22:59 dcfb455df0a1: Waiting 04:22:59 0f37312ad70f: Verifying Checksum 04:22:59 0f37312ad70f: Download complete 04:22:59 2848faf0eed1: Download complete 04:22:59 0e6b1d234666: Verifying Checksum 04:22:59 0e6b1d234666: Download complete 04:22:59 bf5d7aec512f: Download complete 04:22:59 e6b0cf9c0882: Verifying Checksum 04:22:59 e6b0cf9c0882: Download complete 04:22:59 e6b0cf9c0882: Pull complete 04:22:59 2848faf0eed1: Pull complete 04:22:59 0f37312ad70f: Pull complete 04:23:00 34c802a77dc8: Verifying Checksum 04:23:00 34c802a77dc8: Download complete 04:23:00 27c7a5d97fbd: Verifying Checksum 04:23:00 27c7a5d97fbd: Download complete 04:23:01 9eb99e56ec68: Verifying Checksum 04:23:01 9eb99e56ec68: Download complete 04:23:01 dcfb455df0a1: Verifying Checksum 04:23:01 dcfb455df0a1: Download complete 04:23:01 5c102a31e300: Verifying Checksum 04:23:01 5c102a31e300: Download complete 04:23:01 5788d62ee057: Verifying Checksum 04:23:01 5788d62ee057: Download complete 04:23:05 Still waiting to schedule task 04:23:05 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:23:06 5788d62ee057: Pull complete 04:23:06 0e6b1d234666: Pull complete 04:23:06 bf5d7aec512f: Pull complete 04:23:14 34c802a77dc8: Pull complete 04:23:18 9eb99e56ec68: Pull complete 04:23:18 27c7a5d97fbd: Pull complete 04:23:18 5c102a31e300: Pull complete 04:23:18 dcfb455df0a1: Pull complete 04:23:18 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 04:23:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 04:23:18 ---> 7c70fe431013 04:23:18 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 04:23:18 ---> Running in 25783cdafc00 04:23:19 Removing intermediate container 25783cdafc00 04:23:19 ---> 27ffc7d896aa 04:23:19 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 04:23:19 ---> Running in 98b062feac6f 04:23:19 Removing intermediate container 98b062feac6f 04:23:19 ---> d141246a587f 04:23:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 04:23:19 ---> Running in 8e988e2edd8a 04:23:19 Removing intermediate container 8e988e2edd8a 04:23:19 ---> 70418ba79cec 04:23:19 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:23:19 ---> Running in 22b2d200b201 04:23:20 Removing intermediate container 22b2d200b201 04:23:20 ---> b9fba3270b19 04:23:20 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:23:20 ---> Running in d43f85659154 04:23:21 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 04:23:22 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 04:23:22 OK: 143 MiB in 39 packages 04:23:23 Removing intermediate container d43f85659154 04:23:23 ---> b48e0009f66f 04:23:23 Step 8/10 : WORKDIR /device-snmp-go 04:23:23 ---> Running in bbd0dcb2c4c7 04:23:23 Removing intermediate container bbd0dcb2c4c7 04:23:23 ---> b1fbba0d2eab 04:23:23 Step 9/10 : COPY . . 04:23:23 ---> 6c2c186de0bf 04:23:23 Step 10/10 : RUN go mod download 04:23:23 ---> Running in 015762fc4fad 04:23:25 go: finding github.com/BurntSushi/toml v0.3.1 04:23:25 go: finding github.com/OneOfOne/xxhash v1.2.6 04:23:25 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:23:25 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:23:25 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:23:25 go: finding github.com/bgentry/speakeasy v0.1.0 04:23:25 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 04:23:25 go: finding github.com/davecgh/go-spew v1.1.1 04:23:25 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 04:23:25 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 04:23:25 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 04:23:25 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 04:23:25 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 04:23:25 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 04:23:25 go: finding github.com/fatih/color v1.7.0 04:23:25 go: finding github.com/fxamacker/cbor/v2 v2.2.0 04:23:25 go: finding github.com/go-kit/kit v0.8.0 04:23:25 go: finding github.com/go-logfmt/logfmt v0.4.0 04:23:25 go: finding github.com/go-stack/stack v1.8.0 04:23:25 go: finding github.com/golang/mock v1.2.0 04:23:25 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:23:25 go: finding github.com/google/uuid v1.1.0 04:23:25 go: finding github.com/gorilla/mux v1.7.1 04:23:25 go: finding github.com/hashicorp/consul/api v1.1.0 04:23:25 go: finding github.com/hashicorp/consul/sdk v0.1.1 04:23:25 go: finding github.com/hashicorp/errwrap v1.0.0 04:23:25 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 04:23:25 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:23:25 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:23:25 go: finding github.com/hashicorp/go-multierror v1.0.0 04:23:25 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:23:25 go: finding github.com/hashicorp/go-sockaddr v1.0.0 04:23:25 go: finding github.com/hashicorp/go-syslog v1.0.0 04:23:25 go: finding github.com/hashicorp/go-uuid v1.0.1 04:23:25 go: finding github.com/hashicorp/go.net v0.0.1 04:23:25 go: finding github.com/hashicorp/golang-lru v0.5.0 04:23:25 go: finding github.com/hashicorp/logutils v1.0.0 04:23:25 go: finding github.com/hashicorp/mdns v1.0.0 04:23:25 go: finding github.com/hashicorp/memberlist v0.1.3 04:23:25 go: finding github.com/hashicorp/serf v0.8.2 04:23:25 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:23:25 go: finding github.com/mattn/go-colorable v0.0.9 04:23:25 go: finding github.com/mattn/go-isatty v0.0.3 04:23:25 go: finding github.com/miekg/dns v1.0.14 04:23:25 go: finding github.com/mitchellh/cli v1.0.0 04:23:25 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:23:25 go: finding github.com/mitchellh/copystructure v1.0.0 04:23:25 go: finding github.com/mitchellh/go-homedir v1.0.0 04:23:25 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:23:25 go: finding github.com/mitchellh/gox v0.4.0 04:23:25 go: finding github.com/mitchellh/iochan v1.0.0 04:23:25 go: finding github.com/mitchellh/mapstructure v1.1.2 04:23:25 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:23:25 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:23:25 go: finding github.com/pelletier/go-toml v1.2.0 04:23:25 go: finding github.com/pkg/errors v0.8.1 04:23:25 go: finding github.com/pmezard/go-difflib v1.0.0 04:23:25 go: finding github.com/posener/complete v1.1.1 04:23:25 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 04:23:25 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:23:25 go: finding github.com/soniah/gosnmp v1.21.0 04:23:26 go: finding github.com/stretchr/objx v0.1.0 04:23:26 go: finding github.com/stretchr/testify v1.5.1 04:23:26 go: finding github.com/ugorji/go v1.1.4 04:23:26 go: finding github.com/x448/float16 v0.8.4 04:23:26 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:23:26 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 04:23:26 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:23:26 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:23:26 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 04:23:26 go: finding gopkg.in/yaml.v2 v2.2.8 04:23:30 Removing intermediate container 015762fc4fad 04:23:30 ---> 8cf8891b2ae5 04:23:30 Successfully built 8cf8891b2ae5 04:23:30 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:23:31 + docker inspect -f . ci-base-image-x86_64 04:23:31 . [Pipeline] withDockerContainer 04:23:31 prd-centos7-docker-4c-2g-4871 does not seem to be running inside a container 04:23:31 $ 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:23:31 $ docker top f310720b1e6d9438a54b121ce1c7784690574d56a6f7b591c220a6bc0f75d4bd -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:32 + go version 04:23:32 go version go1.13.5 linux/amd64 [Pipeline] sh 04:23:32 + make test 04:23:32 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:23:33 ? github.com/edgexfoundry/device-snmp-go [no test files] 04:23:43 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 04:23:43 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.004s coverage: 0.0% of statements 04:23:43 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:23:44 gofmt -l . 04:23:44 [ "`gofmt -l .`" = "" ] 04:23:44 ./bin/test-attribution-txt.sh 04:23:44 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:23:45 Stashed 1 file(s) [Pipeline] } 04:23:45 $ docker stop --time=1 f310720b1e6d9438a54b121ce1c7784690574d56a6f7b591c220a6bc0f75d4bd 04:23:46 $ docker rm -f f310720b1e6d9438a54b121ce1c7784690574d56a6f7b591c220a6bc0f75d4bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:23:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:23:48 + ls -al . 04:23:48 total 84 04:23:48 drwxrwxr-x. 8 jenkins jenkins 4096 Apr 20 04:23 . 04:23:48 drwxrwxr-x. 4 jenkins jenkins 28 Apr 20 04:22 .. 04:23:48 drwxrwxr-x. 2 jenkins jenkins 87 Apr 20 04:22 bin 04:23:48 drwxrwxr-x. 3 jenkins jenkins 55 Apr 20 04:22 cmd 04:23:48 -rw-r--r--. 1 jenkins jenkins 8492 Apr 20 04:23 coverage.out 04:23:48 -rw-rw-r--. 1 jenkins jenkins 832 Apr 20 04:22 Dockerfile 04:23:48 -rw-rw-r--. 1 jenkins jenkins 409 Apr 20 04:22 Dockerfile.build 04:23:48 -rw-rw-r--. 1 jenkins jenkins 6 Apr 20 04:22 .dockerignore 04:23:48 drwxrwxr-x. 8 jenkins jenkins 179 Apr 20 04:22 .git 04:23:48 -rw-rw-r--. 1 jenkins jenkins 272 Apr 20 04:22 .gitignore 04:23:48 -rw-r--r--. 1 jenkins jenkins 210 Apr 20 04:23 go.mod 04:23:48 -rw-r--r--. 1 jenkins jenkins 12615 Apr 20 04:23 go.sum 04:23:48 drwxrwxr-x. 3 jenkins jenkins 20 Apr 20 04:22 internal 04:23:48 -rw-rw-r--. 1 jenkins jenkins 678 Apr 20 04:22 Jenkinsfile 04:23:48 -rw-rw-r--. 1 jenkins jenkins 937 Apr 20 04:22 Makefile 04:23:48 drwxrwxr-x. 2 jenkins jenkins 84 Apr 20 04:22 profiles 04:23:48 -rw-rw-r--. 1 jenkins jenkins 12398 Apr 20 04:22 README.md 04:23:48 drwxrwxr-x. 3 jenkins jenkins 74 Apr 20 04:22 .semver 04:23:48 -rw-rw-r--. 1 jenkins jenkins 5 Apr 20 04:22 VERSION 04:23:48 -rw-rw-r--. 1 jenkins jenkins 209 Apr 20 04:22 version.go [Pipeline] isUnix [Pipeline] sh 04:23:48 + 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=89a81a3044fe74e965300ef58198d1a75ebfce47 --label arch=amd64 --label version=0.0.0 . 04:23:48 Sending build context to Docker daemon 339.5kB 04:23:48 Step 1/23 : ARG BASE=golang:1.13-alpine 04:23:48 Step 2/23 : FROM ${BASE} AS builder 04:23:48 ---> 8cf8891b2ae5 04:23:48 Step 3/23 : ARG MAKE='make build' 04:23:49 ---> Running in 40d169f8cbc9 04:23:49 Removing intermediate container 40d169f8cbc9 04:23:49 ---> 5376a991d4fe 04:23:49 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 04:23:49 ---> Running in dc563f35df45 04:23:49 Removing intermediate container dc563f35df45 04:23:49 ---> f8d3c2c4c94b 04:23:49 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 04:23:49 ---> Running in 503b9bbee25f 04:23:49 Removing intermediate container 503b9bbee25f 04:23:49 ---> 710143121056 04:23:49 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:23:49 ---> Running in eac4d7afacf9 04:23:50 Removing intermediate container eac4d7afacf9 04:23:50 ---> 579674ac0d1a 04:23:50 Step 7/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:23:50 ---> Running in 2fec4eb7c247 04:23:50 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 04:23:51 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 04:23:52 OK: 143 MiB in 39 packages 04:23:52 Removing intermediate container 2fec4eb7c247 04:23:52 ---> 37823491c30f 04:23:52 Step 8/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 04:23:52 ---> Running in 835ea5303bc5 04:23:52 Removing intermediate container 835ea5303bc5 04:23:52 ---> 02050a059c63 04:23:52 Step 9/23 : COPY go.mod . 04:23:52 ---> 8a0acfb79c0e 04:23:52 Step 10/23 : COPY Makefile . 04:23:53 ---> 3b7131af5c5f 04:23:53 Step 11/23 : RUN make update 04:23:53 ---> Running in 5ae0ac49c387 04:23:53 CGO_ENABLED=0 GO111MODULE=on go mod download 04:23:53 Removing intermediate container 5ae0ac49c387 04:23:53 ---> 6276f2376f4b 04:23:53 Step 12/23 : COPY . . 04:23:54 ---> c869d3d4a081 04:23:54 Step 13/23 : RUN ${MAKE} 04:23:54 ---> Running in f384701e8579 04:23:54 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:24:04 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:24:05 Removing intermediate container f384701e8579 04:24:05 ---> 65d30914792d 04:24:05 Step 14/23 : FROM alpine 04:24:05 latest: Pulling from library/alpine 04:24:06 aad63a933944: Pulling fs layer 04:24:06 aad63a933944: Verifying Checksum 04:24:06 aad63a933944: Download complete 04:24:06 aad63a933944: Pull complete 04:24:06 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 04:24:06 Status: Downloaded newer image for alpine:latest 04:24:06 ---> a187dde48cd2 04:24:06 Step 15/23 : ENV APP_PORT=49993 04:24:06 ---> Running in b80d471be3c4 04:24:06 Removing intermediate container b80d471be3c4 04:24:06 ---> 58b271a1190c 04:24:06 Step 16/23 : EXPOSE $APP_PORT 04:24:06 ---> Running in 82b8ee86de30 04:24:06 Removing intermediate container 82b8ee86de30 04:24:06 ---> 2dd0aa7d8c04 04:24:06 Step 17/23 : ENV DEVICE_PORT=161 04:24:06 ---> Running in d9add8590f9f 04:24:06 Removing intermediate container d9add8590f9f 04:24:06 ---> 5371c6a45ce1 04:24:06 Step 18/23 : EXPOSE $DEVICE_PORT 04:24:06 ---> Running in 11753b7bdcb1 04:24:07 Removing intermediate container 11753b7bdcb1 04:24:07 ---> 5e97983406a6 04:24:07 Step 19/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 04:24:07 ---> 8937beca2bdc 04:24:07 Step 20/23 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 04:24:07 ---> Running in e13197cf1ce4 04:24:07 Removing intermediate container e13197cf1ce4 04:24:07 ---> 3e1a02581837 04:24:07 Step 21/23 : LABEL arch=amd64 04:24:07 ---> Running in 0cf72d38043e 04:24:07 Removing intermediate container 0cf72d38043e 04:24:07 ---> 813a0545e387 04:24:07 Step 22/23 : LABEL git_sha=89a81a3044fe74e965300ef58198d1a75ebfce47 04:24:07 ---> Running in 223bdb22e870 04:24:07 Removing intermediate container 223bdb22e870 04:24:07 ---> 1204e1b75648 04:24:07 Step 23/23 : LABEL version=0.0.0 04:24:08 ---> Running in 37e4a862ee02 04:24:08 Removing intermediate container 37e4a862ee02 04:24:08 ---> 78057d83a73d 04:24:08 [Warning] One or more build-args [ARCH] were not consumed 04:24:08 Successfully built 78057d83a73d 04:24:08 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:24:52 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4872 in /w/workspace/dgexfoundry_device-snmp-go_PR-47 [Pipeline] { [Pipeline] ws 04:24:52 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 04:24:58 using credential edgex-jenkins-ssh 04:24:58 Cloning the remote Git repository 04:24:58 Cloning with configured refspecs honoured and without tags 04:24:58 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 04:24:58 > git init /w/workspace/device-snmp-go/1 # timeout=10 04:24:58 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:24:58 > git --version # timeout=10 04:24:58 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:58 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/47/head:refs/remotes/origin/PR-47 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:24:59 Fetching without tags 04:25:00 Merging remotes/origin/master commit 70d107fb98bfe092cd81e398d0214a861e2dccdc into PR head commit 89a81a3044fe74e965300ef58198d1a75ebfce47 04:24:59 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:24:59 > git config --add remote.origin.fetch +refs/pull/47/head:refs/remotes/origin/PR-47 # timeout=10 04:24:59 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:24:59 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:24:59 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:24:59 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/47/head:refs/remotes/origin/PR-47 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:25:00 > git config core.sparsecheckout # timeout=10 04:25:00 > git checkout -f 89a81a3044fe74e965300ef58198d1a75ebfce47 # timeout=10 04:25:00 > git remote # timeout=10 04:25:00 Merge succeeded, producing 89a81a3044fe74e965300ef58198d1a75ebfce47 04:25:00 Checking out Revision 89a81a3044fe74e965300ef58198d1a75ebfce47 (PR-47) 04:25:00 > git config --get remote.origin.url # timeout=10 04:25:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:25:00 > git merge 70d107fb98bfe092cd81e398d0214a861e2dccdc # timeout=10 04:25:00 > git rev-parse HEAD^{commit} # timeout=10 04:25:00 > git config core.sparsecheckout # timeout=10 04:25:00 > git checkout -f 89a81a3044fe74e965300ef58198d1a75ebfce47 # timeout=10 04:25:05 Commit message: "Upgrade to latest SDK and update associated files" 04:25:05 > git --version # timeout=10 04:25:05 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:25:06 ========================================================= 04:25:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 04:25:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:25:07 + 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:25:08 Sending build context to Docker daemon 330.2kB 04:25:08 Step 1/10 : ARG BASE=golang:1.13-alpine 04:25:08 Step 2/10 : FROM ${BASE} 04:25:08 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:25:08 cde5963f3b93: Pulling fs layer 04:25:08 2a23fa8c16f7: Pulling fs layer 04:25:08 777b28850792: Pulling fs layer 04:25:08 8a11ddd9e578: Pulling fs layer 04:25:08 4cf88f913ddb: Pulling fs layer 04:25:08 1df406cf5192: Pulling fs layer 04:25:08 cd6300453558: Pulling fs layer 04:25:08 b9c365052c96: Pulling fs layer 04:25:08 a2d8cc88f415: Pulling fs layer 04:25:08 ea1d1ca13537: Pulling fs layer 04:25:08 3750a50a1c5e: Pulling fs layer 04:25:08 8a11ddd9e578: Waiting 04:25:08 4cf88f913ddb: Waiting 04:25:08 1df406cf5192: Waiting 04:25:08 cd6300453558: Waiting 04:25:08 b9c365052c96: Waiting 04:25:08 a2d8cc88f415: Waiting 04:25:08 ea1d1ca13537: Waiting 04:25:08 3750a50a1c5e: Waiting 04:25:08 777b28850792: Verifying Checksum 04:25:08 777b28850792: Download complete 04:25:08 2a23fa8c16f7: Verifying Checksum 04:25:08 2a23fa8c16f7: Download complete 04:25:08 4cf88f913ddb: Download complete 04:25:08 1df406cf5192: Verifying Checksum 04:25:08 1df406cf5192: Download complete 04:25:08 cde5963f3b93: Verifying Checksum 04:25:08 cde5963f3b93: Download complete 04:25:09 cde5963f3b93: Pull complete 04:25:10 2a23fa8c16f7: Pull complete 04:25:10 777b28850792: Pull complete 04:25:12 cd6300453558: Verifying Checksum 04:25:12 cd6300453558: Download complete 04:25:13 a2d8cc88f415: Verifying Checksum 04:25:13 a2d8cc88f415: Download complete 04:25:15 ea1d1ca13537: Verifying Checksum 04:25:15 ea1d1ca13537: Download complete 04:25:15 3750a50a1c5e: Verifying Checksum 04:25:15 3750a50a1c5e: Download complete 04:25:18 b9c365052c96: Download complete 04:25:20 8a11ddd9e578: Download complete 04:25:32 8a11ddd9e578: Pull complete 04:25:32 4cf88f913ddb: Pull complete 04:25:32 1df406cf5192: Pull complete 04:25:36 cd6300453558: Pull complete 04:25:42 b9c365052c96: Pull complete 04:25:42 a2d8cc88f415: Pull complete 04:25:43 ea1d1ca13537: Pull complete 04:25:44 3750a50a1c5e: Pull complete 04:25:44 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 04:25:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 04:25:44 ---> 78745c68409d 04:25:44 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 04:25:48 ---> Running in c62bfdfbd44a 04:25:48 Removing intermediate container c62bfdfbd44a 04:25:48 ---> 15c657eed402 04:25:48 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 04:25:48 ---> Running in 980f59977e7b 04:25:48 Removing intermediate container 980f59977e7b 04:25:48 ---> 24e454a4639f 04:25:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 04:25:48 ---> Running in 27f974153fd6 04:25:49 Removing intermediate container 27f974153fd6 04:25:49 ---> d013ff92a97c 04:25:49 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:25:49 ---> Running in f665160a241e 04:25:51 Removing intermediate container f665160a241e 04:25:51 ---> 4cf506f136ec 04:25:51 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:25:51 ---> Running in ee1233b0af51 04:25:52 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 04:25:53 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 04:25:54 OK: 125 MiB in 39 packages 04:25:54 Removing intermediate container ee1233b0af51 04:25:54 ---> be562006f7f0 04:25:54 Step 8/10 : WORKDIR /device-snmp-go 04:25:55 ---> Running in 8730b3100300 04:25:55 Removing intermediate container 8730b3100300 04:25:55 ---> d9701e2e4e78 04:25:55 Step 9/10 : COPY . . 04:25:56 ---> a3435dd490b9 04:25:56 Step 10/10 : RUN go mod download 04:25:56 ---> Running in 2a2162267ee7 04:25:58 go: finding github.com/BurntSushi/toml v0.3.1 04:25:58 go: finding github.com/OneOfOne/xxhash v1.2.6 04:25:58 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:25:58 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:25:58 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:25:58 go: finding github.com/bgentry/speakeasy v0.1.0 04:25:58 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 04:25:58 go: finding github.com/davecgh/go-spew v1.1.1 04:25:58 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 04:25:58 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 04:25:58 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 04:25:58 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 04:25:58 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 04:25:58 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 04:25:58 go: finding github.com/fatih/color v1.7.0 04:25:58 go: finding github.com/fxamacker/cbor/v2 v2.2.0 04:25:58 go: finding github.com/go-kit/kit v0.8.0 04:25:58 go: finding github.com/go-logfmt/logfmt v0.4.0 04:25:58 go: finding github.com/go-stack/stack v1.8.0 04:25:58 go: finding github.com/golang/mock v1.2.0 04:25:58 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:25:58 go: finding github.com/google/uuid v1.1.0 04:25:58 go: finding github.com/gorilla/mux v1.7.1 04:25:58 go: finding github.com/hashicorp/consul/api v1.1.0 04:25:58 go: finding github.com/hashicorp/consul/sdk v0.1.1 04:25:58 go: finding github.com/hashicorp/errwrap v1.0.0 04:25:58 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 04:25:58 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:25:58 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:25:58 go: finding github.com/hashicorp/go-multierror v1.0.0 04:25:58 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:25:58 go: finding github.com/hashicorp/go-sockaddr v1.0.0 04:25:58 go: finding github.com/hashicorp/go-syslog v1.0.0 04:25:58 go: finding github.com/hashicorp/go-uuid v1.0.1 04:25:58 go: finding github.com/hashicorp/go.net v0.0.1 04:25:58 go: finding github.com/hashicorp/golang-lru v0.5.0 04:25:58 go: finding github.com/hashicorp/logutils v1.0.0 04:25:58 go: finding github.com/hashicorp/mdns v1.0.0 04:25:58 go: finding github.com/hashicorp/memberlist v0.1.3 04:25:58 go: finding github.com/hashicorp/serf v0.8.2 04:25:58 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:25:58 go: finding github.com/mattn/go-colorable v0.0.9 04:25:58 go: finding github.com/mattn/go-isatty v0.0.3 04:25:58 go: finding github.com/miekg/dns v1.0.14 04:25:58 go: finding github.com/mitchellh/cli v1.0.0 04:25:58 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:25:58 go: finding github.com/mitchellh/copystructure v1.0.0 04:25:58 go: finding github.com/mitchellh/go-homedir v1.0.0 04:25:58 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:25:58 go: finding github.com/mitchellh/gox v0.4.0 04:25:58 go: finding github.com/mitchellh/iochan v1.0.0 04:25:58 go: finding github.com/mitchellh/mapstructure v1.1.2 04:25:58 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:25:58 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:25:58 go: finding github.com/pelletier/go-toml v1.2.0 04:25:58 go: finding github.com/pkg/errors v0.8.1 04:25:58 go: finding github.com/pmezard/go-difflib v1.0.0 04:25:58 go: finding github.com/posener/complete v1.1.1 04:25:58 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 04:25:58 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:25:58 go: finding github.com/soniah/gosnmp v1.21.0 04:25:58 go: finding github.com/stretchr/objx v0.1.0 04:25:58 go: finding github.com/stretchr/testify v1.5.1 04:25:58 go: finding github.com/ugorji/go v1.1.4 04:25:58 go: finding github.com/x448/float16 v0.8.4 04:25:58 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:25:58 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 04:25:58 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:25:58 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:25:58 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 04:25:59 go: finding gopkg.in/yaml.v2 v2.2.8 04:26:09 Removing intermediate container 2a2162267ee7 04:26:09 ---> e3ef78ea9aa4 04:26:09 Successfully built e3ef78ea9aa4 04:26:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:26:10 + docker inspect -f . ci-base-image-arm64 04:26:10 . [Pipeline] withDockerContainer 04:26:10 prd-ubuntu18.04-docker-arm64-4c-16g-4872 does not seem to be running inside a container 04:26:10 $ 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-arm64 cat 04:26:12 $ docker top 0e913e7886aaef24d20fb5e3c4b5469d4ee2d2a1912dd66aa754c71adf13d4d6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:26:13 + go version 04:26:13 go version go1.13.5 linux/arm64 [Pipeline] sh 04:26:14 + make test 04:26:14 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:26:15 ? github.com/edgexfoundry/device-snmp-go [no test files] 04:26:41 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 04:26:43 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements 04:26:43 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:26:48 gofmt -l . 04:26:48 [ "`gofmt -l .`" = "" ] 04:26:48 ./bin/test-attribution-txt.sh 04:26:49 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:26:50 Warning: overwriting stash ‘coverage-report’ 04:26:50 Stashed 1 file(s) [Pipeline] } 04:26:50 $ docker stop --time=1 0e913e7886aaef24d20fb5e3c4b5469d4ee2d2a1912dd66aa754c71adf13d4d6 04:26:52 $ docker rm -f 0e913e7886aaef24d20fb5e3c4b5469d4ee2d2a1912dd66aa754c71adf13d4d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:26:54 + ls -al . 04:26:54 total 112 04:26:54 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 04:26 . 04:26:54 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 04:24 .. 04:26:54 -rw-rw-r-- 1 jenkins jenkins 6 Apr 20 04:25 .dockerignore 04:26:54 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 04:25 .git 04:26:54 -rw-rw-r-- 1 jenkins jenkins 272 Apr 20 04:25 .gitignore 04:26:54 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 04:25 .semver 04:26:54 -rw-rw-r-- 1 jenkins jenkins 832 Apr 20 04:25 Dockerfile 04:26:54 -rw-rw-r-- 1 jenkins jenkins 409 Apr 20 04:25 Dockerfile.build 04:26:54 -rw-rw-r-- 1 jenkins jenkins 678 Apr 20 04:25 Jenkinsfile 04:26:54 -rw-rw-r-- 1 jenkins jenkins 937 Apr 20 04:25 Makefile 04:26:54 -rw-rw-r-- 1 jenkins jenkins 12398 Apr 20 04:25 README.md 04:26:54 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 04:22 VERSION 04:26:54 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 04:25 bin 04:26:54 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 04:25 cmd 04:26:54 -rw-r--r-- 1 jenkins jenkins 8492 Apr 20 04:26 coverage.out 04:26:54 -rw-r--r-- 1 jenkins jenkins 210 Apr 20 04:26 go.mod 04:26:54 -rw-r--r-- 1 jenkins jenkins 12615 Apr 20 04:26 go.sum 04:26:54 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 04:25 internal 04:26:54 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 04:25 profiles 04:26:54 -rw-rw-r-- 1 jenkins jenkins 209 Apr 20 04:25 version.go [Pipeline] isUnix [Pipeline] sh 04:26:54 + docker build -t docker-device-snmp-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=89a81a3044fe74e965300ef58198d1a75ebfce47 --label arch=arm64 --label version=0.0.0 . 04:26:55 Sending build context to Docker daemon 339.5kB 04:26:55 Step 1/23 : ARG BASE=golang:1.13-alpine 04:26:55 Step 2/23 : FROM ${BASE} AS builder 04:26:55 ---> e3ef78ea9aa4 04:26:55 Step 3/23 : ARG MAKE='make build' 04:26:55 ---> Running in 8d702fbbe158 04:26:55 Removing intermediate container 8d702fbbe158 04:26:55 ---> 75f2d37e454c 04:26:55 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 04:26:55 ---> Running in 4daab1668765 04:26:56 Removing intermediate container 4daab1668765 04:26:56 ---> 69dc6c4bec1f 04:26:56 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 04:26:56 ---> Running in 4b3757edc5b7 04:26:56 Removing intermediate container 4b3757edc5b7 04:26:56 ---> 17f7fc33bb54 04:26:56 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:26:57 ---> Running in 49a5dd55f62b 04:26:59 Removing intermediate container 49a5dd55f62b 04:26:59 ---> c599b93fdd0b 04:26:59 Step 7/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:26:59 ---> Running in 92d196d5c7a1 04:26:59 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 04:27:00 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 04:27:01 OK: 125 MiB in 39 packages 04:27:02 Removing intermediate container 92d196d5c7a1 04:27:02 ---> 1113c7af3e3c 04:27:02 Step 8/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 04:27:02 ---> Running in 0f7c586b2b8a 04:27:02 Removing intermediate container 0f7c586b2b8a 04:27:02 ---> 753e088207c4 04:27:02 Step 9/23 : COPY go.mod . 04:27:03 ---> 9871c34d32b8 04:27:03 Step 10/23 : COPY Makefile . 04:27:03 ---> c49c85843ac7 04:27:03 Step 11/23 : RUN make update 04:27:03 ---> Running in fb6a8395603a 04:27:04 CGO_ENABLED=0 GO111MODULE=on go mod download 04:27:05 Removing intermediate container fb6a8395603a 04:27:05 ---> a9e06f1d8bdf 04:27:05 Step 12/23 : COPY . . 04:27:06 ---> b8a9aa7fe369 04:27:06 Step 13/23 : RUN ${MAKE} 04:27:06 ---> Running in 1b5f992af721 04:27:07 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd 04:27:34 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:27:38 Removing intermediate container 1b5f992af721 04:27:38 ---> ba60ffd953e9 04:27:38 Step 14/23 : FROM alpine 04:27:38 latest: Pulling from library/alpine 04:27:38 8a0637ca1ac9: Pulling fs layer 04:27:39 8a0637ca1ac9: Verifying Checksum 04:27:39 8a0637ca1ac9: Download complete 04:27:39 8a0637ca1ac9: Pull complete 04:27:39 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 04:27:39 Status: Downloaded newer image for alpine:latest 04:27:39 ---> 2ee122dcc32d 04:27:39 Step 15/23 : ENV APP_PORT=49993 04:27:39 ---> Running in a44353680c2b 04:27:40 Removing intermediate container a44353680c2b 04:27:40 ---> 1531fe9bb160 04:27:40 Step 16/23 : EXPOSE $APP_PORT 04:27:40 ---> Running in ec5d2ae28e48 04:27:40 Removing intermediate container ec5d2ae28e48 04:27:40 ---> 7e78638bbcf0 04:27:40 Step 17/23 : ENV DEVICE_PORT=161 04:27:40 ---> Running in d1d21738c003 04:27:41 Removing intermediate container d1d21738c003 04:27:41 ---> 5bc0103fa31b 04:27:41 Step 18/23 : EXPOSE $DEVICE_PORT 04:27:41 ---> Running in 40051a161f98 04:27:41 Removing intermediate container 40051a161f98 04:27:41 ---> a5bc1c8723b3 04:27:41 Step 19/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 04:27:42 ---> 7b57512495c9 04:27:42 Step 20/23 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 04:27:42 ---> Running in d74f207be8cf 04:27:43 Removing intermediate container d74f207be8cf 04:27:43 ---> e348b8246373 04:27:43 Step 21/23 : LABEL arch=arm64 04:27:43 ---> Running in 02b3e292b55d 04:27:43 Removing intermediate container 02b3e292b55d 04:27:43 ---> 08634afbad04 04:27:43 Step 22/23 : LABEL git_sha=89a81a3044fe74e965300ef58198d1a75ebfce47 04:27:43 ---> Running in e724d2bc58c7 04:27:43 Removing intermediate container e724d2bc58c7 04:27:43 ---> f27eb17d3e20 04:27:43 Step 23/23 : LABEL version=0.0.0 04:27:44 ---> Running in c79550636384 04:27:44 Removing intermediate container c79550636384 04:27:44 ---> e37db88fe4d5 04:27:44 [Warning] One or more build-args [ARCH] were not consumed 04:27:44 Successfully built e37db88fe4d5 04:27:44 Successfully tagged docker-device-snmp-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 04:27:46 provisioning config files... 04:27:46 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-47@tmp/config1796905150402457082tmp [Pipeline] { [Pipeline] sh 04:27:46 + curl -s https://codecov.io/bash 04:27:46 + bash -s - -t @/w/workspace/dgexfoundry_device-snmp-go_PR-47@tmp/config1796905150402457082tmp 04:27:47 04:27:47 _____ _ 04:27:47 / ____| | | 04:27:47 | | ___ __| | ___ ___ _____ __ 04:27:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:27:47 | |___| (_) | (_| | __/ (_| (_) \ V / 04:27:47 \_____\___/ \__,_|\___|\___\___/ \_/ 04:27:47 Bash-tbd 04:27:47 04:27:47 04:27:47 ==> Jenkins CI detected. 04:27:47 project root: . 04:27:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:27:47 ==> Running gcov in . (disable via -X gcov) 04:27:47 ==> Python coveragepy not found 04:27:47 ==> Searching for coverage reports in: 04:27:47 + . 04:27:47 -> Found 1 reports 04:27:47 ==> Detecting git/mercurial file structure 04:27:47 ==> Reading reports 04:27:47 + ./coverage.out bytes=8492 04:27:47 ==> Appending adjustments 04:27:47 http://docs.codecov.io/docs/fixing-reports 04:27:47 + Found adjustments 04:27:47 ==> Gzipping contents 04:27:47 ==> Uploading reports 04:27:47 url: https://codecov.io 04:27:47 query: branch=PR-47&commit=89a81a3044fe74e965300ef58198d1a75ebfce47&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-47%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=47&job= 04:27:47 -> Pinging Codecov 04:27:47 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-47&commit=89a81a3044fe74e965300ef58198d1a75ebfce47&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-47%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=47&job= 04:27:48 -> Uploading 04:27:48 -> View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/89a81a3044fe74e965300ef58198d1a75ebfce47 [Pipeline] } 04:27:48 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:27:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:27:50 ---> package-listing.sh 04:27:50 ++ facter osfamily 04:27:50 ++ tr '[:upper:]' '[:lower:]' 04:27:50 + OS_FAMILY=redhat 04:27:50 + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-47 04:27:50 + START_PACKAGES=/tmp/packages_start.txt 04:27:50 + END_PACKAGES=/tmp/packages_end.txt 04:27:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:27:50 + PACKAGES=/tmp/packages_start.txt 04:27:50 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-47 ']' 04:27:50 + PACKAGES=/tmp/packages_end.txt 04:27:50 + case "${OS_FAMILY}" in 04:27:50 + rpm -qa 04:27:50 + sort 04:27:56 + '[' -f /tmp/packages_start.txt ']' 04:27:56 + '[' -f /tmp/packages_end.txt ']' 04:27:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:27:56 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-47 ']' 04:27:56 + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-47/archives/ 04:27:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-47/archives/ [Pipeline] isUnix [Pipeline] sh 04:27:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:27:56 04:27:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:27:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:27:57 alpine: Pulling from edgex-lftools-log-publisher 04:27:57 c9b1b535fdd9: Pulling fs layer 04:27:57 2cc5ad85d9ab: Pulling fs layer 04:27:57 756a868c4378: Pulling fs layer 04:27:57 444b2fc9a129: Pulling fs layer 04:27:57 ea15f1150254: Pulling fs layer 04:27:57 41b27a9f41bf: Pulling fs layer 04:27:57 28c525ee5125: Pulling fs layer 04:27:57 094b1ea09ed8: Pulling fs layer 04:27:57 138eaada9080: Pulling fs layer 04:27:57 0622d0fa9048: Pulling fs layer 04:27:57 444b2fc9a129: Waiting 04:27:57 ea15f1150254: Waiting 04:27:57 41b27a9f41bf: Waiting 04:27:57 138eaada9080: Waiting 04:27:57 28c525ee5125: Waiting 04:27:57 094b1ea09ed8: Waiting 04:27:57 0622d0fa9048: Waiting 04:27:57 2cc5ad85d9ab: Verifying Checksum 04:27:57 2cc5ad85d9ab: Download complete 04:27:57 444b2fc9a129: Verifying Checksum 04:27:57 444b2fc9a129: Download complete 04:27:57 c9b1b535fdd9: Verifying Checksum 04:27:57 c9b1b535fdd9: Download complete 04:27:57 ea15f1150254: Verifying Checksum 04:27:57 ea15f1150254: Download complete 04:27:57 28c525ee5125: Verifying Checksum 04:27:57 28c525ee5125: Download complete 04:27:58 c9b1b535fdd9: Pull complete 04:27:58 2cc5ad85d9ab: Pull complete 04:27:59 756a868c4378: Verifying Checksum 04:27:59 756a868c4378: Download complete 04:27:59 138eaada9080: Verifying Checksum 04:27:59 138eaada9080: Download complete 04:27:59 094b1ea09ed8: Verifying Checksum 04:27:59 094b1ea09ed8: Download complete 04:27:59 0622d0fa9048: Verifying Checksum 04:27:59 0622d0fa9048: Download complete 04:28:00 41b27a9f41bf: Verifying Checksum 04:28:00 41b27a9f41bf: Download complete 04:28:01 756a868c4378: Pull complete 04:28:01 444b2fc9a129: Pull complete 04:28:02 ea15f1150254: Pull complete 04:28:09 41b27a9f41bf: Pull complete 04:28:09 28c525ee5125: Pull complete 04:28:12 094b1ea09ed8: Pull complete 04:28:13 138eaada9080: Pull complete 04:28:13 0622d0fa9048: Pull complete 04:28:13 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 04:28:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:28:13 prd-centos7-docker-4c-2g-4870 does not seem to be running inside a container 04:28: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-47 -v /w/workspace/dgexfoundry_device-snmp-go_PR-47:/w/workspace/dgexfoundry_device-snmp-go_PR-47:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-47@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-47@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:28:14 $ docker top d4d52ee6abbaf5bdfe13b41e6e3a5eccbbf49b7a65241833c499bfbcb683b064 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:15 provisioning config files... 04:28:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-47@tmp/config7891834767448288394tmp [Pipeline] { [Pipeline] echo 04:28:15 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:28:15 ---> create-netrc.sh [Pipeline] echo 04:28:15 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:28:16 ---> logs-deploy.sh 04:28:16 + ARCHIVE_ARTIFACTS= 04:28:16 + LOGS_SERVER=https://logs.edgexfoundry.org 04:28:16 + '[' https://logs.edgexfoundry.org == None ']' 04:28:16 + NEXUS_URL=https://nexus.edgexfoundry.org 04:28:16 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-47/1 04:28:16 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/PR-47/1/ 04:28:16 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-47/1 /w/workspace/dgexfoundry_device-snmp-go_PR-47 04:28:18 Archives upload complete. 04:28:18 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-47/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/PR-47/1/