Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 32a9f9d1ae90d66de0c666aabab5e708cedc88ca+2ca6a6137050167f4ab56441aff9642385515f05 (d664cc1bc3d080458b0d326b0d05b345475adde2) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-8020 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-20 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit 32a9f9d1ae90d66de0c666aabab5e708cedc88ca Merge succeeded, producing 749454f6c98d9d3fb5ca93a296d975e602c34c37 Checking out Revision 749454f6c98d9d3fb5ca93a296d975e602c34c37 (PR-20) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 749454f6c98d9d3fb5ca93a296d975e602c34c37 # timeout=10 Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" > git rev-list --no-walk 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-05-12T15:07:26.725Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-05-12T15:07:27.104Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-05-12T15:07:27.295Z] ========================================================= [2020-05-12T15:07:27.295Z] EdgeX Global Pipelines Version Info [2020-05-12T15:07:27.295Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-05-12T15:07:28.795Z] ------------------- [2020-05-12T15:07:28.795Z] stable info: [2020-05-12T15:07:28.795Z] ------------------- [2020-05-12T15:07:28.795Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-05-12T15:07:28.795Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-12T15:07:28.795Z] Message: update stable to v1.0.87 [2020-05-12T15:07:29.362Z] ------------------- [2020-05-12T15:07:29.362Z] experimental info: [2020-05-12T15:07:29.362Z] ------------------- [2020-05-12T15:07:29.362Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-05-12T15:07:29.362Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-05-12T15:07:29.362Z] 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-12T15:07:32.783Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-12T15:07:32.783Z] [2020-05-12T15:07:32.783Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-05-12T15:07:33.234Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-12T15:07:33.234Z] latest: Pulling from edgex-devops/git-semver [2020-05-12T15:07:33.234Z] 9123ac7c32f7: Pulling fs layer [2020-05-12T15:07:33.234Z] b8cc5d1170e3: Pulling fs layer [2020-05-12T15:07:33.234Z] 2924cbbf6a41: Pulling fs layer [2020-05-12T15:07:33.234Z] 93b08a4f1073: Pulling fs layer [2020-05-12T15:07:33.234Z] 93b08a4f1073: Waiting [2020-05-12T15:07:33.234Z] b8cc5d1170e3: Verifying Checksum [2020-05-12T15:07:33.234Z] b8cc5d1170e3: Download complete [2020-05-12T15:07:33.497Z] 9123ac7c32f7: Verifying Checksum [2020-05-12T15:07:33.497Z] 9123ac7c32f7: Download complete [2020-05-12T15:07:33.497Z] 93b08a4f1073: Verifying Checksum [2020-05-12T15:07:33.497Z] 93b08a4f1073: Download complete [2020-05-12T15:07:33.497Z] 2924cbbf6a41: Verifying Checksum [2020-05-12T15:07:33.497Z] 2924cbbf6a41: Download complete [2020-05-12T15:07:33.760Z] 9123ac7c32f7: Pull complete [2020-05-12T15:07:33.760Z] b8cc5d1170e3: Pull complete [2020-05-12T15:07:34.699Z] 2924cbbf6a41: Pull complete [2020-05-12T15:07:34.699Z] 93b08a4f1073: Pull complete [2020-05-12T15:07:34.699Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-05-12T15:07:34.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-05-12T15:07:34.833Z] prd-centos7-docker-4c-2g-8020 does not seem to be running inside a container [2020-05-12T15:07:34.885Z] $ 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-12T15:07:35.513Z] $ docker top 8939ddb1c2a1fe906c940754a0f4b238492372d0e301a65967d6566dfb0f1e90 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-12T15:07:35.856Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-12T15:07:35.856Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-12T15:07:36.112Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-12T15:07:36.115Z] $ docker exec 8939ddb1c2a1fe906c940754a0f4b238492372d0e301a65967d6566dfb0f1e90 ssh-agent [2020-05-12T15:07:36.304Z] SSH_AUTH_SOCK=/tmp/ssh-X23jRJDQHMBm/agent.15 [2020-05-12T15:07:36.304Z] SSH_AGENT_PID=22 [2020-05-12T15:07:36.314Z] Running ssh-add (command line suppressed) [2020-05-12T15:07:36.464Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_1041014467985480577.key (/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_1041014467985480577.key) [2020-05-12T15:07:36.522Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-12T15:07:36.858Z] + git describe --exact-match --tags HEAD [2020-05-12T15:07:36.858Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-05-12T15:07:36.912Z] $ docker exec --env ******** --env ******** 8939ddb1c2a1fe906c940754a0f4b238492372d0e301a65967d6566dfb0f1e90 ssh-agent -k [2020-05-12T15:07:37.062Z] unset SSH_AUTH_SOCK; [2020-05-12T15:07:37.063Z] unset SSH_AGENT_PID; [2020-05-12T15:07:37.063Z] echo Agent pid 22 killed; [2020-05-12T15:07:37.100Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-05-12T15:07:37.180Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-05-12T15:07:37.180Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-05-12T15:07:37.308Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-12T15:07:37.308Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-12T15:07:37.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-12T15:07:37.503Z] $ docker exec 8939ddb1c2a1fe906c940754a0f4b238492372d0e301a65967d6566dfb0f1e90 ssh-agent [2020-05-12T15:07:37.716Z] SSH_AUTH_SOCK=/tmp/ssh-o2Wuhl0X4HZc/agent.58 [2020-05-12T15:07:37.716Z] SSH_AGENT_PID=65 [2020-05-12T15:07:37.723Z] Running ssh-add (command line suppressed) [2020-05-12T15:07:37.868Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_8058133274231747780.key (/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_8058133274231747780.key) [2020-05-12T15:07:37.925Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-12T15:07:38.247Z] + git semver init [2020-05-12T15:07:38.247Z] # -> Open(): unable to determine branch for HEAD [2020-05-12T15:07:38.247Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.git [2020-05-12T15:07:38.247Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-20 [2020-05-12T15:07:38.247Z] # $SEMVER_REMOTE_NAME = origin [2020-05-12T15:07:38.247Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-12T15:07:38.247Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-12T15:07:38.247Z] # $SEMVER_BRANCH = PR-20 [2020-05-12T15:07:38.247Z] # $SEMVER_TEMP = /tmp/semver-818254257 [2020-05-12T15:07:38.247Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-05-12T15:07:39.627Z] # '/tmp/semver-818254257' -> '/w/workspace/dgexfoundry_device-rest-go_PR-20/.semver' [2020-05-12T15:07:39.627Z] # -> Force: false [2020-05-12T15:07:39.627Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.semver [Pipeline] } [2020-05-12T15:07:39.634Z] $ docker exec --env ******** --env ******** 8939ddb1c2a1fe906c940754a0f4b238492372d0e301a65967d6566dfb0f1e90 ssh-agent -k [2020-05-12T15:07:39.768Z] unset SSH_AUTH_SOCK; [2020-05-12T15:07:39.768Z] unset SSH_AGENT_PID; [2020-05-12T15:07:39.768Z] echo Agent pid 65 killed; [2020-05-12T15:07:39.814Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-12T15:07:40.254Z] + git semver [Pipeline] } [2020-05-12T15:07:40.267Z] $ docker stop --time=1 8939ddb1c2a1fe906c940754a0f4b238492372d0e301a65967d6566dfb0f1e90 [2020-05-12T15:07:41.853Z] $ docker rm -f 8939ddb1c2a1fe906c940754a0f4b238492372d0e301a65967d6566dfb0f1e90 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-05-12T15:07:43.558Z] Stashed 19 file(s) [Pipeline] echo [2020-05-12T15:07:43.560Z] [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-12T15:07:58.887Z] Still waiting to schedule task [2020-05-12T15:07:58.887Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-8020’ [2020-05-12T15:07:58.888Z] Still waiting to schedule task [2020-05-12T15:07:58.888Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-05-12T15:09:46.146Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8021 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws [2020-05-12T15:09:46.217Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2020-05-12T15:09:52.148Z] using credential edgex-jenkins-ssh [2020-05-12T15:09:52.208Z] Cloning the remote Git repository [2020-05-12T15:09:52.208Z] Cloning with configured refspecs honoured and without tags [2020-05-12T15:09:52.283Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-05-12T15:09:52.385Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2020-05-12T15:09:52.487Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-12T15:09:52.488Z] > git --version # timeout=10 [2020-05-12T15:09:52.511Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T15:09:52.569Z] > 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-12T15:09:54.140Z] Fetching without tags [2020-05-12T15:09:54.033Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-12T15:09:54.056Z] > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 [2020-05-12T15:09:54.075Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T15:09:54.098Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-12T15:09:54.152Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-12T15:09:54.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T15:09:54.176Z] > 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-12T15:09:54.650Z] Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit 32a9f9d1ae90d66de0c666aabab5e708cedc88ca [2020-05-12T15:09:54.897Z] Merge succeeded, producing ce246ba8b898d72dfe138eff968a015d792df557 [2020-05-12T15:09:54.898Z] Checking out Revision ce246ba8b898d72dfe138eff968a015d792df557 (PR-20) [2020-05-12T15:09:54.669Z] > git config core.sparsecheckout # timeout=10 [2020-05-12T15:09:54.710Z] > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 [2020-05-12T15:09:54.784Z] > git remote # timeout=10 [2020-05-12T15:09:54.803Z] > git config --get remote.origin.url # timeout=10 [2020-05-12T15:09:54.825Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T15:09:54.836Z] > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 [2020-05-12T15:09:54.878Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-05-12T15:09:54.902Z] > git config core.sparsecheckout # timeout=10 [2020-05-12T15:09:54.917Z] > git checkout -f ce246ba8b898d72dfe138eff968a015d792df557 # timeout=10 [2020-05-12T15:09:59.257Z] Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" [2020-05-12T15:09:59.263Z] > git rev-list --no-walk 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-12T15:10:01.409Z] ========================================================= [2020-05-12T15:10:01.409Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-05-12T15:10:01.409Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-12T15:10:02.408Z] + 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-12T15:10:03.379Z] Sending build context to Docker daemon 8.017MB [2020-05-12T15:10:03.379Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-05-12T15:10:03.379Z] Step 2/10 : FROM ${BASE} [2020-05-12T15:10:03.651Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-05-12T15:10:03.651Z] cde5963f3b93: Pulling fs layer [2020-05-12T15:10:03.651Z] 2a23fa8c16f7: Pulling fs layer [2020-05-12T15:10:03.651Z] 777b28850792: Pulling fs layer [2020-05-12T15:10:03.651Z] 8a11ddd9e578: Pulling fs layer [2020-05-12T15:10:03.651Z] 4cf88f913ddb: Pulling fs layer [2020-05-12T15:10:03.651Z] 1df406cf5192: Pulling fs layer [2020-05-12T15:10:03.651Z] cd6300453558: Pulling fs layer [2020-05-12T15:10:03.651Z] b9c365052c96: Pulling fs layer [2020-05-12T15:10:03.651Z] a2d8cc88f415: Pulling fs layer [2020-05-12T15:10:03.651Z] 8a11ddd9e578: Waiting [2020-05-12T15:10:03.651Z] 4cf88f913ddb: Waiting [2020-05-12T15:10:03.651Z] 1df406cf5192: Waiting [2020-05-12T15:10:03.651Z] cd6300453558: Waiting [2020-05-12T15:10:03.651Z] b9c365052c96: Waiting [2020-05-12T15:10:03.651Z] ea1d1ca13537: Pulling fs layer [2020-05-12T15:10:03.651Z] a2d8cc88f415: Waiting [2020-05-12T15:10:03.651Z] 3750a50a1c5e: Pulling fs layer [2020-05-12T15:10:03.651Z] ea1d1ca13537: Waiting [2020-05-12T15:10:03.651Z] 777b28850792: Verifying Checksum [2020-05-12T15:10:03.651Z] 777b28850792: Download complete [2020-05-12T15:10:03.652Z] 2a23fa8c16f7: Download complete [2020-05-12T15:10:03.652Z] 4cf88f913ddb: Verifying Checksum [2020-05-12T15:10:03.652Z] 4cf88f913ddb: Download complete [2020-05-12T15:10:03.652Z] 1df406cf5192: Verifying Checksum [2020-05-12T15:10:03.652Z] 1df406cf5192: Download complete [2020-05-12T15:10:03.924Z] cde5963f3b93: Verifying Checksum [2020-05-12T15:10:04.887Z] cde5963f3b93: Pull complete [2020-05-12T15:10:05.157Z] 2a23fa8c16f7: Pull complete [2020-05-12T15:10:05.430Z] 777b28850792: Pull complete [2020-05-12T15:10:08.026Z] cd6300453558: Verifying Checksum [2020-05-12T15:10:08.026Z] cd6300453558: Download complete [2020-05-12T15:10:08.026Z] a2d8cc88f415: Verifying Checksum [2020-05-12T15:10:08.026Z] a2d8cc88f415: Download complete [2020-05-12T15:10:10.627Z] ea1d1ca13537: Verifying Checksum [2020-05-12T15:10:10.627Z] ea1d1ca13537: Download complete [2020-05-12T15:10:10.627Z] 3750a50a1c5e: Verifying Checksum [2020-05-12T15:10:10.627Z] 3750a50a1c5e: Download complete [2020-05-12T15:10:13.235Z] b9c365052c96: Verifying Checksum [2020-05-12T15:10:13.235Z] b9c365052c96: Download complete [2020-05-12T15:10:15.183Z] 8a11ddd9e578: Verifying Checksum [2020-05-12T15:10:15.183Z] 8a11ddd9e578: Download complete [2020-05-12T15:10:15.949Z] Running on prd-centos7-docker-4c-2g-8022 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws [2020-05-12T15:10:16.023Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2020-05-12T15:10:18.378Z] using credential edgex-jenkins-ssh [2020-05-12T15:10:18.438Z] Cloning the remote Git repository [2020-05-12T15:10:18.438Z] Cloning with configured refspecs honoured and without tags [2020-05-12T15:10:17.807Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-05-12T15:10:17.844Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2020-05-12T15:10:17.893Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-12T15:10:17.893Z] > git --version # timeout=10 [2020-05-12T15:10:17.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T15:10:17.927Z] > 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-12T15:10:19.651Z] Fetching without tags [2020-05-12T15:10:20.057Z] Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit 32a9f9d1ae90d66de0c666aabab5e708cedc88ca [2020-05-12T15:10:20.139Z] Merge succeeded, producing be665892cabec6b08a14454a204fdb846920fbdc [2020-05-12T15:10:20.139Z] Checking out Revision be665892cabec6b08a14454a204fdb846920fbdc (PR-20) [2020-05-12T15:10:19.068Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-12T15:10:19.073Z] > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 [2020-05-12T15:10:19.079Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T15:10:19.090Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-12T15:10:19.102Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-12T15:10:19.102Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T15:10:19.106Z] > 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-12T15:10:19.545Z] > git config core.sparsecheckout # timeout=10 [2020-05-12T15:10:19.550Z] > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 [2020-05-12T15:10:19.585Z] > git remote # timeout=10 [2020-05-12T15:10:19.592Z] > git config --get remote.origin.url # timeout=10 [2020-05-12T15:10:19.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T15:10:19.603Z] > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 [2020-05-12T15:10:19.619Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-05-12T15:10:19.628Z] > git config core.sparsecheckout # timeout=10 [2020-05-12T15:10:19.634Z] > git checkout -f be665892cabec6b08a14454a204fdb846920fbdc # timeout=10 [2020-05-12T15:10:24.564Z] Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" [2020-05-12T15:10:24.423Z] > git rev-list --no-walk 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-12T15:10:25.630Z] ========================================================= [2020-05-12T15:10:25.631Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-05-12T15:10:25.631Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-12T15:10:26.299Z] + 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-12T15:10:26.563Z] Sending build context to Docker daemon 8.017MB [2020-05-12T15:10:26.563Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-05-12T15:10:26.563Z] Step 2/10 : FROM ${BASE} [2020-05-12T15:10:26.563Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-05-12T15:10:26.563Z] e6b0cf9c0882: Pulling fs layer [2020-05-12T15:10:26.563Z] 2848faf0eed1: Pulling fs layer [2020-05-12T15:10:26.563Z] 0f37312ad70f: Pulling fs layer [2020-05-12T15:10:26.563Z] 5788d62ee057: Pulling fs layer [2020-05-12T15:10:26.563Z] 0e6b1d234666: Pulling fs layer [2020-05-12T15:10:26.563Z] bf5d7aec512f: Pulling fs layer [2020-05-12T15:10:26.563Z] 34c802a77dc8: Pulling fs layer [2020-05-12T15:10:26.563Z] 9eb99e56ec68: Pulling fs layer [2020-05-12T15:10:26.563Z] 27c7a5d97fbd: Pulling fs layer [2020-05-12T15:10:26.563Z] 5c102a31e300: Pulling fs layer [2020-05-12T15:10:26.563Z] dcfb455df0a1: Pulling fs layer [2020-05-12T15:10:26.563Z] 34c802a77dc8: Waiting [2020-05-12T15:10:26.563Z] 9eb99e56ec68: Waiting [2020-05-12T15:10:26.563Z] 27c7a5d97fbd: Waiting [2020-05-12T15:10:26.563Z] 5788d62ee057: Waiting [2020-05-12T15:10:26.563Z] 5c102a31e300: Waiting [2020-05-12T15:10:26.563Z] dcfb455df0a1: Waiting [2020-05-12T15:10:26.563Z] bf5d7aec512f: Waiting [2020-05-12T15:10:26.563Z] 0f37312ad70f: Download complete [2020-05-12T15:10:26.563Z] 2848faf0eed1: Verifying Checksum [2020-05-12T15:10:26.563Z] 2848faf0eed1: Download complete [2020-05-12T15:10:26.563Z] 0e6b1d234666: Verifying Checksum [2020-05-12T15:10:26.563Z] 0e6b1d234666: Download complete [2020-05-12T15:10:26.563Z] bf5d7aec512f: Verifying Checksum [2020-05-12T15:10:26.563Z] bf5d7aec512f: Download complete [2020-05-12T15:10:26.563Z] e6b0cf9c0882: Verifying Checksum [2020-05-12T15:10:26.563Z] e6b0cf9c0882: Download complete [2020-05-12T15:10:26.833Z] e6b0cf9c0882: Pull complete [2020-05-12T15:10:27.104Z] 2848faf0eed1: Pull complete [2020-05-12T15:10:27.537Z] 8a11ddd9e578: Pull complete [2020-05-12T15:10:27.537Z] 4cf88f913ddb: Pull complete [2020-05-12T15:10:27.537Z] 1df406cf5192: Pull complete [2020-05-12T15:10:27.694Z] 34c802a77dc8: Verifying Checksum [2020-05-12T15:10:27.694Z] 34c802a77dc8: Download complete [2020-05-12T15:10:27.694Z] 27c7a5d97fbd: Verifying Checksum [2020-05-12T15:10:27.694Z] 27c7a5d97fbd: Download complete [2020-05-12T15:10:27.960Z] 5c102a31e300: Verifying Checksum [2020-05-12T15:10:27.960Z] 5c102a31e300: Download complete [2020-05-12T15:10:28.220Z] 9eb99e56ec68: Verifying Checksum [2020-05-12T15:10:28.220Z] 9eb99e56ec68: Download complete [2020-05-12T15:10:28.220Z] dcfb455df0a1: Verifying Checksum [2020-05-12T15:10:28.220Z] dcfb455df0a1: Download complete [2020-05-12T15:10:28.479Z] 5788d62ee057: Verifying Checksum [2020-05-12T15:10:28.479Z] 5788d62ee057: Download complete [2020-05-12T15:10:29.046Z] 0f37312ad70f: Pull complete [2020-05-12T15:10:31.806Z] cd6300453558: Pull complete [2020-05-12T15:10:34.329Z] 5788d62ee057: Pull complete [2020-05-12T15:10:34.329Z] 0e6b1d234666: Pull complete [2020-05-12T15:10:34.329Z] bf5d7aec512f: Pull complete [2020-05-12T15:10:37.175Z] b9c365052c96: Pull complete [2020-05-12T15:10:37.175Z] a2d8cc88f415: Pull complete [2020-05-12T15:10:39.137Z] ea1d1ca13537: Pull complete [2020-05-12T15:10:39.725Z] 3750a50a1c5e: Pull complete [2020-05-12T15:10:39.725Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-05-12T15:10:39.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-05-12T15:10:39.725Z] ---> 78745c68409d [2020-05-12T15:10:39.725Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-05-12T15:10:42.450Z] 34c802a77dc8: Pull complete [2020-05-12T15:10:43.992Z] ---> Running in c95baad1ad39 [2020-05-12T15:10:43.992Z] Removing intermediate container c95baad1ad39 [2020-05-12T15:10:43.992Z] ---> 7feec75c30aa [2020-05-12T15:10:43.992Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-05-12T15:10:43.992Z] ---> Running in 53924917b61c [2020-05-12T15:10:44.580Z] Removing intermediate container 53924917b61c [2020-05-12T15:10:44.580Z] ---> 2b3b55389c65 [2020-05-12T15:10:44.580Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-12T15:10:44.580Z] ---> Running in 2a9399e63de8 [2020-05-12T15:10:44.849Z] Removing intermediate container 2a9399e63de8 [2020-05-12T15:10:44.849Z] ---> 4d2e2cf3e17f [2020-05-12T15:10:44.849Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-12T15:10:45.007Z] 9eb99e56ec68: Pull complete [2020-05-12T15:10:45.007Z] 27c7a5d97fbd: Pull complete [2020-05-12T15:10:45.116Z] ---> Running in 6dd62a4d28b6 [2020-05-12T15:10:45.272Z] 5c102a31e300: Pull complete [2020-05-12T15:10:45.535Z] dcfb455df0a1: Pull complete [2020-05-12T15:10:45.535Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-05-12T15:10:45.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-05-12T15:10:45.535Z] ---> 7c70fe431013 [2020-05-12T15:10:45.535Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-05-12T15:10:45.535Z] ---> Running in b6430843c9ba [2020-05-12T15:10:45.794Z] Removing intermediate container b6430843c9ba [2020-05-12T15:10:45.794Z] ---> 82db23eac43d [2020-05-12T15:10:45.794Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-05-12T15:10:45.794Z] ---> Running in 01da380a0afd [2020-05-12T15:10:46.053Z] Removing intermediate container 01da380a0afd [2020-05-12T15:10:46.053Z] ---> b954a93bf2ed [2020-05-12T15:10:46.053Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-12T15:10:46.053Z] ---> Running in ae74fc0c12a6 [2020-05-12T15:10:46.053Z] Removing intermediate container ae74fc0c12a6 [2020-05-12T15:10:46.053Z] ---> f028253833f2 [2020-05-12T15:10:46.053Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-12T15:10:46.053Z] ---> Running in ea23d5650e49 [2020-05-12T15:10:46.992Z] Removing intermediate container ea23d5650e49 [2020-05-12T15:10:46.992Z] ---> 1d7bee33c647 [2020-05-12T15:10:46.992Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-12T15:10:46.992Z] ---> Running in cb11e412beed [2020-05-12T15:10:47.071Z] Removing intermediate container 6dd62a4d28b6 [2020-05-12T15:10:47.071Z] ---> 01fbe568218f [2020-05-12T15:10:47.071Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-12T15:10:47.341Z] ---> Running in af0c9142353c [2020-05-12T15:10:47.561Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-12T15:10:48.309Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-12T15:10:48.498Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-12T15:10:48.498Z] OK: 143 MiB in 39 packages [2020-05-12T15:10:48.892Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-12T15:10:49.066Z] Removing intermediate container cb11e412beed [2020-05-12T15:10:49.066Z] ---> ee33c95dc835 [2020-05-12T15:10:49.066Z] Step 8/10 : WORKDIR /device-rest-go [2020-05-12T15:10:49.066Z] ---> Running in d44a40233546 [2020-05-12T15:10:49.066Z] Removing intermediate container d44a40233546 [2020-05-12T15:10:49.066Z] ---> 80e2ff100c27 [2020-05-12T15:10:49.066Z] Step 9/10 : COPY . . [2020-05-12T15:10:49.477Z] OK: 125 MiB in 39 packages [2020-05-12T15:10:49.636Z] ---> d336c9eddc82 [2020-05-12T15:10:49.636Z] Step 10/10 : RUN go mod download [2020-05-12T15:10:49.636Z] ---> Running in 4b56389d4c67 [2020-05-12T15:10:50.887Z] Removing intermediate container af0c9142353c [2020-05-12T15:10:50.888Z] ---> a6be8928e16b [2020-05-12T15:10:50.888Z] Step 8/10 : WORKDIR /device-rest-go [2020-05-12T15:10:50.888Z] ---> Running in 0006182e8b88 [2020-05-12T15:10:51.156Z] Removing intermediate container 0006182e8b88 [2020-05-12T15:10:51.156Z] ---> e92260394321 [2020-05-12T15:10:51.156Z] Step 9/10 : COPY . . [2020-05-12T15:10:52.119Z] ---> 5f2afe98326f [2020-05-12T15:10:52.119Z] Step 10/10 : RUN go mod download [2020-05-12T15:10:52.173Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-12T15:10:52.173Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-12T15:10:52.173Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-12T15:10:52.173Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-12T15:10:52.173Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-12T15:10:52.173Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-12T15:10:52.173Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-12T15:10:52.173Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-12T15:10:52.173Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 [2020-05-12T15:10:52.173Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-05-12T15:10:52.173Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-12T15:10:52.173Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-05-12T15:10:52.173Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-05-12T15:10:52.173Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-12T15:10:52.173Z] go: finding github.com/fatih/color v1.7.0 [2020-05-12T15:10:52.173Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-12T15:10:52.173Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-12T15:10:52.173Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-12T15:10:52.173Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-12T15:10:52.173Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-12T15:10:52.173Z] go: finding github.com/google/uuid v1.1.0 [2020-05-12T15:10:52.173Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-12T15:10:52.173Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-12T15:10:52.173Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-12T15:10:52.173Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-12T15:10:52.173Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-12T15:10:52.173Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-12T15:10:52.173Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-12T15:10:52.173Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-12T15:10:52.173Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-12T15:10:52.173Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-05-12T15:10:52.173Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-12T15:10:52.388Z] ---> Running in df806f245eb9 [2020-05-12T15:10:52.434Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-12T15:10:52.434Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-12T15:10:52.434Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-12T15:10:52.434Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-12T15:10:52.434Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-12T15:10:52.434Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-12T15:10:52.434Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-12T15:10:52.434Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-12T15:10:52.434Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-12T15:10:52.434Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-12T15:10:52.434Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-12T15:10:52.434Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-12T15:10:52.434Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-12T15:10:52.434Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-12T15:10:52.434Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-12T15:10:52.434Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-12T15:10:52.434Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-12T15:10:52.434Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-12T15:10:52.434Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-12T15:10:52.434Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-12T15:10:52.434Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-12T15:10:52.434Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-12T15:10:52.434Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-12T15:10:52.434Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-12T15:10:52.434Z] go: finding github.com/posener/complete v1.1.1 [2020-05-12T15:10:52.434Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-12T15:10:52.434Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-12T15:10:52.699Z] go: finding github.com/spf13/cast v1.3.0 [2020-05-12T15:10:52.699Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-12T15:10:52.699Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-12T15:10:52.699Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-12T15:10:52.699Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-12T15:10:52.699Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-12T15:10:52.699Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-12T15:10:52.699Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-12T15:10:52.699Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-12T15:10:52.699Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-12T15:10:52.958Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-12T15:10:54.341Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-12T15:10:54.606Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-12T15:10:54.606Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-12T15:10:54.606Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-12T15:10:54.606Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-12T15:10:54.606Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-12T15:10:54.606Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-12T15:10:54.606Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-12T15:10:54.606Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 [2020-05-12T15:10:54.606Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-05-12T15:10:54.871Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-12T15:10:54.871Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-05-12T15:10:54.871Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-05-12T15:10:54.871Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-12T15:10:54.871Z] go: finding github.com/fatih/color v1.7.0 [2020-05-12T15:10:54.871Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-12T15:10:54.871Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-12T15:10:54.871Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-12T15:10:54.872Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-12T15:10:54.872Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-12T15:10:55.138Z] go: finding github.com/google/uuid v1.1.0 [2020-05-12T15:10:55.138Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-12T15:10:55.138Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-12T15:10:55.138Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-12T15:10:55.138Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-12T15:10:55.138Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-12T15:10:55.138Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-12T15:10:55.138Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-12T15:10:55.138Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-12T15:10:55.138Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-12T15:10:55.405Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-05-12T15:10:55.405Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-12T15:10:55.405Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-12T15:10:55.405Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-12T15:10:55.405Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-12T15:10:55.405Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-12T15:10:55.671Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-12T15:10:55.671Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-12T15:10:55.671Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-12T15:10:55.671Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-12T15:10:55.671Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-12T15:10:55.671Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-12T15:10:55.671Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-12T15:10:55.671Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-12T15:10:55.671Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-12T15:10:55.938Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-12T15:10:55.938Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-12T15:10:55.938Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-12T15:10:55.938Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-12T15:10:55.938Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-12T15:10:55.938Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-12T15:10:55.938Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-12T15:10:55.938Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-12T15:10:56.206Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-12T15:10:56.206Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-12T15:10:56.206Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-12T15:10:56.206Z] go: finding github.com/posener/complete v1.1.1 [2020-05-12T15:10:56.206Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-12T15:10:56.206Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-12T15:10:56.206Z] go: finding github.com/spf13/cast v1.3.0 [2020-05-12T15:10:56.206Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-12T15:10:56.206Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-12T15:10:56.206Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-12T15:10:56.206Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-12T15:10:56.206Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-12T15:10:56.474Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-12T15:10:56.474Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-12T15:10:56.474Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-12T15:10:56.474Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-12T15:10:56.474Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-12T15:10:58.241Z] Removing intermediate container 4b56389d4c67 [2020-05-12T15:10:58.241Z] ---> 2db4059d599b [2020-05-12T15:10:58.241Z] Successfully built 2db4059d599b [2020-05-12T15:10:58.241Z] 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-12T15:10:58.813Z] + docker inspect -f . ci-base-image-x86_64 [2020-05-12T15:10:58.813Z] . [Pipeline] withDockerContainer [2020-05-12T15:10:59.224Z] prd-centos7-docker-4c-2g-8022 does not seem to be running inside a container [2020-05-12T15:10:59.354Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-05-12T15:11:00.176Z] $ docker top db4147094552a6907855ef50a1860bbe7aac961fc586464c10107e14cfa78893 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-12T15:11:00.681Z] + go version [2020-05-12T15:11:00.681Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-05-12T15:11:00.978Z] + make test [2020-05-12T15:11:00.978Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-12T15:11:01.550Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-05-12T15:11:06.575Z] Removing intermediate container df806f245eb9 [2020-05-12T15:11:06.575Z] ---> a53acd7f39d9 [2020-05-12T15:11:06.575Z] Successfully built a53acd7f39d9 [2020-05-12T15:11:06.575Z] 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-12T15:11:07.235Z] + docker inspect -f . ci-base-image-arm64 [2020-05-12T15:11:07.235Z] . [Pipeline] withDockerContainer [2020-05-12T15:11:07.859Z] prd-ubuntu18.04-docker-arm64-4c-16g-8021 does not seem to be running inside a container [2020-05-12T15:11:07.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-05-12T15:11:09.576Z] $ docker top 37d95f61a8fcf90aae01ec3a87b70ed27c30402a1b6ad7186e1679315c35df2d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-12T15:11:10.719Z] + go version [2020-05-12T15:11:10.720Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-05-12T15:11:11.385Z] + make test [2020-05-12T15:11:11.385Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-12T15:11:11.600Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-05-12T15:11:12.352Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-05-12T15:11:12.979Z] ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 56.3% of statements [2020-05-12T15:11:13.239Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-12T15:11:15.162Z] gofmt -l . [2020-05-12T15:11:15.162Z] [ "`gofmt -l .`" = "" ] [2020-05-12T15:11:15.162Z] ./bin/test-go-mod-tidy.sh [2020-05-12T15:11:15.423Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-05-12T15:11:15.936Z] Stashed 1 file(s) [Pipeline] } [2020-05-12T15:11:15.941Z] $ docker stop --time=1 db4147094552a6907855ef50a1860bbe7aac961fc586464c10107e14cfa78893 [2020-05-12T15:11:18.600Z] $ docker rm -f db4147094552a6907855ef50a1860bbe7aac961fc586464c10107e14cfa78893 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-12T15:11:19.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-12T15:11:20.220Z] + ls -al . [2020-05-12T15:11:20.221Z] total 96 [2020-05-12T15:11:20.221Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 12 15:11 . [2020-05-12T15:11:20.221Z] drwxrwxr-x. 4 jenkins jenkins 28 May 12 15:10 .. [2020-05-12T15:11:20.221Z] -rw-rw-r--. 1 jenkins jenkins 4802 May 12 15:10 Attribution.txt [2020-05-12T15:11:20.221Z] drwxrwxr-x. 2 jenkins jenkins 64 May 12 15:10 bin [2020-05-12T15:11:20.221Z] drwxrwxr-x. 3 jenkins jenkins 32 May 12 15:10 cmd [2020-05-12T15:11:20.221Z] -rw-r--r--. 1 jenkins jenkins 9369 May 12 15:11 coverage.out [2020-05-12T15:11:20.221Z] -rw-rw-r--. 1 jenkins jenkins 1504 May 12 15:10 Dockerfile [2020-05-12T15:11:20.221Z] -rw-rw-r--. 1 jenkins jenkins 989 May 12 15:10 Dockerfile.build [2020-05-12T15:11:20.221Z] -rw-rw-r--. 1 jenkins jenkins 151 May 12 15:10 .dockerignore [2020-05-12T15:11:20.221Z] drwxrwxr-x. 2 jenkins jenkins 93 May 12 15:11 driver [2020-05-12T15:11:20.221Z] drwxrwxr-x. 8 jenkins jenkins 179 May 12 15:10 .git [2020-05-12T15:11:20.221Z] -rw-rw-r--. 1 jenkins jenkins 339 May 12 15:10 .gitignore [2020-05-12T15:11:20.221Z] -rw-r--r--. 1 jenkins jenkins 266 May 12 15:11 go.mod [2020-05-12T15:11:20.221Z] -rw-r--r--. 1 jenkins jenkins 12430 May 12 15:11 go.sum [2020-05-12T15:11:20.221Z] -rw-rw-r--. 1 jenkins jenkins 702 May 12 15:10 Jenkinsfile [2020-05-12T15:11:20.221Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 12 15:10 LICENSE [2020-05-12T15:11:20.221Z] -rw-rw-r--. 1 jenkins jenkins 951 May 12 15:10 Makefile [2020-05-12T15:11:20.221Z] -rw-rw-r--. 1 jenkins jenkins 5716 May 12 15:10 README.md [2020-05-12T15:11:20.221Z] drwxrwxr-x. 3 jenkins jenkins 45 May 12 15:10 .semver [2020-05-12T15:11:20.221Z] -rw-rw-r--. 1 jenkins jenkins 5 May 12 15:07 VERSION [2020-05-12T15:11:20.221Z] -rw-rw-r--. 1 jenkins jenkins 713 May 12 15:10 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-12T15:11:20.521Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=749454f6c98d9d3fb5ca93a296d975e602c34c37 --label arch=amd64 --label version=0.0.0 . [2020-05-12T15:11:20.780Z] Sending build context to Docker daemon 8.029MB [2020-05-12T15:11:20.780Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-05-12T15:11:20.780Z] Step 2/24 : FROM ${BASE} AS builder [2020-05-12T15:11:20.780Z] ---> 2db4059d599b [2020-05-12T15:11:20.780Z] Step 3/24 : ARG MAKE='make build' [2020-05-12T15:11:20.780Z] ---> Running in 2948682b1bd4 [2020-05-12T15:11:20.780Z] Removing intermediate container 2948682b1bd4 [2020-05-12T15:11:20.780Z] ---> a262f29a6281 [2020-05-12T15:11:20.780Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-05-12T15:11:21.038Z] ---> Running in 34df225dfe4a [2020-05-12T15:11:21.038Z] Removing intermediate container 34df225dfe4a [2020-05-12T15:11:21.038Z] ---> 34601e5d2b6c [2020-05-12T15:11:21.038Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-05-12T15:11:21.038Z] ---> Running in a5951f73780d [2020-05-12T15:11:21.299Z] Removing intermediate container a5951f73780d [2020-05-12T15:11:21.299Z] ---> 947c239db37f [2020-05-12T15:11:21.299Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-12T15:11:21.299Z] ---> Running in 61440731f927 [2020-05-12T15:11:22.243Z] Removing intermediate container 61440731f927 [2020-05-12T15:11:22.243Z] ---> 9571eb38e73a [2020-05-12T15:11:22.243Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-12T15:11:22.243Z] ---> Running in 103ac71993c8 [2020-05-12T15:11:22.501Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-12T15:11:23.437Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-12T15:11:23.437Z] OK: 143 MiB in 39 packages [2020-05-12T15:11:24.007Z] Removing intermediate container 103ac71993c8 [2020-05-12T15:11:24.007Z] ---> bc1a2f85126d [2020-05-12T15:11:24.007Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-05-12T15:11:24.007Z] ---> Running in a44e7d650c2c [2020-05-12T15:11:24.007Z] Removing intermediate container a44e7d650c2c [2020-05-12T15:11:24.007Z] ---> 8dbfc40452fa [2020-05-12T15:11:24.007Z] Step 9/24 : COPY go.mod . [2020-05-12T15:11:24.268Z] ---> 81e91ee409fc [2020-05-12T15:11:24.268Z] Step 10/24 : COPY Makefile . [2020-05-12T15:11:24.528Z] ---> 057a91175ce7 [2020-05-12T15:11:24.528Z] Step 11/24 : RUN make update [2020-05-12T15:11:24.528Z] ---> Running in e9f0bd35e078 [2020-05-12T15:11:24.790Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-05-12T15:11:25.359Z] Removing intermediate container e9f0bd35e078 [2020-05-12T15:11:25.359Z] ---> 942060d7e1fa [2020-05-12T15:11:25.359Z] Step 12/24 : COPY . . [2020-05-12T15:11:25.620Z] ---> 0eaf510753b9 [2020-05-12T15:11:25.620Z] Step 13/24 : RUN $MAKE [2020-05-12T15:11:25.620Z] ---> Running in 7a753e4044db [2020-05-12T15:11:25.882Z] 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-12T15:11:35.915Z] Removing intermediate container 7a753e4044db [2020-05-12T15:11:35.915Z] ---> 117543949c86 [2020-05-12T15:11:35.915Z] Step 14/24 : FROM alpine:latest [2020-05-12T15:11:35.915Z] latest: Pulling from library/alpine [2020-05-12T15:11:35.915Z] cbdbe7a5bc2a: Pulling fs layer [2020-05-12T15:11:35.915Z] cbdbe7a5bc2a: Download complete [2020-05-12T15:11:36.176Z] cbdbe7a5bc2a: Pull complete [2020-05-12T15:11:36.176Z] Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 [2020-05-12T15:11:36.176Z] Status: Downloaded newer image for alpine:latest [2020-05-12T15:11:36.176Z] ---> f70734b6a266 [2020-05-12T15:11:36.176Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-12T15:11:36.176Z] ---> Running in 841eddc8a88f [2020-05-12T15:11:36.435Z] Removing intermediate container 841eddc8a88f [2020-05-12T15:11:36.435Z] ---> cbb9414c23c4 [2020-05-12T15:11:36.435Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-05-12T15:11:36.435Z] ---> Running in b65abcc0d141 [2020-05-12T15:11:36.435Z] Removing intermediate container b65abcc0d141 [2020-05-12T15:11:36.435Z] ---> 44b258e8a4f8 [2020-05-12T15:11:36.435Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-05-12T15:11:36.696Z] ---> d8522069a567 [2020-05-12T15:11:36.696Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-05-12T15:11:36.955Z] ---> 6b4d8d2996e1 [2020-05-12T15:11:36.955Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-05-12T15:11:37.214Z] ---> cf1675919c00 [2020-05-12T15:11:37.214Z] Step 20/24 : EXPOSE 49986 [2020-05-12T15:11:37.214Z] ---> Running in 1fb051b2fec9 [2020-05-12T15:11:37.472Z] Removing intermediate container 1fb051b2fec9 [2020-05-12T15:11:37.472Z] ---> 12a77119ed4f [2020-05-12T15:11:37.472Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-05-12T15:11:37.472Z] ---> Running in 81710f8b1701 [2020-05-12T15:11:37.731Z] Removing intermediate container 81710f8b1701 [2020-05-12T15:11:37.731Z] ---> 2563256b6ad1 [2020-05-12T15:11:37.731Z] Step 22/24 : LABEL arch=amd64 [2020-05-12T15:11:37.731Z] ---> Running in 4db4d5790df2 [2020-05-12T15:11:37.731Z] Removing intermediate container 4db4d5790df2 [2020-05-12T15:11:37.731Z] ---> 87e635b07927 [2020-05-12T15:11:37.731Z] Step 23/24 : LABEL git_sha=749454f6c98d9d3fb5ca93a296d975e602c34c37 [2020-05-12T15:11:37.731Z] ---> Running in caa96c65d6bc [2020-05-12T15:11:37.994Z] Removing intermediate container caa96c65d6bc [2020-05-12T15:11:37.995Z] ---> 143bc689d7af [2020-05-12T15:11:37.995Z] Step 24/24 : LABEL version=0.0.0 [2020-05-12T15:11:37.995Z] ---> Running in 668cc1668d67 [2020-05-12T15:11:38.253Z] Removing intermediate container 668cc1668d67 [2020-05-12T15:11:38.253Z] ---> 42d7fc4b5a67 [2020-05-12T15:11:38.253Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-12T15:11:38.253Z] Successfully built 42d7fc4b5a67 [2020-05-12T15:11:38.253Z] 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-12T15:11:44.652Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-05-12T15:11:44.652Z] ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 56.3% of statements [2020-05-12T15:11:44.652Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-12T15:11:48.936Z] gofmt -l . [2020-05-12T15:11:48.936Z] [ "`gofmt -l .`" = "" ] [2020-05-12T15:11:48.936Z] ./bin/test-go-mod-tidy.sh [2020-05-12T15:11:48.936Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-05-12T15:11:49.534Z] Warning: overwriting stash ‘coverage-report’ [2020-05-12T15:11:49.900Z] Stashed 1 file(s) [Pipeline] } [2020-05-12T15:11:49.904Z] $ docker stop --time=1 37d95f61a8fcf90aae01ec3a87b70ed27c30402a1b6ad7186e1679315c35df2d [2020-05-12T15:11:52.136Z] $ docker rm -f 37d95f61a8fcf90aae01ec3a87b70ed27c30402a1b6ad7186e1679315c35df2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-12T15:11:53.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-12T15:11:53.854Z] + ls -al . [2020-05-12T15:11:53.854Z] total 120 [2020-05-12T15:11:53.854Z] drwxrwxr-x 7 jenkins jenkins 4096 May 12 15:11 . [2020-05-12T15:11:53.854Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:09 .. [2020-05-12T15:11:53.854Z] -rw-rw-r-- 1 jenkins jenkins 151 May 12 15:09 .dockerignore [2020-05-12T15:11:53.854Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:09 .git [2020-05-12T15:11:53.854Z] -rw-rw-r-- 1 jenkins jenkins 339 May 12 15:09 .gitignore [2020-05-12T15:11:53.854Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:10 .semver [2020-05-12T15:11:53.854Z] -rw-rw-r-- 1 jenkins jenkins 4802 May 12 15:09 Attribution.txt [2020-05-12T15:11:53.854Z] -rw-rw-r-- 1 jenkins jenkins 1504 May 12 15:09 Dockerfile [2020-05-12T15:11:53.854Z] -rw-rw-r-- 1 jenkins jenkins 989 May 12 15:09 Dockerfile.build [2020-05-12T15:11:53.854Z] -rw-rw-r-- 1 jenkins jenkins 702 May 12 15:09 Jenkinsfile [2020-05-12T15:11:53.854Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:09 LICENSE [2020-05-12T15:11:53.854Z] -rw-rw-r-- 1 jenkins jenkins 951 May 12 15:09 Makefile [2020-05-12T15:11:53.854Z] -rw-rw-r-- 1 jenkins jenkins 5716 May 12 15:09 README.md [2020-05-12T15:11:53.854Z] -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:07 VERSION [2020-05-12T15:11:53.854Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:09 bin [2020-05-12T15:11:53.854Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:09 cmd [2020-05-12T15:11:53.854Z] -rw-r--r-- 1 jenkins jenkins 9369 May 12 15:11 coverage.out [2020-05-12T15:11:53.854Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:11 driver [2020-05-12T15:11:53.854Z] -rw-r--r-- 1 jenkins jenkins 266 May 12 15:11 go.mod [2020-05-12T15:11:53.854Z] -rw-r--r-- 1 jenkins jenkins 12430 May 12 15:11 go.sum [2020-05-12T15:11:53.854Z] -rw-rw-r-- 1 jenkins jenkins 713 May 12 15:09 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-12T15:11:54.197Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=749454f6c98d9d3fb5ca93a296d975e602c34c37 --label arch=arm64 --label version=0.0.0 . [2020-05-12T15:11:54.783Z] Sending build context to Docker daemon 8.029MB [2020-05-12T15:11:54.783Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-05-12T15:11:54.783Z] Step 2/24 : FROM ${BASE} AS builder [2020-05-12T15:11:54.783Z] ---> a53acd7f39d9 [2020-05-12T15:11:54.783Z] Step 3/24 : ARG MAKE='make build' [2020-05-12T15:11:55.050Z] ---> Running in 2f28a5d69bca [2020-05-12T15:11:55.318Z] Removing intermediate container 2f28a5d69bca [2020-05-12T15:11:55.318Z] ---> 9ed194d413da [2020-05-12T15:11:55.318Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-05-12T15:11:55.318Z] ---> Running in cf4c716c9e21 [2020-05-12T15:11:55.903Z] Removing intermediate container cf4c716c9e21 [2020-05-12T15:11:55.903Z] ---> d3eb2ec5d37f [2020-05-12T15:11:55.903Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-05-12T15:11:55.903Z] ---> Running in 5921dfc579fc [2020-05-12T15:11:56.170Z] Removing intermediate container 5921dfc579fc [2020-05-12T15:11:56.170Z] ---> cc7d5658998c [2020-05-12T15:11:56.170Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-12T15:11:56.442Z] ---> Running in b449ce4aefe4 [2020-05-12T15:11:58.396Z] Removing intermediate container b449ce4aefe4 [2020-05-12T15:11:58.396Z] ---> 98342037f55c [2020-05-12T15:11:58.396Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-12T15:11:58.396Z] ---> Running in f0dc48040978 [2020-05-12T15:11:58.981Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-12T15:11:59.938Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-12T15:12:00.207Z] OK: 125 MiB in 39 packages [2020-05-12T15:12:01.618Z] Removing intermediate container f0dc48040978 [2020-05-12T15:12:01.618Z] ---> 0dae0458dfcc [2020-05-12T15:12:01.618Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-05-12T15:12:01.618Z] ---> Running in 5930f98c2b67 [2020-05-12T15:12:01.888Z] Removing intermediate container 5930f98c2b67 [2020-05-12T15:12:01.888Z] ---> 30b61a59869b [2020-05-12T15:12:01.888Z] Step 9/24 : COPY go.mod . [2020-05-12T15:12:02.474Z] ---> ff4d0111fb65 [2020-05-12T15:12:02.474Z] Step 10/24 : COPY Makefile . [2020-05-12T15:12:03.059Z] ---> 82adf9a43d5e [2020-05-12T15:12:03.059Z] Step 11/24 : RUN make update [2020-05-12T15:12:03.059Z] ---> Running in f3b617a1584a [2020-05-12T15:12:04.020Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-05-12T15:12:04.983Z] Removing intermediate container f3b617a1584a [2020-05-12T15:12:04.983Z] ---> 6546d5d17204 [2020-05-12T15:12:04.983Z] Step 12/24 : COPY . . [2020-05-12T15:12:05.943Z] ---> 61d2a448dbd1 [2020-05-12T15:12:05.943Z] Step 13/24 : RUN $MAKE [2020-05-12T15:12:06.210Z] ---> Running in 60c6cdd6839c [2020-05-12T15:12:06.798Z] 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-12T15:12:33.512Z] Removing intermediate container 60c6cdd6839c [2020-05-12T15:12:33.512Z] ---> 98cd906fb7da [2020-05-12T15:12:33.512Z] Step 14/24 : FROM alpine:latest [2020-05-12T15:12:33.512Z] latest: Pulling from library/alpine [2020-05-12T15:12:33.512Z] 29e5d40040c1: Pulling fs layer [2020-05-12T15:12:33.512Z] 29e5d40040c1: Verifying Checksum [2020-05-12T15:12:33.512Z] 29e5d40040c1: Download complete [2020-05-12T15:12:34.093Z] 29e5d40040c1: Pull complete [2020-05-12T15:12:34.093Z] Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 [2020-05-12T15:12:34.093Z] Status: Downloaded newer image for alpine:latest [2020-05-12T15:12:34.093Z] ---> c20d2a9ab686 [2020-05-12T15:12:34.093Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-12T15:12:34.360Z] ---> Running in c504368859a0 [2020-05-12T15:12:34.628Z] Removing intermediate container c504368859a0 [2020-05-12T15:12:34.628Z] ---> 49598a44e02e [2020-05-12T15:12:34.628Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-05-12T15:12:34.897Z] ---> Running in b36735c0ccc5 [2020-05-12T15:12:35.164Z] Removing intermediate container b36735c0ccc5 [2020-05-12T15:12:35.164Z] ---> bc86fbb1d6ac [2020-05-12T15:12:35.164Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-05-12T15:12:35.750Z] ---> ce0cd1ebdd10 [2020-05-12T15:12:35.750Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-05-12T15:12:36.333Z] ---> 5bb2aea1664a [2020-05-12T15:12:36.333Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-05-12T15:12:37.295Z] ---> 0f24a4bc378c [2020-05-12T15:12:37.295Z] Step 20/24 : EXPOSE 49986 [2020-05-12T15:12:37.563Z] ---> Running in 3e0535d2393b [2020-05-12T15:12:37.829Z] Removing intermediate container 3e0535d2393b [2020-05-12T15:12:37.829Z] ---> 965dd4dc9c39 [2020-05-12T15:12:37.829Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-05-12T15:12:38.095Z] ---> Running in b0e5780c8276 [2020-05-12T15:12:38.364Z] Removing intermediate container b0e5780c8276 [2020-05-12T15:12:38.364Z] ---> 9f75a05b9f93 [2020-05-12T15:12:38.364Z] Step 22/24 : LABEL arch=arm64 [2020-05-12T15:12:38.364Z] ---> Running in bc4cc435eb23 [2020-05-12T15:12:38.949Z] Removing intermediate container bc4cc435eb23 [2020-05-12T15:12:38.949Z] ---> 13cf35c39aa6 [2020-05-12T15:12:38.949Z] Step 23/24 : LABEL git_sha=749454f6c98d9d3fb5ca93a296d975e602c34c37 [2020-05-12T15:12:38.949Z] ---> Running in 666704cf2240 [2020-05-12T15:12:39.216Z] Removing intermediate container 666704cf2240 [2020-05-12T15:12:39.216Z] ---> 53328fad095c [2020-05-12T15:12:39.216Z] Step 24/24 : LABEL version=0.0.0 [2020-05-12T15:12:39.484Z] ---> Running in a7d03e064bee [2020-05-12T15:12:39.751Z] Removing intermediate container a7d03e064bee [2020-05-12T15:12:39.751Z] ---> c180728097d9 [2020-05-12T15:12:39.751Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-12T15:12:39.751Z] Successfully built c180728097d9 [2020-05-12T15:12:39.751Z] 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-12T15:12:41.201Z] provisioning config files... [2020-05-12T15:12:41.211Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config1631958075376872538tmp [Pipeline] { [Pipeline] sh [2020-05-12T15:12:41.597Z] + curl -s https://codecov.io/bash [2020-05-12T15:12:41.597Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config1631958075376872538tmp [2020-05-12T15:12:41.856Z] [2020-05-12T15:12:41.856Z] _____ _ [2020-05-12T15:12:41.856Z] / ____| | | [2020-05-12T15:12:41.856Z] | | ___ __| | ___ ___ _____ __ [2020-05-12T15:12:41.856Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-05-12T15:12:41.856Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-05-12T15:12:41.856Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-05-12T15:12:41.856Z] Bash-tbd [2020-05-12T15:12:41.856Z] [2020-05-12T15:12:41.856Z] [2020-05-12T15:12:41.856Z] ==> Jenkins CI detected. [2020-05-12T15:12:41.856Z] project root: . [2020-05-12T15:12:41.856Z] Fixing merge commit SHA [2020-05-12T15:12:41.856Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-05-12T15:12:41.856Z] ==> Running gcov in . (disable via -X gcov) [2020-05-12T15:12:41.856Z] ==> Python coveragepy not found [2020-05-12T15:12:41.856Z] ==> Searching for coverage reports in: [2020-05-12T15:12:41.856Z] + . [2020-05-12T15:12:41.857Z] -> Found 1 reports [2020-05-12T15:12:41.857Z] ==> Detecting git/mercurial file structure [2020-05-12T15:12:41.857Z] ==> Reading reports [2020-05-12T15:12:41.857Z] + ./coverage.out bytes=9369 [2020-05-12T15:12:41.857Z] ==> Appending adjustments [2020-05-12T15:12:41.857Z] http://docs.codecov.io/docs/fixing-reports [2020-05-12T15:12:41.857Z] + Found adjustments [2020-05-12T15:12:41.857Z] ==> Gzipping contents [2020-05-12T15:12:41.857Z] ==> Uploading reports [2020-05-12T15:12:41.857Z] url: https://codecov.io [2020-05-12T15:12:41.857Z] query: branch=PR-20&commit=2ca6a6137050167f4ab56441aff9642385515f05&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-20%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=20&job= [2020-05-12T15:12:41.857Z] -> Pinging Codecov [2020-05-12T15:12:41.857Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-20&commit=2ca6a6137050167f4ab56441aff9642385515f05&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-20%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=20&job= [2020-05-12T15:12:42.438Z] -> Uploading [2020-05-12T15:12:42.697Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2ca6a6137050167f4ab56441aff9642385515f05 [Pipeline] } [2020-05-12T15:12:42.705Z] 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-12T15:12:43.929Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T15:12:44.225Z] ---> package-listing.sh [2020-05-12T15:12:44.225Z] ++ facter osfamily [2020-05-12T15:12:44.225Z] ++ tr '[:upper:]' '[:lower:]' [2020-05-12T15:12:44.225Z] + OS_FAMILY=redhat [2020-05-12T15:12:44.225Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-20 [2020-05-12T15:12:44.225Z] + START_PACKAGES=/tmp/packages_start.txt [2020-05-12T15:12:44.225Z] + END_PACKAGES=/tmp/packages_end.txt [2020-05-12T15:12:44.225Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-05-12T15:12:44.225Z] + PACKAGES=/tmp/packages_start.txt [2020-05-12T15:12:44.225Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' [2020-05-12T15:12:44.225Z] + PACKAGES=/tmp/packages_end.txt [2020-05-12T15:12:44.225Z] + case "${OS_FAMILY}" in [2020-05-12T15:12:44.225Z] + rpm -qa [2020-05-12T15:12:44.225Z] + sort [2020-05-12T15:12:47.517Z] + '[' -f /tmp/packages_start.txt ']' [2020-05-12T15:12:47.518Z] + '[' -f /tmp/packages_end.txt ']' [2020-05-12T15:12:47.518Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-05-12T15:12:47.518Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' [2020-05-12T15:12:47.518Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-20/archives/ [2020-05-12T15:12:47.518Z] + 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-12T15:12:47.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-12T15:12:47.989Z] [2020-05-12T15:12:47.989Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-05-12T15:12:48.331Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-12T15:12:48.331Z] alpine: Pulling from edgex-lftools-log-publisher [2020-05-12T15:12:48.331Z] c9b1b535fdd9: Pulling fs layer [2020-05-12T15:12:48.331Z] 2cc5ad85d9ab: Pulling fs layer [2020-05-12T15:12:48.331Z] 756a868c4378: Pulling fs layer [2020-05-12T15:12:48.331Z] 444b2fc9a129: Pulling fs layer [2020-05-12T15:12:48.331Z] ea15f1150254: Pulling fs layer [2020-05-12T15:12:48.331Z] 41b27a9f41bf: Pulling fs layer [2020-05-12T15:12:48.331Z] 28c525ee5125: Pulling fs layer [2020-05-12T15:12:48.331Z] 094b1ea09ed8: Pulling fs layer [2020-05-12T15:12:48.331Z] 138eaada9080: Pulling fs layer [2020-05-12T15:12:48.331Z] 0622d0fa9048: Pulling fs layer [2020-05-12T15:12:48.331Z] 28c525ee5125: Waiting [2020-05-12T15:12:48.331Z] 094b1ea09ed8: Waiting [2020-05-12T15:12:48.331Z] 138eaada9080: Waiting [2020-05-12T15:12:48.331Z] 0622d0fa9048: Waiting [2020-05-12T15:12:48.331Z] 41b27a9f41bf: Waiting [2020-05-12T15:12:48.331Z] 444b2fc9a129: Waiting [2020-05-12T15:12:48.331Z] ea15f1150254: Waiting [2020-05-12T15:12:48.331Z] 2cc5ad85d9ab: Verifying Checksum [2020-05-12T15:12:48.331Z] 2cc5ad85d9ab: Download complete [2020-05-12T15:12:48.331Z] 444b2fc9a129: Verifying Checksum [2020-05-12T15:12:48.331Z] 444b2fc9a129: Download complete [2020-05-12T15:12:48.331Z] c9b1b535fdd9: Verifying Checksum [2020-05-12T15:12:48.331Z] c9b1b535fdd9: Download complete [2020-05-12T15:12:48.611Z] ea15f1150254: Verifying Checksum [2020-05-12T15:12:48.611Z] ea15f1150254: Download complete [2020-05-12T15:12:48.611Z] 28c525ee5125: Verifying Checksum [2020-05-12T15:12:48.611Z] 28c525ee5125: Download complete [2020-05-12T15:12:48.894Z] c9b1b535fdd9: Pull complete [2020-05-12T15:12:48.894Z] 756a868c4378: Verifying Checksum [2020-05-12T15:12:48.894Z] 756a868c4378: Download complete [2020-05-12T15:12:48.894Z] 138eaada9080: Verifying Checksum [2020-05-12T15:12:48.894Z] 138eaada9080: Download complete [2020-05-12T15:12:48.894Z] 0622d0fa9048: Verifying Checksum [2020-05-12T15:12:48.894Z] 0622d0fa9048: Download complete [2020-05-12T15:12:49.166Z] 2cc5ad85d9ab: Pull complete [2020-05-12T15:12:49.166Z] 094b1ea09ed8: Verifying Checksum [2020-05-12T15:12:49.166Z] 094b1ea09ed8: Download complete [2020-05-12T15:12:49.752Z] 41b27a9f41bf: Verifying Checksum [2020-05-12T15:12:49.752Z] 41b27a9f41bf: Download complete [2020-05-12T15:12:50.693Z] 756a868c4378: Pull complete [2020-05-12T15:12:50.693Z] 444b2fc9a129: Pull complete [2020-05-12T15:12:51.262Z] ea15f1150254: Pull complete [2020-05-12T15:12:54.567Z] 41b27a9f41bf: Pull complete [2020-05-12T15:12:54.567Z] 28c525ee5125: Pull complete [2020-05-12T15:12:56.480Z] 094b1ea09ed8: Pull complete [2020-05-12T15:12:56.480Z] 138eaada9080: Pull complete [2020-05-12T15:12:56.480Z] 0622d0fa9048: Pull complete [2020-05-12T15:12:56.480Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-05-12T15:12:56.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-05-12T15:12:56.646Z] prd-centos7-docker-4c-2g-8020 does not seem to be running inside a container [2020-05-12T15:12:56.695Z] $ 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-12T15:12:57.317Z] $ docker top d19815b88c6f2a0ddab82dfa8b41e072c74032e133297b7b4740b668f3fa8e85 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-05-12T15:12:57.555Z] provisioning config files... [2020-05-12T15:12:57.571Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config6508675389658479243tmp [Pipeline] { [Pipeline] echo [2020-05-12T15:12:57.624Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T15:12:57.924Z] ---> create-netrc.sh [Pipeline] echo [2020-05-12T15:12:57.932Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T15:12:58.232Z] ---> logs-deploy.sh [2020-05-12T15:12:58.232Z] + ARCHIVE_ARTIFACTS= [2020-05-12T15:12:58.232Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-05-12T15:12:58.232Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-05-12T15:12:58.232Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-05-12T15:12:58.232Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/2 [2020-05-12T15:12:58.232Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/2/ [2020-05-12T15:12:58.232Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/2 /w/workspace/dgexfoundry_device-rest-go_PR-20 [2020-05-12T15:12:59.611Z] Archives upload complete. [2020-05-12T15:12:59.611Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/2/