Pull request #51 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec+dbf8a36c6ff36112bb028ee31d5f3d17415acaac (292da05c15cb402b855bd806b0e92c31dcad8529) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-snmp-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-8227 in /w/workspace/dgexfoundry_device-snmp-go_PR-51 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/dgexfoundry_device-snmp-go_PR-51 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 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/51/head:refs/remotes/origin/PR-51 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit dbf8a36c6ff36112bb028ee31d5f3d17415acaac into PR head commit 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec Merge succeeded, producing 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec Checking out Revision 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec (PR-51) > git config core.sparsecheckout # timeout=10 > git checkout -f 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge dbf8a36c6ff36112bb028ee31d5f3d17415acaac # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec # timeout=10 Commit message: "upgrade sdk verion to v1.2.1 for geneva release" First time build. Skipping changelog. > git rev-list --no-walk c91e3caa8c4b61c5c57b5cd1ce8358e614e127ed # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:56:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:56:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:56:08 ========================================================= 13:56:08 EdgeX Global Pipelines Version Info 13:56:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:56:10 ------------------- 13:56:10 stable info: 13:56:10 ------------------- 13:56:10 Commited By: Emilio Reyes emilio.reyes@intel.com 13:56:10 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 13:56:10 Message: update stable to v1.0.87 13:56:10 ------------------- 13:56:10 experimental info: 13:56:10 ------------------- 13:56:10 Commited By: **** collab-it+edgex@linuxfoundation.org 13:56:10 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 13:56:10 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 13:56:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:56:13 13:56:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:56:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:56:13 latest: Pulling from edgex-devops/git-semver 13:56:13 9123ac7c32f7: Pulling fs layer 13:56:13 b8cc5d1170e3: Pulling fs layer 13:56:13 2924cbbf6a41: Pulling fs layer 13:56:13 93b08a4f1073: Pulling fs layer 13:56:13 93b08a4f1073: Waiting 13:56:13 b8cc5d1170e3: Verifying Checksum 13:56:13 b8cc5d1170e3: Download complete 13:56:13 9123ac7c32f7: Verifying Checksum 13:56:13 9123ac7c32f7: Download complete 13:56:13 93b08a4f1073: Verifying Checksum 13:56:13 93b08a4f1073: Download complete 13:56:13 2924cbbf6a41: Verifying Checksum 13:56:13 2924cbbf6a41: Download complete 13:56:14 9123ac7c32f7: Pull complete 13:56:14 b8cc5d1170e3: Pull complete 13:56:15 2924cbbf6a41: Pull complete 13:56:15 93b08a4f1073: Pull complete 13:56:15 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 13:56:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:56:15 prd-centos7-docker-4c-2g-8227 does not seem to be running inside a container 13:56:15 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-51 -v /w/workspace/dgexfoundry_device-snmp-go_PR-51:/w/workspace/dgexfoundry_device-snmp-go_PR-51:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:56:15 $ docker top 8a089b0e5b5c6557aeee594cba77eb86eb72d034c2be782678546e7d2c4e4092 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:56:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:56:16 [ssh-agent] Looking for ssh-agent implementation... 13:56:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:56:16 $ docker exec 8a089b0e5b5c6557aeee594cba77eb86eb72d034c2be782678546e7d2c4e4092 ssh-agent 13:56:16 SSH_AUTH_SOCK=/tmp/ssh-HoWcAHHYBUly/agent.15 13:56:16 SSH_AGENT_PID=22 13:56:16 Running ssh-add (command line suppressed) 13:56:16 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp/private_key_4397806569711345830.key (/w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp/private_key_4397806569711345830.key) 13:56:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:56:17 + git describe --exact-match --tags HEAD 13:56:17 fatal: No names found, cannot describe anything. [Pipeline] } 13:56:17 $ docker exec --env ******** --env ******** 8a089b0e5b5c6557aeee594cba77eb86eb72d034c2be782678546e7d2c4e4092 ssh-agent -k 13:56:17 unset SSH_AUTH_SOCK; 13:56:17 unset SSH_AGENT_PID; 13:56:17 echo Agent pid 22 killed; 13:56:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 13:56:17 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 13:56:17 This usually means this commit has not been tagged. [Pipeline] sshagent 13:56:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:56:17 [ssh-agent] Looking for ssh-agent implementation... 13:56:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:56:17 $ docker exec 8a089b0e5b5c6557aeee594cba77eb86eb72d034c2be782678546e7d2c4e4092 ssh-agent 13:56:18 SSH_AUTH_SOCK=/tmp/ssh-RYJ7QxusOG0Z/agent.57 13:56:18 SSH_AGENT_PID=63 13:56:18 Running ssh-add (command line suppressed) 13:56:18 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp/private_key_971029713624254453.key (/w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp/private_key_971029713624254453.key) 13:56:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:56:18 + git semver init 13:56:18 # -> Open(): unable to determine branch for HEAD 13:56:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-51/.git 13:56:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-51 13:56:18 # $SEMVER_REMOTE_NAME = origin 13:56:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:56:18 # $SEMVER_USER_NAME = edgex-jenkins 13:56:18 # $SEMVER_BRANCH = PR-51 13:56:18 # $SEMVER_TEMP = /tmp/semver-018288271 13:56:18 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 13:56:19 # '/tmp/semver-018288271' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-51/.semver' 13:56:19 # -> Force: false 13:56:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-51/.semver [Pipeline] } 13:56:19 $ docker exec --env ******** --env ******** 8a089b0e5b5c6557aeee594cba77eb86eb72d034c2be782678546e7d2c4e4092 ssh-agent -k 13:56:19 unset SSH_AUTH_SOCK; 13:56:19 unset SSH_AGENT_PID; 13:56:19 echo Agent pid 63 killed; 13:56:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:56:20 + git semver [Pipeline] } 13:56:20 $ docker stop --time=1 8a089b0e5b5c6557aeee594cba77eb86eb72d034c2be782678546e7d2c4e4092 13:56:21 $ docker rm -f 8a089b0e5b5c6557aeee594cba77eb86eb72d034c2be782678546e7d2c4e4092 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 13:56:22 Stashed 36 file(s) [Pipeline] echo 13:56:22 [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 13:56:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8226 in /w/workspace/dgexfoundry_device-snmp-go_PR-51 [Pipeline] { [Pipeline] ws 13:56:22 Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout 13:56:27 using credential edgex-jenkins-ssh 13:56:27 Cloning the remote Git repository 13:56:27 Cloning with configured refspecs honoured and without tags 13:56:27 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 13:56:27 > git init /w/workspace/device-snmp-go/3 # timeout=10 13:56:27 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 13:56:27 > git --version # timeout=10 13:56:27 using GIT_SSH to set credentials SSH Credentials for GitHub 13:56:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:56:28 Fetching without tags 13:56:28 Merging remotes/origin/master commit dbf8a36c6ff36112bb028ee31d5f3d17415acaac into PR head commit 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec 13:56:28 Merge succeeded, producing 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec 13:56:28 Checking out Revision 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec (PR-51) 13:56:27 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 13:56:27 > git config --add remote.origin.fetch +refs/pull/51/head:refs/remotes/origin/PR-51 # timeout=10 13:56:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:56:27 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 13:56:28 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 13:56:28 using GIT_SSH to set credentials SSH Credentials for GitHub 13:56:28 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:56:28 > git config core.sparsecheckout # timeout=10 13:56:28 > git checkout -f 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec # timeout=10 13:56:28 > git remote # timeout=10 13:56:28 > git config --get remote.origin.url # timeout=10 13:56:28 using GIT_SSH to set credentials SSH Credentials for GitHub 13:56:28 > git merge dbf8a36c6ff36112bb028ee31d5f3d17415acaac # timeout=10 13:56:28 > git rev-parse HEAD^{commit} # timeout=10 13:56:28 > git config core.sparsecheckout # timeout=10 13:56:28 > git checkout -f 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec # timeout=10 13:56:33 Commit message: "upgrade sdk verion to v1.2.1 for geneva release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:56:34 ========================================================= 13:56:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 13:56:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:56:35 + 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 . 13:56:36 Sending build context to Docker daemon 368.1kB 13:56:36 Step 1/10 : ARG BASE=golang:1.13-alpine 13:56:36 Step 2/10 : FROM ${BASE} 13:56:36 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:56:37 cde5963f3b93: Pulling fs layer 13:56:37 2a23fa8c16f7: Pulling fs layer 13:56:37 777b28850792: Pulling fs layer 13:56:37 8a11ddd9e578: Pulling fs layer 13:56:37 4cf88f913ddb: Pulling fs layer 13:56:37 1df406cf5192: Pulling fs layer 13:56:37 cd6300453558: Pulling fs layer 13:56:37 b9c365052c96: Pulling fs layer 13:56:37 a2d8cc88f415: Pulling fs layer 13:56:37 ea1d1ca13537: Pulling fs layer 13:56:37 3750a50a1c5e: Pulling fs layer 13:56:37 8a11ddd9e578: Waiting 13:56:37 4cf88f913ddb: Waiting 13:56:37 1df406cf5192: Waiting 13:56:37 cd6300453558: Waiting 13:56:37 ea1d1ca13537: Waiting 13:56:37 b9c365052c96: Waiting 13:56:37 3750a50a1c5e: Waiting 13:56:37 777b28850792: Verifying Checksum 13:56:37 777b28850792: Download complete 13:56:37 2a23fa8c16f7: Verifying Checksum 13:56:37 2a23fa8c16f7: Download complete 13:56:37 Still waiting to schedule task 13:56:37 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:56:37 4cf88f913ddb: Verifying Checksum 13:56:37 4cf88f913ddb: Download complete 13:56:37 1df406cf5192: Verifying Checksum 13:56:37 1df406cf5192: Download complete 13:56:37 cde5963f3b93: Download complete 13:56:38 cde5963f3b93: Pull complete 13:56:39 2a23fa8c16f7: Pull complete 13:56:39 777b28850792: Pull complete 13:56:42 cd6300453558: Verifying Checksum 13:56:42 cd6300453558: Download complete 13:56:42 a2d8cc88f415: Verifying Checksum 13:56:42 a2d8cc88f415: Download complete 13:56:45 ea1d1ca13537: Verifying Checksum 13:56:45 ea1d1ca13537: Download complete 13:56:45 3750a50a1c5e: Verifying Checksum 13:56:45 3750a50a1c5e: Download complete 13:56:47 b9c365052c96: Verifying Checksum 13:56:47 b9c365052c96: Download complete 13:56:48 8a11ddd9e578: Verifying Checksum 13:56:48 8a11ddd9e578: Download complete 13:57:01 8a11ddd9e578: Pull complete 13:57:01 4cf88f913ddb: Pull complete 13:57:01 1df406cf5192: Pull complete 13:57:05 cd6300453558: Pull complete 13:57:09 b9c365052c96: Pull complete 13:57:09 a2d8cc88f415: Pull complete 13:57:11 ea1d1ca13537: Pull complete 13:57:11 3750a50a1c5e: Pull complete 13:57:12 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 13:57:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 13:57:12 ---> 78745c68409d 13:57:12 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 13:57:16 ---> Running in 83272a5f6c93 13:57:16 Removing intermediate container 83272a5f6c93 13:57:16 ---> 7d5bd2b2a3aa 13:57:16 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 13:57:16 ---> Running in d8ab5194195e 13:57:16 Removing intermediate container d8ab5194195e 13:57:16 ---> b4c9e8be8973 13:57:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 13:57:16 ---> Running in 989a641c3f14 13:57:16 Removing intermediate container 989a641c3f14 13:57:16 ---> cec95c809832 13:57:16 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:57:17 ---> Running in 9025723c0efb 13:57:19 Removing intermediate container 9025723c0efb 13:57:19 ---> 0114b319480f 13:57:19 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:57:19 ---> Running in 0b1b8723fd38 13:57:20 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 13:57:20 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 13:57:20 OK: 125 MiB in 39 packages 13:57:22 Removing intermediate container 0b1b8723fd38 13:57:22 ---> c38197969352 13:57:22 Step 8/10 : WORKDIR /device-snmp-go 13:57:22 ---> Running in 69ac354c376a 13:57:22 Removing intermediate container 69ac354c376a 13:57:22 ---> e6db0a20e519 13:57:22 Step 9/10 : COPY . . 13:57:23 ---> 83b2bddcb217 13:57:23 Step 10/10 : RUN go mod download 13:57:23 ---> Running in 424ee390d983 13:57:25 go: finding github.com/BurntSushi/toml v0.3.1 13:57:25 go: finding github.com/OneOfOne/xxhash v1.2.6 13:57:25 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 13:57:25 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 13:57:25 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 13:57:25 go: finding github.com/bgentry/speakeasy v0.1.0 13:57:25 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 13:57:25 go: finding github.com/davecgh/go-spew v1.1.1 13:57:25 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 13:57:25 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 13:57:25 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 13:57:25 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 13:57:25 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 13:57:25 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 13:57:25 go: finding github.com/fatih/color v1.7.0 13:57:25 go: finding github.com/fxamacker/cbor/v2 v2.2.0 13:57:25 go: finding github.com/go-kit/kit v0.8.0 13:57:25 go: finding github.com/go-logfmt/logfmt v0.4.0 13:57:25 go: finding github.com/go-stack/stack v1.8.0 13:57:25 go: finding github.com/golang/mock v1.2.0 13:57:25 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 13:57:25 go: finding github.com/google/uuid v1.1.0 13:57:25 go: finding github.com/gorilla/mux v1.7.1 13:57:25 go: finding github.com/hashicorp/consul/api v1.1.0 13:57:25 go: finding github.com/hashicorp/consul/sdk v0.1.1 13:57:25 go: finding github.com/hashicorp/errwrap v1.0.0 13:57:25 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 13:57:25 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 13:57:25 go: finding github.com/hashicorp/go-msgpack v0.5.3 13:57:25 go: finding github.com/hashicorp/go-multierror v1.0.0 13:57:25 go: finding github.com/hashicorp/go-rootcerts v1.0.0 13:57:25 go: finding github.com/hashicorp/go-sockaddr v1.0.0 13:57:25 go: finding github.com/hashicorp/go-syslog v1.0.0 13:57:25 go: finding github.com/hashicorp/go-uuid v1.0.1 13:57:25 go: finding github.com/hashicorp/go.net v0.0.1 13:57:25 go: finding github.com/hashicorp/golang-lru v0.5.0 13:57:25 go: finding github.com/hashicorp/logutils v1.0.0 13:57:25 go: finding github.com/hashicorp/mdns v1.0.0 13:57:25 go: finding github.com/hashicorp/memberlist v0.1.3 13:57:25 go: finding github.com/hashicorp/serf v0.8.2 13:57:25 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 13:57:25 go: finding github.com/mattn/go-colorable v0.0.9 13:57:25 go: finding github.com/mattn/go-isatty v0.0.3 13:57:25 go: finding github.com/miekg/dns v1.0.14 13:57:25 go: finding github.com/mitchellh/cli v1.0.0 13:57:25 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 13:57:25 go: finding github.com/mitchellh/copystructure v1.0.0 13:57:25 go: finding github.com/mitchellh/go-homedir v1.0.0 13:57:25 go: finding github.com/mitchellh/go-testing-interface v1.0.0 13:57:25 go: finding github.com/mitchellh/gox v0.4.0 13:57:25 go: finding github.com/mitchellh/iochan v1.0.0 13:57:25 go: finding github.com/mitchellh/mapstructure v1.1.2 13:57:25 go: finding github.com/mitchellh/reflectwalk v1.0.0 13:57:25 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 13:57:25 go: finding github.com/pelletier/go-toml v1.2.0 13:57:25 go: finding github.com/pkg/errors v0.8.1 13:57:25 go: finding github.com/pmezard/go-difflib v1.0.0 13:57:25 go: finding github.com/posener/complete v1.1.1 13:57:25 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 13:57:25 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 13:57:25 go: finding github.com/soniah/gosnmp v1.21.0 13:57:25 go: finding github.com/stretchr/objx v0.1.0 13:57:25 go: finding github.com/stretchr/testify v1.5.1 13:57:25 go: finding github.com/ugorji/go v1.1.4 13:57:25 go: finding github.com/x448/float16 v0.8.4 13:57:25 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 13:57:25 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 13:57:25 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 13:57:25 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 13:57:25 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 13:57:25 go: finding gopkg.in/yaml.v2 v2.2.8 13:57:36 Removing intermediate container 424ee390d983 13:57:36 ---> 4525e01a4d35 13:57:36 Successfully built 4525e01a4d35 13:57:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:57:36 + docker inspect -f . ci-base-image-arm64 13:57:36 . [Pipeline] withDockerContainer 13:57:37 prd-ubuntu18.04-docker-arm64-4c-16g-8226 does not seem to be running inside a container 13:57:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:57:38 $ docker top fddd16d3e5396a27823148ad303862b30172938b2206aeadba4902ca31549d82 -eo pid,comm [Pipeline] { [Pipeline] sh 13:57:40 + go version 13:57:40 go version go1.13.5 linux/arm64 [Pipeline] sh 13:57:41 + make test 13:57:41 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:57:42 ? github.com/edgexfoundry/device-snmp-go [no test files] 13:58:14 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 13:58:14 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.014s coverage: 0.0% of statements 13:58:14 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:58:16 gofmt -l . 13:58:16 [ "`gofmt -l .`" = "" ] 13:58:16 ./bin/test-attribution-txt.sh 13:58:16 Running on prd-centos7-docker-4c-2g-8229 in /w/workspace/dgexfoundry_device-snmp-go_PR-51 [Pipeline] { [Pipeline] ws 13:58:16 Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout 13:58:17 ./bin/test-go-mod-tidy.sh [Pipeline] stash 13:58:17 Stashed 1 file(s) [Pipeline] } 13:58:17 $ docker stop --time=1 fddd16d3e5396a27823148ad303862b30172938b2206aeadba4902ca31549d82 13:58:19 using credential edgex-jenkins-ssh 13:58:19 Cloning the remote Git repository 13:58:19 Cloning with configured refspecs honoured and without tags 13:58:19 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 13:58:19 > git init /w/workspace/device-snmp-go/3 # timeout=10 13:58:20 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 13:58:20 > git --version # timeout=10 13:58:20 using GIT_SSH to set credentials SSH Credentials for GitHub 13:58:20 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:58:20 $ docker rm -f fddd16d3e5396a27823148ad303862b30172938b2206aeadba4902ca31549d82 13:58:20 Fetching without tags [Pipeline] // withDockerContainer [Pipeline] } 13:58:20 Merging remotes/origin/master commit dbf8a36c6ff36112bb028ee31d5f3d17415acaac into PR head commit 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec [Pipeline] // script 13:58:21 Merge succeeded, producing 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec 13:58:21 Checking out Revision 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec (PR-51) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 13:58:20 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 13:58:20 > git config --add remote.origin.fetch +refs/pull/51/head:refs/remotes/origin/PR-51 # timeout=10 13:58:20 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:58:20 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 13:58:20 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 13:58:20 using GIT_SSH to set credentials SSH Credentials for GitHub 13:58:20 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:58:20 > git config core.sparsecheckout # timeout=10 13:58:21 > git checkout -f 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec # timeout=10 13:58:21 > git remote # timeout=10 13:58:21 > git config --get remote.origin.url # timeout=10 13:58:21 using GIT_SSH to set credentials SSH Credentials for GitHub 13:58:21 > git merge dbf8a36c6ff36112bb028ee31d5f3d17415acaac # timeout=10 13:58:21 > git rev-parse HEAD^{commit} # timeout=10 13:58:21 > git config core.sparsecheckout # timeout=10 13:58:21 > git checkout -f 1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 13:58:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:58:22 + ls -al . 13:58:22 total 132 13:58:22 drwxrwxr-x 8 jenkins jenkins 4096 May 13 13:58 . 13:58:22 drwxrwxr-x 4 jenkins jenkins 4096 May 13 13:56 .. 13:58:22 -rw-rw-r-- 1 jenkins jenkins 6 May 13 13:56 .dockerignore 13:58:22 drwxrwxr-x 8 jenkins jenkins 4096 May 13 13:56 .git 13:58:22 -rw-rw-r-- 1 jenkins jenkins 272 May 13 13:56 .gitignore 13:58:22 drwxrwxr-x 3 jenkins jenkins 4096 May 13 13:56 .semver 13:58:22 -rw-rw-r-- 1 jenkins jenkins 4910 May 13 13:56 Attribution.txt 13:58:22 -rw-rw-r-- 1 jenkins jenkins 994 May 13 13:56 Dockerfile 13:58:22 -rw-rw-r-- 1 jenkins jenkins 409 May 13 13:56 Dockerfile.build 13:58:22 -rw-rw-r-- 1 jenkins jenkins 678 May 13 13:56 Jenkinsfile 13:58:22 -rw-rw-r-- 1 jenkins jenkins 11340 May 13 13:56 LICENSE 13:58:22 -rw-rw-r-- 1 jenkins jenkins 937 May 13 13:56 Makefile 13:58:22 -rw-rw-r-- 1 jenkins jenkins 12398 May 13 13:56 README.md 13:58:22 -rw-rw-r-- 1 jenkins jenkins 5 May 13 13:56 VERSION 13:58:22 drwxrwxr-x 2 jenkins jenkins 4096 May 13 13:56 bin 13:58:22 drwxrwxr-x 3 jenkins jenkins 4096 May 13 13:56 cmd 13:58:22 -rw-r--r-- 1 jenkins jenkins 8493 May 13 13:58 coverage.out 13:58:22 -rw-r--r-- 1 jenkins jenkins 203 May 13 13:58 go.mod 13:58:22 -rw-r--r-- 1 jenkins jenkins 12704 May 13 13:58 go.sum 13:58:22 drwxrwxr-x 3 jenkins jenkins 4096 May 13 13:56 internal 13:58:22 drwxrwxr-x 2 jenkins jenkins 4096 May 13 13:56 profiles 13:58:22 -rw-rw-r-- 1 jenkins jenkins 209 May 13 13:56 version.go [Pipeline] isUnix [Pipeline] sh 13:58:23 + 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=1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec --label arch=arm64 --label version=0.0.0 . 13:58:23 Sending build context to Docker daemon 377.3kB 13:58:23 Step 1/25 : ARG BASE=golang:1.13-alpine 13:58:23 Step 2/25 : FROM ${BASE} AS builder 13:58:23 ---> 4525e01a4d35 13:58:23 Step 3/25 : ARG MAKE='make build' 13:58:23 ---> Running in 143f31bfeb2f 13:58:24 Removing intermediate container 143f31bfeb2f 13:58:24 ---> 6d3658f8e034 13:58:24 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 13:58:24 ---> Running in 50f885ef5ab8 13:58:24 Removing intermediate container 50f885ef5ab8 13:58:24 ---> f0ecd5290e47 13:58:24 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 13:58:24 ---> Running in 07b66c902e1c 13:58:25 Commit message: "upgrade sdk verion to v1.2.1 for geneva release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:58:26 ========================================================= 13:58:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 13:58:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:58:26 + 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 . 13:58:26 Sending build context to Docker daemon 368.1kB 13:58:26 Step 1/10 : ARG BASE=golang:1.13-alpine 13:58:26 Step 2/10 : FROM ${BASE} 13:58:27 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 13:58:27 e6b0cf9c0882: Pulling fs layer 13:58:27 2848faf0eed1: Pulling fs layer 13:58:27 0f37312ad70f: Pulling fs layer 13:58:27 5788d62ee057: Pulling fs layer 13:58:27 0e6b1d234666: Pulling fs layer 13:58:27 bf5d7aec512f: Pulling fs layer 13:58:27 34c802a77dc8: Pulling fs layer 13:58:27 9eb99e56ec68: Pulling fs layer 13:58:27 27c7a5d97fbd: Pulling fs layer 13:58:27 5c102a31e300: Pulling fs layer 13:58:27 dcfb455df0a1: Pulling fs layer 13:58:27 34c802a77dc8: Waiting 13:58:27 5c102a31e300: Waiting 13:58:27 dcfb455df0a1: Waiting 13:58:27 27c7a5d97fbd: Waiting 13:58:27 5788d62ee057: Waiting 13:58:27 0e6b1d234666: Waiting 13:58:27 bf5d7aec512f: Waiting 13:58:27 0f37312ad70f: Verifying Checksum 13:58:27 0f37312ad70f: Download complete 13:58:27 2848faf0eed1: Download complete 13:58:27 0e6b1d234666: Verifying Checksum 13:58:27 0e6b1d234666: Download complete 13:58:27 bf5d7aec512f: Verifying Checksum 13:58:27 bf5d7aec512f: Download complete 13:58:27 e6b0cf9c0882: Verifying Checksum 13:58:27 e6b0cf9c0882: Pull complete 13:58:28 34c802a77dc8: Verifying Checksum 13:58:28 34c802a77dc8: Download complete 13:58:28 27c7a5d97fbd: Verifying Checksum 13:58:28 27c7a5d97fbd: Download complete 13:58:28 5c102a31e300: Verifying Checksum 13:58:28 5c102a31e300: Download complete 13:58:28 dcfb455df0a1: Verifying Checksum 13:58:28 dcfb455df0a1: Download complete 13:58:29 9eb99e56ec68: Verifying Checksum 13:58:29 9eb99e56ec68: Download complete 13:58:29 5788d62ee057: Verifying Checksum 13:58:29 5788d62ee057: Download complete 13:58:29 2848faf0eed1: Pull complete 13:58:29 0f37312ad70f: Pull complete 13:58:35 5788d62ee057: Pull complete 13:58:35 0e6b1d234666: Pull complete 13:58:35 bf5d7aec512f: Pull complete 13:58:39 34c802a77dc8: Pull complete 13:58:43 9eb99e56ec68: Pull complete 13:58:43 27c7a5d97fbd: Pull complete 13:58:44 5c102a31e300: Pull complete 13:58:44 dcfb455df0a1: Pull complete 13:58:44 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 13:58:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 13:58:44 ---> 7c70fe431013 13:58:44 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 13:58:44 ---> Running in a9e9a96111a9 13:58:44 Removing intermediate container a9e9a96111a9 13:58:44 ---> 6f563f2a971f 13:58:44 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 13:58:44 ---> Running in da508adfe5ef 13:58:44 Removing intermediate container da508adfe5ef 13:58:44 ---> f3fa68d98738 13:58:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 13:58:44 ---> Running in b17ddd59a3f5 13:58:44 Removing intermediate container b17ddd59a3f5 13:58:44 ---> 8e3945200a62 13:58:44 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:58:44 ---> Running in c69043cdd2b0 13:58:45 Cannot contact prd-ubuntu18.04-docker-arm64-4c-16g-8226: java.lang.InterruptedException 13:58:45 Removing intermediate container 07b66c902e1c 13:58:45 ---> 2ecd78e583c3 13:58:45 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:58:45 ---> Running in 0d8d826391a0 13:58:45 Removing intermediate container 0d8d826391a0 13:58:45 ---> 1aeca16c72ea 13:58:45 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:58:45 ---> Running in 9526589f816d 13:58:45 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 13:58:45 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 13:58:45 OK: 125 MiB in 39 packages 13:58:45 Removing intermediate container 9526589f816d 13:58:45 ---> c995ab307889 13:58:45 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 13:58:45 ---> Running in 94480238926b 13:58:45 Removing intermediate container 94480238926b 13:58:45 ---> 2ddf5920b24f 13:58:45 Step 9/25 : COPY go.mod . 13:58:45 ---> 4e5142161598 13:58:45 Step 10/25 : COPY Makefile . 13:58:45 ---> 273e2ed09c51 13:58:45 Step 11/25 : RUN make update 13:58:45 ---> Running in ca8812b3bb08 13:58:45 CGO_ENABLED=0 GO111MODULE=on go mod download 13:58:45 Removing intermediate container ca8812b3bb08 13:58:45 ---> b019d2547915 13:58:45 Step 12/25 : COPY . . 13:58:45 ---> 344feab1211b 13:58:45 Step 13/25 : RUN ${MAKE} 13:58:45 ---> Running in b34efe063d20 13:58:45 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 13:58:45 Removing intermediate container c69043cdd2b0 13:58:45 ---> 65adfe2ba234 13:58:45 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:58:45 ---> Running in c3a5b17aa26f 13:58:46 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 13:58:47 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 13:58:47 OK: 143 MiB in 39 packages 13:58:47 Removing intermediate container c3a5b17aa26f 13:58:47 ---> c61053368249 13:58:47 Step 8/10 : WORKDIR /device-snmp-go 13:58:48 ---> Running in ff84168c9baa 13:58:48 Removing intermediate container ff84168c9baa 13:58:48 ---> bd68bf43def7 13:58:48 Step 9/10 : COPY . . 13:58:48 ---> bb88d47f64b6 13:58:48 Step 10/10 : RUN go mod download 13:58:48 ---> Running in fbaeea8a6d45 13:58:50 go: finding github.com/BurntSushi/toml v0.3.1 13:58:50 go: finding github.com/OneOfOne/xxhash v1.2.6 13:58:50 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 13:58:50 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 13:58:50 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 13:58:50 go: finding github.com/bgentry/speakeasy v0.1.0 13:58:50 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 13:58:50 go: finding github.com/davecgh/go-spew v1.1.1 13:58:50 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 13:58:50 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 13:58:50 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 13:58:50 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 13:58:50 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 13:58:50 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 13:58:50 go: finding github.com/fatih/color v1.7.0 13:58:50 go: finding github.com/fxamacker/cbor/v2 v2.2.0 13:58:50 go: finding github.com/go-kit/kit v0.8.0 13:58:50 go: finding github.com/go-logfmt/logfmt v0.4.0 13:58:50 go: finding github.com/go-stack/stack v1.8.0 13:58:50 go: finding github.com/golang/mock v1.2.0 13:58:50 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 13:58:50 go: finding github.com/google/uuid v1.1.0 13:58:50 go: finding github.com/gorilla/mux v1.7.1 13:58:50 go: finding github.com/hashicorp/consul/api v1.1.0 13:58:50 go: finding github.com/hashicorp/consul/sdk v0.1.1 13:58:50 go: finding github.com/hashicorp/errwrap v1.0.0 13:58:50 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 13:58:50 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 13:58:50 go: finding github.com/hashicorp/go-msgpack v0.5.3 13:58:50 go: finding github.com/hashicorp/go-multierror v1.0.0 13:58:50 go: finding github.com/hashicorp/go-rootcerts v1.0.0 13:58:50 go: finding github.com/hashicorp/go-sockaddr v1.0.0 13:58:50 go: finding github.com/hashicorp/go-syslog v1.0.0 13:58:50 go: finding github.com/hashicorp/go-uuid v1.0.1 13:58:50 go: finding github.com/hashicorp/go.net v0.0.1 13:58:50 go: finding github.com/hashicorp/golang-lru v0.5.0 13:58:50 go: finding github.com/hashicorp/logutils v1.0.0 13:58:50 go: finding github.com/hashicorp/mdns v1.0.0 13:58:50 go: finding github.com/hashicorp/memberlist v0.1.3 13:58:50 go: finding github.com/hashicorp/serf v0.8.2 13:58:50 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 13:58:50 go: finding github.com/mattn/go-colorable v0.0.9 13:58:50 go: finding github.com/mattn/go-isatty v0.0.3 13:58:50 go: finding github.com/miekg/dns v1.0.14 13:58:50 go: finding github.com/mitchellh/cli v1.0.0 13:58:50 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 13:58:50 go: finding github.com/mitchellh/copystructure v1.0.0 13:58:50 go: finding github.com/mitchellh/go-homedir v1.0.0 13:58:50 go: finding github.com/mitchellh/go-testing-interface v1.0.0 13:58:50 go: finding github.com/mitchellh/gox v0.4.0 13:58:50 go: finding github.com/mitchellh/iochan v1.0.0 13:58:50 go: finding github.com/mitchellh/mapstructure v1.1.2 13:58:50 go: finding github.com/mitchellh/reflectwalk v1.0.0 13:58:50 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 13:58:50 go: finding github.com/pelletier/go-toml v1.2.0 13:58:50 go: finding github.com/pkg/errors v0.8.1 13:58:50 go: finding github.com/pmezard/go-difflib v1.0.0 13:58:50 go: finding github.com/posener/complete v1.1.1 13:58:50 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 13:58:50 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 13:58:50 go: finding github.com/soniah/gosnmp v1.21.0 13:58:50 go: finding github.com/stretchr/objx v0.1.0 13:58:50 go: finding github.com/stretchr/testify v1.5.1 13:58:50 go: finding github.com/ugorji/go v1.1.4 13:58:50 go: finding github.com/x448/float16 v0.8.4 13:58:50 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 13:58:50 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 13:58:50 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 13:58:50 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 13:58:50 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 13:58:50 go: finding gopkg.in/yaml.v2 v2.2.8 13:58:55 Removing intermediate container fbaeea8a6d45 13:58:55 ---> c8d3289f03d4 13:58:55 Successfully built c8d3289f03d4 13:58:55 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 13:58:56 + docker inspect -f . ci-base-image-x86_64 13:58:56 . [Pipeline] withDockerContainer 13:58:56 prd-centos7-docker-4c-2g-8229 does not seem to be running inside a container 13:58:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:58:58 $ docker top 48a2679bd03f3eecbef4021d36732425d756c00c186e9cbb89d37ea5801a121c -eo pid,comm [Pipeline] { [Pipeline] sh 13:58:59 + go version 13:58:59 go version go1.13.5 linux/amd64 [Pipeline] sh 13:58:59 + make test 13:58:59 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:58:59 ? github.com/edgexfoundry/device-snmp-go [no test files] 13:59:00 CGO_ENABLED=0 GO111MODULE=on go build ./... 13:59:06 Removing intermediate container b34efe063d20 13:59:06 ---> 93c15e94ef33 13:59:06 Step 14/25 : FROM alpine 13:59:07 latest: Pulling from library/alpine 13:59:07 29e5d40040c1: Pulling fs layer 13:59:07 29e5d40040c1: Verifying Checksum 13:59:07 29e5d40040c1: Download complete 13:59:08 29e5d40040c1: Pull complete 13:59:08 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 13:59:08 Status: Downloaded newer image for alpine:latest 13:59:08 ---> c20d2a9ab686 13:59:08 Step 15/25 : ENV APP_PORT=49993 13:59:08 ---> Running in f95b461a8549 13:59:08 Removing intermediate container f95b461a8549 13:59:08 ---> a8a32c5f26c2 13:59:08 Step 16/25 : EXPOSE $APP_PORT 13:59:09 ---> Running in 921d2a38bc73 13:59:09 Removing intermediate container 921d2a38bc73 13:59:09 ---> f520ea821fcc 13:59:09 Step 17/25 : ENV DEVICE_PORT=161 13:59:09 ---> Running in e9dc58fdbeda 13:59:10 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 13:59:10 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.005s coverage: 0.0% of statements 13:59:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:59:10 Removing intermediate container e9dc58fdbeda 13:59:10 ---> a6d79add72ad 13:59:10 Step 18/25 : EXPOSE $DEVICE_PORT 13:59:10 ---> Running in bb66d1e9f2d3 13:59:10 Removing intermediate container bb66d1e9f2d3 13:59:10 ---> d7726e3d9214 13:59:10 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 13:59:11 ---> 9b81a70164a0 13:59:11 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 13:59:11 gofmt -l . 13:59:11 [ "`gofmt -l .`" = "" ] 13:59:11 ./bin/test-attribution-txt.sh 13:59:11 ---> 726220eb4421 13:59:11 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 13:59:11 ./bin/test-go-mod-tidy.sh [Pipeline] stash 13:59:12 Warning: overwriting stash ‘coverage-report’ 13:59:12 ---> 2f42343b5d9a 13:59:12 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 13:59:12 Stashed 1 file(s) [Pipeline] } 13:59:12 $ docker stop --time=1 48a2679bd03f3eecbef4021d36732425d756c00c186e9cbb89d37ea5801a121c 13:59:12 ---> Running in 6a987ed46bb5 13:59:12 Removing intermediate container 6a987ed46bb5 13:59:12 ---> b423a64181ab 13:59:12 Step 23/25 : LABEL arch=arm64 13:59:12 ---> Running in 1255eb34ebf7 13:59:13 Removing intermediate container 1255eb34ebf7 13:59:13 ---> 2e497dc715e6 13:59:13 Step 24/25 : LABEL git_sha=1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec 13:59:13 ---> Running in acce2f99389e 13:59:13 Removing intermediate container acce2f99389e 13:59:13 ---> ab97cbec3113 13:59:13 Step 25/25 : LABEL version=0.0.0 13:59:14 $ docker rm -f 48a2679bd03f3eecbef4021d36732425d756c00c186e9cbb89d37ea5801a121c 13:59:14 ---> Running in b0ea6bf2cb1a [Pipeline] // withDockerContainer 13:59:14 Removing intermediate container b0ea6bf2cb1a 13:59:14 ---> 39164f6b0878 13:59:14 [Warning] One or more build-args [ARCH] were not consumed 13:59:14 Successfully built 39164f6b0878 13:59:14 Successfully tagged docker-device-snmp-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] sh 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 13:59:15 + sudo chown -R jenkins:jenkins . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 13:59:15 + ls -al . 13:59:15 total 104 13:59:15 drwxrwxr-x. 8 jenkins jenkins 4096 May 13 13:59 . 13:59:15 drwxrwxr-x. 4 jenkins jenkins 28 May 13 13:58 .. 13:59:15 -rw-rw-r--. 1 jenkins jenkins 4910 May 13 13:58 Attribution.txt 13:59:15 drwxrwxr-x. 2 jenkins jenkins 87 May 13 13:58 bin 13:59:15 drwxrwxr-x. 3 jenkins jenkins 32 May 13 13:58 cmd 13:59:15 -rw-r--r--. 1 jenkins jenkins 8493 May 13 13:59 coverage.out 13:59:15 -rw-rw-r--. 1 jenkins jenkins 994 May 13 13:58 Dockerfile 13:59:15 -rw-rw-r--. 1 jenkins jenkins 409 May 13 13:58 Dockerfile.build 13:59:15 -rw-rw-r--. 1 jenkins jenkins 6 May 13 13:58 .dockerignore 13:59:15 drwxrwxr-x. 8 jenkins jenkins 179 May 13 13:58 .git 13:59:15 -rw-rw-r--. 1 jenkins jenkins 272 May 13 13:58 .gitignore 13:59:15 -rw-r--r--. 1 jenkins jenkins 203 May 13 13:59 go.mod 13:59:15 -rw-r--r--. 1 jenkins jenkins 12704 May 13 13:59 go.sum 13:59:15 drwxrwxr-x. 3 jenkins jenkins 20 May 13 13:58 internal 13:59:15 -rw-rw-r--. 1 jenkins jenkins 678 May 13 13:58 Jenkinsfile 13:59:15 -rw-rw-r--. 1 jenkins jenkins 11340 May 13 13:58 LICENSE 13:59:15 -rw-rw-r--. 1 jenkins jenkins 937 May 13 13:58 Makefile 13:59:15 drwxrwxr-x. 2 jenkins jenkins 84 May 13 13:58 profiles 13:59:15 -rw-rw-r--. 1 jenkins jenkins 12398 May 13 13:58 README.md 13:59:15 drwxrwxr-x. 3 jenkins jenkins 74 May 13 13:58 .semver 13:59:15 -rw-rw-r--. 1 jenkins jenkins 5 May 13 13:56 VERSION 13:59:15 -rw-rw-r--. 1 jenkins jenkins 209 May 13 13:58 version.go [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh 13:59:15 + 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=1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec --label arch=amd64 --label version=0.0.0 . 13:59:15 Sending build context to Docker daemon 377.3kB 13:59:15 Step 1/25 : ARG BASE=golang:1.13-alpine 13:59:15 Step 2/25 : FROM ${BASE} AS builder 13:59:15 ---> c8d3289f03d4 13:59:15 Step 3/25 : ARG MAKE='make build' 13:59:16 ---> Running in 1aacdc7f2db4 13:59:16 Removing intermediate container 1aacdc7f2db4 13:59:16 ---> f3e6aed0296b 13:59:16 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 13:59:16 ---> Running in c99dc6637e0a 13:59:16 Removing intermediate container c99dc6637e0a 13:59:16 ---> 5de34b9c6f96 13:59:16 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 13:59:16 ---> Running in 36249eaa39ca 13:59:16 Removing intermediate container 36249eaa39ca 13:59:16 ---> b790c11868fa 13:59:16 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:59:16 ---> Running in 1c621905ce62 13:59:17 Removing intermediate container 1c621905ce62 13:59:17 ---> 614ad305c72b 13:59:17 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:59:17 ---> Running in 285e3bc74df0 13:59:17 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 13:59:18 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 13:59:18 OK: 143 MiB in 39 packages 13:59:18 Removing intermediate container 285e3bc74df0 13:59:18 ---> 3c6ca0ef9b72 13:59:18 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 13:59:18 ---> Running in c9d4a766f9b7 13:59:19 Removing intermediate container c9d4a766f9b7 13:59:19 ---> db0a9a21fbc6 13:59:19 Step 9/25 : COPY go.mod . 13:59:19 ---> 4c6fa3c7ddfe 13:59:19 Step 10/25 : COPY Makefile . 13:59:19 ---> 72f7342b4384 13:59:19 Step 11/25 : RUN make update 13:59:19 ---> Running in a1b21e847b82 13:59:19 CGO_ENABLED=0 GO111MODULE=on go mod download 13:59:20 Removing intermediate container a1b21e847b82 13:59:20 ---> 30150324d525 13:59:20 Step 12/25 : COPY . . 13:59:20 ---> 125d9a1fdc10 13:59:20 Step 13/25 : RUN ${MAKE} 13:59:20 ---> Running in e201de542337 13:59:21 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 13:59:29 CGO_ENABLED=0 GO111MODULE=on go build ./... 13:59:32 Removing intermediate container e201de542337 13:59:32 ---> 36b44ed97fd2 13:59:32 Step 14/25 : FROM alpine 13:59:32 latest: Pulling from library/alpine 13:59:32 cbdbe7a5bc2a: Pulling fs layer 13:59:32 cbdbe7a5bc2a: Verifying Checksum 13:59:32 cbdbe7a5bc2a: Download complete 13:59:32 cbdbe7a5bc2a: Pull complete 13:59:32 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 13:59:32 Status: Downloaded newer image for alpine:latest 13:59:32 ---> f70734b6a266 13:59:32 Step 15/25 : ENV APP_PORT=49993 13:59:32 ---> Running in dc713b166a73 13:59:32 Removing intermediate container dc713b166a73 13:59:32 ---> 60b9a8d74f49 13:59:32 Step 16/25 : EXPOSE $APP_PORT 13:59:32 ---> Running in de55c397c921 13:59:33 Removing intermediate container de55c397c921 13:59:33 ---> 51cb655234de 13:59:33 Step 17/25 : ENV DEVICE_PORT=161 13:59:33 ---> Running in 346d523dee37 13:59:33 Removing intermediate container 346d523dee37 13:59:33 ---> 6e48fc99d9b4 13:59:33 Step 18/25 : EXPOSE $DEVICE_PORT 13:59:33 ---> Running in ee6ef38fb75c 13:59:33 Removing intermediate container ee6ef38fb75c 13:59:33 ---> 88fd9344d246 13:59:33 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 13:59:34 ---> 30f631795347 13:59:34 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 13:59:34 ---> 1b791eec3a37 13:59:34 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 13:59:34 ---> 9d79be15d5d5 13:59:34 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 13:59:34 ---> Running in 209facc35119 13:59:34 Removing intermediate container 209facc35119 13:59:34 ---> a7f9bbae893b 13:59:34 Step 23/25 : LABEL arch=amd64 13:59:34 ---> Running in 372d2835439d 13:59:34 Removing intermediate container 372d2835439d 13:59:34 ---> b38edd5d75bf 13:59:34 Step 24/25 : LABEL git_sha=1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec 13:59:34 ---> Running in 6e8cc7406e91 13:59:34 Removing intermediate container 6e8cc7406e91 13:59:34 ---> d9ea362efb0e 13:59:34 Step 25/25 : LABEL version=0.0.0 13:59:34 ---> Running in 4c75fe8ddecc 13:59:35 Removing intermediate container 4c75fe8ddecc 13:59:35 ---> 5cadb4760044 13:59:35 [Warning] One or more build-args [ARCH] were not consumed 13:59:35 Successfully built 5cadb4760044 13:59:35 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 13:59:36 provisioning config files... 13:59:36 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp/config9056404997277903068tmp [Pipeline] { [Pipeline] sh 13:59:36 + bash -s - -t @/w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp/config9056404997277903068tmp 13:59:36 + curl -s https://codecov.io/bash 13:59:37 13:59:37 _____ _ 13:59:37 / ____| | | 13:59:37 | | ___ __| | ___ ___ _____ __ 13:59:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:59:37 | |___| (_) | (_| | __/ (_| (_) \ V / 13:59:37 \_____\___/ \__,_|\___|\___\___/ \_/ 13:59:37 Bash-tbd 13:59:37 13:59:37 13:59:37 ==> Jenkins CI detected. 13:59:37 project root: . 13:59:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:59:37 ==> Running gcov in . (disable via -X gcov) 13:59:37 ==> Python coveragepy not found 13:59:37 ==> Searching for coverage reports in: 13:59:37 + . 13:59:37 -> Found 1 reports 13:59:37 ==> Detecting git/mercurial file structure 13:59:37 ==> Reading reports 13:59:37 + ./coverage.out bytes=8493 13:59:37 ==> Appending adjustments 13:59:37 http://docs.codecov.io/docs/fixing-reports 13:59:37 + Found adjustments 13:59:37 ==> Gzipping contents 13:59:37 ==> Uploading reports 13:59:37 url: https://codecov.io 13:59:37 query: branch=PR-51&commit=1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-51%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=51&job= 13:59:37 -> Pinging Codecov 13:59:37 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-51&commit=1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-51%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=51&job= 13:59:38 -> Uploading 13:59:38 -> View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/1c14cc1ce94c9b1f4d38eec31a7500bacf3d41ec [Pipeline] } 13:59:38 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 13:59:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:59:40 ---> package-listing.sh 13:59:40 ++ facter osfamily 13:59:40 ++ tr '[:upper:]' '[:lower:]' 13:59:40 + OS_FAMILY=redhat 13:59:40 + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-51 13:59:40 + START_PACKAGES=/tmp/packages_start.txt 13:59:40 + END_PACKAGES=/tmp/packages_end.txt 13:59:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:59:40 + PACKAGES=/tmp/packages_start.txt 13:59:40 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-51 ']' 13:59:40 + PACKAGES=/tmp/packages_end.txt 13:59:40 + case "${OS_FAMILY}" in 13:59:40 + rpm -qa 13:59:40 + sort 13:59:44 + '[' -f /tmp/packages_start.txt ']' 13:59:44 + '[' -f /tmp/packages_end.txt ']' 13:59:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:59:44 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-51 ']' 13:59:44 + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-51/archives/ 13:59:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-51/archives/ [Pipeline] isUnix [Pipeline] sh 13:59:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:59:45 13:59:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:59:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:59:45 alpine: Pulling from edgex-lftools-log-publisher 13:59:45 c9b1b535fdd9: Pulling fs layer 13:59:45 2cc5ad85d9ab: Pulling fs layer 13:59:45 756a868c4378: Pulling fs layer 13:59:45 444b2fc9a129: Pulling fs layer 13:59:45 ea15f1150254: Pulling fs layer 13:59:45 41b27a9f41bf: Pulling fs layer 13:59:45 28c525ee5125: Pulling fs layer 13:59:45 094b1ea09ed8: Pulling fs layer 13:59:45 138eaada9080: Pulling fs layer 13:59:45 0622d0fa9048: Pulling fs layer 13:59:45 444b2fc9a129: Waiting 13:59:45 28c525ee5125: Waiting 13:59:45 ea15f1150254: Waiting 13:59:45 41b27a9f41bf: Waiting 13:59:45 094b1ea09ed8: Waiting 13:59:45 0622d0fa9048: Waiting 13:59:45 138eaada9080: Waiting 13:59:45 2cc5ad85d9ab: Verifying Checksum 13:59:45 2cc5ad85d9ab: Download complete 13:59:45 444b2fc9a129: Verifying Checksum 13:59:45 444b2fc9a129: Download complete 13:59:45 c9b1b535fdd9: Verifying Checksum 13:59:45 c9b1b535fdd9: Download complete 13:59:45 ea15f1150254: Verifying Checksum 13:59:45 ea15f1150254: Download complete 13:59:45 28c525ee5125: Verifying Checksum 13:59:45 28c525ee5125: Download complete 13:59:45 756a868c4378: Verifying Checksum 13:59:45 756a868c4378: Download complete 13:59:46 c9b1b535fdd9: Pull complete 13:59:46 094b1ea09ed8: Verifying Checksum 13:59:46 094b1ea09ed8: Download complete 13:59:46 138eaada9080: Download complete 13:59:46 0622d0fa9048: Verifying Checksum 13:59:46 0622d0fa9048: Download complete 13:59:46 2cc5ad85d9ab: Pull complete 13:59:47 41b27a9f41bf: Verifying Checksum 13:59:47 41b27a9f41bf: Download complete 13:59:48 756a868c4378: Pull complete 13:59:48 444b2fc9a129: Pull complete 13:59:49 ea15f1150254: Pull complete 13:59:54 41b27a9f41bf: Pull complete 13:59:54 28c525ee5125: Pull complete 13:59:57 094b1ea09ed8: Pull complete 13:59:57 138eaada9080: Pull complete 13:59:57 0622d0fa9048: Pull complete 13:59:57 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 13:59:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:59:58 prd-centos7-docker-4c-2g-8227 does not seem to be running inside a container 13:59:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-snmp-go_PR-51 -v /w/workspace/dgexfoundry_device-snmp-go_PR-51:/w/workspace/dgexfoundry_device-snmp-go_PR-51:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 13:59:59 $ docker top b2999637ea24e752077938ebe53297eb4976c55cedc6bb0ddd57a4da9a587647 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:59:59 provisioning config files... 13:59:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp/config7999636659919856533tmp [Pipeline] { [Pipeline] echo 13:59:59 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:00:00 ---> create-netrc.sh [Pipeline] echo 14:00:00 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:00:00 ---> logs-deploy.sh 14:00:00 + ARCHIVE_ARTIFACTS= 14:00:00 + LOGS_SERVER=https://logs.edgexfoundry.org 14:00:00 + '[' https://logs.edgexfoundry.org == None ']' 14:00:00 + NEXUS_URL=https://nexus.edgexfoundry.org 14:00:00 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-51/3 14:00:00 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/PR-51/3/ 14:00:00 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-51/3 /w/workspace/dgexfoundry_device-snmp-go_PR-51 14:00:02 Archives upload complete. 14:00:02 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-51/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/PR-51/3/ 14:00:03 ---> uname -a: 14:00:03 Linux b2999637ea24 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 14:00:03 14:00:03 14:00:03 ---> lscpu: 14:00:03 Architecture: x86_64 14:00:03 CPU op-mode(s): 32-bit, 64-bit 14:00:03 Byte Order: Little Endian 14:00:03 Address sizes: 40 bits physical, 48 bits virtual 14:00:03 CPU(s): 4 14:00:03 On-line CPU(s) list: 0-3 14:00:03 Thread(s) per core: 1 14:00:03 Core(s) per socket: 1 14:00:03 Socket(s): 4 14:00:03 NUMA node(s): 1 14:00:03 Vendor ID: GenuineIntel 14:00:03 CPU family: 6 14:00:03 Model: 44 14:00:03 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 14:00:03 Stepping: 1 14:00:03 CPU MHz: 2933.436 14:00:03 BogoMIPS: 5866.87 14:00:03 Virtualization: VT-x 14:00:03 Hypervisor vendor: KVM 14:00:03 Virtualization type: full 14:00:03 L1d cache: 128 KiB 14:00:03 L1i cache: 128 KiB 14:00:03 L2 cache: 16 MiB 14:00:03 L3 cache: 64 MiB 14:00:03 NUMA node0 CPU(s): 0-3 14:00:03 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 14:00:03 Vulnerability Meltdown: Mitigation; PTI 14:00:03 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:00:03 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 14:00:03 Vulnerability Spectre v2: Mitigation; Full retpoline 14:00:03 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 14:00:03 14:00:03 14:00:03 ---> nproc: 14:00:03 4 14:00:03 14:00:03 14:00:03 ---> df -h: 14:00:03 Filesystem Size Used Available Use% Mounted on 14:00:03 overlay 50.0G 6.4G 43.6G 13% / 14:00:03 tmpfs 64.0M 0 64.0M 0% /dev 14:00:03 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 14:00:03 shm 64.0M 0 64.0M 0% /dev/shm 14:00:03 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 14:00:03 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 14:00:03 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 14:00:03 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-snmp-go_PR-51 14:00:03 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-snmp-go_PR-51@tmp 14:00:03 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 14:00:03 14:00:03 14:00:03 ---> free -m: 14:00:03 total used free shared buff/cache available 14:00:03 Mem: 1838 606 76 0 1155 1127 14:00:03 Swap: 1023 0 1023 14:00:03 14:00:03