Pull request #25 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d097784316ec6796509111cd09577426280be0ed+bcdb88283644107a936668d00e74c74f1869e398 (b76643f92edf075e828d5c2bf56fa98c5bc8bfec) 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-25/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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3378’ Running on prd-centos7-docker-4c-2g-3381 in /w/workspace/dgexfoundry_device-rest-go_PR-25 [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-25 # 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/25/head:refs/remotes/origin/PR-25 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/25/head:refs/remotes/origin/PR-25 # timeout=10 Fetching without tags Merging remotes/origin/master commit bcdb88283644107a936668d00e74c74f1869e398 into PR head commit d097784316ec6796509111cd09577426280be0ed Merge succeeded, producing d097784316ec6796509111cd09577426280be0ed Checking out Revision d097784316ec6796509111cd09577426280be0ed (PR-25) > 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/25/head:refs/remotes/origin/PR-25 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d097784316ec6796509111cd09577426280be0ed # 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 bcdb88283644107a936668d00e74c74f1869e398 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d097784316ec6796509111cd09577426280be0ed # timeout=10 Commit message: "docs: Add standard PR template" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:22:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:22:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:22:29 ========================================================= 18:22:29 EdgeX Global Pipelines Version Info 18:22:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:22:31 ------------------- 18:22:31 stable info: 18:22:31 ------------------- 18:22:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:22:31 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 18:22:31 Message: update stable to v1.0.89 18:22:31 ------------------- 18:22:31 experimental info: 18:22:31 ------------------- 18:22:31 Commited By: **** collab-it+edgex@linuxfoundation.org 18:22:31 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 18:22: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 18:22:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:22:33 18:22:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:22:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:22:34 latest: Pulling from edgex-devops/git-semver 18:22:34 9123ac7c32f7: Pulling fs layer 18:22:34 b8cc5d1170e3: Pulling fs layer 18:22:34 2924cbbf6a41: Pulling fs layer 18:22:34 93b08a4f1073: Pulling fs layer 18:22:34 93b08a4f1073: Waiting 18:22:34 b8cc5d1170e3: Verifying Checksum 18:22:34 b8cc5d1170e3: Download complete 18:22:34 9123ac7c32f7: Verifying Checksum 18:22:34 9123ac7c32f7: Download complete 18:22:34 93b08a4f1073: Verifying Checksum 18:22:34 93b08a4f1073: Download complete 18:22:34 2924cbbf6a41: Verifying Checksum 18:22:34 2924cbbf6a41: Download complete 18:22:34 9123ac7c32f7: Pull complete 18:22:34 b8cc5d1170e3: Pull complete 18:22:35 2924cbbf6a41: Pull complete 18:22:35 93b08a4f1073: Pull complete 18:22:35 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 18:22:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:22:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:22:36 prd-centos7-docker-4c-2g-3381 does not seem to be running inside a container 18:22:36 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-25 -v /w/workspace/dgexfoundry_device-rest-go_PR-25:/w/workspace/dgexfoundry_device-rest-go_PR-25:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-25@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-25@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:22:37 $ docker top 216489f72507e52b7444967c03a0203e9fc4f4c18df3e021f33542a9e1f05df1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:22:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:22:38 [ssh-agent] Looking for ssh-agent implementation... 18:22:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:22:38 $ docker exec 216489f72507e52b7444967c03a0203e9fc4f4c18df3e021f33542a9e1f05df1 ssh-agent 18:22:38 SSH_AUTH_SOCK=/tmp/ssh-UuZ7EbEdShl7/agent.11 18:22:38 SSH_AGENT_PID=16 18:22:38 Running ssh-add (command line suppressed) 18:22:38 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-25@tmp/private_key_9181011184317500814.key (/w/workspace/dgexfoundry_device-rest-go_PR-25@tmp/private_key_9181011184317500814.key) 18:22:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:22:39 + git describe --exact-match --tags HEAD 18:22:39 fatal: No names found, cannot describe anything. [Pipeline] } 18:22:39 $ docker exec --env ******** --env ******** 216489f72507e52b7444967c03a0203e9fc4f4c18df3e021f33542a9e1f05df1 ssh-agent -k 18:22:39 unset SSH_AUTH_SOCK; 18:22:39 unset SSH_AGENT_PID; 18:22:39 echo Agent pid 16 killed; 18:22:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:22:39 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:22:39 This usually means this commit has not been tagged. [Pipeline] sshagent 18:22:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:22:39 [ssh-agent] Looking for ssh-agent implementation... 18:22:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:22:39 $ docker exec 216489f72507e52b7444967c03a0203e9fc4f4c18df3e021f33542a9e1f05df1 ssh-agent 18:22:40 SSH_AUTH_SOCK=/tmp/ssh-OiBueB6wr4e9/agent.46 18:22:40 SSH_AGENT_PID=51 18:22:40 Running ssh-add (command line suppressed) 18:22:40 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-25@tmp/private_key_6853413311397117934.key (/w/workspace/dgexfoundry_device-rest-go_PR-25@tmp/private_key_6853413311397117934.key) 18:22:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:22:40 + git semver init 18:22:40 # -> Open(): unable to determine branch for HEAD 18:22:40 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-25/.git 18:22:40 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-25 18:22:40 # $SEMVER_REMOTE_NAME = origin 18:22:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:22:40 # $SEMVER_USER_NAME = edgex-jenkins 18:22:40 # $SEMVER_BRANCH = PR-25 18:22:40 # $SEMVER_TEMP = /tmp/semver-068204143 18:22:40 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 18:22:41 # '/tmp/semver-068204143' -> '/w/workspace/dgexfoundry_device-rest-go_PR-25/.semver' 18:22:41 # -> Force: false 18:22:41 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-25/.semver [Pipeline] } 18:22:41 $ docker exec --env ******** --env ******** 216489f72507e52b7444967c03a0203e9fc4f4c18df3e021f33542a9e1f05df1 ssh-agent -k 18:22:41 unset SSH_AUTH_SOCK; 18:22:41 unset SSH_AGENT_PID; 18:22:41 echo Agent pid 51 killed; 18:22:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:22:42 + git semver [Pipeline] } 18:22:42 $ docker stop --time=1 216489f72507e52b7444967c03a0203e9fc4f4c18df3e021f33542a9e1f05df1 18:22:43 $ docker rm -f 216489f72507e52b7444967c03a0203e9fc4f4c18df3e021f33542a9e1f05df1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:22:44 Stashed 23 file(s) [Pipeline] echo 18:22: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 18:23:00 Still waiting to schedule task 18:23:00 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:23:00 Still waiting to schedule task 18:23:00 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 18:24:53 Running on prd-centos7-docker-4c-2g-3382 in /w/workspace/dgexfoundry_device-rest-go_PR-25 [Pipeline] { [Pipeline] ws 18:24:54 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 18:24:56 using credential edgex-jenkins-ssh 18:24:56 Cloning the remote Git repository 18:24:56 Cloning with configured refspecs honoured and without tags 18:24:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:24:56 > git init /w/workspace/device-rest-go/1 # timeout=10 18:24:57 Fetching without tags 18:24:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:24:56 > git --version # timeout=10 18:24:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:24:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:24:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:24:57 > git config --add remote.origin.fetch +refs/pull/25/head:refs/remotes/origin/PR-25 # timeout=10 18:24:57 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:24:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:24:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:24:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:24:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:24:57 Merging remotes/origin/master commit bcdb88283644107a936668d00e74c74f1869e398 into PR head commit d097784316ec6796509111cd09577426280be0ed 18:24:57 Merge succeeded, producing d097784316ec6796509111cd09577426280be0ed 18:24:57 Checking out Revision d097784316ec6796509111cd09577426280be0ed (PR-25) 18:24:57 > git config core.sparsecheckout # timeout=10 18:24:57 > git checkout -f d097784316ec6796509111cd09577426280be0ed # timeout=10 18:24:57 > git remote # timeout=10 18:24:57 > git config --get remote.origin.url # timeout=10 18:24:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:24:57 > git merge bcdb88283644107a936668d00e74c74f1869e398 # timeout=10 18:24:57 > git rev-parse HEAD^{commit} # timeout=10 18:24:57 > git config core.sparsecheckout # timeout=10 18:24:57 > git checkout -f d097784316ec6796509111cd09577426280be0ed # timeout=10 18:25:01 Commit message: "docs: Add standard PR template" 18:25:01 > git --version # timeout=10 18:25:01 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:25:02 ========================================================= 18:25:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 18:25:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:25:03 + 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 . 18:25:03 Sending build context to Docker daemon 8.027MB 18:25:03 Step 1/10 : ARG BASE=golang:1.13-alpine 18:25:03 Step 2/10 : FROM ${BASE} 18:25:03 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 18:25:03 e6b0cf9c0882: Pulling fs layer 18:25:03 2848faf0eed1: Pulling fs layer 18:25:03 0f37312ad70f: Pulling fs layer 18:25:03 5788d62ee057: Pulling fs layer 18:25:03 0e6b1d234666: Pulling fs layer 18:25:03 bf5d7aec512f: Pulling fs layer 18:25:03 34c802a77dc8: Pulling fs layer 18:25:03 9eb99e56ec68: Pulling fs layer 18:25:03 27c7a5d97fbd: Pulling fs layer 18:25:03 5c102a31e300: Pulling fs layer 18:25:03 dcfb455df0a1: Pulling fs layer 18:25:03 34c802a77dc8: Waiting 18:25:03 9eb99e56ec68: Waiting 18:25:03 27c7a5d97fbd: Waiting 18:25:03 5c102a31e300: Waiting 18:25:03 dcfb455df0a1: Waiting 18:25:03 5788d62ee057: Waiting 18:25:03 0e6b1d234666: Waiting 18:25:03 bf5d7aec512f: Waiting 18:25:03 0f37312ad70f: Verifying Checksum 18:25:03 0f37312ad70f: Download complete 18:25:03 2848faf0eed1: Verifying Checksum 18:25:03 2848faf0eed1: Download complete 18:25:03 0e6b1d234666: Verifying Checksum 18:25:03 0e6b1d234666: Download complete 18:25:03 bf5d7aec512f: Download complete 18:25:03 e6b0cf9c0882: Verifying Checksum 18:25:03 e6b0cf9c0882: Download complete 18:25:04 e6b0cf9c0882: Pull complete 18:25:04 34c802a77dc8: Verifying Checksum 18:25:04 34c802a77dc8: Download complete 18:25:04 27c7a5d97fbd: Verifying Checksum 18:25:04 27c7a5d97fbd: Download complete 18:25:04 5c102a31e300: Verifying Checksum 18:25:04 5c102a31e300: Download complete 18:25:05 dcfb455df0a1: Verifying Checksum 18:25:05 dcfb455df0a1: Download complete 18:25:05 5788d62ee057: Verifying Checksum 18:25:05 5788d62ee057: Download complete 18:25:05 9eb99e56ec68: Verifying Checksum 18:25:05 9eb99e56ec68: Download complete 18:25:05 2848faf0eed1: Pull complete 18:25:06 0f37312ad70f: Pull complete 18:25:11 5788d62ee057: Pull complete 18:25:11 0e6b1d234666: Pull complete 18:25:11 bf5d7aec512f: Pull complete 18:25:16 34c802a77dc8: Pull complete 18:25:20 9eb99e56ec68: Pull complete 18:25:20 27c7a5d97fbd: Pull complete 18:25:20 5c102a31e300: Pull complete 18:25:20 dcfb455df0a1: Pull complete 18:25:20 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 18:25:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 18:25:20 ---> 7c70fe431013 18:25:20 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 18:25:22 ---> Running in f023edd52c03 18:25:22 Removing intermediate container f023edd52c03 18:25:22 ---> 9759857bedc6 18:25:22 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:25:22 ---> Running in de60c9636e1c 18:25:22 Removing intermediate container de60c9636e1c 18:25:22 ---> 6816d3e783b6 18:25:22 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:25:22 ---> Running in 54d3d08cb47b 18:25:22 Removing intermediate container 54d3d08cb47b 18:25:22 ---> 44fd777ad506 18:25:22 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:25:22 ---> Running in b4a77536ca5a 18:25:24 Removing intermediate container b4a77536ca5a 18:25:24 ---> b7c15c39b374 18:25:24 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:25:24 ---> Running in a8bdae4a0cca 18:25:24 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:25:25 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:25:25 OK: 143 MiB in 39 packages 18:25:26 Removing intermediate container a8bdae4a0cca 18:25:26 ---> 32955e36709e 18:25:26 Step 8/10 : WORKDIR /device-rest-go 18:25:26 ---> Running in 413823c40404 18:25:26 Removing intermediate container 413823c40404 18:25:26 ---> d8516ff7b94f 18:25:26 Step 9/10 : COPY . . 18:25:26 ---> 76dfdf3b0994 18:25:26 Step 10/10 : RUN go mod download 18:25:27 ---> Running in d3729d124f14 18:25:28 go: finding github.com/BurntSushi/toml v0.3.1 18:25:28 go: finding github.com/OneOfOne/xxhash v1.2.6 18:25:28 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:25:28 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:25:28 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:25:28 go: finding github.com/bgentry/speakeasy v0.1.0 18:25:28 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:25:28 go: finding github.com/davecgh/go-spew v1.1.1 18:25:28 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 18:25:28 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 18:25:28 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 18:25:28 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 18:25:28 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 18:25:28 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:25:28 go: finding github.com/fatih/color v1.7.0 18:25:28 go: finding github.com/fxamacker/cbor/v2 v2.2.0 18:25:28 go: finding github.com/go-kit/kit v0.8.0 18:25:28 go: finding github.com/go-logfmt/logfmt v0.4.0 18:25:28 go: finding github.com/go-stack/stack v1.8.0 18:25:28 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:25:28 go: finding github.com/google/uuid v1.1.0 18:25:28 go: finding github.com/gorilla/mux v1.7.1 18:25:28 go: finding github.com/hashicorp/consul/api v1.1.0 18:25:28 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:25:28 go: finding github.com/hashicorp/errwrap v1.0.0 18:25:28 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:25:28 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:25:28 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:25:28 go: finding github.com/hashicorp/go-multierror v1.0.0 18:25:28 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:25:28 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:25:28 go: finding github.com/hashicorp/go-syslog v1.0.0 18:25:28 go: finding github.com/hashicorp/go-uuid v1.0.1 18:25:28 go: finding github.com/hashicorp/go.net v0.0.1 18:25:28 go: finding github.com/hashicorp/golang-lru v0.5.0 18:25:28 go: finding github.com/hashicorp/logutils v1.0.0 18:25:28 go: finding github.com/hashicorp/mdns v1.0.0 18:25:28 go: finding github.com/hashicorp/memberlist v0.1.3 18:25:28 go: finding github.com/hashicorp/serf v0.8.2 18:25:28 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:25:28 go: finding github.com/mattn/go-colorable v0.0.9 18:25:28 go: finding github.com/mattn/go-isatty v0.0.3 18:25:28 go: finding github.com/miekg/dns v1.0.14 18:25:28 go: finding github.com/mitchellh/cli v1.0.0 18:25:28 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:25:28 go: finding github.com/mitchellh/copystructure v1.0.0 18:25:28 go: finding github.com/mitchellh/go-homedir v1.0.0 18:25:28 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:25:28 go: finding github.com/mitchellh/gox v0.4.0 18:25:28 go: finding github.com/mitchellh/iochan v1.0.0 18:25:28 go: finding github.com/mitchellh/mapstructure v1.1.2 18:25:28 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:25:28 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:25:28 go: finding github.com/pelletier/go-toml v1.2.0 18:25:28 go: finding github.com/pkg/errors v0.8.1 18:25:28 go: finding github.com/pmezard/go-difflib v1.0.0 18:25:28 go: finding github.com/posener/complete v1.1.1 18:25:28 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:25:28 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:25:28 go: finding github.com/spf13/cast v1.3.0 18:25:28 go: finding github.com/stretchr/objx v0.1.0 18:25:28 go: finding github.com/stretchr/testify v1.5.1 18:25:28 go: finding github.com/ugorji/go v1.1.4 18:25:28 go: finding github.com/x448/float16 v0.8.4 18:25:28 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:25:28 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:25:28 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:25:28 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:25:28 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:25:28 go: finding gopkg.in/yaml.v2 v2.2.8 18:25:37 Removing intermediate container d3729d124f14 18:25:37 ---> d41f576cdf69 18:25:37 Successfully built d41f576cdf69 18:25:37 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 18:25:37 + docker inspect -f . ci-base-image-x86_64 18:25:37 . [Pipeline] withDockerContainer 18:25:37 prd-centos7-docker-4c-2g-3382 does not seem to be running inside a container 18:25:37 $ 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 ******** ci-base-image-x86_64 cat 18:25:38 $ docker top 526c8c842a285f493e2962f5304f0798d75ffa832747cd3a62063497ffb86b90 -eo pid,comm [Pipeline] { [Pipeline] sh 18:25:39 + go version 18:25:39 go version go1.13.5 linux/amd64 [Pipeline] sh 18:25:39 + make test 18:25:39 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:25:40 ? github.com/edgexfoundry/device-rest-go [no test files] 18:25:50 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:25:50 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 56.3% of statements 18:25:50 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:25:52 gofmt -l . 18:25:52 [ "`gofmt -l .`" = "" ] 18:25:52 ./bin/test-go-mod-tidy.sh 18:25:52 ./bin/test-attribution-txt.sh [Pipeline] stash 18:25:53 Stashed 1 file(s) [Pipeline] } 18:25:53 $ docker stop --time=1 526c8c842a285f493e2962f5304f0798d75ffa832747cd3a62063497ffb86b90 18:25:55 $ docker rm -f 526c8c842a285f493e2962f5304f0798d75ffa832747cd3a62063497ffb86b90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:25:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:25:56 + ls -al . 18:25:56 total 96 18:25:56 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 17 18:25 . 18:25:56 drwxrwxr-x. 4 jenkins jenkins 28 Jun 17 18:24 .. 18:25:56 -rw-rw-r--. 1 jenkins jenkins 4802 Jun 17 18:24 Attribution.txt 18:25:56 drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 18:24 bin 18:25:56 drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 18:24 cmd 18:25:56 -rw-r--r--. 1 jenkins jenkins 9369 Jun 17 18:25 coverage.out 18:25:56 -rw-rw-r--. 1 jenkins jenkins 1504 Jun 17 18:24 Dockerfile 18:25:56 -rw-rw-r--. 1 jenkins jenkins 989 Jun 17 18:24 Dockerfile.build 18:25:56 -rw-rw-r--. 1 jenkins jenkins 151 Jun 17 18:24 .dockerignore 18:25:56 drwxrwxr-x. 2 jenkins jenkins 93 Jun 17 18:25 driver 18:25:56 drwxrwxr-x. 8 jenkins jenkins 179 Jun 17 18:25 .git 18:25:56 drwxrwxr-x. 2 jenkins jenkins 38 Jun 17 18:24 .github 18:25:56 -rw-rw-r--. 1 jenkins jenkins 339 Jun 17 18:24 .gitignore 18:25:56 -rw-r--r--. 1 jenkins jenkins 266 Jun 17 18:25 go.mod 18:25:56 -rw-r--r--. 1 jenkins jenkins 12533 Jun 17 18:25 go.sum 18:25:56 -rw-rw-r--. 1 jenkins jenkins 702 Jun 17 18:24 Jenkinsfile 18:25:56 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 18:24 LICENSE 18:25:56 -rw-rw-r--. 1 jenkins jenkins 951 Jun 17 18:24 Makefile 18:25:56 -rw-rw-r--. 1 jenkins jenkins 5716 Jun 17 18:24 README.md 18:25:56 drwxrwxr-x. 3 jenkins jenkins 45 Jun 17 18:25 .semver 18:25:56 -rw-rw-r--. 1 jenkins jenkins 5 Jun 17 18:22 VERSION 18:25:56 -rw-rw-r--. 1 jenkins jenkins 713 Jun 17 18:24 version.go [Pipeline] isUnix [Pipeline] sh 18:25:56 + 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=d097784316ec6796509111cd09577426280be0ed --label arch=amd64 --label version=0.0.0 . 18:25:56 Sending build context to Docker daemon 8.039MB 18:25:56 Step 1/24 : ARG BASE=golang:1.13-alpine 18:25:56 Step 2/24 : FROM ${BASE} AS builder 18:25:56 ---> d41f576cdf69 18:25:56 Step 3/24 : ARG MAKE='make build' 18:25:57 ---> Running in 924f2a92b06a 18:25:57 Removing intermediate container 924f2a92b06a 18:25:57 ---> fd1d2e3ed25b 18:25:57 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 18:25:57 ---> Running in c14d58949fac 18:25:57 Removing intermediate container c14d58949fac 18:25:57 ---> 8146090f2cb9 18:25:57 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:25:57 ---> Running in ee08ba9c3241 18:25:57 Removing intermediate container ee08ba9c3241 18:25:57 ---> a60efc1550ed 18:25:57 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:25:57 ---> Running in 3ebb44fee279 18:25:58 Removing intermediate container 3ebb44fee279 18:25:58 ---> 8b652b9fb5fd 18:25:58 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:25:58 ---> Running in a38b77d734b0 18:25:58 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:25:59 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:26:00 OK: 143 MiB in 39 packages 18:26:00 Removing intermediate container a38b77d734b0 18:26:00 ---> 3ec8f1d9669e 18:26:00 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 18:26:00 ---> Running in 53c092267d43 18:26:00 Removing intermediate container 53c092267d43 18:26:00 ---> 962ddb6cafa2 18:26:00 Step 9/24 : COPY go.mod . 18:26:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3383 in /w/workspace/dgexfoundry_device-rest-go_PR-25 [Pipeline] { [Pipeline] ws 18:26:00 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 18:26:00 ---> 1b9cf8491886 18:26:00 Step 10/24 : COPY Makefile . 18:26:01 ---> 6e3216917650 18:26:01 Step 11/24 : RUN make update 18:26:01 ---> Running in 9b9950196203 18:26:01 CGO_ENABLED=0 GO111MODULE=on go mod download 18:26:02 Removing intermediate container 9b9950196203 18:26:02 ---> 29d10312de1a 18:26:02 Step 12/24 : COPY . . 18:26:02 ---> 3bdc56db5719 18:26:02 Step 13/24 : RUN $MAKE 18:26:02 ---> Running in 35de00b10a32 18:26:02 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 18:26:05 using credential edgex-jenkins-ssh 18:26:05 Cloning the remote Git repository 18:26:05 Cloning with configured refspecs honoured and without tags 18:26:05 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:26:05 > git init /w/workspace/device-rest-go/1 # timeout=10 18:26:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:26:05 > git --version # timeout=10 18:26:05 using GIT_SSH to set credentials SSH Credentials for GitHub 18:26:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:26:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:26:06 > git config --add remote.origin.fetch +refs/pull/25/head:refs/remotes/origin/PR-25 # timeout=10 18:26:06 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:26:07 Fetching without tags 18:26:07 Merging remotes/origin/master commit bcdb88283644107a936668d00e74c74f1869e398 into PR head commit d097784316ec6796509111cd09577426280be0ed 18:26:07 Merge succeeded, producing d097784316ec6796509111cd09577426280be0ed 18:26:07 Checking out Revision d097784316ec6796509111cd09577426280be0ed (PR-25) 18:26:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:26:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:26:07 using GIT_SSH to set credentials SSH Credentials for GitHub 18:26:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:26:07 > git config core.sparsecheckout # timeout=10 18:26:07 > git checkout -f d097784316ec6796509111cd09577426280be0ed # timeout=10 18:26:07 > git remote # timeout=10 18:26:07 > git config --get remote.origin.url # timeout=10 18:26:07 using GIT_SSH to set credentials SSH Credentials for GitHub 18:26:07 > git merge bcdb88283644107a936668d00e74c74f1869e398 # timeout=10 18:26:07 > git rev-parse HEAD^{commit} # timeout=10 18:26:07 > git config core.sparsecheckout # timeout=10 18:26:07 > git checkout -f d097784316ec6796509111cd09577426280be0ed # timeout=10 18:26:11 Commit message: "docs: Add standard PR template" 18:26:11 > git --version # timeout=10 18:26:12 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 18:26:12 Removing intermediate container 35de00b10a32 18:26:12 ---> 200a1258a7ca 18:26:12 Step 14/24 : FROM alpine:latest 18:26:12 latest: Pulling from library/alpine 18:26:13 df20fa9351a1: Pulling fs layer 18:26:13 df20fa9351a1: Verifying Checksum 18:26:13 df20fa9351a1: Download complete 18:26:13 df20fa9351a1: Pull complete 18:26:13 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 18:26:13 Status: Downloaded newer image for alpine:latest 18:26:13 ---> a24bb4013296 18:26:13 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:26:13 ---> Running in fc7de20e3d14 18:26:13 Removing intermediate container fc7de20e3d14 18:26:13 ---> 56b5795f438d 18:26:13 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 18:26:13 ---> Running in 11d01e590f5c [Pipeline] echo 18:26:14 ========================================================= 18:26:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 18:26:14 ========================================================= 18:26:14 Removing intermediate container 11d01e590f5c 18:26:14 ---> 22beff4ce560 18:26:14 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 18:26:14 ---> 37384c857a76 18:26:14 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [Pipeline] isUnix [Pipeline] sh 18:26:14 ---> 66fad8b497ac 18:26:14 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 18:26:15 ---> c7a3a0901bf4 18:26:15 Step 20/24 : EXPOSE 49986 18:26:15 ---> Running in b97d328d9a52 18:26:15 Removing intermediate container b97d328d9a52 18:26:15 ---> 50788eedc84f 18:26:15 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 18:26:15 ---> Running in 6e6a10804ac5 18:26:15 + 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 . 18:26:15 Removing intermediate container 6e6a10804ac5 18:26:15 ---> a7c8400faf9c 18:26:15 Step 22/24 : LABEL arch=amd64 18:26:15 ---> Running in a3f866666c07 18:26:15 Removing intermediate container a3f866666c07 18:26:15 ---> 1cfe129b7b50 18:26:15 Step 23/24 : LABEL git_sha=d097784316ec6796509111cd09577426280be0ed 18:26:15 ---> Running in 231a9e2d58cb 18:26:15 Removing intermediate container 231a9e2d58cb 18:26:15 ---> 1f6beb479c73 18:26:15 Step 24/24 : LABEL version=0.0.0 18:26:15 ---> Running in e2fe5ec2794a 18:26:16 Removing intermediate container e2fe5ec2794a 18:26:16 ---> 4589a854f04d 18:26:16 [Warning] One or more build-args [ARCH] were not consumed 18:26:16 Successfully built 4589a854f04d 18:26:16 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] } 18:26:16 Sending build context to Docker daemon 8.027MB 18:26:16 Step 1/10 : ARG BASE=golang:1.13-alpine 18:26:16 Step 2/10 : FROM ${BASE} [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } 18:26:16 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:26:16 cde5963f3b93: Pulling fs layer 18:26:16 2a23fa8c16f7: Pulling fs layer 18:26:16 777b28850792: Pulling fs layer 18:26:16 8a11ddd9e578: Pulling fs layer 18:26:16 4cf88f913ddb: Pulling fs layer 18:26:16 1df406cf5192: Pulling fs layer 18:26:16 cd6300453558: Pulling fs layer 18:26:16 b9c365052c96: Pulling fs layer 18:26:16 a2d8cc88f415: Pulling fs layer 18:26:16 ea1d1ca13537: Pulling fs layer 18:26:16 3750a50a1c5e: Pulling fs layer 18:26:16 cd6300453558: Waiting 18:26:16 8a11ddd9e578: Waiting 18:26:16 4cf88f913ddb: Waiting 18:26:16 1df406cf5192: Waiting 18:26:16 b9c365052c96: Waiting 18:26:16 a2d8cc88f415: Waiting 18:26:16 ea1d1ca13537: Waiting 18:26:16 3750a50a1c5e: Waiting 18:26:16 777b28850792: Download complete 18:26:16 2a23fa8c16f7: Verifying Checksum 18:26:16 2a23fa8c16f7: Download complete 18:26:16 4cf88f913ddb: Verifying Checksum 18:26:16 4cf88f913ddb: Download complete 18:26:16 1df406cf5192: Verifying Checksum 18:26:16 1df406cf5192: Download complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 18:26:17 cde5963f3b93: Verifying Checksum [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:26:17 cde5963f3b93: Pull complete 18:26:18 2a23fa8c16f7: Pull complete 18:26:18 777b28850792: Pull complete 18:26:19 cd6300453558: Verifying Checksum 18:26:19 cd6300453558: Download complete 18:26:19 a2d8cc88f415: Download complete 18:26:20 ea1d1ca13537: Verifying Checksum 18:26:20 ea1d1ca13537: Download complete 18:26:20 3750a50a1c5e: Verifying Checksum 18:26:20 3750a50a1c5e: Download complete 18:26:21 b9c365052c96: Verifying Checksum 18:26:21 b9c365052c96: Download complete 18:26:22 8a11ddd9e578: Verifying Checksum 18:26:22 8a11ddd9e578: Download complete 18:26:34 8a11ddd9e578: Pull complete 18:26:34 4cf88f913ddb: Pull complete 18:26:34 1df406cf5192: Pull complete 18:26:38 cd6300453558: Pull complete 18:26:43 b9c365052c96: Pull complete 18:26:43 a2d8cc88f415: Pull complete 18:26:45 ea1d1ca13537: Pull complete 18:26:46 3750a50a1c5e: Pull complete 18:26:46 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 18:26:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 18:26:46 ---> 78745c68409d 18:26:46 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 18:26:51 ---> Running in 1f2350c8f28f 18:26:51 Removing intermediate container 1f2350c8f28f 18:26:51 ---> 7220cee7770e 18:26:51 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:26:51 ---> Running in 1bc428a493f9 18:26:51 Removing intermediate container 1bc428a493f9 18:26:51 ---> 51b9e2ca866a 18:26:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:26:52 ---> Running in 52200fc59731 18:26:52 Removing intermediate container 52200fc59731 18:26:52 ---> 0027aa4d4f2a 18:26:52 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:26:52 ---> Running in 599b41f9c28f 18:26:55 Removing intermediate container 599b41f9c28f 18:26:55 ---> 7b10629c7f99 18:26:55 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:26:55 ---> Running in 2115430ee69a 18:26:56 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 18:26:57 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:26:57 OK: 125 MiB in 39 packages 18:26:59 Removing intermediate container 2115430ee69a 18:26:59 ---> 888f445da5df 18:26:59 Step 8/10 : WORKDIR /device-rest-go 18:26:59 ---> Running in 099fc3d73221 18:26:59 Removing intermediate container 099fc3d73221 18:26:59 ---> cb9e70879d1e 18:26:59 Step 9/10 : COPY . . 18:27:01 ---> 987ab1eb7b89 18:27:01 Step 10/10 : RUN go mod download 18:27:01 ---> Running in 587c47cd27ba 18:27:03 go: finding github.com/BurntSushi/toml v0.3.1 18:27:03 go: finding github.com/OneOfOne/xxhash v1.2.6 18:27:03 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:27:03 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:27:03 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:27:03 go: finding github.com/bgentry/speakeasy v0.1.0 18:27:03 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:27:03 go: finding github.com/davecgh/go-spew v1.1.1 18:27:03 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 18:27:03 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 18:27:03 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 18:27:03 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 18:27:03 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 18:27:03 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:27:03 go: finding github.com/fatih/color v1.7.0 18:27:03 go: finding github.com/fxamacker/cbor/v2 v2.2.0 18:27:03 go: finding github.com/go-kit/kit v0.8.0 18:27:03 go: finding github.com/go-logfmt/logfmt v0.4.0 18:27:03 go: finding github.com/go-stack/stack v1.8.0 18:27:03 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:27:03 go: finding github.com/google/uuid v1.1.0 18:27:03 go: finding github.com/gorilla/mux v1.7.1 18:27:03 go: finding github.com/hashicorp/consul/api v1.1.0 18:27:03 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:27:03 go: finding github.com/hashicorp/errwrap v1.0.0 18:27:03 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:27:03 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:27:03 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:27:03 go: finding github.com/hashicorp/go-multierror v1.0.0 18:27:03 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:27:03 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:27:03 go: finding github.com/hashicorp/go-syslog v1.0.0 18:27:03 go: finding github.com/hashicorp/go-uuid v1.0.1 18:27:03 go: finding github.com/hashicorp/go.net v0.0.1 18:27:03 go: finding github.com/hashicorp/golang-lru v0.5.0 18:27:03 go: finding github.com/hashicorp/logutils v1.0.0 18:27:03 go: finding github.com/hashicorp/mdns v1.0.0 18:27:03 go: finding github.com/hashicorp/memberlist v0.1.3 18:27:03 go: finding github.com/hashicorp/serf v0.8.2 18:27:03 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:27:03 go: finding github.com/mattn/go-colorable v0.0.9 18:27:03 go: finding github.com/mattn/go-isatty v0.0.3 18:27:03 go: finding github.com/miekg/dns v1.0.14 18:27:03 go: finding github.com/mitchellh/cli v1.0.0 18:27:03 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:27:03 go: finding github.com/mitchellh/copystructure v1.0.0 18:27:03 go: finding github.com/mitchellh/go-homedir v1.0.0 18:27:03 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:27:03 go: finding github.com/mitchellh/gox v0.4.0 18:27:03 go: finding github.com/mitchellh/iochan v1.0.0 18:27:03 go: finding github.com/mitchellh/mapstructure v1.1.2 18:27:03 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:27:03 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:27:03 go: finding github.com/pelletier/go-toml v1.2.0 18:27:03 go: finding github.com/pkg/errors v0.8.1 18:27:03 go: finding github.com/pmezard/go-difflib v1.0.0 18:27:03 go: finding github.com/posener/complete v1.1.1 18:27:03 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:27:03 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:27:03 go: finding github.com/spf13/cast v1.3.0 18:27:03 go: finding github.com/stretchr/objx v0.1.0 18:27:03 go: finding github.com/stretchr/testify v1.5.1 18:27:03 go: finding github.com/ugorji/go v1.1.4 18:27:03 go: finding github.com/x448/float16 v0.8.4 18:27:03 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:27:03 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:27:03 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:27:04 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:27:04 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:27:04 go: finding gopkg.in/yaml.v2 v2.2.8 18:27:14 Removing intermediate container 587c47cd27ba 18:27:14 ---> e60fa584e620 18:27:14 Successfully built e60fa584e620 18:27:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:27:15 + docker inspect -f . ci-base-image-arm64 18:27:15 . [Pipeline] withDockerContainer 18:27:15 prd-ubuntu18.04-docker-arm64-4c-16g-3383 does not seem to be running inside a container 18:27:15 $ 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 18:27:17 $ docker top 14e29ce1b96df83f24812cc3fbf8d549c2632f157c4f66525bfca04d0dbc1a46 -eo pid,comm [Pipeline] { [Pipeline] sh 18:27:18 + go version 18:27:18 go version go1.13.5 linux/arm64 [Pipeline] sh 18:27:19 + make test 18:27:19 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:27:20 ? github.com/edgexfoundry/device-rest-go [no test files] 18:27:47 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:27:51 ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 56.3% of statements 18:27:51 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:27:57 gofmt -l . 18:27:57 [ "`gofmt -l .`" = "" ] 18:27:57 ./bin/test-go-mod-tidy.sh 18:27:57 ./bin/test-attribution-txt.sh [Pipeline] stash 18:27:57 Warning: overwriting stash ‘coverage-report’ 18:27:58 Stashed 1 file(s) [Pipeline] } 18:27:58 $ docker stop --time=1 14e29ce1b96df83f24812cc3fbf8d549c2632f157c4f66525bfca04d0dbc1a46 18:28:00 $ docker rm -f 14e29ce1b96df83f24812cc3fbf8d549c2632f157c4f66525bfca04d0dbc1a46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:28:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:28:02 + ls -al . 18:28:02 total 124 18:28:02 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 18:27 . 18:28:02 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 18:26 .. 18:28:02 -rw-rw-r-- 1 jenkins jenkins 151 Jun 17 18:26 .dockerignore 18:28:02 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 18:26 .git 18:28:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:26 .github 18:28:02 -rw-rw-r-- 1 jenkins jenkins 339 Jun 17 18:26 .gitignore 18:28:02 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 18:26 .semver 18:28:02 -rw-rw-r-- 1 jenkins jenkins 4802 Jun 17 18:26 Attribution.txt 18:28:02 -rw-rw-r-- 1 jenkins jenkins 1504 Jun 17 18:26 Dockerfile 18:28:02 -rw-rw-r-- 1 jenkins jenkins 989 Jun 17 18:26 Dockerfile.build 18:28:02 -rw-rw-r-- 1 jenkins jenkins 702 Jun 17 18:26 Jenkinsfile 18:28:02 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 18:26 LICENSE 18:28:02 -rw-rw-r-- 1 jenkins jenkins 951 Jun 17 18:26 Makefile 18:28:02 -rw-rw-r-- 1 jenkins jenkins 5716 Jun 17 18:26 README.md 18:28:02 -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 18:22 VERSION 18:28:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:26 bin 18:28:02 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 18:26 cmd 18:28:02 -rw-r--r-- 1 jenkins jenkins 9369 Jun 17 18:27 coverage.out 18:28:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:27 driver 18:28:02 -rw-r--r-- 1 jenkins jenkins 266 Jun 17 18:27 go.mod 18:28:02 -rw-r--r-- 1 jenkins jenkins 12533 Jun 17 18:27 go.sum 18:28:02 -rw-rw-r-- 1 jenkins jenkins 713 Jun 17 18:26 version.go [Pipeline] isUnix [Pipeline] sh 18:28:02 + 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=d097784316ec6796509111cd09577426280be0ed --label arch=arm64 --label version=0.0.0 . 18:28:03 Sending build context to Docker daemon 8.039MB 18:28:03 Step 1/24 : ARG BASE=golang:1.13-alpine 18:28:03 Step 2/24 : FROM ${BASE} AS builder 18:28:03 ---> e60fa584e620 18:28:03 Step 3/24 : ARG MAKE='make build' 18:28:03 ---> Running in 4e1bf27d46a8 18:28:03 Removing intermediate container 4e1bf27d46a8 18:28:03 ---> d62d1f4144a1 18:28:03 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 18:28:04 ---> Running in 7503db36ceac 18:28:04 Removing intermediate container 7503db36ceac 18:28:04 ---> e9872ad748e7 18:28:04 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:28:04 ---> Running in 8656c096ffce 18:28:04 Removing intermediate container 8656c096ffce 18:28:04 ---> 7f34f8aca1ac 18:28:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:28:05 ---> Running in 8d430a70992d 18:28:07 Removing intermediate container 8d430a70992d 18:28:07 ---> 59e033ab0e20 18:28:07 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:28:07 ---> Running in afd54c8096b7 18:28:09 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 18:28:09 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:28:10 OK: 125 MiB in 39 packages 18:28:11 Removing intermediate container afd54c8096b7 18:28:11 ---> fc3d89f66a50 18:28:11 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 18:28:11 ---> Running in 9d815f9931ff 18:28:11 Removing intermediate container 9d815f9931ff 18:28:11 ---> 1786385f00fb 18:28:11 Step 9/24 : COPY go.mod . 18:28:12 ---> da9b2f92763d 18:28:12 Step 10/24 : COPY Makefile . 18:28:13 ---> 621014808c37 18:28:13 Step 11/24 : RUN make update 18:28:13 ---> Running in 9f978168b7ea 18:28:14 CGO_ENABLED=0 GO111MODULE=on go mod download 18:28:16 Removing intermediate container 9f978168b7ea 18:28:16 ---> ed47378b7223 18:28:16 Step 12/24 : COPY . . 18:28:17 ---> 47da2c53c75c 18:28:17 Step 13/24 : RUN $MAKE 18:28:17 ---> Running in b08420dae9e8 18:28:19 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 18:28:45 Removing intermediate container b08420dae9e8 18:28:45 ---> 63852f394d81 18:28:45 Step 14/24 : FROM alpine:latest 18:28:45 latest: Pulling from library/alpine 18:28:45 b538f80385f9: Pulling fs layer 18:28:45 b538f80385f9: Verifying Checksum 18:28:45 b538f80385f9: Download complete 18:28:46 b538f80385f9: Pull complete 18:28:46 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 18:28:46 Status: Downloaded newer image for alpine:latest 18:28:46 ---> 62ee0e9f8440 18:28:46 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:28:46 ---> Running in cd58bc410a34 18:28:46 Removing intermediate container cd58bc410a34 18:28:46 ---> c2ccbcf16017 18:28:46 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 18:28:47 ---> Running in 7495e831ad8b 18:28:47 Removing intermediate container 7495e831ad8b 18:28:47 ---> de2074c7eba9 18:28:47 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 18:28:48 ---> b5d55b5702df 18:28:48 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 18:28:49 ---> 8f5fcc474b7c 18:28:49 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 18:28:50 ---> 0f2e3cfdce7c 18:28:50 Step 20/24 : EXPOSE 49986 18:28:50 ---> Running in 883ba08d2601 18:28:51 Removing intermediate container 883ba08d2601 18:28:51 ---> 0bef4b665503 18:28:51 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 18:28:51 ---> Running in a5300e2092df 18:28:51 Removing intermediate container a5300e2092df 18:28:51 ---> a60ad23c6fe4 18:28:51 Step 22/24 : LABEL arch=arm64 18:28:51 ---> Running in 0d51a48ecbc6 18:28:52 Removing intermediate container 0d51a48ecbc6 18:28:52 ---> aa435237e598 18:28:52 Step 23/24 : LABEL git_sha=d097784316ec6796509111cd09577426280be0ed 18:28:52 ---> Running in d6acf30dcede 18:28:52 Removing intermediate container d6acf30dcede 18:28:52 ---> 0669c03659c7 18:28:52 Step 24/24 : LABEL version=0.0.0 18:28:52 ---> Running in f398c6c826a2 18:28:53 Removing intermediate container f398c6c826a2 18:28:53 ---> bf79e440644f 18:28:53 [Warning] One or more build-args [ARCH] were not consumed 18:28:53 Successfully built bf79e440644f 18:28:53 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 18:28:54 provisioning config files... 18:28:54 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-25@tmp/config7784838367880319696tmp [Pipeline] { [Pipeline] sh 18:28:55 + curl -s https://codecov.io/bash 18:28:55 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-25@tmp/config7784838367880319696tmp 18:28:55 18:28:55 _____ _ 18:28:55 / ____| | | 18:28:55 | | ___ __| | ___ ___ _____ __ 18:28:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:28:55 | |___| (_) | (_| | __/ (_| (_) \ V / 18:28:55 \_____\___/ \__,_|\___|\___\___/ \_/ 18:28:55 Bash-20200602-f809a24 18:28:55 18:28:55 18:28:55 ==> Jenkins CI detected. 18:28:55 project root: . 18:28:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:28:55 ==> Running gcov in . (disable via -X gcov) 18:28:55 ==> Python coveragepy not found 18:28:55 ==> Searching for coverage reports in: 18:28:55 + . 18:28:55 -> Found 1 reports 18:28:55 ==> Detecting git/mercurial file structure 18:28:55 ==> Reading reports 18:28:55 + ./coverage.out bytes=9369 18:28:55 ==> Appending adjustments 18:28:55 https://docs.codecov.io/docs/fixing-reports 18:28:55 + Found adjustments 18:28:55 ==> Gzipping contents 18:28:55 ==> Uploading reports 18:28:55 url: https://codecov.io 18:28:55 query: branch=PR-25&commit=d097784316ec6796509111cd09577426280be0ed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-25%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=25&job= 18:28:55 -> Pinging Codecov 18:28:55 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-25&commit=d097784316ec6796509111cd09577426280be0ed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-25%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=25&job= 18:28:55 -> Uploading 18:28:56 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d097784316ec6796509111cd09577426280be0ed [Pipeline] } 18:28:56 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 18:28:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:28:58 ---> package-listing.sh 18:28:58 ++ facter osfamily 18:28:58 ++ tr '[:upper:]' '[:lower:]' 18:28:58 + OS_FAMILY=redhat 18:28:58 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-25 18:28:58 + START_PACKAGES=/tmp/packages_start.txt 18:28:58 + END_PACKAGES=/tmp/packages_end.txt 18:28:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:28:58 + PACKAGES=/tmp/packages_start.txt 18:28:58 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-25 ']' 18:28:58 + PACKAGES=/tmp/packages_end.txt 18:28:58 + case "${OS_FAMILY}" in 18:28:58 + rpm -qa 18:28:58 + sort 18:29:01 + '[' -f /tmp/packages_start.txt ']' 18:29:01 + '[' -f /tmp/packages_end.txt ']' 18:29:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:29:01 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-25 ']' 18:29:01 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-25/archives/ 18:29:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-25/archives/ [Pipeline] isUnix [Pipeline] sh 18:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:29:02 18:29:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:29:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:29:02 alpine: Pulling from edgex-lftools-log-publisher 18:29:02 c9b1b535fdd9: Pulling fs layer 18:29:02 2cc5ad85d9ab: Pulling fs layer 18:29:02 756a868c4378: Pulling fs layer 18:29:02 444b2fc9a129: Pulling fs layer 18:29:02 ea15f1150254: Pulling fs layer 18:29:02 41b27a9f41bf: Pulling fs layer 18:29:02 28c525ee5125: Pulling fs layer 18:29:02 094b1ea09ed8: Pulling fs layer 18:29:02 138eaada9080: Pulling fs layer 18:29:02 0622d0fa9048: Pulling fs layer 18:29:02 41b27a9f41bf: Waiting 18:29:02 28c525ee5125: Waiting 18:29:02 094b1ea09ed8: Waiting 18:29:02 138eaada9080: Waiting 18:29:02 0622d0fa9048: Waiting 18:29:02 444b2fc9a129: Waiting 18:29:02 ea15f1150254: Waiting 18:29:02 2cc5ad85d9ab: Verifying Checksum 18:29:02 2cc5ad85d9ab: Download complete 18:29:02 444b2fc9a129: Verifying Checksum 18:29:02 444b2fc9a129: Download complete 18:29:02 c9b1b535fdd9: Verifying Checksum 18:29:02 c9b1b535fdd9: Download complete 18:29:02 ea15f1150254: Verifying Checksum 18:29:02 ea15f1150254: Download complete 18:29:02 28c525ee5125: Download complete 18:29:03 c9b1b535fdd9: Pull complete 18:29:03 756a868c4378: Verifying Checksum 18:29:03 756a868c4378: Download complete 18:29:03 138eaada9080: Verifying Checksum 18:29:03 138eaada9080: Download complete 18:29:03 2cc5ad85d9ab: Pull complete 18:29:03 0622d0fa9048: Verifying Checksum 18:29:03 0622d0fa9048: Download complete 18:29:03 094b1ea09ed8: Verifying Checksum 18:29:03 094b1ea09ed8: Download complete 18:29:03 41b27a9f41bf: Verifying Checksum 18:29:03 41b27a9f41bf: Download complete 18:29:04 756a868c4378: Pull complete 18:29:05 444b2fc9a129: Pull complete 18:29:05 ea15f1150254: Pull complete 18:29:09 41b27a9f41bf: Pull complete 18:29:09 28c525ee5125: Pull complete 18:29:12 094b1ea09ed8: Pull complete 18:29:12 138eaada9080: Pull complete 18:29:13 0622d0fa9048: Pull complete 18:29:13 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 18:29:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:29:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:29:13 prd-centos7-docker-4c-2g-3381 does not seem to be running inside a container 18:29:13 $ 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-25 -v /w/workspace/dgexfoundry_device-rest-go_PR-25:/w/workspace/dgexfoundry_device-rest-go_PR-25:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-25@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-25@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:10003/edgex-lftools-log-publisher:alpine cat 18:29:17 $ docker top 2030e562463de6b0f5a21943e3065361f75b8c8e621db5191f3cf2f5fa7a48ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:29:18 provisioning config files... 18:29:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-25@tmp/config3569753477925313322tmp [Pipeline] { [Pipeline] echo 18:29:18 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:29:18 ---> create-netrc.sh [Pipeline] echo 18:29:18 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:29:18 ---> logs-deploy.sh 18:29:18 + ARCHIVE_ARTIFACTS= 18:29:18 + LOGS_SERVER=https://logs.edgexfoundry.org 18:29:18 + '[' https://logs.edgexfoundry.org == None ']' 18:29:18 + NEXUS_URL=https://nexus.edgexfoundry.org 18:29:18 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-25/1 18:29:18 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-25/1/ 18:29:18 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-25/1 /w/workspace/dgexfoundry_device-rest-go_PR-25 18:29:20 Archives upload complete. 18:29:20 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-25/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-25/1/