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 [2020-05-13T15:33:52.126Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-05-13T15:33:52.398Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-05-13T15:33:52.549Z] ========================================================= [2020-05-13T15:33:52.549Z] EdgeX Global Pipelines Version Info [2020-05-13T15:33:52.549Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-05-13T15:33:53.975Z] ------------------- [2020-05-13T15:33:53.975Z] stable info: [2020-05-13T15:33:53.975Z] ------------------- [2020-05-13T15:33:53.975Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-05-13T15:33:53.975Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-13T15:33:53.975Z] Message: update stable to v1.0.87 [2020-05-13T15:33:54.542Z] ------------------- [2020-05-13T15:33:54.542Z] experimental info: [2020-05-13T15:33:54.542Z] ------------------- [2020-05-13T15:33:54.542Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-05-13T15:33:54.542Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-05-13T15:33:54.542Z] 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 [2020-05-13T15:33:56.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-13T15:33:56.718Z] [2020-05-13T15:33:56.718Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-05-13T15:33:57.054Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-13T15:33:57.054Z] latest: Pulling from edgex-devops/git-semver [2020-05-13T15:33:57.054Z] 9123ac7c32f7: Pulling fs layer [2020-05-13T15:33:57.054Z] b8cc5d1170e3: Pulling fs layer [2020-05-13T15:33:57.054Z] 2924cbbf6a41: Pulling fs layer [2020-05-13T15:33:57.054Z] 93b08a4f1073: Pulling fs layer [2020-05-13T15:33:57.054Z] 93b08a4f1073: Waiting [2020-05-13T15:33:57.054Z] b8cc5d1170e3: Verifying Checksum [2020-05-13T15:33:57.054Z] b8cc5d1170e3: Download complete [2020-05-13T15:33:57.313Z] 9123ac7c32f7: Verifying Checksum [2020-05-13T15:33:57.313Z] 9123ac7c32f7: Download complete [2020-05-13T15:33:57.313Z] 2924cbbf6a41: Verifying Checksum [2020-05-13T15:33:57.313Z] 2924cbbf6a41: Download complete [2020-05-13T15:33:57.313Z] 93b08a4f1073: Verifying Checksum [2020-05-13T15:33:57.313Z] 93b08a4f1073: Download complete [2020-05-13T15:33:57.313Z] 9123ac7c32f7: Pull complete [2020-05-13T15:33:57.572Z] b8cc5d1170e3: Pull complete [2020-05-13T15:33:58.516Z] 2924cbbf6a41: Pull complete [2020-05-13T15:33:58.516Z] 93b08a4f1073: Pull complete [2020-05-13T15:33:58.516Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-05-13T15:33:58.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-05-13T15:33:58.660Z] prd-centos7-docker-4c-2g-8267 does not seem to be running inside a container [2020-05-13T15:33:58.704Z] $ 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 [2020-05-13T15:33:59.383Z] $ docker top fde88d5ec9b3f60444d4a88f74b37bf39d63d4cbe3a17828f01a82da9c6ca552 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-13T15:33:59.667Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-13T15:33:59.667Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-13T15:33:59.898Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-13T15:33:59.900Z] $ docker exec fde88d5ec9b3f60444d4a88f74b37bf39d63d4cbe3a17828f01a82da9c6ca552 ssh-agent [2020-05-13T15:34:00.083Z] SSH_AUTH_SOCK=/tmp/ssh-pnX7g5pmUTAO/agent.14 [2020-05-13T15:34:00.083Z] SSH_AGENT_PID=20 [2020-05-13T15:34:00.093Z] Running ssh-add (command line suppressed) [2020-05-13T15:34:00.232Z] 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) [2020-05-13T15:34:00.280Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-13T15:34:00.664Z] + git describe --exact-match --tags HEAD [2020-05-13T15:34:00.664Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-05-13T15:34:00.710Z] $ docker exec --env ******** --env ******** fde88d5ec9b3f60444d4a88f74b37bf39d63d4cbe3a17828f01a82da9c6ca552 ssh-agent -k [2020-05-13T15:34:00.857Z] unset SSH_AUTH_SOCK; [2020-05-13T15:34:00.857Z] unset SSH_AGENT_PID; [2020-05-13T15:34:00.857Z] echo Agent pid 20 killed; [2020-05-13T15:34:00.908Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-05-13T15:34:01.008Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-05-13T15:34:01.008Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-05-13T15:34:01.202Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-13T15:34:01.202Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-13T15:34:01.388Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-13T15:34:01.391Z] $ docker exec fde88d5ec9b3f60444d4a88f74b37bf39d63d4cbe3a17828f01a82da9c6ca552 ssh-agent [2020-05-13T15:34:01.577Z] SSH_AUTH_SOCK=/tmp/ssh-F3fPQ8YZfmph/agent.56 [2020-05-13T15:34:01.577Z] SSH_AGENT_PID=63 [2020-05-13T15:34:01.586Z] Running ssh-add (command line suppressed) [2020-05-13T15:34:01.728Z] 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) [2020-05-13T15:34:01.778Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-13T15:34:02.123Z] + git semver init [2020-05-13T15:34:02.123Z] # -> Open(): unable to determine branch for HEAD [2020-05-13T15:34:02.123Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.git [2020-05-13T15:34:02.123Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-20 [2020-05-13T15:34:02.123Z] # $SEMVER_REMOTE_NAME = origin [2020-05-13T15:34:02.123Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-13T15:34:02.123Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-13T15:34:02.123Z] # $SEMVER_BRANCH = PR-20 [2020-05-13T15:34:02.123Z] # $SEMVER_TEMP = /tmp/semver-807101075 [2020-05-13T15:34:02.123Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-05-13T15:34:04.653Z] # '/tmp/semver-807101075' -> '/w/workspace/dgexfoundry_device-rest-go_PR-20/.semver' [2020-05-13T15:34:04.653Z] # -> Force: false [2020-05-13T15:34:04.653Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.semver [Pipeline] } [2020-05-13T15:34:04.660Z] $ docker exec --env ******** --env ******** fde88d5ec9b3f60444d4a88f74b37bf39d63d4cbe3a17828f01a82da9c6ca552 ssh-agent -k [2020-05-13T15:34:04.794Z] unset SSH_AUTH_SOCK; [2020-05-13T15:34:04.794Z] unset SSH_AGENT_PID; [2020-05-13T15:34:04.794Z] echo Agent pid 63 killed; [2020-05-13T15:34:04.832Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-13T15:34:05.268Z] + git semver [Pipeline] } [2020-05-13T15:34:05.283Z] $ docker stop --time=1 fde88d5ec9b3f60444d4a88f74b37bf39d63d4cbe3a17828f01a82da9c6ca552 [2020-05-13T15:34:06.624Z] $ docker rm -f fde88d5ec9b3f60444d4a88f74b37bf39d63d4cbe3a17828f01a82da9c6ca552 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-05-13T15:34:08.019Z] Stashed 19 file(s) [Pipeline] echo [2020-05-13T15:34:08.021Z] [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 [2020-05-13T15:34:23.321Z] Still waiting to schedule task [2020-05-13T15:34:23.321Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-05-13T15:34:23.323Z] Still waiting to schedule task [2020-05-13T15:34:23.323Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-8140’ is offline [2020-05-13T15:36:04.682Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8268 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws [2020-05-13T15:36:04.723Z] Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout [2020-05-13T15:36:10.982Z] using credential edgex-jenkins-ssh [2020-05-13T15:36:11.043Z] Cloning the remote Git repository [2020-05-13T15:36:11.043Z] Cloning with configured refspecs honoured and without tags [2020-05-13T15:36:11.110Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T15:36:11.197Z] > git init /w/workspace/device-rest-go/7 # timeout=10 [2020-05-13T15:36:11.281Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T15:36:11.282Z] > git --version # timeout=10 [2020-05-13T15:36:11.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T15:36:11.409Z] > 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 [2020-05-13T15:36:13.449Z] Fetching without tags [2020-05-13T15:36:13.094Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-13T15:36:13.126Z] > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 [2020-05-13T15:36:13.149Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-13T15:36:13.410Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-13T15:36:13.465Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T15:36:13.465Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T15:36:13.484Z] > 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 [2020-05-13T15:36:13.935Z] Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit 1be774956ca59fa18a058f2e339b96e29a9feb19 [2020-05-13T15:36:13.982Z] Running on prd-centos7-docker-4c-2g-8269 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws [2020-05-13T15:36:14.019Z] Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout [2020-05-13T15:36:14.236Z] Merge succeeded, producing c168c9e70845ecf4f18f9c9cb3d1cb0ad7799276 [2020-05-13T15:36:14.236Z] Checking out Revision c168c9e70845ecf4f18f9c9cb3d1cb0ad7799276 (PR-20) [2020-05-13T15:36:13.966Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T15:36:14.006Z] > git checkout -f 1be774956ca59fa18a058f2e339b96e29a9feb19 # timeout=10 [2020-05-13T15:36:14.087Z] > git remote # timeout=10 [2020-05-13T15:36:14.128Z] > git config --get remote.origin.url # timeout=10 [2020-05-13T15:36:14.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T15:36:14.163Z] > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 [2020-05-13T15:36:14.221Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-05-13T15:36:14.246Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T15:36:14.267Z] > git checkout -f c168c9e70845ecf4f18f9c9cb3d1cb0ad7799276 # timeout=10 [2020-05-13T15:36:17.140Z] using credential edgex-jenkins-ssh [2020-05-13T15:36:17.210Z] Cloning the remote Git repository [2020-05-13T15:36:17.210Z] Cloning with configured refspecs honoured and without tags [2020-05-13T15:36:16.688Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T15:36:16.728Z] > git init /w/workspace/device-rest-go/7 # timeout=10 [2020-05-13T15:36:16.775Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T15:36:16.775Z] > git --version # timeout=10 [2020-05-13T15:36:16.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T15:36:16.824Z] > 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 [2020-05-13T15:36:18.495Z] Fetching without tags [2020-05-13T15:36:18.872Z] Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit 1be774956ca59fa18a058f2e339b96e29a9feb19 [2020-05-13T15:36:18.936Z] Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" [2020-05-13T15:36:18.950Z] Merge succeeded, producing f315ef524a62c0920cd6042af71ba3f75f065519 [2020-05-13T15:36:18.951Z] Checking out Revision f315ef524a62c0920cd6042af71ba3f75f065519 (PR-20) [2020-05-13T15:36:18.956Z] First time build. Skipping changelog. [2020-05-13T15:36:18.024Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-13T15:36:18.030Z] > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 [2020-05-13T15:36:18.034Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-13T15:36:18.045Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-13T15:36:18.057Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T15:36:18.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T15:36:18.062Z] > 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 [2020-05-13T15:36:18.470Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T15:36:18.477Z] > git checkout -f 1be774956ca59fa18a058f2e339b96e29a9feb19 # timeout=10 [2020-05-13T15:36:18.508Z] > git remote # timeout=10 [2020-05-13T15:36:18.513Z] > git config --get remote.origin.url # timeout=10 [2020-05-13T15:36:18.520Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T15:36:18.524Z] > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 [2020-05-13T15:36:18.540Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-05-13T15:36:18.549Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T15:36:18.556Z] > git checkout -f f315ef524a62c0920cd6042af71ba3f75f065519 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-05-13T15:36:18.945Z] > git rev-list --no-walk 7665b08feb686291cc144e5502e635cec29cda74 # timeout=10 [Pipeline] echo [2020-05-13T15:36:20.992Z] ========================================================= [2020-05-13T15:36:20.992Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-05-13T15:36:20.992Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-13T15:36:21.941Z] + 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 . [2020-05-13T15:36:22.544Z] Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" [2020-05-13T15:36:22.443Z] > git rev-list --no-walk 7665b08feb686291cc144e5502e635cec29cda74 # timeout=10 [2020-05-13T15:36:22.554Z] First time build. Skipping changelog. [2020-05-13T15:36:22.910Z] Sending build context to Docker daemon 8.017MB [2020-05-13T15:36:22.910Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-05-13T15:36:22.910Z] Step 2/10 : FROM ${BASE} [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-05-13T15:36:23.179Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-05-13T15:36:23.179Z] cde5963f3b93: Pulling fs layer [2020-05-13T15:36:23.179Z] 2a23fa8c16f7: Pulling fs layer [2020-05-13T15:36:23.179Z] 777b28850792: Pulling fs layer [2020-05-13T15:36:23.179Z] 8a11ddd9e578: Pulling fs layer [2020-05-13T15:36:23.179Z] 4cf88f913ddb: Pulling fs layer [2020-05-13T15:36:23.179Z] 1df406cf5192: Pulling fs layer [2020-05-13T15:36:23.179Z] cd6300453558: Pulling fs layer [2020-05-13T15:36:23.179Z] b9c365052c96: Pulling fs layer [2020-05-13T15:36:23.179Z] a2d8cc88f415: Pulling fs layer [2020-05-13T15:36:23.179Z] ea1d1ca13537: Pulling fs layer [2020-05-13T15:36:23.179Z] 3750a50a1c5e: Pulling fs layer [2020-05-13T15:36:23.179Z] cd6300453558: Waiting [2020-05-13T15:36:23.179Z] 8a11ddd9e578: Waiting [2020-05-13T15:36:23.179Z] b9c365052c96: Waiting [2020-05-13T15:36:23.179Z] 4cf88f913ddb: Waiting [2020-05-13T15:36:23.179Z] a2d8cc88f415: Waiting [2020-05-13T15:36:23.179Z] 3750a50a1c5e: Waiting [2020-05-13T15:36:23.179Z] 1df406cf5192: Waiting [2020-05-13T15:36:23.179Z] 777b28850792: Verifying Checksum [2020-05-13T15:36:23.179Z] 777b28850792: Download complete [2020-05-13T15:36:23.179Z] 2a23fa8c16f7: Download complete [2020-05-13T15:36:23.179Z] 4cf88f913ddb: Verifying Checksum [2020-05-13T15:36:23.179Z] 4cf88f913ddb: Download complete [2020-05-13T15:36:23.179Z] 1df406cf5192: Download complete [2020-05-13T15:36:23.448Z] cde5963f3b93: Verifying Checksum [2020-05-13T15:36:23.448Z] cde5963f3b93: Download complete [Pipeline] echo [2020-05-13T15:36:23.680Z] ========================================================= [2020-05-13T15:36:23.680Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-05-13T15:36:23.680Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-13T15:36:24.403Z] + 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 . [2020-05-13T15:36:24.424Z] cde5963f3b93: Pull complete [2020-05-13T15:36:24.668Z] Sending build context to Docker daemon 8.017MB [2020-05-13T15:36:24.669Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-05-13T15:36:24.669Z] Step 2/10 : FROM ${BASE} [2020-05-13T15:36:24.669Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-05-13T15:36:24.669Z] e6b0cf9c0882: Pulling fs layer [2020-05-13T15:36:24.669Z] 2848faf0eed1: Pulling fs layer [2020-05-13T15:36:24.669Z] 0f37312ad70f: Pulling fs layer [2020-05-13T15:36:24.669Z] 5788d62ee057: Pulling fs layer [2020-05-13T15:36:24.669Z] 0e6b1d234666: Pulling fs layer [2020-05-13T15:36:24.669Z] bf5d7aec512f: Pulling fs layer [2020-05-13T15:36:24.669Z] 34c802a77dc8: Pulling fs layer [2020-05-13T15:36:24.669Z] 9eb99e56ec68: Pulling fs layer [2020-05-13T15:36:24.669Z] 27c7a5d97fbd: Pulling fs layer [2020-05-13T15:36:24.669Z] 5c102a31e300: Pulling fs layer [2020-05-13T15:36:24.669Z] dcfb455df0a1: Pulling fs layer [2020-05-13T15:36:24.669Z] 34c802a77dc8: Waiting [2020-05-13T15:36:24.669Z] 9eb99e56ec68: Waiting [2020-05-13T15:36:24.669Z] 27c7a5d97fbd: Waiting [2020-05-13T15:36:24.669Z] 5c102a31e300: Waiting [2020-05-13T15:36:24.669Z] dcfb455df0a1: Waiting [2020-05-13T15:36:24.669Z] 0e6b1d234666: Waiting [2020-05-13T15:36:24.669Z] 5788d62ee057: Waiting [2020-05-13T15:36:24.669Z] bf5d7aec512f: Waiting [2020-05-13T15:36:24.669Z] 0f37312ad70f: Verifying Checksum [2020-05-13T15:36:24.669Z] 0f37312ad70f: Download complete [2020-05-13T15:36:24.669Z] 2848faf0eed1: Verifying Checksum [2020-05-13T15:36:24.669Z] 2848faf0eed1: Download complete [2020-05-13T15:36:24.669Z] 0e6b1d234666: Download complete [2020-05-13T15:36:24.669Z] bf5d7aec512f: Verifying Checksum [2020-05-13T15:36:24.669Z] bf5d7aec512f: Download complete [2020-05-13T15:36:24.669Z] e6b0cf9c0882: Verifying Checksum [2020-05-13T15:36:24.669Z] e6b0cf9c0882: Download complete [2020-05-13T15:36:24.932Z] e6b0cf9c0882: Pull complete [2020-05-13T15:36:25.193Z] 2848faf0eed1: Pull complete [2020-05-13T15:36:25.193Z] 0f37312ad70f: Pull complete [2020-05-13T15:36:25.408Z] 2a23fa8c16f7: Pull complete [2020-05-13T15:36:25.683Z] 777b28850792: Pull complete [2020-05-13T15:36:25.765Z] 34c802a77dc8: Verifying Checksum [2020-05-13T15:36:25.765Z] 34c802a77dc8: Download complete [2020-05-13T15:36:26.034Z] 27c7a5d97fbd: Verifying Checksum [2020-05-13T15:36:26.034Z] 27c7a5d97fbd: Download complete [2020-05-13T15:36:26.611Z] 9eb99e56ec68: Download complete [2020-05-13T15:36:26.611Z] 5788d62ee057: Verifying Checksum [2020-05-13T15:36:26.611Z] 5788d62ee057: Download complete [2020-05-13T15:36:26.611Z] dcfb455df0a1: Verifying Checksum [2020-05-13T15:36:26.611Z] dcfb455df0a1: Download complete [2020-05-13T15:36:26.611Z] 5c102a31e300: Verifying Checksum [2020-05-13T15:36:26.611Z] 5c102a31e300: Download complete [2020-05-13T15:36:27.647Z] cd6300453558: Verifying Checksum [2020-05-13T15:36:27.647Z] cd6300453558: Download complete [2020-05-13T15:36:27.647Z] a2d8cc88f415: Verifying Checksum [2020-05-13T15:36:27.647Z] a2d8cc88f415: Download complete [2020-05-13T15:36:30.250Z] ea1d1ca13537: Verifying Checksum [2020-05-13T15:36:30.250Z] ea1d1ca13537: Download complete [2020-05-13T15:36:30.250Z] 3750a50a1c5e: Verifying Checksum [2020-05-13T15:36:30.250Z] 3750a50a1c5e: Download complete [2020-05-13T15:36:31.893Z] 5788d62ee057: Pull complete [2020-05-13T15:36:31.894Z] 0e6b1d234666: Pull complete [2020-05-13T15:36:32.153Z] bf5d7aec512f: Pull complete [2020-05-13T15:36:32.839Z] b9c365052c96: Verifying Checksum [2020-05-13T15:36:32.839Z] b9c365052c96: Download complete [2020-05-13T15:36:34.783Z] 8a11ddd9e578: Verifying Checksum [2020-05-13T15:36:34.783Z] 8a11ddd9e578: Download complete [2020-05-13T15:36:36.345Z] 34c802a77dc8: Pull complete [2020-05-13T15:36:40.539Z] 9eb99e56ec68: Pull complete [2020-05-13T15:36:40.540Z] 27c7a5d97fbd: Pull complete [2020-05-13T15:36:40.798Z] 5c102a31e300: Pull complete [2020-05-13T15:36:41.057Z] dcfb455df0a1: Pull complete [2020-05-13T15:36:41.057Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-05-13T15:36:41.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-05-13T15:36:41.057Z] ---> 7c70fe431013 [2020-05-13T15:36:41.057Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-05-13T15:36:41.057Z] ---> Running in 4d717bfd3bdd [2020-05-13T15:36:41.317Z] Removing intermediate container 4d717bfd3bdd [2020-05-13T15:36:41.317Z] ---> 9c919a563516 [2020-05-13T15:36:41.317Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-05-13T15:36:41.884Z] ---> Running in ffaa86d2fbe8 [2020-05-13T15:36:41.884Z] Removing intermediate container ffaa86d2fbe8 [2020-05-13T15:36:41.884Z] ---> df2d8f35579b [2020-05-13T15:36:41.884Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-13T15:36:41.884Z] ---> Running in 00c1d1e23a17 [2020-05-13T15:36:42.142Z] Removing intermediate container 00c1d1e23a17 [2020-05-13T15:36:42.142Z] ---> da988e94c94f [2020-05-13T15:36:42.142Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T15:36:42.142Z] ---> Running in 6a6c0f5e916e [2020-05-13T15:36:43.083Z] Removing intermediate container 6a6c0f5e916e [2020-05-13T15:36:43.083Z] ---> 529f1bf8319e [2020-05-13T15:36:43.083Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-13T15:36:43.083Z] ---> Running in 66c3592b2ff8 [2020-05-13T15:36:43.651Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-13T15:36:44.592Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-13T15:36:45.160Z] OK: 143 MiB in 39 packages [2020-05-13T15:36:45.419Z] Removing intermediate container 66c3592b2ff8 [2020-05-13T15:36:45.419Z] ---> 120f8772c45e [2020-05-13T15:36:45.419Z] Step 8/10 : WORKDIR /device-rest-go [2020-05-13T15:36:45.419Z] ---> Running in ff10ad1ac21a [2020-05-13T15:36:45.677Z] Removing intermediate container ff10ad1ac21a [2020-05-13T15:36:45.677Z] ---> b22426eab203 [2020-05-13T15:36:45.677Z] Step 9/10 : COPY . . [2020-05-13T15:36:45.937Z] ---> a15524f444ce [2020-05-13T15:36:45.937Z] Step 10/10 : RUN go mod download [2020-05-13T15:36:46.195Z] ---> Running in d78338930ace [2020-05-13T15:36:47.124Z] 8a11ddd9e578: Pull complete [2020-05-13T15:36:47.124Z] 4cf88f913ddb: Pull complete [2020-05-13T15:36:47.124Z] 1df406cf5192: Pull complete [2020-05-13T15:36:48.729Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-13T15:36:48.729Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-13T15:36:48.729Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-13T15:36:48.729Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-13T15:36:48.729Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-13T15:36:48.729Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-13T15:36:48.729Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-13T15:36:48.729Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-13T15:36:48.729Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-05-13T15:36:48.729Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-13T15:36:48.729Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-13T15:36:48.729Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-13T15:36:48.729Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-13T15:36:48.729Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-13T15:36:48.987Z] go: finding github.com/fatih/color v1.7.0 [2020-05-13T15:36:48.987Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-13T15:36:48.987Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-13T15:36:48.987Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-13T15:36:48.987Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-13T15:36:48.987Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-13T15:36:48.987Z] go: finding github.com/google/uuid v1.1.0 [2020-05-13T15:36:49.246Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-13T15:36:49.246Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-13T15:36:49.246Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-13T15:36:49.246Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-13T15:36:49.246Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-13T15:36:49.246Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-13T15:36:49.505Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-13T15:36:49.505Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-13T15:36:49.505Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-13T15:36:49.505Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-05-13T15:36:49.505Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-13T15:36:49.505Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-13T15:36:49.505Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-13T15:36:49.764Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-13T15:36:49.764Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-13T15:36:49.764Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-13T15:36:49.764Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-13T15:36:49.764Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-13T15:36:49.764Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-13T15:36:49.764Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-13T15:36:50.022Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-13T15:36:50.022Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-13T15:36:50.022Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-13T15:36:50.022Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-13T15:36:50.022Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-13T15:36:50.022Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-13T15:36:50.022Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-13T15:36:50.281Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-13T15:36:50.281Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-13T15:36:50.281Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-13T15:36:50.281Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-13T15:36:50.281Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-13T15:36:50.281Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-13T15:36:50.479Z] cd6300453558: Pull complete [2020-05-13T15:36:50.540Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-13T15:36:50.540Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-13T15:36:50.540Z] go: finding github.com/posener/complete v1.1.1 [2020-05-13T15:36:50.540Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-13T15:36:50.540Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-13T15:36:50.540Z] go: finding github.com/spf13/cast v1.3.0 [2020-05-13T15:36:50.540Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-13T15:36:50.798Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-13T15:36:50.798Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-13T15:36:50.798Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-13T15:36:50.798Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-13T15:36:50.798Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-13T15:36:50.798Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-13T15:36:50.798Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-13T15:36:50.798Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-13T15:36:50.798Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-13T15:36:55.841Z] b9c365052c96: Pull complete [2020-05-13T15:36:55.841Z] a2d8cc88f415: Pull complete [2020-05-13T15:36:56.079Z] Removing intermediate container d78338930ace [2020-05-13T15:36:56.079Z] ---> be1436cdd337 [2020-05-13T15:36:56.079Z] Successfully built be1436cdd337 [2020-05-13T15:36:56.079Z] 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 [2020-05-13T15:36:56.786Z] + docker inspect -f . ci-base-image-x86_64 [2020-05-13T15:36:56.786Z] . [Pipeline] withDockerContainer [2020-05-13T15:36:56.923Z] prd-centos7-docker-4c-2g-8269 does not seem to be running inside a container [2020-05-13T15:36:56.967Z] $ 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 [2020-05-13T15:36:57.543Z] $ docker top f6b76d8ca391408e0ef0a9931ba893a4a11350480c3b2935170e210ce322c1a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-13T15:36:58.021Z] + go version [2020-05-13T15:36:58.022Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-05-13T15:36:58.321Z] + make test [2020-05-13T15:36:58.322Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-13T15:36:58.449Z] ea1d1ca13537: Pull complete [2020-05-13T15:36:58.449Z] 3750a50a1c5e: Pull complete [2020-05-13T15:36:58.449Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-05-13T15:36:58.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-05-13T15:36:58.449Z] ---> 78745c68409d [2020-05-13T15:36:58.449Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-05-13T15:36:59.263Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-05-13T15:37:02.717Z] ---> Running in a58f87c720ed [2020-05-13T15:37:02.985Z] Removing intermediate container a58f87c720ed [2020-05-13T15:37:02.985Z] ---> 7ef17f245d5e [2020-05-13T15:37:02.985Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-05-13T15:37:02.985Z] ---> Running in 460893f5f3b8 [2020-05-13T15:37:03.570Z] Removing intermediate container 460893f5f3b8 [2020-05-13T15:37:03.570Z] ---> 5616b827b0b8 [2020-05-13T15:37:03.570Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-13T15:37:03.570Z] ---> Running in 49a6aad0abc1 [2020-05-13T15:37:03.838Z] Removing intermediate container 49a6aad0abc1 [2020-05-13T15:37:03.838Z] ---> 22fd87b0a5f9 [2020-05-13T15:37:03.838Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T15:37:04.107Z] ---> Running in 735411de9676 [2020-05-13T15:37:06.050Z] Removing intermediate container 735411de9676 [2020-05-13T15:37:06.050Z] ---> ffa9449cd901 [2020-05-13T15:37:06.050Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-13T15:37:06.050Z] ---> Running in 40fb34a4a834 [2020-05-13T15:37:07.011Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-13T15:37:07.977Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-13T15:37:08.559Z] OK: 125 MiB in 39 packages [2020-05-13T15:37:09.302Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-05-13T15:37:09.302Z] ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 56.3% of statements [2020-05-13T15:37:09.302Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-13T15:37:09.519Z] Removing intermediate container 40fb34a4a834 [2020-05-13T15:37:09.519Z] ---> 856b6b52682b [2020-05-13T15:37:09.519Z] Step 8/10 : WORKDIR /device-rest-go [2020-05-13T15:37:09.519Z] ---> Running in a4daa9bf583b [2020-05-13T15:37:10.103Z] Removing intermediate container a4daa9bf583b [2020-05-13T15:37:10.103Z] ---> 45b96e406e22 [2020-05-13T15:37:10.103Z] Step 9/10 : COPY . . [2020-05-13T15:37:11.064Z] ---> 70e5cbbfbfa0 [2020-05-13T15:37:11.064Z] Step 10/10 : RUN go mod download [2020-05-13T15:37:11.064Z] ---> Running in 9e741415403d [2020-05-13T15:37:11.224Z] gofmt -l . [2020-05-13T15:37:11.224Z] [ "`gofmt -l .`" = "" ] [2020-05-13T15:37:11.224Z] ./bin/test-go-mod-tidy.sh [2020-05-13T15:37:11.795Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-05-13T15:37:12.360Z] Stashed 1 file(s) [Pipeline] } [2020-05-13T15:37:12.368Z] $ docker stop --time=1 f6b76d8ca391408e0ef0a9931ba893a4a11350480c3b2935170e210ce322c1a5 [2020-05-13T15:37:13.007Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-13T15:37:13.007Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-13T15:37:13.007Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-13T15:37:13.276Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-13T15:37:13.276Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-13T15:37:13.276Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-13T15:37:13.276Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-13T15:37:13.276Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-13T15:37:13.276Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-05-13T15:37:13.276Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-13T15:37:13.276Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-13T15:37:13.542Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-13T15:37:13.542Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-13T15:37:13.542Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-13T15:37:13.542Z] go: finding github.com/fatih/color v1.7.0 [2020-05-13T15:37:13.542Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-13T15:37:13.542Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-13T15:37:13.542Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-13T15:37:13.542Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-13T15:37:13.784Z] $ docker rm -f f6b76d8ca391408e0ef0a9931ba893a4a11350480c3b2935170e210ce322c1a5 [2020-05-13T15:37:13.809Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-13T15:37:13.809Z] go: finding github.com/google/uuid v1.1.0 [2020-05-13T15:37:13.809Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-13T15:37:13.809Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-13T15:37:13.809Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [Pipeline] // withDockerContainer [Pipeline] } [2020-05-13T15:37:14.076Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-13T15:37:14.076Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-13T15:37:14.076Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-13T15:37:14.076Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-13T15:37:14.076Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-13T15:37:14.076Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-13T15:37:14.076Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-05-13T15:37:14.342Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-13T15:37:14.342Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-13T15:37:14.343Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-13T15:37:14.343Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-13T15:37:14.343Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-13T15:37:14.343Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-13T15:37:14.611Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-13T15:37:14.611Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-13T15:37:14.611Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-13T15:37:14.611Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-13T15:37:14.611Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-13T15:37:14.611Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-13T15:37:14.611Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-13T15:37:14.900Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-13T15:37:14.900Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-13T15:37:14.900Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-13T15:37:14.900Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-13T15:37:14.900Z] go: finding github.com/mitchellh/gox v0.4.0 [Pipeline] sh [2020-05-13T15:37:15.166Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-13T15:37:15.166Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-13T15:37:15.166Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-13T15:37:15.166Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-13T15:37:15.166Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-13T15:37:15.166Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-13T15:37:15.166Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-13T15:37:15.238Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-13T15:37:15.432Z] go: finding github.com/posener/complete v1.1.1 [2020-05-13T15:37:15.432Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-13T15:37:15.432Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-13T15:37:15.432Z] go: finding github.com/spf13/cast v1.3.0 [2020-05-13T15:37:15.432Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-13T15:37:15.432Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-13T15:37:15.432Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-13T15:37:15.525Z] + ls -al . [2020-05-13T15:37:15.525Z] total 96 [2020-05-13T15:37:15.525Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 13 15:37 . [2020-05-13T15:37:15.525Z] drwxrwxr-x. 4 jenkins jenkins 28 May 13 15:36 .. [2020-05-13T15:37:15.525Z] -rw-rw-r--. 1 jenkins jenkins 4802 May 13 15:36 Attribution.txt [2020-05-13T15:37:15.525Z] drwxrwxr-x. 2 jenkins jenkins 64 May 13 15:36 bin [2020-05-13T15:37:15.525Z] drwxrwxr-x. 3 jenkins jenkins 32 May 13 15:36 cmd [2020-05-13T15:37:15.525Z] -rw-r--r--. 1 jenkins jenkins 9369 May 13 15:37 coverage.out [2020-05-13T15:37:15.525Z] -rw-rw-r--. 1 jenkins jenkins 1504 May 13 15:36 Dockerfile [2020-05-13T15:37:15.525Z] -rw-rw-r--. 1 jenkins jenkins 989 May 13 15:36 Dockerfile.build [2020-05-13T15:37:15.525Z] -rw-rw-r--. 1 jenkins jenkins 151 May 13 15:36 .dockerignore [2020-05-13T15:37:15.525Z] drwxrwxr-x. 2 jenkins jenkins 93 May 13 15:37 driver [2020-05-13T15:37:15.525Z] drwxrwxr-x. 8 jenkins jenkins 179 May 13 15:36 .git [2020-05-13T15:37:15.525Z] -rw-rw-r--. 1 jenkins jenkins 339 May 13 15:36 .gitignore [2020-05-13T15:37:15.525Z] -rw-r--r--. 1 jenkins jenkins 266 May 13 15:37 go.mod [2020-05-13T15:37:15.525Z] -rw-r--r--. 1 jenkins jenkins 12533 May 13 15:37 go.sum [2020-05-13T15:37:15.525Z] -rw-rw-r--. 1 jenkins jenkins 702 May 13 15:36 Jenkinsfile [2020-05-13T15:37:15.525Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 13 15:36 LICENSE [2020-05-13T15:37:15.525Z] -rw-rw-r--. 1 jenkins jenkins 951 May 13 15:36 Makefile [2020-05-13T15:37:15.525Z] -rw-rw-r--. 1 jenkins jenkins 5716 May 13 15:36 README.md [2020-05-13T15:37:15.525Z] drwxrwxr-x. 3 jenkins jenkins 45 May 13 15:36 .semver [2020-05-13T15:37:15.525Z] -rw-rw-r--. 1 jenkins jenkins 5 May 13 15:34 VERSION [2020-05-13T15:37:15.525Z] -rw-rw-r--. 1 jenkins jenkins 713 May 13 15:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-13T15:37:15.698Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-13T15:37:15.698Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-13T15:37:15.698Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-13T15:37:15.698Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-13T15:37:15.698Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-13T15:37:15.698Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-13T15:37:15.698Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-13T15:37:15.816Z] + 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 . [2020-05-13T15:37:15.816Z] Sending build context to Docker daemon 8.029MB [2020-05-13T15:37:15.816Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-05-13T15:37:15.816Z] Step 2/24 : FROM ${BASE} AS builder [2020-05-13T15:37:15.816Z] ---> be1436cdd337 [2020-05-13T15:37:15.816Z] Step 3/24 : ARG MAKE='make build' [2020-05-13T15:37:16.075Z] ---> Running in c165e2876325 [2020-05-13T15:37:16.075Z] Removing intermediate container c165e2876325 [2020-05-13T15:37:16.075Z] ---> 06c94909d4ed [2020-05-13T15:37:16.075Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-05-13T15:37:16.334Z] ---> Running in bd122b910e0d [2020-05-13T15:37:16.334Z] Removing intermediate container bd122b910e0d [2020-05-13T15:37:16.334Z] ---> 42daf418ebf3 [2020-05-13T15:37:16.334Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-05-13T15:37:16.334Z] ---> Running in 53c5d8dec5a7 [2020-05-13T15:37:16.592Z] Removing intermediate container 53c5d8dec5a7 [2020-05-13T15:37:16.592Z] ---> a8f6f6081919 [2020-05-13T15:37:16.592Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T15:37:16.592Z] ---> Running in 0d80ad60d738 [2020-05-13T15:37:17.162Z] Removing intermediate container 0d80ad60d738 [2020-05-13T15:37:17.162Z] ---> 18f307325444 [2020-05-13T15:37:17.162Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-13T15:37:17.421Z] ---> Running in f91e84714908 [2020-05-13T15:37:17.680Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-13T15:37:18.617Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-13T15:37:18.875Z] OK: 143 MiB in 39 packages [2020-05-13T15:37:19.442Z] Removing intermediate container f91e84714908 [2020-05-13T15:37:19.442Z] ---> b3de40abd647 [2020-05-13T15:37:19.442Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-05-13T15:37:19.442Z] ---> Running in 35043890355e [2020-05-13T15:37:19.442Z] Removing intermediate container 35043890355e [2020-05-13T15:37:19.442Z] ---> 6df63a4680ef [2020-05-13T15:37:19.442Z] Step 9/24 : COPY go.mod . [2020-05-13T15:37:19.701Z] ---> 1bbe44e824a8 [2020-05-13T15:37:19.701Z] Step 10/24 : COPY Makefile . [2020-05-13T15:37:19.701Z] ---> bd6e0626f20f [2020-05-13T15:37:19.701Z] Step 11/24 : RUN make update [2020-05-13T15:37:19.960Z] ---> Running in 656aabcc627b [2020-05-13T15:37:20.220Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-05-13T15:37:20.788Z] Removing intermediate container 656aabcc627b [2020-05-13T15:37:20.788Z] ---> 1cad7b864563 [2020-05-13T15:37:20.788Z] Step 12/24 : COPY . . [2020-05-13T15:37:21.048Z] ---> e3c34eca0606 [2020-05-13T15:37:21.048Z] Step 13/24 : RUN $MAKE [2020-05-13T15:37:21.048Z] ---> Running in 801238bfc40b [2020-05-13T15:37:21.307Z] 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 [2020-05-13T15:37:25.791Z] Removing intermediate container 9e741415403d [2020-05-13T15:37:25.791Z] ---> 9065388d09b6 [2020-05-13T15:37:25.791Z] Successfully built 9065388d09b6 [2020-05-13T15:37:25.791Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-05-13T15:37:26.511Z] + docker inspect -f . ci-base-image-arm64 [2020-05-13T15:37:26.511Z] . [Pipeline] withDockerContainer [2020-05-13T15:37:27.022Z] prd-ubuntu18.04-docker-arm64-4c-16g-8268 does not seem to be running inside a container [2020-05-13T15:37:27.142Z] $ 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 [2020-05-13T15:37:28.642Z] $ docker top 99789a8ab98bd26582bb5d269c63c7635d189fb2fc8fbe72656499cf4a9c87be -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-13T15:37:29.731Z] + go version [2020-05-13T15:37:29.731Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-05-13T15:37:30.391Z] + make test [2020-05-13T15:37:30.391Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-13T15:37:31.354Z] Removing intermediate container 801238bfc40b [2020-05-13T15:37:31.354Z] ---> 86fa79338e37 [2020-05-13T15:37:31.354Z] Step 14/24 : FROM alpine:latest [2020-05-13T15:37:31.612Z] latest: Pulling from library/alpine [2020-05-13T15:37:31.812Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-05-13T15:37:31.871Z] cbdbe7a5bc2a: Pulling fs layer [2020-05-13T15:37:31.871Z] cbdbe7a5bc2a: Verifying Checksum [2020-05-13T15:37:31.871Z] cbdbe7a5bc2a: Download complete [2020-05-13T15:37:32.131Z] cbdbe7a5bc2a: Pull complete [2020-05-13T15:37:32.131Z] Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 [2020-05-13T15:37:32.131Z] Status: Downloaded newer image for alpine:latest [2020-05-13T15:37:32.131Z] ---> f70734b6a266 [2020-05-13T15:37:32.131Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-13T15:37:32.131Z] ---> Running in 611f784d7f06 [2020-05-13T15:37:32.391Z] Removing intermediate container 611f784d7f06 [2020-05-13T15:37:32.391Z] ---> 60d5bc5d1e33 [2020-05-13T15:37:32.391Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-05-13T15:37:32.391Z] ---> Running in c39c0147b84c [2020-05-13T15:37:32.391Z] Removing intermediate container c39c0147b84c [2020-05-13T15:37:32.391Z] ---> bdb81e77e4f8 [2020-05-13T15:37:32.391Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-05-13T15:37:32.651Z] ---> 37f4ae85eff4 [2020-05-13T15:37:32.651Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-05-13T15:37:32.910Z] ---> 549e905d7de2 [2020-05-13T15:37:32.910Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-05-13T15:37:33.168Z] ---> 09ecf719bb6e [2020-05-13T15:37:33.168Z] Step 20/24 : EXPOSE 49986 [2020-05-13T15:37:33.168Z] ---> Running in 1fccf9f7f6c9 [2020-05-13T15:37:33.427Z] Removing intermediate container 1fccf9f7f6c9 [2020-05-13T15:37:33.427Z] ---> ec95350551a2 [2020-05-13T15:37:33.427Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-05-13T15:37:33.427Z] ---> Running in 306aa285216b [2020-05-13T15:37:33.685Z] Removing intermediate container 306aa285216b [2020-05-13T15:37:33.685Z] ---> c8e3c0cd5472 [2020-05-13T15:37:33.685Z] Step 22/24 : LABEL arch=amd64 [2020-05-13T15:37:33.685Z] ---> Running in 709f572f6d26 [2020-05-13T15:37:33.685Z] Removing intermediate container 709f572f6d26 [2020-05-13T15:37:33.685Z] ---> a0be6ba39f91 [2020-05-13T15:37:33.685Z] Step 23/24 : LABEL git_sha=87c93f1de22533bd713921f82bd651d5241b5b01 [2020-05-13T15:37:33.685Z] ---> Running in 3eedf653baf0 [2020-05-13T15:37:33.943Z] Removing intermediate container 3eedf653baf0 [2020-05-13T15:37:33.943Z] ---> 885ffc4de7e0 [2020-05-13T15:37:33.943Z] Step 24/24 : LABEL version=0.0.0 [2020-05-13T15:37:33.943Z] ---> Running in 9ecbeb973e0a [2020-05-13T15:37:34.202Z] Removing intermediate container 9ecbeb973e0a [2020-05-13T15:37:34.202Z] ---> c0739cd6c139 [2020-05-13T15:37:34.202Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-13T15:37:34.202Z] Successfully built c0739cd6c139 [2020-05-13T15:37:34.202Z] 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] } [2020-05-13T15:38:04.130Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-05-13T15:38:04.130Z] ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 56.3% of statements [2020-05-13T15:38:04.130Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-13T15:38:07.496Z] gofmt -l . [2020-05-13T15:38:07.496Z] [ "`gofmt -l .`" = "" ] [2020-05-13T15:38:07.496Z] ./bin/test-go-mod-tidy.sh [2020-05-13T15:38:08.085Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-05-13T15:38:08.682Z] Warning: overwriting stash ‘coverage-report’ [2020-05-13T15:38:09.053Z] Stashed 1 file(s) [Pipeline] } [2020-05-13T15:38:09.060Z] $ docker stop --time=1 99789a8ab98bd26582bb5d269c63c7635d189fb2fc8fbe72656499cf4a9c87be [2020-05-13T15:38:11.205Z] $ docker rm -f 99789a8ab98bd26582bb5d269c63c7635d189fb2fc8fbe72656499cf4a9c87be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-13T15:38:12.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-13T15:38:12.982Z] + ls -al . [2020-05-13T15:38:12.982Z] total 120 [2020-05-13T15:38:12.982Z] drwxrwxr-x 7 jenkins jenkins 4096 May 13 15:38 . [2020-05-13T15:38:12.982Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 15:36 .. [2020-05-13T15:38:12.982Z] -rw-rw-r-- 1 jenkins jenkins 151 May 13 15:36 .dockerignore [2020-05-13T15:38:12.982Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 15:36 .git [2020-05-13T15:38:12.982Z] -rw-rw-r-- 1 jenkins jenkins 339 May 13 15:36 .gitignore [2020-05-13T15:38:12.982Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 15:36 .semver [2020-05-13T15:38:12.982Z] -rw-rw-r-- 1 jenkins jenkins 4802 May 13 15:36 Attribution.txt [2020-05-13T15:38:12.982Z] -rw-rw-r-- 1 jenkins jenkins 1504 May 13 15:36 Dockerfile [2020-05-13T15:38:12.982Z] -rw-rw-r-- 1 jenkins jenkins 989 May 13 15:36 Dockerfile.build [2020-05-13T15:38:12.982Z] -rw-rw-r-- 1 jenkins jenkins 702 May 13 15:36 Jenkinsfile [2020-05-13T15:38:12.982Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 13 15:36 LICENSE [2020-05-13T15:38:12.982Z] -rw-rw-r-- 1 jenkins jenkins 951 May 13 15:36 Makefile [2020-05-13T15:38:12.982Z] -rw-rw-r-- 1 jenkins jenkins 5716 May 13 15:36 README.md [2020-05-13T15:38:12.982Z] -rw-rw-r-- 1 jenkins jenkins 5 May 13 15:34 VERSION [2020-05-13T15:38:12.982Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 15:36 bin [2020-05-13T15:38:12.982Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 15:36 cmd [2020-05-13T15:38:12.982Z] -rw-r--r-- 1 jenkins jenkins 9369 May 13 15:38 coverage.out [2020-05-13T15:38:12.982Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 15:38 driver [2020-05-13T15:38:12.982Z] -rw-r--r-- 1 jenkins jenkins 266 May 13 15:38 go.mod [2020-05-13T15:38:12.982Z] -rw-r--r-- 1 jenkins jenkins 12533 May 13 15:38 go.sum [2020-05-13T15:38:12.982Z] -rw-rw-r-- 1 jenkins jenkins 713 May 13 15:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-13T15:38:13.314Z] + 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 . [2020-05-13T15:38:13.902Z] Sending build context to Docker daemon 8.029MB [2020-05-13T15:38:13.902Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-05-13T15:38:13.902Z] Step 2/24 : FROM ${BASE} AS builder [2020-05-13T15:38:13.902Z] ---> 9065388d09b6 [2020-05-13T15:38:13.902Z] Step 3/24 : ARG MAKE='make build' [2020-05-13T15:38:14.169Z] ---> Running in 5ca0038874a4 [2020-05-13T15:38:14.436Z] Removing intermediate container 5ca0038874a4 [2020-05-13T15:38:14.436Z] ---> 85afc13bd77a [2020-05-13T15:38:14.436Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-05-13T15:38:14.436Z] ---> Running in 53602640a6df [2020-05-13T15:38:15.025Z] Removing intermediate container 53602640a6df [2020-05-13T15:38:15.025Z] ---> da6d87546df2 [2020-05-13T15:38:15.025Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-05-13T15:38:15.025Z] ---> Running in 5a70d7df373d [2020-05-13T15:38:15.291Z] Removing intermediate container 5a70d7df373d [2020-05-13T15:38:15.291Z] ---> 5c36893c3ace [2020-05-13T15:38:15.291Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T15:38:15.559Z] ---> Running in 26ae17ee9b9f [2020-05-13T15:38:17.511Z] Removing intermediate container 26ae17ee9b9f [2020-05-13T15:38:17.511Z] ---> b530748badfc [2020-05-13T15:38:17.511Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-13T15:38:17.511Z] ---> Running in 1477efa0d7fe [2020-05-13T15:38:18.474Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-13T15:38:19.057Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-13T15:38:20.018Z] OK: 125 MiB in 39 packages [2020-05-13T15:38:20.983Z] Removing intermediate container 1477efa0d7fe [2020-05-13T15:38:20.983Z] ---> 29d61f186879 [2020-05-13T15:38:20.983Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-05-13T15:38:20.983Z] ---> Running in 15139667bde0 [2020-05-13T15:38:21.250Z] Removing intermediate container 15139667bde0 [2020-05-13T15:38:21.251Z] ---> ec0a10c22bd5 [2020-05-13T15:38:21.251Z] Step 9/24 : COPY go.mod . [2020-05-13T15:38:21.837Z] ---> 686b60add780 [2020-05-13T15:38:21.837Z] Step 10/24 : COPY Makefile . [2020-05-13T15:38:22.426Z] ---> e48fcbc62d2a [2020-05-13T15:38:22.426Z] Step 11/24 : RUN make update [2020-05-13T15:38:22.426Z] ---> Running in 021ca60fb97d [2020-05-13T15:38:23.389Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-05-13T15:38:24.801Z] Removing intermediate container 021ca60fb97d [2020-05-13T15:38:24.801Z] ---> 3299832f2e87 [2020-05-13T15:38:24.801Z] Step 12/24 : COPY . . [2020-05-13T15:38:25.764Z] ---> f23743586179 [2020-05-13T15:38:25.764Z] Step 13/24 : RUN $MAKE [2020-05-13T15:38:25.764Z] ---> Running in 3941d2d14876 [2020-05-13T15:38:26.730Z] 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 [2020-05-13T15:38:53.458Z] Removing intermediate container 3941d2d14876 [2020-05-13T15:38:53.458Z] ---> 95e902ed4513 [2020-05-13T15:38:53.458Z] Step 14/24 : FROM alpine:latest [2020-05-13T15:38:53.458Z] latest: Pulling from library/alpine [2020-05-13T15:38:53.458Z] 29e5d40040c1: Pulling fs layer [2020-05-13T15:38:54.043Z] 29e5d40040c1: Verifying Checksum [2020-05-13T15:38:54.043Z] 29e5d40040c1: Download complete [2020-05-13T15:38:54.317Z] 29e5d40040c1: Pull complete [2020-05-13T15:38:54.317Z] Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 [2020-05-13T15:38:54.317Z] Status: Downloaded newer image for alpine:latest [2020-05-13T15:38:54.317Z] ---> c20d2a9ab686 [2020-05-13T15:38:54.317Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-13T15:38:54.584Z] ---> Running in 5047b3672005 [2020-05-13T15:38:54.851Z] Removing intermediate container 5047b3672005 [2020-05-13T15:38:54.851Z] ---> 6906aac4a4a8 [2020-05-13T15:38:54.851Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-05-13T15:38:55.118Z] ---> Running in 966f58375be0 [2020-05-13T15:38:55.387Z] Removing intermediate container 966f58375be0 [2020-05-13T15:38:55.387Z] ---> 219df060cac6 [2020-05-13T15:38:55.387Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-05-13T15:38:55.969Z] ---> c7650e17d9de [2020-05-13T15:38:55.969Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-05-13T15:38:56.555Z] ---> fc9f0a00734b [2020-05-13T15:38:56.555Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-05-13T15:38:57.963Z] ---> 5a8a0cde2d5d [2020-05-13T15:38:57.963Z] Step 20/24 : EXPOSE 49986 [2020-05-13T15:38:57.963Z] ---> Running in 6cc03b2c19cf [2020-05-13T15:38:58.231Z] Removing intermediate container 6cc03b2c19cf [2020-05-13T15:38:58.231Z] ---> 00b744484182 [2020-05-13T15:38:58.231Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-05-13T15:38:58.231Z] ---> Running in e8ccff8a4991 [2020-05-13T15:38:58.815Z] Removing intermediate container e8ccff8a4991 [2020-05-13T15:38:58.815Z] ---> e49ddbdc0100 [2020-05-13T15:38:58.815Z] Step 22/24 : LABEL arch=arm64 [2020-05-13T15:38:58.815Z] ---> Running in 959ad5147ed3 [2020-05-13T15:38:59.083Z] Removing intermediate container 959ad5147ed3 [2020-05-13T15:38:59.083Z] ---> 4382ea67c274 [2020-05-13T15:38:59.083Z] Step 23/24 : LABEL git_sha=87c93f1de22533bd713921f82bd651d5241b5b01 [2020-05-13T15:38:59.350Z] ---> Running in 2159e1baac84 [2020-05-13T15:38:59.618Z] Removing intermediate container 2159e1baac84 [2020-05-13T15:38:59.618Z] ---> d35d8a126cb7 [2020-05-13T15:38:59.618Z] Step 24/24 : LABEL version=0.0.0 [2020-05-13T15:38:59.618Z] ---> Running in 7ccde799c079 [2020-05-13T15:39:00.201Z] Removing intermediate container 7ccde799c079 [2020-05-13T15:39:00.201Z] ---> ee5d8f0a9d2d [2020-05-13T15:39:00.201Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-13T15:39:00.201Z] Successfully built ee5d8f0a9d2d [2020-05-13T15:39:00.201Z] 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 [2020-05-13T15:39:01.774Z] provisioning config files... [2020-05-13T15:39:01.798Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config3673219210936137300tmp [Pipeline] { [Pipeline] sh [2020-05-13T15:39:02.215Z] + curl -s https://codecov.io/bash [2020-05-13T15:39:02.215Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config3673219210936137300tmp [2020-05-13T15:39:02.475Z] [2020-05-13T15:39:02.475Z] _____ _ [2020-05-13T15:39:02.475Z] / ____| | | [2020-05-13T15:39:02.475Z] | | ___ __| | ___ ___ _____ __ [2020-05-13T15:39:02.475Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-05-13T15:39:02.475Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-05-13T15:39:02.475Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-05-13T15:39:02.475Z] Bash-tbd [2020-05-13T15:39:02.475Z] [2020-05-13T15:39:02.475Z] [2020-05-13T15:39:02.475Z] ==> Jenkins CI detected. [2020-05-13T15:39:02.475Z] project root: . [2020-05-13T15:39:02.475Z] Fixing merge commit SHA [2020-05-13T15:39:02.475Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-05-13T15:39:02.475Z] ==> Running gcov in . (disable via -X gcov) [2020-05-13T15:39:02.475Z] ==> Python coveragepy not found [2020-05-13T15:39:02.475Z] ==> Searching for coverage reports in: [2020-05-13T15:39:02.475Z] + . [2020-05-13T15:39:02.475Z] -> Found 1 reports [2020-05-13T15:39:02.475Z] ==> Detecting git/mercurial file structure [2020-05-13T15:39:02.475Z] ==> Reading reports [2020-05-13T15:39:02.475Z] + ./coverage.out bytes=9369 [2020-05-13T15:39:02.475Z] ==> Appending adjustments [2020-05-13T15:39:02.475Z] http://docs.codecov.io/docs/fixing-reports [2020-05-13T15:39:02.475Z] + Found adjustments [2020-05-13T15:39:02.475Z] ==> Gzipping contents [2020-05-13T15:39:02.475Z] ==> Uploading reports [2020-05-13T15:39:02.475Z] url: https://codecov.io [2020-05-13T15:39:02.475Z] 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= [2020-05-13T15:39:02.475Z] -> Pinging Codecov [2020-05-13T15:39:02.475Z] 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= [2020-05-13T15:39:03.043Z] -> Uploading [2020-05-13T15:39:03.611Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2ca6a6137050167f4ab56441aff9642385515f05 [Pipeline] } [2020-05-13T15:39:03.618Z] 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 [2020-05-13T15:39:05.163Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-13T15:39:05.461Z] ---> package-listing.sh [2020-05-13T15:39:05.461Z] ++ facter osfamily [2020-05-13T15:39:05.461Z] ++ tr '[:upper:]' '[:lower:]' [2020-05-13T15:39:05.461Z] + OS_FAMILY=redhat [2020-05-13T15:39:05.461Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-20 [2020-05-13T15:39:05.461Z] + START_PACKAGES=/tmp/packages_start.txt [2020-05-13T15:39:05.461Z] + END_PACKAGES=/tmp/packages_end.txt [2020-05-13T15:39:05.461Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-05-13T15:39:05.461Z] + PACKAGES=/tmp/packages_start.txt [2020-05-13T15:39:05.461Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' [2020-05-13T15:39:05.461Z] + PACKAGES=/tmp/packages_end.txt [2020-05-13T15:39:05.461Z] + case "${OS_FAMILY}" in [2020-05-13T15:39:05.461Z] + rpm -qa [2020-05-13T15:39:05.461Z] + sort [2020-05-13T15:39:09.655Z] + '[' -f /tmp/packages_start.txt ']' [2020-05-13T15:39:09.655Z] + '[' -f /tmp/packages_end.txt ']' [2020-05-13T15:39:09.655Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-05-13T15:39:09.655Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' [2020-05-13T15:39:09.655Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-20/archives/ [2020-05-13T15:39:09.655Z] + 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 [2020-05-13T15:39:10.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-13T15:39:10.129Z] [2020-05-13T15:39:10.129Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-05-13T15:39:10.519Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-13T15:39:10.519Z] alpine: Pulling from edgex-lftools-log-publisher [2020-05-13T15:39:10.519Z] c9b1b535fdd9: Pulling fs layer [2020-05-13T15:39:10.519Z] 2cc5ad85d9ab: Pulling fs layer [2020-05-13T15:39:10.519Z] 756a868c4378: Pulling fs layer [2020-05-13T15:39:10.519Z] 444b2fc9a129: Pulling fs layer [2020-05-13T15:39:10.519Z] ea15f1150254: Pulling fs layer [2020-05-13T15:39:10.519Z] 41b27a9f41bf: Pulling fs layer [2020-05-13T15:39:10.519Z] 28c525ee5125: Pulling fs layer [2020-05-13T15:39:10.519Z] 094b1ea09ed8: Pulling fs layer [2020-05-13T15:39:10.519Z] 138eaada9080: Pulling fs layer [2020-05-13T15:39:10.519Z] 0622d0fa9048: Pulling fs layer [2020-05-13T15:39:10.519Z] 444b2fc9a129: Waiting [2020-05-13T15:39:10.519Z] 28c525ee5125: Waiting [2020-05-13T15:39:10.519Z] 094b1ea09ed8: Waiting [2020-05-13T15:39:10.519Z] 138eaada9080: Waiting [2020-05-13T15:39:10.519Z] 0622d0fa9048: Waiting [2020-05-13T15:39:10.519Z] 41b27a9f41bf: Waiting [2020-05-13T15:39:10.519Z] ea15f1150254: Waiting [2020-05-13T15:39:10.519Z] 2cc5ad85d9ab: Verifying Checksum [2020-05-13T15:39:10.519Z] 2cc5ad85d9ab: Download complete [2020-05-13T15:39:10.519Z] 444b2fc9a129: Verifying Checksum [2020-05-13T15:39:10.519Z] 444b2fc9a129: Download complete [2020-05-13T15:39:10.786Z] c9b1b535fdd9: Download complete [2020-05-13T15:39:10.786Z] ea15f1150254: Verifying Checksum [2020-05-13T15:39:10.786Z] ea15f1150254: Download complete [2020-05-13T15:39:10.786Z] 28c525ee5125: Verifying Checksum [2020-05-13T15:39:10.786Z] 28c525ee5125: Download complete [2020-05-13T15:39:11.054Z] 756a868c4378: Verifying Checksum [2020-05-13T15:39:11.054Z] 756a868c4378: Download complete [2020-05-13T15:39:11.054Z] c9b1b535fdd9: Pull complete [2020-05-13T15:39:11.321Z] 138eaada9080: Verifying Checksum [2020-05-13T15:39:11.321Z] 138eaada9080: Download complete [2020-05-13T15:39:11.321Z] 2cc5ad85d9ab: Pull complete [2020-05-13T15:39:11.321Z] 0622d0fa9048: Verifying Checksum [2020-05-13T15:39:11.321Z] 0622d0fa9048: Download complete [2020-05-13T15:39:11.321Z] 094b1ea09ed8: Verifying Checksum [2020-05-13T15:39:11.321Z] 094b1ea09ed8: Download complete [2020-05-13T15:39:11.897Z] 41b27a9f41bf: Verifying Checksum [2020-05-13T15:39:11.897Z] 41b27a9f41bf: Download complete [2020-05-13T15:39:12.846Z] 756a868c4378: Pull complete [2020-05-13T15:39:12.846Z] 444b2fc9a129: Pull complete [2020-05-13T15:39:13.106Z] ea15f1150254: Pull complete [2020-05-13T15:39:16.402Z] 41b27a9f41bf: Pull complete [2020-05-13T15:39:16.402Z] 28c525ee5125: Pull complete [2020-05-13T15:39:18.318Z] 094b1ea09ed8: Pull complete [2020-05-13T15:39:18.579Z] 138eaada9080: Pull complete [2020-05-13T15:39:18.838Z] 0622d0fa9048: Pull complete [2020-05-13T15:39:18.838Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-05-13T15:39:18.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-05-13T15:39:19.018Z] prd-centos7-docker-4c-2g-8267 does not seem to be running inside a container [2020-05-13T15:39:19.060Z] $ 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 [2020-05-13T15:39:19.681Z] $ docker top 94a25b40832f663a953305b4a6eb559fbc7eeba1988f393ec6f27f9c78dec146 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-05-13T15:39:19.923Z] provisioning config files... [2020-05-13T15:39:19.939Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config4225529539035002448tmp [Pipeline] { [Pipeline] echo [2020-05-13T15:39:20.073Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-13T15:39:20.381Z] ---> create-netrc.sh [Pipeline] echo [2020-05-13T15:39:20.389Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-13T15:39:20.681Z] ---> logs-deploy.sh [2020-05-13T15:39:20.681Z] + ARCHIVE_ARTIFACTS= [2020-05-13T15:39:20.681Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-05-13T15:39:20.681Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-05-13T15:39:20.681Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-05-13T15:39:20.681Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/7 [2020-05-13T15:39:20.681Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/7/ [2020-05-13T15:39:20.681Z] + 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 [2020-05-13T15:39:22.059Z] Archives upload complete. [2020-05-13T15:39:22.059Z] + 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/