Pull request #20 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from a701868b9be8acde09c6ba7b7e135a7a9efa118b+2ca6a6137050167f4ab56441aff9642385515f05 (0e8968edac546a51297a9dda4aaf28a705b2757e) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8233 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 a701868b9be8acde09c6ba7b7e135a7a9efa118b > 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 a701868b9be8acde09c6ba7b7e135a7a9efa118b # timeout=10 > git remote # timeout=10 Merge succeeded, producing 7665b08feb686291cc144e5502e635cec29cda74 Checking out Revision 7665b08feb686291cc144e5502e635cec29cda74 (PR-20) > 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 7665b08feb686291cc144e5502e635cec29cda74 # 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-13T14:00:00.550Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-05-13T14:00:00.817Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk cddfccf384c161ab9733075e3bba6397b35de5be # timeout=10 [Pipeline] echo [2020-05-13T14:00:00.883Z] ========================================================= [2020-05-13T14:00:00.883Z] EdgeX Global Pipelines Version Info [2020-05-13T14:00:00.883Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-05-13T14:00:02.772Z] ------------------- [2020-05-13T14:00:02.772Z] stable info: [2020-05-13T14:00:02.772Z] ------------------- [2020-05-13T14:00:02.772Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-05-13T14:00:02.772Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-13T14:00:02.772Z] Message: update stable to v1.0.87 [2020-05-13T14:00:03.406Z] ------------------- [2020-05-13T14:00:03.406Z] experimental info: [2020-05-13T14:00:03.406Z] ------------------- [2020-05-13T14:00:03.406Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-05-13T14:00:03.406Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-05-13T14:00:03.406Z] 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-13T14:00:05.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-13T14:00:05.641Z] [2020-05-13T14:00:05.641Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-05-13T14:00:06.013Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-13T14:00:06.303Z] latest: Pulling from edgex-devops/git-semver [2020-05-13T14:00:06.303Z] 9123ac7c32f7: Pulling fs layer [2020-05-13T14:00:06.303Z] b8cc5d1170e3: Pulling fs layer [2020-05-13T14:00:06.303Z] 2924cbbf6a41: Pulling fs layer [2020-05-13T14:00:06.303Z] 93b08a4f1073: Pulling fs layer [2020-05-13T14:00:06.303Z] 93b08a4f1073: Waiting [2020-05-13T14:00:06.303Z] b8cc5d1170e3: Verifying Checksum [2020-05-13T14:00:06.303Z] b8cc5d1170e3: Download complete [2020-05-13T14:00:06.659Z] 93b08a4f1073: Verifying Checksum [2020-05-13T14:00:06.659Z] 93b08a4f1073: Download complete [2020-05-13T14:00:06.659Z] 9123ac7c32f7: Verifying Checksum [2020-05-13T14:00:06.659Z] 9123ac7c32f7: Download complete [2020-05-13T14:00:07.006Z] 9123ac7c32f7: Pull complete [2020-05-13T14:00:07.006Z] b8cc5d1170e3: Pull complete [2020-05-13T14:00:07.286Z] 2924cbbf6a41: Verifying Checksum [2020-05-13T14:00:07.286Z] 2924cbbf6a41: Download complete [2020-05-13T14:00:08.271Z] 2924cbbf6a41: Pull complete [2020-05-13T14:00:08.532Z] 93b08a4f1073: Pull complete [2020-05-13T14:00:08.532Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-05-13T14:00:08.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-05-13T14:00:08.749Z] prd-centos7-docker-4c-2g-8233 does not seem to be running inside a container [2020-05-13T14:00:08.902Z] $ 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-13T14:00:09.775Z] $ docker top 3433539ddeff7b3d7489bbf68518ecd2de3d9707a5d95efe30d11c5c4579120b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-13T14:00:10.121Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-13T14:00:10.121Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-13T14:00:10.363Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-13T14:00:10.370Z] $ docker exec 3433539ddeff7b3d7489bbf68518ecd2de3d9707a5d95efe30d11c5c4579120b ssh-agent [2020-05-13T14:00:10.803Z] SSH_AUTH_SOCK=/tmp/ssh-XlfNWrl7kDCo/agent.14 [2020-05-13T14:00:10.803Z] SSH_AGENT_PID=21 [2020-05-13T14:00:10.819Z] Running ssh-add (command line suppressed) [2020-05-13T14:00:11.143Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_5677246148121694247.key (/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_5677246148121694247.key) [2020-05-13T14:00:11.423Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-13T14:00:12.318Z] + git describe --exact-match --tags HEAD [2020-05-13T14:00:12.319Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-05-13T14:00:12.390Z] $ docker exec --env ******** --env ******** 3433539ddeff7b3d7489bbf68518ecd2de3d9707a5d95efe30d11c5c4579120b ssh-agent -k [2020-05-13T14:00:12.571Z] unset SSH_AUTH_SOCK; [2020-05-13T14:00:12.571Z] unset SSH_AGENT_PID; [2020-05-13T14:00:12.571Z] echo Agent pid 21 killed; [2020-05-13T14:00:12.785Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-05-13T14:00:12.870Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-05-13T14:00:12.870Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-05-13T14:00:12.968Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-13T14:00:12.968Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-13T14:00:13.445Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-13T14:00:13.463Z] $ docker exec 3433539ddeff7b3d7489bbf68518ecd2de3d9707a5d95efe30d11c5c4579120b ssh-agent [2020-05-13T14:00:13.813Z] SSH_AUTH_SOCK=/tmp/ssh-32DRb1scy0EC/agent.57 [2020-05-13T14:00:13.813Z] SSH_AGENT_PID=64 [2020-05-13T14:00:13.828Z] Running ssh-add (command line suppressed) [2020-05-13T14:00:14.240Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_2312539205297512484.key (/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_2312539205297512484.key) [2020-05-13T14:00:14.471Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-13T14:00:14.833Z] + git semver init [2020-05-13T14:00:14.833Z] # -> Open(): unable to determine branch for HEAD [2020-05-13T14:00:14.833Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.git [2020-05-13T14:00:14.833Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-20 [2020-05-13T14:00:14.833Z] # $SEMVER_REMOTE_NAME = origin [2020-05-13T14:00:14.833Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-13T14:00:14.833Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-13T14:00:14.833Z] # $SEMVER_BRANCH = PR-20 [2020-05-13T14:00:14.833Z] # $SEMVER_TEMP = /tmp/semver-177841520 [2020-05-13T14:00:14.833Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-05-13T14:00:16.811Z] # '/tmp/semver-177841520' -> '/w/workspace/dgexfoundry_device-rest-go_PR-20/.semver' [2020-05-13T14:00:16.811Z] # -> Force: false [2020-05-13T14:00:16.811Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.semver [Pipeline] } [2020-05-13T14:00:16.822Z] $ docker exec --env ******** --env ******** 3433539ddeff7b3d7489bbf68518ecd2de3d9707a5d95efe30d11c5c4579120b ssh-agent -k [2020-05-13T14:00:17.042Z] unset SSH_AUTH_SOCK; [2020-05-13T14:00:17.043Z] unset SSH_AGENT_PID; [2020-05-13T14:00:17.043Z] echo Agent pid 64 killed; [2020-05-13T14:00:17.108Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-13T14:00:17.563Z] + git semver [Pipeline] } [2020-05-13T14:00:17.583Z] $ docker stop --time=1 3433539ddeff7b3d7489bbf68518ecd2de3d9707a5d95efe30d11c5c4579120b [2020-05-13T14:00:18.955Z] $ docker rm -f 3433539ddeff7b3d7489bbf68518ecd2de3d9707a5d95efe30d11c5c4579120b [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-05-13T14:00:21.043Z] Stashed 19 file(s) [Pipeline] echo [2020-05-13T14:00:21.045Z] [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-13T14:00:36.439Z] Still waiting to schedule task [2020-05-13T14:00:36.440Z] ‘prd-centos7-docker-4c-2g-8227’ is offline; ‘prd-centos7-docker-4c-2g-8237’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8140’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-05-13T14:00:36.441Z] Still waiting to schedule task [2020-05-13T14:00:36.441Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-8140’ is offline [2020-05-13T14:01:15.056Z] Running on prd-centos7-docker-4c-2g-8240 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws [2020-05-13T14:01:15.100Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2020-05-13T14:01:17.684Z] using credential edgex-jenkins-ssh [2020-05-13T14:01:17.784Z] Cloning the remote Git repository [2020-05-13T14:01:17.784Z] Cloning with configured refspecs honoured and without tags [2020-05-13T14:01:17.646Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T14:01:17.696Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2020-05-13T14:01:17.814Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T14:01:17.815Z] > git --version # timeout=10 [2020-05-13T14:01:17.827Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T14:01:17.858Z] > 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-13T14:01:19.290Z] Fetching without tags [2020-05-13T14:01:19.210Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-13T14:01:19.214Z] > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 [2020-05-13T14:01:19.220Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-13T14:01:19.235Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-13T14:01:19.247Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T14:01:19.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T14:01:19.251Z] > 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-13T14:01:19.663Z] Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit a701868b9be8acde09c6ba7b7e135a7a9efa118b [2020-05-13T14:01:20.083Z] Merge succeeded, producing e425a47dff1e4fa02d9a4135c84ea89e431d0fe1 [2020-05-13T14:01:20.084Z] Checking out Revision e425a47dff1e4fa02d9a4135c84ea89e431d0fe1 (PR-20) [2020-05-13T14:01:19.655Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T14:01:19.660Z] > git checkout -f a701868b9be8acde09c6ba7b7e135a7a9efa118b # timeout=10 [2020-05-13T14:01:19.812Z] > git remote # timeout=10 [2020-05-13T14:01:19.822Z] > git config --get remote.origin.url # timeout=10 [2020-05-13T14:01:19.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T14:01:19.843Z] > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 [2020-05-13T14:01:20.079Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-05-13T14:01:20.087Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T14:01:20.092Z] > git checkout -f e425a47dff1e4fa02d9a4135c84ea89e431d0fe1 # timeout=10 [2020-05-13T14:01:23.894Z] Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" [2020-05-13T14:01:23.905Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-05-13T14:01:23.898Z] > git rev-list --no-walk cddfccf384c161ab9733075e3bba6397b35de5be # timeout=10 [Pipeline] echo [2020-05-13T14:01:24.995Z] ========================================================= [2020-05-13T14:01:24.995Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-05-13T14:01:24.995Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-13T14:01:25.802Z] + 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-13T14:01:26.376Z] Sending build context to Docker daemon 22.24MB [2020-05-13T14:01:26.376Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-05-13T14:01:26.376Z] Step 2/10 : FROM ${BASE} [2020-05-13T14:01:26.376Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-05-13T14:01:26.376Z] e6b0cf9c0882: Pulling fs layer [2020-05-13T14:01:26.376Z] 2848faf0eed1: Pulling fs layer [2020-05-13T14:01:26.376Z] 0f37312ad70f: Pulling fs layer [2020-05-13T14:01:26.376Z] 5788d62ee057: Pulling fs layer [2020-05-13T14:01:26.376Z] 0e6b1d234666: Pulling fs layer [2020-05-13T14:01:26.376Z] bf5d7aec512f: Pulling fs layer [2020-05-13T14:01:26.376Z] 34c802a77dc8: Pulling fs layer [2020-05-13T14:01:26.376Z] 9eb99e56ec68: Pulling fs layer [2020-05-13T14:01:26.376Z] 27c7a5d97fbd: Pulling fs layer [2020-05-13T14:01:26.376Z] 5c102a31e300: Pulling fs layer [2020-05-13T14:01:26.376Z] dcfb455df0a1: Pulling fs layer [2020-05-13T14:01:26.376Z] 34c802a77dc8: Waiting [2020-05-13T14:01:26.376Z] 9eb99e56ec68: Waiting [2020-05-13T14:01:26.376Z] 27c7a5d97fbd: Waiting [2020-05-13T14:01:26.376Z] 5c102a31e300: Waiting [2020-05-13T14:01:26.376Z] dcfb455df0a1: Waiting [2020-05-13T14:01:26.376Z] 5788d62ee057: Waiting [2020-05-13T14:01:26.376Z] 0e6b1d234666: Waiting [2020-05-13T14:01:26.376Z] bf5d7aec512f: Waiting [2020-05-13T14:01:26.376Z] 0f37312ad70f: Verifying Checksum [2020-05-13T14:01:26.376Z] 0f37312ad70f: Download complete [2020-05-13T14:01:26.376Z] 2848faf0eed1: Download complete [2020-05-13T14:01:26.376Z] 0e6b1d234666: Verifying Checksum [2020-05-13T14:01:26.376Z] 0e6b1d234666: Download complete [2020-05-13T14:01:26.376Z] e6b0cf9c0882: Verifying Checksum [2020-05-13T14:01:26.376Z] e6b0cf9c0882: Download complete [2020-05-13T14:01:26.376Z] bf5d7aec512f: Verifying Checksum [2020-05-13T14:01:26.376Z] bf5d7aec512f: Download complete [2020-05-13T14:01:26.638Z] e6b0cf9c0882: Pull complete [2020-05-13T14:01:27.610Z] 34c802a77dc8: Verifying Checksum [2020-05-13T14:01:27.610Z] 34c802a77dc8: Download complete [2020-05-13T14:01:27.610Z] 27c7a5d97fbd: Verifying Checksum [2020-05-13T14:01:27.610Z] 27c7a5d97fbd: Download complete [2020-05-13T14:01:27.876Z] 2848faf0eed1: Pull complete [2020-05-13T14:01:28.137Z] 0f37312ad70f: Pull complete [2020-05-13T14:01:28.717Z] 5788d62ee057: Verifying Checksum [2020-05-13T14:01:28.717Z] 5788d62ee057: Download complete [2020-05-13T14:01:28.984Z] dcfb455df0a1: Verifying Checksum [2020-05-13T14:01:28.984Z] dcfb455df0a1: Download complete [2020-05-13T14:01:28.984Z] 9eb99e56ec68: Download complete [2020-05-13T14:01:28.984Z] 5c102a31e300: Verifying Checksum [2020-05-13T14:01:28.984Z] 5c102a31e300: Download complete [2020-05-13T14:01:35.566Z] 5788d62ee057: Pull complete [2020-05-13T14:01:35.566Z] 0e6b1d234666: Pull complete [2020-05-13T14:01:35.566Z] bf5d7aec512f: Pull complete [2020-05-13T14:01:40.933Z] 34c802a77dc8: Pull complete [2020-05-13T14:01:44.233Z] 9eb99e56ec68: Pull complete [2020-05-13T14:01:44.233Z] 27c7a5d97fbd: Pull complete [2020-05-13T14:01:44.802Z] 5c102a31e300: Pull complete [2020-05-13T14:01:44.802Z] dcfb455df0a1: Pull complete [2020-05-13T14:01:44.802Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-05-13T14:01:44.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-05-13T14:01:44.802Z] ---> 7c70fe431013 [2020-05-13T14:01:44.802Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-05-13T14:01:44.802Z] ---> Running in 8102aa6a77f7 [2020-05-13T14:01:45.061Z] Removing intermediate container 8102aa6a77f7 [2020-05-13T14:01:45.061Z] ---> 505c3032b6d1 [2020-05-13T14:01:45.061Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-05-13T14:01:45.061Z] ---> Running in 9f34355b5112 [2020-05-13T14:01:45.320Z] Removing intermediate container 9f34355b5112 [2020-05-13T14:01:45.320Z] ---> 5d5edfc0b78a [2020-05-13T14:01:45.320Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-13T14:01:45.320Z] ---> Running in 55e16051bb77 [2020-05-13T14:01:45.320Z] Removing intermediate container 55e16051bb77 [2020-05-13T14:01:45.320Z] ---> 78908303927b [2020-05-13T14:01:45.320Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T14:01:45.580Z] ---> Running in fae63719c389 [2020-05-13T14:01:46.517Z] Removing intermediate container fae63719c389 [2020-05-13T14:01:46.517Z] ---> 624e7b809506 [2020-05-13T14:01:46.517Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-13T14:01:46.517Z] ---> Running in 359fa4900418 [2020-05-13T14:01:46.775Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-13T14:01:47.345Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-13T14:01:47.605Z] OK: 143 MiB in 39 packages [2020-05-13T14:01:47.864Z] Removing intermediate container 359fa4900418 [2020-05-13T14:01:47.864Z] ---> 23d5305c0890 [2020-05-13T14:01:47.864Z] Step 8/10 : WORKDIR /device-rest-go [2020-05-13T14:01:48.124Z] ---> Running in 950c5ad2172d [2020-05-13T14:01:48.124Z] Removing intermediate container 950c5ad2172d [2020-05-13T14:01:48.124Z] ---> 0ff08db25ef3 [2020-05-13T14:01:48.124Z] Step 9/10 : COPY . . [2020-05-13T14:01:49.503Z] ---> e8afc540b510 [2020-05-13T14:01:49.503Z] Step 10/10 : RUN go mod download [2020-05-13T14:01:49.763Z] ---> Running in 95ba4e04a0b5 [2020-05-13T14:01:51.141Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-13T14:01:51.141Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-13T14:01:51.141Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-13T14:01:51.141Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-13T14:01:51.141Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-13T14:01:51.141Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-13T14:01:51.141Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-13T14:01:51.141Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-13T14:01:51.141Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-05-13T14:01:51.141Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-13T14:01:51.141Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-13T14:01:51.141Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-13T14:01:51.141Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-13T14:01:51.141Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-13T14:01:51.141Z] go: finding github.com/fatih/color v1.7.0 [2020-05-13T14:01:51.141Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-13T14:01:51.141Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-13T14:01:51.141Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-13T14:01:51.141Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-13T14:01:51.141Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-13T14:01:51.141Z] go: finding github.com/google/uuid v1.1.0 [2020-05-13T14:01:51.141Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-13T14:01:51.141Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-13T14:01:51.141Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-13T14:01:51.141Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-13T14:01:51.407Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-13T14:01:51.407Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-13T14:01:51.407Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-13T14:01:51.407Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-13T14:01:51.407Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-13T14:01:51.407Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-05-13T14:01:51.407Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-13T14:01:51.407Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-13T14:01:51.407Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-13T14:01:51.407Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-13T14:01:51.407Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-13T14:01:51.407Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-13T14:01:51.407Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-13T14:01:51.407Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-13T14:01:51.407Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-13T14:01:51.407Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-13T14:01:51.407Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-13T14:01:51.407Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-13T14:01:51.407Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-13T14:01:51.407Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-13T14:01:51.407Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-13T14:01:51.407Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-13T14:01:51.407Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-13T14:01:51.407Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-13T14:01:51.407Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-13T14:01:51.407Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-13T14:01:51.407Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-13T14:01:51.407Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-13T14:01:51.407Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-13T14:01:51.679Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-13T14:01:51.679Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-13T14:01:51.679Z] go: finding github.com/posener/complete v1.1.1 [2020-05-13T14:01:51.679Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-13T14:01:51.679Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-13T14:01:51.679Z] go: finding github.com/spf13/cast v1.3.0 [2020-05-13T14:01:51.679Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-13T14:01:51.679Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-13T14:01:51.679Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-13T14:01:51.679Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-13T14:01:51.679Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-13T14:01:51.679Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-13T14:01:51.679Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-13T14:01:51.679Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-13T14:01:51.679Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-13T14:01:51.679Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-13T14:01:55.902Z] Removing intermediate container 95ba4e04a0b5 [2020-05-13T14:01:55.902Z] ---> 1b4cc65feb99 [2020-05-13T14:01:55.902Z] Successfully built 1b4cc65feb99 [2020-05-13T14:01:55.902Z] 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-13T14:01:56.497Z] + docker inspect -f . ci-base-image-x86_64 [2020-05-13T14:01:56.497Z] . [Pipeline] withDockerContainer [2020-05-13T14:01:56.627Z] prd-centos7-docker-4c-2g-8240 does not seem to be running inside a container [2020-05-13T14:01:56.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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-13T14:01:57.244Z] $ docker top b9892c3baec659a338b7d2d5ace39394c5c5caa34f747f19ad5448365ad09d1d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-13T14:01:57.795Z] + go version [2020-05-13T14:01:57.795Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-05-13T14:01:58.111Z] + make test [2020-05-13T14:01:58.111Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-13T14:01:58.686Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-05-13T14:02:08.745Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-05-13T14:02:09.686Z] ok github.com/edgexfoundry/device-rest-go/driver 0.028s coverage: 56.3% of statements [2020-05-13T14:02:09.945Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-13T14:02:12.503Z] gofmt -l . [2020-05-13T14:02:12.503Z] [ "`gofmt -l .`" = "" ] [2020-05-13T14:02:12.503Z] ./bin/test-go-mod-tidy.sh [2020-05-13T14:02:12.763Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-05-13T14:02:13.594Z] Stashed 1 file(s) [Pipeline] } [2020-05-13T14:02:13.601Z] $ docker stop --time=1 b9892c3baec659a338b7d2d5ace39394c5c5caa34f747f19ad5448365ad09d1d [2020-05-13T14:02:15.071Z] $ docker rm -f b9892c3baec659a338b7d2d5ace39394c5c5caa34f747f19ad5448365ad09d1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-13T14:02:16.138Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-13T14:02:16.429Z] + ls -al . [2020-05-13T14:02:16.429Z] total 96 [2020-05-13T14:02:16.429Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 13 14:02 . [2020-05-13T14:02:16.429Z] drwxrwxr-x. 4 jenkins jenkins 28 May 13 14:01 .. [2020-05-13T14:02:16.429Z] -rw-rw-r--. 1 jenkins jenkins 4802 May 13 14:01 Attribution.txt [2020-05-13T14:02:16.429Z] drwxrwxr-x. 2 jenkins jenkins 64 May 13 14:01 bin [2020-05-13T14:02:16.429Z] drwxrwxr-x. 3 jenkins jenkins 43 May 13 14:01 cmd [2020-05-13T14:02:16.429Z] -rw-r--r--. 1 jenkins jenkins 9369 May 13 14:02 coverage.out [2020-05-13T14:02:16.429Z] -rw-rw-r--. 1 jenkins jenkins 1504 May 13 14:01 Dockerfile [2020-05-13T14:02:16.429Z] -rw-rw-r--. 1 jenkins jenkins 989 May 13 14:01 Dockerfile.build [2020-05-13T14:02:16.429Z] -rw-rw-r--. 1 jenkins jenkins 151 May 13 14:01 .dockerignore [2020-05-13T14:02:16.429Z] drwxrwxr-x. 2 jenkins jenkins 93 May 13 14:02 driver [2020-05-13T14:02:16.429Z] drwxrwxr-x. 8 jenkins jenkins 179 May 13 14:01 .git [2020-05-13T14:02:16.429Z] -rw-rw-r--. 1 jenkins jenkins 339 May 13 14:01 .gitignore [2020-05-13T14:02:16.429Z] -rw-r--r--. 1 jenkins jenkins 266 May 13 14:02 go.mod [2020-05-13T14:02:16.429Z] -rw-r--r--. 1 jenkins jenkins 12533 May 13 14:02 go.sum [2020-05-13T14:02:16.429Z] -rw-rw-r--. 1 jenkins jenkins 702 May 13 14:01 Jenkinsfile [2020-05-13T14:02:16.429Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 13 14:01 LICENSE [2020-05-13T14:02:16.429Z] -rw-rw-r--. 1 jenkins jenkins 951 May 13 14:01 Makefile [2020-05-13T14:02:16.429Z] -rw-rw-r--. 1 jenkins jenkins 5716 May 13 14:01 README.md [2020-05-13T14:02:16.429Z] drwxrwxr-x. 3 jenkins jenkins 45 May 13 14:01 .semver [2020-05-13T14:02:16.429Z] -rw-rw-r--. 1 jenkins jenkins 5 May 13 14:00 VERSION [2020-05-13T14:02:16.429Z] -rw-rw-r--. 1 jenkins jenkins 713 May 13 14:01 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-13T14:02:16.736Z] + 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=7665b08feb686291cc144e5502e635cec29cda74 --label arch=amd64 --label version=0.0.0 . [2020-05-13T14:02:16.993Z] Sending build context to Docker daemon 22.26MB [2020-05-13T14:02:16.994Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-05-13T14:02:16.994Z] Step 2/24 : FROM ${BASE} AS builder [2020-05-13T14:02:16.994Z] ---> 1b4cc65feb99 [2020-05-13T14:02:16.994Z] Step 3/24 : ARG MAKE='make build' [2020-05-13T14:02:16.994Z] ---> Running in 7a92cdac5311 [2020-05-13T14:02:17.252Z] Removing intermediate container 7a92cdac5311 [2020-05-13T14:02:17.252Z] ---> 157cc37ee6d0 [2020-05-13T14:02:17.252Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-05-13T14:02:17.252Z] ---> Running in f9c8eab0768d [2020-05-13T14:02:17.516Z] Removing intermediate container f9c8eab0768d [2020-05-13T14:02:17.516Z] ---> 876d61d59132 [2020-05-13T14:02:17.516Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-05-13T14:02:17.516Z] ---> Running in 6c284532cc63 [2020-05-13T14:02:17.516Z] Removing intermediate container 6c284532cc63 [2020-05-13T14:02:17.516Z] ---> c184550c08a4 [2020-05-13T14:02:17.516Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T14:02:17.516Z] ---> Running in 1fd3cbaeaf96 [2020-05-13T14:02:18.458Z] Removing intermediate container 1fd3cbaeaf96 [2020-05-13T14:02:18.458Z] ---> 0294645585ba [2020-05-13T14:02:18.458Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-13T14:02:18.458Z] ---> Running in 0aab3372022f [2020-05-13T14:02:18.717Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-13T14:02:19.657Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-13T14:02:19.915Z] OK: 143 MiB in 39 packages [2020-05-13T14:02:20.508Z] Removing intermediate container 0aab3372022f [2020-05-13T14:02:20.508Z] ---> c7b3a1299e6a [2020-05-13T14:02:20.508Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-05-13T14:02:20.508Z] ---> Running in 936889b8ad26 [2020-05-13T14:02:20.767Z] Removing intermediate container 936889b8ad26 [2020-05-13T14:02:20.767Z] ---> 5a74723c02b0 [2020-05-13T14:02:20.767Z] Step 9/24 : COPY go.mod . [2020-05-13T14:02:21.027Z] ---> a0c09cf401bb [2020-05-13T14:02:21.027Z] Step 10/24 : COPY Makefile . [2020-05-13T14:02:21.027Z] ---> 537559c49644 [2020-05-13T14:02:21.027Z] Step 11/24 : RUN make update [2020-05-13T14:02:21.289Z] ---> Running in 845b4dc099d4 [2020-05-13T14:02:21.552Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-05-13T14:02:22.123Z] Removing intermediate container 845b4dc099d4 [2020-05-13T14:02:22.123Z] ---> 3d17c20f45ff [2020-05-13T14:02:22.123Z] Step 12/24 : COPY . . [2020-05-13T14:02:22.695Z] ---> 4198bcaeaea5 [2020-05-13T14:02:22.695Z] Step 13/24 : RUN $MAKE [2020-05-13T14:02:22.695Z] ---> Running in 35a91cc14c3e [2020-05-13T14:02:22.959Z] 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-13T14:02:37.974Z] Removing intermediate container 35a91cc14c3e [2020-05-13T14:02:37.974Z] ---> 80a2bfc5e7f7 [2020-05-13T14:02:37.974Z] Step 14/24 : FROM alpine:latest [2020-05-13T14:02:37.974Z] latest: Pulling from library/alpine [2020-05-13T14:02:37.974Z] cbdbe7a5bc2a: Pulling fs layer [2020-05-13T14:02:37.974Z] cbdbe7a5bc2a: Verifying Checksum [2020-05-13T14:02:37.974Z] cbdbe7a5bc2a: Download complete [2020-05-13T14:02:37.974Z] cbdbe7a5bc2a: Pull complete [2020-05-13T14:02:37.974Z] Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 [2020-05-13T14:02:37.974Z] Status: Downloaded newer image for alpine:latest [2020-05-13T14:02:37.974Z] ---> f70734b6a266 [2020-05-13T14:02:37.974Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-13T14:02:37.974Z] ---> Running in d8d36e8f0b0f [2020-05-13T14:02:37.974Z] Removing intermediate container d8d36e8f0b0f [2020-05-13T14:02:37.974Z] ---> 692869c40c81 [2020-05-13T14:02:37.974Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-05-13T14:02:37.974Z] ---> Running in 4d140009a2a9 [2020-05-13T14:02:37.974Z] Removing intermediate container 4d140009a2a9 [2020-05-13T14:02:37.974Z] ---> 30754b702a6b [2020-05-13T14:02:37.974Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-05-13T14:02:37.974Z] ---> a5186d33d26f [2020-05-13T14:02:37.974Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-05-13T14:02:37.974Z] ---> d7ee1b953cf5 [2020-05-13T14:02:37.974Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-05-13T14:02:37.974Z] ---> 4997e036bc7c [2020-05-13T14:02:37.974Z] Step 20/24 : EXPOSE 49986 [2020-05-13T14:02:37.974Z] ---> Running in 7a95720c613d [2020-05-13T14:02:38.242Z] Removing intermediate container 7a95720c613d [2020-05-13T14:02:38.242Z] ---> a7ed67ccd696 [2020-05-13T14:02:38.242Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-05-13T14:02:38.242Z] ---> Running in 67f4f5be585e [2020-05-13T14:02:38.242Z] Removing intermediate container 67f4f5be585e [2020-05-13T14:02:38.242Z] ---> 9afa28a005a4 [2020-05-13T14:02:38.242Z] Step 22/24 : LABEL arch=amd64 [2020-05-13T14:02:38.508Z] ---> Running in 45312997e81b [2020-05-13T14:02:38.508Z] Removing intermediate container 45312997e81b [2020-05-13T14:02:38.508Z] ---> 8c5396ef32eb [2020-05-13T14:02:38.508Z] Step 23/24 : LABEL git_sha=7665b08feb686291cc144e5502e635cec29cda74 [2020-05-13T14:02:38.508Z] ---> Running in d723187b08d1 [2020-05-13T14:02:38.774Z] Removing intermediate container d723187b08d1 [2020-05-13T14:02:38.774Z] ---> fdd46e858735 [2020-05-13T14:02:38.774Z] Step 24/24 : LABEL version=0.0.0 [2020-05-13T14:02:38.774Z] ---> Running in e3af579b2623 [2020-05-13T14:02:38.774Z] Removing intermediate container e3af579b2623 [2020-05-13T14:02:38.774Z] ---> 0b8dc37ccd41 [2020-05-13T14:02:38.774Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-13T14:02:38.774Z] Successfully built 0b8dc37ccd41 [2020-05-13T14:02:38.774Z] 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-13T14:03:30.250Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8243 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws [2020-05-13T14:03:30.303Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2020-05-13T14:03:37.479Z] using credential edgex-jenkins-ssh [2020-05-13T14:03:37.528Z] Cloning the remote Git repository [2020-05-13T14:03:37.528Z] Cloning with configured refspecs honoured and without tags [2020-05-13T14:03:37.646Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T14:03:37.792Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2020-05-13T14:03:37.925Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T14:03:37.929Z] > git --version # timeout=10 [2020-05-13T14:03:37.970Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T14:03:38.072Z] > 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-13T14:03:40.494Z] Fetching without tags [2020-05-13T14:03:40.374Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-13T14:03:40.411Z] > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 [2020-05-13T14:03:40.441Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-13T14:03:40.467Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-05-13T14:03:40.509Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-05-13T14:03:40.510Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T14:03:40.527Z] > 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-13T14:03:41.034Z] Merging remotes/origin/master commit 2ca6a6137050167f4ab56441aff9642385515f05 into PR head commit a701868b9be8acde09c6ba7b7e135a7a9efa118b [2020-05-13T14:03:41.055Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T14:03:41.099Z] > git checkout -f a701868b9be8acde09c6ba7b7e135a7a9efa118b # timeout=10 [2020-05-13T14:03:41.489Z] > git remote # timeout=10 [2020-05-13T14:03:41.507Z] > git config --get remote.origin.url # timeout=10 [2020-05-13T14:03:41.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T14:03:41.548Z] > git merge 2ca6a6137050167f4ab56441aff9642385515f05 # timeout=10 [2020-05-13T14:03:42.443Z] Merge succeeded, producing cfb8cbbbf93b806aa358335cf1d8ea8ff2e40ac8 [2020-05-13T14:03:42.443Z] Checking out Revision cfb8cbbbf93b806aa358335cf1d8ea8ff2e40ac8 (PR-20) [2020-05-13T14:03:42.385Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-05-13T14:03:42.453Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T14:03:42.503Z] > git checkout -f cfb8cbbbf93b806aa358335cf1d8ea8ff2e40ac8 # timeout=10 [2020-05-13T14:03:47.370Z] Commit message: "Merge commit '2ca6a6137050167f4ab56441aff9642385515f05' into HEAD" [2020-05-13T14:03:47.403Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-05-13T14:03:47.380Z] > git rev-list --no-walk cddfccf384c161ab9733075e3bba6397b35de5be # timeout=10 [Pipeline] echo [2020-05-13T14:03:49.561Z] ========================================================= [2020-05-13T14:03:49.561Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-05-13T14:03:49.561Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-13T14:03:50.815Z] + 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-13T14:03:51.788Z] Sending build context to Docker daemon 22.24MB [2020-05-13T14:03:52.058Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-05-13T14:03:52.058Z] Step 2/10 : FROM ${BASE} [2020-05-13T14:03:52.340Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-05-13T14:03:52.613Z] cde5963f3b93: Pulling fs layer [2020-05-13T14:03:52.613Z] 2a23fa8c16f7: Pulling fs layer [2020-05-13T14:03:52.613Z] 777b28850792: Pulling fs layer [2020-05-13T14:03:52.613Z] 8a11ddd9e578: Pulling fs layer [2020-05-13T14:03:52.613Z] 4cf88f913ddb: Pulling fs layer [2020-05-13T14:03:52.613Z] 1df406cf5192: Pulling fs layer [2020-05-13T14:03:52.613Z] cd6300453558: Pulling fs layer [2020-05-13T14:03:52.613Z] b9c365052c96: Pulling fs layer [2020-05-13T14:03:52.613Z] a2d8cc88f415: Pulling fs layer [2020-05-13T14:03:52.613Z] ea1d1ca13537: Pulling fs layer [2020-05-13T14:03:52.613Z] 3750a50a1c5e: Pulling fs layer [2020-05-13T14:03:52.613Z] 8a11ddd9e578: Waiting [2020-05-13T14:03:52.613Z] 4cf88f913ddb: Waiting [2020-05-13T14:03:52.613Z] a2d8cc88f415: Waiting [2020-05-13T14:03:52.613Z] 1df406cf5192: Waiting [2020-05-13T14:03:52.613Z] ea1d1ca13537: Waiting [2020-05-13T14:03:52.613Z] cd6300453558: Waiting [2020-05-13T14:03:52.613Z] 3750a50a1c5e: Waiting [2020-05-13T14:03:52.613Z] b9c365052c96: Waiting [2020-05-13T14:03:52.613Z] 777b28850792: Verifying Checksum [2020-05-13T14:03:52.613Z] 777b28850792: Download complete [2020-05-13T14:03:52.613Z] 2a23fa8c16f7: Verifying Checksum [2020-05-13T14:03:52.613Z] 2a23fa8c16f7: Download complete [2020-05-13T14:03:52.613Z] 4cf88f913ddb: Verifying Checksum [2020-05-13T14:03:52.613Z] 4cf88f913ddb: Download complete [2020-05-13T14:03:52.613Z] 1df406cf5192: Verifying Checksum [2020-05-13T14:03:52.613Z] 1df406cf5192: Download complete [2020-05-13T14:03:52.886Z] cde5963f3b93: Verifying Checksum [2020-05-13T14:03:52.886Z] cde5963f3b93: Download complete [2020-05-13T14:03:53.874Z] cde5963f3b93: Pull complete [2020-05-13T14:03:54.857Z] 2a23fa8c16f7: Pull complete [2020-05-13T14:03:55.134Z] 777b28850792: Pull complete [2020-05-13T14:03:57.123Z] cd6300453558: Verifying Checksum [2020-05-13T14:03:57.123Z] cd6300453558: Download complete [2020-05-13T14:03:57.123Z] a2d8cc88f415: Verifying Checksum [2020-05-13T14:03:57.123Z] a2d8cc88f415: Download complete [2020-05-13T14:03:59.893Z] ea1d1ca13537: Verifying Checksum [2020-05-13T14:03:59.893Z] ea1d1ca13537: Download complete [2020-05-13T14:04:00.176Z] 3750a50a1c5e: Verifying Checksum [2020-05-13T14:04:00.176Z] 3750a50a1c5e: Download complete [2020-05-13T14:04:02.801Z] b9c365052c96: Verifying Checksum [2020-05-13T14:04:02.801Z] b9c365052c96: Download complete [2020-05-13T14:04:05.403Z] 8a11ddd9e578: Verifying Checksum [2020-05-13T14:04:05.403Z] 8a11ddd9e578: Download complete [2020-05-13T14:04:16.224Z] 8a11ddd9e578: Pull complete [2020-05-13T14:04:16.493Z] 4cf88f913ddb: Pull complete [2020-05-13T14:04:16.762Z] 1df406cf5192: Pull complete [2020-05-13T14:04:21.062Z] cd6300453558: Pull complete [2020-05-13T14:04:26.447Z] b9c365052c96: Pull complete [2020-05-13T14:04:26.447Z] a2d8cc88f415: Pull complete [2020-05-13T14:04:28.399Z] ea1d1ca13537: Pull complete [2020-05-13T14:04:28.669Z] 3750a50a1c5e: Pull complete [2020-05-13T14:04:28.669Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-05-13T14:04:28.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-05-13T14:04:28.669Z] ---> 78745c68409d [2020-05-13T14:04:28.669Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-05-13T14:04:34.038Z] ---> Running in 11a459fa569b [2020-05-13T14:04:34.038Z] Removing intermediate container 11a459fa569b [2020-05-13T14:04:34.038Z] ---> be7101983ac2 [2020-05-13T14:04:34.038Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-05-13T14:04:34.038Z] ---> Running in a4a097a29254 [2020-05-13T14:04:34.038Z] Removing intermediate container a4a097a29254 [2020-05-13T14:04:34.038Z] ---> b1a32fbf09ba [2020-05-13T14:04:34.038Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-13T14:04:34.308Z] ---> Running in 60c60f15e4de [2020-05-13T14:04:34.577Z] Removing intermediate container 60c60f15e4de [2020-05-13T14:04:34.577Z] ---> 79bdd1a30462 [2020-05-13T14:04:34.577Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T14:04:34.845Z] ---> Running in 8951f07be21c [2020-05-13T14:04:37.444Z] Removing intermediate container 8951f07be21c [2020-05-13T14:04:37.444Z] ---> c608b7578aa3 [2020-05-13T14:04:37.444Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-13T14:04:37.444Z] ---> Running in 578898f07f2c [2020-05-13T14:04:38.035Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-13T14:04:38.999Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-13T14:04:39.614Z] OK: 125 MiB in 39 packages [2020-05-13T14:04:41.044Z] Removing intermediate container 578898f07f2c [2020-05-13T14:04:41.044Z] ---> fadc7ae3ad84 [2020-05-13T14:04:41.044Z] Step 8/10 : WORKDIR /device-rest-go [2020-05-13T14:04:41.044Z] ---> Running in 3198c075e1ff [2020-05-13T14:04:41.319Z] Removing intermediate container 3198c075e1ff [2020-05-13T14:04:41.319Z] ---> 849333b8a445 [2020-05-13T14:04:41.320Z] Step 9/10 : COPY . . [2020-05-13T14:04:43.272Z] ---> 5f1254fb6d81 [2020-05-13T14:04:43.272Z] Step 10/10 : RUN go mod download [2020-05-13T14:04:43.272Z] ---> Running in f107b0cab630 [2020-05-13T14:04:45.228Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-13T14:04:45.228Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-13T14:04:45.228Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-13T14:04:45.228Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-13T14:04:45.228Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-13T14:04:45.228Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-13T14:04:45.228Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-13T14:04:45.228Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-13T14:04:45.228Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-05-13T14:04:45.228Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-13T14:04:45.228Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-13T14:04:45.495Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-13T14:04:45.495Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-13T14:04:45.495Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-13T14:04:45.495Z] go: finding github.com/fatih/color v1.7.0 [2020-05-13T14:04:45.495Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-13T14:04:45.495Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-13T14:04:45.495Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-13T14:04:45.495Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-13T14:04:45.495Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-13T14:04:45.495Z] go: finding github.com/google/uuid v1.1.0 [2020-05-13T14:04:45.495Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-13T14:04:45.495Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-13T14:04:45.496Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-13T14:04:45.496Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-13T14:04:45.496Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-13T14:04:45.496Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-13T14:04:45.496Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-13T14:04:45.496Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-13T14:04:45.496Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-13T14:04:45.496Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-05-13T14:04:45.496Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-13T14:04:45.496Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-13T14:04:45.496Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-13T14:04:45.496Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-05-13T14:04:45.496Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-13T14:04:45.496Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-13T14:04:45.496Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-13T14:04:45.763Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-13T14:04:45.763Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-13T14:04:45.763Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-13T14:04:45.763Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-13T14:04:45.763Z] go: finding github.com/miekg/dns v1.0.14 [2020-05-13T14:04:45.763Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-13T14:04:45.763Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-13T14:04:45.763Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-13T14:04:45.763Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-05-13T14:04:45.763Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-13T14:04:45.763Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-13T14:04:45.763Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-13T14:04:45.763Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-13T14:04:45.763Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-13T14:04:45.763Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-13T14:04:45.763Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-13T14:04:45.763Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-13T14:04:45.763Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-13T14:04:45.763Z] go: finding github.com/posener/complete v1.1.1 [2020-05-13T14:04:45.763Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-05-13T14:04:45.763Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-13T14:04:45.763Z] go: finding github.com/spf13/cast v1.3.0 [2020-05-13T14:04:45.763Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-13T14:04:46.032Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-13T14:04:46.032Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-13T14:04:46.032Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-13T14:04:46.032Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-13T14:04:46.032Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-05-13T14:04:46.032Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-13T14:04:46.032Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-13T14:04:46.032Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-13T14:04:46.032Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-13T14:04:56.126Z] Removing intermediate container f107b0cab630 [2020-05-13T14:04:56.126Z] ---> cd7a588fb8db [2020-05-13T14:04:56.126Z] Successfully built cd7a588fb8db [2020-05-13T14:04:56.126Z] 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-13T14:04:56.873Z] + docker inspect -f . ci-base-image-arm64 [2020-05-13T14:04:57.151Z] . [Pipeline] withDockerContainer [2020-05-13T14:04:57.524Z] prd-ubuntu18.04-docker-arm64-4c-16g-8243 does not seem to be running inside a container [2020-05-13T14:04:57.610Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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-13T14:04:59.232Z] $ docker top 85baf23af4d1fd908d827f50461ab4ac6724492b29b898fcb696f9f05a831093 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-13T14:05:00.342Z] + go version [2020-05-13T14:05:00.342Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-05-13T14:05:01.031Z] + make test [2020-05-13T14:05:01.031Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-05-13T14:05:02.464Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-05-13T14:05:34.788Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-05-13T14:05:34.788Z] ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 56.3% of statements [2020-05-13T14:05:34.788Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-13T14:05:39.067Z] gofmt -l . [2020-05-13T14:05:39.067Z] [ "`gofmt -l .`" = "" ] [2020-05-13T14:05:39.067Z] ./bin/test-go-mod-tidy.sh [2020-05-13T14:05:39.067Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-05-13T14:05:40.044Z] Warning: overwriting stash ‘coverage-report’ [2020-05-13T14:05:40.422Z] Stashed 1 file(s) [Pipeline] } [2020-05-13T14:05:40.429Z] $ docker stop --time=1 85baf23af4d1fd908d827f50461ab4ac6724492b29b898fcb696f9f05a831093 [2020-05-13T14:05:42.604Z] $ docker rm -f 85baf23af4d1fd908d827f50461ab4ac6724492b29b898fcb696f9f05a831093 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-13T14:05:43.831Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-13T14:05:44.164Z] + ls -al . [2020-05-13T14:05:44.164Z] total 120 [2020-05-13T14:05:44.164Z] drwxrwxr-x 7 jenkins jenkins 4096 May 13 14:05 . [2020-05-13T14:05:44.164Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 14:03 .. [2020-05-13T14:05:44.164Z] -rw-rw-r-- 1 jenkins jenkins 151 May 13 14:03 .dockerignore [2020-05-13T14:05:44.164Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 14:03 .git [2020-05-13T14:05:44.164Z] -rw-rw-r-- 1 jenkins jenkins 339 May 13 14:03 .gitignore [2020-05-13T14:05:44.164Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 14:03 .semver [2020-05-13T14:05:44.164Z] -rw-rw-r-- 1 jenkins jenkins 4802 May 13 14:03 Attribution.txt [2020-05-13T14:05:44.164Z] -rw-rw-r-- 1 jenkins jenkins 1504 May 13 14:03 Dockerfile [2020-05-13T14:05:44.164Z] -rw-rw-r-- 1 jenkins jenkins 989 May 13 14:03 Dockerfile.build [2020-05-13T14:05:44.164Z] -rw-rw-r-- 1 jenkins jenkins 702 May 13 14:03 Jenkinsfile [2020-05-13T14:05:44.164Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 13 14:03 LICENSE [2020-05-13T14:05:44.164Z] -rw-rw-r-- 1 jenkins jenkins 951 May 13 14:03 Makefile [2020-05-13T14:05:44.164Z] -rw-rw-r-- 1 jenkins jenkins 5716 May 13 14:03 README.md [2020-05-13T14:05:44.164Z] -rw-rw-r-- 1 jenkins jenkins 5 May 13 14:00 VERSION [2020-05-13T14:05:44.164Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 14:03 bin [2020-05-13T14:05:44.164Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 14:03 cmd [2020-05-13T14:05:44.164Z] -rw-r--r-- 1 jenkins jenkins 9369 May 13 14:05 coverage.out [2020-05-13T14:05:44.164Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 14:05 driver [2020-05-13T14:05:44.164Z] -rw-r--r-- 1 jenkins jenkins 266 May 13 14:05 go.mod [2020-05-13T14:05:44.164Z] -rw-r--r-- 1 jenkins jenkins 12533 May 13 14:05 go.sum [2020-05-13T14:05:44.164Z] -rw-rw-r-- 1 jenkins jenkins 713 May 13 14:03 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-13T14:05:44.505Z] + 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=7665b08feb686291cc144e5502e635cec29cda74 --label arch=arm64 --label version=0.0.0 . [2020-05-13T14:05:45.107Z] Sending build context to Docker daemon 22.26MB [2020-05-13T14:05:45.107Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-05-13T14:05:45.107Z] Step 2/24 : FROM ${BASE} AS builder [2020-05-13T14:05:45.107Z] ---> cd7a588fb8db [2020-05-13T14:05:45.107Z] Step 3/24 : ARG MAKE='make build' [2020-05-13T14:05:45.377Z] ---> Running in a5fa1bf8e1d0 [2020-05-13T14:05:45.970Z] Removing intermediate container a5fa1bf8e1d0 [2020-05-13T14:05:45.970Z] ---> e209639d69d4 [2020-05-13T14:05:45.970Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-05-13T14:05:45.970Z] ---> Running in a8db9fcb856a [2020-05-13T14:05:46.245Z] Removing intermediate container a8db9fcb856a [2020-05-13T14:05:46.245Z] ---> 87921014f21a [2020-05-13T14:05:46.245Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-05-13T14:05:46.514Z] ---> Running in 58f92e053509 [2020-05-13T14:05:47.107Z] Removing intermediate container 58f92e053509 [2020-05-13T14:05:47.107Z] ---> 35c9b204cb0a [2020-05-13T14:05:47.107Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T14:05:47.107Z] ---> Running in 9d4e0761cd2f [2020-05-13T14:05:49.061Z] Removing intermediate container 9d4e0761cd2f [2020-05-13T14:05:49.061Z] ---> 5536cd3b0c72 [2020-05-13T14:05:49.061Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-05-13T14:05:49.061Z] ---> Running in aa2e9d8264fa [2020-05-13T14:05:50.036Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-13T14:05:50.620Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-13T14:05:51.212Z] OK: 125 MiB in 39 packages [2020-05-13T14:05:52.178Z] Removing intermediate container aa2e9d8264fa [2020-05-13T14:05:52.178Z] ---> eeed86226a3d [2020-05-13T14:05:52.178Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-05-13T14:05:52.447Z] ---> Running in 3c80efc8805e [2020-05-13T14:05:52.716Z] Removing intermediate container 3c80efc8805e [2020-05-13T14:05:52.716Z] ---> 381df55ad604 [2020-05-13T14:05:52.716Z] Step 9/24 : COPY go.mod . [2020-05-13T14:05:53.308Z] ---> c28bed445ab3 [2020-05-13T14:05:53.308Z] Step 10/24 : COPY Makefile . [2020-05-13T14:05:53.896Z] ---> 56642492ec28 [2020-05-13T14:05:53.896Z] Step 11/24 : RUN make update [2020-05-13T14:05:54.167Z] ---> Running in 73be268c1fbb [2020-05-13T14:05:55.131Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-05-13T14:05:56.100Z] Removing intermediate container 73be268c1fbb [2020-05-13T14:05:56.100Z] ---> 36d49806bacb [2020-05-13T14:05:56.100Z] Step 12/24 : COPY . . [2020-05-13T14:05:57.524Z] ---> 37419946cdb8 [2020-05-13T14:05:57.524Z] Step 13/24 : RUN $MAKE [2020-05-13T14:05:57.792Z] ---> Running in bef7a15daba3 [2020-05-13T14:05:58.768Z] 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-13T14:06:31.049Z] Removing intermediate container bef7a15daba3 [2020-05-13T14:06:31.049Z] ---> 13e869093a15 [2020-05-13T14:06:31.049Z] Step 14/24 : FROM alpine:latest [2020-05-13T14:06:31.049Z] latest: Pulling from library/alpine [2020-05-13T14:06:31.049Z] 29e5d40040c1: Pulling fs layer [2020-05-13T14:06:31.049Z] 29e5d40040c1: Verifying Checksum [2020-05-13T14:06:31.049Z] 29e5d40040c1: Download complete [2020-05-13T14:06:31.049Z] 29e5d40040c1: Pull complete [2020-05-13T14:06:31.049Z] Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 [2020-05-13T14:06:31.049Z] Status: Downloaded newer image for alpine:latest [2020-05-13T14:06:31.049Z] ---> c20d2a9ab686 [2020-05-13T14:06:31.049Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-13T14:06:31.049Z] ---> Running in 5ecfe924cfdc [2020-05-13T14:06:31.049Z] Removing intermediate container 5ecfe924cfdc [2020-05-13T14:06:31.049Z] ---> 40c744f73b00 [2020-05-13T14:06:31.049Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-05-13T14:06:31.049Z] ---> Running in d0fdb6507efd [2020-05-13T14:06:31.049Z] Removing intermediate container d0fdb6507efd [2020-05-13T14:06:31.049Z] ---> faed2c5ab4ae [2020-05-13T14:06:31.049Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-05-13T14:06:31.049Z] ---> 5375ed668b89 [2020-05-13T14:06:31.049Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-05-13T14:06:31.049Z] ---> 9a919dc79da5 [2020-05-13T14:06:31.049Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-05-13T14:06:33.001Z] ---> bce41d57b423 [2020-05-13T14:06:33.002Z] Step 20/24 : EXPOSE 49986 [2020-05-13T14:06:33.002Z] ---> Running in a2dc0ec0319c [2020-05-13T14:06:33.269Z] Removing intermediate container a2dc0ec0319c [2020-05-13T14:06:33.269Z] ---> 94a6055786ec [2020-05-13T14:06:33.269Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-05-13T14:06:33.269Z] ---> Running in 8d9d76073079 [2020-05-13T14:06:33.536Z] Removing intermediate container 8d9d76073079 [2020-05-13T14:06:33.536Z] ---> efd3800948e3 [2020-05-13T14:06:33.536Z] Step 22/24 : LABEL arch=arm64 [2020-05-13T14:06:33.805Z] ---> Running in fcdf83228e94 [2020-05-13T14:06:34.072Z] Removing intermediate container fcdf83228e94 [2020-05-13T14:06:34.072Z] ---> b00320903211 [2020-05-13T14:06:34.072Z] Step 23/24 : LABEL git_sha=7665b08feb686291cc144e5502e635cec29cda74 [2020-05-13T14:06:34.340Z] ---> Running in a8ea08297acb [2020-05-13T14:06:34.610Z] Removing intermediate container a8ea08297acb [2020-05-13T14:06:34.610Z] ---> aebb6120223f [2020-05-13T14:06:34.610Z] Step 24/24 : LABEL version=0.0.0 [2020-05-13T14:06:34.610Z] ---> Running in 4dcb6be3c545 [2020-05-13T14:06:35.195Z] Removing intermediate container 4dcb6be3c545 [2020-05-13T14:06:35.195Z] ---> 97f2a507bda9 [2020-05-13T14:06:35.195Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-13T14:06:35.195Z] Successfully built 97f2a507bda9 [2020-05-13T14:06:35.195Z] 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-13T14:06:36.350Z] provisioning config files... [2020-05-13T14:06:36.371Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config5214063128047919710tmp [Pipeline] { [Pipeline] sh [2020-05-13T14:06:36.758Z] + curl -s https://codecov.io/bash [2020-05-13T14:06:36.758Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config5214063128047919710tmp [2020-05-13T14:06:37.018Z] [2020-05-13T14:06:37.018Z] _____ _ [2020-05-13T14:06:37.018Z] / ____| | | [2020-05-13T14:06:37.018Z] | | ___ __| | ___ ___ _____ __ [2020-05-13T14:06:37.018Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-05-13T14:06:37.018Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-05-13T14:06:37.018Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-05-13T14:06:37.018Z] Bash-tbd [2020-05-13T14:06:37.018Z] [2020-05-13T14:06:37.018Z] [2020-05-13T14:06:37.018Z] ==> Jenkins CI detected. [2020-05-13T14:06:37.018Z] project root: . [2020-05-13T14:06:37.018Z] Fixing merge commit SHA [2020-05-13T14:06:37.018Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-05-13T14:06:37.018Z] ==> Running gcov in . (disable via -X gcov) [2020-05-13T14:06:37.018Z] ==> Python coveragepy not found [2020-05-13T14:06:37.018Z] ==> Searching for coverage reports in: [2020-05-13T14:06:37.018Z] + . [2020-05-13T14:06:37.018Z] -> Found 1 reports [2020-05-13T14:06:37.018Z] ==> Detecting git/mercurial file structure [2020-05-13T14:06:37.018Z] ==> Reading reports [2020-05-13T14:06:37.018Z] + ./coverage.out bytes=9369 [2020-05-13T14:06:37.018Z] ==> Appending adjustments [2020-05-13T14:06:37.018Z] http://docs.codecov.io/docs/fixing-reports [2020-05-13T14:06:37.279Z] + Found adjustments [2020-05-13T14:06:37.279Z] ==> Gzipping contents [2020-05-13T14:06:37.279Z] ==> Uploading reports [2020-05-13T14:06:37.279Z] url: https://codecov.io [2020-05-13T14:06:37.279Z] query: branch=PR-20&commit=2ca6a6137050167f4ab56441aff9642385515f05&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-20%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=20&job= [2020-05-13T14:06:37.279Z] -> Pinging Codecov [2020-05-13T14:06:37.279Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-20&commit=2ca6a6137050167f4ab56441aff9642385515f05&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-20%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=20&job= [2020-05-13T14:06:37.539Z] -> Uploading [2020-05-13T14:06:38.108Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2ca6a6137050167f4ab56441aff9642385515f05 [Pipeline] } [2020-05-13T14:06:38.115Z] 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-13T14:06:39.379Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-13T14:06:39.710Z] ---> package-listing.sh [2020-05-13T14:06:39.711Z] ++ facter osfamily [2020-05-13T14:06:39.711Z] ++ tr '[:upper:]' '[:lower:]' [2020-05-13T14:06:39.711Z] + OS_FAMILY=redhat [2020-05-13T14:06:39.711Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-20 [2020-05-13T14:06:39.711Z] + START_PACKAGES=/tmp/packages_start.txt [2020-05-13T14:06:39.711Z] + END_PACKAGES=/tmp/packages_end.txt [2020-05-13T14:06:39.711Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-05-13T14:06:39.711Z] + PACKAGES=/tmp/packages_start.txt [2020-05-13T14:06:39.711Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' [2020-05-13T14:06:39.711Z] + PACKAGES=/tmp/packages_end.txt [2020-05-13T14:06:39.711Z] + case "${OS_FAMILY}" in [2020-05-13T14:06:39.711Z] + rpm -qa [2020-05-13T14:06:39.711Z] + sort [2020-05-13T14:06:43.927Z] + '[' -f /tmp/packages_start.txt ']' [2020-05-13T14:06:43.927Z] + '[' -f /tmp/packages_end.txt ']' [2020-05-13T14:06:43.927Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-05-13T14:06:43.927Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' [2020-05-13T14:06:43.927Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-20/archives/ [2020-05-13T14:06:43.927Z] + 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-13T14:06:44.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-13T14:06:44.690Z] [2020-05-13T14:06:44.690Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-05-13T14:06:45.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-13T14:06:45.103Z] alpine: Pulling from edgex-lftools-log-publisher [2020-05-13T14:06:45.103Z] c9b1b535fdd9: Pulling fs layer [2020-05-13T14:06:45.103Z] 2cc5ad85d9ab: Pulling fs layer [2020-05-13T14:06:45.103Z] 756a868c4378: Pulling fs layer [2020-05-13T14:06:45.103Z] 444b2fc9a129: Pulling fs layer [2020-05-13T14:06:45.103Z] ea15f1150254: Pulling fs layer [2020-05-13T14:06:45.103Z] 41b27a9f41bf: Pulling fs layer [2020-05-13T14:06:45.103Z] 28c525ee5125: Pulling fs layer [2020-05-13T14:06:45.103Z] 094b1ea09ed8: Pulling fs layer [2020-05-13T14:06:45.103Z] 138eaada9080: Pulling fs layer [2020-05-13T14:06:45.103Z] 0622d0fa9048: Pulling fs layer [2020-05-13T14:06:45.103Z] 444b2fc9a129: Waiting [2020-05-13T14:06:45.103Z] ea15f1150254: Waiting [2020-05-13T14:06:45.103Z] 41b27a9f41bf: Waiting [2020-05-13T14:06:45.103Z] 138eaada9080: Waiting [2020-05-13T14:06:45.103Z] 094b1ea09ed8: Waiting [2020-05-13T14:06:45.103Z] 0622d0fa9048: Waiting [2020-05-13T14:06:45.103Z] 28c525ee5125: Waiting [2020-05-13T14:06:45.103Z] 2cc5ad85d9ab: Download complete [2020-05-13T14:06:45.402Z] 444b2fc9a129: Download complete [2020-05-13T14:06:45.402Z] c9b1b535fdd9: Verifying Checksum [2020-05-13T14:06:45.402Z] ea15f1150254: Download complete [2020-05-13T14:06:45.702Z] 28c525ee5125: Verifying Checksum [2020-05-13T14:06:45.702Z] 28c525ee5125: Download complete [2020-05-13T14:06:45.990Z] c9b1b535fdd9: Pull complete [2020-05-13T14:06:46.270Z] 756a868c4378: Verifying Checksum [2020-05-13T14:06:46.270Z] 756a868c4378: Download complete [2020-05-13T14:06:46.270Z] 2cc5ad85d9ab: Pull complete [2020-05-13T14:06:46.270Z] 138eaada9080: Verifying Checksum [2020-05-13T14:06:46.270Z] 138eaada9080: Download complete [2020-05-13T14:06:46.548Z] 0622d0fa9048: Verifying Checksum [2020-05-13T14:06:46.548Z] 0622d0fa9048: Download complete [2020-05-13T14:06:46.548Z] 094b1ea09ed8: Verifying Checksum [2020-05-13T14:06:46.548Z] 094b1ea09ed8: Download complete [2020-05-13T14:06:47.188Z] 41b27a9f41bf: Verifying Checksum [2020-05-13T14:06:47.188Z] 41b27a9f41bf: Download complete [2020-05-13T14:06:48.138Z] 756a868c4378: Pull complete [2020-05-13T14:06:48.424Z] 444b2fc9a129: Pull complete [2020-05-13T14:06:49.034Z] ea15f1150254: Pull complete [2020-05-13T14:06:53.280Z] 41b27a9f41bf: Pull complete [2020-05-13T14:06:53.280Z] 28c525ee5125: Pull complete [2020-05-13T14:06:55.255Z] 094b1ea09ed8: Pull complete [2020-05-13T14:06:55.573Z] 138eaada9080: Pull complete [2020-05-13T14:06:55.573Z] 0622d0fa9048: Pull complete [2020-05-13T14:06:55.852Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-05-13T14:06:55.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-05-13T14:06:56.172Z] prd-centos7-docker-4c-2g-8233 does not seem to be running inside a container [2020-05-13T14:06:56.348Z] $ 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-13T14:06:57.617Z] $ docker top ed2ad4a629b57d6c7a766761f723a93114bcaac72a5292ce437d5016394a58c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-05-13T14:06:57.889Z] provisioning config files... [2020-05-13T14:06:57.905Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config7856051204754374946tmp [Pipeline] { [Pipeline] echo [2020-05-13T14:06:57.967Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-13T14:06:58.669Z] ---> create-netrc.sh [Pipeline] echo [2020-05-13T14:06:58.677Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-13T14:06:58.995Z] ---> logs-deploy.sh [2020-05-13T14:06:58.995Z] + ARCHIVE_ARTIFACTS= [2020-05-13T14:06:58.995Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-05-13T14:06:58.995Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-05-13T14:06:58.995Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-05-13T14:06:58.995Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/5 [2020-05-13T14:06:58.995Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/5/ [2020-05-13T14:06:58.995Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/5 /w/workspace/dgexfoundry_device-rest-go_PR-20 [2020-05-13T14:07:00.377Z] Archives upload complete. [2020-05-13T14:07:00.636Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/5 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/5/