Pull request #27 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2cc02306b7a402dbbbaec292b51a0d972c884667+b106d00ae92e946d2103bc6c1464522635373c7b (2daac8d92d7fee49b7a14e3ff269a20a6607f0b3) 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4189’ Running on prd-centos7-docker-4c-2g-4193 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 2cc02306b7a402dbbbaec292b51a0d972c884667 > 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 2cc02306b7a402dbbbaec292b51a0d972c884667 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 Merge succeeded, producing b1c8a3d9fe9bcda40898d3ec32fec9442922b96d Checking out Revision b1c8a3d9fe9bcda40898d3ec32fec9442922b96d (PR-27) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1c8a3d9fe9bcda40898d3ec32fec9442922b96d # 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 [2020-06-23T20:40:03.799Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-23T20:40:03.912Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-23T20:40:03.954Z] ========================================================= [2020-06-23T20:40:03.954Z] EdgeX Global Pipelines Version Info [2020-06-23T20:40:03.954Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6cd080d4ef210ed05295b34cae3765f2aaae7cf9 # timeout=10 [2020-06-23T20:40:06.921Z] ------------------- [2020-06-23T20:40:06.921Z] stable info: [2020-06-23T20:40:06.921Z] ------------------- [2020-06-23T20:40:06.921Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-23T20:40:06.921Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-23T20:40:06.921Z] Message: update stable to v1.0.89 [2020-06-23T20:40:08.367Z] ------------------- [2020-06-23T20:40:08.367Z] experimental info: [2020-06-23T20:40:08.367Z] ------------------- [2020-06-23T20:40:08.367Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-23T20:40:08.367Z] Commit SHA: aa323fb5dfebb31640c35badf05a5a9beff52318 [2020-06-23T20:40:08.367Z] 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 [2020-06-23T20:40:09.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-23T20:40:10.500Z] [2020-06-23T20:40:10.500Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-23T20:40:10.835Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-23T20:40:10.835Z] latest: Pulling from edgex-devops/git-semver [2020-06-23T20:40:10.835Z] 9123ac7c32f7: Pulling fs layer [2020-06-23T20:40:10.835Z] b8cc5d1170e3: Pulling fs layer [2020-06-23T20:40:10.835Z] 2924cbbf6a41: Pulling fs layer [2020-06-23T20:40:10.835Z] 93b08a4f1073: Pulling fs layer [2020-06-23T20:40:10.835Z] 93b08a4f1073: Waiting [2020-06-23T20:40:10.835Z] b8cc5d1170e3: Download complete [2020-06-23T20:40:11.147Z] 9123ac7c32f7: Verifying Checksum [2020-06-23T20:40:11.147Z] 9123ac7c32f7: Download complete [2020-06-23T20:40:11.465Z] 2924cbbf6a41: Verifying Checksum [2020-06-23T20:40:11.465Z] 2924cbbf6a41: Download complete [2020-06-23T20:40:11.465Z] 93b08a4f1073: Verifying Checksum [2020-06-23T20:40:11.465Z] 93b08a4f1073: Download complete [2020-06-23T20:40:11.762Z] 9123ac7c32f7: Pull complete [2020-06-23T20:40:12.031Z] b8cc5d1170e3: Pull complete [2020-06-23T20:40:13.016Z] 2924cbbf6a41: Pull complete [2020-06-23T20:40:13.280Z] 93b08a4f1073: Pull complete [2020-06-23T20:40:13.280Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-23T20:40:13.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-23T20:40:13.280Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-23T20:40:13.635Z] prd-centos7-docker-4c-2g-4193 does not seem to be running inside a container [2020-06-23T20:40:13.869Z] $ 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 [2020-06-23T20:40:15.860Z] $ docker top 0335e65197013ff381bd2903a0e359f0cc635b188a6f184bff9796645ef3c5b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-23T20:40:16.129Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-23T20:40:16.129Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-23T20:40:16.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-23T20:40:16.431Z] $ docker exec 0335e65197013ff381bd2903a0e359f0cc635b188a6f184bff9796645ef3c5b6 ssh-agent [2020-06-23T20:40:16.864Z] SSH_AUTH_SOCK=/tmp/ssh-e4761tek9QWh/agent.12 [2020-06-23T20:40:16.864Z] SSH_AGENT_PID=17 [2020-06-23T20:40:16.880Z] Running ssh-add (command line suppressed) [2020-06-23T20:40:17.150Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_2351450302167767472.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_2351450302167767472.key) [2020-06-23T20:40:17.311Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-23T20:40:17.717Z] + git describe --exact-match --tags HEAD [2020-06-23T20:40:17.717Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-23T20:40:17.904Z] $ docker exec --env ******** --env ******** 0335e65197013ff381bd2903a0e359f0cc635b188a6f184bff9796645ef3c5b6 ssh-agent -k [2020-06-23T20:40:18.231Z] unset SSH_AUTH_SOCK; [2020-06-23T20:40:18.232Z] unset SSH_AGENT_PID; [2020-06-23T20:40:18.232Z] echo Agent pid 17 killed; [2020-06-23T20:40:18.350Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-23T20:40:18.390Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-23T20:40:18.390Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-23T20:40:18.437Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-23T20:40:18.437Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-23T20:40:18.786Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-23T20:40:18.795Z] $ docker exec 0335e65197013ff381bd2903a0e359f0cc635b188a6f184bff9796645ef3c5b6 ssh-agent [2020-06-23T20:40:19.214Z] SSH_AUTH_SOCK=/tmp/ssh-8dknQPaWJR2g/agent.45 [2020-06-23T20:40:19.214Z] SSH_AGENT_PID=50 [2020-06-23T20:40:19.234Z] Running ssh-add (command line suppressed) [2020-06-23T20:40:19.670Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_5501664609871884852.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_5501664609871884852.key) [2020-06-23T20:40:19.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-23T20:40:20.217Z] + git semver init [2020-06-23T20:40:20.217Z] # -> Open(): unable to determine branch for HEAD [2020-06-23T20:40:20.217Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.git [2020-06-23T20:40:20.217Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-27 [2020-06-23T20:40:20.217Z] # $SEMVER_REMOTE_NAME = origin [2020-06-23T20:40:20.217Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-23T20:40:20.217Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-23T20:40:20.217Z] # $SEMVER_BRANCH = PR-27 [2020-06-23T20:40:20.217Z] # $SEMVER_TEMP = /tmp/semver-921961709 [2020-06-23T20:40:20.217Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-06-23T20:40:22.444Z] # '/tmp/semver-921961709' -> '/w/workspace/dgexfoundry_device-rest-go_PR-27/.semver' [2020-06-23T20:40:22.444Z] # -> Force: false [2020-06-23T20:40:22.444Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.semver [Pipeline] } [2020-06-23T20:40:22.477Z] $ docker exec --env ******** --env ******** 0335e65197013ff381bd2903a0e359f0cc635b188a6f184bff9796645ef3c5b6 ssh-agent -k [2020-06-23T20:40:22.904Z] unset SSH_AUTH_SOCK; [2020-06-23T20:40:22.905Z] unset SSH_AGENT_PID; [2020-06-23T20:40:22.905Z] echo Agent pid 50 killed; [2020-06-23T20:40:23.097Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-23T20:40:23.538Z] + git semver [Pipeline] } [2020-06-23T20:40:23.614Z] $ docker stop --time=1 0335e65197013ff381bd2903a0e359f0cc635b188a6f184bff9796645ef3c5b6 [2020-06-23T20:40:25.282Z] $ docker rm -f 0335e65197013ff381bd2903a0e359f0cc635b188a6f184bff9796645ef3c5b6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-23T20:40:29.429Z] Stashed 24 file(s) [Pipeline] echo [2020-06-23T20:40:29.431Z] [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 [2020-06-23T20:40:29.676Z] Running on prd-centos7-docker-4c-2g-4195 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws [2020-06-23T20:40:29.699Z] Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout [2020-06-23T20:40:32.308Z] using credential edgex-jenkins-ssh [2020-06-23T20:40:32.341Z] Cloning the remote Git repository [2020-06-23T20:40:32.341Z] Cloning with configured refspecs honoured and without tags [2020-06-23T20:40:32.314Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T20:40:32.383Z] > git init /w/workspace/device-rest-go/7 # timeout=10 [2020-06-23T20:40:32.433Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T20:40:32.434Z] > git --version # timeout=10 [2020-06-23T20:40:32.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T20:40:32.480Z] > 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 [2020-06-23T20:40:35.254Z] Fetching without tags [2020-06-23T20:40:35.219Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-23T20:40:35.230Z] > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 [2020-06-23T20:40:35.236Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-23T20:40:35.249Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-23T20:40:35.259Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T20:40:35.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T20:40:35.265Z] > 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 [2020-06-23T20:40:35.617Z] Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 2cc02306b7a402dbbbaec292b51a0d972c884667 [2020-06-23T20:40:35.994Z] Merge succeeded, producing 8b773e3cffbf62baf66f85652e8570308b42be4f [2020-06-23T20:40:35.995Z] Checking out Revision 8b773e3cffbf62baf66f85652e8570308b42be4f (PR-27) [2020-06-23T20:40:35.626Z] > git config core.sparsecheckout # timeout=10 [2020-06-23T20:40:35.631Z] > git checkout -f 2cc02306b7a402dbbbaec292b51a0d972c884667 # timeout=10 [2020-06-23T20:40:35.760Z] > git remote # timeout=10 [2020-06-23T20:40:35.765Z] > git config --get remote.origin.url # timeout=10 [2020-06-23T20:40:35.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T20:40:35.775Z] > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 [2020-06-23T20:40:35.990Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-23T20:40:35.998Z] > git config core.sparsecheckout # timeout=10 [2020-06-23T20:40:36.003Z] > git checkout -f 8b773e3cffbf62baf66f85652e8570308b42be4f # timeout=10 [2020-06-23T20:40:39.796Z] Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" [2020-06-23T20:40:39.806Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-23T20:40:40.821Z] ========================================================= [2020-06-23T20:40:40.821Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-23T20:40:40.821Z] ========================================================= [2020-06-23T20:40:39.801Z] > git rev-list --no-walk 6cd080d4ef210ed05295b34cae3765f2aaae7cf9 # timeout=10 [Pipeline] isUnix [Pipeline] sh [2020-06-23T20:40:41.428Z] + 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 . [2020-06-23T20:40:41.694Z] Sending build context to Docker daemon 23.17MB [2020-06-23T20:40:41.965Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-23T20:40:41.965Z] Step 2/10 : FROM ${BASE} [2020-06-23T20:40:41.965Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-23T20:40:41.965Z] e6b0cf9c0882: Pulling fs layer [2020-06-23T20:40:41.965Z] 2848faf0eed1: Pulling fs layer [2020-06-23T20:40:41.965Z] 0f37312ad70f: Pulling fs layer [2020-06-23T20:40:41.965Z] 5788d62ee057: Pulling fs layer [2020-06-23T20:40:41.965Z] 0e6b1d234666: Pulling fs layer [2020-06-23T20:40:41.965Z] bf5d7aec512f: Pulling fs layer [2020-06-23T20:40:41.965Z] 34c802a77dc8: Pulling fs layer [2020-06-23T20:40:41.965Z] 9eb99e56ec68: Pulling fs layer [2020-06-23T20:40:41.965Z] 27c7a5d97fbd: Pulling fs layer [2020-06-23T20:40:41.965Z] 5c102a31e300: Pulling fs layer [2020-06-23T20:40:41.965Z] dcfb455df0a1: Pulling fs layer [2020-06-23T20:40:41.965Z] 5788d62ee057: Waiting [2020-06-23T20:40:41.965Z] 0e6b1d234666: Waiting [2020-06-23T20:40:41.965Z] bf5d7aec512f: Waiting [2020-06-23T20:40:41.965Z] 34c802a77dc8: Waiting [2020-06-23T20:40:41.965Z] 9eb99e56ec68: Waiting [2020-06-23T20:40:41.965Z] 27c7a5d97fbd: Waiting [2020-06-23T20:40:41.965Z] 5c102a31e300: Waiting [2020-06-23T20:40:41.965Z] dcfb455df0a1: Waiting [2020-06-23T20:40:41.965Z] 0f37312ad70f: Verifying Checksum [2020-06-23T20:40:41.965Z] 0f37312ad70f: Download complete [2020-06-23T20:40:41.965Z] 2848faf0eed1: Download complete [2020-06-23T20:40:41.965Z] 0e6b1d234666: Verifying Checksum [2020-06-23T20:40:41.965Z] 0e6b1d234666: Download complete [2020-06-23T20:40:41.965Z] e6b0cf9c0882: Verifying Checksum [2020-06-23T20:40:41.965Z] e6b0cf9c0882: Download complete [2020-06-23T20:40:41.965Z] bf5d7aec512f: Verifying Checksum [2020-06-23T20:40:41.965Z] bf5d7aec512f: Download complete [2020-06-23T20:40:42.925Z] 34c802a77dc8: Verifying Checksum [2020-06-23T20:40:42.925Z] 34c802a77dc8: Download complete [2020-06-23T20:40:42.925Z] 27c7a5d97fbd: Verifying Checksum [2020-06-23T20:40:42.925Z] 27c7a5d97fbd: Download complete [2020-06-23T20:40:43.193Z] 9eb99e56ec68: Verifying Checksum [2020-06-23T20:40:43.193Z] 9eb99e56ec68: Download complete [2020-06-23T20:40:43.193Z] 5c102a31e300: Verifying Checksum [2020-06-23T20:40:43.193Z] 5c102a31e300: Download complete [2020-06-23T20:40:43.193Z] dcfb455df0a1: Verifying Checksum [2020-06-23T20:40:43.193Z] dcfb455df0a1: Download complete [2020-06-23T20:40:43.455Z] 5788d62ee057: Verifying Checksum [2020-06-23T20:40:43.455Z] 5788d62ee057: Download complete [2020-06-23T20:40:44.398Z] e6b0cf9c0882: Pull complete [2020-06-23T20:40:44.603Z] Still waiting to schedule task [2020-06-23T20:40:44.603Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-06-23T20:40:44.658Z] 2848faf0eed1: Pull complete [2020-06-23T20:40:44.920Z] 0f37312ad70f: Pull complete [2020-06-23T20:40:50.223Z] 5788d62ee057: Pull complete [2020-06-23T20:40:50.223Z] 0e6b1d234666: Pull complete [2020-06-23T20:40:50.223Z] bf5d7aec512f: Pull complete [2020-06-23T20:40:55.522Z] 34c802a77dc8: Pull complete [2020-06-23T20:40:58.862Z] 9eb99e56ec68: Pull complete [2020-06-23T20:40:59.128Z] 27c7a5d97fbd: Pull complete [2020-06-23T20:40:59.726Z] 5c102a31e300: Pull complete [2020-06-23T20:40:59.993Z] dcfb455df0a1: Pull complete [2020-06-23T20:40:59.993Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-23T20:40:59.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-23T20:40:59.993Z] ---> 7c70fe431013 [2020-06-23T20:40:59.993Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-23T20:41:00.957Z] ---> Running in d35b055d7736 [2020-06-23T20:41:00.957Z] Removing intermediate container d35b055d7736 [2020-06-23T20:41:00.957Z] ---> d5520f927276 [2020-06-23T20:41:00.957Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-23T20:41:01.219Z] ---> Running in 3cd0b5855d2c [2020-06-23T20:41:01.219Z] Removing intermediate container 3cd0b5855d2c [2020-06-23T20:41:01.219Z] ---> ccf6653c28fb [2020-06-23T20:41:01.219Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-23T20:41:01.219Z] ---> Running in b189dd79f7e0 [2020-06-23T20:41:01.481Z] Removing intermediate container b189dd79f7e0 [2020-06-23T20:41:01.481Z] ---> cd019009d109 [2020-06-23T20:41:01.481Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-23T20:41:01.481Z] ---> Running in 99f377d70b5f [2020-06-23T20:41:02.875Z] Removing intermediate container 99f377d70b5f [2020-06-23T20:41:02.875Z] ---> ffe37ce877b3 [2020-06-23T20:41:02.875Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-23T20:41:03.136Z] ---> Running in a5cf647b24ac [2020-06-23T20:41:03.710Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-23T20:41:04.655Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-23T20:41:05.226Z] OK: 143 MiB in 39 packages [2020-06-23T20:41:05.487Z] Removing intermediate container a5cf647b24ac [2020-06-23T20:41:05.487Z] ---> 29850642df54 [2020-06-23T20:41:05.487Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-23T20:41:05.487Z] ---> Running in 4ab70771e3d0 [2020-06-23T20:41:05.749Z] Removing intermediate container 4ab70771e3d0 [2020-06-23T20:41:05.749Z] ---> 97fb2a184a21 [2020-06-23T20:41:05.749Z] Step 9/10 : COPY . . [2020-06-23T20:41:06.695Z] ---> 88a8d499b094 [2020-06-23T20:41:06.696Z] Step 10/10 : RUN go mod download [2020-06-23T20:41:06.696Z] ---> Running in 0a16a93b213c [2020-06-23T20:41:08.627Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-23T20:41:08.627Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-23T20:41:08.627Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-23T20:41:08.627Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-23T20:41:08.627Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-23T20:41:08.627Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-23T20:41:08.627Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-23T20:41:08.627Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-23T20:41:08.627Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-23T20:41:08.627Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-23T20:41:08.887Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-23T20:41:08.887Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-23T20:41:08.887Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-23T20:41:08.887Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-23T20:41:08.887Z] go: finding github.com/fatih/color v1.7.0 [2020-06-23T20:41:08.888Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-23T20:41:08.888Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-23T20:41:08.888Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-23T20:41:08.888Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-23T20:41:08.888Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-23T20:41:08.888Z] go: finding github.com/google/uuid v1.1.0 [2020-06-23T20:41:08.888Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-23T20:41:09.148Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-23T20:41:09.148Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-23T20:41:09.148Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-23T20:41:09.148Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-23T20:41:09.148Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-23T20:41:09.148Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-23T20:41:09.148Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-23T20:41:09.148Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-23T20:41:09.148Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-23T20:41:09.148Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-23T20:41:09.148Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-23T20:41:09.149Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-23T20:41:09.415Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-23T20:41:09.415Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-23T20:41:09.415Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-23T20:41:09.415Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-23T20:41:09.415Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-23T20:41:09.415Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-23T20:41:09.415Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-23T20:41:09.415Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-23T20:41:09.676Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-23T20:41:09.676Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-23T20:41:09.676Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-23T20:41:09.676Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-23T20:41:09.676Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-23T20:41:09.677Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-23T20:41:09.677Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-23T20:41:09.677Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-23T20:41:09.677Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-23T20:41:09.677Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-23T20:41:09.677Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-23T20:41:09.677Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-23T20:41:09.937Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-23T20:41:09.937Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-23T20:41:09.937Z] go: finding github.com/posener/complete v1.1.1 [2020-06-23T20:41:09.937Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-23T20:41:09.937Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-23T20:41:09.937Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-23T20:41:09.937Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-23T20:41:09.937Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-23T20:41:09.937Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-23T20:41:09.937Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-23T20:41:09.937Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-23T20:41:09.937Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-23T20:41:10.198Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-23T20:41:10.198Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-23T20:41:10.198Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-23T20:41:10.198Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-23T20:41:18.377Z] Removing intermediate container 0a16a93b213c [2020-06-23T20:41:18.377Z] ---> a3eaab18dcd3 [2020-06-23T20:41:18.378Z] Successfully built a3eaab18dcd3 [2020-06-23T20:41:18.378Z] 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 [2020-06-23T20:41:18.858Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-23T20:41:18.858Z] . [Pipeline] withDockerContainer [2020-06-23T20:41:18.956Z] prd-centos7-docker-4c-2g-4195 does not seem to be running inside a container [2020-06-23T20:41:19.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 [2020-06-23T20:41:20.226Z] $ docker top be10b8a664a12cac35d75e4a145e1deab302a3d64ccf3a880a197e4b8471662c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-23T20:41:20.708Z] + go version [2020-06-23T20:41:20.708Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-23T20:41:21.002Z] + make test [2020-06-23T20:41:21.002Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-23T20:41:21.960Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-23T20:41:32.098Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-23T20:41:32.098Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 56.3% of statements [2020-06-23T20:41:32.098Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-23T20:41:33.492Z] gofmt -l . [2020-06-23T20:41:33.758Z] [ "`gofmt -l .`" = "" ] [2020-06-23T20:41:33.758Z] ./bin/test-go-mod-tidy.sh [2020-06-23T20:41:34.334Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-23T20:41:34.582Z] Stashed 1 file(s) [Pipeline] } [2020-06-23T20:41:34.588Z] $ docker stop --time=1 be10b8a664a12cac35d75e4a145e1deab302a3d64ccf3a880a197e4b8471662c [2020-06-23T20:41:36.808Z] $ docker rm -f be10b8a664a12cac35d75e4a145e1deab302a3d64ccf3a880a197e4b8471662c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-23T20:41:38.553Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-23T20:41:38.848Z] + ls -al . [2020-06-23T20:41:38.848Z] total 96 [2020-06-23T20:41:38.848Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jun 23 20:41 . [2020-06-23T20:41:38.848Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 23 20:40 .. [2020-06-23T20:41:38.848Z] -rw-rw-r--. 1 jenkins jenkins 4802 Jun 23 20:40 Attribution.txt [2020-06-23T20:41:38.848Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 23 20:40 bin [2020-06-23T20:41:38.848Z] drwxrwxr-x. 3 jenkins jenkins 51 Jun 23 20:40 cmd [2020-06-23T20:41:38.848Z] -rw-r--r--. 1 jenkins jenkins 9369 Jun 23 20:41 coverage.out [2020-06-23T20:41:38.848Z] -rw-rw-r--. 1 jenkins jenkins 1504 Jun 23 20:40 Dockerfile [2020-06-23T20:41:38.848Z] -rw-rw-r--. 1 jenkins jenkins 989 Jun 23 20:40 Dockerfile.build [2020-06-23T20:41:38.848Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 23 20:40 .dockerignore [2020-06-23T20:41:38.848Z] drwxrwxr-x. 2 jenkins jenkins 93 Jun 23 20:41 driver [2020-06-23T20:41:38.848Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 23 20:40 .git [2020-06-23T20:41:38.848Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 23 20:40 .github [2020-06-23T20:41:38.848Z] -rw-rw-r--. 1 jenkins jenkins 339 Jun 23 20:40 .gitignore [2020-06-23T20:41:38.848Z] -rw-r--r--. 1 jenkins jenkins 266 Jun 23 20:41 go.mod [2020-06-23T20:41:38.848Z] -rw-r--r--. 1 jenkins jenkins 12533 Jun 23 20:41 go.sum [2020-06-23T20:41:38.848Z] -rw-rw-r--. 1 jenkins jenkins 702 Jun 23 20:40 Jenkinsfile [2020-06-23T20:41:38.848Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 23 20:40 LICENSE [2020-06-23T20:41:38.848Z] -rw-rw-r--. 1 jenkins jenkins 951 Jun 23 20:40 Makefile [2020-06-23T20:41:38.848Z] -rw-rw-r--. 1 jenkins jenkins 5716 Jun 23 20:40 README.md [2020-06-23T20:41:38.848Z] drwxrwxr-x. 3 jenkins jenkins 45 Jun 23 20:40 .semver [2020-06-23T20:41:38.848Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 23 20:40 snap [2020-06-23T20:41:38.848Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 23 20:40 VERSION [2020-06-23T20:41:38.848Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 23 20:40 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-23T20:41:39.146Z] + 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=b1c8a3d9fe9bcda40898d3ec32fec9442922b96d --label arch=amd64 --label version=0.0.0 . [2020-06-23T20:41:39.407Z] Sending build context to Docker daemon 23.18MB [2020-06-23T20:41:39.407Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-23T20:41:39.407Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-23T20:41:39.407Z] ---> a3eaab18dcd3 [2020-06-23T20:41:39.407Z] Step 3/24 : ARG MAKE='make build' [2020-06-23T20:41:39.407Z] ---> Running in cdd7af59b4ce [2020-06-23T20:41:39.668Z] Removing intermediate container cdd7af59b4ce [2020-06-23T20:41:39.668Z] ---> 60982344b629 [2020-06-23T20:41:39.668Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-23T20:41:39.668Z] ---> Running in 356d122d2410 [2020-06-23T20:41:39.933Z] Removing intermediate container 356d122d2410 [2020-06-23T20:41:39.933Z] ---> d0e96aec5515 [2020-06-23T20:41:39.933Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-23T20:41:39.933Z] ---> Running in 911e27af740e [2020-06-23T20:41:40.195Z] Removing intermediate container 911e27af740e [2020-06-23T20:41:40.195Z] ---> d811a0ec5491 [2020-06-23T20:41:40.195Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-23T20:41:40.195Z] ---> Running in b585b8adcfbc [2020-06-23T20:41:41.147Z] Removing intermediate container b585b8adcfbc [2020-06-23T20:41:41.147Z] ---> de45c7c077d6 [2020-06-23T20:41:41.147Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-23T20:41:41.147Z] ---> Running in c7e606f5ca5d [2020-06-23T20:41:41.730Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-23T20:41:42.686Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-23T20:41:43.260Z] OK: 143 MiB in 39 packages [2020-06-23T20:41:43.523Z] Removing intermediate container c7e606f5ca5d [2020-06-23T20:41:43.523Z] ---> d00bf1ac45b6 [2020-06-23T20:41:43.523Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-23T20:41:43.789Z] ---> Running in 94540d93a622 [2020-06-23T20:41:43.789Z] Removing intermediate container 94540d93a622 [2020-06-23T20:41:43.789Z] ---> 6fc6d7c82cbe [2020-06-23T20:41:43.789Z] Step 9/24 : COPY go.mod . [2020-06-23T20:41:44.052Z] ---> c6d6de126f73 [2020-06-23T20:41:44.052Z] Step 10/24 : COPY Makefile . [2020-06-23T20:41:44.314Z] ---> 7215361acfdd [2020-06-23T20:41:44.314Z] Step 11/24 : RUN make update [2020-06-23T20:41:44.314Z] ---> Running in 3d8d4486c937 [2020-06-23T20:41:44.898Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-23T20:41:45.472Z] Removing intermediate container 3d8d4486c937 [2020-06-23T20:41:45.472Z] ---> 2b4c3099a913 [2020-06-23T20:41:45.472Z] Step 12/24 : COPY . . [2020-06-23T20:41:46.056Z] ---> 6790199694ff [2020-06-23T20:41:46.056Z] Step 13/24 : RUN $MAKE [2020-06-23T20:41:46.056Z] ---> Running in 04fc177c81a3 [2020-06-23T20:41:46.634Z] 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 [2020-06-23T20:41:56.682Z] Removing intermediate container 04fc177c81a3 [2020-06-23T20:41:56.682Z] ---> 1b09cfced260 [2020-06-23T20:41:56.682Z] Step 14/24 : FROM alpine:latest [2020-06-23T20:41:56.943Z] latest: Pulling from library/alpine [2020-06-23T20:41:56.943Z] df20fa9351a1: Pulling fs layer [2020-06-23T20:41:57.203Z] df20fa9351a1: Verifying Checksum [2020-06-23T20:41:57.203Z] df20fa9351a1: Download complete [2020-06-23T20:41:57.464Z] df20fa9351a1: Pull complete [2020-06-23T20:41:57.464Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-23T20:41:57.464Z] Status: Downloaded newer image for alpine:latest [2020-06-23T20:41:57.464Z] ---> a24bb4013296 [2020-06-23T20:41:57.464Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-23T20:41:57.464Z] ---> Running in efdfaaa1e4c1 [2020-06-23T20:41:57.726Z] Removing intermediate container efdfaaa1e4c1 [2020-06-23T20:41:57.726Z] ---> 910e1b7ba638 [2020-06-23T20:41:57.726Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-23T20:41:57.726Z] ---> Running in 8f095f7cfe5f [2020-06-23T20:41:57.726Z] Removing intermediate container 8f095f7cfe5f [2020-06-23T20:41:57.726Z] ---> 340b6ff1a159 [2020-06-23T20:41:57.726Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-23T20:41:57.987Z] ---> df28768a4a97 [2020-06-23T20:41:57.987Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-23T20:41:58.249Z] ---> d154132297ba [2020-06-23T20:41:58.249Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-23T20:41:59.196Z] ---> 626444ad51c0 [2020-06-23T20:41:59.196Z] Step 20/24 : EXPOSE 49986 [2020-06-23T20:41:59.196Z] ---> Running in bb68e458bd5d [2020-06-23T20:41:59.457Z] Removing intermediate container bb68e458bd5d [2020-06-23T20:41:59.457Z] ---> 7f281b8b8cf4 [2020-06-23T20:41:59.457Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-23T20:41:59.457Z] ---> Running in 013f9cf5c41f [2020-06-23T20:41:59.718Z] Removing intermediate container 013f9cf5c41f [2020-06-23T20:41:59.718Z] ---> 61c13f0295b9 [2020-06-23T20:41:59.718Z] Step 22/24 : LABEL arch=amd64 [2020-06-23T20:41:59.718Z] ---> Running in b241b398fbde [2020-06-23T20:41:59.718Z] Removing intermediate container b241b398fbde [2020-06-23T20:41:59.718Z] ---> fea7a48e9e41 [2020-06-23T20:41:59.718Z] Step 23/24 : LABEL git_sha=b1c8a3d9fe9bcda40898d3ec32fec9442922b96d [2020-06-23T20:41:59.979Z] ---> Running in 18d52de60f4a [2020-06-23T20:41:59.980Z] Removing intermediate container 18d52de60f4a [2020-06-23T20:41:59.980Z] ---> 58e96cd96371 [2020-06-23T20:41:59.980Z] Step 24/24 : LABEL version=0.0.0 [2020-06-23T20:41:59.980Z] ---> Running in 88fb2de24402 [2020-06-23T20:42:00.241Z] Removing intermediate container 88fb2de24402 [2020-06-23T20:42:00.241Z] ---> 4ddcb5b53b8e [2020-06-23T20:42:00.241Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-23T20:42:00.241Z] Successfully built 4ddcb5b53b8e [2020-06-23T20:42:00.241Z] 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] } [2020-06-23T20:42:22.647Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4196 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws [2020-06-23T20:42:22.677Z] Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout [2020-06-23T20:42:28.211Z] using credential edgex-jenkins-ssh [2020-06-23T20:42:28.246Z] Cloning the remote Git repository [2020-06-23T20:42:28.246Z] Cloning with configured refspecs honoured and without tags [2020-06-23T20:42:28.286Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T20:42:28.438Z] > git init /w/workspace/device-rest-go/7 # timeout=10 [2020-06-23T20:42:28.521Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T20:42:28.522Z] > git --version # timeout=10 [2020-06-23T20:42:28.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T20:42:28.641Z] > 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 [2020-06-23T20:42:30.934Z] Fetching without tags [2020-06-23T20:42:31.470Z] Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 2cc02306b7a402dbbbaec292b51a0d972c884667 [2020-06-23T20:42:30.814Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-23T20:42:30.836Z] > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 [2020-06-23T20:42:30.849Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-23T20:42:30.880Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-23T20:42:30.920Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T20:42:30.921Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T20:42:30.933Z] > 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 [2020-06-23T20:42:31.461Z] > git config core.sparsecheckout # timeout=10 [2020-06-23T20:42:31.493Z] > git checkout -f 2cc02306b7a402dbbbaec292b51a0d972c884667 # timeout=10 [2020-06-23T20:42:32.336Z] Merge succeeded, producing 313258b362e3df791cca5286034923bd65b6c08b [2020-06-23T20:42:32.336Z] Checking out Revision 313258b362e3df791cca5286034923bd65b6c08b (PR-27) [2020-06-23T20:42:31.807Z] > git remote # timeout=10 [2020-06-23T20:42:31.825Z] > git config --get remote.origin.url # timeout=10 [2020-06-23T20:42:31.837Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T20:42:31.847Z] > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 [2020-06-23T20:42:32.286Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-23T20:42:32.316Z] > git config core.sparsecheckout # timeout=10 [2020-06-23T20:42:32.384Z] > git checkout -f 313258b362e3df791cca5286034923bd65b6c08b # timeout=10 [2020-06-23T20:42:36.816Z] Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" [2020-06-23T20:42:36.849Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-06-23T20:42:36.798Z] > git rev-list --no-walk 6cd080d4ef210ed05295b34cae3765f2aaae7cf9 # timeout=10 [Pipeline] echo [2020-06-23T20:42:38.723Z] ========================================================= [2020-06-23T20:42:38.723Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-23T20:42:38.723Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-23T20:42:39.794Z] + 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 . [2020-06-23T20:42:40.779Z] Sending build context to Docker daemon 23.17MB [2020-06-23T20:42:40.779Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-23T20:42:40.779Z] Step 2/10 : FROM ${BASE} [2020-06-23T20:42:41.378Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-23T20:42:41.378Z] cde5963f3b93: Pulling fs layer [2020-06-23T20:42:41.378Z] 2a23fa8c16f7: Pulling fs layer [2020-06-23T20:42:41.378Z] 777b28850792: Pulling fs layer [2020-06-23T20:42:41.378Z] 8a11ddd9e578: Pulling fs layer [2020-06-23T20:42:41.378Z] 4cf88f913ddb: Pulling fs layer [2020-06-23T20:42:41.378Z] 1df406cf5192: Pulling fs layer [2020-06-23T20:42:41.378Z] cd6300453558: Pulling fs layer [2020-06-23T20:42:41.378Z] b9c365052c96: Pulling fs layer [2020-06-23T20:42:41.378Z] a2d8cc88f415: Pulling fs layer [2020-06-23T20:42:41.378Z] ea1d1ca13537: Pulling fs layer [2020-06-23T20:42:41.378Z] 3750a50a1c5e: Pulling fs layer [2020-06-23T20:42:41.378Z] 8a11ddd9e578: Waiting [2020-06-23T20:42:41.378Z] 4cf88f913ddb: Waiting [2020-06-23T20:42:41.378Z] 1df406cf5192: Waiting [2020-06-23T20:42:41.378Z] cd6300453558: Waiting [2020-06-23T20:42:41.378Z] b9c365052c96: Waiting [2020-06-23T20:42:41.378Z] a2d8cc88f415: Waiting [2020-06-23T20:42:41.378Z] ea1d1ca13537: Waiting [2020-06-23T20:42:41.378Z] 3750a50a1c5e: Waiting [2020-06-23T20:42:41.378Z] 777b28850792: Verifying Checksum [2020-06-23T20:42:41.378Z] 777b28850792: Download complete [2020-06-23T20:42:41.378Z] 2a23fa8c16f7: Verifying Checksum [2020-06-23T20:42:41.378Z] 2a23fa8c16f7: Download complete [2020-06-23T20:42:41.378Z] 4cf88f913ddb: Verifying Checksum [2020-06-23T20:42:41.378Z] 4cf88f913ddb: Download complete [2020-06-23T20:42:41.378Z] 1df406cf5192: Download complete [2020-06-23T20:42:41.378Z] cde5963f3b93: Verifying Checksum [2020-06-23T20:42:41.378Z] cde5963f3b93: Download complete [2020-06-23T20:42:41.991Z] cde5963f3b93: Pull complete [2020-06-23T20:42:42.994Z] 2a23fa8c16f7: Pull complete [2020-06-23T20:42:43.599Z] 777b28850792: Pull complete [2020-06-23T20:42:43.599Z] cd6300453558: Verifying Checksum [2020-06-23T20:42:43.599Z] cd6300453558: Download complete [2020-06-23T20:42:43.599Z] a2d8cc88f415: Verifying Checksum [2020-06-23T20:42:43.599Z] a2d8cc88f415: Download complete [2020-06-23T20:42:45.038Z] ea1d1ca13537: Verifying Checksum [2020-06-23T20:42:45.038Z] ea1d1ca13537: Download complete [2020-06-23T20:42:45.038Z] 3750a50a1c5e: Verifying Checksum [2020-06-23T20:42:45.038Z] 3750a50a1c5e: Download complete [2020-06-23T20:42:45.311Z] b9c365052c96: Verifying Checksum [2020-06-23T20:42:45.311Z] b9c365052c96: Download complete [2020-06-23T20:42:47.277Z] 8a11ddd9e578: Verifying Checksum [2020-06-23T20:42:47.277Z] 8a11ddd9e578: Download complete [2020-06-23T20:42:57.445Z] 8a11ddd9e578: Pull complete [2020-06-23T20:42:57.445Z] 4cf88f913ddb: Pull complete [2020-06-23T20:42:57.445Z] 1df406cf5192: Pull complete [2020-06-23T20:43:01.760Z] cd6300453558: Pull complete [2020-06-23T20:43:06.047Z] b9c365052c96: Pull complete [2020-06-23T20:43:06.047Z] a2d8cc88f415: Pull complete [2020-06-23T20:43:08.040Z] ea1d1ca13537: Pull complete [2020-06-23T20:43:08.311Z] 3750a50a1c5e: Pull complete [2020-06-23T20:43:08.311Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-23T20:43:08.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-23T20:43:08.311Z] ---> 78745c68409d [2020-06-23T20:43:08.311Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-23T20:43:13.697Z] ---> Running in 1aea338969d7 [2020-06-23T20:43:13.973Z] Removing intermediate container 1aea338969d7 [2020-06-23T20:43:13.973Z] ---> 40933109a552 [2020-06-23T20:43:13.973Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-23T20:43:13.973Z] ---> Running in 722836e9b76b [2020-06-23T20:43:14.569Z] Removing intermediate container 722836e9b76b [2020-06-23T20:43:14.569Z] ---> 2d6b681b5d2a [2020-06-23T20:43:14.569Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-23T20:43:14.569Z] ---> Running in 0a99fbd820be [2020-06-23T20:43:15.169Z] Removing intermediate container 0a99fbd820be [2020-06-23T20:43:15.169Z] ---> 278a6817564a [2020-06-23T20:43:15.169Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-23T20:43:15.169Z] ---> Running in 9bce0a394630 [2020-06-23T20:43:17.791Z] Removing intermediate container 9bce0a394630 [2020-06-23T20:43:17.791Z] ---> 7bb2345ecdb7 [2020-06-23T20:43:17.791Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-23T20:43:18.066Z] ---> Running in 40a26b459fb3 [2020-06-23T20:43:20.050Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-23T20:43:20.647Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-23T20:43:21.240Z] OK: 125 MiB in 39 packages [2020-06-23T20:43:22.229Z] Removing intermediate container 40a26b459fb3 [2020-06-23T20:43:22.229Z] ---> f673e1659985 [2020-06-23T20:43:22.229Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-23T20:43:22.502Z] ---> Running in 250fefe7f063 [2020-06-23T20:43:23.097Z] Removing intermediate container 250fefe7f063 [2020-06-23T20:43:23.097Z] ---> c3df77d3d7c1 [2020-06-23T20:43:23.097Z] Step 9/10 : COPY . . [2020-06-23T20:43:25.070Z] ---> 89ab77def328 [2020-06-23T20:43:25.070Z] Step 10/10 : RUN go mod download [2020-06-23T20:43:25.070Z] ---> Running in 3cb2c187e25d [2020-06-23T20:43:27.790Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-23T20:43:27.790Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-23T20:43:27.790Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-23T20:43:27.790Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-23T20:43:27.790Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-23T20:43:27.790Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-23T20:43:27.790Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-23T20:43:27.790Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-23T20:43:27.790Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-23T20:43:27.790Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-23T20:43:27.790Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-23T20:43:28.062Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-23T20:43:28.062Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-23T20:43:28.062Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-23T20:43:28.062Z] go: finding github.com/fatih/color v1.7.0 [2020-06-23T20:43:28.062Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-23T20:43:28.062Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-23T20:43:28.062Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-23T20:43:28.062Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-23T20:43:28.062Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-23T20:43:28.062Z] go: finding github.com/google/uuid v1.1.0 [2020-06-23T20:43:28.062Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-23T20:43:28.062Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-23T20:43:28.334Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-23T20:43:28.334Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-23T20:43:28.334Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-23T20:43:28.334Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-23T20:43:28.334Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-23T20:43:28.334Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-23T20:43:28.334Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-23T20:43:28.334Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-23T20:43:28.334Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-23T20:43:28.334Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-23T20:43:28.334Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-23T20:43:28.604Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-23T20:43:28.604Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-23T20:43:28.604Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-23T20:43:28.604Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-23T20:43:28.604Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-23T20:43:28.604Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-23T20:43:28.604Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-23T20:43:28.604Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-23T20:43:28.604Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-23T20:43:28.605Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-23T20:43:28.605Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-23T20:43:28.605Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-23T20:43:28.877Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-23T20:43:28.877Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-23T20:43:28.877Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-23T20:43:28.877Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-23T20:43:28.877Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-23T20:43:28.877Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-23T20:43:28.877Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-23T20:43:28.877Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-23T20:43:28.877Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-23T20:43:28.877Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-23T20:43:28.877Z] go: finding github.com/posener/complete v1.1.1 [2020-06-23T20:43:29.149Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-23T20:43:29.149Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-23T20:43:29.149Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-23T20:43:29.149Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-23T20:43:29.149Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-23T20:43:29.149Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-23T20:43:29.149Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-23T20:43:29.149Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-23T20:43:29.149Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-23T20:43:29.149Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-23T20:43:29.149Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-23T20:43:29.431Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-23T20:43:29.431Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-23T20:43:39.620Z] Removing intermediate container 3cb2c187e25d [2020-06-23T20:43:39.620Z] ---> f5ccfb61e3fe [2020-06-23T20:43:39.620Z] Successfully built f5ccfb61e3fe [2020-06-23T20:43:39.620Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-23T20:43:40.188Z] + docker inspect -f . ci-base-image-arm64 [2020-06-23T20:43:40.188Z] . [Pipeline] withDockerContainer [2020-06-23T20:43:40.464Z] prd-ubuntu18.04-docker-arm64-4c-16g-4196 does not seem to be running inside a container [2020-06-23T20:43:40.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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-arm64 cat [2020-06-23T20:43:42.385Z] $ docker top d56bc4b60a237f1c7b2de424b8fb9c6b0d68750578d5de9d4d39b85efdd1779f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-23T20:43:43.823Z] + go version [2020-06-23T20:43:43.823Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-23T20:43:44.878Z] + make test [2020-06-23T20:43:44.878Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-23T20:43:45.869Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-23T20:44:18.206Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-23T20:44:18.206Z] ok github.com/edgexfoundry/device-rest-go/driver 0.034s coverage: 56.3% of statements [2020-06-23T20:44:18.206Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-23T20:44:21.580Z] gofmt -l . [2020-06-23T20:44:21.580Z] [ "`gofmt -l .`" = "" ] [2020-06-23T20:44:21.580Z] ./bin/test-go-mod-tidy.sh [2020-06-23T20:44:22.179Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-23T20:44:22.783Z] Warning: overwriting stash ‘coverage-report’ [2020-06-23T20:44:23.124Z] Stashed 1 file(s) [Pipeline] } [2020-06-23T20:44:23.100Z] $ docker stop --time=1 d56bc4b60a237f1c7b2de424b8fb9c6b0d68750578d5de9d4d39b85efdd1779f [2020-06-23T20:44:25.129Z] $ docker rm -f d56bc4b60a237f1c7b2de424b8fb9c6b0d68750578d5de9d4d39b85efdd1779f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-23T20:44:26.101Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-23T20:44:26.426Z] + ls -al . [2020-06-23T20:44:26.426Z] total 128 [2020-06-23T20:44:26.426Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 20:44 . [2020-06-23T20:44:26.426Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 20:42 .. [2020-06-23T20:44:26.426Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 23 20:42 .dockerignore [2020-06-23T20:44:26.426Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 20:42 .git [2020-06-23T20:44:26.426Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 20:42 .github [2020-06-23T20:44:26.426Z] -rw-rw-r-- 1 jenkins jenkins 339 Jun 23 20:42 .gitignore [2020-06-23T20:44:26.426Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 20:42 .semver [2020-06-23T20:44:26.426Z] -rw-rw-r-- 1 jenkins jenkins 4802 Jun 23 20:42 Attribution.txt [2020-06-23T20:44:26.426Z] -rw-rw-r-- 1 jenkins jenkins 1504 Jun 23 20:42 Dockerfile [2020-06-23T20:44:26.426Z] -rw-rw-r-- 1 jenkins jenkins 989 Jun 23 20:42 Dockerfile.build [2020-06-23T20:44:26.426Z] -rw-rw-r-- 1 jenkins jenkins 702 Jun 23 20:42 Jenkinsfile [2020-06-23T20:44:26.426Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 23 20:42 LICENSE [2020-06-23T20:44:26.426Z] -rw-rw-r-- 1 jenkins jenkins 951 Jun 23 20:42 Makefile [2020-06-23T20:44:26.426Z] -rw-rw-r-- 1 jenkins jenkins 5716 Jun 23 20:42 README.md [2020-06-23T20:44:26.426Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 20:40 VERSION [2020-06-23T20:44:26.426Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 20:42 bin [2020-06-23T20:44:26.426Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 20:42 cmd [2020-06-23T20:44:26.426Z] -rw-r--r-- 1 jenkins jenkins 9369 Jun 23 20:44 coverage.out [2020-06-23T20:44:26.426Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 20:44 driver [2020-06-23T20:44:26.426Z] -rw-r--r-- 1 jenkins jenkins 266 Jun 23 20:44 go.mod [2020-06-23T20:44:26.426Z] -rw-r--r-- 1 jenkins jenkins 12533 Jun 23 20:44 go.sum [2020-06-23T20:44:26.426Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 20:42 snap [2020-06-23T20:44:26.426Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 23 20:42 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-23T20:44:26.758Z] + 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=b1c8a3d9fe9bcda40898d3ec32fec9442922b96d --label arch=arm64 --label version=0.0.0 . [2020-06-23T20:44:27.349Z] Sending build context to Docker daemon 23.18MB [2020-06-23T20:44:27.349Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-23T20:44:27.349Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-23T20:44:27.349Z] ---> f5ccfb61e3fe [2020-06-23T20:44:27.349Z] Step 3/24 : ARG MAKE='make build' [2020-06-23T20:44:27.623Z] ---> Running in c63c26e50814 [2020-06-23T20:44:28.217Z] Removing intermediate container c63c26e50814 [2020-06-23T20:44:28.217Z] ---> 7a7684d62b74 [2020-06-23T20:44:28.217Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-23T20:44:28.217Z] ---> Running in 916366b62c27 [2020-06-23T20:44:28.490Z] Removing intermediate container 916366b62c27 [2020-06-23T20:44:28.490Z] ---> 108b0b1cd04e [2020-06-23T20:44:28.490Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-23T20:44:28.761Z] ---> Running in 38b6bc6e6b3b [2020-06-23T20:44:29.032Z] Removing intermediate container 38b6bc6e6b3b [2020-06-23T20:44:29.032Z] ---> 2b55fab93a8a [2020-06-23T20:44:29.032Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-23T20:44:29.306Z] ---> Running in b93b3afb0e6b [2020-06-23T20:44:31.925Z] Removing intermediate container b93b3afb0e6b [2020-06-23T20:44:31.925Z] ---> 934b79fd8b58 [2020-06-23T20:44:31.925Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-23T20:44:31.925Z] ---> Running in 8bf138076766 [2020-06-23T20:44:33.353Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-23T20:44:33.944Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-23T20:44:34.537Z] OK: 125 MiB in 39 packages [2020-06-23T20:44:35.518Z] Removing intermediate container 8bf138076766 [2020-06-23T20:44:35.518Z] ---> 1cceee2fa57a [2020-06-23T20:44:35.518Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-23T20:44:35.791Z] ---> Running in 7811ce6bca9a [2020-06-23T20:44:36.063Z] Removing intermediate container 7811ce6bca9a [2020-06-23T20:44:36.063Z] ---> d873b5fd3d18 [2020-06-23T20:44:36.063Z] Step 9/24 : COPY go.mod . [2020-06-23T20:44:37.042Z] ---> 6e92af78e085 [2020-06-23T20:44:37.043Z] Step 10/24 : COPY Makefile . [2020-06-23T20:44:37.635Z] ---> 7a434e48e12c [2020-06-23T20:44:37.635Z] Step 11/24 : RUN make update [2020-06-23T20:44:37.635Z] ---> Running in bed06ff2a8c2 [2020-06-23T20:44:39.063Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-23T20:44:40.039Z] Removing intermediate container bed06ff2a8c2 [2020-06-23T20:44:40.039Z] ---> f3adb60af13a [2020-06-23T20:44:40.039Z] Step 12/24 : COPY . . [2020-06-23T20:44:42.009Z] ---> 10fecbf51c43 [2020-06-23T20:44:42.009Z] Step 13/24 : RUN $MAKE [2020-06-23T20:44:42.009Z] ---> Running in 467917d573b7 [2020-06-23T20:44:43.440Z] 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 [2020-06-23T20:45:10.237Z] Removing intermediate container 467917d573b7 [2020-06-23T20:45:10.237Z] ---> dcfef3b8b49b [2020-06-23T20:45:10.237Z] Step 14/24 : FROM alpine:latest [2020-06-23T20:45:10.237Z] latest: Pulling from library/alpine [2020-06-23T20:45:10.237Z] b538f80385f9: Pulling fs layer [2020-06-23T20:45:10.237Z] b538f80385f9: Download complete [2020-06-23T20:45:10.510Z] b538f80385f9: Pull complete [2020-06-23T20:45:10.510Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-23T20:45:10.510Z] Status: Downloaded newer image for alpine:latest [2020-06-23T20:45:10.510Z] ---> 62ee0e9f8440 [2020-06-23T20:45:10.510Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-23T20:45:10.784Z] ---> Running in 56c874f4f49b [2020-06-23T20:45:11.379Z] Removing intermediate container 56c874f4f49b [2020-06-23T20:45:11.379Z] ---> 65cb4ad84028 [2020-06-23T20:45:11.379Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-23T20:45:11.379Z] ---> Running in ead4ee08b977 [2020-06-23T20:45:11.663Z] Removing intermediate container ead4ee08b977 [2020-06-23T20:45:11.663Z] ---> 5ab0ccae2f50 [2020-06-23T20:45:11.663Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-23T20:45:12.638Z] ---> 764277b076b1 [2020-06-23T20:45:12.638Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-23T20:45:13.233Z] ---> 3043bac9c0f8 [2020-06-23T20:45:13.233Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-23T20:45:15.212Z] ---> 18bc387aebd4 [2020-06-23T20:45:15.212Z] Step 20/24 : EXPOSE 49986 [2020-06-23T20:45:15.212Z] ---> Running in 53f2b39c63f8 [2020-06-23T20:45:15.873Z] Removing intermediate container 53f2b39c63f8 [2020-06-23T20:45:15.873Z] ---> ec448cfef97f [2020-06-23T20:45:15.873Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-23T20:45:15.873Z] ---> Running in 768bd68a756c [2020-06-23T20:45:16.494Z] Removing intermediate container 768bd68a756c [2020-06-23T20:45:16.494Z] ---> 3f75c3618f71 [2020-06-23T20:45:16.494Z] Step 22/24 : LABEL arch=arm64 [2020-06-23T20:45:16.494Z] ---> Running in b894e706cf87 [2020-06-23T20:45:17.117Z] Removing intermediate container b894e706cf87 [2020-06-23T20:45:17.117Z] ---> dfe93b37d11f [2020-06-23T20:45:17.117Z] Step 23/24 : LABEL git_sha=b1c8a3d9fe9bcda40898d3ec32fec9442922b96d [2020-06-23T20:45:17.117Z] ---> Running in 0abf52a21ac1 [2020-06-23T20:45:17.722Z] Removing intermediate container 0abf52a21ac1 [2020-06-23T20:45:17.722Z] ---> 0593ac93c97b [2020-06-23T20:45:17.722Z] Step 24/24 : LABEL version=0.0.0 [2020-06-23T20:45:17.722Z] ---> Running in d9d95b2d8be4 [2020-06-23T20:45:18.318Z] Removing intermediate container d9d95b2d8be4 [2020-06-23T20:45:18.318Z] ---> 128f0b4711dc [2020-06-23T20:45:18.318Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-23T20:45:18.318Z] Successfully built 128f0b4711dc [2020-06-23T20:45:18.318Z] 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 [2020-06-23T20:45:19.138Z] provisioning config files... [2020-06-23T20:45:19.160Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config3328322977440742398tmp [Pipeline] { [Pipeline] sh [2020-06-23T20:45:19.595Z] + curl -s https://codecov.io/bash [2020-06-23T20:45:19.595Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config3328322977440742398tmp [2020-06-23T20:45:19.879Z] [2020-06-23T20:45:19.879Z] _____ _ [2020-06-23T20:45:19.879Z] / ____| | | [2020-06-23T20:45:19.879Z] | | ___ __| | ___ ___ _____ __ [2020-06-23T20:45:19.879Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-23T20:45:19.879Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-23T20:45:19.879Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-23T20:45:19.879Z] Bash-20200602-f809a24 [2020-06-23T20:45:19.879Z] [2020-06-23T20:45:19.879Z] [2020-06-23T20:45:19.879Z] ==> Jenkins CI detected. [2020-06-23T20:45:19.879Z] project root: . [2020-06-23T20:45:19.879Z] Fixing merge commit SHA [2020-06-23T20:45:19.879Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-23T20:45:19.879Z] ==> Running gcov in . (disable via -X gcov) [2020-06-23T20:45:19.879Z] ==> Python coveragepy not found [2020-06-23T20:45:19.879Z] ==> Searching for coverage reports in: [2020-06-23T20:45:19.879Z] + . [2020-06-23T20:45:20.157Z] -> Found 1 reports [2020-06-23T20:45:20.157Z] ==> Detecting git/mercurial file structure [2020-06-23T20:45:20.157Z] ==> Reading reports [2020-06-23T20:45:20.157Z] + ./coverage.out bytes=9369 [2020-06-23T20:45:20.157Z] ==> Appending adjustments [2020-06-23T20:45:20.157Z] https://docs.codecov.io/docs/fixing-reports [2020-06-23T20:45:20.157Z] + Found adjustments [2020-06-23T20:45:20.157Z] ==> Gzipping contents [2020-06-23T20:45:20.157Z] ==> Uploading reports [2020-06-23T20:45:20.157Z] url: https://codecov.io [2020-06-23T20:45:20.157Z] query: branch=PR-27&commit=b106d00ae92e946d2103bc6c1464522635373c7b&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-27%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=27&job= [2020-06-23T20:45:20.157Z] -> Pinging Codecov [2020-06-23T20:45:20.157Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-27&commit=b106d00ae92e946d2103bc6c1464522635373c7b&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-27%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=27&job= [2020-06-23T20:45:20.767Z] -> Uploading [2020-06-23T20:45:21.400Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/b106d00ae92e946d2103bc6c1464522635373c7b [Pipeline] } [2020-06-23T20:45:21.425Z] 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 [2020-06-23T20:45:23.266Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-23T20:45:24.745Z] ---> package-listing.sh [2020-06-23T20:45:24.745Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-23T20:45:24.745Z] ++ facter osfamily [2020-06-23T20:45:25.018Z] + OS_FAMILY=redhat [2020-06-23T20:45:25.018Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-27 [2020-06-23T20:45:25.018Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-23T20:45:25.018Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-23T20:45:25.018Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-23T20:45:25.018Z] + PACKAGES=/tmp/packages_start.txt [2020-06-23T20:45:25.018Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' [2020-06-23T20:45:25.018Z] + PACKAGES=/tmp/packages_end.txt [2020-06-23T20:45:25.018Z] + case "${OS_FAMILY}" in [2020-06-23T20:45:25.018Z] + sort [2020-06-23T20:45:25.018Z] + rpm -qa [2020-06-23T20:45:31.858Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-23T20:45:31.858Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-23T20:45:31.858Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-23T20:45:31.858Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' [2020-06-23T20:45:31.858Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-27/archives/ [2020-06-23T20:45:31.858Z] + 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 [2020-06-23T20:45:32.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-23T20:45:32.325Z] [2020-06-23T20:45:32.325Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-23T20:45:32.724Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-23T20:45:32.724Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-23T20:45:32.724Z] c9b1b535fdd9: Pulling fs layer [2020-06-23T20:45:32.724Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-23T20:45:32.724Z] 756a868c4378: Pulling fs layer [2020-06-23T20:45:32.724Z] 444b2fc9a129: Pulling fs layer [2020-06-23T20:45:32.724Z] ea15f1150254: Pulling fs layer [2020-06-23T20:45:32.724Z] 41b27a9f41bf: Pulling fs layer [2020-06-23T20:45:32.724Z] 28c525ee5125: Pulling fs layer [2020-06-23T20:45:32.724Z] 094b1ea09ed8: Pulling fs layer [2020-06-23T20:45:32.724Z] 138eaada9080: Pulling fs layer [2020-06-23T20:45:32.724Z] 0622d0fa9048: Pulling fs layer [2020-06-23T20:45:32.724Z] 444b2fc9a129: Waiting [2020-06-23T20:45:32.724Z] ea15f1150254: Waiting [2020-06-23T20:45:32.725Z] 41b27a9f41bf: Waiting [2020-06-23T20:45:32.725Z] 28c525ee5125: Waiting [2020-06-23T20:45:32.725Z] 094b1ea09ed8: Waiting [2020-06-23T20:45:32.725Z] 138eaada9080: Waiting [2020-06-23T20:45:32.725Z] 0622d0fa9048: Waiting [2020-06-23T20:45:32.725Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-23T20:45:32.725Z] 2cc5ad85d9ab: Download complete [2020-06-23T20:45:33.044Z] 444b2fc9a129: Verifying Checksum [2020-06-23T20:45:33.044Z] 444b2fc9a129: Download complete [2020-06-23T20:45:33.044Z] c9b1b535fdd9: Verifying Checksum [2020-06-23T20:45:33.044Z] c9b1b535fdd9: Download complete [2020-06-23T20:45:33.377Z] ea15f1150254: Verifying Checksum [2020-06-23T20:45:33.377Z] ea15f1150254: Download complete [2020-06-23T20:45:33.819Z] 28c525ee5125: Verifying Checksum [2020-06-23T20:45:33.819Z] 28c525ee5125: Download complete [2020-06-23T20:45:34.601Z] c9b1b535fdd9: Pull complete [2020-06-23T20:45:34.601Z] 756a868c4378: Verifying Checksum [2020-06-23T20:45:34.601Z] 756a868c4378: Download complete [2020-06-23T20:45:34.904Z] 138eaada9080: Verifying Checksum [2020-06-23T20:45:34.904Z] 138eaada9080: Download complete [2020-06-23T20:45:34.904Z] 0622d0fa9048: Verifying Checksum [2020-06-23T20:45:34.904Z] 0622d0fa9048: Download complete [2020-06-23T20:45:34.904Z] 2cc5ad85d9ab: Pull complete [2020-06-23T20:45:35.177Z] 094b1ea09ed8: Verifying Checksum [2020-06-23T20:45:35.177Z] 094b1ea09ed8: Download complete [2020-06-23T20:45:36.301Z] 41b27a9f41bf: Verifying Checksum [2020-06-23T20:45:36.301Z] 41b27a9f41bf: Download complete [2020-06-23T20:45:37.367Z] 756a868c4378: Pull complete [2020-06-23T20:45:37.679Z] 444b2fc9a129: Pull complete [2020-06-23T20:45:38.299Z] ea15f1150254: Pull complete [2020-06-23T20:45:44.503Z] 41b27a9f41bf: Pull complete [2020-06-23T20:45:44.779Z] 28c525ee5125: Pull complete [2020-06-23T20:45:50.567Z] 094b1ea09ed8: Pull complete [2020-06-23T20:45:50.567Z] 138eaada9080: Pull complete [2020-06-23T20:45:50.567Z] 0622d0fa9048: Pull complete [2020-06-23T20:45:50.836Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-23T20:45:50.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-23T20:45:50.836Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-23T20:45:51.627Z] prd-centos7-docker-4c-2g-4193 does not seem to be running inside a container [2020-06-23T20:45:51.799Z] $ 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 [2020-06-23T20:45:54.270Z] $ docker top 4dd29e7fb7131f9e2688e51fcb301cb0938469f6cf21023b25576429f2bbdd7f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-23T20:45:54.591Z] provisioning config files... [2020-06-23T20:45:54.610Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config3151526254141606345tmp [Pipeline] { [Pipeline] echo [2020-06-23T20:45:54.652Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-23T20:45:54.954Z] ---> create-netrc.sh [Pipeline] echo [2020-06-23T20:45:54.967Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-23T20:45:55.270Z] ---> logs-deploy.sh [2020-06-23T20:45:55.270Z] + ARCHIVE_ARTIFACTS= [2020-06-23T20:45:55.270Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-23T20:45:55.270Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-23T20:45:55.270Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-23T20:45:55.270Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/7 [2020-06-23T20:45:55.270Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/7/ [2020-06-23T20:45:55.270Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/7 /w/workspace/dgexfoundry_device-rest-go_PR-27 [2020-06-23T20:45:57.905Z] Archives upload complete. [2020-06-23T20:45:57.905Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/7 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/7/