Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2ca6a6137050167f4ab56441aff9642385515f05 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-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-rest-go-settings PROJECT: device-rest-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-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-7920 in /w/workspace/gexfoundry_device-rest-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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision 2ca6a6137050167f4ab56441aff9642385515f05 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 Commit message: "Merge pull request #22 from lenny-intel/logging" > git rev-list --no-walk 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:28:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:28:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:28:12 ========================================================= 21:28:12 EdgeX Global Pipelines Version Info 21:28:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:28:14 ------------------- 21:28:14 stable info: 21:28:14 ------------------- 21:28:14 Commited By: Emilio Reyes emilio.reyes@intel.com 21:28:14 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 21:28:14 Message: update stable to v1.0.87 21:28:14 ------------------- 21:28:14 experimental info: 21:28:14 ------------------- 21:28:14 Commited By: **** collab-it+edgex@linuxfoundation.org 21:28:14 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 21:28:14 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 21:28:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:28:17 21:28:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:28:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:28:17 latest: Pulling from edgex-devops/git-semver 21:28:17 9123ac7c32f7: Pulling fs layer 21:28:17 b8cc5d1170e3: Pulling fs layer 21:28:17 2924cbbf6a41: Pulling fs layer 21:28:17 93b08a4f1073: Pulling fs layer 21:28:17 93b08a4f1073: Waiting 21:28:17 b8cc5d1170e3: Verifying Checksum 21:28:17 b8cc5d1170e3: Download complete 21:28:17 9123ac7c32f7: Verifying Checksum 21:28:17 9123ac7c32f7: Download complete 21:28:17 93b08a4f1073: Verifying Checksum 21:28:17 93b08a4f1073: Download complete 21:28:17 2924cbbf6a41: Verifying Checksum 21:28:17 2924cbbf6a41: Download complete 21:28:17 9123ac7c32f7: Pull complete 21:28:18 b8cc5d1170e3: Pull complete 21:28:18 2924cbbf6a41: Pull complete 21:28:18 93b08a4f1073: Pull complete 21:28:18 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 21:28:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:28:19 prd-centos7-docker-4c-2g-7920 does not seem to be running inside a container 21:28:19 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:28:19 $ docker top 36921773c4f18569d58cf236b3a772bf16e095435bd2fe045d74bf87837865b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:28:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:28:20 [ssh-agent] Looking for ssh-agent implementation... 21:28:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:28:20 $ docker exec 36921773c4f18569d58cf236b3a772bf16e095435bd2fe045d74bf87837865b9 ssh-agent 21:28:20 SSH_AUTH_SOCK=/tmp/ssh-6a7vYTR7i0GI/agent.15 21:28:20 SSH_AGENT_PID=22 21:28:20 Running ssh-add (command line suppressed) 21:28:20 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_9096269007059622541.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_9096269007059622541.key) 21:28:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:21 + git describe --exact-match --tags HEAD 21:28:21 fatal: No names found, cannot describe anything. [Pipeline] } 21:28:21 $ docker exec --env ******** --env ******** 36921773c4f18569d58cf236b3a772bf16e095435bd2fe045d74bf87837865b9 ssh-agent -k 21:28:21 unset SSH_AUTH_SOCK; 21:28:21 unset SSH_AGENT_PID; 21:28:21 echo Agent pid 22 killed; 21:28:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 21:28:21 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 21:28:21 This usually means this commit has not been tagged. [Pipeline] sshagent 21:28:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:28:21 [ssh-agent] Looking for ssh-agent implementation... 21:28:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:28:22 $ docker exec 36921773c4f18569d58cf236b3a772bf16e095435bd2fe045d74bf87837865b9 ssh-agent 21:28:22 SSH_AUTH_SOCK=/tmp/ssh-chtpMVmIasfZ/agent.56 21:28:22 SSH_AGENT_PID=63 21:28:22 Running ssh-add (command line suppressed) 21:28:22 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2276766255701279306.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2276766255701279306.key) 21:28:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:22 + git semver init 21:28:22 # -> Open(): unable to determine branch for HEAD 21:28:22 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 21:28:22 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 21:28:22 # $SEMVER_REMOTE_NAME = origin 21:28:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:28:22 # $SEMVER_USER_NAME = edgex-jenkins 21:28:22 # $SEMVER_BRANCH = master 21:28:22 # $SEMVER_TEMP = /tmp/semver-753712257 21:28:22 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 21:28:24 # '/tmp/semver-753712257' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 21:28:24 # -> Force: false 21:28:24 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 21:28:24 $ docker exec --env ******** --env ******** 36921773c4f18569d58cf236b3a772bf16e095435bd2fe045d74bf87837865b9 ssh-agent -k 21:28:24 unset SSH_AUTH_SOCK; 21:28:24 unset SSH_AGENT_PID; 21:28:24 echo Agent pid 63 killed; 21:28:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:28:24 + git semver [Pipeline] } 21:28:24 $ docker stop --time=1 36921773c4f18569d58cf236b3a772bf16e095435bd2fe045d74bf87837865b9 21:28:26 $ docker rm -f 36921773c4f18569d58cf236b3a772bf16e095435bd2fe045d74bf87837865b9 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 21:28:27 Stashed 14 file(s) [Pipeline] echo 21:28:27 [edgeXSemver] initialized semver on version 1.0.1-dev.3 [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 21:28:42 Still waiting to schedule task 21:28:42 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:28:42 Still waiting to schedule task 21:28:42 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 21:31:02 Running on prd-centos7-docker-4c-2g-7923 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 21:31:02 Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout 21:31:04 using credential edgex-jenkins-ssh 21:31:05 Cloning the remote Git repository 21:31:05 Cloning with configured refspecs honoured and without tags 21:31:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:31:04 > git init /w/workspace/device-rest-go/6 # timeout=10 21:31:06 Fetching without tags 21:31:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:31:04 > git --version # timeout=10 21:31:04 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 21:31:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:31:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:31:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:31:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:31:05 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 21:31:06 Checking out Revision 2ca6a6137050167f4ab56441aff9642385515f05 (master) 21:31:06 > git config core.sparsecheckout # timeout=10 21:31:06 > git checkout -f 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 21:31:10 Commit message: "Merge pull request #22 from lenny-intel/logging" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:31:12 ========================================================= 21:31:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 21:31:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:31:12 + 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 . 21:31:13 Sending build context to Docker daemon 8.009MB 21:31:13 Step 1/10 : ARG BASE=golang:1.13-alpine 21:31:13 Step 2/10 : FROM ${BASE} 21:31:13 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 21:31:13 e6b0cf9c0882: Pulling fs layer 21:31:13 2848faf0eed1: Pulling fs layer 21:31:13 0f37312ad70f: Pulling fs layer 21:31:13 5788d62ee057: Pulling fs layer 21:31:13 0e6b1d234666: Pulling fs layer 21:31:13 bf5d7aec512f: Pulling fs layer 21:31:13 34c802a77dc8: Pulling fs layer 21:31:13 9eb99e56ec68: Pulling fs layer 21:31:13 27c7a5d97fbd: Pulling fs layer 21:31:13 5c102a31e300: Pulling fs layer 21:31:13 dcfb455df0a1: Pulling fs layer 21:31:13 5788d62ee057: Waiting 21:31:13 0e6b1d234666: Waiting 21:31:13 bf5d7aec512f: Waiting 21:31:13 34c802a77dc8: Waiting 21:31:13 9eb99e56ec68: Waiting 21:31:13 27c7a5d97fbd: Waiting 21:31:13 dcfb455df0a1: Waiting 21:31:13 5c102a31e300: Waiting 21:31:13 0f37312ad70f: Verifying Checksum 21:31:13 0f37312ad70f: Download complete 21:31:13 2848faf0eed1: Download complete 21:31:13 0e6b1d234666: Verifying Checksum 21:31:13 0e6b1d234666: Download complete 21:31:13 bf5d7aec512f: Verifying Checksum 21:31:13 bf5d7aec512f: Download complete 21:31:13 e6b0cf9c0882: Verifying Checksum 21:31:13 e6b0cf9c0882: Download complete 21:31:13 e6b0cf9c0882: Pull complete 21:31:13 2848faf0eed1: Pull complete 21:31:13 0f37312ad70f: Pull complete 21:31:14 34c802a77dc8: Verifying Checksum 21:31:14 34c802a77dc8: Download complete 21:31:14 27c7a5d97fbd: Verifying Checksum 21:31:14 27c7a5d97fbd: Download complete 21:31:14 5c102a31e300: Verifying Checksum 21:31:14 5c102a31e300: Download complete 21:31:14 dcfb455df0a1: Verifying Checksum 21:31:14 dcfb455df0a1: Download complete 21:31:14 9eb99e56ec68: Verifying Checksum 21:31:14 9eb99e56ec68: Download complete 21:31:15 5788d62ee057: Verifying Checksum 21:31:15 5788d62ee057: Download complete 21:31:20 5788d62ee057: Pull complete 21:31:20 0e6b1d234666: Pull complete 21:31:20 bf5d7aec512f: Pull complete 21:31:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-7922 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 21:31:23 Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout 21:31:25 34c802a77dc8: Pull complete 21:31:28 9eb99e56ec68: Pull complete 21:31:28 27c7a5d97fbd: Pull complete 21:31:29 5c102a31e300: Pull complete 21:31:29 dcfb455df0a1: Pull complete 21:31:29 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 21:31:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 21:31:29 ---> 7c70fe431013 21:31:29 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 21:31:29 ---> Running in c432b2dfb535 21:31:29 Removing intermediate container c432b2dfb535 21:31:29 ---> 31d783036e11 21:31:29 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 21:31:29 ---> Running in b27def176e3a 21:31:29 Removing intermediate container b27def176e3a 21:31:29 ---> 2270f59b87bc 21:31:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:31:29 ---> Running in 7ebc21fbcda5 21:31:29 using credential edgex-jenkins-ssh 21:31:29 Cloning the remote Git repository 21:31:29 Cloning with configured refspecs honoured and without tags 21:31:30 Removing intermediate container 7ebc21fbcda5 21:31:30 ---> c9b010db7954 21:31:30 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:31:30 ---> Running in abaef450c5f8 21:31:31 Removing intermediate container abaef450c5f8 21:31:31 ---> daef1b3cd8e3 21:31:31 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:31:31 ---> Running in 4afc73124c42 21:31:30 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:31:30 > git init /w/workspace/device-rest-go/6 # timeout=10 21:31:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:31:30 > git --version # timeout=10 21:31:30 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:30 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 21:31:31 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 21:31:32 Fetching without tags 21:31:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:31:31 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:31:32 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:31:32 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:31:32 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:32 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 21:31:32 Checking out Revision 2ca6a6137050167f4ab56441aff9642385515f05 (master) 21:31:33 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 21:31:32 > git config core.sparsecheckout # timeout=10 21:31:32 > git checkout -f 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 21:31:34 OK: 143 MiB in 39 packages 21:31:34 Removing intermediate container 4afc73124c42 21:31:34 ---> 802686f9ff73 21:31:34 Step 8/10 : WORKDIR /device-rest-go 21:31:34 ---> Running in b144e0f2a28f 21:31:34 Removing intermediate container b144e0f2a28f 21:31:34 ---> b3126e68db44 21:31:34 Step 9/10 : COPY . . 21:31:35 ---> fad756f964d2 21:31:35 Step 10/10 : RUN go mod download 21:31:35 ---> Running in 92d378a61de7 21:31:36 go: finding github.com/BurntSushi/toml v0.3.1 21:31:36 go: finding github.com/OneOfOne/xxhash v1.2.6 21:31:36 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:31:36 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:31:36 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:31:36 go: finding github.com/bgentry/speakeasy v0.1.0 21:31:36 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:31:36 go: finding github.com/davecgh/go-spew v1.1.1 21:31:36 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 21:31:36 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 21:31:36 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:31:36 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 21:31:36 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 21:31:36 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 21:31:36 go: finding github.com/fatih/color v1.7.0 21:31:36 go: finding github.com/fxamacker/cbor/v2 v2.2.0 21:31:36 go: finding github.com/go-kit/kit v0.8.0 21:31:36 go: finding github.com/go-logfmt/logfmt v0.4.0 21:31:36 go: finding github.com/go-stack/stack v1.8.0 21:31:36 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:31:36 go: finding github.com/google/uuid v1.1.0 21:31:36 go: finding github.com/gorilla/mux v1.7.1 21:31:36 go: finding github.com/hashicorp/consul/api v1.1.0 21:31:37 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:31:37 go: finding github.com/hashicorp/errwrap v1.0.0 21:31:37 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:31:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:31:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:31:37 go: finding github.com/hashicorp/go-multierror v1.0.0 21:31:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:31:37 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:31:37 go: finding github.com/hashicorp/go-syslog v1.0.0 21:31:37 go: finding github.com/hashicorp/go-uuid v1.0.1 21:31:37 go: finding github.com/hashicorp/go.net v0.0.1 21:31:37 go: finding github.com/hashicorp/golang-lru v0.5.0 21:31:37 go: finding github.com/hashicorp/logutils v1.0.0 21:31:37 go: finding github.com/hashicorp/mdns v1.0.0 21:31:37 go: finding github.com/hashicorp/memberlist v0.1.3 21:31:37 go: finding github.com/hashicorp/serf v0.8.2 21:31:37 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:31:37 go: finding github.com/mattn/go-colorable v0.0.9 21:31:37 go: finding github.com/mattn/go-isatty v0.0.3 21:31:37 go: finding github.com/miekg/dns v1.0.14 21:31:37 go: finding github.com/mitchellh/cli v1.0.0 21:31:37 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:31:37 go: finding github.com/mitchellh/copystructure v1.0.0 21:31:37 go: finding github.com/mitchellh/go-homedir v1.0.0 21:31:37 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:31:37 go: finding github.com/mitchellh/gox v0.4.0 21:31:37 go: finding github.com/mitchellh/iochan v1.0.0 21:31:37 go: finding github.com/mitchellh/mapstructure v1.1.2 21:31:37 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:31:37 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:31:37 go: finding github.com/pelletier/go-toml v1.2.0 21:31:37 Commit message: "Merge pull request #22 from lenny-intel/logging" 21:31:37 go: finding github.com/pkg/errors v0.8.1 21:31:37 go: finding github.com/pmezard/go-difflib v1.0.0 21:31:37 go: finding github.com/posener/complete v1.1.1 21:31:37 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:31:37 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:31:37 go: finding github.com/spf13/cast v1.3.0 21:31:37 go: finding github.com/stretchr/objx v0.1.0 21:31:37 go: finding github.com/stretchr/testify v1.5.1 21:31:37 go: finding github.com/ugorji/go v1.1.4 21:31:37 go: finding github.com/x448/float16 v0.8.4 21:31:37 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 21:31:37 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 21:31:37 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:31:37 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 21:31:37 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 21:31:37 go: finding gopkg.in/yaml.v2 v2.2.8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:31:38 ========================================================= 21:31:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 21:31:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:31:40 + 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 . 21:31:41 Sending build context to Docker daemon 8.009MB 21:31:41 Step 1/10 : ARG BASE=golang:1.13-alpine 21:31:41 Step 2/10 : FROM ${BASE} 21:31:41 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:31:41 cde5963f3b93: Pulling fs layer 21:31:41 2a23fa8c16f7: Pulling fs layer 21:31:41 777b28850792: Pulling fs layer 21:31:41 8a11ddd9e578: Pulling fs layer 21:31:41 4cf88f913ddb: Pulling fs layer 21:31:41 1df406cf5192: Pulling fs layer 21:31:41 cd6300453558: Pulling fs layer 21:31:41 b9c365052c96: Pulling fs layer 21:31:41 a2d8cc88f415: Pulling fs layer 21:31:41 ea1d1ca13537: Pulling fs layer 21:31:41 3750a50a1c5e: Pulling fs layer 21:31:41 8a11ddd9e578: Waiting 21:31:41 4cf88f913ddb: Waiting 21:31:41 1df406cf5192: Waiting 21:31:41 cd6300453558: Waiting 21:31:41 b9c365052c96: Waiting 21:31:41 a2d8cc88f415: Waiting 21:31:41 ea1d1ca13537: Waiting 21:31:41 3750a50a1c5e: Waiting 21:31:41 777b28850792: Verifying Checksum 21:31:41 777b28850792: Download complete 21:31:41 2a23fa8c16f7: Download complete 21:31:41 4cf88f913ddb: Verifying Checksum 21:31:41 4cf88f913ddb: Download complete 21:31:41 1df406cf5192: Verifying Checksum 21:31:41 1df406cf5192: Download complete 21:31:41 cde5963f3b93: Verifying Checksum 21:31:42 Removing intermediate container 92d378a61de7 21:31:42 ---> 107990e7ffb4 21:31:42 Successfully built 107990e7ffb4 21:31:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 21:31:42 cde5963f3b93: Pull complete [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:31:43 + docker inspect -f . ci-base-image-x86_64 21:31:43 2a23fa8c16f7: Pull complete 21:31:43 . [Pipeline] withDockerContainer 21:31:43 prd-centos7-docker-4c-2g-7923 does not seem to be running inside a container 21:31:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:31:44 777b28850792: Pull complete 21:31:44 $ docker top 15aca7b1c52120ce5db5b719e0c8e633ec661f236800e352596bd72124bd12df -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:45 + go version 21:31:45 go version go1.13.5 linux/amd64 [Pipeline] sh 21:31:45 + make test 21:31:45 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 21:31:46 cd6300453558: Verifying Checksum 21:31:46 cd6300453558: Download complete 21:31:46 a2d8cc88f415: Verifying Checksum 21:31:46 a2d8cc88f415: Download complete 21:31:46 ? github.com/edgexfoundry/device-rest-go [no test files] 21:31:49 ea1d1ca13537: Verifying Checksum 21:31:49 ea1d1ca13537: Download complete 21:31:49 3750a50a1c5e: Verifying Checksum 21:31:49 3750a50a1c5e: Download complete 21:31:52 b9c365052c96: Verifying Checksum 21:31:52 b9c365052c96: Download complete 21:31:53 8a11ddd9e578: Verifying Checksum 21:31:53 8a11ddd9e578: Download complete 21:31:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:31:57 ok github.com/edgexfoundry/device-rest-go/driver 0.123s coverage: 56.3% of statements 21:31:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:31:59 gofmt -l . 21:31:59 [ "`gofmt -l .`" = "" ] 21:31:59 ./bin/test-go-mod-tidy.sh 21:32:00 ./bin/test-attribution-txt.sh [Pipeline] stash 21:32:00 Stashed 1 file(s) [Pipeline] } 21:32:00 $ docker stop --time=1 15aca7b1c52120ce5db5b719e0c8e633ec661f236800e352596bd72124bd12df 21:32:02 $ docker rm -f 15aca7b1c52120ce5db5b719e0c8e633ec661f236800e352596bd72124bd12df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:32:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:32:03 + ls -al . 21:32:03 total 88 21:32:03 drwxrwxr-x. 7 jenkins jenkins 4096 May 11 21:32 . 21:32:03 drwxrwxr-x. 4 jenkins jenkins 28 May 11 21:31 .. 21:32:03 drwxrwxr-x. 2 jenkins jenkins 64 May 11 21:31 bin 21:32:03 drwxrwxr-x. 3 jenkins jenkins 55 May 11 21:31 cmd 21:32:03 -rw-r--r--. 1 jenkins jenkins 9369 May 11 21:31 coverage.out 21:32:03 -rw-rw-r--. 1 jenkins jenkins 1419 May 11 21:31 Dockerfile 21:32:03 -rw-rw-r--. 1 jenkins jenkins 989 May 11 21:31 Dockerfile.build 21:32:03 -rw-rw-r--. 1 jenkins jenkins 151 May 11 21:31 .dockerignore 21:32:03 drwxrwxr-x. 2 jenkins jenkins 93 May 11 21:31 driver 21:32:03 drwxrwxr-x. 8 jenkins jenkins 162 May 11 21:31 .git 21:32:03 -rw-rw-r--. 1 jenkins jenkins 339 May 11 21:31 .gitignore 21:32:03 -rw-r--r--. 1 jenkins jenkins 273 May 11 21:31 go.mod 21:32:03 -rw-r--r--. 1 jenkins jenkins 12444 May 11 21:31 go.sum 21:32:03 -rw-rw-r--. 1 jenkins jenkins 702 May 11 21:31 Jenkinsfile 21:32:03 -rw-rw-r--. 1 jenkins jenkins 11340 May 11 21:31 LICENSE 21:32:03 -rw-rw-r--. 1 jenkins jenkins 951 May 11 21:31 Makefile 21:32:03 -rw-rw-r--. 1 jenkins jenkins 5716 May 11 21:31 README.md 21:32:03 drwxrwxr-x. 3 jenkins jenkins 32 May 11 21:31 .semver 21:32:03 -rw-rw-r--. 1 jenkins jenkins 11 May 11 21:28 VERSION 21:32:03 -rw-rw-r--. 1 jenkins jenkins 713 May 11 21:31 version.go [Pipeline] isUnix [Pipeline] sh 21:32:04 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=2ca6a6137050167f4ab56441aff9642385515f05 --label arch=amd64 --label version=1.0.1-dev.3 . 21:32:04 Sending build context to Docker daemon 8.02MB 21:32:04 Step 1/23 : ARG BASE=golang:1.13-alpine 21:32:04 Step 2/23 : FROM ${BASE} AS builder 21:32:04 ---> 107990e7ffb4 21:32:04 Step 3/23 : ARG MAKE='make build' 21:32:04 ---> Running in 1f5187407d47 21:32:04 Removing intermediate container 1f5187407d47 21:32:04 ---> f849f730353e 21:32:04 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 21:32:04 ---> Running in 81c89602b45d 21:32:04 Removing intermediate container 81c89602b45d 21:32:04 ---> f02e8d553f40 21:32:04 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 21:32:04 ---> Running in b8d611171036 21:32:04 Removing intermediate container b8d611171036 21:32:04 ---> ee2bd37dedb9 21:32:04 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:32:04 ---> Running in 1eccb4a7fcf2 21:32:05 Removing intermediate container 1eccb4a7fcf2 21:32:05 ---> e44160ed3666 21:32:05 Step 7/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:32:05 ---> Running in 1f656ae49c44 21:32:05 8a11ddd9e578: Pull complete 21:32:05 4cf88f913ddb: Pull complete 21:32:05 1df406cf5192: Pull complete 21:32:05 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 21:32:07 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 21:32:09 OK: 143 MiB in 39 packages 21:32:09 Removing intermediate container 1f656ae49c44 21:32:09 ---> 73beea7b94ae 21:32:09 Step 8/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 21:32:09 ---> Running in afcda5a916fe 21:32:09 Removing intermediate container afcda5a916fe 21:32:09 ---> 157bc8d0816d 21:32:09 Step 9/23 : COPY go.mod . 21:32:10 ---> 4ea98dedf4d5 21:32:10 Step 10/23 : COPY Makefile . 21:32:10 ---> 530803349b98 21:32:10 Step 11/23 : RUN make update 21:32:10 ---> Running in 1afbb3381109 21:32:10 CGO_ENABLED=0 GO111MODULE=on go mod download 21:32:10 Removing intermediate container 1afbb3381109 21:32:10 ---> a8ff216086ac 21:32:10 Step 12/23 : COPY . . 21:32:11 ---> 0b3f6127d012 21:32:11 Step 13/23 : RUN $MAKE 21:32:11 ---> Running in 1fac9f646e3e 21:32:11 cd6300453558: Pull complete 21:32:11 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.0.1-dev.3" -o cmd/device-rest-go ./cmd 21:32:15 b9c365052c96: Pull complete 21:32:15 a2d8cc88f415: Pull complete 21:32:17 ea1d1ca13537: Pull complete 21:32:18 3750a50a1c5e: Pull complete 21:32:18 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 21:32:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 21:32:18 ---> 78745c68409d 21:32:18 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 21:32:21 Removing intermediate container 1fac9f646e3e 21:32:21 ---> 106330870cd9 21:32:21 Step 14/23 : FROM alpine:latest 21:32:21 latest: Pulling from library/alpine 21:32:21 cbdbe7a5bc2a: Pulling fs layer 21:32:21 cbdbe7a5bc2a: Download complete 21:32:22 cbdbe7a5bc2a: Pull complete 21:32:22 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 21:32:22 Status: Downloaded newer image for alpine:latest 21:32:22 ---> f70734b6a266 21:32:22 Step 15/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:32:22 ---> Running in faaef56c7992 21:32:22 Removing intermediate container faaef56c7992 21:32:22 ---> 3e8473b2a8a6 21:32:22 Step 16/23 : LABEL Name=device-rest-go Version=${VERSION} 21:32:22 ---> Running in 4b94199a7161 21:32:22 Removing intermediate container 4b94199a7161 21:32:22 ---> d09628db70d4 21:32:22 Step 17/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 21:32:22 ---> 86f809637fe3 21:32:22 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 21:32:23 ---> b82b8e64d002 21:32:23 Step 19/23 : EXPOSE 49986 21:32:23 ---> Running in e685600460b0 21:32:23 Removing intermediate container e685600460b0 21:32:23 ---> eebe3620377f 21:32:23 Step 20/23 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 21:32:23 ---> Running in b5ad9685cfc6 21:32:23 Removing intermediate container b5ad9685cfc6 21:32:23 ---> cf7e25e745dd 21:32:23 Step 21/23 : LABEL arch=amd64 21:32:23 ---> Running in c033a1d1f20f 21:32:23 Removing intermediate container c033a1d1f20f 21:32:23 ---> 74b80c87c3bb 21:32:23 Step 22/23 : LABEL git_sha=2ca6a6137050167f4ab56441aff9642385515f05 21:32:23 ---> Running in c5ebeb4544a3 21:32:23 ---> Running in 4990a75f84e1 21:32:23 Removing intermediate container 4990a75f84e1 21:32:23 ---> a84e8aed0461 21:32:23 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 21:32:23 ---> Running in 4de9bdf320e7 21:32:23 Removing intermediate container c5ebeb4544a3 21:32:23 ---> 7c3e09764fa8 21:32:23 Step 23/23 : LABEL version=1.0.1-dev.3 21:32:23 ---> Running in 5cb51a54b101 21:32:23 Removing intermediate container 5cb51a54b101 21:32:23 ---> 1909386da687 21:32:23 [Warning] One or more build-args [ARCH] were not consumed 21:32:23 Removing intermediate container 4de9bdf320e7 21:32:23 ---> 4cb3f45f1184 21:32:23 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:32:24 Successfully built 1909386da687 21:32:24 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 21:32:24 ---> Running in 2be46e11fcad [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:32:24 provisioning config files... 21:32:24 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config154719810165231911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:24 Removing intermediate container 2be46e11fcad 21:32:24 ---> a9c7b3cd003c 21:32:24 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:32:24 ---> Running in 160c34de7d3b 21:32:24 nexus3.edgexfoundry.org:10001 21:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:25 Configure a credential helper to remove this warning. See 21:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:25 21:32:25 Login Succeeded 21:32:25 nexus3.edgexfoundry.org:10002 21:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:25 Configure a credential helper to remove this warning. See 21:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:25 21:32:25 Login Succeeded 21:32:25 nexus3.edgexfoundry.org:10003 21:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:25 Configure a credential helper to remove this warning. See 21:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:25 21:32:25 Login Succeeded 21:32:25 nexus3.edgexfoundry.org:10004 21:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:25 Configure a credential helper to remove this warning. See 21:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:25 21:32:25 Login Succeeded 21:32:25 docker.io 21:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:26 Configure a credential helper to remove this warning. See 21:32:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:26 21:32:26 Login Succeeded [Pipeline] } 21:32:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:32:26 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 21:32:26 2ca6a6137050167f4ab56441aff9642385515f05 21:32:26 latest 21:32:26 1.0.1-dev.3 21:32:26 2ca6a6137050167f4ab56441aff9642385515f05-1.0.1-dev.3 21:32:26 master 21:32:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:32:26 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:2ca6a6137050167f4ab56441aff9642385515f05 [Pipeline] isUnix [Pipeline] sh 21:32:27 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:2ca6a6137050167f4ab56441aff9642385515f05 21:32:27 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 21:32:27 28c37365f558: Preparing 21:32:27 cec17b14180b: Preparing 21:32:27 3e207b409db3: Preparing 21:32:27 3e207b409db3: Layer already exists 21:32:27 cec17b14180b: Pushed 21:32:27 Removing intermediate container 160c34de7d3b 21:32:27 ---> e3eb1ce8ab0a 21:32:27 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:32:27 ---> Running in b6cb5a27a4f9 21:32:28 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 21:32:28 28c37365f558: Pushed 21:32:28 2ca6a6137050167f4ab56441aff9642385515f05: digest: sha256:1c6cb328dd296bc2b57cea29ff477f0d85b1345b95cd2d5dbea1d0e2f45ab30b size: 947 [Pipeline] isUnix [Pipeline] sh 21:32:29 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 21:32:29 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 21:32:29 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 21:32:29 28c37365f558: Preparing 21:32:29 cec17b14180b: Preparing 21:32:29 3e207b409db3: Preparing 21:32:29 28c37365f558: Layer already exists 21:32:29 3e207b409db3: Layer already exists 21:32:29 cec17b14180b: Layer already exists 21:32:29 latest: digest: sha256:1c6cb328dd296bc2b57cea29ff477f0d85b1345b95cd2d5dbea1d0e2f45ab30b size: 947 [Pipeline] isUnix [Pipeline] sh 21:32:29 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh 21:32:29 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 21:32:30 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.0.1-dev.3 21:32:30 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 21:32:30 28c37365f558: Preparing 21:32:30 cec17b14180b: Preparing 21:32:30 3e207b409db3: Preparing 21:32:30 28c37365f558: Layer already exists 21:32:30 cec17b14180b: Layer already exists 21:32:30 3e207b409db3: Layer already exists 21:32:30 1.0.1-dev.3: digest: sha256:1c6cb328dd296bc2b57cea29ff477f0d85b1345b95cd2d5dbea1d0e2f45ab30b size: 947 [Pipeline] isUnix [Pipeline] sh 21:32:30 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:2ca6a6137050167f4ab56441aff9642385515f05-1.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh 21:32:30 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:2ca6a6137050167f4ab56441aff9642385515f05-1.0.1-dev.3 21:32:30 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 21:32:30 28c37365f558: Preparing 21:32:30 cec17b14180b: Preparing 21:32:30 3e207b409db3: Preparing 21:32:30 cec17b14180b: Layer already exists 21:32:30 3e207b409db3: Layer already exists 21:32:30 28c37365f558: Layer already exists 21:32:30 2ca6a6137050167f4ab56441aff9642385515f05-1.0.1-dev.3: digest: sha256:1c6cb328dd296bc2b57cea29ff477f0d85b1345b95cd2d5dbea1d0e2f45ab30b size: 947 [Pipeline] isUnix [Pipeline] sh 21:32:31 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 21:32:31 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 21:32:31 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 21:32:31 28c37365f558: Preparing 21:32:31 cec17b14180b: Preparing 21:32:31 3e207b409db3: Preparing 21:32:31 3e207b409db3: Layer already exists 21:32:31 cec17b14180b: Layer already exists 21:32:31 28c37365f558: Layer already exists 21:32:31 master: digest: sha256:1c6cb328dd296bc2b57cea29ff477f0d85b1345b95cd2d5dbea1d0e2f45ab30b size: 947 [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] } 21:32:31 OK: 125 MiB in 39 packages [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:32:32 Removing intermediate container b6cb5a27a4f9 21:32:32 ---> e03cc40667c4 21:32:32 Step 8/10 : WORKDIR /device-rest-go 21:32:33 ---> Running in 8c1491bcfb29 21:32:33 Removing intermediate container 8c1491bcfb29 21:32:33 ---> fba8c58b5161 21:32:33 Step 9/10 : COPY . . 21:32:34 ---> feae5b8a328f 21:32:34 Step 10/10 : RUN go mod download 21:32:35 ---> Running in 2949faba9810 21:32:36 go: finding github.com/BurntSushi/toml v0.3.1 21:32:36 go: finding github.com/OneOfOne/xxhash v1.2.6 21:32:36 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:32:36 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:32:36 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:32:36 go: finding github.com/bgentry/speakeasy v0.1.0 21:32:36 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:32:36 go: finding github.com/davecgh/go-spew v1.1.1 21:32:36 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 21:32:36 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 21:32:36 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:32:36 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 21:32:36 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 21:32:36 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 21:32:36 go: finding github.com/fatih/color v1.7.0 21:32:36 go: finding github.com/fxamacker/cbor/v2 v2.2.0 21:32:36 go: finding github.com/go-kit/kit v0.8.0 21:32:37 go: finding github.com/go-logfmt/logfmt v0.4.0 21:32:37 go: finding github.com/go-stack/stack v1.8.0 21:32:37 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:32:37 go: finding github.com/google/uuid v1.1.0 21:32:37 go: finding github.com/gorilla/mux v1.7.1 21:32:37 go: finding github.com/hashicorp/consul/api v1.1.0 21:32:37 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:32:37 go: finding github.com/hashicorp/errwrap v1.0.0 21:32:37 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:32:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:32:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:32:37 go: finding github.com/hashicorp/go-multierror v1.0.0 21:32:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:32:37 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:32:37 go: finding github.com/hashicorp/go-syslog v1.0.0 21:32:37 go: finding github.com/hashicorp/go-uuid v1.0.1 21:32:37 go: finding github.com/hashicorp/go.net v0.0.1 21:32:37 go: finding github.com/hashicorp/golang-lru v0.5.0 21:32:37 go: finding github.com/hashicorp/logutils v1.0.0 21:32:37 go: finding github.com/hashicorp/mdns v1.0.0 21:32:37 go: finding github.com/hashicorp/memberlist v0.1.3 21:32:37 go: finding github.com/hashicorp/serf v0.8.2 21:32:37 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:32:37 go: finding github.com/mattn/go-colorable v0.0.9 21:32:37 go: finding github.com/mattn/go-isatty v0.0.3 21:32:37 go: finding github.com/miekg/dns v1.0.14 21:32:37 go: finding github.com/mitchellh/cli v1.0.0 21:32:37 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:32:37 go: finding github.com/mitchellh/copystructure v1.0.0 21:32:37 go: finding github.com/mitchellh/go-homedir v1.0.0 21:32:37 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:32:37 go: finding github.com/mitchellh/gox v0.4.0 21:32:37 go: finding github.com/mitchellh/iochan v1.0.0 21:32:37 go: finding github.com/mitchellh/mapstructure v1.1.2 21:32:37 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:32:37 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:32:37 go: finding github.com/pelletier/go-toml v1.2.0 21:32:37 go: finding github.com/pkg/errors v0.8.1 21:32:37 go: finding github.com/pmezard/go-difflib v1.0.0 21:32:37 go: finding github.com/posener/complete v1.1.1 21:32:37 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:32:37 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:32:37 go: finding github.com/spf13/cast v1.3.0 21:32:37 go: finding github.com/stretchr/objx v0.1.0 21:32:37 go: finding github.com/stretchr/testify v1.5.1 21:32:37 go: finding github.com/ugorji/go v1.1.4 21:32:37 go: finding github.com/x448/float16 v0.8.4 21:32:37 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 21:32:37 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 21:32:37 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:32:38 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 21:32:38 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 21:32:38 go: finding gopkg.in/yaml.v2 v2.2.8 21:32:48 Removing intermediate container 2949faba9810 21:32:48 ---> 556bf256b0a9 21:32:48 Successfully built 556bf256b0a9 21:32:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:32:48 + docker inspect -f . ci-base-image-arm64 21:32:49 . [Pipeline] withDockerContainer 21:32:49 prd-ubuntu18.04-docker-arm64-4c-16g-7922 does not seem to be running inside a container 21:32:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:32:51 $ docker top 766d4a5c077eb56b64953605677c3e1999c4e4d8e3170c20d12d77e5ef12dd28 -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:52 + go version 21:32:52 go version go1.13.5 linux/arm64 [Pipeline] sh 21:32:54 + make test 21:32:54 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 21:32:55 ? github.com/edgexfoundry/device-rest-go [no test files] 21:33:27 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:33:29 ok github.com/edgexfoundry/device-rest-go/driver 0.136s coverage: 56.3% of statements 21:33:29 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:33:36 gofmt -l . 21:33:36 [ "`gofmt -l .`" = "" ] 21:33:36 ./bin/test-go-mod-tidy.sh 21:33:36 ./bin/test-attribution-txt.sh [Pipeline] stash 21:33:37 Warning: overwriting stash ‘coverage-report’ 21:33:38 Stashed 1 file(s) [Pipeline] } 21:33:38 $ docker stop --time=1 766d4a5c077eb56b64953605677c3e1999c4e4d8e3170c20d12d77e5ef12dd28 21:33:40 $ docker rm -f 766d4a5c077eb56b64953605677c3e1999c4e4d8e3170c20d12d77e5ef12dd28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:33:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:33:42 + ls -al . 21:33:42 total 112 21:33:42 drwxrwxr-x 7 jenkins jenkins 4096 May 11 21:33 . 21:33:42 drwxrwxr-x 4 jenkins jenkins 4096 May 11 21:31 .. 21:33:42 -rw-rw-r-- 1 jenkins jenkins 151 May 11 21:31 .dockerignore 21:33:42 drwxrwxr-x 8 jenkins jenkins 4096 May 11 21:31 .git 21:33:42 -rw-rw-r-- 1 jenkins jenkins 339 May 11 21:31 .gitignore 21:33:42 drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:31 .semver 21:33:42 -rw-rw-r-- 1 jenkins jenkins 1419 May 11 21:31 Dockerfile 21:33:42 -rw-rw-r-- 1 jenkins jenkins 989 May 11 21:31 Dockerfile.build 21:33:42 -rw-rw-r-- 1 jenkins jenkins 702 May 11 21:31 Jenkinsfile 21:33:42 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 21:31 LICENSE 21:33:42 -rw-rw-r-- 1 jenkins jenkins 951 May 11 21:31 Makefile 21:33:42 -rw-rw-r-- 1 jenkins jenkins 5716 May 11 21:31 README.md 21:33:42 -rw-rw-r-- 1 jenkins jenkins 11 May 11 21:28 VERSION 21:33:42 drwxrwxr-x 2 jenkins jenkins 4096 May 11 21:31 bin 21:33:42 drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:31 cmd 21:33:42 -rw-r--r-- 1 jenkins jenkins 9369 May 11 21:33 coverage.out 21:33:42 drwxrwxr-x 2 jenkins jenkins 4096 May 11 21:33 driver 21:33:42 -rw-r--r-- 1 jenkins jenkins 273 May 11 21:33 go.mod 21:33:42 -rw-r--r-- 1 jenkins jenkins 12444 May 11 21:33 go.sum 21:33:42 -rw-rw-r-- 1 jenkins jenkins 713 May 11 21:31 version.go [Pipeline] isUnix [Pipeline] sh 21:33:43 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2ca6a6137050167f4ab56441aff9642385515f05 --label arch=arm64 --label version=1.0.1-dev.3 . 21:33:43 Sending build context to Docker daemon 8.02MB 21:33:43 Step 1/23 : ARG BASE=golang:1.13-alpine 21:33:43 Step 2/23 : FROM ${BASE} AS builder 21:33:43 ---> 556bf256b0a9 21:33:43 Step 3/23 : ARG MAKE='make build' 21:33:43 ---> Running in 67fbe6034fbe 21:33:44 Removing intermediate container 67fbe6034fbe 21:33:44 ---> c1a4b10cc2d8 21:33:44 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 21:33:44 ---> Running in 2939b5ffe973 21:33:44 Removing intermediate container 2939b5ffe973 21:33:44 ---> 9058872b21fa 21:33:44 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 21:33:45 ---> Running in e120a0b5256c 21:33:45 Removing intermediate container e120a0b5256c 21:33:45 ---> e81e4be10e51 21:33:45 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:33:45 ---> Running in ec33e60351be 21:33:47 Removing intermediate container ec33e60351be 21:33:47 ---> 187161542918 21:33:47 Step 7/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:33:47 ---> Running in 4cf768bebd09 21:33:48 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 21:33:49 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 21:33:51 OK: 125 MiB in 39 packages 21:33:52 Removing intermediate container 4cf768bebd09 21:33:52 ---> 4468870754ef 21:33:52 Step 8/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 21:33:52 ---> Running in 143644d87e0f 21:33:52 Removing intermediate container 143644d87e0f 21:33:52 ---> 0adfcddb783a 21:33:52 Step 9/23 : COPY go.mod . 21:33:53 ---> 64f6c1746758 21:33:53 Step 10/23 : COPY Makefile . 21:33:54 ---> eabe5f4307ab 21:33:54 Step 11/23 : RUN make update 21:33:54 ---> Running in 2a9d45809e20 21:33:55 CGO_ENABLED=0 GO111MODULE=on go mod download 21:33:56 Removing intermediate container 2a9d45809e20 21:33:56 ---> fbfc3b40a6a7 21:33:56 Step 12/23 : COPY . . 21:33:57 ---> e9d23deb16c2 21:33:57 Step 13/23 : RUN $MAKE 21:33:57 ---> Running in 39d1e319221f 21:33:58 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.0.1-dev.3" -o cmd/device-rest-go ./cmd 21:34:30 Removing intermediate container 39d1e319221f 21:34:30 ---> 4075fad50a94 21:34:30 Step 14/23 : FROM alpine:latest 21:34:30 latest: Pulling from library/alpine 21:34:30 29e5d40040c1: Pulling fs layer 21:34:30 29e5d40040c1: Download complete 21:34:30 29e5d40040c1: Pull complete 21:34:30 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 21:34:30 Status: Downloaded newer image for alpine:latest 21:34:30 ---> c20d2a9ab686 21:34:30 Step 15/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:34:30 ---> Running in 97ffbcb5e524 21:34:30 Removing intermediate container 97ffbcb5e524 21:34:30 ---> ea2a541f85f4 21:34:30 Step 16/23 : LABEL Name=device-rest-go Version=${VERSION} 21:34:30 ---> Running in 2735c18d959a 21:34:30 Removing intermediate container 2735c18d959a 21:34:30 ---> 20edf7c48b7a 21:34:30 Step 17/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 21:34:30 ---> 0419365a28f3 21:34:30 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 21:34:30 ---> 6d014954809c 21:34:30 Step 19/23 : EXPOSE 49986 21:34:30 ---> Running in 29f6eff7caf6 21:34:31 Removing intermediate container 29f6eff7caf6 21:34:31 ---> 366d8e25a6c7 21:34:31 Step 20/23 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 21:34:31 ---> Running in 5df04d511178 21:34:31 Removing intermediate container 5df04d511178 21:34:31 ---> 417ebb56b89b 21:34:31 Step 21/23 : LABEL arch=arm64 21:34:31 ---> Running in ae279284162e 21:34:32 Removing intermediate container ae279284162e 21:34:32 ---> 59fd7f5aec21 21:34:32 Step 22/23 : LABEL git_sha=2ca6a6137050167f4ab56441aff9642385515f05 21:34:32 ---> Running in f4e12a58d07c 21:34:32 Removing intermediate container f4e12a58d07c 21:34:32 ---> 4def8307ee57 21:34:32 Step 23/23 : LABEL version=1.0.1-dev.3 21:34:32 ---> Running in ad5a0680ced7 21:34:33 Removing intermediate container ad5a0680ced7 21:34:33 ---> 18551416808d 21:34:33 [Warning] One or more build-args [ARCH] were not consumed 21:34:33 Successfully built 18551416808d 21:34:33 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:34:33 provisioning config files... 21:34:33 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config5488507952437600162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:34:34 nexus3.edgexfoundry.org:10001 21:34:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:34 Configure a credential helper to remove this warning. See 21:34:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:34 21:34:34 Login Succeeded 21:34:34 nexus3.edgexfoundry.org:10002 21:34:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:35 Configure a credential helper to remove this warning. See 21:34:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:35 21:34:35 Login Succeeded 21:34:35 nexus3.edgexfoundry.org:10003 21:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:36 Configure a credential helper to remove this warning. See 21:34:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:36 21:34:36 Login Succeeded 21:34:36 nexus3.edgexfoundry.org:10004 21:34:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:37 Configure a credential helper to remove this warning. See 21:34:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:37 21:34:37 Login Succeeded 21:34:37 docker.io 21:34:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:38 Configure a credential helper to remove this warning. See 21:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:38 21:34:38 Login Succeeded [Pipeline] } 21:34:38 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:34:38 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 21:34:38 2ca6a6137050167f4ab56441aff9642385515f05 21:34:38 latest 21:34:38 1.0.1-dev.3 21:34:38 2ca6a6137050167f4ab56441aff9642385515f05-1.0.1-dev.3 21:34:38 master 21:34:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:34:39 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:2ca6a6137050167f4ab56441aff9642385515f05 [Pipeline] isUnix [Pipeline] sh 21:34:39 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:2ca6a6137050167f4ab56441aff9642385515f05 21:34:40 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 21:34:40 5aaacbf6b397: Preparing 21:34:40 688e5d5f063b: Preparing 21:34:40 678a0785e7d2: Preparing 21:34:40 678a0785e7d2: Layer already exists 21:34:40 688e5d5f063b: Pushed 21:34:43 5aaacbf6b397: Pushed 21:34:43 2ca6a6137050167f4ab56441aff9642385515f05: digest: sha256:e79b9c17466aa5a3a19802fe36cff560477aa449acca67e7ea7aa88a7f77c8ff size: 947 [Pipeline] isUnix [Pipeline] sh 21:34:44 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:34:44 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 21:34:45 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 21:34:45 5aaacbf6b397: Preparing 21:34:45 688e5d5f063b: Preparing 21:34:45 678a0785e7d2: Preparing 21:34:45 688e5d5f063b: Layer already exists 21:34:45 5aaacbf6b397: Layer already exists 21:34:45 678a0785e7d2: Layer already exists 21:34:45 latest: digest: sha256:e79b9c17466aa5a3a19802fe36cff560477aa449acca67e7ea7aa88a7f77c8ff size: 947 [Pipeline] isUnix [Pipeline] sh 21:34:45 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh 21:34:45 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.0.1-dev.3 21:34:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 21:34:46 5aaacbf6b397: Preparing 21:34:46 688e5d5f063b: Preparing 21:34:46 678a0785e7d2: Preparing 21:34:46 5aaacbf6b397: Layer already exists 21:34:46 678a0785e7d2: Layer already exists 21:34:46 688e5d5f063b: Layer already exists 21:34:46 1.0.1-dev.3: digest: sha256:e79b9c17466aa5a3a19802fe36cff560477aa449acca67e7ea7aa88a7f77c8ff size: 947 [Pipeline] isUnix [Pipeline] sh 21:34:46 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:2ca6a6137050167f4ab56441aff9642385515f05-1.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh 21:34:47 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:2ca6a6137050167f4ab56441aff9642385515f05-1.0.1-dev.3 21:34:47 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 21:34:47 5aaacbf6b397: Preparing 21:34:47 688e5d5f063b: Preparing 21:34:47 678a0785e7d2: Preparing 21:34:47 688e5d5f063b: Layer already exists 21:34:47 5aaacbf6b397: Layer already exists 21:34:47 678a0785e7d2: Layer already exists 21:34:47 2ca6a6137050167f4ab56441aff9642385515f05-1.0.1-dev.3: digest: sha256:e79b9c17466aa5a3a19802fe36cff560477aa449acca67e7ea7aa88a7f77c8ff size: 947 [Pipeline] isUnix [Pipeline] sh 21:34:47 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 21:34:48 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 21:34:48 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 21:34:48 5aaacbf6b397: Preparing 21:34:48 688e5d5f063b: Preparing 21:34:48 678a0785e7d2: Preparing 21:34:48 688e5d5f063b: Layer already exists 21:34:48 5aaacbf6b397: Layer already exists 21:34:48 678a0785e7d2: Layer already exists 21:34:48 master: digest: sha256:e79b9c17466aa5a3a19802fe36cff560477aa449acca67e7ea7aa88a7f77c8ff size: 947 [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 21:34:49 provisioning config files... 21:34:49 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8266482468640409170tmp [Pipeline] { [Pipeline] sh 21:34:50 + curl -s https://codecov.io/bash 21:34:50 + bash -s - -t @/w/workspace/gexfoundry_device-rest-go_master@tmp/config8266482468640409170tmp 21:34:50 21:34:50 _____ _ 21:34:50 / ____| | | 21:34:50 | | ___ __| | ___ ___ _____ __ 21:34:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:34:50 | |___| (_) | (_| | __/ (_| (_) \ V / 21:34:50 \_____\___/ \__,_|\___|\___\___/ \_/ 21:34:50 Bash-tbd 21:34:50 21:34:50 21:34:50 ==> Jenkins CI detected. 21:34:50 project root: . 21:34:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:34:50 ==> Running gcov in . (disable via -X gcov) 21:34:50 ==> Python coveragepy not found 21:34:50 ==> Searching for coverage reports in: 21:34:50 + . 21:34:50 -> Found 1 reports 21:34:50 ==> Detecting git/mercurial file structure 21:34:50 ==> Reading reports 21:34:50 + ./coverage.out bytes=9369 21:34:50 ==> Appending adjustments 21:34:50 http://docs.codecov.io/docs/fixing-reports 21:34:50 + Found adjustments 21:34:50 ==> Gzipping contents 21:34:50 ==> Uploading reports 21:34:50 url: https://codecov.io 21:34:50 query: branch=master&commit=2ca6a6137050167f4ab56441aff9642385515f05&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 21:34:50 -> Pinging Codecov 21:34:50 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=2ca6a6137050167f4ab56441aff9642385515f05&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 21:34:51 -> Uploading 21:34:51 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2ca6a6137050167f4ab56441aff9642385515f05 [Pipeline] } 21:34:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 21:34:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 21:34:51 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 21:34:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:34:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 21:34:52 21:34:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 21:34:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 21:34:52 1.217.3: Pulling from edgex-devops/edgex-snyk-go 21:34:52 cbdbe7a5bc2a: Pulling fs layer 21:34:52 408f87550127: Pulling fs layer 21:34:52 fe522b08c979: Pulling fs layer 21:34:52 221eaa008020: Pulling fs layer 21:34:52 2a4607e5d6b9: Pulling fs layer 21:34:52 95d3c3421fef: Pulling fs layer 21:34:52 2fec7dd152b6: Pulling fs layer 21:34:52 d65e43aa86fe: Pulling fs layer 21:34:52 10a7cc25405e: Pulling fs layer 21:34:52 95d3c3421fef: Waiting 21:34:52 2fec7dd152b6: Waiting 21:34:52 d65e43aa86fe: Waiting 21:34:52 10a7cc25405e: Waiting 21:34:52 221eaa008020: Waiting 21:34:52 2a4607e5d6b9: Waiting 21:34:52 fe522b08c979: Verifying Checksum 21:34:52 fe522b08c979: Download complete 21:34:52 408f87550127: Download complete 21:34:52 2a4607e5d6b9: Verifying Checksum 21:34:52 2a4607e5d6b9: Download complete 21:34:52 95d3c3421fef: Verifying Checksum 21:34:52 95d3c3421fef: Download complete 21:34:52 cbdbe7a5bc2a: Download complete 21:34:52 2fec7dd152b6: Verifying Checksum 21:34:52 2fec7dd152b6: Download complete 21:34:52 cbdbe7a5bc2a: Pull complete 21:34:53 d65e43aa86fe: Verifying Checksum 21:34:53 d65e43aa86fe: Download complete 21:34:53 408f87550127: Pull complete 21:34:53 10a7cc25405e: Verifying Checksum 21:34:53 10a7cc25405e: Download complete 21:34:53 fe522b08c979: Pull complete 21:34:54 221eaa008020: Download complete 21:35:00 221eaa008020: Pull complete 21:35:00 2a4607e5d6b9: Pull complete 21:35:00 95d3c3421fef: Pull complete 21:35:01 2fec7dd152b6: Pull complete 21:35:04 d65e43aa86fe: Pull complete 21:35:05 10a7cc25405e: Pull complete 21:35:05 Digest: sha256:f69c3a2814e8191a177e5024c1aa2982a1df1c15a1f5ff5a42290ad3eeac8c0b 21:35:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 21:35:05 prd-centos7-docker-4c-2g-7920 does not seem to be running inside a container 21:35:05 $ 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-rest-go_master:/ws -w /ws --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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-snyk-go:1.217.3 cat 21:35:06 $ docker top 495486dfeb84e321ede791f7341ad75cb50d135ce8e3158e65009243705759cc -eo pid,comm [Pipeline] { [Pipeline] sh 21:35:06 + snyk monitor '--org=edgex-jenkins' 21:36:14 21:36:14 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 21:36:14 21:36:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/b71ef269-821a-4d26-ac7a-097b1ab31dbe 21:36:14 21:36:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:36:14 21:36:14 [Pipeline] } 21:36:14 $ docker stop --time=1 495486dfeb84e321ede791f7341ad75cb50d135ce8e3158e65009243705759cc 21:36:15 $ docker rm -f 495486dfeb84e321ede791f7341ad75cb50d135ce8e3158e65009243705759cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:36:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 21:36:16 21:36:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 21:36:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 21:36:17 latest: Pulling from edgex-devops/edgex-klar 21:36:17 e7c96db7181b: Pulling fs layer 21:36:17 1868ca2cb446: Pulling fs layer 21:36:17 136be5d0fe8e: Pulling fs layer 21:36:17 894bfe63afcb: Pulling fs layer 21:36:17 894bfe63afcb: Waiting 21:36:17 1868ca2cb446: Verifying Checksum 21:36:17 136be5d0fe8e: Verifying Checksum 21:36:17 136be5d0fe8e: Download complete 21:36:17 e7c96db7181b: Verifying Checksum 21:36:17 e7c96db7181b: Download complete 21:36:17 894bfe63afcb: Verifying Checksum 21:36:17 894bfe63afcb: Download complete 21:36:17 e7c96db7181b: Pull complete 21:36:17 1868ca2cb446: Pull complete 21:36:17 136be5d0fe8e: Pull complete 21:36:18 894bfe63afcb: Pull complete 21:36:18 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 21:36:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 21:36:18 prd-centos7-docker-4c-2g-7920 does not seem to be running inside a container 21:36:18 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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:10003/edgex-devops/edgex-klar:latest cat 21:36:18 $ docker top a78706bec099883b1377ea1cd4445dec0b7fab994b797805852ac11ebfcda0f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:19 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:2ca6a6137050167f4ab56441aff9642385515f05 21:36:19 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 21:36:22 $ docker stop --time=1 a78706bec099883b1377ea1cd4445dec0b7fab994b797805852ac11ebfcda0f0 21:36:24 $ docker rm -f a78706bec099883b1377ea1cd4445dec0b7fab994b797805852ac11ebfcda0f0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 21:36:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 21:36:24 . [Pipeline] withDockerContainer 21:36:24 prd-centos7-docker-4c-2g-7920 does not seem to be running inside a container 21:36:24 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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:10003/edgex-devops/edgex-klar:latest cat 21:36:25 $ docker top c82026c4f5c5498c96ef2808ea70c6915d4daf6670222923aa17678075a17305 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:26 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:2ca6a6137050167f4ab56441aff9642385515f05 21:36:26 + tee 21:36:26 clair timeout 1m0s 21:36:26 docker timeout: 1m0s 21:36:26 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 21:36:26 $ docker stop --time=1 c82026c4f5c5498c96ef2808ea70c6915d4daf6670222923aa17678075a17305 21:36:28 $ docker rm -f c82026c4f5c5498c96ef2808ea70c6915d4daf6670222923aa17678075a17305 [Pipeline] // withDockerContainer [Pipeline] sh 21:36:28 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 21:36:28 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go_2ca6a6137050167f4ab56441aff9642385515f05.html [Pipeline] writeFile [Pipeline] step 21:36:28 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 21:36:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 21:36:29 . [Pipeline] withDockerContainer 21:36:29 prd-centos7-docker-4c-2g-7920 does not seem to be running inside a container 21:36:29 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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:10003/edgex-devops/edgex-klar:latest cat 21:36:29 $ docker top c4995bcc8dc856699e255884448011cc5b9e8d62a12e7b46e3fcbc00a850a953 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:30 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:2ca6a6137050167f4ab56441aff9642385515f05 21:36:30 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 21:36:33 $ docker stop --time=1 c4995bcc8dc856699e255884448011cc5b9e8d62a12e7b46e3fcbc00a850a953 21:36:35 $ docker rm -f c4995bcc8dc856699e255884448011cc5b9e8d62a12e7b46e3fcbc00a850a953 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 21:36:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 21:36:35 . [Pipeline] withDockerContainer 21:36:35 prd-centos7-docker-4c-2g-7920 does not seem to be running inside a container 21:36:35 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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:10003/edgex-devops/edgex-klar:latest cat 21:36:36 $ docker top c33336697887ebc8321981d55b0ea8801cc6a1de83270bdae2e8aabd3b903446 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:37 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:2ca6a6137050167f4ab56441aff9642385515f05 21:36:37 + tee 21:36:37 clair timeout 1m0s 21:36:37 docker timeout: 1m0s 21:36:37 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 21:36:37 $ docker stop --time=1 c33336697887ebc8321981d55b0ea8801cc6a1de83270bdae2e8aabd3b903446 21:36:39 $ docker rm -f c33336697887ebc8321981d55b0ea8801cc6a1de83270bdae2e8aabd3b903446 [Pipeline] // withDockerContainer [Pipeline] sh 21:36:39 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 21:36:39 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go-arm64_2ca6a6137050167f4ab56441aff9642385515f05.html [Pipeline] writeFile [Pipeline] step 21:36:39 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 21:36:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:36:40 . [Pipeline] withDockerContainer 21:36:40 prd-centos7-docker-4c-2g-7920 does not seem to be running inside a container 21:36:40 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 21:36:41 $ docker top 0ee58f867d76b4e2d0ac811b4d6e86060f362fc441962180c099769cc3df8913 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:36:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:41 [ssh-agent] Looking for ssh-agent implementation... 21:36:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:41 $ docker exec 0ee58f867d76b4e2d0ac811b4d6e86060f362fc441962180c099769cc3df8913 ssh-agent 21:36:42 SSH_AUTH_SOCK=/tmp/ssh-ultgDodaswlh/agent.14 21:36:42 SSH_AGENT_PID=20 21:36:42 Running ssh-add (command line suppressed) 21:36:42 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4888338224036583082.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4888338224036583082.key) 21:36:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:42 + git semver tag 21:36:42 # -> Open(): unable to determine branch for HEAD 21:36:42 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 21:36:42 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 21:36:42 # $SEMVER_REMOTE_NAME = origin 21:36:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:36:42 # $SEMVER_USER_NAME = edgex-jenkins 21:36:42 # $SEMVER_BRANCH = master 21:36:42 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 21:36:42 # 2ca6a6137050167f4ab56441aff9642385515f05 HEAD 21:36:42 # -> Force: false 21:36:42 # 4314164090ffc5f612791c51ffe5ed0510a51db2 refs/tags/v1.0.1-dev.3 [Pipeline] } 21:36:42 $ docker exec --env ******** --env ******** 0ee58f867d76b4e2d0ac811b4d6e86060f362fc441962180c099769cc3df8913 ssh-agent -k 21:36:43 unset SSH_AUTH_SOCK; 21:36:43 unset SSH_AGENT_PID; 21:36:43 echo Agent pid 20 killed; 21:36:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:36:43 + git semver [Pipeline] } 21:36:43 $ docker stop --time=1 0ee58f867d76b4e2d0ac811b4d6e86060f362fc441962180c099769cc3df8913 21:36:44 $ docker rm -f 0ee58f867d76b4e2d0ac811b4d6e86060f362fc441962180c099769cc3df8913 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 21:36:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:36:45 21:36:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 21:36:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:36:45 0.23.1-centos7: Pulling from edgex-lftools 21:36:45 ab5ef0e58194: Pulling fs layer 21:36:45 9712f1f96733: Pulling fs layer 21:36:45 63f879dbbcfc: Pulling fs layer 21:36:45 0d9ebad4ef96: Pulling fs layer 21:36:45 e9a5061849ea: Pulling fs layer 21:36:45 d747dcd14b5f: Pulling fs layer 21:36:45 2de7ff778b66: Pulling fs layer 21:36:45 e9a5061849ea: Waiting 21:36:45 2de7ff778b66: Waiting 21:36:45 0d9ebad4ef96: Waiting 21:36:45 d747dcd14b5f: Waiting 21:36:45 9712f1f96733: Verifying Checksum 21:36:45 9712f1f96733: Download complete 21:36:46 63f879dbbcfc: Verifying Checksum 21:36:46 63f879dbbcfc: Download complete 21:36:46 0d9ebad4ef96: Verifying Checksum 21:36:46 0d9ebad4ef96: Download complete 21:36:46 ab5ef0e58194: Verifying Checksum 21:36:46 ab5ef0e58194: Download complete 21:36:46 d747dcd14b5f: Verifying Checksum 21:36:46 d747dcd14b5f: Download complete 21:36:46 e9a5061849ea: Verifying Checksum 21:36:46 e9a5061849ea: Download complete 21:36:46 2de7ff778b66: Verifying Checksum 21:36:46 2de7ff778b66: Download complete 21:36:52 ab5ef0e58194: Pull complete 21:36:52 9712f1f96733: Pull complete 21:36:54 63f879dbbcfc: Pull complete 21:37:00 0d9ebad4ef96: Pull complete 21:37:01 e9a5061849ea: Pull complete 21:37:01 d747dcd14b5f: Pull complete 21:37:04 2de7ff778b66: Pull complete 21:37:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:37:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 21:37:04 prd-centos7-docker-4c-2g-7920 does not seem to be running inside a container 21:37:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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:10003/edgex-lftools:0.23.1-centos7 cat 21:37:05 $ docker top 5d57f531e26f71c169ece771b7f524bade15029a619bf26bc72308d2e44e4a80 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:37:05 provisioning config files... 21:37:05 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2455548766661087963tmp 21:37:05 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3653100524902152778tmp 21:37:05 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2077651835308465356tmp [Pipeline] { [Pipeline] echo 21:37:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:37:06 ---> sigul-configuration.sh 21:37:06 gpg: directory `/root/.gnupg' created 21:37:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:37:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:37:06 gpg: keyring `/root/.gnupg/secring.gpg' created 21:37:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:37:06 gpg: CAST5 encrypted data 21:37:06 gpg: encrypted with 1 passphrase 21:37:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:37:06 + mkdir /home/jenkins 21:37:06 + mkdir /home/jenkins/sigul [Pipeline] sh 21:37:06 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 21:37:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:37:07 ---> sigul-install.sh 21:37:17 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 21:37:17 + git tag --list 21:37:17 v1.0.1-dev.3 [Pipeline] sh 21:37:17 + lftools sign git-tag v1.0.1-dev.3 21:37:18 Signing Git tag with Sigul... 21:37:18 Signing v1.0.1-dev.3 [Pipeline] echo 21:37:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:37:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:37:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:37:21 $ docker stop --time=1 5d57f531e26f71c169ece771b7f524bade15029a619bf26bc72308d2e44e4a80 21:37:22 $ docker rm -f 5d57f531e26f71c169ece771b7f524bade15029a619bf26bc72308d2e44e4a80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 21:37:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:37:23 . [Pipeline] withDockerContainer 21:37:23 prd-centos7-docker-4c-2g-7920 does not seem to be running inside a container 21:37:23 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 21:37:23 $ docker top 715f8077f1aebd1298c326216c3039a176aa3941fec11c9cfa27a4a984dd6479 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:37:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:37:24 [ssh-agent] Looking for ssh-agent implementation... 21:37:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:37:24 $ docker exec 715f8077f1aebd1298c326216c3039a176aa3941fec11c9cfa27a4a984dd6479 ssh-agent 21:37:24 SSH_AUTH_SOCK=/tmp/ssh-uwHRcPepLtF8/agent.15 21:37:24 SSH_AGENT_PID=22 21:37:24 Running ssh-add (command line suppressed) 21:37:24 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5006440923997290836.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5006440923997290836.key) 21:37:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:37:25 + git semver bump pre 21:37:25 # -> Open(): unable to determine branch for HEAD 21:37:25 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 21:37:25 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 21:37:25 # $SEMVER_REMOTE_NAME = origin 21:37:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:37:25 # $SEMVER_USER_NAME = edgex-jenkins 21:37:25 # $SEMVER_BRANCH = master 21:37:25 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 21:37:25 1.0.1-dev.4 [Pipeline] } 21:37:25 $ docker exec --env ******** --env ******** 715f8077f1aebd1298c326216c3039a176aa3941fec11c9cfa27a4a984dd6479 ssh-agent -k 21:37:25 unset SSH_AUTH_SOCK; 21:37:25 unset SSH_AGENT_PID; 21:37:25 echo Agent pid 22 killed; 21:37:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:37:25 + git semver [Pipeline] } 21:37:25 $ docker stop --time=1 715f8077f1aebd1298c326216c3039a176aa3941fec11c9cfa27a4a984dd6479 21:37:27 $ docker rm -f 715f8077f1aebd1298c326216c3039a176aa3941fec11c9cfa27a4a984dd6479 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 21:37:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:37:27 . [Pipeline] withDockerContainer 21:37:27 prd-centos7-docker-4c-2g-7920 does not seem to be running inside a container 21:37:27 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 21:37:28 $ docker top f20ddb3296d82feabc8babdcf9a56ce8ee7b7e2df20ec74725534c32a5b5dee8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:37:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:37:28 [ssh-agent] Looking for ssh-agent implementation... 21:37:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:37:28 $ docker exec f20ddb3296d82feabc8babdcf9a56ce8ee7b7e2df20ec74725534c32a5b5dee8 ssh-agent 21:37:28 SSH_AUTH_SOCK=/tmp/ssh-RW6ELDjAeV7j/agent.14 21:37:28 SSH_AGENT_PID=21 21:37:28 Running ssh-add (command line suppressed) 21:37:28 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1103373221006012741.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1103373221006012741.key) 21:37:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:37:29 + git semver push 21:37:29 # -> Open(): unable to determine branch for HEAD 21:37:29 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 21:37:29 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 21:37:29 # $SEMVER_REMOTE_NAME = origin 21:37:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:37:29 # $SEMVER_USER_NAME = edgex-jenkins 21:37:29 # $SEMVER_BRANCH = master 21:37:29 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 21:37:35 $ docker exec --env ******** --env ******** f20ddb3296d82feabc8babdcf9a56ce8ee7b7e2df20ec74725534c32a5b5dee8 ssh-agent -k 21:37:36 unset SSH_AUTH_SOCK; 21:37:36 unset SSH_AGENT_PID; 21:37:36 echo Agent pid 21 killed; 21:37:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:37:36 + git semver [Pipeline] } 21:37:36 $ docker stop --time=1 f20ddb3296d82feabc8babdcf9a56ce8ee7b7e2df20ec74725534c32a5b5dee8 21:37:37 $ docker rm -f f20ddb3296d82feabc8babdcf9a56ce8ee7b7e2df20ec74725534c32a5b5dee8 [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 21:37:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:37:39 ---> package-listing.sh 21:37:39 ++ facter osfamily 21:37:39 ++ tr '[:upper:]' '[:lower:]' 21:37:39 + OS_FAMILY=redhat 21:37:39 + workspace=/w/workspace/gexfoundry_device-rest-go_master 21:37:39 + START_PACKAGES=/tmp/packages_start.txt 21:37:39 + END_PACKAGES=/tmp/packages_end.txt 21:37:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:37:39 + PACKAGES=/tmp/packages_start.txt 21:37:39 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 21:37:39 + PACKAGES=/tmp/packages_end.txt 21:37:39 + case "${OS_FAMILY}" in 21:37:39 + rpm -qa 21:37:39 + sort 21:37:43 + '[' -f /tmp/packages_start.txt ']' 21:37:43 + '[' -f /tmp/packages_end.txt ']' 21:37:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:37:43 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 21:37:43 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 21:37:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 21:37:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:37:43 21:37:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:37:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:37:44 alpine: Pulling from edgex-lftools-log-publisher 21:37:44 c9b1b535fdd9: Pulling fs layer 21:37:44 2cc5ad85d9ab: Pulling fs layer 21:37:44 756a868c4378: Pulling fs layer 21:37:44 444b2fc9a129: Pulling fs layer 21:37:44 ea15f1150254: Pulling fs layer 21:37:44 41b27a9f41bf: Pulling fs layer 21:37:44 28c525ee5125: Pulling fs layer 21:37:44 094b1ea09ed8: Pulling fs layer 21:37:44 138eaada9080: Pulling fs layer 21:37:44 0622d0fa9048: Pulling fs layer 21:37:44 ea15f1150254: Waiting 21:37:44 41b27a9f41bf: Waiting 21:37:44 28c525ee5125: Waiting 21:37:44 094b1ea09ed8: Waiting 21:37:44 138eaada9080: Waiting 21:37:44 0622d0fa9048: Waiting 21:37:44 444b2fc9a129: Waiting 21:37:44 2cc5ad85d9ab: Verifying Checksum 21:37:44 2cc5ad85d9ab: Download complete 21:37:44 444b2fc9a129: Download complete 21:37:44 c9b1b535fdd9: Verifying Checksum 21:37:44 c9b1b535fdd9: Download complete 21:37:44 ea15f1150254: Verifying Checksum 21:37:44 ea15f1150254: Download complete 21:37:44 28c525ee5125: Verifying Checksum 21:37:44 28c525ee5125: Download complete 21:37:45 756a868c4378: Verifying Checksum 21:37:45 756a868c4378: Download complete 21:37:45 138eaada9080: Verifying Checksum 21:37:45 138eaada9080: Download complete 21:37:45 c9b1b535fdd9: Pull complete 21:37:45 0622d0fa9048: Verifying Checksum 21:37:45 0622d0fa9048: Download complete 21:37:45 094b1ea09ed8: Verifying Checksum 21:37:45 094b1ea09ed8: Download complete 21:37:45 41b27a9f41bf: Verifying Checksum 21:37:45 41b27a9f41bf: Download complete 21:37:46 2cc5ad85d9ab: Pull complete 21:37:47 756a868c4378: Pull complete 21:37:47 444b2fc9a129: Pull complete 21:37:48 ea15f1150254: Pull complete 21:37:51 41b27a9f41bf: Pull complete 21:37:51 28c525ee5125: Pull complete 21:37:54 094b1ea09ed8: Pull complete 21:37:54 138eaada9080: Pull complete 21:37:54 0622d0fa9048: Pull complete 21:37:54 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 21:37:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:37:54 prd-centos7-docker-4c-2g-7920 does not seem to be running inside a container 21:37:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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:10003/edgex-lftools-log-publisher:alpine cat 21:37:55 $ docker top af6622685377cebbb011e086e2772a90ca5ba435a0f0a820291a571598348790 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:37:55 provisioning config files... 21:37:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4718942623611199765tmp [Pipeline] { [Pipeline] echo 21:37:55 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:37:55 ---> create-netrc.sh [Pipeline] echo 21:37:55 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:37:55 ---> logs-deploy.sh 21:37:55 + ARCHIVE_ARTIFACTS= 21:37:55 + LOGS_SERVER=https://logs.edgexfoundry.org 21:37:55 + '[' https://logs.edgexfoundry.org == None ']' 21:37:55 + NEXUS_URL=https://nexus.edgexfoundry.org 21:37:55 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/6 21:37:55 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/6/ 21:37:55 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/6 /w/workspace/gexfoundry_device-rest-go_master 21:37:56 Archives upload complete. 21:37:57 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/6 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/6/