cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from e0ae7f9faf684058b73803a041875345104f2397+2ca6a6137050167f4ab56441aff9642385515f05 (cacd1a56bf1f96e9b2e4532eea8c0505b9df8e1b) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-8210’ is offline; ‘prd-centos7-docker-4c-2g-8214’ is offline; ‘prd-centos7-docker-4c-2g-8215’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8140’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8217 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-20 # 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/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit e0ae7f9faf684058b73803a041875345104f2397 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # 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/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing cddfccf384c161ab9733075e3bba6397b35de5be Checking out Revision cddfccf384c161ab9733075e3bba6397b35de5be (PR-20) > git config core.sparsecheckout # timeout=10 > git checkout -f e0ae7f9faf684058b73803a041875345104f2397 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cddfccf384c161ab9733075e3bba6397b35de5be # timeout=10 Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:40:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:40:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:40:56 ========================================================= 13:40:56 EdgeX Global Pipelines Version Info 13:40:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 68c68d2adae6b92d53d4f9cdbf6e3d19d929859d # timeout=10 13:40:58 ------------------- 13:40:58 stable info: 13:40:58 ------------------- 13:40:58 Commited By: Emilio Reyes emilio.reyes@intel.com 13:40:58 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 13:40:58 Message: update stable to v1.0.87 13:40:58 ------------------- 13:40:58 experimental info: 13:40:58 ------------------- 13:40:58 Commited By: **** collab-it+edgex@linuxfoundation.org 13:40:58 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 13:40:58 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 13:41:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:41:00 13:41:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:41:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:41:01 latest: Pulling from edgex-devops/git-semver 13:41:01 9123ac7c32f7: Pulling fs layer 13:41:01 b8cc5d1170e3: Pulling fs layer 13:41:01 2924cbbf6a41: Pulling fs layer 13:41:01 93b08a4f1073: Pulling fs layer 13:41:01 93b08a4f1073: Waiting 13:41:01 b8cc5d1170e3: Download complete 13:41:01 9123ac7c32f7: Verifying Checksum 13:41:01 9123ac7c32f7: Download complete 13:41:01 93b08a4f1073: Verifying Checksum 13:41:01 93b08a4f1073: Download complete 13:41:01 2924cbbf6a41: Verifying Checksum 13:41:01 9123ac7c32f7: Pull complete 13:41:01 b8cc5d1170e3: Pull complete 13:41:02 2924cbbf6a41: Pull complete 13:41:02 93b08a4f1073: Pull complete 13:41:02 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 13:41:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:41:03 prd-centos7-docker-4c-2g-8217 does not seem to be running inside a container 13:41:03 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-20 -v /w/workspace/dgexfoundry_device-rest-go_PR-20:/w/workspace/dgexfoundry_device-rest-go_PR-20:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:41:03 $ docker top 9050e063d4536115f5cc06053ab3b9c13610274935ef8a0a159ee3f466db76f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:41:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:41:04 [ssh-agent] Looking for ssh-agent implementation... 13:41:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:41:04 $ docker exec 9050e063d4536115f5cc06053ab3b9c13610274935ef8a0a159ee3f466db76f0 ssh-agent 13:41:04 SSH_AUTH_SOCK=/tmp/ssh-0sC3Tf22JenI/agent.14 13:41:04 SSH_AGENT_PID=20 13:41:04 Running ssh-add (command line suppressed) 13:41:04 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_6496515725999385605.key (/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_6496515725999385605.key) 13:41:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:41:05 + git describe --exact-match --tags HEAD 13:41:05 fatal: No names found, cannot describe anything. [Pipeline] } 13:41:05 $ docker exec --env ******** --env ******** 9050e063d4536115f5cc06053ab3b9c13610274935ef8a0a159ee3f466db76f0 ssh-agent -k 13:41:05 unset SSH_AUTH_SOCK; 13:41:05 unset SSH_AGENT_PID; 13:41:05 echo Agent pid 20 killed; 13:41:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 13:41:05 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 13:41:05 This usually means this commit has not been tagged. [Pipeline] sshagent 13:41:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:41:05 [ssh-agent] Looking for ssh-agent implementation... 13:41:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:41:05 $ docker exec 9050e063d4536115f5cc06053ab3b9c13610274935ef8a0a159ee3f466db76f0 ssh-agent 13:41:06 SSH_AUTH_SOCK=/tmp/ssh-tdFdYcZlywbl/agent.56 13:41:06 SSH_AGENT_PID=63 13:41:06 Running ssh-add (command line suppressed) 13:41:06 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_1791666016632382483.key (/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_1791666016632382483.key) 13:41:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:41:06 + git semver init 13:41:06 # -> Open(): unable to determine branch for HEAD 13:41:06 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.git 13:41:06 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-20 13:41:06 # $SEMVER_REMOTE_NAME = origin 13:41:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:41:06 # $SEMVER_USER_NAME = edgex-jenkins 13:41:06 # $SEMVER_BRANCH = PR-20 13:41:06 # $SEMVER_TEMP = /tmp/semver-266842318 13:41:06 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 13:41:07 # '/tmp/semver-266842318' -> '/w/workspace/dgexfoundry_device-rest-go_PR-20/.semver' 13:41:07 # -> Force: false 13:41:07 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.semver [Pipeline] } 13:41:07 $ docker exec --env ******** --env ******** 9050e063d4536115f5cc06053ab3b9c13610274935ef8a0a159ee3f466db76f0 ssh-agent -k 13:41:08 unset SSH_AUTH_SOCK; 13:41:08 unset SSH_AGENT_PID; 13:41:08 echo Agent pid 63 killed; 13:41:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:41:08 + git semver [Pipeline] } 13:41:08 $ docker stop --time=1 9050e063d4536115f5cc06053ab3b9c13610274935ef8a0a159ee3f466db76f0 13:41:09 $ docker rm -f 9050e063d4536115f5cc06053ab3b9c13610274935ef8a0a159ee3f466db76f0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 13:41:11 Stashed 19 file(s) [Pipeline] echo 13:41:11 [edgeXSemver] initialized semver on version 0.0.0 [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 13:41:26 Still waiting to schedule task 13:41:26 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:41:26 Still waiting to schedule task 13:41:26 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 13:42:37 Running on prd-centos7-docker-4c-2g-8223 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws 13:42:37 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 13:42:40 using credential edgex-jenkins-ssh 13:42:40 Cloning the remote Git repository 13:42:40 Cloning with configured refspecs honoured and without tags 13:42:40 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 13:42:40 > git init /w/workspace/device-rest-go/4 # timeout=10 13:42:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:42:40 > git --version # timeout=10 13:42:40 using GIT_SSH to set credentials SSH Credentials for GitHub 13:42:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:42:41 Fetching without tags 13:42:42 Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit e0ae7f9faf684058b73803a041875345104f2397 13:42:41 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:42:41 > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 13:42:41 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:42:41 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:42:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:42:41 using GIT_SSH to set credentials SSH Credentials for GitHub 13:42:41 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:42:42 > git config core.sparsecheckout # timeout=10 13:42:42 Merge succeeded, producing 88e44697faf316844da53d2aa44979128d6078f9 13:42:42 Checking out Revision 88e44697faf316844da53d2aa44979128d6078f9 (PR-20) 13:42:42 > git checkout -f e0ae7f9faf684058b73803a041875345104f2397 # timeout=10 13:42:42 > git remote # timeout=10 13:42:42 > git config --get remote.origin.url # timeout=10 13:42:42 using GIT_SSH to set credentials SSH Credentials for GitHub 13:42:42 > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 13:42:42 > git rev-parse HEAD^{commit} # timeout=10 13:42:42 > git config core.sparsecheckout # timeout=10 13:42:42 > git checkout -f 88e44697faf316844da53d2aa44979128d6078f9 # timeout=10 13:42:46 Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" 13:42:46 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:42:47 ========================================================= 13:42:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 13:42:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:42:46 > git rev-list --no-walk 68c68d2adae6b92d53d4f9cdbf6e3d19d929859d # timeout=10 13:42:48 + 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 . 13:42:48 Sending build context to Docker daemon 8.017MB 13:42:48 Step 1/10 : ARG BASE=golang:1.13-alpine 13:42:48 Step 2/10 : FROM ${BASE} 13:42:48 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 13:42:48 e6b0cf9c0882: Pulling fs layer 13:42:48 2848faf0eed1: Pulling fs layer 13:42:48 0f37312ad70f: Pulling fs layer 13:42:48 5788d62ee057: Pulling fs layer 13:42:48 0e6b1d234666: Pulling fs layer 13:42:48 bf5d7aec512f: Pulling fs layer 13:42:48 34c802a77dc8: Pulling fs layer 13:42:48 9eb99e56ec68: Pulling fs layer 13:42:48 27c7a5d97fbd: Pulling fs layer 13:42:48 5c102a31e300: Pulling fs layer 13:42:48 dcfb455df0a1: Pulling fs layer 13:42:48 0e6b1d234666: Waiting 13:42:48 bf5d7aec512f: Waiting 13:42:48 34c802a77dc8: Waiting 13:42:48 9eb99e56ec68: Waiting 13:42:48 27c7a5d97fbd: Waiting 13:42:48 5c102a31e300: Waiting 13:42:48 dcfb455df0a1: Waiting 13:42:48 5788d62ee057: Waiting 13:42:48 0f37312ad70f: Verifying Checksum 13:42:48 0f37312ad70f: Download complete 13:42:48 2848faf0eed1: Verifying Checksum 13:42:48 2848faf0eed1: Download complete 13:42:48 0e6b1d234666: Verifying Checksum 13:42:48 0e6b1d234666: Download complete 13:42:48 e6b0cf9c0882: Verifying Checksum 13:42:48 e6b0cf9c0882: Download complete 13:42:49 e6b0cf9c0882: Pull complete 13:42:49 2848faf0eed1: Pull complete 13:42:49 0f37312ad70f: Pull complete 13:42:50 5788d62ee057: Download complete 13:42:54 bf5d7aec512f: Verifying Checksum 13:42:54 bf5d7aec512f: Download complete 13:42:54 27c7a5d97fbd: Verifying Checksum 13:42:54 27c7a5d97fbd: Download complete 13:42:54 5c102a31e300: Verifying Checksum 13:42:54 5c102a31e300: Download complete 13:42:54 dcfb455df0a1: Verifying Checksum 13:42:54 dcfb455df0a1: Download complete 13:42:54 34c802a77dc8: Verifying Checksum 13:42:54 34c802a77dc8: Download complete 13:42:55 9eb99e56ec68: Verifying Checksum 13:42:55 9eb99e56ec68: Download complete 13:42:57 5788d62ee057: Pull complete 13:42:57 0e6b1d234666: Pull complete 13:42:57 bf5d7aec512f: Pull complete 13:43:02 34c802a77dc8: Pull complete 13:43:05 9eb99e56ec68: Pull complete 13:43:05 27c7a5d97fbd: Pull complete 13:43:06 5c102a31e300: Pull complete 13:43:06 dcfb455df0a1: Pull complete 13:43:06 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 13:43:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 13:43:06 ---> 7c70fe431013 13:43:06 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 13:43:06 ---> Running in eb21ce89a99b 13:43:06 Removing intermediate container eb21ce89a99b 13:43:06 ---> 664deddd2870 13:43:06 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 13:43:06 ---> Running in c88d2d01befb 13:43:06 Removing intermediate container c88d2d01befb 13:43:06 ---> a0f3f4f9c8d7 13:43:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:43:06 ---> Running in 3d7b0565804e 13:43:06 Removing intermediate container 3d7b0565804e 13:43:06 ---> 24a6683afd1c 13:43:06 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:43:06 ---> Running in 17d79a184da9 13:43:07 Removing intermediate container 17d79a184da9 13:43:07 ---> 431543148653 13:43:07 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:43:07 ---> Running in 9e5f3901250b 13:43:08 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 13:43:08 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 13:43:09 OK: 143 MiB in 39 packages 13:43:09 Removing intermediate container 9e5f3901250b 13:43:09 ---> 845cb674977b 13:43:09 Step 8/10 : WORKDIR /device-rest-go 13:43:09 ---> Running in 7d1da07a71e3 13:43:09 Removing intermediate container 7d1da07a71e3 13:43:09 ---> c8837bb9d31b 13:43:09 Step 9/10 : COPY . . 13:43:10 ---> 1e05d073ecb9 13:43:10 Step 10/10 : RUN go mod download 13:43:10 ---> Running in 4b9dc60b4033 13:43:12 go: finding github.com/BurntSushi/toml v0.3.1 13:43:12 go: finding github.com/OneOfOne/xxhash v1.2.6 13:43:12 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 13:43:12 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 13:43:12 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 13:43:12 go: finding github.com/bgentry/speakeasy v0.1.0 13:43:12 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 13:43:12 go: finding github.com/davecgh/go-spew v1.1.1 13:43:12 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 13:43:12 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 13:43:12 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 13:43:12 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 13:43:12 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 13:43:12 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 13:43:12 go: finding github.com/fatih/color v1.7.0 13:43:12 go: finding github.com/fxamacker/cbor/v2 v2.2.0 13:43:12 go: finding github.com/go-kit/kit v0.8.0 13:43:12 go: finding github.com/go-logfmt/logfmt v0.4.0 13:43:12 go: finding github.com/go-stack/stack v1.8.0 13:43:12 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 13:43:12 go: finding github.com/google/uuid v1.1.0 13:43:12 go: finding github.com/gorilla/mux v1.7.1 13:43:12 go: finding github.com/hashicorp/consul/api v1.1.0 13:43:12 go: finding github.com/hashicorp/consul/sdk v0.1.1 13:43:12 go: finding github.com/hashicorp/errwrap v1.0.0 13:43:12 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 13:43:12 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 13:43:12 go: finding github.com/hashicorp/go-msgpack v0.5.3 13:43:12 go: finding github.com/hashicorp/go-multierror v1.0.0 13:43:12 go: finding github.com/hashicorp/go-rootcerts v1.0.0 13:43:12 go: finding github.com/hashicorp/go-sockaddr v1.0.0 13:43:12 go: finding github.com/hashicorp/go-syslog v1.0.0 13:43:12 go: finding github.com/hashicorp/go-uuid v1.0.1 13:43:12 go: finding github.com/hashicorp/go.net v0.0.1 13:43:12 go: finding github.com/hashicorp/golang-lru v0.5.0 13:43:12 go: finding github.com/hashicorp/logutils v1.0.0 13:43:12 go: finding github.com/hashicorp/mdns v1.0.0 13:43:12 go: finding github.com/hashicorp/memberlist v0.1.3 13:43:12 go: finding github.com/hashicorp/serf v0.8.2 13:43:12 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 13:43:12 go: finding github.com/mattn/go-colorable v0.0.9 13:43:12 go: finding github.com/mattn/go-isatty v0.0.3 13:43:12 go: finding github.com/miekg/dns v1.0.14 13:43:12 go: finding github.com/mitchellh/cli v1.0.0 13:43:12 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 13:43:12 go: finding github.com/mitchellh/copystructure v1.0.0 13:43:12 go: finding github.com/mitchellh/go-homedir v1.0.0 13:43:12 go: finding github.com/mitchellh/go-testing-interface v1.0.0 13:43:12 go: finding github.com/mitchellh/gox v0.4.0 13:43:12 go: finding github.com/mitchellh/iochan v1.0.0 13:43:12 go: finding github.com/mitchellh/mapstructure v1.1.2 13:43:12 go: finding github.com/mitchellh/reflectwalk v1.0.0 13:43:12 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 13:43:12 go: finding github.com/pelletier/go-toml v1.2.0 13:43:12 go: finding github.com/pkg/errors v0.8.1 13:43:12 go: finding github.com/pmezard/go-difflib v1.0.0 13:43:12 go: finding github.com/posener/complete v1.1.1 13:43:12 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 13:43:12 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 13:43:12 go: finding github.com/spf13/cast v1.3.0 13:43:12 go: finding github.com/stretchr/objx v0.1.0 13:43:12 go: finding github.com/stretchr/testify v1.5.1 13:43:12 go: finding github.com/ugorji/go v1.1.4 13:43:12 go: finding github.com/x448/float16 v0.8.4 13:43:12 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 13:43:12 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 13:43:12 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 13:43:12 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 13:43:12 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 13:43:12 go: finding gopkg.in/yaml.v2 v2.2.8 13:43:17 Removing intermediate container 4b9dc60b4033 13:43:17 ---> 071a04316a2b 13:43:17 Successfully built 071a04316a2b 13:43:17 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 13:43:18 + docker inspect -f . ci-base-image-x86_64 13:43:18 . [Pipeline] withDockerContainer 13:43:18 prd-centos7-docker-4c-2g-8223 does not seem to be running inside a container 13:43:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:43:18 $ docker top cb6e2f3b2bb25f000c91ba4402ecd0ee25f638d5beaa58677eac0ffbbdeac12d -eo pid,comm [Pipeline] { [Pipeline] sh 13:43:19 + go version 13:43:19 go version go1.13.5 linux/amd64 [Pipeline] sh 13:43:19 + make test 13:43:19 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 13:43:20 ? github.com/edgexfoundry/device-rest-go [no test files] 13:43:30 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 13:43:30 ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 56.3% of statements 13:43:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:43:33 gofmt -l . 13:43:33 [ "`gofmt -l .`" = "" ] 13:43:33 ./bin/test-go-mod-tidy.sh 13:43:33 ./bin/test-attribution-txt.sh [Pipeline] stash 13:43:34 Stashed 1 file(s) [Pipeline] } 13:43:34 $ docker stop --time=1 cb6e2f3b2bb25f000c91ba4402ecd0ee25f638d5beaa58677eac0ffbbdeac12d 13:43:35 $ docker rm -f cb6e2f3b2bb25f000c91ba4402ecd0ee25f638d5beaa58677eac0ffbbdeac12d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:43:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:43:36 + ls -al . 13:43:36 total 96 13:43:36 drwxrwxr-x. 7 jenkins jenkins 4096 May 13 13:43 . 13:43:36 drwxrwxr-x. 4 jenkins jenkins 28 May 13 13:42 .. 13:43:36 -rw-rw-r--. 1 jenkins jenkins 4802 May 13 13:42 Attribution.txt 13:43:36 drwxrwxr-x. 2 jenkins jenkins 64 May 13 13:42 bin 13:43:36 drwxrwxr-x. 3 jenkins jenkins 32 May 13 13:42 cmd 13:43:36 -rw-r--r--. 1 jenkins jenkins 9369 May 13 13:43 coverage.out 13:43:36 -rw-rw-r--. 1 jenkins jenkins 1504 May 13 13:42 Dockerfile 13:43:36 -rw-rw-r--. 1 jenkins jenkins 989 May 13 13:42 Dockerfile.build 13:43:36 -rw-rw-r--. 1 jenkins jenkins 151 May 13 13:42 .dockerignore 13:43:36 drwxrwxr-x. 2 jenkins jenkins 93 May 13 13:43 driver 13:43:36 drwxrwxr-x. 8 jenkins jenkins 179 May 13 13:42 .git 13:43:36 -rw-rw-r--. 1 jenkins jenkins 339 May 13 13:42 .gitignore 13:43:36 -rw-r--r--. 1 jenkins jenkins 266 May 13 13:43 go.mod 13:43:36 -rw-r--r--. 1 jenkins jenkins 12533 May 13 13:43 go.sum 13:43:36 -rw-rw-r--. 1 jenkins jenkins 702 May 13 13:42 Jenkinsfile 13:43:36 -rw-rw-r--. 1 jenkins jenkins 11340 May 13 13:42 LICENSE 13:43:36 -rw-rw-r--. 1 jenkins jenkins 951 May 13 13:42 Makefile 13:43:36 -rw-rw-r--. 1 jenkins jenkins 5716 May 13 13:42 README.md 13:43:36 drwxrwxr-x. 3 jenkins jenkins 45 May 13 13:42 .semver 13:43:36 -rw-rw-r--. 1 jenkins jenkins 5 May 13 13:41 VERSION 13:43:36 -rw-rw-r--. 1 jenkins jenkins 713 May 13 13:42 version.go [Pipeline] isUnix [Pipeline] sh 13:43:37 + 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=cddfccf384c161ab9733075e3bba6397b35de5be --label arch=amd64 --label version=0.0.0 . 13:43:37 Sending build context to Docker daemon 8.029MB 13:43:37 Step 1/24 : ARG BASE=golang:1.13-alpine 13:43:37 Step 2/24 : FROM ${BASE} AS builder 13:43:37 ---> 071a04316a2b 13:43:37 Step 3/24 : ARG MAKE='make build' 13:43:37 ---> Running in cb5bc0828763 13:43:37 Removing intermediate container cb5bc0828763 13:43:37 ---> 62907daabe31 13:43:37 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 13:43:37 ---> Running in 93562f290919 13:43:37 Removing intermediate container 93562f290919 13:43:37 ---> 01d97ff4881b 13:43:37 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 13:43:37 ---> Running in a9a4415f7829 13:43:37 Removing intermediate container a9a4415f7829 13:43:37 ---> 0c4bb27a1255 13:43:37 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:43:37 ---> Running in 161a1e5f314c 13:43:38 Removing intermediate container 161a1e5f314c 13:43:38 ---> c42848fbf914 13:43:38 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:43:38 ---> Running in 5cf8fe38a0dd 13:43:39 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 13:43:39 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 13:43:39 OK: 143 MiB in 39 packages 13:43:40 Removing intermediate container 5cf8fe38a0dd 13:43:40 ---> b0685e51091c 13:43:40 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 13:43:40 ---> Running in 34a3cfb70a98 13:43:40 Removing intermediate container 34a3cfb70a98 13:43:40 ---> c309b5d251d6 13:43:40 Step 9/24 : COPY go.mod . 13:43:40 ---> 2bf58cdb6014 13:43:40 Step 10/24 : COPY Makefile . 13:43:40 ---> 72518d5833d4 13:43:40 Step 11/24 : RUN make update 13:43:40 ---> Running in 0639afd6cf23 13:43:41 CGO_ENABLED=0 GO111MODULE=on go mod download 13:43:41 Removing intermediate container 0639afd6cf23 13:43:41 ---> 10d01086b547 13:43:41 Step 12/24 : COPY . . 13:43:41 ---> 413de0248b65 13:43:41 Step 13/24 : RUN $MAKE 13:43:41 ---> Running in d0871d3dccf7 13:43:42 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 13:43:54 Removing intermediate container d0871d3dccf7 13:43:54 ---> 5acddb215bb2 13:43:54 Step 14/24 : FROM alpine:latest 13:43:54 latest: Pulling from library/alpine 13:43:54 cbdbe7a5bc2a: Pulling fs layer 13:43:54 cbdbe7a5bc2a: Download complete 13:43:54 cbdbe7a5bc2a: Pull complete 13:43:54 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 13:43:54 Status: Downloaded newer image for alpine:latest 13:43:54 ---> f70734b6a266 13:43:54 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:43:54 ---> Running in b8b7b4a939c2 13:43:54 Removing intermediate container b8b7b4a939c2 13:43:54 ---> 909cf6b514be 13:43:54 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 13:43:54 ---> Running in 5896c517c9fe 13:43:54 Removing intermediate container 5896c517c9fe 13:43:54 ---> 6de6dda1fe86 13:43:54 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 13:43:54 ---> 8bcd899b1d35 13:43:54 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 13:43:54 ---> 9e3d6e88e833 13:43:54 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 13:43:55 ---> 3f2655a62b04 13:43:55 Step 20/24 : EXPOSE 49986 13:43:55 ---> Running in 796a2dc606f4 13:43:55 Removing intermediate container 796a2dc606f4 13:43:55 ---> 352ff2cb2ff7 13:43:55 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 13:43:55 ---> Running in 80853bcddb63 13:43:55 Removing intermediate container 80853bcddb63 13:43:55 ---> f8d9e7a0a32f 13:43:55 Step 22/24 : LABEL arch=amd64 13:43:55 ---> Running in 31db0c823b0b 13:43:55 Removing intermediate container 31db0c823b0b 13:43:55 ---> 5ab5055985b7 13:43:55 Step 23/24 : LABEL git_sha=cddfccf384c161ab9733075e3bba6397b35de5be 13:43:55 ---> Running in 96d4ef8eb06b 13:43:55 Removing intermediate container 96d4ef8eb06b 13:43:55 ---> 94c41fc90c02 13:43:55 Step 24/24 : LABEL version=0.0.0 13:43:55 ---> Running in fe3c2ad18855 13:43:56 Removing intermediate container fe3c2ad18855 13:43:56 ---> 851036717077 13:43:56 [Warning] One or more build-args [ARCH] were not consumed 13:43:56 Successfully built 851036717077 13:43:56 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:44:43 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8225 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws 13:44:43 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 13:44:49 using credential edgex-jenkins-ssh 13:44:49 Cloning the remote Git repository 13:44:49 Cloning with configured refspecs honoured and without tags 13:44:49 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 13:44:49 > git init /w/workspace/device-rest-go/4 # timeout=10 13:44:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:44:49 > git --version # timeout=10 13:44:49 using GIT_SSH to set credentials SSH Credentials for GitHub 13:44:49 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:44:51 Fetching without tags 13:44:52 Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit e0ae7f9faf684058b73803a041875345104f2397 13:44:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:44:51 > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 13:44:51 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:44:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:44:51 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:44:51 using GIT_SSH to set credentials SSH Credentials for GitHub 13:44:51 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:44:52 > git config core.sparsecheckout # timeout=10 13:44:52 > git checkout -f e0ae7f9faf684058b73803a041875345104f2397 # timeout=10 13:44:52 > git remote # timeout=10 13:44:52 Merge succeeded, producing 0e6df947ee5d290846b4bf269205c8b161be0f28 13:44:52 Checking out Revision 0e6df947ee5d290846b4bf269205c8b161be0f28 (PR-20) 13:44:52 > git config --get remote.origin.url # timeout=10 13:44:52 using GIT_SSH to set credentials SSH Credentials for GitHub 13:44:52 > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 13:44:52 > git rev-parse HEAD^{commit} # timeout=10 13:44:52 > git config core.sparsecheckout # timeout=10 13:44:52 > git checkout -f 0e6df947ee5d290846b4bf269205c8b161be0f28 # timeout=10 13:44:57 Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" 13:44:57 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 13:44:57 > git rev-list --no-walk 68c68d2adae6b92d53d4f9cdbf6e3d19d929859d # timeout=10 [Pipeline] echo 13:44:59 ========================================================= 13:44:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 13:44:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:45:00 + 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 . 13:45:01 Sending build context to Docker daemon 8.017MB 13:45:01 Step 1/10 : ARG BASE=golang:1.13-alpine 13:45:01 Step 2/10 : FROM ${BASE} 13:45:02 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:45:02 cde5963f3b93: Pulling fs layer 13:45:02 2a23fa8c16f7: Pulling fs layer 13:45:02 777b28850792: Pulling fs layer 13:45:02 8a11ddd9e578: Pulling fs layer 13:45:02 4cf88f913ddb: Pulling fs layer 13:45:02 1df406cf5192: Pulling fs layer 13:45:02 cd6300453558: Pulling fs layer 13:45:02 b9c365052c96: Pulling fs layer 13:45:02 a2d8cc88f415: Pulling fs layer 13:45:02 ea1d1ca13537: Pulling fs layer 13:45:02 3750a50a1c5e: Pulling fs layer 13:45:02 cd6300453558: Waiting 13:45:02 b9c365052c96: Waiting 13:45:02 a2d8cc88f415: Waiting 13:45:02 ea1d1ca13537: Waiting 13:45:02 3750a50a1c5e: Waiting 13:45:02 8a11ddd9e578: Waiting 13:45:02 1df406cf5192: Waiting 13:45:02 4cf88f913ddb: Waiting 13:45:02 777b28850792: Verifying Checksum 13:45:02 777b28850792: Download complete 13:45:02 2a23fa8c16f7: Verifying Checksum 13:45:02 2a23fa8c16f7: Download complete 13:45:02 4cf88f913ddb: Verifying Checksum 13:45:02 4cf88f913ddb: Download complete 13:45:02 1df406cf5192: Verifying Checksum 13:45:02 1df406cf5192: Download complete 13:45:02 cde5963f3b93: Verifying Checksum 13:45:02 cde5963f3b93: Download complete 13:45:03 cde5963f3b93: Pull complete 13:45:04 2a23fa8c16f7: Pull complete 13:45:04 777b28850792: Pull complete 13:45:07 cd6300453558: Verifying Checksum 13:45:07 cd6300453558: Download complete 13:45:07 a2d8cc88f415: Verifying Checksum 13:45:07 a2d8cc88f415: Download complete 13:45:09 ea1d1ca13537: Verifying Checksum 13:45:09 ea1d1ca13537: Download complete 13:45:09 3750a50a1c5e: Verifying Checksum 13:45:09 3750a50a1c5e: Download complete 13:45:12 b9c365052c96: Download complete 13:45:13 8a11ddd9e578: Verifying Checksum 13:45:13 8a11ddd9e578: Download complete 13:45:26 8a11ddd9e578: Pull complete 13:45:26 4cf88f913ddb: Pull complete 13:45:26 1df406cf5192: Pull complete 13:45:30 cd6300453558: Pull complete 13:45:34 b9c365052c96: Pull complete 13:45:34 a2d8cc88f415: Pull complete 13:45:37 ea1d1ca13537: Pull complete 13:45:37 3750a50a1c5e: Pull complete 13:45:37 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 13:45:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 13:45:37 ---> 78745c68409d 13:45:37 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 13:45:43 ---> Running in 2af02ad172f5 13:45:43 Removing intermediate container 2af02ad172f5 13:45:43 ---> 101972499cd5 13:45:43 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 13:45:43 ---> Running in bcc7f3e1a3c7 13:45:43 Removing intermediate container bcc7f3e1a3c7 13:45:43 ---> ea2ea1ae4b69 13:45:43 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:45:43 ---> Running in 8761ceaf5737 13:45:43 Removing intermediate container 8761ceaf5737 13:45:43 ---> 81330c2fb3a5 13:45:43 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:45:44 ---> Running in b6496036147f 13:45:46 Removing intermediate container b6496036147f 13:45:46 ---> 805c826254e0 13:45:46 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:45:46 ---> Running in 856254fb0057 13:45:47 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 13:45:48 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 13:45:48 OK: 125 MiB in 39 packages 13:45:50 Removing intermediate container 856254fb0057 13:45:50 ---> 1345a3b7245b 13:45:50 Step 8/10 : WORKDIR /device-rest-go 13:45:50 ---> Running in c64fa037ccb4 13:45:50 Removing intermediate container c64fa037ccb4 13:45:50 ---> cc738dfe4f31 13:45:50 Step 9/10 : COPY . . 13:45:51 ---> dc93075866c0 13:45:51 Step 10/10 : RUN go mod download 13:45:51 ---> Running in 17deae5b3f24 13:45:53 go: finding github.com/BurntSushi/toml v0.3.1 13:45:53 go: finding github.com/OneOfOne/xxhash v1.2.6 13:45:53 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 13:45:53 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 13:45:53 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 13:45:53 go: finding github.com/bgentry/speakeasy v0.1.0 13:45:53 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 13:45:53 go: finding github.com/davecgh/go-spew v1.1.1 13:45:53 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 13:45:53 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 13:45:53 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 13:45:53 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 13:45:53 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 13:45:53 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 13:45:53 go: finding github.com/fatih/color v1.7.0 13:45:53 go: finding github.com/fxamacker/cbor/v2 v2.2.0 13:45:53 go: finding github.com/go-kit/kit v0.8.0 13:45:53 go: finding github.com/go-logfmt/logfmt v0.4.0 13:45:53 go: finding github.com/go-stack/stack v1.8.0 13:45:53 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 13:45:53 go: finding github.com/google/uuid v1.1.0 13:45:53 go: finding github.com/gorilla/mux v1.7.1 13:45:53 go: finding github.com/hashicorp/consul/api v1.1.0 13:45:54 go: finding github.com/hashicorp/consul/sdk v0.1.1 13:45:54 go: finding github.com/hashicorp/errwrap v1.0.0 13:45:54 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 13:45:54 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 13:45:54 go: finding github.com/hashicorp/go-msgpack v0.5.3 13:45:54 go: finding github.com/hashicorp/go-multierror v1.0.0 13:45:54 go: finding github.com/hashicorp/go-rootcerts v1.0.0 13:45:54 go: finding github.com/hashicorp/go-sockaddr v1.0.0 13:45:54 go: finding github.com/hashicorp/go-syslog v1.0.0 13:45:54 go: finding github.com/hashicorp/go-uuid v1.0.1 13:45:54 go: finding github.com/hashicorp/go.net v0.0.1 13:45:54 go: finding github.com/hashicorp/golang-lru v0.5.0 13:45:54 go: finding github.com/hashicorp/logutils v1.0.0 13:45:54 go: finding github.com/hashicorp/mdns v1.0.0 13:45:54 go: finding github.com/hashicorp/memberlist v0.1.3 13:45:54 go: finding github.com/hashicorp/serf v0.8.2 13:45:54 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 13:45:54 go: finding github.com/mattn/go-colorable v0.0.9 13:45:54 go: finding github.com/mattn/go-isatty v0.0.3 13:45:54 go: finding github.com/miekg/dns v1.0.14 13:45:54 go: finding github.com/mitchellh/cli v1.0.0 13:45:54 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 13:45:54 go: finding github.com/mitchellh/copystructure v1.0.0 13:45:54 go: finding github.com/mitchellh/go-homedir v1.0.0 13:45:54 go: finding github.com/mitchellh/go-testing-interface v1.0.0 13:45:54 go: finding github.com/mitchellh/gox v0.4.0 13:45:54 go: finding github.com/mitchellh/iochan v1.0.0 13:45:54 go: finding github.com/mitchellh/mapstructure v1.1.2 13:45:54 go: finding github.com/mitchellh/reflectwalk v1.0.0 13:45:54 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 13:45:54 go: finding github.com/pelletier/go-toml v1.2.0 13:45:54 go: finding github.com/pkg/errors v0.8.1 13:45:54 go: finding github.com/pmezard/go-difflib v1.0.0 13:45:54 go: finding github.com/posener/complete v1.1.1 13:45:54 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 13:45:54 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 13:45:54 go: finding github.com/spf13/cast v1.3.0 13:45:54 go: finding github.com/stretchr/objx v0.1.0 13:45:54 go: finding github.com/stretchr/testify v1.5.1 13:45:54 go: finding github.com/ugorji/go v1.1.4 13:45:54 go: finding github.com/x448/float16 v0.8.4 13:45:54 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 13:45:54 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 13:45:54 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 13:45:54 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 13:45:54 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 13:45:54 go: finding gopkg.in/yaml.v2 v2.2.8 13:46:04 Removing intermediate container 17deae5b3f24 13:46:04 ---> a265ee1ca3f0 13:46:04 Successfully built a265ee1ca3f0 13:46:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:46:05 + docker inspect -f . ci-base-image-arm64 13:46:05 . [Pipeline] withDockerContainer 13:46:05 prd-ubuntu18.04-docker-arm64-4c-16g-8225 does not seem to be running inside a container 13:46:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:46:07 $ docker top 793cf675c79af97e94417f23da7e375462b60ddc2c5b6043a52d0dc22a5dd6a6 -eo pid,comm [Pipeline] { [Pipeline] sh 13:46:08 + go version 13:46:08 go version go1.13.5 linux/arm64 [Pipeline] sh 13:46:09 + make test 13:46:09 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 13:46:10 ? github.com/edgexfoundry/device-rest-go [no test files] 13:46:37 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 13:46:40 ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 56.3% of statements 13:46:40 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:46:47 gofmt -l . 13:46:47 [ "`gofmt -l .`" = "" ] 13:46:47 ./bin/test-go-mod-tidy.sh 13:46:47 ./bin/test-attribution-txt.sh [Pipeline] stash 13:46:47 Warning: overwriting stash ‘coverage-report’ 13:46:48 Stashed 1 file(s) [Pipeline] } 13:46:48 $ docker stop --time=1 793cf675c79af97e94417f23da7e375462b60ddc2c5b6043a52d0dc22a5dd6a6 13:46:50 $ docker rm -f 793cf675c79af97e94417f23da7e375462b60ddc2c5b6043a52d0dc22a5dd6a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:46:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:46:51 + ls -al . 13:46:51 total 120 13:46:51 drwxrwxr-x 7 jenkins jenkins 4096 May 13 13:46 . 13:46:51 drwxrwxr-x 4 jenkins jenkins 4096 May 13 13:44 .. 13:46:51 -rw-rw-r-- 1 jenkins jenkins 151 May 13 13:44 .dockerignore 13:46:51 drwxrwxr-x 8 jenkins jenkins 4096 May 13 13:44 .git 13:46:51 -rw-rw-r-- 1 jenkins jenkins 339 May 13 13:44 .gitignore 13:46:51 drwxrwxr-x 3 jenkins jenkins 4096 May 13 13:44 .semver 13:46:51 -rw-rw-r-- 1 jenkins jenkins 4802 May 13 13:44 Attribution.txt 13:46:51 -rw-rw-r-- 1 jenkins jenkins 1504 May 13 13:44 Dockerfile 13:46:51 -rw-rw-r-- 1 jenkins jenkins 989 May 13 13:44 Dockerfile.build 13:46:51 -rw-rw-r-- 1 jenkins jenkins 702 May 13 13:44 Jenkinsfile 13:46:51 -rw-rw-r-- 1 jenkins jenkins 11340 May 13 13:44 LICENSE 13:46:51 -rw-rw-r-- 1 jenkins jenkins 951 May 13 13:44 Makefile 13:46:51 -rw-rw-r-- 1 jenkins jenkins 5716 May 13 13:44 README.md 13:46:51 -rw-rw-r-- 1 jenkins jenkins 5 May 13 13:41 VERSION 13:46:51 drwxrwxr-x 2 jenkins jenkins 4096 May 13 13:44 bin 13:46:51 drwxrwxr-x 3 jenkins jenkins 4096 May 13 13:44 cmd 13:46:51 -rw-r--r-- 1 jenkins jenkins 9369 May 13 13:46 coverage.out 13:46:51 drwxrwxr-x 2 jenkins jenkins 4096 May 13 13:46 driver 13:46:51 -rw-r--r-- 1 jenkins jenkins 266 May 13 13:46 go.mod 13:46:51 -rw-r--r-- 1 jenkins jenkins 12533 May 13 13:46 go.sum 13:46:51 -rw-rw-r-- 1 jenkins jenkins 713 May 13 13:44 version.go [Pipeline] isUnix [Pipeline] sh 13:46:52 + 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=cddfccf384c161ab9733075e3bba6397b35de5be --label arch=arm64 --label version=0.0.0 . 13:46:52 Sending build context to Docker daemon 8.029MB 13:46:52 Step 1/24 : ARG BASE=golang:1.13-alpine 13:46:52 Step 2/24 : FROM ${BASE} AS builder 13:46:52 ---> a265ee1ca3f0 13:46:52 Step 3/24 : ARG MAKE='make build' 13:46:53 ---> Running in 1c0d6f8ff634 13:46:53 Removing intermediate container 1c0d6f8ff634 13:46:53 ---> 005108335671 13:46:53 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 13:46:53 ---> Running in c40ea5244e09 13:46:53 Removing intermediate container c40ea5244e09 13:46:53 ---> 32b631fb1e05 13:46:53 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 13:46:54 ---> Running in 65c6ccfb9904 13:46:54 Removing intermediate container 65c6ccfb9904 13:46:54 ---> f02ff9fdbd08 13:46:54 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:46:54 ---> Running in 69b49e626cf2 13:46:56 Removing intermediate container 69b49e626cf2 13:46:56 ---> 8eed491ca84c 13:46:56 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:46:56 ---> Running in f5712badfb29 13:46:57 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 13:46:58 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 13:46:58 OK: 125 MiB in 39 packages 13:47:00 Removing intermediate container f5712badfb29 13:47:00 ---> af5c70b158f8 13:47:00 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 13:47:00 ---> Running in a376d48df9db 13:47:00 Removing intermediate container a376d48df9db 13:47:00 ---> 9c8d44795c8f 13:47:00 Step 9/24 : COPY go.mod . 13:47:01 ---> 6a131c4c922d 13:47:01 Step 10/24 : COPY Makefile . 13:47:01 ---> 331368dda5ef 13:47:01 Step 11/24 : RUN make update 13:47:01 ---> Running in d292821126a2 13:47:02 CGO_ENABLED=0 GO111MODULE=on go mod download 13:47:03 Removing intermediate container d292821126a2 13:47:03 ---> 752ce6065fca 13:47:03 Step 12/24 : COPY . . 13:47:04 ---> dc508b20277b 13:47:04 Step 13/24 : RUN $MAKE 13:47:04 ---> Running in 1004c6956586 13:47:05 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 13:47:38 Removing intermediate container 1004c6956586 13:47:38 ---> 194d304f810a 13:47:38 Step 14/24 : FROM alpine:latest 13:47:38 latest: Pulling from library/alpine 13:47:38 29e5d40040c1: Pulling fs layer 13:47:38 29e5d40040c1: Verifying Checksum 13:47:38 29e5d40040c1: Download complete 13:47:38 29e5d40040c1: Pull complete 13:47:38 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 13:47:38 Status: Downloaded newer image for alpine:latest 13:47:38 ---> c20d2a9ab686 13:47:38 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:47:38 ---> Running in b4fe51cd35cc 13:47:38 Removing intermediate container b4fe51cd35cc 13:47:38 ---> a95da615d4a3 13:47:38 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 13:47:38 ---> Running in 53706dee0394 13:47:38 Removing intermediate container 53706dee0394 13:47:38 ---> c297c3918b48 13:47:38 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 13:47:38 ---> cd1a1e5a60da 13:47:38 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 13:47:38 ---> 66c350c4d049 13:47:38 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 13:47:38 ---> 6d601f0e37c8 13:47:38 Step 20/24 : EXPOSE 49986 13:47:38 ---> Running in 634236fe47d5 13:47:38 Removing intermediate container 634236fe47d5 13:47:38 ---> be32498d9b12 13:47:38 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 13:47:38 ---> Running in 1c88603f8fc9 13:47:38 Removing intermediate container 1c88603f8fc9 13:47:38 ---> 7cb35808ecf9 13:47:38 Step 22/24 : LABEL arch=arm64 13:47:38 ---> Running in aec28a55256a 13:47:39 Removing intermediate container aec28a55256a 13:47:39 ---> 1553b3b19a8f 13:47:39 Step 23/24 : LABEL git_sha=cddfccf384c161ab9733075e3bba6397b35de5be 13:47:39 ---> Running in ce72b9c2765a 13:47:39 Removing intermediate container ce72b9c2765a 13:47:39 ---> 97031976d1c7 13:47:39 Step 24/24 : LABEL version=0.0.0 13:47:39 ---> Running in 702be07415c2 13:47:40 Removing intermediate container 702be07415c2 13:47:40 ---> 5f35947b409c 13:47:40 [Warning] One or more build-args [ARCH] were not consumed 13:47:40 Successfully built 5f35947b409c 13:47:40 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 13:47:41 provisioning config files... 13:47:41 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config2845841055625833482tmp [Pipeline] { [Pipeline] sh 13:47:42 + curl -s https://codecov.io/bash 13:47:42 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config2845841055625833482tmp 13:47:42 13:47:42 _____ _ 13:47:42 / ____| | | 13:47:42 | | ___ __| | ___ ___ _____ __ 13:47:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:47:42 | |___| (_) | (_| | __/ (_| (_) \ V / 13:47:42 \_____\___/ \__,_|\___|\___\___/ \_/ 13:47:42 Bash-tbd 13:47:42 13:47:42 13:47:42 ==> Jenkins CI detected. 13:47:42 project root: . 13:47:42 Fixing merge commit SHA 13:47:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:47:42 ==> Running gcov in . (disable via -X gcov) 13:47:42 ==> Python coveragepy not found 13:47:42 ==> Searching for coverage reports in: 13:47:42 + . 13:47:42 -> Found 1 reports 13:47:42 ==> Detecting git/mercurial file structure 13:47:42 ==> Reading reports 13:47:42 + ./coverage.out bytes=9369 13:47:42 ==> Appending adjustments 13:47:42 http://docs.codecov.io/docs/fixing-reports 13:47:42 + Found adjustments 13:47:42 ==> Gzipping contents 13:47:42 ==> Uploading reports 13:47:42 url: https://codecov.io 13:47:42 query: branch=PR-20&commit=2ca6a6137050167f4ab56441aff9642385515f05&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-20%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=20&job= 13:47:42 -> Pinging Codecov 13:47:42 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-20&commit=2ca6a6137050167f4ab56441aff9642385515f05&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-20%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=20&job= 13:47:44 -> Uploading 13:47:44 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2ca6a6137050167f4ab56441aff9642385515f05 [Pipeline] } 13:47:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 13:47:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:47:46 ---> package-listing.sh 13:47:46 ++ facter osfamily 13:47:46 ++ tr '[:upper:]' '[:lower:]' 13:47:46 + OS_FAMILY=redhat 13:47:46 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-20 13:47:46 + START_PACKAGES=/tmp/packages_start.txt 13:47:46 + END_PACKAGES=/tmp/packages_end.txt 13:47:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:47:46 + PACKAGES=/tmp/packages_start.txt 13:47:46 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' 13:47:46 + PACKAGES=/tmp/packages_end.txt 13:47:46 + case "${OS_FAMILY}" in 13:47:46 + rpm -qa 13:47:46 + sort 13:47:50 + '[' -f /tmp/packages_start.txt ']' 13:47:50 + '[' -f /tmp/packages_end.txt ']' 13:47:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:47:50 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' 13:47:50 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-20/archives/ 13:47:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-20/archives/ [Pipeline] isUnix [Pipeline] sh 13:47:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:47:50 13:47:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:47:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:47:51 alpine: Pulling from edgex-lftools-log-publisher 13:47:51 c9b1b535fdd9: Pulling fs layer 13:47:51 2cc5ad85d9ab: Pulling fs layer 13:47:51 756a868c4378: Pulling fs layer 13:47:51 444b2fc9a129: Pulling fs layer 13:47:51 ea15f1150254: Pulling fs layer 13:47:51 41b27a9f41bf: Pulling fs layer 13:47:51 28c525ee5125: Pulling fs layer 13:47:51 094b1ea09ed8: Pulling fs layer 13:47:51 138eaada9080: Pulling fs layer 13:47:51 0622d0fa9048: Pulling fs layer 13:47:51 41b27a9f41bf: Waiting 13:47:51 28c525ee5125: Waiting 13:47:51 094b1ea09ed8: Waiting 13:47:51 138eaada9080: Waiting 13:47:51 0622d0fa9048: Waiting 13:47:51 444b2fc9a129: Waiting 13:47:51 ea15f1150254: Waiting 13:47:51 2cc5ad85d9ab: Verifying Checksum 13:47:51 2cc5ad85d9ab: Download complete 13:47:51 444b2fc9a129: Verifying Checksum 13:47:51 444b2fc9a129: Download complete 13:47:51 c9b1b535fdd9: Verifying Checksum 13:47:51 c9b1b535fdd9: Download complete 13:47:51 ea15f1150254: Download complete 13:47:51 28c525ee5125: Verifying Checksum 13:47:51 28c525ee5125: Download complete 13:47:51 756a868c4378: Verifying Checksum 13:47:51 756a868c4378: Download complete 13:47:51 c9b1b535fdd9: Pull complete 13:47:51 138eaada9080: Verifying Checksum 13:47:51 138eaada9080: Download complete 13:47:51 0622d0fa9048: Verifying Checksum 13:47:51 0622d0fa9048: Download complete 13:47:51 094b1ea09ed8: Verifying Checksum 13:47:51 094b1ea09ed8: Download complete 13:47:51 2cc5ad85d9ab: Pull complete 13:47:52 41b27a9f41bf: Verifying Checksum 13:47:52 41b27a9f41bf: Download complete 13:47:53 756a868c4378: Pull complete 13:47:53 444b2fc9a129: Pull complete 13:47:54 ea15f1150254: Pull complete 13:47:57 41b27a9f41bf: Pull complete 13:47:57 28c525ee5125: Pull complete 13:47:59 094b1ea09ed8: Pull complete 13:47:59 138eaada9080: Pull complete 13:47:59 0622d0fa9048: Pull complete 13:47:59 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 13:47:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:47:59 prd-centos7-docker-4c-2g-8217 does not seem to be running inside a container 13:47:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-rest-go_PR-20 -v /w/workspace/dgexfoundry_device-rest-go_PR-20:/w/workspace/dgexfoundry_device-rest-go_PR-20:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 13:48:00 $ docker top 37045b1e1b8c5c9d7844081686aa4ae732884dd7e4e7cf24c73e36b9717f2634 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:48:00 provisioning config files... 13:48:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config3922109744706710472tmp [Pipeline] { [Pipeline] echo 13:48:00 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:48:01 ---> create-netrc.sh [Pipeline] echo 13:48:01 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:48:01 ---> logs-deploy.sh 13:48:01 + ARCHIVE_ARTIFACTS= 13:48:01 + LOGS_SERVER=https://logs.edgexfoundry.org 13:48:01 + '[' https://logs.edgexfoundry.org == None ']' 13:48:01 + NEXUS_URL=https://nexus.edgexfoundry.org 13:48:01 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/4 13:48:01 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/4/ 13:48:01 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/4 /w/workspace/dgexfoundry_device-rest-go_PR-20 13:48:02 Archives upload complete. 13:48:02 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/4/