Push event to branch master 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2704 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 Fetching without tags Checking out Revision f8f17c2013d07295decc13e984e4b5973bc1f0af (master) 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 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 487d1e200739801f0616c5be157f423f7b0b3302 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:33:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:33:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:33:24 ========================================================= 05:33:24 EdgeX Global Pipelines Version Info 05:33:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:33:26 ------------------- 05:33:26 stable info: 05:33:26 ------------------- 05:33:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:33:26 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 05:33:26 Message: update stable to v1.0.89 05:33:27 ------------------- 05:33:27 experimental info: 05:33:27 ------------------- 05:33:27 Commited By: **** collab-it+edgex@linuxfoundation.org 05:33:27 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 05:33:27 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 05:33:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:33:29 05:33:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:33:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:33:30 latest: Pulling from edgex-devops/git-semver 05:33:30 9123ac7c32f7: Pulling fs layer 05:33:30 b8cc5d1170e3: Pulling fs layer 05:33:30 2924cbbf6a41: Pulling fs layer 05:33:30 93b08a4f1073: Pulling fs layer 05:33:30 93b08a4f1073: Waiting 05:33:30 b8cc5d1170e3: Download complete 05:33:30 9123ac7c32f7: Verifying Checksum 05:33:30 9123ac7c32f7: Download complete 05:33:31 93b08a4f1073: Verifying Checksum 05:33:31 93b08a4f1073: Download complete 05:33:31 2924cbbf6a41: Verifying Checksum 05:33:31 2924cbbf6a41: Download complete 05:33:31 9123ac7c32f7: Pull complete 05:33:31 b8cc5d1170e3: Pull complete 05:33:32 2924cbbf6a41: Pull complete 05:33:33 93b08a4f1073: Pull complete 05:33:33 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 05:33:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:33:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:33:33 prd-centos7-docker-4c-2g-2704 does not seem to be running inside a container 05:33:33 $ 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 05:33:35 $ docker top 701f8b757989e5ab3da96b895a79a46f051cbc8a9fc260c767974afa88d1858d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:33:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:33:35 [ssh-agent] Looking for ssh-agent implementation... 05:33:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:33:36 $ docker exec 701f8b757989e5ab3da96b895a79a46f051cbc8a9fc260c767974afa88d1858d ssh-agent 05:33:36 SSH_AUTH_SOCK=/tmp/ssh-ZCgXBc0c4nMT/agent.12 05:33:36 SSH_AGENT_PID=17 05:33:36 Running ssh-add (command line suppressed) 05:33:36 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_637524749747435930.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_637524749747435930.key) 05:33:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:33:37 + git describe --exact-match --tags HEAD 05:33:37 fatal: No names found, cannot describe anything. [Pipeline] } 05:33:37 $ docker exec --env ******** --env ******** 701f8b757989e5ab3da96b895a79a46f051cbc8a9fc260c767974afa88d1858d ssh-agent -k 05:33:37 unset SSH_AUTH_SOCK; 05:33:37 unset SSH_AGENT_PID; 05:33:37 echo Agent pid 17 killed; 05:33:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:33:37 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:33:37 This usually means this commit has not been tagged. [Pipeline] sshagent 05:33:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:33:37 [ssh-agent] Looking for ssh-agent implementation... 05:33:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:33:37 $ docker exec 701f8b757989e5ab3da96b895a79a46f051cbc8a9fc260c767974afa88d1858d ssh-agent 05:33:38 SSH_AUTH_SOCK=/tmp/ssh-BA67FCgQrV95/agent.46 05:33:38 SSH_AGENT_PID=51 05:33:38 Running ssh-add (command line suppressed) 05:33:38 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_9149404783286755714.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_9149404783286755714.key) 05:33:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:33:38 + git semver init 05:33:38 # -> Open(): unable to determine branch for HEAD 05:33:38 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 05:33:38 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 05:33:38 # $SEMVER_REMOTE_NAME = origin 05:33:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:33:38 # $SEMVER_USER_NAME = edgex-jenkins 05:33:38 # $SEMVER_BRANCH = master 05:33:38 # $SEMVER_TEMP = /tmp/semver-493700394 05:33:38 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 05:33:39 # '/tmp/semver-493700394' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' 05:33:39 # -> Force: false 05:33:39 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 05:33:39 $ docker exec --env ******** --env ******** 701f8b757989e5ab3da96b895a79a46f051cbc8a9fc260c767974afa88d1858d ssh-agent -k 05:33:39 unset SSH_AUTH_SOCK; 05:33:39 unset SSH_AGENT_PID; 05:33:39 echo Agent pid 51 killed; 05:33:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:33:39 + git semver [Pipeline] } 05:33:39 $ docker stop --time=1 701f8b757989e5ab3da96b895a79a46f051cbc8a9fc260c767974afa88d1858d 05:33:41 $ docker rm -f 701f8b757989e5ab3da96b895a79a46f051cbc8a9fc260c767974afa88d1858d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:33:42 Stashed 34 file(s) [Pipeline] echo 05:33:42 [edgeXSemver] initialized semver on version 1.2.1-dev.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 05:33:58 Still waiting to schedule task 05:33:58 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2704’ 05:33:58 Still waiting to schedule task 05:33:58 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 05:36:23 Running on prd-centos7-docker-4c-2g-2705 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 05:36:23 Running in /w/workspace/device-snmp-go/7 [Pipeline] { [Pipeline] checkout 05:36:26 using credential edgex-jenkins-ssh 05:36:26 Cloning the remote Git repository 05:36:26 Cloning with configured refspecs honoured and without tags 05:36:26 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:36:26 > git init /w/workspace/device-snmp-go/7 # timeout=10 05:36:26 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:36:26 > git --version # timeout=10 05:36:26 using GIT_SSH to set credentials SSH Credentials for GitHub 05:36:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:36:27 Fetching without tags 05:36:27 Checking out Revision f8f17c2013d07295decc13e984e4b5973bc1f0af (master) 05:36:26 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:36:26 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:36:26 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:36:26 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:36:26 using GIT_SSH to set credentials SSH Credentials for GitHub 05:36:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:36:27 > git config core.sparsecheckout # timeout=10 05:36:27 > git checkout -f f8f17c2013d07295decc13e984e4b5973bc1f0af # timeout=10 05:36:31 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 05:36:32 ========================================================= 05:36:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 05:36:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:36:32 + 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 . 05:36:33 Sending build context to Docker daemon 366.6kB 05:36:33 Step 1/10 : ARG BASE=golang:1.13-alpine 05:36:33 Step 2/10 : FROM ${BASE} 05:36:33 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 05:36:33 e6b0cf9c0882: Pulling fs layer 05:36:33 2848faf0eed1: Pulling fs layer 05:36:33 0f37312ad70f: Pulling fs layer 05:36:33 5788d62ee057: Pulling fs layer 05:36:33 0e6b1d234666: Pulling fs layer 05:36:33 bf5d7aec512f: Pulling fs layer 05:36:33 34c802a77dc8: Pulling fs layer 05:36:33 9eb99e56ec68: Pulling fs layer 05:36:33 27c7a5d97fbd: Pulling fs layer 05:36:33 5c102a31e300: Pulling fs layer 05:36:33 dcfb455df0a1: Pulling fs layer 05:36:33 5788d62ee057: Waiting 05:36:33 27c7a5d97fbd: Waiting 05:36:33 0e6b1d234666: Waiting 05:36:33 5c102a31e300: Waiting 05:36:33 bf5d7aec512f: Waiting 05:36:33 dcfb455df0a1: Waiting 05:36:33 34c802a77dc8: Waiting 05:36:33 9eb99e56ec68: Waiting 05:36:33 0f37312ad70f: Verifying Checksum 05:36:33 0f37312ad70f: Download complete 05:36:33 2848faf0eed1: Verifying Checksum 05:36:33 2848faf0eed1: Download complete 05:36:33 0e6b1d234666: Verifying Checksum 05:36:33 0e6b1d234666: Download complete 05:36:33 bf5d7aec512f: Verifying Checksum 05:36:33 bf5d7aec512f: Download complete 05:36:33 e6b0cf9c0882: Verifying Checksum 05:36:33 e6b0cf9c0882: Download complete 05:36:33 e6b0cf9c0882: Pull complete 05:36:34 34c802a77dc8: Verifying Checksum 05:36:34 34c802a77dc8: Download complete 05:36:34 27c7a5d97fbd: Verifying Checksum 05:36:34 27c7a5d97fbd: Download complete 05:36:34 5c102a31e300: Verifying Checksum 05:36:34 5c102a31e300: Download complete 05:36:35 dcfb455df0a1: Verifying Checksum 05:36:35 dcfb455df0a1: Download complete 05:36:35 5788d62ee057: Verifying Checksum 05:36:35 5788d62ee057: Download complete 05:36:35 9eb99e56ec68: Download complete 05:36:36 2848faf0eed1: Pull complete 05:36:36 0f37312ad70f: Pull complete 05:36:41 5788d62ee057: Pull complete 05:36:41 0e6b1d234666: Pull complete 05:36:41 bf5d7aec512f: Pull complete 05:36:48 34c802a77dc8: Pull complete 05:36:51 9eb99e56ec68: Pull complete 05:36:51 27c7a5d97fbd: Pull complete 05:36:52 5c102a31e300: Pull complete 05:36:52 dcfb455df0a1: Pull complete 05:36:52 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 05:36:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 05:36:52 ---> 7c70fe431013 05:36:52 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 05:36:53 ---> Running in 460ef3737985 05:36:53 Removing intermediate container 460ef3737985 05:36:53 ---> 98a8511b8839 05:36:53 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:36:53 ---> Running in d245ef1cb118 05:36:53 Removing intermediate container d245ef1cb118 05:36:53 ---> 067a0e3a6bc4 05:36:53 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 05:36:53 ---> Running in 18d5f2c698d8 05:36:54 Removing intermediate container 18d5f2c698d8 05:36:54 ---> ccc7fa1db53f 05:36:54 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:36:54 ---> Running in cec4f78bde05 05:36:55 Removing intermediate container cec4f78bde05 05:36:55 ---> d1348b184c26 05:36:55 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:36:55 ---> Running in 43f3a3c40226 05:36:56 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:36:57 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:36:57 OK: 143 MiB in 39 packages 05:36:58 Removing intermediate container 43f3a3c40226 05:36:58 ---> c84db2c8f7ad 05:36:58 Step 8/10 : WORKDIR /device-snmp-go 05:36:58 ---> Running in 988326f069c5 05:36:58 Removing intermediate container 988326f069c5 05:36:58 ---> 5a792a874f94 05:36:58 Step 9/10 : COPY . . 05:36:59 ---> 78b27cdf181b 05:36:59 Step 10/10 : RUN go mod download 05:36:59 ---> Running in a0ad0c117d8d 05:37:01 go: finding github.com/BurntSushi/toml v0.3.1 05:37:01 go: finding github.com/OneOfOne/xxhash v1.2.6 05:37:01 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:37:01 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:37:01 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:37:01 go: finding github.com/bgentry/speakeasy v0.1.0 05:37:01 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:37:01 go: finding github.com/davecgh/go-spew v1.1.1 05:37:01 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 05:37:01 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:37:01 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:37:01 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:37:01 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 05:37:01 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:37:01 go: finding github.com/fatih/color v1.7.0 05:37:01 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:37:01 go: finding github.com/go-kit/kit v0.8.0 05:37:01 go: finding github.com/go-logfmt/logfmt v0.4.0 05:37:01 go: finding github.com/go-stack/stack v1.8.0 05:37:01 go: finding github.com/golang/mock v1.2.0 05:37:01 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:37:01 go: finding github.com/google/uuid v1.1.0 05:37:01 go: finding github.com/gorilla/mux v1.7.1 05:37:01 go: finding github.com/hashicorp/consul/api v1.1.0 05:37:01 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:37:01 go: finding github.com/hashicorp/errwrap v1.0.0 05:37:01 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:37:01 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:37:01 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:37:01 go: finding github.com/hashicorp/go-multierror v1.0.0 05:37:01 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:37:01 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:37:01 go: finding github.com/hashicorp/go-syslog v1.0.0 05:37:01 go: finding github.com/hashicorp/go-uuid v1.0.1 05:37:01 go: finding github.com/hashicorp/go.net v0.0.1 05:37:01 go: finding github.com/hashicorp/golang-lru v0.5.0 05:37:01 go: finding github.com/hashicorp/logutils v1.0.0 05:37:01 go: finding github.com/hashicorp/mdns v1.0.0 05:37:01 go: finding github.com/hashicorp/memberlist v0.1.3 05:37:01 go: finding github.com/hashicorp/serf v0.8.2 05:37:01 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:37:01 go: finding github.com/mattn/go-colorable v0.0.9 05:37:01 go: finding github.com/mattn/go-isatty v0.0.3 05:37:01 go: finding github.com/miekg/dns v1.0.14 05:37:01 go: finding github.com/mitchellh/cli v1.0.0 05:37:01 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:37:01 go: finding github.com/mitchellh/copystructure v1.0.0 05:37:02 go: finding github.com/mitchellh/go-homedir v1.0.0 05:37:02 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:37:02 go: finding github.com/mitchellh/gox v0.4.0 05:37:02 go: finding github.com/mitchellh/iochan v1.0.0 05:37:02 go: finding github.com/mitchellh/mapstructure v1.1.2 05:37:02 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:37:02 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:37:02 go: finding github.com/pelletier/go-toml v1.2.0 05:37:02 go: finding github.com/pkg/errors v0.8.1 05:37:02 go: finding github.com/pmezard/go-difflib v1.0.0 05:37:02 go: finding github.com/posener/complete v1.1.1 05:37:02 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:37:02 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:37:02 go: finding github.com/soniah/gosnmp v1.21.0 05:37:02 go: finding github.com/stretchr/objx v0.1.0 05:37:02 go: finding github.com/stretchr/testify v1.5.1 05:37:02 go: finding github.com/ugorji/go v1.1.4 05:37:02 go: finding github.com/x448/float16 v0.8.4 05:37:02 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:37:02 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:37:02 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:37:02 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:37:02 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:37:02 go: finding gopkg.in/yaml.v2 v2.2.8 05:37:10 Removing intermediate container a0ad0c117d8d 05:37:10 ---> f643ebe88e1b 05:37:10 Successfully built f643ebe88e1b 05:37:10 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 05:37:11 + docker inspect -f . ci-base-image-x86_64 05:37:11 . [Pipeline] withDockerContainer 05:37:11 prd-centos7-docker-4c-2g-2705 does not seem to be running inside a container 05:37:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/7 -v /w/workspace/device-snmp-go/7:/w/workspace/device-snmp-go/7:rw,z -v /w/workspace/device-snmp-go/7@tmp:/w/workspace/device-snmp-go/7@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 ******** ci-base-image-x86_64 cat 05:37:12 $ docker top be407f3d565ebdcd4277da98fb17a913ad06fdeaee7d28a625dacca377ee43db -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:13 + go version 05:37:13 go version go1.13.5 linux/amd64 [Pipeline] sh 05:37:13 + make test 05:37:13 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:37:14 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:37:24 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:37:24 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.005s coverage: 0.0% of statements 05:37:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:37:25 gofmt -l . 05:37:25 [ "`gofmt -l .`" = "" ] 05:37:25 ./bin/test-attribution-txt.sh 05:37:25 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:37:26 Stashed 1 file(s) [Pipeline] } 05:37:26 $ docker stop --time=1 be407f3d565ebdcd4277da98fb17a913ad06fdeaee7d28a625dacca377ee43db 05:37:28 $ docker rm -f be407f3d565ebdcd4277da98fb17a913ad06fdeaee7d28a625dacca377ee43db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 05:37:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2706 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] sh [Pipeline] ws 05:37:30 Running in /w/workspace/device-snmp-go/7 [Pipeline] { [Pipeline] checkout 05:37:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:37:30 + ls -al . 05:37:30 total 104 05:37:30 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 12 05:37 . 05:37:30 drwxrwxr-x. 4 jenkins jenkins 28 Jun 12 05:36 .. 05:37:30 -rw-rw-r--. 1 jenkins jenkins 4910 Jun 12 05:36 Attribution.txt 05:37:30 drwxrwxr-x. 2 jenkins jenkins 87 Jun 12 05:36 bin 05:37:30 drwxrwxr-x. 3 jenkins jenkins 32 Jun 12 05:36 cmd 05:37:30 -rw-r--r--. 1 jenkins jenkins 8493 Jun 12 05:37 coverage.out 05:37:30 -rw-rw-r--. 1 jenkins jenkins 994 Jun 12 05:36 Dockerfile 05:37:30 -rw-rw-r--. 1 jenkins jenkins 409 Jun 12 05:36 Dockerfile.build 05:37:30 -rw-rw-r--. 1 jenkins jenkins 6 Jun 12 05:36 .dockerignore 05:37:30 drwxrwxr-x. 8 jenkins jenkins 162 Jun 12 05:36 .git 05:37:30 -rw-rw-r--. 1 jenkins jenkins 272 Jun 12 05:36 .gitignore 05:37:30 -rw-r--r--. 1 jenkins jenkins 203 Jun 12 05:37 go.mod 05:37:30 -rw-r--r--. 1 jenkins jenkins 12704 Jun 12 05:37 go.sum 05:37:30 drwxrwxr-x. 3 jenkins jenkins 20 Jun 12 05:36 internal 05:37:30 -rw-rw-r--. 1 jenkins jenkins 678 Jun 12 05:36 Jenkinsfile 05:37:30 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 12 05:36 LICENSE 05:37:30 -rw-rw-r--. 1 jenkins jenkins 937 Jun 12 05:36 Makefile 05:37:30 drwxrwxr-x. 2 jenkins jenkins 84 Jun 12 05:36 profiles 05:37:30 -rw-rw-r--. 1 jenkins jenkins 12398 Jun 12 05:36 README.md 05:37:30 drwxrwxr-x. 3 jenkins jenkins 61 Jun 12 05:36 .semver 05:37:30 -rw-rw-r--. 1 jenkins jenkins 11 Jun 12 05:33 VERSION 05:37:30 -rw-rw-r--. 1 jenkins jenkins 209 Jun 12 05:36 version.go [Pipeline] isUnix [Pipeline] sh 05:37:31 + 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-dev.1 . 05:37:31 Sending build context to Docker daemon 375.8kB 05:37:31 Step 1/25 : ARG BASE=golang:1.13-alpine 05:37:31 Step 2/25 : FROM ${BASE} AS builder 05:37:31 ---> f643ebe88e1b 05:37:31 Step 3/25 : ARG MAKE='make build' 05:37:31 ---> Running in 56b85c0d02c5 05:37:31 Removing intermediate container 56b85c0d02c5 05:37:31 ---> d04c4075a8db 05:37:31 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 05:37:31 ---> Running in 4110c3b847e8 05:37:31 Removing intermediate container 4110c3b847e8 05:37:31 ---> 06bf35bcd6ba 05:37:31 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 05:37:31 ---> Running in a4a35610bdbe 05:37:31 Removing intermediate container a4a35610bdbe 05:37:31 ---> d14da2a83e9a 05:37:31 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:37:31 ---> Running in 39c7de4b839a 05:37:32 Removing intermediate container 39c7de4b839a 05:37:32 ---> 94ef389d4207 05:37:32 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:37:32 ---> Running in 71524464edb7 05:37:32 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:37:33 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:37:34 OK: 143 MiB in 39 packages 05:37:34 Removing intermediate container 71524464edb7 05:37:34 ---> 49427e0e4103 05:37:34 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 05:37:34 ---> Running in 92371f2f99e7 05:37:34 Removing intermediate container 92371f2f99e7 05:37:34 ---> f6a23d177570 05:37:34 Step 9/25 : COPY go.mod . 05:37:34 ---> e36b5c06cd2c 05:37:34 Step 10/25 : COPY Makefile . 05:37:35 using credential edgex-jenkins-ssh 05:37:35 Cloning the remote Git repository 05:37:35 Cloning with configured refspecs honoured and without tags 05:37:35 ---> eb8ec97fffd3 05:37:35 Step 11/25 : RUN make update 05:37:35 ---> Running in eeca735625aa 05:37:35 CGO_ENABLED=0 GO111MODULE=on go mod download 05:37:36 Removing intermediate container eeca735625aa 05:37:36 ---> 6f6e54e2299b 05:37:36 Step 12/25 : COPY . . 05:37:36 Fetching without tags 05:37:35 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:37:35 > git init /w/workspace/device-snmp-go/7 # timeout=10 05:37:35 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:37:35 > git --version # timeout=10 05:37:35 using GIT_SSH to set credentials SSH Credentials for GitHub 05:37:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:37:36 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:37:36 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:37:36 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:37:36 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:37:36 using GIT_SSH to set credentials SSH Credentials for GitHub 05:37:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:37:36 ---> 75f66617d897 05:37:36 Step 13/25 : RUN ${MAKE} 05:37:36 ---> Running in 2498bffeb63a 05:37:36 Checking out Revision f8f17c2013d07295decc13e984e4b5973bc1f0af (master) 05:37:37 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.1-dev.1" -o cmd/device-snmp-go ./cmd 05:37:36 > git config core.sparsecheckout # timeout=10 05:37:36 > git checkout -f f8f17c2013d07295decc13e984e4b5973bc1f0af # timeout=10 05:37:41 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 05:37:42 ========================================================= 05:37:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 05:37:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:37:43 + 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 . 05:37:43 Sending build context to Docker daemon 366.6kB 05:37:44 Step 1/10 : ARG BASE=golang:1.13-alpine 05:37:44 Step 2/10 : FROM ${BASE} 05:37:44 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:37:44 cde5963f3b93: Pulling fs layer 05:37:44 2a23fa8c16f7: Pulling fs layer 05:37:44 777b28850792: Pulling fs layer 05:37:44 8a11ddd9e578: Pulling fs layer 05:37:44 4cf88f913ddb: Pulling fs layer 05:37:44 1df406cf5192: Pulling fs layer 05:37:44 cd6300453558: Pulling fs layer 05:37:44 b9c365052c96: Pulling fs layer 05:37:44 a2d8cc88f415: Pulling fs layer 05:37:44 ea1d1ca13537: Pulling fs layer 05:37:44 3750a50a1c5e: Pulling fs layer 05:37:44 8a11ddd9e578: Waiting 05:37:44 4cf88f913ddb: Waiting 05:37:44 1df406cf5192: Waiting 05:37:44 cd6300453558: Waiting 05:37:44 b9c365052c96: Waiting 05:37:44 a2d8cc88f415: Waiting 05:37:44 ea1d1ca13537: Waiting 05:37:44 3750a50a1c5e: Waiting 05:37:44 777b28850792: Verifying Checksum 05:37:44 777b28850792: Download complete 05:37:44 2a23fa8c16f7: Verifying Checksum 05:37:44 2a23fa8c16f7: Download complete 05:37:44 4cf88f913ddb: Verifying Checksum 05:37:44 4cf88f913ddb: Download complete 05:37:44 1df406cf5192: Verifying Checksum 05:37:44 1df406cf5192: Download complete 05:37:44 cde5963f3b93: Verifying Checksum 05:37:44 cde5963f3b93: Download complete 05:37:45 cde5963f3b93: Pull complete 05:37:45 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:37:45 2a23fa8c16f7: Pull complete 05:37:46 777b28850792: Pull complete 05:37:46 cd6300453558: Verifying Checksum 05:37:46 cd6300453558: Download complete 05:37:46 a2d8cc88f415: Download complete 05:37:47 ea1d1ca13537: Verifying Checksum 05:37:47 ea1d1ca13537: Download complete 05:37:48 3750a50a1c5e: Download complete 05:37:48 b9c365052c96: Verifying Checksum 05:37:48 b9c365052c96: Download complete 05:37:49 Removing intermediate container 2498bffeb63a 05:37:49 ---> 03e589b2bc58 05:37:49 Step 14/25 : FROM alpine 05:37:49 latest: Pulling from library/alpine 05:37:49 df20fa9351a1: Pulling fs layer 05:37:50 8a11ddd9e578: Verifying Checksum 05:37:50 8a11ddd9e578: Download complete 05:37:50 df20fa9351a1: Download complete 05:37:50 df20fa9351a1: Pull complete 05:37:50 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 05:37:50 Status: Downloaded newer image for alpine:latest 05:37:50 ---> a24bb4013296 05:37:50 Step 15/25 : ENV APP_PORT=49993 05:37:50 ---> Running in 498b21a5c537 05:37:50 Removing intermediate container 498b21a5c537 05:37:50 ---> 6b738c2b39f7 05:37:50 Step 16/25 : EXPOSE $APP_PORT 05:37:50 ---> Running in 34af223b4ffe 05:37:50 Removing intermediate container 34af223b4ffe 05:37:50 ---> d852c7a273b9 05:37:50 Step 17/25 : ENV DEVICE_PORT=161 05:37:51 ---> Running in b2618a97c020 05:37:51 Removing intermediate container b2618a97c020 05:37:51 ---> d8be24531863 05:37:51 Step 18/25 : EXPOSE $DEVICE_PORT 05:37:51 ---> Running in b4a53505b336 05:37:51 Removing intermediate container b4a53505b336 05:37:51 ---> fa5a766bc34f 05:37:51 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 05:37:51 ---> 890677fa2082 05:37:51 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 05:37:51 ---> b7bcc8f59e56 05:37:51 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 05:37:52 ---> fc6b90c94e76 05:37:52 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 05:37:52 ---> Running in cb7a0ad17257 05:37:52 Removing intermediate container cb7a0ad17257 05:37:52 ---> bd5f420caa91 05:37:52 Step 23/25 : LABEL arch=amd64 05:37:52 ---> Running in d5ff94e39ea3 05:37:52 Removing intermediate container d5ff94e39ea3 05:37:52 ---> ecea20d5672f 05:37:52 Step 24/25 : LABEL git_sha=f8f17c2013d07295decc13e984e4b5973bc1f0af 05:37:52 ---> Running in 94a09ac44b88 05:37:52 Removing intermediate container 94a09ac44b88 05:37:52 ---> 6e66bebb9bc5 05:37:52 Step 25/25 : LABEL version=1.2.1-dev.1 05:37:52 ---> Running in 5469983d0bb4 05:37:52 Removing intermediate container 5469983d0bb4 05:37:52 ---> dc85588d3c8c 05:37:52 [Warning] One or more build-args [ARCH] were not consumed 05:37:52 Successfully built dc85588d3c8c 05:37:52 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 05:37:53 provisioning config files... 05:37:53 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/7@tmp/config1529125079134785519tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:37:53 nexus3.edgexfoundry.org:10001 05:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:37:53 Configure a credential helper to remove this warning. See 05:37:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:37:53 05:37:53 Login Succeeded 05:37:53 nexus3.edgexfoundry.org:10002 05:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:37:53 Configure a credential helper to remove this warning. See 05:37:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:37:53 05:37:53 Login Succeeded 05:37:53 nexus3.edgexfoundry.org:10003 05:37:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:37:54 Configure a credential helper to remove this warning. See 05:37:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:37:54 05:37:54 Login Succeeded 05:37:54 nexus3.edgexfoundry.org:10004 05:37:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:37:54 Configure a credential helper to remove this warning. See 05:37:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:37:54 05:37:54 Login Succeeded 05:37:54 docker.io 05:37:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:37:54 Configure a credential helper to remove this warning. See 05:37:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:37:54 05:37:54 Login Succeeded [Pipeline] } 05:37:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:37:54 [edgeXDocker.push] Tagging docker image docker-device-snmp-go with the following tags: 05:37:54 f8f17c2013d07295decc13e984e4b5973bc1f0af 05:37:54 latest 05:37:54 1.2.1-dev.1 05:37:54 f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1-dev.1 05:37:54 master 05:37:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:37:55 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:f8f17c2013d07295decc13e984e4b5973bc1f0af [Pipeline] isUnix [Pipeline] sh 05:37:55 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:f8f17c2013d07295decc13e984e4b5973bc1f0af 05:37:55 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 05:37:55 b13aeaa8e66e: Preparing 05:37:55 091859ab0805: Preparing 05:37:55 a23d0f0ebf6e: Preparing 05:37:55 50644c29ef5a: Preparing 05:37:55 50644c29ef5a: Layer already exists 05:37:55 b13aeaa8e66e: Pushed 05:37:55 091859ab0805: Pushed 05:37:56 a23d0f0ebf6e: Pushed 05:37:56 f8f17c2013d07295decc13e984e4b5973bc1f0af: digest: sha256:b4822c838ec02b66567124eb4da80334286daea948e6c693697a1f051c287f0e size: 1155 [Pipeline] isUnix [Pipeline] sh 05:37:56 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [Pipeline] isUnix [Pipeline] sh 05:37:57 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest 05:37:57 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 05:37:57 b13aeaa8e66e: Preparing 05:37:57 091859ab0805: Preparing 05:37:57 a23d0f0ebf6e: Preparing 05:37:57 50644c29ef5a: Preparing 05:37:57 a23d0f0ebf6e: Layer already exists 05:37:57 b13aeaa8e66e: Layer already exists 05:37:57 091859ab0805: Layer already exists 05:37:57 50644c29ef5a: Layer already exists 05:37:57 latest: digest: sha256:b4822c838ec02b66567124eb4da80334286daea948e6c693697a1f051c287f0e size: 1155 [Pipeline] isUnix [Pipeline] sh 05:37:57 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 05:37:57 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.2.1-dev.1 05:37:57 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 05:37:57 b13aeaa8e66e: Preparing 05:37:57 091859ab0805: Preparing 05:37:57 a23d0f0ebf6e: Preparing 05:37:57 50644c29ef5a: Preparing 05:37:57 a23d0f0ebf6e: Layer already exists 05:37:57 091859ab0805: Layer already exists 05:37:57 b13aeaa8e66e: Layer already exists 05:37:57 50644c29ef5a: Layer already exists 05:37:57 1.2.1-dev.1: digest: sha256:b4822c838ec02b66567124eb4da80334286daea948e6c693697a1f051c287f0e size: 1155 [Pipeline] isUnix [Pipeline] sh 05:37:58 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 05:37:58 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1-dev.1 05:37:58 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 05:37:58 b13aeaa8e66e: Preparing 05:37:58 091859ab0805: Preparing 05:37:58 a23d0f0ebf6e: Preparing 05:37:58 50644c29ef5a: Preparing 05:37:58 b13aeaa8e66e: Layer already exists 05:37:58 50644c29ef5a: Layer already exists 05:37:58 091859ab0805: Layer already exists 05:37:58 a23d0f0ebf6e: Layer already exists 05:37:58 f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1-dev.1: digest: sha256:b4822c838ec02b66567124eb4da80334286daea948e6c693697a1f051c287f0e size: 1155 [Pipeline] isUnix [Pipeline] sh 05:37:58 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] isUnix [Pipeline] sh 05:37:58 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master 05:37:58 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 05:37:58 b13aeaa8e66e: Preparing 05:37:58 091859ab0805: Preparing 05:37:58 a23d0f0ebf6e: Preparing 05:37:58 50644c29ef5a: Preparing 05:37:58 b13aeaa8e66e: Layer already exists 05:37:58 091859ab0805: Layer already exists 05:37:58 a23d0f0ebf6e: Layer already exists 05:37:58 50644c29ef5a: Layer already exists 05:37:58 master: digest: sha256:b4822c838ec02b66567124eb4da80334286daea948e6c693697a1f051c287f0e 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] } 05:38:02 8a11ddd9e578: Pull complete 05:38:02 4cf88f913ddb: Pull complete 05:38:02 1df406cf5192: Pull complete 05:38:06 cd6300453558: Pull complete 05:38:11 b9c365052c96: Pull complete 05:38:11 a2d8cc88f415: Pull complete 05:38:13 ea1d1ca13537: Pull complete 05:38:13 3750a50a1c5e: Pull complete 05:38:14 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 05:38:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 05:38:14 ---> 78745c68409d 05:38:14 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 05:38:18 ---> Running in 599fc4e90f9b 05:38:18 Removing intermediate container 599fc4e90f9b 05:38:18 ---> 6cd615cebb94 05:38:18 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:38:18 ---> Running in 8f3858c11ade 05:38:18 Removing intermediate container 8f3858c11ade 05:38:18 ---> 0ae5447f112c 05:38:18 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 05:38:18 ---> Running in d43119cf7548 05:38:19 Removing intermediate container d43119cf7548 05:38:19 ---> cb8ab3cce864 05:38:19 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:38:19 ---> Running in c20ba294ca04 05:38:21 Removing intermediate container c20ba294ca04 05:38:21 ---> 328c5e031f47 05:38:21 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:38:22 ---> Running in 97d6adab1b59 05:38:23 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:38:24 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:38:24 OK: 125 MiB in 39 packages 05:38:25 Removing intermediate container 97d6adab1b59 05:38:25 ---> fc5222fa4be1 05:38:25 Step 8/10 : WORKDIR /device-snmp-go 05:38:26 ---> Running in d4ad3526db39 05:38:26 Removing intermediate container d4ad3526db39 05:38:26 ---> bf48d61d626a 05:38:26 Step 9/10 : COPY . . 05:38:27 ---> ae353b261dec 05:38:27 Step 10/10 : RUN go mod download 05:38:27 ---> Running in e4641731413f 05:38:30 go: finding github.com/BurntSushi/toml v0.3.1 05:38:30 go: finding github.com/OneOfOne/xxhash v1.2.6 05:38:30 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:38:30 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:38:30 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:38:30 go: finding github.com/bgentry/speakeasy v0.1.0 05:38:30 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:38:30 go: finding github.com/davecgh/go-spew v1.1.1 05:38:30 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 05:38:30 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:38:30 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:38:30 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:38:30 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 05:38:30 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:38:30 go: finding github.com/fatih/color v1.7.0 05:38:30 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:38:30 go: finding github.com/go-kit/kit v0.8.0 05:38:30 go: finding github.com/go-logfmt/logfmt v0.4.0 05:38:30 go: finding github.com/go-stack/stack v1.8.0 05:38:30 go: finding github.com/golang/mock v1.2.0 05:38:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:38:30 go: finding github.com/google/uuid v1.1.0 05:38:30 go: finding github.com/gorilla/mux v1.7.1 05:38:30 go: finding github.com/hashicorp/consul/api v1.1.0 05:38:30 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:38:30 go: finding github.com/hashicorp/errwrap v1.0.0 05:38:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:38:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:38:30 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:38:30 go: finding github.com/hashicorp/go-multierror v1.0.0 05:38:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:38:30 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:38:30 go: finding github.com/hashicorp/go-syslog v1.0.0 05:38:30 go: finding github.com/hashicorp/go-uuid v1.0.1 05:38:30 go: finding github.com/hashicorp/go.net v0.0.1 05:38:30 go: finding github.com/hashicorp/golang-lru v0.5.0 05:38:30 go: finding github.com/hashicorp/logutils v1.0.0 05:38:30 go: finding github.com/hashicorp/mdns v1.0.0 05:38:30 go: finding github.com/hashicorp/memberlist v0.1.3 05:38:30 go: finding github.com/hashicorp/serf v0.8.2 05:38:30 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:38:30 go: finding github.com/mattn/go-colorable v0.0.9 05:38:30 go: finding github.com/mattn/go-isatty v0.0.3 05:38:30 go: finding github.com/miekg/dns v1.0.14 05:38:30 go: finding github.com/mitchellh/cli v1.0.0 05:38:30 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:38:30 go: finding github.com/mitchellh/copystructure v1.0.0 05:38:30 go: finding github.com/mitchellh/go-homedir v1.0.0 05:38:30 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:38:30 go: finding github.com/mitchellh/gox v0.4.0 05:38:30 go: finding github.com/mitchellh/iochan v1.0.0 05:38:30 go: finding github.com/mitchellh/mapstructure v1.1.2 05:38:30 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:38:30 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:38:30 go: finding github.com/pelletier/go-toml v1.2.0 05:38:30 go: finding github.com/pkg/errors v0.8.1 05:38:30 go: finding github.com/pmezard/go-difflib v1.0.0 05:38:30 go: finding github.com/posener/complete v1.1.1 05:38:30 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:38:30 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:38:30 go: finding github.com/soniah/gosnmp v1.21.0 05:38:30 go: finding github.com/stretchr/objx v0.1.0 05:38:30 go: finding github.com/stretchr/testify v1.5.1 05:38:30 go: finding github.com/ugorji/go v1.1.4 05:38:30 go: finding github.com/x448/float16 v0.8.4 05:38:30 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:38:30 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:38:30 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:38:30 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:38:30 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:38:30 go: finding gopkg.in/yaml.v2 v2.2.8 05:38:40 Removing intermediate container e4641731413f 05:38:40 ---> 2642d64c0b4e 05:38:40 Successfully built 2642d64c0b4e 05:38:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:38:41 + docker inspect -f . ci-base-image-arm64 05:38:41 . [Pipeline] withDockerContainer 05:38:41 prd-ubuntu18.04-docker-arm64-4c-16g-2706 does not seem to be running inside a container 05:38:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/7 -v /w/workspace/device-snmp-go/7:/w/workspace/device-snmp-go/7:rw,z -v /w/workspace/device-snmp-go/7@tmp:/w/workspace/device-snmp-go/7@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 ******** ci-base-image-arm64 cat 05:38:43 $ docker top 911d87ef9ace4ddbd99512570c0f4033589629d07ef0880e7103498cc4c1af33 -eo pid,comm [Pipeline] { [Pipeline] sh 05:38:44 + go version 05:38:44 go version go1.13.5 linux/arm64 [Pipeline] sh 05:38:45 + make test 05:38:45 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:38:46 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:39:19 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:39:19 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.017s coverage: 0.0% of statements 05:39:19 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:39:21 gofmt -l . 05:39:21 [ "`gofmt -l .`" = "" ] 05:39:21 ./bin/test-attribution-txt.sh 05:39:21 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:39:22 Warning: overwriting stash ‘coverage-report’ 05:39:22 Stashed 1 file(s) [Pipeline] } 05:39:22 $ docker stop --time=1 911d87ef9ace4ddbd99512570c0f4033589629d07ef0880e7103498cc4c1af33 05:39:24 $ docker rm -f 911d87ef9ace4ddbd99512570c0f4033589629d07ef0880e7103498cc4c1af33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:39:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:39:26 + ls -al . 05:39:26 total 132 05:39:26 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 05:39 . 05:39:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 05:37 .. 05:39:26 -rw-rw-r-- 1 jenkins jenkins 6 Jun 12 05:37 .dockerignore 05:39:26 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 05:37 .git 05:39:26 -rw-rw-r-- 1 jenkins jenkins 272 Jun 12 05:37 .gitignore 05:39:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 05:37 .semver 05:39:26 -rw-rw-r-- 1 jenkins jenkins 4910 Jun 12 05:37 Attribution.txt 05:39:26 -rw-rw-r-- 1 jenkins jenkins 994 Jun 12 05:37 Dockerfile 05:39:26 -rw-rw-r-- 1 jenkins jenkins 409 Jun 12 05:37 Dockerfile.build 05:39:26 -rw-rw-r-- 1 jenkins jenkins 678 Jun 12 05:37 Jenkinsfile 05:39:26 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 05:37 LICENSE 05:39:26 -rw-rw-r-- 1 jenkins jenkins 937 Jun 12 05:37 Makefile 05:39:26 -rw-rw-r-- 1 jenkins jenkins 12398 Jun 12 05:37 README.md 05:39:26 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 05:33 VERSION 05:39:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 05:37 bin 05:39:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 05:37 cmd 05:39:26 -rw-r--r-- 1 jenkins jenkins 8493 Jun 12 05:39 coverage.out 05:39:26 -rw-r--r-- 1 jenkins jenkins 203 Jun 12 05:39 go.mod 05:39:26 -rw-r--r-- 1 jenkins jenkins 12704 Jun 12 05:39 go.sum 05:39:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 05:37 internal 05:39:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 05:37 profiles 05:39:26 -rw-rw-r-- 1 jenkins jenkins 209 Jun 12 05:37 version.go [Pipeline] isUnix [Pipeline] sh 05:39:26 + 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-dev.1 . 05:39:26 Sending build context to Docker daemon 375.8kB 05:39:26 Step 1/25 : ARG BASE=golang:1.13-alpine 05:39:26 Step 2/25 : FROM ${BASE} AS builder 05:39:26 ---> 2642d64c0b4e 05:39:26 Step 3/25 : ARG MAKE='make build' 05:39:27 ---> Running in 8ec576d22a04 05:39:27 Removing intermediate container 8ec576d22a04 05:39:27 ---> b1ecd55df50e 05:39:27 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 05:39:27 ---> Running in 660fc139a5fa 05:39:28 Removing intermediate container 660fc139a5fa 05:39:28 ---> f7f47fac0e19 05:39:28 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 05:39:28 ---> Running in 9487667a3287 05:39:28 Removing intermediate container 9487667a3287 05:39:28 ---> 13d518b15bba 05:39:28 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:39:28 ---> Running in 63ac12f3c176 05:39:31 Removing intermediate container 63ac12f3c176 05:39:31 ---> 35a97f507d02 05:39:31 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:39:31 ---> Running in 099ba208df37 05:39:32 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:39:33 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:39:34 OK: 125 MiB in 39 packages 05:39:35 Removing intermediate container 099ba208df37 05:39:35 ---> 460ad9cc45e9 05:39:35 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 05:39:35 ---> Running in 0e47096abc6f 05:39:35 Removing intermediate container 0e47096abc6f 05:39:35 ---> 25cd37403884 05:39:35 Step 9/25 : COPY go.mod . 05:39:36 ---> a5658bf8b869 05:39:36 Step 10/25 : COPY Makefile . 05:39:37 ---> c2626a555dbe 05:39:37 Step 11/25 : RUN make update 05:39:37 ---> Running in 18571df47cbd 05:39:38 CGO_ENABLED=0 GO111MODULE=on go mod download 05:39:39 Removing intermediate container 18571df47cbd 05:39:39 ---> 8eb6e6d6d2a0 05:39:39 Step 12/25 : COPY . . 05:39:40 ---> e97501348590 05:39:40 Step 13/25 : RUN ${MAKE} 05:39:40 ---> Running in 3b0f4a51682f 05:39:42 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.2.1-dev.1" -o cmd/device-snmp-go ./cmd 05:40:08 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:40:14 Removing intermediate container 3b0f4a51682f 05:40:14 ---> a00b4ec4a2a5 05:40:14 Step 14/25 : FROM alpine 05:40:14 latest: Pulling from library/alpine 05:40:14 b538f80385f9: Pulling fs layer 05:40:14 b538f80385f9: Verifying Checksum 05:40:14 b538f80385f9: Download complete 05:40:14 b538f80385f9: Pull complete 05:40:14 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 05:40:14 Status: Downloaded newer image for alpine:latest 05:40:14 ---> 62ee0e9f8440 05:40:14 Step 15/25 : ENV APP_PORT=49993 05:40:15 ---> Running in 38dcac65b0b4 05:40:15 Removing intermediate container 38dcac65b0b4 05:40:15 ---> 0f44addfcd86 05:40:15 Step 16/25 : EXPOSE $APP_PORT 05:40:15 ---> Running in 86301ff6c317 05:40:15 Removing intermediate container 86301ff6c317 05:40:15 ---> c4d9d7239d92 05:40:15 Step 17/25 : ENV DEVICE_PORT=161 05:40:16 ---> Running in 9f8fb4401448 05:40:16 Removing intermediate container 9f8fb4401448 05:40:16 ---> 5dc205611f36 05:40:16 Step 18/25 : EXPOSE $DEVICE_PORT 05:40:16 ---> Running in 42fa78a0e175 05:40:17 Removing intermediate container 42fa78a0e175 05:40:17 ---> df06e90700f3 05:40:17 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 05:40:18 ---> 5b1b4f118cc1 05:40:18 Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 05:40:19 ---> d849ab8fae21 05:40:19 Step 21/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 05:40:20 ---> 32681b37e5b2 05:40:20 Step 22/25 : ENTRYPOINT ["/device-snmp-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 05:40:20 ---> Running in 53a171c9e60a 05:40:20 Removing intermediate container 53a171c9e60a 05:40:20 ---> cdcd6d6233ca 05:40:20 Step 23/25 : LABEL arch=arm64 05:40:20 ---> Running in b6ab3153f609 05:40:21 Removing intermediate container b6ab3153f609 05:40:21 ---> 7ed3c002b5f0 05:40:21 Step 24/25 : LABEL git_sha=f8f17c2013d07295decc13e984e4b5973bc1f0af 05:40:21 ---> Running in 16d682858ba2 05:40:21 Removing intermediate container 16d682858ba2 05:40:21 ---> 2b84102c484b 05:40:21 Step 25/25 : LABEL version=1.2.1-dev.1 05:40:21 ---> Running in c90d19badf64 05:40:22 Removing intermediate container c90d19badf64 05:40:22 ---> 5dac2b121d3c 05:40:22 [Warning] One or more build-args [ARCH] were not consumed 05:40:22 Successfully built 5dac2b121d3c 05:40:22 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 05:40:22 provisioning config files... 05:40:22 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/7@tmp/config7574461029969858920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:40:22 nexus3.edgexfoundry.org:10001 05:40:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:23 Configure a credential helper to remove this warning. See 05:40:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:23 05:40:23 Login Succeeded 05:40:23 nexus3.edgexfoundry.org:10002 05:40:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:23 Configure a credential helper to remove this warning. See 05:40:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:23 05:40:23 Login Succeeded 05:40:23 nexus3.edgexfoundry.org:10003 05:40:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:24 Configure a credential helper to remove this warning. See 05:40:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:24 05:40:24 Login Succeeded 05:40:24 nexus3.edgexfoundry.org:10004 05:40:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:25 Configure a credential helper to remove this warning. See 05:40:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:25 05:40:25 Login Succeeded 05:40:25 docker.io 05:40:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:25 Configure a credential helper to remove this warning. See 05:40:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:25 05:40:25 Login Succeeded [Pipeline] } 05:40:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:40:26 [edgeXDocker.push] Tagging docker image docker-device-snmp-go-arm64 with the following tags: 05:40:26 f8f17c2013d07295decc13e984e4b5973bc1f0af 05:40:26 latest 05:40:26 1.2.1-dev.1 05:40:26 f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1-dev.1 05:40:26 master 05:40:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:40:26 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:f8f17c2013d07295decc13e984e4b5973bc1f0af [Pipeline] isUnix [Pipeline] sh 05:40:26 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:f8f17c2013d07295decc13e984e4b5973bc1f0af 05:40:26 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 05:40:26 0bc4f458d2b3: Preparing 05:40:26 83f53e241acc: Preparing 05:40:26 cdccef99c625: Preparing 05:40:26 e2f13739ad41: Preparing 05:40:27 e2f13739ad41: Layer already exists 05:40:27 0bc4f458d2b3: Pushed 05:40:27 83f53e241acc: Pushed 05:40:29 cdccef99c625: Pushed 05:40:30 f8f17c2013d07295decc13e984e4b5973bc1f0af: digest: sha256:1abe7e89d4da3d75793382a9dc1b2f8a70d77507db5e0d771471c04990cb43fd size: 1155 [Pipeline] isUnix [Pipeline] sh 05:40:30 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:40:30 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest 05:40:30 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 05:40:30 0bc4f458d2b3: Preparing 05:40:30 83f53e241acc: Preparing 05:40:30 cdccef99c625: Preparing 05:40:30 e2f13739ad41: Preparing 05:40:30 cdccef99c625: Layer already exists 05:40:30 e2f13739ad41: Layer already exists 05:40:30 83f53e241acc: Layer already exists 05:40:30 0bc4f458d2b3: Layer already exists 05:40:31 latest: digest: sha256:1abe7e89d4da3d75793382a9dc1b2f8a70d77507db5e0d771471c04990cb43fd size: 1155 [Pipeline] isUnix [Pipeline] sh 05:40:31 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 05:40:31 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.2.1-dev.1 05:40:31 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 05:40:31 0bc4f458d2b3: Preparing 05:40:31 83f53e241acc: Preparing 05:40:31 cdccef99c625: Preparing 05:40:31 e2f13739ad41: Preparing 05:40:31 e2f13739ad41: Layer already exists 05:40:31 cdccef99c625: Layer already exists 05:40:31 0bc4f458d2b3: Layer already exists 05:40:31 83f53e241acc: Layer already exists 05:40:31 1.2.1-dev.1: digest: sha256:1abe7e89d4da3d75793382a9dc1b2f8a70d77507db5e0d771471c04990cb43fd size: 1155 [Pipeline] isUnix [Pipeline] sh 05:40:32 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 05:40:32 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1-dev.1 05:40:32 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 05:40:32 0bc4f458d2b3: Preparing 05:40:32 83f53e241acc: Preparing 05:40:32 cdccef99c625: Preparing 05:40:32 e2f13739ad41: Preparing 05:40:32 e2f13739ad41: Layer already exists 05:40:32 0bc4f458d2b3: Layer already exists 05:40:32 cdccef99c625: Layer already exists 05:40:32 83f53e241acc: Layer already exists 05:40:33 f8f17c2013d07295decc13e984e4b5973bc1f0af-1.2.1-dev.1: digest: sha256:1abe7e89d4da3d75793382a9dc1b2f8a70d77507db5e0d771471c04990cb43fd size: 1155 [Pipeline] isUnix [Pipeline] sh 05:40:33 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] isUnix [Pipeline] sh 05:40:33 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master 05:40:33 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 05:40:33 0bc4f458d2b3: Preparing 05:40:33 83f53e241acc: Preparing 05:40:33 cdccef99c625: Preparing 05:40:33 e2f13739ad41: Preparing 05:40:33 cdccef99c625: Layer already exists 05:40:33 83f53e241acc: Layer already exists 05:40:33 0bc4f458d2b3: Layer already exists 05:40:33 e2f13739ad41: Layer already exists 05:40:34 master: digest: sha256:1abe7e89d4da3d75793382a9dc1b2f8a70d77507db5e0d771471c04990cb43fd 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 05:40:34 provisioning config files... 05:40:35 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config6303079564549108574tmp [Pipeline] { [Pipeline] sh 05:40:35 + bash -s - -t @/w/workspace/gexfoundry_device-snmp-go_master@tmp/config6303079564549108574tmp 05:40:35 + curl -s https://codecov.io/bash 05:40:35 05:40:35 _____ _ 05:40:35 / ____| | | 05:40:35 | | ___ __| | ___ ___ _____ __ 05:40:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:40:35 | |___| (_) | (_| | __/ (_| (_) \ V / 05:40:35 \_____\___/ \__,_|\___|\___\___/ \_/ 05:40:35 Bash-20200602-f809a24 05:40:35 05:40:35 05:40:35 ==> Jenkins CI detected. 05:40:35 project root: . 05:40:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:40:35 ==> Running gcov in . (disable via -X gcov) 05:40:35 ==> Python coveragepy not found 05:40:35 ==> Searching for coverage reports in: 05:40:35 + . 05:40:35 -> Found 1 reports 05:40:35 ==> Detecting git/mercurial file structure 05:40:36 ==> Reading reports 05:40:36 + ./coverage.out bytes=8493 05:40:36 ==> Appending adjustments 05:40:36 https://docs.codecov.io/docs/fixing-reports 05:40:36 + Found adjustments 05:40:36 ==> Gzipping contents 05:40:36 ==> Uploading reports 05:40:36 url: https://codecov.io 05:40:36 query: branch=master&commit=f8f17c2013d07295decc13e984e4b5973bc1f0af&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job= 05:40:36 -> Pinging Codecov 05:40:36 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=master&commit=f8f17c2013d07295decc13e984e4b5973bc1f0af&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job= 05:40:36 -> Uploading 05:40:37 -> View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/f8f17c2013d07295decc13e984e4b5973bc1f0af [Pipeline] } 05:40:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 05:40:38 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 05:40:38 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 05:40:38 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:40:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 05:40:38 05:40:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 05:40:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 05:40:39 1.317.0: Pulling from edgex-devops/edgex-snyk-go 05:40:39 cbdbe7a5bc2a: Pulling fs layer 05:40:39 408f87550127: Pulling fs layer 05:40:39 fe522b08c979: Pulling fs layer 05:40:39 221eaa008020: Pulling fs layer 05:40:39 2a4607e5d6b9: Pulling fs layer 05:40:39 8f79b27c4fd2: Pulling fs layer 05:40:39 e5c8dbe1645b: Pulling fs layer 05:40:39 23e8b3b47431: Pulling fs layer 05:40:39 5c568d65a230: Pulling fs layer 05:40:39 2a4607e5d6b9: Waiting 05:40:39 8f79b27c4fd2: Waiting 05:40:39 e5c8dbe1645b: Waiting 05:40:39 23e8b3b47431: Waiting 05:40:39 5c568d65a230: Waiting 05:40:39 221eaa008020: Waiting 05:40:39 fe522b08c979: Verifying Checksum 05:40:39 fe522b08c979: Download complete 05:40:39 408f87550127: Verifying Checksum 05:40:39 408f87550127: Download complete 05:40:39 2a4607e5d6b9: Verifying Checksum 05:40:39 2a4607e5d6b9: Download complete 05:40:39 8f79b27c4fd2: Verifying Checksum 05:40:39 8f79b27c4fd2: Download complete 05:40:39 cbdbe7a5bc2a: Verifying Checksum 05:40:39 cbdbe7a5bc2a: Download complete 05:40:40 cbdbe7a5bc2a: Pull complete 05:40:40 408f87550127: Pull complete 05:40:40 fe522b08c979: Pull complete 05:40:41 e5c8dbe1645b: Verifying Checksum 05:40:41 e5c8dbe1645b: Download complete 05:40:43 23e8b3b47431: Verifying Checksum 05:40:43 23e8b3b47431: Download complete 05:40:44 5c568d65a230: Verifying Checksum 05:40:44 5c568d65a230: Download complete 05:40:44 221eaa008020: Verifying Checksum 05:40:44 221eaa008020: Download complete 05:40:54 221eaa008020: Pull complete 05:40:54 2a4607e5d6b9: Pull complete 05:40:55 8f79b27c4fd2: Pull complete 05:40:57 e5c8dbe1645b: Pull complete 05:41:01 23e8b3b47431: Pull complete 05:41:03 5c568d65a230: Pull complete 05:41:03 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 05:41:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 05:41:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 05:41:04 prd-centos7-docker-4c-2g-2704 does not seem to be running inside a container 05:41:04 $ 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 05:41:06 $ docker top ea4271755ada8f3c422ee1e195b2c0849cfdb140a61193cf72d19254f59408a3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:41:06 + snyk monitor '--org=edgex-jenkins' 05:41:25 05:41:25 Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... 05:41:25 05:41:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/abbee10e-412b-40bd-9f5e-eb12cff640d0 05:41:25 05:41:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:41:25 05:41:26 [Pipeline] } 05:41:26 $ docker stop --time=1 ea4271755ada8f3c422ee1e195b2c0849cfdb140a61193cf72d19254f59408a3 05:41:28 $ docker rm -f ea4271755ada8f3c422ee1e195b2c0849cfdb140a61193cf72d19254f59408a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:41:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:41:29 05:41:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 05:41:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:41:29 latest: Pulling from edgex-devops/edgex-klar 05:41:29 e7c96db7181b: Pulling fs layer 05:41:29 1868ca2cb446: Pulling fs layer 05:41:29 136be5d0fe8e: Pulling fs layer 05:41:29 894bfe63afcb: Pulling fs layer 05:41:29 894bfe63afcb: Waiting 05:41:29 1868ca2cb446: Verifying Checksum 05:41:29 1868ca2cb446: Download complete 05:41:29 136be5d0fe8e: Verifying Checksum 05:41:29 136be5d0fe8e: Download complete 05:41:30 e7c96db7181b: Verifying Checksum 05:41:30 e7c96db7181b: Download complete 05:41:30 894bfe63afcb: Verifying Checksum 05:41:30 894bfe63afcb: Download complete 05:41:30 e7c96db7181b: Pull complete 05:41:30 1868ca2cb446: Pull complete 05:41:31 136be5d0fe8e: Pull complete 05:41:31 894bfe63afcb: Pull complete 05:41:31 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 05:41:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:41:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 05:41:31 prd-centos7-docker-4c-2g-2704 does not seem to be running inside a container 05:41:32 $ 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 05:41:33 $ docker top 26bfa4641b65f1f71d7a098d2aa48e711bc96bb85dd46d92245a5c7b603198db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:33 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go:f8f17c2013d07295decc13e984e4b5973bc1f0af 05:41:33 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:41:38 $ docker stop --time=1 26bfa4641b65f1f71d7a098d2aa48e711bc96bb85dd46d92245a5c7b603198db 05:41:39 $ docker rm -f 26bfa4641b65f1f71d7a098d2aa48e711bc96bb85dd46d92245a5c7b603198db [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:41:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:41:40 . [Pipeline] withDockerContainer 05:41:40 prd-centos7-docker-4c-2g-2704 does not seem to be running inside a container 05:41:40 $ 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 05:41:41 $ docker top 9f56df53b33a1635d71922a77dd9e1905c2eb6efbe3178c4b68b8a4cf551e45e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:42 + tee 05:41:42 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go:f8f17c2013d07295decc13e984e4b5973bc1f0af 05:41:42 clair timeout 1m0s 05:41:42 docker timeout: 1m0s 05:41:42 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:41:42 $ docker stop --time=1 9f56df53b33a1635d71922a77dd9e1905c2eb6efbe3178c4b68b8a4cf551e45e 05:41:44 $ docker rm -f 9f56df53b33a1635d71922a77dd9e1905c2eb6efbe3178c4b68b8a4cf551e45e [Pipeline] // withDockerContainer [Pipeline] sh 05:41:44 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/clair-reports [Pipeline] echo 05:41:44 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 05:41:44 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 05:41:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:41:45 . [Pipeline] withDockerContainer 05:41:45 prd-centos7-docker-4c-2g-2704 does not seem to be running inside a container 05:41:45 $ 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 05:41:46 $ docker top f4a188f022bf070dfa12610215046722385b21ef82ecd914a7c5f2b9d3d7d39c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:47 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:f8f17c2013d07295decc13e984e4b5973bc1f0af 05:41:47 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:41:50 $ docker stop --time=1 f4a188f022bf070dfa12610215046722385b21ef82ecd914a7c5f2b9d3d7d39c 05:41:52 $ docker rm -f f4a188f022bf070dfa12610215046722385b21ef82ecd914a7c5f2b9d3d7d39c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:41:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:41:52 . [Pipeline] withDockerContainer 05:41:52 prd-centos7-docker-4c-2g-2704 does not seem to be running inside a container 05:41: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 05:41:53 $ docker top 334f72102603e35fc9ed59c6a450b8bc26cbe93570b14fd4d7a029540fa77a7f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:54 + /klar nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:f8f17c2013d07295decc13e984e4b5973bc1f0af 05:41:54 + tee 05:41:54 clair timeout 1m0s 05:41:54 docker timeout: 1m0s 05:41:54 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:41:54 $ docker stop --time=1 334f72102603e35fc9ed59c6a450b8bc26cbe93570b14fd4d7a029540fa77a7f 05:41:56 $ docker rm -f 334f72102603e35fc9ed59c6a450b8bc26cbe93570b14fd4d7a029540fa77a7f [Pipeline] // withDockerContainer [Pipeline] sh 05:41:56 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/clair-reports [Pipeline] echo 05:41:57 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 05:41:57 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 05:41:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:41:57 . [Pipeline] withDockerContainer 05:41:58 prd-centos7-docker-4c-2g-2704 does not seem to be running inside a container 05:41:58 $ 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 05:41:59 $ docker top c3b21ab8cdd73ee391bbf509b3f34fa529a6c39f8a2f6368964131817314ac59 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:41:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:41:59 [ssh-agent] Looking for ssh-agent implementation... 05:41:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:41:59 $ docker exec c3b21ab8cdd73ee391bbf509b3f34fa529a6c39f8a2f6368964131817314ac59 ssh-agent 05:41:59 SSH_AUTH_SOCK=/tmp/ssh-rZPUYt17kGSw/agent.11 05:41:59 SSH_AGENT_PID=16 05:41:59 Running ssh-add (command line suppressed) 05:42:00 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5459904997884617361.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5459904997884617361.key) 05:42:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:42:00 + git semver tag 05:42:00 # -> Open(): unable to determine branch for HEAD 05:42:00 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 05:42:00 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 05:42:00 # $SEMVER_REMOTE_NAME = origin 05:42:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:42:00 # $SEMVER_USER_NAME = edgex-jenkins 05:42:00 # $SEMVER_BRANCH = master 05:42:00 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 05:42:00 # f8f17c2013d07295decc13e984e4b5973bc1f0af HEAD 05:42:00 # -> Force: false 05:42:00 # 97cd426111c32c1e8c1858f1e06b7c8c5c154ee0 refs/tags/v1.2.1-dev.1 [Pipeline] } 05:42:00 $ docker exec --env ******** --env ******** c3b21ab8cdd73ee391bbf509b3f34fa529a6c39f8a2f6368964131817314ac59 ssh-agent -k 05:42:01 unset SSH_AUTH_SOCK; 05:42:01 unset SSH_AGENT_PID; 05:42:01 echo Agent pid 16 killed; 05:42:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:42:01 + git semver [Pipeline] } 05:42:02 $ docker stop --time=1 c3b21ab8cdd73ee391bbf509b3f34fa529a6c39f8a2f6368964131817314ac59 05:42:03 $ docker rm -f c3b21ab8cdd73ee391bbf509b3f34fa529a6c39f8a2f6368964131817314ac59 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:42:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:42:04 05:42:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:42:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:42:04 0.23.1-centos7: Pulling from edgex-lftools 05:42:04 ab5ef0e58194: Pulling fs layer 05:42:04 9712f1f96733: Pulling fs layer 05:42:04 63f879dbbcfc: Pulling fs layer 05:42:04 0d9ebad4ef96: Pulling fs layer 05:42:04 e9a5061849ea: Pulling fs layer 05:42:04 d747dcd14b5f: Pulling fs layer 05:42:04 2de7ff778b66: Pulling fs layer 05:42:04 e9a5061849ea: Waiting 05:42:04 d747dcd14b5f: Waiting 05:42:04 2de7ff778b66: Waiting 05:42:04 0d9ebad4ef96: Waiting 05:42:04 9712f1f96733: Verifying Checksum 05:42:04 9712f1f96733: Download complete 05:42:06 63f879dbbcfc: Verifying Checksum 05:42:06 63f879dbbcfc: Download complete 05:42:06 e9a5061849ea: Verifying Checksum 05:42:06 e9a5061849ea: Download complete 05:42:06 d747dcd14b5f: Verifying Checksum 05:42:06 d747dcd14b5f: Download complete 05:42:06 0d9ebad4ef96: Verifying Checksum 05:42:06 0d9ebad4ef96: Download complete 05:42:07 2de7ff778b66: Verifying Checksum 05:42:07 2de7ff778b66: Download complete 05:42:07 ab5ef0e58194: Verifying Checksum 05:42:07 ab5ef0e58194: Download complete 05:42:14 ab5ef0e58194: Pull complete 05:42:14 9712f1f96733: Pull complete 05:42:16 63f879dbbcfc: Pull complete 05:42:29 0d9ebad4ef96: Pull complete 05:42:29 e9a5061849ea: Pull complete 05:42:30 d747dcd14b5f: Pull complete 05:42:33 2de7ff778b66: Pull complete 05:42:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:42:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:42:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:42:33 prd-centos7-docker-4c-2g-2704 does not seem to be running inside a container 05:42:33 $ 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 05:42:37 $ docker top 90070dfdbc6387430b7fe32b979c2b6ddcd623cb0d204e08221979e2c03f3632 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:42:38 provisioning config files... 05:42:38 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config8300788471308024465tmp 05:42:38 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config4555028337874794900tmp 05:42:38 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3257350094962917137tmp [Pipeline] { [Pipeline] echo 05:42:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:42:39 ---> sigul-configuration.sh 05:42:39 gpg: directory `/root/.gnupg' created 05:42:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:42:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:42:39 gpg: keyring `/root/.gnupg/secring.gpg' created 05:42:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:42:39 gpg: CAST5 encrypted data 05:42:39 gpg: encrypted with 1 passphrase 05:42:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:42:40 + mkdir /home/jenkins 05:42:40 + mkdir /home/jenkins/sigul [Pipeline] sh 05:42:40 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 05:42:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:42:41 ---> sigul-install.sh 05:42:49 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 05:42:50 + git tag --list 05:42:50 v1.2.1-dev.1 [Pipeline] sh 05:42:50 + lftools sign git-tag v1.2.1-dev.1 05:42:52 Signing Git tag with Sigul... 05:42:52 Signing v1.2.1-dev.1 [Pipeline] echo 05:42:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:42:54 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:42:54 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:42:54 $ docker stop --time=1 90070dfdbc6387430b7fe32b979c2b6ddcd623cb0d204e08221979e2c03f3632 05:42:56 $ docker rm -f 90070dfdbc6387430b7fe32b979c2b6ddcd623cb0d204e08221979e2c03f3632 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 05:42:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:42:57 . [Pipeline] withDockerContainer 05:42:57 prd-centos7-docker-4c-2g-2704 does not seem to be running inside a container 05:42:57 $ 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 05:42:58 $ docker top 24c0edc2845979f4308d7b353af56f2b23a3a11e011ac7b7b609793f1639a489 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:42:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:42:58 [ssh-agent] Looking for ssh-agent implementation... 05:42:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:42:59 $ docker exec 24c0edc2845979f4308d7b353af56f2b23a3a11e011ac7b7b609793f1639a489 ssh-agent 05:43:00 SSH_AUTH_SOCK=/tmp/ssh-ZwxGvM6wIYCe/agent.12 05:43:00 SSH_AGENT_PID=18 05:43:00 Running ssh-add (command line suppressed) 05:43:00 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_3448076441079692764.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_3448076441079692764.key) 05:43:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:43:01 + git semver bump pre 05:43:01 # -> Open(): unable to determine branch for HEAD 05:43:01 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 05:43:01 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 05:43:01 # $SEMVER_REMOTE_NAME = origin 05:43:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:43:01 # $SEMVER_USER_NAME = edgex-jenkins 05:43:01 # $SEMVER_BRANCH = master 05:43:01 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 05:43:01 1.2.1-dev.2 [Pipeline] } 05:43:01 $ docker exec --env ******** --env ******** 24c0edc2845979f4308d7b353af56f2b23a3a11e011ac7b7b609793f1639a489 ssh-agent -k 05:43:01 unset SSH_AUTH_SOCK; 05:43:01 unset SSH_AGENT_PID; 05:43:01 echo Agent pid 18 killed; 05:43:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:43:02 + git semver [Pipeline] } 05:43:02 $ docker stop --time=1 24c0edc2845979f4308d7b353af56f2b23a3a11e011ac7b7b609793f1639a489 05:43:04 $ docker rm -f 24c0edc2845979f4308d7b353af56f2b23a3a11e011ac7b7b609793f1639a489 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:43:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:43:04 . [Pipeline] withDockerContainer 05:43:04 prd-centos7-docker-4c-2g-2704 does not seem to be running inside a container 05:43:05 $ 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 05:43:06 $ docker top 7133d0229d75d74bb2d0cc797cc63c07dddf58fb6656120d70e76cdbe2a8a7e2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:43:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:43:06 [ssh-agent] Looking for ssh-agent implementation... 05:43:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:43:06 $ docker exec 7133d0229d75d74bb2d0cc797cc63c07dddf58fb6656120d70e76cdbe2a8a7e2 ssh-agent 05:43:07 SSH_AUTH_SOCK=/tmp/ssh-XjgZ94ZuSDa4/agent.11 05:43:07 SSH_AGENT_PID=17 05:43:07 Running ssh-add (command line suppressed) 05:43:07 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_3535134832510130840.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_3535134832510130840.key) 05:43:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:43:08 + git semver push 05:43:08 # -> Open(): unable to determine branch for HEAD 05:43:08 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 05:43:08 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 05:43:08 # $SEMVER_REMOTE_NAME = origin 05:43:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:43:08 # $SEMVER_USER_NAME = edgex-jenkins 05:43:08 # $SEMVER_BRANCH = master 05:43:08 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 05:43:15 $ docker exec --env ******** --env ******** 7133d0229d75d74bb2d0cc797cc63c07dddf58fb6656120d70e76cdbe2a8a7e2 ssh-agent -k 05:43:15 unset SSH_AUTH_SOCK; 05:43:15 unset SSH_AGENT_PID; 05:43:15 echo Agent pid 17 killed; 05:43:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:43:15 + git semver [Pipeline] } 05:43:15 $ docker stop --time=1 7133d0229d75d74bb2d0cc797cc63c07dddf58fb6656120d70e76cdbe2a8a7e2 05:43:17 $ docker rm -f 7133d0229d75d74bb2d0cc797cc63c07dddf58fb6656120d70e76cdbe2a8a7e2 [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 05:43:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:43:18 ---> package-listing.sh 05:43:18 ++ tr '[:upper:]' '[:lower:]' 05:43:18 ++ facter osfamily 05:43:18 + OS_FAMILY=redhat 05:43:18 + workspace=/w/workspace/gexfoundry_device-snmp-go_master 05:43:18 + START_PACKAGES=/tmp/packages_start.txt 05:43:18 + END_PACKAGES=/tmp/packages_end.txt 05:43:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:43:18 + PACKAGES=/tmp/packages_start.txt 05:43:18 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 05:43:18 + PACKAGES=/tmp/packages_end.txt 05:43:18 + case "${OS_FAMILY}" in 05:43:18 + rpm -qa 05:43:18 + sort 05:43:23 + '[' -f /tmp/packages_start.txt ']' 05:43:23 + '[' -f /tmp/packages_end.txt ']' 05:43:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:43:23 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 05:43:23 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ 05:43:23 + 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 05:43:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:43:24 05:43:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:43:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:43:24 alpine: Pulling from edgex-lftools-log-publisher 05:43:24 c9b1b535fdd9: Pulling fs layer 05:43:24 2cc5ad85d9ab: Pulling fs layer 05:43:24 756a868c4378: Pulling fs layer 05:43:24 444b2fc9a129: Pulling fs layer 05:43:24 ea15f1150254: Pulling fs layer 05:43:24 41b27a9f41bf: Pulling fs layer 05:43:24 28c525ee5125: Pulling fs layer 05:43:24 094b1ea09ed8: Pulling fs layer 05:43:24 138eaada9080: Pulling fs layer 05:43:24 0622d0fa9048: Pulling fs layer 05:43:24 444b2fc9a129: Waiting 05:43:24 ea15f1150254: Waiting 05:43:24 41b27a9f41bf: Waiting 05:43:24 28c525ee5125: Waiting 05:43:24 094b1ea09ed8: Waiting 05:43:24 138eaada9080: Waiting 05:43:24 0622d0fa9048: Waiting 05:43:24 2cc5ad85d9ab: Verifying Checksum 05:43:24 2cc5ad85d9ab: Download complete 05:43:24 444b2fc9a129: Download complete 05:43:24 c9b1b535fdd9: Verifying Checksum 05:43:24 c9b1b535fdd9: Download complete 05:43:24 ea15f1150254: Verifying Checksum 05:43:24 ea15f1150254: Download complete 05:43:24 28c525ee5125: Verifying Checksum 05:43:24 28c525ee5125: Download complete 05:43:25 756a868c4378: Verifying Checksum 05:43:25 756a868c4378: Download complete 05:43:25 c9b1b535fdd9: Pull complete 05:43:25 138eaada9080: Verifying Checksum 05:43:25 138eaada9080: Download complete 05:43:25 0622d0fa9048: Verifying Checksum 05:43:25 0622d0fa9048: Download complete 05:43:25 094b1ea09ed8: Verifying Checksum 05:43:25 094b1ea09ed8: Download complete 05:43:26 2cc5ad85d9ab: Pull complete 05:43:26 41b27a9f41bf: Verifying Checksum 05:43:26 41b27a9f41bf: Download complete 05:43:28 756a868c4378: Pull complete 05:43:28 444b2fc9a129: Pull complete 05:43:29 ea15f1150254: Pull complete 05:43:34 41b27a9f41bf: Pull complete 05:43:34 28c525ee5125: Pull complete 05:43:38 094b1ea09ed8: Pull complete 05:43:38 138eaada9080: Pull complete 05:43:38 0622d0fa9048: Pull complete 05:43:38 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 05:43:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:43:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:43:39 prd-centos7-docker-4c-2g-2704 does not seem to be running inside a container 05:43:39 $ 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 05:43:42 $ docker top bda9070f3721865e53f932f71ce2c543281e90463a6e92d4dd3ed6303df52c1e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:43:42 provisioning config files... 05:43:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2748134768102700779tmp [Pipeline] { [Pipeline] echo 05:43:42 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:43:42 ---> create-netrc.sh [Pipeline] echo 05:43:42 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:43:43 ---> logs-deploy.sh 05:43:43 + ARCHIVE_ARTIFACTS= 05:43:43 + LOGS_SERVER=https://logs.edgexfoundry.org 05:43:43 + '[' https://logs.edgexfoundry.org == None ']' 05:43:43 + NEXUS_URL=https://nexus.edgexfoundry.org 05:43:43 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/7 05:43:43 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/master/7/ 05:43:43 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/7 /w/workspace/gexfoundry_device-snmp-go_master 05:43:44 Archives upload complete. 05:43:44 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/7 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-snmp-go/job/master/7/