Branch indexing 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 32a9f9d1ae90d66de0c666aabab5e708cedc88ca+2ca6a6137050167f4ab56441aff9642385515f05 (d664cc1bc3d080458b0d326b0d05b345475adde2) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-8020 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 32a9f9d1ae90d66de0c666aabab5e708cedc88ca Merge succeeded, producing 749454f6c98d9d3fb5ca93a296d975e602c34c37 Checking out Revision 749454f6c98d9d3fb5ca93a296d975e602c34c37 (PR-20) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # 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 749454f6c98d9d3fb5ca93a296d975e602c34c37 # timeout=10 Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" > git rev-list --no-walk 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:07:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:07:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:07:27 ========================================================= 15:07:27 EdgeX Global Pipelines Version Info 15:07:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:07:28 ------------------- 15:07:28 stable info: 15:07:28 ------------------- 15:07:28 Commited By: Emilio Reyes emilio.reyes@intel.com 15:07:28 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 15:07:28 Message: update stable to v1.0.87 15:07:29 ------------------- 15:07:29 experimental info: 15:07:29 ------------------- 15:07:29 Commited By: **** collab-it+edgex@linuxfoundation.org 15:07:29 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 15:07:29 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:07:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:07:32 15:07:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:07:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:07:33 latest: Pulling from edgex-devops/git-semver 15:07:33 9123ac7c32f7: Pulling fs layer 15:07:33 b8cc5d1170e3: Pulling fs layer 15:07:33 2924cbbf6a41: Pulling fs layer 15:07:33 93b08a4f1073: Pulling fs layer 15:07:33 93b08a4f1073: Waiting 15:07:33 b8cc5d1170e3: Verifying Checksum 15:07:33 b8cc5d1170e3: Download complete 15:07:33 9123ac7c32f7: Verifying Checksum 15:07:33 9123ac7c32f7: Download complete 15:07:33 93b08a4f1073: Verifying Checksum 15:07:33 93b08a4f1073: Download complete 15:07:33 2924cbbf6a41: Verifying Checksum 15:07:33 2924cbbf6a41: Download complete 15:07:33 9123ac7c32f7: Pull complete 15:07:33 b8cc5d1170e3: Pull complete 15:07:34 2924cbbf6a41: Pull complete 15:07:34 93b08a4f1073: Pull complete 15:07:34 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 15:07:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:07:34 prd-centos7-docker-4c-2g-8020 does not seem to be running inside a container 15:07:34 $ 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 15:07:35 $ docker top 8939ddb1c2a1fe906c940754a0f4b238492372d0e301a65967d6566dfb0f1e90 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:07:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:07:35 [ssh-agent] Looking for ssh-agent implementation... 15:07:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:07:36 $ docker exec 8939ddb1c2a1fe906c940754a0f4b238492372d0e301a65967d6566dfb0f1e90 ssh-agent 15:07:36 SSH_AUTH_SOCK=/tmp/ssh-X23jRJDQHMBm/agent.15 15:07:36 SSH_AGENT_PID=22 15:07:36 Running ssh-add (command line suppressed) 15:07:36 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_1041014467985480577.key (/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_1041014467985480577.key) 15:07:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:07:36 + git describe --exact-match --tags HEAD 15:07:36 fatal: No names found, cannot describe anything. [Pipeline] } 15:07:36 $ docker exec --env ******** --env ******** 8939ddb1c2a1fe906c940754a0f4b238492372d0e301a65967d6566dfb0f1e90 ssh-agent -k 15:07:37 unset SSH_AUTH_SOCK; 15:07:37 unset SSH_AGENT_PID; 15:07:37 echo Agent pid 22 killed; 15:07:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:07:37 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:07:37 This usually means this commit has not been tagged. [Pipeline] sshagent 15:07:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:07:37 [ssh-agent] Looking for ssh-agent implementation... 15:07:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:07:37 $ docker exec 8939ddb1c2a1fe906c940754a0f4b238492372d0e301a65967d6566dfb0f1e90 ssh-agent 15:07:37 SSH_AUTH_SOCK=/tmp/ssh-o2Wuhl0X4HZc/agent.58 15:07:37 SSH_AGENT_PID=65 15:07:37 Running ssh-add (command line suppressed) 15:07:37 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_8058133274231747780.key (/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_8058133274231747780.key) 15:07:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:07:38 + git semver init 15:07:38 # -> Open(): unable to determine branch for HEAD 15:07:38 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.git 15:07:38 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-20 15:07:38 # $SEMVER_REMOTE_NAME = origin 15:07:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:07:38 # $SEMVER_USER_NAME = edgex-jenkins 15:07:38 # $SEMVER_BRANCH = PR-20 15:07:38 # $SEMVER_TEMP = /tmp/semver-818254257 15:07:38 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 15:07:39 # '/tmp/semver-818254257' -> '/w/workspace/dgexfoundry_device-rest-go_PR-20/.semver' 15:07:39 # -> Force: false 15:07:39 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.semver [Pipeline] } 15:07:39 $ docker exec --env ******** --env ******** 8939ddb1c2a1fe906c940754a0f4b238492372d0e301a65967d6566dfb0f1e90 ssh-agent -k 15:07:39 unset SSH_AUTH_SOCK; 15:07:39 unset SSH_AGENT_PID; 15:07:39 echo Agent pid 65 killed; 15:07:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:07:40 + git semver [Pipeline] } 15:07:40 $ docker stop --time=1 8939ddb1c2a1fe906c940754a0f4b238492372d0e301a65967d6566dfb0f1e90 15:07:41 $ docker rm -f 8939ddb1c2a1fe906c940754a0f4b238492372d0e301a65967d6566dfb0f1e90 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:07:43 Stashed 19 file(s) [Pipeline] echo 15:07:43 [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 15:07:58 Still waiting to schedule task 15:07:58 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-8020’ 15:07:58 Still waiting to schedule task 15:07:58 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:09:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8021 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws 15:09:46 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 15:09:52 using credential edgex-jenkins-ssh 15:09:52 Cloning the remote Git repository 15:09:52 Cloning with configured refspecs honoured and without tags 15:09:52 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:09:52 > git init /w/workspace/device-rest-go/2 # timeout=10 15:09:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:09:52 > git --version # timeout=10 15:09:52 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:52 > 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 15:09:54 Fetching without tags 15:09:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:09:54 > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 15:09:54 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:09:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:09:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:09:54 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:54 > 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 15:09:54 Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit 32a9f9d1ae90d66de0c666aabab5e708cedc88ca 15:09:54 Merge succeeded, producing ce246ba8b898d72dfe138eff968a015d792df557 15:09:54 Checking out Revision ce246ba8b898d72dfe138eff968a015d792df557 (PR-20) 15:09:54 > git config core.sparsecheckout # timeout=10 15:09:54 > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 15:09:54 > git remote # timeout=10 15:09:54 > git config --get remote.origin.url # timeout=10 15:09:54 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:54 > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 15:09:54 > git rev-parse HEAD^{commit} # timeout=10 15:09:54 > git config core.sparsecheckout # timeout=10 15:09:54 > git checkout -f ce246ba8b898d72dfe138eff968a015d792df557 # timeout=10 15:09:59 Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" 15:09:59 > git rev-list --no-walk 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:10:01 ========================================================= 15:10:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 15:10:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:10:02 + 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:10:03 Sending build context to Docker daemon 8.017MB 15:10:03 Step 1/10 : ARG BASE=golang:1.13-alpine 15:10:03 Step 2/10 : FROM ${BASE} 15:10:03 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:10:03 cde5963f3b93: Pulling fs layer 15:10:03 2a23fa8c16f7: Pulling fs layer 15:10:03 777b28850792: Pulling fs layer 15:10:03 8a11ddd9e578: Pulling fs layer 15:10:03 4cf88f913ddb: Pulling fs layer 15:10:03 1df406cf5192: Pulling fs layer 15:10:03 cd6300453558: Pulling fs layer 15:10:03 b9c365052c96: Pulling fs layer 15:10:03 a2d8cc88f415: Pulling fs layer 15:10:03 8a11ddd9e578: Waiting 15:10:03 4cf88f913ddb: Waiting 15:10:03 1df406cf5192: Waiting 15:10:03 cd6300453558: Waiting 15:10:03 b9c365052c96: Waiting 15:10:03 ea1d1ca13537: Pulling fs layer 15:10:03 a2d8cc88f415: Waiting 15:10:03 3750a50a1c5e: Pulling fs layer 15:10:03 ea1d1ca13537: Waiting 15:10:03 777b28850792: Verifying Checksum 15:10:03 777b28850792: Download complete 15:10:03 2a23fa8c16f7: Download complete 15:10:03 4cf88f913ddb: Verifying Checksum 15:10:03 4cf88f913ddb: Download complete 15:10:03 1df406cf5192: Verifying Checksum 15:10:03 1df406cf5192: Download complete 15:10:03 cde5963f3b93: Verifying Checksum 15:10:04 cde5963f3b93: Pull complete 15:10:05 2a23fa8c16f7: Pull complete 15:10:05 777b28850792: Pull complete 15:10:08 cd6300453558: Verifying Checksum 15:10:08 cd6300453558: Download complete 15:10:08 a2d8cc88f415: Verifying Checksum 15:10:08 a2d8cc88f415: Download complete 15:10:10 ea1d1ca13537: Verifying Checksum 15:10:10 ea1d1ca13537: Download complete 15:10:10 3750a50a1c5e: Verifying Checksum 15:10:10 3750a50a1c5e: Download complete 15:10:13 b9c365052c96: Verifying Checksum 15:10:13 b9c365052c96: Download complete 15:10:15 8a11ddd9e578: Verifying Checksum 15:10:15 8a11ddd9e578: Download complete 15:10:15 Running on prd-centos7-docker-4c-2g-8022 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws 15:10:16 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 15:10:18 using credential edgex-jenkins-ssh 15:10:18 Cloning the remote Git repository 15:10:18 Cloning with configured refspecs honoured and without tags 15:10:17 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:10:17 > git init /w/workspace/device-rest-go/2 # timeout=10 15:10:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:10:17 > git --version # timeout=10 15:10:17 using GIT_SSH to set credentials SSH Credentials for GitHub 15:10:17 > 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 15:10:19 Fetching without tags 15:10:20 Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit 32a9f9d1ae90d66de0c666aabab5e708cedc88ca 15:10:20 Merge succeeded, producing be665892cabec6b08a14454a204fdb846920fbdc 15:10:20 Checking out Revision be665892cabec6b08a14454a204fdb846920fbdc (PR-20) 15:10:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:10:19 > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 15:10:19 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:10:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:10:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:10:19 using GIT_SSH to set credentials SSH Credentials for GitHub 15:10:19 > 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 15:10:19 > git config core.sparsecheckout # timeout=10 15:10:19 > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 15:10:19 > git remote # timeout=10 15:10:19 > git config --get remote.origin.url # timeout=10 15:10:19 using GIT_SSH to set credentials SSH Credentials for GitHub 15:10:19 > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 15:10:19 > git rev-parse HEAD^{commit} # timeout=10 15:10:19 > git config core.sparsecheckout # timeout=10 15:10:19 > git checkout -f be665892cabec6b08a14454a204fdb846920fbdc # timeout=10 15:10:24 Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" 15:10:24 > git rev-list --no-walk 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:10:25 ========================================================= 15:10:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 15:10:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:10:26 + 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:10:26 Sending build context to Docker daemon 8.017MB 15:10:26 Step 1/10 : ARG BASE=golang:1.13-alpine 15:10:26 Step 2/10 : FROM ${BASE} 15:10:26 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 15:10:26 e6b0cf9c0882: Pulling fs layer 15:10:26 2848faf0eed1: Pulling fs layer 15:10:26 0f37312ad70f: Pulling fs layer 15:10:26 5788d62ee057: Pulling fs layer 15:10:26 0e6b1d234666: Pulling fs layer 15:10:26 bf5d7aec512f: Pulling fs layer 15:10:26 34c802a77dc8: Pulling fs layer 15:10:26 9eb99e56ec68: Pulling fs layer 15:10:26 27c7a5d97fbd: Pulling fs layer 15:10:26 5c102a31e300: Pulling fs layer 15:10:26 dcfb455df0a1: Pulling fs layer 15:10:26 34c802a77dc8: Waiting 15:10:26 9eb99e56ec68: Waiting 15:10:26 27c7a5d97fbd: Waiting 15:10:26 5788d62ee057: Waiting 15:10:26 5c102a31e300: Waiting 15:10:26 dcfb455df0a1: Waiting 15:10:26 bf5d7aec512f: Waiting 15:10:26 0f37312ad70f: Download complete 15:10:26 2848faf0eed1: Verifying Checksum 15:10:26 2848faf0eed1: Download complete 15:10:26 0e6b1d234666: Verifying Checksum 15:10:26 0e6b1d234666: Download complete 15:10:26 bf5d7aec512f: Verifying Checksum 15:10:26 bf5d7aec512f: Download complete 15:10:26 e6b0cf9c0882: Verifying Checksum 15:10:26 e6b0cf9c0882: Download complete 15:10:26 e6b0cf9c0882: Pull complete 15:10:27 2848faf0eed1: Pull complete 15:10:27 8a11ddd9e578: Pull complete 15:10:27 4cf88f913ddb: Pull complete 15:10:27 1df406cf5192: Pull complete 15:10:27 34c802a77dc8: Verifying Checksum 15:10:27 34c802a77dc8: Download complete 15:10:27 27c7a5d97fbd: Verifying Checksum 15:10:27 27c7a5d97fbd: Download complete 15:10:27 5c102a31e300: Verifying Checksum 15:10:27 5c102a31e300: Download complete 15:10:28 9eb99e56ec68: Verifying Checksum 15:10:28 9eb99e56ec68: Download complete 15:10:28 dcfb455df0a1: Verifying Checksum 15:10:28 dcfb455df0a1: Download complete 15:10:28 5788d62ee057: Verifying Checksum 15:10:28 5788d62ee057: Download complete 15:10:29 0f37312ad70f: Pull complete 15:10:31 cd6300453558: Pull complete 15:10:34 5788d62ee057: Pull complete 15:10:34 0e6b1d234666: Pull complete 15:10:34 bf5d7aec512f: Pull complete 15:10:37 b9c365052c96: Pull complete 15:10:37 a2d8cc88f415: Pull complete 15:10:39 ea1d1ca13537: Pull complete 15:10:39 3750a50a1c5e: Pull complete 15:10:39 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 15:10:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 15:10:39 ---> 78745c68409d 15:10:39 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 15:10:42 34c802a77dc8: Pull complete 15:10:43 ---> Running in c95baad1ad39 15:10:43 Removing intermediate container c95baad1ad39 15:10:43 ---> 7feec75c30aa 15:10:43 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:10:43 ---> Running in 53924917b61c 15:10:44 Removing intermediate container 53924917b61c 15:10:44 ---> 2b3b55389c65 15:10:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:10:44 ---> Running in 2a9399e63de8 15:10:44 Removing intermediate container 2a9399e63de8 15:10:44 ---> 4d2e2cf3e17f 15:10:44 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:10:45 9eb99e56ec68: Pull complete 15:10:45 27c7a5d97fbd: Pull complete 15:10:45 ---> Running in 6dd62a4d28b6 15:10:45 5c102a31e300: Pull complete 15:10:45 dcfb455df0a1: Pull complete 15:10:45 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 15:10:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 15:10:45 ---> 7c70fe431013 15:10:45 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 15:10:45 ---> Running in b6430843c9ba 15:10:45 Removing intermediate container b6430843c9ba 15:10:45 ---> 82db23eac43d 15:10:45 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:10:45 ---> Running in 01da380a0afd 15:10:46 Removing intermediate container 01da380a0afd 15:10:46 ---> b954a93bf2ed 15:10:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:10:46 ---> Running in ae74fc0c12a6 15:10:46 Removing intermediate container ae74fc0c12a6 15:10:46 ---> f028253833f2 15:10:46 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:10:46 ---> Running in ea23d5650e49 15:10:46 Removing intermediate container ea23d5650e49 15:10:46 ---> 1d7bee33c647 15:10:46 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:10:46 ---> Running in cb11e412beed 15:10:47 Removing intermediate container 6dd62a4d28b6 15:10:47 ---> 01fbe568218f 15:10:47 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:10:47 ---> Running in af0c9142353c 15:10:47 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:10:48 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:10:48 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:10:48 OK: 143 MiB in 39 packages 15:10:48 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:10:49 Removing intermediate container cb11e412beed 15:10:49 ---> ee33c95dc835 15:10:49 Step 8/10 : WORKDIR /device-rest-go 15:10:49 ---> Running in d44a40233546 15:10:49 Removing intermediate container d44a40233546 15:10:49 ---> 80e2ff100c27 15:10:49 Step 9/10 : COPY . . 15:10:49 OK: 125 MiB in 39 packages 15:10:49 ---> d336c9eddc82 15:10:49 Step 10/10 : RUN go mod download 15:10:49 ---> Running in 4b56389d4c67 15:10:50 Removing intermediate container af0c9142353c 15:10:50 ---> a6be8928e16b 15:10:50 Step 8/10 : WORKDIR /device-rest-go 15:10:50 ---> Running in 0006182e8b88 15:10:51 Removing intermediate container 0006182e8b88 15:10:51 ---> e92260394321 15:10:51 Step 9/10 : COPY . . 15:10:52 ---> 5f2afe98326f 15:10:52 Step 10/10 : RUN go mod download 15:10:52 go: finding github.com/BurntSushi/toml v0.3.1 15:10:52 go: finding github.com/OneOfOne/xxhash v1.2.6 15:10:52 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:10:52 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:10:52 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:10:52 go: finding github.com/bgentry/speakeasy v0.1.0 15:10:52 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:10:52 go: finding github.com/davecgh/go-spew v1.1.1 15:10:52 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 15:10:52 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 15:10:52 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:10:52 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 15:10:52 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 15:10:52 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:10:52 go: finding github.com/fatih/color v1.7.0 15:10:52 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:10:52 go: finding github.com/go-kit/kit v0.8.0 15:10:52 go: finding github.com/go-logfmt/logfmt v0.4.0 15:10:52 go: finding github.com/go-stack/stack v1.8.0 15:10:52 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:10:52 go: finding github.com/google/uuid v1.1.0 15:10:52 go: finding github.com/gorilla/mux v1.7.1 15:10:52 go: finding github.com/hashicorp/consul/api v1.1.0 15:10:52 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:10:52 go: finding github.com/hashicorp/errwrap v1.0.0 15:10:52 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:10:52 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:10:52 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:10:52 go: finding github.com/hashicorp/go-multierror v1.0.0 15:10:52 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:10:52 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:10:52 go: finding github.com/hashicorp/go-syslog v1.0.0 15:10:52 ---> Running in df806f245eb9 15:10:52 go: finding github.com/hashicorp/go-uuid v1.0.1 15:10:52 go: finding github.com/hashicorp/go.net v0.0.1 15:10:52 go: finding github.com/hashicorp/golang-lru v0.5.0 15:10:52 go: finding github.com/hashicorp/logutils v1.0.0 15:10:52 go: finding github.com/hashicorp/mdns v1.0.0 15:10:52 go: finding github.com/hashicorp/memberlist v0.1.3 15:10:52 go: finding github.com/hashicorp/serf v0.8.2 15:10:52 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:10:52 go: finding github.com/mattn/go-colorable v0.0.9 15:10:52 go: finding github.com/mattn/go-isatty v0.0.3 15:10:52 go: finding github.com/miekg/dns v1.0.14 15:10:52 go: finding github.com/mitchellh/cli v1.0.0 15:10:52 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:10:52 go: finding github.com/mitchellh/copystructure v1.0.0 15:10:52 go: finding github.com/mitchellh/go-homedir v1.0.0 15:10:52 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:10:52 go: finding github.com/mitchellh/gox v0.4.0 15:10:52 go: finding github.com/mitchellh/iochan v1.0.0 15:10:52 go: finding github.com/mitchellh/mapstructure v1.1.2 15:10:52 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:10:52 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:10:52 go: finding github.com/pelletier/go-toml v1.2.0 15:10:52 go: finding github.com/pkg/errors v0.8.1 15:10:52 go: finding github.com/pmezard/go-difflib v1.0.0 15:10:52 go: finding github.com/posener/complete v1.1.1 15:10:52 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:10:52 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:10:52 go: finding github.com/spf13/cast v1.3.0 15:10:52 go: finding github.com/stretchr/objx v0.1.0 15:10:52 go: finding github.com/stretchr/testify v1.5.1 15:10:52 go: finding github.com/ugorji/go v1.1.4 15:10:52 go: finding github.com/x448/float16 v0.8.4 15:10:52 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:10:52 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:10:52 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:10:52 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:10:52 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:10:52 go: finding gopkg.in/yaml.v2 v2.2.8 15:10:54 go: finding github.com/BurntSushi/toml v0.3.1 15:10:54 go: finding github.com/OneOfOne/xxhash v1.2.6 15:10:54 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:10:54 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:10:54 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:10:54 go: finding github.com/bgentry/speakeasy v0.1.0 15:10:54 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:10:54 go: finding github.com/davecgh/go-spew v1.1.1 15:10:54 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 15:10:54 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 15:10:54 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:10:54 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 15:10:54 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 15:10:54 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:10:54 go: finding github.com/fatih/color v1.7.0 15:10:54 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:10:54 go: finding github.com/go-kit/kit v0.8.0 15:10:54 go: finding github.com/go-logfmt/logfmt v0.4.0 15:10:54 go: finding github.com/go-stack/stack v1.8.0 15:10:54 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:10:55 go: finding github.com/google/uuid v1.1.0 15:10:55 go: finding github.com/gorilla/mux v1.7.1 15:10:55 go: finding github.com/hashicorp/consul/api v1.1.0 15:10:55 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:10:55 go: finding github.com/hashicorp/errwrap v1.0.0 15:10:55 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:10:55 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:10:55 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:10:55 go: finding github.com/hashicorp/go-multierror v1.0.0 15:10:55 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:10:55 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:10:55 go: finding github.com/hashicorp/go-syslog v1.0.0 15:10:55 go: finding github.com/hashicorp/go-uuid v1.0.1 15:10:55 go: finding github.com/hashicorp/go.net v0.0.1 15:10:55 go: finding github.com/hashicorp/golang-lru v0.5.0 15:10:55 go: finding github.com/hashicorp/logutils v1.0.0 15:10:55 go: finding github.com/hashicorp/mdns v1.0.0 15:10:55 go: finding github.com/hashicorp/memberlist v0.1.3 15:10:55 go: finding github.com/hashicorp/serf v0.8.2 15:10:55 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:10:55 go: finding github.com/mattn/go-colorable v0.0.9 15:10:55 go: finding github.com/mattn/go-isatty v0.0.3 15:10:55 go: finding github.com/miekg/dns v1.0.14 15:10:55 go: finding github.com/mitchellh/cli v1.0.0 15:10:55 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:10:55 go: finding github.com/mitchellh/copystructure v1.0.0 15:10:55 go: finding github.com/mitchellh/go-homedir v1.0.0 15:10:55 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:10:55 go: finding github.com/mitchellh/gox v0.4.0 15:10:55 go: finding github.com/mitchellh/iochan v1.0.0 15:10:55 go: finding github.com/mitchellh/mapstructure v1.1.2 15:10:55 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:10:55 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:10:56 go: finding github.com/pelletier/go-toml v1.2.0 15:10:56 go: finding github.com/pkg/errors v0.8.1 15:10:56 go: finding github.com/pmezard/go-difflib v1.0.0 15:10:56 go: finding github.com/posener/complete v1.1.1 15:10:56 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:10:56 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:10:56 go: finding github.com/spf13/cast v1.3.0 15:10:56 go: finding github.com/stretchr/objx v0.1.0 15:10:56 go: finding github.com/stretchr/testify v1.5.1 15:10:56 go: finding github.com/ugorji/go v1.1.4 15:10:56 go: finding github.com/x448/float16 v0.8.4 15:10:56 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:10:56 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:10:56 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:10:56 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:10:56 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:10:56 go: finding gopkg.in/yaml.v2 v2.2.8 15:10:58 Removing intermediate container 4b56389d4c67 15:10:58 ---> 2db4059d599b 15:10:58 Successfully built 2db4059d599b 15:10:58 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:10:58 + docker inspect -f . ci-base-image-x86_64 15:10:58 . [Pipeline] withDockerContainer 15:10:59 prd-centos7-docker-4c-2g-8022 does not seem to be running inside a container 15:10:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 15:11:00 $ docker top db4147094552a6907855ef50a1860bbe7aac961fc586464c10107e14cfa78893 -eo pid,comm [Pipeline] { [Pipeline] sh 15:11:00 + go version 15:11:00 go version go1.13.5 linux/amd64 [Pipeline] sh 15:11:00 + make test 15:11:00 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:11:01 ? github.com/edgexfoundry/device-rest-go [no test files] 15:11:06 Removing intermediate container df806f245eb9 15:11:06 ---> a53acd7f39d9 15:11:06 Successfully built a53acd7f39d9 15:11:06 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:11:07 + docker inspect -f . ci-base-image-arm64 15:11:07 . [Pipeline] withDockerContainer 15:11:07 prd-ubuntu18.04-docker-arm64-4c-16g-8021 does not seem to be running inside a container 15:11:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 15:11:09 $ docker top 37d95f61a8fcf90aae01ec3a87b70ed27c30402a1b6ad7186e1679315c35df2d -eo pid,comm [Pipeline] { [Pipeline] sh 15:11:10 + go version 15:11:10 go version go1.13.5 linux/arm64 [Pipeline] sh 15:11:11 + make test 15:11:11 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:11:11 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:11:12 ? github.com/edgexfoundry/device-rest-go [no test files] 15:11:12 ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 56.3% of statements 15:11:13 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:11:15 gofmt -l . 15:11:15 [ "`gofmt -l .`" = "" ] 15:11:15 ./bin/test-go-mod-tidy.sh 15:11:15 ./bin/test-attribution-txt.sh [Pipeline] stash 15:11:15 Stashed 1 file(s) [Pipeline] } 15:11:15 $ docker stop --time=1 db4147094552a6907855ef50a1860bbe7aac961fc586464c10107e14cfa78893 15:11:18 $ docker rm -f db4147094552a6907855ef50a1860bbe7aac961fc586464c10107e14cfa78893 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:11:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:11:20 + ls -al . 15:11:20 total 96 15:11:20 drwxrwxr-x. 7 jenkins jenkins 4096 May 12 15:11 . 15:11:20 drwxrwxr-x. 4 jenkins jenkins 28 May 12 15:10 .. 15:11:20 -rw-rw-r--. 1 jenkins jenkins 4802 May 12 15:10 Attribution.txt 15:11:20 drwxrwxr-x. 2 jenkins jenkins 64 May 12 15:10 bin 15:11:20 drwxrwxr-x. 3 jenkins jenkins 32 May 12 15:10 cmd 15:11:20 -rw-r--r--. 1 jenkins jenkins 9369 May 12 15:11 coverage.out 15:11:20 -rw-rw-r--. 1 jenkins jenkins 1504 May 12 15:10 Dockerfile 15:11:20 -rw-rw-r--. 1 jenkins jenkins 989 May 12 15:10 Dockerfile.build 15:11:20 -rw-rw-r--. 1 jenkins jenkins 151 May 12 15:10 .dockerignore 15:11:20 drwxrwxr-x. 2 jenkins jenkins 93 May 12 15:11 driver 15:11:20 drwxrwxr-x. 8 jenkins jenkins 179 May 12 15:10 .git 15:11:20 -rw-rw-r--. 1 jenkins jenkins 339 May 12 15:10 .gitignore 15:11:20 -rw-r--r--. 1 jenkins jenkins 266 May 12 15:11 go.mod 15:11:20 -rw-r--r--. 1 jenkins jenkins 12430 May 12 15:11 go.sum 15:11:20 -rw-rw-r--. 1 jenkins jenkins 702 May 12 15:10 Jenkinsfile 15:11:20 -rw-rw-r--. 1 jenkins jenkins 11340 May 12 15:10 LICENSE 15:11:20 -rw-rw-r--. 1 jenkins jenkins 951 May 12 15:10 Makefile 15:11:20 -rw-rw-r--. 1 jenkins jenkins 5716 May 12 15:10 README.md 15:11:20 drwxrwxr-x. 3 jenkins jenkins 45 May 12 15:10 .semver 15:11:20 -rw-rw-r--. 1 jenkins jenkins 5 May 12 15:07 VERSION 15:11:20 -rw-rw-r--. 1 jenkins jenkins 713 May 12 15:10 version.go [Pipeline] isUnix [Pipeline] sh 15:11:20 + 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=749454f6c98d9d3fb5ca93a296d975e602c34c37 --label arch=amd64 --label version=0.0.0 . 15:11:20 Sending build context to Docker daemon 8.029MB 15:11:20 Step 1/24 : ARG BASE=golang:1.13-alpine 15:11:20 Step 2/24 : FROM ${BASE} AS builder 15:11:20 ---> 2db4059d599b 15:11:20 Step 3/24 : ARG MAKE='make build' 15:11:20 ---> Running in 2948682b1bd4 15:11:20 Removing intermediate container 2948682b1bd4 15:11:20 ---> a262f29a6281 15:11:20 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 15:11:21 ---> Running in 34df225dfe4a 15:11:21 Removing intermediate container 34df225dfe4a 15:11:21 ---> 34601e5d2b6c 15:11:21 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:11:21 ---> Running in a5951f73780d 15:11:21 Removing intermediate container a5951f73780d 15:11:21 ---> 947c239db37f 15:11:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:11:21 ---> Running in 61440731f927 15:11:22 Removing intermediate container 61440731f927 15:11:22 ---> 9571eb38e73a 15:11:22 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:11:22 ---> Running in 103ac71993c8 15:11:22 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:11:23 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:11:23 OK: 143 MiB in 39 packages 15:11:24 Removing intermediate container 103ac71993c8 15:11:24 ---> bc1a2f85126d 15:11:24 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 15:11:24 ---> Running in a44e7d650c2c 15:11:24 Removing intermediate container a44e7d650c2c 15:11:24 ---> 8dbfc40452fa 15:11:24 Step 9/24 : COPY go.mod . 15:11:24 ---> 81e91ee409fc 15:11:24 Step 10/24 : COPY Makefile . 15:11:24 ---> 057a91175ce7 15:11:24 Step 11/24 : RUN make update 15:11:24 ---> Running in e9f0bd35e078 15:11:24 CGO_ENABLED=0 GO111MODULE=on go mod download 15:11:25 Removing intermediate container e9f0bd35e078 15:11:25 ---> 942060d7e1fa 15:11:25 Step 12/24 : COPY . . 15:11:25 ---> 0eaf510753b9 15:11:25 Step 13/24 : RUN $MAKE 15:11:25 ---> Running in 7a753e4044db 15:11:25 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 15:11:35 Removing intermediate container 7a753e4044db 15:11:35 ---> 117543949c86 15:11:35 Step 14/24 : FROM alpine:latest 15:11:35 latest: Pulling from library/alpine 15:11:35 cbdbe7a5bc2a: Pulling fs layer 15:11:35 cbdbe7a5bc2a: Download complete 15:11:36 cbdbe7a5bc2a: Pull complete 15:11:36 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 15:11:36 Status: Downloaded newer image for alpine:latest 15:11:36 ---> f70734b6a266 15:11:36 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:11:36 ---> Running in 841eddc8a88f 15:11:36 Removing intermediate container 841eddc8a88f 15:11:36 ---> cbb9414c23c4 15:11:36 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 15:11:36 ---> Running in b65abcc0d141 15:11:36 Removing intermediate container b65abcc0d141 15:11:36 ---> 44b258e8a4f8 15:11:36 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 15:11:36 ---> d8522069a567 15:11:36 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 15:11:36 ---> 6b4d8d2996e1 15:11:36 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 15:11:37 ---> cf1675919c00 15:11:37 Step 20/24 : EXPOSE 49986 15:11:37 ---> Running in 1fb051b2fec9 15:11:37 Removing intermediate container 1fb051b2fec9 15:11:37 ---> 12a77119ed4f 15:11:37 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 15:11:37 ---> Running in 81710f8b1701 15:11:37 Removing intermediate container 81710f8b1701 15:11:37 ---> 2563256b6ad1 15:11:37 Step 22/24 : LABEL arch=amd64 15:11:37 ---> Running in 4db4d5790df2 15:11:37 Removing intermediate container 4db4d5790df2 15:11:37 ---> 87e635b07927 15:11:37 Step 23/24 : LABEL git_sha=749454f6c98d9d3fb5ca93a296d975e602c34c37 15:11:37 ---> Running in caa96c65d6bc 15:11:37 Removing intermediate container caa96c65d6bc 15:11:37 ---> 143bc689d7af 15:11:37 Step 24/24 : LABEL version=0.0.0 15:11:37 ---> Running in 668cc1668d67 15:11:38 Removing intermediate container 668cc1668d67 15:11:38 ---> 42d7fc4b5a67 15:11:38 [Warning] One or more build-args [ARCH] were not consumed 15:11:38 Successfully built 42d7fc4b5a67 15:11:38 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] } 15:11:44 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:11:44 ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 56.3% of statements 15:11:44 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:11:48 gofmt -l . 15:11:48 [ "`gofmt -l .`" = "" ] 15:11:48 ./bin/test-go-mod-tidy.sh 15:11:48 ./bin/test-attribution-txt.sh [Pipeline] stash 15:11:49 Warning: overwriting stash ‘coverage-report’ 15:11:49 Stashed 1 file(s) [Pipeline] } 15:11:49 $ docker stop --time=1 37d95f61a8fcf90aae01ec3a87b70ed27c30402a1b6ad7186e1679315c35df2d 15:11:52 $ docker rm -f 37d95f61a8fcf90aae01ec3a87b70ed27c30402a1b6ad7186e1679315c35df2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:11:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:11:53 + ls -al . 15:11:53 total 120 15:11:53 drwxrwxr-x 7 jenkins jenkins 4096 May 12 15:11 . 15:11:53 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:09 .. 15:11:53 -rw-rw-r-- 1 jenkins jenkins 151 May 12 15:09 .dockerignore 15:11:53 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:09 .git 15:11:53 -rw-rw-r-- 1 jenkins jenkins 339 May 12 15:09 .gitignore 15:11:53 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:10 .semver 15:11:53 -rw-rw-r-- 1 jenkins jenkins 4802 May 12 15:09 Attribution.txt 15:11:53 -rw-rw-r-- 1 jenkins jenkins 1504 May 12 15:09 Dockerfile 15:11:53 -rw-rw-r-- 1 jenkins jenkins 989 May 12 15:09 Dockerfile.build 15:11:53 -rw-rw-r-- 1 jenkins jenkins 702 May 12 15:09 Jenkinsfile 15:11:53 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:09 LICENSE 15:11:53 -rw-rw-r-- 1 jenkins jenkins 951 May 12 15:09 Makefile 15:11:53 -rw-rw-r-- 1 jenkins jenkins 5716 May 12 15:09 README.md 15:11:53 -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:07 VERSION 15:11:53 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:09 bin 15:11:53 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:09 cmd 15:11:53 -rw-r--r-- 1 jenkins jenkins 9369 May 12 15:11 coverage.out 15:11:53 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:11 driver 15:11:53 -rw-r--r-- 1 jenkins jenkins 266 May 12 15:11 go.mod 15:11:53 -rw-r--r-- 1 jenkins jenkins 12430 May 12 15:11 go.sum 15:11:53 -rw-rw-r-- 1 jenkins jenkins 713 May 12 15:09 version.go [Pipeline] isUnix [Pipeline] sh 15:11:54 + 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=749454f6c98d9d3fb5ca93a296d975e602c34c37 --label arch=arm64 --label version=0.0.0 . 15:11:54 Sending build context to Docker daemon 8.029MB 15:11:54 Step 1/24 : ARG BASE=golang:1.13-alpine 15:11:54 Step 2/24 : FROM ${BASE} AS builder 15:11:54 ---> a53acd7f39d9 15:11:54 Step 3/24 : ARG MAKE='make build' 15:11:55 ---> Running in 2f28a5d69bca 15:11:55 Removing intermediate container 2f28a5d69bca 15:11:55 ---> 9ed194d413da 15:11:55 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 15:11:55 ---> Running in cf4c716c9e21 15:11:55 Removing intermediate container cf4c716c9e21 15:11:55 ---> d3eb2ec5d37f 15:11:55 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:11:55 ---> Running in 5921dfc579fc 15:11:56 Removing intermediate container 5921dfc579fc 15:11:56 ---> cc7d5658998c 15:11:56 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:11:56 ---> Running in b449ce4aefe4 15:11:58 Removing intermediate container b449ce4aefe4 15:11:58 ---> 98342037f55c 15:11:58 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:11:58 ---> Running in f0dc48040978 15:11:58 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:11:59 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:12:00 OK: 125 MiB in 39 packages 15:12:01 Removing intermediate container f0dc48040978 15:12:01 ---> 0dae0458dfcc 15:12:01 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 15:12:01 ---> Running in 5930f98c2b67 15:12:01 Removing intermediate container 5930f98c2b67 15:12:01 ---> 30b61a59869b 15:12:01 Step 9/24 : COPY go.mod . 15:12:02 ---> ff4d0111fb65 15:12:02 Step 10/24 : COPY Makefile . 15:12:03 ---> 82adf9a43d5e 15:12:03 Step 11/24 : RUN make update 15:12:03 ---> Running in f3b617a1584a 15:12:04 CGO_ENABLED=0 GO111MODULE=on go mod download 15:12:04 Removing intermediate container f3b617a1584a 15:12:04 ---> 6546d5d17204 15:12:04 Step 12/24 : COPY . . 15:12:05 ---> 61d2a448dbd1 15:12:05 Step 13/24 : RUN $MAKE 15:12:06 ---> Running in 60c6cdd6839c 15:12:06 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 15:12:33 Removing intermediate container 60c6cdd6839c 15:12:33 ---> 98cd906fb7da 15:12:33 Step 14/24 : FROM alpine:latest 15:12:33 latest: Pulling from library/alpine 15:12:33 29e5d40040c1: Pulling fs layer 15:12:33 29e5d40040c1: Verifying Checksum 15:12:33 29e5d40040c1: Download complete 15:12:34 29e5d40040c1: Pull complete 15:12:34 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 15:12:34 Status: Downloaded newer image for alpine:latest 15:12:34 ---> c20d2a9ab686 15:12:34 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:12:34 ---> Running in c504368859a0 15:12:34 Removing intermediate container c504368859a0 15:12:34 ---> 49598a44e02e 15:12:34 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 15:12:34 ---> Running in b36735c0ccc5 15:12:35 Removing intermediate container b36735c0ccc5 15:12:35 ---> bc86fbb1d6ac 15:12:35 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 15:12:35 ---> ce0cd1ebdd10 15:12:35 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 15:12:36 ---> 5bb2aea1664a 15:12:36 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 15:12:37 ---> 0f24a4bc378c 15:12:37 Step 20/24 : EXPOSE 49986 15:12:37 ---> Running in 3e0535d2393b 15:12:37 Removing intermediate container 3e0535d2393b 15:12:37 ---> 965dd4dc9c39 15:12:37 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 15:12:38 ---> Running in b0e5780c8276 15:12:38 Removing intermediate container b0e5780c8276 15:12:38 ---> 9f75a05b9f93 15:12:38 Step 22/24 : LABEL arch=arm64 15:12:38 ---> Running in bc4cc435eb23 15:12:38 Removing intermediate container bc4cc435eb23 15:12:38 ---> 13cf35c39aa6 15:12:38 Step 23/24 : LABEL git_sha=749454f6c98d9d3fb5ca93a296d975e602c34c37 15:12:38 ---> Running in 666704cf2240 15:12:39 Removing intermediate container 666704cf2240 15:12:39 ---> 53328fad095c 15:12:39 Step 24/24 : LABEL version=0.0.0 15:12:39 ---> Running in a7d03e064bee 15:12:39 Removing intermediate container a7d03e064bee 15:12:39 ---> c180728097d9 15:12:39 [Warning] One or more build-args [ARCH] were not consumed 15:12:39 Successfully built c180728097d9 15:12:39 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 15:12:41 provisioning config files... 15:12:41 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config1631958075376872538tmp [Pipeline] { [Pipeline] sh 15:12:41 + curl -s https://codecov.io/bash 15:12:41 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config1631958075376872538tmp 15:12:41 15:12:41 _____ _ 15:12:41 / ____| | | 15:12:41 | | ___ __| | ___ ___ _____ __ 15:12:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:12:41 | |___| (_) | (_| | __/ (_| (_) \ V / 15:12:41 \_____\___/ \__,_|\___|\___\___/ \_/ 15:12:41 Bash-tbd 15:12:41 15:12:41 15:12:41 ==> Jenkins CI detected. 15:12:41 project root: . 15:12:41 Fixing merge commit SHA 15:12:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:12:41 ==> Running gcov in . (disable via -X gcov) 15:12:41 ==> Python coveragepy not found 15:12:41 ==> Searching for coverage reports in: 15:12:41 + . 15:12:41 -> Found 1 reports 15:12:41 ==> Detecting git/mercurial file structure 15:12:41 ==> Reading reports 15:12:41 + ./coverage.out bytes=9369 15:12:41 ==> Appending adjustments 15:12:41 http://docs.codecov.io/docs/fixing-reports 15:12:41 + Found adjustments 15:12:41 ==> Gzipping contents 15:12:41 ==> Uploading reports 15:12:41 url: https://codecov.io 15:12:41 query: branch=PR-20&commit=2ca6a6137050167f4ab56441aff9642385515f05&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-20%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=20&job= 15:12:41 -> Pinging Codecov 15:12:41 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-20&commit=2ca6a6137050167f4ab56441aff9642385515f05&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-20%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=20&job= 15:12:42 -> Uploading 15:12:42 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2ca6a6137050167f4ab56441aff9642385515f05 [Pipeline] } 15:12:42 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 15:12:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:12:44 ---> package-listing.sh 15:12:44 ++ facter osfamily 15:12:44 ++ tr '[:upper:]' '[:lower:]' 15:12:44 + OS_FAMILY=redhat 15:12:44 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-20 15:12:44 + START_PACKAGES=/tmp/packages_start.txt 15:12:44 + END_PACKAGES=/tmp/packages_end.txt 15:12:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:12:44 + PACKAGES=/tmp/packages_start.txt 15:12:44 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' 15:12:44 + PACKAGES=/tmp/packages_end.txt 15:12:44 + case "${OS_FAMILY}" in 15:12:44 + rpm -qa 15:12:44 + sort 15:12:47 + '[' -f /tmp/packages_start.txt ']' 15:12:47 + '[' -f /tmp/packages_end.txt ']' 15:12:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:12:47 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' 15:12:47 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-20/archives/ 15:12:47 + 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 15:12:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:12:47 15:12:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:12:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:12:48 alpine: Pulling from edgex-lftools-log-publisher 15:12:48 c9b1b535fdd9: Pulling fs layer 15:12:48 2cc5ad85d9ab: Pulling fs layer 15:12:48 756a868c4378: Pulling fs layer 15:12:48 444b2fc9a129: Pulling fs layer 15:12:48 ea15f1150254: Pulling fs layer 15:12:48 41b27a9f41bf: Pulling fs layer 15:12:48 28c525ee5125: Pulling fs layer 15:12:48 094b1ea09ed8: Pulling fs layer 15:12:48 138eaada9080: Pulling fs layer 15:12:48 0622d0fa9048: Pulling fs layer 15:12:48 28c525ee5125: Waiting 15:12:48 094b1ea09ed8: Waiting 15:12:48 138eaada9080: Waiting 15:12:48 0622d0fa9048: Waiting 15:12:48 41b27a9f41bf: Waiting 15:12:48 444b2fc9a129: Waiting 15:12:48 ea15f1150254: Waiting 15:12:48 2cc5ad85d9ab: Verifying Checksum 15:12:48 2cc5ad85d9ab: Download complete 15:12:48 444b2fc9a129: Verifying Checksum 15:12:48 444b2fc9a129: Download complete 15:12:48 c9b1b535fdd9: Verifying Checksum 15:12:48 c9b1b535fdd9: Download complete 15:12:48 ea15f1150254: Verifying Checksum 15:12:48 ea15f1150254: Download complete 15:12:48 28c525ee5125: Verifying Checksum 15:12:48 28c525ee5125: Download complete 15:12:48 c9b1b535fdd9: Pull complete 15:12:48 756a868c4378: Verifying Checksum 15:12:48 756a868c4378: Download complete 15:12:48 138eaada9080: Verifying Checksum 15:12:48 138eaada9080: Download complete 15:12:48 0622d0fa9048: Verifying Checksum 15:12:48 0622d0fa9048: Download complete 15:12:49 2cc5ad85d9ab: Pull complete 15:12:49 094b1ea09ed8: Verifying Checksum 15:12:49 094b1ea09ed8: Download complete 15:12:49 41b27a9f41bf: Verifying Checksum 15:12:49 41b27a9f41bf: Download complete 15:12:50 756a868c4378: Pull complete 15:12:50 444b2fc9a129: Pull complete 15:12:51 ea15f1150254: Pull complete 15:12:54 41b27a9f41bf: Pull complete 15:12:54 28c525ee5125: Pull complete 15:12:56 094b1ea09ed8: Pull complete 15:12:56 138eaada9080: Pull complete 15:12:56 0622d0fa9048: Pull complete 15:12:56 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 15:12:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:12:56 prd-centos7-docker-4c-2g-8020 does not seem to be running inside a container 15:12:56 $ 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 15:12:57 $ docker top d19815b88c6f2a0ddab82dfa8b41e072c74032e133297b7b4740b668f3fa8e85 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:12:57 provisioning config files... 15:12:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config6508675389658479243tmp [Pipeline] { [Pipeline] echo 15:12:57 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:12:57 ---> create-netrc.sh [Pipeline] echo 15:12:57 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:12:58 ---> logs-deploy.sh 15:12:58 + ARCHIVE_ARTIFACTS= 15:12:58 + LOGS_SERVER=https://logs.edgexfoundry.org 15:12:58 + '[' https://logs.edgexfoundry.org == None ']' 15:12:58 + NEXUS_URL=https://nexus.edgexfoundry.org 15:12:58 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/2 15:12:58 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/2/ 15:12:58 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/2 /w/workspace/dgexfoundry_device-rest-go_PR-20 15:12:59 Archives upload complete. 15:12:59 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/2/