Pull request #58 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 f4d58277cb9ddce98e6c8d3b70d13b1825388b28+ad194bc803dc916884c38fead828e9a39ff73581 (16e6b2211a066270c4a4a95d352dc07be974b26d) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-58/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > 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 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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 BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-158’ is offline; ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-163 in /w/workspace/dgexfoundry_device-snmp-go_PR-58 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/dgexfoundry_device-snmp-go_PR-58 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' 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/58/head:refs/remotes/origin/PR-58 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/58/head:refs/remotes/origin/PR-58 # 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/58/head:refs/remotes/origin/PR-58 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit ad194bc803dc916884c38fead828e9a39ff73581 into PR head commit f4d58277cb9ddce98e6c8d3b70d13b1825388b28 Merge succeeded, producing f4d58277cb9ddce98e6c8d3b70d13b1825388b28 Checking out Revision f4d58277cb9ddce98e6c8d3b70d13b1825388b28 (PR-58) > git config core.sparsecheckout # timeout=10 > git checkout -f f4d58277cb9ddce98e6c8d3b70d13b1825388b28 # 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 ad194bc803dc916884c38fead828e9a39ff73581 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f4d58277cb9ddce98e6c8d3b70d13b1825388b28 # timeout=10 Commit message: "Remove unused attribution in Attribution.txt" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:49:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:49:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:49:09 ========================================================= 06:49:09 EdgeX Global Pipelines Version Info 06:49:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:49:10 ------------------- 06:49:10 stable info: 06:49:10 ------------------- 06:49:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:49:10 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 06:49:10 Message: update stable to v1.0.106 06:49:11 ------------------- 06:49:11 experimental info: 06:49:11 ------------------- 06:49:11 Commited By: **** collab-it+edgex@linuxfoundation.org 06:49:11 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 06:49:11 Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:49:14 + git log --format=format:%s -1 f4d58277cb9ddce98e6c8d3b70d13b1825388b28 [Pipeline] echo 06:49:14 GIT_COMMIT: f4d58277cb9ddce98e6c8d3b70d13b1825388b28, Commit Message: Remove unused attribution in Attribution.txt [Pipeline] echo 06:49:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:49:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:49:15 06:49:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:49:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:49:16 latest: Pulling from edgex-devops/git-semver 06:49:16 31603596830f: Pulling fs layer 06:49:16 2a8b12db71e7: Pulling fs layer 06:49:16 6ca5941a6612: Pulling fs layer 06:49:16 ecc8261a40a4: Pulling fs layer 06:49:16 ecc8261a40a4: Waiting 06:49:16 2a8b12db71e7: Download complete 06:49:16 31603596830f: Verifying Checksum 06:49:16 31603596830f: Download complete 06:49:16 ecc8261a40a4: Verifying Checksum 06:49:16 ecc8261a40a4: Download complete 06:49:16 6ca5941a6612: Verifying Checksum 06:49:16 6ca5941a6612: Download complete 06:49:16 31603596830f: Pull complete 06:49:16 2a8b12db71e7: Pull complete 06:49:17 6ca5941a6612: Pull complete 06:49:17 ecc8261a40a4: Pull complete 06:49:17 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:49:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:49:17 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:49:17 prd-centos7-docker-4c-2g-163 does not seem to be running inside a container 06:49:17 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-58 -v /w/workspace/dgexfoundry_device-snmp-go_PR-58:/w/workspace/dgexfoundry_device-snmp-go_PR-58:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-58@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-58@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:49:19 $ docker top 79f760f7ca486e01b20a04496158dd3f9e0a34eaabfb3c045445e22e6084aef0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:49:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:49:20 [ssh-agent] Looking for ssh-agent implementation... 06:49:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:49:20 $ docker exec 79f760f7ca486e01b20a04496158dd3f9e0a34eaabfb3c045445e22e6084aef0 ssh-agent 06:49:20 SSH_AUTH_SOCK=/tmp/ssh-bfI24RnVUpLC/agent.11 06:49:20 SSH_AGENT_PID=16 06:49:20 Running ssh-add (command line suppressed) 06:49:20 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-58@tmp/private_key_5122370502283516589.key (/w/workspace/dgexfoundry_device-snmp-go_PR-58@tmp/private_key_5122370502283516589.key) 06:49:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:49:21 + git describe --exact-match --tags HEAD 06:49:21 fatal: No names found, cannot describe anything. [Pipeline] } 06:49:21 $ docker exec --env ******** --env ******** 79f760f7ca486e01b20a04496158dd3f9e0a34eaabfb3c045445e22e6084aef0 ssh-agent -k 06:49:21 unset SSH_AUTH_SOCK; 06:49:21 unset SSH_AGENT_PID; 06:49:21 echo Agent pid 16 killed; 06:49:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:49:21 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:49:21 This usually means this commit has not been tagged. [Pipeline] sshagent 06:49:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:49:21 [ssh-agent] Looking for ssh-agent implementation... 06:49:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:49:21 $ docker exec 79f760f7ca486e01b20a04496158dd3f9e0a34eaabfb3c045445e22e6084aef0 ssh-agent 06:49:21 SSH_AUTH_SOCK=/tmp/ssh-EGpW0QJJ1Fef/agent.44 06:49:21 SSH_AGENT_PID=49 06:49:21 Running ssh-add (command line suppressed) 06:49:22 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-58@tmp/private_key_6712064500156682188.key (/w/workspace/dgexfoundry_device-snmp-go_PR-58@tmp/private_key_6712064500156682188.key) 06:49:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:49:22 + git semver init 06:49:22 # -> Open(): unable to determine branch for HEAD 06:49:22 # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-58/.git 06:49:22 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-58 06:49:22 # $SEMVER_REMOTE_NAME = origin 06:49:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:49:22 # $SEMVER_USER_NAME = edgex-jenkins 06:49:22 # $SEMVER_BRANCH = PR-58 06:49:22 # $SEMVER_TEMP = /tmp/semver-140438488 06:49:22 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 06:49:23 # '/tmp/semver-140438488' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-58/.semver' 06:49:23 # -> Force: false 06:49:23 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-58/.semver [Pipeline] } 06:49:23 $ docker exec --env ******** --env ******** 79f760f7ca486e01b20a04496158dd3f9e0a34eaabfb3c045445e22e6084aef0 ssh-agent -k 06:49:23 unset SSH_AUTH_SOCK; 06:49:23 unset SSH_AGENT_PID; 06:49:23 echo Agent pid 49 killed; 06:49:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:49:23 + git semver [Pipeline] } 06:49:23 $ docker stop --time=1 79f760f7ca486e01b20a04496158dd3f9e0a34eaabfb3c045445e22e6084aef0 06:49:25 $ docker rm -f 79f760f7ca486e01b20a04496158dd3f9e0a34eaabfb3c045445e22e6084aef0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:49:26 Stashed 24 file(s) [Pipeline] echo 06:49:26 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 06:49:26 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [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 06:49:42 Still waiting to schedule task 06:49:42 ‘prd-centos7-docker-4c-2g-164’ is offline; ‘prd-centos7-docker-4c-2g-213’ is offline 06:49:42 Still waiting to schedule task 06:49:42 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:52:10 Running on prd-centos7-docker-4c-2g-172 in /w/workspace/dgexfoundry_device-snmp-go_PR-58 [Pipeline] { [Pipeline] ws 06:52:11 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 06:52:13 using credential edgex-jenkins-ssh 06:52:13 Cloning the remote Git repository 06:52:13 Cloning with configured refspecs honoured and without tags 06:52:13 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:52:13 > git init /w/workspace/device-snmp-go/1 # timeout=10 06:52:14 Fetching without tags 06:52:13 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:52:13 > git --version # timeout=10 06:52:13 > git --version # 'git version 2.16.5' 06:52:13 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:13 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/58/head:refs/remotes/origin/PR-58 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:52:14 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:52:14 > git config --add remote.origin.fetch +refs/pull/58/head:refs/remotes/origin/PR-58 # timeout=10 06:52:14 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:52:14 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:52:14 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:52:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:14 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/58/head:refs/remotes/origin/PR-58 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:52:14 Merging remotes/origin/master commit ad194bc803dc916884c38fead828e9a39ff73581 into PR head commit f4d58277cb9ddce98e6c8d3b70d13b1825388b28 06:52:14 Merge succeeded, producing f4d58277cb9ddce98e6c8d3b70d13b1825388b28 06:52:14 Checking out Revision f4d58277cb9ddce98e6c8d3b70d13b1825388b28 (PR-58) 06:52:14 > git config core.sparsecheckout # timeout=10 06:52:14 > git checkout -f f4d58277cb9ddce98e6c8d3b70d13b1825388b28 # timeout=10 06:52:14 > git remote # timeout=10 06:52:14 > git config --get remote.origin.url # timeout=10 06:52:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:14 > git merge ad194bc803dc916884c38fead828e9a39ff73581 # timeout=10 06:52:14 > git rev-parse HEAD^{commit} # timeout=10 06:52:14 > git config core.sparsecheckout # timeout=10 06:52:14 > git checkout -f f4d58277cb9ddce98e6c8d3b70d13b1825388b28 # timeout=10 06:52:18 Commit message: "Remove unused attribution in Attribution.txt" 06:52:18 > git --version # timeout=10 06:52:18 > git --version # 'git version 2.16.5' 06:52:18 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:52:19 ========================================================= 06:52:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 06:52:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:52:20 + 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 . 06:52:20 Sending build context to Docker daemon 358.4kB 06:52:20 Step 1/10 : ARG BASE=golang:1.13-alpine 06:52:20 Step 2/10 : FROM ${BASE} 06:52:20 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 06:52:20 df20fa9351a1: Pulling fs layer 06:52:20 ed8968b2872e: Pulling fs layer 06:52:20 a92cc7c5fd73: Pulling fs layer 06:52:20 2dd03ba5bac4: Pulling fs layer 06:52:20 1e091d79d1de: Pulling fs layer 06:52:20 481702a1767f: Pulling fs layer 06:52:20 f64a6f60c768: Pulling fs layer 06:52:20 e78d2573fc39: Pulling fs layer 06:52:20 e876d2f968b6: Pulling fs layer 06:52:20 ce8a83651883: Pulling fs layer 06:52:20 07967f4d0e4b: Pulling fs layer 06:52:20 481702a1767f: Waiting 06:52:20 e876d2f968b6: Waiting 06:52:20 f64a6f60c768: Waiting 06:52:20 ce8a83651883: Waiting 06:52:20 e78d2573fc39: Waiting 06:52:20 07967f4d0e4b: Waiting 06:52:20 2dd03ba5bac4: Waiting 06:52:20 1e091d79d1de: Waiting 06:52:20 a92cc7c5fd73: Verifying Checksum 06:52:20 a92cc7c5fd73: Download complete 06:52:20 ed8968b2872e: Download complete 06:52:20 1e091d79d1de: Verifying Checksum 06:52:20 1e091d79d1de: Download complete 06:52:20 481702a1767f: Verifying Checksum 06:52:20 481702a1767f: Download complete 06:52:20 df20fa9351a1: Verifying Checksum 06:52:20 df20fa9351a1: Download complete 06:52:21 df20fa9351a1: Pull complete 06:52:21 f64a6f60c768: Verifying Checksum 06:52:21 f64a6f60c768: Download complete 06:52:21 e876d2f968b6: Download complete 06:52:22 e78d2573fc39: Verifying Checksum 06:52:22 e78d2573fc39: Download complete 06:52:22 ce8a83651883: Verifying Checksum 06:52:22 ce8a83651883: Download complete 06:52:22 07967f4d0e4b: Verifying Checksum 06:52:22 07967f4d0e4b: Download complete 06:52:22 2dd03ba5bac4: Verifying Checksum 06:52:22 2dd03ba5bac4: Download complete 06:52:22 ed8968b2872e: Pull complete 06:52:22 a92cc7c5fd73: Pull complete 06:52:29 2dd03ba5bac4: Pull complete 06:52:29 1e091d79d1de: Pull complete 06:52:29 481702a1767f: Pull complete 06:52:33 f64a6f60c768: Pull complete 06:52:37 e78d2573fc39: Pull complete 06:52:37 e876d2f968b6: Pull complete 06:52:38 ce8a83651883: Pull complete 06:52:38 07967f4d0e4b: Pull complete 06:52:38 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 06:52:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 06:52:38 ---> 5d7c900382c6 06:52:38 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:52:40 ---> Running in 1215a5eaa5df 06:52:40 Removing intermediate container 1215a5eaa5df 06:52:40 ---> 3a6c24092640 06:52:40 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:52:40 ---> Running in 997f7ea1b45c 06:52:40 Removing intermediate container 997f7ea1b45c 06:52:40 ---> 25a93989f60f 06:52:40 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 06:52:40 ---> Running in ba89ad89bb5c 06:52:40 Removing intermediate container ba89ad89bb5c 06:52:40 ---> 3e2a3601cf7b 06:52:40 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:52:40 ---> Running in 09f55002f9df 06:52:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-169 in /w/workspace/dgexfoundry_device-snmp-go_PR-58 [Pipeline] { [Pipeline] ws 06:52:41 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 06:52:42 Removing intermediate container 09f55002f9df 06:52:42 ---> c8e62bd33e13 06:52:42 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:52:42 ---> Running in d55d66e0b1c4 06:52:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:52:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:52:43 OK: 166 MiB in 39 packages 06:52:44 Removing intermediate container d55d66e0b1c4 06:52:44 ---> 76613eb072ae 06:52:44 Step 8/10 : WORKDIR /device-snmp-go 06:52:44 ---> Running in c95870212baf 06:52:44 Removing intermediate container c95870212baf 06:52:44 ---> ff7c7cb92cf5 06:52:44 Step 9/10 : COPY . . 06:52:45 ---> fa704cc9c8bd 06:52:45 Step 10/10 : RUN go mod download 06:52:45 ---> Running in 424626c5b239 06:52:46 using credential edgex-jenkins-ssh 06:52:46 Cloning the remote Git repository 06:52:46 Cloning with configured refspecs honoured and without tags 06:52:47 go: finding github.com/BurntSushi/toml v0.3.1 06:52:47 go: finding github.com/OneOfOne/xxhash v1.2.6 06:52:47 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:52:47 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:52:47 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:52:47 go: finding github.com/bgentry/speakeasy v0.1.0 06:52:47 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:52:47 go: finding github.com/davecgh/go-spew v1.1.1 06:52:47 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 06:52:47 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 06:52:47 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:52:46 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:52:46 > git init /w/workspace/device-snmp-go/1 # timeout=10 06:52:46 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:52:46 > git --version # timeout=10 06:52:46 > git --version # 'git version 2.17.1' 06:52:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/58/head:refs/remotes/origin/PR-58 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:52:47 Fetching without tags 06:52:47 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 06:52:47 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 06:52:47 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:52:47 go: finding github.com/fatih/color v1.7.0 06:52:47 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:52:47 go: finding github.com/go-kit/kit v0.8.0 06:52:47 go: finding github.com/go-logfmt/logfmt v0.4.0 06:52:48 go: finding github.com/go-stack/stack v1.8.0 06:52:48 go: finding github.com/golang/mock v1.2.0 06:52:48 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:52:48 go: finding github.com/google/uuid v1.1.0 06:52:48 go: finding github.com/gorilla/mux v1.7.1 06:52:48 go: finding github.com/hashicorp/consul/api v1.1.0 06:52:48 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:52:48 go: finding github.com/hashicorp/errwrap v1.0.0 06:52:48 Merging remotes/origin/master commit ad194bc803dc916884c38fead828e9a39ff73581 into PR head commit f4d58277cb9ddce98e6c8d3b70d13b1825388b28 06:52:48 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:52:48 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:52:48 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:52:48 go: finding github.com/hashicorp/go-multierror v1.0.0 06:52:48 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:52:48 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:52:48 go: finding github.com/hashicorp/go-syslog v1.0.0 06:52:48 go: finding github.com/hashicorp/go-uuid v1.0.1 06:52:48 go: finding github.com/hashicorp/go.net v0.0.1 06:52:48 go: finding github.com/hashicorp/golang-lru v0.5.0 06:52:48 go: finding github.com/hashicorp/logutils v1.0.0 06:52:48 go: finding github.com/hashicorp/mdns v1.0.0 06:52:48 go: finding github.com/hashicorp/memberlist v0.1.3 06:52:48 go: finding github.com/hashicorp/serf v0.8.2 06:52:48 Merge succeeded, producing f4d58277cb9ddce98e6c8d3b70d13b1825388b28 06:52:48 Checking out Revision f4d58277cb9ddce98e6c8d3b70d13b1825388b28 (PR-58) 06:52:48 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:52:48 go: finding github.com/mattn/go-colorable v0.0.9 06:52:48 go: finding github.com/mattn/go-isatty v0.0.3 06:52:48 go: finding github.com/miekg/dns v1.0.14 06:52:48 go: finding github.com/mitchellh/cli v1.0.0 06:52:48 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:52:48 go: finding github.com/mitchellh/copystructure v1.0.0 06:52:47 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:52:47 > git config --add remote.origin.fetch +refs/pull/58/head:refs/remotes/origin/PR-58 # timeout=10 06:52:47 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:52:47 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:52:47 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:52:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/58/head:refs/remotes/origin/PR-58 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:52:48 > git config core.sparsecheckout # timeout=10 06:52:48 > git checkout -f f4d58277cb9ddce98e6c8d3b70d13b1825388b28 # timeout=10 06:52:48 > git remote # timeout=10 06:52:48 > git config --get remote.origin.url # timeout=10 06:52:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:48 > git merge ad194bc803dc916884c38fead828e9a39ff73581 # timeout=10 06:52:48 > git rev-parse HEAD^{commit} # timeout=10 06:52:48 > git config core.sparsecheckout # timeout=10 06:52:48 > git checkout -f f4d58277cb9ddce98e6c8d3b70d13b1825388b28 # timeout=10 06:52:49 go: finding github.com/mitchellh/go-homedir v1.0.0 06:52:49 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:52:49 go: finding github.com/mitchellh/gox v0.4.0 06:52:49 go: finding github.com/mitchellh/iochan v1.0.0 06:52:49 go: finding github.com/mitchellh/mapstructure v1.1.2 06:52:49 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:52:49 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:52:49 go: finding github.com/pelletier/go-toml v1.2.0 06:52:49 go: finding github.com/pkg/errors v0.8.1 06:52:49 go: finding github.com/pmezard/go-difflib v1.0.0 06:52:49 go: finding github.com/posener/complete v1.1.1 06:52:49 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:52:49 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:52:49 go: finding github.com/soniah/gosnmp v1.21.0 06:52:49 go: finding github.com/stretchr/objx v0.1.0 06:52:49 go: finding github.com/stretchr/testify v1.5.1 06:52:49 go: finding github.com/ugorji/go v1.1.4 06:52:49 go: finding github.com/x448/float16 v0.8.4 06:52:49 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:52:49 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:52:49 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:52:49 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:52:49 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:52:49 go: finding gopkg.in/yaml.v2 v2.2.8 06:52:52 Commit message: "Remove unused attribution in Attribution.txt" 06:52:53 > git --version # timeout=10 06:52:53 > git --version # 'git version 2.17.1' 06:52:53 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:52:54 ========================================================= 06:52:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 06:52:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:52:55 + 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 . 06:52:56 Sending build context to Docker daemon 358.4kB 06:52:56 Step 1/10 : ARG BASE=golang:1.13-alpine 06:52:56 Step 2/10 : FROM ${BASE} 06:52:56 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:52:56 b538f80385f9: Pulling fs layer 06:52:56 74f711af9a0d: Pulling fs layer 06:52:56 99f96fe45779: Pulling fs layer 06:52:56 fd7a069fd194: Pulling fs layer 06:52:56 66aa3694b03b: Pulling fs layer 06:52:56 170f70906a0f: Pulling fs layer 06:52:56 ad7c5574e4b9: Pulling fs layer 06:52:56 e772456be8f7: Pulling fs layer 06:52:56 c890913d741a: Pulling fs layer 06:52:56 2480fcc9aa5a: Pulling fs layer 06:52:56 09adf4765672: Pulling fs layer 06:52:56 fd7a069fd194: Waiting 06:52:56 66aa3694b03b: Waiting 06:52:56 170f70906a0f: Waiting 06:52:56 ad7c5574e4b9: Waiting 06:52:56 e772456be8f7: Waiting 06:52:56 c890913d741a: Waiting 06:52:56 2480fcc9aa5a: Waiting 06:52:56 09adf4765672: Waiting 06:52:56 99f96fe45779: Verifying Checksum 06:52:56 99f96fe45779: Download complete 06:52:56 74f711af9a0d: Verifying Checksum 06:52:56 74f711af9a0d: Download complete 06:52:56 66aa3694b03b: Verifying Checksum 06:52:56 66aa3694b03b: Download complete 06:52:56 170f70906a0f: Verifying Checksum 06:52:56 170f70906a0f: Download complete 06:52:56 b538f80385f9: Verifying Checksum 06:52:56 b538f80385f9: Download complete 06:52:57 b538f80385f9: Pull complete 06:52:58 Removing intermediate container 424626c5b239 06:52:58 ---> 28bcad24b6fb 06:52:58 74f711af9a0d: Pull complete 06:52:58 Successfully built 28bcad24b6fb 06:52:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 06:52:58 99f96fe45779: Pull complete [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:52:59 + docker inspect -f . ci-base-image-x86_64 06:52:59 . [Pipeline] withDockerContainer 06:52:59 prd-centos7-docker-4c-2g-172 does not seem to be running inside a container 06:52:59 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:53:00 ad7c5574e4b9: Verifying Checksum 06:53:00 ad7c5574e4b9: Download complete 06:53:00 c890913d741a: Download complete 06:53:00 $ docker top 297c3f6984cce05354da96396248fc1ac78e1e7248aa6629993f6a96105fc679 -eo pid,comm [Pipeline] { [Pipeline] sh 06:53:01 + go version 06:53:01 go version go1.13.13 linux/amd64 [Pipeline] sh 06:53:01 + make test 06:53:01 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:53:02 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:53:03 2480fcc9aa5a: Verifying Checksum 06:53:03 2480fcc9aa5a: Download complete 06:53:03 09adf4765672: Verifying Checksum 06:53:03 09adf4765672: Download complete 06:53:03 e772456be8f7: Verifying Checksum 06:53:03 e772456be8f7: Download complete 06:53:04 fd7a069fd194: Verifying Checksum 06:53:04 fd7a069fd194: Download complete 06:53:12 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:53:12 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.005s coverage: 0.0% of statements 06:53:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:53:13 gofmt -l . 06:53:13 [ "`gofmt -l .`" = "" ] 06:53:13 ./bin/test-attribution-txt.sh 06:53:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:53:14 Stashed 1 file(s) [Pipeline] } 06:53:14 $ docker stop --time=1 297c3f6984cce05354da96396248fc1ac78e1e7248aa6629993f6a96105fc679 06:53:16 fd7a069fd194: Pull complete 06:53:16 66aa3694b03b: Pull complete 06:53:16 170f70906a0f: Pull complete 06:53:16 $ docker rm -f 297c3f6984cce05354da96396248fc1ac78e1e7248aa6629993f6a96105fc679 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:53:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:53:18 + ls -al . 06:53:18 total 104 06:53:18 drwxrwxr-x. 9 jenkins jenkins 4096 Aug 24 06:53 . 06:53:18 drwxrwxr-x. 4 jenkins jenkins 28 Aug 24 06:52 .. 06:53:18 -rw-rw-r--. 1 jenkins jenkins 4405 Aug 24 06:52 Attribution.txt 06:53:18 drwxrwxr-x. 2 jenkins jenkins 87 Aug 24 06:52 bin 06:53:18 drwxrwxr-x. 3 jenkins jenkins 32 Aug 24 06:52 cmd 06:53:18 -rw-r--r--. 1 jenkins jenkins 8493 Aug 24 06:53 coverage.out 06:53:18 -rw-rw-r--. 1 jenkins jenkins 994 Aug 24 06:52 Dockerfile 06:53:18 -rw-rw-r--. 1 jenkins jenkins 409 Aug 24 06:52 Dockerfile.build 06:53:18 -rw-rw-r--. 1 jenkins jenkins 6 Aug 24 06:52 .dockerignore 06:53:18 drwxrwxr-x. 8 jenkins jenkins 179 Aug 24 06:52 .git 06:53:18 drwxrwxr-x. 2 jenkins jenkins 38 Aug 24 06:52 .github 06:53:18 -rw-rw-r--. 1 jenkins jenkins 272 Aug 24 06:52 .gitignore 06:53:18 -rw-r--r--. 1 jenkins jenkins 203 Aug 24 06:53 go.mod 06:53:18 -rw-r--r--. 1 jenkins jenkins 12704 Aug 24 06:53 go.sum 06:53:18 drwxrwxr-x. 3 jenkins jenkins 20 Aug 24 06:52 internal 06:53:18 -rw-rw-r--. 1 jenkins jenkins 678 Aug 24 06:52 Jenkinsfile 06:53:18 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 24 06:52 LICENSE 06:53:18 -rw-rw-r--. 1 jenkins jenkins 937 Aug 24 06:52 Makefile 06:53:18 drwxrwxr-x. 2 jenkins jenkins 84 Aug 24 06:52 profiles 06:53:18 -rw-rw-r--. 1 jenkins jenkins 12398 Aug 24 06:52 README.md 06:53:18 drwxrwxr-x. 3 jenkins jenkins 74 Aug 24 06:52 .semver 06:53:18 -rw-rw-r--. 1 jenkins jenkins 5 Aug 24 06:49 VERSION 06:53:18 -rw-rw-r--. 1 jenkins jenkins 209 Aug 24 06:52 version.go [Pipeline] isUnix [Pipeline] sh 06:53:19 + 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=f4d58277cb9ddce98e6c8d3b70d13b1825388b28 --label arch=amd64 --label version=0.0.0 . 06:53:19 Sending build context to Docker daemon 367.6kB 06:53:19 Step 1/25 : ARG BASE=golang:1.13-alpine 06:53:19 Step 2/25 : FROM ${BASE} AS builder 06:53:19 ---> 28bcad24b6fb 06:53:19 Step 3/25 : ARG MAKE='make build' 06:53:19 ---> Running in e9e5f0464d27 06:53:19 ad7c5574e4b9: Pull complete 06:53:19 Removing intermediate container e9e5f0464d27 06:53:19 ---> b72444d3825e 06:53:19 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 06:53:19 ---> Running in 9388683a2dfe 06:53:19 Removing intermediate container 9388683a2dfe 06:53:19 ---> e388fa980ef5 06:53:19 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 06:53:19 ---> Running in e1d92e33b0be 06:53:19 Removing intermediate container e1d92e33b0be 06:53:19 ---> 71ead3c07d25 06:53:19 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:53:19 ---> Running in 2cbe8e01dd02 06:53:20 Removing intermediate container 2cbe8e01dd02 06:53:20 ---> 8f659442e597 06:53:20 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:53:20 ---> Running in c1354c2ef6c9 06:53:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:53:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:53:22 OK: 166 MiB in 39 packages 06:53:22 Removing intermediate container c1354c2ef6c9 06:53:22 ---> b138e2b2b6b2 06:53:22 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 06:53:22 ---> Running in 7ad01b48821b 06:53:23 Removing intermediate container 7ad01b48821b 06:53:23 ---> ef68a1cf93a8 06:53:23 Step 9/25 : COPY go.mod . 06:53:23 ---> 7e96cbc0c6df 06:53:23 Step 10/25 : COPY Makefile . 06:53:23 ---> 563146d8d66f 06:53:23 Step 11/25 : RUN make update 06:53:24 ---> Running in 9d92c48b6a6a 06:53:24 CGO_ENABLED=0 GO111MODULE=on go mod download 06:53:24 e772456be8f7: Pull complete 06:53:24 c890913d741a: Pull complete 06:53:24 Removing intermediate container 9d92c48b6a6a 06:53:24 ---> 588484916ba4 06:53:24 Step 12/25 : COPY . . 06:53:25 ---> 98196fdfd959 06:53:25 Step 13/25 : RUN ${MAKE} 06:53:25 ---> Running in a96938b5e772 06:53:26 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 06:53:26 2480fcc9aa5a: Pull complete 06:53:27 09adf4765672: Pull complete 06:53:27 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 06:53:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 06:53:27 ---> 2248a725d1cf 06:53:27 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:53:31 ---> Running in d441e76e7130 06:53:31 Removing intermediate container d441e76e7130 06:53:31 ---> a8ed37fa57fe 06:53:31 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:53:32 ---> Running in 793cda409f56 06:53:32 Removing intermediate container 793cda409f56 06:53:32 ---> 1c6841552ff9 06:53:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 06:53:33 ---> Running in 5bf16eac25ad 06:53:33 Removing intermediate container 5bf16eac25ad 06:53:33 ---> 2383f36258c6 06:53:33 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:53:33 ---> Running in e203f98ac642 06:53:34 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:53:37 Removing intermediate container a96938b5e772 06:53:37 ---> cd692fb7f9c3 06:53:37 Step 14/25 : FROM alpine 06:53:37 latest: Pulling from library/alpine 06:53:37 df20fa9351a1: Already exists 06:53:37 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 06:53:37 Status: Downloaded newer image for alpine:latest 06:53:37 ---> a24bb4013296 06:53:37 Step 15/25 : ENV APP_PORT=49993 06:53:38 Removing intermediate container e203f98ac642 06:53:38 ---> c82c5799dda9 06:53:38 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:53:38 ---> Running in 89e301b7398a 06:53:38 ---> Running in ef4d36c8677f 06:53:38 Removing intermediate container ef4d36c8677f 06:53:38 ---> bd3dfd75d5b2 06:53:38 Step 16/25 : EXPOSE $APP_PORT 06:53:38 ---> Running in 6fd05739d650 06:53:38 Removing intermediate container 6fd05739d650 06:53:38 ---> 50fc11b066be 06:53:38 Step 17/25 : ENV DEVICE_PORT=161 06:53:38 ---> Running in ebff4605b20a 06:53:38 Removing intermediate container ebff4605b20a 06:53:38 ---> 49c8ee6918db 06:53:38 Step 18/25 : EXPOSE $DEVICE_PORT 06:53:38 ---> Running in f24e92da0312 06:53:38 Removing intermediate container f24e92da0312 06:53:38 ---> b37eb349d8bf 06:53:38 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 06:53:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:53:39 ---> e2409296a5d4 06:53:39 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 06:53:39 ---> dba1b721e825 06:53:39 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 06:53:39 ---> 6b62c7064e22 06:53:39 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 06:53:39 ---> Running in 91924556fb26 06:53:40 Removing intermediate container 91924556fb26 06:53:40 ---> ad7395143eac 06:53:40 Step 23/25 : LABEL arch=amd64 06:53:40 ---> Running in a8f570b175ca 06:53:40 Removing intermediate container a8f570b175ca 06:53:40 ---> cedcec453719 06:53:40 Step 24/25 : LABEL git_sha=f4d58277cb9ddce98e6c8d3b70d13b1825388b28 06:53:40 ---> Running in 6a5e41c7cafe 06:53:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:53:40 Removing intermediate container 6a5e41c7cafe 06:53:40 ---> 2ffc5fc1a370 06:53:40 Step 25/25 : LABEL version=0.0.0 06:53:40 ---> Running in dd8a1848d38d 06:53:40 Removing intermediate container dd8a1848d38d 06:53:40 ---> 593ba17b7cbf 06:53:40 [Warning] One or more build-args [ARCH] were not consumed 06:53:40 Successfully built 593ba17b7cbf 06:53:40 Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } 06:53:41 OK: 142 MiB in 39 packages [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] } 06:53:43 Removing intermediate container 89e301b7398a 06:53:43 ---> 180a0b088d3d 06:53:43 Step 8/10 : WORKDIR /device-snmp-go 06:53:43 ---> Running in 1293d560378d 06:53:43 Removing intermediate container 1293d560378d 06:53:43 ---> e7cc3732545b 06:53:43 Step 9/10 : COPY . . 06:53:44 ---> d12cfb668719 06:53:44 Step 10/10 : RUN go mod download 06:53:44 ---> Running in f03a58c70da6 06:53:48 go: finding github.com/BurntSushi/toml v0.3.1 06:53:48 go: finding github.com/OneOfOne/xxhash v1.2.6 06:53:48 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:53:48 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:53:48 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:53:48 go: finding github.com/bgentry/speakeasy v0.1.0 06:53:48 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:53:48 go: finding github.com/davecgh/go-spew v1.1.1 06:53:48 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 06:53:48 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 06:53:48 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:53:48 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 06:53:48 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 06:53:48 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:53:48 go: finding github.com/fatih/color v1.7.0 06:53:48 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:53:48 go: finding github.com/go-kit/kit v0.8.0 06:53:48 go: finding github.com/go-logfmt/logfmt v0.4.0 06:53:48 go: finding github.com/go-stack/stack v1.8.0 06:53:48 go: finding github.com/golang/mock v1.2.0 06:53:48 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:53:48 go: finding github.com/google/uuid v1.1.0 06:53:48 go: finding github.com/gorilla/mux v1.7.1 06:53:48 go: finding github.com/hashicorp/consul/api v1.1.0 06:53:48 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:53:48 go: finding github.com/hashicorp/errwrap v1.0.0 06:53:48 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:53:48 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:53:48 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:53:48 go: finding github.com/hashicorp/go-multierror v1.0.0 06:53:48 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:53:49 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:53:49 go: finding github.com/hashicorp/go-syslog v1.0.0 06:53:49 go: finding github.com/hashicorp/go-uuid v1.0.1 06:53:49 go: finding github.com/hashicorp/go.net v0.0.1 06:53:49 go: finding github.com/hashicorp/golang-lru v0.5.0 06:53:49 go: finding github.com/hashicorp/logutils v1.0.0 06:53:49 go: finding github.com/hashicorp/mdns v1.0.0 06:53:49 go: finding github.com/hashicorp/memberlist v0.1.3 06:53:49 go: finding github.com/hashicorp/serf v0.8.2 06:53:49 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:53:49 go: finding github.com/mattn/go-colorable v0.0.9 06:53:49 go: finding github.com/mattn/go-isatty v0.0.3 06:53:49 go: finding github.com/miekg/dns v1.0.14 06:53:49 go: finding github.com/mitchellh/cli v1.0.0 06:53:49 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:53:49 go: finding github.com/mitchellh/copystructure v1.0.0 06:53:49 go: finding github.com/mitchellh/go-homedir v1.0.0 06:53:49 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:53:49 go: finding github.com/mitchellh/gox v0.4.0 06:53:49 go: finding github.com/mitchellh/iochan v1.0.0 06:53:49 go: finding github.com/mitchellh/mapstructure v1.1.2 06:53:49 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:53:49 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:53:49 go: finding github.com/pelletier/go-toml v1.2.0 06:53:49 go: finding github.com/pkg/errors v0.8.1 06:53:49 go: finding github.com/pmezard/go-difflib v1.0.0 06:53:49 go: finding github.com/posener/complete v1.1.1 06:53:50 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:53:50 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:53:50 go: finding github.com/soniah/gosnmp v1.21.0 06:53:50 go: finding github.com/stretchr/objx v0.1.0 06:53:50 go: finding github.com/stretchr/testify v1.5.1 06:53:50 go: finding github.com/ugorji/go v1.1.4 06:53:50 go: finding github.com/x448/float16 v0.8.4 06:53:50 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:53:50 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:53:50 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:53:50 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:53:50 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:53:50 go: finding gopkg.in/yaml.v2 v2.2.8 06:54:00 Removing intermediate container f03a58c70da6 06:54:00 ---> cb77ab39877d 06:54:00 Successfully built cb77ab39877d 06:54:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:54:01 + docker inspect -f . ci-base-image-arm64 06:54:01 . [Pipeline] withDockerContainer 06:54:01 prd-ubuntu18.04-docker-arm64-4c-16g-169 does not seem to be running inside a container 06:54:01 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:54:04 $ docker top 08fa61258ee2efb25aeff6edc966fc911b8df56d0957f4106767bf9ae65a230e -eo pid,comm [Pipeline] { [Pipeline] sh 06:54:05 + go version 06:54:05 go version go1.13.13 linux/arm64 [Pipeline] sh 06:54:06 + make test 06:54:06 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:54:07 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:54:40 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:54:40 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.017s coverage: 0.0% of statements 06:54:40 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:54:44 gofmt -l . 06:54:44 [ "`gofmt -l .`" = "" ] 06:54:44 ./bin/test-attribution-txt.sh 06:54:45 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:54:45 Warning: overwriting stash ‘coverage-report’ 06:54:46 Stashed 1 file(s) [Pipeline] } 06:54:46 $ docker stop --time=1 08fa61258ee2efb25aeff6edc966fc911b8df56d0957f4106767bf9ae65a230e 06:54:49 $ docker rm -f 08fa61258ee2efb25aeff6edc966fc911b8df56d0957f4106767bf9ae65a230e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:54:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:54:50 + ls -al . 06:54:50 total 136 06:54:50 drwxrwxr-x 9 jenkins jenkins 4096 Aug 24 06:54 . 06:54:50 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 06:52 .. 06:54:50 -rw-rw-r-- 1 jenkins jenkins 6 Aug 24 06:52 .dockerignore 06:54:50 drwxrwxr-x 8 jenkins jenkins 4096 Aug 24 06:52 .git 06:54:50 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 06:52 .github 06:54:50 -rw-rw-r-- 1 jenkins jenkins 272 Aug 24 06:52 .gitignore 06:54:50 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 06:52 .semver 06:54:50 -rw-rw-r-- 1 jenkins jenkins 4405 Aug 24 06:52 Attribution.txt 06:54:50 -rw-rw-r-- 1 jenkins jenkins 994 Aug 24 06:52 Dockerfile 06:54:50 -rw-rw-r-- 1 jenkins jenkins 409 Aug 24 06:52 Dockerfile.build 06:54:50 -rw-rw-r-- 1 jenkins jenkins 678 Aug 24 06:52 Jenkinsfile 06:54:50 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 24 06:52 LICENSE 06:54:50 -rw-rw-r-- 1 jenkins jenkins 937 Aug 24 06:52 Makefile 06:54:50 -rw-rw-r-- 1 jenkins jenkins 12398 Aug 24 06:52 README.md 06:54:50 -rw-rw-r-- 1 jenkins jenkins 5 Aug 24 06:49 VERSION 06:54:50 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 06:52 bin 06:54:50 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 06:52 cmd 06:54:50 -rw-r--r-- 1 jenkins jenkins 8493 Aug 24 06:54 coverage.out 06:54:50 -rw-r--r-- 1 jenkins jenkins 203 Aug 24 06:54 go.mod 06:54:50 -rw-r--r-- 1 jenkins jenkins 12704 Aug 24 06:54 go.sum 06:54:50 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 06:52 internal 06:54:50 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 06:52 profiles 06:54:50 -rw-rw-r-- 1 jenkins jenkins 209 Aug 24 06:52 version.go [Pipeline] isUnix [Pipeline] sh 06:54:51 + 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=f4d58277cb9ddce98e6c8d3b70d13b1825388b28 --label arch=arm64 --label version=0.0.0 . 06:54:51 Sending build context to Docker daemon 367.6kB 06:54:51 Step 1/25 : ARG BASE=golang:1.13-alpine 06:54:51 Step 2/25 : FROM ${BASE} AS builder 06:54:51 ---> cb77ab39877d 06:54:51 Step 3/25 : ARG MAKE='make build' 06:54:51 ---> Running in fe6a6cb2d328 06:54:52 Removing intermediate container fe6a6cb2d328 06:54:52 ---> 6f962a9b8412 06:54:52 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 06:54:52 ---> Running in f878cd9b97fa 06:54:53 Removing intermediate container f878cd9b97fa 06:54:53 ---> 8ede48b6d034 06:54:53 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 06:54:53 ---> Running in 9bccb613e583 06:54:53 Removing intermediate container 9bccb613e583 06:54:53 ---> 2a16f81d3be8 06:54:53 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:54:53 ---> Running in c55aa58bb966 06:54:56 Removing intermediate container c55aa58bb966 06:54:56 ---> 3a8d314b2338 06:54:56 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:54:56 ---> Running in c455b188e8ea 06:54:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:54:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:54:59 OK: 142 MiB in 39 packages 06:55:00 Removing intermediate container c455b188e8ea 06:55:00 ---> 138faa0f05e7 06:55:00 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 06:55:00 ---> Running in aeb5d2208978 06:55:01 Removing intermediate container aeb5d2208978 06:55:01 ---> 520537be584c 06:55:01 Step 9/25 : COPY go.mod . 06:55:01 ---> 9b314ff2ea47 06:55:01 Step 10/25 : COPY Makefile . 06:55:02 ---> 20b84d39809e 06:55:02 Step 11/25 : RUN make update 06:55:02 ---> Running in e97a769ef9aa 06:55:04 CGO_ENABLED=0 GO111MODULE=on go mod download 06:55:05 Removing intermediate container e97a769ef9aa 06:55:05 ---> c51a6a64ac3b 06:55:05 Step 12/25 : COPY . . 06:55:06 ---> 5a3cbbc6a34b 06:55:06 Step 13/25 : RUN ${MAKE} 06:55:06 ---> Running in 4e951539a042 06:55:07 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd 06:55:34 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:55:40 Removing intermediate container 4e951539a042 06:55:40 ---> bcf129aea4bd 06:55:40 Step 14/25 : FROM alpine 06:55:40 latest: Pulling from library/alpine 06:55:40 b538f80385f9: Already exists 06:55:40 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 06:55:40 Status: Downloaded newer image for alpine:latest 06:55:40 ---> 62ee0e9f8440 06:55:40 Step 15/25 : ENV APP_PORT=49993 06:55:40 ---> Running in ee5cf3eb0ceb 06:55:40 Removing intermediate container ee5cf3eb0ceb 06:55:40 ---> dd9080dc50dd 06:55:40 Step 16/25 : EXPOSE $APP_PORT 06:55:40 ---> Running in 43f6ada1fdcd 06:55:41 Removing intermediate container 43f6ada1fdcd 06:55:41 ---> 651520d6f888 06:55:41 Step 17/25 : ENV DEVICE_PORT=161 06:55:41 ---> Running in 28448dcb39c1 06:55:42 Removing intermediate container 28448dcb39c1 06:55:42 ---> 590c9c3df3f4 06:55:42 Step 18/25 : EXPOSE $DEVICE_PORT 06:55:42 ---> Running in 948076aafdb1 06:55:42 Removing intermediate container 948076aafdb1 06:55:42 ---> 8a1346b989b2 06:55:42 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 06:55:43 ---> 511f2c441653 06:55:43 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 06:55:44 ---> 2aeeab6bd616 06:55:44 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 06:55:45 ---> f35b31fedde1 06:55:45 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 06:55:45 ---> Running in 69321862accd 06:55:45 Removing intermediate container 69321862accd 06:55:45 ---> 9056d13940e4 06:55:45 Step 23/25 : LABEL arch=arm64 06:55:45 ---> Running in 8ce49f03bb39 06:55:46 Removing intermediate container 8ce49f03bb39 06:55:46 ---> d8a0edc7c26e 06:55:46 Step 24/25 : LABEL git_sha=f4d58277cb9ddce98e6c8d3b70d13b1825388b28 06:55:46 ---> Running in aaaaad345fa8 06:55:47 Removing intermediate container aaaaad345fa8 06:55:47 ---> 60a37046f298 06:55:47 Step 25/25 : LABEL version=0.0.0 06:55:47 ---> Running in 0a3c3904d3e9 06:55:47 Removing intermediate container 0a3c3904d3e9 06:55:47 ---> 84763eaabfb1 06:55:47 [Warning] One or more build-args [ARCH] were not consumed 06:55:47 Successfully built 84763eaabfb1 06:55:47 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 06:55:50 provisioning config files... 06:55:50 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-58@tmp/config808849397598102257tmp [Pipeline] { [Pipeline] sh 06:55:50 + curl -s https://codecov.io/bash 06:55:50 + bash -s - -t @/w/workspace/dgexfoundry_device-snmp-go_PR-58@tmp/config808849397598102257tmp [Pipeline] } 06:55:51 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] { (Publish Swagger) Stage "Publish Swagger" 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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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 06:55:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:55:54 ---> package-listing.sh 06:55:54 ++ facter osfamily 06:55:54 ++ tr '[:upper:]' '[:lower:]' 06:55:54 + OS_FAMILY=redhat 06:55:54 + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-58 06:55:54 + START_PACKAGES=/tmp/packages_start.txt 06:55:54 + END_PACKAGES=/tmp/packages_end.txt 06:55:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:55:54 + PACKAGES=/tmp/packages_start.txt 06:55:54 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-58 ']' 06:55:54 + PACKAGES=/tmp/packages_end.txt 06:55:54 + case "${OS_FAMILY}" in 06:55:54 + rpm -qa 06:55:54 + sort 06:55:58 + '[' -f /tmp/packages_start.txt ']' 06:55:58 + '[' -f /tmp/packages_end.txt ']' 06:55:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:55:58 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-58 ']' 06:55:58 + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-58/archives/ 06:55:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-58/archives/ [Pipeline] isUnix [Pipeline] sh 06:55:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:55:59 06:55:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:55:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:55:59 alpine: Pulling from edgex-lftools-log-publisher 06:55:59 c9b1b535fdd9: Pulling fs layer 06:55:59 2cc5ad85d9ab: Pulling fs layer 06:55:59 756a868c4378: Pulling fs layer 06:55:59 444b2fc9a129: Pulling fs layer 06:55:59 ea15f1150254: Pulling fs layer 06:55:59 41b27a9f41bf: Pulling fs layer 06:55:59 28c525ee5125: Pulling fs layer 06:55:59 094b1ea09ed8: Pulling fs layer 06:55:59 138eaada9080: Pulling fs layer 06:55:59 0622d0fa9048: Pulling fs layer 06:55:59 41b27a9f41bf: Waiting 06:55:59 28c525ee5125: Waiting 06:55:59 094b1ea09ed8: Waiting 06:55:59 138eaada9080: Waiting 06:55:59 0622d0fa9048: Waiting 06:55:59 444b2fc9a129: Waiting 06:55:59 ea15f1150254: Waiting 06:55:59 2cc5ad85d9ab: Verifying Checksum 06:55:59 2cc5ad85d9ab: Download complete 06:55:59 444b2fc9a129: Verifying Checksum 06:55:59 444b2fc9a129: Download complete 06:55:59 c9b1b535fdd9: Verifying Checksum 06:55:59 c9b1b535fdd9: Download complete 06:55:59 ea15f1150254: Verifying Checksum 06:55:59 ea15f1150254: Download complete 06:55:59 28c525ee5125: Verifying Checksum 06:55:59 28c525ee5125: Download complete 06:56:00 c9b1b535fdd9: Pull complete 06:56:00 756a868c4378: Verifying Checksum 06:56:00 756a868c4378: Download complete 06:56:00 138eaada9080: Verifying Checksum 06:56:00 138eaada9080: Download complete 06:56:00 2cc5ad85d9ab: Pull complete 06:56:00 0622d0fa9048: Verifying Checksum 06:56:00 0622d0fa9048: Download complete 06:56:00 094b1ea09ed8: Verifying Checksum 06:56:00 094b1ea09ed8: Download complete 06:56:00 41b27a9f41bf: Verifying Checksum 06:56:00 41b27a9f41bf: Download complete 06:56:02 756a868c4378: Pull complete 06:56:02 444b2fc9a129: Pull complete 06:56:02 ea15f1150254: Pull complete 06:56:05 41b27a9f41bf: Pull complete 06:56:05 28c525ee5125: Pull complete 06:56:08 094b1ea09ed8: Pull complete 06:56:08 138eaada9080: Pull complete 06:56:08 0622d0fa9048: Pull complete 06:56:08 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 06:56:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:56:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:56:09 prd-centos7-docker-4c-2g-163 does not seem to be running inside a container 06:56:09 $ 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-58 -v /w/workspace/dgexfoundry_device-snmp-go_PR-58:/w/workspace/dgexfoundry_device-snmp-go_PR-58:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-58@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-58@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:56:12 $ docker top dba469c72985e0300e8f606f7c7fb6d70a6a1363491747c2c0c25927722816d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:56:13 provisioning config files... 06:56:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-58@tmp/config9032098984714348153tmp [Pipeline] { [Pipeline] echo 06:56:13 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:56:13 ---> create-netrc.sh [Pipeline] echo 06:56:13 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:56:14 ---> logs-deploy.sh 06:56:14 + ARCHIVE_ARTIFACTS= 06:56:14 + LOGS_SERVER=https://logs.edgexfoundry.org 06:56:14 + '[' https://logs.edgexfoundry.org == None ']' 06:56:14 + NEXUS_URL=https://nexus.edgexfoundry.org 06:56:14 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-58/1 06:56:14 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/PR-58/1/ 06:56:14 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-58/1 /w/workspace/dgexfoundry_device-snmp-go_PR-58 06:56:16 Archives upload complete. 06:56:16 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-58/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/PR-58/1/