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 [2020-04-20T04:22:23.458Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-20T04:22:23.719Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-20T04:22:23.856Z] ========================================================= [2020-04-20T04:22:23.856Z] EdgeX Global Pipelines Version Info [2020-04-20T04:22:23.856Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-20T04:22:26.035Z] ------------------- [2020-04-20T04:22:26.035Z] stable info: [2020-04-20T04:22:26.035Z] ------------------- [2020-04-20T04:22:26.035Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-20T04:22:26.035Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-20T04:22:26.035Z] Message: update stable to v1.0.73 [2020-04-20T04:22:26.865Z] ------------------- [2020-04-20T04:22:26.865Z] experimental info: [2020-04-20T04:22:26.865Z] ------------------- [2020-04-20T04:22:26.865Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-20T04:22:26.865Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-20T04:22:26.865Z] 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 [2020-04-20T04:22:29.434Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-20T04:22:29.716Z] [2020-04-20T04:22:29.716Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-20T04:22:30.192Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-20T04:22:30.501Z] latest: Pulling from edgex-devops/git-semver [2020-04-20T04:22:30.501Z] 9123ac7c32f7: Pulling fs layer [2020-04-20T04:22:30.501Z] b8cc5d1170e3: Pulling fs layer [2020-04-20T04:22:30.501Z] 2924cbbf6a41: Pulling fs layer [2020-04-20T04:22:30.501Z] 93b08a4f1073: Pulling fs layer [2020-04-20T04:22:30.501Z] 93b08a4f1073: Waiting [2020-04-20T04:22:30.501Z] b8cc5d1170e3: Verifying Checksum [2020-04-20T04:22:30.501Z] b8cc5d1170e3: Download complete [2020-04-20T04:22:30.910Z] 9123ac7c32f7: Verifying Checksum [2020-04-20T04:22:30.910Z] 9123ac7c32f7: Download complete [2020-04-20T04:22:31.204Z] 93b08a4f1073: Verifying Checksum [2020-04-20T04:22:31.204Z] 93b08a4f1073: Download complete [2020-04-20T04:22:31.204Z] 9123ac7c32f7: Pull complete [2020-04-20T04:22:31.473Z] 2924cbbf6a41: Verifying Checksum [2020-04-20T04:22:31.473Z] 2924cbbf6a41: Download complete [2020-04-20T04:22:31.473Z] b8cc5d1170e3: Pull complete [2020-04-20T04:22:33.919Z] 2924cbbf6a41: Pull complete [2020-04-20T04:22:33.919Z] 93b08a4f1073: Pull complete [2020-04-20T04:22:33.919Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-20T04:22:33.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-20T04:22:34.240Z] prd-centos7-docker-4c-2g-4870 does not seem to be running inside a container [2020-04-20T04:22:34.411Z] $ 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 [2020-04-20T04:22:35.650Z] $ docker top 303224d155b7e10217c2a6fef7c5713898a05ef67b29c8a3704edfb9b383a9c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-20T04:22:36.487Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-20T04:22:36.487Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-20T04:22:37.632Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-20T04:22:37.641Z] $ docker exec 303224d155b7e10217c2a6fef7c5713898a05ef67b29c8a3704edfb9b383a9c1 ssh-agent [2020-04-20T04:22:38.869Z] SSH_AUTH_SOCK=/tmp/ssh-81BDs8iMtjZx/agent.14 [2020-04-20T04:22:38.869Z] SSH_AGENT_PID=21 [2020-04-20T04:22:38.891Z] Running ssh-add (command line suppressed) [2020-04-20T04:22:39.509Z] 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) [2020-04-20T04:22:39.793Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-20T04:22:40.630Z] + git describe --exact-match --tags HEAD [2020-04-20T04:22:40.630Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-20T04:22:40.822Z] $ docker exec --env ******** --env ******** 303224d155b7e10217c2a6fef7c5713898a05ef67b29c8a3704edfb9b383a9c1 ssh-agent -k [2020-04-20T04:22:41.512Z] unset SSH_AUTH_SOCK; [2020-04-20T04:22:41.513Z] unset SSH_AGENT_PID; [2020-04-20T04:22:41.513Z] echo Agent pid 21 killed; [2020-04-20T04:22:41.588Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-20T04:22:41.710Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-20T04:22:41.710Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-20T04:22:41.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-20T04:22:41.799Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-20T04:22:42.262Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-20T04:22:42.287Z] $ docker exec 303224d155b7e10217c2a6fef7c5713898a05ef67b29c8a3704edfb9b383a9c1 ssh-agent [2020-04-20T04:22:42.946Z] SSH_AUTH_SOCK=/tmp/ssh-y4glr3bkgNUF/agent.55 [2020-04-20T04:22:42.946Z] SSH_AGENT_PID=62 [2020-04-20T04:22:42.960Z] Running ssh-add (command line suppressed) [2020-04-20T04:22:43.537Z] 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) [2020-04-20T04:22:43.668Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-20T04:22:44.923Z] + git semver init [2020-04-20T04:22:44.923Z] # -> Open(): unable to determine branch for HEAD [2020-04-20T04:22:44.923Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-47/.git [2020-04-20T04:22:44.923Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-47 [2020-04-20T04:22:44.923Z] # $SEMVER_REMOTE_NAME = origin [2020-04-20T04:22:44.923Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-20T04:22:44.923Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-20T04:22:44.923Z] # $SEMVER_BRANCH = PR-47 [2020-04-20T04:22:44.923Z] # $SEMVER_TEMP = /tmp/semver-809407858 [2020-04-20T04:22:44.923Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2020-04-20T04:22:45.267Z] # '/tmp/semver-809407858' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-47/.semver' [2020-04-20T04:22:45.267Z] # -> Force: false [2020-04-20T04:22:45.267Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-47/.semver [Pipeline] } [2020-04-20T04:22:45.306Z] $ docker exec --env ******** --env ******** 303224d155b7e10217c2a6fef7c5713898a05ef67b29c8a3704edfb9b383a9c1 ssh-agent -k [2020-04-20T04:22:45.542Z] unset SSH_AUTH_SOCK; [2020-04-20T04:22:45.544Z] unset SSH_AGENT_PID; [2020-04-20T04:22:45.544Z] echo Agent pid 62 killed; [2020-04-20T04:22:45.589Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-20T04:22:46.218Z] + git semver [Pipeline] } [2020-04-20T04:22:46.281Z] $ docker stop --time=1 303224d155b7e10217c2a6fef7c5713898a05ef67b29c8a3704edfb9b383a9c1 [2020-04-20T04:22:47.899Z] $ docker rm -f 303224d155b7e10217c2a6fef7c5713898a05ef67b29c8a3704edfb9b383a9c1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-20T04:22:49.805Z] Stashed 34 file(s) [Pipeline] echo [2020-04-20T04:22:49.822Z] [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 [2020-04-20T04:22:50.416Z] Running on prd-centos7-docker-4c-2g-4871 in /w/workspace/dgexfoundry_device-snmp-go_PR-47 [Pipeline] { [Pipeline] ws [2020-04-20T04:22:50.486Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2020-04-20T04:22:52.584Z] using credential edgex-jenkins-ssh [2020-04-20T04:22:52.635Z] Cloning the remote Git repository [2020-04-20T04:22:52.635Z] Cloning with configured refspecs honoured and without tags [2020-04-20T04:22:52.665Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2020-04-20T04:22:52.702Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2020-04-20T04:22:52.751Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-04-20T04:22:52.751Z] > git --version # timeout=10 [2020-04-20T04:22:52.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T04:22:52.804Z] > 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 [2020-04-20T04:22:53.465Z] Fetching without tags [2020-04-20T04:22:53.819Z] Merging remotes/origin/master commit 70d107fb98bfe092cd81e398d0214a861e2dccdc into PR head commit 89a81a3044fe74e965300ef58198d1a75ebfce47 [2020-04-20T04:22:53.892Z] Merge succeeded, producing 89a81a3044fe74e965300ef58198d1a75ebfce47 [2020-04-20T04:22:53.893Z] Checking out Revision 89a81a3044fe74e965300ef58198d1a75ebfce47 (PR-47) [2020-04-20T04:22:53.434Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-04-20T04:22:53.440Z] > git config --add remote.origin.fetch +refs/pull/47/head:refs/remotes/origin/PR-47 # timeout=10 [2020-04-20T04:22:53.446Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T04:22:53.464Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-04-20T04:22:53.474Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-04-20T04:22:53.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T04:22:53.478Z] > 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 [2020-04-20T04:22:53.832Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T04:22:53.840Z] > git checkout -f 89a81a3044fe74e965300ef58198d1a75ebfce47 # timeout=10 [2020-04-20T04:22:53.868Z] > git remote # timeout=10 [2020-04-20T04:22:53.874Z] > git config --get remote.origin.url # timeout=10 [2020-04-20T04:22:53.879Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T04:22:53.882Z] > git merge 70d107fb98bfe092cd81e398d0214a861e2dccdc # timeout=10 [2020-04-20T04:22:53.891Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-20T04:22:53.900Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T04:22:53.911Z] > git checkout -f 89a81a3044fe74e965300ef58198d1a75ebfce47 # timeout=10 [2020-04-20T04:22:57.628Z] Commit message: "Upgrade to latest SDK and update associated files" [2020-04-20T04:22:57.657Z] > git --version # timeout=10 [2020-04-20T04:22:57.667Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-20T04:22:58.478Z] ========================================================= [2020-04-20T04:22:58.479Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-20T04:22:58.479Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-20T04:22:59.136Z] + 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 . [2020-04-20T04:22:59.136Z] Sending build context to Docker daemon 330.2kB [2020-04-20T04:22:59.136Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-04-20T04:22:59.136Z] Step 2/10 : FROM ${BASE} [2020-04-20T04:22:59.400Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-20T04:22:59.400Z] e6b0cf9c0882: Pulling fs layer [2020-04-20T04:22:59.400Z] 2848faf0eed1: Pulling fs layer [2020-04-20T04:22:59.400Z] 0f37312ad70f: Pulling fs layer [2020-04-20T04:22:59.400Z] 5788d62ee057: Pulling fs layer [2020-04-20T04:22:59.400Z] 0e6b1d234666: Pulling fs layer [2020-04-20T04:22:59.400Z] bf5d7aec512f: Pulling fs layer [2020-04-20T04:22:59.400Z] 34c802a77dc8: Pulling fs layer [2020-04-20T04:22:59.400Z] 9eb99e56ec68: Pulling fs layer [2020-04-20T04:22:59.400Z] 27c7a5d97fbd: Pulling fs layer [2020-04-20T04:22:59.400Z] 5c102a31e300: Pulling fs layer [2020-04-20T04:22:59.400Z] dcfb455df0a1: Pulling fs layer [2020-04-20T04:22:59.400Z] 5788d62ee057: Waiting [2020-04-20T04:22:59.400Z] 0e6b1d234666: Waiting [2020-04-20T04:22:59.400Z] bf5d7aec512f: Waiting [2020-04-20T04:22:59.400Z] 34c802a77dc8: Waiting [2020-04-20T04:22:59.400Z] 9eb99e56ec68: Waiting [2020-04-20T04:22:59.400Z] 27c7a5d97fbd: Waiting [2020-04-20T04:22:59.400Z] 5c102a31e300: Waiting [2020-04-20T04:22:59.400Z] dcfb455df0a1: Waiting [2020-04-20T04:22:59.400Z] 0f37312ad70f: Verifying Checksum [2020-04-20T04:22:59.400Z] 0f37312ad70f: Download complete [2020-04-20T04:22:59.400Z] 2848faf0eed1: Download complete [2020-04-20T04:22:59.400Z] 0e6b1d234666: Verifying Checksum [2020-04-20T04:22:59.400Z] 0e6b1d234666: Download complete [2020-04-20T04:22:59.400Z] bf5d7aec512f: Download complete [2020-04-20T04:22:59.400Z] e6b0cf9c0882: Verifying Checksum [2020-04-20T04:22:59.400Z] e6b0cf9c0882: Download complete [2020-04-20T04:22:59.669Z] e6b0cf9c0882: Pull complete [2020-04-20T04:22:59.669Z] 2848faf0eed1: Pull complete [2020-04-20T04:22:59.939Z] 0f37312ad70f: Pull complete [2020-04-20T04:23:00.521Z] 34c802a77dc8: Verifying Checksum [2020-04-20T04:23:00.521Z] 34c802a77dc8: Download complete [2020-04-20T04:23:00.794Z] 27c7a5d97fbd: Verifying Checksum [2020-04-20T04:23:00.794Z] 27c7a5d97fbd: Download complete [2020-04-20T04:23:01.053Z] 9eb99e56ec68: Verifying Checksum [2020-04-20T04:23:01.053Z] 9eb99e56ec68: Download complete [2020-04-20T04:23:01.053Z] dcfb455df0a1: Verifying Checksum [2020-04-20T04:23:01.053Z] dcfb455df0a1: Download complete [2020-04-20T04:23:01.053Z] 5c102a31e300: Verifying Checksum [2020-04-20T04:23:01.053Z] 5c102a31e300: Download complete [2020-04-20T04:23:01.315Z] 5788d62ee057: Verifying Checksum [2020-04-20T04:23:01.315Z] 5788d62ee057: Download complete [2020-04-20T04:23:05.349Z] Still waiting to schedule task [2020-04-20T04:23:05.349Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-20T04:23:06.589Z] 5788d62ee057: Pull complete [2020-04-20T04:23:06.589Z] 0e6b1d234666: Pull complete [2020-04-20T04:23:06.589Z] bf5d7aec512f: Pull complete [2020-04-20T04:23:14.720Z] 34c802a77dc8: Pull complete [2020-04-20T04:23:18.017Z] 9eb99e56ec68: Pull complete [2020-04-20T04:23:18.017Z] 27c7a5d97fbd: Pull complete [2020-04-20T04:23:18.959Z] 5c102a31e300: Pull complete [2020-04-20T04:23:18.959Z] dcfb455df0a1: Pull complete [2020-04-20T04:23:18.959Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-20T04:23:18.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-20T04:23:18.959Z] ---> 7c70fe431013 [2020-04-20T04:23:18.959Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-04-20T04:23:18.959Z] ---> Running in 25783cdafc00 [2020-04-20T04:23:19.217Z] Removing intermediate container 25783cdafc00 [2020-04-20T04:23:19.217Z] ---> 27ffc7d896aa [2020-04-20T04:23:19.217Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-04-20T04:23:19.217Z] ---> Running in 98b062feac6f [2020-04-20T04:23:19.476Z] Removing intermediate container 98b062feac6f [2020-04-20T04:23:19.476Z] ---> d141246a587f [2020-04-20T04:23:19.476Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-04-20T04:23:19.476Z] ---> Running in 8e988e2edd8a [2020-04-20T04:23:19.476Z] Removing intermediate container 8e988e2edd8a [2020-04-20T04:23:19.476Z] ---> 70418ba79cec [2020-04-20T04:23:19.476Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-20T04:23:19.476Z] ---> Running in 22b2d200b201 [2020-04-20T04:23:20.423Z] Removing intermediate container 22b2d200b201 [2020-04-20T04:23:20.423Z] ---> b9fba3270b19 [2020-04-20T04:23:20.423Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-20T04:23:20.423Z] ---> Running in d43f85659154 [2020-04-20T04:23:21.385Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-20T04:23:22.321Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-20T04:23:22.888Z] OK: 143 MiB in 39 packages [2020-04-20T04:23:23.462Z] Removing intermediate container d43f85659154 [2020-04-20T04:23:23.462Z] ---> b48e0009f66f [2020-04-20T04:23:23.462Z] Step 8/10 : WORKDIR /device-snmp-go [2020-04-20T04:23:23.462Z] ---> Running in bbd0dcb2c4c7 [2020-04-20T04:23:23.727Z] Removing intermediate container bbd0dcb2c4c7 [2020-04-20T04:23:23.727Z] ---> b1fbba0d2eab [2020-04-20T04:23:23.727Z] Step 9/10 : COPY . . [2020-04-20T04:23:23.986Z] ---> 6c2c186de0bf [2020-04-20T04:23:23.986Z] Step 10/10 : RUN go mod download [2020-04-20T04:23:23.986Z] ---> Running in 015762fc4fad [2020-04-20T04:23:25.891Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-20T04:23:25.891Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-20T04:23:25.891Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-20T04:23:25.891Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-20T04:23:25.891Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-20T04:23:25.891Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-20T04:23:25.891Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-20T04:23:25.891Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-20T04:23:25.891Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 [2020-04-20T04:23:25.891Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-20T04:23:25.891Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-20T04:23:25.891Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-20T04:23:25.891Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-20T04:23:25.891Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-20T04:23:25.891Z] go: finding github.com/fatih/color v1.7.0 [2020-04-20T04:23:25.891Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-20T04:23:25.891Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-20T04:23:25.891Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-20T04:23:25.891Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-20T04:23:25.891Z] go: finding github.com/golang/mock v1.2.0 [2020-04-20T04:23:25.891Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-20T04:23:25.891Z] go: finding github.com/google/uuid v1.1.0 [2020-04-20T04:23:25.891Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-20T04:23:25.891Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-20T04:23:25.891Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-20T04:23:25.891Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-20T04:23:25.891Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-20T04:23:25.891Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-20T04:23:25.891Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-20T04:23:25.891Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-20T04:23:25.891Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-20T04:23:25.891Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-20T04:23:25.891Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-20T04:23:25.891Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-20T04:23:25.891Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-20T04:23:25.891Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-20T04:23:25.891Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-20T04:23:25.891Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-20T04:23:25.891Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-20T04:23:25.891Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-20T04:23:25.891Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-20T04:23:25.891Z] go: finding github.com/posener/complete v1.1.1 [2020-04-20T04:23:25.891Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-20T04:23:25.891Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-20T04:23:25.892Z] go: finding github.com/soniah/gosnmp v1.21.0 [2020-04-20T04:23:26.156Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-20T04:23:26.156Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-20T04:23:26.156Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-20T04:23:26.156Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-20T04:23:26.156Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-20T04:23:26.156Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-20T04:23:26.156Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-20T04:23:26.156Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-20T04:23:26.156Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-20T04:23:26.156Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-20T04:23:30.356Z] Removing intermediate container 015762fc4fad [2020-04-20T04:23:30.356Z] ---> 8cf8891b2ae5 [2020-04-20T04:23:30.356Z] Successfully built 8cf8891b2ae5 [2020-04-20T04:23:30.356Z] 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 [2020-04-20T04:23:31.143Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-20T04:23:31.143Z] . [Pipeline] withDockerContainer [2020-04-20T04:23:31.280Z] prd-centos7-docker-4c-2g-4871 does not seem to be running inside a container [2020-04-20T04:23:31.322Z] $ 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 [2020-04-20T04:23:31.874Z] $ docker top f310720b1e6d9438a54b121ce1c7784690574d56a6f7b591c220a6bc0f75d4bd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-20T04:23:32.387Z] + go version [2020-04-20T04:23:32.387Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-20T04:23:32.698Z] + make test [2020-04-20T04:23:32.698Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-20T04:23:33.270Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2020-04-20T04:23:43.312Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2020-04-20T04:23:43.312Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.004s coverage: 0.0% of statements [2020-04-20T04:23:43.312Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-20T04:23:44.254Z] gofmt -l . [2020-04-20T04:23:44.254Z] [ "`gofmt -l .`" = "" ] [2020-04-20T04:23:44.254Z] ./bin/test-attribution-txt.sh [2020-04-20T04:23:44.824Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-20T04:23:45.295Z] Stashed 1 file(s) [Pipeline] } [2020-04-20T04:23:45.315Z] $ docker stop --time=1 f310720b1e6d9438a54b121ce1c7784690574d56a6f7b591c220a6bc0f75d4bd [2020-04-20T04:23:46.785Z] $ docker rm -f f310720b1e6d9438a54b121ce1c7784690574d56a6f7b591c220a6bc0f75d4bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-20T04:23:48.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-20T04:23:48.621Z] + ls -al . [2020-04-20T04:23:48.621Z] total 84 [2020-04-20T04:23:48.621Z] drwxrwxr-x. 8 jenkins jenkins 4096 Apr 20 04:23 . [2020-04-20T04:23:48.621Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 20 04:22 .. [2020-04-20T04:23:48.621Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 20 04:22 bin [2020-04-20T04:23:48.621Z] drwxrwxr-x. 3 jenkins jenkins 55 Apr 20 04:22 cmd [2020-04-20T04:23:48.621Z] -rw-r--r--. 1 jenkins jenkins 8492 Apr 20 04:23 coverage.out [2020-04-20T04:23:48.621Z] -rw-rw-r--. 1 jenkins jenkins 832 Apr 20 04:22 Dockerfile [2020-04-20T04:23:48.621Z] -rw-rw-r--. 1 jenkins jenkins 409 Apr 20 04:22 Dockerfile.build [2020-04-20T04:23:48.621Z] -rw-rw-r--. 1 jenkins jenkins 6 Apr 20 04:22 .dockerignore [2020-04-20T04:23:48.621Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 20 04:22 .git [2020-04-20T04:23:48.621Z] -rw-rw-r--. 1 jenkins jenkins 272 Apr 20 04:22 .gitignore [2020-04-20T04:23:48.621Z] -rw-r--r--. 1 jenkins jenkins 210 Apr 20 04:23 go.mod [2020-04-20T04:23:48.621Z] -rw-r--r--. 1 jenkins jenkins 12615 Apr 20 04:23 go.sum [2020-04-20T04:23:48.621Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 20 04:22 internal [2020-04-20T04:23:48.621Z] -rw-rw-r--. 1 jenkins jenkins 678 Apr 20 04:22 Jenkinsfile [2020-04-20T04:23:48.621Z] -rw-rw-r--. 1 jenkins jenkins 937 Apr 20 04:22 Makefile [2020-04-20T04:23:48.621Z] drwxrwxr-x. 2 jenkins jenkins 84 Apr 20 04:22 profiles [2020-04-20T04:23:48.621Z] -rw-rw-r--. 1 jenkins jenkins 12398 Apr 20 04:22 README.md [2020-04-20T04:23:48.621Z] drwxrwxr-x. 3 jenkins jenkins 74 Apr 20 04:22 .semver [2020-04-20T04:23:48.621Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 20 04:22 VERSION [2020-04-20T04:23:48.621Z] -rw-rw-r--. 1 jenkins jenkins 209 Apr 20 04:22 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-20T04:23:48.940Z] + 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 . [2020-04-20T04:23:48.940Z] Sending build context to Docker daemon 339.5kB [2020-04-20T04:23:48.940Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-04-20T04:23:48.940Z] Step 2/23 : FROM ${BASE} AS builder [2020-04-20T04:23:48.940Z] ---> 8cf8891b2ae5 [2020-04-20T04:23:48.940Z] Step 3/23 : ARG MAKE='make build' [2020-04-20T04:23:49.199Z] ---> Running in 40d169f8cbc9 [2020-04-20T04:23:49.199Z] Removing intermediate container 40d169f8cbc9 [2020-04-20T04:23:49.199Z] ---> 5376a991d4fe [2020-04-20T04:23:49.199Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git" [2020-04-20T04:23:49.199Z] ---> Running in dc563f35df45 [2020-04-20T04:23:49.459Z] Removing intermediate container dc563f35df45 [2020-04-20T04:23:49.459Z] ---> f8d3c2c4c94b [2020-04-20T04:23:49.459Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2020-04-20T04:23:49.459Z] ---> Running in 503b9bbee25f [2020-04-20T04:23:49.459Z] Removing intermediate container 503b9bbee25f [2020-04-20T04:23:49.459Z] ---> 710143121056 [2020-04-20T04:23:49.459Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-20T04:23:49.718Z] ---> Running in eac4d7afacf9 [2020-04-20T04:23:50.285Z] Removing intermediate container eac4d7afacf9 [2020-04-20T04:23:50.286Z] ---> 579674ac0d1a [2020-04-20T04:23:50.286Z] Step 7/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-20T04:23:50.286Z] ---> Running in 2fec4eb7c247 [2020-04-20T04:23:50.855Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-20T04:23:51.426Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-20T04:23:52.362Z] OK: 143 MiB in 39 packages [2020-04-20T04:23:52.622Z] Removing intermediate container 2fec4eb7c247 [2020-04-20T04:23:52.622Z] ---> 37823491c30f [2020-04-20T04:23:52.622Z] Step 8/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2020-04-20T04:23:52.622Z] ---> Running in 835ea5303bc5 [2020-04-20T04:23:52.881Z] Removing intermediate container 835ea5303bc5 [2020-04-20T04:23:52.881Z] ---> 02050a059c63 [2020-04-20T04:23:52.881Z] Step 9/23 : COPY go.mod . [2020-04-20T04:23:52.881Z] ---> 8a0acfb79c0e [2020-04-20T04:23:52.881Z] Step 10/23 : COPY Makefile . [2020-04-20T04:23:53.139Z] ---> 3b7131af5c5f [2020-04-20T04:23:53.139Z] Step 11/23 : RUN make update [2020-04-20T04:23:53.139Z] ---> Running in 5ae0ac49c387 [2020-04-20T04:23:53.399Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-04-20T04:23:53.966Z] Removing intermediate container 5ae0ac49c387 [2020-04-20T04:23:53.966Z] ---> 6276f2376f4b [2020-04-20T04:23:53.966Z] Step 12/23 : COPY . . [2020-04-20T04:23:54.225Z] ---> c869d3d4a081 [2020-04-20T04:23:54.225Z] Step 13/23 : RUN ${MAKE} [2020-04-20T04:23:54.225Z] ---> Running in f384701e8579 [2020-04-20T04:23:54.485Z] 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 [2020-04-20T04:24:04.511Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-20T04:24:05.896Z] Removing intermediate container f384701e8579 [2020-04-20T04:24:05.896Z] ---> 65d30914792d [2020-04-20T04:24:05.896Z] Step 14/23 : FROM alpine [2020-04-20T04:24:05.896Z] latest: Pulling from library/alpine [2020-04-20T04:24:06.156Z] aad63a933944: Pulling fs layer [2020-04-20T04:24:06.156Z] aad63a933944: Verifying Checksum [2020-04-20T04:24:06.156Z] aad63a933944: Download complete [2020-04-20T04:24:06.417Z] aad63a933944: Pull complete [2020-04-20T04:24:06.417Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-04-20T04:24:06.417Z] Status: Downloaded newer image for alpine:latest [2020-04-20T04:24:06.417Z] ---> a187dde48cd2 [2020-04-20T04:24:06.417Z] Step 15/23 : ENV APP_PORT=49993 [2020-04-20T04:24:06.417Z] ---> Running in b80d471be3c4 [2020-04-20T04:24:06.677Z] Removing intermediate container b80d471be3c4 [2020-04-20T04:24:06.677Z] ---> 58b271a1190c [2020-04-20T04:24:06.677Z] Step 16/23 : EXPOSE $APP_PORT [2020-04-20T04:24:06.677Z] ---> Running in 82b8ee86de30 [2020-04-20T04:24:06.938Z] Removing intermediate container 82b8ee86de30 [2020-04-20T04:24:06.938Z] ---> 2dd0aa7d8c04 [2020-04-20T04:24:06.938Z] Step 17/23 : ENV DEVICE_PORT=161 [2020-04-20T04:24:06.938Z] ---> Running in d9add8590f9f [2020-04-20T04:24:06.938Z] Removing intermediate container d9add8590f9f [2020-04-20T04:24:06.938Z] ---> 5371c6a45ce1 [2020-04-20T04:24:06.938Z] Step 18/23 : EXPOSE $DEVICE_PORT [2020-04-20T04:24:06.938Z] ---> Running in 11753b7bdcb1 [2020-04-20T04:24:07.198Z] Removing intermediate container 11753b7bdcb1 [2020-04-20T04:24:07.198Z] ---> 5e97983406a6 [2020-04-20T04:24:07.198Z] Step 19/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2020-04-20T04:24:07.456Z] ---> 8937beca2bdc [2020-04-20T04:24:07.456Z] Step 20/23 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-04-20T04:24:07.715Z] ---> Running in e13197cf1ce4 [2020-04-20T04:24:07.715Z] Removing intermediate container e13197cf1ce4 [2020-04-20T04:24:07.715Z] ---> 3e1a02581837 [2020-04-20T04:24:07.715Z] Step 21/23 : LABEL arch=amd64 [2020-04-20T04:24:07.715Z] ---> Running in 0cf72d38043e [2020-04-20T04:24:07.973Z] Removing intermediate container 0cf72d38043e [2020-04-20T04:24:07.973Z] ---> 813a0545e387 [2020-04-20T04:24:07.973Z] Step 22/23 : LABEL git_sha=89a81a3044fe74e965300ef58198d1a75ebfce47 [2020-04-20T04:24:07.973Z] ---> Running in 223bdb22e870 [2020-04-20T04:24:07.973Z] Removing intermediate container 223bdb22e870 [2020-04-20T04:24:07.973Z] ---> 1204e1b75648 [2020-04-20T04:24:07.973Z] Step 23/23 : LABEL version=0.0.0 [2020-04-20T04:24:08.233Z] ---> Running in 37e4a862ee02 [2020-04-20T04:24:08.233Z] Removing intermediate container 37e4a862ee02 [2020-04-20T04:24:08.233Z] ---> 78057d83a73d [2020-04-20T04:24:08.233Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-20T04:24:08.233Z] Successfully built 78057d83a73d [2020-04-20T04:24:08.233Z] 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] } [2020-04-20T04:24:52.706Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4872 in /w/workspace/dgexfoundry_device-snmp-go_PR-47 [Pipeline] { [Pipeline] ws [2020-04-20T04:24:52.793Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2020-04-20T04:24:58.546Z] using credential edgex-jenkins-ssh [2020-04-20T04:24:58.596Z] Cloning the remote Git repository [2020-04-20T04:24:58.596Z] Cloning with configured refspecs honoured and without tags [2020-04-20T04:24:58.683Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2020-04-20T04:24:58.772Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2020-04-20T04:24:58.858Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-04-20T04:24:58.861Z] > git --version # timeout=10 [2020-04-20T04:24:58.891Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T04:24:58.969Z] > 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 [2020-04-20T04:24:59.828Z] Fetching without tags [2020-04-20T04:25:00.327Z] Merging remotes/origin/master commit 70d107fb98bfe092cd81e398d0214a861e2dccdc into PR head commit 89a81a3044fe74e965300ef58198d1a75ebfce47 [2020-04-20T04:24:59.728Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-04-20T04:24:59.751Z] > git config --add remote.origin.fetch +refs/pull/47/head:refs/remotes/origin/PR-47 # timeout=10 [2020-04-20T04:24:59.771Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T04:24:59.814Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2020-04-20T04:24:59.860Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2020-04-20T04:24:59.861Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T04:24:59.889Z] > 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 [2020-04-20T04:25:00.367Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T04:25:00.409Z] > git checkout -f 89a81a3044fe74e965300ef58198d1a75ebfce47 # timeout=10 [2020-04-20T04:25:00.482Z] > git remote # timeout=10 [2020-04-20T04:25:00.563Z] Merge succeeded, producing 89a81a3044fe74e965300ef58198d1a75ebfce47 [2020-04-20T04:25:00.563Z] Checking out Revision 89a81a3044fe74e965300ef58198d1a75ebfce47 (PR-47) [2020-04-20T04:25:00.511Z] > git config --get remote.origin.url # timeout=10 [2020-04-20T04:25:00.524Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T04:25:00.535Z] > git merge 70d107fb98bfe092cd81e398d0214a861e2dccdc # timeout=10 [2020-04-20T04:25:00.557Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-20T04:25:00.589Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T04:25:00.607Z] > git checkout -f 89a81a3044fe74e965300ef58198d1a75ebfce47 # timeout=10 [2020-04-20T04:25:05.325Z] Commit message: "Upgrade to latest SDK and update associated files" [2020-04-20T04:25:05.386Z] > git --version # timeout=10 [2020-04-20T04:25:05.410Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-20T04:25:06.543Z] ========================================================= [2020-04-20T04:25:06.543Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-20T04:25:06.543Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-20T04:25:07.494Z] + 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 . [2020-04-20T04:25:08.144Z] Sending build context to Docker daemon 330.2kB [2020-04-20T04:25:08.414Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-04-20T04:25:08.414Z] Step 2/10 : FROM ${BASE} [2020-04-20T04:25:08.685Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-20T04:25:08.685Z] cde5963f3b93: Pulling fs layer [2020-04-20T04:25:08.685Z] 2a23fa8c16f7: Pulling fs layer [2020-04-20T04:25:08.685Z] 777b28850792: Pulling fs layer [2020-04-20T04:25:08.685Z] 8a11ddd9e578: Pulling fs layer [2020-04-20T04:25:08.685Z] 4cf88f913ddb: Pulling fs layer [2020-04-20T04:25:08.685Z] 1df406cf5192: Pulling fs layer [2020-04-20T04:25:08.685Z] cd6300453558: Pulling fs layer [2020-04-20T04:25:08.685Z] b9c365052c96: Pulling fs layer [2020-04-20T04:25:08.685Z] a2d8cc88f415: Pulling fs layer [2020-04-20T04:25:08.685Z] ea1d1ca13537: Pulling fs layer [2020-04-20T04:25:08.685Z] 3750a50a1c5e: Pulling fs layer [2020-04-20T04:25:08.685Z] 8a11ddd9e578: Waiting [2020-04-20T04:25:08.685Z] 4cf88f913ddb: Waiting [2020-04-20T04:25:08.685Z] 1df406cf5192: Waiting [2020-04-20T04:25:08.685Z] cd6300453558: Waiting [2020-04-20T04:25:08.685Z] b9c365052c96: Waiting [2020-04-20T04:25:08.685Z] a2d8cc88f415: Waiting [2020-04-20T04:25:08.685Z] ea1d1ca13537: Waiting [2020-04-20T04:25:08.685Z] 3750a50a1c5e: Waiting [2020-04-20T04:25:08.685Z] 777b28850792: Verifying Checksum [2020-04-20T04:25:08.685Z] 777b28850792: Download complete [2020-04-20T04:25:08.685Z] 2a23fa8c16f7: Verifying Checksum [2020-04-20T04:25:08.685Z] 2a23fa8c16f7: Download complete [2020-04-20T04:25:08.685Z] 4cf88f913ddb: Download complete [2020-04-20T04:25:08.685Z] 1df406cf5192: Verifying Checksum [2020-04-20T04:25:08.685Z] 1df406cf5192: Download complete [2020-04-20T04:25:08.958Z] cde5963f3b93: Verifying Checksum [2020-04-20T04:25:08.958Z] cde5963f3b93: Download complete [2020-04-20T04:25:09.942Z] cde5963f3b93: Pull complete [2020-04-20T04:25:10.535Z] 2a23fa8c16f7: Pull complete [2020-04-20T04:25:10.806Z] 777b28850792: Pull complete [2020-04-20T04:25:12.765Z] cd6300453558: Verifying Checksum [2020-04-20T04:25:12.765Z] cd6300453558: Download complete [2020-04-20T04:25:13.037Z] a2d8cc88f415: Verifying Checksum [2020-04-20T04:25:13.037Z] a2d8cc88f415: Download complete [2020-04-20T04:25:15.659Z] ea1d1ca13537: Verifying Checksum [2020-04-20T04:25:15.659Z] ea1d1ca13537: Download complete [2020-04-20T04:25:15.659Z] 3750a50a1c5e: Verifying Checksum [2020-04-20T04:25:15.659Z] 3750a50a1c5e: Download complete [2020-04-20T04:25:18.244Z] b9c365052c96: Download complete [2020-04-20T04:25:20.187Z] 8a11ddd9e578: Download complete [2020-04-20T04:25:32.535Z] 8a11ddd9e578: Pull complete [2020-04-20T04:25:32.535Z] 4cf88f913ddb: Pull complete [2020-04-20T04:25:32.535Z] 1df406cf5192: Pull complete [2020-04-20T04:25:36.819Z] cd6300453558: Pull complete [2020-04-20T04:25:42.178Z] b9c365052c96: Pull complete [2020-04-20T04:25:42.178Z] a2d8cc88f415: Pull complete [2020-04-20T04:25:43.601Z] ea1d1ca13537: Pull complete [2020-04-20T04:25:44.185Z] 3750a50a1c5e: Pull complete [2020-04-20T04:25:44.185Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-20T04:25:44.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-20T04:25:44.185Z] ---> 78745c68409d [2020-04-20T04:25:44.185Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-04-20T04:25:48.445Z] ---> Running in c62bfdfbd44a [2020-04-20T04:25:48.445Z] Removing intermediate container c62bfdfbd44a [2020-04-20T04:25:48.445Z] ---> 15c657eed402 [2020-04-20T04:25:48.445Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-04-20T04:25:48.445Z] ---> Running in 980f59977e7b [2020-04-20T04:25:48.720Z] Removing intermediate container 980f59977e7b [2020-04-20T04:25:48.720Z] ---> 24e454a4639f [2020-04-20T04:25:48.720Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-04-20T04:25:48.720Z] ---> Running in 27f974153fd6 [2020-04-20T04:25:49.305Z] Removing intermediate container 27f974153fd6 [2020-04-20T04:25:49.305Z] ---> d013ff92a97c [2020-04-20T04:25:49.305Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-20T04:25:49.305Z] ---> Running in f665160a241e [2020-04-20T04:25:51.897Z] Removing intermediate container f665160a241e [2020-04-20T04:25:51.897Z] ---> 4cf506f136ec [2020-04-20T04:25:51.897Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-20T04:25:51.897Z] ---> Running in ee1233b0af51 [2020-04-20T04:25:52.480Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-20T04:25:53.435Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-20T04:25:54.015Z] OK: 125 MiB in 39 packages [2020-04-20T04:25:54.977Z] Removing intermediate container ee1233b0af51 [2020-04-20T04:25:54.977Z] ---> be562006f7f0 [2020-04-20T04:25:54.977Z] Step 8/10 : WORKDIR /device-snmp-go [2020-04-20T04:25:55.247Z] ---> Running in 8730b3100300 [2020-04-20T04:25:55.512Z] Removing intermediate container 8730b3100300 [2020-04-20T04:25:55.512Z] ---> d9701e2e4e78 [2020-04-20T04:25:55.512Z] Step 9/10 : COPY . . [2020-04-20T04:25:56.473Z] ---> a3435dd490b9 [2020-04-20T04:25:56.473Z] Step 10/10 : RUN go mod download [2020-04-20T04:25:56.473Z] ---> Running in 2a2162267ee7 [2020-04-20T04:25:58.423Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-20T04:25:58.423Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-20T04:25:58.423Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-20T04:25:58.423Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-20T04:25:58.423Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-20T04:25:58.423Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-20T04:25:58.423Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-20T04:25:58.423Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-20T04:25:58.423Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 [2020-04-20T04:25:58.423Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-20T04:25:58.423Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-20T04:25:58.423Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-20T04:25:58.423Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-20T04:25:58.423Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-20T04:25:58.423Z] go: finding github.com/fatih/color v1.7.0 [2020-04-20T04:25:58.423Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-20T04:25:58.691Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-20T04:25:58.691Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-20T04:25:58.691Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-20T04:25:58.691Z] go: finding github.com/golang/mock v1.2.0 [2020-04-20T04:25:58.691Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-20T04:25:58.691Z] go: finding github.com/google/uuid v1.1.0 [2020-04-20T04:25:58.691Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-20T04:25:58.691Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-20T04:25:58.691Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-20T04:25:58.691Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-20T04:25:58.691Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-20T04:25:58.691Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-20T04:25:58.691Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-20T04:25:58.959Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-20T04:25:58.959Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-20T04:25:58.959Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-20T04:25:58.959Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-20T04:25:58.959Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-20T04:25:58.959Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-20T04:25:58.959Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-20T04:25:58.959Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-20T04:25:58.959Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-20T04:25:58.959Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-20T04:25:58.959Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-20T04:25:58.959Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-20T04:25:58.959Z] go: finding github.com/posener/complete v1.1.1 [2020-04-20T04:25:58.959Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-20T04:25:58.959Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-20T04:25:58.959Z] go: finding github.com/soniah/gosnmp v1.21.0 [2020-04-20T04:25:58.959Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-20T04:25:58.959Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-20T04:25:58.959Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-20T04:25:58.959Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-20T04:25:58.959Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-20T04:25:58.959Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-20T04:25:58.959Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-20T04:25:58.959Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-20T04:25:58.959Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-20T04:25:59.229Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-20T04:26:09.334Z] Removing intermediate container 2a2162267ee7 [2020-04-20T04:26:09.334Z] ---> e3ef78ea9aa4 [2020-04-20T04:26:09.334Z] Successfully built e3ef78ea9aa4 [2020-04-20T04:26:09.334Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-20T04:26:10.156Z] + docker inspect -f . ci-base-image-arm64 [2020-04-20T04:26:10.426Z] . [Pipeline] withDockerContainer [2020-04-20T04:26:10.778Z] prd-ubuntu18.04-docker-arm64-4c-16g-4872 does not seem to be running inside a container [2020-04-20T04:26:10.859Z] $ 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 [2020-04-20T04:26:12.317Z] $ docker top 0e913e7886aaef24d20fb5e3c4b5469d4ee2d2a1912dd66aa754c71adf13d4d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-20T04:26:13.438Z] + go version [2020-04-20T04:26:13.438Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-20T04:26:14.100Z] + make test [2020-04-20T04:26:14.100Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-20T04:26:15.066Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2020-04-20T04:26:41.835Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2020-04-20T04:26:43.246Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements [2020-04-20T04:26:43.522Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-20T04:26:48.911Z] gofmt -l . [2020-04-20T04:26:48.911Z] [ "`gofmt -l .`" = "" ] [2020-04-20T04:26:48.911Z] ./bin/test-attribution-txt.sh [2020-04-20T04:26:49.875Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-20T04:26:50.172Z] Warning: overwriting stash ‘coverage-report’ [2020-04-20T04:26:50.554Z] Stashed 1 file(s) [Pipeline] } [2020-04-20T04:26:50.571Z] $ docker stop --time=1 0e913e7886aaef24d20fb5e3c4b5469d4ee2d2a1912dd66aa754c71adf13d4d6 [2020-04-20T04:26:52.852Z] $ docker rm -f 0e913e7886aaef24d20fb5e3c4b5469d4ee2d2a1912dd66aa754c71adf13d4d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-20T04:26:54.232Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-20T04:26:54.567Z] + ls -al . [2020-04-20T04:26:54.567Z] total 112 [2020-04-20T04:26:54.567Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 04:26 . [2020-04-20T04:26:54.567Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 04:24 .. [2020-04-20T04:26:54.567Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 20 04:25 .dockerignore [2020-04-20T04:26:54.567Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 04:25 .git [2020-04-20T04:26:54.567Z] -rw-rw-r-- 1 jenkins jenkins 272 Apr 20 04:25 .gitignore [2020-04-20T04:26:54.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 04:25 .semver [2020-04-20T04:26:54.567Z] -rw-rw-r-- 1 jenkins jenkins 832 Apr 20 04:25 Dockerfile [2020-04-20T04:26:54.567Z] -rw-rw-r-- 1 jenkins jenkins 409 Apr 20 04:25 Dockerfile.build [2020-04-20T04:26:54.567Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 20 04:25 Jenkinsfile [2020-04-20T04:26:54.567Z] -rw-rw-r-- 1 jenkins jenkins 937 Apr 20 04:25 Makefile [2020-04-20T04:26:54.567Z] -rw-rw-r-- 1 jenkins jenkins 12398 Apr 20 04:25 README.md [2020-04-20T04:26:54.567Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 04:22 VERSION [2020-04-20T04:26:54.567Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 04:25 bin [2020-04-20T04:26:54.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 04:25 cmd [2020-04-20T04:26:54.567Z] -rw-r--r-- 1 jenkins jenkins 8492 Apr 20 04:26 coverage.out [2020-04-20T04:26:54.567Z] -rw-r--r-- 1 jenkins jenkins 210 Apr 20 04:26 go.mod [2020-04-20T04:26:54.567Z] -rw-r--r-- 1 jenkins jenkins 12615 Apr 20 04:26 go.sum [2020-04-20T04:26:54.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 04:25 internal [2020-04-20T04:26:54.567Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 04:25 profiles [2020-04-20T04:26:54.567Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 20 04:25 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-20T04:26:54.917Z] + 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 . [2020-04-20T04:26:55.186Z] Sending build context to Docker daemon 339.5kB [2020-04-20T04:26:55.186Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-04-20T04:26:55.186Z] Step 2/23 : FROM ${BASE} AS builder [2020-04-20T04:26:55.186Z] ---> e3ef78ea9aa4 [2020-04-20T04:26:55.186Z] Step 3/23 : ARG MAKE='make build' [2020-04-20T04:26:55.454Z] ---> Running in 8d702fbbe158 [2020-04-20T04:26:55.721Z] Removing intermediate container 8d702fbbe158 [2020-04-20T04:26:55.721Z] ---> 75f2d37e454c [2020-04-20T04:26:55.721Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git" [2020-04-20T04:26:55.989Z] ---> Running in 4daab1668765 [2020-04-20T04:26:56.256Z] Removing intermediate container 4daab1668765 [2020-04-20T04:26:56.256Z] ---> 69dc6c4bec1f [2020-04-20T04:26:56.256Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2020-04-20T04:26:56.525Z] ---> Running in 4b3757edc5b7 [2020-04-20T04:26:56.792Z] Removing intermediate container 4b3757edc5b7 [2020-04-20T04:26:56.792Z] ---> 17f7fc33bb54 [2020-04-20T04:26:56.792Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-20T04:26:57.062Z] ---> Running in 49a5dd55f62b [2020-04-20T04:26:59.011Z] Removing intermediate container 49a5dd55f62b [2020-04-20T04:26:59.011Z] ---> c599b93fdd0b [2020-04-20T04:26:59.011Z] Step 7/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-20T04:26:59.011Z] ---> Running in 92d196d5c7a1 [2020-04-20T04:26:59.981Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-20T04:27:00.561Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-20T04:27:01.522Z] OK: 125 MiB in 39 packages [2020-04-20T04:27:02.487Z] Removing intermediate container 92d196d5c7a1 [2020-04-20T04:27:02.487Z] ---> 1113c7af3e3c [2020-04-20T04:27:02.487Z] Step 8/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go [2020-04-20T04:27:02.487Z] ---> Running in 0f7c586b2b8a [2020-04-20T04:27:02.755Z] Removing intermediate container 0f7c586b2b8a [2020-04-20T04:27:02.755Z] ---> 753e088207c4 [2020-04-20T04:27:02.755Z] Step 9/23 : COPY go.mod . [2020-04-20T04:27:03.337Z] ---> 9871c34d32b8 [2020-04-20T04:27:03.337Z] Step 10/23 : COPY Makefile . [2020-04-20T04:27:03.924Z] ---> c49c85843ac7 [2020-04-20T04:27:03.924Z] Step 11/23 : RUN make update [2020-04-20T04:27:03.924Z] ---> Running in fb6a8395603a [2020-04-20T04:27:04.886Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-04-20T04:27:05.846Z] Removing intermediate container fb6a8395603a [2020-04-20T04:27:05.846Z] ---> a9e06f1d8bdf [2020-04-20T04:27:05.846Z] Step 12/23 : COPY . . [2020-04-20T04:27:06.432Z] ---> b8a9aa7fe369 [2020-04-20T04:27:06.432Z] Step 13/23 : RUN ${MAKE} [2020-04-20T04:27:06.705Z] ---> Running in 1b5f992af721 [2020-04-20T04:27:07.666Z] 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 [2020-04-20T04:27:34.385Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-20T04:27:38.641Z] Removing intermediate container 1b5f992af721 [2020-04-20T04:27:38.641Z] ---> ba60ffd953e9 [2020-04-20T04:27:38.641Z] Step 14/23 : FROM alpine [2020-04-20T04:27:38.641Z] latest: Pulling from library/alpine [2020-04-20T04:27:38.641Z] 8a0637ca1ac9: Pulling fs layer [2020-04-20T04:27:39.226Z] 8a0637ca1ac9: Verifying Checksum [2020-04-20T04:27:39.226Z] 8a0637ca1ac9: Download complete [2020-04-20T04:27:39.813Z] 8a0637ca1ac9: Pull complete [2020-04-20T04:27:39.813Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-04-20T04:27:39.813Z] Status: Downloaded newer image for alpine:latest [2020-04-20T04:27:39.813Z] ---> 2ee122dcc32d [2020-04-20T04:27:39.813Z] Step 15/23 : ENV APP_PORT=49993 [2020-04-20T04:27:39.813Z] ---> Running in a44353680c2b [2020-04-20T04:27:40.080Z] Removing intermediate container a44353680c2b [2020-04-20T04:27:40.080Z] ---> 1531fe9bb160 [2020-04-20T04:27:40.080Z] Step 16/23 : EXPOSE $APP_PORT [2020-04-20T04:27:40.346Z] ---> Running in ec5d2ae28e48 [2020-04-20T04:27:40.651Z] Removing intermediate container ec5d2ae28e48 [2020-04-20T04:27:40.651Z] ---> 7e78638bbcf0 [2020-04-20T04:27:40.651Z] Step 17/23 : ENV DEVICE_PORT=161 [2020-04-20T04:27:40.929Z] ---> Running in d1d21738c003 [2020-04-20T04:27:41.202Z] Removing intermediate container d1d21738c003 [2020-04-20T04:27:41.202Z] ---> 5bc0103fa31b [2020-04-20T04:27:41.202Z] Step 18/23 : EXPOSE $DEVICE_PORT [2020-04-20T04:27:41.202Z] ---> Running in 40051a161f98 [2020-04-20T04:27:41.810Z] Removing intermediate container 40051a161f98 [2020-04-20T04:27:41.810Z] ---> a5bc1c8723b3 [2020-04-20T04:27:41.811Z] Step 19/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / [2020-04-20T04:27:42.812Z] ---> 7b57512495c9 [2020-04-20T04:27:42.812Z] Step 20/23 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-04-20T04:27:42.812Z] ---> Running in d74f207be8cf [2020-04-20T04:27:43.091Z] Removing intermediate container d74f207be8cf [2020-04-20T04:27:43.091Z] ---> e348b8246373 [2020-04-20T04:27:43.091Z] Step 21/23 : LABEL arch=arm64 [2020-04-20T04:27:43.091Z] ---> Running in 02b3e292b55d [2020-04-20T04:27:43.679Z] Removing intermediate container 02b3e292b55d [2020-04-20T04:27:43.679Z] ---> 08634afbad04 [2020-04-20T04:27:43.679Z] Step 22/23 : LABEL git_sha=89a81a3044fe74e965300ef58198d1a75ebfce47 [2020-04-20T04:27:43.679Z] ---> Running in e724d2bc58c7 [2020-04-20T04:27:43.946Z] Removing intermediate container e724d2bc58c7 [2020-04-20T04:27:43.946Z] ---> f27eb17d3e20 [2020-04-20T04:27:43.946Z] Step 23/23 : LABEL version=0.0.0 [2020-04-20T04:27:44.219Z] ---> Running in c79550636384 [2020-04-20T04:27:44.485Z] Removing intermediate container c79550636384 [2020-04-20T04:27:44.485Z] ---> e37db88fe4d5 [2020-04-20T04:27:44.485Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-20T04:27:44.485Z] Successfully built e37db88fe4d5 [2020-04-20T04:27:44.485Z] 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 [2020-04-20T04:27:46.555Z] provisioning config files... [2020-04-20T04:27:46.570Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-47@tmp/config1796905150402457082tmp [Pipeline] { [Pipeline] sh [2020-04-20T04:27:46.979Z] + curl -s https://codecov.io/bash [2020-04-20T04:27:46.979Z] + bash -s - -t @/w/workspace/dgexfoundry_device-snmp-go_PR-47@tmp/config1796905150402457082tmp [2020-04-20T04:27:47.240Z] [2020-04-20T04:27:47.240Z] _____ _ [2020-04-20T04:27:47.240Z] / ____| | | [2020-04-20T04:27:47.240Z] | | ___ __| | ___ ___ _____ __ [2020-04-20T04:27:47.240Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-20T04:27:47.240Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-20T04:27:47.240Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-20T04:27:47.240Z] Bash-tbd [2020-04-20T04:27:47.240Z] [2020-04-20T04:27:47.240Z] [2020-04-20T04:27:47.240Z] ==> Jenkins CI detected. [2020-04-20T04:27:47.240Z] project root: . [2020-04-20T04:27:47.240Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-20T04:27:47.240Z] ==> Running gcov in . (disable via -X gcov) [2020-04-20T04:27:47.240Z] ==> Python coveragepy not found [2020-04-20T04:27:47.240Z] ==> Searching for coverage reports in: [2020-04-20T04:27:47.240Z] + . [2020-04-20T04:27:47.240Z] -> Found 1 reports [2020-04-20T04:27:47.240Z] ==> Detecting git/mercurial file structure [2020-04-20T04:27:47.240Z] ==> Reading reports [2020-04-20T04:27:47.240Z] + ./coverage.out bytes=8492 [2020-04-20T04:27:47.240Z] ==> Appending adjustments [2020-04-20T04:27:47.240Z] http://docs.codecov.io/docs/fixing-reports [2020-04-20T04:27:47.506Z] + Found adjustments [2020-04-20T04:27:47.506Z] ==> Gzipping contents [2020-04-20T04:27:47.506Z] ==> Uploading reports [2020-04-20T04:27:47.506Z] url: https://codecov.io [2020-04-20T04:27:47.506Z] 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= [2020-04-20T04:27:47.506Z] -> Pinging Codecov [2020-04-20T04:27:47.506Z] 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= [2020-04-20T04:27:48.091Z] -> Uploading [2020-04-20T04:27:48.679Z] -> View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/89a81a3044fe74e965300ef58198d1a75ebfce47 [Pipeline] } [2020-04-20T04:27:48.703Z] 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 [2020-04-20T04:27:50.406Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-20T04:27:50.745Z] ---> package-listing.sh [2020-04-20T04:27:50.746Z] ++ facter osfamily [2020-04-20T04:27:50.746Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-20T04:27:50.746Z] + OS_FAMILY=redhat [2020-04-20T04:27:50.746Z] + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-47 [2020-04-20T04:27:50.746Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-20T04:27:50.746Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-20T04:27:50.746Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-20T04:27:50.746Z] + PACKAGES=/tmp/packages_start.txt [2020-04-20T04:27:50.746Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-47 ']' [2020-04-20T04:27:50.746Z] + PACKAGES=/tmp/packages_end.txt [2020-04-20T04:27:50.746Z] + case "${OS_FAMILY}" in [2020-04-20T04:27:50.746Z] + rpm -qa [2020-04-20T04:27:50.746Z] + sort [2020-04-20T04:27:56.211Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-20T04:27:56.211Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-20T04:27:56.211Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-20T04:27:56.211Z] + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-47 ']' [2020-04-20T04:27:56.211Z] + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-47/archives/ [2020-04-20T04:27:56.211Z] + 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 [2020-04-20T04:27:56.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-20T04:27:56.945Z] [2020-04-20T04:27:56.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-20T04:27:57.350Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-20T04:27:57.350Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-20T04:27:57.350Z] c9b1b535fdd9: Pulling fs layer [2020-04-20T04:27:57.350Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-20T04:27:57.350Z] 756a868c4378: Pulling fs layer [2020-04-20T04:27:57.350Z] 444b2fc9a129: Pulling fs layer [2020-04-20T04:27:57.350Z] ea15f1150254: Pulling fs layer [2020-04-20T04:27:57.350Z] 41b27a9f41bf: Pulling fs layer [2020-04-20T04:27:57.350Z] 28c525ee5125: Pulling fs layer [2020-04-20T04:27:57.350Z] 094b1ea09ed8: Pulling fs layer [2020-04-20T04:27:57.350Z] 138eaada9080: Pulling fs layer [2020-04-20T04:27:57.350Z] 0622d0fa9048: Pulling fs layer [2020-04-20T04:27:57.350Z] 444b2fc9a129: Waiting [2020-04-20T04:27:57.350Z] ea15f1150254: Waiting [2020-04-20T04:27:57.350Z] 41b27a9f41bf: Waiting [2020-04-20T04:27:57.350Z] 138eaada9080: Waiting [2020-04-20T04:27:57.350Z] 28c525ee5125: Waiting [2020-04-20T04:27:57.350Z] 094b1ea09ed8: Waiting [2020-04-20T04:27:57.350Z] 0622d0fa9048: Waiting [2020-04-20T04:27:57.639Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-20T04:27:57.639Z] 2cc5ad85d9ab: Download complete [2020-04-20T04:27:57.639Z] 444b2fc9a129: Verifying Checksum [2020-04-20T04:27:57.639Z] 444b2fc9a129: Download complete [2020-04-20T04:27:57.639Z] c9b1b535fdd9: Verifying Checksum [2020-04-20T04:27:57.639Z] c9b1b535fdd9: Download complete [2020-04-20T04:27:57.967Z] ea15f1150254: Verifying Checksum [2020-04-20T04:27:57.967Z] ea15f1150254: Download complete [2020-04-20T04:27:57.967Z] 28c525ee5125: Verifying Checksum [2020-04-20T04:27:57.967Z] 28c525ee5125: Download complete [2020-04-20T04:27:58.596Z] c9b1b535fdd9: Pull complete [2020-04-20T04:27:58.892Z] 2cc5ad85d9ab: Pull complete [2020-04-20T04:27:59.537Z] 756a868c4378: Verifying Checksum [2020-04-20T04:27:59.537Z] 756a868c4378: Download complete [2020-04-20T04:27:59.537Z] 138eaada9080: Verifying Checksum [2020-04-20T04:27:59.537Z] 138eaada9080: Download complete [2020-04-20T04:27:59.537Z] 094b1ea09ed8: Verifying Checksum [2020-04-20T04:27:59.537Z] 094b1ea09ed8: Download complete [2020-04-20T04:27:59.859Z] 0622d0fa9048: Verifying Checksum [2020-04-20T04:27:59.859Z] 0622d0fa9048: Download complete [2020-04-20T04:28:00.489Z] 41b27a9f41bf: Verifying Checksum [2020-04-20T04:28:00.489Z] 41b27a9f41bf: Download complete [2020-04-20T04:28:01.889Z] 756a868c4378: Pull complete [2020-04-20T04:28:01.889Z] 444b2fc9a129: Pull complete [2020-04-20T04:28:02.484Z] ea15f1150254: Pull complete [2020-04-20T04:28:09.316Z] 41b27a9f41bf: Pull complete [2020-04-20T04:28:09.316Z] 28c525ee5125: Pull complete [2020-04-20T04:28:12.919Z] 094b1ea09ed8: Pull complete [2020-04-20T04:28:13.185Z] 138eaada9080: Pull complete [2020-04-20T04:28:13.459Z] 0622d0fa9048: Pull complete [2020-04-20T04:28:13.459Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-20T04:28:13.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-20T04:28:13.775Z] prd-centos7-docker-4c-2g-4870 does not seem to be running inside a container [2020-04-20T04:28:13.836Z] $ 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 [2020-04-20T04:28:14.650Z] $ docker top d4d52ee6abbaf5bdfe13b41e6e3a5eccbbf49b7a65241833c499bfbcb683b064 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-20T04:28:15.080Z] provisioning config files... [2020-04-20T04:28:15.096Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-47@tmp/config7891834767448288394tmp [Pipeline] { [Pipeline] echo [2020-04-20T04:28:15.181Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-20T04:28:15.552Z] ---> create-netrc.sh [Pipeline] echo [2020-04-20T04:28:15.846Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-20T04:28:16.520Z] ---> logs-deploy.sh [2020-04-20T04:28:16.520Z] + ARCHIVE_ARTIFACTS= [2020-04-20T04:28:16.520Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-20T04:28:16.520Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-20T04:28:16.520Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-20T04:28:16.520Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-47/1 [2020-04-20T04:28:16.520Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/PR-47/1/ [2020-04-20T04:28:16.520Z] + 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 [2020-04-20T04:28:18.465Z] Archives upload complete. [2020-04-20T04:28:18.465Z] + 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/