Pull request #27 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5c79e54fdda5fe116d84b32e1c5b179927be78e1+b106d00ae92e946d2103bc6c1464522635373c7b (4120366327dc84023dcaf5784f5cdb2bb38b4f6a) 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4199 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 5c79e54fdda5fe116d84b32e1c5b179927be78e1 Merge succeeded, producing 8f010bcd03d83364f95e648ae9b65579d8c4c688 Checking out Revision 8f010bcd03d83364f95e648ae9b65579d8c4c688 (PR-27) > 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 5c79e54fdda5fe116d84b32e1c5b179927be78e1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f010bcd03d83364f95e648ae9b65579d8c4c688 # timeout=10 Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk b1c8a3d9fe9bcda40898d3ec32fec9442922b96d # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-23T20:45:03.549Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-23T20:45:03.663Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-23T20:45:03.705Z] ========================================================= [2020-06-23T20:45:03.705Z] EdgeX Global Pipelines Version Info [2020-06-23T20:45:03.705Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-23T20:45:05.608Z] ------------------- [2020-06-23T20:45:05.608Z] stable info: [2020-06-23T20:45:05.608Z] ------------------- [2020-06-23T20:45:05.608Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-23T20:45:05.608Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-23T20:45:05.608Z] Message: update stable to v1.0.89 [2020-06-23T20:45:06.179Z] ------------------- [2020-06-23T20:45:06.179Z] experimental info: [2020-06-23T20:45:06.179Z] ------------------- [2020-06-23T20:45:06.179Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-23T20:45:06.179Z] Commit SHA: aa323fb5dfebb31640c35badf05a5a9beff52318 [2020-06-23T20:45:06.179Z] 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:45:07.416Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-23T20:45:07.416Z] [2020-06-23T20:45:07.416Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-23T20:45:07.735Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-23T20:45:07.735Z] latest: Pulling from edgex-devops/git-semver [2020-06-23T20:45:07.735Z] 9123ac7c32f7: Pulling fs layer [2020-06-23T20:45:07.735Z] b8cc5d1170e3: Pulling fs layer [2020-06-23T20:45:07.735Z] 2924cbbf6a41: Pulling fs layer [2020-06-23T20:45:07.735Z] 93b08a4f1073: Pulling fs layer [2020-06-23T20:45:07.735Z] 93b08a4f1073: Waiting [2020-06-23T20:45:07.735Z] b8cc5d1170e3: Verifying Checksum [2020-06-23T20:45:07.735Z] b8cc5d1170e3: Download complete [2020-06-23T20:45:07.735Z] 9123ac7c32f7: Verifying Checksum [2020-06-23T20:45:07.735Z] 9123ac7c32f7: Download complete [2020-06-23T20:45:07.997Z] 93b08a4f1073: Verifying Checksum [2020-06-23T20:45:07.997Z] 93b08a4f1073: Download complete [2020-06-23T20:45:07.997Z] 2924cbbf6a41: Download complete [2020-06-23T20:45:07.997Z] 9123ac7c32f7: Pull complete [2020-06-23T20:45:08.261Z] b8cc5d1170e3: Pull complete [2020-06-23T20:45:08.840Z] 2924cbbf6a41: Pull complete [2020-06-23T20:45:09.102Z] 93b08a4f1073: Pull complete [2020-06-23T20:45:09.102Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-23T20:45:09.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-23T20:45:09.102Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-23T20:45:09.202Z] prd-centos7-docker-4c-2g-4199 does not seem to be running inside a container [2020-06-23T20:45:09.242Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-23T20:45:11.299Z] $ docker top ff67c4510ec9cc0dbfcd21e41f8872f0bdb7225830d4f8c3a602af677f05dad0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-23T20:45:11.492Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-23T20:45:11.493Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-23T20:45:11.691Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-23T20:45:11.696Z] $ docker exec ff67c4510ec9cc0dbfcd21e41f8872f0bdb7225830d4f8c3a602af677f05dad0 ssh-agent [2020-06-23T20:45:11.852Z] SSH_AUTH_SOCK=/tmp/ssh-lR1zBTdmnJrR/agent.11 [2020-06-23T20:45:11.852Z] SSH_AGENT_PID=16 [2020-06-23T20:45:11.861Z] Running ssh-add (command line suppressed) [2020-06-23T20:45:11.985Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_6196777934141028303.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_6196777934141028303.key) [2020-06-23T20:45:12.034Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-23T20:45:12.340Z] + git describe --exact-match --tags HEAD [2020-06-23T20:45:12.340Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-23T20:45:12.403Z] $ docker exec --env ******** --env ******** ff67c4510ec9cc0dbfcd21e41f8872f0bdb7225830d4f8c3a602af677f05dad0 ssh-agent -k [2020-06-23T20:45:12.514Z] unset SSH_AUTH_SOCK; [2020-06-23T20:45:12.515Z] unset SSH_AGENT_PID; [2020-06-23T20:45:12.515Z] echo Agent pid 16 killed; [2020-06-23T20:45:12.559Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-23T20:45:12.598Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-23T20:45:12.598Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-23T20:45:12.644Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-23T20:45:12.644Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-23T20:45:12.813Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-23T20:45:12.818Z] $ docker exec ff67c4510ec9cc0dbfcd21e41f8872f0bdb7225830d4f8c3a602af677f05dad0 ssh-agent [2020-06-23T20:45:12.975Z] SSH_AUTH_SOCK=/tmp/ssh-dhrbn67CfOEw/agent.44 [2020-06-23T20:45:12.975Z] SSH_AGENT_PID=49 [2020-06-23T20:45:12.981Z] Running ssh-add (command line suppressed) [2020-06-23T20:45:13.104Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_8984575656368787718.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_8984575656368787718.key) [2020-06-23T20:45:13.152Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-23T20:45:13.456Z] + git semver init [2020-06-23T20:45:13.456Z] # -> Open(): unable to determine branch for HEAD [2020-06-23T20:45:13.456Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.git [2020-06-23T20:45:13.456Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-27 [2020-06-23T20:45:13.456Z] # $SEMVER_REMOTE_NAME = origin [2020-06-23T20:45:13.456Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-23T20:45:13.456Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-23T20:45:13.456Z] # $SEMVER_BRANCH = PR-27 [2020-06-23T20:45:13.456Z] # $SEMVER_TEMP = /tmp/semver-301942035 [2020-06-23T20:45:13.456Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-06-23T20:45:16.755Z] # '/tmp/semver-301942035' -> '/w/workspace/dgexfoundry_device-rest-go_PR-27/.semver' [2020-06-23T20:45:16.755Z] # -> Force: false [2020-06-23T20:45:16.755Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.semver [Pipeline] } [2020-06-23T20:45:16.781Z] $ docker exec --env ******** --env ******** ff67c4510ec9cc0dbfcd21e41f8872f0bdb7225830d4f8c3a602af677f05dad0 ssh-agent -k [2020-06-23T20:45:16.904Z] unset SSH_AUTH_SOCK; [2020-06-23T20:45:16.905Z] unset SSH_AGENT_PID; [2020-06-23T20:45:16.905Z] echo Agent pid 49 killed; [2020-06-23T20:45:16.945Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-23T20:45:17.305Z] + git semver [Pipeline] } [2020-06-23T20:45:17.330Z] $ docker stop --time=1 ff67c4510ec9cc0dbfcd21e41f8872f0bdb7225830d4f8c3a602af677f05dad0 [2020-06-23T20:45:18.728Z] $ docker rm -f ff67c4510ec9cc0dbfcd21e41f8872f0bdb7225830d4f8c3a602af677f05dad0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-23T20:45:19.967Z] Stashed 24 file(s) [Pipeline] echo [2020-06-23T20:45:19.969Z] [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:45:35.130Z] Still waiting to schedule task [2020-06-23T20:45:35.130Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-06-23T20:45:35.132Z] Still waiting to schedule task [2020-06-23T20:45:35.132Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-06-23T20:47:21.543Z] Running on prd-centos7-docker-4c-2g-4201 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws [2020-06-23T20:47:21.567Z] Running in /w/workspace/device-rest-go/8 [Pipeline] { [Pipeline] checkout [2020-06-23T20:47:23.804Z] using credential edgex-jenkins-ssh [2020-06-23T20:47:23.830Z] Cloning the remote Git repository [2020-06-23T20:47:23.830Z] Cloning with configured refspecs honoured and without tags [2020-06-23T20:47:23.788Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T20:47:23.853Z] > git init /w/workspace/device-rest-go/8 # timeout=10 [2020-06-23T20:47:23.896Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T20:47:23.897Z] > git --version # timeout=10 [2020-06-23T20:47:23.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T20:47:23.971Z] > 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:47:24.919Z] Fetching without tags [2020-06-23T20:47:25.278Z] Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 5c79e54fdda5fe116d84b32e1c5b179927be78e1 [2020-06-23T20:47:25.354Z] Merge succeeded, producing 707cc6f367bc76d5344f12fc311dd52b1d35c37d [2020-06-23T20:47:25.355Z] Checking out Revision 707cc6f367bc76d5344f12fc311dd52b1d35c37d (PR-27) [2020-06-23T20:47:24.890Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-23T20:47:24.902Z] > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 [2020-06-23T20:47:24.908Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-23T20:47:24.918Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-23T20:47:24.927Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T20:47:24.927Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T20:47:24.931Z] > 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:47:25.293Z] > git config core.sparsecheckout # timeout=10 [2020-06-23T20:47:25.299Z] > git checkout -f 5c79e54fdda5fe116d84b32e1c5b179927be78e1 # timeout=10 [2020-06-23T20:47:25.325Z] > git remote # timeout=10 [2020-06-23T20:47:25.330Z] > git config --get remote.origin.url # timeout=10 [2020-06-23T20:47:25.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T20:47:25.338Z] > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 [2020-06-23T20:47:25.353Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-23T20:47:25.361Z] > git config core.sparsecheckout # timeout=10 [2020-06-23T20:47:25.365Z] > git checkout -f 707cc6f367bc76d5344f12fc311dd52b1d35c37d # timeout=10 [2020-06-23T20:47:29.001Z] Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" [2020-06-23T20:47:29.010Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-06-23T20:47:29.008Z] > git rev-list --no-walk b1c8a3d9fe9bcda40898d3ec32fec9442922b96d # timeout=10 [Pipeline] echo [2020-06-23T20:47:30.019Z] ========================================================= [2020-06-23T20:47:30.019Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-23T20:47:30.019Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-23T20:47:30.624Z] + 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:47:30.890Z] Sending build context to Docker daemon 8.041MB [2020-06-23T20:47:30.890Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-23T20:47:30.890Z] Step 2/10 : FROM ${BASE} [2020-06-23T20:47:30.890Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-23T20:47:30.890Z] e6b0cf9c0882: Pulling fs layer [2020-06-23T20:47:30.890Z] 2848faf0eed1: Pulling fs layer [2020-06-23T20:47:30.890Z] 0f37312ad70f: Pulling fs layer [2020-06-23T20:47:30.890Z] 5788d62ee057: Pulling fs layer [2020-06-23T20:47:30.890Z] 0e6b1d234666: Pulling fs layer [2020-06-23T20:47:30.890Z] bf5d7aec512f: Pulling fs layer [2020-06-23T20:47:30.890Z] 34c802a77dc8: Pulling fs layer [2020-06-23T20:47:30.890Z] 9eb99e56ec68: Pulling fs layer [2020-06-23T20:47:30.890Z] 27c7a5d97fbd: Pulling fs layer [2020-06-23T20:47:30.890Z] 5c102a31e300: Pulling fs layer [2020-06-23T20:47:30.890Z] dcfb455df0a1: Pulling fs layer [2020-06-23T20:47:30.890Z] 34c802a77dc8: Waiting [2020-06-23T20:47:30.890Z] 9eb99e56ec68: Waiting [2020-06-23T20:47:30.890Z] 5788d62ee057: Waiting [2020-06-23T20:47:30.890Z] 0e6b1d234666: Waiting [2020-06-23T20:47:30.890Z] bf5d7aec512f: Waiting [2020-06-23T20:47:30.890Z] 27c7a5d97fbd: Waiting [2020-06-23T20:47:30.890Z] 5c102a31e300: Waiting [2020-06-23T20:47:30.890Z] dcfb455df0a1: Waiting [2020-06-23T20:47:31.159Z] 0f37312ad70f: Verifying Checksum [2020-06-23T20:47:31.159Z] 0f37312ad70f: Download complete [2020-06-23T20:47:31.159Z] 2848faf0eed1: Verifying Checksum [2020-06-23T20:47:31.159Z] 2848faf0eed1: Download complete [2020-06-23T20:47:31.159Z] 0e6b1d234666: Verifying Checksum [2020-06-23T20:47:31.159Z] 0e6b1d234666: Download complete [2020-06-23T20:47:31.159Z] bf5d7aec512f: Verifying Checksum [2020-06-23T20:47:31.159Z] bf5d7aec512f: Download complete [2020-06-23T20:47:31.159Z] e6b0cf9c0882: Verifying Checksum [2020-06-23T20:47:31.159Z] e6b0cf9c0882: Download complete [2020-06-23T20:47:31.748Z] 34c802a77dc8: Verifying Checksum [2020-06-23T20:47:31.748Z] 34c802a77dc8: Download complete [2020-06-23T20:47:31.748Z] 27c7a5d97fbd: Verifying Checksum [2020-06-23T20:47:31.748Z] 27c7a5d97fbd: Download complete [2020-06-23T20:47:32.018Z] e6b0cf9c0882: Pull complete [2020-06-23T20:47:32.292Z] 5c102a31e300: Verifying Checksum [2020-06-23T20:47:32.292Z] 5c102a31e300: Download complete [2020-06-23T20:47:32.292Z] dcfb455df0a1: Verifying Checksum [2020-06-23T20:47:32.292Z] dcfb455df0a1: Download complete [2020-06-23T20:47:32.554Z] 9eb99e56ec68: Verifying Checksum [2020-06-23T20:47:32.554Z] 9eb99e56ec68: Download complete [2020-06-23T20:47:32.554Z] 5788d62ee057: Verifying Checksum [2020-06-23T20:47:32.554Z] 5788d62ee057: Download complete [2020-06-23T20:47:32.815Z] 2848faf0eed1: Pull complete [2020-06-23T20:47:33.078Z] 0f37312ad70f: Pull complete [2020-06-23T20:47:38.387Z] 5788d62ee057: Pull complete [2020-06-23T20:47:38.387Z] 0e6b1d234666: Pull complete [2020-06-23T20:47:38.387Z] bf5d7aec512f: Pull complete [2020-06-23T20:47:46.534Z] 34c802a77dc8: Pull complete [2020-06-23T20:47:48.600Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4200 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws [2020-06-23T20:47:48.631Z] Running in /w/workspace/device-rest-go/8 [Pipeline] { [Pipeline] checkout [2020-06-23T20:47:49.843Z] 9eb99e56ec68: Pull complete [2020-06-23T20:47:49.843Z] 27c7a5d97fbd: Pull complete [2020-06-23T20:47:50.106Z] 5c102a31e300: Pull complete [2020-06-23T20:47:50.367Z] dcfb455df0a1: Pull complete [2020-06-23T20:47:50.367Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-23T20:47:50.367Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-23T20:47:50.367Z] ---> 7c70fe431013 [2020-06-23T20:47:50.367Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-23T20:47:51.756Z] ---> Running in 391c8f4e42b1 [2020-06-23T20:47:51.756Z] Removing intermediate container 391c8f4e42b1 [2020-06-23T20:47:51.756Z] ---> 0692e92a3017 [2020-06-23T20:47:51.756Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-23T20:47:52.016Z] ---> Running in 6d50f344c199 [2020-06-23T20:47:52.016Z] Removing intermediate container 6d50f344c199 [2020-06-23T20:47:52.016Z] ---> 366a32df84bb [2020-06-23T20:47:52.016Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-23T20:47:52.278Z] ---> Running in 9adaa3275e17 [2020-06-23T20:47:52.278Z] Removing intermediate container 9adaa3275e17 [2020-06-23T20:47:52.278Z] ---> fd87ef482dcc [2020-06-23T20:47:52.278Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-23T20:47:52.539Z] ---> Running in 163bdc07e309 [2020-06-23T20:47:53.928Z] Removing intermediate container 163bdc07e309 [2020-06-23T20:47:53.928Z] ---> fdbdf69edd37 [2020-06-23T20:47:53.928Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-23T20:47:53.928Z] ---> Running in 9a1a61591b42 [2020-06-23T20:47:54.506Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-23T20:47:54.533Z] using credential edgex-jenkins-ssh [2020-06-23T20:47:54.568Z] Cloning the remote Git repository [2020-06-23T20:47:54.569Z] Cloning with configured refspecs honoured and without tags [2020-06-23T20:47:54.601Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T20:47:54.708Z] > git init /w/workspace/device-rest-go/8 # timeout=10 [2020-06-23T20:47:54.781Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T20:47:54.782Z] > git --version # timeout=10 [2020-06-23T20:47:54.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T20:47:54.873Z] > 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:47:55.076Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-23T20:47:55.650Z] OK: 143 MiB in 39 packages [2020-06-23T20:47:55.912Z] Removing intermediate container 9a1a61591b42 [2020-06-23T20:47:55.912Z] ---> 5e1b106da4cd [2020-06-23T20:47:55.912Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-23T20:47:55.912Z] ---> Running in 5de1128f509c [2020-06-23T20:47:56.174Z] Removing intermediate container 5de1128f509c [2020-06-23T20:47:56.174Z] ---> ff5b694b88f4 [2020-06-23T20:47:56.174Z] Step 9/10 : COPY . . [2020-06-23T20:47:56.559Z] Fetching without tags [2020-06-23T20:47:56.749Z] ---> 159e9c60fafb [2020-06-23T20:47:56.749Z] Step 10/10 : RUN go mod download [2020-06-23T20:47:56.749Z] ---> Running in ca0ef3aa65fb [2020-06-23T20:47:57.051Z] Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 5c79e54fdda5fe116d84b32e1c5b179927be78e1 [2020-06-23T20:47:57.290Z] Merge succeeded, producing cd2c303d2b74331264968d77664c1a3ed795bb4d [2020-06-23T20:47:57.291Z] Checking out Revision cd2c303d2b74331264968d77664c1a3ed795bb4d (PR-27) [2020-06-23T20:47:56.448Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-23T20:47:56.465Z] > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 [2020-06-23T20:47:56.481Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-23T20:47:56.509Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-23T20:47:56.546Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T20:47:56.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T20:47:56.558Z] > 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:47:57.052Z] > git config core.sparsecheckout # timeout=10 [2020-06-23T20:47:57.086Z] > git checkout -f 5c79e54fdda5fe116d84b32e1c5b179927be78e1 # timeout=10 [2020-06-23T20:47:57.164Z] > git remote # timeout=10 [2020-06-23T20:47:57.180Z] > git config --get remote.origin.url # timeout=10 [2020-06-23T20:47:57.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T20:47:57.204Z] > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 [2020-06-23T20:47:57.251Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-23T20:47:57.271Z] > git config core.sparsecheckout # timeout=10 [2020-06-23T20:47:57.294Z] > git checkout -f cd2c303d2b74331264968d77664c1a3ed795bb4d # timeout=10 [2020-06-23T20:47:58.676Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-23T20:47:58.676Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-23T20:47:58.676Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-23T20:47:58.676Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-23T20:47:58.676Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-23T20:47:58.676Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-23T20:47:58.676Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-23T20:47:58.676Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-23T20:47:58.676Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-23T20:47:58.676Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-23T20:47:58.676Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-23T20:47:58.936Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-23T20:47:58.936Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-23T20:47:58.936Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-23T20:47:58.936Z] go: finding github.com/fatih/color v1.7.0 [2020-06-23T20:47:58.936Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-23T20:47:58.936Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-23T20:47:58.936Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-23T20:47:58.936Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-23T20:47:58.936Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-23T20:47:58.936Z] go: finding github.com/google/uuid v1.1.0 [2020-06-23T20:47:58.936Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-23T20:47:58.936Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-23T20:47:58.936Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-23T20:47:59.196Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-23T20:47:59.196Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-23T20:47:59.196Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-23T20:47:59.196Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-23T20:47:59.196Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-23T20:47:59.196Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-23T20:47:59.196Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-23T20:47:59.196Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-23T20:47:59.196Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-23T20:47:59.196Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-23T20:47:59.196Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-23T20:47:59.196Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-23T20:47:59.456Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-23T20:47:59.456Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-23T20:47:59.456Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-23T20:47:59.456Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-23T20:47:59.456Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-23T20:47:59.456Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-23T20:47:59.456Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-23T20:47:59.456Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-23T20:47:59.456Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-23T20:47:59.457Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-23T20:47:59.457Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-23T20:47:59.457Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-23T20:47:59.457Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-23T20:47:59.717Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-23T20:47:59.717Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-23T20:47:59.717Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-23T20:47:59.717Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-23T20:47:59.717Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-23T20:47:59.717Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-23T20:47:59.717Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-23T20:47:59.717Z] go: finding github.com/posener/complete v1.1.1 [2020-06-23T20:47:59.717Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-23T20:47:59.717Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-23T20:47:59.717Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-23T20:47:59.717Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-23T20:47:59.983Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-23T20:47:59.983Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-23T20:47:59.983Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-23T20:47:59.983Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-23T20:47:59.983Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-23T20:47:59.983Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-23T20:47:59.983Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-23T20:47:59.983Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-23T20:47:59.983Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-23T20:48:01.814Z] Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" [2020-06-23T20:48:01.833Z] First time build. Skipping changelog. [2020-06-23T20:48:01.794Z] > git rev-list --no-walk b1c8a3d9fe9bcda40898d3ec32fec9442922b96d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-23T20:48:04.032Z] ========================================================= [2020-06-23T20:48:04.033Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-23T20:48:04.033Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-23T20:48:05.011Z] + 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:48:06.002Z] Sending build context to Docker daemon 8.041MB [2020-06-23T20:48:06.002Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-23T20:48:06.002Z] Step 2/10 : FROM ${BASE} [2020-06-23T20:48:06.276Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-23T20:48:06.276Z] cde5963f3b93: Pulling fs layer [2020-06-23T20:48:06.276Z] 2a23fa8c16f7: Pulling fs layer [2020-06-23T20:48:06.276Z] 777b28850792: Pulling fs layer [2020-06-23T20:48:06.276Z] 8a11ddd9e578: Pulling fs layer [2020-06-23T20:48:06.276Z] 4cf88f913ddb: Pulling fs layer [2020-06-23T20:48:06.276Z] 1df406cf5192: Pulling fs layer [2020-06-23T20:48:06.276Z] cd6300453558: Pulling fs layer [2020-06-23T20:48:06.276Z] b9c365052c96: Pulling fs layer [2020-06-23T20:48:06.276Z] a2d8cc88f415: Pulling fs layer [2020-06-23T20:48:06.276Z] ea1d1ca13537: Pulling fs layer [2020-06-23T20:48:06.276Z] 3750a50a1c5e: Pulling fs layer [2020-06-23T20:48:06.276Z] 4cf88f913ddb: Waiting [2020-06-23T20:48:06.276Z] 1df406cf5192: Waiting [2020-06-23T20:48:06.276Z] cd6300453558: Waiting [2020-06-23T20:48:06.276Z] b9c365052c96: Waiting [2020-06-23T20:48:06.276Z] a2d8cc88f415: Waiting [2020-06-23T20:48:06.276Z] ea1d1ca13537: Waiting [2020-06-23T20:48:06.276Z] 3750a50a1c5e: Waiting [2020-06-23T20:48:06.276Z] 8a11ddd9e578: Waiting [2020-06-23T20:48:06.276Z] 777b28850792: Verifying Checksum [2020-06-23T20:48:06.276Z] 777b28850792: Download complete [2020-06-23T20:48:06.276Z] 2a23fa8c16f7: Verifying Checksum [2020-06-23T20:48:06.276Z] 2a23fa8c16f7: Download complete [2020-06-23T20:48:06.276Z] 4cf88f913ddb: Verifying Checksum [2020-06-23T20:48:06.276Z] 4cf88f913ddb: Download complete [2020-06-23T20:48:06.276Z] 1df406cf5192: Download complete [2020-06-23T20:48:06.276Z] cde5963f3b93: Verifying Checksum [2020-06-23T20:48:06.276Z] cde5963f3b93: Download complete [2020-06-23T20:48:07.276Z] cde5963f3b93: Pull complete [2020-06-23T20:48:07.553Z] 2a23fa8c16f7: Pull complete [2020-06-23T20:48:08.157Z] 777b28850792: Pull complete [2020-06-23T20:48:08.758Z] cd6300453558: Download complete [2020-06-23T20:48:08.758Z] a2d8cc88f415: Verifying Checksum [2020-06-23T20:48:08.758Z] a2d8cc88f415: Download complete [2020-06-23T20:48:10.022Z] Removing intermediate container ca0ef3aa65fb [2020-06-23T20:48:10.022Z] ---> 242ec3901e2f [2020-06-23T20:48:10.022Z] Successfully built 242ec3901e2f [2020-06-23T20:48:10.022Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-06-23T20:48:10.211Z] ea1d1ca13537: Verifying Checksum [2020-06-23T20:48:10.211Z] ea1d1ca13537: Download complete [2020-06-23T20:48:10.211Z] 3750a50a1c5e: Download complete [Pipeline] isUnix [Pipeline] sh [2020-06-23T20:48:10.512Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-23T20:48:10.512Z] . [Pipeline] withDockerContainer [2020-06-23T20:48:10.612Z] prd-centos7-docker-4c-2g-4201 does not seem to be running inside a container [2020-06-23T20:48:10.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@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:48:10.811Z] b9c365052c96: Verifying Checksum [2020-06-23T20:48:10.811Z] b9c365052c96: Download complete [2020-06-23T20:48:11.785Z] $ docker top 233bbf5e64c77c73f6ea8def7de1186e5b86b0baba7ca470d6ba9d4f7d5b9755 -eo pid,comm [2020-06-23T20:48:11.786Z] 8a11ddd9e578: Verifying Checksum [2020-06-23T20:48:11.786Z] 8a11ddd9e578: Download complete [Pipeline] { [Pipeline] sh [2020-06-23T20:48:12.217Z] + go version [2020-06-23T20:48:12.217Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-23T20:48:12.521Z] + make test [2020-06-23T20:48:12.521Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-23T20:48:13.467Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-23T20:48:23.581Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-23T20:48:23.581Z] ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 56.3% of statements [2020-06-23T20:48:23.581Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-23T20:48:24.180Z] 8a11ddd9e578: Pull complete [2020-06-23T20:48:24.180Z] 4cf88f913ddb: Pull complete [2020-06-23T20:48:24.180Z] 1df406cf5192: Pull complete [2020-06-23T20:48:24.979Z] gofmt -l . [2020-06-23T20:48:24.979Z] [ "`gofmt -l .`" = "" ] [2020-06-23T20:48:24.979Z] ./bin/test-go-mod-tidy.sh [2020-06-23T20:48:25.555Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-23T20:48:26.026Z] Stashed 1 file(s) [Pipeline] } [2020-06-23T20:48:26.038Z] $ docker stop --time=1 233bbf5e64c77c73f6ea8def7de1186e5b86b0baba7ca470d6ba9d4f7d5b9755 [2020-06-23T20:48:28.193Z] $ docker rm -f 233bbf5e64c77c73f6ea8def7de1186e5b86b0baba7ca470d6ba9d4f7d5b9755 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-06-23T20:48:28.504Z] cd6300453558: Pull complete [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-23T20:48:29.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-23T20:48:29.379Z] + ls -al . [2020-06-23T20:48:29.379Z] total 96 [2020-06-23T20:48:29.379Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jun 23 20:48 . [2020-06-23T20:48:29.379Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 23 20:47 .. [2020-06-23T20:48:29.379Z] -rw-rw-r--. 1 jenkins jenkins 4802 Jun 23 20:47 Attribution.txt [2020-06-23T20:48:29.379Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 23 20:47 bin [2020-06-23T20:48:29.379Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 23 20:47 cmd [2020-06-23T20:48:29.379Z] -rw-r--r--. 1 jenkins jenkins 9369 Jun 23 20:48 coverage.out [2020-06-23T20:48:29.379Z] -rw-rw-r--. 1 jenkins jenkins 1504 Jun 23 20:47 Dockerfile [2020-06-23T20:48:29.379Z] -rw-rw-r--. 1 jenkins jenkins 989 Jun 23 20:47 Dockerfile.build [2020-06-23T20:48:29.379Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 23 20:47 .dockerignore [2020-06-23T20:48:29.379Z] drwxrwxr-x. 2 jenkins jenkins 93 Jun 23 20:48 driver [2020-06-23T20:48:29.379Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 23 20:47 .git [2020-06-23T20:48:29.379Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 23 20:47 .github [2020-06-23T20:48:29.379Z] -rw-rw-r--. 1 jenkins jenkins 339 Jun 23 20:47 .gitignore [2020-06-23T20:48:29.379Z] -rw-r--r--. 1 jenkins jenkins 266 Jun 23 20:48 go.mod [2020-06-23T20:48:29.379Z] -rw-r--r--. 1 jenkins jenkins 12533 Jun 23 20:48 go.sum [2020-06-23T20:48:29.379Z] -rw-rw-r--. 1 jenkins jenkins 702 Jun 23 20:47 Jenkinsfile [2020-06-23T20:48:29.379Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 23 20:47 LICENSE [2020-06-23T20:48:29.379Z] -rw-rw-r--. 1 jenkins jenkins 951 Jun 23 20:47 Makefile [2020-06-23T20:48:29.379Z] -rw-rw-r--. 1 jenkins jenkins 5716 Jun 23 20:47 README.md [2020-06-23T20:48:29.379Z] drwxrwxr-x. 3 jenkins jenkins 45 Jun 23 20:47 .semver [2020-06-23T20:48:29.379Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 23 20:47 snap [2020-06-23T20:48:29.379Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 23 20:45 VERSION [2020-06-23T20:48:29.379Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 23 20:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-23T20:48:29.679Z] + 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=8f010bcd03d83364f95e648ae9b65579d8c4c688 --label arch=amd64 --label version=0.0.0 . [2020-06-23T20:48:29.679Z] Sending build context to Docker daemon 8.053MB [2020-06-23T20:48:29.679Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-23T20:48:29.679Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-23T20:48:29.679Z] ---> 242ec3901e2f [2020-06-23T20:48:29.679Z] Step 3/24 : ARG MAKE='make build' [2020-06-23T20:48:29.940Z] ---> Running in 38dad4cd6a7b [2020-06-23T20:48:30.202Z] Removing intermediate container 38dad4cd6a7b [2020-06-23T20:48:30.202Z] ---> 1eb627f12e76 [2020-06-23T20:48:30.202Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-23T20:48:30.202Z] ---> Running in 8280b2179654 [2020-06-23T20:48:30.202Z] Removing intermediate container 8280b2179654 [2020-06-23T20:48:30.202Z] ---> 2248d188f73d [2020-06-23T20:48:30.202Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-23T20:48:30.463Z] ---> Running in 7048c863ce54 [2020-06-23T20:48:30.463Z] Removing intermediate container 7048c863ce54 [2020-06-23T20:48:30.463Z] ---> cd7cd2b597df [2020-06-23T20:48:30.463Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-23T20:48:30.463Z] ---> Running in ca4c719fff0d [2020-06-23T20:48:31.420Z] Removing intermediate container ca4c719fff0d [2020-06-23T20:48:31.420Z] ---> 837710bd3ae9 [2020-06-23T20:48:31.420Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-23T20:48:31.420Z] ---> Running in d26988805d8f [2020-06-23T20:48:31.681Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-23T20:48:32.623Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-23T20:48:32.827Z] b9c365052c96: Pull complete [2020-06-23T20:48:32.827Z] a2d8cc88f415: Pull complete [2020-06-23T20:48:32.883Z] OK: 143 MiB in 39 packages [2020-06-23T20:48:33.461Z] Removing intermediate container d26988805d8f [2020-06-23T20:48:33.461Z] ---> 28c4746d462a [2020-06-23T20:48:33.461Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-23T20:48:33.461Z] ---> Running in 77514e6916fa [2020-06-23T20:48:33.461Z] Removing intermediate container 77514e6916fa [2020-06-23T20:48:33.461Z] ---> dacecb711823 [2020-06-23T20:48:33.461Z] Step 9/24 : COPY go.mod . [2020-06-23T20:48:33.722Z] ---> 716d6c9a8e84 [2020-06-23T20:48:33.722Z] Step 10/24 : COPY Makefile . [2020-06-23T20:48:33.984Z] ---> 9989c615a119 [2020-06-23T20:48:33.984Z] Step 11/24 : RUN make update [2020-06-23T20:48:33.984Z] ---> Running in 3282e95185cc [2020-06-23T20:48:34.558Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-23T20:48:34.815Z] ea1d1ca13537: Pull complete [2020-06-23T20:48:35.128Z] Removing intermediate container 3282e95185cc [2020-06-23T20:48:35.129Z] ---> ece6a287ecd2 [2020-06-23T20:48:35.129Z] Step 12/24 : COPY . . [2020-06-23T20:48:35.393Z] ---> bbe3b11873d1 [2020-06-23T20:48:35.393Z] Step 13/24 : RUN $MAKE [2020-06-23T20:48:35.421Z] 3750a50a1c5e: Pull complete [2020-06-23T20:48:35.421Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-23T20:48:35.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-23T20:48:35.421Z] ---> 78745c68409d [2020-06-23T20:48:35.421Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-23T20:48:35.653Z] ---> Running in f278145cb97e [2020-06-23T20:48:35.914Z] 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:48:39.741Z] ---> Running in 70171a6a2ddb [2020-06-23T20:48:39.741Z] Removing intermediate container 70171a6a2ddb [2020-06-23T20:48:39.741Z] ---> 8f393d77d991 [2020-06-23T20:48:39.741Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-23T20:48:40.014Z] ---> Running in 4e8d0729bcac [2020-06-23T20:48:40.608Z] Removing intermediate container 4e8d0729bcac [2020-06-23T20:48:40.608Z] ---> daf1af257658 [2020-06-23T20:48:40.608Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-23T20:48:40.608Z] ---> Running in 0b67c528a385 [2020-06-23T20:48:41.201Z] Removing intermediate container 0b67c528a385 [2020-06-23T20:48:41.201Z] ---> 49b7f7ce0bd1 [2020-06-23T20:48:41.201Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-23T20:48:41.201Z] ---> Running in 90a445b894c8 [2020-06-23T20:48:43.821Z] Removing intermediate container 90a445b894c8 [2020-06-23T20:48:43.821Z] ---> ca18df39a5b3 [2020-06-23T20:48:43.821Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-23T20:48:43.821Z] ---> Running in 98db7eab8145 [2020-06-23T20:48:45.258Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-23T20:48:46.009Z] Removing intermediate container f278145cb97e [2020-06-23T20:48:46.009Z] ---> b288e463a5e4 [2020-06-23T20:48:46.009Z] Step 14/24 : FROM alpine:latest [2020-06-23T20:48:46.009Z] latest: Pulling from library/alpine [2020-06-23T20:48:46.009Z] df20fa9351a1: Pulling fs layer [2020-06-23T20:48:46.009Z] df20fa9351a1: Verifying Checksum [2020-06-23T20:48:46.009Z] df20fa9351a1: Download complete [2020-06-23T20:48:46.235Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-23T20:48:46.270Z] df20fa9351a1: Pull complete [2020-06-23T20:48:46.270Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-23T20:48:46.270Z] Status: Downloaded newer image for alpine:latest [2020-06-23T20:48:46.270Z] ---> a24bb4013296 [2020-06-23T20:48:46.270Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-23T20:48:46.533Z] ---> Running in 18bc78f496bd [2020-06-23T20:48:46.533Z] Removing intermediate container 18bc78f496bd [2020-06-23T20:48:46.533Z] ---> 8df3a4d87992 [2020-06-23T20:48:46.533Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-23T20:48:46.794Z] ---> Running in fb898d44ec18 [2020-06-23T20:48:46.794Z] Removing intermediate container fb898d44ec18 [2020-06-23T20:48:46.794Z] ---> 6fd774168a69 [2020-06-23T20:48:46.794Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-23T20:48:46.830Z] OK: 125 MiB in 39 packages [2020-06-23T20:48:47.055Z] ---> d9150fdadb6a [2020-06-23T20:48:47.055Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-23T20:48:47.315Z] ---> bdd654603203 [2020-06-23T20:48:47.315Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-23T20:48:47.889Z] ---> 0cf1f411e76c [2020-06-23T20:48:47.889Z] Step 20/24 : EXPOSE 49986 [2020-06-23T20:48:47.889Z] ---> Running in ff6eeb6a0947 [2020-06-23T20:48:47.889Z] Removing intermediate container ff6eeb6a0947 [2020-06-23T20:48:47.889Z] ---> 2564996b4192 [2020-06-23T20:48:47.889Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-23T20:48:48.153Z] ---> Running in 4af6edec48d4 [2020-06-23T20:48:48.153Z] Removing intermediate container 4af6edec48d4 [2020-06-23T20:48:48.153Z] ---> e6e5836e202b [2020-06-23T20:48:48.153Z] Step 22/24 : LABEL arch=amd64 [2020-06-23T20:48:48.153Z] ---> Running in 0c6263e050dd [2020-06-23T20:48:48.262Z] Removing intermediate container 98db7eab8145 [2020-06-23T20:48:48.262Z] ---> 6a4102ff1d09 [2020-06-23T20:48:48.262Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-23T20:48:48.262Z] ---> Running in 1efaf3c12225 [2020-06-23T20:48:48.414Z] Removing intermediate container 0c6263e050dd [2020-06-23T20:48:48.414Z] ---> df98dca4170a [2020-06-23T20:48:48.414Z] Step 23/24 : LABEL git_sha=8f010bcd03d83364f95e648ae9b65579d8c4c688 [2020-06-23T20:48:48.414Z] ---> Running in 56ad77f11c98 [2020-06-23T20:48:48.535Z] Removing intermediate container 1efaf3c12225 [2020-06-23T20:48:48.535Z] ---> 1eb4e636d553 [2020-06-23T20:48:48.535Z] Step 9/10 : COPY . . [2020-06-23T20:48:48.675Z] Removing intermediate container 56ad77f11c98 [2020-06-23T20:48:48.675Z] ---> 4a051377cc96 [2020-06-23T20:48:48.675Z] Step 24/24 : LABEL version=0.0.0 [2020-06-23T20:48:48.675Z] ---> Running in a5d414b4bce3 [2020-06-23T20:48:48.675Z] Removing intermediate container a5d414b4bce3 [2020-06-23T20:48:48.675Z] ---> 249360b98433 [2020-06-23T20:48:48.675Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-23T20:48:48.935Z] Successfully built 249360b98433 [2020-06-23T20:48:48.935Z] 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:48:49.969Z] ---> 41e9e06776d2 [2020-06-23T20:48:49.969Z] Step 10/10 : RUN go mod download [2020-06-23T20:48:49.969Z] ---> Running in 39fdcdc79765 [2020-06-23T20:48:52.602Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-23T20:48:52.602Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-23T20:48:52.602Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-23T20:48:52.602Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-23T20:48:52.602Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-23T20:48:52.602Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-23T20:48:52.602Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-23T20:48:52.602Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-23T20:48:52.602Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-23T20:48:52.602Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-23T20:48:52.602Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-23T20:48:52.873Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-23T20:48:52.873Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-23T20:48:52.873Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-23T20:48:52.873Z] go: finding github.com/fatih/color v1.7.0 [2020-06-23T20:48:52.873Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-23T20:48:52.873Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-23T20:48:52.873Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-23T20:48:52.873Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-23T20:48:52.873Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-23T20:48:52.873Z] go: finding github.com/google/uuid v1.1.0 [2020-06-23T20:48:52.873Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-23T20:48:52.873Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-23T20:48:53.150Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-23T20:48:53.150Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-23T20:48:53.150Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-23T20:48:53.150Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-23T20:48:53.150Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-23T20:48:53.150Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-23T20:48:53.150Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-23T20:48:53.150Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-23T20:48:53.150Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-23T20:48:53.150Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-23T20:48:53.150Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-23T20:48:53.150Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-23T20:48:53.422Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-23T20:48:53.422Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-23T20:48:53.422Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-23T20:48:53.422Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-23T20:48:53.422Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-23T20:48:53.422Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-23T20:48:53.422Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-23T20:48:53.422Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-23T20:48:53.422Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-23T20:48:53.422Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-23T20:48:53.692Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-23T20:48:53.692Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-23T20:48:53.692Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-23T20:48:53.692Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-23T20:48:53.692Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-23T20:48:53.692Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-23T20:48:53.692Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-23T20:48:53.692Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-23T20:48:53.692Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-23T20:48:53.692Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-23T20:48:53.692Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-23T20:48:53.961Z] go: finding github.com/posener/complete v1.1.1 [2020-06-23T20:48:53.961Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-23T20:48:53.961Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-23T20:48:53.961Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-23T20:48:53.961Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-23T20:48:53.961Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-23T20:48:53.961Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-23T20:48:53.961Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-23T20:48:53.961Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-23T20:48:53.961Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-23T20:48:53.961Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-23T20:48:54.232Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-23T20:48:54.232Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-23T20:48:54.232Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-23T20:49:06.614Z] Removing intermediate container 39fdcdc79765 [2020-06-23T20:49:06.614Z] ---> ad829e489921 [2020-06-23T20:49:06.614Z] Successfully built ad829e489921 [2020-06-23T20:49:06.614Z] 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:49:07.162Z] + docker inspect -f . ci-base-image-arm64 [2020-06-23T20:49:07.162Z] . [Pipeline] withDockerContainer [2020-06-23T20:49:07.441Z] prd-ubuntu18.04-docker-arm64-4c-16g-4200 does not seem to be running inside a container [2020-06-23T20:49:07.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@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:49:09.609Z] $ docker top 3cf5be103cd72b18964115b7a30c03d0775c93543ef9f299928d6992fbb9af73 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-23T20:49:11.009Z] + go version [2020-06-23T20:49:11.009Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-23T20:49:12.054Z] + make test [2020-06-23T20:49:12.054Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-23T20:49:13.037Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-23T20:49:39.886Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-23T20:49:43.278Z] ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 56.3% of statements [2020-06-23T20:49:43.278Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-23T20:49:50.020Z] gofmt -l . [2020-06-23T20:49:50.020Z] [ "`gofmt -l .`" = "" ] [2020-06-23T20:49:50.020Z] ./bin/test-go-mod-tidy.sh [2020-06-23T20:49:50.020Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-23T20:49:50.039Z] Warning: overwriting stash ‘coverage-report’ [2020-06-23T20:49:50.404Z] Stashed 1 file(s) [Pipeline] } [2020-06-23T20:49:50.383Z] $ docker stop --time=1 3cf5be103cd72b18964115b7a30c03d0775c93543ef9f299928d6992fbb9af73 [2020-06-23T20:49:52.564Z] $ docker rm -f 3cf5be103cd72b18964115b7a30c03d0775c93543ef9f299928d6992fbb9af73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-23T20:49:53.639Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-23T20:49:53.970Z] + ls -al . [2020-06-23T20:49:53.971Z] total 128 [2020-06-23T20:49:53.971Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 20:49 . [2020-06-23T20:49:53.971Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 20:47 .. [2020-06-23T20:49:53.971Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 23 20:47 .dockerignore [2020-06-23T20:49:53.971Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 20:48 .git [2020-06-23T20:49:53.971Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 20:47 .github [2020-06-23T20:49:53.971Z] -rw-rw-r-- 1 jenkins jenkins 339 Jun 23 20:47 .gitignore [2020-06-23T20:49:53.971Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 20:48 .semver [2020-06-23T20:49:53.971Z] -rw-rw-r-- 1 jenkins jenkins 4802 Jun 23 20:47 Attribution.txt [2020-06-23T20:49:53.971Z] -rw-rw-r-- 1 jenkins jenkins 1504 Jun 23 20:47 Dockerfile [2020-06-23T20:49:53.971Z] -rw-rw-r-- 1 jenkins jenkins 989 Jun 23 20:47 Dockerfile.build [2020-06-23T20:49:53.971Z] -rw-rw-r-- 1 jenkins jenkins 702 Jun 23 20:47 Jenkinsfile [2020-06-23T20:49:53.971Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 23 20:47 LICENSE [2020-06-23T20:49:53.971Z] -rw-rw-r-- 1 jenkins jenkins 951 Jun 23 20:47 Makefile [2020-06-23T20:49:53.971Z] -rw-rw-r-- 1 jenkins jenkins 5716 Jun 23 20:47 README.md [2020-06-23T20:49:53.971Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 20:45 VERSION [2020-06-23T20:49:53.971Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 20:47 bin [2020-06-23T20:49:53.971Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 20:47 cmd [2020-06-23T20:49:53.971Z] -rw-r--r-- 1 jenkins jenkins 9369 Jun 23 20:49 coverage.out [2020-06-23T20:49:53.971Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 20:49 driver [2020-06-23T20:49:53.971Z] -rw-r--r-- 1 jenkins jenkins 266 Jun 23 20:49 go.mod [2020-06-23T20:49:53.971Z] -rw-r--r-- 1 jenkins jenkins 12533 Jun 23 20:49 go.sum [2020-06-23T20:49:53.971Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 20:47 snap [2020-06-23T20:49:53.971Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 23 20:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-23T20:49:54.309Z] + 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=8f010bcd03d83364f95e648ae9b65579d8c4c688 --label arch=arm64 --label version=0.0.0 . [2020-06-23T20:49:54.583Z] Sending build context to Docker daemon 8.053MB [2020-06-23T20:49:54.856Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-23T20:49:54.856Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-23T20:49:54.856Z] ---> ad829e489921 [2020-06-23T20:49:54.856Z] Step 3/24 : ARG MAKE='make build' [2020-06-23T20:49:55.129Z] ---> Running in 5a3bff9846a1 [2020-06-23T20:49:55.725Z] Removing intermediate container 5a3bff9846a1 [2020-06-23T20:49:55.725Z] ---> d1f4b8fac338 [2020-06-23T20:49:55.725Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-23T20:49:55.725Z] ---> Running in d51bacdc8fe1 [2020-06-23T20:49:55.997Z] Removing intermediate container d51bacdc8fe1 [2020-06-23T20:49:55.997Z] ---> 0338d646092f [2020-06-23T20:49:55.997Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-23T20:49:56.268Z] ---> Running in d90b3b7163d6 [2020-06-23T20:49:56.542Z] Removing intermediate container d90b3b7163d6 [2020-06-23T20:49:56.542Z] ---> 30f5a023a17b [2020-06-23T20:49:56.542Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-23T20:49:56.816Z] ---> Running in a3292636f70e [2020-06-23T20:49:59.429Z] Removing intermediate container a3292636f70e [2020-06-23T20:49:59.429Z] ---> 604842b8119a [2020-06-23T20:49:59.429Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-23T20:49:59.429Z] ---> Running in 1021d326b329 [2020-06-23T20:50:00.856Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-23T20:50:01.452Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-23T20:50:02.054Z] OK: 125 MiB in 39 packages [2020-06-23T20:50:03.032Z] Removing intermediate container 1021d326b329 [2020-06-23T20:50:03.032Z] ---> eefe71fc9ec1 [2020-06-23T20:50:03.032Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-23T20:50:03.304Z] ---> Running in 9ae7e22a29cc [2020-06-23T20:50:03.584Z] Removing intermediate container 9ae7e22a29cc [2020-06-23T20:50:03.584Z] ---> b1b7400237b4 [2020-06-23T20:50:03.584Z] Step 9/24 : COPY go.mod . [2020-06-23T20:50:04.195Z] ---> 1284b8b03eed [2020-06-23T20:50:04.195Z] Step 10/24 : COPY Makefile . [2020-06-23T20:50:05.174Z] ---> 7aff0cfd9aa0 [2020-06-23T20:50:05.174Z] Step 11/24 : RUN make update [2020-06-23T20:50:05.174Z] ---> Running in 70c128463a44 [2020-06-23T20:50:06.617Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-23T20:50:07.594Z] Removing intermediate container 70c128463a44 [2020-06-23T20:50:07.594Z] ---> b8c23e46c647 [2020-06-23T20:50:07.594Z] Step 12/24 : COPY . . [2020-06-23T20:50:09.024Z] ---> 5c8cc66b8e07 [2020-06-23T20:50:09.024Z] Step 13/24 : RUN $MAKE [2020-06-23T20:50:09.024Z] ---> Running in 579d91efe146 [2020-06-23T20:50:10.465Z] 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:50:37.254Z] Removing intermediate container 579d91efe146 [2020-06-23T20:50:37.254Z] ---> 6101081dbc7a [2020-06-23T20:50:37.254Z] Step 14/24 : FROM alpine:latest [2020-06-23T20:50:37.254Z] latest: Pulling from library/alpine [2020-06-23T20:50:37.254Z] b538f80385f9: Pulling fs layer [2020-06-23T20:50:37.527Z] b538f80385f9: Verifying Checksum [2020-06-23T20:50:37.527Z] b538f80385f9: Download complete [2020-06-23T20:50:38.140Z] b538f80385f9: Pull complete [2020-06-23T20:50:38.140Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-23T20:50:38.140Z] Status: Downloaded newer image for alpine:latest [2020-06-23T20:50:38.140Z] ---> 62ee0e9f8440 [2020-06-23T20:50:38.140Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-23T20:50:38.411Z] ---> Running in 73d60dec1be3 [2020-06-23T20:50:38.682Z] Removing intermediate container 73d60dec1be3 [2020-06-23T20:50:38.682Z] ---> 3308d1f69dd8 [2020-06-23T20:50:38.682Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-23T20:50:38.958Z] ---> Running in f2302d43f31e [2020-06-23T20:50:39.232Z] Removing intermediate container f2302d43f31e [2020-06-23T20:50:39.232Z] ---> e451913f338b [2020-06-23T20:50:39.232Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-23T20:50:40.207Z] ---> 443d3ff3613b [2020-06-23T20:50:40.207Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-23T20:50:40.803Z] ---> 7057416d64f1 [2020-06-23T20:50:40.803Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-23T20:50:42.228Z] ---> 31baf4eef256 [2020-06-23T20:50:42.228Z] Step 20/24 : EXPOSE 49986 [2020-06-23T20:50:42.499Z] ---> Running in 928a7b7b50b4 [2020-06-23T20:50:42.773Z] Removing intermediate container 928a7b7b50b4 [2020-06-23T20:50:42.773Z] ---> 630e8cec6307 [2020-06-23T20:50:42.773Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-23T20:50:43.044Z] ---> Running in bfb68d3d31ba [2020-06-23T20:50:43.316Z] Removing intermediate container bfb68d3d31ba [2020-06-23T20:50:43.316Z] ---> 5572352e3dd8 [2020-06-23T20:50:43.316Z] Step 22/24 : LABEL arch=arm64 [2020-06-23T20:50:43.589Z] ---> Running in 791cbd586905 [2020-06-23T20:50:43.861Z] Removing intermediate container 791cbd586905 [2020-06-23T20:50:43.861Z] ---> 1594f1298e4e [2020-06-23T20:50:43.861Z] Step 23/24 : LABEL git_sha=8f010bcd03d83364f95e648ae9b65579d8c4c688 [2020-06-23T20:50:44.131Z] ---> Running in 6d11be72aa61 [2020-06-23T20:50:44.404Z] Removing intermediate container 6d11be72aa61 [2020-06-23T20:50:44.404Z] ---> 9f3a77dd198f [2020-06-23T20:50:44.404Z] Step 24/24 : LABEL version=0.0.0 [2020-06-23T20:50:44.679Z] ---> Running in 9b2573d75e19 [2020-06-23T20:50:44.953Z] Removing intermediate container 9b2573d75e19 [2020-06-23T20:50:44.953Z] ---> 092d119342dc [2020-06-23T20:50:44.953Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-23T20:50:45.224Z] Successfully built 092d119342dc [2020-06-23T20:50:45.224Z] 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:50:46.114Z] provisioning config files... [2020-06-23T20:50:46.128Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config6201449502017162821tmp [Pipeline] { [Pipeline] sh [2020-06-23T20:50:46.447Z] + curl -s https://codecov.io/bash [2020-06-23T20:50:46.447Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config6201449502017162821tmp [2020-06-23T20:50:46.708Z] [2020-06-23T20:50:46.708Z] _____ _ [2020-06-23T20:50:46.708Z] / ____| | | [2020-06-23T20:50:46.708Z] | | ___ __| | ___ ___ _____ __ [2020-06-23T20:50:46.708Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-23T20:50:46.708Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-23T20:50:46.708Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-23T20:50:46.708Z] Bash-20200602-f809a24 [2020-06-23T20:50:46.708Z] [2020-06-23T20:50:46.708Z] [2020-06-23T20:50:46.708Z] ==> Jenkins CI detected. [2020-06-23T20:50:46.708Z] project root: . [2020-06-23T20:50:46.708Z] Fixing merge commit SHA [2020-06-23T20:50:46.708Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-23T20:50:46.708Z] ==> Running gcov in . (disable via -X gcov) [2020-06-23T20:50:46.708Z] ==> Python coveragepy not found [2020-06-23T20:50:46.708Z] ==> Searching for coverage reports in: [2020-06-23T20:50:46.708Z] + . [2020-06-23T20:50:46.708Z] -> Found 1 reports [2020-06-23T20:50:46.708Z] ==> Detecting git/mercurial file structure [2020-06-23T20:50:46.708Z] ==> Reading reports [2020-06-23T20:50:46.708Z] + ./coverage.out bytes=9369 [2020-06-23T20:50:46.708Z] ==> Appending adjustments [2020-06-23T20:50:46.708Z] https://docs.codecov.io/docs/fixing-reports [2020-06-23T20:50:46.708Z] + Found adjustments [2020-06-23T20:50:46.708Z] ==> Gzipping contents [2020-06-23T20:50:46.708Z] ==> Uploading reports [2020-06-23T20:50:46.708Z] url: https://codecov.io [2020-06-23T20:50:46.708Z] query: branch=PR-27&commit=b106d00ae92e946d2103bc6c1464522635373c7b&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-27%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=27&job= [2020-06-23T20:50:46.708Z] -> Pinging Codecov [2020-06-23T20:50:46.708Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-27&commit=b106d00ae92e946d2103bc6c1464522635373c7b&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-27%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=27&job= [2020-06-23T20:50:47.650Z] -> Uploading [2020-06-23T20:50:48.222Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/b106d00ae92e946d2103bc6c1464522635373c7b [Pipeline] } [2020-06-23T20:50:48.230Z] 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:50:49.099Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-23T20:50:49.665Z] ---> package-listing.sh [2020-06-23T20:50:49.665Z] ++ facter osfamily [2020-06-23T20:50:49.665Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-23T20:50:49.665Z] + OS_FAMILY=redhat [2020-06-23T20:50:49.665Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-27 [2020-06-23T20:50:49.665Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-23T20:50:49.665Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-23T20:50:49.665Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-23T20:50:49.665Z] + PACKAGES=/tmp/packages_start.txt [2020-06-23T20:50:49.665Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' [2020-06-23T20:50:49.665Z] + PACKAGES=/tmp/packages_end.txt [2020-06-23T20:50:49.665Z] + case "${OS_FAMILY}" in [2020-06-23T20:50:49.665Z] + rpm -qa [2020-06-23T20:50:49.665Z] + sort [2020-06-23T20:50:53.882Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-23T20:50:53.882Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-23T20:50:53.882Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-23T20:50:53.882Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' [2020-06-23T20:50:53.882Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-27/archives/ [2020-06-23T20:50:53.882Z] + 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:50:54.396Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-23T20:50:54.396Z] [2020-06-23T20:50:54.396Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-23T20:50:54.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-23T20:50:54.713Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-23T20:50:54.713Z] c9b1b535fdd9: Pulling fs layer [2020-06-23T20:50:54.713Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-23T20:50:54.713Z] 756a868c4378: Pulling fs layer [2020-06-23T20:50:54.713Z] 444b2fc9a129: Pulling fs layer [2020-06-23T20:50:54.713Z] ea15f1150254: Pulling fs layer [2020-06-23T20:50:54.713Z] 41b27a9f41bf: Pulling fs layer [2020-06-23T20:50:54.713Z] 28c525ee5125: Pulling fs layer [2020-06-23T20:50:54.714Z] 094b1ea09ed8: Pulling fs layer [2020-06-23T20:50:54.714Z] 138eaada9080: Pulling fs layer [2020-06-23T20:50:54.714Z] 0622d0fa9048: Pulling fs layer [2020-06-23T20:50:54.714Z] 41b27a9f41bf: Waiting [2020-06-23T20:50:54.714Z] 094b1ea09ed8: Waiting [2020-06-23T20:50:54.714Z] 138eaada9080: Waiting [2020-06-23T20:50:54.714Z] 0622d0fa9048: Waiting [2020-06-23T20:50:54.714Z] 444b2fc9a129: Waiting [2020-06-23T20:50:54.714Z] ea15f1150254: Waiting [2020-06-23T20:50:54.714Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-23T20:50:54.714Z] 2cc5ad85d9ab: Download complete [2020-06-23T20:50:54.714Z] 444b2fc9a129: Verifying Checksum [2020-06-23T20:50:54.714Z] 444b2fc9a129: Download complete [2020-06-23T20:50:54.714Z] c9b1b535fdd9: Verifying Checksum [2020-06-23T20:50:54.714Z] c9b1b535fdd9: Download complete [2020-06-23T20:50:54.714Z] ea15f1150254: Download complete [2020-06-23T20:50:55.002Z] 28c525ee5125: Verifying Checksum [2020-06-23T20:50:55.002Z] 28c525ee5125: Download complete [2020-06-23T20:50:55.282Z] 756a868c4378: Verifying Checksum [2020-06-23T20:50:55.282Z] 756a868c4378: Download complete [2020-06-23T20:50:55.282Z] 138eaada9080: Verifying Checksum [2020-06-23T20:50:55.282Z] 138eaada9080: Download complete [2020-06-23T20:50:55.282Z] c9b1b535fdd9: Pull complete [2020-06-23T20:50:55.282Z] 0622d0fa9048: Verifying Checksum [2020-06-23T20:50:55.282Z] 0622d0fa9048: Download complete [2020-06-23T20:50:55.282Z] 094b1ea09ed8: Verifying Checksum [2020-06-23T20:50:55.282Z] 094b1ea09ed8: Download complete [2020-06-23T20:50:55.860Z] 2cc5ad85d9ab: Pull complete [2020-06-23T20:50:55.860Z] 41b27a9f41bf: Verifying Checksum [2020-06-23T20:50:55.860Z] 41b27a9f41bf: Download complete [2020-06-23T20:50:56.802Z] 756a868c4378: Pull complete [2020-06-23T20:50:57.074Z] 444b2fc9a129: Pull complete [2020-06-23T20:50:57.338Z] ea15f1150254: Pull complete [2020-06-23T20:51:01.555Z] 41b27a9f41bf: Pull complete [2020-06-23T20:51:01.555Z] 28c525ee5125: Pull complete [2020-06-23T20:51:04.100Z] 094b1ea09ed8: Pull complete [2020-06-23T20:51:04.368Z] 138eaada9080: Pull complete [2020-06-23T20:51:04.633Z] 0622d0fa9048: Pull complete [2020-06-23T20:51:04.633Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-23T20:51:04.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-23T20:51:04.633Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-23T20:51:04.774Z] prd-centos7-docker-4c-2g-4199 does not seem to be running inside a container [2020-06-23T20:51:04.819Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-23T20:51:08.764Z] $ docker top 4787992856a3679e515b28cad2495b5571aa5d74ae27719b4be8dd017fc4bc8d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-23T20:51:08.925Z] provisioning config files... [2020-06-23T20:51:08.938Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config4942155756858406553tmp [Pipeline] { [Pipeline] echo [2020-06-23T20:51:08.968Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-23T20:51:09.268Z] ---> create-netrc.sh [Pipeline] echo [2020-06-23T20:51:09.277Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-23T20:51:09.571Z] ---> logs-deploy.sh [2020-06-23T20:51:09.571Z] + ARCHIVE_ARTIFACTS= [2020-06-23T20:51:09.571Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-23T20:51:09.571Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-23T20:51:09.571Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-23T20:51:09.571Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/8 [2020-06-23T20:51:09.571Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/8/ [2020-06-23T20:51:09.571Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/8 /w/workspace/dgexfoundry_device-rest-go_PR-27 [2020-06-23T20:51:10.956Z] Archives upload complete. [2020-06-23T20:51:10.956Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/8 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/8/