Pull request #26 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 charles-knox-intel for edgexfoundry/device-rest-go Loading trusted files from base branch master at b106d00ae92e946d2103bc6c1464522635373c7b rather than 33c8a96f9407022210e88e1680d02999f55ee038 Obtained Jenkinsfile from b106d00ae92e946d2103bc6c1464522635373c7b Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-26/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3431 in /w/workspace/dgexfoundry_device-rest-go_PR-26 [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-26 # 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/26/head:refs/remotes/origin/PR-26 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 33c8a96f9407022210e88e1680d02999f55ee038 Merge succeeded, producing 33c8a96f9407022210e88e1680d02999f55ee038 Checking out Revision 33c8a96f9407022210e88e1680d02999f55ee038 (PR-26) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/26/head:refs/remotes/origin/PR-26 # 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/26/head:refs/remotes/origin/PR-26 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33c8a96f9407022210e88e1680d02999f55ee038 # 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 b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33c8a96f9407022210e88e1680d02999f55ee038 # timeout=10 Commit message: "test: test commit for a test PR" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:08:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:08:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:08:10 ========================================================= 23:08:10 EdgeX Global Pipelines Version Info 23:08:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:08:11 ------------------- 23:08:11 stable info: 23:08:11 ------------------- 23:08:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:08:11 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 23:08:11 Message: update stable to v1.0.89 23:08:12 ------------------- 23:08:12 experimental info: 23:08:12 ------------------- 23:08:12 Commited By: **** collab-it+edgex@linuxfoundation.org 23:08:12 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 23:08:12 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 23:08:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:08:15 23:08:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:08:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:08:15 latest: Pulling from edgex-devops/git-semver 23:08:15 9123ac7c32f7: Pulling fs layer 23:08:15 b8cc5d1170e3: Pulling fs layer 23:08:15 2924cbbf6a41: Pulling fs layer 23:08:15 93b08a4f1073: Pulling fs layer 23:08:15 93b08a4f1073: Waiting 23:08:15 b8cc5d1170e3: Verifying Checksum 23:08:15 b8cc5d1170e3: Download complete 23:08:15 9123ac7c32f7: Verifying Checksum 23:08:15 9123ac7c32f7: Download complete 23:08:15 93b08a4f1073: Verifying Checksum 23:08:15 93b08a4f1073: Download complete 23:08:15 2924cbbf6a41: Download complete 23:08:15 9123ac7c32f7: Pull complete 23:08:15 b8cc5d1170e3: Pull complete 23:08:16 2924cbbf6a41: Pull complete 23:08:16 93b08a4f1073: Pull complete 23:08:16 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 23:08:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:08:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:08:16 prd-centos7-docker-4c-2g-3431 does not seem to be running inside a container 23:08:16 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-26 -v /w/workspace/dgexfoundry_device-rest-go_PR-26:/w/workspace/dgexfoundry_device-rest-go_PR-26:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-26@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-26@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 23:08:18 $ docker top 45fc164f9689f56ed141ac04ecd9d5539762042a79e70338e90620435536a3d3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:08:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:19 [ssh-agent] Looking for ssh-agent implementation... 23:08:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:19 $ docker exec 45fc164f9689f56ed141ac04ecd9d5539762042a79e70338e90620435536a3d3 ssh-agent 23:08:19 SSH_AUTH_SOCK=/tmp/ssh-FKsCbjbdDDd6/agent.11 23:08:19 SSH_AGENT_PID=16 23:08:19 Running ssh-add (command line suppressed) 23:08:19 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-26@tmp/private_key_8888965308048947472.key (/w/workspace/dgexfoundry_device-rest-go_PR-26@tmp/private_key_8888965308048947472.key) 23:08:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:20 + git describe --exact-match --tags HEAD 23:08:20 fatal: No names found, cannot describe anything. [Pipeline] } 23:08:20 $ docker exec --env ******** --env ******** 45fc164f9689f56ed141ac04ecd9d5539762042a79e70338e90620435536a3d3 ssh-agent -k 23:08:20 unset SSH_AUTH_SOCK; 23:08:20 unset SSH_AGENT_PID; 23:08:20 echo Agent pid 16 killed; 23:08:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 23:08:20 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 23:08:20 This usually means this commit has not been tagged. [Pipeline] sshagent 23:08:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:20 [ssh-agent] Looking for ssh-agent implementation... 23:08:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:20 $ docker exec 45fc164f9689f56ed141ac04ecd9d5539762042a79e70338e90620435536a3d3 ssh-agent 23:08:20 SSH_AUTH_SOCK=/tmp/ssh-cCEEQLlAgkNy/agent.45 23:08:20 SSH_AGENT_PID=50 23:08:20 Running ssh-add (command line suppressed) 23:08:20 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-26@tmp/private_key_1276898876566703749.key (/w/workspace/dgexfoundry_device-rest-go_PR-26@tmp/private_key_1276898876566703749.key) 23:08:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:21 + git semver init 23:08:21 # -> Open(): unable to determine branch for HEAD 23:08:21 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-26/.git 23:08:21 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-26 23:08:21 # $SEMVER_REMOTE_NAME = origin 23:08:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:08:21 # $SEMVER_USER_NAME = edgex-jenkins 23:08:21 # $SEMVER_BRANCH = PR-26 23:08:21 # $SEMVER_TEMP = /tmp/semver-309398841 23:08:21 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 23:08:22 # '/tmp/semver-309398841' -> '/w/workspace/dgexfoundry_device-rest-go_PR-26/.semver' 23:08:22 # -> Force: false 23:08:22 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-26/.semver [Pipeline] } 23:08:22 $ docker exec --env ******** --env ******** 45fc164f9689f56ed141ac04ecd9d5539762042a79e70338e90620435536a3d3 ssh-agent -k 23:08:22 unset SSH_AUTH_SOCK; 23:08:22 unset SSH_AGENT_PID; 23:08:22 echo Agent pid 50 killed; 23:08:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:08:22 + git semver [Pipeline] } 23:08:22 $ docker stop --time=1 45fc164f9689f56ed141ac04ecd9d5539762042a79e70338e90620435536a3d3 23:08:24 $ docker rm -f 45fc164f9689f56ed141ac04ecd9d5539762042a79e70338e90620435536a3d3 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 23:08:25 Stashed 24 file(s) [Pipeline] echo 23:08:25 [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 23:08:40 Still waiting to schedule task 23:08:40 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3431’ 23:08:40 Still waiting to schedule task 23:08:40 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:11:01 Running on prd-centos7-docker-4c-2g-3432 in /w/workspace/dgexfoundry_device-rest-go_PR-26 [Pipeline] { [Pipeline] ws 23:11:01 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 23:11:05 using credential edgex-jenkins-ssh 23:11:05 Cloning the remote Git repository 23:11:05 Cloning with configured refspecs honoured and without tags 23:11:05 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:11:06 Fetching without tags 23:11:05 > git init /w/workspace/device-rest-go/1 # timeout=10 23:11:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:11:05 > git --version # timeout=10 23:11:05 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/26/head:refs/remotes/origin/PR-26 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:11:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:11:06 > git config --add remote.origin.fetch +refs/pull/26/head:refs/remotes/origin/PR-26 # timeout=10 23:11:06 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 23:11:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:11:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:11:06 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/26/head:refs/remotes/origin/PR-26 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:11:06 Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 33c8a96f9407022210e88e1680d02999f55ee038 23:11:06 Merge succeeded, producing 33c8a96f9407022210e88e1680d02999f55ee038 23:11:06 Checking out Revision 33c8a96f9407022210e88e1680d02999f55ee038 (PR-26) 23:11:06 > git config core.sparsecheckout # timeout=10 23:11:06 > git checkout -f 33c8a96f9407022210e88e1680d02999f55ee038 # timeout=10 23:11:06 > git remote # timeout=10 23:11:06 > git config --get remote.origin.url # timeout=10 23:11:06 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:06 > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 23:11:06 > git rev-parse HEAD^{commit} # timeout=10 23:11:06 > git config core.sparsecheckout # timeout=10 23:11:06 > git checkout -f 33c8a96f9407022210e88e1680d02999f55ee038 # timeout=10 23:11:10 Commit message: "test: test commit for a test PR" 23:11:10 > git --version # timeout=10 23:11:10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:11:12 ========================================================= 23:11:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 23:11:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:11:13 + 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 . 23:11:13 Sending build context to Docker daemon 8.031MB 23:11:13 Step 1/10 : ARG BASE=golang:1.13-alpine 23:11:13 Step 2/10 : FROM ${BASE} 23:11:13 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 23:11:13 e6b0cf9c0882: Pulling fs layer 23:11:13 2848faf0eed1: Pulling fs layer 23:11:13 0f37312ad70f: Pulling fs layer 23:11:13 5788d62ee057: Pulling fs layer 23:11:13 0e6b1d234666: Pulling fs layer 23:11:13 bf5d7aec512f: Pulling fs layer 23:11:13 34c802a77dc8: Pulling fs layer 23:11:13 9eb99e56ec68: Pulling fs layer 23:11:13 27c7a5d97fbd: Pulling fs layer 23:11:13 5c102a31e300: Pulling fs layer 23:11:13 dcfb455df0a1: Pulling fs layer 23:11:13 5788d62ee057: Waiting 23:11:13 0e6b1d234666: Waiting 23:11:13 bf5d7aec512f: Waiting 23:11:13 34c802a77dc8: Waiting 23:11:13 9eb99e56ec68: Waiting 23:11:13 27c7a5d97fbd: Waiting 23:11:13 5c102a31e300: Waiting 23:11:13 dcfb455df0a1: Waiting 23:11:13 0f37312ad70f: Verifying Checksum 23:11:13 0f37312ad70f: Download complete 23:11:13 2848faf0eed1: Verifying Checksum 23:11:13 2848faf0eed1: Download complete 23:11:13 0e6b1d234666: Verifying Checksum 23:11:13 0e6b1d234666: Download complete 23:11:13 bf5d7aec512f: Verifying Checksum 23:11:13 bf5d7aec512f: Download complete 23:11:13 e6b0cf9c0882: Verifying Checksum 23:11:13 e6b0cf9c0882: Download complete 23:11:13 e6b0cf9c0882: Pull complete 23:11:14 34c802a77dc8: Verifying Checksum 23:11:14 34c802a77dc8: Download complete 23:11:14 27c7a5d97fbd: Verifying Checksum 23:11:14 27c7a5d97fbd: Download complete 23:11:15 5c102a31e300: Verifying Checksum 23:11:15 5c102a31e300: Download complete 23:11:15 dcfb455df0a1: Download complete 23:11:15 2848faf0eed1: Pull complete 23:11:15 5788d62ee057: Verifying Checksum 23:11:15 5788d62ee057: Download complete 23:11:15 9eb99e56ec68: Verifying Checksum 23:11:15 9eb99e56ec68: Download complete 23:11:15 0f37312ad70f: Pull complete 23:11:24 5788d62ee057: Pull complete 23:11:24 0e6b1d234666: Pull complete 23:11:24 bf5d7aec512f: Pull complete 23:11:30 34c802a77dc8: Pull complete 23:11:33 9eb99e56ec68: Pull complete 23:11:33 27c7a5d97fbd: Pull complete 23:11:34 5c102a31e300: Pull complete 23:11:34 dcfb455df0a1: Pull complete 23:11:34 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 23:11:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 23:11:34 ---> 7c70fe431013 23:11:34 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 23:11:36 ---> Running in 966c934d2aaf 23:11:36 Removing intermediate container 966c934d2aaf 23:11:36 ---> a0294b729f0f 23:11:36 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 23:11:36 ---> Running in cc01d8dba5c2 23:11:36 Removing intermediate container cc01d8dba5c2 23:11:36 ---> 03d549ad78e6 23:11:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:11:36 ---> Running in 212bff11ce54 23:11:36 Removing intermediate container 212bff11ce54 23:11:36 ---> abb5bec59848 23:11:36 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:11:36 ---> Running in 199b4c8e6a87 23:11:38 Removing intermediate container 199b4c8e6a87 23:11:38 ---> 50db850f0bfa 23:11:38 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:11:38 ---> Running in b6b6b15ebbf9 23:11:38 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 23:11:39 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 23:11:39 OK: 143 MiB in 39 packages 23:11:40 Removing intermediate container b6b6b15ebbf9 23:11:40 ---> 7697166c7f4e 23:11:40 Step 8/10 : WORKDIR /device-rest-go 23:11:40 ---> Running in 90de32195097 23:11:40 Removing intermediate container 90de32195097 23:11:40 ---> b277b843fb1d 23:11:40 Step 9/10 : COPY . . 23:11:41 ---> e0d746f8373b 23:11:41 Step 10/10 : RUN go mod download 23:11:41 ---> Running in 9996ee5b5e2c 23:11:44 go: finding github.com/BurntSushi/toml v0.3.1 23:11:44 go: finding github.com/OneOfOne/xxhash v1.2.6 23:11:44 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 23:11:44 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:11:44 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 23:11:44 go: finding github.com/bgentry/speakeasy v0.1.0 23:11:44 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 23:11:44 go: finding github.com/davecgh/go-spew v1.1.1 23:11:44 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 23:11:44 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 23:11:44 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 23:11:44 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 23:11:44 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 23:11:44 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 23:11:44 go: finding github.com/fatih/color v1.7.0 23:11:44 go: finding github.com/fxamacker/cbor/v2 v2.2.0 23:11:44 go: finding github.com/go-kit/kit v0.8.0 23:11:44 go: finding github.com/go-logfmt/logfmt v0.4.0 23:11:44 go: finding github.com/go-stack/stack v1.8.0 23:11:44 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:11:44 go: finding github.com/google/uuid v1.1.0 23:11:44 go: finding github.com/gorilla/mux v1.7.1 23:11:44 go: finding github.com/hashicorp/consul/api v1.1.0 23:11:44 go: finding github.com/hashicorp/consul/sdk v0.1.1 23:11:44 go: finding github.com/hashicorp/errwrap v1.0.0 23:11:44 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 23:11:44 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 23:11:44 go: finding github.com/hashicorp/go-msgpack v0.5.3 23:11:44 go: finding github.com/hashicorp/go-multierror v1.0.0 23:11:44 go: finding github.com/hashicorp/go-rootcerts v1.0.0 23:11:44 go: finding github.com/hashicorp/go-sockaddr v1.0.0 23:11:44 go: finding github.com/hashicorp/go-syslog v1.0.0 23:11:44 go: finding github.com/hashicorp/go-uuid v1.0.1 23:11:44 go: finding github.com/hashicorp/go.net v0.0.1 23:11:44 go: finding github.com/hashicorp/golang-lru v0.5.0 23:11:44 go: finding github.com/hashicorp/logutils v1.0.0 23:11:44 go: finding github.com/hashicorp/mdns v1.0.0 23:11:44 go: finding github.com/hashicorp/memberlist v0.1.3 23:11:44 go: finding github.com/hashicorp/serf v0.8.2 23:11:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:11:44 go: finding github.com/mattn/go-colorable v0.0.9 23:11:44 go: finding github.com/mattn/go-isatty v0.0.3 23:11:44 go: finding github.com/miekg/dns v1.0.14 23:11:44 go: finding github.com/mitchellh/cli v1.0.0 23:11:44 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:11:44 go: finding github.com/mitchellh/copystructure v1.0.0 23:11:44 go: finding github.com/mitchellh/go-homedir v1.0.0 23:11:44 go: finding github.com/mitchellh/go-testing-interface v1.0.0 23:11:44 go: finding github.com/mitchellh/gox v0.4.0 23:11:44 go: finding github.com/mitchellh/iochan v1.0.0 23:11:44 go: finding github.com/mitchellh/mapstructure v1.1.2 23:11:44 go: finding github.com/mitchellh/reflectwalk v1.0.0 23:11:44 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:11:44 go: finding github.com/pelletier/go-toml v1.2.0 23:11:44 go: finding github.com/pkg/errors v0.8.1 23:11:44 go: finding github.com/pmezard/go-difflib v1.0.0 23:11:44 go: finding github.com/posener/complete v1.1.1 23:11:44 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 23:11:44 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:11:44 go: finding github.com/spf13/cast v1.3.0 23:11:44 go: finding github.com/stretchr/objx v0.1.0 23:11:44 go: finding github.com/stretchr/testify v1.5.1 23:11:45 go: finding github.com/ugorji/go v1.1.4 23:11:45 go: finding github.com/x448/float16 v0.8.4 23:11:45 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 23:11:45 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 23:11:45 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 23:11:45 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 23:11:45 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 23:11:45 go: finding gopkg.in/yaml.v2 v2.2.8 23:11:53 Removing intermediate container 9996ee5b5e2c 23:11:53 ---> d297bddc5e07 23:11:53 Successfully built d297bddc5e07 23:11:53 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 23:11:53 + docker inspect -f . ci-base-image-x86_64 23:11:53 . [Pipeline] withDockerContainer 23:11:54 prd-centos7-docker-4c-2g-3432 does not seem to be running inside a container 23:11:54 $ 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-x86_64 cat 23:11:55 $ docker top cc0c9fdb049d23c7a8257c9067cb60f7960cd3cf78f7b60699368ab3aae4780c -eo pid,comm [Pipeline] { [Pipeline] sh 23:11:55 + go version 23:11:55 go version go1.13.5 linux/amd64 [Pipeline] sh 23:11:56 + make test 23:11:56 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:11:57 ? github.com/edgexfoundry/device-rest-go [no test files] 23:12:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:12:09 ok github.com/edgexfoundry/device-rest-go/driver 0.026s coverage: 56.3% of statements 23:12:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:12:12 gofmt -l . 23:12:12 [ "`gofmt -l .`" = "" ] 23:12:12 ./bin/test-go-mod-tidy.sh 23:12:12 ./bin/test-attribution-txt.sh [Pipeline] stash 23:12:13 Stashed 1 file(s) [Pipeline] } 23:12:13 $ docker stop --time=1 cc0c9fdb049d23c7a8257c9067cb60f7960cd3cf78f7b60699368ab3aae4780c 23:12:15 $ docker rm -f cc0c9fdb049d23c7a8257c9067cb60f7960cd3cf78f7b60699368ab3aae4780c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:12:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:12:18 + ls -al . 23:12:18 total 96 23:12:18 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 17 23:12 . 23:12:18 drwxrwxr-x. 4 jenkins jenkins 28 Jun 17 23:11 .. 23:12:18 -rw-rw-r--. 1 jenkins jenkins 4802 Jun 17 23:11 Attribution.txt 23:12:18 drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 23:11 bin 23:12:18 drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 23:11 cmd 23:12:18 -rw-r--r--. 1 jenkins jenkins 9369 Jun 17 23:12 coverage.out 23:12:18 -rw-rw-r--. 1 jenkins jenkins 1504 Jun 17 23:11 Dockerfile 23:12:18 -rw-rw-r--. 1 jenkins jenkins 989 Jun 17 23:11 Dockerfile.build 23:12:18 -rw-rw-r--. 1 jenkins jenkins 151 Jun 17 23:11 .dockerignore 23:12:18 drwxrwxr-x. 2 jenkins jenkins 93 Jun 17 23:12 driver 23:12:18 drwxrwxr-x. 8 jenkins jenkins 179 Jun 17 23:11 .git 23:12:18 drwxrwxr-x. 2 jenkins jenkins 38 Jun 17 23:11 .github 23:12:18 -rw-rw-r--. 1 jenkins jenkins 339 Jun 17 23:11 .gitignore 23:12:18 -rw-r--r--. 1 jenkins jenkins 266 Jun 17 23:12 go.mod 23:12:18 -rw-r--r--. 1 jenkins jenkins 12533 Jun 17 23:12 go.sum 23:12:18 -rw-rw-r--. 1 jenkins jenkins 702 Jun 17 23:11 Jenkinsfile 23:12:18 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 23:11 LICENSE 23:12:18 -rw-rw-r--. 1 jenkins jenkins 951 Jun 17 23:11 Makefile 23:12:18 -rw-rw-r--. 1 jenkins jenkins 5717 Jun 17 23:11 README.md 23:12:18 drwxrwxr-x. 3 jenkins jenkins 45 Jun 17 23:11 .semver 23:12:18 -rw-rw-r--. 1 jenkins jenkins 5 Jun 17 23:08 VERSION 23:12:18 -rw-rw-r--. 1 jenkins jenkins 713 Jun 17 23:11 version.go [Pipeline] isUnix [Pipeline] sh 23:12:18 + 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=33c8a96f9407022210e88e1680d02999f55ee038 --label arch=amd64 --label version=0.0.0 . 23:12:18 Sending build context to Docker daemon 8.043MB 23:12:18 Step 1/24 : ARG BASE=golang:1.13-alpine 23:12:18 Step 2/24 : FROM ${BASE} AS builder 23:12:18 ---> d297bddc5e07 23:12:18 Step 3/24 : ARG MAKE='make build' 23:12:18 ---> Running in 87913f231bb2 23:12:18 Removing intermediate container 87913f231bb2 23:12:18 ---> 3f5df284b050 23:12:18 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 23:12:19 ---> Running in 65c555e330a5 23:12:19 Removing intermediate container 65c555e330a5 23:12:19 ---> 29684adc7230 23:12:19 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 23:12:19 ---> Running in 9263f19e7ace 23:12:19 Removing intermediate container 9263f19e7ace 23:12:19 ---> 6f2aa5312c8a 23:12:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:12:19 ---> Running in f6c0cb601bcf 23:12:20 Removing intermediate container f6c0cb601bcf 23:12:20 ---> eebc8d2b4c11 23:12:20 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:12:20 ---> Running in bbd02061920c 23:12:20 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 23:12:21 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 23:12:21 OK: 143 MiB in 39 packages 23:12:22 Removing intermediate container bbd02061920c 23:12:22 ---> a5e422c43770 23:12:22 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 23:12:22 ---> Running in 213cffa5eaf6 23:12:22 Removing intermediate container 213cffa5eaf6 23:12:22 ---> 906d513d991c 23:12:22 Step 9/24 : COPY go.mod . 23:12:22 ---> 63177c039d6c 23:12:22 Step 10/24 : COPY Makefile . 23:12:23 ---> 25af80dc58ca 23:12:23 Step 11/24 : RUN make update 23:12:23 ---> Running in 31e08f7ad190 23:12:23 CGO_ENABLED=0 GO111MODULE=on go mod download 23:12:24 Removing intermediate container 31e08f7ad190 23:12:24 ---> 7b2c0c24b89e 23:12:24 Step 12/24 : COPY . . 23:12:24 ---> 2df22aade26b 23:12:24 Step 13/24 : RUN $MAKE 23:12:24 ---> Running in c23cfb33156d 23:12:25 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 23:12:37 Removing intermediate container c23cfb33156d 23:12:37 ---> 90388b215f4a 23:12:37 Step 14/24 : FROM alpine:latest 23:12:37 latest: Pulling from library/alpine 23:12:37 df20fa9351a1: Pulling fs layer 23:12:37 df20fa9351a1: Verifying Checksum 23:12:37 df20fa9351a1: Download complete 23:12:37 df20fa9351a1: Pull complete 23:12:37 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 23:12:37 Status: Downloaded newer image for alpine:latest 23:12:37 ---> a24bb4013296 23:12:37 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:12:38 ---> Running in b5e7467c76be 23:12:38 Removing intermediate container b5e7467c76be 23:12:38 ---> d9d15fc3480b 23:12:38 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 23:12:38 ---> Running in a7598c65b0c6 23:12:38 Removing intermediate container a7598c65b0c6 23:12:38 ---> 5a27ef83ca53 23:12:38 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 23:12:38 ---> 7536943de481 23:12:38 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 23:12:38 ---> f00aaf78afac 23:12:38 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 23:12:39 ---> e47ff5dfd140 23:12:39 Step 20/24 : EXPOSE 49986 23:12:39 ---> Running in 643062e6b117 23:12:39 Removing intermediate container 643062e6b117 23:12:39 ---> 54c7eb41341d 23:12:39 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 23:12:39 ---> Running in df6d921b3457 23:12:40 Removing intermediate container df6d921b3457 23:12:40 ---> 4f987dedc048 23:12:40 Step 22/24 : LABEL arch=amd64 23:12:40 ---> Running in d15321b8a10d 23:12:40 Removing intermediate container d15321b8a10d 23:12:40 ---> fd29b975e272 23:12:40 Step 23/24 : LABEL git_sha=33c8a96f9407022210e88e1680d02999f55ee038 23:12:40 ---> Running in 413b9d947062 23:12:40 Removing intermediate container 413b9d947062 23:12:40 ---> 808e3e8cad53 23:12:40 Step 24/24 : LABEL version=0.0.0 23:12:40 ---> Running in 745787d3f043 23:12:40 Removing intermediate container 745787d3f043 23:12:40 ---> a88a1f8d6815 23:12:40 [Warning] One or more build-args [ARCH] were not consumed 23:12:40 Successfully built a88a1f8d6815 23:12:40 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] } 23:13:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3434 in /w/workspace/dgexfoundry_device-rest-go_PR-26 [Pipeline] { [Pipeline] ws 23:13:11 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 23:13:17 using credential edgex-jenkins-ssh 23:13:17 Cloning the remote Git repository 23:13:17 Cloning with configured refspecs honoured and without tags 23:13:17 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:13:17 > git init /w/workspace/device-rest-go/1 # timeout=10 23:13:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:13:17 > git --version # timeout=10 23:13:17 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/26/head:refs/remotes/origin/PR-26 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:13:19 Fetching without tags 23:13:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:13:19 > git config --add remote.origin.fetch +refs/pull/26/head:refs/remotes/origin/PR-26 # timeout=10 23:13:19 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 23:13:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:13:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:13:19 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/26/head:refs/remotes/origin/PR-26 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:13:19 Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 33c8a96f9407022210e88e1680d02999f55ee038 23:13:20 Merge succeeded, producing 33c8a96f9407022210e88e1680d02999f55ee038 23:13:20 Checking out Revision 33c8a96f9407022210e88e1680d02999f55ee038 (PR-26) 23:13:19 > git config core.sparsecheckout # timeout=10 23:13:19 > git checkout -f 33c8a96f9407022210e88e1680d02999f55ee038 # timeout=10 23:13:20 > git remote # timeout=10 23:13:20 > git config --get remote.origin.url # timeout=10 23:13:20 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:20 > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 23:13:20 > git rev-parse HEAD^{commit} # timeout=10 23:13:20 > git config core.sparsecheckout # timeout=10 23:13:20 > git checkout -f 33c8a96f9407022210e88e1680d02999f55ee038 # timeout=10 23:13:24 Commit message: "test: test commit for a test PR" 23:13:24 > git --version # timeout=10 23:13:24 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:13:26 ========================================================= 23:13:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 23:13:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:13:27 + 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 . 23:13:28 Sending build context to Docker daemon 8.031MB 23:13:28 Step 1/10 : ARG BASE=golang:1.13-alpine 23:13:28 Step 2/10 : FROM ${BASE} 23:13:29 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:13:29 cde5963f3b93: Pulling fs layer 23:13:29 2a23fa8c16f7: Pulling fs layer 23:13:29 777b28850792: Pulling fs layer 23:13:29 8a11ddd9e578: Pulling fs layer 23:13:29 4cf88f913ddb: Pulling fs layer 23:13:29 1df406cf5192: Pulling fs layer 23:13:29 cd6300453558: Pulling fs layer 23:13:29 b9c365052c96: Pulling fs layer 23:13:29 a2d8cc88f415: Pulling fs layer 23:13:29 ea1d1ca13537: Pulling fs layer 23:13:29 3750a50a1c5e: Pulling fs layer 23:13:29 cd6300453558: Waiting 23:13:29 b9c365052c96: Waiting 23:13:29 a2d8cc88f415: Waiting 23:13:29 ea1d1ca13537: Waiting 23:13:29 8a11ddd9e578: Waiting 23:13:29 4cf88f913ddb: Waiting 23:13:29 1df406cf5192: Waiting 23:13:29 3750a50a1c5e: Waiting 23:13:29 777b28850792: Download complete 23:13:29 2a23fa8c16f7: Verifying Checksum 23:13:29 2a23fa8c16f7: Download complete 23:13:29 4cf88f913ddb: Verifying Checksum 23:13:29 4cf88f913ddb: Download complete 23:13:29 1df406cf5192: Verifying Checksum 23:13:29 1df406cf5192: Download complete 23:13:29 cde5963f3b93: Verifying Checksum 23:13:29 cde5963f3b93: Download complete 23:13:30 cde5963f3b93: Pull complete 23:13:31 2a23fa8c16f7: Pull complete 23:13:32 777b28850792: Pull complete 23:13:32 cd6300453558: Verifying Checksum 23:13:32 cd6300453558: Download complete 23:13:32 a2d8cc88f415: Verifying Checksum 23:13:32 a2d8cc88f415: Download complete 23:13:33 ea1d1ca13537: Download complete 23:13:33 3750a50a1c5e: Download complete 23:13:34 b9c365052c96: Verifying Checksum 23:13:34 b9c365052c96: Download complete 23:13:34 8a11ddd9e578: Verifying Checksum 23:13:34 8a11ddd9e578: Download complete 23:13:47 8a11ddd9e578: Pull complete 23:13:47 4cf88f913ddb: Pull complete 23:13:47 1df406cf5192: Pull complete 23:13:50 cd6300453558: Pull complete 23:13:54 b9c365052c96: Pull complete 23:13:55 a2d8cc88f415: Pull complete 23:13:57 ea1d1ca13537: Pull complete 23:13:57 3750a50a1c5e: Pull complete 23:13:57 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 23:13:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 23:13:57 ---> 78745c68409d 23:13:57 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 23:14:03 ---> Running in 798d9e3953a6 23:14:03 Removing intermediate container 798d9e3953a6 23:14:03 ---> 5d3a9e705be2 23:14:03 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 23:14:03 ---> Running in 2dd6dec0df34 23:14:03 Removing intermediate container 2dd6dec0df34 23:14:03 ---> 4d70bd9a1c34 23:14:03 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:14:03 ---> Running in eba9ba76ba04 23:14:04 Removing intermediate container eba9ba76ba04 23:14:04 ---> 4b9cac350af1 23:14:04 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:14:04 ---> Running in 890b3c08c8f1 23:14:06 Removing intermediate container 890b3c08c8f1 23:14:06 ---> 36752ffb1abc 23:14:06 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:14:06 ---> Running in 0c1186c0ab66 23:14:08 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 23:14:09 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 23:14:09 OK: 125 MiB in 39 packages 23:14:10 Removing intermediate container 0c1186c0ab66 23:14:10 ---> 8f620f8e0c8d 23:14:10 Step 8/10 : WORKDIR /device-rest-go 23:14:11 ---> Running in 5a9427a1bd57 23:14:11 Removing intermediate container 5a9427a1bd57 23:14:11 ---> 95bed9314476 23:14:11 Step 9/10 : COPY . . 23:14:12 ---> c581d324b8fd 23:14:12 Step 10/10 : RUN go mod download 23:14:13 ---> Running in fab4cd787c79 23:14:15 go: finding github.com/BurntSushi/toml v0.3.1 23:14:15 go: finding github.com/OneOfOne/xxhash v1.2.6 23:14:15 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 23:14:15 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:14:15 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 23:14:15 go: finding github.com/bgentry/speakeasy v0.1.0 23:14:15 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 23:14:15 go: finding github.com/davecgh/go-spew v1.1.1 23:14:15 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 23:14:15 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 23:14:15 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 23:14:15 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 23:14:15 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 23:14:15 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 23:14:15 go: finding github.com/fatih/color v1.7.0 23:14:15 go: finding github.com/fxamacker/cbor/v2 v2.2.0 23:14:15 go: finding github.com/go-kit/kit v0.8.0 23:14:15 go: finding github.com/go-logfmt/logfmt v0.4.0 23:14:15 go: finding github.com/go-stack/stack v1.8.0 23:14:15 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:14:15 go: finding github.com/google/uuid v1.1.0 23:14:15 go: finding github.com/gorilla/mux v1.7.1 23:14:15 go: finding github.com/hashicorp/consul/api v1.1.0 23:14:15 go: finding github.com/hashicorp/consul/sdk v0.1.1 23:14:15 go: finding github.com/hashicorp/errwrap v1.0.0 23:14:15 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 23:14:15 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 23:14:15 go: finding github.com/hashicorp/go-msgpack v0.5.3 23:14:15 go: finding github.com/hashicorp/go-multierror v1.0.0 23:14:15 go: finding github.com/hashicorp/go-rootcerts v1.0.0 23:14:15 go: finding github.com/hashicorp/go-sockaddr v1.0.0 23:14:15 go: finding github.com/hashicorp/go-syslog v1.0.0 23:14:15 go: finding github.com/hashicorp/go-uuid v1.0.1 23:14:15 go: finding github.com/hashicorp/go.net v0.0.1 23:14:15 go: finding github.com/hashicorp/golang-lru v0.5.0 23:14:15 go: finding github.com/hashicorp/logutils v1.0.0 23:14:15 go: finding github.com/hashicorp/mdns v1.0.0 23:14:15 go: finding github.com/hashicorp/memberlist v0.1.3 23:14:15 go: finding github.com/hashicorp/serf v0.8.2 23:14:15 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:14:15 go: finding github.com/mattn/go-colorable v0.0.9 23:14:15 go: finding github.com/mattn/go-isatty v0.0.3 23:14:15 go: finding github.com/miekg/dns v1.0.14 23:14:16 go: finding github.com/mitchellh/cli v1.0.0 23:14:16 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:14:16 go: finding github.com/mitchellh/copystructure v1.0.0 23:14:16 go: finding github.com/mitchellh/go-homedir v1.0.0 23:14:16 go: finding github.com/mitchellh/go-testing-interface v1.0.0 23:14:16 go: finding github.com/mitchellh/gox v0.4.0 23:14:16 go: finding github.com/mitchellh/iochan v1.0.0 23:14:16 go: finding github.com/mitchellh/mapstructure v1.1.2 23:14:16 go: finding github.com/mitchellh/reflectwalk v1.0.0 23:14:16 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:14:16 go: finding github.com/pelletier/go-toml v1.2.0 23:14:16 go: finding github.com/pkg/errors v0.8.1 23:14:16 go: finding github.com/pmezard/go-difflib v1.0.0 23:14:16 go: finding github.com/posener/complete v1.1.1 23:14:16 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 23:14:16 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:14:16 go: finding github.com/spf13/cast v1.3.0 23:14:16 go: finding github.com/stretchr/objx v0.1.0 23:14:16 go: finding github.com/stretchr/testify v1.5.1 23:14:16 go: finding github.com/ugorji/go v1.1.4 23:14:16 go: finding github.com/x448/float16 v0.8.4 23:14:16 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 23:14:16 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 23:14:16 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 23:14:16 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 23:14:16 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 23:14:16 go: finding gopkg.in/yaml.v2 v2.2.8 23:14:26 Removing intermediate container fab4cd787c79 23:14:26 ---> 54f0a2e3fac0 23:14:26 Successfully built 54f0a2e3fac0 23:14:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:14:27 + docker inspect -f . ci-base-image-arm64 23:14:27 . [Pipeline] withDockerContainer 23:14:27 prd-ubuntu18.04-docker-arm64-4c-16g-3434 does not seem to be running inside a container 23:14:27 $ 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 23:14:29 $ docker top a4ef0e86527d486ede164058f635bd0de12f9e47977f31f10a446577997f4bc6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:30 + go version 23:14:30 go version go1.13.5 linux/arm64 [Pipeline] sh 23:14:31 + make test 23:14:31 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:14:32 ? github.com/edgexfoundry/device-rest-go [no test files] 23:15:05 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:15:05 ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 56.3% of statements 23:15:05 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:15:10 gofmt -l . 23:15:10 [ "`gofmt -l .`" = "" ] 23:15:10 ./bin/test-go-mod-tidy.sh 23:15:11 ./bin/test-attribution-txt.sh [Pipeline] stash 23:15:12 Warning: overwriting stash ‘coverage-report’ 23:15:13 Stashed 1 file(s) [Pipeline] } 23:15:13 $ docker stop --time=1 a4ef0e86527d486ede164058f635bd0de12f9e47977f31f10a446577997f4bc6 23:15:15 $ docker rm -f a4ef0e86527d486ede164058f635bd0de12f9e47977f31f10a446577997f4bc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:15:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:15:17 + ls -al . 23:15:17 total 124 23:15:17 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 23:15 . 23:15:17 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 23:13 .. 23:15:17 -rw-rw-r-- 1 jenkins jenkins 151 Jun 17 23:13 .dockerignore 23:15:17 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 23:13 .git 23:15:17 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 23:13 .github 23:15:17 -rw-rw-r-- 1 jenkins jenkins 339 Jun 17 23:13 .gitignore 23:15:17 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 23:13 .semver 23:15:17 -rw-rw-r-- 1 jenkins jenkins 4802 Jun 17 23:13 Attribution.txt 23:15:17 -rw-rw-r-- 1 jenkins jenkins 1504 Jun 17 23:13 Dockerfile 23:15:17 -rw-rw-r-- 1 jenkins jenkins 989 Jun 17 23:13 Dockerfile.build 23:15:17 -rw-rw-r-- 1 jenkins jenkins 702 Jun 17 23:13 Jenkinsfile 23:15:17 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 23:13 LICENSE 23:15:17 -rw-rw-r-- 1 jenkins jenkins 951 Jun 17 23:13 Makefile 23:15:17 -rw-rw-r-- 1 jenkins jenkins 5717 Jun 17 23:13 README.md 23:15:17 -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 23:08 VERSION 23:15:17 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 23:13 bin 23:15:17 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 23:13 cmd 23:15:17 -rw-r--r-- 1 jenkins jenkins 9369 Jun 17 23:15 coverage.out 23:15:17 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 23:15 driver 23:15:17 -rw-r--r-- 1 jenkins jenkins 266 Jun 17 23:15 go.mod 23:15:17 -rw-r--r-- 1 jenkins jenkins 12533 Jun 17 23:15 go.sum 23:15:17 -rw-rw-r-- 1 jenkins jenkins 713 Jun 17 23:13 version.go [Pipeline] isUnix [Pipeline] sh 23:15:17 + 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=33c8a96f9407022210e88e1680d02999f55ee038 --label arch=arm64 --label version=0.0.0 . 23:15:18 Sending build context to Docker daemon 8.043MB 23:15:18 Step 1/24 : ARG BASE=golang:1.13-alpine 23:15:18 Step 2/24 : FROM ${BASE} AS builder 23:15:18 ---> 54f0a2e3fac0 23:15:18 Step 3/24 : ARG MAKE='make build' 23:15:18 ---> Running in 535df30acb7d 23:15:18 Removing intermediate container 535df30acb7d 23:15:18 ---> 687080ae7c5a 23:15:18 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 23:15:18 ---> Running in 05bbb9625540 23:15:19 Removing intermediate container 05bbb9625540 23:15:19 ---> 654749babb60 23:15:19 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 23:15:19 ---> Running in 0ae9bc95ae23 23:15:20 Removing intermediate container 0ae9bc95ae23 23:15:20 ---> e503ee3f5e41 23:15:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:15:20 ---> Running in 5471edf8f17d 23:15:22 Removing intermediate container 5471edf8f17d 23:15:22 ---> 367bb03563e8 23:15:22 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:15:22 ---> Running in dd7bc3606795 23:15:24 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 23:15:25 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 23:15:25 OK: 125 MiB in 39 packages 23:15:26 Removing intermediate container dd7bc3606795 23:15:26 ---> 0856d554b7fd 23:15:26 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 23:15:26 ---> Running in 75e74d4f836a 23:15:27 Removing intermediate container 75e74d4f836a 23:15:27 ---> b79f5a7cd69d 23:15:27 Step 9/24 : COPY go.mod . 23:15:28 ---> c6bc499b424d 23:15:28 Step 10/24 : COPY Makefile . 23:15:28 ---> 0b69ca188eaa 23:15:28 Step 11/24 : RUN make update 23:15:29 ---> Running in 5d182c6a130f 23:15:30 CGO_ENABLED=0 GO111MODULE=on go mod download 23:15:31 Removing intermediate container 5d182c6a130f 23:15:31 ---> 612609a7a2fb 23:15:31 Step 12/24 : COPY . . 23:15:32 ---> 1add37ea1adf 23:15:32 Step 13/24 : RUN $MAKE 23:15:33 ---> Running in c0bcacdbe19d 23:15:34 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 23:16:01 Removing intermediate container c0bcacdbe19d 23:16:01 ---> dea2accdfbd2 23:16:01 Step 14/24 : FROM alpine:latest 23:16:01 latest: Pulling from library/alpine 23:16:01 b538f80385f9: Pulling fs layer 23:16:01 b538f80385f9: Verifying Checksum 23:16:01 b538f80385f9: Download complete 23:16:02 b538f80385f9: Pull complete 23:16:02 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 23:16:02 Status: Downloaded newer image for alpine:latest 23:16:02 ---> 62ee0e9f8440 23:16:02 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:16:02 ---> Running in f733abe8a272 23:16:02 Removing intermediate container f733abe8a272 23:16:02 ---> 2f8d8fe46b25 23:16:02 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 23:16:02 ---> Running in 65803d5f4860 23:16:03 Removing intermediate container 65803d5f4860 23:16:03 ---> c562a10d761a 23:16:03 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 23:16:04 ---> 3f8480255ee1 23:16:04 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 23:16:04 ---> 75096ebb791f 23:16:04 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 23:16:06 ---> f098468f3f56 23:16:06 Step 20/24 : EXPOSE 49986 23:16:06 ---> Running in b653553926e2 23:16:06 Removing intermediate container b653553926e2 23:16:06 ---> 2c16075b07c0 23:16:06 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 23:16:06 ---> Running in 647fdb61d605 23:16:07 Removing intermediate container 647fdb61d605 23:16:07 ---> 1ab56dfc83bc 23:16:07 Step 22/24 : LABEL arch=arm64 23:16:07 ---> Running in 13964b3a2000 23:16:07 Removing intermediate container 13964b3a2000 23:16:07 ---> afc7b6f35e32 23:16:07 Step 23/24 : LABEL git_sha=33c8a96f9407022210e88e1680d02999f55ee038 23:16:08 ---> Running in 224b5e27f729 23:16:08 Removing intermediate container 224b5e27f729 23:16:08 ---> 1b697571e546 23:16:08 Step 24/24 : LABEL version=0.0.0 23:16:08 ---> Running in 37612e94e08d 23:16:08 Removing intermediate container 37612e94e08d 23:16:08 ---> 75f0e3632e0a 23:16:08 [Warning] One or more build-args [ARCH] were not consumed 23:16:09 Successfully built 75f0e3632e0a 23:16:09 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 23:16:10 provisioning config files... 23:16:10 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-26@tmp/config1966015173180119107tmp [Pipeline] { [Pipeline] sh 23:16:10 + curl -s https://codecov.io/bash 23:16:10 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-26@tmp/config1966015173180119107tmp 23:16:11 23:16:11 _____ _ 23:16:11 / ____| | | 23:16:11 | | ___ __| | ___ ___ _____ __ 23:16:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:16:11 | |___| (_) | (_| | __/ (_| (_) \ V / 23:16:11 \_____\___/ \__,_|\___|\___\___/ \_/ 23:16:11 Bash-20200602-f809a24 23:16:11 23:16:11 23:16:11 ==> Jenkins CI detected. 23:16:11 project root: . 23:16:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:16:11 ==> Running gcov in . (disable via -X gcov) 23:16:11 ==> Python coveragepy not found 23:16:11 ==> Searching for coverage reports in: 23:16:11 + . 23:16:11 -> Found 1 reports 23:16:11 ==> Detecting git/mercurial file structure 23:16:11 ==> Reading reports 23:16:11 + ./coverage.out bytes=9369 23:16:11 ==> Appending adjustments 23:16:11 https://docs.codecov.io/docs/fixing-reports 23:16:11 + Found adjustments 23:16:11 ==> Gzipping contents 23:16:11 ==> Uploading reports 23:16:11 url: https://codecov.io 23:16:11 query: branch=PR-26&commit=33c8a96f9407022210e88e1680d02999f55ee038&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-26%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=26&job= 23:16:11 -> Pinging Codecov 23:16:11 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-26&commit=33c8a96f9407022210e88e1680d02999f55ee038&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-26%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=26&job= 23:16:11 -> Uploading 23:16:12 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/33c8a96f9407022210e88e1680d02999f55ee038 [Pipeline] } 23:16:12 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 23:16:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:16:14 ---> package-listing.sh 23:16:14 ++ facter osfamily 23:16:14 ++ tr '[:upper:]' '[:lower:]' 23:16:14 + OS_FAMILY=redhat 23:16:14 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-26 23:16:14 + START_PACKAGES=/tmp/packages_start.txt 23:16:14 + END_PACKAGES=/tmp/packages_end.txt 23:16:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:16:14 + PACKAGES=/tmp/packages_start.txt 23:16:14 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-26 ']' 23:16:14 + PACKAGES=/tmp/packages_end.txt 23:16:14 + case "${OS_FAMILY}" in 23:16:14 + rpm -qa 23:16:14 + sort 23:16:18 + '[' -f /tmp/packages_start.txt ']' 23:16:18 + '[' -f /tmp/packages_end.txt ']' 23:16:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:16:18 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-26 ']' 23:16:18 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-26/archives/ 23:16:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-26/archives/ [Pipeline] isUnix [Pipeline] sh 23:16:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:16:19 23:16:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:16:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:16:19 alpine: Pulling from edgex-lftools-log-publisher 23:16:19 c9b1b535fdd9: Pulling fs layer 23:16:19 2cc5ad85d9ab: Pulling fs layer 23:16:19 756a868c4378: Pulling fs layer 23:16:19 444b2fc9a129: Pulling fs layer 23:16:19 ea15f1150254: Pulling fs layer 23:16:19 41b27a9f41bf: Pulling fs layer 23:16:19 28c525ee5125: Pulling fs layer 23:16:19 094b1ea09ed8: Pulling fs layer 23:16:19 138eaada9080: Pulling fs layer 23:16:19 0622d0fa9048: Pulling fs layer 23:16:19 41b27a9f41bf: Waiting 23:16:19 444b2fc9a129: Waiting 23:16:19 ea15f1150254: Waiting 23:16:19 094b1ea09ed8: Waiting 23:16:19 28c525ee5125: Waiting 23:16:19 138eaada9080: Waiting 23:16:19 0622d0fa9048: Waiting 23:16:19 2cc5ad85d9ab: Verifying Checksum 23:16:19 2cc5ad85d9ab: Download complete 23:16:19 444b2fc9a129: Verifying Checksum 23:16:19 444b2fc9a129: Download complete 23:16:19 c9b1b535fdd9: Verifying Checksum 23:16:19 c9b1b535fdd9: Download complete 23:16:19 ea15f1150254: Verifying Checksum 23:16:19 ea15f1150254: Download complete 23:16:19 28c525ee5125: Verifying Checksum 23:16:19 28c525ee5125: Download complete 23:16:19 756a868c4378: Verifying Checksum 23:16:19 756a868c4378: Download complete 23:16:19 c9b1b535fdd9: Pull complete 23:16:19 138eaada9080: Verifying Checksum 23:16:19 138eaada9080: Download complete 23:16:19 0622d0fa9048: Verifying Checksum 23:16:19 0622d0fa9048: Download complete 23:16:19 094b1ea09ed8: Verifying Checksum 23:16:19 094b1ea09ed8: Download complete 23:16:20 2cc5ad85d9ab: Pull complete 23:16:20 41b27a9f41bf: Verifying Checksum 23:16:20 41b27a9f41bf: Download complete 23:16:21 756a868c4378: Pull complete 23:16:21 444b2fc9a129: Pull complete 23:16:22 ea15f1150254: Pull complete 23:16:27 41b27a9f41bf: Pull complete 23:16:27 28c525ee5125: Pull complete 23:16:30 094b1ea09ed8: Pull complete 23:16:30 138eaada9080: Pull complete 23:16:30 0622d0fa9048: Pull complete 23:16:30 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 23:16:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:16:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:16:30 prd-centos7-docker-4c-2g-3431 does not seem to be running inside a container 23:16:30 $ 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-26 -v /w/workspace/dgexfoundry_device-rest-go_PR-26:/w/workspace/dgexfoundry_device-rest-go_PR-26:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-26@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-26@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 23:16:33 $ docker top 58c0ac799d33d3ecbeee7eb64ff06b74339e6b692e493fad358b2826ccd7c692 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:16:33 provisioning config files... 23:16:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-26@tmp/config6957658452155533212tmp [Pipeline] { [Pipeline] echo 23:16:33 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:16:34 ---> create-netrc.sh [Pipeline] echo 23:16:34 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:16:34 ---> logs-deploy.sh 23:16:34 + ARCHIVE_ARTIFACTS= 23:16:34 + LOGS_SERVER=https://logs.edgexfoundry.org 23:16:34 + '[' https://logs.edgexfoundry.org == None ']' 23:16:34 + NEXUS_URL=https://nexus.edgexfoundry.org 23:16:34 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-26/1 23:16:34 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-26/1/ 23:16:34 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-26/1 /w/workspace/dgexfoundry_device-rest-go_PR-26 23:16:36 Archives upload complete. 23:16:36 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-26/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-26/1/ 23:16:36 ---> uname -a: 23:16:36 Linux 58c0ac799d33 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 23:16:36 23:16:36 23:16:36 ---> lscpu: 23:16:36 Architecture: x86_64 23:16:36 CPU op-mode(s): 32-bit, 64-bit 23:16:36 Byte Order: Little Endian 23:16:36 Address sizes: 40 bits physical, 48 bits virtual 23:16:36 CPU(s): 4 23:16:36 On-line CPU(s) list: 0-3 23:16:36 Thread(s) per core: 1 23:16:36 Core(s) per socket: 1 23:16:36 Socket(s): 4 23:16:36 NUMA node(s): 1 23:16:36 Vendor ID: GenuineIntel 23:16:36 CPU family: 6 23:16:36 Model: 44 23:16:36 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 23:16:36 Stepping: 1 23:16:36 CPU MHz: 2933.438 23:16:36 BogoMIPS: 5866.87 23:16:36 Virtualization: VT-x 23:16:36 Hypervisor vendor: KVM 23:16:36 Virtualization type: full 23:16:36 L1d cache: 128 KiB 23:16:36 L1i cache: 128 KiB 23:16:36 L2 cache: 16 MiB 23:16:36 L3 cache: 64 MiB 23:16:36 NUMA node0 CPU(s): 0-3 23:16:36 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 23:16:36 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 23:16:36 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 23:16:36 Vulnerability Meltdown: Mitigation; PTI 23:16:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:16:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 23:16:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 23:16:36 Vulnerability Tsx async abort: Not affected 23:16:36 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 23:16:36 23:16:36 23:16:36 ---> nproc: 23:16:36 4 23:16:36 23:16:36