Pull request #20 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 32a9f9d1ae90d66de0c666aabab5e708cedc88ca+210f50c9adcd32d3bf7f0011a8b75df57d2f34bd (2bfe851f2096200b015865125864ddfbfd35ceea) Running in Durability level: MAX_SURVIVABILITY 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 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-20/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d # timeout=10 Commit message: "Merge pull request #173 from ernestojeda/bugfix-did-change-prev" > 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 > git --version # 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-6412 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 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd into PR head commit 32a9f9d1ae90d66de0c666aabab5e708cedc88ca > 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 Merge succeeded, producing 32a9f9d1ae90d66de0c666aabab5e708cedc88ca Checking out Revision 32a9f9d1ae90d66de0c666aabab5e708cedc88ca (PR-20) > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 Commit message: "refactor: upgrade SDK to v1.2.0" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-28T05:10:28.808Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-28T05:10:29.070Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-28T05:10:29.246Z] ========================================================= [2020-04-28T05:10:29.246Z] EdgeX Global Pipelines Version Info [2020-04-28T05:10:29.246Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-28T05:10:30.691Z] ------------------- [2020-04-28T05:10:30.691Z] stable info: [2020-04-28T05:10:30.691Z] ------------------- [2020-04-28T05:10:30.691Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-28T05:10:30.691Z] Commit SHA: 997776a94285dd80d478e4f0c197496148fdc64f [2020-04-28T05:10:30.691Z] Message: update stable to v1.0.86 [2020-04-28T05:10:31.258Z] ------------------- [2020-04-28T05:10:31.258Z] experimental info: [2020-04-28T05:10:31.258Z] ------------------- [2020-04-28T05:10:31.258Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-28T05:10:31.258Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-04-28T05:10:31.258Z] Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-28T05:10:33.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-28T05:10:33.699Z] [2020-04-28T05:10:33.699Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-28T05:10:34.057Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-28T05:10:34.057Z] latest: Pulling from edgex-devops/git-semver [2020-04-28T05:10:34.057Z] 9123ac7c32f7: Pulling fs layer [2020-04-28T05:10:34.057Z] b8cc5d1170e3: Pulling fs layer [2020-04-28T05:10:34.057Z] 2924cbbf6a41: Pulling fs layer [2020-04-28T05:10:34.057Z] 93b08a4f1073: Pulling fs layer [2020-04-28T05:10:34.057Z] 93b08a4f1073: Waiting [2020-04-28T05:10:34.057Z] b8cc5d1170e3: Verifying Checksum [2020-04-28T05:10:34.057Z] b8cc5d1170e3: Download complete [2020-04-28T05:10:34.316Z] 9123ac7c32f7: Verifying Checksum [2020-04-28T05:10:34.316Z] 9123ac7c32f7: Download complete [2020-04-28T05:10:34.316Z] 93b08a4f1073: Verifying Checksum [2020-04-28T05:10:34.316Z] 93b08a4f1073: Download complete [2020-04-28T05:10:34.316Z] 2924cbbf6a41: Verifying Checksum [2020-04-28T05:10:34.316Z] 2924cbbf6a41: Download complete [2020-04-28T05:10:34.316Z] 9123ac7c32f7: Pull complete [2020-04-28T05:10:34.575Z] b8cc5d1170e3: Pull complete [2020-04-28T05:10:35.144Z] 2924cbbf6a41: Pull complete [2020-04-28T05:10:35.402Z] 93b08a4f1073: Pull complete [2020-04-28T05:10:35.402Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-28T05:10:35.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-28T05:10:35.550Z] prd-centos7-docker-4c-2g-6412 does not seem to be running inside a container [2020-04-28T05:10:35.591Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-28T05:10:36.145Z] $ docker top e929205c6d145c177cd02c7e85a538c503e7df3b50c0f49cfb49de61ee35164f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-28T05:10:36.474Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-28T05:10:36.474Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-28T05:10:36.681Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-28T05:10:36.690Z] $ docker exec e929205c6d145c177cd02c7e85a538c503e7df3b50c0f49cfb49de61ee35164f ssh-agent [2020-04-28T05:10:36.888Z] SSH_AUTH_SOCK=/tmp/ssh-cNbuxG36mxp9/agent.15 [2020-04-28T05:10:36.888Z] SSH_AGENT_PID=22 [2020-04-28T05:10:36.898Z] Running ssh-add (command line suppressed) [2020-04-28T05:10:37.038Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_540747394574761892.key (/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_540747394574761892.key) [2020-04-28T05:10:37.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-28T05:10:37.447Z] + git describe --exact-match --tags HEAD [2020-04-28T05:10:37.447Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-28T05:10:37.531Z] $ docker exec --env ******** --env ******** e929205c6d145c177cd02c7e85a538c503e7df3b50c0f49cfb49de61ee35164f ssh-agent -k [2020-04-28T05:10:37.674Z] unset SSH_AUTH_SOCK; [2020-04-28T05:10:37.674Z] unset SSH_AGENT_PID; [2020-04-28T05:10:37.674Z] echo Agent pid 22 killed; [2020-04-28T05:10:37.713Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-28T05:10:37.871Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-28T05:10:37.871Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-28T05:10:37.970Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-28T05:10:37.970Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-28T05:10:38.137Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-28T05:10:38.142Z] $ docker exec e929205c6d145c177cd02c7e85a538c503e7df3b50c0f49cfb49de61ee35164f ssh-agent [2020-04-28T05:10:38.318Z] SSH_AUTH_SOCK=/tmp/ssh-X2HJLUvW9hUP/agent.57 [2020-04-28T05:10:38.318Z] SSH_AGENT_PID=64 [2020-04-28T05:10:38.324Z] Running ssh-add (command line suppressed) [2020-04-28T05:10:38.460Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_3633884608751253155.key (/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/private_key_3633884608751253155.key) [2020-04-28T05:10:38.505Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-28T05:10:38.877Z] + git semver init [2020-04-28T05:10:38.877Z] # -> Open(): unable to determine branch for HEAD [2020-04-28T05:10:38.877Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.git [2020-04-28T05:10:38.877Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-20 [2020-04-28T05:10:38.877Z] # $SEMVER_REMOTE_NAME = origin [2020-04-28T05:10:38.877Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-28T05:10:38.877Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-28T05:10:38.877Z] # $SEMVER_BRANCH = PR-20 [2020-04-28T05:10:38.877Z] # $SEMVER_TEMP = /tmp/semver-739820935 [2020-04-28T05:10:38.877Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-04-28T05:10:40.252Z] # '/tmp/semver-739820935' -> '/w/workspace/dgexfoundry_device-rest-go_PR-20/.semver' [2020-04-28T05:10:40.252Z] # -> Force: false [2020-04-28T05:10:40.252Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.semver [Pipeline] } [2020-04-28T05:10:40.280Z] $ docker exec --env ******** --env ******** e929205c6d145c177cd02c7e85a538c503e7df3b50c0f49cfb49de61ee35164f ssh-agent -k [2020-04-28T05:10:40.409Z] unset SSH_AUTH_SOCK; [2020-04-28T05:10:40.410Z] unset SSH_AGENT_PID; [2020-04-28T05:10:40.410Z] echo Agent pid 64 killed; [2020-04-28T05:10:40.456Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-28T05:10:40.987Z] + git semver [Pipeline] } [2020-04-28T05:10:41.020Z] $ docker stop --time=1 e929205c6d145c177cd02c7e85a538c503e7df3b50c0f49cfb49de61ee35164f [2020-04-28T05:10:42.351Z] $ docker rm -f e929205c6d145c177cd02c7e85a538c503e7df3b50c0f49cfb49de61ee35164f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-28T05:10:43.796Z] Stashed 18 file(s) [Pipeline] echo [2020-04-28T05:10:43.811Z] [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-04-28T05:10:59.236Z] Still waiting to schedule task [2020-04-28T05:10:59.236Z] ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4592’ is offline; ‘prd-centos7-docker-4c-2g-5275’ is offline; ‘prd-centos7-docker-4c-2g-5278’ is offline; ‘prd-centos7-docker-4c-2g-5281’ is offline; ‘prd-centos7-docker-4c-2g-6413’ is offline [2020-04-28T05:10:59.255Z] Still waiting to schedule task [2020-04-28T05:10:59.256Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-28T05:12:45.473Z] Running on prd-centos7-docker-4c-2g-6415 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws [2020-04-28T05:12:45.547Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-04-28T05:12:47.758Z] using credential edgex-jenkins-ssh [2020-04-28T05:12:47.808Z] Cloning the remote Git repository [2020-04-28T05:12:47.808Z] Cloning with configured refspecs honoured and without tags [2020-04-28T05:12:47.660Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-04-28T05:12:47.705Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-04-28T05:12:48.903Z] Fetching without tags [2020-04-28T05:12:47.929Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-04-28T05:12:47.929Z] > git --version # timeout=10 [2020-04-28T05:12:47.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-28T05:12:47.971Z] > 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-04-28T05:12:48.786Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-04-28T05:12:48.792Z] > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 [2020-04-28T05:12:48.799Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-28T05:12:48.809Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-04-28T05:12:48.821Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-04-28T05:12:48.822Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-28T05:12:48.826Z] > 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-04-28T05:12:49.338Z] Merging remotes/origin/master commit 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd into PR head commit 32a9f9d1ae90d66de0c666aabab5e708cedc88ca [2020-04-28T05:12:49.412Z] Merge succeeded, producing 32a9f9d1ae90d66de0c666aabab5e708cedc88ca [2020-04-28T05:12:49.412Z] Checking out Revision 32a9f9d1ae90d66de0c666aabab5e708cedc88ca (PR-20) [2020-04-28T05:12:49.294Z] > git config core.sparsecheckout # timeout=10 [2020-04-28T05:12:49.303Z] > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 [2020-04-28T05:12:49.333Z] > git remote # timeout=10 [2020-04-28T05:12:49.340Z] > git config --get remote.origin.url # timeout=10 [2020-04-28T05:12:49.345Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-28T05:12:49.349Z] > git merge 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd # timeout=10 [2020-04-28T05:12:49.358Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-28T05:12:49.374Z] > git config core.sparsecheckout # timeout=10 [2020-04-28T05:12:49.379Z] > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 [2020-04-28T05:12:53.211Z] Commit message: "refactor: upgrade SDK to v1.2.0" [2020-04-28T05:12:53.235Z] > git --version # timeout=10 [2020-04-28T05:12:53.243Z] fatal: bad object 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-28T05:12:54.920Z] ========================================================= [2020-04-28T05:12:54.920Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-28T05:12:54.920Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-28T05:12:55.868Z] + 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-04-28T05:12:56.142Z] Sending build context to Docker daemon 8.014MB [2020-04-28T05:12:56.142Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-04-28T05:12:56.142Z] Step 2/10 : FROM ${BASE} [2020-04-28T05:12:56.142Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-28T05:12:56.142Z] e6b0cf9c0882: Pulling fs layer [2020-04-28T05:12:56.142Z] 2848faf0eed1: Pulling fs layer [2020-04-28T05:12:56.142Z] 0f37312ad70f: Pulling fs layer [2020-04-28T05:12:56.142Z] 5788d62ee057: Pulling fs layer [2020-04-28T05:12:56.142Z] 0e6b1d234666: Pulling fs layer [2020-04-28T05:12:56.142Z] bf5d7aec512f: Pulling fs layer [2020-04-28T05:12:56.142Z] 34c802a77dc8: Pulling fs layer [2020-04-28T05:12:56.142Z] 9eb99e56ec68: Pulling fs layer [2020-04-28T05:12:56.142Z] 27c7a5d97fbd: Pulling fs layer [2020-04-28T05:12:56.142Z] 5c102a31e300: Pulling fs layer [2020-04-28T05:12:56.142Z] dcfb455df0a1: Pulling fs layer [2020-04-28T05:12:56.142Z] 5788d62ee057: Waiting [2020-04-28T05:12:56.142Z] 0e6b1d234666: Waiting [2020-04-28T05:12:56.142Z] bf5d7aec512f: Waiting [2020-04-28T05:12:56.142Z] 34c802a77dc8: Waiting [2020-04-28T05:12:56.142Z] 9eb99e56ec68: Waiting [2020-04-28T05:12:56.142Z] 5c102a31e300: Waiting [2020-04-28T05:12:56.142Z] 27c7a5d97fbd: Waiting [2020-04-28T05:12:56.142Z] dcfb455df0a1: Waiting [2020-04-28T05:12:56.142Z] 0f37312ad70f: Verifying Checksum [2020-04-28T05:12:56.142Z] 0f37312ad70f: Download complete [2020-04-28T05:12:56.142Z] 2848faf0eed1: Download complete [2020-04-28T05:12:56.142Z] 0e6b1d234666: Verifying Checksum [2020-04-28T05:12:56.142Z] 0e6b1d234666: Download complete [2020-04-28T05:12:56.142Z] bf5d7aec512f: Verifying Checksum [2020-04-28T05:12:56.142Z] bf5d7aec512f: Download complete [2020-04-28T05:12:56.142Z] e6b0cf9c0882: Verifying Checksum [2020-04-28T05:12:56.142Z] e6b0cf9c0882: Download complete [2020-04-28T05:12:56.722Z] e6b0cf9c0882: Pull complete [2020-04-28T05:12:56.986Z] 34c802a77dc8: Verifying Checksum [2020-04-28T05:12:56.986Z] 34c802a77dc8: Download complete [2020-04-28T05:12:56.986Z] 27c7a5d97fbd: Verifying Checksum [2020-04-28T05:12:56.986Z] 27c7a5d97fbd: Download complete [2020-04-28T05:12:57.569Z] 5c102a31e300: Verifying Checksum [2020-04-28T05:12:57.569Z] 5c102a31e300: Download complete [2020-04-28T05:12:57.569Z] dcfb455df0a1: Verifying Checksum [2020-04-28T05:12:57.828Z] 5788d62ee057: Verifying Checksum [2020-04-28T05:12:57.828Z] 9eb99e56ec68: Verifying Checksum [2020-04-28T05:12:57.828Z] 9eb99e56ec68: Download complete [2020-04-28T05:12:59.208Z] 2848faf0eed1: Pull complete [2020-04-28T05:12:59.208Z] 0f37312ad70f: Pull complete [2020-04-28T05:13:05.827Z] 5788d62ee057: Pull complete [2020-04-28T05:13:05.827Z] 0e6b1d234666: Pull complete [2020-04-28T05:13:05.827Z] bf5d7aec512f: Pull complete [2020-04-28T05:13:10.079Z] 34c802a77dc8: Pull complete [2020-04-28T05:13:12.622Z] 9eb99e56ec68: Pull complete [2020-04-28T05:13:12.622Z] 27c7a5d97fbd: Pull complete [2020-04-28T05:13:13.561Z] 5c102a31e300: Pull complete [2020-04-28T05:13:13.561Z] dcfb455df0a1: Pull complete [2020-04-28T05:13:13.561Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-28T05:13:13.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-28T05:13:13.561Z] ---> 7c70fe431013 [2020-04-28T05:13:13.561Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-04-28T05:13:13.561Z] ---> Running in eae496b406b5 [2020-04-28T05:13:13.819Z] Removing intermediate container eae496b406b5 [2020-04-28T05:13:13.819Z] ---> 0b70b1413ca0 [2020-04-28T05:13:13.819Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-04-28T05:13:13.819Z] ---> Running in 05c52bb36778 [2020-04-28T05:13:13.819Z] Removing intermediate container 05c52bb36778 [2020-04-28T05:13:13.819Z] ---> 54e6c013f1a2 [2020-04-28T05:13:13.819Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-28T05:13:13.819Z] ---> Running in 18a8b2879307 [2020-04-28T05:13:14.079Z] Removing intermediate container 18a8b2879307 [2020-04-28T05:13:14.079Z] ---> deddfb555925 [2020-04-28T05:13:14.079Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-28T05:13:14.079Z] ---> Running in 9e1ba022985a [2020-04-28T05:13:15.021Z] Removing intermediate container 9e1ba022985a [2020-04-28T05:13:15.021Z] ---> bd96b63e2621 [2020-04-28T05:13:15.021Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-28T05:13:15.021Z] ---> Running in 6d443ff02e88 [2020-04-28T05:13:15.279Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-28T05:13:16.215Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-28T05:13:16.475Z] OK: 143 MiB in 39 packages [2020-04-28T05:13:16.735Z] Removing intermediate container 6d443ff02e88 [2020-04-28T05:13:16.735Z] ---> 315d7e1cb7ce [2020-04-28T05:13:16.735Z] Step 8/10 : WORKDIR /device-rest-go [2020-04-28T05:13:16.735Z] ---> Running in 7537748a3b0e [2020-04-28T05:13:16.996Z] Removing intermediate container 7537748a3b0e [2020-04-28T05:13:16.996Z] ---> 16862e4c16c3 [2020-04-28T05:13:16.996Z] Step 9/10 : COPY . . [2020-04-28T05:13:17.259Z] ---> 00c603e5ded0 [2020-04-28T05:13:17.259Z] Step 10/10 : RUN go mod download [2020-04-28T05:13:17.518Z] ---> Running in 7e7fb0cc630d [2020-04-28T05:13:19.422Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-28T05:13:19.422Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-28T05:13:19.422Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-28T05:13:19.422Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-28T05:13:19.422Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-28T05:13:19.422Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-28T05:13:19.422Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-28T05:13:19.422Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-28T05:13:19.422Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 [2020-04-28T05:13:19.422Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-28T05:13:19.422Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-28T05:13:19.422Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-28T05:13:19.422Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-28T05:13:19.422Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-28T05:13:19.422Z] go: finding github.com/fatih/color v1.7.0 [2020-04-28T05:13:19.422Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-28T05:13:19.422Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-28T05:13:19.422Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-28T05:13:19.422Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-28T05:13:19.680Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-28T05:13:19.680Z] go: finding github.com/google/uuid v1.1.0 [2020-04-28T05:13:19.680Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-28T05:13:19.680Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-28T05:13:19.680Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-28T05:13:19.680Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-28T05:13:19.680Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-28T05:13:19.680Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-28T05:13:19.680Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-28T05:13:19.680Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-28T05:13:19.680Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-28T05:13:19.680Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-28T05:13:19.680Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-28T05:13:19.680Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-28T05:13:19.680Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-28T05:13:19.680Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-28T05:13:19.680Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-28T05:13:19.680Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-28T05:13:19.939Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-28T05:13:19.939Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-28T05:13:19.939Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-28T05:13:19.939Z] go: finding github.com/posener/complete v1.1.1 [2020-04-28T05:13:19.939Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-28T05:13:19.939Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-28T05:13:19.939Z] go: finding github.com/spf13/cast v1.3.0 [2020-04-28T05:13:19.939Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-28T05:13:19.939Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-28T05:13:19.939Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-28T05:13:19.939Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-28T05:13:19.939Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-28T05:13:19.939Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-28T05:13:19.939Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-28T05:13:19.939Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-28T05:13:19.939Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-28T05:13:19.939Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-28T05:13:24.400Z] Removing intermediate container 7e7fb0cc630d [2020-04-28T05:13:24.400Z] ---> 9280d2fe8f06 [2020-04-28T05:13:24.400Z] Successfully built 9280d2fe8f06 [2020-04-28T05:13:24.400Z] 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-04-28T05:13:25.160Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-28T05:13:25.160Z] . [Pipeline] withDockerContainer [2020-04-28T05:13:25.296Z] prd-centos7-docker-4c-2g-6415 does not seem to be running inside a container [2020-04-28T05:13:25.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-x86_64 cat [2020-04-28T05:13:25.847Z] $ docker top 2eb00912c18f05395c4c9d87beffb665b3273d705e1b49ce94045d89e6283443 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-28T05:13:26.372Z] + go version [2020-04-28T05:13:26.372Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-28T05:13:26.687Z] + make test [2020-04-28T05:13:26.687Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-28T05:13:28.608Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-04-28T05:13:38.641Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-04-28T05:13:38.641Z] ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 56.3% of statements [2020-04-28T05:13:38.641Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-28T05:13:40.053Z] gofmt -l . [2020-04-28T05:13:40.053Z] [ "`gofmt -l .`" = "" ] [2020-04-28T05:13:40.053Z] ./bin/test-go-mod-tidy.sh [2020-04-28T05:13:40.622Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-04-28T05:13:41.258Z] Stashed 1 file(s) [Pipeline] } [2020-04-28T05:13:41.275Z] $ docker stop --time=1 2eb00912c18f05395c4c9d87beffb665b3273d705e1b49ce94045d89e6283443 [2020-04-28T05:13:43.172Z] $ docker rm -f 2eb00912c18f05395c4c9d87beffb665b3273d705e1b49ce94045d89e6283443 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-28T05:13:44.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-28T05:13:44.708Z] + ls -al . [2020-04-28T05:13:44.708Z] total 96 [2020-04-28T05:13:44.708Z] drwxrwxr-x. 7 jenkins jenkins 4096 Apr 28 05:13 . [2020-04-28T05:13:44.708Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 28 05:12 .. [2020-04-28T05:13:44.708Z] -rw-rw-r--. 1 jenkins jenkins 4802 Apr 28 05:12 Attribution.txt [2020-04-28T05:13:44.708Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 28 05:12 bin [2020-04-28T05:13:44.708Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 28 05:12 cmd [2020-04-28T05:13:44.708Z] -rw-r--r--. 1 jenkins jenkins 9369 Apr 28 05:13 coverage.out [2020-04-28T05:13:44.708Z] -rw-rw-r--. 1 jenkins jenkins 1504 Apr 28 05:12 Dockerfile [2020-04-28T05:13:44.708Z] -rw-rw-r--. 1 jenkins jenkins 989 Apr 28 05:12 Dockerfile.build [2020-04-28T05:13:44.709Z] -rw-rw-r--. 1 jenkins jenkins 151 Apr 28 05:12 .dockerignore [2020-04-28T05:13:44.709Z] drwxrwxr-x. 2 jenkins jenkins 93 Apr 28 05:13 driver [2020-04-28T05:13:44.709Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 28 05:12 .git [2020-04-28T05:13:44.709Z] -rw-rw-r--. 1 jenkins jenkins 339 Apr 28 05:12 .gitignore [2020-04-28T05:13:44.709Z] -rw-r--r--. 1 jenkins jenkins 266 Apr 28 05:13 go.mod [2020-04-28T05:13:44.709Z] -rw-r--r--. 1 jenkins jenkins 12430 Apr 28 05:13 go.sum [2020-04-28T05:13:44.709Z] -rw-rw-r--. 1 jenkins jenkins 702 Apr 28 05:12 Jenkinsfile [2020-04-28T05:13:44.709Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 28 05:12 LICENSE [2020-04-28T05:13:44.709Z] -rw-rw-r--. 1 jenkins jenkins 951 Apr 28 05:12 Makefile [2020-04-28T05:13:44.709Z] -rw-rw-r--. 1 jenkins jenkins 5716 Apr 28 05:12 README.md [2020-04-28T05:13:44.709Z] drwxrwxr-x. 3 jenkins jenkins 45 Apr 28 05:12 .semver [2020-04-28T05:13:44.709Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 28 05:10 VERSION [2020-04-28T05:13:44.709Z] -rw-rw-r--. 1 jenkins jenkins 713 Apr 28 05:12 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-28T05:13:45.042Z] + 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=32a9f9d1ae90d66de0c666aabab5e708cedc88ca --label arch=amd64 --label version=0.0.0 . [2020-04-28T05:13:45.042Z] Sending build context to Docker daemon 8.026MB [2020-04-28T05:13:45.301Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-04-28T05:13:45.301Z] Step 2/24 : FROM ${BASE} AS builder [2020-04-28T05:13:45.301Z] ---> 9280d2fe8f06 [2020-04-28T05:13:45.301Z] Step 3/24 : ARG MAKE='make build' [2020-04-28T05:13:45.301Z] ---> Running in 885e67143a63 [2020-04-28T05:13:45.301Z] Removing intermediate container 885e67143a63 [2020-04-28T05:13:45.301Z] ---> c5b7532d478d [2020-04-28T05:13:45.301Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-04-28T05:13:45.301Z] ---> Running in 6912f27441b8 [2020-04-28T05:13:45.561Z] Removing intermediate container 6912f27441b8 [2020-04-28T05:13:45.561Z] ---> 3d11b0ea6ecc [2020-04-28T05:13:45.561Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-04-28T05:13:45.561Z] ---> Running in 2ffcd7d80ac4 [2020-04-28T05:13:45.819Z] Removing intermediate container 2ffcd7d80ac4 [2020-04-28T05:13:45.819Z] ---> 2fbbb7a02948 [2020-04-28T05:13:45.819Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-28T05:13:45.819Z] ---> Running in 4c26149a33e1 [2020-04-28T05:13:46.388Z] Removing intermediate container 4c26149a33e1 [2020-04-28T05:13:46.388Z] ---> 345dd99cc193 [2020-04-28T05:13:46.388Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-28T05:13:46.647Z] ---> Running in 5c925f0f2655 [2020-04-28T05:13:46.906Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-28T05:13:47.839Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-28T05:13:48.098Z] OK: 143 MiB in 39 packages [2020-04-28T05:13:48.667Z] Removing intermediate container 5c925f0f2655 [2020-04-28T05:13:48.667Z] ---> a271098bff04 [2020-04-28T05:13:48.667Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-04-28T05:13:48.667Z] ---> Running in b34a9b8d72cc [2020-04-28T05:13:48.930Z] Removing intermediate container b34a9b8d72cc [2020-04-28T05:13:48.930Z] ---> 4163fb291864 [2020-04-28T05:13:48.930Z] Step 9/24 : COPY go.mod . [2020-04-28T05:13:48.930Z] ---> ecf9beea552e [2020-04-28T05:13:48.930Z] Step 10/24 : COPY Makefile . [2020-04-28T05:13:49.189Z] ---> e15542536f0a [2020-04-28T05:13:49.189Z] Step 11/24 : RUN make update [2020-04-28T05:13:49.189Z] ---> Running in ab502c17974f [2020-04-28T05:13:49.457Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-04-28T05:13:50.027Z] Removing intermediate container ab502c17974f [2020-04-28T05:13:50.027Z] ---> 78e7e1b354f1 [2020-04-28T05:13:50.027Z] Step 12/24 : COPY . . [2020-04-28T05:13:50.287Z] ---> e80934d0768c [2020-04-28T05:13:50.287Z] Step 13/24 : RUN $MAKE [2020-04-28T05:13:50.287Z] ---> Running in 65b40e9d4b77 [2020-04-28T05:13:50.548Z] 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-04-28T05:14:00.608Z] Removing intermediate container 65b40e9d4b77 [2020-04-28T05:14:00.608Z] ---> cafeb430f02b [2020-04-28T05:14:00.608Z] Step 14/24 : FROM alpine:latest [2020-04-28T05:14:01.550Z] latest: Pulling from library/alpine [2020-04-28T05:14:01.550Z] cbdbe7a5bc2a: Pulling fs layer [2020-04-28T05:14:01.550Z] cbdbe7a5bc2a: Verifying Checksum [2020-04-28T05:14:01.550Z] cbdbe7a5bc2a: Download complete [2020-04-28T05:14:01.816Z] cbdbe7a5bc2a: Pull complete [2020-04-28T05:14:01.816Z] Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 [2020-04-28T05:14:01.816Z] Status: Downloaded newer image for alpine:latest [2020-04-28T05:14:01.816Z] ---> f70734b6a266 [2020-04-28T05:14:01.816Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-28T05:14:01.816Z] ---> Running in 70f70ce4d058 [2020-04-28T05:14:02.096Z] Removing intermediate container 70f70ce4d058 [2020-04-28T05:14:02.096Z] ---> 3ed4205ff804 [2020-04-28T05:14:02.096Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-04-28T05:14:02.096Z] ---> Running in 3e0ef8ec95df [2020-04-28T05:14:02.096Z] Removing intermediate container 3e0ef8ec95df [2020-04-28T05:14:02.096Z] ---> a77e7750175a [2020-04-28T05:14:02.096Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-04-28T05:14:02.356Z] ---> af6524fd20f1 [2020-04-28T05:14:02.356Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-04-28T05:14:02.616Z] ---> ee8e2edcacd0 [2020-04-28T05:14:02.616Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-04-28T05:14:02.876Z] ---> 3b94450d5cdf [2020-04-28T05:14:02.876Z] Step 20/24 : EXPOSE 49986 [2020-04-28T05:14:03.135Z] ---> Running in f186f82e5587 [2020-04-28T05:14:03.135Z] Removing intermediate container f186f82e5587 [2020-04-28T05:14:03.135Z] ---> 454c49c3c330 [2020-04-28T05:14:03.135Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-04-28T05:14:03.135Z] ---> Running in a1163aaf6504 [2020-04-28T05:14:03.399Z] Removing intermediate container a1163aaf6504 [2020-04-28T05:14:03.399Z] ---> d3ea09d3c86c [2020-04-28T05:14:03.399Z] Step 22/24 : LABEL arch=amd64 [2020-04-28T05:14:03.399Z] ---> Running in f155d4cecdd4 [2020-04-28T05:14:03.399Z] Removing intermediate container f155d4cecdd4 [2020-04-28T05:14:03.399Z] ---> a972cbc1f9bf [2020-04-28T05:14:03.399Z] Step 23/24 : LABEL git_sha=32a9f9d1ae90d66de0c666aabab5e708cedc88ca [2020-04-28T05:14:03.659Z] ---> Running in 6402091f7718 [2020-04-28T05:14:03.659Z] Removing intermediate container 6402091f7718 [2020-04-28T05:14:03.659Z] ---> d39122728c86 [2020-04-28T05:14:03.659Z] Step 24/24 : LABEL version=0.0.0 [2020-04-28T05:14:03.659Z] ---> Running in 82257c1383cd [2020-04-28T05:14:03.918Z] Removing intermediate container 82257c1383cd [2020-04-28T05:14:03.918Z] ---> 66cf3bf5e00e [2020-04-28T05:14:03.918Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-28T05:14:03.918Z] Successfully built 66cf3bf5e00e [2020-04-28T05:14:03.918Z] 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-04-28T05:14:28.475Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6417 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws [2020-04-28T05:14:28.542Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-04-28T05:14:34.030Z] using credential edgex-jenkins-ssh [2020-04-28T05:14:34.139Z] Cloning the remote Git repository [2020-04-28T05:14:34.139Z] Cloning with configured refspecs honoured and without tags [2020-04-28T05:14:34.184Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-04-28T05:14:34.279Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-04-28T05:14:34.362Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-04-28T05:14:34.363Z] > git --version # timeout=10 [2020-04-28T05:14:34.402Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-28T05:14:34.464Z] > 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-04-28T05:14:36.392Z] Fetching without tags [2020-04-28T05:14:36.900Z] Merging remotes/origin/master commit 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd into PR head commit 32a9f9d1ae90d66de0c666aabab5e708cedc88ca [2020-04-28T05:14:37.215Z] Merge succeeded, producing 32a9f9d1ae90d66de0c666aabab5e708cedc88ca [2020-04-28T05:14:37.216Z] Checking out Revision 32a9f9d1ae90d66de0c666aabab5e708cedc88ca (PR-20) [2020-04-28T05:14:36.253Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-04-28T05:14:36.268Z] > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 [2020-04-28T05:14:36.302Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-28T05:14:36.334Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-04-28T05:14:36.392Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-04-28T05:14:36.393Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-28T05:14:36.405Z] > 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-04-28T05:14:36.906Z] > git config core.sparsecheckout # timeout=10 [2020-04-28T05:14:36.932Z] > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 [2020-04-28T05:14:37.014Z] > git remote # timeout=10 [2020-04-28T05:14:37.044Z] > git config --get remote.origin.url # timeout=10 [2020-04-28T05:14:37.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-28T05:14:37.072Z] > git merge 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd # timeout=10 [2020-04-28T05:14:37.157Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-28T05:14:37.215Z] > git config core.sparsecheckout # timeout=10 [2020-04-28T05:14:37.253Z] > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 [2020-04-28T05:14:41.779Z] Commit message: "refactor: upgrade SDK to v1.2.0" [2020-04-28T05:14:41.820Z] > git --version # timeout=10 [2020-04-28T05:14:41.845Z] fatal: bad object 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-28T05:14:43.978Z] ========================================================= [2020-04-28T05:14:43.978Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-28T05:14:43.978Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-28T05:14:44.974Z] + 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-04-28T05:14:45.963Z] Sending build context to Docker daemon 8.014MB [2020-04-28T05:14:45.963Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-04-28T05:14:45.963Z] Step 2/10 : FROM ${BASE} [2020-04-28T05:14:46.232Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-28T05:14:46.232Z] cde5963f3b93: Pulling fs layer [2020-04-28T05:14:46.232Z] 2a23fa8c16f7: Pulling fs layer [2020-04-28T05:14:46.232Z] 777b28850792: Pulling fs layer [2020-04-28T05:14:46.232Z] 8a11ddd9e578: Pulling fs layer [2020-04-28T05:14:46.232Z] 4cf88f913ddb: Pulling fs layer [2020-04-28T05:14:46.232Z] 1df406cf5192: Pulling fs layer [2020-04-28T05:14:46.232Z] cd6300453558: Pulling fs layer [2020-04-28T05:14:46.232Z] b9c365052c96: Pulling fs layer [2020-04-28T05:14:46.232Z] a2d8cc88f415: Pulling fs layer [2020-04-28T05:14:46.232Z] ea1d1ca13537: Pulling fs layer [2020-04-28T05:14:46.232Z] 3750a50a1c5e: Pulling fs layer [2020-04-28T05:14:46.232Z] 8a11ddd9e578: Waiting [2020-04-28T05:14:46.232Z] 4cf88f913ddb: Waiting [2020-04-28T05:14:46.232Z] 1df406cf5192: Waiting [2020-04-28T05:14:46.232Z] cd6300453558: Waiting [2020-04-28T05:14:46.232Z] b9c365052c96: Waiting [2020-04-28T05:14:46.232Z] a2d8cc88f415: Waiting [2020-04-28T05:14:46.232Z] ea1d1ca13537: Waiting [2020-04-28T05:14:46.232Z] 3750a50a1c5e: Waiting [2020-04-28T05:14:46.232Z] 777b28850792: Verifying Checksum [2020-04-28T05:14:46.232Z] 777b28850792: Download complete [2020-04-28T05:14:46.232Z] 2a23fa8c16f7: Download complete [2020-04-28T05:14:46.232Z] 4cf88f913ddb: Download complete [2020-04-28T05:14:46.232Z] 1df406cf5192: Verifying Checksum [2020-04-28T05:14:46.232Z] 1df406cf5192: Download complete [2020-04-28T05:14:46.508Z] cde5963f3b93: Verifying Checksum [2020-04-28T05:14:47.102Z] cde5963f3b93: Pull complete [2020-04-28T05:14:48.072Z] 2a23fa8c16f7: Pull complete [2020-04-28T05:14:48.072Z] 777b28850792: Pull complete [2020-04-28T05:14:50.679Z] cd6300453558: Verifying Checksum [2020-04-28T05:14:50.679Z] cd6300453558: Download complete [2020-04-28T05:14:50.679Z] a2d8cc88f415: Verifying Checksum [2020-04-28T05:14:50.679Z] a2d8cc88f415: Download complete [2020-04-28T05:14:53.276Z] ea1d1ca13537: Verifying Checksum [2020-04-28T05:14:53.276Z] ea1d1ca13537: Download complete [2020-04-28T05:14:53.276Z] 3750a50a1c5e: Verifying Checksum [2020-04-28T05:14:53.276Z] 3750a50a1c5e: Download complete [2020-04-28T05:14:55.819Z] b9c365052c96: Verifying Checksum [2020-04-28T05:14:55.819Z] b9c365052c96: Download complete [2020-04-28T05:14:57.770Z] 8a11ddd9e578: Verifying Checksum [2020-04-28T05:14:57.770Z] 8a11ddd9e578: Download complete [2020-04-28T05:15:10.108Z] 8a11ddd9e578: Pull complete [2020-04-28T05:15:10.108Z] 4cf88f913ddb: Pull complete [2020-04-28T05:15:10.108Z] 1df406cf5192: Pull complete [2020-04-28T05:15:14.392Z] cd6300453558: Pull complete [2020-04-28T05:15:19.750Z] b9c365052c96: Pull complete [2020-04-28T05:15:19.750Z] a2d8cc88f415: Pull complete [2020-04-28T05:15:21.172Z] ea1d1ca13537: Pull complete [2020-04-28T05:15:21.761Z] 3750a50a1c5e: Pull complete [2020-04-28T05:15:21.761Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-28T05:15:21.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-28T05:15:21.761Z] ---> 78745c68409d [2020-04-28T05:15:21.761Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-04-28T05:15:26.035Z] ---> Running in 2145517cbbbe [2020-04-28T05:15:26.312Z] Removing intermediate container 2145517cbbbe [2020-04-28T05:15:26.312Z] ---> a740d14fee16 [2020-04-28T05:15:26.312Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-04-28T05:15:26.312Z] ---> Running in 15565a7663d2 [2020-04-28T05:15:26.900Z] Removing intermediate container 15565a7663d2 [2020-04-28T05:15:26.900Z] ---> ea3304e8a311 [2020-04-28T05:15:26.900Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-28T05:15:26.900Z] ---> Running in c012a088357f [2020-04-28T05:15:27.170Z] Removing intermediate container c012a088357f [2020-04-28T05:15:27.170Z] ---> 8dc601105cc1 [2020-04-28T05:15:27.170Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-28T05:15:27.438Z] ---> Running in 3e010d58917f [2020-04-28T05:15:29.390Z] Removing intermediate container 3e010d58917f [2020-04-28T05:15:29.390Z] ---> 6eedd4dab8da [2020-04-28T05:15:29.390Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-28T05:15:29.661Z] ---> Running in fbff4aa4736f [2020-04-28T05:15:30.624Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-28T05:15:31.598Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-28T05:15:32.185Z] OK: 125 MiB in 39 packages [2020-04-28T05:15:33.597Z] Removing intermediate container fbff4aa4736f [2020-04-28T05:15:33.597Z] ---> ccbe0070f464 [2020-04-28T05:15:33.597Z] Step 8/10 : WORKDIR /device-rest-go [2020-04-28T05:15:33.597Z] ---> Running in 90fcee72a93d [2020-04-28T05:15:33.867Z] Removing intermediate container 90fcee72a93d [2020-04-28T05:15:33.867Z] ---> 8d2efbfe89b6 [2020-04-28T05:15:33.867Z] Step 9/10 : COPY . . [2020-04-28T05:15:34.831Z] ---> 3993eafae1f7 [2020-04-28T05:15:34.831Z] Step 10/10 : RUN go mod download [2020-04-28T05:15:35.100Z] ---> Running in 8f55a4bcf28d [2020-04-28T05:15:37.059Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-28T05:15:37.059Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-28T05:15:37.059Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-28T05:15:37.059Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-28T05:15:37.059Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-28T05:15:37.059Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-28T05:15:37.059Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-28T05:15:37.059Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-28T05:15:37.059Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 [2020-04-28T05:15:37.059Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-28T05:15:37.059Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-28T05:15:37.059Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-28T05:15:37.059Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-28T05:15:37.059Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-28T05:15:37.059Z] go: finding github.com/fatih/color v1.7.0 [2020-04-28T05:15:37.060Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-28T05:15:37.060Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-28T05:15:37.060Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-28T05:15:37.060Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-28T05:15:37.060Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-28T05:15:37.060Z] go: finding github.com/google/uuid v1.1.0 [2020-04-28T05:15:37.060Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-28T05:15:37.327Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-28T05:15:37.327Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-28T05:15:37.327Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-28T05:15:37.327Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-28T05:15:37.327Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-28T05:15:37.327Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-28T05:15:37.327Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-28T05:15:37.327Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-28T05:15:37.327Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-28T05:15:37.327Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-28T05:15:37.327Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-28T05:15:37.327Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-28T05:15:37.327Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-28T05:15:37.327Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-28T05:15:37.327Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-28T05:15:37.327Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-28T05:15:37.606Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-28T05:15:37.606Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-28T05:15:37.606Z] go: finding github.com/posener/complete v1.1.1 [2020-04-28T05:15:37.606Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-28T05:15:37.606Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-28T05:15:37.606Z] go: finding github.com/spf13/cast v1.3.0 [2020-04-28T05:15:37.606Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-28T05:15:37.606Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-28T05:15:37.606Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-28T05:15:37.606Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-28T05:15:37.606Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-28T05:15:37.606Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-28T05:15:37.606Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-28T05:15:37.606Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-28T05:15:37.606Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-28T05:15:37.606Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-28T05:15:47.697Z] Removing intermediate container 8f55a4bcf28d [2020-04-28T05:15:47.697Z] ---> 1a7d30e7c069 [2020-04-28T05:15:47.697Z] Successfully built 1a7d30e7c069 [2020-04-28T05:15:47.697Z] 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-04-28T05:15:48.527Z] + docker inspect -f . ci-base-image-arm64 [2020-04-28T05:15:48.796Z] . [Pipeline] withDockerContainer [2020-04-28T05:15:49.146Z] prd-ubuntu18.04-docker-arm64-4c-16g-6417 does not seem to be running inside a container [2020-04-28T05:15:49.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2020-04-28T05:15:50.855Z] $ docker top 68e86c671081fe69c5e48b906748de09384e30fdaa0cccf35845cd3d6d16d51e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-28T05:15:52.008Z] + go version [2020-04-28T05:15:52.008Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-28T05:15:52.684Z] + make test [2020-04-28T05:15:52.684Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-28T05:15:53.656Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-04-28T05:16:25.993Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-04-28T05:16:25.993Z] ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 56.3% of statements [2020-04-28T05:16:25.993Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-28T05:16:29.366Z] gofmt -l . [2020-04-28T05:16:29.366Z] [ "`gofmt -l .`" = "" ] [2020-04-28T05:16:29.366Z] ./bin/test-go-mod-tidy.sh [2020-04-28T05:16:29.638Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-04-28T05:16:30.257Z] Warning: overwriting stash ‘coverage-report’ [2020-04-28T05:16:30.656Z] Stashed 1 file(s) [Pipeline] } [2020-04-28T05:16:30.676Z] $ docker stop --time=1 68e86c671081fe69c5e48b906748de09384e30fdaa0cccf35845cd3d6d16d51e [2020-04-28T05:16:32.969Z] $ docker rm -f 68e86c671081fe69c5e48b906748de09384e30fdaa0cccf35845cd3d6d16d51e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-28T05:16:34.347Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-28T05:16:34.715Z] + ls -al . [2020-04-28T05:16:34.715Z] total 120 [2020-04-28T05:16:34.715Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 28 05:16 . [2020-04-28T05:16:34.715Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:14 .. [2020-04-28T05:16:34.715Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 28 05:14 .dockerignore [2020-04-28T05:16:34.715Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 05:14 .git [2020-04-28T05:16:34.715Z] -rw-rw-r-- 1 jenkins jenkins 339 Apr 28 05:14 .gitignore [2020-04-28T05:16:34.715Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:14 .semver [2020-04-28T05:16:34.715Z] -rw-rw-r-- 1 jenkins jenkins 4802 Apr 28 05:14 Attribution.txt [2020-04-28T05:16:34.715Z] -rw-rw-r-- 1 jenkins jenkins 1504 Apr 28 05:14 Dockerfile [2020-04-28T05:16:34.715Z] -rw-rw-r-- 1 jenkins jenkins 989 Apr 28 05:14 Dockerfile.build [2020-04-28T05:16:34.715Z] -rw-rw-r-- 1 jenkins jenkins 702 Apr 28 05:14 Jenkinsfile [2020-04-28T05:16:34.715Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 28 05:14 LICENSE [2020-04-28T05:16:34.715Z] -rw-rw-r-- 1 jenkins jenkins 951 Apr 28 05:14 Makefile [2020-04-28T05:16:34.715Z] -rw-rw-r-- 1 jenkins jenkins 5716 Apr 28 05:14 README.md [2020-04-28T05:16:34.715Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 05:10 VERSION [2020-04-28T05:16:34.715Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:14 bin [2020-04-28T05:16:34.715Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:14 cmd [2020-04-28T05:16:34.715Z] -rw-r--r-- 1 jenkins jenkins 9369 Apr 28 05:16 coverage.out [2020-04-28T05:16:34.715Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:16 driver [2020-04-28T05:16:34.715Z] -rw-r--r-- 1 jenkins jenkins 266 Apr 28 05:16 go.mod [2020-04-28T05:16:34.715Z] -rw-r--r-- 1 jenkins jenkins 12430 Apr 28 05:16 go.sum [2020-04-28T05:16:34.715Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 28 05:14 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-28T05:16:35.083Z] + 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=32a9f9d1ae90d66de0c666aabab5e708cedc88ca --label arch=arm64 --label version=0.0.0 . [2020-04-28T05:16:35.354Z] Sending build context to Docker daemon 8.026MB [2020-04-28T05:16:35.623Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-04-28T05:16:35.623Z] Step 2/24 : FROM ${BASE} AS builder [2020-04-28T05:16:35.623Z] ---> 1a7d30e7c069 [2020-04-28T05:16:35.623Z] Step 3/24 : ARG MAKE='make build' [2020-04-28T05:16:35.892Z] ---> Running in 53adea737590 [2020-04-28T05:16:36.161Z] Removing intermediate container 53adea737590 [2020-04-28T05:16:36.161Z] ---> 7411e2679189 [2020-04-28T05:16:36.161Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-04-28T05:16:36.161Z] ---> Running in 2f5bd433138b [2020-04-28T05:16:36.430Z] Removing intermediate container 2f5bd433138b [2020-04-28T05:16:36.430Z] ---> ae44992f5822 [2020-04-28T05:16:36.430Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-04-28T05:16:36.698Z] ---> Running in d6b15a3c91c7 [2020-04-28T05:16:36.965Z] Removing intermediate container d6b15a3c91c7 [2020-04-28T05:16:36.965Z] ---> 2c8f5a869eea [2020-04-28T05:16:36.965Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-28T05:16:37.238Z] ---> Running in 9fe4d7073513 [2020-04-28T05:16:39.212Z] Removing intermediate container 9fe4d7073513 [2020-04-28T05:16:39.212Z] ---> af4da5753163 [2020-04-28T05:16:39.212Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-28T05:16:39.212Z] ---> Running in 9760eb86e50a [2020-04-28T05:16:39.813Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-28T05:16:40.790Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-28T05:16:41.773Z] OK: 125 MiB in 39 packages [2020-04-28T05:16:43.192Z] Removing intermediate container 9760eb86e50a [2020-04-28T05:16:43.192Z] ---> 928e26fff145 [2020-04-28T05:16:43.192Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-04-28T05:16:43.462Z] ---> Running in 1e8d7bec9829 [2020-04-28T05:16:43.729Z] Removing intermediate container 1e8d7bec9829 [2020-04-28T05:16:43.729Z] ---> ed80f6848d70 [2020-04-28T05:16:43.729Z] Step 9/24 : COPY go.mod . [2020-04-28T05:16:44.314Z] ---> 633e7519d828 [2020-04-28T05:16:44.314Z] Step 10/24 : COPY Makefile . [2020-04-28T05:16:44.583Z] ---> 76e9996c1f3f [2020-04-28T05:16:44.583Z] Step 11/24 : RUN make update [2020-04-28T05:16:44.853Z] ---> Running in f3ceea1462a1 [2020-04-28T05:16:45.824Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-04-28T05:16:46.797Z] Removing intermediate container f3ceea1462a1 [2020-04-28T05:16:46.797Z] ---> 364ffad59430 [2020-04-28T05:16:46.797Z] Step 12/24 : COPY . . [2020-04-28T05:16:47.760Z] ---> 02bbffeb8ff7 [2020-04-28T05:16:47.761Z] Step 13/24 : RUN $MAKE [2020-04-28T05:16:48.029Z] ---> Running in 59ba3359d177 [2020-04-28T05:16:48.998Z] 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-04-28T05:17:15.718Z] Removing intermediate container 59ba3359d177 [2020-04-28T05:17:15.718Z] ---> f94368665bb6 [2020-04-28T05:17:15.718Z] Step 14/24 : FROM alpine:latest [2020-04-28T05:17:15.718Z] latest: Pulling from library/alpine [2020-04-28T05:17:15.718Z] 29e5d40040c1: Pulling fs layer [2020-04-28T05:17:15.718Z] 29e5d40040c1: Verifying Checksum [2020-04-28T05:17:15.718Z] 29e5d40040c1: Download complete [2020-04-28T05:17:15.990Z] 29e5d40040c1: Pull complete [2020-04-28T05:17:15.990Z] Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 [2020-04-28T05:17:15.990Z] Status: Downloaded newer image for alpine:latest [2020-04-28T05:17:15.990Z] ---> c20d2a9ab686 [2020-04-28T05:17:15.990Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-28T05:17:16.260Z] ---> Running in d10b16fb77d7 [2020-04-28T05:17:16.529Z] Removing intermediate container d10b16fb77d7 [2020-04-28T05:17:16.529Z] ---> 3e3467b141a6 [2020-04-28T05:17:16.529Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-04-28T05:17:16.798Z] ---> Running in 19107dbd3388 [2020-04-28T05:17:17.066Z] Removing intermediate container 19107dbd3388 [2020-04-28T05:17:17.066Z] ---> 1df040a79a07 [2020-04-28T05:17:17.066Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-04-28T05:17:17.653Z] ---> 97335b9e8a2a [2020-04-28T05:17:17.653Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-04-28T05:17:18.238Z] ---> 22495fb8a1c4 [2020-04-28T05:17:18.238Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-04-28T05:17:19.203Z] ---> 1dc827c5d766 [2020-04-28T05:17:19.203Z] Step 20/24 : EXPOSE 49986 [2020-04-28T05:17:19.472Z] ---> Running in a4feb3a37a18 [2020-04-28T05:17:19.740Z] Removing intermediate container a4feb3a37a18 [2020-04-28T05:17:19.740Z] ---> 59426e9d284c [2020-04-28T05:17:19.740Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-04-28T05:17:20.010Z] ---> Running in 39f839ca0e96 [2020-04-28T05:17:20.279Z] Removing intermediate container 39f839ca0e96 [2020-04-28T05:17:20.279Z] ---> ddcf3f42f1bb [2020-04-28T05:17:20.279Z] Step 22/24 : LABEL arch=arm64 [2020-04-28T05:17:20.279Z] ---> Running in 2cefed214e98 [2020-04-28T05:17:20.862Z] Removing intermediate container 2cefed214e98 [2020-04-28T05:17:20.862Z] ---> fdbf9bb9a435 [2020-04-28T05:17:20.862Z] Step 23/24 : LABEL git_sha=32a9f9d1ae90d66de0c666aabab5e708cedc88ca [2020-04-28T05:17:20.862Z] ---> Running in 34dc0b396b0b [2020-04-28T05:17:21.132Z] Removing intermediate container 34dc0b396b0b [2020-04-28T05:17:21.132Z] ---> d4be4a63d742 [2020-04-28T05:17:21.132Z] Step 24/24 : LABEL version=0.0.0 [2020-04-28T05:17:21.132Z] ---> Running in 5de2a48a5900 [2020-04-28T05:17:21.400Z] Removing intermediate container 5de2a48a5900 [2020-04-28T05:17:21.400Z] ---> 20fa3d897f94 [2020-04-28T05:17:21.400Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-28T05:17:21.666Z] Successfully built 20fa3d897f94 [2020-04-28T05:17:21.666Z] 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-04-28T05:17:23.511Z] provisioning config files... [2020-04-28T05:17:23.558Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config3770565412928547893tmp [Pipeline] { [Pipeline] sh [2020-04-28T05:17:23.941Z] + curl -s https://codecov.io/bash [2020-04-28T05:17:23.942Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config3770565412928547893tmp [2020-04-28T05:17:24.200Z] [2020-04-28T05:17:24.200Z] _____ _ [2020-04-28T05:17:24.200Z] / ____| | | [2020-04-28T05:17:24.200Z] | | ___ __| | ___ ___ _____ __ [2020-04-28T05:17:24.200Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-28T05:17:24.200Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-28T05:17:24.200Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-28T05:17:24.200Z] Bash-tbd [2020-04-28T05:17:24.200Z] [2020-04-28T05:17:24.200Z] [2020-04-28T05:17:24.200Z] ==> Jenkins CI detected. [2020-04-28T05:17:24.200Z] project root: . [2020-04-28T05:17:24.200Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-28T05:17:24.200Z] ==> Running gcov in . (disable via -X gcov) [2020-04-28T05:17:24.200Z] ==> Python coveragepy not found [2020-04-28T05:17:24.200Z] ==> Searching for coverage reports in: [2020-04-28T05:17:24.200Z] + . [2020-04-28T05:17:24.200Z] -> Found 1 reports [2020-04-28T05:17:24.200Z] ==> Detecting git/mercurial file structure [2020-04-28T05:17:24.200Z] ==> Reading reports [2020-04-28T05:17:24.200Z] + ./coverage.out bytes=9369 [2020-04-28T05:17:24.200Z] ==> Appending adjustments [2020-04-28T05:17:24.200Z] http://docs.codecov.io/docs/fixing-reports [2020-04-28T05:17:24.200Z] + Found adjustments [2020-04-28T05:17:24.200Z] ==> Gzipping contents [2020-04-28T05:17:24.200Z] ==> Uploading reports [2020-04-28T05:17:24.200Z] url: https://codecov.io [2020-04-28T05:17:24.200Z] query: branch=PR-20&commit=32a9f9d1ae90d66de0c666aabab5e708cedc88ca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-20%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=20&job= [2020-04-28T05:17:24.200Z] -> Pinging Codecov [2020-04-28T05:17:24.200Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-20&commit=32a9f9d1ae90d66de0c666aabab5e708cedc88ca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-20%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=20&job= [2020-04-28T05:17:24.772Z] -> Uploading [2020-04-28T05:17:25.033Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/32a9f9d1ae90d66de0c666aabab5e708cedc88ca [Pipeline] } [2020-04-28T05:17:25.053Z] 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-04-28T05:17:26.809Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-28T05:17:27.139Z] ---> package-listing.sh [2020-04-28T05:17:27.139Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-28T05:17:27.139Z] ++ facter osfamily [2020-04-28T05:17:27.139Z] + OS_FAMILY=redhat [2020-04-28T05:17:27.139Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-20 [2020-04-28T05:17:27.139Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-28T05:17:27.139Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-28T05:17:27.139Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-28T05:17:27.139Z] + PACKAGES=/tmp/packages_start.txt [2020-04-28T05:17:27.139Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' [2020-04-28T05:17:27.139Z] + PACKAGES=/tmp/packages_end.txt [2020-04-28T05:17:27.139Z] + case "${OS_FAMILY}" in [2020-04-28T05:17:27.139Z] + rpm -qa [2020-04-28T05:17:27.139Z] + sort [2020-04-28T05:17:31.323Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-28T05:17:31.323Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-28T05:17:31.323Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-28T05:17:31.323Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' [2020-04-28T05:17:31.323Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-20/archives/ [2020-04-28T05:17:31.323Z] + 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-04-28T05:17:31.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-28T05:17:31.712Z] [2020-04-28T05:17:31.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-28T05:17:32.104Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-28T05:17:32.104Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-28T05:17:32.104Z] c9b1b535fdd9: Pulling fs layer [2020-04-28T05:17:32.104Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-28T05:17:32.104Z] 756a868c4378: Pulling fs layer [2020-04-28T05:17:32.104Z] 444b2fc9a129: Pulling fs layer [2020-04-28T05:17:32.104Z] ea15f1150254: Pulling fs layer [2020-04-28T05:17:32.104Z] 41b27a9f41bf: Pulling fs layer [2020-04-28T05:17:32.104Z] 28c525ee5125: Pulling fs layer [2020-04-28T05:17:32.104Z] 094b1ea09ed8: Pulling fs layer [2020-04-28T05:17:32.104Z] 138eaada9080: Pulling fs layer [2020-04-28T05:17:32.104Z] 0622d0fa9048: Pulling fs layer [2020-04-28T05:17:32.104Z] 41b27a9f41bf: Waiting [2020-04-28T05:17:32.104Z] 28c525ee5125: Waiting [2020-04-28T05:17:32.104Z] 094b1ea09ed8: Waiting [2020-04-28T05:17:32.104Z] 138eaada9080: Waiting [2020-04-28T05:17:32.104Z] 444b2fc9a129: Waiting [2020-04-28T05:17:32.104Z] 0622d0fa9048: Waiting [2020-04-28T05:17:32.104Z] ea15f1150254: Waiting [2020-04-28T05:17:32.104Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-28T05:17:32.104Z] 2cc5ad85d9ab: Download complete [2020-04-28T05:17:32.104Z] 444b2fc9a129: Verifying Checksum [2020-04-28T05:17:32.104Z] 444b2fc9a129: Download complete [2020-04-28T05:17:32.369Z] c9b1b535fdd9: Verifying Checksum [2020-04-28T05:17:32.369Z] ea15f1150254: Download complete [2020-04-28T05:17:32.369Z] 28c525ee5125: Download complete [2020-04-28T05:17:32.635Z] c9b1b535fdd9: Pull complete [2020-04-28T05:17:32.636Z] 2cc5ad85d9ab: Pull complete [2020-04-28T05:17:32.901Z] 756a868c4378: Verifying Checksum [2020-04-28T05:17:32.901Z] 756a868c4378: Download complete [2020-04-28T05:17:33.165Z] 138eaada9080: Verifying Checksum [2020-04-28T05:17:33.165Z] 138eaada9080: Download complete [2020-04-28T05:17:33.165Z] 0622d0fa9048: Verifying Checksum [2020-04-28T05:17:33.165Z] 0622d0fa9048: Download complete [2020-04-28T05:17:33.426Z] 094b1ea09ed8: Verifying Checksum [2020-04-28T05:17:33.426Z] 094b1ea09ed8: Download complete [2020-04-28T05:17:33.685Z] 41b27a9f41bf: Verifying Checksum [2020-04-28T05:17:33.685Z] 41b27a9f41bf: Download complete [2020-04-28T05:17:34.624Z] 756a868c4378: Pull complete [2020-04-28T05:17:34.624Z] 444b2fc9a129: Pull complete [2020-04-28T05:17:34.884Z] ea15f1150254: Pull complete [2020-04-28T05:17:38.174Z] 41b27a9f41bf: Pull complete [2020-04-28T05:17:38.434Z] 28c525ee5125: Pull complete [2020-04-28T05:17:40.343Z] 094b1ea09ed8: Pull complete [2020-04-28T05:17:40.607Z] 138eaada9080: Pull complete [2020-04-28T05:17:40.869Z] 0622d0fa9048: Pull complete [2020-04-28T05:17:40.869Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-28T05:17:40.869Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-28T05:17:41.036Z] prd-centos7-docker-4c-2g-6412 does not seem to be running inside a container [2020-04-28T05:17:41.080Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-28T05:17:41.946Z] $ docker top e684d3fbc1293b76fe114986d0f8daa947e2253b372d08d0733b7c2f6a2bd4fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-28T05:17:42.314Z] provisioning config files... [2020-04-28T05:17:42.327Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config8141430402586542858tmp [Pipeline] { [Pipeline] echo [2020-04-28T05:17:42.425Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-28T05:17:42.755Z] ---> create-netrc.sh [Pipeline] echo [2020-04-28T05:17:42.778Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-28T05:17:43.090Z] ---> logs-deploy.sh [2020-04-28T05:17:43.090Z] + ARCHIVE_ARTIFACTS= [2020-04-28T05:17:43.090Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-28T05:17:43.090Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-28T05:17:43.090Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-28T05:17:43.090Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/1 [2020-04-28T05:17:43.090Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/1/ [2020-04-28T05:17:43.090Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/1 /w/workspace/dgexfoundry_device-rest-go_PR-20 [2020-04-28T05:17:44.465Z] Archives upload complete. [2020-04-28T05:17:44.465Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/1/ [2020-04-28T05:17:45.032Z] ---> uname -a: [2020-04-28T05:17:45.032Z] Linux e684d3fbc129 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-04-28T05:17:45.032Z] [2020-04-28T05:17:45.032Z] [2020-04-28T05:17:45.032Z] ---> lscpu: [2020-04-28T05:17:45.032Z] Architecture: x86_64 [2020-04-28T05:17:45.032Z] CPU op-mode(s): 32-bit, 64-bit [2020-04-28T05:17:45.032Z] Byte Order: Little Endian [2020-04-28T05:17:45.032Z] Address sizes: 40 bits physical, 48 bits virtual [2020-04-28T05:17:45.032Z] CPU(s): 4 [2020-04-28T05:17:45.032Z] On-line CPU(s) list: 0-3 [2020-04-28T05:17:45.032Z] Thread(s) per core: 1 [2020-04-28T05:17:45.032Z] Core(s) per socket: 1 [2020-04-28T05:17:45.032Z] Socket(s): 4 [2020-04-28T05:17:45.032Z] NUMA node(s): 1 [2020-04-28T05:17:45.032Z] Vendor ID: GenuineIntel [2020-04-28T05:17:45.032Z] CPU family: 6 [2020-04-28T05:17:45.032Z] Model: 44 [2020-04-28T05:17:45.032Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-04-28T05:17:45.032Z] Stepping: 1 [2020-04-28T05:17:45.032Z] CPU MHz: 2933.396 [2020-04-28T05:17:45.032Z] BogoMIPS: 5866.79 [2020-04-28T05:17:45.032Z] Virtualization: VT-x [2020-04-28T05:17:45.032Z] Hypervisor vendor: KVM [2020-04-28T05:17:45.032Z] Virtualization type: full [2020-04-28T05:17:45.032Z] L1d cache: 128 KiB [2020-04-28T05:17:45.032Z] L1i cache: 128 KiB [2020-04-28T05:17:45.032Z] L2 cache: 16 MiB [2020-04-28T05:17:45.032Z] L3 cache: 64 MiB [2020-04-28T05:17:45.032Z] NUMA node0 CPU(s): 0-3 [2020-04-28T05:17:45.032Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes [2020-04-28T05:17:45.032Z] Vulnerability Meltdown: Mitigation; PTI [2020-04-28T05:17:45.032Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-04-28T05:17:45.032Z] Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization [2020-04-28T05:17:45.032Z] Vulnerability Spectre v2: Mitigation; Full retpoline [2020-04-28T05:17:45.032Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-04-28T05:17:45.032Z] [2020-04-28T05:17:45.032Z] [2020-04-28T05:17:45.032Z] ---> nproc: [2020-04-28T05:17:45.032Z] 4 [2020-04-28T05:17:45.032Z] [2020-04-28T05:17:45.032Z] [2020-04-28T05:17:45.032Z] ---> df -h: [2020-04-28T05:17:45.032Z] Filesystem Size Used Available Use% Mounted on [2020-04-28T05:17:45.032Z] overlay 50.0G 6.3G 43.6G 13% / [2020-04-28T05:17:45.032Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-04-28T05:17:45.032Z] tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup [2020-04-28T05:17:45.032Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-04-28T05:17:45.032Z] /dev/vda1 50.0G 6.3G 43.6G 13% /etc/resolv.conf [2020-04-28T05:17:45.032Z] /dev/vda1 50.0G 6.3G 43.6G 13% /etc/hostname [2020-04-28T05:17:45.032Z] /dev/vda1 50.0G 6.3G 43.6G 13% /etc/hosts [2020-04-28T05:17:45.032Z] /dev/vda1 50.0G 6.3G 43.6G 13% /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp [2020-04-28T05:17:45.032Z] /dev/vda1 50.0G 6.3G 43.6G 13% /var/log/sa [2020-04-28T05:17:45.032Z] /dev/vda1 50.0G 6.3G 43.6G 13% /w/workspace/dgexfoundry_device-rest-go_PR-20 [2020-04-28T05:17:45.032Z] [2020-04-28T05:17:45.032Z] [2020-04-28T05:17:45.032Z] ---> free -m: [2020-04-28T05:17:45.032Z] total used free shared buff/cache available [2020-04-28T05:17:45.032Z] Mem: 1838 594 76 0 1167 1139 [2020-04-28T05:17:45.032Z] Swap: 1023 1 1022 [2020-04-28T05:17:45.032Z] [2020-04-28T05:17:45.032Z] [2020-04-28T05:17:45.032Z] ---> ip addr: [2020-04-28T05:17:45.032Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-04-28T05:17:45.032Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-04-28T05:17:45.032Z] inet 127.0.0.1/8 scope host lo [2020-04-28T05:17:45.032Z] valid_lft forever preferred_lft forever [2020-04-28T05:17:45.032Z] 6: eth0@if7: mtu 1458 qdisc noqueue state UP [2020-04-28T05:17:45.032Z] link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff [2020-04-28T05:17:45.032Z] inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 [2020-04-28T05:17:45.032Z] valid_lft forever preferred_lft forever [2020-04-28T05:17:45.032Z] [2020-04-28T05:17:45.032Z]