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 05:10:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:10:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:10:29 ========================================================= 05:10:29 EdgeX Global Pipelines Version Info 05:10:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:10:30 ------------------- 05:10:30 stable info: 05:10:30 ------------------- 05:10:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:10:30 Commit SHA: 997776a94285dd80d478e4f0c197496148fdc64f 05:10:30 Message: update stable to v1.0.86 05:10:31 ------------------- 05:10:31 experimental info: 05:10:31 ------------------- 05:10:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:10:31 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 05:10:31 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 05:10:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:10:33 05:10:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:10:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:10:34 latest: Pulling from edgex-devops/git-semver 05:10:34 9123ac7c32f7: Pulling fs layer 05:10:34 b8cc5d1170e3: Pulling fs layer 05:10:34 2924cbbf6a41: Pulling fs layer 05:10:34 93b08a4f1073: Pulling fs layer 05:10:34 93b08a4f1073: Waiting 05:10:34 b8cc5d1170e3: Verifying Checksum 05:10:34 b8cc5d1170e3: Download complete 05:10:34 9123ac7c32f7: Verifying Checksum 05:10:34 9123ac7c32f7: Download complete 05:10:34 93b08a4f1073: Verifying Checksum 05:10:34 93b08a4f1073: Download complete 05:10:34 2924cbbf6a41: Verifying Checksum 05:10:34 2924cbbf6a41: Download complete 05:10:34 9123ac7c32f7: Pull complete 05:10:34 b8cc5d1170e3: Pull complete 05:10:35 2924cbbf6a41: Pull complete 05:10:35 93b08a4f1073: Pull complete 05:10:35 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 05:10:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:10:35 prd-centos7-docker-4c-2g-6412 does not seem to be running inside a container 05:10:35 $ 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 05:10:36 $ docker top e929205c6d145c177cd02c7e85a538c503e7df3b50c0f49cfb49de61ee35164f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:10:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:10:36 [ssh-agent] Looking for ssh-agent implementation... 05:10:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:10:36 $ docker exec e929205c6d145c177cd02c7e85a538c503e7df3b50c0f49cfb49de61ee35164f ssh-agent 05:10:36 SSH_AUTH_SOCK=/tmp/ssh-cNbuxG36mxp9/agent.15 05:10:36 SSH_AGENT_PID=22 05:10:36 Running ssh-add (command line suppressed) 05:10:37 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) 05:10:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:10:37 + git describe --exact-match --tags HEAD 05:10:37 fatal: No names found, cannot describe anything. [Pipeline] } 05:10:37 $ docker exec --env ******** --env ******** e929205c6d145c177cd02c7e85a538c503e7df3b50c0f49cfb49de61ee35164f ssh-agent -k 05:10:37 unset SSH_AUTH_SOCK; 05:10:37 unset SSH_AGENT_PID; 05:10:37 echo Agent pid 22 killed; 05:10:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:10:37 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:10:37 This usually means this commit has not been tagged. [Pipeline] sshagent 05:10:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:10:37 [ssh-agent] Looking for ssh-agent implementation... 05:10:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:10:38 $ docker exec e929205c6d145c177cd02c7e85a538c503e7df3b50c0f49cfb49de61ee35164f ssh-agent 05:10:38 SSH_AUTH_SOCK=/tmp/ssh-X2HJLUvW9hUP/agent.57 05:10:38 SSH_AGENT_PID=64 05:10:38 Running ssh-add (command line suppressed) 05:10:38 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) 05:10:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:10:38 + git semver init 05:10:38 # -> Open(): unable to determine branch for HEAD 05:10:38 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.git 05:10:38 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-20 05:10:38 # $SEMVER_REMOTE_NAME = origin 05:10:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:10:38 # $SEMVER_USER_NAME = edgex-jenkins 05:10:38 # $SEMVER_BRANCH = PR-20 05:10:38 # $SEMVER_TEMP = /tmp/semver-739820935 05:10:38 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 05:10:40 # '/tmp/semver-739820935' -> '/w/workspace/dgexfoundry_device-rest-go_PR-20/.semver' 05:10:40 # -> Force: false 05:10:40 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-20/.semver [Pipeline] } 05:10:40 $ docker exec --env ******** --env ******** e929205c6d145c177cd02c7e85a538c503e7df3b50c0f49cfb49de61ee35164f ssh-agent -k 05:10:40 unset SSH_AUTH_SOCK; 05:10:40 unset SSH_AGENT_PID; 05:10:40 echo Agent pid 64 killed; 05:10:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:10:40 + git semver [Pipeline] } 05:10:41 $ docker stop --time=1 e929205c6d145c177cd02c7e85a538c503e7df3b50c0f49cfb49de61ee35164f 05:10:42 $ docker rm -f e929205c6d145c177cd02c7e85a538c503e7df3b50c0f49cfb49de61ee35164f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:10:43 Stashed 18 file(s) [Pipeline] echo 05:10:43 [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 05:10:59 Still waiting to schedule task 05:10:59 ‘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 05:10:59 Still waiting to schedule task 05:10:59 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 05:12:45 Running on prd-centos7-docker-4c-2g-6415 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws 05:12:45 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 05:12:47 using credential edgex-jenkins-ssh 05:12:47 Cloning the remote Git repository 05:12:47 Cloning with configured refspecs honoured and without tags 05:12:47 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:12:47 > git init /w/workspace/device-rest-go/1 # timeout=10 05:12:48 Fetching without tags 05:12:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:12:47 > git --version # timeout=10 05:12:47 using GIT_SSH to set credentials SSH Credentials for GitHub 05:12:47 > 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 05:12:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:12:48 > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 05:12:48 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:12:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:12:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:12:48 using GIT_SSH to set credentials SSH Credentials for GitHub 05:12:48 > 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 05:12:49 Merging remotes/origin/master commit 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd into PR head commit 32a9f9d1ae90d66de0c666aabab5e708cedc88ca 05:12:49 Merge succeeded, producing 32a9f9d1ae90d66de0c666aabab5e708cedc88ca 05:12:49 Checking out Revision 32a9f9d1ae90d66de0c666aabab5e708cedc88ca (PR-20) 05:12:49 > git config core.sparsecheckout # timeout=10 05:12:49 > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 05:12:49 > git remote # timeout=10 05:12:49 > git config --get remote.origin.url # timeout=10 05:12:49 using GIT_SSH to set credentials SSH Credentials for GitHub 05:12:49 > git merge 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd # timeout=10 05:12:49 > git rev-parse HEAD^{commit} # timeout=10 05:12:49 > git config core.sparsecheckout # timeout=10 05:12:49 > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 05:12:53 Commit message: "refactor: upgrade SDK to v1.2.0" 05:12:53 > git --version # timeout=10 05:12:53 fatal: bad object 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:12:54 ========================================================= 05:12:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 05:12:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:12:55 + 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 . 05:12:56 Sending build context to Docker daemon 8.014MB 05:12:56 Step 1/10 : ARG BASE=golang:1.13-alpine 05:12:56 Step 2/10 : FROM ${BASE} 05:12:56 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 05:12:56 e6b0cf9c0882: Pulling fs layer 05:12:56 2848faf0eed1: Pulling fs layer 05:12:56 0f37312ad70f: Pulling fs layer 05:12:56 5788d62ee057: Pulling fs layer 05:12:56 0e6b1d234666: Pulling fs layer 05:12:56 bf5d7aec512f: Pulling fs layer 05:12:56 34c802a77dc8: Pulling fs layer 05:12:56 9eb99e56ec68: Pulling fs layer 05:12:56 27c7a5d97fbd: Pulling fs layer 05:12:56 5c102a31e300: Pulling fs layer 05:12:56 dcfb455df0a1: Pulling fs layer 05:12:56 5788d62ee057: Waiting 05:12:56 0e6b1d234666: Waiting 05:12:56 bf5d7aec512f: Waiting 05:12:56 34c802a77dc8: Waiting 05:12:56 9eb99e56ec68: Waiting 05:12:56 5c102a31e300: Waiting 05:12:56 27c7a5d97fbd: Waiting 05:12:56 dcfb455df0a1: Waiting 05:12:56 0f37312ad70f: Verifying Checksum 05:12:56 0f37312ad70f: Download complete 05:12:56 2848faf0eed1: Download complete 05:12:56 0e6b1d234666: Verifying Checksum 05:12:56 0e6b1d234666: Download complete 05:12:56 bf5d7aec512f: Verifying Checksum 05:12:56 bf5d7aec512f: Download complete 05:12:56 e6b0cf9c0882: Verifying Checksum 05:12:56 e6b0cf9c0882: Download complete 05:12:56 e6b0cf9c0882: Pull complete 05:12:56 34c802a77dc8: Verifying Checksum 05:12:56 34c802a77dc8: Download complete 05:12:56 27c7a5d97fbd: Verifying Checksum 05:12:56 27c7a5d97fbd: Download complete 05:12:57 5c102a31e300: Verifying Checksum 05:12:57 5c102a31e300: Download complete 05:12:57 dcfb455df0a1: Verifying Checksum 05:12:57 5788d62ee057: Verifying Checksum 05:12:57 9eb99e56ec68: Verifying Checksum 05:12:57 9eb99e56ec68: Download complete 05:12:59 2848faf0eed1: Pull complete 05:12:59 0f37312ad70f: Pull complete 05:13:05 5788d62ee057: Pull complete 05:13:05 0e6b1d234666: Pull complete 05:13:05 bf5d7aec512f: Pull complete 05:13:10 34c802a77dc8: Pull complete 05:13:12 9eb99e56ec68: Pull complete 05:13:12 27c7a5d97fbd: Pull complete 05:13:13 5c102a31e300: Pull complete 05:13:13 dcfb455df0a1: Pull complete 05:13:13 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 05:13:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 05:13:13 ---> 7c70fe431013 05:13:13 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 05:13:13 ---> Running in eae496b406b5 05:13:13 Removing intermediate container eae496b406b5 05:13:13 ---> 0b70b1413ca0 05:13:13 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:13:13 ---> Running in 05c52bb36778 05:13:13 Removing intermediate container 05c52bb36778 05:13:13 ---> 54e6c013f1a2 05:13:13 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:13:13 ---> Running in 18a8b2879307 05:13:14 Removing intermediate container 18a8b2879307 05:13:14 ---> deddfb555925 05:13:14 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:13:14 ---> Running in 9e1ba022985a 05:13:15 Removing intermediate container 9e1ba022985a 05:13:15 ---> bd96b63e2621 05:13:15 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:13:15 ---> Running in 6d443ff02e88 05:13:15 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:13:16 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:13:16 OK: 143 MiB in 39 packages 05:13:16 Removing intermediate container 6d443ff02e88 05:13:16 ---> 315d7e1cb7ce 05:13:16 Step 8/10 : WORKDIR /device-rest-go 05:13:16 ---> Running in 7537748a3b0e 05:13:16 Removing intermediate container 7537748a3b0e 05:13:16 ---> 16862e4c16c3 05:13:16 Step 9/10 : COPY . . 05:13:17 ---> 00c603e5ded0 05:13:17 Step 10/10 : RUN go mod download 05:13:17 ---> Running in 7e7fb0cc630d 05:13:19 go: finding github.com/BurntSushi/toml v0.3.1 05:13:19 go: finding github.com/OneOfOne/xxhash v1.2.6 05:13:19 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:13:19 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:13:19 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:13:19 go: finding github.com/bgentry/speakeasy v0.1.0 05:13:19 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:13:19 go: finding github.com/davecgh/go-spew v1.1.1 05:13:19 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 05:13:19 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 05:13:19 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:13:19 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 05:13:19 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 05:13:19 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:13:19 go: finding github.com/fatih/color v1.7.0 05:13:19 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:13:19 go: finding github.com/go-kit/kit v0.8.0 05:13:19 go: finding github.com/go-logfmt/logfmt v0.4.0 05:13:19 go: finding github.com/go-stack/stack v1.8.0 05:13:19 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:13:19 go: finding github.com/google/uuid v1.1.0 05:13:19 go: finding github.com/gorilla/mux v1.7.1 05:13:19 go: finding github.com/hashicorp/consul/api v1.1.0 05:13:19 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:13:19 go: finding github.com/hashicorp/errwrap v1.0.0 05:13:19 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:13:19 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:13:19 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:13:19 go: finding github.com/hashicorp/go-multierror v1.0.0 05:13:19 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:13:19 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:13:19 go: finding github.com/hashicorp/go-syslog v1.0.0 05:13:19 go: finding github.com/hashicorp/go-uuid v1.0.1 05:13:19 go: finding github.com/hashicorp/go.net v0.0.1 05:13:19 go: finding github.com/hashicorp/golang-lru v0.5.0 05:13:19 go: finding github.com/hashicorp/logutils v1.0.0 05:13:19 go: finding github.com/hashicorp/mdns v1.0.0 05:13:19 go: finding github.com/hashicorp/memberlist v0.1.3 05:13:19 go: finding github.com/hashicorp/serf v0.8.2 05:13:19 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:13:19 go: finding github.com/mattn/go-colorable v0.0.9 05:13:19 go: finding github.com/mattn/go-isatty v0.0.3 05:13:19 go: finding github.com/miekg/dns v1.0.14 05:13:19 go: finding github.com/mitchellh/cli v1.0.0 05:13:19 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:13:19 go: finding github.com/mitchellh/copystructure v1.0.0 05:13:19 go: finding github.com/mitchellh/go-homedir v1.0.0 05:13:19 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:13:19 go: finding github.com/mitchellh/gox v0.4.0 05:13:19 go: finding github.com/mitchellh/iochan v1.0.0 05:13:19 go: finding github.com/mitchellh/mapstructure v1.1.2 05:13:19 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:13:19 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:13:19 go: finding github.com/pelletier/go-toml v1.2.0 05:13:19 go: finding github.com/pkg/errors v0.8.1 05:13:19 go: finding github.com/pmezard/go-difflib v1.0.0 05:13:19 go: finding github.com/posener/complete v1.1.1 05:13:19 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:13:19 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:13:19 go: finding github.com/spf13/cast v1.3.0 05:13:19 go: finding github.com/stretchr/objx v0.1.0 05:13:19 go: finding github.com/stretchr/testify v1.5.1 05:13:19 go: finding github.com/ugorji/go v1.1.4 05:13:19 go: finding github.com/x448/float16 v0.8.4 05:13:19 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:13:19 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:13:19 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:13:19 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:13:19 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:13:19 go: finding gopkg.in/yaml.v2 v2.2.8 05:13:24 Removing intermediate container 7e7fb0cc630d 05:13:24 ---> 9280d2fe8f06 05:13:24 Successfully built 9280d2fe8f06 05:13:24 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 05:13:25 + docker inspect -f . ci-base-image-x86_64 05:13:25 . [Pipeline] withDockerContainer 05:13:25 prd-centos7-docker-4c-2g-6415 does not seem to be running inside a container 05:13:25 $ 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 05:13:25 $ docker top 2eb00912c18f05395c4c9d87beffb665b3273d705e1b49ce94045d89e6283443 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:26 + go version 05:13:26 go version go1.13.5 linux/amd64 [Pipeline] sh 05:13:26 + make test 05:13:26 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:13:28 ? github.com/edgexfoundry/device-rest-go [no test files] 05:13:38 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:13:38 ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 56.3% of statements 05:13:38 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:13:40 gofmt -l . 05:13:40 [ "`gofmt -l .`" = "" ] 05:13:40 ./bin/test-go-mod-tidy.sh 05:13:40 ./bin/test-attribution-txt.sh [Pipeline] stash 05:13:41 Stashed 1 file(s) [Pipeline] } 05:13:41 $ docker stop --time=1 2eb00912c18f05395c4c9d87beffb665b3273d705e1b49ce94045d89e6283443 05:13:43 $ docker rm -f 2eb00912c18f05395c4c9d87beffb665b3273d705e1b49ce94045d89e6283443 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:13:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:13:44 + ls -al . 05:13:44 total 96 05:13:44 drwxrwxr-x. 7 jenkins jenkins 4096 Apr 28 05:13 . 05:13:44 drwxrwxr-x. 4 jenkins jenkins 28 Apr 28 05:12 .. 05:13:44 -rw-rw-r--. 1 jenkins jenkins 4802 Apr 28 05:12 Attribution.txt 05:13:44 drwxrwxr-x. 2 jenkins jenkins 64 Apr 28 05:12 bin 05:13:44 drwxrwxr-x. 3 jenkins jenkins 32 Apr 28 05:12 cmd 05:13:44 -rw-r--r--. 1 jenkins jenkins 9369 Apr 28 05:13 coverage.out 05:13:44 -rw-rw-r--. 1 jenkins jenkins 1504 Apr 28 05:12 Dockerfile 05:13:44 -rw-rw-r--. 1 jenkins jenkins 989 Apr 28 05:12 Dockerfile.build 05:13:44 -rw-rw-r--. 1 jenkins jenkins 151 Apr 28 05:12 .dockerignore 05:13:44 drwxrwxr-x. 2 jenkins jenkins 93 Apr 28 05:13 driver 05:13:44 drwxrwxr-x. 8 jenkins jenkins 179 Apr 28 05:12 .git 05:13:44 -rw-rw-r--. 1 jenkins jenkins 339 Apr 28 05:12 .gitignore 05:13:44 -rw-r--r--. 1 jenkins jenkins 266 Apr 28 05:13 go.mod 05:13:44 -rw-r--r--. 1 jenkins jenkins 12430 Apr 28 05:13 go.sum 05:13:44 -rw-rw-r--. 1 jenkins jenkins 702 Apr 28 05:12 Jenkinsfile 05:13:44 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 28 05:12 LICENSE 05:13:44 -rw-rw-r--. 1 jenkins jenkins 951 Apr 28 05:12 Makefile 05:13:44 -rw-rw-r--. 1 jenkins jenkins 5716 Apr 28 05:12 README.md 05:13:44 drwxrwxr-x. 3 jenkins jenkins 45 Apr 28 05:12 .semver 05:13:44 -rw-rw-r--. 1 jenkins jenkins 5 Apr 28 05:10 VERSION 05:13:44 -rw-rw-r--. 1 jenkins jenkins 713 Apr 28 05:12 version.go [Pipeline] isUnix [Pipeline] sh 05:13:45 + 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 . 05:13:45 Sending build context to Docker daemon 8.026MB 05:13:45 Step 1/24 : ARG BASE=golang:1.13-alpine 05:13:45 Step 2/24 : FROM ${BASE} AS builder 05:13:45 ---> 9280d2fe8f06 05:13:45 Step 3/24 : ARG MAKE='make build' 05:13:45 ---> Running in 885e67143a63 05:13:45 Removing intermediate container 885e67143a63 05:13:45 ---> c5b7532d478d 05:13:45 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 05:13:45 ---> Running in 6912f27441b8 05:13:45 Removing intermediate container 6912f27441b8 05:13:45 ---> 3d11b0ea6ecc 05:13:45 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:13:45 ---> Running in 2ffcd7d80ac4 05:13:45 Removing intermediate container 2ffcd7d80ac4 05:13:45 ---> 2fbbb7a02948 05:13:45 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:13:45 ---> Running in 4c26149a33e1 05:13:46 Removing intermediate container 4c26149a33e1 05:13:46 ---> 345dd99cc193 05:13:46 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:13:46 ---> Running in 5c925f0f2655 05:13:46 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:13:47 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:13:48 OK: 143 MiB in 39 packages 05:13:48 Removing intermediate container 5c925f0f2655 05:13:48 ---> a271098bff04 05:13:48 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 05:13:48 ---> Running in b34a9b8d72cc 05:13:48 Removing intermediate container b34a9b8d72cc 05:13:48 ---> 4163fb291864 05:13:48 Step 9/24 : COPY go.mod . 05:13:48 ---> ecf9beea552e 05:13:48 Step 10/24 : COPY Makefile . 05:13:49 ---> e15542536f0a 05:13:49 Step 11/24 : RUN make update 05:13:49 ---> Running in ab502c17974f 05:13:49 CGO_ENABLED=0 GO111MODULE=on go mod download 05:13:50 Removing intermediate container ab502c17974f 05:13:50 ---> 78e7e1b354f1 05:13:50 Step 12/24 : COPY . . 05:13:50 ---> e80934d0768c 05:13:50 Step 13/24 : RUN $MAKE 05:13:50 ---> Running in 65b40e9d4b77 05:13:50 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 05:14:00 Removing intermediate container 65b40e9d4b77 05:14:00 ---> cafeb430f02b 05:14:00 Step 14/24 : FROM alpine:latest 05:14:01 latest: Pulling from library/alpine 05:14:01 cbdbe7a5bc2a: Pulling fs layer 05:14:01 cbdbe7a5bc2a: Verifying Checksum 05:14:01 cbdbe7a5bc2a: Download complete 05:14:01 cbdbe7a5bc2a: Pull complete 05:14:01 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 05:14:01 Status: Downloaded newer image for alpine:latest 05:14:01 ---> f70734b6a266 05:14:01 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:14:01 ---> Running in 70f70ce4d058 05:14:02 Removing intermediate container 70f70ce4d058 05:14:02 ---> 3ed4205ff804 05:14:02 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 05:14:02 ---> Running in 3e0ef8ec95df 05:14:02 Removing intermediate container 3e0ef8ec95df 05:14:02 ---> a77e7750175a 05:14:02 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 05:14:02 ---> af6524fd20f1 05:14:02 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 05:14:02 ---> ee8e2edcacd0 05:14:02 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 05:14:02 ---> 3b94450d5cdf 05:14:02 Step 20/24 : EXPOSE 49986 05:14:03 ---> Running in f186f82e5587 05:14:03 Removing intermediate container f186f82e5587 05:14:03 ---> 454c49c3c330 05:14:03 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 05:14:03 ---> Running in a1163aaf6504 05:14:03 Removing intermediate container a1163aaf6504 05:14:03 ---> d3ea09d3c86c 05:14:03 Step 22/24 : LABEL arch=amd64 05:14:03 ---> Running in f155d4cecdd4 05:14:03 Removing intermediate container f155d4cecdd4 05:14:03 ---> a972cbc1f9bf 05:14:03 Step 23/24 : LABEL git_sha=32a9f9d1ae90d66de0c666aabab5e708cedc88ca 05:14:03 ---> Running in 6402091f7718 05:14:03 Removing intermediate container 6402091f7718 05:14:03 ---> d39122728c86 05:14:03 Step 24/24 : LABEL version=0.0.0 05:14:03 ---> Running in 82257c1383cd 05:14:03 Removing intermediate container 82257c1383cd 05:14:03 ---> 66cf3bf5e00e 05:14:03 [Warning] One or more build-args [ARCH] were not consumed 05:14:03 Successfully built 66cf3bf5e00e 05:14:03 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] } 05:14:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6417 in /w/workspace/dgexfoundry_device-rest-go_PR-20 [Pipeline] { [Pipeline] ws 05:14:28 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 05:14:34 using credential edgex-jenkins-ssh 05:14:34 Cloning the remote Git repository 05:14:34 Cloning with configured refspecs honoured and without tags 05:14:34 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:14:34 > git init /w/workspace/device-rest-go/1 # timeout=10 05:14:34 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:14:34 > git --version # timeout=10 05:14:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:14:34 > 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 05:14:36 Fetching without tags 05:14:36 Merging remotes/origin/master commit 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd into PR head commit 32a9f9d1ae90d66de0c666aabab5e708cedc88ca 05:14:37 Merge succeeded, producing 32a9f9d1ae90d66de0c666aabab5e708cedc88ca 05:14:37 Checking out Revision 32a9f9d1ae90d66de0c666aabab5e708cedc88ca (PR-20) 05:14:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:14:36 > git config --add remote.origin.fetch +refs/pull/20/head:refs/remotes/origin/PR-20 # timeout=10 05:14:36 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:14:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:14:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:14:36 using GIT_SSH to set credentials SSH Credentials for GitHub 05:14:36 > 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 05:14:36 > git config core.sparsecheckout # timeout=10 05:14:36 > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 05:14:37 > git remote # timeout=10 05:14:37 > git config --get remote.origin.url # timeout=10 05:14:37 using GIT_SSH to set credentials SSH Credentials for GitHub 05:14:37 > git merge 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd # timeout=10 05:14:37 > git rev-parse HEAD^{commit} # timeout=10 05:14:37 > git config core.sparsecheckout # timeout=10 05:14:37 > git checkout -f 32a9f9d1ae90d66de0c666aabab5e708cedc88ca # timeout=10 05:14:41 Commit message: "refactor: upgrade SDK to v1.2.0" 05:14:41 > git --version # timeout=10 05:14:41 fatal: bad object 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:14:43 ========================================================= 05:14:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 05:14:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:14:44 + 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 . 05:14:45 Sending build context to Docker daemon 8.014MB 05:14:45 Step 1/10 : ARG BASE=golang:1.13-alpine 05:14:45 Step 2/10 : FROM ${BASE} 05:14:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:14:46 cde5963f3b93: Pulling fs layer 05:14:46 2a23fa8c16f7: Pulling fs layer 05:14:46 777b28850792: Pulling fs layer 05:14:46 8a11ddd9e578: Pulling fs layer 05:14:46 4cf88f913ddb: Pulling fs layer 05:14:46 1df406cf5192: Pulling fs layer 05:14:46 cd6300453558: Pulling fs layer 05:14:46 b9c365052c96: Pulling fs layer 05:14:46 a2d8cc88f415: Pulling fs layer 05:14:46 ea1d1ca13537: Pulling fs layer 05:14:46 3750a50a1c5e: Pulling fs layer 05:14:46 8a11ddd9e578: Waiting 05:14:46 4cf88f913ddb: Waiting 05:14:46 1df406cf5192: Waiting 05:14:46 cd6300453558: Waiting 05:14:46 b9c365052c96: Waiting 05:14:46 a2d8cc88f415: Waiting 05:14:46 ea1d1ca13537: Waiting 05:14:46 3750a50a1c5e: Waiting 05:14:46 777b28850792: Verifying Checksum 05:14:46 777b28850792: Download complete 05:14:46 2a23fa8c16f7: Download complete 05:14:46 4cf88f913ddb: Download complete 05:14:46 1df406cf5192: Verifying Checksum 05:14:46 1df406cf5192: Download complete 05:14:46 cde5963f3b93: Verifying Checksum 05:14:47 cde5963f3b93: Pull complete 05:14:48 2a23fa8c16f7: Pull complete 05:14:48 777b28850792: Pull complete 05:14:50 cd6300453558: Verifying Checksum 05:14:50 cd6300453558: Download complete 05:14:50 a2d8cc88f415: Verifying Checksum 05:14:50 a2d8cc88f415: Download complete 05:14:53 ea1d1ca13537: Verifying Checksum 05:14:53 ea1d1ca13537: Download complete 05:14:53 3750a50a1c5e: Verifying Checksum 05:14:53 3750a50a1c5e: Download complete 05:14:55 b9c365052c96: Verifying Checksum 05:14:55 b9c365052c96: Download complete 05:14:57 8a11ddd9e578: Verifying Checksum 05:14:57 8a11ddd9e578: Download complete 05:15:10 8a11ddd9e578: Pull complete 05:15:10 4cf88f913ddb: Pull complete 05:15:10 1df406cf5192: Pull complete 05:15:14 cd6300453558: Pull complete 05:15:19 b9c365052c96: Pull complete 05:15:19 a2d8cc88f415: Pull complete 05:15:21 ea1d1ca13537: Pull complete 05:15:21 3750a50a1c5e: Pull complete 05:15:21 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 05:15:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 05:15:21 ---> 78745c68409d 05:15:21 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 05:15:26 ---> Running in 2145517cbbbe 05:15:26 Removing intermediate container 2145517cbbbe 05:15:26 ---> a740d14fee16 05:15:26 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:15:26 ---> Running in 15565a7663d2 05:15:26 Removing intermediate container 15565a7663d2 05:15:26 ---> ea3304e8a311 05:15:26 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:15:26 ---> Running in c012a088357f 05:15:27 Removing intermediate container c012a088357f 05:15:27 ---> 8dc601105cc1 05:15:27 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:15:27 ---> Running in 3e010d58917f 05:15:29 Removing intermediate container 3e010d58917f 05:15:29 ---> 6eedd4dab8da 05:15:29 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:15:29 ---> Running in fbff4aa4736f 05:15:30 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:15:31 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:15:32 OK: 125 MiB in 39 packages 05:15:33 Removing intermediate container fbff4aa4736f 05:15:33 ---> ccbe0070f464 05:15:33 Step 8/10 : WORKDIR /device-rest-go 05:15:33 ---> Running in 90fcee72a93d 05:15:33 Removing intermediate container 90fcee72a93d 05:15:33 ---> 8d2efbfe89b6 05:15:33 Step 9/10 : COPY . . 05:15:34 ---> 3993eafae1f7 05:15:34 Step 10/10 : RUN go mod download 05:15:35 ---> Running in 8f55a4bcf28d 05:15:37 go: finding github.com/BurntSushi/toml v0.3.1 05:15:37 go: finding github.com/OneOfOne/xxhash v1.2.6 05:15:37 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:15:37 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:15:37 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:15:37 go: finding github.com/bgentry/speakeasy v0.1.0 05:15:37 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:15:37 go: finding github.com/davecgh/go-spew v1.1.1 05:15:37 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 05:15:37 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 05:15:37 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:15:37 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 05:15:37 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 05:15:37 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:15:37 go: finding github.com/fatih/color v1.7.0 05:15:37 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:15:37 go: finding github.com/go-kit/kit v0.8.0 05:15:37 go: finding github.com/go-logfmt/logfmt v0.4.0 05:15:37 go: finding github.com/go-stack/stack v1.8.0 05:15:37 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:15:37 go: finding github.com/google/uuid v1.1.0 05:15:37 go: finding github.com/gorilla/mux v1.7.1 05:15:37 go: finding github.com/hashicorp/consul/api v1.1.0 05:15:37 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:15:37 go: finding github.com/hashicorp/errwrap v1.0.0 05:15:37 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:15:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:15:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:15:37 go: finding github.com/hashicorp/go-multierror v1.0.0 05:15:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:15:37 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:15:37 go: finding github.com/hashicorp/go-syslog v1.0.0 05:15:37 go: finding github.com/hashicorp/go-uuid v1.0.1 05:15:37 go: finding github.com/hashicorp/go.net v0.0.1 05:15:37 go: finding github.com/hashicorp/golang-lru v0.5.0 05:15:37 go: finding github.com/hashicorp/logutils v1.0.0 05:15:37 go: finding github.com/hashicorp/mdns v1.0.0 05:15:37 go: finding github.com/hashicorp/memberlist v0.1.3 05:15:37 go: finding github.com/hashicorp/serf v0.8.2 05:15:37 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:15:37 go: finding github.com/mattn/go-colorable v0.0.9 05:15:37 go: finding github.com/mattn/go-isatty v0.0.3 05:15:37 go: finding github.com/miekg/dns v1.0.14 05:15:37 go: finding github.com/mitchellh/cli v1.0.0 05:15:37 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:15:37 go: finding github.com/mitchellh/copystructure v1.0.0 05:15:37 go: finding github.com/mitchellh/go-homedir v1.0.0 05:15:37 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:15:37 go: finding github.com/mitchellh/gox v0.4.0 05:15:37 go: finding github.com/mitchellh/iochan v1.0.0 05:15:37 go: finding github.com/mitchellh/mapstructure v1.1.2 05:15:37 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:15:37 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:15:37 go: finding github.com/pelletier/go-toml v1.2.0 05:15:37 go: finding github.com/pkg/errors v0.8.1 05:15:37 go: finding github.com/pmezard/go-difflib v1.0.0 05:15:37 go: finding github.com/posener/complete v1.1.1 05:15:37 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:15:37 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:15:37 go: finding github.com/spf13/cast v1.3.0 05:15:37 go: finding github.com/stretchr/objx v0.1.0 05:15:37 go: finding github.com/stretchr/testify v1.5.1 05:15:37 go: finding github.com/ugorji/go v1.1.4 05:15:37 go: finding github.com/x448/float16 v0.8.4 05:15:37 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:15:37 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:15:37 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:15:37 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:15:37 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:15:37 go: finding gopkg.in/yaml.v2 v2.2.8 05:15:47 Removing intermediate container 8f55a4bcf28d 05:15:47 ---> 1a7d30e7c069 05:15:47 Successfully built 1a7d30e7c069 05:15:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:15:48 + docker inspect -f . ci-base-image-arm64 05:15:48 . [Pipeline] withDockerContainer 05:15:49 prd-ubuntu18.04-docker-arm64-4c-16g-6417 does not seem to be running inside a container 05:15:49 $ 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 05:15:50 $ docker top 68e86c671081fe69c5e48b906748de09384e30fdaa0cccf35845cd3d6d16d51e -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:52 + go version 05:15:52 go version go1.13.5 linux/arm64 [Pipeline] sh 05:15:52 + make test 05:15:52 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:15:53 ? github.com/edgexfoundry/device-rest-go [no test files] 05:16:25 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:16:25 ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 56.3% of statements 05:16:25 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:16:29 gofmt -l . 05:16:29 [ "`gofmt -l .`" = "" ] 05:16:29 ./bin/test-go-mod-tidy.sh 05:16:29 ./bin/test-attribution-txt.sh [Pipeline] stash 05:16:30 Warning: overwriting stash ‘coverage-report’ 05:16:30 Stashed 1 file(s) [Pipeline] } 05:16:30 $ docker stop --time=1 68e86c671081fe69c5e48b906748de09384e30fdaa0cccf35845cd3d6d16d51e 05:16:32 $ docker rm -f 68e86c671081fe69c5e48b906748de09384e30fdaa0cccf35845cd3d6d16d51e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:16:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:16:34 + ls -al . 05:16:34 total 120 05:16:34 drwxrwxr-x 7 jenkins jenkins 4096 Apr 28 05:16 . 05:16:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:14 .. 05:16:34 -rw-rw-r-- 1 jenkins jenkins 151 Apr 28 05:14 .dockerignore 05:16:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 05:14 .git 05:16:34 -rw-rw-r-- 1 jenkins jenkins 339 Apr 28 05:14 .gitignore 05:16:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:14 .semver 05:16:34 -rw-rw-r-- 1 jenkins jenkins 4802 Apr 28 05:14 Attribution.txt 05:16:34 -rw-rw-r-- 1 jenkins jenkins 1504 Apr 28 05:14 Dockerfile 05:16:34 -rw-rw-r-- 1 jenkins jenkins 989 Apr 28 05:14 Dockerfile.build 05:16:34 -rw-rw-r-- 1 jenkins jenkins 702 Apr 28 05:14 Jenkinsfile 05:16:34 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 28 05:14 LICENSE 05:16:34 -rw-rw-r-- 1 jenkins jenkins 951 Apr 28 05:14 Makefile 05:16:34 -rw-rw-r-- 1 jenkins jenkins 5716 Apr 28 05:14 README.md 05:16:34 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 05:10 VERSION 05:16:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:14 bin 05:16:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:14 cmd 05:16:34 -rw-r--r-- 1 jenkins jenkins 9369 Apr 28 05:16 coverage.out 05:16:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:16 driver 05:16:34 -rw-r--r-- 1 jenkins jenkins 266 Apr 28 05:16 go.mod 05:16:34 -rw-r--r-- 1 jenkins jenkins 12430 Apr 28 05:16 go.sum 05:16:34 -rw-rw-r-- 1 jenkins jenkins 713 Apr 28 05:14 version.go [Pipeline] isUnix [Pipeline] sh 05:16:35 + 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 . 05:16:35 Sending build context to Docker daemon 8.026MB 05:16:35 Step 1/24 : ARG BASE=golang:1.13-alpine 05:16:35 Step 2/24 : FROM ${BASE} AS builder 05:16:35 ---> 1a7d30e7c069 05:16:35 Step 3/24 : ARG MAKE='make build' 05:16:35 ---> Running in 53adea737590 05:16:36 Removing intermediate container 53adea737590 05:16:36 ---> 7411e2679189 05:16:36 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 05:16:36 ---> Running in 2f5bd433138b 05:16:36 Removing intermediate container 2f5bd433138b 05:16:36 ---> ae44992f5822 05:16:36 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:16:36 ---> Running in d6b15a3c91c7 05:16:36 Removing intermediate container d6b15a3c91c7 05:16:36 ---> 2c8f5a869eea 05:16:36 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:16:37 ---> Running in 9fe4d7073513 05:16:39 Removing intermediate container 9fe4d7073513 05:16:39 ---> af4da5753163 05:16:39 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:16:39 ---> Running in 9760eb86e50a 05:16:39 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:16:40 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:16:41 OK: 125 MiB in 39 packages 05:16:43 Removing intermediate container 9760eb86e50a 05:16:43 ---> 928e26fff145 05:16:43 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 05:16:43 ---> Running in 1e8d7bec9829 05:16:43 Removing intermediate container 1e8d7bec9829 05:16:43 ---> ed80f6848d70 05:16:43 Step 9/24 : COPY go.mod . 05:16:44 ---> 633e7519d828 05:16:44 Step 10/24 : COPY Makefile . 05:16:44 ---> 76e9996c1f3f 05:16:44 Step 11/24 : RUN make update 05:16:44 ---> Running in f3ceea1462a1 05:16:45 CGO_ENABLED=0 GO111MODULE=on go mod download 05:16:46 Removing intermediate container f3ceea1462a1 05:16:46 ---> 364ffad59430 05:16:46 Step 12/24 : COPY . . 05:16:47 ---> 02bbffeb8ff7 05:16:47 Step 13/24 : RUN $MAKE 05:16:48 ---> Running in 59ba3359d177 05:16:48 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 05:17:15 Removing intermediate container 59ba3359d177 05:17:15 ---> f94368665bb6 05:17:15 Step 14/24 : FROM alpine:latest 05:17:15 latest: Pulling from library/alpine 05:17:15 29e5d40040c1: Pulling fs layer 05:17:15 29e5d40040c1: Verifying Checksum 05:17:15 29e5d40040c1: Download complete 05:17:15 29e5d40040c1: Pull complete 05:17:15 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 05:17:15 Status: Downloaded newer image for alpine:latest 05:17:15 ---> c20d2a9ab686 05:17:15 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 05:17:16 ---> Running in d10b16fb77d7 05:17:16 Removing intermediate container d10b16fb77d7 05:17:16 ---> 3e3467b141a6 05:17:16 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 05:17:16 ---> Running in 19107dbd3388 05:17:17 Removing intermediate container 19107dbd3388 05:17:17 ---> 1df040a79a07 05:17:17 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 05:17:17 ---> 97335b9e8a2a 05:17:17 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 05:17:18 ---> 22495fb8a1c4 05:17:18 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 05:17:19 ---> 1dc827c5d766 05:17:19 Step 20/24 : EXPOSE 49986 05:17:19 ---> Running in a4feb3a37a18 05:17:19 Removing intermediate container a4feb3a37a18 05:17:19 ---> 59426e9d284c 05:17:19 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 05:17:20 ---> Running in 39f839ca0e96 05:17:20 Removing intermediate container 39f839ca0e96 05:17:20 ---> ddcf3f42f1bb 05:17:20 Step 22/24 : LABEL arch=arm64 05:17:20 ---> Running in 2cefed214e98 05:17:20 Removing intermediate container 2cefed214e98 05:17:20 ---> fdbf9bb9a435 05:17:20 Step 23/24 : LABEL git_sha=32a9f9d1ae90d66de0c666aabab5e708cedc88ca 05:17:20 ---> Running in 34dc0b396b0b 05:17:21 Removing intermediate container 34dc0b396b0b 05:17:21 ---> d4be4a63d742 05:17:21 Step 24/24 : LABEL version=0.0.0 05:17:21 ---> Running in 5de2a48a5900 05:17:21 Removing intermediate container 5de2a48a5900 05:17:21 ---> 20fa3d897f94 05:17:21 [Warning] One or more build-args [ARCH] were not consumed 05:17:21 Successfully built 20fa3d897f94 05:17:21 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 05:17:23 provisioning config files... 05:17:23 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config3770565412928547893tmp [Pipeline] { [Pipeline] sh 05:17:23 + curl -s https://codecov.io/bash 05:17:23 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config3770565412928547893tmp 05:17:24 05:17:24 _____ _ 05:17:24 / ____| | | 05:17:24 | | ___ __| | ___ ___ _____ __ 05:17:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:17:24 | |___| (_) | (_| | __/ (_| (_) \ V / 05:17:24 \_____\___/ \__,_|\___|\___\___/ \_/ 05:17:24 Bash-tbd 05:17:24 05:17:24 05:17:24 ==> Jenkins CI detected. 05:17:24 project root: . 05:17:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:17:24 ==> Running gcov in . (disable via -X gcov) 05:17:24 ==> Python coveragepy not found 05:17:24 ==> Searching for coverage reports in: 05:17:24 + . 05:17:24 -> Found 1 reports 05:17:24 ==> Detecting git/mercurial file structure 05:17:24 ==> Reading reports 05:17:24 + ./coverage.out bytes=9369 05:17:24 ==> Appending adjustments 05:17:24 http://docs.codecov.io/docs/fixing-reports 05:17:24 + Found adjustments 05:17:24 ==> Gzipping contents 05:17:24 ==> Uploading reports 05:17:24 url: https://codecov.io 05:17:24 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= 05:17:24 -> Pinging Codecov 05:17:24 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= 05:17:24 -> Uploading 05:17:25 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/32a9f9d1ae90d66de0c666aabab5e708cedc88ca [Pipeline] } 05:17:25 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 05:17:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:17:27 ---> package-listing.sh 05:17:27 ++ tr '[:upper:]' '[:lower:]' 05:17:27 ++ facter osfamily 05:17:27 + OS_FAMILY=redhat 05:17:27 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-20 05:17:27 + START_PACKAGES=/tmp/packages_start.txt 05:17:27 + END_PACKAGES=/tmp/packages_end.txt 05:17:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:17:27 + PACKAGES=/tmp/packages_start.txt 05:17:27 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' 05:17:27 + PACKAGES=/tmp/packages_end.txt 05:17:27 + case "${OS_FAMILY}" in 05:17:27 + rpm -qa 05:17:27 + sort 05:17:31 + '[' -f /tmp/packages_start.txt ']' 05:17:31 + '[' -f /tmp/packages_end.txt ']' 05:17:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:17:31 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-20 ']' 05:17:31 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-20/archives/ 05:17:31 + 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 05:17:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:17:31 05:17:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:17:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:17:32 alpine: Pulling from edgex-lftools-log-publisher 05:17:32 c9b1b535fdd9: Pulling fs layer 05:17:32 2cc5ad85d9ab: Pulling fs layer 05:17:32 756a868c4378: Pulling fs layer 05:17:32 444b2fc9a129: Pulling fs layer 05:17:32 ea15f1150254: Pulling fs layer 05:17:32 41b27a9f41bf: Pulling fs layer 05:17:32 28c525ee5125: Pulling fs layer 05:17:32 094b1ea09ed8: Pulling fs layer 05:17:32 138eaada9080: Pulling fs layer 05:17:32 0622d0fa9048: Pulling fs layer 05:17:32 41b27a9f41bf: Waiting 05:17:32 28c525ee5125: Waiting 05:17:32 094b1ea09ed8: Waiting 05:17:32 138eaada9080: Waiting 05:17:32 444b2fc9a129: Waiting 05:17:32 0622d0fa9048: Waiting 05:17:32 ea15f1150254: Waiting 05:17:32 2cc5ad85d9ab: Verifying Checksum 05:17:32 2cc5ad85d9ab: Download complete 05:17:32 444b2fc9a129: Verifying Checksum 05:17:32 444b2fc9a129: Download complete 05:17:32 c9b1b535fdd9: Verifying Checksum 05:17:32 ea15f1150254: Download complete 05:17:32 28c525ee5125: Download complete 05:17:32 c9b1b535fdd9: Pull complete 05:17:32 2cc5ad85d9ab: Pull complete 05:17:32 756a868c4378: Verifying Checksum 05:17:32 756a868c4378: Download complete 05:17:33 138eaada9080: Verifying Checksum 05:17:33 138eaada9080: Download complete 05:17:33 0622d0fa9048: Verifying Checksum 05:17:33 0622d0fa9048: Download complete 05:17:33 094b1ea09ed8: Verifying Checksum 05:17:33 094b1ea09ed8: Download complete 05:17:33 41b27a9f41bf: Verifying Checksum 05:17:33 41b27a9f41bf: Download complete 05:17:34 756a868c4378: Pull complete 05:17:34 444b2fc9a129: Pull complete 05:17:34 ea15f1150254: Pull complete 05:17:38 41b27a9f41bf: Pull complete 05:17:38 28c525ee5125: Pull complete 05:17:40 094b1ea09ed8: Pull complete 05:17:40 138eaada9080: Pull complete 05:17:40 0622d0fa9048: Pull complete 05:17:40 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 05:17:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:17:41 prd-centos7-docker-4c-2g-6412 does not seem to be running inside a container 05:17:41 $ 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 05:17:41 $ docker top e684d3fbc1293b76fe114986d0f8daa947e2253b372d08d0733b7c2f6a2bd4fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:17:42 provisioning config files... 05:17:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-20@tmp/config8141430402586542858tmp [Pipeline] { [Pipeline] echo 05:17:42 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:17:42 ---> create-netrc.sh [Pipeline] echo 05:17:42 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:17:43 ---> logs-deploy.sh 05:17:43 + ARCHIVE_ARTIFACTS= 05:17:43 + LOGS_SERVER=https://logs.edgexfoundry.org 05:17:43 + '[' https://logs.edgexfoundry.org == None ']' 05:17:43 + NEXUS_URL=https://nexus.edgexfoundry.org 05:17:43 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-20/1 05:17:43 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-20/1/ 05:17:43 + 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 05:17:44 Archives upload complete. 05:17:44 + 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/ 05:17:45 ---> uname -a: 05:17:45 Linux e684d3fbc129 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 05:17:45 05:17:45 05:17:45 ---> lscpu: 05:17:45 Architecture: x86_64 05:17:45 CPU op-mode(s): 32-bit, 64-bit 05:17:45 Byte Order: Little Endian 05:17:45 Address sizes: 40 bits physical, 48 bits virtual 05:17:45 CPU(s): 4 05:17:45 On-line CPU(s) list: 0-3 05:17:45 Thread(s) per core: 1 05:17:45 Core(s) per socket: 1 05:17:45 Socket(s): 4 05:17:45 NUMA node(s): 1 05:17:45 Vendor ID: GenuineIntel 05:17:45 CPU family: 6 05:17:45 Model: 44 05:17:45 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 05:17:45 Stepping: 1 05:17:45 CPU MHz: 2933.396 05:17:45 BogoMIPS: 5866.79 05:17:45 Virtualization: VT-x 05:17:45 Hypervisor vendor: KVM 05:17:45 Virtualization type: full 05:17:45 L1d cache: 128 KiB 05:17:45 L1i cache: 128 KiB 05:17:45 L2 cache: 16 MiB 05:17:45 L3 cache: 64 MiB 05:17:45 NUMA node0 CPU(s): 0-3 05:17:45 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 05:17:45 Vulnerability Meltdown: Mitigation; PTI 05:17:45 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:17:45 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 05:17:45 Vulnerability Spectre v2: Mitigation; Full retpoline 05:17:45 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 05:17:45 05:17:45 05:17:45 ---> nproc: 05:17:45 4 05:17:45 05:17:45 05:17:45 ---> df -h: 05:17:45 Filesystem Size Used Available Use% Mounted on 05:17:45 overlay 50.0G 6.3G 43.6G 13% / 05:17:45 tmpfs 64.0M 0 64.0M 0% /dev 05:17:45 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 05:17:45 shm 64.0M 0 64.0M 0% /dev/shm 05:17:45 /dev/vda1 50.0G 6.3G 43.6G 13% /etc/resolv.conf 05:17:45 /dev/vda1 50.0G 6.3G 43.6G 13% /etc/hostname 05:17:45 /dev/vda1 50.0G 6.3G 43.6G 13% /etc/hosts 05:17:45 /dev/vda1 50.0G 6.3G 43.6G 13% /w/workspace/dgexfoundry_device-rest-go_PR-20@tmp 05:17:45 /dev/vda1 50.0G 6.3G 43.6G 13% /var/log/sa 05:17:45 /dev/vda1 50.0G 6.3G 43.6G 13% /w/workspace/dgexfoundry_device-rest-go_PR-20 05:17:45 05:17:45 05:17:45 ---> free -m: 05:17:45 total used free shared buff/cache available 05:17:45 Mem: 1838 594 76 0 1167 1139 05:17:45 Swap: 1023 1 1022 05:17:45 05:17:45 05:17:45 ---> ip addr: 05:17:45 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 05:17:45 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:17:45 inet 127.0.0.1/8 scope host lo 05:17:45 valid_lft forever preferred_lft forever 05:17:45 6: eth0@if7: mtu 1458 qdisc noqueue state UP 05:17:45 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 05:17:45 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 05:17:45 valid_lft forever preferred_lft forever 05:17:45 05:17:45