Pull request #27 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7d0190bac6d521c21ea040cca4b330e46259f9ee+b106d00ae92e946d2103bc6c1464522635373c7b (e70edde7d9d58c077780e3ee22968427cec27225) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 ‘prd-centos7-docker-4c-2g-4049’ is offline Running on prd-centos7-docker-4c-2g-4051 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [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-27 # 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/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 7d0190bac6d521c21ea040cca4b330e46259f9ee > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # 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/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d0190bac6d521c21ea040cca4b330e46259f9ee # timeout=10 Merge succeeded, producing 211448c824968b5a705ab85d9bd1fa2393a65460 Checking out Revision 211448c824968b5a705ab85d9bd1fa2393a65460 (PR-27) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 211448c824968b5a705ab85d9bd1fa2393a65460 # timeout=10 Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:23:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:23:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:23:49 ========================================================= 01:23:49 EdgeX Global Pipelines Version Info 01:23:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 8e8a274c2051a48e8760f01859ec05b7de79ef6e # timeout=10 01:23:52 ------------------- 01:23:52 stable info: 01:23:52 ------------------- 01:23:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:23:52 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 01:23:52 Message: update stable to v1.0.89 01:23:53 ------------------- 01:23:53 experimental info: 01:23:53 ------------------- 01:23:53 Commited By: **** collab-it+edgex@linuxfoundation.org 01:23:53 Commit SHA: aa323fb5dfebb31640c35badf05a5a9beff52318 01:23:53 Message: update experimental to v1.0.90 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 01:23:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:23:54 01:23:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:23:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:23:55 latest: Pulling from edgex-devops/git-semver 01:23:55 9123ac7c32f7: Pulling fs layer 01:23:55 b8cc5d1170e3: Pulling fs layer 01:23:55 2924cbbf6a41: Pulling fs layer 01:23:55 93b08a4f1073: Pulling fs layer 01:23:55 93b08a4f1073: Waiting 01:23:55 b8cc5d1170e3: Download complete 01:23:55 9123ac7c32f7: Verifying Checksum 01:23:55 9123ac7c32f7: Download complete 01:23:55 93b08a4f1073: Verifying Checksum 01:23:55 93b08a4f1073: Download complete 01:23:55 2924cbbf6a41: Verifying Checksum 01:23:55 2924cbbf6a41: Download complete 01:23:56 9123ac7c32f7: Pull complete 01:23:56 b8cc5d1170e3: Pull complete 01:23:58 2924cbbf6a41: Pull complete 01:23:58 93b08a4f1073: Pull complete 01:23:58 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 01:23:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:23:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:23:58 prd-centos7-docker-4c-2g-4051 does not seem to be running inside a container 01:23:58 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-27 -v /w/workspace/dgexfoundry_device-rest-go_PR-27:/w/workspace/dgexfoundry_device-rest-go_PR-27:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-27@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:10004/edgex-devops/git-semver:latest cat 01:24:01 $ docker top e4b1238be84bc90ac69c21cdf885d2c31951979a699201b47a09a514994dff0e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:24:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:01 [ssh-agent] Looking for ssh-agent implementation... 01:24:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:01 $ docker exec e4b1238be84bc90ac69c21cdf885d2c31951979a699201b47a09a514994dff0e ssh-agent 01:24:02 SSH_AUTH_SOCK=/tmp/ssh-YmGLLPCj9lIJ/agent.11 01:24:02 SSH_AGENT_PID=16 01:24:02 Running ssh-add (command line suppressed) 01:24:02 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_5137945023272661019.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_5137945023272661019.key) 01:24:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:24:02 + git describe --exact-match --tags HEAD 01:24:02 fatal: No names found, cannot describe anything. [Pipeline] } 01:24:02 $ docker exec --env ******** --env ******** e4b1238be84bc90ac69c21cdf885d2c31951979a699201b47a09a514994dff0e ssh-agent -k 01:24:03 unset SSH_AUTH_SOCK; 01:24:03 unset SSH_AGENT_PID; 01:24:03 echo Agent pid 16 killed; 01:24:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 01:24:03 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 01:24:03 This usually means this commit has not been tagged. [Pipeline] sshagent 01:24:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:03 [ssh-agent] Looking for ssh-agent implementation... 01:24:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:03 $ docker exec e4b1238be84bc90ac69c21cdf885d2c31951979a699201b47a09a514994dff0e ssh-agent 01:24:03 SSH_AUTH_SOCK=/tmp/ssh-dxBjBE5HP4YH/agent.45 01:24:03 SSH_AGENT_PID=51 01:24:03 Running ssh-add (command line suppressed) 01:24:04 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_5739023971324720968.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_5739023971324720968.key) 01:24:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:24:04 + git semver init 01:24:04 # -> Open(): unable to determine branch for HEAD 01:24:04 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.git 01:24:04 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-27 01:24:04 # $SEMVER_REMOTE_NAME = origin 01:24:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:24:04 # $SEMVER_USER_NAME = edgex-jenkins 01:24:04 # $SEMVER_BRANCH = PR-27 01:24:04 # $SEMVER_TEMP = /tmp/semver-130198276 01:24:04 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 01:24:05 # '/tmp/semver-130198276' -> '/w/workspace/dgexfoundry_device-rest-go_PR-27/.semver' 01:24:05 # -> Force: false 01:24:05 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.semver [Pipeline] } 01:24:05 $ docker exec --env ******** --env ******** e4b1238be84bc90ac69c21cdf885d2c31951979a699201b47a09a514994dff0e ssh-agent -k 01:24:06 unset SSH_AUTH_SOCK; 01:24:06 unset SSH_AGENT_PID; 01:24:06 echo Agent pid 51 killed; 01:24:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:24:06 + git semver [Pipeline] } 01:24:06 $ docker stop --time=1 e4b1238be84bc90ac69c21cdf885d2c31951979a699201b47a09a514994dff0e 01:24:08 $ docker rm -f e4b1238be84bc90ac69c21cdf885d2c31951979a699201b47a09a514994dff0e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 01:24:10 Stashed 24 file(s) [Pipeline] echo 01:24:10 [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 01:24:25 Still waiting to schedule task 01:24:25 ‘prd-centos7-docker-4c-2g-4049’ is offline; ‘prd-centos7-docker-4c-2g-4053’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3317’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3513’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3841’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4052’ doesn’t have label ‘centos7-docker-4c-2g’ 01:24:25 Still waiting to schedule task 01:24:25 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 01:25:48 Running on prd-centos7-docker-4c-2g-4055 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws 01:25:48 Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout 01:25:50 using credential edgex-jenkins-ssh 01:25:50 Cloning the remote Git repository 01:25:50 Cloning with configured refspecs honoured and without tags 01:25:50 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:25:50 > git init /w/workspace/device-rest-go/5 # timeout=10 01:25:50 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:25:50 > git --version # timeout=10 01:25:50 using GIT_SSH to set credentials SSH Credentials for GitHub 01:25:51 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:25:52 Fetching without tags 01:25:52 Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 7d0190bac6d521c21ea040cca4b330e46259f9ee 01:25:52 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:25:52 > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 01:25:52 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:25:52 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:25:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:25:52 using GIT_SSH to set credentials SSH Credentials for GitHub 01:25:52 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:25:52 > git config core.sparsecheckout # timeout=10 01:25:52 > git checkout -f 7d0190bac6d521c21ea040cca4b330e46259f9ee # timeout=10 01:25:52 > git remote # timeout=10 01:25:52 > git config --get remote.origin.url # timeout=10 01:25:52 using GIT_SSH to set credentials SSH Credentials for GitHub 01:25:52 > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 01:25:53 Merge succeeded, producing 18ea7d8440d4f4803bb27560c70ed08d9f18ffe6 01:25:53 Checking out Revision 18ea7d8440d4f4803bb27560c70ed08d9f18ffe6 (PR-27) 01:25:52 > git rev-parse HEAD^{commit} # timeout=10 01:25:53 > git config core.sparsecheckout # timeout=10 01:25:53 > git checkout -f 18ea7d8440d4f4803bb27560c70ed08d9f18ffe6 # timeout=10 01:25:56 Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" 01:25:56 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:25:57 ========================================================= 01:25:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 01:25:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:25:56 > git rev-list --no-walk 8e8a274c2051a48e8760f01859ec05b7de79ef6e # timeout=10 01:25:58 + 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 . 01:25:58 Sending build context to Docker daemon 23.17MB 01:25:58 Step 1/10 : ARG BASE=golang:1.13-alpine 01:25:58 Step 2/10 : FROM ${BASE} 01:25:58 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 01:25:58 e6b0cf9c0882: Pulling fs layer 01:25:58 2848faf0eed1: Pulling fs layer 01:25:58 0f37312ad70f: Pulling fs layer 01:25:58 5788d62ee057: Pulling fs layer 01:25:58 0e6b1d234666: Pulling fs layer 01:25:58 bf5d7aec512f: Pulling fs layer 01:25:58 34c802a77dc8: Pulling fs layer 01:25:58 9eb99e56ec68: Pulling fs layer 01:25:58 27c7a5d97fbd: Pulling fs layer 01:25:58 5c102a31e300: Pulling fs layer 01:25:58 dcfb455df0a1: Pulling fs layer 01:25:58 5788d62ee057: Waiting 01:25:58 0e6b1d234666: Waiting 01:25:58 bf5d7aec512f: Waiting 01:25:58 34c802a77dc8: Waiting 01:25:58 9eb99e56ec68: Waiting 01:25:58 27c7a5d97fbd: Waiting 01:25:58 5c102a31e300: Waiting 01:25:58 dcfb455df0a1: Waiting 01:25:58 0f37312ad70f: Verifying Checksum 01:25:58 0f37312ad70f: Download complete 01:25:58 2848faf0eed1: Verifying Checksum 01:25:58 2848faf0eed1: Download complete 01:25:58 0e6b1d234666: Verifying Checksum 01:25:58 0e6b1d234666: Download complete 01:25:58 bf5d7aec512f: Verifying Checksum 01:25:58 bf5d7aec512f: Download complete 01:25:58 e6b0cf9c0882: Verifying Checksum 01:25:58 e6b0cf9c0882: Download complete 01:25:59 34c802a77dc8: Verifying Checksum 01:25:59 34c802a77dc8: Download complete 01:25:59 27c7a5d97fbd: Verifying Checksum 01:25:59 27c7a5d97fbd: Download complete 01:26:00 5c102a31e300: Verifying Checksum 01:26:00 5c102a31e300: Download complete 01:26:00 dcfb455df0a1: Verifying Checksum 01:26:00 dcfb455df0a1: Download complete 01:26:00 9eb99e56ec68: Verifying Checksum 01:26:00 9eb99e56ec68: Download complete 01:26:00 5788d62ee057: Verifying Checksum 01:26:00 5788d62ee057: Download complete 01:26:01 e6b0cf9c0882: Pull complete 01:26:01 2848faf0eed1: Pull complete 01:26:01 0f37312ad70f: Pull complete 01:26:07 5788d62ee057: Pull complete 01:26:07 0e6b1d234666: Pull complete 01:26:07 bf5d7aec512f: Pull complete 01:26:15 34c802a77dc8: Pull complete 01:26:17 9eb99e56ec68: Pull complete 01:26:17 27c7a5d97fbd: Pull complete 01:26:17 5c102a31e300: Pull complete 01:26:18 dcfb455df0a1: Pull complete 01:26:18 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 01:26:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 01:26:18 ---> 7c70fe431013 01:26:18 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 01:26:19 ---> Running in ffccbb013bdb 01:26:19 Removing intermediate container ffccbb013bdb 01:26:19 ---> 2bb5077a71d9 01:26:19 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:26:19 ---> Running in 83bb4c87d066 01:26:19 Removing intermediate container 83bb4c87d066 01:26:19 ---> 69f4957933a3 01:26:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:26:19 ---> Running in 46ede3664a64 01:26:20 Removing intermediate container 46ede3664a64 01:26:20 ---> b5114e575402 01:26:20 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:26:20 ---> Running in d99abff48277 01:26:21 Removing intermediate container d99abff48277 01:26:21 ---> d9802742f3a8 01:26:21 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:26:21 ---> Running in 7d613d64c7be 01:26:22 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 01:26:22 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 01:26:23 OK: 143 MiB in 39 packages 01:26:23 Removing intermediate container 7d613d64c7be 01:26:23 ---> 1fcb7fa7ad7e 01:26:23 Step 8/10 : WORKDIR /device-rest-go 01:26:23 ---> Running in 8e386f29ff2b 01:26:23 Removing intermediate container 8e386f29ff2b 01:26:23 ---> eb7cb2cf0d23 01:26:23 Step 9/10 : COPY . . 01:26:24 ---> e450c6f1f6eb 01:26:24 Step 10/10 : RUN go mod download 01:26:24 ---> Running in be0f8fe117ca 01:26:26 go: finding github.com/BurntSushi/toml v0.3.1 01:26:26 go: finding github.com/OneOfOne/xxhash v1.2.6 01:26:26 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 01:26:26 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:26:26 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 01:26:26 go: finding github.com/bgentry/speakeasy v0.1.0 01:26:26 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 01:26:26 go: finding github.com/davecgh/go-spew v1.1.1 01:26:26 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 01:26:26 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 01:26:26 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 01:26:26 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:26:26 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 01:26:26 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 01:26:26 go: finding github.com/fatih/color v1.7.0 01:26:26 go: finding github.com/fxamacker/cbor/v2 v2.2.0 01:26:26 go: finding github.com/go-kit/kit v0.8.0 01:26:26 go: finding github.com/go-logfmt/logfmt v0.4.0 01:26:26 go: finding github.com/go-stack/stack v1.8.0 01:26:26 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:26:26 go: finding github.com/google/uuid v1.1.0 01:26:26 go: finding github.com/gorilla/mux v1.7.1 01:26:26 go: finding github.com/hashicorp/consul/api v1.1.0 01:26:26 go: finding github.com/hashicorp/consul/sdk v0.1.1 01:26:26 go: finding github.com/hashicorp/errwrap v1.0.0 01:26:26 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 01:26:26 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 01:26:26 go: finding github.com/hashicorp/go-msgpack v0.5.3 01:26:26 go: finding github.com/hashicorp/go-multierror v1.0.0 01:26:26 go: finding github.com/hashicorp/go-rootcerts v1.0.0 01:26:26 go: finding github.com/hashicorp/go-sockaddr v1.0.0 01:26:26 go: finding github.com/hashicorp/go-syslog v1.0.0 01:26:26 go: finding github.com/hashicorp/go-uuid v1.0.1 01:26:26 go: finding github.com/hashicorp/go.net v0.0.1 01:26:26 go: finding github.com/hashicorp/golang-lru v0.5.0 01:26:26 go: finding github.com/hashicorp/logutils v1.0.0 01:26:26 go: finding github.com/hashicorp/mdns v1.0.0 01:26:26 go: finding github.com/hashicorp/memberlist v0.1.3 01:26:26 go: finding github.com/hashicorp/serf v0.8.2 01:26:26 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:26:26 go: finding github.com/mattn/go-colorable v0.0.9 01:26:26 go: finding github.com/mattn/go-isatty v0.0.3 01:26:26 go: finding github.com/miekg/dns v1.0.14 01:26:26 go: finding github.com/mitchellh/cli v1.0.0 01:26:26 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:26:26 go: finding github.com/mitchellh/copystructure v1.0.0 01:26:26 go: finding github.com/mitchellh/go-homedir v1.0.0 01:26:26 go: finding github.com/mitchellh/go-testing-interface v1.0.0 01:26:26 go: finding github.com/mitchellh/gox v0.4.0 01:26:26 go: finding github.com/mitchellh/iochan v1.0.0 01:26:26 go: finding github.com/mitchellh/mapstructure v1.1.2 01:26:26 go: finding github.com/mitchellh/reflectwalk v1.0.0 01:26:26 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:26:26 go: finding github.com/pelletier/go-toml v1.2.0 01:26:26 go: finding github.com/pkg/errors v0.8.1 01:26:26 go: finding github.com/pmezard/go-difflib v1.0.0 01:26:26 go: finding github.com/posener/complete v1.1.1 01:26:26 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 01:26:26 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:26:26 go: finding github.com/spf13/cast v1.3.0 01:26:26 go: finding github.com/stretchr/objx v0.1.0 01:26:26 go: finding github.com/stretchr/testify v1.5.1 01:26:26 go: finding github.com/ugorji/go v1.1.4 01:26:26 go: finding github.com/x448/float16 v0.8.4 01:26:27 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 01:26:27 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 01:26:27 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 01:26:27 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 01:26:27 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 01:26:27 go: finding gopkg.in/yaml.v2 v2.2.8 01:26:33 Removing intermediate container be0f8fe117ca 01:26:33 ---> ec04b442fad1 01:26:33 Successfully built ec04b442fad1 01:26:33 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 01:26:34 + docker inspect -f . ci-base-image-x86_64 01:26:34 . [Pipeline] withDockerContainer 01:26:34 prd-centos7-docker-4c-2g-4055 does not seem to be running inside a container 01:26:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** -e ******** ci-base-image-x86_64 cat 01:26:35 $ docker top 8fa7738f20f6ba1ccf8cd9925a14b2aacbca4d52eb8d16585a2969157485fead -eo pid,comm [Pipeline] { [Pipeline] sh 01:26:35 + go version 01:26:35 go version go1.13.5 linux/amd64 [Pipeline] sh 01:26:36 + make test 01:26:36 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:26:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4056 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { 01:26:37 ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] ws 01:26:37 Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout 01:26:41 using credential edgex-jenkins-ssh 01:26:41 Cloning the remote Git repository 01:26:41 Cloning with configured refspecs honoured and without tags 01:26:41 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:26:41 > git init /w/workspace/device-rest-go/5 # timeout=10 01:26:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:26:41 > git --version # timeout=10 01:26:42 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:42 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:26:44 Fetching without tags 01:26:44 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:26:44 > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 01:26:44 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:26:44 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:26:44 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:26:44 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:26:44 Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 7d0190bac6d521c21ea040cca4b330e46259f9ee 01:26:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:26:45 Merge succeeded, producing 57f9921e454fb1fd0babfc3e9a95f88044ed9a3a 01:26:45 Checking out Revision 57f9921e454fb1fd0babfc3e9a95f88044ed9a3a (PR-27) 01:26:44 > git config core.sparsecheckout # timeout=10 01:26:44 > git checkout -f 7d0190bac6d521c21ea040cca4b330e46259f9ee # timeout=10 01:26:45 > git remote # timeout=10 01:26:45 > git config --get remote.origin.url # timeout=10 01:26:45 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:45 > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 01:26:45 > git rev-parse HEAD^{commit} # timeout=10 01:26:45 > git config core.sparsecheckout # timeout=10 01:26:45 > git checkout -f 57f9921e454fb1fd0babfc3e9a95f88044ed9a3a # timeout=10 01:26:46 ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 56.3% of statements 01:26:46 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:26:48 gofmt -l . 01:26:48 [ "`gofmt -l .`" = "" ] 01:26:48 ./bin/test-go-mod-tidy.sh 01:26:48 ./bin/test-attribution-txt.sh [Pipeline] stash 01:26:49 Stashed 1 file(s) [Pipeline] } 01:26:49 $ docker stop --time=1 8fa7738f20f6ba1ccf8cd9925a14b2aacbca4d52eb8d16585a2969157485fead 01:26:50 Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" 01:26:50 First time build. Skipping changelog. 01:26:51 $ docker rm -f 8fa7738f20f6ba1ccf8cd9925a14b2aacbca4d52eb8d16585a2969157485fead [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:26:50 > git rev-list --no-walk 8e8a274c2051a48e8760f01859ec05b7de79ef6e # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] unstash 01:26:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:26:52 + ls -al . 01:26:52 total 96 01:26:52 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 23 01:26 . 01:26:52 drwxrwxr-x. 4 jenkins jenkins 28 Jun 23 01:25 .. 01:26:52 -rw-rw-r--. 1 jenkins jenkins 4802 Jun 23 01:25 Attribution.txt 01:26:52 drwxrwxr-x. 2 jenkins jenkins 64 Jun 23 01:25 bin 01:26:52 drwxrwxr-x. 3 jenkins jenkins 51 Jun 23 01:25 cmd 01:26:52 -rw-r--r--. 1 jenkins jenkins 9369 Jun 23 01:26 coverage.out 01:26:52 -rw-rw-r--. 1 jenkins jenkins 1504 Jun 23 01:25 Dockerfile 01:26:52 -rw-rw-r--. 1 jenkins jenkins 989 Jun 23 01:25 Dockerfile.build 01:26:52 -rw-rw-r--. 1 jenkins jenkins 151 Jun 23 01:25 .dockerignore 01:26:52 drwxrwxr-x. 2 jenkins jenkins 93 Jun 23 01:26 driver 01:26:52 drwxrwxr-x. 8 jenkins jenkins 179 Jun 23 01:25 .git 01:26:52 drwxrwxr-x. 2 jenkins jenkins 38 Jun 23 01:25 .github 01:26:52 -rw-rw-r--. 1 jenkins jenkins 339 Jun 23 01:25 .gitignore 01:26:52 -rw-r--r--. 1 jenkins jenkins 266 Jun 23 01:26 go.mod 01:26:52 -rw-r--r--. 1 jenkins jenkins 12533 Jun 23 01:26 go.sum 01:26:52 -rw-rw-r--. 1 jenkins jenkins 702 Jun 23 01:25 Jenkinsfile 01:26:52 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 23 01:25 LICENSE 01:26:52 -rw-rw-r--. 1 jenkins jenkins 951 Jun 23 01:25 Makefile 01:26:52 -rw-rw-r--. 1 jenkins jenkins 5716 Jun 23 01:25 README.md 01:26:52 drwxrwxr-x. 3 jenkins jenkins 45 Jun 23 01:25 .semver 01:26:52 drwxrwxr-x. 4 jenkins jenkins 54 Jun 23 01:25 snap 01:26:52 -rw-rw-r--. 1 jenkins jenkins 5 Jun 23 01:24 VERSION 01:26:52 -rw-rw-r--. 1 jenkins jenkins 713 Jun 23 01:25 version.go [Pipeline] isUnix [Pipeline] sh 01:26:52 + 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=211448c824968b5a705ab85d9bd1fa2393a65460 --label arch=amd64 --label version=0.0.0 . 01:26:53 Sending build context to Docker daemon 23.18MB 01:26:53 Step 1/24 : ARG BASE=golang:1.13-alpine 01:26:53 Step 2/24 : FROM ${BASE} AS builder 01:26:53 ---> ec04b442fad1 01:26:53 Step 3/24 : ARG MAKE='make build' 01:26:53 ---> Running in 0430a0cceb77 01:26:53 Removing intermediate container 0430a0cceb77 01:26:53 ---> c46358af3c3b 01:26:53 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 01:26:53 ---> Running in e363e2db933b [Pipeline] echo 01:26:53 ========================================================= 01:26:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 01:26:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:26:53 Removing intermediate container e363e2db933b 01:26:53 ---> 053bf35122be 01:26:53 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:26:53 ---> Running in 1c07ea6cc29a 01:26:53 Removing intermediate container 1c07ea6cc29a 01:26:53 ---> a52beedc5dc9 01:26:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:26:53 ---> Running in 0a8f5d997cc3 01:26:54 + 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 . 01:26:54 Removing intermediate container 0a8f5d997cc3 01:26:54 ---> b8207919e26f 01:26:54 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:26:54 ---> Running in c0d3ca9fbec7 01:26:55 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 01:26:55 Sending build context to Docker daemon 23.17MB 01:26:55 Step 1/10 : ARG BASE=golang:1.13-alpine 01:26:55 Step 2/10 : FROM ${BASE} 01:26:55 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:26:55 cde5963f3b93: Pulling fs layer 01:26:55 2a23fa8c16f7: Pulling fs layer 01:26:55 777b28850792: Pulling fs layer 01:26:55 8a11ddd9e578: Pulling fs layer 01:26:55 4cf88f913ddb: Pulling fs layer 01:26:55 1df406cf5192: Pulling fs layer 01:26:55 cd6300453558: Pulling fs layer 01:26:55 b9c365052c96: Pulling fs layer 01:26:55 a2d8cc88f415: Pulling fs layer 01:26:55 ea1d1ca13537: Pulling fs layer 01:26:55 3750a50a1c5e: Pulling fs layer 01:26:55 8a11ddd9e578: Waiting 01:26:55 4cf88f913ddb: Waiting 01:26:55 1df406cf5192: Waiting 01:26:55 cd6300453558: Waiting 01:26:55 b9c365052c96: Waiting 01:26:55 a2d8cc88f415: Waiting 01:26:55 ea1d1ca13537: Waiting 01:26:55 3750a50a1c5e: Waiting 01:26:55 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 01:26:56 777b28850792: Verifying Checksum 01:26:56 777b28850792: Download complete 01:26:56 2a23fa8c16f7: Verifying Checksum 01:26:56 2a23fa8c16f7: Download complete 01:26:56 4cf88f913ddb: Verifying Checksum 01:26:56 4cf88f913ddb: Download complete 01:26:56 1df406cf5192: Verifying Checksum 01:26:56 1df406cf5192: Download complete 01:26:56 cde5963f3b93: Verifying Checksum 01:26:56 cde5963f3b93: Download complete 01:26:56 OK: 143 MiB in 39 packages 01:26:56 cde5963f3b93: Pull complete 01:26:57 Removing intermediate container c0d3ca9fbec7 01:26:57 ---> 710a25b9ae10 01:26:57 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 01:26:57 ---> Running in cefca1fce409 01:26:57 Removing intermediate container cefca1fce409 01:26:57 ---> cd9411ec7d40 01:26:57 Step 9/24 : COPY go.mod . 01:26:57 ---> 437ac6b82b2b 01:26:57 Step 10/24 : COPY Makefile . 01:26:57 2a23fa8c16f7: Pull complete 01:26:57 ---> 383e3b3879d8 01:26:57 Step 11/24 : RUN make update 01:26:57 ---> Running in 66aa47803bd9 01:26:57 777b28850792: Pull complete 01:26:58 cd6300453558: Verifying Checksum 01:26:58 cd6300453558: Download complete 01:26:58 a2d8cc88f415: Verifying Checksum 01:26:58 a2d8cc88f415: Download complete 01:26:58 CGO_ENABLED=0 GO111MODULE=on go mod download 01:26:58 Removing intermediate container 66aa47803bd9 01:26:58 ---> d055571ff9bd 01:26:58 Step 12/24 : COPY . . 01:26:59 ---> a03628d10d0f 01:26:59 Step 13/24 : RUN $MAKE 01:26:59 ---> Running in d276f9e164e2 01:26:59 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 01:26:59 ea1d1ca13537: Verifying Checksum 01:26:59 ea1d1ca13537: Download complete 01:26:59 3750a50a1c5e: Verifying Checksum 01:26:59 3750a50a1c5e: Download complete 01:27:01 8a11ddd9e578: Download complete 01:27:01 b9c365052c96: Verifying Checksum 01:27:01 b9c365052c96: Download complete 01:27:09 Removing intermediate container d276f9e164e2 01:27:09 ---> a569b8f4f4d3 01:27:09 Step 14/24 : FROM alpine:latest 01:27:09 latest: Pulling from library/alpine 01:27:09 df20fa9351a1: Pulling fs layer 01:27:09 df20fa9351a1: Verifying Checksum 01:27:09 df20fa9351a1: Download complete 01:27:09 df20fa9351a1: Pull complete 01:27:10 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 01:27:10 Status: Downloaded newer image for alpine:latest 01:27:10 ---> a24bb4013296 01:27:10 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:27:10 ---> Running in a6e9e23b84b3 01:27:10 Removing intermediate container a6e9e23b84b3 01:27:10 ---> e5c66c15f15a 01:27:10 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 01:27:10 ---> Running in 5b418105722b 01:27:10 Removing intermediate container 5b418105722b 01:27:10 ---> 17faed052abd 01:27:10 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 01:27:10 ---> a814f80841d3 01:27:10 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 01:27:10 ---> cee31fbeda6d 01:27:10 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 01:27:11 ---> 2bd305e24f59 01:27:11 Step 20/24 : EXPOSE 49986 01:27:11 ---> Running in 1d8aad680ba5 01:27:11 Removing intermediate container 1d8aad680ba5 01:27:11 ---> c2a986dd3ac7 01:27:11 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 01:27:11 ---> Running in d6d15b502875 01:27:12 Removing intermediate container d6d15b502875 01:27:12 ---> 0a5a62990ca6 01:27:12 Step 22/24 : LABEL arch=amd64 01:27:12 ---> Running in a371ee4e396d 01:27:12 Removing intermediate container a371ee4e396d 01:27:12 ---> 9c700f5bef4a 01:27:12 Step 23/24 : LABEL git_sha=211448c824968b5a705ab85d9bd1fa2393a65460 01:27:12 ---> Running in 836f417e5970 01:27:12 Removing intermediate container 836f417e5970 01:27:12 ---> e1d63b726933 01:27:12 Step 24/24 : LABEL version=0.0.0 01:27:12 ---> Running in 8f2c49273a3e 01:27:12 Removing intermediate container 8f2c49273a3e 01:27:12 ---> f4053cc835c5 01:27:12 [Warning] One or more build-args [ARCH] were not consumed 01:27:12 Successfully built f4053cc835c5 01:27:12 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:27:14 8a11ddd9e578: Pull complete 01:27:14 4cf88f913ddb: Pull complete 01:27:14 1df406cf5192: Pull complete 01:27:17 cd6300453558: Pull complete 01:27:22 b9c365052c96: Pull complete 01:27:22 a2d8cc88f415: Pull complete 01:27:24 ea1d1ca13537: Pull complete 01:27:24 3750a50a1c5e: Pull complete 01:27:24 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 01:27:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 01:27:24 ---> 78745c68409d 01:27:24 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 01:27:30 ---> Running in ae32bbdc061d 01:27:30 Removing intermediate container ae32bbdc061d 01:27:30 ---> 5d3e8062b072 01:27:30 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 01:27:30 ---> Running in 3b014a698cdd 01:27:30 Removing intermediate container 3b014a698cdd 01:27:30 ---> 6cb68b586b76 01:27:30 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:27:30 ---> Running in 3a6f166a3134 01:27:31 Removing intermediate container 3a6f166a3134 01:27:31 ---> acf49e37ffc7 01:27:31 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:27:31 ---> Running in cddfbeaaa7de 01:27:33 Removing intermediate container cddfbeaaa7de 01:27:33 ---> 8f849cb86c79 01:27:33 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:27:33 ---> Running in c9241e5f091a 01:27:35 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 01:27:36 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 01:27:37 OK: 125 MiB in 39 packages 01:27:38 Removing intermediate container c9241e5f091a 01:27:38 ---> 9555e49e5023 01:27:38 Step 8/10 : WORKDIR /device-rest-go 01:27:38 ---> Running in 591046a0774e 01:27:38 Removing intermediate container 591046a0774e 01:27:38 ---> 07c6035d6b0a 01:27:38 Step 9/10 : COPY . . 01:27:40 ---> 16048038edbb 01:27:40 Step 10/10 : RUN go mod download 01:27:40 ---> Running in ace65d30d818 01:27:43 go: finding github.com/BurntSushi/toml v0.3.1 01:27:43 go: finding github.com/OneOfOne/xxhash v1.2.6 01:27:43 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 01:27:43 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:27:43 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 01:27:43 go: finding github.com/bgentry/speakeasy v0.1.0 01:27:43 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 01:27:43 go: finding github.com/davecgh/go-spew v1.1.1 01:27:43 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 01:27:43 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 01:27:43 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 01:27:43 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:27:43 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 01:27:43 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 01:27:43 go: finding github.com/fatih/color v1.7.0 01:27:43 go: finding github.com/fxamacker/cbor/v2 v2.2.0 01:27:43 go: finding github.com/go-kit/kit v0.8.0 01:27:43 go: finding github.com/go-logfmt/logfmt v0.4.0 01:27:43 go: finding github.com/go-stack/stack v1.8.0 01:27:43 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:27:43 go: finding github.com/google/uuid v1.1.0 01:27:43 go: finding github.com/gorilla/mux v1.7.1 01:27:43 go: finding github.com/hashicorp/consul/api v1.1.0 01:27:43 go: finding github.com/hashicorp/consul/sdk v0.1.1 01:27:43 go: finding github.com/hashicorp/errwrap v1.0.0 01:27:43 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 01:27:43 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 01:27:43 go: finding github.com/hashicorp/go-msgpack v0.5.3 01:27:43 go: finding github.com/hashicorp/go-multierror v1.0.0 01:27:43 go: finding github.com/hashicorp/go-rootcerts v1.0.0 01:27:43 go: finding github.com/hashicorp/go-sockaddr v1.0.0 01:27:43 go: finding github.com/hashicorp/go-syslog v1.0.0 01:27:43 go: finding github.com/hashicorp/go-uuid v1.0.1 01:27:43 go: finding github.com/hashicorp/go.net v0.0.1 01:27:43 go: finding github.com/hashicorp/golang-lru v0.5.0 01:27:43 go: finding github.com/hashicorp/logutils v1.0.0 01:27:43 go: finding github.com/hashicorp/mdns v1.0.0 01:27:43 go: finding github.com/hashicorp/memberlist v0.1.3 01:27:43 go: finding github.com/hashicorp/serf v0.8.2 01:27:43 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:27:43 go: finding github.com/mattn/go-colorable v0.0.9 01:27:43 go: finding github.com/mattn/go-isatty v0.0.3 01:27:43 go: finding github.com/miekg/dns v1.0.14 01:27:43 go: finding github.com/mitchellh/cli v1.0.0 01:27:43 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:27:43 go: finding github.com/mitchellh/copystructure v1.0.0 01:27:43 go: finding github.com/mitchellh/go-homedir v1.0.0 01:27:43 go: finding github.com/mitchellh/go-testing-interface v1.0.0 01:27:43 go: finding github.com/mitchellh/gox v0.4.0 01:27:43 go: finding github.com/mitchellh/iochan v1.0.0 01:27:43 go: finding github.com/mitchellh/mapstructure v1.1.2 01:27:43 go: finding github.com/mitchellh/reflectwalk v1.0.0 01:27:43 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:27:43 go: finding github.com/pelletier/go-toml v1.2.0 01:27:43 go: finding github.com/pkg/errors v0.8.1 01:27:43 go: finding github.com/pmezard/go-difflib v1.0.0 01:27:43 go: finding github.com/posener/complete v1.1.1 01:27:43 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 01:27:43 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:27:43 go: finding github.com/spf13/cast v1.3.0 01:27:43 go: finding github.com/stretchr/objx v0.1.0 01:27:43 go: finding github.com/stretchr/testify v1.5.1 01:27:43 go: finding github.com/ugorji/go v1.1.4 01:27:43 go: finding github.com/x448/float16 v0.8.4 01:27:43 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 01:27:43 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 01:27:43 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 01:27:43 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 01:27:43 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 01:27:43 go: finding gopkg.in/yaml.v2 v2.2.8 01:27:52 Removing intermediate container ace65d30d818 01:27:52 ---> 7d3d269805c7 01:27:52 Successfully built 7d3d269805c7 01:27:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:27:52 + docker inspect -f . ci-base-image-arm64 01:27:52 . [Pipeline] withDockerContainer 01:27:52 prd-ubuntu18.04-docker-arm64-4c-16g-4056 does not seem to be running inside a container 01:27:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 01:27:54 $ docker top 36f55c2df6732a78858c876b5edcd780dd353b2b9c64949acea0af68bdba5223 -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:56 + go version 01:27:56 go version go1.13.5 linux/arm64 [Pipeline] sh 01:27:57 + make test 01:27:57 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 01:27:58 ? github.com/edgexfoundry/device-rest-go [no test files] 01:28:30 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:28:30 ok github.com/edgexfoundry/device-rest-go/driver 0.045s coverage: 56.3% of statements 01:28:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:28:33 gofmt -l . 01:28:34 [ "`gofmt -l .`" = "" ] 01:28:34 ./bin/test-go-mod-tidy.sh 01:28:35 ./bin/test-attribution-txt.sh [Pipeline] stash 01:28:35 Warning: overwriting stash ‘coverage-report’ 01:28:36 Stashed 1 file(s) [Pipeline] } 01:28:36 $ docker stop --time=1 36f55c2df6732a78858c876b5edcd780dd353b2b9c64949acea0af68bdba5223 01:28:38 $ docker rm -f 36f55c2df6732a78858c876b5edcd780dd353b2b9c64949acea0af68bdba5223 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:28:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:28:39 + ls -al . 01:28:39 total 128 01:28:39 drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 01:28 . 01:28:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 01:26 .. 01:28:39 -rw-rw-r-- 1 jenkins jenkins 151 Jun 23 01:26 .dockerignore 01:28:39 drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 01:26 .git 01:28:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 01:26 .github 01:28:39 -rw-rw-r-- 1 jenkins jenkins 339 Jun 23 01:26 .gitignore 01:28:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 01:26 .semver 01:28:39 -rw-rw-r-- 1 jenkins jenkins 4802 Jun 23 01:26 Attribution.txt 01:28:39 -rw-rw-r-- 1 jenkins jenkins 1504 Jun 23 01:26 Dockerfile 01:28:39 -rw-rw-r-- 1 jenkins jenkins 989 Jun 23 01:26 Dockerfile.build 01:28:39 -rw-rw-r-- 1 jenkins jenkins 702 Jun 23 01:26 Jenkinsfile 01:28:39 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 23 01:26 LICENSE 01:28:39 -rw-rw-r-- 1 jenkins jenkins 951 Jun 23 01:26 Makefile 01:28:39 -rw-rw-r-- 1 jenkins jenkins 5716 Jun 23 01:26 README.md 01:28:39 -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 01:24 VERSION 01:28:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 01:26 bin 01:28:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 01:26 cmd 01:28:39 -rw-r--r-- 1 jenkins jenkins 9369 Jun 23 01:28 coverage.out 01:28:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 01:28 driver 01:28:39 -rw-r--r-- 1 jenkins jenkins 266 Jun 23 01:28 go.mod 01:28:39 -rw-r--r-- 1 jenkins jenkins 12533 Jun 23 01:28 go.sum 01:28:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 01:26 snap 01:28:39 -rw-rw-r-- 1 jenkins jenkins 713 Jun 23 01:26 version.go [Pipeline] isUnix [Pipeline] sh 01:28:40 + 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=211448c824968b5a705ab85d9bd1fa2393a65460 --label arch=arm64 --label version=0.0.0 . 01:28:40 Sending build context to Docker daemon 23.18MB 01:28:40 Step 1/24 : ARG BASE=golang:1.13-alpine 01:28:40 Step 2/24 : FROM ${BASE} AS builder 01:28:40 ---> 7d3d269805c7 01:28:40 Step 3/24 : ARG MAKE='make build' 01:28:41 ---> Running in 909afc16c885 01:28:41 Removing intermediate container 909afc16c885 01:28:41 ---> c92bdcb7cfdf 01:28:41 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 01:28:41 ---> Running in 299c31296546 01:28:42 Removing intermediate container 299c31296546 01:28:42 ---> c26dad4027b4 01:28:42 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 01:28:42 ---> Running in 29501c3f0134 01:28:42 Removing intermediate container 29501c3f0134 01:28:42 ---> 24e306c95e27 01:28:42 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:28:42 ---> Running in fca0ee3ba32a 01:28:45 Removing intermediate container fca0ee3ba32a 01:28:45 ---> eb8a86c369ee 01:28:45 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:28:45 ---> Running in 1fdc5260b7dc 01:28:47 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 01:28:47 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 01:28:48 OK: 125 MiB in 39 packages 01:28:50 Removing intermediate container 1fdc5260b7dc 01:28:50 ---> 4b14cbfb6849 01:28:50 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 01:28:50 ---> Running in 5246987931d3 01:28:50 Removing intermediate container 5246987931d3 01:28:50 ---> 054731a0a91f 01:28:50 Step 9/24 : COPY go.mod . 01:28:51 ---> 92eb65aa5bda 01:28:51 Step 10/24 : COPY Makefile . 01:28:51 ---> b42972e364ba 01:28:51 Step 11/24 : RUN make update 01:28:52 ---> Running in 9ea4af07fef6 01:28:53 CGO_ENABLED=0 GO111MODULE=on go mod download 01:28:54 Removing intermediate container 9ea4af07fef6 01:28:54 ---> 00260841c09a 01:28:54 Step 12/24 : COPY . . 01:28:56 ---> 1025123c8fd9 01:28:56 Step 13/24 : RUN $MAKE 01:28:56 ---> Running in 0a587352113a 01:28:58 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 01:29:25 Removing intermediate container 0a587352113a 01:29:25 ---> 1ccc85711567 01:29:25 Step 14/24 : FROM alpine:latest 01:29:25 latest: Pulling from library/alpine 01:29:25 b538f80385f9: Pulling fs layer 01:29:25 b538f80385f9: Verifying Checksum 01:29:25 b538f80385f9: Download complete 01:29:25 b538f80385f9: Pull complete 01:29:25 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 01:29:25 Status: Downloaded newer image for alpine:latest 01:29:25 ---> 62ee0e9f8440 01:29:25 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:29:25 ---> Running in 6c5374023f90 01:29:26 Removing intermediate container 6c5374023f90 01:29:26 ---> dbb2c7cf79af 01:29:26 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 01:29:26 ---> Running in 3d38cee77e74 01:29:26 Removing intermediate container 3d38cee77e74 01:29:26 ---> f229a8ed73ce 01:29:26 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 01:29:27 ---> 4b76eb59718d 01:29:27 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 01:29:28 ---> 0bcc3bd48c2b 01:29:28 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 01:29:30 ---> 5b4b36261594 01:29:30 Step 20/24 : EXPOSE 49986 01:29:30 ---> Running in aec801e6065b 01:29:30 Removing intermediate container aec801e6065b 01:29:30 ---> cf30fdc39742 01:29:30 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 01:29:30 ---> Running in 5688b540352c 01:29:31 Removing intermediate container 5688b540352c 01:29:31 ---> ffadc0dd0b2d 01:29:31 Step 22/24 : LABEL arch=arm64 01:29:31 ---> Running in 46700d2f4e8f 01:29:32 Removing intermediate container 46700d2f4e8f 01:29:32 ---> 834509ec5867 01:29:32 Step 23/24 : LABEL git_sha=211448c824968b5a705ab85d9bd1fa2393a65460 01:29:32 ---> Running in 532c9481ce19 01:29:32 Removing intermediate container 532c9481ce19 01:29:32 ---> bddaa71a3cbc 01:29:32 Step 24/24 : LABEL version=0.0.0 01:29:32 ---> Running in 04934f51cc85 01:29:33 Removing intermediate container 04934f51cc85 01:29:33 ---> 011295ba462c 01:29:33 [Warning] One or more build-args [ARCH] were not consumed 01:29:33 Successfully built 011295ba462c 01:29:33 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 01:29:33 provisioning config files... 01:29:33 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config171593674283831281tmp [Pipeline] { [Pipeline] sh 01:29:34 + curl -s https://codecov.io/bash 01:29:34 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config171593674283831281tmp 01:29:34 01:29:34 _____ _ 01:29:34 / ____| | | 01:29:34 | | ___ __| | ___ ___ _____ __ 01:29:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:29:34 | |___| (_) | (_| | __/ (_| (_) \ V / 01:29:34 \_____\___/ \__,_|\___|\___\___/ \_/ 01:29:34 Bash-20200602-f809a24 01:29:34 01:29:34 01:29:34 ==> Jenkins CI detected. 01:29:34 project root: . 01:29:34 Fixing merge commit SHA 01:29:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:29:34 ==> Running gcov in . (disable via -X gcov) 01:29:34 ==> Python coveragepy not found 01:29:34 ==> Searching for coverage reports in: 01:29:34 + . 01:29:34 -> Found 1 reports 01:29:34 ==> Detecting git/mercurial file structure 01:29:34 ==> Reading reports 01:29:34 + ./coverage.out bytes=9369 01:29:34 ==> Appending adjustments 01:29:34 https://docs.codecov.io/docs/fixing-reports 01:29:34 + Found adjustments 01:29:34 ==> Gzipping contents 01:29:34 ==> Uploading reports 01:29:34 url: https://codecov.io 01:29:34 query: branch=PR-27&commit=b106d00ae92e946d2103bc6c1464522635373c7b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-27%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=27&job= 01:29:34 -> Pinging Codecov 01:29:34 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-27&commit=b106d00ae92e946d2103bc6c1464522635373c7b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-27%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=27&job= 01:29:35 -> Uploading 01:29:36 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/b106d00ae92e946d2103bc6c1464522635373c7b [Pipeline] } 01:29:36 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 01:29:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:29:37 ---> package-listing.sh 01:29:37 ++ facter osfamily 01:29:37 ++ tr '[:upper:]' '[:lower:]' 01:29:37 + OS_FAMILY=redhat 01:29:37 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-27 01:29:37 + START_PACKAGES=/tmp/packages_start.txt 01:29:37 + END_PACKAGES=/tmp/packages_end.txt 01:29:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:29:37 + PACKAGES=/tmp/packages_start.txt 01:29:37 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' 01:29:37 + PACKAGES=/tmp/packages_end.txt 01:29:37 + case "${OS_FAMILY}" in 01:29:37 + sort 01:29:37 + rpm -qa 01:29:43 + '[' -f /tmp/packages_start.txt ']' 01:29:43 + '[' -f /tmp/packages_end.txt ']' 01:29:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:29:43 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' 01:29:43 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-27/archives/ 01:29:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-27/archives/ [Pipeline] isUnix [Pipeline] sh 01:29:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:29:44 01:29:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:29:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:29:44 alpine: Pulling from edgex-lftools-log-publisher 01:29:44 c9b1b535fdd9: Pulling fs layer 01:29:44 2cc5ad85d9ab: Pulling fs layer 01:29:44 756a868c4378: Pulling fs layer 01:29:44 444b2fc9a129: Pulling fs layer 01:29:44 ea15f1150254: Pulling fs layer 01:29:44 41b27a9f41bf: Pulling fs layer 01:29:44 28c525ee5125: Pulling fs layer 01:29:44 094b1ea09ed8: Pulling fs layer 01:29:44 138eaada9080: Pulling fs layer 01:29:44 0622d0fa9048: Pulling fs layer 01:29:44 444b2fc9a129: Waiting 01:29:44 ea15f1150254: Waiting 01:29:44 41b27a9f41bf: Waiting 01:29:44 28c525ee5125: Waiting 01:29:44 094b1ea09ed8: Waiting 01:29:44 138eaada9080: Waiting 01:29:44 0622d0fa9048: Waiting 01:29:44 2cc5ad85d9ab: Verifying Checksum 01:29:44 2cc5ad85d9ab: Download complete 01:29:44 444b2fc9a129: Verifying Checksum 01:29:44 444b2fc9a129: Download complete 01:29:44 c9b1b535fdd9: Verifying Checksum 01:29:44 c9b1b535fdd9: Download complete 01:29:44 ea15f1150254: Verifying Checksum 01:29:44 ea15f1150254: Download complete 01:29:44 28c525ee5125: Verifying Checksum 01:29:44 28c525ee5125: Download complete 01:29:45 756a868c4378: Verifying Checksum 01:29:45 756a868c4378: Download complete 01:29:45 138eaada9080: Verifying Checksum 01:29:45 138eaada9080: Download complete 01:29:45 0622d0fa9048: Download complete 01:29:45 094b1ea09ed8: Verifying Checksum 01:29:45 094b1ea09ed8: Download complete 01:29:45 c9b1b535fdd9: Pull complete 01:29:46 2cc5ad85d9ab: Pull complete 01:29:46 41b27a9f41bf: Verifying Checksum 01:29:46 41b27a9f41bf: Download complete 01:29:48 756a868c4378: Pull complete 01:29:48 444b2fc9a129: Pull complete 01:29:49 ea15f1150254: Pull complete 01:29:56 41b27a9f41bf: Pull complete 01:29:56 28c525ee5125: Pull complete 01:29:59 094b1ea09ed8: Pull complete 01:29:59 138eaada9080: Pull complete 01:29:59 0622d0fa9048: Pull complete 01:29:59 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 01:29:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:29:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:30:00 prd-centos7-docker-4c-2g-4051 does not seem to be running inside a container 01:30:00 $ 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-27 -v /w/workspace/dgexfoundry_device-rest-go_PR-27:/w/workspace/dgexfoundry_device-rest-go_PR-27:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-27@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:30:03 $ docker top 78f79015d0c38448f094dabb0f53f5be12799f04fe6fcd6a47955c15cba35df2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:04 provisioning config files... 01:30:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config4375144348015757555tmp [Pipeline] { [Pipeline] echo 01:30:04 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:30:05 ---> create-netrc.sh [Pipeline] echo 01:30:05 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:30:05 ---> logs-deploy.sh 01:30:05 + ARCHIVE_ARTIFACTS= 01:30:05 + LOGS_SERVER=https://logs.edgexfoundry.org 01:30:05 + '[' https://logs.edgexfoundry.org == None ']' 01:30:05 + NEXUS_URL=https://nexus.edgexfoundry.org 01:30:05 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/5 01:30:05 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/5/ 01:30:05 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/5 /w/workspace/dgexfoundry_device-rest-go_PR-27 01:30:07 Archives upload complete. 01:30:07 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/5 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/5/