Started by user Lisa Rashidi-Ranjbar Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f8f17c2013d07295decc13e984e4b5973bc1f0af Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 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 370697454611dc68c0596e0d0a50477a8de841a8 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 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 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 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 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 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 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-snmp-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-2990’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3027’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3035 in /w/workspace/gexfoundry_device-snmp-go_master [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/gexfoundry_device-snmp-go_master # 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/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision f8f17c2013d07295decc13e984e4b5973bc1f0af (master) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # 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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f8f17c2013d07295decc13e984e4b5973bc1f0af # timeout=10 Commit message: "Merge pull request #52 from tonyespy/update-sdk-122" > git rev-list --no-walk f8f17c2013d07295decc13e984e4b5973bc1f0af # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:39:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:39:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:39:50 ========================================================= 15:39:50 EdgeX Global Pipelines Version Info 15:39:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:39:51 ------------------- 15:39:51 stable info: 15:39:51 ------------------- 15:39:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:39:51 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 15:39:51 Message: update stable to v1.0.89 15:39:52 ------------------- 15:39:52 experimental info: 15:39:52 ------------------- 15:39:52 Commited By: **** collab-it+edgex@linuxfoundation.org 15:39:52 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 15:39:52 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 15:39:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:39:53 15:39:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:39:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:39:54 latest: Pulling from edgex-devops/git-semver 15:39:54 9123ac7c32f7: Pulling fs layer 15:39:54 b8cc5d1170e3: Pulling fs layer 15:39:54 2924cbbf6a41: Pulling fs layer 15:39:54 93b08a4f1073: Pulling fs layer 15:39:54 93b08a4f1073: Waiting 15:39:54 b8cc5d1170e3: Verifying Checksum 15:39:54 b8cc5d1170e3: Download complete 15:39:54 9123ac7c32f7: Verifying Checksum 15:39:54 9123ac7c32f7: Download complete 15:39:54 93b08a4f1073: Verifying Checksum 15:39:54 93b08a4f1073: Download complete 15:39:54 2924cbbf6a41: Verifying Checksum 15:39:54 2924cbbf6a41: Download complete 15:39:54 9123ac7c32f7: Pull complete 15:39:54 b8cc5d1170e3: Pull complete 15:39:55 2924cbbf6a41: Pull complete 15:39:55 93b08a4f1073: Pull complete 15:39:55 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 15:39:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:39:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:39:55 prd-centos7-docker-4c-2g-3035 does not seem to be running inside a container 15:39:55 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:39:57 $ docker top 1a1f9c53cee0e7de9179d9e5d52e68c6df317be59a12545c90e0e14a5d61e668 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:39:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:39:57 [ssh-agent] Looking for ssh-agent implementation... 15:39:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:39:58 $ docker exec 1a1f9c53cee0e7de9179d9e5d52e68c6df317be59a12545c90e0e14a5d61e668 ssh-agent 15:39:58 SSH_AUTH_SOCK=/tmp/ssh-xeLUXAMLWsQe/agent.12 15:39:58 SSH_AGENT_PID=17 15:39:58 Running ssh-add (command line suppressed) 15:39:58 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_4834702254136593998.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_4834702254136593998.key) 15:39:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:39:58 + git describe --exact-match --tags HEAD 15:39:58 fatal: No names found, cannot describe anything. [Pipeline] } 15:39:58 $ docker exec --env ******** --env ******** 1a1f9c53cee0e7de9179d9e5d52e68c6df317be59a12545c90e0e14a5d61e668 ssh-agent -k 15:39:59 unset SSH_AUTH_SOCK; 15:39:59 unset SSH_AGENT_PID; 15:39:59 echo Agent pid 17 killed; 15:39:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:39:59 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:39:59 This usually means this commit has not been tagged. [Pipeline] sshagent 15:39:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:39:59 [ssh-agent] Looking for ssh-agent implementation... 15:39:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:39:59 $ docker exec 1a1f9c53cee0e7de9179d9e5d52e68c6df317be59a12545c90e0e14a5d61e668 ssh-agent 15:39:59 SSH_AUTH_SOCK=/tmp/ssh-deoO0nNojdx9/agent.45 15:39:59 SSH_AGENT_PID=50 15:39:59 Running ssh-add (command line suppressed) 15:39:59 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6763177947829461090.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6763177947829461090.key) 15:39:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:39:59 + git semver init 15:39:59 # -> Open(): unable to determine branch for HEAD 15:39:59 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 15:39:59 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 15:39:59 # $SEMVER_REMOTE_NAME = origin 15:39:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:39:59 # $SEMVER_USER_NAME = edgex-jenkins 15:39:59 # $SEMVER_BRANCH = master 15:39:59 # $SEMVER_TEMP = /tmp/semver-203398131 15:39:59 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 15:40:00 # '/tmp/semver-203398131' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' 15:40:00 # -> Force: false 15:40:00 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 15:40:00 $ docker exec --env ******** --env ******** 1a1f9c53cee0e7de9179d9e5d52e68c6df317be59a12545c90e0e14a5d61e668 ssh-agent -k 15:40:00 unset SSH_AUTH_SOCK; 15:40:00 unset SSH_AGENT_PID; 15:40:00 echo Agent pid 50 killed; 15:40:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:40:01 + git semver [Pipeline] } 15:40:01 $ docker stop --time=1 1a1f9c53cee0e7de9179d9e5d52e68c6df317be59a12545c90e0e14a5d61e668 15:40:02 $ docker rm -f 1a1f9c53cee0e7de9179d9e5d52e68c6df317be59a12545c90e0e14a5d61e668 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:40:02 Stashed 36 file(s) [Pipeline] echo 15:40:02 [edgeXSemver] initialized semver on version 1.2.1 [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 15:40:18 Still waiting to schedule task 15:40:18 ‘prd-centos7-blackbox-4c-2g-2990’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3037’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3036’ doesn’t have label ‘centos7-docker-4c-2g’ 15:40:18 Still waiting to schedule task 15:40:18 ‘prd-centos7-blackbox-4c-2g-2990’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3037’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3036’ is offline 15:41:40 Running on prd-centos7-docker-4c-2g-3045 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 15:41:40 Running in /w/workspace/device-snmp-go/8 [Pipeline] { [Pipeline] checkout 15:41:42 using credential edgex-jenkins-ssh 15:41:42 Cloning the remote Git repository 15:41:42 Cloning with configured refspecs honoured and without tags 15:41:43 Fetching without tags 15:41:42 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:41:43 > git init /w/workspace/device-snmp-go/8 # timeout=10 15:41:43 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:41:43 > git --version # timeout=10 15:41:43 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41:43 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:41:43 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:41:43 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:41:43 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:41:43 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:41:43 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41:43 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:41:44 Checking out Revision f8f17c2013d07295decc13e984e4b5973bc1f0af (master) 15:41:44 > git config core.sparsecheckout # timeout=10 15:41:44 > git checkout -f f8f17c2013d07295decc13e984e4b5973bc1f0af # timeout=10 15:41:48 Commit message: "Merge pull request #52 from tonyespy/update-sdk-122" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:41:48 ========================================================= 15:41:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 15:41:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:41:49 + 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 . 15:41:49 Sending build context to Docker daemon 362.5kB 15:41:49 Step 1/10 : ARG BASE=golang:1.13-alpine 15:41:49 Step 2/10 : FROM ${BASE} 15:41:50 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 15:41:50 e6b0cf9c0882: Pulling fs layer 15:41:50 2848faf0eed1: Pulling fs layer 15:41:50 0f37312ad70f: Pulling fs layer 15:41:50 5788d62ee057: Pulling fs layer 15:41:50 0e6b1d234666: Pulling fs layer 15:41:50 bf5d7aec512f: Pulling fs layer 15:41:50 34c802a77dc8: Pulling fs layer 15:41:50 9eb99e56ec68: Pulling fs layer 15:41:50 27c7a5d97fbd: Pulling fs layer 15:41:50 5c102a31e300: Pulling fs layer 15:41:50 dcfb455df0a1: Pulling fs layer 15:41:50 34c802a77dc8: Waiting 15:41:50 9eb99e56ec68: Waiting 15:41:50 5788d62ee057: Waiting 15:41:50 0e6b1d234666: Waiting 15:41:50 bf5d7aec512f: Waiting 15:41:50 27c7a5d97fbd: Waiting 15:41:50 5c102a31e300: Waiting 15:41:50 0f37312ad70f: Verifying Checksum 15:41:50 0f37312ad70f: Download complete 15:41:50 2848faf0eed1: Download complete 15:41:50 0e6b1d234666: Download complete 15:41:50 bf5d7aec512f: Download complete 15:41:50 e6b0cf9c0882: Verifying Checksum 15:41:50 e6b0cf9c0882: Download complete 15:41:50 e6b0cf9c0882: Pull complete 15:41:50 2848faf0eed1: Pull complete 15:41:50 0f37312ad70f: Pull complete 15:41:51 34c802a77dc8: Verifying Checksum 15:41:51 34c802a77dc8: Download complete 15:41:51 27c7a5d97fbd: Verifying Checksum 15:41:51 27c7a5d97fbd: Download complete 15:41:52 9eb99e56ec68: Verifying Checksum 15:41:52 9eb99e56ec68: Download complete 15:41:52 dcfb455df0a1: Verifying Checksum 15:41:52 dcfb455df0a1: Download complete 15:41:52 5c102a31e300: Verifying Checksum 15:41:52 5c102a31e300: Download complete 15:41:52 5788d62ee057: Verifying Checksum 15:41:52 5788d62ee057: Download complete 15:41:59 5788d62ee057: Pull complete 15:41:59 0e6b1d234666: Pull complete 15:41:59 bf5d7aec512f: Pull complete 15:42:03 34c802a77dc8: Pull complete 15:42:06 9eb99e56ec68: Pull complete 15:42:06 27c7a5d97fbd: Pull complete 15:42:07 5c102a31e300: Pull complete 15:42:07 dcfb455df0a1: Pull complete 15:42:07 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 15:42:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 15:42:07 ---> 7c70fe431013 15:42:07 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 15:42:09 ---> Running in 085c4ad55e52 15:42:09 Removing intermediate container 085c4ad55e52 15:42:09 ---> df0d97011848 15:42:09 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:42:09 ---> Running in e0e46e708ef6 15:42:09 Removing intermediate container e0e46e708ef6 15:42:09 ---> 9b8e8279d577 15:42:09 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 15:42:09 ---> Running in e28231e409e5 15:42:10 Removing intermediate container e28231e409e5 15:42:10 ---> 6d61323f0191 15:42:10 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:42:10 ---> Running in 8b717ebf991f 15:42:11 Removing intermediate container 8b717ebf991f 15:42:11 ---> 5ee33bc44436 15:42:11 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:42:11 ---> Running in 131aa641b0dc 15:42:12 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:42:12 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:42:12 OK: 143 MiB in 39 packages 15:42:13 Removing intermediate container 131aa641b0dc 15:42:13 ---> e89d5cacdb34 15:42:13 Step 8/10 : WORKDIR /device-snmp-go 15:42:13 ---> Running in ef101de4152a 15:42:13 Removing intermediate container ef101de4152a 15:42:13 ---> e20b83f1bc36 15:42:13 Step 9/10 : COPY . . 15:42:14 ---> 056fc83c8723 15:42:14 Step 10/10 : RUN go mod download 15:42:14 ---> Running in e19fbdc55812 15:42:16 go: finding github.com/BurntSushi/toml v0.3.1 15:42:16 go: finding github.com/OneOfOne/xxhash v1.2.6 15:42:16 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:42:16 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:42:16 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:42:16 go: finding github.com/bgentry/speakeasy v0.1.0 15:42:16 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:42:16 go: finding github.com/davecgh/go-spew v1.1.1 15:42:16 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 15:42:16 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 15:42:16 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:42:16 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:42:16 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:42:16 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:42:16 go: finding github.com/fatih/color v1.7.0 15:42:16 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:42:16 go: finding github.com/go-kit/kit v0.8.0 15:42:16 go: finding github.com/go-logfmt/logfmt v0.4.0 15:42:16 go: finding github.com/go-stack/stack v1.8.0 15:42:16 go: finding github.com/golang/mock v1.2.0 15:42:16 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:42:16 go: finding github.com/google/uuid v1.1.0 15:42:16 go: finding github.com/gorilla/mux v1.7.1 15:42:16 go: finding github.com/hashicorp/consul/api v1.1.0 15:42:16 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:42:16 go: finding github.com/hashicorp/errwrap v1.0.0 15:42:16 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:42:16 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:42:16 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:42:16 go: finding github.com/hashicorp/go-multierror v1.0.0 15:42:16 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:42:16 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:42:16 go: finding github.com/hashicorp/go-syslog v1.0.0 15:42:16 go: finding github.com/hashicorp/go-uuid v1.0.1 15:42:16 go: finding github.com/hashicorp/go.net v0.0.1 15:42:16 go: finding github.com/hashicorp/golang-lru v0.5.0 15:42:16 go: finding github.com/hashicorp/logutils v1.0.0 15:42:16 go: finding github.com/hashicorp/mdns v1.0.0 15:42:16 go: finding github.com/hashicorp/memberlist v0.1.3 15:42:16 go: finding github.com/hashicorp/serf v0.8.2 15:42:16 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:42:16 go: finding github.com/mattn/go-colorable v0.0.9 15:42:16 go: finding github.com/mattn/go-isatty v0.0.3 15:42:16 go: finding github.com/miekg/dns v1.0.14 15:42:16 go: finding github.com/mitchellh/cli v1.0.0 15:42:16 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:42:16 go: finding github.com/mitchellh/copystructure v1.0.0 15:42:16 go: finding github.com/mitchellh/go-homedir v1.0.0 15:42:16 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:42:16 go: finding github.com/mitchellh/gox v0.4.0 15:42:16 go: finding github.com/mitchellh/iochan v1.0.0 15:42:16 go: finding github.com/mitchellh/mapstructure v1.1.2 15:42:16 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:42:16 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:42:16 go: finding github.com/pelletier/go-toml v1.2.0 15:42:16 go: finding github.com/pkg/errors v0.8.1 15:42:16 go: finding github.com/pmezard/go-difflib v1.0.0 15:42:16 go: finding github.com/posener/complete v1.1.1 15:42:16 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:42:16 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:42:16 go: finding github.com/soniah/gosnmp v1.21.0 15:42:16 go: finding github.com/stretchr/objx v0.1.0 15:42:16 go: finding github.com/stretchr/testify v1.5.1 15:42:16 go: finding github.com/ugorji/go v1.1.4 15:42:16 go: finding github.com/x448/float16 v0.8.4 15:42:16 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:42:16 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:42:16 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:42:16 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:42:16 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:42:16 go: finding gopkg.in/yaml.v2 v2.2.8 15:42:24 Removing intermediate container e19fbdc55812 15:42:24 ---> 6dfd2fdd1ef3 15:42:24 Successfully built 6dfd2fdd1ef3 15:42:24 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 15:42:25 + docker inspect -f . ci-base-image-x86_64 15:42:25 . [Pipeline] withDockerContainer 15:42:25 prd-centos7-docker-4c-2g-3045 does not seem to be running inside a container 15:42:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/8 -v /w/workspace/device-snmp-go/8:/w/workspace/device-snmp-go/8:rw,z -v /w/workspace/device-snmp-go/8@tmp:/w/workspace/device-snmp-go/8@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 ******** ci-base-image-x86_64 cat 15:42:26 $ docker top a31f001e4933ca2c23d0d9338b01fc4328453871956e9d6d57661f0d036abe87 -eo pid,comm [Pipeline] { [Pipeline] sh 15:42:27 + go version 15:42:27 go version go1.13.5 linux/amd64 [Pipeline] sh 15:42:27 + make test 15:42:27 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:42:28 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:42:38 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:42:38 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.005s coverage: 0.0% of statements 15:42:38 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:42:40 gofmt -l . 15:42:40 [ "`gofmt -l .`" = "" ] 15:42:40 ./bin/test-attribution-txt.sh 15:42:40 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:42:41 Stashed 1 file(s) [Pipeline] } 15:42:41 $ docker stop --time=1 a31f001e4933ca2c23d0d9338b01fc4328453871956e9d6d57661f0d036abe87 15:42:43 $ docker rm -f a31f001e4933ca2c23d0d9338b01fc4328453871956e9d6d57661f0d036abe87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:42:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:42:44 + ls -al . 15:42:44 total 104 15:42:44 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 15 15:42 . 15:42:44 drwxrwxr-x. 4 jenkins jenkins 28 Jun 15 15:41 .. 15:42:44 -rw-rw-r--. 1 jenkins jenkins 4910 Jun 15 15:41 Attribution.txt 15:42:44 drwxrwxr-x. 2 jenkins jenkins 87 Jun 15 15:41 bin 15:42:44 drwxrwxr-x. 3 jenkins jenkins 32 Jun 15 15:41 cmd 15:42:44 -rw-r--r--. 1 jenkins jenkins 8493 Jun 15 15:42 coverage.out 15:42:44 -rw-rw-r--. 1 jenkins jenkins 994 Jun 15 15:41 Dockerfile 15:42:44 -rw-rw-r--. 1 jenkins jenkins 409 Jun 15 15:41 Dockerfile.build 15:42:44 -rw-rw-r--. 1 jenkins jenkins 6 Jun 15 15:41 .dockerignore 15:42:44 drwxrwxr-x. 8 jenkins jenkins 162 Jun 15 15:41 .git 15:42:44 -rw-rw-r--. 1 jenkins jenkins 272 Jun 15 15:41 .gitignore 15:42:44 -rw-r--r--. 1 jenkins jenkins 203 Jun 15 15:42 go.mod 15:42:44 -rw-r--r--. 1 jenkins jenkins 12704 Jun 15 15:42 go.sum 15:42:44 drwxrwxr-x. 3 jenkins jenkins 20 Jun 15 15:41 internal 15:42:44 -rw-rw-r--. 1 jenkins jenkins 678 Jun 15 15:41 Jenkinsfile 15:42:44 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 15 15:41 LICENSE 15:42:44 -rw-rw-r--. 1 jenkins jenkins 937 Jun 15 15:41 Makefile 15:42:44 drwxrwxr-x. 2 jenkins jenkins 84 Jun 15 15:41 profiles 15:42:44 -rw-rw-r--. 1 jenkins jenkins 12398 Jun 15 15:41 README.md 15:42:44 drwxrwxr-x. 3 jenkins jenkins 61 Jun 15 15:41 .semver 15:42:44 -rw-rw-r--. 1 jenkins jenkins 5 Jun 15 15:40 VERSION 15:42:44 -rw-rw-r--. 1 jenkins jenkins 209 Jun 15 15:41 version.go [Pipeline] isUnix [Pipeline] sh 15:42:45 + 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=f8f17c2013d07295decc13e984e4b5973bc1f0af --label arch=amd64 --label version=1.2.1 . 15:42:45 Sending build context to Docker daemon 371.7kB 15:42:45 Step 1/25 : ARG BASE=golang:1.13-alpine 15:42:45 Step 2/25 : FROM ${BASE} AS builder 15:42:45 ---> 6dfd2fdd1ef3 15:42:45 Step 3/25 : ARG MAKE='make build' 15:42:45 ---> Running in b0dc9a4a5ef2 15:42:45 Removing intermediate container b0dc9a4a5ef2 15:42:45 ---> f06b2ef10e8c 15:42:45 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 15:42:45 ---> Running in a3f630d9e7e1 15:42:45 Removing intermediate container a3f630d9e7e1 15:42:45 ---> d747d81d50b3 15:42:45 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 15:42:45 ---> Running in a044daa30507 15:42:45 Removing intermediate container a044daa30507 15:42:45 ---> 7a40ce4ffb72 15:42:45 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:42:45 ---> Running in 0511e10b9292 15:42:46 Removing intermediate container 0511e10b9292 15:42:46 ---> 26a010d003f4 15:42:46 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:42:46 ---> Running in e446a5e555d0 15:42:47 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:42:48 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:42:49 OK: 143 MiB in 39 packages 15:42:49 Removing intermediate container e446a5e555d0 15:42:49 ---> 1aa1b4d3ad1b 15:42:49 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 15:42:49 ---> Running in 9c2de26e0e8e 15:42:49 Removing intermediate container 9c2de26e0e8e 15:42:49 ---> a1a18c964662 15:42:49 Step 9/25 : COPY go.mod . 15:42:49 ---> d18ddbce138e 15:42:49 Step 10/25 : COPY Makefile . 15:42:50 ---> e1b9e5911252 15:42:50 Step 11/25 : RUN make update 15:42:50 ---> Running in 0d13665df892 15:42:50 CGO_ENABLED=0 GO111MODULE=on go mod download 15:42:50 Removing intermediate container 0d13665df892 15:42:50 ---> 1d58f0dcd5fb 15:42:50 Step 12/25 : COPY . . 15:42:51 ---> 61d79ec9a1f9 15:42:51 Step 13/25 : RUN ${MAKE} 15:42:51 ---> Running in 7ed8e4a7a770 15:42:52 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.1" -o cmd/device-snmp-go ./cmd 15:42:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3046 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 15:42:58 Running in /w/workspace/device-snmp-go/8 [Pipeline] { [Pipeline] checkout 15:43:00 CGO_ENABLED=0 GO111MODULE=on go build ./... 15:43:03 Removing intermediate container 7ed8e4a7a770 15:43:03 ---> a97597cedd71 15:43:03 Step 14/25 : FROM alpine 15:43:03 latest: Pulling from library/alpine 15:43:03 df20fa9351a1: Pulling fs layer 15:43:03 df20fa9351a1: Verifying Checksum 15:43:03 df20fa9351a1: Download complete 15:43:04 using credential edgex-jenkins-ssh 15:43:04 Cloning the remote Git repository 15:43:04 Cloning with configured refspecs honoured and without tags 15:43:04 df20fa9351a1: Pull complete 15:43:04 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:43:04 Status: Downloaded newer image for alpine:latest 15:43:04 ---> a24bb4013296 15:43:04 Step 15/25 : ENV APP_PORT=49993 15:43:04 ---> Running in 59dfb5bfae2a 15:43:04 Removing intermediate container 59dfb5bfae2a 15:43:04 ---> 6936f7a0d21b 15:43:04 Step 16/25 : EXPOSE $APP_PORT 15:43:04 ---> Running in 4d38d95a9a62 15:43:04 Removing intermediate container 4d38d95a9a62 15:43:04 ---> c937f0448f8d 15:43:04 Step 17/25 : ENV DEVICE_PORT=161 15:43:04 ---> Running in ef0f70dbb706 15:43:04 Removing intermediate container ef0f70dbb706 15:43:04 ---> b0ad6e4bf902 15:43:04 Step 18/25 : EXPOSE $DEVICE_PORT 15:43:04 ---> Running in 6021da849498 15:43:04 Removing intermediate container 6021da849498 15:43:04 ---> be412559d37e 15:43:04 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 15:43:04 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:43:04 > git init /w/workspace/device-snmp-go/8 # timeout=10 15:43:04 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:43:04 > git --version # timeout=10 15:43:04 using GIT_SSH to set credentials SSH Credentials for GitHub 15:43:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:43:05 Fetching without tags 15:43:05 ---> 50f4c9bbb5b6 15:43:05 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 15:43:05 Checking out Revision f8f17c2013d07295decc13e984e4b5973bc1f0af (master) 15:43:05 ---> a6f895cc5224 15:43:05 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 15:43:06 ---> 11e562efe898 15:43:06 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 15:43:06 ---> Running in d5779c4e78f6 15:43:06 Removing intermediate container d5779c4e78f6 15:43:06 ---> 6207deaee40c 15:43:06 Step 23/25 : LABEL arch=amd64 15:43:05 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:43:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:43:05 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:43:05 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:43:05 using GIT_SSH to set credentials SSH Credentials for GitHub 15:43:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:43:05 > git config core.sparsecheckout # timeout=10 15:43:05 > git checkout -f f8f17c2013d07295decc13e984e4b5973bc1f0af # timeout=10 15:43:06 ---> Running in 3e70c903fbde 15:43:06 Removing intermediate container 3e70c903fbde 15:43:06 ---> 2453c697ded6 15:43:06 Step 24/25 : LABEL git_sha=f8f17c2013d07295decc13e984e4b5973bc1f0af 15:43:06 ---> Running in cbb1553ad1e4 15:43:06 Removing intermediate container cbb1553ad1e4 15:43:06 ---> 713f3ef3df3b 15:43:06 Step 25/25 : LABEL version=1.2.1 15:43:06 ---> Running in d688c9580871 15:43:06 Removing intermediate container d688c9580871 15:43:06 ---> 6f5b90cc85f9 15:43:06 [Warning] One or more build-args [ARCH] were not consumed 15:43:06 Successfully built 6f5b90cc85f9 15:43:06 Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:43:07 provisioning config files... 15:43:07 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/8@tmp/config8767020168400227362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:43:07 nexus3.edgexfoundry.org:10001 15:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:07 Configure a credential helper to remove this warning. See 15:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:07 15:43:07 Login Succeeded 15:43:07 nexus3.edgexfoundry.org:10002 15:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:07 Configure a credential helper to remove this warning. See 15:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:07 15:43:07 Login Succeeded 15:43:07 nexus3.edgexfoundry.org:10003 15:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:07 Configure a credential helper to remove this warning. See 15:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:07 15:43:07 Login Succeeded 15:43:07 nexus3.edgexfoundry.org:10004 15:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:07 Configure a credential helper to remove this warning. See 15:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:07 15:43:07 Login Succeeded 15:43:07 docker.io 15:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:08 Configure a credential helper to remove this warning. See 15:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:08 15:43:08 Login Succeeded [Pipeline] } 15:43:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:43:08 [edgeXDocker.push] Tagging docker image docker-device-snmp-go with the following tags: 15:43:08 f8f17c2013d07295decc13e984e4b5973bc1f0af 15:43:08 latest 15:43:08 1.2.1 15:43:08 f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1 15:43:08 master 15:43:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:43:08 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:f8f17c2013d07295decc13e984e4b5973bc1f0af [Pipeline] isUnix [Pipeline] sh 15:43:09 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:f8f17c2013d07295decc13e984e4b5973bc1f0af 15:43:09 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 15:43:09 f191a89daab4: Preparing 15:43:09 26da5ea151f2: Preparing 15:43:09 91311ca06894: Preparing 15:43:09 50644c29ef5a: Preparing 15:43:09 50644c29ef5a: Layer already exists 15:43:09 26da5ea151f2: Pushed 15:43:09 f191a89daab4: Pushed 15:43:10 91311ca06894: Pushed 15:43:10 f8f17c2013d07295decc13e984e4b5973bc1f0af: digest: sha256:cedd6a2edf8b23105a29756768ca45732f824caeb237fe395e1971aefd98ca6f size: 1155 [Pipeline] isUnix [Pipeline] sh 15:43:10 Commit message: "Merge pull request #52 from tonyespy/update-sdk-122" 15:43:10 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 15:43:11 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest 15:43:11 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 15:43:11 f191a89daab4: Preparing 15:43:11 26da5ea151f2: Preparing 15:43:11 91311ca06894: Preparing 15:43:11 50644c29ef5a: Preparing 15:43:11 91311ca06894: Layer already exists 15:43:11 50644c29ef5a: Layer already exists 15:43:11 f191a89daab4: Layer already exists 15:43:11 26da5ea151f2: Layer already exists 15:43:11 latest: digest: sha256:cedd6a2edf8b23105a29756768ca45732f824caeb237fe395e1971aefd98ca6f size: 1155 [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 15:43:11 ========================================================= 15:43:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 15:43:11 ========================================================= 15:43:11 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.1 [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 15:43:12 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.1 15:43:12 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 15:43:12 f191a89daab4: Preparing 15:43:12 26da5ea151f2: Preparing 15:43:12 91311ca06894: Preparing 15:43:12 50644c29ef5a: Preparing 15:43:12 50644c29ef5a: Layer already exists 15:43:12 26da5ea151f2: Layer already exists 15:43:12 f191a89daab4: Layer already exists 15:43:12 91311ca06894: Layer already exists 15:43:12 1.2.1: digest: sha256:cedd6a2edf8b23105a29756768ca45732f824caeb237fe395e1971aefd98ca6f size: 1155 [Pipeline] isUnix [Pipeline] sh 15:43:12 + 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 . 15:43:12 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1 [Pipeline] isUnix [Pipeline] sh 15:43:12 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1 15:43:12 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 15:43:12 f191a89daab4: Preparing 15:43:12 26da5ea151f2: Preparing 15:43:12 91311ca06894: Preparing 15:43:12 50644c29ef5a: Preparing 15:43:12 50644c29ef5a: Layer already exists 15:43:12 26da5ea151f2: Layer already exists 15:43:12 91311ca06894: Layer already exists 15:43:12 f191a89daab4: Layer already exists 15:43:12 f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1: digest: sha256:cedd6a2edf8b23105a29756768ca45732f824caeb237fe395e1971aefd98ca6f size: 1155 [Pipeline] isUnix [Pipeline] sh 15:43:13 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] isUnix [Pipeline] sh 15:43:13 Sending build context to Docker daemon 362.5kB 15:43:13 Step 1/10 : ARG BASE=golang:1.13-alpine 15:43:13 Step 2/10 : FROM ${BASE} 15:43:13 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master 15:43:13 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 15:43:13 f191a89daab4: Preparing 15:43:13 26da5ea151f2: Preparing 15:43:13 91311ca06894: Preparing 15:43:13 50644c29ef5a: Preparing 15:43:13 91311ca06894: Layer already exists 15:43:13 26da5ea151f2: Layer already exists 15:43:13 f191a89daab4: Layer already exists 15:43:13 50644c29ef5a: Layer already exists 15:43:13 master: digest: sha256:cedd6a2edf8b23105a29756768ca45732f824caeb237fe395e1971aefd98ca6f size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage 15:43:13 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:43:14 cde5963f3b93: Pulling fs layer 15:43:14 2a23fa8c16f7: Pulling fs layer 15:43:14 777b28850792: Pulling fs layer 15:43:14 8a11ddd9e578: Pulling fs layer 15:43:14 4cf88f913ddb: Pulling fs layer 15:43:14 1df406cf5192: Pulling fs layer 15:43:14 cd6300453558: Pulling fs layer 15:43:14 b9c365052c96: Pulling fs layer 15:43:14 a2d8cc88f415: Pulling fs layer 15:43:14 ea1d1ca13537: Pulling fs layer 15:43:14 3750a50a1c5e: Pulling fs layer 15:43:14 4cf88f913ddb: Waiting 15:43:14 1df406cf5192: Waiting 15:43:14 cd6300453558: Waiting 15:43:14 b9c365052c96: Waiting 15:43:14 a2d8cc88f415: Waiting 15:43:14 ea1d1ca13537: Waiting 15:43:14 3750a50a1c5e: Waiting 15:43:14 8a11ddd9e578: Waiting 15:43:14 777b28850792: Verifying Checksum 15:43:14 777b28850792: Download complete 15:43:14 2a23fa8c16f7: Download complete 15:43:14 4cf88f913ddb: Download complete 15:43:14 1df406cf5192: Verifying Checksum 15:43:14 1df406cf5192: Download complete 15:43:14 cde5963f3b93: Verifying Checksum 15:43:14 cde5963f3b93: Download complete 15:43:15 cde5963f3b93: Pull complete 15:43:15 2a23fa8c16f7: Pull complete 15:43:15 777b28850792: Pull complete 15:43:16 cd6300453558: Verifying Checksum 15:43:16 cd6300453558: Download complete 15:43:16 a2d8cc88f415: Download complete 15:43:18 ea1d1ca13537: Verifying Checksum 15:43:18 ea1d1ca13537: Download complete 15:43:18 3750a50a1c5e: Verifying Checksum 15:43:18 3750a50a1c5e: Download complete 15:43:19 b9c365052c96: Verifying Checksum 15:43:19 b9c365052c96: Download complete 15:43:19 8a11ddd9e578: Verifying Checksum 15:43:19 8a11ddd9e578: Download complete 15:43:31 8a11ddd9e578: Pull complete 15:43:31 4cf88f913ddb: Pull complete 15:43:31 1df406cf5192: Pull complete 15:43:35 cd6300453558: Pull complete 15:43:39 b9c365052c96: Pull complete 15:43:39 a2d8cc88f415: Pull complete 15:43:41 ea1d1ca13537: Pull complete 15:43:41 3750a50a1c5e: Pull complete 15:43:41 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 15:43:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 15:43:41 ---> 78745c68409d 15:43:41 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 15:43:47 ---> Running in 9c7bfe4d2d75 15:43:47 Removing intermediate container 9c7bfe4d2d75 15:43:47 ---> fc867d63ae01 15:43:47 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:43:47 ---> Running in b3374e9bf8ba 15:43:47 Removing intermediate container b3374e9bf8ba 15:43:47 ---> ae6cee004849 15:43:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 15:43:48 ---> Running in d69bf92a9633 15:43:48 Removing intermediate container d69bf92a9633 15:43:48 ---> b6839b95974e 15:43:48 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:43:48 ---> Running in 6db83bd326eb 15:43:51 Removing intermediate container 6db83bd326eb 15:43:51 ---> 27d56691b07e 15:43:51 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:43:51 ---> Running in a1d1d5086d7d 15:43:53 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:43:53 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:43:54 OK: 125 MiB in 39 packages 15:43:55 Removing intermediate container a1d1d5086d7d 15:43:55 ---> a7431eb0cd33 15:43:55 Step 8/10 : WORKDIR /device-snmp-go 15:43:55 ---> Running in b2d1dc7c8b23 15:43:56 Removing intermediate container b2d1dc7c8b23 15:43:56 ---> 5d8257966a09 15:43:56 Step 9/10 : COPY . . 15:43:57 ---> 0e17a9aa6a73 15:43:57 Step 10/10 : RUN go mod download 15:43:57 ---> Running in f7c50438d23d 15:43:59 go: finding github.com/BurntSushi/toml v0.3.1 15:43:59 go: finding github.com/OneOfOne/xxhash v1.2.6 15:43:59 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:43:59 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:43:59 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:43:59 go: finding github.com/bgentry/speakeasy v0.1.0 15:43:59 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:43:59 go: finding github.com/davecgh/go-spew v1.1.1 15:43:59 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 15:43:59 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 15:43:59 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:43:59 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:43:59 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:43:59 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:43:59 go: finding github.com/fatih/color v1.7.0 15:43:59 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:43:59 go: finding github.com/go-kit/kit v0.8.0 15:43:59 go: finding github.com/go-logfmt/logfmt v0.4.0 15:43:59 go: finding github.com/go-stack/stack v1.8.0 15:43:59 go: finding github.com/golang/mock v1.2.0 15:43:59 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:43:59 go: finding github.com/google/uuid v1.1.0 15:43:59 go: finding github.com/gorilla/mux v1.7.1 15:43:59 go: finding github.com/hashicorp/consul/api v1.1.0 15:43:59 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:43:59 go: finding github.com/hashicorp/errwrap v1.0.0 15:44:00 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:44:00 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:44:00 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:44:00 go: finding github.com/hashicorp/go-multierror v1.0.0 15:44:00 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:44:00 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:44:00 go: finding github.com/hashicorp/go-syslog v1.0.0 15:44:00 go: finding github.com/hashicorp/go-uuid v1.0.1 15:44:00 go: finding github.com/hashicorp/go.net v0.0.1 15:44:00 go: finding github.com/hashicorp/golang-lru v0.5.0 15:44:00 go: finding github.com/hashicorp/logutils v1.0.0 15:44:00 go: finding github.com/hashicorp/mdns v1.0.0 15:44:00 go: finding github.com/hashicorp/memberlist v0.1.3 15:44:00 go: finding github.com/hashicorp/serf v0.8.2 15:44:00 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:44:00 go: finding github.com/mattn/go-colorable v0.0.9 15:44:00 go: finding github.com/mattn/go-isatty v0.0.3 15:44:00 go: finding github.com/miekg/dns v1.0.14 15:44:00 go: finding github.com/mitchellh/cli v1.0.0 15:44:00 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:44:00 go: finding github.com/mitchellh/copystructure v1.0.0 15:44:00 go: finding github.com/mitchellh/go-homedir v1.0.0 15:44:00 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:44:00 go: finding github.com/mitchellh/gox v0.4.0 15:44:00 go: finding github.com/mitchellh/iochan v1.0.0 15:44:00 go: finding github.com/mitchellh/mapstructure v1.1.2 15:44:00 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:44:00 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:44:00 go: finding github.com/pelletier/go-toml v1.2.0 15:44:00 go: finding github.com/pkg/errors v0.8.1 15:44:00 go: finding github.com/pmezard/go-difflib v1.0.0 15:44:00 go: finding github.com/posener/complete v1.1.1 15:44:00 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:44:00 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:44:00 go: finding github.com/soniah/gosnmp v1.21.0 15:44:00 go: finding github.com/stretchr/objx v0.1.0 15:44:00 go: finding github.com/stretchr/testify v1.5.1 15:44:00 go: finding github.com/ugorji/go v1.1.4 15:44:00 go: finding github.com/x448/float16 v0.8.4 15:44:00 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:44:00 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:44:00 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:44:00 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:44:00 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:44:00 go: finding gopkg.in/yaml.v2 v2.2.8 15:44:10 Removing intermediate container f7c50438d23d 15:44:10 ---> d123af4d4ed4 15:44:10 Successfully built d123af4d4ed4 15:44:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:44:11 + docker inspect -f . ci-base-image-arm64 15:44:11 . [Pipeline] withDockerContainer 15:44:11 prd-ubuntu18.04-docker-arm64-4c-16g-3046 does not seem to be running inside a container 15:44:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/8 -v /w/workspace/device-snmp-go/8:/w/workspace/device-snmp-go/8:rw,z -v /w/workspace/device-snmp-go/8@tmp:/w/workspace/device-snmp-go/8@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 ******** ci-base-image-arm64 cat 15:44:13 $ docker top 8f927c817a1c12852254a8a971a2b870beac41cb56f5a1d569bf156267d1c6e7 -eo pid,comm [Pipeline] { [Pipeline] sh 15:44:14 + go version 15:44:14 go version go1.13.5 linux/arm64 [Pipeline] sh 15:44:16 + make test 15:44:16 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:44:17 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:44:49 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:44:49 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements 15:44:49 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:44:52 gofmt -l . 15:44:52 [ "`gofmt -l .`" = "" ] 15:44:52 ./bin/test-attribution-txt.sh 15:44:53 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:44:54 Warning: overwriting stash ‘coverage-report’ 15:44:54 Stashed 1 file(s) [Pipeline] } 15:44:54 $ docker stop --time=1 8f927c817a1c12852254a8a971a2b870beac41cb56f5a1d569bf156267d1c6e7 15:44:56 $ docker rm -f 8f927c817a1c12852254a8a971a2b870beac41cb56f5a1d569bf156267d1c6e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:44:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:44:58 + ls -al . 15:44:58 total 132 15:44:58 drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 15:44 . 15:44:58 drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 15:43 .. 15:44:58 -rw-rw-r-- 1 jenkins jenkins 6 Jun 15 15:43 .dockerignore 15:44:58 drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 15:43 .git 15:44:58 -rw-rw-r-- 1 jenkins jenkins 272 Jun 15 15:43 .gitignore 15:44:58 drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 15:43 .semver 15:44:58 -rw-rw-r-- 1 jenkins jenkins 4910 Jun 15 15:43 Attribution.txt 15:44:58 -rw-rw-r-- 1 jenkins jenkins 994 Jun 15 15:43 Dockerfile 15:44:58 -rw-rw-r-- 1 jenkins jenkins 409 Jun 15 15:43 Dockerfile.build 15:44:58 -rw-rw-r-- 1 jenkins jenkins 678 Jun 15 15:43 Jenkinsfile 15:44:58 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 15 15:43 LICENSE 15:44:58 -rw-rw-r-- 1 jenkins jenkins 937 Jun 15 15:43 Makefile 15:44:58 -rw-rw-r-- 1 jenkins jenkins 12398 Jun 15 15:43 README.md 15:44:58 -rw-rw-r-- 1 jenkins jenkins 5 Jun 15 15:40 VERSION 15:44:58 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 15:43 bin 15:44:58 drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 15:43 cmd 15:44:58 -rw-r--r-- 1 jenkins jenkins 8493 Jun 15 15:44 coverage.out 15:44:58 -rw-r--r-- 1 jenkins jenkins 203 Jun 15 15:44 go.mod 15:44:58 -rw-r--r-- 1 jenkins jenkins 12704 Jun 15 15:44 go.sum 15:44:58 drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 15:43 internal 15:44:58 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 15:43 profiles 15:44:58 -rw-rw-r-- 1 jenkins jenkins 209 Jun 15 15:43 version.go [Pipeline] isUnix [Pipeline] sh 15:44:59 + 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=f8f17c2013d07295decc13e984e4b5973bc1f0af --label arch=arm64 --label version=1.2.1 . 15:44:59 Sending build context to Docker daemon 371.7kB 15:44:59 Step 1/25 : ARG BASE=golang:1.13-alpine 15:44:59 Step 2/25 : FROM ${BASE} AS builder 15:44:59 ---> d123af4d4ed4 15:44:59 Step 3/25 : ARG MAKE='make build' 15:44:59 ---> Running in 8f235fbc592d 15:45:00 Removing intermediate container 8f235fbc592d 15:45:00 ---> 9b5ad1ed3db5 15:45:00 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 15:45:00 ---> Running in ce885842944d 15:45:01 Removing intermediate container ce885842944d 15:45:01 ---> db4493aedeef 15:45:01 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 15:45:01 ---> Running in 734f538126ac 15:45:01 Removing intermediate container 734f538126ac 15:45:01 ---> d86f8a57f308 15:45:01 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:45:01 ---> Running in 0a11adcf1dc6 15:45:04 Removing intermediate container 0a11adcf1dc6 15:45:04 ---> 56b2561b1a2a 15:45:04 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:45:04 ---> Running in a3904b7a3334 15:45:06 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:45:07 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:45:08 OK: 125 MiB in 39 packages 15:45:09 Removing intermediate container a3904b7a3334 15:45:09 ---> 72d2af81f8fd 15:45:09 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 15:45:09 ---> Running in d0a28ca3d278 15:45:10 Removing intermediate container d0a28ca3d278 15:45:10 ---> 015e7b64c4f6 15:45:10 Step 9/25 : COPY go.mod . 15:45:11 ---> f581bb2be8a4 15:45:11 Step 10/25 : COPY Makefile . 15:45:11 ---> 93e5740fbcc7 15:45:11 Step 11/25 : RUN make update 15:45:11 ---> Running in 6080f3b7ac38 15:45:13 CGO_ENABLED=0 GO111MODULE=on go mod download 15:45:14 Removing intermediate container 6080f3b7ac38 15:45:14 ---> 1bc2638a00d8 15:45:14 Step 12/25 : COPY . . 15:45:15 ---> c99d6faac774 15:45:15 Step 13/25 : RUN ${MAKE} 15:45:15 ---> Running in 0af62a8915e9 15:45:17 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.1" -o cmd/device-snmp-go ./cmd 15:45:43 CGO_ENABLED=0 GO111MODULE=on go build ./... 15:45:50 Removing intermediate container 0af62a8915e9 15:45:50 ---> eda0c3bf7b60 15:45:50 Step 14/25 : FROM alpine 15:45:50 latest: Pulling from library/alpine 15:45:50 b538f80385f9: Pulling fs layer 15:45:50 b538f80385f9: Verifying Checksum 15:45:51 b538f80385f9: Pull complete 15:45:51 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:45:51 Status: Downloaded newer image for alpine:latest 15:45:51 ---> 62ee0e9f8440 15:45:51 Step 15/25 : ENV APP_PORT=49993 15:45:51 ---> Running in a016581546d4 15:45:52 Removing intermediate container a016581546d4 15:45:52 ---> e83f6ece4d6a 15:45:52 Step 16/25 : EXPOSE $APP_PORT 15:45:52 ---> Running in 516afbbf80a6 15:45:52 Removing intermediate container 516afbbf80a6 15:45:52 ---> ee76b43183f8 15:45:52 Step 17/25 : ENV DEVICE_PORT=161 15:45:52 ---> Running in 5124644889a7 15:45:53 Removing intermediate container 5124644889a7 15:45:53 ---> 136072f9dc6a 15:45:53 Step 18/25 : EXPOSE $DEVICE_PORT 15:45:53 ---> Running in 028d5dc76634 15:45:53 Removing intermediate container 028d5dc76634 15:45:53 ---> 45c921872b5c 15:45:53 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 15:45:55 ---> a4605d7aa9e6 15:45:55 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 15:45:55 ---> e6a8d0b791eb 15:45:55 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 15:45:56 ---> 03c7f80e12ed 15:45:56 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 15:45:56 ---> Running in fd6b7ed7c54c 15:45:56 Removing intermediate container fd6b7ed7c54c 15:45:56 ---> 8597233e61a3 15:45:56 Step 23/25 : LABEL arch=arm64 15:45:57 ---> Running in 9ee53d407947 15:45:57 Removing intermediate container 9ee53d407947 15:45:57 ---> f71baaab4ebe 15:45:57 Step 24/25 : LABEL git_sha=f8f17c2013d07295decc13e984e4b5973bc1f0af 15:45:57 ---> Running in 41a015fa5326 15:45:58 Removing intermediate container 41a015fa5326 15:45:58 ---> 0492a53bcd7a 15:45:58 Step 25/25 : LABEL version=1.2.1 15:45:58 ---> Running in 47893589fda5 15:45:58 Removing intermediate container 47893589fda5 15:45:58 ---> cb23bb92e848 15:45:58 [Warning] One or more build-args [ARCH] were not consumed 15:45:58 Successfully built cb23bb92e848 15:45:58 Successfully tagged docker-device-snmp-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:45:59 provisioning config files... 15:45:59 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/8@tmp/config3841335357031340907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:59 nexus3.edgexfoundry.org:10001 15:46:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:00 Configure a credential helper to remove this warning. See 15:46:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:00 15:46:00 Login Succeeded 15:46:00 nexus3.edgexfoundry.org:10002 15:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:01 Configure a credential helper to remove this warning. See 15:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:01 15:46:01 Login Succeeded 15:46:01 nexus3.edgexfoundry.org:10003 15:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:01 Configure a credential helper to remove this warning. See 15:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:01 15:46:01 Login Succeeded 15:46:01 nexus3.edgexfoundry.org:10004 15:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:02 Configure a credential helper to remove this warning. See 15:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:02 15:46:02 Login Succeeded 15:46:02 docker.io 15:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:03 Configure a credential helper to remove this warning. See 15:46:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:03 15:46:03 Login Succeeded [Pipeline] } 15:46:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:46:03 [edgeXDocker.push] Tagging docker image docker-device-snmp-go-arm64 with the following tags: 15:46:03 f8f17c2013d07295decc13e984e4b5973bc1f0af 15:46:03 latest 15:46:03 1.2.1 15:46:03 f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1 15:46:03 master 15:46:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:46:03 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:f8f17c2013d07295decc13e984e4b5973bc1f0af [Pipeline] isUnix [Pipeline] sh 15:46:04 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:f8f17c2013d07295decc13e984e4b5973bc1f0af 15:46:04 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 15:46:04 fd51612f378e: Preparing 15:46:04 8a0bdab24ab3: Preparing 15:46:04 2e72cc2eb450: Preparing 15:46:04 e2f13739ad41: Preparing 15:46:04 e2f13739ad41: Layer already exists 15:46:04 fd51612f378e: Pushed 15:46:04 8a0bdab24ab3: Pushed 15:46:07 2e72cc2eb450: Pushed 15:46:07 f8f17c2013d07295decc13e984e4b5973bc1f0af: digest: sha256:2de9ac6d5cbb98023ce172761e67673453f8910eb42231767f20d58b3cd3151a size: 1155 [Pipeline] isUnix [Pipeline] sh 15:46:08 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:46:08 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest 15:46:08 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 15:46:08 fd51612f378e: Preparing 15:46:08 8a0bdab24ab3: Preparing 15:46:08 2e72cc2eb450: Preparing 15:46:08 e2f13739ad41: Preparing 15:46:08 e2f13739ad41: Layer already exists 15:46:08 2e72cc2eb450: Layer already exists 15:46:08 8a0bdab24ab3: Layer already exists 15:46:08 fd51612f378e: Layer already exists 15:46:08 latest: digest: sha256:2de9ac6d5cbb98023ce172761e67673453f8910eb42231767f20d58b3cd3151a size: 1155 [Pipeline] isUnix [Pipeline] sh 15:46:09 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.1 [Pipeline] isUnix [Pipeline] sh 15:46:09 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.1 15:46:09 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 15:46:09 fd51612f378e: Preparing 15:46:09 8a0bdab24ab3: Preparing 15:46:09 2e72cc2eb450: Preparing 15:46:09 e2f13739ad41: Preparing 15:46:09 fd51612f378e: Layer already exists 15:46:09 e2f13739ad41: Layer already exists 15:46:09 2e72cc2eb450: Layer already exists 15:46:09 8a0bdab24ab3: Layer already exists 15:46:09 1.2.1: digest: sha256:2de9ac6d5cbb98023ce172761e67673453f8910eb42231767f20d58b3cd3151a size: 1155 [Pipeline] isUnix [Pipeline] sh 15:46:10 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1 [Pipeline] isUnix [Pipeline] sh 15:46:10 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1 15:46:10 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 15:46:10 fd51612f378e: Preparing 15:46:10 8a0bdab24ab3: Preparing 15:46:10 2e72cc2eb450: Preparing 15:46:10 e2f13739ad41: Preparing 15:46:10 e2f13739ad41: Layer already exists 15:46:10 8a0bdab24ab3: Layer already exists 15:46:10 fd51612f378e: Layer already exists 15:46:10 2e72cc2eb450: Layer already exists 15:46:10 f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1: digest: sha256:2de9ac6d5cbb98023ce172761e67673453f8910eb42231767f20d58b3cd3151a size: 1155 [Pipeline] isUnix [Pipeline] sh 15:46:11 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] isUnix [Pipeline] sh 15:46:11 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master 15:46:11 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 15:46:11 fd51612f378e: Preparing 15:46:11 8a0bdab24ab3: Preparing 15:46:11 2e72cc2eb450: Preparing 15:46:11 e2f13739ad41: Preparing 15:46:11 fd51612f378e: Layer already exists 15:46:11 e2f13739ad41: Layer already exists 15:46:11 8a0bdab24ab3: Layer already exists 15:46:11 2e72cc2eb450: Layer already exists 15:46:11 master: digest: sha256:2de9ac6d5cbb98023ce172761e67673453f8910eb42231767f20d58b3cd3151a size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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 15:46:12 provisioning config files... 15:46:12 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config837261530612671068tmp [Pipeline] { [Pipeline] sh 15:46:12 + curl -s https://codecov.io/bash 15:46:12 + bash -s - -t @/w/workspace/gexfoundry_device-snmp-go_master@tmp/config837261530612671068tmp 15:46:12 15:46:12 _____ _ 15:46:12 / ____| | | 15:46:12 | | ___ __| | ___ ___ _____ __ 15:46:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:46:12 | |___| (_) | (_| | __/ (_| (_) \ V / 15:46:12 \_____\___/ \__,_|\___|\___\___/ \_/ 15:46:12 Bash-20200602-f809a24 15:46:12 15:46:12 15:46:13 ==> Jenkins CI detected. 15:46:13 project root: . 15:46:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:46:13 ==> Running gcov in . (disable via -X gcov) 15:46:13 ==> Python coveragepy not found 15:46:13 ==> Searching for coverage reports in: 15:46:13 + . 15:46:13 -> Found 1 reports 15:46:13 ==> Detecting git/mercurial file structure 15:46:13 ==> Reading reports 15:46:13 + ./coverage.out bytes=8493 15:46:13 ==> Appending adjustments 15:46:13 https://docs.codecov.io/docs/fixing-reports 15:46:13 + Found adjustments 15:46:13 ==> Gzipping contents 15:46:13 ==> Uploading reports 15:46:13 url: https://codecov.io 15:46:13 query: branch=master&commit=f8f17c2013d07295decc13e984e4b5973bc1f0af&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job= 15:46:13 -> Pinging Codecov 15:46:13 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=master&commit=f8f17c2013d07295decc13e984e4b5973bc1f0af&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job= 15:46:13 -> Uploading 15:46:14 -> View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/f8f17c2013d07295decc13e984e4b5973bc1f0af [Pipeline] } 15:46:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 15:46:14 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 15:46:14 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 15:46:14 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:46:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:46:15 15:46:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 15:46:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:46:15 1.317.0: Pulling from edgex-devops/edgex-snyk-go 15:46:15 cbdbe7a5bc2a: Pulling fs layer 15:46:15 408f87550127: Pulling fs layer 15:46:15 fe522b08c979: Pulling fs layer 15:46:15 221eaa008020: Pulling fs layer 15:46:15 2a4607e5d6b9: Pulling fs layer 15:46:15 8f79b27c4fd2: Pulling fs layer 15:46:15 e5c8dbe1645b: Pulling fs layer 15:46:15 23e8b3b47431: Pulling fs layer 15:46:15 5c568d65a230: Pulling fs layer 15:46:15 2a4607e5d6b9: Waiting 15:46:15 8f79b27c4fd2: Waiting 15:46:15 e5c8dbe1645b: Waiting 15:46:15 23e8b3b47431: Waiting 15:46:15 5c568d65a230: Waiting 15:46:15 221eaa008020: Waiting 15:46:15 fe522b08c979: Verifying Checksum 15:46:15 fe522b08c979: Download complete 15:46:15 408f87550127: Verifying Checksum 15:46:15 408f87550127: Download complete 15:46:15 2a4607e5d6b9: Verifying Checksum 15:46:15 2a4607e5d6b9: Download complete 15:46:15 8f79b27c4fd2: Verifying Checksum 15:46:15 8f79b27c4fd2: Download complete 15:46:15 cbdbe7a5bc2a: Download complete 15:46:15 cbdbe7a5bc2a: Pull complete 15:46:15 408f87550127: Pull complete 15:46:15 e5c8dbe1645b: Verifying Checksum 15:46:15 e5c8dbe1645b: Download complete 15:46:16 fe522b08c979: Pull complete 15:46:16 23e8b3b47431: Verifying Checksum 15:46:16 23e8b3b47431: Download complete 15:46:16 5c568d65a230: Verifying Checksum 15:46:16 5c568d65a230: Download complete 15:46:17 221eaa008020: Verifying Checksum 15:46:17 221eaa008020: Download complete 15:46:22 221eaa008020: Pull complete 15:46:22 2a4607e5d6b9: Pull complete 15:46:22 8f79b27c4fd2: Pull complete 15:46:24 e5c8dbe1645b: Pull complete 15:46:28 23e8b3b47431: Pull complete 15:46:29 5c568d65a230: Pull complete 15:46:29 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 15:46:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:46:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 15:46:29 prd-centos7-docker-4c-2g-3035 does not seem to be running inside a container 15:46:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/gexfoundry_device-snmp-go_master:/ws -w /ws --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 15:46:29 $ docker top 331fe5777a7d906e1a6734e2ade773812fb90ab1aae4cf4c1246031611388ef8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:46:30 + snyk monitor '--org=edgex-jenkins' 15:46:37 15:46:37 Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... 15:46:37 15:46:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/29cde77e-e57b-49f4-b46c-e193d6e3d7c7 15:46:37 15:46:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:46:37 15:46:37 [Pipeline] } 15:46:37 $ docker stop --time=1 331fe5777a7d906e1a6734e2ade773812fb90ab1aae4cf4c1246031611388ef8 15:46:39 $ docker rm -f 331fe5777a7d906e1a6734e2ade773812fb90ab1aae4cf4c1246031611388ef8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:46:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:46:40 15:46:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 15:46:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:46:40 latest: Pulling from edgex-devops/edgex-klar 15:46:40 e7c96db7181b: Pulling fs layer 15:46:40 1868ca2cb446: Pulling fs layer 15:46:40 136be5d0fe8e: Pulling fs layer 15:46:40 894bfe63afcb: Pulling fs layer 15:46:40 894bfe63afcb: Waiting 15:46:40 1868ca2cb446: Verifying Checksum 15:46:40 1868ca2cb446: Download complete 15:46:40 136be5d0fe8e: Verifying Checksum 15:46:40 136be5d0fe8e: Download complete 15:46:40 e7c96db7181b: Download complete 15:46:40 894bfe63afcb: Verifying Checksum 15:46:40 894bfe63afcb: Download complete 15:46:40 e7c96db7181b: Pull complete 15:46:40 1868ca2cb446: Pull complete 15:46:41 136be5d0fe8e: Pull complete 15:46:41 894bfe63afcb: Pull complete 15:46:41 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 15:46:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:46:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 15:46:41 prd-centos7-docker-4c-2g-3035 does not seem to be running inside a container 15:46:41 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 15:46:42 $ docker top c67bc4e6dc8632ded452b9cc2d5696e3e6a05096c860f0fb36633ccce301b923 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:42 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go:f8f17c2013d07295decc13e984e4b5973bc1f0af 15:46:42 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:46:46 $ docker stop --time=1 c67bc4e6dc8632ded452b9cc2d5696e3e6a05096c860f0fb36633ccce301b923 15:46:47 $ docker rm -f c67bc4e6dc8632ded452b9cc2d5696e3e6a05096c860f0fb36633ccce301b923 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:46:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:46:48 . [Pipeline] withDockerContainer 15:46:48 prd-centos7-docker-4c-2g-3035 does not seem to be running inside a container 15:46:48 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 15:46:48 $ docker top bfeba5da06658623633406c125271aa13e6be07d3b6dfab1834bfb4c0a6e1155 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:49 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go:f8f17c2013d07295decc13e984e4b5973bc1f0af 15:46:49 + tee 15:46:49 clair timeout 1m0s 15:46:49 docker timeout: 1m0s 15:46:49 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:46:50 $ docker stop --time=1 bfeba5da06658623633406c125271aa13e6be07d3b6dfab1834bfb4c0a6e1155 15:46:51 $ docker rm -f bfeba5da06658623633406c125271aa13e6be07d3b6dfab1834bfb4c0a6e1155 [Pipeline] // withDockerContainer [Pipeline] sh 15:46:51 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/clair-reports [Pipeline] echo 15:46:51 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-snmp-go_master/clair-reports/clair_results_docker-device-snmp-go_f8f17c2013d07295decc13e984e4b5973bc1f0af.html [Pipeline] writeFile [Pipeline] step 15:46:51 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 15:46:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:46:52 . [Pipeline] withDockerContainer 15:46:52 prd-centos7-docker-4c-2g-3035 does not seem to be running inside a container 15:46:52 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 15:46:53 $ docker top e3342bc4c30249a02403c88af6fd5dff3fef7eb7846609fc0b374d0a728a2ca5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:53 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:f8f17c2013d07295decc13e984e4b5973bc1f0af 15:46:53 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:46:57 $ docker stop --time=1 e3342bc4c30249a02403c88af6fd5dff3fef7eb7846609fc0b374d0a728a2ca5 15:46:58 $ docker rm -f e3342bc4c30249a02403c88af6fd5dff3fef7eb7846609fc0b374d0a728a2ca5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:46:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:46:59 . [Pipeline] withDockerContainer 15:46:59 prd-centos7-docker-4c-2g-3035 does not seem to be running inside a container 15:46:59 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 15:46:59 $ docker top 23a00d50d3e08f7ef1f42de5d7a6f0a4d8fb824bd35b2bd2301bf22f9a86efe6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:00 + tee 15:47:00 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:f8f17c2013d07295decc13e984e4b5973bc1f0af 15:47:00 clair timeout 1m0s 15:47:00 docker timeout: 1m0s 15:47:00 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:47:01 $ docker stop --time=1 23a00d50d3e08f7ef1f42de5d7a6f0a4d8fb824bd35b2bd2301bf22f9a86efe6 15:47:02 $ docker rm -f 23a00d50d3e08f7ef1f42de5d7a6f0a4d8fb824bd35b2bd2301bf22f9a86efe6 [Pipeline] // withDockerContainer [Pipeline] sh 15:47:02 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/clair-reports [Pipeline] echo 15:47:02 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-snmp-go_master/clair-reports/clair_results_docker-device-snmp-go-arm64_f8f17c2013d07295decc13e984e4b5973bc1f0af.html [Pipeline] writeFile [Pipeline] step 15:47:02 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 15:47:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:47:03 . [Pipeline] withDockerContainer 15:47:03 prd-centos7-docker-4c-2g-3035 does not seem to be running inside a container 15:47:03 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:47:04 $ docker top 631d7f9dc5fa3902753e7fa4460899c507da547bf1e5032f98ac684cec754fd6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:47:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:04 [ssh-agent] Looking for ssh-agent implementation... 15:47:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:04 $ docker exec 631d7f9dc5fa3902753e7fa4460899c507da547bf1e5032f98ac684cec754fd6 ssh-agent 15:47:04 SSH_AUTH_SOCK=/tmp/ssh-2HBGcL350tgd/agent.13 15:47:04 SSH_AGENT_PID=18 15:47:04 Running ssh-add (command line suppressed) 15:47:05 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1819178749766431368.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1819178749766431368.key) 15:47:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:05 + git semver tag 15:47:05 # -> Open(): unable to determine branch for HEAD 15:47:05 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 15:47:05 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 15:47:05 # $SEMVER_REMOTE_NAME = origin 15:47:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:47:05 # $SEMVER_USER_NAME = edgex-jenkins 15:47:05 # $SEMVER_BRANCH = master 15:47:05 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 15:47:05 # f8f17c2013d07295decc13e984e4b5973bc1f0af HEAD 15:47:05 # -> Force: false 15:47:05 # dcbb58dd3db1f27246933dbaa9c50665efb5e001 refs/tags/v1.2.1 [Pipeline] } 15:47:05 $ docker exec --env ******** --env ******** 631d7f9dc5fa3902753e7fa4460899c507da547bf1e5032f98ac684cec754fd6 ssh-agent -k 15:47:05 unset SSH_AUTH_SOCK; 15:47:05 unset SSH_AGENT_PID; 15:47:05 echo Agent pid 18 killed; 15:47:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:47:06 + git semver [Pipeline] } 15:47:06 $ docker stop --time=1 631d7f9dc5fa3902753e7fa4460899c507da547bf1e5032f98ac684cec754fd6 15:47:07 $ docker rm -f 631d7f9dc5fa3902753e7fa4460899c507da547bf1e5032f98ac684cec754fd6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:47:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:47:08 15:47:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:47:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:47:08 0.23.1-centos7: Pulling from edgex-lftools 15:47:08 ab5ef0e58194: Pulling fs layer 15:47:08 9712f1f96733: Pulling fs layer 15:47:08 63f879dbbcfc: Pulling fs layer 15:47:08 0d9ebad4ef96: Pulling fs layer 15:47:08 e9a5061849ea: Pulling fs layer 15:47:08 d747dcd14b5f: Pulling fs layer 15:47:08 2de7ff778b66: Pulling fs layer 15:47:08 e9a5061849ea: Waiting 15:47:08 d747dcd14b5f: Waiting 15:47:08 2de7ff778b66: Waiting 15:47:08 0d9ebad4ef96: Waiting 15:47:08 9712f1f96733: Verifying Checksum 15:47:08 9712f1f96733: Download complete 15:47:09 63f879dbbcfc: Verifying Checksum 15:47:09 63f879dbbcfc: Download complete 15:47:09 e9a5061849ea: Verifying Checksum 15:47:09 e9a5061849ea: Download complete 15:47:09 d747dcd14b5f: Verifying Checksum 15:47:09 d747dcd14b5f: Download complete 15:47:09 0d9ebad4ef96: Verifying Checksum 15:47:09 0d9ebad4ef96: Download complete 15:47:09 2de7ff778b66: Verifying Checksum 15:47:09 2de7ff778b66: Download complete 15:47:09 ab5ef0e58194: Verifying Checksum 15:47:09 ab5ef0e58194: Download complete 15:47:13 ab5ef0e58194: Pull complete 15:47:13 9712f1f96733: Pull complete 15:47:16 63f879dbbcfc: Pull complete 15:47:23 0d9ebad4ef96: Pull complete 15:47:23 e9a5061849ea: Pull complete 15:47:23 d747dcd14b5f: Pull complete 15:47:27 2de7ff778b66: Pull complete 15:47:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:47:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:47:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:47:27 prd-centos7-docker-4c-2g-3035 does not seem to be running inside a container 15:47:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:47:31 $ docker top 074548c22a706fd1acc66b0ae3a57600012fbedd9f24c13d42c71b10f42243bb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:47:31 provisioning config files... 15:47:31 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2579423558837157634tmp 15:47:31 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3675227541325225059tmp 15:47:31 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config1248304064197366517tmp [Pipeline] { [Pipeline] echo 15:47:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:47:31 ---> sigul-configuration.sh 15:47:31 gpg: directory `/root/.gnupg' created 15:47:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:47:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:47:31 gpg: keyring `/root/.gnupg/secring.gpg' created 15:47:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:47:31 gpg: CAST5 encrypted data 15:47:32 gpg: encrypted with 1 passphrase 15:47:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:47:32 + mkdir /home/jenkins 15:47:32 + mkdir /home/jenkins/sigul [Pipeline] sh 15:47:32 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 15:47:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:47:33 ---> sigul-install.sh 15:47:38 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 15:47:38 + git tag --list 15:47:38 v1.2.1 [Pipeline] sh 15:47:38 + lftools sign git-tag v1.2.1 15:47:40 Signing Git tag with Sigul... 15:47:40 Signing v1.2.1 [Pipeline] echo 15:47:41 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:47:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:47:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:47:41 $ docker stop --time=1 074548c22a706fd1acc66b0ae3a57600012fbedd9f24c13d42c71b10f42243bb 15:47:43 $ docker rm -f 074548c22a706fd1acc66b0ae3a57600012fbedd9f24c13d42c71b10f42243bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 15:47:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:47:44 . [Pipeline] withDockerContainer 15:47:44 prd-centos7-docker-4c-2g-3035 does not seem to be running inside a container 15:47:44 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:47:44 $ docker top aa433f369e0a1db36fe9a3a159cd15a70e88c39e24eb9db508fda33c2716da8c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:47:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:44 [ssh-agent] Looking for ssh-agent implementation... 15:47:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:45 $ docker exec aa433f369e0a1db36fe9a3a159cd15a70e88c39e24eb9db508fda33c2716da8c ssh-agent 15:47:45 SSH_AUTH_SOCK=/tmp/ssh-z17RCOulFn0x/agent.12 15:47:45 SSH_AGENT_PID=17 15:47:45 Running ssh-add (command line suppressed) 15:47:45 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1053279456385159261.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1053279456385159261.key) 15:47:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:45 + git semver bump pre 15:47:45 # -> Open(): unable to determine branch for HEAD 15:47:45 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 15:47:45 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 15:47:45 # $SEMVER_REMOTE_NAME = origin 15:47:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:47:45 # $SEMVER_USER_NAME = edgex-jenkins 15:47:45 # $SEMVER_BRANCH = master 15:47:45 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 15:47:45 1.2.2-dev.1 [Pipeline] } 15:47:45 $ docker exec --env ******** --env ******** aa433f369e0a1db36fe9a3a159cd15a70e88c39e24eb9db508fda33c2716da8c ssh-agent -k 15:47:46 unset SSH_AUTH_SOCK; 15:47:46 unset SSH_AGENT_PID; 15:47:46 echo Agent pid 17 killed; 15:47:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:47:46 + git semver [Pipeline] } 15:47:46 $ docker stop --time=1 aa433f369e0a1db36fe9a3a159cd15a70e88c39e24eb9db508fda33c2716da8c 15:47:47 $ docker rm -f aa433f369e0a1db36fe9a3a159cd15a70e88c39e24eb9db508fda33c2716da8c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:47:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:47:48 . [Pipeline] withDockerContainer 15:47:48 prd-centos7-docker-4c-2g-3035 does not seem to be running inside a container 15:47:48 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:47:49 $ docker top 49c4b081c534fd6bec9daf21a8be860a014543b8525da5e6ec47be816b6cf6af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:47:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:49 [ssh-agent] Looking for ssh-agent implementation... 15:47:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:49 $ docker exec 49c4b081c534fd6bec9daf21a8be860a014543b8525da5e6ec47be816b6cf6af ssh-agent 15:47:49 SSH_AUTH_SOCK=/tmp/ssh-pal8ze3MsIip/agent.12 15:47:49 SSH_AGENT_PID=17 15:47:49 Running ssh-add (command line suppressed) 15:47:49 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6023838795443022958.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6023838795443022958.key) 15:47:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:50 + git semver push 15:47:50 # -> Open(): unable to determine branch for HEAD 15:47:50 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 15:47:50 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 15:47:50 # $SEMVER_REMOTE_NAME = origin 15:47:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:47:50 # $SEMVER_USER_NAME = edgex-jenkins 15:47:50 # $SEMVER_BRANCH = master 15:47:50 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 15:47:54 git-semver-push: object not found [Pipeline] } 15:47:54 $ docker exec --env ******** --env ******** 49c4b081c534fd6bec9daf21a8be860a014543b8525da5e6ec47be816b6cf6af ssh-agent -k 15:47:54 unset SSH_AUTH_SOCK; 15:47:54 unset SSH_AGENT_PID; 15:47:54 echo Agent pid 17 killed; 15:47:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:47:54 $ docker stop --time=1 49c4b081c534fd6bec9daf21a8be860a014543b8525da5e6ec47be816b6cf6af 15:47:56 $ docker rm -f 49c4b081c534fd6bec9daf21a8be860a014543b8525da5e6ec47be816b6cf6af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 15:47:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:47:57 ---> package-listing.sh 15:47:57 ++ facter osfamily 15:47:57 ++ tr '[:upper:]' '[:lower:]' 15:47:57 + OS_FAMILY=redhat 15:47:57 + workspace=/w/workspace/gexfoundry_device-snmp-go_master 15:47:57 + START_PACKAGES=/tmp/packages_start.txt 15:47:57 + END_PACKAGES=/tmp/packages_end.txt 15:47:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:47:57 + PACKAGES=/tmp/packages_start.txt 15:47:57 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 15:47:57 + PACKAGES=/tmp/packages_end.txt 15:47:57 + case "${OS_FAMILY}" in 15:47:57 + rpm -qa 15:47:57 + sort 15:48:00 + '[' -f /tmp/packages_start.txt ']' 15:48:00 + '[' -f /tmp/packages_end.txt ']' 15:48:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:48:00 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 15:48:00 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ 15:48:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 15:48:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:48:00 15:48:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:48:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:48:01 alpine: Pulling from edgex-lftools-log-publisher 15:48:01 c9b1b535fdd9: Pulling fs layer 15:48:01 2cc5ad85d9ab: Pulling fs layer 15:48:01 756a868c4378: Pulling fs layer 15:48:01 444b2fc9a129: Pulling fs layer 15:48:01 ea15f1150254: Pulling fs layer 15:48:01 41b27a9f41bf: Pulling fs layer 15:48:01 28c525ee5125: Pulling fs layer 15:48:01 094b1ea09ed8: Pulling fs layer 15:48:01 138eaada9080: Pulling fs layer 15:48:01 0622d0fa9048: Pulling fs layer 15:48:01 444b2fc9a129: Waiting 15:48:01 ea15f1150254: Waiting 15:48:01 41b27a9f41bf: Waiting 15:48:01 28c525ee5125: Waiting 15:48:01 094b1ea09ed8: Waiting 15:48:01 138eaada9080: Waiting 15:48:01 0622d0fa9048: Waiting 15:48:01 2cc5ad85d9ab: Verifying Checksum 15:48:01 2cc5ad85d9ab: Download complete 15:48:01 444b2fc9a129: Verifying Checksum 15:48:01 444b2fc9a129: Download complete 15:48:01 c9b1b535fdd9: Verifying Checksum 15:48:01 c9b1b535fdd9: Download complete 15:48:01 ea15f1150254: Verifying Checksum 15:48:01 ea15f1150254: Download complete 15:48:01 28c525ee5125: Verifying Checksum 15:48:01 28c525ee5125: Download complete 15:48:01 756a868c4378: Verifying Checksum 15:48:01 756a868c4378: Download complete 15:48:01 138eaada9080: Verifying Checksum 15:48:01 138eaada9080: Download complete 15:48:01 0622d0fa9048: Verifying Checksum 15:48:01 0622d0fa9048: Download complete 15:48:01 094b1ea09ed8: Verifying Checksum 15:48:01 094b1ea09ed8: Download complete 15:48:02 41b27a9f41bf: Verifying Checksum 15:48:02 41b27a9f41bf: Download complete 15:48:02 c9b1b535fdd9: Pull complete 15:48:02 2cc5ad85d9ab: Pull complete 15:48:04 756a868c4378: Pull complete 15:48:04 444b2fc9a129: Pull complete 15:48:04 ea15f1150254: Pull complete 15:48:08 41b27a9f41bf: Pull complete 15:48:08 28c525ee5125: Pull complete 15:48:10 094b1ea09ed8: Pull complete 15:48:11 138eaada9080: Pull complete 15:48:11 0622d0fa9048: Pull complete 15:48:11 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 15:48:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:48:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:48:11 prd-centos7-docker-4c-2g-3035 does not seem to be running inside a container 15:48:11 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:48:14 $ docker top 8905a4474636cccee965a3649cd74e2f1b726ccd54b651b1c6ec3b1518720c7e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:48:15 provisioning config files... 15:48:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config5136022644194760811tmp [Pipeline] { [Pipeline] echo 15:48:15 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:48:15 ---> create-netrc.sh [Pipeline] echo 15:48:15 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:48:15 ---> logs-deploy.sh 15:48:15 + ARCHIVE_ARTIFACTS= 15:48:15 + LOGS_SERVER=https://logs.edgexfoundry.org 15:48:15 + '[' https://logs.edgexfoundry.org == None ']' 15:48:15 + NEXUS_URL=https://nexus.edgexfoundry.org 15:48:15 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/8 15:48:15 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/master/8/ 15:48:15 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/8 /w/workspace/gexfoundry_device-snmp-go_master 15:48:16 Archives upload complete. 15:48:16 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/8 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/master/8/