Started by user Lisa Rashidi-Ranjbar Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 44d29830d52e322790143f809155a22bedb1a813 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 ‘prd-centos7-docker-4c-2g-3026’ Running on prd-centos7-docker-4c-2g-3032 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 Fetching without tags > 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 > 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 Checking out Revision 44d29830d52e322790143f809155a22bedb1a813 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 Commit message: "Merge pull request #23 from tonyespy/update-sdk-122" > git rev-list --no-walk 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:39:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:39:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:39:01 ========================================================= 15:39:01 EdgeX Global Pipelines Version Info 15:39:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:39:03 ------------------- 15:39:03 stable info: 15:39:03 ------------------- 15:39:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:39:03 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 15:39:03 Message: update stable to v1.0.89 15:39:04 ------------------- 15:39:04 experimental info: 15:39:04 ------------------- 15:39:04 Commited By: **** collab-it+edgex@linuxfoundation.org 15:39:04 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 15:39:04 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 15:39:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:39:06 15:39:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:39:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:39:06 latest: Pulling from edgex-devops/git-semver 15:39:06 9123ac7c32f7: Pulling fs layer 15:39:06 b8cc5d1170e3: Pulling fs layer 15:39:06 2924cbbf6a41: Pulling fs layer 15:39:06 93b08a4f1073: Pulling fs layer 15:39:06 93b08a4f1073: Waiting 15:39:06 b8cc5d1170e3: Verifying Checksum 15:39:06 b8cc5d1170e3: Download complete 15:39:06 9123ac7c32f7: Verifying Checksum 15:39:06 9123ac7c32f7: Download complete 15:39:06 2924cbbf6a41: Verifying Checksum 15:39:06 2924cbbf6a41: Download complete 15:39:06 93b08a4f1073: Verifying Checksum 15:39:06 93b08a4f1073: Download complete 15:39:07 9123ac7c32f7: Pull complete 15:39:07 b8cc5d1170e3: Pull complete 15:39:07 2924cbbf6a41: Pull complete 15:39:08 93b08a4f1073: Pull complete 15:39:08 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 15:39:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:39:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:39:08 prd-centos7-docker-4c-2g-3032 does not seem to be running inside a container 15:39:08 $ 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 15:39:10 $ docker top 490adbb61ab87ebe25afb8e118c233026dde20a596ead45f4b67e72be5aa008b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:39:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:39:10 [ssh-agent] Looking for ssh-agent implementation... 15:39:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:39:11 $ docker exec 490adbb61ab87ebe25afb8e118c233026dde20a596ead45f4b67e72be5aa008b ssh-agent 15:39:11 SSH_AUTH_SOCK=/tmp/ssh-9k7xJTzAQacR/agent.11 15:39:11 SSH_AGENT_PID=16 15:39:11 Running ssh-add (command line suppressed) 15:39:11 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2527775251205266840.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2527775251205266840.key) 15:39:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:39:11 + git describe --exact-match --tags HEAD 15:39:11 fatal: No names found, cannot describe anything. [Pipeline] } 15:39:11 $ docker exec --env ******** --env ******** 490adbb61ab87ebe25afb8e118c233026dde20a596ead45f4b67e72be5aa008b ssh-agent -k 15:39:11 unset SSH_AUTH_SOCK; 15:39:11 unset SSH_AGENT_PID; 15:39:11 echo Agent pid 16 killed; 15:39:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:39:11 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:39:11 This usually means this commit has not been tagged. [Pipeline] sshagent 15:39:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:39:12 [ssh-agent] Looking for ssh-agent implementation... 15:39:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:39:12 $ docker exec 490adbb61ab87ebe25afb8e118c233026dde20a596ead45f4b67e72be5aa008b ssh-agent 15:39:12 SSH_AUTH_SOCK=/tmp/ssh-9weIRjpu5RqF/agent.44 15:39:12 SSH_AGENT_PID=50 15:39:12 Running ssh-add (command line suppressed) 15:39:12 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6871241570053467723.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6871241570053467723.key) 15:39:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:39:12 + git semver init 15:39:12 # -> Open(): unable to determine branch for HEAD 15:39:12 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 15:39:12 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 15:39:12 # $SEMVER_REMOTE_NAME = origin 15:39:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:39:12 # $SEMVER_USER_NAME = edgex-jenkins 15:39:12 # $SEMVER_BRANCH = master 15:39:12 # $SEMVER_TEMP = /tmp/semver-996181433 15:39:12 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 15:39:13 # '/tmp/semver-996181433' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 15:39:13 # -> Force: false 15:39:13 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 15:39:13 $ docker exec --env ******** --env ******** 490adbb61ab87ebe25afb8e118c233026dde20a596ead45f4b67e72be5aa008b ssh-agent -k 15:39:13 unset SSH_AUTH_SOCK; 15:39:13 unset SSH_AGENT_PID; 15:39:13 echo Agent pid 50 killed; 15:39:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:39:14 + git semver [Pipeline] } 15:39:14 $ docker stop --time=1 490adbb61ab87ebe25afb8e118c233026dde20a596ead45f4b67e72be5aa008b 15:39:15 $ docker rm -f 490adbb61ab87ebe25afb8e118c233026dde20a596ead45f4b67e72be5aa008b [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:39:16 Stashed 19 file(s) [Pipeline] echo 15:39:16 [edgeXSemver] initialized semver on version 1.1.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 15:39:31 Still waiting to schedule task 15:39:31 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:39:31 Still waiting to schedule task 15:39:31 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 15:41:20 Running on prd-centos7-docker-4c-2g-3042 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 15:41:20 Running in /w/workspace/device-rest-go/10 [Pipeline] { [Pipeline] checkout 15:41:23 using credential edgex-jenkins-ssh 15:41:23 Cloning the remote Git repository 15:41:23 Cloning with configured refspecs honoured and without tags 15:41:23 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:41:23 > git init /w/workspace/device-rest-go/10 # timeout=10 15:41:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:41:23 > git --version # timeout=10 15:41:23 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:41:26 Fetching without tags 15:41:26 Checking out Revision 44d29830d52e322790143f809155a22bedb1a813 (master) 15:41:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:41:26 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:41:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:41:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:41:26 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:41:26 > git config core.sparsecheckout # timeout=10 15:41:26 > git checkout -f 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 15:41:30 Commit message: "Merge pull request #23 from tonyespy/update-sdk-122" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:41:31 ========================================================= 15:41:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 15:41:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:41:32 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 15:41:32 Sending build context to Docker daemon 8.016MB 15:41:32 Step 1/10 : ARG BASE=golang:1.13-alpine 15:41:32 Step 2/10 : FROM ${BASE} 15:41:32 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 15:41:32 e6b0cf9c0882: Pulling fs layer 15:41:32 2848faf0eed1: Pulling fs layer 15:41:32 0f37312ad70f: Pulling fs layer 15:41:32 5788d62ee057: Pulling fs layer 15:41:32 0e6b1d234666: Pulling fs layer 15:41:32 bf5d7aec512f: Pulling fs layer 15:41:32 34c802a77dc8: Pulling fs layer 15:41:32 9eb99e56ec68: Pulling fs layer 15:41:32 27c7a5d97fbd: Pulling fs layer 15:41:32 5c102a31e300: Pulling fs layer 15:41:32 dcfb455df0a1: Pulling fs layer 15:41:32 34c802a77dc8: Waiting 15:41:32 9eb99e56ec68: Waiting 15:41:32 27c7a5d97fbd: Waiting 15:41:32 5c102a31e300: Waiting 15:41:32 dcfb455df0a1: Waiting 15:41:32 5788d62ee057: Waiting 15:41:32 0e6b1d234666: Waiting 15:41:32 bf5d7aec512f: Waiting 15:41:32 0f37312ad70f: Verifying Checksum 15:41:32 0f37312ad70f: Download complete 15:41:32 2848faf0eed1: Verifying Checksum 15:41:32 2848faf0eed1: Download complete 15:41:32 0e6b1d234666: Verifying Checksum 15:41:32 0e6b1d234666: Download complete 15:41:32 bf5d7aec512f: Verifying Checksum 15:41:32 bf5d7aec512f: Download complete 15:41:32 e6b0cf9c0882: Verifying Checksum 15:41:32 e6b0cf9c0882: Pull complete 15:41:33 2848faf0eed1: Pull complete 15:41:33 34c802a77dc8: Verifying Checksum 15:41:33 34c802a77dc8: Download complete 15:41:33 27c7a5d97fbd: Verifying Checksum 15:41:33 27c7a5d97fbd: Download complete 15:41:34 5c102a31e300: Verifying Checksum 15:41:34 5c102a31e300: Download complete 15:41:34 dcfb455df0a1: Verifying Checksum 15:41:34 dcfb455df0a1: Download complete 15:41:34 5788d62ee057: Verifying Checksum 15:41:34 5788d62ee057: Download complete 15:41:34 9eb99e56ec68: Verifying Checksum 15:41:35 0f37312ad70f: Pull complete 15:41:41 5788d62ee057: Pull complete 15:41:41 0e6b1d234666: Pull complete 15:41:41 bf5d7aec512f: Pull complete 15:41:46 34c802a77dc8: Pull complete 15:41:48 9eb99e56ec68: Pull complete 15:41:48 27c7a5d97fbd: Pull complete 15:41:49 5c102a31e300: Pull complete 15:41:49 dcfb455df0a1: Pull complete 15:41:49 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 15:41:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 15:41:49 ---> 7c70fe431013 15:41:49 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 15:41:50 ---> Running in e921c72a7eb4 15:41:50 Removing intermediate container e921c72a7eb4 15:41:50 ---> 0be11af13420 15:41:50 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:41:50 ---> Running in 9db8928d9322 15:41:50 Removing intermediate container 9db8928d9322 15:41:50 ---> db86a83fff78 15:41:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:41:50 ---> Running in 9809286cbd2d 15:41:50 Removing intermediate container 9809286cbd2d 15:41:50 ---> 75dfc7b12d1d 15:41:50 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:41:51 ---> Running in 8599182847c7 15:41:52 Removing intermediate container 8599182847c7 15:41:52 ---> a2ebeab94130 15:41:52 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:41:52 ---> Running in 397b0efc507f 15:41:53 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:41:54 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:41:54 OK: 143 MiB in 39 packages 15:41:54 Removing intermediate container 397b0efc507f 15:41:54 ---> 45385b0a6a97 15:41:54 Step 8/10 : WORKDIR /device-rest-go 15:41:54 ---> Running in c14f0f2d509e 15:41:55 Removing intermediate container c14f0f2d509e 15:41:55 ---> bb11d42e9287 15:41:55 Step 9/10 : COPY . . 15:41:55 ---> cbc5473d64da 15:41:55 Step 10/10 : RUN go mod download 15:41:55 ---> Running in a54a2eb77e75 15:41:57 go: finding github.com/BurntSushi/toml v0.3.1 15:41:57 go: finding github.com/OneOfOne/xxhash v1.2.6 15:41:57 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:41:57 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:41:57 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:41:57 go: finding github.com/bgentry/speakeasy v0.1.0 15:41:57 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:41:57 go: finding github.com/davecgh/go-spew v1.1.1 15:41:57 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 15:41:57 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 15:41:57 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:41:57 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:41:57 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:41:57 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:41:57 go: finding github.com/fatih/color v1.7.0 15:41:57 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:41:57 go: finding github.com/go-kit/kit v0.8.0 15:41:57 go: finding github.com/go-logfmt/logfmt v0.4.0 15:41:57 go: finding github.com/go-stack/stack v1.8.0 15:41:57 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:41:57 go: finding github.com/google/uuid v1.1.0 15:41:57 go: finding github.com/gorilla/mux v1.7.1 15:41:57 go: finding github.com/hashicorp/consul/api v1.1.0 15:41:57 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:41:57 go: finding github.com/hashicorp/errwrap v1.0.0 15:41:57 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:41:57 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:41:57 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:41:57 go: finding github.com/hashicorp/go-multierror v1.0.0 15:41:57 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:41:57 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:41:57 go: finding github.com/hashicorp/go-syslog v1.0.0 15:41:57 go: finding github.com/hashicorp/go-uuid v1.0.1 15:41:57 go: finding github.com/hashicorp/go.net v0.0.1 15:41:57 go: finding github.com/hashicorp/golang-lru v0.5.0 15:41:57 go: finding github.com/hashicorp/logutils v1.0.0 15:41:57 go: finding github.com/hashicorp/mdns v1.0.0 15:41:57 go: finding github.com/hashicorp/memberlist v0.1.3 15:41:57 go: finding github.com/hashicorp/serf v0.8.2 15:41:57 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:41:57 go: finding github.com/mattn/go-colorable v0.0.9 15:41:57 go: finding github.com/mattn/go-isatty v0.0.3 15:41:57 go: finding github.com/miekg/dns v1.0.14 15:41:57 go: finding github.com/mitchellh/cli v1.0.0 15:41:57 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:41:57 go: finding github.com/mitchellh/copystructure v1.0.0 15:41:57 go: finding github.com/mitchellh/go-homedir v1.0.0 15:41:57 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:41:57 go: finding github.com/mitchellh/gox v0.4.0 15:41:57 go: finding github.com/mitchellh/iochan v1.0.0 15:41:57 go: finding github.com/mitchellh/mapstructure v1.1.2 15:41:57 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:41:57 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:41:57 go: finding github.com/pelletier/go-toml v1.2.0 15:41:57 go: finding github.com/pkg/errors v0.8.1 15:41:57 go: finding github.com/pmezard/go-difflib v1.0.0 15:41:57 go: finding github.com/posener/complete v1.1.1 15:41:57 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:41:57 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:41:57 go: finding github.com/spf13/cast v1.3.0 15:41:57 go: finding github.com/stretchr/objx v0.1.0 15:41:57 go: finding github.com/stretchr/testify v1.5.1 15:41:57 go: finding github.com/ugorji/go v1.1.4 15:41:57 go: finding github.com/x448/float16 v0.8.4 15:41:57 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:41:57 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:41:57 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:41:57 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:41:57 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:41:57 go: finding gopkg.in/yaml.v2 v2.2.8 15:42:06 Removing intermediate container a54a2eb77e75 15:42:06 ---> 6e7a600817fc 15:42:06 Successfully built 6e7a600817fc 15:42:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:42:06 + docker inspect -f . ci-base-image-x86_64 15:42:06 . [Pipeline] withDockerContainer 15:42:06 prd-centos7-docker-4c-2g-3042 does not seem to be running inside a container 15:42:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:42:08 $ docker top 70562bebdb9d87c2e5ada26ae35c18a7d70ff0cdc1c218c60256981cab054420 -eo pid,comm [Pipeline] { [Pipeline] sh 15:42:08 + go version 15:42:08 go version go1.13.5 linux/amd64 [Pipeline] sh 15:42:08 + make test 15:42:08 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:42:09 ? github.com/edgexfoundry/device-rest-go [no test files] 15:42:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:42:19 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 56.3% of statements 15:42:19 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:42:21 gofmt -l . 15:42:21 [ "`gofmt -l .`" = "" ] 15:42:21 ./bin/test-go-mod-tidy.sh 15:42:22 ./bin/test-attribution-txt.sh [Pipeline] stash 15:42:22 Stashed 1 file(s) [Pipeline] } 15:42:22 $ docker stop --time=1 70562bebdb9d87c2e5ada26ae35c18a7d70ff0cdc1c218c60256981cab054420 15:42:24 $ docker rm -f 70562bebdb9d87c2e5ada26ae35c18a7d70ff0cdc1c218c60256981cab054420 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:42:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:42:26 + ls -al . 15:42:26 total 96 15:42:26 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 15 15:42 . 15:42:26 drwxrwxr-x. 4 jenkins jenkins 30 Jun 15 15:41 .. 15:42:26 -rw-rw-r--. 1 jenkins jenkins 4802 Jun 15 15:41 Attribution.txt 15:42:26 drwxrwxr-x. 2 jenkins jenkins 64 Jun 15 15:41 bin 15:42:26 drwxrwxr-x. 3 jenkins jenkins 32 Jun 15 15:41 cmd 15:42:26 -rw-r--r--. 1 jenkins jenkins 9369 Jun 15 15:42 coverage.out 15:42:26 -rw-rw-r--. 1 jenkins jenkins 1504 Jun 15 15:41 Dockerfile 15:42:26 -rw-rw-r--. 1 jenkins jenkins 989 Jun 15 15:41 Dockerfile.build 15:42:26 -rw-rw-r--. 1 jenkins jenkins 151 Jun 15 15:41 .dockerignore 15:42:26 drwxrwxr-x. 2 jenkins jenkins 93 Jun 15 15:42 driver 15:42:26 drwxrwxr-x. 8 jenkins jenkins 162 Jun 15 15:41 .git 15:42:26 -rw-rw-r--. 1 jenkins jenkins 339 Jun 15 15:41 .gitignore 15:42:26 -rw-r--r--. 1 jenkins jenkins 266 Jun 15 15:42 go.mod 15:42:26 -rw-r--r--. 1 jenkins jenkins 12533 Jun 15 15:42 go.sum 15:42:26 -rw-rw-r--. 1 jenkins jenkins 702 Jun 15 15:41 Jenkinsfile 15:42:26 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 15 15:41 LICENSE 15:42:26 -rw-rw-r--. 1 jenkins jenkins 951 Jun 15 15:41 Makefile 15:42:26 -rw-rw-r--. 1 jenkins jenkins 5716 Jun 15 15:41 README.md 15:42:26 drwxrwxr-x. 3 jenkins jenkins 32 Jun 15 15:41 .semver 15:42:26 -rw-rw-r--. 1 jenkins jenkins 5 Jun 15 15:39 VERSION 15:42:26 -rw-rw-r--. 1 jenkins jenkins 713 Jun 15 15:41 version.go [Pipeline] isUnix [Pipeline] sh 15:42:26 + 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=44d29830d52e322790143f809155a22bedb1a813 --label arch=amd64 --label version=1.1.1 . 15:42:26 Sending build context to Docker daemon 8.028MB 15:42:26 Step 1/24 : ARG BASE=golang:1.13-alpine 15:42:26 Step 2/24 : FROM ${BASE} AS builder 15:42:26 ---> 6e7a600817fc 15:42:26 Step 3/24 : ARG MAKE='make build' 15:42:26 ---> Running in d390549529a5 15:42:26 Removing intermediate container d390549529a5 15:42:26 ---> 4970a77d6d63 15:42:26 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 15:42:26 ---> Running in 375694159e27 15:42:26 Removing intermediate container 375694159e27 15:42:26 ---> 4587ad880633 15:42:26 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:42:27 ---> Running in aef5213354b5 15:42:27 Removing intermediate container aef5213354b5 15:42:27 ---> fb93e6d16349 15:42:27 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:42:27 ---> Running in ace710f2f7d4 15:42:28 Removing intermediate container ace710f2f7d4 15:42:28 ---> 50090c6f3f8e 15:42:28 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:42:28 ---> Running in d76309cc05e2 15:42:28 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:42:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3044 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 15:42:29 Running in /w/workspace/device-rest-go/10 [Pipeline] { [Pipeline] checkout 15:42:30 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:42:31 OK: 143 MiB in 39 packages 15:42:31 Removing intermediate container d76309cc05e2 15:42:31 ---> 2cd092715b39 15:42:31 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 15:42:31 ---> Running in 826bedec556a 15:42:31 Removing intermediate container 826bedec556a 15:42:31 ---> f35e58de42c6 15:42:31 Step 9/24 : COPY go.mod . 15:42:32 ---> ddcedf3237a9 15:42:32 Step 10/24 : COPY Makefile . 15:42:32 ---> 9474ef6e755e 15:42:32 Step 11/24 : RUN make update 15:42:32 ---> Running in aef0c42360ee 15:42:32 CGO_ENABLED=0 GO111MODULE=on go mod download 15:42:33 Removing intermediate container aef0c42360ee 15:42:33 ---> 6c10ebf6459a 15:42:33 Step 12/24 : COPY . . 15:42:33 ---> 2e1b87ea8ff2 15:42:33 Step 13/24 : RUN $MAKE 15:42:33 ---> Running in 4b4b77a2456a 15:42:34 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.1" -o cmd/device-rest-go ./cmd 15:42:35 using credential edgex-jenkins-ssh 15:42:35 Cloning the remote Git repository 15:42:35 Cloning with configured refspecs honoured and without tags 15:42:35 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:42:35 > git init /w/workspace/device-rest-go/10 # timeout=10 15:42:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:42:35 > git --version # timeout=10 15:42:35 using GIT_SSH to set credentials SSH Credentials for GitHub 15:42:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:42:37 Fetching without tags 15:42:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:42:37 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:42:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:42:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:42:37 using GIT_SSH to set credentials SSH Credentials for GitHub 15:42:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:42:37 Checking out Revision 44d29830d52e322790143f809155a22bedb1a813 (master) 15:42:37 > git config core.sparsecheckout # timeout=10 15:42:37 > git checkout -f 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 15:42:42 Commit message: "Merge pull request #23 from tonyespy/update-sdk-122" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:42:44 ========================================================= 15:42:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 15:42:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:42:45 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 15:42:46 Sending build context to Docker daemon 8.016MB 15:42:46 Step 1/10 : ARG BASE=golang:1.13-alpine 15:42:46 Step 2/10 : FROM ${BASE} 15:42:46 Removing intermediate container 4b4b77a2456a 15:42:46 ---> d7b3061ba992 15:42:46 Step 14/24 : FROM alpine:latest 15:42:46 latest: Pulling from library/alpine 15:42:46 df20fa9351a1: Pulling fs layer 15:42:46 df20fa9351a1: Verifying Checksum 15:42:46 df20fa9351a1: Download complete 15:42:46 df20fa9351a1: Pull complete 15:42:46 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:42:46 Status: Downloaded newer image for alpine:latest 15:42:46 ---> a24bb4013296 15:42:46 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:42:46 ---> Running in ea474c82db0d 15:42:46 Removing intermediate container ea474c82db0d 15:42:46 ---> eebea57c41bb 15:42:46 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 15:42:46 ---> Running in ff806d263ba2 15:42:46 Removing intermediate container ff806d263ba2 15:42:46 ---> 74706af8b352 15:42:46 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 15:42:46 ---> 4c7d9c864c64 15:42:46 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 15:42:46 ---> 9f758d07af95 15:42:46 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 15:42:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:42:46 cde5963f3b93: Pulling fs layer 15:42:46 2a23fa8c16f7: Pulling fs layer 15:42:46 777b28850792: Pulling fs layer 15:42:46 8a11ddd9e578: Pulling fs layer 15:42:46 4cf88f913ddb: Pulling fs layer 15:42:46 1df406cf5192: Pulling fs layer 15:42:46 cd6300453558: Pulling fs layer 15:42:46 b9c365052c96: Pulling fs layer 15:42:46 a2d8cc88f415: Pulling fs layer 15:42:46 ea1d1ca13537: Pulling fs layer 15:42:46 3750a50a1c5e: Pulling fs layer 15:42:46 8a11ddd9e578: Waiting 15:42:46 4cf88f913ddb: Waiting 15:42:46 1df406cf5192: Waiting 15:42:46 cd6300453558: Waiting 15:42:46 b9c365052c96: Waiting 15:42:46 a2d8cc88f415: Waiting 15:42:46 ea1d1ca13537: Waiting 15:42:46 3750a50a1c5e: Waiting 15:42:46 777b28850792: Download complete 15:42:46 2a23fa8c16f7: Verifying Checksum 15:42:46 2a23fa8c16f7: Download complete 15:42:46 4cf88f913ddb: Verifying Checksum 15:42:46 4cf88f913ddb: Download complete 15:42:46 1df406cf5192: Download complete 15:42:46 cde5963f3b93: Verifying Checksum 15:42:46 cde5963f3b93: Download complete 15:42:46 ---> 425942760c6f 15:42:46 Step 20/24 : EXPOSE 49986 15:42:46 ---> Running in 78f236196d41 15:42:47 Removing intermediate container 78f236196d41 15:42:47 ---> 27c3403a8e21 15:42:47 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 15:42:47 ---> Running in 513d5746ee9e 15:42:47 Removing intermediate container 513d5746ee9e 15:42:47 ---> b45ade7c4167 15:42:47 Step 22/24 : LABEL arch=amd64 15:42:47 ---> Running in 17d0540cacab 15:42:47 Removing intermediate container 17d0540cacab 15:42:47 ---> 43144f8d6a94 15:42:47 Step 23/24 : LABEL git_sha=44d29830d52e322790143f809155a22bedb1a813 15:42:47 ---> Running in 76daef173c48 15:42:47 Removing intermediate container 76daef173c48 15:42:47 ---> e6fe938217fc 15:42:47 Step 24/24 : LABEL version=1.1.1 15:42:47 cde5963f3b93: Pull complete 15:42:48 ---> Running in cf262a260e0a 15:42:48 Removing intermediate container cf262a260e0a 15:42:48 ---> b2b34fe99210 15:42:48 [Warning] One or more build-args [ARCH] were not consumed 15:42:48 Successfully built b2b34fe99210 15:42:48 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { 15:42:48 2a23fa8c16f7: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:42:48 provisioning config files... 15:42:48 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/10@tmp/config7235554308216264022tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:48 nexus3.edgexfoundry.org:10001 15:42:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:48 777b28850792: Pull complete 15:42:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:48 Configure a credential helper to remove this warning. See 15:42:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:48 15:42:48 Login Succeeded 15:42:48 nexus3.edgexfoundry.org:10002 15:42:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:48 Configure a credential helper to remove this warning. See 15:42:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:48 15:42:48 Login Succeeded 15:42:48 nexus3.edgexfoundry.org:10003 15:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:49 Configure a credential helper to remove this warning. See 15:42:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:49 15:42:49 Login Succeeded 15:42:49 nexus3.edgexfoundry.org:10004 15:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:49 cd6300453558: Verifying Checksum 15:42:49 cd6300453558: Download complete 15:42:49 a2d8cc88f415: Verifying Checksum 15:42:49 a2d8cc88f415: Download complete 15:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:49 Configure a credential helper to remove this warning. See 15:42:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:49 15:42:49 Login Succeeded 15:42:49 docker.io 15:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:49 Configure a credential helper to remove this warning. See 15:42:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:49 15:42:49 Login Succeeded [Pipeline] } 15:42:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:42:49 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 15:42:49 44d29830d52e322790143f809155a22bedb1a813 15:42:49 latest 15:42:49 1.1.1 15:42:49 44d29830d52e322790143f809155a22bedb1a813-1.1.1 15:42:49 master 15:42:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:42:50 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813 [Pipeline] isUnix [Pipeline] sh 15:42:50 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813 15:42:50 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 15:42:50 eebb46e93244: Preparing 15:42:50 c5d15ad20f4a: Preparing 15:42:50 d1b1db71caff: Preparing 15:42:50 50644c29ef5a: Preparing 15:42:50 50644c29ef5a: Layer already exists 15:42:50 c5d15ad20f4a: Pushed 15:42:50 d1b1db71caff: Pushed 15:42:50 ea1d1ca13537: Verifying Checksum 15:42:50 ea1d1ca13537: Download complete 15:42:50 3750a50a1c5e: Verifying Checksum 15:42:50 3750a50a1c5e: Download complete 15:42:51 eebb46e93244: Pushed 15:42:51 44d29830d52e322790143f809155a22bedb1a813: digest: sha256:17ca1fd9949da1b7a9163bef46c0df248c6441e4ed30507de292c473e5bd04d8 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:42:52 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 15:42:52 b9c365052c96: Verifying Checksum 15:42:52 b9c365052c96: Download complete 15:42:52 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 15:42:52 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 15:42:52 eebb46e93244: Preparing 15:42:52 c5d15ad20f4a: Preparing 15:42:52 d1b1db71caff: Preparing 15:42:52 50644c29ef5a: Preparing 15:42:52 50644c29ef5a: Layer already exists 15:42:52 d1b1db71caff: Layer already exists 15:42:52 eebb46e93244: Layer already exists 15:42:52 c5d15ad20f4a: Layer already exists 15:42:52 latest: digest: sha256:17ca1fd9949da1b7a9163bef46c0df248c6441e4ed30507de292c473e5bd04d8 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:42:52 8a11ddd9e578: Verifying Checksum 15:42:52 8a11ddd9e578: Download complete 15:42:52 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.1 [Pipeline] isUnix [Pipeline] sh 15:42:53 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.1 15:42:53 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 15:42:53 eebb46e93244: Preparing 15:42:53 c5d15ad20f4a: Preparing 15:42:53 d1b1db71caff: Preparing 15:42:53 50644c29ef5a: Preparing 15:42:53 50644c29ef5a: Layer already exists 15:42:53 c5d15ad20f4a: Layer already exists 15:42:53 eebb46e93244: Layer already exists 15:42:53 d1b1db71caff: Layer already exists 15:42:53 1.1.1: digest: sha256:17ca1fd9949da1b7a9163bef46c0df248c6441e4ed30507de292c473e5bd04d8 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:42:53 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813-1.1.1 [Pipeline] isUnix [Pipeline] sh 15:42:53 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813-1.1.1 15:42:53 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 15:42:53 eebb46e93244: Preparing 15:42:53 c5d15ad20f4a: Preparing 15:42:53 d1b1db71caff: Preparing 15:42:53 50644c29ef5a: Preparing 15:42:53 c5d15ad20f4a: Layer already exists 15:42:53 eebb46e93244: Layer already exists 15:42:53 50644c29ef5a: Layer already exists 15:42:53 d1b1db71caff: Layer already exists 15:42:53 44d29830d52e322790143f809155a22bedb1a813-1.1.1: digest: sha256:17ca1fd9949da1b7a9163bef46c0df248c6441e4ed30507de292c473e5bd04d8 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:42:53 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 15:42:54 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 15:42:54 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 15:42:54 eebb46e93244: Preparing 15:42:54 c5d15ad20f4a: Preparing 15:42:54 d1b1db71caff: Preparing 15:42:54 50644c29ef5a: Preparing 15:42:54 eebb46e93244: Layer already exists 15:42:54 d1b1db71caff: Layer already exists 15:42:54 c5d15ad20f4a: Layer already exists 15:42:54 50644c29ef5a: Layer already exists 15:42:54 master: digest: sha256:17ca1fd9949da1b7a9163bef46c0df248c6441e4ed30507de292c473e5bd04d8 size: 1154 [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] } 15:43:04 8a11ddd9e578: Pull complete 15:43:04 4cf88f913ddb: Pull complete 15:43:04 1df406cf5192: Pull complete 15:43:08 cd6300453558: Pull complete 15:43:12 b9c365052c96: Pull complete 15:43:12 a2d8cc88f415: Pull complete 15:43:15 ea1d1ca13537: Pull complete 15:43:15 3750a50a1c5e: Pull complete 15:43:15 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 15:43:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 15:43:15 ---> 78745c68409d 15:43:15 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 15:43:20 ---> Running in 87d24542737c 15:43:20 Removing intermediate container 87d24542737c 15:43:20 ---> cb77d92c1e29 15:43:20 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:43:20 ---> Running in 0d22b99a15ff 15:43:21 Removing intermediate container 0d22b99a15ff 15:43:21 ---> e3124cc5cba3 15:43:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:43:21 ---> Running in 5ce07ebe504a 15:43:22 Removing intermediate container 5ce07ebe504a 15:43:22 ---> 56742689dbf4 15:43:22 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:43:22 ---> Running in d6e4e642d470 15:43:24 Removing intermediate container d6e4e642d470 15:43:24 ---> 961abfe8a049 15:43:24 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:43:25 ---> Running in 43b892fcf804 15:43:26 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:43:27 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:43:27 OK: 125 MiB in 39 packages 15:43:29 Removing intermediate container 43b892fcf804 15:43:29 ---> 2b631b1fc6b1 15:43:29 Step 8/10 : WORKDIR /device-rest-go 15:43:29 ---> Running in 6b0ac4424c10 15:43:29 Removing intermediate container 6b0ac4424c10 15:43:29 ---> d5baa3fc3140 15:43:29 Step 9/10 : COPY . . 15:43:31 ---> 89402b5af8d5 15:43:31 Step 10/10 : RUN go mod download 15:43:31 ---> Running in 7d7cf06710cf 15:43:33 go: finding github.com/BurntSushi/toml v0.3.1 15:43:33 go: finding github.com/OneOfOne/xxhash v1.2.6 15:43:33 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:43:33 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:43:33 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:43:33 go: finding github.com/bgentry/speakeasy v0.1.0 15:43:33 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:43:33 go: finding github.com/davecgh/go-spew v1.1.1 15:43:33 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 15:43:33 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 15:43:33 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:43:33 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:43:33 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:43:33 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:43:33 go: finding github.com/fatih/color v1.7.0 15:43:33 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:43:33 go: finding github.com/go-kit/kit v0.8.0 15:43:33 go: finding github.com/go-logfmt/logfmt v0.4.0 15:43:33 go: finding github.com/go-stack/stack v1.8.0 15:43:33 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:43:33 go: finding github.com/google/uuid v1.1.0 15:43:33 go: finding github.com/gorilla/mux v1.7.1 15:43:33 go: finding github.com/hashicorp/consul/api v1.1.0 15:43:33 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:43:33 go: finding github.com/hashicorp/errwrap v1.0.0 15:43:33 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:43:33 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:43:33 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:43:33 go: finding github.com/hashicorp/go-multierror v1.0.0 15:43:33 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:43:33 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:43:33 go: finding github.com/hashicorp/go-syslog v1.0.0 15:43:33 go: finding github.com/hashicorp/go-uuid v1.0.1 15:43:33 go: finding github.com/hashicorp/go.net v0.0.1 15:43:33 go: finding github.com/hashicorp/golang-lru v0.5.0 15:43:33 go: finding github.com/hashicorp/logutils v1.0.0 15:43:33 go: finding github.com/hashicorp/mdns v1.0.0 15:43:33 go: finding github.com/hashicorp/memberlist v0.1.3 15:43:33 go: finding github.com/hashicorp/serf v0.8.2 15:43:33 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:43:33 go: finding github.com/mattn/go-colorable v0.0.9 15:43:33 go: finding github.com/mattn/go-isatty v0.0.3 15:43:33 go: finding github.com/miekg/dns v1.0.14 15:43:33 go: finding github.com/mitchellh/cli v1.0.0 15:43:33 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:43:33 go: finding github.com/mitchellh/copystructure v1.0.0 15:43:33 go: finding github.com/mitchellh/go-homedir v1.0.0 15:43:33 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:43:33 go: finding github.com/mitchellh/gox v0.4.0 15:43:33 go: finding github.com/mitchellh/iochan v1.0.0 15:43:34 go: finding github.com/mitchellh/mapstructure v1.1.2 15:43:34 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:43:34 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:43:34 go: finding github.com/pelletier/go-toml v1.2.0 15:43:34 go: finding github.com/pkg/errors v0.8.1 15:43:34 go: finding github.com/pmezard/go-difflib v1.0.0 15:43:34 go: finding github.com/posener/complete v1.1.1 15:43:34 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:43:34 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:43:34 go: finding github.com/spf13/cast v1.3.0 15:43:34 go: finding github.com/stretchr/objx v0.1.0 15:43:34 go: finding github.com/stretchr/testify v1.5.1 15:43:34 go: finding github.com/ugorji/go v1.1.4 15:43:34 go: finding github.com/x448/float16 v0.8.4 15:43:34 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:43:34 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:43:34 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:43:34 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:43:34 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:43:34 go: finding gopkg.in/yaml.v2 v2.2.8 15:43:44 Removing intermediate container 7d7cf06710cf 15:43:44 ---> 6a8549f7ae15 15:43:44 Successfully built 6a8549f7ae15 15:43:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:43:44 + docker inspect -f . ci-base-image-arm64 15:43:44 . [Pipeline] withDockerContainer 15:43:45 prd-ubuntu18.04-docker-arm64-4c-16g-3044 does not seem to be running inside a container 15:43:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:43:47 $ docker top 7f451dd2578dd1fcfb3c5d39a7eed21542ce09eabad02520c6e228d9b24737a2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:48 + go version 15:43:48 go version go1.13.5 linux/arm64 [Pipeline] sh 15:43:49 + make test 15:43:49 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:43:50 ? github.com/edgexfoundry/device-rest-go [no test files] 15:44:23 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:44:23 ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 56.3% of statements 15:44:23 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:44:27 gofmt -l . 15:44:27 [ "`gofmt -l .`" = "" ] 15:44:27 ./bin/test-go-mod-tidy.sh 15:44:27 ./bin/test-attribution-txt.sh [Pipeline] stash 15:44:28 Warning: overwriting stash ‘coverage-report’ 15:44:28 Stashed 1 file(s) [Pipeline] } 15:44:28 $ docker stop --time=1 7f451dd2578dd1fcfb3c5d39a7eed21542ce09eabad02520c6e228d9b24737a2 15:44:30 $ docker rm -f 7f451dd2578dd1fcfb3c5d39a7eed21542ce09eabad02520c6e228d9b24737a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:44:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:44:32 + ls -al . 15:44:32 total 120 15:44:32 drwxrwxr-x 7 jenkins jenkins 4096 Jun 15 15:44 . 15:44:32 drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 15:42 .. 15:44:32 -rw-rw-r-- 1 jenkins jenkins 151 Jun 15 15:42 .dockerignore 15:44:32 drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 15:42 .git 15:44:32 -rw-rw-r-- 1 jenkins jenkins 339 Jun 15 15:42 .gitignore 15:44:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 15:42 .semver 15:44:32 -rw-rw-r-- 1 jenkins jenkins 4802 Jun 15 15:42 Attribution.txt 15:44:32 -rw-rw-r-- 1 jenkins jenkins 1504 Jun 15 15:42 Dockerfile 15:44:32 -rw-rw-r-- 1 jenkins jenkins 989 Jun 15 15:42 Dockerfile.build 15:44:32 -rw-rw-r-- 1 jenkins jenkins 702 Jun 15 15:42 Jenkinsfile 15:44:32 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 15 15:42 LICENSE 15:44:32 -rw-rw-r-- 1 jenkins jenkins 951 Jun 15 15:42 Makefile 15:44:32 -rw-rw-r-- 1 jenkins jenkins 5716 Jun 15 15:42 README.md 15:44:32 -rw-rw-r-- 1 jenkins jenkins 5 Jun 15 15:39 VERSION 15:44:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 15:42 bin 15:44:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 15:42 cmd 15:44:32 -rw-r--r-- 1 jenkins jenkins 9369 Jun 15 15:44 coverage.out 15:44:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 15:44 driver 15:44:32 -rw-r--r-- 1 jenkins jenkins 266 Jun 15 15:44 go.mod 15:44:32 -rw-r--r-- 1 jenkins jenkins 12533 Jun 15 15:44 go.sum 15:44:32 -rw-rw-r-- 1 jenkins jenkins 713 Jun 15 15:42 version.go [Pipeline] isUnix [Pipeline] sh 15:44:32 + 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=44d29830d52e322790143f809155a22bedb1a813 --label arch=arm64 --label version=1.1.1 . 15:44:32 Sending build context to Docker daemon 8.028MB 15:44:33 Step 1/24 : ARG BASE=golang:1.13-alpine 15:44:33 Step 2/24 : FROM ${BASE} AS builder 15:44:33 ---> 6a8549f7ae15 15:44:33 Step 3/24 : ARG MAKE='make build' 15:44:33 ---> Running in 3b761de0d89a 15:44:33 Removing intermediate container 3b761de0d89a 15:44:33 ---> a16576464f09 15:44:33 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 15:44:33 ---> Running in 1181a8752a4b 15:44:34 Removing intermediate container 1181a8752a4b 15:44:34 ---> 495a145bfe67 15:44:34 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:44:34 ---> Running in 5c5990440d24 15:44:35 Removing intermediate container 5c5990440d24 15:44:35 ---> 987592195650 15:44:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:44:35 ---> Running in 686c7d8f326e 15:44:37 Removing intermediate container 686c7d8f326e 15:44:37 ---> 762b5cd5969f 15:44:37 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:44:37 ---> Running in 82ae1c6b120d 15:44:39 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:44:40 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:44:41 OK: 125 MiB in 39 packages 15:44:42 Removing intermediate container 82ae1c6b120d 15:44:42 ---> 0934c28e3ccd 15:44:42 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 15:44:42 ---> Running in 0523a868a52e 15:44:43 Removing intermediate container 0523a868a52e 15:44:43 ---> 9bfce0081c2b 15:44:43 Step 9/24 : COPY go.mod . 15:44:43 ---> 4e41cbc9e0b7 15:44:43 Step 10/24 : COPY Makefile . 15:44:44 ---> ed81f33bbbc4 15:44:44 Step 11/24 : RUN make update 15:44:44 ---> Running in 07d9acea1a10 15:44:46 CGO_ENABLED=0 GO111MODULE=on go mod download 15:44:47 Removing intermediate container 07d9acea1a10 15:44:47 ---> 314ac2e14e8a 15:44:47 Step 12/24 : COPY . . 15:44:48 ---> ac32094982ed 15:44:48 Step 13/24 : RUN $MAKE 15:44:48 ---> Running in dd3ac22aa8f6 15:44:50 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.1" -o cmd/device-rest-go ./cmd 15:45:17 Removing intermediate container dd3ac22aa8f6 15:45:17 ---> 5bb0e8afa190 15:45:17 Step 14/24 : FROM alpine:latest 15:45:17 latest: Pulling from library/alpine 15:45:17 b538f80385f9: Pulling fs layer 15:45:17 b538f80385f9: Download complete 15:45:18 b538f80385f9: Pull complete 15:45:18 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:45:18 Status: Downloaded newer image for alpine:latest 15:45:18 ---> 62ee0e9f8440 15:45:18 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:45:18 ---> Running in 2c36b9d3f637 15:45:18 Removing intermediate container 2c36b9d3f637 15:45:18 ---> 45cda6a60b57 15:45:18 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 15:45:19 ---> Running in 811c797fe1ad 15:45:19 Removing intermediate container 811c797fe1ad 15:45:19 ---> e7800f4bb324 15:45:19 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 15:45:20 ---> 141948df9a2b 15:45:20 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 15:45:20 ---> 0d51c118a80b 15:45:20 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 15:45:23 ---> 3ef43681b6ca 15:45:23 Step 20/24 : EXPOSE 49986 15:45:23 ---> Running in 720711286ba8 15:45:23 Removing intermediate container 720711286ba8 15:45:23 ---> 92983c8c0767 15:45:23 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 15:45:23 ---> Running in 145061c4cc4f 15:45:24 Removing intermediate container 145061c4cc4f 15:45:24 ---> 505c11c88882 15:45:24 Step 22/24 : LABEL arch=arm64 15:45:24 ---> Running in 0423af81a506 15:45:24 Removing intermediate container 0423af81a506 15:45:24 ---> cd1b3e751107 15:45:24 Step 23/24 : LABEL git_sha=44d29830d52e322790143f809155a22bedb1a813 15:45:24 ---> Running in a03a0204caae 15:45:24 Removing intermediate container a03a0204caae 15:45:24 ---> 262474b967e4 15:45:24 Step 24/24 : LABEL version=1.1.1 15:45:25 ---> Running in 4be73b2ff44c 15:45:25 Removing intermediate container 4be73b2ff44c 15:45:25 ---> e14e328cbb44 15:45:25 [Warning] One or more build-args [ARCH] were not consumed 15:45:25 Successfully built e14e328cbb44 15:45:25 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 15:45:26 provisioning config files... 15:45:26 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/10@tmp/config6705758576632350002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:26 nexus3.edgexfoundry.org:10001 15:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:27 Configure a credential helper to remove this warning. See 15:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:27 15:45:27 Login Succeeded 15:45:27 nexus3.edgexfoundry.org:10002 15:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:27 Configure a credential helper to remove this warning. See 15:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:27 15:45:27 Login Succeeded 15:45:27 nexus3.edgexfoundry.org:10003 15:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:28 Configure a credential helper to remove this warning. See 15:45:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:28 15:45:28 Login Succeeded 15:45:28 nexus3.edgexfoundry.org:10004 15:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:29 Configure a credential helper to remove this warning. See 15:45:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:29 15:45:29 Login Succeeded 15:45:29 docker.io 15:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:30 Configure a credential helper to remove this warning. See 15:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:30 15:45:30 Login Succeeded [Pipeline] } 15:45:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:45:30 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 15:45:30 44d29830d52e322790143f809155a22bedb1a813 15:45:30 latest 15:45:30 1.1.1 15:45:30 44d29830d52e322790143f809155a22bedb1a813-1.1.1 15:45:30 master 15:45:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:45:31 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813 [Pipeline] isUnix [Pipeline] sh 15:45:31 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813 15:45:31 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 15:45:31 24994eeaa2ac: Preparing 15:45:31 b423e6497e97: Preparing 15:45:31 0a087b358bf0: Preparing 15:45:31 e2f13739ad41: Preparing 15:45:31 e2f13739ad41: Layer already exists 15:45:31 b423e6497e97: Pushed 15:45:31 0a087b358bf0: Pushed 15:45:35 24994eeaa2ac: Pushed 15:45:35 44d29830d52e322790143f809155a22bedb1a813: digest: sha256:81d980e2c9d2d85a2f14e72dae64b595ab4328af2ad7a82f57d5e996bf7fe7c4 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:45:35 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:45:35 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 15:45:35 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 15:45:35 24994eeaa2ac: Preparing 15:45:35 b423e6497e97: Preparing 15:45:35 0a087b358bf0: Preparing 15:45:35 e2f13739ad41: Preparing 15:45:35 b423e6497e97: Layer already exists 15:45:35 0a087b358bf0: Layer already exists 15:45:35 e2f13739ad41: Layer already exists 15:45:35 24994eeaa2ac: Layer already exists 15:45:36 latest: digest: sha256:81d980e2c9d2d85a2f14e72dae64b595ab4328af2ad7a82f57d5e996bf7fe7c4 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:45:36 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.1 [Pipeline] isUnix [Pipeline] sh 15:45:37 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.1 15:45:37 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 15:45:37 24994eeaa2ac: Preparing 15:45:37 b423e6497e97: Preparing 15:45:37 0a087b358bf0: Preparing 15:45:37 e2f13739ad41: Preparing 15:45:37 24994eeaa2ac: Layer already exists 15:45:37 e2f13739ad41: Layer already exists 15:45:37 0a087b358bf0: Layer already exists 15:45:37 b423e6497e97: Layer already exists 15:45:37 1.1.1: digest: sha256:81d980e2c9d2d85a2f14e72dae64b595ab4328af2ad7a82f57d5e996bf7fe7c4 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:45:38 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813-1.1.1 [Pipeline] isUnix [Pipeline] sh 15:45:38 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813-1.1.1 15:45:38 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 15:45:38 24994eeaa2ac: Preparing 15:45:38 b423e6497e97: Preparing 15:45:38 0a087b358bf0: Preparing 15:45:38 e2f13739ad41: Preparing 15:45:38 e2f13739ad41: Layer already exists 15:45:38 b423e6497e97: Layer already exists 15:45:38 0a087b358bf0: Layer already exists 15:45:38 24994eeaa2ac: Layer already exists 15:45:38 44d29830d52e322790143f809155a22bedb1a813-1.1.1: digest: sha256:81d980e2c9d2d85a2f14e72dae64b595ab4328af2ad7a82f57d5e996bf7fe7c4 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:45:39 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 15:45:39 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 15:45:39 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 15:45:39 24994eeaa2ac: Preparing 15:45:39 b423e6497e97: Preparing 15:45:39 0a087b358bf0: Preparing 15:45:39 e2f13739ad41: Preparing 15:45:39 b423e6497e97: Layer already exists 15:45:39 24994eeaa2ac: Layer already exists 15:45:39 0a087b358bf0: Layer already exists 15:45:39 e2f13739ad41: Layer already exists 15:45:39 master: digest: sha256:81d980e2c9d2d85a2f14e72dae64b595ab4328af2ad7a82f57d5e996bf7fe7c4 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 15:45:40 provisioning config files... 15:45:40 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1673902294059331669tmp [Pipeline] { [Pipeline] sh 15:45:40 + curl -s https://codecov.io/bash 15:45:40 + bash -s - -t @/w/workspace/gexfoundry_device-rest-go_master@tmp/config1673902294059331669tmp 15:45:41 15:45:41 _____ _ 15:45:41 / ____| | | 15:45:41 | | ___ __| | ___ ___ _____ __ 15:45:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:45:41 | |___| (_) | (_| | __/ (_| (_) \ V / 15:45:41 \_____\___/ \__,_|\___|\___\___/ \_/ 15:45:41 Bash-20200602-f809a24 15:45:41 15:45:41 15:45:41 ==> Jenkins CI detected. 15:45:41 project root: . 15:45:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:45:41 ==> Running gcov in . (disable via -X gcov) 15:45:41 ==> Python coveragepy not found 15:45:41 ==> Searching for coverage reports in: 15:45:41 + . 15:45:41 -> Found 1 reports 15:45:41 ==> Detecting git/mercurial file structure 15:45:41 ==> Reading reports 15:45:41 + ./coverage.out bytes=9369 15:45:41 ==> Appending adjustments 15:45:41 https://docs.codecov.io/docs/fixing-reports 15:45:41 + Found adjustments 15:45:41 ==> Gzipping contents 15:45:41 ==> Uploading reports 15:45:41 url: https://codecov.io 15:45:41 query: branch=master&commit=44d29830d52e322790143f809155a22bedb1a813&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 15:45:41 -> Pinging Codecov 15:45:41 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=master&commit=44d29830d52e322790143f809155a22bedb1a813&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 15:45:41 -> Uploading 15:45:42 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/44d29830d52e322790143f809155a22bedb1a813 [Pipeline] } 15:45:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 15:45:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 15:45:42 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 15:45:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:45:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:45:42 15:45:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 15:45:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:45:43 1.317.0: Pulling from edgex-devops/edgex-snyk-go 15:45:43 cbdbe7a5bc2a: Pulling fs layer 15:45:43 408f87550127: Pulling fs layer 15:45:43 fe522b08c979: Pulling fs layer 15:45:43 221eaa008020: Pulling fs layer 15:45:43 2a4607e5d6b9: Pulling fs layer 15:45:43 8f79b27c4fd2: Pulling fs layer 15:45:43 e5c8dbe1645b: Pulling fs layer 15:45:43 23e8b3b47431: Pulling fs layer 15:45:43 5c568d65a230: Pulling fs layer 15:45:43 8f79b27c4fd2: Waiting 15:45:43 2a4607e5d6b9: Waiting 15:45:43 23e8b3b47431: Waiting 15:45:43 5c568d65a230: Waiting 15:45:43 e5c8dbe1645b: Waiting 15:45:43 221eaa008020: Waiting 15:45:43 fe522b08c979: Verifying Checksum 15:45:43 fe522b08c979: Download complete 15:45:43 408f87550127: Verifying Checksum 15:45:43 408f87550127: Download complete 15:45:43 2a4607e5d6b9: Verifying Checksum 15:45:43 2a4607e5d6b9: Download complete 15:45:43 cbdbe7a5bc2a: Download complete 15:45:43 8f79b27c4fd2: Verifying Checksum 15:45:43 8f79b27c4fd2: Download complete 15:45:43 cbdbe7a5bc2a: Pull complete 15:45:43 e5c8dbe1645b: Verifying Checksum 15:45:43 e5c8dbe1645b: Download complete 15:45:43 23e8b3b47431: Verifying Checksum 15:45:43 23e8b3b47431: Download complete 15:45:43 408f87550127: Pull complete 15:45:44 fe522b08c979: Pull complete 15:45:44 5c568d65a230: Verifying Checksum 15:45:44 5c568d65a230: Download complete 15:45:44 221eaa008020: Verifying Checksum 15:45:44 221eaa008020: Download complete 15:45:50 221eaa008020: Pull complete 15:45:50 2a4607e5d6b9: Pull complete 15:45:50 8f79b27c4fd2: Pull complete 15:45:52 e5c8dbe1645b: Pull complete 15:45:56 23e8b3b47431: Pull complete 15:45:57 5c568d65a230: Pull complete 15:45:57 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 15:45:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:45:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 15:45:57 prd-centos7-docker-4c-2g-3032 does not seem to be running inside a container 15:45:57 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 15:45:58 $ docker top fff29f97680941dff7c76a574eb10021d13a45922f7549385c42ef9a723eea8f -eo pid,comm [Pipeline] { [Pipeline] sh 15:45:58 + snyk monitor '--org=edgex-jenkins' 15:46:03 15:46:03 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 15:46:03 15:46:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/f21cc401-710d-442c-907d-bd0e051dd6d2 15:46:03 15:46:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:46:03 15:46:03 [Pipeline] } 15:46:03 $ docker stop --time=1 fff29f97680941dff7c76a574eb10021d13a45922f7549385c42ef9a723eea8f 15:46:06 $ docker rm -f fff29f97680941dff7c76a574eb10021d13a45922f7549385c42ef9a723eea8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:46:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:46:06 15:46:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 15:46:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:46:07 latest: Pulling from edgex-devops/edgex-klar 15:46:07 e7c96db7181b: Pulling fs layer 15:46:07 1868ca2cb446: Pulling fs layer 15:46:07 136be5d0fe8e: Pulling fs layer 15:46:07 894bfe63afcb: Pulling fs layer 15:46:07 894bfe63afcb: Waiting 15:46:07 1868ca2cb446: Verifying Checksum 15:46:07 1868ca2cb446: Download complete 15:46:07 136be5d0fe8e: Verifying Checksum 15:46:07 136be5d0fe8e: Download complete 15:46:07 e7c96db7181b: Verifying Checksum 15:46:07 e7c96db7181b: Download complete 15:46:07 894bfe63afcb: Verifying Checksum 15:46:07 894bfe63afcb: Download complete 15:46:07 e7c96db7181b: Pull complete 15:46:07 1868ca2cb446: Pull complete 15:46:07 136be5d0fe8e: Pull complete 15:46:08 894bfe63afcb: Pull complete 15:46:08 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 15:46:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:46:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 15:46:08 prd-centos7-docker-4c-2g-3032 does not seem to be running inside a container 15:46:08 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 15:46:09 $ docker top 4db09e60d143d46f1de0a03a8774f99d95e9934c51683d99f614177deb551ece -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:09 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813 15:46:09 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:46:13 $ docker stop --time=1 4db09e60d143d46f1de0a03a8774f99d95e9934c51683d99f614177deb551ece 15:46:14 $ docker rm -f 4db09e60d143d46f1de0a03a8774f99d95e9934c51683d99f614177deb551ece [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:46:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:46:15 . [Pipeline] withDockerContainer 15:46:15 prd-centos7-docker-4c-2g-3032 does not seem to be running inside a container 15:46:15 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 15:46:16 $ docker top 869c221db3f8a92353db70839472020e70d5202a667206c399695a9221089531 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:16 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813 15:46:16 + tee 15:46:16 clair timeout 1m0s 15:46:16 docker timeout: 1m0s 15:46:16 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:46:17 $ docker stop --time=1 869c221db3f8a92353db70839472020e70d5202a667206c399695a9221089531 15:46:18 $ docker rm -f 869c221db3f8a92353db70839472020e70d5202a667206c399695a9221089531 [Pipeline] // withDockerContainer [Pipeline] sh 15:46:18 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 15:46:18 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go_44d29830d52e322790143f809155a22bedb1a813.html [Pipeline] writeFile [Pipeline] step 15:46:18 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 15:46:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:46:19 . [Pipeline] withDockerContainer 15:46:19 prd-centos7-docker-4c-2g-3032 does not seem to be running inside a container 15:46:19 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 15:46:19 $ docker top 582ce87ac3fbc9b3253686670d0a4efaef2226e07e0ab0ef16856b2c18344944 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:20 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813 15:46:20 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:46:23 $ docker stop --time=1 582ce87ac3fbc9b3253686670d0a4efaef2226e07e0ab0ef16856b2c18344944 15:46:25 $ docker rm -f 582ce87ac3fbc9b3253686670d0a4efaef2226e07e0ab0ef16856b2c18344944 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:46:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:46:25 . [Pipeline] withDockerContainer 15:46:25 prd-centos7-docker-4c-2g-3032 does not seem to be running inside a container 15:46:25 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 15:46:26 $ docker top 70ba009f26b5c4d4e96853041d70ac9769645cd0ac60970e8376fd59ab6d2c76 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:26 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813 15:46:26 + tee 15:46:26 clair timeout 1m0s 15:46:26 docker timeout: 1m0s 15:46:26 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:46:27 $ docker stop --time=1 70ba009f26b5c4d4e96853041d70ac9769645cd0ac60970e8376fd59ab6d2c76 15:46:28 $ docker rm -f 70ba009f26b5c4d4e96853041d70ac9769645cd0ac60970e8376fd59ab6d2c76 [Pipeline] // withDockerContainer [Pipeline] sh 15:46:29 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 15:46:29 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go-arm64_44d29830d52e322790143f809155a22bedb1a813.html [Pipeline] writeFile [Pipeline] step 15:46:29 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 15:46:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:46:30 . [Pipeline] withDockerContainer 15:46:30 prd-centos7-docker-4c-2g-3032 does not seem to be running inside a container 15:46:30 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:46:31 $ docker top 5e79a2840a17f23e6439749602ec6fe5237efafc06dc124cdcdef3441745d36f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:46:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:46:31 [ssh-agent] Looking for ssh-agent implementation... 15:46:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:46:31 $ docker exec 5e79a2840a17f23e6439749602ec6fe5237efafc06dc124cdcdef3441745d36f ssh-agent 15:46:31 SSH_AUTH_SOCK=/tmp/ssh-BJu5RbjWMQyq/agent.12 15:46:31 SSH_AGENT_PID=17 15:46:31 Running ssh-add (command line suppressed) 15:46:31 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_935983991309059036.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_935983991309059036.key) 15:46:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:46:32 + git semver tag 15:46:32 # -> Open(): unable to determine branch for HEAD 15:46:32 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 15:46:32 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 15:46:32 # $SEMVER_REMOTE_NAME = origin 15:46:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:46:32 # $SEMVER_USER_NAME = edgex-jenkins 15:46:32 # $SEMVER_BRANCH = master 15:46:32 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 15:46:32 # 44d29830d52e322790143f809155a22bedb1a813 HEAD 15:46:32 # -> Force: false 15:46:32 # 69a8c11b01ccf914eab6e34616035282a9c56f71 refs/tags/v1.1.1 [Pipeline] } 15:46:32 $ docker exec --env ******** --env ******** 5e79a2840a17f23e6439749602ec6fe5237efafc06dc124cdcdef3441745d36f ssh-agent -k 15:46:32 unset SSH_AUTH_SOCK; 15:46:32 unset SSH_AGENT_PID; 15:46:32 echo Agent pid 17 killed; 15:46:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:46:32 + git semver [Pipeline] } 15:46:32 $ docker stop --time=1 5e79a2840a17f23e6439749602ec6fe5237efafc06dc124cdcdef3441745d36f 15:46:34 $ docker rm -f 5e79a2840a17f23e6439749602ec6fe5237efafc06dc124cdcdef3441745d36f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:46:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:46:34 15:46:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:46:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:46:34 0.23.1-centos7: Pulling from edgex-lftools 15:46:34 ab5ef0e58194: Pulling fs layer 15:46:34 9712f1f96733: Pulling fs layer 15:46:34 63f879dbbcfc: Pulling fs layer 15:46:34 0d9ebad4ef96: Pulling fs layer 15:46:34 e9a5061849ea: Pulling fs layer 15:46:34 d747dcd14b5f: Pulling fs layer 15:46:34 2de7ff778b66: Pulling fs layer 15:46:34 0d9ebad4ef96: Waiting 15:46:34 e9a5061849ea: Waiting 15:46:34 d747dcd14b5f: Waiting 15:46:34 9712f1f96733: Verifying Checksum 15:46:34 9712f1f96733: Download complete 15:46:35 63f879dbbcfc: Verifying Checksum 15:46:35 63f879dbbcfc: Download complete 15:46:35 e9a5061849ea: Verifying Checksum 15:46:35 e9a5061849ea: Download complete 15:46:35 d747dcd14b5f: Verifying Checksum 15:46:35 d747dcd14b5f: Download complete 15:46:36 0d9ebad4ef96: Verifying Checksum 15:46:36 0d9ebad4ef96: Download complete 15:46:36 ab5ef0e58194: Download complete 15:46:36 2de7ff778b66: Verifying Checksum 15:46:36 2de7ff778b66: Download complete 15:46:41 ab5ef0e58194: Pull complete 15:46:41 9712f1f96733: Pull complete 15:46:44 63f879dbbcfc: Pull complete 15:46:50 0d9ebad4ef96: Pull complete 15:46:50 e9a5061849ea: Pull complete 15:46:50 d747dcd14b5f: Pull complete 15:46:54 2de7ff778b66: Pull complete 15:46:54 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:46:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:46:54 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:46:54 prd-centos7-docker-4c-2g-3032 does not seem to be running inside a container 15:46:54 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:46:58 $ docker top 4371eca3f50c87ca11cfdf9ef80d2b159fada9472cc8425b40d22d86e83a87f9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:46:58 provisioning config files... 15:46:58 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config333708133669772044tmp 15:46:58 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2494697441081320252tmp 15:46:58 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5830187837847177322tmp [Pipeline] { [Pipeline] echo 15:46:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:46:59 ---> sigul-configuration.sh 15:46:59 gpg: directory `/root/.gnupg' created 15:46:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:46:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:46:59 gpg: keyring `/root/.gnupg/secring.gpg' created 15:46:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:46:59 gpg: CAST5 encrypted data 15:46:59 gpg: encrypted with 1 passphrase 15:46:59 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:46:59 + mkdir /home/jenkins 15:46:59 + mkdir /home/jenkins/sigul [Pipeline] sh 15:46:59 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 15:46:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:47:00 ---> sigul-install.sh 15:47:05 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 15:47:05 + git tag --list 15:47:05 v1.1.1 [Pipeline] sh 15:47:06 + lftools sign git-tag v1.1.1 15:47:07 Signing Git tag with Sigul... 15:47:07 Signing v1.1.1 [Pipeline] echo 15:47:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:47:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:47:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:47:08 $ docker stop --time=1 4371eca3f50c87ca11cfdf9ef80d2b159fada9472cc8425b40d22d86e83a87f9 15:47:10 $ docker rm -f 4371eca3f50c87ca11cfdf9ef80d2b159fada9472cc8425b40d22d86e83a87f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 15:47:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:47:11 . [Pipeline] withDockerContainer 15:47:11 prd-centos7-docker-4c-2g-3032 does not seem to be running inside a container 15:47:11 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:47:11 $ docker top f0335f7fc9de440bd5e21fc53fe49e158d7fb3c5da829aa0b8b6961874df62c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:47:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:12 [ssh-agent] Looking for ssh-agent implementation... 15:47:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:12 $ docker exec f0335f7fc9de440bd5e21fc53fe49e158d7fb3c5da829aa0b8b6961874df62c5 ssh-agent 15:47:12 SSH_AUTH_SOCK=/tmp/ssh-DEMpxaU4Oq0V/agent.12 15:47:12 SSH_AGENT_PID=17 15:47:12 Running ssh-add (command line suppressed) 15:47:12 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3162964693070273316.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3162964693070273316.key) 15:47:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:13 + git semver bump pre 15:47:13 # -> Open(): unable to determine branch for HEAD 15:47:13 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 15:47:13 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 15:47:13 # $SEMVER_REMOTE_NAME = origin 15:47:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:47:13 # $SEMVER_USER_NAME = edgex-jenkins 15:47:13 # $SEMVER_BRANCH = master 15:47:13 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 15:47:13 1.1.2-dev.1 [Pipeline] } 15:47:13 $ docker exec --env ******** --env ******** f0335f7fc9de440bd5e21fc53fe49e158d7fb3c5da829aa0b8b6961874df62c5 ssh-agent -k 15:47:13 unset SSH_AUTH_SOCK; 15:47:13 unset SSH_AGENT_PID; 15:47:13 echo Agent pid 17 killed; 15:47:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:47:13 + git semver [Pipeline] } 15:47:13 $ docker stop --time=1 f0335f7fc9de440bd5e21fc53fe49e158d7fb3c5da829aa0b8b6961874df62c5 15:47:14 $ docker rm -f f0335f7fc9de440bd5e21fc53fe49e158d7fb3c5da829aa0b8b6961874df62c5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:47:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:47:15 . [Pipeline] withDockerContainer 15:47:15 prd-centos7-docker-4c-2g-3032 does not seem to be running inside a container 15:47:15 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:47:16 $ docker top 40249b6cc01506c3495fec0ed37309d8de5cbcd21a8994857399ee9a61e9f295 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:47:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:16 [ssh-agent] Looking for ssh-agent implementation... 15:47:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:16 $ docker exec 40249b6cc01506c3495fec0ed37309d8de5cbcd21a8994857399ee9a61e9f295 ssh-agent 15:47:16 SSH_AUTH_SOCK=/tmp/ssh-Wi8skTPsVE0e/agent.11 15:47:16 SSH_AGENT_PID=17 15:47:16 Running ssh-add (command line suppressed) 15:47:16 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4020211788538600353.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4020211788538600353.key) 15:47:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:17 + git semver push 15:47:17 # -> Open(): unable to determine branch for HEAD 15:47:17 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 15:47:17 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 15:47:17 # $SEMVER_REMOTE_NAME = origin 15:47:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:47:17 # $SEMVER_USER_NAME = edgex-jenkins 15:47:17 # $SEMVER_BRANCH = master 15:47:17 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 15:47:20 git-semver-push: object not found [Pipeline] } 15:47:20 $ docker exec --env ******** --env ******** 40249b6cc01506c3495fec0ed37309d8de5cbcd21a8994857399ee9a61e9f295 ssh-agent -k 15:47:20 unset SSH_AUTH_SOCK; 15:47:20 unset SSH_AGENT_PID; 15:47:20 echo Agent pid 17 killed; 15:47:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:47:20 $ docker stop --time=1 40249b6cc01506c3495fec0ed37309d8de5cbcd21a8994857399ee9a61e9f295 15:47:22 $ docker rm -f 40249b6cc01506c3495fec0ed37309d8de5cbcd21a8994857399ee9a61e9f295 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 15:47:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:47:23 ---> package-listing.sh 15:47:23 ++ facter osfamily 15:47:23 ++ tr '[:upper:]' '[:lower:]' 15:47:23 + OS_FAMILY=redhat 15:47:23 + workspace=/w/workspace/gexfoundry_device-rest-go_master 15:47:23 + START_PACKAGES=/tmp/packages_start.txt 15:47:23 + END_PACKAGES=/tmp/packages_end.txt 15:47:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:47:23 + PACKAGES=/tmp/packages_start.txt 15:47:23 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 15:47:23 + PACKAGES=/tmp/packages_end.txt 15:47:23 + case "${OS_FAMILY}" in 15:47:23 + rpm -qa 15:47:23 + sort 15:47:27 + '[' -f /tmp/packages_start.txt ']' 15:47:27 + '[' -f /tmp/packages_end.txt ']' 15:47:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:47:27 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 15:47:27 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 15:47:27 + 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 15:47:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:47:27 15:47:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:47:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:47:28 alpine: Pulling from edgex-lftools-log-publisher 15:47:28 c9b1b535fdd9: Pulling fs layer 15:47:28 2cc5ad85d9ab: Pulling fs layer 15:47:28 756a868c4378: Pulling fs layer 15:47:28 444b2fc9a129: Pulling fs layer 15:47:28 ea15f1150254: Pulling fs layer 15:47:28 41b27a9f41bf: Pulling fs layer 15:47:28 28c525ee5125: Pulling fs layer 15:47:28 094b1ea09ed8: Pulling fs layer 15:47:28 138eaada9080: Pulling fs layer 15:47:28 0622d0fa9048: Pulling fs layer 15:47:28 41b27a9f41bf: Waiting 15:47:28 28c525ee5125: Waiting 15:47:28 094b1ea09ed8: Waiting 15:47:28 138eaada9080: Waiting 15:47:28 0622d0fa9048: Waiting 15:47:28 444b2fc9a129: Waiting 15:47:28 ea15f1150254: Waiting 15:47:28 2cc5ad85d9ab: Download complete 15:47:28 444b2fc9a129: Verifying Checksum 15:47:28 444b2fc9a129: Download complete 15:47:28 c9b1b535fdd9: Verifying Checksum 15:47:28 c9b1b535fdd9: Download complete 15:47:28 ea15f1150254: Verifying Checksum 15:47:28 ea15f1150254: Download complete 15:47:28 28c525ee5125: Verifying Checksum 15:47:28 28c525ee5125: Download complete 15:47:28 756a868c4378: Verifying Checksum 15:47:28 756a868c4378: Download complete 15:47:28 c9b1b535fdd9: Pull complete 15:47:28 138eaada9080: Download complete 15:47:28 0622d0fa9048: Verifying Checksum 15:47:28 0622d0fa9048: Download complete 15:47:28 094b1ea09ed8: Verifying Checksum 15:47:28 094b1ea09ed8: Download complete 15:47:29 41b27a9f41bf: Verifying Checksum 15:47:29 41b27a9f41bf: Download complete 15:47:29 2cc5ad85d9ab: Pull complete 15:47:31 756a868c4378: Pull complete 15:47:31 444b2fc9a129: Pull complete 15:47:31 ea15f1150254: Pull complete 15:47:35 41b27a9f41bf: Pull complete 15:47:35 28c525ee5125: Pull complete 15:47:37 094b1ea09ed8: Pull complete 15:47:37 138eaada9080: Pull complete 15:47:38 0622d0fa9048: Pull complete 15:47:38 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 15:47:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:47:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:47:38 prd-centos7-docker-4c-2g-3032 does not seem to be running inside a container 15:47:38 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:47:41 $ docker top 4b4ba8832d13ffeddfab0df09c57414aa6c144b5fe28002bbda23deba84bd872 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:47:41 provisioning config files... 15:47:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config287275318249083052tmp [Pipeline] { [Pipeline] echo 15:47:41 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:47:42 ---> create-netrc.sh [Pipeline] echo 15:47:42 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:47:42 ---> logs-deploy.sh 15:47:42 + ARCHIVE_ARTIFACTS= 15:47:42 + LOGS_SERVER=https://logs.edgexfoundry.org 15:47:42 + '[' https://logs.edgexfoundry.org == None ']' 15:47:42 + NEXUS_URL=https://nexus.edgexfoundry.org 15:47:42 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/10 15:47:42 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/10/ 15:47:42 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/10 /w/workspace/gexfoundry_device-rest-go_master 15:47:43 Archives upload complete. 15:47:43 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/10 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/10/