Pull request #26 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of charles-knox-intel for edgexfoundry/device-rest-go Loading trusted files from base branch master at b106d00ae92e946d2103bc6c1464522635373c7b rather than 33c8a96f9407022210e88e1680d02999f55ee038 Obtained Jenkinsfile from b106d00ae92e946d2103bc6c1464522635373c7b Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-26/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3431 in /w/workspace/dgexfoundry_device-rest-go_PR-26 [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-26 # 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/26/head:refs/remotes/origin/PR-26 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 33c8a96f9407022210e88e1680d02999f55ee038 Merge succeeded, producing 33c8a96f9407022210e88e1680d02999f55ee038 Checking out Revision 33c8a96f9407022210e88e1680d02999f55ee038 (PR-26) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/26/head:refs/remotes/origin/PR-26 # 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/26/head:refs/remotes/origin/PR-26 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33c8a96f9407022210e88e1680d02999f55ee038 # 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 33c8a96f9407022210e88e1680d02999f55ee038 # timeout=10 Commit message: "test: test commit for a test PR" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-17T23:08:10.002Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-17T23:08:10.217Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-17T23:08:10.328Z] ========================================================= [2020-06-17T23:08:10.329Z] EdgeX Global Pipelines Version Info [2020-06-17T23:08:10.329Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-17T23:08:11.776Z] ------------------- [2020-06-17T23:08:11.776Z] stable info: [2020-06-17T23:08:11.776Z] ------------------- [2020-06-17T23:08:11.776Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-17T23:08:11.776Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-17T23:08:11.776Z] Message: update stable to v1.0.89 [2020-06-17T23:08:12.718Z] ------------------- [2020-06-17T23:08:12.718Z] experimental info: [2020-06-17T23:08:12.718Z] ------------------- [2020-06-17T23:08:12.718Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-17T23:08:12.719Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-17T23:08:12.719Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-17T23:08:14.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-17T23:08:15.041Z] [2020-06-17T23:08:15.041Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-17T23:08:15.390Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-17T23:08:15.390Z] latest: Pulling from edgex-devops/git-semver [2020-06-17T23:08:15.390Z] 9123ac7c32f7: Pulling fs layer [2020-06-17T23:08:15.390Z] b8cc5d1170e3: Pulling fs layer [2020-06-17T23:08:15.390Z] 2924cbbf6a41: Pulling fs layer [2020-06-17T23:08:15.390Z] 93b08a4f1073: Pulling fs layer [2020-06-17T23:08:15.390Z] 93b08a4f1073: Waiting [2020-06-17T23:08:15.390Z] b8cc5d1170e3: Verifying Checksum [2020-06-17T23:08:15.390Z] b8cc5d1170e3: Download complete [2020-06-17T23:08:15.390Z] 9123ac7c32f7: Verifying Checksum [2020-06-17T23:08:15.390Z] 9123ac7c32f7: Download complete [2020-06-17T23:08:15.653Z] 93b08a4f1073: Verifying Checksum [2020-06-17T23:08:15.653Z] 93b08a4f1073: Download complete [2020-06-17T23:08:15.653Z] 2924cbbf6a41: Download complete [2020-06-17T23:08:15.653Z] 9123ac7c32f7: Pull complete [2020-06-17T23:08:15.914Z] b8cc5d1170e3: Pull complete [2020-06-17T23:08:16.499Z] 2924cbbf6a41: Pull complete [2020-06-17T23:08:16.761Z] 93b08a4f1073: Pull complete [2020-06-17T23:08:16.761Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-17T23:08:16.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-17T23:08:16.761Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-17T23:08:16.877Z] prd-centos7-docker-4c-2g-3431 does not seem to be running inside a container [2020-06-17T23:08:16.920Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-26 -v /w/workspace/dgexfoundry_device-rest-go_PR-26:/w/workspace/dgexfoundry_device-rest-go_PR-26:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-26@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-17T23:08:18.920Z] $ docker top 45fc164f9689f56ed141ac04ecd9d5539762042a79e70338e90620435536a3d3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-17T23:08:19.166Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-17T23:08:19.166Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-17T23:08:19.357Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-17T23:08:19.365Z] $ docker exec 45fc164f9689f56ed141ac04ecd9d5539762042a79e70338e90620435536a3d3 ssh-agent [2020-06-17T23:08:19.518Z] SSH_AUTH_SOCK=/tmp/ssh-FKsCbjbdDDd6/agent.11 [2020-06-17T23:08:19.518Z] SSH_AGENT_PID=16 [2020-06-17T23:08:19.528Z] Running ssh-add (command line suppressed) [2020-06-17T23:08:19.641Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-26@tmp/private_key_8888965308048947472.key (/w/workspace/dgexfoundry_device-rest-go_PR-26@tmp/private_key_8888965308048947472.key) [2020-06-17T23:08:19.688Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-17T23:08:20.026Z] + git describe --exact-match --tags HEAD [2020-06-17T23:08:20.026Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-17T23:08:20.180Z] $ docker exec --env ******** --env ******** 45fc164f9689f56ed141ac04ecd9d5539762042a79e70338e90620435536a3d3 ssh-agent -k [2020-06-17T23:08:20.286Z] unset SSH_AUTH_SOCK; [2020-06-17T23:08:20.287Z] unset SSH_AGENT_PID; [2020-06-17T23:08:20.287Z] echo Agent pid 16 killed; [2020-06-17T23:08:20.324Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-17T23:08:20.430Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-17T23:08:20.430Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-17T23:08:20.499Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-17T23:08:20.499Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-17T23:08:20.659Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-17T23:08:20.666Z] $ docker exec 45fc164f9689f56ed141ac04ecd9d5539762042a79e70338e90620435536a3d3 ssh-agent [2020-06-17T23:08:20.808Z] SSH_AUTH_SOCK=/tmp/ssh-cCEEQLlAgkNy/agent.45 [2020-06-17T23:08:20.808Z] SSH_AGENT_PID=50 [2020-06-17T23:08:20.813Z] Running ssh-add (command line suppressed) [2020-06-17T23:08:20.935Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-26@tmp/private_key_1276898876566703749.key (/w/workspace/dgexfoundry_device-rest-go_PR-26@tmp/private_key_1276898876566703749.key) [2020-06-17T23:08:20.980Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-17T23:08:21.325Z] + git semver init [2020-06-17T23:08:21.325Z] # -> Open(): unable to determine branch for HEAD [2020-06-17T23:08:21.325Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-26/.git [2020-06-17T23:08:21.325Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-26 [2020-06-17T23:08:21.325Z] # $SEMVER_REMOTE_NAME = origin [2020-06-17T23:08:21.325Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-17T23:08:21.325Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-17T23:08:21.325Z] # $SEMVER_BRANCH = PR-26 [2020-06-17T23:08:21.325Z] # $SEMVER_TEMP = /tmp/semver-309398841 [2020-06-17T23:08:21.325Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-06-17T23:08:22.272Z] # '/tmp/semver-309398841' -> '/w/workspace/dgexfoundry_device-rest-go_PR-26/.semver' [2020-06-17T23:08:22.272Z] # -> Force: false [2020-06-17T23:08:22.272Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-26/.semver [Pipeline] } [2020-06-17T23:08:22.296Z] $ docker exec --env ******** --env ******** 45fc164f9689f56ed141ac04ecd9d5539762042a79e70338e90620435536a3d3 ssh-agent -k [2020-06-17T23:08:22.411Z] unset SSH_AUTH_SOCK; [2020-06-17T23:08:22.412Z] unset SSH_AGENT_PID; [2020-06-17T23:08:22.412Z] echo Agent pid 50 killed; [2020-06-17T23:08:22.442Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-17T23:08:22.899Z] + git semver [Pipeline] } [2020-06-17T23:08:22.930Z] $ docker stop --time=1 45fc164f9689f56ed141ac04ecd9d5539762042a79e70338e90620435536a3d3 [2020-06-17T23:08:24.314Z] $ docker rm -f 45fc164f9689f56ed141ac04ecd9d5539762042a79e70338e90620435536a3d3 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-17T23:08:25.505Z] Stashed 24 file(s) [Pipeline] echo [2020-06-17T23:08:25.525Z] [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-17T23:08:40.902Z] Still waiting to schedule task [2020-06-17T23:08:40.902Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3431’ [2020-06-17T23:08:40.924Z] Still waiting to schedule task [2020-06-17T23:08:40.924Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-06-17T23:11:01.464Z] Running on prd-centos7-docker-4c-2g-3432 in /w/workspace/dgexfoundry_device-rest-go_PR-26 [Pipeline] { [Pipeline] ws [2020-06-17T23:11:01.519Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-06-17T23:11:05.347Z] using credential edgex-jenkins-ssh [2020-06-17T23:11:05.375Z] Cloning the remote Git repository [2020-06-17T23:11:05.375Z] Cloning with configured refspecs honoured and without tags [2020-06-17T23:11:05.405Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-17T23:11:06.408Z] Fetching without tags [2020-06-17T23:11:05.489Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-06-17T23:11:05.537Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-17T23:11:05.537Z] > git --version # timeout=10 [2020-06-17T23:11:05.544Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T23:11:05.570Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/26/head:refs/remotes/origin/PR-26 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T23:11:06.378Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-17T23:11:06.385Z] > git config --add remote.origin.fetch +refs/pull/26/head:refs/remotes/origin/PR-26 # timeout=10 [2020-06-17T23:11:06.393Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T23:11:06.403Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-17T23:11:06.418Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-17T23:11:06.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T23:11:06.423Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/26/head:refs/remotes/origin/PR-26 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T23:11:06.777Z] Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 33c8a96f9407022210e88e1680d02999f55ee038 [2020-06-17T23:11:06.862Z] Merge succeeded, producing 33c8a96f9407022210e88e1680d02999f55ee038 [2020-06-17T23:11:06.863Z] Checking out Revision 33c8a96f9407022210e88e1680d02999f55ee038 (PR-26) [2020-06-17T23:11:06.791Z] > git config core.sparsecheckout # timeout=10 [2020-06-17T23:11:06.801Z] > git checkout -f 33c8a96f9407022210e88e1680d02999f55ee038 # timeout=10 [2020-06-17T23:11:06.837Z] > git remote # timeout=10 [2020-06-17T23:11:06.842Z] > git config --get remote.origin.url # timeout=10 [2020-06-17T23:11:06.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T23:11:06.851Z] > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 [2020-06-17T23:11:06.861Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-17T23:11:06.871Z] > git config core.sparsecheckout # timeout=10 [2020-06-17T23:11:06.875Z] > git checkout -f 33c8a96f9407022210e88e1680d02999f55ee038 # timeout=10 [2020-06-17T23:11:10.709Z] Commit message: "test: test commit for a test PR" [2020-06-17T23:11:10.787Z] > git --version # timeout=10 [2020-06-17T23:11:10.802Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-17T23:11:12.157Z] ========================================================= [2020-06-17T23:11:12.157Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-17T23:11:12.157Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-17T23:11:13.059Z] + 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-17T23:11:13.332Z] Sending build context to Docker daemon 8.031MB [2020-06-17T23:11:13.332Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-17T23:11:13.332Z] Step 2/10 : FROM ${BASE} [2020-06-17T23:11:13.332Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-17T23:11:13.332Z] e6b0cf9c0882: Pulling fs layer [2020-06-17T23:11:13.332Z] 2848faf0eed1: Pulling fs layer [2020-06-17T23:11:13.332Z] 0f37312ad70f: Pulling fs layer [2020-06-17T23:11:13.332Z] 5788d62ee057: Pulling fs layer [2020-06-17T23:11:13.332Z] 0e6b1d234666: Pulling fs layer [2020-06-17T23:11:13.332Z] bf5d7aec512f: Pulling fs layer [2020-06-17T23:11:13.332Z] 34c802a77dc8: Pulling fs layer [2020-06-17T23:11:13.332Z] 9eb99e56ec68: Pulling fs layer [2020-06-17T23:11:13.332Z] 27c7a5d97fbd: Pulling fs layer [2020-06-17T23:11:13.332Z] 5c102a31e300: Pulling fs layer [2020-06-17T23:11:13.332Z] dcfb455df0a1: Pulling fs layer [2020-06-17T23:11:13.332Z] 5788d62ee057: Waiting [2020-06-17T23:11:13.332Z] 0e6b1d234666: Waiting [2020-06-17T23:11:13.332Z] bf5d7aec512f: Waiting [2020-06-17T23:11:13.332Z] 34c802a77dc8: Waiting [2020-06-17T23:11:13.332Z] 9eb99e56ec68: Waiting [2020-06-17T23:11:13.332Z] 27c7a5d97fbd: Waiting [2020-06-17T23:11:13.332Z] 5c102a31e300: Waiting [2020-06-17T23:11:13.332Z] dcfb455df0a1: Waiting [2020-06-17T23:11:13.332Z] 0f37312ad70f: Verifying Checksum [2020-06-17T23:11:13.332Z] 0f37312ad70f: Download complete [2020-06-17T23:11:13.332Z] 2848faf0eed1: Verifying Checksum [2020-06-17T23:11:13.332Z] 2848faf0eed1: Download complete [2020-06-17T23:11:13.603Z] 0e6b1d234666: Verifying Checksum [2020-06-17T23:11:13.603Z] 0e6b1d234666: Download complete [2020-06-17T23:11:13.603Z] bf5d7aec512f: Verifying Checksum [2020-06-17T23:11:13.603Z] bf5d7aec512f: Download complete [2020-06-17T23:11:13.603Z] e6b0cf9c0882: Verifying Checksum [2020-06-17T23:11:13.603Z] e6b0cf9c0882: Download complete [2020-06-17T23:11:13.936Z] e6b0cf9c0882: Pull complete [2020-06-17T23:11:14.539Z] 34c802a77dc8: Verifying Checksum [2020-06-17T23:11:14.539Z] 34c802a77dc8: Download complete [2020-06-17T23:11:14.539Z] 27c7a5d97fbd: Verifying Checksum [2020-06-17T23:11:14.539Z] 27c7a5d97fbd: Download complete [2020-06-17T23:11:15.204Z] 5c102a31e300: Verifying Checksum [2020-06-17T23:11:15.204Z] 5c102a31e300: Download complete [2020-06-17T23:11:15.495Z] dcfb455df0a1: Download complete [2020-06-17T23:11:15.495Z] 2848faf0eed1: Pull complete [2020-06-17T23:11:15.495Z] 5788d62ee057: Verifying Checksum [2020-06-17T23:11:15.495Z] 5788d62ee057: Download complete [2020-06-17T23:11:15.767Z] 9eb99e56ec68: Verifying Checksum [2020-06-17T23:11:15.767Z] 9eb99e56ec68: Download complete [2020-06-17T23:11:15.767Z] 0f37312ad70f: Pull complete [2020-06-17T23:11:24.151Z] 5788d62ee057: Pull complete [2020-06-17T23:11:24.151Z] 0e6b1d234666: Pull complete [2020-06-17T23:11:24.151Z] bf5d7aec512f: Pull complete [2020-06-17T23:11:30.769Z] 34c802a77dc8: Pull complete [2020-06-17T23:11:33.325Z] 9eb99e56ec68: Pull complete [2020-06-17T23:11:33.589Z] 27c7a5d97fbd: Pull complete [2020-06-17T23:11:34.541Z] 5c102a31e300: Pull complete [2020-06-17T23:11:34.541Z] dcfb455df0a1: Pull complete [2020-06-17T23:11:34.541Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-17T23:11:34.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-17T23:11:34.541Z] ---> 7c70fe431013 [2020-06-17T23:11:34.541Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-17T23:11:36.453Z] ---> Running in 966c934d2aaf [2020-06-17T23:11:36.453Z] Removing intermediate container 966c934d2aaf [2020-06-17T23:11:36.453Z] ---> a0294b729f0f [2020-06-17T23:11:36.453Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-17T23:11:36.453Z] ---> Running in cc01d8dba5c2 [2020-06-17T23:11:36.453Z] Removing intermediate container cc01d8dba5c2 [2020-06-17T23:11:36.453Z] ---> 03d549ad78e6 [2020-06-17T23:11:36.453Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-17T23:11:36.727Z] ---> Running in 212bff11ce54 [2020-06-17T23:11:36.727Z] Removing intermediate container 212bff11ce54 [2020-06-17T23:11:36.727Z] ---> abb5bec59848 [2020-06-17T23:11:36.727Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-17T23:11:36.727Z] ---> Running in 199b4c8e6a87 [2020-06-17T23:11:38.125Z] Removing intermediate container 199b4c8e6a87 [2020-06-17T23:11:38.125Z] ---> 50db850f0bfa [2020-06-17T23:11:38.125Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-17T23:11:38.125Z] ---> Running in b6b6b15ebbf9 [2020-06-17T23:11:38.700Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-17T23:11:39.644Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-17T23:11:39.917Z] OK: 143 MiB in 39 packages [2020-06-17T23:11:40.494Z] Removing intermediate container b6b6b15ebbf9 [2020-06-17T23:11:40.494Z] ---> 7697166c7f4e [2020-06-17T23:11:40.494Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-17T23:11:40.494Z] ---> Running in 90de32195097 [2020-06-17T23:11:40.494Z] Removing intermediate container 90de32195097 [2020-06-17T23:11:40.494Z] ---> b277b843fb1d [2020-06-17T23:11:40.494Z] Step 9/10 : COPY . . [2020-06-17T23:11:41.443Z] ---> e0d746f8373b [2020-06-17T23:11:41.443Z] Step 10/10 : RUN go mod download [2020-06-17T23:11:41.443Z] ---> Running in 9996ee5b5e2c [2020-06-17T23:11:44.020Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-17T23:11:44.020Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-17T23:11:44.020Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-17T23:11:44.020Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-17T23:11:44.020Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-17T23:11:44.020Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-17T23:11:44.020Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-17T23:11:44.020Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-17T23:11:44.020Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-17T23:11:44.020Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-17T23:11:44.021Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-17T23:11:44.021Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-17T23:11:44.021Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-17T23:11:44.021Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-17T23:11:44.021Z] go: finding github.com/fatih/color v1.7.0 [2020-06-17T23:11:44.021Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-17T23:11:44.021Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-17T23:11:44.021Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-17T23:11:44.021Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-17T23:11:44.021Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-17T23:11:44.021Z] go: finding github.com/google/uuid v1.1.0 [2020-06-17T23:11:44.021Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-17T23:11:44.021Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-17T23:11:44.021Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-17T23:11:44.281Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-17T23:11:44.281Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-17T23:11:44.281Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-17T23:11:44.281Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-17T23:11:44.281Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-17T23:11:44.281Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-17T23:11:44.281Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-17T23:11:44.281Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-17T23:11:44.281Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-17T23:11:44.281Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-17T23:11:44.281Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-17T23:11:44.281Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-17T23:11:44.281Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-17T23:11:44.542Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-17T23:11:44.542Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-17T23:11:44.542Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-17T23:11:44.542Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-17T23:11:44.542Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-17T23:11:44.542Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-17T23:11:44.542Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-17T23:11:44.542Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-17T23:11:44.542Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-17T23:11:44.805Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-17T23:11:44.805Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-17T23:11:44.805Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-17T23:11:44.805Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-17T23:11:44.805Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-17T23:11:44.805Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-17T23:11:44.805Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-17T23:11:44.805Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-17T23:11:44.805Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-17T23:11:44.805Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-17T23:11:44.805Z] go: finding github.com/posener/complete v1.1.1 [2020-06-17T23:11:44.805Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-17T23:11:44.805Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-17T23:11:44.805Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-17T23:11:44.805Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-17T23:11:44.805Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-17T23:11:45.069Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-17T23:11:45.069Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-17T23:11:45.069Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-17T23:11:45.069Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-17T23:11:45.069Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-17T23:11:45.069Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-17T23:11:45.069Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-17T23:11:45.069Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-17T23:11:53.258Z] Removing intermediate container 9996ee5b5e2c [2020-06-17T23:11:53.258Z] ---> d297bddc5e07 [2020-06-17T23:11:53.258Z] Successfully built d297bddc5e07 [2020-06-17T23:11:53.258Z] 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-17T23:11:53.964Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-17T23:11:53.964Z] . [Pipeline] withDockerContainer [2020-06-17T23:11:54.088Z] prd-centos7-docker-4c-2g-3432 does not seem to be running inside a container [2020-06-17T23:11:54.147Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-06-17T23:11:55.262Z] $ docker top cc0c9fdb049d23c7a8257c9067cb60f7960cd3cf78f7b60699368ab3aae4780c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-17T23:11:55.730Z] + go version [2020-06-17T23:11:55.731Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-17T23:11:56.052Z] + make test [2020-06-17T23:11:56.052Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-17T23:11:57.465Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-17T23:12:09.975Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-17T23:12:09.975Z] ok github.com/edgexfoundry/device-rest-go/driver 0.026s coverage: 56.3% of statements [2020-06-17T23:12:09.975Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-17T23:12:12.600Z] gofmt -l . [2020-06-17T23:12:12.600Z] [ "`gofmt -l .`" = "" ] [2020-06-17T23:12:12.600Z] ./bin/test-go-mod-tidy.sh [2020-06-17T23:12:12.864Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-17T23:12:13.389Z] Stashed 1 file(s) [Pipeline] } [2020-06-17T23:12:13.413Z] $ docker stop --time=1 cc0c9fdb049d23c7a8257c9067cb60f7960cd3cf78f7b60699368ab3aae4780c [2020-06-17T23:12:15.706Z] $ docker rm -f cc0c9fdb049d23c7a8257c9067cb60f7960cd3cf78f7b60699368ab3aae4780c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-17T23:12:17.875Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-17T23:12:18.199Z] + ls -al . [2020-06-17T23:12:18.199Z] total 96 [2020-06-17T23:12:18.199Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 17 23:12 . [2020-06-17T23:12:18.199Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 17 23:11 .. [2020-06-17T23:12:18.199Z] -rw-rw-r--. 1 jenkins jenkins 4802 Jun 17 23:11 Attribution.txt [2020-06-17T23:12:18.199Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 23:11 bin [2020-06-17T23:12:18.199Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 23:11 cmd [2020-06-17T23:12:18.199Z] -rw-r--r--. 1 jenkins jenkins 9369 Jun 17 23:12 coverage.out [2020-06-17T23:12:18.199Z] -rw-rw-r--. 1 jenkins jenkins 1504 Jun 17 23:11 Dockerfile [2020-06-17T23:12:18.199Z] -rw-rw-r--. 1 jenkins jenkins 989 Jun 17 23:11 Dockerfile.build [2020-06-17T23:12:18.199Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 17 23:11 .dockerignore [2020-06-17T23:12:18.199Z] drwxrwxr-x. 2 jenkins jenkins 93 Jun 17 23:12 driver [2020-06-17T23:12:18.199Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 17 23:11 .git [2020-06-17T23:12:18.199Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 17 23:11 .github [2020-06-17T23:12:18.199Z] -rw-rw-r--. 1 jenkins jenkins 339 Jun 17 23:11 .gitignore [2020-06-17T23:12:18.199Z] -rw-r--r--. 1 jenkins jenkins 266 Jun 17 23:12 go.mod [2020-06-17T23:12:18.199Z] -rw-r--r--. 1 jenkins jenkins 12533 Jun 17 23:12 go.sum [2020-06-17T23:12:18.199Z] -rw-rw-r--. 1 jenkins jenkins 702 Jun 17 23:11 Jenkinsfile [2020-06-17T23:12:18.199Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 23:11 LICENSE [2020-06-17T23:12:18.199Z] -rw-rw-r--. 1 jenkins jenkins 951 Jun 17 23:11 Makefile [2020-06-17T23:12:18.199Z] -rw-rw-r--. 1 jenkins jenkins 5717 Jun 17 23:11 README.md [2020-06-17T23:12:18.199Z] drwxrwxr-x. 3 jenkins jenkins 45 Jun 17 23:11 .semver [2020-06-17T23:12:18.199Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 17 23:08 VERSION [2020-06-17T23:12:18.199Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 17 23:11 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-17T23:12:18.541Z] + 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=33c8a96f9407022210e88e1680d02999f55ee038 --label arch=amd64 --label version=0.0.0 . [2020-06-17T23:12:18.542Z] Sending build context to Docker daemon 8.043MB [2020-06-17T23:12:18.542Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-17T23:12:18.542Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-17T23:12:18.542Z] ---> d297bddc5e07 [2020-06-17T23:12:18.542Z] Step 3/24 : ARG MAKE='make build' [2020-06-17T23:12:18.802Z] ---> Running in 87913f231bb2 [2020-06-17T23:12:18.802Z] Removing intermediate container 87913f231bb2 [2020-06-17T23:12:18.802Z] ---> 3f5df284b050 [2020-06-17T23:12:18.802Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-17T23:12:19.063Z] ---> Running in 65c555e330a5 [2020-06-17T23:12:19.063Z] Removing intermediate container 65c555e330a5 [2020-06-17T23:12:19.063Z] ---> 29684adc7230 [2020-06-17T23:12:19.063Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-17T23:12:19.063Z] ---> Running in 9263f19e7ace [2020-06-17T23:12:19.325Z] Removing intermediate container 9263f19e7ace [2020-06-17T23:12:19.325Z] ---> 6f2aa5312c8a [2020-06-17T23:12:19.325Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-17T23:12:19.325Z] ---> Running in f6c0cb601bcf [2020-06-17T23:12:20.268Z] Removing intermediate container f6c0cb601bcf [2020-06-17T23:12:20.268Z] ---> eebc8d2b4c11 [2020-06-17T23:12:20.268Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-17T23:12:20.268Z] ---> Running in bbd02061920c [2020-06-17T23:12:20.849Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-17T23:12:21.436Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-17T23:12:21.703Z] OK: 143 MiB in 39 packages [2020-06-17T23:12:22.289Z] Removing intermediate container bbd02061920c [2020-06-17T23:12:22.289Z] ---> a5e422c43770 [2020-06-17T23:12:22.289Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-17T23:12:22.289Z] ---> Running in 213cffa5eaf6 [2020-06-17T23:12:22.560Z] Removing intermediate container 213cffa5eaf6 [2020-06-17T23:12:22.561Z] ---> 906d513d991c [2020-06-17T23:12:22.561Z] Step 9/24 : COPY go.mod . [2020-06-17T23:12:22.824Z] ---> 63177c039d6c [2020-06-17T23:12:22.824Z] Step 10/24 : COPY Makefile . [2020-06-17T23:12:23.087Z] ---> 25af80dc58ca [2020-06-17T23:12:23.087Z] Step 11/24 : RUN make update [2020-06-17T23:12:23.087Z] ---> Running in 31e08f7ad190 [2020-06-17T23:12:23.703Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-17T23:12:24.298Z] Removing intermediate container 31e08f7ad190 [2020-06-17T23:12:24.298Z] ---> 7b2c0c24b89e [2020-06-17T23:12:24.298Z] Step 12/24 : COPY . . [2020-06-17T23:12:24.888Z] ---> 2df22aade26b [2020-06-17T23:12:24.888Z] Step 13/24 : RUN $MAKE [2020-06-17T23:12:24.888Z] ---> Running in c23cfb33156d [2020-06-17T23:12:25.473Z] 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-17T23:12:37.894Z] Removing intermediate container c23cfb33156d [2020-06-17T23:12:37.894Z] ---> 90388b215f4a [2020-06-17T23:12:37.894Z] Step 14/24 : FROM alpine:latest [2020-06-17T23:12:37.894Z] latest: Pulling from library/alpine [2020-06-17T23:12:37.894Z] df20fa9351a1: Pulling fs layer [2020-06-17T23:12:37.894Z] df20fa9351a1: Verifying Checksum [2020-06-17T23:12:37.894Z] df20fa9351a1: Download complete [2020-06-17T23:12:37.894Z] df20fa9351a1: Pull complete [2020-06-17T23:12:37.894Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-17T23:12:37.894Z] Status: Downloaded newer image for alpine:latest [2020-06-17T23:12:37.894Z] ---> a24bb4013296 [2020-06-17T23:12:37.894Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-17T23:12:38.157Z] ---> Running in b5e7467c76be [2020-06-17T23:12:38.157Z] Removing intermediate container b5e7467c76be [2020-06-17T23:12:38.157Z] ---> d9d15fc3480b [2020-06-17T23:12:38.157Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-17T23:12:38.438Z] ---> Running in a7598c65b0c6 [2020-06-17T23:12:38.438Z] Removing intermediate container a7598c65b0c6 [2020-06-17T23:12:38.438Z] ---> 5a27ef83ca53 [2020-06-17T23:12:38.438Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-17T23:12:38.710Z] ---> 7536943de481 [2020-06-17T23:12:38.710Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-17T23:12:38.972Z] ---> f00aaf78afac [2020-06-17T23:12:38.972Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-17T23:12:39.559Z] ---> e47ff5dfd140 [2020-06-17T23:12:39.559Z] Step 20/24 : EXPOSE 49986 [2020-06-17T23:12:39.559Z] ---> Running in 643062e6b117 [2020-06-17T23:12:39.821Z] Removing intermediate container 643062e6b117 [2020-06-17T23:12:39.821Z] ---> 54c7eb41341d [2020-06-17T23:12:39.821Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-17T23:12:39.821Z] ---> Running in df6d921b3457 [2020-06-17T23:12:40.083Z] Removing intermediate container df6d921b3457 [2020-06-17T23:12:40.083Z] ---> 4f987dedc048 [2020-06-17T23:12:40.083Z] Step 22/24 : LABEL arch=amd64 [2020-06-17T23:12:40.083Z] ---> Running in d15321b8a10d [2020-06-17T23:12:40.083Z] Removing intermediate container d15321b8a10d [2020-06-17T23:12:40.083Z] ---> fd29b975e272 [2020-06-17T23:12:40.083Z] Step 23/24 : LABEL git_sha=33c8a96f9407022210e88e1680d02999f55ee038 [2020-06-17T23:12:40.347Z] ---> Running in 413b9d947062 [2020-06-17T23:12:40.347Z] Removing intermediate container 413b9d947062 [2020-06-17T23:12:40.347Z] ---> 808e3e8cad53 [2020-06-17T23:12:40.347Z] Step 24/24 : LABEL version=0.0.0 [2020-06-17T23:12:40.347Z] ---> Running in 745787d3f043 [2020-06-17T23:12:40.607Z] Removing intermediate container 745787d3f043 [2020-06-17T23:12:40.607Z] ---> a88a1f8d6815 [2020-06-17T23:12:40.607Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-17T23:12:40.607Z] Successfully built a88a1f8d6815 [2020-06-17T23:12:40.607Z] 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-17T23:13:11.788Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3434 in /w/workspace/dgexfoundry_device-rest-go_PR-26 [Pipeline] { [Pipeline] ws [2020-06-17T23:13:11.842Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-06-17T23:13:17.366Z] using credential edgex-jenkins-ssh [2020-06-17T23:13:17.400Z] Cloning the remote Git repository [2020-06-17T23:13:17.400Z] Cloning with configured refspecs honoured and without tags [2020-06-17T23:13:17.449Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-17T23:13:17.570Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-06-17T23:13:17.660Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-17T23:13:17.662Z] > git --version # timeout=10 [2020-06-17T23:13:17.693Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T23:13:17.777Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/26/head:refs/remotes/origin/PR-26 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T23:13:19.406Z] Fetching without tags [2020-06-17T23:13:19.294Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-17T23:13:19.314Z] > git config --add remote.origin.fetch +refs/pull/26/head:refs/remotes/origin/PR-26 # timeout=10 [2020-06-17T23:13:19.327Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T23:13:19.362Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-17T23:13:19.398Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-17T23:13:19.399Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T23:13:19.412Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/26/head:refs/remotes/origin/PR-26 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T23:13:19.905Z] Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 33c8a96f9407022210e88e1680d02999f55ee038 [2020-06-17T23:13:20.134Z] Merge succeeded, producing 33c8a96f9407022210e88e1680d02999f55ee038 [2020-06-17T23:13:20.134Z] Checking out Revision 33c8a96f9407022210e88e1680d02999f55ee038 (PR-26) [2020-06-17T23:13:19.904Z] > git config core.sparsecheckout # timeout=10 [2020-06-17T23:13:19.928Z] > git checkout -f 33c8a96f9407022210e88e1680d02999f55ee038 # timeout=10 [2020-06-17T23:13:20.009Z] > git remote # timeout=10 [2020-06-17T23:13:20.028Z] > git config --get remote.origin.url # timeout=10 [2020-06-17T23:13:20.057Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T23:13:20.069Z] > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 [2020-06-17T23:13:20.093Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-17T23:13:20.119Z] > git config core.sparsecheckout # timeout=10 [2020-06-17T23:13:20.138Z] > git checkout -f 33c8a96f9407022210e88e1680d02999f55ee038 # timeout=10 [2020-06-17T23:13:24.652Z] Commit message: "test: test commit for a test PR" [2020-06-17T23:13:24.686Z] > git --version # timeout=10 [2020-06-17T23:13:24.722Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-17T23:13:26.736Z] ========================================================= [2020-06-17T23:13:26.736Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-17T23:13:26.736Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-17T23:13:27.857Z] + 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-17T23:13:28.843Z] Sending build context to Docker daemon 8.031MB [2020-06-17T23:13:28.843Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-17T23:13:28.843Z] Step 2/10 : FROM ${BASE} [2020-06-17T23:13:29.118Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-17T23:13:29.119Z] cde5963f3b93: Pulling fs layer [2020-06-17T23:13:29.119Z] 2a23fa8c16f7: Pulling fs layer [2020-06-17T23:13:29.119Z] 777b28850792: Pulling fs layer [2020-06-17T23:13:29.119Z] 8a11ddd9e578: Pulling fs layer [2020-06-17T23:13:29.119Z] 4cf88f913ddb: Pulling fs layer [2020-06-17T23:13:29.119Z] 1df406cf5192: Pulling fs layer [2020-06-17T23:13:29.119Z] cd6300453558: Pulling fs layer [2020-06-17T23:13:29.119Z] b9c365052c96: Pulling fs layer [2020-06-17T23:13:29.119Z] a2d8cc88f415: Pulling fs layer [2020-06-17T23:13:29.119Z] ea1d1ca13537: Pulling fs layer [2020-06-17T23:13:29.119Z] 3750a50a1c5e: Pulling fs layer [2020-06-17T23:13:29.119Z] cd6300453558: Waiting [2020-06-17T23:13:29.119Z] b9c365052c96: Waiting [2020-06-17T23:13:29.119Z] a2d8cc88f415: Waiting [2020-06-17T23:13:29.119Z] ea1d1ca13537: Waiting [2020-06-17T23:13:29.119Z] 8a11ddd9e578: Waiting [2020-06-17T23:13:29.119Z] 4cf88f913ddb: Waiting [2020-06-17T23:13:29.119Z] 1df406cf5192: Waiting [2020-06-17T23:13:29.119Z] 3750a50a1c5e: Waiting [2020-06-17T23:13:29.119Z] 777b28850792: Download complete [2020-06-17T23:13:29.119Z] 2a23fa8c16f7: Verifying Checksum [2020-06-17T23:13:29.119Z] 2a23fa8c16f7: Download complete [2020-06-17T23:13:29.401Z] 4cf88f913ddb: Verifying Checksum [2020-06-17T23:13:29.401Z] 4cf88f913ddb: Download complete [2020-06-17T23:13:29.401Z] 1df406cf5192: Verifying Checksum [2020-06-17T23:13:29.401Z] 1df406cf5192: Download complete [2020-06-17T23:13:29.401Z] cde5963f3b93: Verifying Checksum [2020-06-17T23:13:29.401Z] cde5963f3b93: Download complete [2020-06-17T23:13:30.429Z] cde5963f3b93: Pull complete [2020-06-17T23:13:31.444Z] 2a23fa8c16f7: Pull complete [2020-06-17T23:13:32.076Z] 777b28850792: Pull complete [2020-06-17T23:13:32.076Z] cd6300453558: Verifying Checksum [2020-06-17T23:13:32.077Z] cd6300453558: Download complete [2020-06-17T23:13:32.077Z] a2d8cc88f415: Verifying Checksum [2020-06-17T23:13:32.077Z] a2d8cc88f415: Download complete [2020-06-17T23:13:33.382Z] ea1d1ca13537: Download complete [2020-06-17T23:13:33.382Z] 3750a50a1c5e: Download complete [2020-06-17T23:13:34.811Z] b9c365052c96: Verifying Checksum [2020-06-17T23:13:34.811Z] b9c365052c96: Download complete [2020-06-17T23:13:34.811Z] 8a11ddd9e578: Verifying Checksum [2020-06-17T23:13:34.811Z] 8a11ddd9e578: Download complete [2020-06-17T23:13:47.202Z] 8a11ddd9e578: Pull complete [2020-06-17T23:13:47.202Z] 4cf88f913ddb: Pull complete [2020-06-17T23:13:47.202Z] 1df406cf5192: Pull complete [2020-06-17T23:13:50.591Z] cd6300453558: Pull complete [2020-06-17T23:13:54.935Z] b9c365052c96: Pull complete [2020-06-17T23:13:55.214Z] a2d8cc88f415: Pull complete [2020-06-17T23:13:57.205Z] ea1d1ca13537: Pull complete [2020-06-17T23:13:57.800Z] 3750a50a1c5e: Pull complete [2020-06-17T23:13:57.800Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-17T23:13:57.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-17T23:13:57.800Z] ---> 78745c68409d [2020-06-17T23:13:57.800Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-17T23:14:03.190Z] ---> Running in 798d9e3953a6 [2020-06-17T23:14:03.190Z] Removing intermediate container 798d9e3953a6 [2020-06-17T23:14:03.190Z] ---> 5d3a9e705be2 [2020-06-17T23:14:03.190Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-17T23:14:03.190Z] ---> Running in 2dd6dec0df34 [2020-06-17T23:14:03.462Z] Removing intermediate container 2dd6dec0df34 [2020-06-17T23:14:03.462Z] ---> 4d70bd9a1c34 [2020-06-17T23:14:03.462Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-17T23:14:03.735Z] ---> Running in eba9ba76ba04 [2020-06-17T23:14:04.011Z] Removing intermediate container eba9ba76ba04 [2020-06-17T23:14:04.011Z] ---> 4b9cac350af1 [2020-06-17T23:14:04.011Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-17T23:14:04.284Z] ---> Running in 890b3c08c8f1 [2020-06-17T23:14:06.905Z] Removing intermediate container 890b3c08c8f1 [2020-06-17T23:14:06.905Z] ---> 36752ffb1abc [2020-06-17T23:14:06.905Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-17T23:14:06.905Z] ---> Running in 0c1186c0ab66 [2020-06-17T23:14:08.337Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-17T23:14:09.317Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-17T23:14:09.912Z] OK: 125 MiB in 39 packages [2020-06-17T23:14:10.888Z] Removing intermediate container 0c1186c0ab66 [2020-06-17T23:14:10.888Z] ---> 8f620f8e0c8d [2020-06-17T23:14:10.888Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-17T23:14:11.163Z] ---> Running in 5a9427a1bd57 [2020-06-17T23:14:11.755Z] Removing intermediate container 5a9427a1bd57 [2020-06-17T23:14:11.755Z] ---> 95bed9314476 [2020-06-17T23:14:11.755Z] Step 9/10 : COPY . . [2020-06-17T23:14:12.736Z] ---> c581d324b8fd [2020-06-17T23:14:12.736Z] Step 10/10 : RUN go mod download [2020-06-17T23:14:13.010Z] ---> Running in fab4cd787c79 [2020-06-17T23:14:15.622Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-17T23:14:15.622Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-17T23:14:15.622Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-17T23:14:15.622Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-17T23:14:15.622Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-17T23:14:15.622Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-17T23:14:15.622Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-17T23:14:15.622Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-17T23:14:15.622Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-17T23:14:15.622Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-17T23:14:15.622Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-17T23:14:15.622Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-17T23:14:15.622Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-17T23:14:15.622Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-17T23:14:15.622Z] go: finding github.com/fatih/color v1.7.0 [2020-06-17T23:14:15.622Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-17T23:14:15.894Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-17T23:14:15.894Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-17T23:14:15.894Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-17T23:14:15.894Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-17T23:14:15.894Z] go: finding github.com/google/uuid v1.1.0 [2020-06-17T23:14:15.894Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-17T23:14:15.894Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-17T23:14:15.894Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-17T23:14:15.894Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-17T23:14:15.894Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-17T23:14:15.894Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-17T23:14:16.165Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-17T23:14:16.165Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-17T23:14:16.165Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-17T23:14:16.165Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-17T23:14:16.165Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-17T23:14:16.165Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-17T23:14:16.165Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-17T23:14:16.165Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-17T23:14:16.165Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-17T23:14:16.165Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-17T23:14:16.165Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-17T23:14:16.165Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-17T23:14:16.165Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-17T23:14:16.165Z] go: finding github.com/posener/complete v1.1.1 [2020-06-17T23:14:16.165Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-17T23:14:16.165Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-17T23:14:16.165Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-17T23:14:16.165Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-17T23:14:16.165Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-17T23:14:16.165Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-17T23:14:16.165Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-17T23:14:16.165Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-17T23:14:16.165Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-17T23:14:16.165Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-17T23:14:16.165Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-17T23:14:16.165Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-17T23:14:16.165Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-17T23:14:26.320Z] Removing intermediate container fab4cd787c79 [2020-06-17T23:14:26.320Z] ---> 54f0a2e3fac0 [2020-06-17T23:14:26.320Z] Successfully built 54f0a2e3fac0 [2020-06-17T23:14:26.320Z] 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-17T23:14:27.039Z] + docker inspect -f . ci-base-image-arm64 [2020-06-17T23:14:27.039Z] . [Pipeline] withDockerContainer [2020-06-17T23:14:27.360Z] prd-ubuntu18.04-docker-arm64-4c-16g-3434 does not seem to be running inside a container [2020-06-17T23:14:27.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-06-17T23:14:29.319Z] $ docker top a4ef0e86527d486ede164058f635bd0de12f9e47977f31f10a446577997f4bc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-17T23:14:30.775Z] + go version [2020-06-17T23:14:30.775Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-17T23:14:31.848Z] + make test [2020-06-17T23:14:31.848Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-17T23:14:32.835Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-17T23:15:05.241Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-17T23:15:05.241Z] ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 56.3% of statements [2020-06-17T23:15:05.241Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-17T23:15:10.676Z] gofmt -l . [2020-06-17T23:15:10.949Z] [ "`gofmt -l .`" = "" ] [2020-06-17T23:15:10.949Z] ./bin/test-go-mod-tidy.sh [2020-06-17T23:15:11.227Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-17T23:15:12.254Z] Warning: overwriting stash ‘coverage-report’ [2020-06-17T23:15:13.132Z] Stashed 1 file(s) [Pipeline] } [2020-06-17T23:15:13.125Z] $ docker stop --time=1 a4ef0e86527d486ede164058f635bd0de12f9e47977f31f10a446577997f4bc6 [2020-06-17T23:15:15.423Z] $ docker rm -f a4ef0e86527d486ede164058f635bd0de12f9e47977f31f10a446577997f4bc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-17T23:15:16.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-17T23:15:17.078Z] + ls -al . [2020-06-17T23:15:17.078Z] total 124 [2020-06-17T23:15:17.078Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 23:15 . [2020-06-17T23:15:17.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 23:13 .. [2020-06-17T23:15:17.078Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 17 23:13 .dockerignore [2020-06-17T23:15:17.078Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 23:13 .git [2020-06-17T23:15:17.078Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 23:13 .github [2020-06-17T23:15:17.078Z] -rw-rw-r-- 1 jenkins jenkins 339 Jun 17 23:13 .gitignore [2020-06-17T23:15:17.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 23:13 .semver [2020-06-17T23:15:17.078Z] -rw-rw-r-- 1 jenkins jenkins 4802 Jun 17 23:13 Attribution.txt [2020-06-17T23:15:17.078Z] -rw-rw-r-- 1 jenkins jenkins 1504 Jun 17 23:13 Dockerfile [2020-06-17T23:15:17.078Z] -rw-rw-r-- 1 jenkins jenkins 989 Jun 17 23:13 Dockerfile.build [2020-06-17T23:15:17.078Z] -rw-rw-r-- 1 jenkins jenkins 702 Jun 17 23:13 Jenkinsfile [2020-06-17T23:15:17.078Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 23:13 LICENSE [2020-06-17T23:15:17.078Z] -rw-rw-r-- 1 jenkins jenkins 951 Jun 17 23:13 Makefile [2020-06-17T23:15:17.078Z] -rw-rw-r-- 1 jenkins jenkins 5717 Jun 17 23:13 README.md [2020-06-17T23:15:17.078Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 23:08 VERSION [2020-06-17T23:15:17.078Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 23:13 bin [2020-06-17T23:15:17.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 23:13 cmd [2020-06-17T23:15:17.078Z] -rw-r--r-- 1 jenkins jenkins 9369 Jun 17 23:15 coverage.out [2020-06-17T23:15:17.078Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 23:15 driver [2020-06-17T23:15:17.078Z] -rw-r--r-- 1 jenkins jenkins 266 Jun 17 23:15 go.mod [2020-06-17T23:15:17.078Z] -rw-r--r-- 1 jenkins jenkins 12533 Jun 17 23:15 go.sum [2020-06-17T23:15:17.078Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 17 23:13 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-17T23:15:17.450Z] + 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=33c8a96f9407022210e88e1680d02999f55ee038 --label arch=arm64 --label version=0.0.0 . [2020-06-17T23:15:18.047Z] Sending build context to Docker daemon 8.043MB [2020-06-17T23:15:18.047Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-17T23:15:18.047Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-17T23:15:18.047Z] ---> 54f0a2e3fac0 [2020-06-17T23:15:18.047Z] Step 3/24 : ARG MAKE='make build' [2020-06-17T23:15:18.319Z] ---> Running in 535df30acb7d [2020-06-17T23:15:18.912Z] Removing intermediate container 535df30acb7d [2020-06-17T23:15:18.912Z] ---> 687080ae7c5a [2020-06-17T23:15:18.912Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-17T23:15:18.912Z] ---> Running in 05bbb9625540 [2020-06-17T23:15:19.508Z] Removing intermediate container 05bbb9625540 [2020-06-17T23:15:19.508Z] ---> 654749babb60 [2020-06-17T23:15:19.508Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-17T23:15:19.508Z] ---> Running in 0ae9bc95ae23 [2020-06-17T23:15:20.102Z] Removing intermediate container 0ae9bc95ae23 [2020-06-17T23:15:20.102Z] ---> e503ee3f5e41 [2020-06-17T23:15:20.102Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-17T23:15:20.102Z] ---> Running in 5471edf8f17d [2020-06-17T23:15:22.722Z] Removing intermediate container 5471edf8f17d [2020-06-17T23:15:22.722Z] ---> 367bb03563e8 [2020-06-17T23:15:22.722Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-17T23:15:22.722Z] ---> Running in dd7bc3606795 [2020-06-17T23:15:24.151Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-17T23:15:25.149Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-17T23:15:25.745Z] OK: 125 MiB in 39 packages [2020-06-17T23:15:26.719Z] Removing intermediate container dd7bc3606795 [2020-06-17T23:15:26.719Z] ---> 0856d554b7fd [2020-06-17T23:15:26.719Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-17T23:15:26.992Z] ---> Running in 75e74d4f836a [2020-06-17T23:15:27.589Z] Removing intermediate container 75e74d4f836a [2020-06-17T23:15:27.589Z] ---> b79f5a7cd69d [2020-06-17T23:15:27.589Z] Step 9/24 : COPY go.mod . [2020-06-17T23:15:28.186Z] ---> c6bc499b424d [2020-06-17T23:15:28.186Z] Step 10/24 : COPY Makefile . [2020-06-17T23:15:28.781Z] ---> 0b69ca188eaa [2020-06-17T23:15:28.781Z] Step 11/24 : RUN make update [2020-06-17T23:15:29.054Z] ---> Running in 5d182c6a130f [2020-06-17T23:15:30.484Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-17T23:15:31.919Z] Removing intermediate container 5d182c6a130f [2020-06-17T23:15:31.919Z] ---> 612609a7a2fb [2020-06-17T23:15:31.919Z] Step 12/24 : COPY . . [2020-06-17T23:15:32.896Z] ---> 1add37ea1adf [2020-06-17T23:15:32.896Z] Step 13/24 : RUN $MAKE [2020-06-17T23:15:33.169Z] ---> Running in c0bcacdbe19d [2020-06-17T23:15:34.606Z] 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-17T23:16:01.420Z] Removing intermediate container c0bcacdbe19d [2020-06-17T23:16:01.420Z] ---> dea2accdfbd2 [2020-06-17T23:16:01.420Z] Step 14/24 : FROM alpine:latest [2020-06-17T23:16:01.420Z] latest: Pulling from library/alpine [2020-06-17T23:16:01.420Z] b538f80385f9: Pulling fs layer [2020-06-17T23:16:01.420Z] b538f80385f9: Verifying Checksum [2020-06-17T23:16:01.420Z] b538f80385f9: Download complete [2020-06-17T23:16:02.029Z] b538f80385f9: Pull complete [2020-06-17T23:16:02.029Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-17T23:16:02.029Z] Status: Downloaded newer image for alpine:latest [2020-06-17T23:16:02.029Z] ---> 62ee0e9f8440 [2020-06-17T23:16:02.029Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-17T23:16:02.303Z] ---> Running in f733abe8a272 [2020-06-17T23:16:02.576Z] Removing intermediate container f733abe8a272 [2020-06-17T23:16:02.576Z] ---> 2f8d8fe46b25 [2020-06-17T23:16:02.576Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-17T23:16:02.850Z] ---> Running in 65803d5f4860 [2020-06-17T23:16:03.125Z] Removing intermediate container 65803d5f4860 [2020-06-17T23:16:03.125Z] ---> c562a10d761a [2020-06-17T23:16:03.125Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-17T23:16:04.102Z] ---> 3f8480255ee1 [2020-06-17T23:16:04.102Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-17T23:16:04.698Z] ---> 75096ebb791f [2020-06-17T23:16:04.698Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-17T23:16:06.133Z] ---> f098468f3f56 [2020-06-17T23:16:06.133Z] Step 20/24 : EXPOSE 49986 [2020-06-17T23:16:06.406Z] ---> Running in b653553926e2 [2020-06-17T23:16:06.678Z] Removing intermediate container b653553926e2 [2020-06-17T23:16:06.678Z] ---> 2c16075b07c0 [2020-06-17T23:16:06.679Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-17T23:16:06.958Z] ---> Running in 647fdb61d605 [2020-06-17T23:16:07.230Z] Removing intermediate container 647fdb61d605 [2020-06-17T23:16:07.230Z] ---> 1ab56dfc83bc [2020-06-17T23:16:07.230Z] Step 22/24 : LABEL arch=arm64 [2020-06-17T23:16:07.501Z] ---> Running in 13964b3a2000 [2020-06-17T23:16:07.773Z] Removing intermediate container 13964b3a2000 [2020-06-17T23:16:07.773Z] ---> afc7b6f35e32 [2020-06-17T23:16:07.773Z] Step 23/24 : LABEL git_sha=33c8a96f9407022210e88e1680d02999f55ee038 [2020-06-17T23:16:08.047Z] ---> Running in 224b5e27f729 [2020-06-17T23:16:08.320Z] Removing intermediate container 224b5e27f729 [2020-06-17T23:16:08.320Z] ---> 1b697571e546 [2020-06-17T23:16:08.320Z] Step 24/24 : LABEL version=0.0.0 [2020-06-17T23:16:08.594Z] ---> Running in 37612e94e08d [2020-06-17T23:16:08.868Z] Removing intermediate container 37612e94e08d [2020-06-17T23:16:08.868Z] ---> 75f0e3632e0a [2020-06-17T23:16:08.868Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-17T23:16:09.139Z] Successfully built 75f0e3632e0a [2020-06-17T23:16:09.139Z] 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-17T23:16:10.539Z] provisioning config files... [2020-06-17T23:16:10.551Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-26@tmp/config1966015173180119107tmp [Pipeline] { [Pipeline] sh [2020-06-17T23:16:10.926Z] + curl -s https://codecov.io/bash [2020-06-17T23:16:10.926Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-26@tmp/config1966015173180119107tmp [2020-06-17T23:16:11.187Z] [2020-06-17T23:16:11.187Z] _____ _ [2020-06-17T23:16:11.187Z] / ____| | | [2020-06-17T23:16:11.187Z] | | ___ __| | ___ ___ _____ __ [2020-06-17T23:16:11.187Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-17T23:16:11.187Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-17T23:16:11.187Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-17T23:16:11.187Z] Bash-20200602-f809a24 [2020-06-17T23:16:11.187Z] [2020-06-17T23:16:11.187Z] [2020-06-17T23:16:11.187Z] ==> Jenkins CI detected. [2020-06-17T23:16:11.187Z] project root: . [2020-06-17T23:16:11.187Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-17T23:16:11.187Z] ==> Running gcov in . (disable via -X gcov) [2020-06-17T23:16:11.187Z] ==> Python coveragepy not found [2020-06-17T23:16:11.187Z] ==> Searching for coverage reports in: [2020-06-17T23:16:11.187Z] + . [2020-06-17T23:16:11.187Z] -> Found 1 reports [2020-06-17T23:16:11.187Z] ==> Detecting git/mercurial file structure [2020-06-17T23:16:11.187Z] ==> Reading reports [2020-06-17T23:16:11.187Z] + ./coverage.out bytes=9369 [2020-06-17T23:16:11.187Z] ==> Appending adjustments [2020-06-17T23:16:11.187Z] https://docs.codecov.io/docs/fixing-reports [2020-06-17T23:16:11.187Z] + Found adjustments [2020-06-17T23:16:11.187Z] ==> Gzipping contents [2020-06-17T23:16:11.187Z] ==> Uploading reports [2020-06-17T23:16:11.187Z] url: https://codecov.io [2020-06-17T23:16:11.187Z] query: branch=PR-26&commit=33c8a96f9407022210e88e1680d02999f55ee038&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-26%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=26&job= [2020-06-17T23:16:11.187Z] -> Pinging Codecov [2020-06-17T23:16:11.187Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-26&commit=33c8a96f9407022210e88e1680d02999f55ee038&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-26%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=26&job= [2020-06-17T23:16:11.762Z] -> Uploading [2020-06-17T23:16:12.335Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/33c8a96f9407022210e88e1680d02999f55ee038 [Pipeline] } [2020-06-17T23:16:12.359Z] 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-17T23:16:13.827Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-17T23:16:14.425Z] ---> package-listing.sh [2020-06-17T23:16:14.425Z] ++ facter osfamily [2020-06-17T23:16:14.425Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-17T23:16:14.425Z] + OS_FAMILY=redhat [2020-06-17T23:16:14.425Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-26 [2020-06-17T23:16:14.425Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-17T23:16:14.425Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-17T23:16:14.425Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-17T23:16:14.425Z] + PACKAGES=/tmp/packages_start.txt [2020-06-17T23:16:14.425Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-26 ']' [2020-06-17T23:16:14.425Z] + PACKAGES=/tmp/packages_end.txt [2020-06-17T23:16:14.425Z] + case "${OS_FAMILY}" in [2020-06-17T23:16:14.425Z] + rpm -qa [2020-06-17T23:16:14.425Z] + sort [2020-06-17T23:16:18.647Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-17T23:16:18.647Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-17T23:16:18.647Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-17T23:16:18.647Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-26 ']' [2020-06-17T23:16:18.647Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-26/archives/ [2020-06-17T23:16:18.647Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-26/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-17T23:16:19.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-17T23:16:19.070Z] [2020-06-17T23:16:19.070Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-17T23:16:19.437Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-17T23:16:19.437Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-17T23:16:19.437Z] c9b1b535fdd9: Pulling fs layer [2020-06-17T23:16:19.437Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-17T23:16:19.437Z] 756a868c4378: Pulling fs layer [2020-06-17T23:16:19.437Z] 444b2fc9a129: Pulling fs layer [2020-06-17T23:16:19.437Z] ea15f1150254: Pulling fs layer [2020-06-17T23:16:19.437Z] 41b27a9f41bf: Pulling fs layer [2020-06-17T23:16:19.437Z] 28c525ee5125: Pulling fs layer [2020-06-17T23:16:19.437Z] 094b1ea09ed8: Pulling fs layer [2020-06-17T23:16:19.437Z] 138eaada9080: Pulling fs layer [2020-06-17T23:16:19.437Z] 0622d0fa9048: Pulling fs layer [2020-06-17T23:16:19.437Z] 41b27a9f41bf: Waiting [2020-06-17T23:16:19.437Z] 444b2fc9a129: Waiting [2020-06-17T23:16:19.437Z] ea15f1150254: Waiting [2020-06-17T23:16:19.437Z] 094b1ea09ed8: Waiting [2020-06-17T23:16:19.437Z] 28c525ee5125: Waiting [2020-06-17T23:16:19.437Z] 138eaada9080: Waiting [2020-06-17T23:16:19.437Z] 0622d0fa9048: Waiting [2020-06-17T23:16:19.437Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-17T23:16:19.437Z] 2cc5ad85d9ab: Download complete [2020-06-17T23:16:19.437Z] 444b2fc9a129: Verifying Checksum [2020-06-17T23:16:19.437Z] 444b2fc9a129: Download complete [2020-06-17T23:16:19.437Z] c9b1b535fdd9: Verifying Checksum [2020-06-17T23:16:19.437Z] c9b1b535fdd9: Download complete [2020-06-17T23:16:19.437Z] ea15f1150254: Verifying Checksum [2020-06-17T23:16:19.437Z] ea15f1150254: Download complete [2020-06-17T23:16:19.701Z] 28c525ee5125: Verifying Checksum [2020-06-17T23:16:19.701Z] 28c525ee5125: Download complete [2020-06-17T23:16:19.977Z] 756a868c4378: Verifying Checksum [2020-06-17T23:16:19.977Z] 756a868c4378: Download complete [2020-06-17T23:16:19.977Z] c9b1b535fdd9: Pull complete [2020-06-17T23:16:19.977Z] 138eaada9080: Verifying Checksum [2020-06-17T23:16:19.977Z] 138eaada9080: Download complete [2020-06-17T23:16:19.977Z] 0622d0fa9048: Verifying Checksum [2020-06-17T23:16:19.977Z] 0622d0fa9048: Download complete [2020-06-17T23:16:19.977Z] 094b1ea09ed8: Verifying Checksum [2020-06-17T23:16:19.977Z] 094b1ea09ed8: Download complete [2020-06-17T23:16:20.558Z] 2cc5ad85d9ab: Pull complete [2020-06-17T23:16:20.558Z] 41b27a9f41bf: Verifying Checksum [2020-06-17T23:16:20.558Z] 41b27a9f41bf: Download complete [2020-06-17T23:16:21.952Z] 756a868c4378: Pull complete [2020-06-17T23:16:21.952Z] 444b2fc9a129: Pull complete [2020-06-17T23:16:22.217Z] ea15f1150254: Pull complete [2020-06-17T23:16:27.524Z] 41b27a9f41bf: Pull complete [2020-06-17T23:16:27.524Z] 28c525ee5125: Pull complete [2020-06-17T23:16:30.066Z] 094b1ea09ed8: Pull complete [2020-06-17T23:16:30.066Z] 138eaada9080: Pull complete [2020-06-17T23:16:30.066Z] 0622d0fa9048: Pull complete [2020-06-17T23:16:30.066Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-17T23:16:30.066Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-17T23:16:30.066Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-17T23:16:30.227Z] prd-centos7-docker-4c-2g-3431 does not seem to be running inside a container [2020-06-17T23:16:30.270Z] $ 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-26 -v /w/workspace/dgexfoundry_device-rest-go_PR-26:/w/workspace/dgexfoundry_device-rest-go_PR-26:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-26@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-26@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:10003/edgex-lftools-log-publisher:alpine cat [2020-06-17T23:16:33.671Z] $ docker top 58c0ac799d33d3ecbeee7eb64ff06b74339e6b692e493fad358b2826ccd7c692 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-17T23:16:33.905Z] provisioning config files... [2020-06-17T23:16:33.918Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-26@tmp/config6957658452155533212tmp [Pipeline] { [Pipeline] echo [2020-06-17T23:16:33.990Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-17T23:16:34.309Z] ---> create-netrc.sh [Pipeline] echo [2020-06-17T23:16:34.339Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-17T23:16:34.655Z] ---> logs-deploy.sh [2020-06-17T23:16:34.655Z] + ARCHIVE_ARTIFACTS= [2020-06-17T23:16:34.655Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-17T23:16:34.655Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-17T23:16:34.655Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-17T23:16:34.655Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-26/1 [2020-06-17T23:16:34.655Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-26/1/ [2020-06-17T23:16:34.655Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-26/1 /w/workspace/dgexfoundry_device-rest-go_PR-26 [2020-06-17T23:16:36.042Z] Archives upload complete. [2020-06-17T23:16:36.042Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-26/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-26/1/ [2020-06-17T23:16:36.654Z] ---> uname -a: [2020-06-17T23:16:36.654Z] Linux 58c0ac799d33 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-06-17T23:16:36.654Z] [2020-06-17T23:16:36.654Z] [2020-06-17T23:16:36.654Z] ---> lscpu: [2020-06-17T23:16:36.654Z] Architecture: x86_64 [2020-06-17T23:16:36.654Z] CPU op-mode(s): 32-bit, 64-bit [2020-06-17T23:16:36.654Z] Byte Order: Little Endian [2020-06-17T23:16:36.654Z] Address sizes: 40 bits physical, 48 bits virtual [2020-06-17T23:16:36.654Z] CPU(s): 4 [2020-06-17T23:16:36.654Z] On-line CPU(s) list: 0-3 [2020-06-17T23:16:36.654Z] Thread(s) per core: 1 [2020-06-17T23:16:36.654Z] Core(s) per socket: 1 [2020-06-17T23:16:36.654Z] Socket(s): 4 [2020-06-17T23:16:36.654Z] NUMA node(s): 1 [2020-06-17T23:16:36.654Z] Vendor ID: GenuineIntel [2020-06-17T23:16:36.654Z] CPU family: 6 [2020-06-17T23:16:36.654Z] Model: 44 [2020-06-17T23:16:36.654Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-06-17T23:16:36.654Z] Stepping: 1 [2020-06-17T23:16:36.654Z] CPU MHz: 2933.438 [2020-06-17T23:16:36.654Z] BogoMIPS: 5866.87 [2020-06-17T23:16:36.654Z] Virtualization: VT-x [2020-06-17T23:16:36.654Z] Hypervisor vendor: KVM [2020-06-17T23:16:36.654Z] Virtualization type: full [2020-06-17T23:16:36.654Z] L1d cache: 128 KiB [2020-06-17T23:16:36.654Z] L1i cache: 128 KiB [2020-06-17T23:16:36.654Z] L2 cache: 16 MiB [2020-06-17T23:16:36.655Z] L3 cache: 64 MiB [2020-06-17T23:16:36.655Z] NUMA node0 CPU(s): 0-3 [2020-06-17T23:16:36.655Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-06-17T23:16:36.655Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-06-17T23:16:36.655Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-06-17T23:16:36.655Z] Vulnerability Meltdown: Mitigation; PTI [2020-06-17T23:16:36.655Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-06-17T23:16:36.655Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-06-17T23:16:36.655Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-06-17T23:16:36.655Z] Vulnerability Tsx async abort: Not affected [2020-06-17T23:16:36.655Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-06-17T23:16:36.655Z] [2020-06-17T23:16:36.655Z] [2020-06-17T23:16:36.655Z] ---> nproc: [2020-06-17T23:16:36.655Z] 4 [2020-06-17T23:16:36.655Z] [2020-06-17T23:16:36.655Z]