Pull request #20 updated 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 1be774956ca59fa18a058f2e339b96e29a9feb19+2ca6a6137050167f4ab56441aff9642385515f05 (8da81910cb14b4bd2111b8b0982441fa24c7b0cd) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-8266’ Running on prd-centos7-docker-4c-2g-8267 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 1be774956ca59fa18a058f2e339b96e29a9feb19 Merge succeeded, producing 87c93f1de22533bd713921f82bd651d5241b5b01 Checking out Revision 87c93f1de22533bd713921f82bd651d5241b5b01 (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 1be774956ca59fa18a058f2e339b96e29a9feb19 # 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 87c93f1de22533bd713921f82bd651d5241b5b01 # timeout=10 Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 7665b08feb686291cc144e5502e635cec29cda74 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:33:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:33:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:33:52 ========================================================= 15:33:52 EdgeX Global Pipelines Version Info 15:33:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:33:53 ------------------- 15:33:53 stable info: 15:33:53 ------------------- 15:33:53 Commited By: Emilio Reyes emilio.reyes@intel.com 15:33:53 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 15:33:53 Message: update stable to v1.0.87 15:33:54 ------------------- 15:33:54 experimental info: 15:33:54 ------------------- 15:33:54 Commited By: **** collab-it+edgex@linuxfoundation.org 15:33:54 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 15:33:54 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:33:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:33:56 15:33:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:33:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:33:57 latest: Pulling from edgex-devops/git-semver 15:33:57 9123ac7c32f7: Pulling fs layer 15:33:57 b8cc5d1170e3: Pulling fs layer 15:33:57 2924cbbf6a41: Pulling fs layer 15:33:57 93b08a4f1073: Pulling fs layer 15:33:57 93b08a4f1073: Waiting 15:33:57 b8cc5d1170e3: Verifying Checksum 15:33:57 b8cc5d1170e3: Download complete 15:33:57 9123ac7c32f7: Verifying Checksum 15:33:57 9123ac7c32f7: Download complete 15:33:57 2924cbbf6a41: Verifying Checksum 15:33:57 2924cbbf6a41: Download complete 15:33:57 93b08a4f1073: Verifying Checksum 15:33:57 93b08a4f1073: Download complete 15:33:57 9123ac7c32f7: Pull complete 15:33:57 b8cc5d1170e3: Pull complete 15:33:58 2924cbbf6a41: Pull complete 15:33:58 93b08a4f1073: Pull complete 15:33:58 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 15:33:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:33:58 prd-centos7-docker-4c-2g-8267 does not seem to be running inside a container 15:33:58 $ 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:33:59 $ docker top fde88d5ec9b3f60444d4a88f74b37bf39d63d4cbe3a17828f01a82da9c6ca552 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:33:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:33:59 [ssh-agent] Looking for ssh-agent implementation... 15:33:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:33:59 $ docker exec fde88d5ec9b3f60444d4a88f74b37bf39d63d4cbe3a17828f01a82da9c6ca552 ssh-agent 15:34:00 SSH_AUTH_SOCK=/tmp/ssh-pnX7g5pmUTAO/agent.14 15:34:00 SSH_AGENT_PID=20 15:34:00 Running ssh-add (command line suppressed) 15:34:00 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_6522685903382324231.key (/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_6522685903382324231.key) 15:34:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:00 + git describe --exact-match --tags HEAD 15:34:00 fatal: No names found, cannot describe anything. [Pipeline] } 15:34:00 $ docker exec --env ******** --env ******** fde88d5ec9b3f60444d4a88f74b37bf39d63d4cbe3a17828f01a82da9c6ca552 ssh-agent -k 15:34:00 unset SSH_AUTH_SOCK; 15:34:00 unset SSH_AGENT_PID; 15:34:00 echo Agent pid 20 killed; 15:34:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:34:01 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:34:01 This usually means this commit has not been tagged. [Pipeline] sshagent 15:34:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:34:01 [ssh-agent] Looking for ssh-agent implementation... 15:34:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:34:01 $ docker exec fde88d5ec9b3f60444d4a88f74b37bf39d63d4cbe3a17828f01a82da9c6ca552 ssh-agent 15:34:01 SSH_AUTH_SOCK=/tmp/ssh-F3fPQ8YZfmph/agent.56 15:34:01 SSH_AGENT_PID=63 15:34:01 Running ssh-add (command line suppressed) 15:34:01 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_90832024003752519.key (/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_90832024003752519.key) 15:34:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:02 + git semver init 15:34:02 # -> Open(): unable to determine branch for HEAD 15:34:02 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.git 15:34:02 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-20 15:34:02 # $SEMVER_REMOTE_NAME = origin 15:34:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:34:02 # $SEMVER_USER_NAME = edgex-jenkins 15:34:02 # $SEMVER_BRANCH = PR-20 15:34:02 # $SEMVER_TEMP = /tmp/semver-807101075 15:34:02 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 15:34:04 # '/tmp/semver-807101075' -> '/w/workspace/dgexfoundry_device-rest-go_PR-20/.semver' 15:34:04 # -> Force: false 15:34:04 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.semver [Pipeline] } 15:34:04 $ docker exec --env ******** --env ******** fde88d5ec9b3f60444d4a88f74b37bf39d63d4cbe3a17828f01a82da9c6ca552 ssh-agent -k 15:34:04 unset SSH_AUTH_SOCK; 15:34:04 unset SSH_AGENT_PID; 15:34:04 echo Agent pid 63 killed; 15:34:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:34:05 + git semver [Pipeline] } 15:34:05 $ docker stop --time=1 fde88d5ec9b3f60444d4a88f74b37bf39d63d4cbe3a17828f01a82da9c6ca552 15:34:06 $ docker rm -f fde88d5ec9b3f60444d4a88f74b37bf39d63d4cbe3a17828f01a82da9c6ca552 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:34:08 Stashed 19 file(s) [Pipeline] echo 15:34:08 [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:34:23 Still waiting to schedule task 15:34:23 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:34:23 Still waiting to schedule task 15:34:23 ‘prd-ubuntu18.04-docker-arm64-4c-16g-8140’ is offline 15:36:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8268 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws 15:36:04 Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout 15:36:10 using credential edgex-jenkins-ssh 15:36:11 Cloning the remote Git repository 15:36:11 Cloning with configured refspecs honoured and without tags 15:36:11 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:36:11 > git init /w/workspace/device-rest-go/7 # timeout=10 15:36:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:36:11 > git --version # timeout=10 15:36:11 using GIT_SSH to set credentials SSH Credentials for GitHub 15:36:11 > 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:36:13 Fetching without tags 15:36:13 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:36:13 > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 15:36:13 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:36:13 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:36:13 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:36:13 using GIT_SSH to set credentials SSH Credentials for GitHub 15:36:13 > 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:36:13 Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit 1be774956ca59fa18a058f2e339b96e29a9feb19 15:36:13 Running on prd-centos7-docker-4c-2g-8269 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws 15:36:14 Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout 15:36:14 Merge succeeded, producing c168c9e70845ecf4f18f9c9cb3d1cb0ad7799276 15:36:14 Checking out Revision c168c9e70845ecf4f18f9c9cb3d1cb0ad7799276 (PR-20) 15:36:13 > git config core.sparsecheckout # timeout=10 15:36:14 > git checkout -f 1be774956ca59fa18a058f2e339b96e29a9feb19 # timeout=10 15:36:14 > git remote # timeout=10 15:36:14 > git config --get remote.origin.url # timeout=10 15:36:14 using GIT_SSH to set credentials SSH Credentials for GitHub 15:36:14 > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 15:36:14 > git rev-parse HEAD^{commit} # timeout=10 15:36:14 > git config core.sparsecheckout # timeout=10 15:36:14 > git checkout -f c168c9e70845ecf4f18f9c9cb3d1cb0ad7799276 # timeout=10 15:36:17 using credential edgex-jenkins-ssh 15:36:17 Cloning the remote Git repository 15:36:17 Cloning with configured refspecs honoured and without tags 15:36:16 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:36:16 > git init /w/workspace/device-rest-go/7 # timeout=10 15:36:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:36:16 > git --version # timeout=10 15:36:16 using GIT_SSH to set credentials SSH Credentials for GitHub 15:36:16 > 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:36:18 Fetching without tags 15:36:18 Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit 1be774956ca59fa18a058f2e339b96e29a9feb19 15:36:18 Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" 15:36:18 Merge succeeded, producing f315ef524a62c0920cd6042af71ba3f75f065519 15:36:18 Checking out Revision f315ef524a62c0920cd6042af71ba3f75f065519 (PR-20) 15:36:18 First time build. Skipping changelog. 15:36:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:36:18 > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 15:36:18 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:36:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:36:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:36:18 using GIT_SSH to set credentials SSH Credentials for GitHub 15:36:18 > 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:36:18 > git config core.sparsecheckout # timeout=10 15:36:18 > git checkout -f 1be774956ca59fa18a058f2e339b96e29a9feb19 # timeout=10 15:36:18 > git remote # timeout=10 15:36:18 > git config --get remote.origin.url # timeout=10 15:36:18 using GIT_SSH to set credentials SSH Credentials for GitHub 15:36:18 > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 15:36:18 > git rev-parse HEAD^{commit} # timeout=10 15:36:18 > git config core.sparsecheckout # timeout=10 15:36:18 > git checkout -f f315ef524a62c0920cd6042af71ba3f75f065519 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 15:36:18 > git rev-list --no-walk 7665b08feb686291cc144e5502e635cec29cda74 # timeout=10 [Pipeline] echo 15:36:20 ========================================================= 15:36:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 15:36:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:36:21 + 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:36:22 Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" 15:36:22 > git rev-list --no-walk 7665b08feb686291cc144e5502e635cec29cda74 # timeout=10 15:36:22 First time build. Skipping changelog. 15:36:22 Sending build context to Docker daemon 8.017MB 15:36:22 Step 1/10 : ARG BASE=golang:1.13-alpine 15:36:22 Step 2/10 : FROM ${BASE} [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 15:36:23 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:36:23 cde5963f3b93: Pulling fs layer 15:36:23 2a23fa8c16f7: Pulling fs layer 15:36:23 777b28850792: Pulling fs layer 15:36:23 8a11ddd9e578: Pulling fs layer 15:36:23 4cf88f913ddb: Pulling fs layer 15:36:23 1df406cf5192: Pulling fs layer 15:36:23 cd6300453558: Pulling fs layer 15:36:23 b9c365052c96: Pulling fs layer 15:36:23 a2d8cc88f415: Pulling fs layer 15:36:23 ea1d1ca13537: Pulling fs layer 15:36:23 3750a50a1c5e: Pulling fs layer 15:36:23 cd6300453558: Waiting 15:36:23 8a11ddd9e578: Waiting 15:36:23 b9c365052c96: Waiting 15:36:23 4cf88f913ddb: Waiting 15:36:23 a2d8cc88f415: Waiting 15:36:23 3750a50a1c5e: Waiting 15:36:23 1df406cf5192: Waiting 15:36:23 777b28850792: Verifying Checksum 15:36:23 777b28850792: Download complete 15:36:23 2a23fa8c16f7: Download complete 15:36:23 4cf88f913ddb: Verifying Checksum 15:36:23 4cf88f913ddb: Download complete 15:36:23 1df406cf5192: Download complete 15:36:23 cde5963f3b93: Verifying Checksum 15:36:23 cde5963f3b93: Download complete [Pipeline] echo 15:36:23 ========================================================= 15:36:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 15:36:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:36:24 + 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:36:24 cde5963f3b93: Pull complete 15:36:24 Sending build context to Docker daemon 8.017MB 15:36:24 Step 1/10 : ARG BASE=golang:1.13-alpine 15:36:24 Step 2/10 : FROM ${BASE} 15:36:24 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 15:36:24 e6b0cf9c0882: Pulling fs layer 15:36:24 2848faf0eed1: Pulling fs layer 15:36:24 0f37312ad70f: Pulling fs layer 15:36:24 5788d62ee057: Pulling fs layer 15:36:24 0e6b1d234666: Pulling fs layer 15:36:24 bf5d7aec512f: Pulling fs layer 15:36:24 34c802a77dc8: Pulling fs layer 15:36:24 9eb99e56ec68: Pulling fs layer 15:36:24 27c7a5d97fbd: Pulling fs layer 15:36:24 5c102a31e300: Pulling fs layer 15:36:24 dcfb455df0a1: Pulling fs layer 15:36:24 34c802a77dc8: Waiting 15:36:24 9eb99e56ec68: Waiting 15:36:24 27c7a5d97fbd: Waiting 15:36:24 5c102a31e300: Waiting 15:36:24 dcfb455df0a1: Waiting 15:36:24 0e6b1d234666: Waiting 15:36:24 5788d62ee057: Waiting 15:36:24 bf5d7aec512f: Waiting 15:36:24 0f37312ad70f: Verifying Checksum 15:36:24 0f37312ad70f: Download complete 15:36:24 2848faf0eed1: Verifying Checksum 15:36:24 2848faf0eed1: Download complete 15:36:24 0e6b1d234666: Download complete 15:36:24 bf5d7aec512f: Verifying Checksum 15:36:24 bf5d7aec512f: Download complete 15:36:24 e6b0cf9c0882: Verifying Checksum 15:36:24 e6b0cf9c0882: Download complete 15:36:24 e6b0cf9c0882: Pull complete 15:36:25 2848faf0eed1: Pull complete 15:36:25 0f37312ad70f: Pull complete 15:36:25 2a23fa8c16f7: Pull complete 15:36:25 777b28850792: Pull complete 15:36:25 34c802a77dc8: Verifying Checksum 15:36:25 34c802a77dc8: Download complete 15:36:26 27c7a5d97fbd: Verifying Checksum 15:36:26 27c7a5d97fbd: Download complete 15:36:26 9eb99e56ec68: Download complete 15:36:26 5788d62ee057: Verifying Checksum 15:36:26 5788d62ee057: Download complete 15:36:26 dcfb455df0a1: Verifying Checksum 15:36:26 dcfb455df0a1: Download complete 15:36:26 5c102a31e300: Verifying Checksum 15:36:26 5c102a31e300: Download complete 15:36:27 cd6300453558: Verifying Checksum 15:36:27 cd6300453558: Download complete 15:36:27 a2d8cc88f415: Verifying Checksum 15:36:27 a2d8cc88f415: Download complete 15:36:30 ea1d1ca13537: Verifying Checksum 15:36:30 ea1d1ca13537: Download complete 15:36:30 3750a50a1c5e: Verifying Checksum 15:36:30 3750a50a1c5e: Download complete 15:36:31 5788d62ee057: Pull complete 15:36:31 0e6b1d234666: Pull complete 15:36:32 bf5d7aec512f: Pull complete 15:36:32 b9c365052c96: Verifying Checksum 15:36:32 b9c365052c96: Download complete 15:36:34 8a11ddd9e578: Verifying Checksum 15:36:34 8a11ddd9e578: Download complete 15:36:36 34c802a77dc8: Pull complete 15:36:40 9eb99e56ec68: Pull complete 15:36:40 27c7a5d97fbd: Pull complete 15:36:40 5c102a31e300: Pull complete 15:36:41 dcfb455df0a1: Pull complete 15:36:41 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 15:36:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 15:36:41 ---> 7c70fe431013 15:36:41 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 15:36:41 ---> Running in 4d717bfd3bdd 15:36:41 Removing intermediate container 4d717bfd3bdd 15:36:41 ---> 9c919a563516 15:36:41 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:36:41 ---> Running in ffaa86d2fbe8 15:36:41 Removing intermediate container ffaa86d2fbe8 15:36:41 ---> df2d8f35579b 15:36:41 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:36:41 ---> Running in 00c1d1e23a17 15:36:42 Removing intermediate container 00c1d1e23a17 15:36:42 ---> da988e94c94f 15:36:42 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:36:42 ---> Running in 6a6c0f5e916e 15:36:43 Removing intermediate container 6a6c0f5e916e 15:36:43 ---> 529f1bf8319e 15:36:43 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:36:43 ---> Running in 66c3592b2ff8 15:36:43 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:36:44 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:36:45 OK: 143 MiB in 39 packages 15:36:45 Removing intermediate container 66c3592b2ff8 15:36:45 ---> 120f8772c45e 15:36:45 Step 8/10 : WORKDIR /device-rest-go 15:36:45 ---> Running in ff10ad1ac21a 15:36:45 Removing intermediate container ff10ad1ac21a 15:36:45 ---> b22426eab203 15:36:45 Step 9/10 : COPY . . 15:36:45 ---> a15524f444ce 15:36:45 Step 10/10 : RUN go mod download 15:36:46 ---> Running in d78338930ace 15:36:47 8a11ddd9e578: Pull complete 15:36:47 4cf88f913ddb: Pull complete 15:36:47 1df406cf5192: Pull complete 15:36:48 go: finding github.com/BurntSushi/toml v0.3.1 15:36:48 go: finding github.com/OneOfOne/xxhash v1.2.6 15:36:48 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:36:48 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:36:48 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:36:48 go: finding github.com/bgentry/speakeasy v0.1.0 15:36:48 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:36:48 go: finding github.com/davecgh/go-spew v1.1.1 15:36:48 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 15:36:48 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 15:36:48 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:36:48 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:36:48 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:36:48 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:36:48 go: finding github.com/fatih/color v1.7.0 15:36:48 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:36:48 go: finding github.com/go-kit/kit v0.8.0 15:36:48 go: finding github.com/go-logfmt/logfmt v0.4.0 15:36:48 go: finding github.com/go-stack/stack v1.8.0 15:36:48 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:36:48 go: finding github.com/google/uuid v1.1.0 15:36:49 go: finding github.com/gorilla/mux v1.7.1 15:36:49 go: finding github.com/hashicorp/consul/api v1.1.0 15:36:49 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:36:49 go: finding github.com/hashicorp/errwrap v1.0.0 15:36:49 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:36:49 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:36:49 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:36:49 go: finding github.com/hashicorp/go-multierror v1.0.0 15:36:49 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:36:49 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:36:49 go: finding github.com/hashicorp/go-syslog v1.0.0 15:36:49 go: finding github.com/hashicorp/go-uuid v1.0.1 15:36:49 go: finding github.com/hashicorp/go.net v0.0.1 15:36:49 go: finding github.com/hashicorp/golang-lru v0.5.0 15:36:49 go: finding github.com/hashicorp/logutils v1.0.0 15:36:49 go: finding github.com/hashicorp/mdns v1.0.0 15:36:49 go: finding github.com/hashicorp/memberlist v0.1.3 15:36:49 go: finding github.com/hashicorp/serf v0.8.2 15:36:49 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:36:49 go: finding github.com/mattn/go-colorable v0.0.9 15:36:50 go: finding github.com/mattn/go-isatty v0.0.3 15:36:50 go: finding github.com/miekg/dns v1.0.14 15:36:50 go: finding github.com/mitchellh/cli v1.0.0 15:36:50 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:36:50 go: finding github.com/mitchellh/copystructure v1.0.0 15:36:50 go: finding github.com/mitchellh/go-homedir v1.0.0 15:36:50 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:36:50 go: finding github.com/mitchellh/gox v0.4.0 15:36:50 go: finding github.com/mitchellh/iochan v1.0.0 15:36:50 go: finding github.com/mitchellh/mapstructure v1.1.2 15:36:50 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:36:50 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:36:50 go: finding github.com/pelletier/go-toml v1.2.0 15:36:50 cd6300453558: Pull complete 15:36:50 go: finding github.com/pkg/errors v0.8.1 15:36:50 go: finding github.com/pmezard/go-difflib v1.0.0 15:36:50 go: finding github.com/posener/complete v1.1.1 15:36:50 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:36:50 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:36:50 go: finding github.com/spf13/cast v1.3.0 15:36:50 go: finding github.com/stretchr/objx v0.1.0 15:36:50 go: finding github.com/stretchr/testify v1.5.1 15:36:50 go: finding github.com/ugorji/go v1.1.4 15:36:50 go: finding github.com/x448/float16 v0.8.4 15:36:50 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:36:50 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:36:50 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:36:50 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:36:50 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:36:50 go: finding gopkg.in/yaml.v2 v2.2.8 15:36:55 b9c365052c96: Pull complete 15:36:55 a2d8cc88f415: Pull complete 15:36:56 Removing intermediate container d78338930ace 15:36:56 ---> be1436cdd337 15:36:56 Successfully built be1436cdd337 15:36:56 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:36:56 + docker inspect -f . ci-base-image-x86_64 15:36:56 . [Pipeline] withDockerContainer 15:36:56 prd-centos7-docker-4c-2g-8269 does not seem to be running inside a container 15:36:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:36:57 $ docker top f6b76d8ca391408e0ef0a9931ba893a4a11350480c3b2935170e210ce322c1a5 -eo pid,comm [Pipeline] { [Pipeline] sh 15:36:58 + go version 15:36:58 go version go1.13.5 linux/amd64 [Pipeline] sh 15:36:58 + make test 15:36:58 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:36:58 ea1d1ca13537: Pull complete 15:36:58 3750a50a1c5e: Pull complete 15:36:58 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 15:36:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 15:36:58 ---> 78745c68409d 15:36:58 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 15:36:59 ? github.com/edgexfoundry/device-rest-go [no test files] 15:37:02 ---> Running in a58f87c720ed 15:37:02 Removing intermediate container a58f87c720ed 15:37:02 ---> 7ef17f245d5e 15:37:02 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:37:02 ---> Running in 460893f5f3b8 15:37:03 Removing intermediate container 460893f5f3b8 15:37:03 ---> 5616b827b0b8 15:37:03 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:37:03 ---> Running in 49a6aad0abc1 15:37:03 Removing intermediate container 49a6aad0abc1 15:37:03 ---> 22fd87b0a5f9 15:37:03 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:37:04 ---> Running in 735411de9676 15:37:06 Removing intermediate container 735411de9676 15:37:06 ---> ffa9449cd901 15:37:06 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:37:06 ---> Running in 40fb34a4a834 15:37:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:37:07 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:37:08 OK: 125 MiB in 39 packages 15:37:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:37:09 ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 56.3% of statements 15:37:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:37:09 Removing intermediate container 40fb34a4a834 15:37:09 ---> 856b6b52682b 15:37:09 Step 8/10 : WORKDIR /device-rest-go 15:37:09 ---> Running in a4daa9bf583b 15:37:10 Removing intermediate container a4daa9bf583b 15:37:10 ---> 45b96e406e22 15:37:10 Step 9/10 : COPY . . 15:37:11 ---> 70e5cbbfbfa0 15:37:11 Step 10/10 : RUN go mod download 15:37:11 ---> Running in 9e741415403d 15:37:11 gofmt -l . 15:37:11 [ "`gofmt -l .`" = "" ] 15:37:11 ./bin/test-go-mod-tidy.sh 15:37:11 ./bin/test-attribution-txt.sh [Pipeline] stash 15:37:12 Stashed 1 file(s) [Pipeline] } 15:37:12 $ docker stop --time=1 f6b76d8ca391408e0ef0a9931ba893a4a11350480c3b2935170e210ce322c1a5 15:37:13 go: finding github.com/BurntSushi/toml v0.3.1 15:37:13 go: finding github.com/OneOfOne/xxhash v1.2.6 15:37:13 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:37:13 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:37:13 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:37:13 go: finding github.com/bgentry/speakeasy v0.1.0 15:37:13 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:37:13 go: finding github.com/davecgh/go-spew v1.1.1 15:37:13 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 15:37:13 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 15:37:13 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:37:13 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:37:13 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:37:13 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:37:13 go: finding github.com/fatih/color v1.7.0 15:37:13 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:37:13 go: finding github.com/go-kit/kit v0.8.0 15:37:13 go: finding github.com/go-logfmt/logfmt v0.4.0 15:37:13 go: finding github.com/go-stack/stack v1.8.0 15:37:13 $ docker rm -f f6b76d8ca391408e0ef0a9931ba893a4a11350480c3b2935170e210ce322c1a5 15:37:13 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:37:13 go: finding github.com/google/uuid v1.1.0 15:37:13 go: finding github.com/gorilla/mux v1.7.1 15:37:13 go: finding github.com/hashicorp/consul/api v1.1.0 15:37:13 go: finding github.com/hashicorp/consul/sdk v0.1.1 [Pipeline] // withDockerContainer [Pipeline] } 15:37:14 go: finding github.com/hashicorp/errwrap v1.0.0 15:37:14 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:37:14 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:37:14 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:37:14 go: finding github.com/hashicorp/go-multierror v1.0.0 15:37:14 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:37:14 go: finding github.com/hashicorp/go-sockaddr v1.0.0 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 15:37:14 go: finding github.com/hashicorp/go-syslog v1.0.0 15:37:14 go: finding github.com/hashicorp/go-uuid v1.0.1 15:37:14 go: finding github.com/hashicorp/go.net v0.0.1 15:37:14 go: finding github.com/hashicorp/golang-lru v0.5.0 15:37:14 go: finding github.com/hashicorp/logutils v1.0.0 15:37:14 go: finding github.com/hashicorp/mdns v1.0.0 15:37:14 go: finding github.com/hashicorp/memberlist v0.1.3 15:37:14 go: finding github.com/hashicorp/serf v0.8.2 15:37:14 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:37:14 go: finding github.com/mattn/go-colorable v0.0.9 15:37:14 go: finding github.com/mattn/go-isatty v0.0.3 15:37:14 go: finding github.com/miekg/dns v1.0.14 15:37:14 go: finding github.com/mitchellh/cli v1.0.0 15:37:14 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:37:14 go: finding github.com/mitchellh/copystructure v1.0.0 15:37:14 go: finding github.com/mitchellh/go-homedir v1.0.0 15:37:14 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:37:14 go: finding github.com/mitchellh/gox v0.4.0 [Pipeline] sh 15:37:15 go: finding github.com/mitchellh/iochan v1.0.0 15:37:15 go: finding github.com/mitchellh/mapstructure v1.1.2 15:37:15 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:37:15 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:37:15 go: finding github.com/pelletier/go-toml v1.2.0 15:37:15 go: finding github.com/pkg/errors v0.8.1 15:37:15 go: finding github.com/pmezard/go-difflib v1.0.0 15:37:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:37:15 go: finding github.com/posener/complete v1.1.1 15:37:15 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:37:15 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:37:15 go: finding github.com/spf13/cast v1.3.0 15:37:15 go: finding github.com/stretchr/objx v0.1.0 15:37:15 go: finding github.com/stretchr/testify v1.5.1 15:37:15 go: finding github.com/ugorji/go v1.1.4 15:37:15 + ls -al . 15:37:15 total 96 15:37:15 drwxrwxr-x. 7 jenkins jenkins 4096 May 13 15:37 . 15:37:15 drwxrwxr-x. 4 jenkins jenkins 28 May 13 15:36 .. 15:37:15 -rw-rw-r--. 1 jenkins jenkins 4802 May 13 15:36 Attribution.txt 15:37:15 drwxrwxr-x. 2 jenkins jenkins 64 May 13 15:36 bin 15:37:15 drwxrwxr-x. 3 jenkins jenkins 32 May 13 15:36 cmd 15:37:15 -rw-r--r--. 1 jenkins jenkins 9369 May 13 15:37 coverage.out 15:37:15 -rw-rw-r--. 1 jenkins jenkins 1504 May 13 15:36 Dockerfile 15:37:15 -rw-rw-r--. 1 jenkins jenkins 989 May 13 15:36 Dockerfile.build 15:37:15 -rw-rw-r--. 1 jenkins jenkins 151 May 13 15:36 .dockerignore 15:37:15 drwxrwxr-x. 2 jenkins jenkins 93 May 13 15:37 driver 15:37:15 drwxrwxr-x. 8 jenkins jenkins 179 May 13 15:36 .git 15:37:15 -rw-rw-r--. 1 jenkins jenkins 339 May 13 15:36 .gitignore 15:37:15 -rw-r--r--. 1 jenkins jenkins 266 May 13 15:37 go.mod 15:37:15 -rw-r--r--. 1 jenkins jenkins 12533 May 13 15:37 go.sum 15:37:15 -rw-rw-r--. 1 jenkins jenkins 702 May 13 15:36 Jenkinsfile 15:37:15 -rw-rw-r--. 1 jenkins jenkins 11340 May 13 15:36 LICENSE 15:37:15 -rw-rw-r--. 1 jenkins jenkins 951 May 13 15:36 Makefile 15:37:15 -rw-rw-r--. 1 jenkins jenkins 5716 May 13 15:36 README.md 15:37:15 drwxrwxr-x. 3 jenkins jenkins 45 May 13 15:36 .semver 15:37:15 -rw-rw-r--. 1 jenkins jenkins 5 May 13 15:34 VERSION 15:37:15 -rw-rw-r--. 1 jenkins jenkins 713 May 13 15:36 version.go [Pipeline] isUnix [Pipeline] sh 15:37:15 go: finding github.com/x448/float16 v0.8.4 15:37:15 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:37:15 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:37:15 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:37:15 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:37:15 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:37:15 go: finding gopkg.in/yaml.v2 v2.2.8 15:37:15 + 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=87c93f1de22533bd713921f82bd651d5241b5b01 --label arch=amd64 --label version=0.0.0 . 15:37:15 Sending build context to Docker daemon 8.029MB 15:37:15 Step 1/24 : ARG BASE=golang:1.13-alpine 15:37:15 Step 2/24 : FROM ${BASE} AS builder 15:37:15 ---> be1436cdd337 15:37:15 Step 3/24 : ARG MAKE='make build' 15:37:16 ---> Running in c165e2876325 15:37:16 Removing intermediate container c165e2876325 15:37:16 ---> 06c94909d4ed 15:37:16 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 15:37:16 ---> Running in bd122b910e0d 15:37:16 Removing intermediate container bd122b910e0d 15:37:16 ---> 42daf418ebf3 15:37:16 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:37:16 ---> Running in 53c5d8dec5a7 15:37:16 Removing intermediate container 53c5d8dec5a7 15:37:16 ---> a8f6f6081919 15:37:16 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:37:16 ---> Running in 0d80ad60d738 15:37:17 Removing intermediate container 0d80ad60d738 15:37:17 ---> 18f307325444 15:37:17 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:37:17 ---> Running in f91e84714908 15:37:17 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:37:18 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:37:18 OK: 143 MiB in 39 packages 15:37:19 Removing intermediate container f91e84714908 15:37:19 ---> b3de40abd647 15:37:19 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 15:37:19 ---> Running in 35043890355e 15:37:19 Removing intermediate container 35043890355e 15:37:19 ---> 6df63a4680ef 15:37:19 Step 9/24 : COPY go.mod . 15:37:19 ---> 1bbe44e824a8 15:37:19 Step 10/24 : COPY Makefile . 15:37:19 ---> bd6e0626f20f 15:37:19 Step 11/24 : RUN make update 15:37:19 ---> Running in 656aabcc627b 15:37:20 CGO_ENABLED=0 GO111MODULE=on go mod download 15:37:20 Removing intermediate container 656aabcc627b 15:37:20 ---> 1cad7b864563 15:37:20 Step 12/24 : COPY . . 15:37:21 ---> e3c34eca0606 15:37:21 Step 13/24 : RUN $MAKE 15:37:21 ---> Running in 801238bfc40b 15:37:21 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:37:25 Removing intermediate container 9e741415403d 15:37:25 ---> 9065388d09b6 15:37:25 Successfully built 9065388d09b6 15:37:25 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:37:26 + docker inspect -f . ci-base-image-arm64 15:37:26 . [Pipeline] withDockerContainer 15:37:27 prd-ubuntu18.04-docker-arm64-4c-16g-8268 does not seem to be running inside a container 15:37:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:37:28 $ docker top 99789a8ab98bd26582bb5d269c63c7635d189fb2fc8fbe72656499cf4a9c87be -eo pid,comm [Pipeline] { [Pipeline] sh 15:37:29 + go version 15:37:29 go version go1.13.5 linux/arm64 [Pipeline] sh 15:37:30 + make test 15:37:30 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:37:31 Removing intermediate container 801238bfc40b 15:37:31 ---> 86fa79338e37 15:37:31 Step 14/24 : FROM alpine:latest 15:37:31 latest: Pulling from library/alpine 15:37:31 ? github.com/edgexfoundry/device-rest-go [no test files] 15:37:31 cbdbe7a5bc2a: Pulling fs layer 15:37:31 cbdbe7a5bc2a: Verifying Checksum 15:37:31 cbdbe7a5bc2a: Download complete 15:37:32 cbdbe7a5bc2a: Pull complete 15:37:32 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 15:37:32 Status: Downloaded newer image for alpine:latest 15:37:32 ---> f70734b6a266 15:37:32 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:37:32 ---> Running in 611f784d7f06 15:37:32 Removing intermediate container 611f784d7f06 15:37:32 ---> 60d5bc5d1e33 15:37:32 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 15:37:32 ---> Running in c39c0147b84c 15:37:32 Removing intermediate container c39c0147b84c 15:37:32 ---> bdb81e77e4f8 15:37:32 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 15:37:32 ---> 37f4ae85eff4 15:37:32 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 15:37:32 ---> 549e905d7de2 15:37:32 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 15:37:33 ---> 09ecf719bb6e 15:37:33 Step 20/24 : EXPOSE 49986 15:37:33 ---> Running in 1fccf9f7f6c9 15:37:33 Removing intermediate container 1fccf9f7f6c9 15:37:33 ---> ec95350551a2 15:37:33 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 15:37:33 ---> Running in 306aa285216b 15:37:33 Removing intermediate container 306aa285216b 15:37:33 ---> c8e3c0cd5472 15:37:33 Step 22/24 : LABEL arch=amd64 15:37:33 ---> Running in 709f572f6d26 15:37:33 Removing intermediate container 709f572f6d26 15:37:33 ---> a0be6ba39f91 15:37:33 Step 23/24 : LABEL git_sha=87c93f1de22533bd713921f82bd651d5241b5b01 15:37:33 ---> Running in 3eedf653baf0 15:37:33 Removing intermediate container 3eedf653baf0 15:37:33 ---> 885ffc4de7e0 15:37:33 Step 24/24 : LABEL version=0.0.0 15:37:33 ---> Running in 9ecbeb973e0a 15:37:34 Removing intermediate container 9ecbeb973e0a 15:37:34 ---> c0739cd6c139 15:37:34 [Warning] One or more build-args [ARCH] were not consumed 15:37:34 Successfully built c0739cd6c139 15:37:34 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:38:04 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:38:04 ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 56.3% of statements 15:38:04 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:38:07 gofmt -l . 15:38:07 [ "`gofmt -l .`" = "" ] 15:38:07 ./bin/test-go-mod-tidy.sh 15:38:08 ./bin/test-attribution-txt.sh [Pipeline] stash 15:38:08 Warning: overwriting stash ‘coverage-report’ 15:38:09 Stashed 1 file(s) [Pipeline] } 15:38:09 $ docker stop --time=1 99789a8ab98bd26582bb5d269c63c7635d189fb2fc8fbe72656499cf4a9c87be 15:38:11 $ docker rm -f 99789a8ab98bd26582bb5d269c63c7635d189fb2fc8fbe72656499cf4a9c87be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:38:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:38:12 + ls -al . 15:38:12 total 120 15:38:12 drwxrwxr-x 7 jenkins jenkins 4096 May 13 15:38 . 15:38:12 drwxrwxr-x 4 jenkins jenkins 4096 May 13 15:36 .. 15:38:12 -rw-rw-r-- 1 jenkins jenkins 151 May 13 15:36 .dockerignore 15:38:12 drwxrwxr-x 8 jenkins jenkins 4096 May 13 15:36 .git 15:38:12 -rw-rw-r-- 1 jenkins jenkins 339 May 13 15:36 .gitignore 15:38:12 drwxrwxr-x 3 jenkins jenkins 4096 May 13 15:36 .semver 15:38:12 -rw-rw-r-- 1 jenkins jenkins 4802 May 13 15:36 Attribution.txt 15:38:12 -rw-rw-r-- 1 jenkins jenkins 1504 May 13 15:36 Dockerfile 15:38:12 -rw-rw-r-- 1 jenkins jenkins 989 May 13 15:36 Dockerfile.build 15:38:12 -rw-rw-r-- 1 jenkins jenkins 702 May 13 15:36 Jenkinsfile 15:38:12 -rw-rw-r-- 1 jenkins jenkins 11340 May 13 15:36 LICENSE 15:38:12 -rw-rw-r-- 1 jenkins jenkins 951 May 13 15:36 Makefile 15:38:12 -rw-rw-r-- 1 jenkins jenkins 5716 May 13 15:36 README.md 15:38:12 -rw-rw-r-- 1 jenkins jenkins 5 May 13 15:34 VERSION 15:38:12 drwxrwxr-x 2 jenkins jenkins 4096 May 13 15:36 bin 15:38:12 drwxrwxr-x 3 jenkins jenkins 4096 May 13 15:36 cmd 15:38:12 -rw-r--r-- 1 jenkins jenkins 9369 May 13 15:38 coverage.out 15:38:12 drwxrwxr-x 2 jenkins jenkins 4096 May 13 15:38 driver 15:38:12 -rw-r--r-- 1 jenkins jenkins 266 May 13 15:38 go.mod 15:38:12 -rw-r--r-- 1 jenkins jenkins 12533 May 13 15:38 go.sum 15:38:12 -rw-rw-r-- 1 jenkins jenkins 713 May 13 15:36 version.go [Pipeline] isUnix [Pipeline] sh 15:38:13 + 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=87c93f1de22533bd713921f82bd651d5241b5b01 --label arch=arm64 --label version=0.0.0 . 15:38:13 Sending build context to Docker daemon 8.029MB 15:38:13 Step 1/24 : ARG BASE=golang:1.13-alpine 15:38:13 Step 2/24 : FROM ${BASE} AS builder 15:38:13 ---> 9065388d09b6 15:38:13 Step 3/24 : ARG MAKE='make build' 15:38:14 ---> Running in 5ca0038874a4 15:38:14 Removing intermediate container 5ca0038874a4 15:38:14 ---> 85afc13bd77a 15:38:14 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 15:38:14 ---> Running in 53602640a6df 15:38:15 Removing intermediate container 53602640a6df 15:38:15 ---> da6d87546df2 15:38:15 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:38:15 ---> Running in 5a70d7df373d 15:38:15 Removing intermediate container 5a70d7df373d 15:38:15 ---> 5c36893c3ace 15:38:15 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:38:15 ---> Running in 26ae17ee9b9f 15:38:17 Removing intermediate container 26ae17ee9b9f 15:38:17 ---> b530748badfc 15:38:17 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:38:17 ---> Running in 1477efa0d7fe 15:38:18 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:38:19 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:38:20 OK: 125 MiB in 39 packages 15:38:20 Removing intermediate container 1477efa0d7fe 15:38:20 ---> 29d61f186879 15:38:20 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 15:38:20 ---> Running in 15139667bde0 15:38:21 Removing intermediate container 15139667bde0 15:38:21 ---> ec0a10c22bd5 15:38:21 Step 9/24 : COPY go.mod . 15:38:21 ---> 686b60add780 15:38:21 Step 10/24 : COPY Makefile . 15:38:22 ---> e48fcbc62d2a 15:38:22 Step 11/24 : RUN make update 15:38:22 ---> Running in 021ca60fb97d 15:38:23 CGO_ENABLED=0 GO111MODULE=on go mod download 15:38:24 Removing intermediate container 021ca60fb97d 15:38:24 ---> 3299832f2e87 15:38:24 Step 12/24 : COPY . . 15:38:25 ---> f23743586179 15:38:25 Step 13/24 : RUN $MAKE 15:38:25 ---> Running in 3941d2d14876 15:38:26 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:38:53 Removing intermediate container 3941d2d14876 15:38:53 ---> 95e902ed4513 15:38:53 Step 14/24 : FROM alpine:latest 15:38:53 latest: Pulling from library/alpine 15:38:53 29e5d40040c1: Pulling fs layer 15:38:54 29e5d40040c1: Verifying Checksum 15:38:54 29e5d40040c1: Download complete 15:38:54 29e5d40040c1: Pull complete 15:38:54 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 15:38:54 Status: Downloaded newer image for alpine:latest 15:38:54 ---> c20d2a9ab686 15:38:54 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:38:54 ---> Running in 5047b3672005 15:38:54 Removing intermediate container 5047b3672005 15:38:54 ---> 6906aac4a4a8 15:38:54 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 15:38:55 ---> Running in 966f58375be0 15:38:55 Removing intermediate container 966f58375be0 15:38:55 ---> 219df060cac6 15:38:55 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 15:38:55 ---> c7650e17d9de 15:38:55 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 15:38:56 ---> fc9f0a00734b 15:38:56 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 15:38:57 ---> 5a8a0cde2d5d 15:38:57 Step 20/24 : EXPOSE 49986 15:38:57 ---> Running in 6cc03b2c19cf 15:38:58 Removing intermediate container 6cc03b2c19cf 15:38:58 ---> 00b744484182 15:38:58 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 15:38:58 ---> Running in e8ccff8a4991 15:38:58 Removing intermediate container e8ccff8a4991 15:38:58 ---> e49ddbdc0100 15:38:58 Step 22/24 : LABEL arch=arm64 15:38:58 ---> Running in 959ad5147ed3 15:38:59 Removing intermediate container 959ad5147ed3 15:38:59 ---> 4382ea67c274 15:38:59 Step 23/24 : LABEL git_sha=87c93f1de22533bd713921f82bd651d5241b5b01 15:38:59 ---> Running in 2159e1baac84 15:38:59 Removing intermediate container 2159e1baac84 15:38:59 ---> d35d8a126cb7 15:38:59 Step 24/24 : LABEL version=0.0.0 15:38:59 ---> Running in 7ccde799c079 15:39:00 Removing intermediate container 7ccde799c079 15:39:00 ---> ee5d8f0a9d2d 15:39:00 [Warning] One or more build-args [ARCH] were not consumed 15:39:00 Successfully built ee5d8f0a9d2d 15:39:00 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:39:01 provisioning config files... 15:39:01 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config3673219210936137300tmp [Pipeline] { [Pipeline] sh 15:39:02 + curl -s https://codecov.io/bash 15:39:02 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config3673219210936137300tmp 15:39:02 15:39:02 _____ _ 15:39:02 / ____| | | 15:39:02 | | ___ __| | ___ ___ _____ __ 15:39:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:39:02 | |___| (_) | (_| | __/ (_| (_) \ V / 15:39:02 \_____\___/ \__,_|\___|\___\___/ \_/ 15:39:02 Bash-tbd 15:39:02 15:39:02 15:39:02 ==> Jenkins CI detected. 15:39:02 project root: . 15:39:02 Fixing merge commit SHA 15:39:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:39:02 ==> Running gcov in . (disable via -X gcov) 15:39:02 ==> Python coveragepy not found 15:39:02 ==> Searching for coverage reports in: 15:39:02 + . 15:39:02 -> Found 1 reports 15:39:02 ==> Detecting git/mercurial file structure 15:39:02 ==> Reading reports 15:39:02 + ./coverage.out bytes=9369 15:39:02 ==> Appending adjustments 15:39:02 http://docs.codecov.io/docs/fixing-reports 15:39:02 + Found adjustments 15:39:02 ==> Gzipping contents 15:39:02 ==> Uploading reports 15:39:02 url: https://codecov.io 15:39:02 query: branch=PR-20&commit=2ca6a6137050167f4ab56441aff9642385515f05&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-20%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=20&job= 15:39:02 -> Pinging Codecov 15:39:02 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-20&commit=2ca6a6137050167f4ab56441aff9642385515f05&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-20%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=20&job= 15:39:03 -> Uploading 15:39:03 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2ca6a6137050167f4ab56441aff9642385515f05 [Pipeline] } 15:39:03 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:39:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:39:05 ---> package-listing.sh 15:39:05 ++ facter osfamily 15:39:05 ++ tr '[:upper:]' '[:lower:]' 15:39:05 + OS_FAMILY=redhat 15:39:05 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-20 15:39:05 + START_PACKAGES=/tmp/packages_start.txt 15:39:05 + END_PACKAGES=/tmp/packages_end.txt 15:39:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:39:05 + PACKAGES=/tmp/packages_start.txt 15:39:05 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' 15:39:05 + PACKAGES=/tmp/packages_end.txt 15:39:05 + case "${OS_FAMILY}" in 15:39:05 + rpm -qa 15:39:05 + sort 15:39:09 + '[' -f /tmp/packages_start.txt ']' 15:39:09 + '[' -f /tmp/packages_end.txt ']' 15:39:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:39:09 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' 15:39:09 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-20/archives/ 15:39:09 + 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:39:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:39:10 15:39:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:39:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:39:10 alpine: Pulling from edgex-lftools-log-publisher 15:39:10 c9b1b535fdd9: Pulling fs layer 15:39:10 2cc5ad85d9ab: Pulling fs layer 15:39:10 756a868c4378: Pulling fs layer 15:39:10 444b2fc9a129: Pulling fs layer 15:39:10 ea15f1150254: Pulling fs layer 15:39:10 41b27a9f41bf: Pulling fs layer 15:39:10 28c525ee5125: Pulling fs layer 15:39:10 094b1ea09ed8: Pulling fs layer 15:39:10 138eaada9080: Pulling fs layer 15:39:10 0622d0fa9048: Pulling fs layer 15:39:10 444b2fc9a129: Waiting 15:39:10 28c525ee5125: Waiting 15:39:10 094b1ea09ed8: Waiting 15:39:10 138eaada9080: Waiting 15:39:10 0622d0fa9048: Waiting 15:39:10 41b27a9f41bf: Waiting 15:39:10 ea15f1150254: Waiting 15:39:10 2cc5ad85d9ab: Verifying Checksum 15:39:10 2cc5ad85d9ab: Download complete 15:39:10 444b2fc9a129: Verifying Checksum 15:39:10 444b2fc9a129: Download complete 15:39:10 c9b1b535fdd9: Download complete 15:39:10 ea15f1150254: Verifying Checksum 15:39:10 ea15f1150254: Download complete 15:39:10 28c525ee5125: Verifying Checksum 15:39:10 28c525ee5125: Download complete 15:39:11 756a868c4378: Verifying Checksum 15:39:11 756a868c4378: Download complete 15:39:11 c9b1b535fdd9: Pull complete 15:39:11 138eaada9080: Verifying Checksum 15:39:11 138eaada9080: Download complete 15:39:11 2cc5ad85d9ab: Pull complete 15:39:11 0622d0fa9048: Verifying Checksum 15:39:11 0622d0fa9048: Download complete 15:39:11 094b1ea09ed8: Verifying Checksum 15:39:11 094b1ea09ed8: Download complete 15:39:11 41b27a9f41bf: Verifying Checksum 15:39:11 41b27a9f41bf: Download complete 15:39:12 756a868c4378: Pull complete 15:39:12 444b2fc9a129: Pull complete 15:39:13 ea15f1150254: Pull complete 15:39:16 41b27a9f41bf: Pull complete 15:39:16 28c525ee5125: Pull complete 15:39:18 094b1ea09ed8: Pull complete 15:39:18 138eaada9080: Pull complete 15:39:18 0622d0fa9048: Pull complete 15:39:18 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 15:39:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:39:19 prd-centos7-docker-4c-2g-8267 does not seem to be running inside a container 15:39:19 $ 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:39:19 $ docker top 94a25b40832f663a953305b4a6eb559fbc7eeba1988f393ec6f27f9c78dec146 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:39:19 provisioning config files... 15:39:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config4225529539035002448tmp [Pipeline] { [Pipeline] echo 15:39:20 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:39:20 ---> create-netrc.sh [Pipeline] echo 15:39:20 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:39:20 ---> logs-deploy.sh 15:39:20 + ARCHIVE_ARTIFACTS= 15:39:20 + LOGS_SERVER=https://logs.edgexfoundry.org 15:39:20 + '[' https://logs.edgexfoundry.org == None ']' 15:39:20 + NEXUS_URL=https://nexus.edgexfoundry.org 15:39:20 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/7 15:39:20 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/7/ 15:39:20 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/7 /w/workspace/dgexfoundry_device-rest-go_PR-20 15:39:22 Archives upload complete. 15:39:22 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/7 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/7/