cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from e0ae7f9faf684058b73803a041875345104f2397+2ca6a6137050167f4ab56441aff9642385515f05 (cacd1a56bf1f96e9b2e4532eea8c0505b9df8e1b) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-8210’ is offline; ‘prd-centos7-docker-4c-2g-8214’ is offline; ‘prd-centos7-docker-4c-2g-8215’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8140’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8217 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-20 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit e0ae7f9faf684058b73803a041875345104f2397 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing cddfccf384c161ab9733075e3bba6397b35de5be Checking out Revision cddfccf384c161ab9733075e3bba6397b35de5be (PR-20) > git config core.sparsecheckout # timeout=10 > git checkout -f e0ae7f9faf684058b73803a041875345104f2397 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cddfccf384c161ab9733075e3bba6397b35de5be # timeout=10 Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-05-13T13:40:56.427Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-05-13T13:40:56.603Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-05-13T13:40:56.684Z] ========================================================= [2020-05-13T13:40:56.685Z] EdgeX Global Pipelines Version Info [2020-05-13T13:40:56.685Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 68c68d2adae6b92d53d4f9cdbf6e3d19d929859d # timeout=10 [2020-05-13T13:40:58.114Z] ------------------- [2020-05-13T13:40:58.114Z] stable info: [2020-05-13T13:40:58.114Z] ------------------- [2020-05-13T13:40:58.114Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-05-13T13:40:58.114Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-13T13:40:58.114Z] Message: update stable to v1.0.87 [2020-05-13T13:40:58.682Z] ------------------- [2020-05-13T13:40:58.682Z] experimental info: [2020-05-13T13:40:58.682Z] ------------------- [2020-05-13T13:40:58.682Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-05-13T13:40:58.682Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-05-13T13:40:58.682Z] 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-13T13:41:00.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-13T13:41:00.862Z] [2020-05-13T13:41:00.862Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-05-13T13:41:01.206Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-13T13:41:01.206Z] latest: Pulling from edgex-devops/git-semver [2020-05-13T13:41:01.206Z] 9123ac7c32f7: Pulling fs layer [2020-05-13T13:41:01.206Z] b8cc5d1170e3: Pulling fs layer [2020-05-13T13:41:01.206Z] 2924cbbf6a41: Pulling fs layer [2020-05-13T13:41:01.206Z] 93b08a4f1073: Pulling fs layer [2020-05-13T13:41:01.206Z] 93b08a4f1073: Waiting [2020-05-13T13:41:01.206Z] b8cc5d1170e3: Download complete [2020-05-13T13:41:01.467Z] 9123ac7c32f7: Verifying Checksum [2020-05-13T13:41:01.467Z] 9123ac7c32f7: Download complete [2020-05-13T13:41:01.467Z] 93b08a4f1073: Verifying Checksum [2020-05-13T13:41:01.467Z] 93b08a4f1073: Download complete [2020-05-13T13:41:01.467Z] 2924cbbf6a41: Verifying Checksum [2020-05-13T13:41:01.728Z] 9123ac7c32f7: Pull complete [2020-05-13T13:41:01.728Z] b8cc5d1170e3: Pull complete [2020-05-13T13:41:02.683Z] 2924cbbf6a41: Pull complete [2020-05-13T13:41:02.942Z] 93b08a4f1073: Pull complete [2020-05-13T13:41:02.942Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-05-13T13:41:02.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-05-13T13:41:03.074Z] prd-centos7-docker-4c-2g-8217 does not seem to be running inside a container [2020-05-13T13:41:03.123Z] $ 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-13T13:41:03.767Z] $ docker top 9050e063d4536115f5cc06053ab3b9c13610274935ef8a0a159ee3f466db76f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-13T13:41:04.074Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-13T13:41:04.074Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-13T13:41:04.363Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-13T13:41:04.366Z] $ docker exec 9050e063d4536115f5cc06053ab3b9c13610274935ef8a0a159ee3f466db76f0 ssh-agent [2020-05-13T13:41:04.567Z] SSH_AUTH_SOCK=/tmp/ssh-0sC3Tf22JenI/agent.14 [2020-05-13T13:41:04.567Z] SSH_AGENT_PID=20 [2020-05-13T13:41:04.577Z] Running ssh-add (command line suppressed) [2020-05-13T13:41:04.729Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_6496515725999385605.key (/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_6496515725999385605.key) [2020-05-13T13:41:04.782Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-13T13:41:05.130Z] + git describe --exact-match --tags HEAD [2020-05-13T13:41:05.131Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-05-13T13:41:05.195Z] $ docker exec --env ******** --env ******** 9050e063d4536115f5cc06053ab3b9c13610274935ef8a0a159ee3f466db76f0 ssh-agent -k [2020-05-13T13:41:05.348Z] unset SSH_AUTH_SOCK; [2020-05-13T13:41:05.349Z] unset SSH_AGENT_PID; [2020-05-13T13:41:05.349Z] echo Agent pid 20 killed; [2020-05-13T13:41:05.393Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-05-13T13:41:05.465Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-05-13T13:41:05.465Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-05-13T13:41:05.546Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-13T13:41:05.546Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-13T13:41:05.757Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-13T13:41:05.760Z] $ docker exec 9050e063d4536115f5cc06053ab3b9c13610274935ef8a0a159ee3f466db76f0 ssh-agent [2020-05-13T13:41:06.006Z] SSH_AUTH_SOCK=/tmp/ssh-tdFdYcZlywbl/agent.56 [2020-05-13T13:41:06.006Z] SSH_AGENT_PID=63 [2020-05-13T13:41:06.013Z] Running ssh-add (command line suppressed) [2020-05-13T13:41:06.173Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_1791666016632382483.key (/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_1791666016632382483.key) [2020-05-13T13:41:06.225Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-13T13:41:06.542Z] + git semver init [2020-05-13T13:41:06.542Z] # -> Open(): unable to determine branch for HEAD [2020-05-13T13:41:06.542Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.git [2020-05-13T13:41:06.542Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-20 [2020-05-13T13:41:06.542Z] # $SEMVER_REMOTE_NAME = origin [2020-05-13T13:41:06.542Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-13T13:41:06.542Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-13T13:41:06.542Z] # $SEMVER_BRANCH = PR-20 [2020-05-13T13:41:06.542Z] # $SEMVER_TEMP = /tmp/semver-266842318 [2020-05-13T13:41:06.542Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-05-13T13:41:07.929Z] # '/tmp/semver-266842318' -> '/w/workspace/dgexfoundry_device-rest-go_PR-20/.semver' [2020-05-13T13:41:07.929Z] # -> Force: false [2020-05-13T13:41:07.929Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.semver [Pipeline] } [2020-05-13T13:41:07.941Z] $ docker exec --env ******** --env ******** 9050e063d4536115f5cc06053ab3b9c13610274935ef8a0a159ee3f466db76f0 ssh-agent -k [2020-05-13T13:41:08.101Z] unset SSH_AUTH_SOCK; [2020-05-13T13:41:08.101Z] unset SSH_AGENT_PID; [2020-05-13T13:41:08.101Z] echo Agent pid 63 killed; [2020-05-13T13:41:08.152Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-13T13:41:08.620Z] + git semver [Pipeline] } [2020-05-13T13:41:08.633Z] $ docker stop --time=1 9050e063d4536115f5cc06053ab3b9c13610274935ef8a0a159ee3f466db76f0 [2020-05-13T13:41:09.971Z] $ docker rm -f 9050e063d4536115f5cc06053ab3b9c13610274935ef8a0a159ee3f466db76f0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-05-13T13:41:11.542Z] Stashed 19 file(s) [Pipeline] echo [2020-05-13T13:41:11.544Z] [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-13T13:41:26.830Z] Still waiting to schedule task [2020-05-13T13:41:26.830Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-05-13T13:41:26.834Z] Still waiting to schedule task [2020-05-13T13:41:26.834Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-05-13T13:42:37.722Z] Running on prd-centos7-docker-4c-2g-8223 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws [2020-05-13T13:42:37.765Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2020-05-13T13:42:40.748Z] using credential edgex-jenkins-ssh [2020-05-13T13:42:40.811Z] Cloning the remote Git repository [2020-05-13T13:42:40.811Z] Cloning with configured refspecs honoured and without tags [2020-05-13T13:42:40.836Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T13:42:40.878Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2020-05-13T13:42:40.933Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T13:42:40.933Z] > git --version # timeout=10 [2020-05-13T13:42:40.939Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T13:42:40.967Z] > 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-13T13:42:41.925Z] Fetching without tags [2020-05-13T13:42:42.309Z] Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit e0ae7f9faf684058b73803a041875345104f2397 [2020-05-13T13:42:41.893Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-13T13:42:41.901Z] > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 [2020-05-13T13:42:41.907Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-13T13:42:41.917Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-13T13:42:41.928Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T13:42:41.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T13:42:41.933Z] > 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-13T13:42:42.322Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T13:42:42.399Z] Merge succeeded, producing 88e44697faf316844da53d2aa44979128d6078f9 [2020-05-13T13:42:42.399Z] Checking out Revision 88e44697faf316844da53d2aa44979128d6078f9 (PR-20) [2020-05-13T13:42:42.330Z] > git checkout -f e0ae7f9faf684058b73803a041875345104f2397 # timeout=10 [2020-05-13T13:42:42.359Z] > git remote # timeout=10 [2020-05-13T13:42:42.364Z] > git config --get remote.origin.url # timeout=10 [2020-05-13T13:42:42.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T13:42:42.374Z] > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 [2020-05-13T13:42:42.391Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-05-13T13:42:42.402Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T13:42:42.406Z] > git checkout -f 88e44697faf316844da53d2aa44979128d6078f9 # timeout=10 [2020-05-13T13:42:46.337Z] Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" [2020-05-13T13:42:46.355Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-13T13:42:47.411Z] ========================================================= [2020-05-13T13:42:47.411Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-05-13T13:42:47.411Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-13T13:42:46.344Z] > git rev-list --no-walk 68c68d2adae6b92d53d4f9cdbf6e3d19d929859d # timeout=10 [2020-05-13T13:42:48.024Z] + 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-13T13:42:48.598Z] Sending build context to Docker daemon 8.017MB [2020-05-13T13:42:48.598Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-05-13T13:42:48.598Z] Step 2/10 : FROM ${BASE} [2020-05-13T13:42:48.598Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-05-13T13:42:48.598Z] e6b0cf9c0882: Pulling fs layer [2020-05-13T13:42:48.598Z] 2848faf0eed1: Pulling fs layer [2020-05-13T13:42:48.598Z] 0f37312ad70f: Pulling fs layer [2020-05-13T13:42:48.598Z] 5788d62ee057: Pulling fs layer [2020-05-13T13:42:48.598Z] 0e6b1d234666: Pulling fs layer [2020-05-13T13:42:48.598Z] bf5d7aec512f: Pulling fs layer [2020-05-13T13:42:48.598Z] 34c802a77dc8: Pulling fs layer [2020-05-13T13:42:48.598Z] 9eb99e56ec68: Pulling fs layer [2020-05-13T13:42:48.598Z] 27c7a5d97fbd: Pulling fs layer [2020-05-13T13:42:48.598Z] 5c102a31e300: Pulling fs layer [2020-05-13T13:42:48.598Z] dcfb455df0a1: Pulling fs layer [2020-05-13T13:42:48.598Z] 0e6b1d234666: Waiting [2020-05-13T13:42:48.598Z] bf5d7aec512f: Waiting [2020-05-13T13:42:48.598Z] 34c802a77dc8: Waiting [2020-05-13T13:42:48.598Z] 9eb99e56ec68: Waiting [2020-05-13T13:42:48.598Z] 27c7a5d97fbd: Waiting [2020-05-13T13:42:48.598Z] 5c102a31e300: Waiting [2020-05-13T13:42:48.598Z] dcfb455df0a1: Waiting [2020-05-13T13:42:48.598Z] 5788d62ee057: Waiting [2020-05-13T13:42:48.598Z] 0f37312ad70f: Verifying Checksum [2020-05-13T13:42:48.598Z] 0f37312ad70f: Download complete [2020-05-13T13:42:48.598Z] 2848faf0eed1: Verifying Checksum [2020-05-13T13:42:48.598Z] 2848faf0eed1: Download complete [2020-05-13T13:42:48.598Z] 0e6b1d234666: Verifying Checksum [2020-05-13T13:42:48.598Z] 0e6b1d234666: Download complete [2020-05-13T13:42:48.865Z] e6b0cf9c0882: Verifying Checksum [2020-05-13T13:42:48.865Z] e6b0cf9c0882: Download complete [2020-05-13T13:42:49.124Z] e6b0cf9c0882: Pull complete [2020-05-13T13:42:49.124Z] 2848faf0eed1: Pull complete [2020-05-13T13:42:49.384Z] 0f37312ad70f: Pull complete [2020-05-13T13:42:50.776Z] 5788d62ee057: Download complete [2020-05-13T13:42:54.091Z] bf5d7aec512f: Verifying Checksum [2020-05-13T13:42:54.091Z] bf5d7aec512f: Download complete [2020-05-13T13:42:54.091Z] 27c7a5d97fbd: Verifying Checksum [2020-05-13T13:42:54.091Z] 27c7a5d97fbd: Download complete [2020-05-13T13:42:54.364Z] 5c102a31e300: Verifying Checksum [2020-05-13T13:42:54.364Z] 5c102a31e300: Download complete [2020-05-13T13:42:54.364Z] dcfb455df0a1: Verifying Checksum [2020-05-13T13:42:54.364Z] dcfb455df0a1: Download complete [2020-05-13T13:42:54.630Z] 34c802a77dc8: Verifying Checksum [2020-05-13T13:42:54.630Z] 34c802a77dc8: Download complete [2020-05-13T13:42:55.202Z] 9eb99e56ec68: Verifying Checksum [2020-05-13T13:42:55.202Z] 9eb99e56ec68: Download complete [2020-05-13T13:42:57.127Z] 5788d62ee057: Pull complete [2020-05-13T13:42:57.386Z] 0e6b1d234666: Pull complete [2020-05-13T13:42:57.386Z] bf5d7aec512f: Pull complete [2020-05-13T13:43:02.671Z] 34c802a77dc8: Pull complete [2020-05-13T13:43:05.228Z] 9eb99e56ec68: Pull complete [2020-05-13T13:43:05.228Z] 27c7a5d97fbd: Pull complete [2020-05-13T13:43:06.170Z] 5c102a31e300: Pull complete [2020-05-13T13:43:06.170Z] dcfb455df0a1: Pull complete [2020-05-13T13:43:06.170Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-05-13T13:43:06.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-05-13T13:43:06.170Z] ---> 7c70fe431013 [2020-05-13T13:43:06.170Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-05-13T13:43:06.170Z] ---> Running in eb21ce89a99b [2020-05-13T13:43:06.429Z] Removing intermediate container eb21ce89a99b [2020-05-13T13:43:06.429Z] ---> 664deddd2870 [2020-05-13T13:43:06.429Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-05-13T13:43:06.429Z] ---> Running in c88d2d01befb [2020-05-13T13:43:06.429Z] Removing intermediate container c88d2d01befb [2020-05-13T13:43:06.429Z] ---> a0f3f4f9c8d7 [2020-05-13T13:43:06.429Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-13T13:43:06.689Z] ---> Running in 3d7b0565804e [2020-05-13T13:43:06.689Z] Removing intermediate container 3d7b0565804e [2020-05-13T13:43:06.689Z] ---> 24a6683afd1c [2020-05-13T13:43:06.689Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T13:43:06.689Z] ---> Running in 17d79a184da9 [2020-05-13T13:43:07.626Z] Removing intermediate container 17d79a184da9 [2020-05-13T13:43:07.626Z] ---> 431543148653 [2020-05-13T13:43:07.626Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-13T13:43:07.626Z] ---> Running in 9e5f3901250b [2020-05-13T13:43:08.194Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-13T13:43:08.762Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-13T13:43:09.330Z] OK: 143 MiB in 39 packages [2020-05-13T13:43:09.590Z] Removing intermediate container 9e5f3901250b [2020-05-13T13:43:09.590Z] ---> 845cb674977b [2020-05-13T13:43:09.590Z] Step 8/10 : WORKDIR /device-rest-go [2020-05-13T13:43:09.590Z] ---> Running in 7d1da07a71e3 [2020-05-13T13:43:09.851Z] Removing intermediate container 7d1da07a71e3 [2020-05-13T13:43:09.851Z] ---> c8837bb9d31b [2020-05-13T13:43:09.851Z] Step 9/10 : COPY . . [2020-05-13T13:43:10.109Z] ---> 1e05d073ecb9 [2020-05-13T13:43:10.109Z] Step 10/10 : RUN go mod download [2020-05-13T13:43:10.110Z] ---> Running in 4b9dc60b4033 [2020-05-13T13:43:12.015Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-13T13:43:12.016Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-13T13:43:12.016Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-13T13:43:12.016Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-13T13:43:12.016Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-13T13:43:12.016Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-13T13:43:12.016Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-13T13:43:12.016Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-13T13:43:12.016Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-05-13T13:43:12.016Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-13T13:43:12.016Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-13T13:43:12.016Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-13T13:43:12.016Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-13T13:43:12.016Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-13T13:43:12.016Z] go: finding github.com/fatih/color v1.7.0 [2020-05-13T13:43:12.016Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-13T13:43:12.016Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-13T13:43:12.016Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-13T13:43:12.016Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-13T13:43:12.016Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-13T13:43:12.016Z] go: finding github.com/google/uuid v1.1.0 [2020-05-13T13:43:12.016Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-13T13:43:12.016Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-13T13:43:12.016Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-13T13:43:12.016Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-13T13:43:12.016Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-13T13:43:12.016Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-13T13:43:12.016Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-13T13:43:12.016Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-13T13:43:12.016Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-13T13:43:12.016Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-13T13:43:12.016Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-13T13:43:12.016Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-13T13:43:12.016Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-13T13:43:12.016Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-13T13:43:12.016Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-13T13:43:12.016Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-13T13:43:12.016Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-13T13:43:12.016Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-13T13:43:12.016Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-13T13:43:12.016Z] go: finding github.com/posener/complete v1.1.1 [2020-05-13T13:43:12.016Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-13T13:43:12.016Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-13T13:43:12.016Z] go: finding github.com/spf13/cast v1.3.0 [2020-05-13T13:43:12.016Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-13T13:43:12.016Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-13T13:43:12.016Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-13T13:43:12.016Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-13T13:43:12.016Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-13T13:43:12.016Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-13T13:43:12.276Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-13T13:43:12.276Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-13T13:43:12.276Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-13T13:43:12.276Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-13T13:43:17.551Z] Removing intermediate container 4b9dc60b4033 [2020-05-13T13:43:17.551Z] ---> 071a04316a2b [2020-05-13T13:43:17.551Z] Successfully built 071a04316a2b [2020-05-13T13:43:17.551Z] 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-13T13:43:18.177Z] + docker inspect -f . ci-base-image-x86_64 [2020-05-13T13:43:18.177Z] . [Pipeline] withDockerContainer [2020-05-13T13:43:18.313Z] prd-centos7-docker-4c-2g-8223 does not seem to be running inside a container [2020-05-13T13:43:18.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-05-13T13:43:18.937Z] $ docker top cb6e2f3b2bb25f000c91ba4402ecd0ee25f638d5beaa58677eac0ffbbdeac12d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-13T13:43:19.418Z] + go version [2020-05-13T13:43:19.419Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-05-13T13:43:19.719Z] + make test [2020-05-13T13:43:19.719Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-13T13:43:20.673Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-05-13T13:43:30.740Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-05-13T13:43:30.740Z] ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 56.3% of statements [2020-05-13T13:43:30.740Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-13T13:43:33.280Z] gofmt -l . [2020-05-13T13:43:33.280Z] [ "`gofmt -l .`" = "" ] [2020-05-13T13:43:33.280Z] ./bin/test-go-mod-tidy.sh [2020-05-13T13:43:33.539Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-05-13T13:43:34.205Z] Stashed 1 file(s) [Pipeline] } [2020-05-13T13:43:34.210Z] $ docker stop --time=1 cb6e2f3b2bb25f000c91ba4402ecd0ee25f638d5beaa58677eac0ffbbdeac12d [2020-05-13T13:43:35.629Z] $ docker rm -f cb6e2f3b2bb25f000c91ba4402ecd0ee25f638d5beaa58677eac0ffbbdeac12d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-13T13:43:36.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-13T13:43:36.902Z] + ls -al . [2020-05-13T13:43:36.902Z] total 96 [2020-05-13T13:43:36.902Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 13 13:43 . [2020-05-13T13:43:36.902Z] drwxrwxr-x. 4 jenkins jenkins 28 May 13 13:42 .. [2020-05-13T13:43:36.902Z] -rw-rw-r--. 1 jenkins jenkins 4802 May 13 13:42 Attribution.txt [2020-05-13T13:43:36.902Z] drwxrwxr-x. 2 jenkins jenkins 64 May 13 13:42 bin [2020-05-13T13:43:36.902Z] drwxrwxr-x. 3 jenkins jenkins 32 May 13 13:42 cmd [2020-05-13T13:43:36.903Z] -rw-r--r--. 1 jenkins jenkins 9369 May 13 13:43 coverage.out [2020-05-13T13:43:36.903Z] -rw-rw-r--. 1 jenkins jenkins 1504 May 13 13:42 Dockerfile [2020-05-13T13:43:36.903Z] -rw-rw-r--. 1 jenkins jenkins 989 May 13 13:42 Dockerfile.build [2020-05-13T13:43:36.903Z] -rw-rw-r--. 1 jenkins jenkins 151 May 13 13:42 .dockerignore [2020-05-13T13:43:36.903Z] drwxrwxr-x. 2 jenkins jenkins 93 May 13 13:43 driver [2020-05-13T13:43:36.903Z] drwxrwxr-x. 8 jenkins jenkins 179 May 13 13:42 .git [2020-05-13T13:43:36.903Z] -rw-rw-r--. 1 jenkins jenkins 339 May 13 13:42 .gitignore [2020-05-13T13:43:36.903Z] -rw-r--r--. 1 jenkins jenkins 266 May 13 13:43 go.mod [2020-05-13T13:43:36.903Z] -rw-r--r--. 1 jenkins jenkins 12533 May 13 13:43 go.sum [2020-05-13T13:43:36.903Z] -rw-rw-r--. 1 jenkins jenkins 702 May 13 13:42 Jenkinsfile [2020-05-13T13:43:36.903Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 13 13:42 LICENSE [2020-05-13T13:43:36.903Z] -rw-rw-r--. 1 jenkins jenkins 951 May 13 13:42 Makefile [2020-05-13T13:43:36.903Z] -rw-rw-r--. 1 jenkins jenkins 5716 May 13 13:42 README.md [2020-05-13T13:43:36.903Z] drwxrwxr-x. 3 jenkins jenkins 45 May 13 13:42 .semver [2020-05-13T13:43:36.903Z] -rw-rw-r--. 1 jenkins jenkins 5 May 13 13:41 VERSION [2020-05-13T13:43:36.903Z] -rw-rw-r--. 1 jenkins jenkins 713 May 13 13:42 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-13T13:43:37.202Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=cddfccf384c161ab9733075e3bba6397b35de5be --label arch=amd64 --label version=0.0.0 . [2020-05-13T13:43:37.462Z] Sending build context to Docker daemon 8.029MB [2020-05-13T13:43:37.462Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-05-13T13:43:37.462Z] Step 2/24 : FROM ${BASE} AS builder [2020-05-13T13:43:37.462Z] ---> 071a04316a2b [2020-05-13T13:43:37.462Z] Step 3/24 : ARG MAKE='make build' [2020-05-13T13:43:37.462Z] ---> Running in cb5bc0828763 [2020-05-13T13:43:37.462Z] Removing intermediate container cb5bc0828763 [2020-05-13T13:43:37.462Z] ---> 62907daabe31 [2020-05-13T13:43:37.462Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-05-13T13:43:37.720Z] ---> Running in 93562f290919 [2020-05-13T13:43:37.720Z] Removing intermediate container 93562f290919 [2020-05-13T13:43:37.720Z] ---> 01d97ff4881b [2020-05-13T13:43:37.720Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-05-13T13:43:37.720Z] ---> Running in a9a4415f7829 [2020-05-13T13:43:37.981Z] Removing intermediate container a9a4415f7829 [2020-05-13T13:43:37.981Z] ---> 0c4bb27a1255 [2020-05-13T13:43:37.981Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T13:43:37.981Z] ---> Running in 161a1e5f314c [2020-05-13T13:43:38.552Z] Removing intermediate container 161a1e5f314c [2020-05-13T13:43:38.552Z] ---> c42848fbf914 [2020-05-13T13:43:38.552Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-13T13:43:38.810Z] ---> Running in 5cf8fe38a0dd [2020-05-13T13:43:39.069Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-13T13:43:39.638Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-13T13:43:39.897Z] OK: 143 MiB in 39 packages [2020-05-13T13:43:40.465Z] Removing intermediate container 5cf8fe38a0dd [2020-05-13T13:43:40.465Z] ---> b0685e51091c [2020-05-13T13:43:40.465Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-05-13T13:43:40.465Z] ---> Running in 34a3cfb70a98 [2020-05-13T13:43:40.465Z] Removing intermediate container 34a3cfb70a98 [2020-05-13T13:43:40.465Z] ---> c309b5d251d6 [2020-05-13T13:43:40.465Z] Step 9/24 : COPY go.mod . [2020-05-13T13:43:40.738Z] ---> 2bf58cdb6014 [2020-05-13T13:43:40.738Z] Step 10/24 : COPY Makefile . [2020-05-13T13:43:40.738Z] ---> 72518d5833d4 [2020-05-13T13:43:40.738Z] Step 11/24 : RUN make update [2020-05-13T13:43:40.738Z] ---> Running in 0639afd6cf23 [2020-05-13T13:43:41.309Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-05-13T13:43:41.567Z] Removing intermediate container 0639afd6cf23 [2020-05-13T13:43:41.567Z] ---> 10d01086b547 [2020-05-13T13:43:41.567Z] Step 12/24 : COPY . . [2020-05-13T13:43:41.833Z] ---> 413de0248b65 [2020-05-13T13:43:41.833Z] Step 13/24 : RUN $MAKE [2020-05-13T13:43:41.833Z] ---> Running in d0871d3dccf7 [2020-05-13T13:43:42.403Z] 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-13T13:43:54.701Z] Removing intermediate container d0871d3dccf7 [2020-05-13T13:43:54.701Z] ---> 5acddb215bb2 [2020-05-13T13:43:54.701Z] Step 14/24 : FROM alpine:latest [2020-05-13T13:43:54.701Z] latest: Pulling from library/alpine [2020-05-13T13:43:54.701Z] cbdbe7a5bc2a: Pulling fs layer [2020-05-13T13:43:54.701Z] cbdbe7a5bc2a: Download complete [2020-05-13T13:43:54.701Z] cbdbe7a5bc2a: Pull complete [2020-05-13T13:43:54.701Z] Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 [2020-05-13T13:43:54.701Z] Status: Downloaded newer image for alpine:latest [2020-05-13T13:43:54.701Z] ---> f70734b6a266 [2020-05-13T13:43:54.701Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-13T13:43:54.701Z] ---> Running in b8b7b4a939c2 [2020-05-13T13:43:54.701Z] Removing intermediate container b8b7b4a939c2 [2020-05-13T13:43:54.701Z] ---> 909cf6b514be [2020-05-13T13:43:54.701Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-05-13T13:43:54.701Z] ---> Running in 5896c517c9fe [2020-05-13T13:43:54.701Z] Removing intermediate container 5896c517c9fe [2020-05-13T13:43:54.701Z] ---> 6de6dda1fe86 [2020-05-13T13:43:54.701Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-05-13T13:43:54.701Z] ---> 8bcd899b1d35 [2020-05-13T13:43:54.701Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-05-13T13:43:54.701Z] ---> 9e3d6e88e833 [2020-05-13T13:43:54.701Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-05-13T13:43:55.271Z] ---> 3f2655a62b04 [2020-05-13T13:43:55.271Z] Step 20/24 : EXPOSE 49986 [2020-05-13T13:43:55.271Z] ---> Running in 796a2dc606f4 [2020-05-13T13:43:55.271Z] Removing intermediate container 796a2dc606f4 [2020-05-13T13:43:55.271Z] ---> 352ff2cb2ff7 [2020-05-13T13:43:55.271Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-05-13T13:43:55.271Z] ---> Running in 80853bcddb63 [2020-05-13T13:43:55.531Z] Removing intermediate container 80853bcddb63 [2020-05-13T13:43:55.531Z] ---> f8d9e7a0a32f [2020-05-13T13:43:55.532Z] Step 22/24 : LABEL arch=amd64 [2020-05-13T13:43:55.532Z] ---> Running in 31db0c823b0b [2020-05-13T13:43:55.532Z] Removing intermediate container 31db0c823b0b [2020-05-13T13:43:55.532Z] ---> 5ab5055985b7 [2020-05-13T13:43:55.532Z] Step 23/24 : LABEL git_sha=cddfccf384c161ab9733075e3bba6397b35de5be [2020-05-13T13:43:55.790Z] ---> Running in 96d4ef8eb06b [2020-05-13T13:43:55.790Z] Removing intermediate container 96d4ef8eb06b [2020-05-13T13:43:55.790Z] ---> 94c41fc90c02 [2020-05-13T13:43:55.790Z] Step 24/24 : LABEL version=0.0.0 [2020-05-13T13:43:55.790Z] ---> Running in fe3c2ad18855 [2020-05-13T13:43:56.049Z] Removing intermediate container fe3c2ad18855 [2020-05-13T13:43:56.049Z] ---> 851036717077 [2020-05-13T13:43:56.049Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-13T13:43:56.049Z] Successfully built 851036717077 [2020-05-13T13:43:56.049Z] 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-13T13:44:43.154Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8225 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws [2020-05-13T13:44:43.203Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2020-05-13T13:44:49.361Z] using credential edgex-jenkins-ssh [2020-05-13T13:44:49.420Z] Cloning the remote Git repository [2020-05-13T13:44:49.420Z] Cloning with configured refspecs honoured and without tags [2020-05-13T13:44:49.488Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T13:44:49.603Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2020-05-13T13:44:49.724Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T13:44:49.728Z] > git --version # timeout=10 [2020-05-13T13:44:49.756Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T13:44:49.864Z] > 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-13T13:44:51.847Z] Fetching without tags [2020-05-13T13:44:52.379Z] Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit e0ae7f9faf684058b73803a041875345104f2397 [2020-05-13T13:44:51.700Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-13T13:44:51.722Z] > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 [2020-05-13T13:44:51.746Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-13T13:44:51.777Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-13T13:44:51.874Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T13:44:51.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T13:44:51.895Z] > 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-13T13:44:52.402Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T13:44:52.438Z] > git checkout -f e0ae7f9faf684058b73803a041875345104f2397 # timeout=10 [2020-05-13T13:44:52.535Z] > git remote # timeout=10 [2020-05-13T13:44:52.862Z] Merge succeeded, producing 0e6df947ee5d290846b4bf269205c8b161be0f28 [2020-05-13T13:44:52.862Z] Checking out Revision 0e6df947ee5d290846b4bf269205c8b161be0f28 (PR-20) [2020-05-13T13:44:52.647Z] > git config --get remote.origin.url # timeout=10 [2020-05-13T13:44:52.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T13:44:52.702Z] > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 [2020-05-13T13:44:52.797Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-05-13T13:44:52.866Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T13:44:52.920Z] > git checkout -f 0e6df947ee5d290846b4bf269205c8b161be0f28 # timeout=10 [2020-05-13T13:44:57.601Z] Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" [2020-05-13T13:44:57.637Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-05-13T13:44:57.607Z] > git rev-list --no-walk 68c68d2adae6b92d53d4f9cdbf6e3d19d929859d # timeout=10 [Pipeline] echo [2020-05-13T13:44:59.729Z] ========================================================= [2020-05-13T13:44:59.729Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-05-13T13:44:59.729Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-13T13:45:00.905Z] + 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-13T13:45:01.876Z] Sending build context to Docker daemon 8.017MB [2020-05-13T13:45:01.876Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-05-13T13:45:01.876Z] Step 2/10 : FROM ${BASE} [2020-05-13T13:45:02.146Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-05-13T13:45:02.420Z] cde5963f3b93: Pulling fs layer [2020-05-13T13:45:02.420Z] 2a23fa8c16f7: Pulling fs layer [2020-05-13T13:45:02.420Z] 777b28850792: Pulling fs layer [2020-05-13T13:45:02.420Z] 8a11ddd9e578: Pulling fs layer [2020-05-13T13:45:02.420Z] 4cf88f913ddb: Pulling fs layer [2020-05-13T13:45:02.420Z] 1df406cf5192: Pulling fs layer [2020-05-13T13:45:02.420Z] cd6300453558: Pulling fs layer [2020-05-13T13:45:02.420Z] b9c365052c96: Pulling fs layer [2020-05-13T13:45:02.420Z] a2d8cc88f415: Pulling fs layer [2020-05-13T13:45:02.420Z] ea1d1ca13537: Pulling fs layer [2020-05-13T13:45:02.420Z] 3750a50a1c5e: Pulling fs layer [2020-05-13T13:45:02.420Z] cd6300453558: Waiting [2020-05-13T13:45:02.420Z] b9c365052c96: Waiting [2020-05-13T13:45:02.420Z] a2d8cc88f415: Waiting [2020-05-13T13:45:02.420Z] ea1d1ca13537: Waiting [2020-05-13T13:45:02.420Z] 3750a50a1c5e: Waiting [2020-05-13T13:45:02.420Z] 8a11ddd9e578: Waiting [2020-05-13T13:45:02.420Z] 1df406cf5192: Waiting [2020-05-13T13:45:02.420Z] 4cf88f913ddb: Waiting [2020-05-13T13:45:02.420Z] 777b28850792: Verifying Checksum [2020-05-13T13:45:02.420Z] 777b28850792: Download complete [2020-05-13T13:45:02.420Z] 2a23fa8c16f7: Verifying Checksum [2020-05-13T13:45:02.420Z] 2a23fa8c16f7: Download complete [2020-05-13T13:45:02.420Z] 4cf88f913ddb: Verifying Checksum [2020-05-13T13:45:02.420Z] 4cf88f913ddb: Download complete [2020-05-13T13:45:02.420Z] 1df406cf5192: Verifying Checksum [2020-05-13T13:45:02.420Z] 1df406cf5192: Download complete [2020-05-13T13:45:02.690Z] cde5963f3b93: Verifying Checksum [2020-05-13T13:45:02.690Z] cde5963f3b93: Download complete [2020-05-13T13:45:03.285Z] cde5963f3b93: Pull complete [2020-05-13T13:45:04.275Z] 2a23fa8c16f7: Pull complete [2020-05-13T13:45:04.545Z] 777b28850792: Pull complete [2020-05-13T13:45:07.176Z] cd6300453558: Verifying Checksum [2020-05-13T13:45:07.176Z] cd6300453558: Download complete [2020-05-13T13:45:07.176Z] a2d8cc88f415: Verifying Checksum [2020-05-13T13:45:07.176Z] a2d8cc88f415: Download complete [2020-05-13T13:45:09.800Z] ea1d1ca13537: Verifying Checksum [2020-05-13T13:45:09.801Z] ea1d1ca13537: Download complete [2020-05-13T13:45:09.801Z] 3750a50a1c5e: Verifying Checksum [2020-05-13T13:45:09.801Z] 3750a50a1c5e: Download complete [2020-05-13T13:45:12.403Z] b9c365052c96: Download complete [2020-05-13T13:45:13.816Z] 8a11ddd9e578: Verifying Checksum [2020-05-13T13:45:13.817Z] 8a11ddd9e578: Download complete [2020-05-13T13:45:26.168Z] 8a11ddd9e578: Pull complete [2020-05-13T13:45:26.168Z] 4cf88f913ddb: Pull complete [2020-05-13T13:45:26.168Z] 1df406cf5192: Pull complete [2020-05-13T13:45:30.451Z] cd6300453558: Pull complete [2020-05-13T13:45:34.704Z] b9c365052c96: Pull complete [2020-05-13T13:45:34.704Z] a2d8cc88f415: Pull complete [2020-05-13T13:45:37.312Z] ea1d1ca13537: Pull complete [2020-05-13T13:45:37.580Z] 3750a50a1c5e: Pull complete [2020-05-13T13:45:37.580Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-05-13T13:45:37.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-05-13T13:45:37.858Z] ---> 78745c68409d [2020-05-13T13:45:37.858Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-05-13T13:45:43.231Z] ---> Running in 2af02ad172f5 [2020-05-13T13:45:43.231Z] Removing intermediate container 2af02ad172f5 [2020-05-13T13:45:43.231Z] ---> 101972499cd5 [2020-05-13T13:45:43.231Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-05-13T13:45:43.231Z] ---> Running in bcc7f3e1a3c7 [2020-05-13T13:45:43.231Z] Removing intermediate container bcc7f3e1a3c7 [2020-05-13T13:45:43.231Z] ---> ea2ea1ae4b69 [2020-05-13T13:45:43.231Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-13T13:45:43.501Z] ---> Running in 8761ceaf5737 [2020-05-13T13:45:43.769Z] Removing intermediate container 8761ceaf5737 [2020-05-13T13:45:43.769Z] ---> 81330c2fb3a5 [2020-05-13T13:45:43.769Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T13:45:44.040Z] ---> Running in b6496036147f [2020-05-13T13:45:46.649Z] Removing intermediate container b6496036147f [2020-05-13T13:45:46.649Z] ---> 805c826254e0 [2020-05-13T13:45:46.649Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-13T13:45:46.649Z] ---> Running in 856254fb0057 [2020-05-13T13:45:47.238Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-13T13:45:48.203Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-13T13:45:48.790Z] OK: 125 MiB in 39 packages [2020-05-13T13:45:50.270Z] Removing intermediate container 856254fb0057 [2020-05-13T13:45:50.270Z] ---> 1345a3b7245b [2020-05-13T13:45:50.270Z] Step 8/10 : WORKDIR /device-rest-go [2020-05-13T13:45:50.270Z] ---> Running in c64fa037ccb4 [2020-05-13T13:45:50.563Z] Removing intermediate container c64fa037ccb4 [2020-05-13T13:45:50.563Z] ---> cc738dfe4f31 [2020-05-13T13:45:50.563Z] Step 9/10 : COPY . . [2020-05-13T13:45:51.980Z] ---> dc93075866c0 [2020-05-13T13:45:51.980Z] Step 10/10 : RUN go mod download [2020-05-13T13:45:51.980Z] ---> Running in 17deae5b3f24 [2020-05-13T13:45:53.931Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-13T13:45:53.931Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-13T13:45:53.931Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-13T13:45:53.931Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-13T13:45:53.931Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-13T13:45:53.931Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-13T13:45:53.931Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-13T13:45:53.931Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-13T13:45:53.931Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-05-13T13:45:53.931Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-13T13:45:53.931Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-13T13:45:53.931Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-13T13:45:53.931Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-13T13:45:53.931Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-13T13:45:53.931Z] go: finding github.com/fatih/color v1.7.0 [2020-05-13T13:45:53.931Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-13T13:45:53.931Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-13T13:45:53.931Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-13T13:45:53.931Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-13T13:45:53.931Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-13T13:45:53.931Z] go: finding github.com/google/uuid v1.1.0 [2020-05-13T13:45:53.931Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-13T13:45:53.931Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-13T13:45:54.198Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-13T13:45:54.198Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-13T13:45:54.198Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-13T13:45:54.198Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-13T13:45:54.198Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-13T13:45:54.198Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-13T13:45:54.198Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-13T13:45:54.198Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-13T13:45:54.198Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-13T13:45:54.198Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-13T13:45:54.198Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-13T13:45:54.198Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-13T13:45:54.467Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-13T13:45:54.467Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-13T13:45:54.467Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-13T13:45:54.467Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-13T13:45:54.467Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-13T13:45:54.467Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-13T13:45:54.467Z] go: finding github.com/posener/complete v1.1.1 [2020-05-13T13:45:54.467Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-13T13:45:54.467Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-13T13:45:54.467Z] go: finding github.com/spf13/cast v1.3.0 [2020-05-13T13:45:54.467Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-13T13:45:54.467Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-13T13:45:54.467Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-13T13:45:54.467Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-13T13:45:54.467Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-13T13:45:54.467Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-13T13:45:54.467Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-13T13:45:54.467Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-13T13:45:54.467Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-13T13:45:54.467Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-13T13:46:04.571Z] Removing intermediate container 17deae5b3f24 [2020-05-13T13:46:04.571Z] ---> a265ee1ca3f0 [2020-05-13T13:46:04.571Z] Successfully built a265ee1ca3f0 [2020-05-13T13:46:04.571Z] 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-13T13:46:05.280Z] + docker inspect -f . ci-base-image-arm64 [2020-05-13T13:46:05.544Z] . [Pipeline] withDockerContainer [2020-05-13T13:46:05.907Z] prd-ubuntu18.04-docker-arm64-4c-16g-8225 does not seem to be running inside a container [2020-05-13T13:46:05.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-05-13T13:46:07.439Z] $ docker top 793cf675c79af97e94417f23da7e375462b60ddc2c5b6043a52d0dc22a5dd6a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-13T13:46:08.739Z] + go version [2020-05-13T13:46:08.739Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-05-13T13:46:09.389Z] + make test [2020-05-13T13:46:09.389Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-13T13:46:10.804Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-05-13T13:46:37.558Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-05-13T13:46:40.920Z] ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 56.3% of statements [2020-05-13T13:46:40.920Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-13T13:46:47.602Z] gofmt -l . [2020-05-13T13:46:47.602Z] [ "`gofmt -l .`" = "" ] [2020-05-13T13:46:47.602Z] ./bin/test-go-mod-tidy.sh [2020-05-13T13:46:47.602Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-05-13T13:46:47.881Z] Warning: overwriting stash ‘coverage-report’ [2020-05-13T13:46:48.258Z] Stashed 1 file(s) [Pipeline] } [2020-05-13T13:46:48.261Z] $ docker stop --time=1 793cf675c79af97e94417f23da7e375462b60ddc2c5b6043a52d0dc22a5dd6a6 [2020-05-13T13:46:50.392Z] $ docker rm -f 793cf675c79af97e94417f23da7e375462b60ddc2c5b6043a52d0dc22a5dd6a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-13T13:46:51.621Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-13T13:46:51.946Z] + ls -al . [2020-05-13T13:46:51.946Z] total 120 [2020-05-13T13:46:51.946Z] drwxrwxr-x 7 jenkins jenkins 4096 May 13 13:46 . [2020-05-13T13:46:51.946Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 13:44 .. [2020-05-13T13:46:51.946Z] -rw-rw-r-- 1 jenkins jenkins 151 May 13 13:44 .dockerignore [2020-05-13T13:46:51.946Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 13:44 .git [2020-05-13T13:46:51.946Z] -rw-rw-r-- 1 jenkins jenkins 339 May 13 13:44 .gitignore [2020-05-13T13:46:51.946Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 13:44 .semver [2020-05-13T13:46:51.946Z] -rw-rw-r-- 1 jenkins jenkins 4802 May 13 13:44 Attribution.txt [2020-05-13T13:46:51.946Z] -rw-rw-r-- 1 jenkins jenkins 1504 May 13 13:44 Dockerfile [2020-05-13T13:46:51.946Z] -rw-rw-r-- 1 jenkins jenkins 989 May 13 13:44 Dockerfile.build [2020-05-13T13:46:51.946Z] -rw-rw-r-- 1 jenkins jenkins 702 May 13 13:44 Jenkinsfile [2020-05-13T13:46:51.946Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 13 13:44 LICENSE [2020-05-13T13:46:51.946Z] -rw-rw-r-- 1 jenkins jenkins 951 May 13 13:44 Makefile [2020-05-13T13:46:51.946Z] -rw-rw-r-- 1 jenkins jenkins 5716 May 13 13:44 README.md [2020-05-13T13:46:51.946Z] -rw-rw-r-- 1 jenkins jenkins 5 May 13 13:41 VERSION [2020-05-13T13:46:51.946Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 13:44 bin [2020-05-13T13:46:51.946Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 13:44 cmd [2020-05-13T13:46:51.946Z] -rw-r--r-- 1 jenkins jenkins 9369 May 13 13:46 coverage.out [2020-05-13T13:46:51.946Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 13:46 driver [2020-05-13T13:46:51.946Z] -rw-r--r-- 1 jenkins jenkins 266 May 13 13:46 go.mod [2020-05-13T13:46:51.946Z] -rw-r--r-- 1 jenkins jenkins 12533 May 13 13:46 go.sum [2020-05-13T13:46:51.946Z] -rw-rw-r-- 1 jenkins jenkins 713 May 13 13:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-13T13:46:52.278Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=cddfccf384c161ab9733075e3bba6397b35de5be --label arch=arm64 --label version=0.0.0 . [2020-05-13T13:46:52.862Z] Sending build context to Docker daemon 8.029MB [2020-05-13T13:46:52.862Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-05-13T13:46:52.862Z] Step 2/24 : FROM ${BASE} AS builder [2020-05-13T13:46:52.862Z] ---> a265ee1ca3f0 [2020-05-13T13:46:52.862Z] Step 3/24 : ARG MAKE='make build' [2020-05-13T13:46:53.130Z] ---> Running in 1c0d6f8ff634 [2020-05-13T13:46:53.399Z] Removing intermediate container 1c0d6f8ff634 [2020-05-13T13:46:53.399Z] ---> 005108335671 [2020-05-13T13:46:53.399Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-05-13T13:46:53.667Z] ---> Running in c40ea5244e09 [2020-05-13T13:46:53.936Z] Removing intermediate container c40ea5244e09 [2020-05-13T13:46:53.936Z] ---> 32b631fb1e05 [2020-05-13T13:46:53.936Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-05-13T13:46:54.204Z] ---> Running in 65c6ccfb9904 [2020-05-13T13:46:54.472Z] Removing intermediate container 65c6ccfb9904 [2020-05-13T13:46:54.472Z] ---> f02ff9fdbd08 [2020-05-13T13:46:54.472Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T13:46:54.741Z] ---> Running in 69b49e626cf2 [2020-05-13T13:46:56.702Z] Removing intermediate container 69b49e626cf2 [2020-05-13T13:46:56.702Z] ---> 8eed491ca84c [2020-05-13T13:46:56.702Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-13T13:46:56.702Z] ---> Running in f5712badfb29 [2020-05-13T13:46:57.663Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-13T13:46:58.245Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-13T13:46:58.829Z] OK: 125 MiB in 39 packages [2020-05-13T13:47:00.238Z] Removing intermediate container f5712badfb29 [2020-05-13T13:47:00.238Z] ---> af5c70b158f8 [2020-05-13T13:47:00.238Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-05-13T13:47:00.238Z] ---> Running in a376d48df9db [2020-05-13T13:47:00.506Z] Removing intermediate container a376d48df9db [2020-05-13T13:47:00.506Z] ---> 9c8d44795c8f [2020-05-13T13:47:00.506Z] Step 9/24 : COPY go.mod . [2020-05-13T13:47:01.089Z] ---> 6a131c4c922d [2020-05-13T13:47:01.089Z] Step 10/24 : COPY Makefile . [2020-05-13T13:47:01.672Z] ---> 331368dda5ef [2020-05-13T13:47:01.672Z] Step 11/24 : RUN make update [2020-05-13T13:47:01.672Z] ---> Running in d292821126a2 [2020-05-13T13:47:02.632Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-05-13T13:47:03.592Z] Removing intermediate container d292821126a2 [2020-05-13T13:47:03.592Z] ---> 752ce6065fca [2020-05-13T13:47:03.592Z] Step 12/24 : COPY . . [2020-05-13T13:47:04.551Z] ---> dc508b20277b [2020-05-13T13:47:04.551Z] Step 13/24 : RUN $MAKE [2020-05-13T13:47:04.819Z] ---> Running in 1004c6956586 [2020-05-13T13:47:05.786Z] 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-13T13:47:38.046Z] Removing intermediate container 1004c6956586 [2020-05-13T13:47:38.046Z] ---> 194d304f810a [2020-05-13T13:47:38.046Z] Step 14/24 : FROM alpine:latest [2020-05-13T13:47:38.046Z] latest: Pulling from library/alpine [2020-05-13T13:47:38.046Z] 29e5d40040c1: Pulling fs layer [2020-05-13T13:47:38.046Z] 29e5d40040c1: Verifying Checksum [2020-05-13T13:47:38.046Z] 29e5d40040c1: Download complete [2020-05-13T13:47:38.046Z] 29e5d40040c1: Pull complete [2020-05-13T13:47:38.046Z] Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 [2020-05-13T13:47:38.046Z] Status: Downloaded newer image for alpine:latest [2020-05-13T13:47:38.046Z] ---> c20d2a9ab686 [2020-05-13T13:47:38.046Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-13T13:47:38.046Z] ---> Running in b4fe51cd35cc [2020-05-13T13:47:38.046Z] Removing intermediate container b4fe51cd35cc [2020-05-13T13:47:38.046Z] ---> a95da615d4a3 [2020-05-13T13:47:38.046Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-05-13T13:47:38.046Z] ---> Running in 53706dee0394 [2020-05-13T13:47:38.046Z] Removing intermediate container 53706dee0394 [2020-05-13T13:47:38.046Z] ---> c297c3918b48 [2020-05-13T13:47:38.046Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-05-13T13:47:38.046Z] ---> cd1a1e5a60da [2020-05-13T13:47:38.046Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-05-13T13:47:38.046Z] ---> 66c350c4d049 [2020-05-13T13:47:38.046Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-05-13T13:47:38.046Z] ---> 6d601f0e37c8 [2020-05-13T13:47:38.046Z] Step 20/24 : EXPOSE 49986 [2020-05-13T13:47:38.046Z] ---> Running in 634236fe47d5 [2020-05-13T13:47:38.322Z] Removing intermediate container 634236fe47d5 [2020-05-13T13:47:38.322Z] ---> be32498d9b12 [2020-05-13T13:47:38.322Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-05-13T13:47:38.322Z] ---> Running in 1c88603f8fc9 [2020-05-13T13:47:38.592Z] Removing intermediate container 1c88603f8fc9 [2020-05-13T13:47:38.592Z] ---> 7cb35808ecf9 [2020-05-13T13:47:38.592Z] Step 22/24 : LABEL arch=arm64 [2020-05-13T13:47:38.859Z] ---> Running in aec28a55256a [2020-05-13T13:47:39.126Z] Removing intermediate container aec28a55256a [2020-05-13T13:47:39.126Z] ---> 1553b3b19a8f [2020-05-13T13:47:39.126Z] Step 23/24 : LABEL git_sha=cddfccf384c161ab9733075e3bba6397b35de5be [2020-05-13T13:47:39.394Z] ---> Running in ce72b9c2765a [2020-05-13T13:47:39.662Z] Removing intermediate container ce72b9c2765a [2020-05-13T13:47:39.662Z] ---> 97031976d1c7 [2020-05-13T13:47:39.662Z] Step 24/24 : LABEL version=0.0.0 [2020-05-13T13:47:39.929Z] ---> Running in 702be07415c2 [2020-05-13T13:47:40.196Z] Removing intermediate container 702be07415c2 [2020-05-13T13:47:40.196Z] ---> 5f35947b409c [2020-05-13T13:47:40.196Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-13T13:47:40.196Z] Successfully built 5f35947b409c [2020-05-13T13:47:40.196Z] 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-13T13:47:41.752Z] provisioning config files... [2020-05-13T13:47:41.764Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config2845841055625833482tmp [Pipeline] { [Pipeline] sh [2020-05-13T13:47:42.131Z] + curl -s https://codecov.io/bash [2020-05-13T13:47:42.131Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config2845841055625833482tmp [2020-05-13T13:47:42.392Z] [2020-05-13T13:47:42.392Z] _____ _ [2020-05-13T13:47:42.392Z] / ____| | | [2020-05-13T13:47:42.392Z] | | ___ __| | ___ ___ _____ __ [2020-05-13T13:47:42.392Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-05-13T13:47:42.392Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-05-13T13:47:42.392Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-05-13T13:47:42.392Z] Bash-tbd [2020-05-13T13:47:42.392Z] [2020-05-13T13:47:42.392Z] [2020-05-13T13:47:42.392Z] ==> Jenkins CI detected. [2020-05-13T13:47:42.392Z] project root: . [2020-05-13T13:47:42.392Z] Fixing merge commit SHA [2020-05-13T13:47:42.392Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-05-13T13:47:42.392Z] ==> Running gcov in . (disable via -X gcov) [2020-05-13T13:47:42.392Z] ==> Python coveragepy not found [2020-05-13T13:47:42.392Z] ==> Searching for coverage reports in: [2020-05-13T13:47:42.392Z] + . [2020-05-13T13:47:42.392Z] -> Found 1 reports [2020-05-13T13:47:42.392Z] ==> Detecting git/mercurial file structure [2020-05-13T13:47:42.392Z] ==> Reading reports [2020-05-13T13:47:42.392Z] + ./coverage.out bytes=9369 [2020-05-13T13:47:42.392Z] ==> Appending adjustments [2020-05-13T13:47:42.392Z] http://docs.codecov.io/docs/fixing-reports [2020-05-13T13:47:42.392Z] + Found adjustments [2020-05-13T13:47:42.392Z] ==> Gzipping contents [2020-05-13T13:47:42.392Z] ==> Uploading reports [2020-05-13T13:47:42.392Z] url: https://codecov.io [2020-05-13T13:47:42.392Z] query: branch=PR-20&commit=2ca6a6137050167f4ab56441aff9642385515f05&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-20%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=20&job= [2020-05-13T13:47:42.392Z] -> Pinging Codecov [2020-05-13T13:47:42.392Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-20&commit=2ca6a6137050167f4ab56441aff9642385515f05&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-20%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=20&job= [2020-05-13T13:47:44.296Z] -> Uploading [2020-05-13T13:47:44.555Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2ca6a6137050167f4ab56441aff9642385515f05 [Pipeline] } [2020-05-13T13:47:44.562Z] 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-13T13:47:45.814Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-13T13:47:46.114Z] ---> package-listing.sh [2020-05-13T13:47:46.114Z] ++ facter osfamily [2020-05-13T13:47:46.114Z] ++ tr '[:upper:]' '[:lower:]' [2020-05-13T13:47:46.114Z] + OS_FAMILY=redhat [2020-05-13T13:47:46.114Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-20 [2020-05-13T13:47:46.114Z] + START_PACKAGES=/tmp/packages_start.txt [2020-05-13T13:47:46.114Z] + END_PACKAGES=/tmp/packages_end.txt [2020-05-13T13:47:46.114Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-05-13T13:47:46.114Z] + PACKAGES=/tmp/packages_start.txt [2020-05-13T13:47:46.114Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' [2020-05-13T13:47:46.114Z] + PACKAGES=/tmp/packages_end.txt [2020-05-13T13:47:46.114Z] + case "${OS_FAMILY}" in [2020-05-13T13:47:46.114Z] + rpm -qa [2020-05-13T13:47:46.114Z] + sort [2020-05-13T13:47:50.314Z] + '[' -f /tmp/packages_start.txt ']' [2020-05-13T13:47:50.314Z] + '[' -f /tmp/packages_end.txt ']' [2020-05-13T13:47:50.314Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-05-13T13:47:50.314Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' [2020-05-13T13:47:50.314Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-20/archives/ [2020-05-13T13:47:50.314Z] + 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-13T13:47:50.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-13T13:47:50.677Z] [2020-05-13T13:47:50.677Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-05-13T13:47:51.046Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-13T13:47:51.046Z] alpine: Pulling from edgex-lftools-log-publisher [2020-05-13T13:47:51.046Z] c9b1b535fdd9: Pulling fs layer [2020-05-13T13:47:51.046Z] 2cc5ad85d9ab: Pulling fs layer [2020-05-13T13:47:51.046Z] 756a868c4378: Pulling fs layer [2020-05-13T13:47:51.046Z] 444b2fc9a129: Pulling fs layer [2020-05-13T13:47:51.046Z] ea15f1150254: Pulling fs layer [2020-05-13T13:47:51.046Z] 41b27a9f41bf: Pulling fs layer [2020-05-13T13:47:51.046Z] 28c525ee5125: Pulling fs layer [2020-05-13T13:47:51.046Z] 094b1ea09ed8: Pulling fs layer [2020-05-13T13:47:51.046Z] 138eaada9080: Pulling fs layer [2020-05-13T13:47:51.046Z] 0622d0fa9048: Pulling fs layer [2020-05-13T13:47:51.046Z] 41b27a9f41bf: Waiting [2020-05-13T13:47:51.046Z] 28c525ee5125: Waiting [2020-05-13T13:47:51.046Z] 094b1ea09ed8: Waiting [2020-05-13T13:47:51.046Z] 138eaada9080: Waiting [2020-05-13T13:47:51.046Z] 0622d0fa9048: Waiting [2020-05-13T13:47:51.046Z] 444b2fc9a129: Waiting [2020-05-13T13:47:51.046Z] ea15f1150254: Waiting [2020-05-13T13:47:51.046Z] 2cc5ad85d9ab: Verifying Checksum [2020-05-13T13:47:51.046Z] 2cc5ad85d9ab: Download complete [2020-05-13T13:47:51.046Z] 444b2fc9a129: Verifying Checksum [2020-05-13T13:47:51.046Z] 444b2fc9a129: Download complete [2020-05-13T13:47:51.046Z] c9b1b535fdd9: Verifying Checksum [2020-05-13T13:47:51.046Z] c9b1b535fdd9: Download complete [2020-05-13T13:47:51.046Z] ea15f1150254: Download complete [2020-05-13T13:47:51.314Z] 28c525ee5125: Verifying Checksum [2020-05-13T13:47:51.314Z] 28c525ee5125: Download complete [2020-05-13T13:47:51.583Z] 756a868c4378: Verifying Checksum [2020-05-13T13:47:51.583Z] 756a868c4378: Download complete [2020-05-13T13:47:51.583Z] c9b1b535fdd9: Pull complete [2020-05-13T13:47:51.583Z] 138eaada9080: Verifying Checksum [2020-05-13T13:47:51.583Z] 138eaada9080: Download complete [2020-05-13T13:47:51.583Z] 0622d0fa9048: Verifying Checksum [2020-05-13T13:47:51.583Z] 0622d0fa9048: Download complete [2020-05-13T13:47:51.844Z] 094b1ea09ed8: Verifying Checksum [2020-05-13T13:47:51.844Z] 094b1ea09ed8: Download complete [2020-05-13T13:47:51.844Z] 2cc5ad85d9ab: Pull complete [2020-05-13T13:47:52.105Z] 41b27a9f41bf: Verifying Checksum [2020-05-13T13:47:52.105Z] 41b27a9f41bf: Download complete [2020-05-13T13:47:53.494Z] 756a868c4378: Pull complete [2020-05-13T13:47:53.494Z] 444b2fc9a129: Pull complete [2020-05-13T13:47:54.063Z] ea15f1150254: Pull complete [2020-05-13T13:47:57.354Z] 41b27a9f41bf: Pull complete [2020-05-13T13:47:57.354Z] 28c525ee5125: Pull complete [2020-05-13T13:47:59.255Z] 094b1ea09ed8: Pull complete [2020-05-13T13:47:59.255Z] 138eaada9080: Pull complete [2020-05-13T13:47:59.255Z] 0622d0fa9048: Pull complete [2020-05-13T13:47:59.255Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-05-13T13:47:59.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-05-13T13:47:59.415Z] prd-centos7-docker-4c-2g-8217 does not seem to be running inside a container [2020-05-13T13:47:59.454Z] $ 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-13T13:48:00.456Z] $ docker top 37045b1e1b8c5c9d7844081686aa4ae732884dd7e4e7cf24c73e36b9717f2634 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-05-13T13:48:00.739Z] provisioning config files... [2020-05-13T13:48:00.750Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config3922109744706710472tmp [Pipeline] { [Pipeline] echo [2020-05-13T13:48:00.820Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-13T13:48:01.114Z] ---> create-netrc.sh [Pipeline] echo [2020-05-13T13:48:01.121Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-13T13:48:01.411Z] ---> logs-deploy.sh [2020-05-13T13:48:01.411Z] + ARCHIVE_ARTIFACTS= [2020-05-13T13:48:01.411Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-05-13T13:48:01.411Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-05-13T13:48:01.411Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-05-13T13:48:01.411Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/4 [2020-05-13T13:48:01.411Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/4/ [2020-05-13T13:48:01.411Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/4 /w/workspace/dgexfoundry_device-rest-go_PR-20 [2020-05-13T13:48:02.805Z] Archives upload complete. [2020-05-13T13:48:02.806Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/4/