Pull request #23 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 tonyespy for edgexfoundry/device-rest-go Loading trusted files from base branch master at 6de27f08c1063e4823e4a492e46f5b5ad007e06d rather than e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 Obtained Jenkinsfile from 6de27f08c1063e4823e4a492e46f5b5ad007e06d 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-23/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-2639’ Running on prd-centos7-docker-4c-2g-2642 in /w/workspace/dgexfoundry_device-rest-go_PR-23 [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-23 # 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/23/head:refs/remotes/origin/PR-23 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 6de27f08c1063e4823e4a492e46f5b5ad007e06d into PR head commit e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 Merge succeeded, producing e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 Checking out Revision e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 (PR-23) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/23/head:refs/remotes/origin/PR-23 # 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/23/head:refs/remotes/origin/PR-23 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 # 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 6de27f08c1063e4823e4a492e46f5b5ad007e06d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 # timeout=10 Commit message: "update device-sdk-go: 1.2.2" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:32:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:32:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:32:03 ========================================================= 22:32:03 EdgeX Global Pipelines Version Info 22:32:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:32:05 ------------------- 22:32:05 stable info: 22:32:05 ------------------- 22:32:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:32:05 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 22:32:05 Message: update stable to v1.0.89 22:32:06 ------------------- 22:32:06 experimental info: 22:32:06 ------------------- 22:32:06 Commited By: **** collab-it+edgex@linuxfoundation.org 22:32:06 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 22:32:06 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 22:32:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:32:08 22:32:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:32:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:32:09 latest: Pulling from edgex-devops/git-semver 22:32:09 9123ac7c32f7: Pulling fs layer 22:32:09 b8cc5d1170e3: Pulling fs layer 22:32:09 2924cbbf6a41: Pulling fs layer 22:32:09 93b08a4f1073: Pulling fs layer 22:32:09 93b08a4f1073: Waiting 22:32:09 b8cc5d1170e3: Verifying Checksum 22:32:09 b8cc5d1170e3: Download complete 22:32:10 93b08a4f1073: Verifying Checksum 22:32:10 93b08a4f1073: Download complete 22:32:10 9123ac7c32f7: Verifying Checksum 22:32:10 2924cbbf6a41: Verifying Checksum 22:32:10 2924cbbf6a41: Download complete 22:32:11 9123ac7c32f7: Pull complete 22:32:11 b8cc5d1170e3: Pull complete 22:32:13 2924cbbf6a41: Pull complete 22:32:13 93b08a4f1073: Pull complete 22:32:13 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 22:32:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:32:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:32:13 prd-centos7-docker-4c-2g-2642 does not seem to be running inside a container 22:32:13 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-23 -v /w/workspace/dgexfoundry_device-rest-go_PR-23:/w/workspace/dgexfoundry_device-rest-go_PR-23:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-23@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-23@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:10004/edgex-devops/git-semver:latest cat 22:32:15 $ docker top 0882833caeb61bc5a5c96bd79efcd666c24c1e999a178dfea3faa82330a6bd5a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:32:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:32:16 [ssh-agent] Looking for ssh-agent implementation... 22:32:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:32:16 $ docker exec 0882833caeb61bc5a5c96bd79efcd666c24c1e999a178dfea3faa82330a6bd5a ssh-agent 22:32:16 SSH_AUTH_SOCK=/tmp/ssh-rE4gHqGEXMFq/agent.11 22:32:16 SSH_AGENT_PID=16 22:32:16 Running ssh-add (command line suppressed) 22:32:16 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-23@tmp/private_key_6781666047574529327.key (/w/workspace/dgexfoundry_device-rest-go_PR-23@tmp/private_key_6781666047574529327.key) 22:32:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:32:17 + git describe --exact-match --tags HEAD 22:32:17 fatal: No names found, cannot describe anything. [Pipeline] } 22:32:17 $ docker exec --env ******** --env ******** 0882833caeb61bc5a5c96bd79efcd666c24c1e999a178dfea3faa82330a6bd5a ssh-agent -k 22:32:17 unset SSH_AUTH_SOCK; 22:32:17 unset SSH_AGENT_PID; 22:32:17 echo Agent pid 16 killed; 22:32:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:32:18 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 22:32:18 This usually means this commit has not been tagged. [Pipeline] sshagent 22:32:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:32:18 [ssh-agent] Looking for ssh-agent implementation... 22:32:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:32:18 $ docker exec 0882833caeb61bc5a5c96bd79efcd666c24c1e999a178dfea3faa82330a6bd5a ssh-agent 22:32:18 SSH_AUTH_SOCK=/tmp/ssh-FeGPtjIX6Aee/agent.45 22:32:18 SSH_AGENT_PID=51 22:32:18 Running ssh-add (command line suppressed) 22:32:18 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-23@tmp/private_key_8850328263969495329.key (/w/workspace/dgexfoundry_device-rest-go_PR-23@tmp/private_key_8850328263969495329.key) 22:32:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:32:19 + git semver init 22:32:19 # -> Open(): unable to determine branch for HEAD 22:32:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-23/.git 22:32:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-23 22:32:19 # $SEMVER_REMOTE_NAME = origin 22:32:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:32:19 # $SEMVER_USER_NAME = edgex-jenkins 22:32:19 # $SEMVER_BRANCH = PR-23 22:32:19 # $SEMVER_TEMP = /tmp/semver-679745353 22:32:19 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 22:32:21 # '/tmp/semver-679745353' -> '/w/workspace/dgexfoundry_device-rest-go_PR-23/.semver' 22:32:21 # -> Force: false 22:32:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-23/.semver [Pipeline] } 22:32:21 $ docker exec --env ******** --env ******** 0882833caeb61bc5a5c96bd79efcd666c24c1e999a178dfea3faa82330a6bd5a ssh-agent -k 22:32:21 unset SSH_AUTH_SOCK; 22:32:21 unset SSH_AGENT_PID; 22:32:21 echo Agent pid 51 killed; 22:32:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:32:22 + git semver [Pipeline] } 22:32:22 $ docker stop --time=1 0882833caeb61bc5a5c96bd79efcd666c24c1e999a178dfea3faa82330a6bd5a 22:32:23 $ docker rm -f 0882833caeb61bc5a5c96bd79efcd666c24c1e999a178dfea3faa82330a6bd5a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 22:32:25 Stashed 21 file(s) [Pipeline] echo 22:32: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 22:32:41 Still waiting to schedule task 22:32:41 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:32:41 Still waiting to schedule task 22:32:41 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 22:34:21 Running on prd-centos7-docker-4c-2g-2644 in /w/workspace/dgexfoundry_device-rest-go_PR-23 [Pipeline] { [Pipeline] ws 22:34:21 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 22:34:25 using credential edgex-jenkins-ssh 22:34:25 Cloning the remote Git repository 22:34:25 Cloning with configured refspecs honoured and without tags 22:34:25 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:34:25 > git init /w/workspace/device-rest-go/1 # timeout=10 22:34:25 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:34:25 > git --version # timeout=10 22:34:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:34:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:34:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:34:26 Fetching without tags 22:34:27 Merging remotes/origin/master commit 6de27f08c1063e4823e4a492e46f5b5ad007e06d into PR head commit e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 22:34:27 Merge succeeded, producing e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 22:34:27 Checking out Revision e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 (PR-23) 22:34:26 > git config --add remote.origin.fetch +refs/pull/23/head:refs/remotes/origin/PR-23 # timeout=10 22:34:26 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:34:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:34:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:34:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:34:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:34:27 > git config core.sparsecheckout # timeout=10 22:34:27 > git checkout -f e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 # timeout=10 22:34:27 > git remote # timeout=10 22:34:27 > git config --get remote.origin.url # timeout=10 22:34:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:34:27 > git merge 6de27f08c1063e4823e4a492e46f5b5ad007e06d # timeout=10 22:34:27 > git rev-parse HEAD^{commit} # timeout=10 22:34:27 > git config core.sparsecheckout # timeout=10 22:34:27 > git checkout -f e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 # timeout=10 22:34:31 Commit message: "update device-sdk-go: 1.2.2" 22:34:31 > git --version # timeout=10 22:34:31 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:34:32 ========================================================= 22:34:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 22:34:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:34:33 + 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 . 22:34:34 Sending build context to Docker daemon 8.015MB 22:34:34 Step 1/10 : ARG BASE=golang:1.13-alpine 22:34:34 Step 2/10 : FROM ${BASE} 22:34:34 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 22:34:34 e6b0cf9c0882: Pulling fs layer 22:34:34 2848faf0eed1: Pulling fs layer 22:34:34 0f37312ad70f: Pulling fs layer 22:34:34 5788d62ee057: Pulling fs layer 22:34:34 0e6b1d234666: Pulling fs layer 22:34:34 bf5d7aec512f: Pulling fs layer 22:34:34 34c802a77dc8: Pulling fs layer 22:34:34 9eb99e56ec68: Pulling fs layer 22:34:34 27c7a5d97fbd: Pulling fs layer 22:34:34 5c102a31e300: Pulling fs layer 22:34:34 dcfb455df0a1: Pulling fs layer 22:34:34 34c802a77dc8: Waiting 22:34:34 9eb99e56ec68: Waiting 22:34:34 27c7a5d97fbd: Waiting 22:34:34 5c102a31e300: Waiting 22:34:34 dcfb455df0a1: Waiting 22:34:34 5788d62ee057: Waiting 22:34:34 0e6b1d234666: Waiting 22:34:34 bf5d7aec512f: Waiting 22:34:34 0f37312ad70f: Verifying Checksum 22:34:34 0f37312ad70f: Download complete 22:34:34 2848faf0eed1: Verifying Checksum 22:34:34 2848faf0eed1: Download complete 22:34:34 0e6b1d234666: Verifying Checksum 22:34:34 0e6b1d234666: Download complete 22:34:34 bf5d7aec512f: Verifying Checksum 22:34:34 bf5d7aec512f: Download complete 22:34:34 e6b0cf9c0882: Verifying Checksum 22:34:34 e6b0cf9c0882: Download complete 22:34:34 e6b0cf9c0882: Pull complete 22:34:34 2848faf0eed1: Pull complete 22:34:35 34c802a77dc8: Verifying Checksum 22:34:35 34c802a77dc8: Download complete 22:34:35 27c7a5d97fbd: Verifying Checksum 22:34:35 27c7a5d97fbd: Download complete 22:34:35 0f37312ad70f: Pull complete 22:34:36 5c102a31e300: Verifying Checksum 22:34:36 5c102a31e300: Download complete 22:34:36 5788d62ee057: Verifying Checksum 22:34:36 5788d62ee057: Download complete 22:34:36 9eb99e56ec68: Verifying Checksum 22:34:36 9eb99e56ec68: Download complete 22:34:36 dcfb455df0a1: Verifying Checksum 22:34:36 dcfb455df0a1: Download complete 22:34:42 5788d62ee057: Pull complete 22:34:42 0e6b1d234666: Pull complete 22:34:42 bf5d7aec512f: Pull complete 22:34:47 34c802a77dc8: Pull complete 22:34:50 9eb99e56ec68: Pull complete 22:34:50 27c7a5d97fbd: Pull complete 22:34:51 5c102a31e300: Pull complete 22:34:51 dcfb455df0a1: Pull complete 22:34:51 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 22:34:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 22:34:51 ---> 7c70fe431013 22:34:51 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 22:34:53 ---> Running in 097b8726a51a 22:34:53 Removing intermediate container 097b8726a51a 22:34:53 ---> eba25809a767 22:34:53 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 22:34:53 ---> Running in 74b83ac58744 22:34:53 Removing intermediate container 74b83ac58744 22:34:53 ---> 045ab4698c4d 22:34:53 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:34:53 ---> Running in f949a5a9f58b 22:34:53 Removing intermediate container f949a5a9f58b 22:34:53 ---> 94a8ff1db420 22:34:53 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:34:53 ---> Running in 6ba31d8c3c08 22:34:55 Removing intermediate container 6ba31d8c3c08 22:34:55 ---> 53cd525551bc 22:34:55 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:34:55 ---> Running in d780fb5ce8fe 22:34:55 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 22:34:56 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 22:34:56 OK: 143 MiB in 39 packages 22:34:57 Removing intermediate container d780fb5ce8fe 22:34:57 ---> 32478bea5763 22:34:57 Step 8/10 : WORKDIR /device-rest-go 22:34:57 ---> Running in bff8b376ed5e 22:34:57 Removing intermediate container bff8b376ed5e 22:34:57 ---> b5859450e83c 22:34:57 Step 9/10 : COPY . . 22:34:58 ---> 769cece5d145 22:34:58 Step 10/10 : RUN go mod download 22:34:58 ---> Running in 7bdb8b7cb72c 22:35:00 go: finding github.com/BurntSushi/toml v0.3.1 22:35:00 go: finding github.com/OneOfOne/xxhash v1.2.6 22:35:00 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:35:00 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:35:00 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:35:00 go: finding github.com/bgentry/speakeasy v0.1.0 22:35:00 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 22:35:00 go: finding github.com/davecgh/go-spew v1.1.1 22:35:00 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 22:35:00 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 22:35:00 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 22:35:00 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 22:35:00 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 22:35:00 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 22:35:00 go: finding github.com/fatih/color v1.7.0 22:35:00 go: finding github.com/fxamacker/cbor/v2 v2.2.0 22:35:00 go: finding github.com/go-kit/kit v0.8.0 22:35:00 go: finding github.com/go-logfmt/logfmt v0.4.0 22:35:00 go: finding github.com/go-stack/stack v1.8.0 22:35:00 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:35:00 go: finding github.com/google/uuid v1.1.0 22:35:00 go: finding github.com/gorilla/mux v1.7.1 22:35:00 go: finding github.com/hashicorp/consul/api v1.1.0 22:35:00 go: finding github.com/hashicorp/consul/sdk v0.1.1 22:35:00 go: finding github.com/hashicorp/errwrap v1.0.0 22:35:00 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 22:35:00 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:35:00 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:35:00 go: finding github.com/hashicorp/go-multierror v1.0.0 22:35:00 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:35:00 go: finding github.com/hashicorp/go-sockaddr v1.0.0 22:35:00 go: finding github.com/hashicorp/go-syslog v1.0.0 22:35:00 go: finding github.com/hashicorp/go-uuid v1.0.1 22:35:00 go: finding github.com/hashicorp/go.net v0.0.1 22:35:00 go: finding github.com/hashicorp/golang-lru v0.5.0 22:35:00 go: finding github.com/hashicorp/logutils v1.0.0 22:35:00 go: finding github.com/hashicorp/mdns v1.0.0 22:35:00 go: finding github.com/hashicorp/memberlist v0.1.3 22:35:00 go: finding github.com/hashicorp/serf v0.8.2 22:35:00 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:35:00 go: finding github.com/mattn/go-colorable v0.0.9 22:35:00 go: finding github.com/mattn/go-isatty v0.0.3 22:35:00 go: finding github.com/miekg/dns v1.0.14 22:35:00 go: finding github.com/mitchellh/cli v1.0.0 22:35:00 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:35:00 go: finding github.com/mitchellh/copystructure v1.0.0 22:35:00 go: finding github.com/mitchellh/go-homedir v1.0.0 22:35:00 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:35:00 go: finding github.com/mitchellh/gox v0.4.0 22:35:00 go: finding github.com/mitchellh/iochan v1.0.0 22:35:00 go: finding github.com/mitchellh/mapstructure v1.1.2 22:35:00 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:35:00 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:35:00 go: finding github.com/pelletier/go-toml v1.2.0 22:35:00 go: finding github.com/pkg/errors v0.8.1 22:35:00 go: finding github.com/pmezard/go-difflib v1.0.0 22:35:00 go: finding github.com/posener/complete v1.1.1 22:35:00 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 22:35:00 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:35:00 go: finding github.com/spf13/cast v1.3.0 22:35:00 go: finding github.com/stretchr/objx v0.1.0 22:35:00 go: finding github.com/stretchr/testify v1.5.1 22:35:00 go: finding github.com/ugorji/go v1.1.4 22:35:00 go: finding github.com/x448/float16 v0.8.4 22:35:00 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:35:00 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 22:35:00 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:35:00 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 22:35:00 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:35:00 go: finding gopkg.in/yaml.v2 v2.2.8 22:35:08 Removing intermediate container 7bdb8b7cb72c 22:35:08 ---> 1e40732772c2 22:35:08 Successfully built 1e40732772c2 22:35:08 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 22:35:09 + docker inspect -f . ci-base-image-x86_64 22:35:09 . [Pipeline] withDockerContainer 22:35:09 prd-centos7-docker-4c-2g-2644 does not seem to be running inside a container 22:35:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:35:10 $ docker top b464765a16137879381eace786df6c37d766f05bfa2301cff1ada6c2b1637b68 -eo pid,comm [Pipeline] { [Pipeline] sh 22:35:11 + go version 22:35:11 go version go1.13.5 linux/amd64 [Pipeline] sh 22:35:11 + make test 22:35:11 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:35:12 ? github.com/edgexfoundry/device-rest-go [no test files] 22:35:22 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:35:22 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 56.3% of statements 22:35:23 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:35:25 gofmt -l . 22:35:25 [ "`gofmt -l .`" = "" ] 22:35:25 ./bin/test-go-mod-tidy.sh 22:35:25 ./bin/test-attribution-txt.sh [Pipeline] stash 22:35:26 Stashed 1 file(s) [Pipeline] } 22:35:26 $ docker stop --time=1 b464765a16137879381eace786df6c37d766f05bfa2301cff1ada6c2b1637b68 22:35:28 $ docker rm -f b464765a16137879381eace786df6c37d766f05bfa2301cff1ada6c2b1637b68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:35:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:35:29 + ls -al . 22:35:29 total 96 22:35:29 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 11 22:35 . 22:35:29 drwxrwxr-x. 4 jenkins jenkins 28 Jun 11 22:34 .. 22:35:29 -rw-rw-r--. 1 jenkins jenkins 4802 Jun 11 22:34 Attribution.txt 22:35:29 drwxrwxr-x. 2 jenkins jenkins 64 Jun 11 22:34 bin 22:35:29 drwxrwxr-x. 3 jenkins jenkins 32 Jun 11 22:34 cmd 22:35:29 -rw-r--r--. 1 jenkins jenkins 9369 Jun 11 22:35 coverage.out 22:35:29 -rw-rw-r--. 1 jenkins jenkins 1504 Jun 11 22:34 Dockerfile 22:35:29 -rw-rw-r--. 1 jenkins jenkins 989 Jun 11 22:34 Dockerfile.build 22:35:29 -rw-rw-r--. 1 jenkins jenkins 151 Jun 11 22:34 .dockerignore 22:35:29 drwxrwxr-x. 2 jenkins jenkins 93 Jun 11 22:35 driver 22:35:29 drwxrwxr-x. 8 jenkins jenkins 179 Jun 11 22:34 .git 22:35:29 -rw-rw-r--. 1 jenkins jenkins 339 Jun 11 22:34 .gitignore 22:35:29 -rw-r--r--. 1 jenkins jenkins 266 Jun 11 22:35 go.mod 22:35:29 -rw-r--r--. 1 jenkins jenkins 12533 Jun 11 22:35 go.sum 22:35:29 -rw-rw-r--. 1 jenkins jenkins 702 Jun 11 22:34 Jenkinsfile 22:35:29 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 11 22:34 LICENSE 22:35:29 -rw-rw-r--. 1 jenkins jenkins 951 Jun 11 22:34 Makefile 22:35:29 -rw-rw-r--. 1 jenkins jenkins 5716 Jun 11 22:34 README.md 22:35:29 drwxrwxr-x. 3 jenkins jenkins 45 Jun 11 22:34 .semver 22:35:29 -rw-rw-r--. 1 jenkins jenkins 5 Jun 11 22:32 VERSION 22:35:29 -rw-rw-r--. 1 jenkins jenkins 713 Jun 11 22:34 version.go [Pipeline] isUnix [Pipeline] sh 22:35:30 + 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=e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 --label arch=amd64 --label version=0.0.0 . 22:35:30 Sending build context to Docker daemon 8.027MB 22:35:30 Step 1/24 : ARG BASE=golang:1.13-alpine 22:35:30 Step 2/24 : FROM ${BASE} AS builder 22:35:30 ---> 1e40732772c2 22:35:30 Step 3/24 : ARG MAKE='make build' 22:35:30 ---> Running in 5ca51eacdc2a 22:35:30 Removing intermediate container 5ca51eacdc2a 22:35:30 ---> 66387685c0cc 22:35:30 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 22:35:30 ---> Running in 220e50816fef 22:35:30 Removing intermediate container 220e50816fef 22:35:30 ---> aeb3ee501dc5 22:35:30 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:35:30 ---> Running in 96bba89be1d4 22:35:31 Removing intermediate container 96bba89be1d4 22:35:31 ---> 5bb92ee07f5d 22:35:31 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:35:31 ---> Running in 0c09b3449d6c 22:35:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2645 in /w/workspace/dgexfoundry_device-rest-go_PR-23 [Pipeline] { [Pipeline] ws 22:35:31 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 22:35:32 Removing intermediate container 0c09b3449d6c 22:35:32 ---> b43e1acfc108 22:35:32 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:35:32 ---> Running in e61f2b97030d 22:35:32 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 22:35:33 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 22:35:33 OK: 143 MiB in 39 packages 22:35:34 Removing intermediate container e61f2b97030d 22:35:34 ---> fbf54ff000a1 22:35:34 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 22:35:34 ---> Running in a3369c771d35 22:35:34 Removing intermediate container a3369c771d35 22:35:34 ---> d088cd656be5 22:35:34 Step 9/24 : COPY go.mod . 22:35:34 ---> deaf60ba265e 22:35:34 Step 10/24 : COPY Makefile . 22:35:34 ---> bd4c2ccad253 22:35:34 Step 11/24 : RUN make update 22:35:35 ---> Running in aec46b428ef6 22:35:35 CGO_ENABLED=0 GO111MODULE=on go mod download 22:35:35 Removing intermediate container aec46b428ef6 22:35:35 ---> 8b3abbd4ed83 22:35:35 Step 12/24 : COPY . . 22:35:36 ---> e70c6b9a66c1 22:35:36 Step 13/24 : RUN $MAKE 22:35:36 ---> Running in 88424840671e 22:35:36 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 22:35:37 using credential edgex-jenkins-ssh 22:35:37 Cloning the remote Git repository 22:35:37 Cloning with configured refspecs honoured and without tags 22:35:37 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:35:37 > git init /w/workspace/device-rest-go/1 # timeout=10 22:35:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:35:37 > git --version # timeout=10 22:35:37 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:35:39 Fetching without tags 22:35:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:35:39 > git config --add remote.origin.fetch +refs/pull/23/head:refs/remotes/origin/PR-23 # timeout=10 22:35:39 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:35:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:35:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:35:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:35:39 Merging remotes/origin/master commit 6de27f08c1063e4823e4a492e46f5b5ad007e06d into PR head commit e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 22:35:39 Merge succeeded, producing e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 22:35:39 Checking out Revision e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 (PR-23) 22:35:39 > git config core.sparsecheckout # timeout=10 22:35:39 > git checkout -f e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 # timeout=10 22:35:39 > git remote # timeout=10 22:35:39 > git config --get remote.origin.url # timeout=10 22:35:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:39 > git merge 6de27f08c1063e4823e4a492e46f5b5ad007e06d # timeout=10 22:35:39 > git rev-parse HEAD^{commit} # timeout=10 22:35:39 > git config core.sparsecheckout # timeout=10 22:35:39 > git checkout -f e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 # timeout=10 22:35:44 Commit message: "update device-sdk-go: 1.2.2" 22:35:44 > git --version # timeout=10 22:35:44 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:35:46 ========================================================= 22:35:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 22:35:46 ========================================================= 22:35:46 Removing intermediate container 88424840671e 22:35:46 ---> 5c4a27cb99cc 22:35:46 Step 14/24 : FROM alpine:latest [Pipeline] isUnix [Pipeline] sh 22:35:47 latest: Pulling from library/alpine 22:35:47 df20fa9351a1: Pulling fs layer 22:35:47 df20fa9351a1: Verifying Checksum 22:35:47 df20fa9351a1: Download complete 22:35:47 df20fa9351a1: Pull complete 22:35:47 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 22:35:47 Status: Downloaded newer image for alpine:latest 22:35:47 ---> a24bb4013296 22:35:47 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:35:47 + 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 . 22:35:47 ---> Running in e563b6b2455a 22:35:47 Removing intermediate container e563b6b2455a 22:35:47 ---> f162906f86dc 22:35:47 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 22:35:47 ---> Running in 4f39e40dca35 22:35:48 Removing intermediate container 4f39e40dca35 22:35:48 ---> 0c7e9cffc936 22:35:48 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 22:35:48 ---> 044e84a7f9c6 22:35:48 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 22:35:48 ---> e08a1f1411cd 22:35:48 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 22:35:48 Sending build context to Docker daemon 8.015MB 22:35:48 Step 1/10 : ARG BASE=golang:1.13-alpine 22:35:48 Step 2/10 : FROM ${BASE} 22:35:49 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:35:49 cde5963f3b93: Pulling fs layer 22:35:49 2a23fa8c16f7: Pulling fs layer 22:35:49 777b28850792: Pulling fs layer 22:35:49 8a11ddd9e578: Pulling fs layer 22:35:49 4cf88f913ddb: Pulling fs layer 22:35:49 1df406cf5192: Pulling fs layer 22:35:49 cd6300453558: Pulling fs layer 22:35:49 b9c365052c96: Pulling fs layer 22:35:49 a2d8cc88f415: Pulling fs layer 22:35:49 ea1d1ca13537: Pulling fs layer 22:35:49 3750a50a1c5e: Pulling fs layer 22:35:49 8a11ddd9e578: Waiting 22:35:49 4cf88f913ddb: Waiting 22:35:49 1df406cf5192: Waiting 22:35:49 cd6300453558: Waiting 22:35:49 b9c365052c96: Waiting 22:35:49 a2d8cc88f415: Waiting 22:35:49 ea1d1ca13537: Waiting 22:35:49 3750a50a1c5e: Waiting 22:35:49 777b28850792: Download complete 22:35:49 2a23fa8c16f7: Download complete 22:35:49 4cf88f913ddb: Verifying Checksum 22:35:49 4cf88f913ddb: Download complete 22:35:49 1df406cf5192: Verifying Checksum 22:35:49 1df406cf5192: Download complete 22:35:49 cde5963f3b93: Verifying Checksum 22:35:49 ---> b66667be7473 22:35:49 Step 20/24 : EXPOSE 49986 22:35:49 ---> Running in 668532dcd929 22:35:49 Removing intermediate container 668532dcd929 22:35:49 ---> eaf7f886affa 22:35:49 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 22:35:49 ---> Running in f530c94f2cf8 22:35:49 Removing intermediate container f530c94f2cf8 22:35:49 ---> 4e8044eea1c2 22:35:49 Step 22/24 : LABEL arch=amd64 22:35:49 ---> Running in f7f59a6d34da 22:35:49 Removing intermediate container f7f59a6d34da 22:35:49 ---> b19bd75c319f 22:35:49 Step 23/24 : LABEL git_sha=e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 22:35:49 ---> Running in 4bb3b946f33d 22:35:49 Removing intermediate container 4bb3b946f33d 22:35:49 ---> 4158d14b4fb5 22:35:49 Step 24/24 : LABEL version=0.0.0 22:35:49 ---> Running in ad594eae3022 22:35:50 cde5963f3b93: Pull complete 22:35:50 Removing intermediate container ad594eae3022 22:35:50 ---> 6655127d24ed 22:35:50 [Warning] One or more build-args [ARCH] were not consumed 22:35:50 Successfully built 6655127d24ed 22:35:50 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 22:35:50 2a23fa8c16f7: Pull complete [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 22:35:51 777b28850792: Pull complete [Pipeline] } 22:35:51 cd6300453558: Verifying Checksum 22:35:51 cd6300453558: Download complete 22:35:51 a2d8cc88f415: Verifying Checksum 22:35:51 a2d8cc88f415: Download complete 22:35:52 ea1d1ca13537: Verifying Checksum 22:35:52 ea1d1ca13537: Download complete 22:35:52 3750a50a1c5e: Verifying Checksum 22:35:53 b9c365052c96: Verifying Checksum 22:35:53 b9c365052c96: Download complete 22:35:54 8a11ddd9e578: Verifying Checksum 22:35:54 8a11ddd9e578: Download complete 22:36:06 8a11ddd9e578: Pull complete 22:36:06 4cf88f913ddb: Pull complete 22:36:06 1df406cf5192: Pull complete 22:36:10 cd6300453558: Pull complete 22:36:14 b9c365052c96: Pull complete 22:36:14 a2d8cc88f415: Pull complete 22:36:16 ea1d1ca13537: Pull complete 22:36:17 3750a50a1c5e: Pull complete 22:36:17 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 22:36:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 22:36:17 ---> 78745c68409d 22:36:17 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 22:36:22 ---> Running in 9a8e1e99a046 22:36:22 Removing intermediate container 9a8e1e99a046 22:36:22 ---> 05a4c2b4aa66 22:36:22 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 22:36:22 ---> Running in ab480f1273f8 22:36:23 Removing intermediate container ab480f1273f8 22:36:23 ---> fc1132d0c8da 22:36:23 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:36:23 ---> Running in 85187bcb0504 22:36:23 Removing intermediate container 85187bcb0504 22:36:23 ---> 3926f2a4543f 22:36:23 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:36:23 ---> Running in 607436de01c7 22:36:26 Removing intermediate container 607436de01c7 22:36:26 ---> 45839cb03475 22:36:26 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:36:26 ---> Running in 2f43d73e903d 22:36:28 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 22:36:28 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 22:36:29 OK: 125 MiB in 39 packages 22:36:30 Removing intermediate container 2f43d73e903d 22:36:30 ---> da1a6a109a6c 22:36:30 Step 8/10 : WORKDIR /device-rest-go 22:36:30 ---> Running in d8dd09cc4105 22:36:31 Removing intermediate container d8dd09cc4105 22:36:31 ---> 284777881af0 22:36:31 Step 9/10 : COPY . . 22:36:32 ---> 86e041a68a3f 22:36:32 Step 10/10 : RUN go mod download 22:36:32 ---> Running in 84f5b12672cc 22:36:35 go: finding github.com/BurntSushi/toml v0.3.1 22:36:35 go: finding github.com/OneOfOne/xxhash v1.2.6 22:36:35 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:36:35 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:36:35 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:36:35 go: finding github.com/bgentry/speakeasy v0.1.0 22:36:35 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 22:36:35 go: finding github.com/davecgh/go-spew v1.1.1 22:36:35 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 22:36:35 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 22:36:35 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 22:36:35 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 22:36:35 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 22:36:35 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 22:36:35 go: finding github.com/fatih/color v1.7.0 22:36:35 go: finding github.com/fxamacker/cbor/v2 v2.2.0 22:36:35 go: finding github.com/go-kit/kit v0.8.0 22:36:35 go: finding github.com/go-logfmt/logfmt v0.4.0 22:36:35 go: finding github.com/go-stack/stack v1.8.0 22:36:35 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:36:35 go: finding github.com/google/uuid v1.1.0 22:36:35 go: finding github.com/gorilla/mux v1.7.1 22:36:35 go: finding github.com/hashicorp/consul/api v1.1.0 22:36:35 go: finding github.com/hashicorp/consul/sdk v0.1.1 22:36:35 go: finding github.com/hashicorp/errwrap v1.0.0 22:36:35 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 22:36:35 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:36:35 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:36:35 go: finding github.com/hashicorp/go-multierror v1.0.0 22:36:35 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:36:35 go: finding github.com/hashicorp/go-sockaddr v1.0.0 22:36:35 go: finding github.com/hashicorp/go-syslog v1.0.0 22:36:35 go: finding github.com/hashicorp/go-uuid v1.0.1 22:36:35 go: finding github.com/hashicorp/go.net v0.0.1 22:36:35 go: finding github.com/hashicorp/golang-lru v0.5.0 22:36:35 go: finding github.com/hashicorp/logutils v1.0.0 22:36:35 go: finding github.com/hashicorp/mdns v1.0.0 22:36:35 go: finding github.com/hashicorp/memberlist v0.1.3 22:36:35 go: finding github.com/hashicorp/serf v0.8.2 22:36:35 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:36:35 go: finding github.com/mattn/go-colorable v0.0.9 22:36:35 go: finding github.com/mattn/go-isatty v0.0.3 22:36:35 go: finding github.com/miekg/dns v1.0.14 22:36:35 go: finding github.com/mitchellh/cli v1.0.0 22:36:35 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:36:35 go: finding github.com/mitchellh/copystructure v1.0.0 22:36:35 go: finding github.com/mitchellh/go-homedir v1.0.0 22:36:35 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:36:35 go: finding github.com/mitchellh/gox v0.4.0 22:36:35 go: finding github.com/mitchellh/iochan v1.0.0 22:36:35 go: finding github.com/mitchellh/mapstructure v1.1.2 22:36:35 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:36:35 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:36:35 go: finding github.com/pelletier/go-toml v1.2.0 22:36:35 go: finding github.com/pkg/errors v0.8.1 22:36:35 go: finding github.com/pmezard/go-difflib v1.0.0 22:36:35 go: finding github.com/posener/complete v1.1.1 22:36:35 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 22:36:35 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:36:35 go: finding github.com/spf13/cast v1.3.0 22:36:35 go: finding github.com/stretchr/objx v0.1.0 22:36:35 go: finding github.com/stretchr/testify v1.5.1 22:36:35 go: finding github.com/ugorji/go v1.1.4 22:36:35 go: finding github.com/x448/float16 v0.8.4 22:36:35 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:36:35 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 22:36:35 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:36:35 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 22:36:35 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:36:35 go: finding gopkg.in/yaml.v2 v2.2.8 22:36:43 Removing intermediate container 84f5b12672cc 22:36:43 ---> eef576ee9cfe 22:36:43 Successfully built eef576ee9cfe 22:36:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:36:44 + docker inspect -f . ci-base-image-arm64 22:36:44 . [Pipeline] withDockerContainer 22:36:44 prd-ubuntu18.04-docker-arm64-4c-16g-2645 does not seem to be running inside a container 22:36:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:36:46 $ docker top a390b6aafe56fc101f51a359525f0955acd9bde469a126a1c4d3037efd10825b -eo pid,comm [Pipeline] { [Pipeline] sh 22:36:48 + go version 22:36:48 go version go1.13.5 linux/arm64 [Pipeline] sh 22:36:49 + make test 22:36:49 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:36:50 ? github.com/edgexfoundry/device-rest-go [no test files] 22:37:22 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:37:22 ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 56.3% of statements 22:37:22 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:37:25 gofmt -l . 22:37:25 [ "`gofmt -l .`" = "" ] 22:37:25 ./bin/test-go-mod-tidy.sh 22:37:26 ./bin/test-attribution-txt.sh [Pipeline] stash 22:37:26 Warning: overwriting stash ‘coverage-report’ 22:37:27 Stashed 1 file(s) [Pipeline] } 22:37:27 $ docker stop --time=1 a390b6aafe56fc101f51a359525f0955acd9bde469a126a1c4d3037efd10825b 22:37:29 $ docker rm -f a390b6aafe56fc101f51a359525f0955acd9bde469a126a1c4d3037efd10825b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:37:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:37:31 + ls -al . 22:37:31 total 120 22:37:31 drwxrwxr-x 7 jenkins jenkins 4096 Jun 11 22:37 . 22:37:31 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 22:35 .. 22:37:31 -rw-rw-r-- 1 jenkins jenkins 151 Jun 11 22:35 .dockerignore 22:37:31 drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 22:35 .git 22:37:31 -rw-rw-r-- 1 jenkins jenkins 339 Jun 11 22:35 .gitignore 22:37:31 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 22:35 .semver 22:37:31 -rw-rw-r-- 1 jenkins jenkins 4802 Jun 11 22:35 Attribution.txt 22:37:31 -rw-rw-r-- 1 jenkins jenkins 1504 Jun 11 22:35 Dockerfile 22:37:31 -rw-rw-r-- 1 jenkins jenkins 989 Jun 11 22:35 Dockerfile.build 22:37:31 -rw-rw-r-- 1 jenkins jenkins 702 Jun 11 22:35 Jenkinsfile 22:37:31 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 11 22:35 LICENSE 22:37:31 -rw-rw-r-- 1 jenkins jenkins 951 Jun 11 22:35 Makefile 22:37:31 -rw-rw-r-- 1 jenkins jenkins 5716 Jun 11 22:35 README.md 22:37:31 -rw-rw-r-- 1 jenkins jenkins 5 Jun 11 22:32 VERSION 22:37:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 22:35 bin 22:37:31 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 22:35 cmd 22:37:31 -rw-r--r-- 1 jenkins jenkins 9369 Jun 11 22:37 coverage.out 22:37:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 22:37 driver 22:37:31 -rw-r--r-- 1 jenkins jenkins 266 Jun 11 22:37 go.mod 22:37:31 -rw-r--r-- 1 jenkins jenkins 12533 Jun 11 22:37 go.sum 22:37:31 -rw-rw-r-- 1 jenkins jenkins 713 Jun 11 22:35 version.go [Pipeline] isUnix [Pipeline] sh 22:37:31 + 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=e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 --label arch=arm64 --label version=0.0.0 . 22:37:31 Sending build context to Docker daemon 8.027MB 22:37:31 Step 1/24 : ARG BASE=golang:1.13-alpine 22:37:31 Step 2/24 : FROM ${BASE} AS builder 22:37:31 ---> eef576ee9cfe 22:37:31 Step 3/24 : ARG MAKE='make build' 22:37:31 ---> Running in 5930f990f664 22:37:32 Removing intermediate container 5930f990f664 22:37:32 ---> d84115de1e35 22:37:32 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 22:37:32 ---> Running in bb601716bfbb 22:37:33 Removing intermediate container bb601716bfbb 22:37:33 ---> 6695deeddce4 22:37:33 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:37:33 ---> Running in ec5d7e699202 22:37:33 Removing intermediate container ec5d7e699202 22:37:33 ---> d6b265d9019e 22:37:33 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:37:33 ---> Running in 3b5e6f591b83 22:37:36 Removing intermediate container 3b5e6f591b83 22:37:36 ---> 0ecff6b2be56 22:37:36 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:37:36 ---> Running in 845beab374b2 22:37:37 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 22:37:38 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 22:37:38 OK: 125 MiB in 39 packages 22:37:39 Removing intermediate container 845beab374b2 22:37:39 ---> cfe14480a63d 22:37:39 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 22:37:40 ---> Running in 6d706db67a21 22:37:40 Removing intermediate container 6d706db67a21 22:37:40 ---> 495bc85fba27 22:37:40 Step 9/24 : COPY go.mod . 22:37:41 ---> cde704ffe607 22:37:41 Step 10/24 : COPY Makefile . 22:37:42 ---> ebcf9fd2ea70 22:37:42 Step 11/24 : RUN make update 22:37:42 ---> Running in 20e6a66881e3 22:37:43 CGO_ENABLED=0 GO111MODULE=on go mod download 22:37:44 Removing intermediate container 20e6a66881e3 22:37:44 ---> 2b80d62a4f2d 22:37:44 Step 12/24 : COPY . . 22:37:45 ---> ab9cc38cd5a4 22:37:45 Step 13/24 : RUN $MAKE 22:37:45 ---> Running in 15eae45d7148 22:37:47 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 22:38:14 Removing intermediate container 15eae45d7148 22:38:14 ---> d0344d494433 22:38:14 Step 14/24 : FROM alpine:latest 22:38:14 latest: Pulling from library/alpine 22:38:14 b538f80385f9: Pulling fs layer 22:38:14 b538f80385f9: Verifying Checksum 22:38:14 b538f80385f9: Download complete 22:38:15 b538f80385f9: Pull complete 22:38:15 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 22:38:15 Status: Downloaded newer image for alpine:latest 22:38:15 ---> 62ee0e9f8440 22:38:15 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:38:15 ---> Running in 31c1e48cc058 22:38:16 Removing intermediate container 31c1e48cc058 22:38:16 ---> 1ebccf047192 22:38:16 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 22:38:16 ---> Running in cd7161803445 22:38:16 Removing intermediate container cd7161803445 22:38:16 ---> 7488423eabcf 22:38:16 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 22:38:17 ---> 10a105e7a581 22:38:17 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 22:38:17 ---> 55a836d1b7b7 22:38:17 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 22:38:19 ---> 2974fbc32bd7 22:38:19 Step 20/24 : EXPOSE 49986 22:38:19 ---> Running in 872fd5dfe71f 22:38:19 Removing intermediate container 872fd5dfe71f 22:38:19 ---> 36e065f1a9c9 22:38:19 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 22:38:20 ---> Running in 1d636991f7ee 22:38:20 Removing intermediate container 1d636991f7ee 22:38:20 ---> 04b7f513ba53 22:38:20 Step 22/24 : LABEL arch=arm64 22:38:20 ---> Running in a3e8a22052aa 22:38:20 Removing intermediate container a3e8a22052aa 22:38:20 ---> 39a730f3f381 22:38:20 Step 23/24 : LABEL git_sha=e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 22:38:21 ---> Running in ed0a6a81c43f 22:38:21 Removing intermediate container ed0a6a81c43f 22:38:21 ---> 1dcbb5eda812 22:38:21 Step 24/24 : LABEL version=0.0.0 22:38:21 ---> Running in 828ccc3657fa 22:38:22 Removing intermediate container 828ccc3657fa 22:38:22 ---> 8b75a2869482 22:38:22 [Warning] One or more build-args [ARCH] were not consumed 22:38:22 Successfully built 8b75a2869482 22:38:22 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 22:38:23 provisioning config files... 22:38:23 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-23@tmp/config4816300878497421014tmp [Pipeline] { [Pipeline] sh 22:38:24 + curl -s https://codecov.io/bash 22:38:24 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-23@tmp/config4816300878497421014tmp 22:38:24 22:38:24 _____ _ 22:38:24 / ____| | | 22:38:24 | | ___ __| | ___ ___ _____ __ 22:38:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:38:24 | |___| (_) | (_| | __/ (_| (_) \ V / 22:38:24 \_____\___/ \__,_|\___|\___\___/ \_/ 22:38:24 Bash-20200602-f809a24 22:38:24 22:38:24 22:38:24 ==> Jenkins CI detected. 22:38:24 project root: . 22:38:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:38:24 ==> Running gcov in . (disable via -X gcov) 22:38:24 ==> Python coveragepy not found 22:38:24 ==> Searching for coverage reports in: 22:38:24 + . 22:38:24 -> Found 1 reports 22:38:24 ==> Detecting git/mercurial file structure 22:38:24 ==> Reading reports 22:38:24 + ./coverage.out bytes=9369 22:38:24 ==> Appending adjustments 22:38:24 https://docs.codecov.io/docs/fixing-reports 22:38:24 + Found adjustments 22:38:24 ==> Gzipping contents 22:38:24 ==> Uploading reports 22:38:24 url: https://codecov.io 22:38:24 query: branch=PR-23&commit=e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-23%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=23&job= 22:38:24 -> Pinging Codecov 22:38:24 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-23&commit=e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-23%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=23&job= 22:38:25 -> Uploading 22:38:25 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 [Pipeline] } 22:38:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 22:38:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:38:28 ---> package-listing.sh 22:38:28 ++ facter osfamily 22:38:28 ++ tr '[:upper:]' '[:lower:]' 22:38:28 + OS_FAMILY=redhat 22:38:28 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-23 22:38:28 + START_PACKAGES=/tmp/packages_start.txt 22:38:28 + END_PACKAGES=/tmp/packages_end.txt 22:38:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:38:28 + PACKAGES=/tmp/packages_start.txt 22:38:28 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-23 ']' 22:38:28 + PACKAGES=/tmp/packages_end.txt 22:38:28 + case "${OS_FAMILY}" in 22:38:28 + rpm -qa 22:38:28 + sort 22:38:33 + '[' -f /tmp/packages_start.txt ']' 22:38:33 + '[' -f /tmp/packages_end.txt ']' 22:38:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:38:33 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-23 ']' 22:38:33 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-23/archives/ 22:38:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-23/archives/ [Pipeline] isUnix [Pipeline] sh 22:38:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:38:33 22:38:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:38:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:38:34 alpine: Pulling from edgex-lftools-log-publisher 22:38:34 c9b1b535fdd9: Pulling fs layer 22:38:34 2cc5ad85d9ab: Pulling fs layer 22:38:34 756a868c4378: Pulling fs layer 22:38:34 444b2fc9a129: Pulling fs layer 22:38:34 ea15f1150254: Pulling fs layer 22:38:34 41b27a9f41bf: Pulling fs layer 22:38:34 28c525ee5125: Pulling fs layer 22:38:34 094b1ea09ed8: Pulling fs layer 22:38:34 138eaada9080: Pulling fs layer 22:38:34 0622d0fa9048: Pulling fs layer 22:38:34 444b2fc9a129: Waiting 22:38:34 ea15f1150254: Waiting 22:38:34 41b27a9f41bf: Waiting 22:38:34 28c525ee5125: Waiting 22:38:34 094b1ea09ed8: Waiting 22:38:34 138eaada9080: Waiting 22:38:34 0622d0fa9048: Waiting 22:38:34 2cc5ad85d9ab: Verifying Checksum 22:38:34 2cc5ad85d9ab: Download complete 22:38:34 444b2fc9a129: Verifying Checksum 22:38:34 444b2fc9a129: Download complete 22:38:34 c9b1b535fdd9: Verifying Checksum 22:38:34 c9b1b535fdd9: Download complete 22:38:34 ea15f1150254: Verifying Checksum 22:38:34 ea15f1150254: Download complete 22:38:34 28c525ee5125: Verifying Checksum 22:38:34 28c525ee5125: Download complete 22:38:35 c9b1b535fdd9: Pull complete 22:38:36 756a868c4378: Verifying Checksum 22:38:36 756a868c4378: Download complete 22:38:36 2cc5ad85d9ab: Pull complete 22:38:36 138eaada9080: Verifying Checksum 22:38:36 138eaada9080: Download complete 22:38:36 094b1ea09ed8: Verifying Checksum 22:38:36 094b1ea09ed8: Download complete 22:38:36 0622d0fa9048: Verifying Checksum 22:38:36 0622d0fa9048: Download complete 22:38:38 41b27a9f41bf: Verifying Checksum 22:38:38 41b27a9f41bf: Download complete 22:38:40 756a868c4378: Pull complete 22:38:40 444b2fc9a129: Pull complete 22:38:41 ea15f1150254: Pull complete 22:38:46 41b27a9f41bf: Pull complete 22:38:46 28c525ee5125: Pull complete 22:38:50 094b1ea09ed8: Pull complete 22:38:50 138eaada9080: Pull complete 22:38:51 0622d0fa9048: Pull complete 22:38:51 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 22:38:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:38:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:38:51 prd-centos7-docker-4c-2g-2642 does not seem to be running inside a container 22:38:51 $ 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-23 -v /w/workspace/dgexfoundry_device-rest-go_PR-23:/w/workspace/dgexfoundry_device-rest-go_PR-23:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-23@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-23@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:38:55 $ docker top fe478d354d0856b51569bf666e2b9450a310a1ae80ae85d5c7f3a118e4668b37 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:38:55 provisioning config files... 22:38:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-23@tmp/config7333365067637547001tmp [Pipeline] { [Pipeline] echo 22:38:55 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:38:56 ---> create-netrc.sh [Pipeline] echo 22:38:56 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:38:56 ---> logs-deploy.sh 22:38:56 + ARCHIVE_ARTIFACTS= 22:38:56 + LOGS_SERVER=https://logs.edgexfoundry.org 22:38:56 + '[' https://logs.edgexfoundry.org == None ']' 22:38:56 + NEXUS_URL=https://nexus.edgexfoundry.org 22:38:56 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-23/1 22:38:56 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-23/1/ 22:38:56 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-23/1 /w/workspace/dgexfoundry_device-rest-go_PR-23 22:38:58 Archives upload complete. 22:38:59 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-23/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-23/1/