Pull request #22 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 lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from d5d920331de807efc5d9b79072463dcbea4b35ee+210f50c9adcd32d3bf7f0011a8b75df57d2f34bd (629ba467c539e96d62f6ff5fd066e1b988525e1e) 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 a8d5489117fb74ecf2babedeac9793ec80335c77 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-22/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 a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-7913 in /w/workspace/dgexfoundry_device-rest-go_PR-22 [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-22 # 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/22/head:refs/remotes/origin/PR-22 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd into PR head commit d5d920331de807efc5d9b79072463dcbea4b35ee Merge succeeded, producing d5d920331de807efc5d9b79072463dcbea4b35ee Checking out Revision d5d920331de807efc5d9b79072463dcbea4b35ee (PR-22) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/22/head:refs/remotes/origin/PR-22 # 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/22/head:refs/remotes/origin/PR-22 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5d920331de807efc5d9b79072463dcbea4b35ee # 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 d5d920331de807efc5d9b79072463dcbea4b35ee # timeout=10 Commit message: "refactor: Set default logging level to INFO" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:17:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:17:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:17:29 ========================================================= 21:17:29 EdgeX Global Pipelines Version Info 21:17:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:17:30 ------------------- 21:17:30 stable info: 21:17:30 ------------------- 21:17:30 Commited By: Emilio Reyes emilio.reyes@intel.com 21:17:30 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 21:17:30 Message: update stable to v1.0.87 21:17:31 ------------------- 21:17:31 experimental info: 21:17:31 ------------------- 21:17:31 Commited By: **** collab-it+edgex@linuxfoundation.org 21:17:31 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 21:17:31 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 21:17:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:17:34 21:17:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:17:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:17:34 latest: Pulling from edgex-devops/git-semver 21:17:34 9123ac7c32f7: Pulling fs layer 21:17:34 b8cc5d1170e3: Pulling fs layer 21:17:34 2924cbbf6a41: Pulling fs layer 21:17:34 93b08a4f1073: Pulling fs layer 21:17:34 b8cc5d1170e3: Verifying Checksum 21:17:34 b8cc5d1170e3: Download complete 21:17:34 9123ac7c32f7: Verifying Checksum 21:17:34 9123ac7c32f7: Download complete 21:17:34 93b08a4f1073: Verifying Checksum 21:17:34 93b08a4f1073: Download complete 21:17:34 2924cbbf6a41: Verifying Checksum 21:17:34 2924cbbf6a41: Download complete 21:17:34 9123ac7c32f7: Pull complete 21:17:35 b8cc5d1170e3: Pull complete 21:17:35 2924cbbf6a41: Pull complete 21:17:35 93b08a4f1073: Pull complete 21:17:35 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 21:17:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:17:36 prd-centos7-docker-4c-2g-7913 does not seem to be running inside a container 21:17:36 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-22 -v /w/workspace/dgexfoundry_device-rest-go_PR-22:/w/workspace/dgexfoundry_device-rest-go_PR-22:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-22@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-22@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 21:17:36 $ docker top 5bd6261bc91f2c4f7a7de5c4436d4b88dc93cb27d19cc90f14cdbd154657b6d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:17:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:17:37 [ssh-agent] Looking for ssh-agent implementation... 21:17:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:17:37 $ docker exec 5bd6261bc91f2c4f7a7de5c4436d4b88dc93cb27d19cc90f14cdbd154657b6d5 ssh-agent 21:17:37 SSH_AUTH_SOCK=/tmp/ssh-8OkUtSR46lYj/agent.15 21:17:37 SSH_AGENT_PID=22 21:17:37 Running ssh-add (command line suppressed) 21:17:37 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-22@tmp/private_key_8837428475005633079.key (/w/workspace/dgexfoundry_device-rest-go_PR-22@tmp/private_key_8837428475005633079.key) 21:17:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:17:38 + git describe --exact-match --tags HEAD 21:17:38 fatal: No names found, cannot describe anything. [Pipeline] } 21:17:38 $ docker exec --env ******** --env ******** 5bd6261bc91f2c4f7a7de5c4436d4b88dc93cb27d19cc90f14cdbd154657b6d5 ssh-agent -k 21:17:38 unset SSH_AUTH_SOCK; 21:17:38 unset SSH_AGENT_PID; 21:17:38 echo Agent pid 22 killed; 21:17:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 21:17:38 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 21:17:38 This usually means this commit has not been tagged. [Pipeline] sshagent 21:17:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:17:38 [ssh-agent] Looking for ssh-agent implementation... 21:17:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:17:38 $ docker exec 5bd6261bc91f2c4f7a7de5c4436d4b88dc93cb27d19cc90f14cdbd154657b6d5 ssh-agent 21:17:39 SSH_AUTH_SOCK=/tmp/ssh-gV2OH6N7JEL3/agent.56 21:17:39 SSH_AGENT_PID=62 21:17:39 Running ssh-add (command line suppressed) 21:17:39 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-22@tmp/private_key_4537577179269932998.key (/w/workspace/dgexfoundry_device-rest-go_PR-22@tmp/private_key_4537577179269932998.key) 21:17:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:17:39 + git semver init 21:17:39 # -> Open(): unable to determine branch for HEAD 21:17:39 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-22/.git 21:17:39 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-22 21:17:39 # $SEMVER_REMOTE_NAME = origin 21:17:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:17:39 # $SEMVER_USER_NAME = edgex-jenkins 21:17:39 # $SEMVER_BRANCH = PR-22 21:17:39 # $SEMVER_TEMP = /tmp/semver-420302364 21:17:39 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 21:17:40 # '/tmp/semver-420302364' -> '/w/workspace/dgexfoundry_device-rest-go_PR-22/.semver' 21:17:40 # -> Force: false 21:17:40 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-22/.semver [Pipeline] } 21:17:40 $ docker exec --env ******** --env ******** 5bd6261bc91f2c4f7a7de5c4436d4b88dc93cb27d19cc90f14cdbd154657b6d5 ssh-agent -k 21:17:40 unset SSH_AUTH_SOCK; 21:17:40 unset SSH_AGENT_PID; 21:17:40 echo Agent pid 62 killed; 21:17:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:17:41 + git semver [Pipeline] } 21:17:41 $ docker stop --time=1 5bd6261bc91f2c4f7a7de5c4436d4b88dc93cb27d19cc90f14cdbd154657b6d5 21:17:42 $ docker rm -f 5bd6261bc91f2c4f7a7de5c4436d4b88dc93cb27d19cc90f14cdbd154657b6d5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 21:17:44 Stashed 18 file(s) [Pipeline] echo 21:17:44 [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 21:17:45 Running on prd-centos7-docker-4c-2g-7914 in /w/workspace/dgexfoundry_device-rest-go_PR-22 [Pipeline] { [Pipeline] ws 21:17:45 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:17:47 using credential edgex-jenkins-ssh 21:17:47 Cloning the remote Git repository 21:17:47 Cloning with configured refspecs honoured and without tags 21:17:47 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:17:47 > git init /w/workspace/device-rest-go/1 # timeout=10 21:17:48 Fetching without tags 21:17:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:17:47 > git --version # timeout=10 21:17:47 using GIT_SSH to set credentials SSH Credentials for GitHub 21:17:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/22/head:refs/remotes/origin/PR-22 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:17:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:17:48 > git config --add remote.origin.fetch +refs/pull/22/head:refs/remotes/origin/PR-22 # timeout=10 21:17:48 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:17:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:17:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:17:48 using GIT_SSH to set credentials SSH Credentials for GitHub 21:17:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/22/head:refs/remotes/origin/PR-22 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:17:48 Merging remotes/origin/master commit 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd into PR head commit d5d920331de807efc5d9b79072463dcbea4b35ee 21:17:48 Merge succeeded, producing d5d920331de807efc5d9b79072463dcbea4b35ee 21:17:48 Checking out Revision d5d920331de807efc5d9b79072463dcbea4b35ee (PR-22) 21:17:48 > git config core.sparsecheckout # timeout=10 21:17:48 > git checkout -f d5d920331de807efc5d9b79072463dcbea4b35ee # timeout=10 21:17:48 > git remote # timeout=10 21:17:48 > git config --get remote.origin.url # timeout=10 21:17:48 using GIT_SSH to set credentials SSH Credentials for GitHub 21:17:48 > git merge 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd # timeout=10 21:17:48 > git rev-parse HEAD^{commit} # timeout=10 21:17:48 > git config core.sparsecheckout # timeout=10 21:17:48 > git checkout -f d5d920331de807efc5d9b79072463dcbea4b35ee # timeout=10 21:17:52 Commit message: "refactor: Set default logging level to INFO" 21:17:52 > git --version # timeout=10 21:17:52 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:17:54 ========================================================= 21:17:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 21:17:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:17:54 + 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 . 21:17:55 Sending build context to Docker daemon 8.014MB 21:17:55 Step 1/10 : ARG BASE=golang:1.13-alpine 21:17:55 Step 2/10 : FROM ${BASE} 21:17:55 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 21:17:55 e6b0cf9c0882: Pulling fs layer 21:17:55 2848faf0eed1: Pulling fs layer 21:17:55 0f37312ad70f: Pulling fs layer 21:17:55 5788d62ee057: Pulling fs layer 21:17:55 0e6b1d234666: Pulling fs layer 21:17:55 bf5d7aec512f: Pulling fs layer 21:17:55 34c802a77dc8: Pulling fs layer 21:17:55 9eb99e56ec68: Pulling fs layer 21:17:55 27c7a5d97fbd: Pulling fs layer 21:17:55 5c102a31e300: Pulling fs layer 21:17:55 dcfb455df0a1: Pulling fs layer 21:17:55 5788d62ee057: Waiting 21:17:55 0e6b1d234666: Waiting 21:17:55 bf5d7aec512f: Waiting 21:17:55 34c802a77dc8: Waiting 21:17:55 dcfb455df0a1: Waiting 21:17:55 27c7a5d97fbd: Waiting 21:17:55 9eb99e56ec68: Waiting 21:17:55 5c102a31e300: Waiting 21:17:55 2848faf0eed1: Verifying Checksum 21:17:55 2848faf0eed1: Download complete 21:17:55 0e6b1d234666: Download complete 21:17:55 bf5d7aec512f: Verifying Checksum 21:17:55 bf5d7aec512f: Download complete 21:17:55 e6b0cf9c0882: Verifying Checksum 21:17:55 e6b0cf9c0882: Download complete 21:17:55 e6b0cf9c0882: Pull complete 21:17:55 34c802a77dc8: Verifying Checksum 21:17:55 34c802a77dc8: Download complete 21:17:55 27c7a5d97fbd: Verifying Checksum 21:17:55 27c7a5d97fbd: Download complete 21:17:56 2848faf0eed1: Pull complete 21:17:56 5c102a31e300: Verifying Checksum 21:17:56 5c102a31e300: Download complete 21:17:56 dcfb455df0a1: Verifying Checksum 21:17:56 dcfb455df0a1: Download complete 21:17:56 0f37312ad70f: Pull complete 21:17:56 5788d62ee057: Verifying Checksum 21:17:56 5788d62ee057: Download complete 21:17:56 9eb99e56ec68: Verifying Checksum 21:17:56 9eb99e56ec68: Download complete 21:17:59 Still waiting to schedule task 21:17:59 ‘prd-centos7-docker-4c-2g-7901’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-7907’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-7902’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-7912’ is offline 21:18:02 5788d62ee057: Pull complete 21:18:02 0e6b1d234666: Pull complete 21:18:02 bf5d7aec512f: Pull complete 21:18:07 34c802a77dc8: Pull complete 21:18:11 9eb99e56ec68: Pull complete 21:18:11 27c7a5d97fbd: Pull complete 21:18:12 5c102a31e300: Pull complete 21:18:12 dcfb455df0a1: Pull complete 21:18:12 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 21:18:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 21:18:12 ---> 7c70fe431013 21:18:12 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 21:18:12 ---> Running in bb47f48bc679 21:18:12 Removing intermediate container bb47f48bc679 21:18:12 ---> 3aa3ef4dff82 21:18:12 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 21:18:12 ---> Running in d70248e46257 21:18:12 Removing intermediate container d70248e46257 21:18:12 ---> d3bc2bfa3334 21:18:12 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:18:12 ---> Running in fa504194fd89 21:18:12 Removing intermediate container fa504194fd89 21:18:12 ---> a88e52760a50 21:18:12 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:18:12 ---> Running in 32451e4fae6c 21:18:13 Removing intermediate container 32451e4fae6c 21:18:13 ---> 278227046ac4 21:18:13 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:18:13 ---> Running in 2ad5c24bae59 21:18:14 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 21:18:15 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 21:18:15 OK: 143 MiB in 39 packages 21:18:15 Removing intermediate container 2ad5c24bae59 21:18:15 ---> 8a67db112d60 21:18:15 Step 8/10 : WORKDIR /device-rest-go 21:18:15 ---> Running in ef1cc7f9de9f 21:18:16 Removing intermediate container ef1cc7f9de9f 21:18:16 ---> 49af83c5c0d5 21:18:16 Step 9/10 : COPY . . 21:18:16 ---> 449898b2913b 21:18:16 Step 10/10 : RUN go mod download 21:18:16 ---> Running in b75ce0fb0d36 21:18:18 go: finding github.com/BurntSushi/toml v0.3.1 21:18:18 go: finding github.com/OneOfOne/xxhash v1.2.6 21:18:18 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:18:18 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:18:18 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:18:18 go: finding github.com/bgentry/speakeasy v0.1.0 21:18:18 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:18:18 go: finding github.com/davecgh/go-spew v1.1.1 21:18:18 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 21:18:18 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 21:18:18 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:18:18 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 21:18:18 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 21:18:18 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 21:18:18 go: finding github.com/fatih/color v1.7.0 21:18:18 go: finding github.com/fxamacker/cbor/v2 v2.2.0 21:18:18 go: finding github.com/go-kit/kit v0.8.0 21:18:18 go: finding github.com/go-logfmt/logfmt v0.4.0 21:18:18 go: finding github.com/go-stack/stack v1.8.0 21:18:18 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:18:18 go: finding github.com/google/uuid v1.1.0 21:18:18 go: finding github.com/gorilla/mux v1.7.1 21:18:18 go: finding github.com/hashicorp/consul/api v1.1.0 21:18:18 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:18:18 go: finding github.com/hashicorp/errwrap v1.0.0 21:18:18 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:18:18 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:18:18 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:18:18 go: finding github.com/hashicorp/go-multierror v1.0.0 21:18:18 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:18:18 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:18:18 go: finding github.com/hashicorp/go-syslog v1.0.0 21:18:18 go: finding github.com/hashicorp/go-uuid v1.0.1 21:18:18 go: finding github.com/hashicorp/go.net v0.0.1 21:18:18 go: finding github.com/hashicorp/golang-lru v0.5.0 21:18:18 go: finding github.com/hashicorp/logutils v1.0.0 21:18:18 go: finding github.com/hashicorp/mdns v1.0.0 21:18:19 go: finding github.com/hashicorp/memberlist v0.1.3 21:18:19 go: finding github.com/hashicorp/serf v0.8.2 21:18:19 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:18:19 go: finding github.com/mattn/go-colorable v0.0.9 21:18:19 go: finding github.com/mattn/go-isatty v0.0.3 21:18:19 go: finding github.com/miekg/dns v1.0.14 21:18:19 go: finding github.com/mitchellh/cli v1.0.0 21:18:19 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:18:19 go: finding github.com/mitchellh/copystructure v1.0.0 21:18:19 go: finding github.com/mitchellh/go-homedir v1.0.0 21:18:19 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:18:19 go: finding github.com/mitchellh/gox v0.4.0 21:18:19 go: finding github.com/mitchellh/iochan v1.0.0 21:18:19 go: finding github.com/mitchellh/mapstructure v1.1.2 21:18:19 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:18:19 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:18:19 go: finding github.com/pelletier/go-toml v1.2.0 21:18:19 go: finding github.com/pkg/errors v0.8.1 21:18:19 go: finding github.com/pmezard/go-difflib v1.0.0 21:18:19 go: finding github.com/posener/complete v1.1.1 21:18:19 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:18:19 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:18:19 go: finding github.com/spf13/cast v1.3.0 21:18:19 go: finding github.com/stretchr/objx v0.1.0 21:18:19 go: finding github.com/stretchr/testify v1.5.1 21:18:19 go: finding github.com/ugorji/go v1.1.4 21:18:19 go: finding github.com/x448/float16 v0.8.4 21:18:19 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 21:18:19 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 21:18:19 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:18:19 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 21:18:19 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 21:18:19 go: finding gopkg.in/yaml.v2 v2.2.8 21:18:23 Removing intermediate container b75ce0fb0d36 21:18:23 ---> 0d5a989f8db1 21:18:23 Successfully built 0d5a989f8db1 21:18:23 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 21:18:24 + docker inspect -f . ci-base-image-x86_64 21:18:24 . [Pipeline] withDockerContainer 21:18:24 prd-centos7-docker-4c-2g-7914 does not seem to be running inside a container 21:18:24 $ 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 ******** ci-base-image-x86_64 cat 21:18:25 $ docker top 9480ee3c9f97f18b96f5c6e586c63e564b4673baffd65428670a9f04cf7ddf67 -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:25 + go version 21:18:25 go version go1.13.5 linux/amd64 [Pipeline] sh 21:18:26 + make test 21:18:26 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 21:18:26 ? github.com/edgexfoundry/device-rest-go [no test files] 21:18:39 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:18:39 ok github.com/edgexfoundry/device-rest-go/driver 0.028s coverage: 56.3% of statements 21:18:39 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:18:41 gofmt -l . 21:18:41 [ "`gofmt -l .`" = "" ] 21:18:41 ./bin/test-go-mod-tidy.sh 21:18:41 ./bin/test-attribution-txt.sh [Pipeline] stash 21:18:42 Stashed 1 file(s) [Pipeline] } 21:18:42 $ docker stop --time=1 9480ee3c9f97f18b96f5c6e586c63e564b4673baffd65428670a9f04cf7ddf67 21:18:43 $ docker rm -f 9480ee3c9f97f18b96f5c6e586c63e564b4673baffd65428670a9f04cf7ddf67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:18:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:18:45 + ls -al . 21:18:45 total 88 21:18:45 drwxrwxr-x. 7 jenkins jenkins 4096 May 11 21:18 . 21:18:45 drwxrwxr-x. 4 jenkins jenkins 28 May 11 21:17 .. 21:18:45 drwxrwxr-x. 2 jenkins jenkins 64 May 11 21:17 bin 21:18:45 drwxrwxr-x. 3 jenkins jenkins 55 May 11 21:17 cmd 21:18:45 -rw-r--r--. 1 jenkins jenkins 9369 May 11 21:18 coverage.out 21:18:45 -rw-rw-r--. 1 jenkins jenkins 1419 May 11 21:17 Dockerfile 21:18:45 -rw-rw-r--. 1 jenkins jenkins 989 May 11 21:17 Dockerfile.build 21:18:45 -rw-rw-r--. 1 jenkins jenkins 151 May 11 21:17 .dockerignore 21:18:45 drwxrwxr-x. 2 jenkins jenkins 93 May 11 21:18 driver 21:18:45 drwxrwxr-x. 8 jenkins jenkins 179 May 11 21:17 .git 21:18:45 -rw-rw-r--. 1 jenkins jenkins 339 May 11 21:17 .gitignore 21:18:45 -rw-r--r--. 1 jenkins jenkins 273 May 11 21:18 go.mod 21:18:45 -rw-r--r--. 1 jenkins jenkins 12444 May 11 21:18 go.sum 21:18:45 -rw-rw-r--. 1 jenkins jenkins 702 May 11 21:17 Jenkinsfile 21:18:45 -rw-rw-r--. 1 jenkins jenkins 11340 May 11 21:17 LICENSE 21:18:45 -rw-rw-r--. 1 jenkins jenkins 951 May 11 21:17 Makefile 21:18:45 -rw-rw-r--. 1 jenkins jenkins 5716 May 11 21:17 README.md 21:18:45 drwxrwxr-x. 3 jenkins jenkins 45 May 11 21:17 .semver 21:18:45 -rw-rw-r--. 1 jenkins jenkins 5 May 11 21:17 VERSION 21:18:45 -rw-rw-r--. 1 jenkins jenkins 713 May 11 21:17 version.go [Pipeline] isUnix [Pipeline] sh 21:18:46 + 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=d5d920331de807efc5d9b79072463dcbea4b35ee --label arch=amd64 --label version=0.0.0 . 21:18:46 Sending build context to Docker daemon 8.026MB 21:18:46 Step 1/23 : ARG BASE=golang:1.13-alpine 21:18:46 Step 2/23 : FROM ${BASE} AS builder 21:18:46 ---> 0d5a989f8db1 21:18:46 Step 3/23 : ARG MAKE='make build' 21:18:46 ---> Running in ccdf0c4c039e 21:18:46 Removing intermediate container ccdf0c4c039e 21:18:46 ---> b4d67c1db675 21:18:46 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 21:18:46 ---> Running in fbf0d65242a2 21:18:46 Removing intermediate container fbf0d65242a2 21:18:46 ---> 93b3587e39a0 21:18:46 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 21:18:46 ---> Running in 18843971f3fc 21:18:47 Removing intermediate container 18843971f3fc 21:18:47 ---> 8e8757eb4f3b 21:18:47 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:18:47 ---> Running in 1768851d6e5c 21:18:47 Removing intermediate container 1768851d6e5c 21:18:47 ---> f24a73457e93 21:18:47 Step 7/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:18:47 ---> Running in 679567815e4a 21:18:48 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 21:18:48 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 21:18:49 OK: 143 MiB in 39 packages 21:18:49 Removing intermediate container 679567815e4a 21:18:49 ---> 58849b4c16dc 21:18:49 Step 8/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 21:18:49 ---> Running in ab9168e30f5b 21:18:49 Removing intermediate container ab9168e30f5b 21:18:49 ---> c460eb9ce3c3 21:18:49 Step 9/23 : COPY go.mod . 21:18:49 ---> 34dd5e915294 21:18:49 Step 10/23 : COPY Makefile . 21:18:50 ---> be64121adb79 21:18:50 Step 11/23 : RUN make update 21:18:50 ---> Running in 85e073274744 21:18:50 CGO_ENABLED=0 GO111MODULE=on go mod download 21:18:50 Removing intermediate container 85e073274744 21:18:50 ---> 337c9b41dc70 21:18:50 Step 12/23 : COPY . . 21:18:51 ---> edb7dc86adbb 21:18:51 Step 13/23 : RUN $MAKE 21:18:51 ---> Running in 02dc72d81666 21:18:51 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 21:19:01 Removing intermediate container 02dc72d81666 21:19:01 ---> 978e0861523f 21:19:01 Step 14/23 : FROM alpine:latest 21:19:02 latest: Pulling from library/alpine 21:19:02 cbdbe7a5bc2a: Pulling fs layer 21:19:02 cbdbe7a5bc2a: Verifying Checksum 21:19:02 cbdbe7a5bc2a: Download complete 21:19:02 cbdbe7a5bc2a: Pull complete 21:19:02 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 21:19:02 Status: Downloaded newer image for alpine:latest 21:19:02 ---> f70734b6a266 21:19:02 Step 15/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:19:02 ---> Running in 64bb7850439c 21:19:02 Removing intermediate container 64bb7850439c 21:19:02 ---> f2160b92df80 21:19:02 Step 16/23 : LABEL Name=device-rest-go Version=${VERSION} 21:19:02 ---> Running in 03e02612c5fa 21:19:02 Removing intermediate container 03e02612c5fa 21:19:02 ---> 8fd9d79b6662 21:19:02 Step 17/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 21:19:03 ---> e5a4731247e1 21:19:03 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 21:19:03 ---> d323d330ddc6 21:19:03 Step 19/23 : EXPOSE 49986 21:19:03 ---> Running in 691fd2370bb0 21:19:03 Removing intermediate container 691fd2370bb0 21:19:03 ---> 8e25ed2c73a0 21:19:03 Step 20/23 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 21:19:03 ---> Running in c54b6b60db30 21:19:03 Removing intermediate container c54b6b60db30 21:19:03 ---> fc2d303e3edf 21:19:03 Step 21/23 : LABEL arch=amd64 21:19:03 ---> Running in 4ff9f8064516 21:19:04 Removing intermediate container 4ff9f8064516 21:19:04 ---> 7ae3e3bb93e7 21:19:04 Step 22/23 : LABEL git_sha=d5d920331de807efc5d9b79072463dcbea4b35ee 21:19:04 ---> Running in fe73ff114b61 21:19:04 Removing intermediate container fe73ff114b61 21:19:04 ---> 17d4be58c461 21:19:04 Step 23/23 : LABEL version=0.0.0 21:19:04 ---> Running in 313ada3a108b 21:19:04 Removing intermediate container 313ada3a108b 21:19:04 ---> 0acd23e3420e 21:19:04 [Warning] One or more build-args [ARCH] were not consumed 21:19:04 Successfully built 0acd23e3420e 21:19:04 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] } 21:20:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-7917 in /w/workspace/dgexfoundry_device-rest-go_PR-22 [Pipeline] { [Pipeline] ws 21:20:47 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:20:53 using credential edgex-jenkins-ssh 21:20:53 Cloning the remote Git repository 21:20:53 Cloning with configured refspecs honoured and without tags 21:20:53 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:20:54 > git init /w/workspace/device-rest-go/1 # timeout=10 21:20:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:20:54 > git --version # timeout=10 21:20:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:20:54 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/22/head:refs/remotes/origin/PR-22 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:20:55 Fetching without tags 21:20:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:20:55 > git config --add remote.origin.fetch +refs/pull/22/head:refs/remotes/origin/PR-22 # timeout=10 21:20:55 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:20:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:20:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:20:55 using GIT_SSH to set credentials SSH Credentials for GitHub 21:20:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/22/head:refs/remotes/origin/PR-22 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:20:56 Merging remotes/origin/master commit 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd into PR head commit d5d920331de807efc5d9b79072463dcbea4b35ee 21:20:56 Merge succeeded, producing d5d920331de807efc5d9b79072463dcbea4b35ee 21:20:56 Checking out Revision d5d920331de807efc5d9b79072463dcbea4b35ee (PR-22) 21:20:56 > git config core.sparsecheckout # timeout=10 21:20:56 > git checkout -f d5d920331de807efc5d9b79072463dcbea4b35ee # timeout=10 21:20:56 > git remote # timeout=10 21:20:56 > git config --get remote.origin.url # timeout=10 21:20:56 using GIT_SSH to set credentials SSH Credentials for GitHub 21:20:56 > git merge 210f50c9adcd32d3bf7f0011a8b75df57d2f34bd # timeout=10 21:20:56 > git rev-parse HEAD^{commit} # timeout=10 21:20:56 > git config core.sparsecheckout # timeout=10 21:20:56 > git checkout -f d5d920331de807efc5d9b79072463dcbea4b35ee # timeout=10 21:21:01 Commit message: "refactor: Set default logging level to INFO" 21:21:01 > git --version # timeout=10 21:21:01 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:21:03 ========================================================= 21:21:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 21:21:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:21:05 + 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 . 21:21:05 Sending build context to Docker daemon 8.014MB 21:21:06 Step 1/10 : ARG BASE=golang:1.13-alpine 21:21:06 Step 2/10 : FROM ${BASE} 21:21:06 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:21:06 cde5963f3b93: Pulling fs layer 21:21:06 2a23fa8c16f7: Pulling fs layer 21:21:06 777b28850792: Pulling fs layer 21:21:06 8a11ddd9e578: Pulling fs layer 21:21:06 4cf88f913ddb: Pulling fs layer 21:21:06 1df406cf5192: Pulling fs layer 21:21:06 cd6300453558: Pulling fs layer 21:21:06 b9c365052c96: Pulling fs layer 21:21:06 a2d8cc88f415: Pulling fs layer 21:21:06 ea1d1ca13537: Pulling fs layer 21:21:06 3750a50a1c5e: Pulling fs layer 21:21:06 1df406cf5192: Waiting 21:21:06 cd6300453558: Waiting 21:21:06 b9c365052c96: Waiting 21:21:06 a2d8cc88f415: Waiting 21:21:06 3750a50a1c5e: Waiting 21:21:06 ea1d1ca13537: Waiting 21:21:06 8a11ddd9e578: Waiting 21:21:06 4cf88f913ddb: Waiting 21:21:06 777b28850792: Verifying Checksum 21:21:06 777b28850792: Download complete 21:21:06 2a23fa8c16f7: Download complete 21:21:06 4cf88f913ddb: Verifying Checksum 21:21:06 4cf88f913ddb: Download complete 21:21:06 1df406cf5192: Verifying Checksum 21:21:06 1df406cf5192: Download complete 21:21:07 cde5963f3b93: Verifying Checksum 21:21:07 cde5963f3b93: Download complete 21:21:08 cde5963f3b93: Pull complete 21:21:08 2a23fa8c16f7: Pull complete 21:21:09 777b28850792: Pull complete 21:21:11 cd6300453558: Verifying Checksum 21:21:11 cd6300453558: Download complete 21:21:11 a2d8cc88f415: Verifying Checksum 21:21:11 a2d8cc88f415: Download complete 21:21:14 ea1d1ca13537: Verifying Checksum 21:21:14 ea1d1ca13537: Download complete 21:21:14 3750a50a1c5e: Verifying Checksum 21:21:14 3750a50a1c5e: Download complete 21:21:17 b9c365052c96: Verifying Checksum 21:21:17 b9c365052c96: Download complete 21:21:18 8a11ddd9e578: Verifying Checksum 21:21:18 8a11ddd9e578: Download complete 21:21:31 8a11ddd9e578: Pull complete 21:21:31 4cf88f913ddb: Pull complete 21:21:31 1df406cf5192: Pull complete 21:21:34 cd6300453558: Pull complete 21:21:39 b9c365052c96: Pull complete 21:21:39 a2d8cc88f415: Pull complete 21:21:41 ea1d1ca13537: Pull complete 21:21:42 3750a50a1c5e: Pull complete 21:21:42 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 21:21:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 21:21:42 ---> 78745c68409d 21:21:42 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 21:21:47 ---> Running in bd8a209ea7fd 21:21:47 Removing intermediate container bd8a209ea7fd 21:21:47 ---> 749e2418cf49 21:21:47 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 21:21:47 ---> Running in 591959e85a9b 21:21:48 Removing intermediate container 591959e85a9b 21:21:48 ---> 27f0d429ecc1 21:21:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:21:48 ---> Running in a1264af33e24 21:21:48 Removing intermediate container a1264af33e24 21:21:48 ---> 356e74d48237 21:21:48 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:21:48 ---> Running in 0afa361d7218 21:21:51 Removing intermediate container 0afa361d7218 21:21:51 ---> b48094af67ad 21:21:51 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:21:51 ---> Running in 08f75c81dc4d 21:21:52 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 21:21:55 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 21:21:56 OK: 125 MiB in 39 packages 21:21:57 Removing intermediate container 08f75c81dc4d 21:21:57 ---> b874a5141a37 21:21:57 Step 8/10 : WORKDIR /device-rest-go 21:21:57 ---> Running in 0ff5b5a63a32 21:21:58 Removing intermediate container 0ff5b5a63a32 21:21:58 ---> c8655e862861 21:21:58 Step 9/10 : COPY . . 21:21:59 ---> f07fd4fe3507 21:21:59 Step 10/10 : RUN go mod download 21:21:59 ---> Running in 6ecdbbaf94cc 21:22:01 go: finding github.com/BurntSushi/toml v0.3.1 21:22:01 go: finding github.com/OneOfOne/xxhash v1.2.6 21:22:01 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:22:01 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:22:01 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:22:01 go: finding github.com/bgentry/speakeasy v0.1.0 21:22:01 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:22:01 go: finding github.com/davecgh/go-spew v1.1.1 21:22:01 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 21:22:01 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 21:22:01 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:22:01 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 21:22:01 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 21:22:01 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 21:22:01 go: finding github.com/fatih/color v1.7.0 21:22:01 go: finding github.com/fxamacker/cbor/v2 v2.2.0 21:22:01 go: finding github.com/go-kit/kit v0.8.0 21:22:02 go: finding github.com/go-logfmt/logfmt v0.4.0 21:22:02 go: finding github.com/go-stack/stack v1.8.0 21:22:02 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:22:02 go: finding github.com/google/uuid v1.1.0 21:22:02 go: finding github.com/gorilla/mux v1.7.1 21:22:02 go: finding github.com/hashicorp/consul/api v1.1.0 21:22:02 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:22:02 go: finding github.com/hashicorp/errwrap v1.0.0 21:22:02 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:22:02 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:22:02 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:22:02 go: finding github.com/hashicorp/go-multierror v1.0.0 21:22:02 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:22:02 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:22:02 go: finding github.com/hashicorp/go-syslog v1.0.0 21:22:02 go: finding github.com/hashicorp/go-uuid v1.0.1 21:22:02 go: finding github.com/hashicorp/go.net v0.0.1 21:22:02 go: finding github.com/hashicorp/golang-lru v0.5.0 21:22:02 go: finding github.com/hashicorp/logutils v1.0.0 21:22:02 go: finding github.com/hashicorp/mdns v1.0.0 21:22:02 go: finding github.com/hashicorp/memberlist v0.1.3 21:22:02 go: finding github.com/hashicorp/serf v0.8.2 21:22:02 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:22:02 go: finding github.com/mattn/go-colorable v0.0.9 21:22:02 go: finding github.com/mattn/go-isatty v0.0.3 21:22:02 go: finding github.com/miekg/dns v1.0.14 21:22:02 go: finding github.com/mitchellh/cli v1.0.0 21:22:02 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:22:02 go: finding github.com/mitchellh/copystructure v1.0.0 21:22:02 go: finding github.com/mitchellh/go-homedir v1.0.0 21:22:02 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:22:02 go: finding github.com/mitchellh/gox v0.4.0 21:22:02 go: finding github.com/mitchellh/iochan v1.0.0 21:22:02 go: finding github.com/mitchellh/mapstructure v1.1.2 21:22:02 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:22:02 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:22:02 go: finding github.com/pelletier/go-toml v1.2.0 21:22:02 go: finding github.com/pkg/errors v0.8.1 21:22:02 go: finding github.com/pmezard/go-difflib v1.0.0 21:22:02 go: finding github.com/posener/complete v1.1.1 21:22:02 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:22:02 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:22:02 go: finding github.com/spf13/cast v1.3.0 21:22:02 go: finding github.com/stretchr/objx v0.1.0 21:22:02 go: finding github.com/stretchr/testify v1.5.1 21:22:02 go: finding github.com/ugorji/go v1.1.4 21:22:02 go: finding github.com/x448/float16 v0.8.4 21:22:02 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 21:22:02 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 21:22:02 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:22:02 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 21:22:02 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 21:22:02 go: finding gopkg.in/yaml.v2 v2.2.8 21:22:13 Removing intermediate container 6ecdbbaf94cc 21:22:13 ---> 5441699576d0 21:22:13 Successfully built 5441699576d0 21:22:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:22:13 + docker inspect -f . ci-base-image-arm64 21:22:14 . [Pipeline] withDockerContainer 21:22:14 prd-ubuntu18.04-docker-arm64-4c-16g-7917 does not seem to be running inside a container 21:22:14 $ 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 ******** ci-base-image-arm64 cat 21:22:16 $ docker top 063183f5f7d838e535ef1fabcd0f12b3ab94feede9dcba0f4b3db87a1531d349 -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:17 + go version 21:22:17 go version go1.13.5 linux/arm64 [Pipeline] sh 21:22:18 + make test 21:22:18 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 21:22:19 ? github.com/edgexfoundry/device-rest-go [no test files] 21:22:51 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:22:51 ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 56.3% of statements 21:22:51 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:22:57 gofmt -l . 21:22:57 [ "`gofmt -l .`" = "" ] 21:22:57 ./bin/test-go-mod-tidy.sh 21:22:57 ./bin/test-attribution-txt.sh [Pipeline] stash 21:22:57 Warning: overwriting stash ‘coverage-report’ 21:22:58 Stashed 1 file(s) [Pipeline] } 21:22:58 $ docker stop --time=1 063183f5f7d838e535ef1fabcd0f12b3ab94feede9dcba0f4b3db87a1531d349 21:23:00 $ docker rm -f 063183f5f7d838e535ef1fabcd0f12b3ab94feede9dcba0f4b3db87a1531d349 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:23:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:23:02 + ls -al . 21:23:02 total 112 21:23:02 drwxrwxr-x 7 jenkins jenkins 4096 May 11 21:22 . 21:23:02 drwxrwxr-x 4 jenkins jenkins 4096 May 11 21:20 .. 21:23:02 -rw-rw-r-- 1 jenkins jenkins 151 May 11 21:20 .dockerignore 21:23:02 drwxrwxr-x 8 jenkins jenkins 4096 May 11 21:21 .git 21:23:02 -rw-rw-r-- 1 jenkins jenkins 339 May 11 21:20 .gitignore 21:23:02 drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:21 .semver 21:23:02 -rw-rw-r-- 1 jenkins jenkins 1419 May 11 21:20 Dockerfile 21:23:02 -rw-rw-r-- 1 jenkins jenkins 989 May 11 21:20 Dockerfile.build 21:23:02 -rw-rw-r-- 1 jenkins jenkins 702 May 11 21:20 Jenkinsfile 21:23:02 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 21:20 LICENSE 21:23:02 -rw-rw-r-- 1 jenkins jenkins 951 May 11 21:20 Makefile 21:23:02 -rw-rw-r-- 1 jenkins jenkins 5716 May 11 21:20 README.md 21:23:02 -rw-rw-r-- 1 jenkins jenkins 5 May 11 21:17 VERSION 21:23:02 drwxrwxr-x 2 jenkins jenkins 4096 May 11 21:20 bin 21:23:02 drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:20 cmd 21:23:02 -rw-r--r-- 1 jenkins jenkins 9369 May 11 21:22 coverage.out 21:23:02 drwxrwxr-x 2 jenkins jenkins 4096 May 11 21:22 driver 21:23:02 -rw-r--r-- 1 jenkins jenkins 273 May 11 21:22 go.mod 21:23:02 -rw-r--r-- 1 jenkins jenkins 12444 May 11 21:22 go.sum 21:23:02 -rw-rw-r-- 1 jenkins jenkins 713 May 11 21:20 version.go [Pipeline] isUnix [Pipeline] sh 21:23:03 + 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=d5d920331de807efc5d9b79072463dcbea4b35ee --label arch=arm64 --label version=0.0.0 . 21:23:03 Sending build context to Docker daemon 8.026MB 21:23:03 Step 1/23 : ARG BASE=golang:1.13-alpine 21:23:03 Step 2/23 : FROM ${BASE} AS builder 21:23:03 ---> 5441699576d0 21:23:03 Step 3/23 : ARG MAKE='make build' 21:23:04 ---> Running in c9a8ed104423 21:23:04 Removing intermediate container c9a8ed104423 21:23:04 ---> 7d93bc3021c4 21:23:04 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 21:23:04 ---> Running in 23b8b323eafd 21:23:04 Removing intermediate container 23b8b323eafd 21:23:04 ---> 5c491cc91342 21:23:04 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 21:23:05 ---> Running in 3d6481e49bb4 21:23:05 Removing intermediate container 3d6481e49bb4 21:23:05 ---> d3395c7466d8 21:23:05 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:23:05 ---> Running in b2112c6cd5a1 21:23:07 Removing intermediate container b2112c6cd5a1 21:23:07 ---> abc1cfacdf62 21:23:07 Step 7/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:23:07 ---> Running in a51cea0455b6 21:23:08 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 21:23:10 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 21:23:11 OK: 125 MiB in 39 packages 21:23:12 Removing intermediate container a51cea0455b6 21:23:12 ---> 49d89fdcd8fc 21:23:12 Step 8/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 21:23:12 ---> Running in 0eecce094f55 21:23:13 Removing intermediate container 0eecce094f55 21:23:13 ---> c9b7ba12746a 21:23:13 Step 9/23 : COPY go.mod . 21:23:13 ---> 0acbabdbf9cc 21:23:13 Step 10/23 : COPY Makefile . 21:23:14 ---> b63ab26fb868 21:23:14 Step 11/23 : RUN make update 21:23:14 ---> Running in 1b4b8b4da24f 21:23:15 CGO_ENABLED=0 GO111MODULE=on go mod download 21:23:16 Removing intermediate container 1b4b8b4da24f 21:23:16 ---> 6681e721d93d 21:23:16 Step 12/23 : COPY . . 21:23:17 ---> 4acc7eeecb43 21:23:17 Step 13/23 : RUN $MAKE 21:23:17 ---> Running in dec8684f6ca2 21:23:18 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 21:23:51 Removing intermediate container dec8684f6ca2 21:23:51 ---> b493f8dcc11a 21:23:51 Step 14/23 : FROM alpine:latest 21:23:51 latest: Pulling from library/alpine 21:23:51 29e5d40040c1: Pulling fs layer 21:23:51 29e5d40040c1: Verifying Checksum 21:23:51 29e5d40040c1: Download complete 21:23:51 29e5d40040c1: Pull complete 21:23:51 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 21:23:51 Status: Downloaded newer image for alpine:latest 21:23:51 ---> c20d2a9ab686 21:23:51 Step 15/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:23:51 ---> Running in 533b944f5277 21:23:51 Removing intermediate container 533b944f5277 21:23:51 ---> 43256851455a 21:23:51 Step 16/23 : LABEL Name=device-rest-go Version=${VERSION} 21:23:51 ---> Running in 62f0489c1326 21:23:51 Removing intermediate container 62f0489c1326 21:23:51 ---> 3498b80821b2 21:23:51 Step 17/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 21:23:52 ---> 468cf8e53885 21:23:52 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 21:23:53 ---> 1315a3ee49ef 21:23:53 Step 19/23 : EXPOSE 49986 21:23:53 ---> Running in f99d76d69109 21:23:53 Removing intermediate container f99d76d69109 21:23:53 ---> ca5b75f9d0ef 21:23:53 Step 20/23 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 21:23:54 ---> Running in ff089d00661a 21:23:54 Removing intermediate container ff089d00661a 21:23:54 ---> b086f15e5829 21:23:54 Step 21/23 : LABEL arch=arm64 21:23:54 ---> Running in 43792e92346d 21:23:54 Removing intermediate container 43792e92346d 21:23:54 ---> 4759a7d34ca2 21:23:54 Step 22/23 : LABEL git_sha=d5d920331de807efc5d9b79072463dcbea4b35ee 21:23:55 ---> Running in b68a45e90d05 21:23:55 Removing intermediate container b68a45e90d05 21:23:55 ---> 2ca6d4eacfb0 21:23:55 Step 23/23 : LABEL version=0.0.0 21:23:55 ---> Running in 45c21a894d4e 21:23:55 Removing intermediate container 45c21a894d4e 21:23:55 ---> f4a9421dfb19 21:23:55 [Warning] One or more build-args [ARCH] were not consumed 21:23:55 Successfully built f4a9421dfb19 21:23:55 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 21:23:58 provisioning config files... 21:23:58 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-22@tmp/config3919865375398350931tmp [Pipeline] { [Pipeline] sh 21:23:58 + curl -s https://codecov.io/bash 21:23:58 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-22@tmp/config3919865375398350931tmp 21:23:58 21:23:58 _____ _ 21:23:58 / ____| | | 21:23:58 | | ___ __| | ___ ___ _____ __ 21:23:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:23:58 | |___| (_) | (_| | __/ (_| (_) \ V / 21:23:58 \_____\___/ \__,_|\___|\___\___/ \_/ 21:23:58 Bash-tbd 21:23:58 21:23:58 21:23:58 ==> Jenkins CI detected. 21:23:58 project root: . 21:23:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:23:58 ==> Running gcov in . (disable via -X gcov) 21:23:58 ==> Python coveragepy not found 21:23:58 ==> Searching for coverage reports in: 21:23:58 + . 21:23:58 -> Found 1 reports 21:23:58 ==> Detecting git/mercurial file structure 21:23:58 ==> Reading reports 21:23:58 + ./coverage.out bytes=9369 21:23:58 ==> Appending adjustments 21:23:58 http://docs.codecov.io/docs/fixing-reports 21:23:58 + Found adjustments 21:23:58 ==> Gzipping contents 21:23:58 ==> Uploading reports 21:23:58 url: https://codecov.io 21:23:58 query: branch=PR-22&commit=d5d920331de807efc5d9b79072463dcbea4b35ee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-22%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=22&job= 21:23:58 -> Pinging Codecov 21:23:58 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-22&commit=d5d920331de807efc5d9b79072463dcbea4b35ee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-22%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=22&job= 21:23:59 -> Uploading 21:23:59 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d5d920331de807efc5d9b79072463dcbea4b35ee [Pipeline] } 21:23:59 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 21:24:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:24:01 ---> package-listing.sh 21:24:01 ++ facter osfamily 21:24:01 ++ tr '[:upper:]' '[:lower:]' 21:24:01 + OS_FAMILY=redhat 21:24:01 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-22 21:24:01 + START_PACKAGES=/tmp/packages_start.txt 21:24:01 + END_PACKAGES=/tmp/packages_end.txt 21:24:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:24:01 + PACKAGES=/tmp/packages_start.txt 21:24:01 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-22 ']' 21:24:01 + PACKAGES=/tmp/packages_end.txt 21:24:01 + case "${OS_FAMILY}" in 21:24:01 + rpm -qa 21:24:01 + sort 21:24:06 + '[' -f /tmp/packages_start.txt ']' 21:24:06 + '[' -f /tmp/packages_end.txt ']' 21:24:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:24:06 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-22 ']' 21:24:06 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-22/archives/ 21:24:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-22/archives/ [Pipeline] isUnix [Pipeline] sh 21:24:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:24:06 21:24:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:24:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:24:06 alpine: Pulling from edgex-lftools-log-publisher 21:24:06 c9b1b535fdd9: Pulling fs layer 21:24:06 2cc5ad85d9ab: Pulling fs layer 21:24:06 756a868c4378: Pulling fs layer 21:24:06 444b2fc9a129: Pulling fs layer 21:24:06 ea15f1150254: Pulling fs layer 21:24:06 41b27a9f41bf: Pulling fs layer 21:24:06 28c525ee5125: Pulling fs layer 21:24:06 094b1ea09ed8: Pulling fs layer 21:24:06 138eaada9080: Pulling fs layer 21:24:06 0622d0fa9048: Pulling fs layer 21:24:06 41b27a9f41bf: Waiting 21:24:06 28c525ee5125: Waiting 21:24:06 094b1ea09ed8: Waiting 21:24:06 138eaada9080: Waiting 21:24:06 0622d0fa9048: Waiting 21:24:06 444b2fc9a129: Waiting 21:24:06 ea15f1150254: Waiting 21:24:06 2cc5ad85d9ab: Verifying Checksum 21:24:06 2cc5ad85d9ab: Download complete 21:24:06 444b2fc9a129: Download complete 21:24:06 c9b1b535fdd9: Verifying Checksum 21:24:07 ea15f1150254: Download complete 21:24:07 28c525ee5125: Verifying Checksum 21:24:07 28c525ee5125: Download complete 21:24:07 756a868c4378: Download complete 21:24:07 c9b1b535fdd9: Pull complete 21:24:07 138eaada9080: Verifying Checksum 21:24:07 138eaada9080: Download complete 21:24:07 0622d0fa9048: Verifying Checksum 21:24:07 0622d0fa9048: Download complete 21:24:07 2cc5ad85d9ab: Pull complete 21:24:07 094b1ea09ed8: Verifying Checksum 21:24:07 094b1ea09ed8: Download complete 21:24:08 41b27a9f41bf: Verifying Checksum 21:24:08 41b27a9f41bf: Download complete 21:24:09 756a868c4378: Pull complete 21:24:09 444b2fc9a129: Pull complete 21:24:09 ea15f1150254: Pull complete 21:24:12 41b27a9f41bf: Pull complete 21:24:12 28c525ee5125: Pull complete 21:24:14 094b1ea09ed8: Pull complete 21:24:14 138eaada9080: Pull complete 21:24:15 0622d0fa9048: Pull complete 21:24:15 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 21:24:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:24:15 prd-centos7-docker-4c-2g-7913 does not seem to be running inside a container 21:24:15 $ 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-22 -v /w/workspace/dgexfoundry_device-rest-go_PR-22:/w/workspace/dgexfoundry_device-rest-go_PR-22:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-22@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-22@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 21:24:15 $ docker top 31329ee0a7418ba626bfabc66b313aea1220b702b43da32f8d7f7a90a1ef0720 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:24:16 provisioning config files... 21:24:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-22@tmp/config7535351616865704555tmp [Pipeline] { [Pipeline] echo 21:24:16 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:24:16 ---> create-netrc.sh [Pipeline] echo 21:24:16 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:24:17 ---> logs-deploy.sh 21:24:17 + ARCHIVE_ARTIFACTS= 21:24:17 + LOGS_SERVER=https://logs.edgexfoundry.org 21:24:17 + '[' https://logs.edgexfoundry.org == None ']' 21:24:17 + NEXUS_URL=https://nexus.edgexfoundry.org 21:24:17 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-22/1 21:24:17 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-22/1/ 21:24:17 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-22/1 /w/workspace/dgexfoundry_device-rest-go_PR-22 21:24:18 Archives upload complete. 21:24:18 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-22/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-22/1/ 21:24:19 ---> uname -a: 21:24:19 Linux 31329ee0a741 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 21:24:19 21:24:19 21:24:19 ---> lscpu: 21:24:19 Architecture: x86_64 21:24:19 CPU op-mode(s): 32-bit, 64-bit 21:24:19 Byte Order: Little Endian 21:24:19 Address sizes: 40 bits physical, 48 bits virtual 21:24:19 CPU(s): 4 21:24:19 On-line CPU(s) list: 0-3 21:24:19 Thread(s) per core: 1 21:24:19 Core(s) per socket: 1 21:24:19 Socket(s): 4 21:24:19 NUMA node(s): 1 21:24:19 Vendor ID: GenuineIntel 21:24:19 CPU family: 6 21:24:19 Model: 44 21:24:19 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 21:24:19 Stepping: 1 21:24:19 CPU MHz: 2933.438 21:24:19 BogoMIPS: 5866.87 21:24:19 Virtualization: VT-x 21:24:19 Hypervisor vendor: KVM 21:24:19 Virtualization type: full 21:24:19 L1d cache: 128 KiB 21:24:19 L1i cache: 128 KiB 21:24:19 L2 cache: 16 MiB 21:24:19 L3 cache: 64 MiB 21:24:19 NUMA node0 CPU(s): 0-3 21:24:19 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 21:24:19 Vulnerability Meltdown: Mitigation; PTI 21:24:19 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:24:19 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 21:24:19 Vulnerability Spectre v2: Mitigation; Full retpoline 21:24:19 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 21:24:19 21:24:19 21:24:19 ---> nproc: 21:24:19 4 21:24:19 21:24:19 21:24:19 ---> df -h: 21:24:19 Filesystem Size Used Available Use% Mounted on 21:24:19 overlay 50.0G 6.3G 43.6G 13% / 21:24:19 tmpfs 64.0M 0 64.0M 0% /dev 21:24:19 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 21:24:19 shm 64.0M 0 64.0M 0% /dev/shm 21:24:19 /dev/vda1 50.0G 6.3G 43.6G 13% /etc/resolv.conf 21:24:19 /dev/vda1 50.0G 6.3G 43.6G 13% /etc/hostname 21:24:19 /dev/vda1 50.0G 6.3G 43.6G 13% /etc/hosts 21:24:19 /dev/vda1 50.0G 6.3G 43.6G 13% /w/workspace/dgexfoundry_device-rest-go_PR-22 21:24:19 /dev/vda1 50.0G 6.3G 43.6G 13% /w/workspace/dgexfoundry_device-rest-go_PR-22@tmp 21:24:19 /dev/vda1 50.0G 6.3G 43.6G 13% /var/log/sa 21:24:19 21:24:19 21:24:19 ---> free -m: 21:24:19 total used free shared buff/cache available 21:24:19 Mem: 1838 592 68 0 1177 1142 21:24:19 Swap: 1023 0 1023 21:24:19 21:24:19 21:24:19 ---> ip addr: 21:24:19 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 21:24:19 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 21:24:19 inet 127.0.0.1/8 scope host lo 21:24:19 valid_lft forever preferred_lft forever 21:24:19 6: eth0@if7: mtu 1458 qdisc noqueue state UP 21:24:19 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 21:24:19 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 21:24:19 valid_lft forever preferred_lft forever 21:24:19 21:24:19 21:24:19 ---> sar -b -r -n DEV: 21:24:19 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 05/11/20 _x86_64_ (4 CPU) 21:24:19 21:24:19 21:16:52 LINUX RESTART 21:24:19 21:24:19 21:18:01 tps rtps wtps bread/s bwrtn/s 21:24:19 21:19:01 9.26 0.00 9.26 0.00 1998.52 21:24:19 21:20:01 0.30 0.00 0.30 0.00 3.16 21:24:19 21:21:01 0.33 0.00 0.33 0.00 3.63 21:24:19 21:22:01 0.27 0.00 0.27 0.00 3.60 21:24:19 21:23:01 0.30 0.00 0.30 0.00 5.01 21:24:19 21:24:01 3.38 3.10 0.28 412.92 3.00 21:24:19 Average: 2.31 0.52 1.79 68.82 336.25 21:24:19 21:24:19 21:18:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:24:19 21:19:01 114228 1768076 93.93 2620 1245684 910476 31.06 430004 1174428 12 21:24:19 21:20:01 114892 1767412 93.90 2620 1245692 898336 30.65 430288 1174112 8 21:24:19 21:21:01 114292 1768012 93.93 2620 1245700 898436 30.65 430628 1174112 16 21:24:19 21:22:01 115516 1766788 93.86 2620 1245700 898268 30.65 429776 1174056 12 21:24:19 21:23:01 115196 1767108 93.88 2620 1245708 898352 30.65 430128 1174048 8 21:24:19 21:24:01 89088 1793216 95.27 2620 1258192 916164 31.26 437176 1186288 88 21:24:19 Average: 110535 1771769 94.13 2620 1247779 903339 30.82 431333 1176174 24 21:24:19 21:24:19 21:18:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 21:24:19 21:19:01 eth0 1.65 0.40 0.35 0.22 0.00 0.00 0.00 21:24:19 21:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:19 21:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:19 21:20:01 eth0 1.67 0.33 0.38 0.20 0.00 0.00 0.00 21:24:19 21:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:19 21:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:19 21:21:01 eth0 1.18 0.63 0.70 0.37 0.00 0.00 0.00 21:24:19 21:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:19 21:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:19 21:22:01 eth0 0.12 0.08 0.01 0.04 0.00 0.00 0.00 21:24:19 21:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:19 21:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:19 21:23:01 eth0 0.30 0.23 0.14 0.07 0.00 0.00 0.00 21:24:19 21:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:19 21:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:19 21:24:01 eth0 6.16 3.98 6.32 1.95 0.00 0.00 0.00 21:24:19 21:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:19 21:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:19 Average: eth0 1.85 0.94 1.32 0.48 0.00 0.00 0.00 21:24:19 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:19 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:24:19 21:24:19 21:24:19 ---> sar -P ALL: 21:24:19 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 05/11/20 _x86_64_ (4 CPU) 21:24:19 21:24:19 21:16:52 LINUX RESTART 21:24:19 21:24:19 21:18:01 CPU %user %nice %system %iowait %steal %idle 21:24:19 21:19:01 all 0.19 0.00 0.09 0.00 0.00 99.72 21:24:19 21:19:01 0 0.03 0.00 0.05 0.00 0.00 99.92 21:24:19 21:19:01 1 0.07 0.00 0.12 0.00 0.00 99.82 21:24:19 21:19:01 2 0.57 0.00 0.13 0.00 0.00 99.30 21:24:19 21:19:01 3 0.07 0.00 0.05 0.00 0.00 99.88 21:24:19 21:20:01 all 0.19 0.00 0.06 0.00 0.00 99.75 21:24:19 21:20:01 0 0.03 0.00 0.07 0.00 0.00 99.90 21:24:19 21:20:01 1 0.05 0.00 0.08 0.00 0.00 99.87 21:24:19 21:20:01 2 0.58 0.00 0.05 0.00 0.00 99.37 21:24:19 21:20:01 3 0.07 0.00 0.05 0.00 0.00 99.88 21:24:19 21:21:01 all 0.18 0.00 0.05 0.00 0.00 99.77 21:24:19 21:21:01 0 0.03 0.00 0.03 0.00 0.00 99.93 21:24:19 21:21:01 1 0.07 0.00 0.07 0.00 0.00 99.87 21:24:19 21:21:01 2 0.53 0.00 0.02 0.00 0.00 99.45 21:24:19 21:21:01 3 0.08 0.00 0.07 0.00 0.00 99.85 21:24:19 21:22:01 all 0.18 0.00 0.05 0.00 0.00 99.77 21:24:19 21:22:01 0 0.05 0.00 0.05 0.00 0.00 99.90 21:24:19 21:22:01 1 0.05 0.00 0.03 0.00 0.00 99.92 21:24:19 21:22:01 2 0.52 0.00 0.08 0.00 0.00 99.40 21:24:19 21:22:01 3 0.08 0.00 0.05 0.00 0.00 99.87 21:24:19 21:23:01 all 0.18 0.00 0.05 0.00 0.00 99.78 21:24:19 21:23:01 0 0.42 0.00 0.03 0.00 0.00 99.55 21:24:19 21:23:01 1 0.07 0.00 0.02 0.00 0.00 99.92 21:24:19 21:23:01 2 0.17 0.00 0.07 0.00 0.00 99.77 21:24:19 21:23:01 3 0.07 0.00 0.05 0.00 0.00 99.88 21:24:19 21:24:01 all 0.41 0.00 0.28 0.03 0.00 99.28 21:24:19 21:24:01 0 0.35 0.00 0.35 0.02 0.00 99.28 21:24:19 21:24:01 1 0.23 0.00 0.22 0.00 0.00 99.55 21:24:19 21:24:01 2 0.25 0.00 0.25 0.00 0.00 99.50 21:24:19 21:24:01 3 0.82 0.00 0.28 0.08 0.00 98.82 21:24:19 Average: all 0.22 0.00 0.10 0.00 0.00 99.68 21:24:19 Average: 0 0.15 0.00 0.10 0.00 0.00 99.75 21:24:19 Average: 1 0.09 0.00 0.09 0.00 0.00 99.82 21:24:19 Average: 2 0.44 0.00 0.10 0.00 0.00 99.46 21:24:19 Average: 3 0.20 0.00 0.09 0.01 0.00 99.70 21:24:19 21:24:19 21:24:19