Pull request #23 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of tonyespy for edgexfoundry/device-rest-go Loading trusted files from base branch master at 6de27f08c1063e4823e4a492e46f5b5ad007e06d rather than e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 Obtained Jenkinsfile from 6de27f08c1063e4823e4a492e46f5b5ad007e06d Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-23/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2639’ Running on prd-centos7-docker-4c-2g-2642 in /w/workspace/dgexfoundry_device-rest-go_PR-23 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-23 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 6de27f08c1063e4823e4a492e46f5b5ad007e06d into PR head commit e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 Merge succeeded, producing e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 Checking out Revision e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 (PR-23) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/23/head:refs/remotes/origin/PR-23 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6de27f08c1063e4823e4a492e46f5b5ad007e06d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 # timeout=10 Commit message: "update device-sdk-go: 1.2.2" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-11T22:32:03.253Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-11T22:32:03.479Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-11T22:32:03.599Z] ========================================================= [2020-06-11T22:32:03.599Z] EdgeX Global Pipelines Version Info [2020-06-11T22:32:03.599Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-11T22:32:05.785Z] ------------------- [2020-06-11T22:32:05.785Z] stable info: [2020-06-11T22:32:05.785Z] ------------------- [2020-06-11T22:32:05.785Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-11T22:32:05.785Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-11T22:32:05.785Z] Message: update stable to v1.0.89 [2020-06-11T22:32:06.740Z] ------------------- [2020-06-11T22:32:06.740Z] experimental info: [2020-06-11T22:32:06.740Z] ------------------- [2020-06-11T22:32:06.740Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-11T22:32:06.740Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-11T22:32:06.740Z] 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-11T22:32:08.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T22:32:08.939Z] [2020-06-11T22:32:08.939Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-11T22:32:09.404Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T22:32:09.405Z] latest: Pulling from edgex-devops/git-semver [2020-06-11T22:32:09.405Z] 9123ac7c32f7: Pulling fs layer [2020-06-11T22:32:09.405Z] b8cc5d1170e3: Pulling fs layer [2020-06-11T22:32:09.405Z] 2924cbbf6a41: Pulling fs layer [2020-06-11T22:32:09.405Z] 93b08a4f1073: Pulling fs layer [2020-06-11T22:32:09.405Z] 93b08a4f1073: Waiting [2020-06-11T22:32:09.405Z] b8cc5d1170e3: Verifying Checksum [2020-06-11T22:32:09.405Z] b8cc5d1170e3: Download complete [2020-06-11T22:32:10.080Z] 93b08a4f1073: Verifying Checksum [2020-06-11T22:32:10.080Z] 93b08a4f1073: Download complete [2020-06-11T22:32:10.080Z] 9123ac7c32f7: Verifying Checksum [2020-06-11T22:32:10.725Z] 2924cbbf6a41: Verifying Checksum [2020-06-11T22:32:10.725Z] 2924cbbf6a41: Download complete [2020-06-11T22:32:11.004Z] 9123ac7c32f7: Pull complete [2020-06-11T22:32:11.004Z] b8cc5d1170e3: Pull complete [2020-06-11T22:32:13.076Z] 2924cbbf6a41: Pull complete [2020-06-11T22:32:13.076Z] 93b08a4f1073: Pull complete [2020-06-11T22:32:13.076Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-11T22:32:13.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T22:32:13.076Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-11T22:32:13.306Z] prd-centos7-docker-4c-2g-2642 does not seem to be running inside a container [2020-06-11T22:32:13.451Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-23 -v /w/workspace/dgexfoundry_device-rest-go_PR-23:/w/workspace/dgexfoundry_device-rest-go_PR-23:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-23@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-11T22:32:15.714Z] $ docker top 0882833caeb61bc5a5c96bd79efcd666c24c1e999a178dfea3faa82330a6bd5a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-11T22:32:16.094Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-11T22:32:16.094Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-11T22:32:16.390Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-11T22:32:16.398Z] $ docker exec 0882833caeb61bc5a5c96bd79efcd666c24c1e999a178dfea3faa82330a6bd5a ssh-agent [2020-06-11T22:32:16.648Z] SSH_AUTH_SOCK=/tmp/ssh-rE4gHqGEXMFq/agent.11 [2020-06-11T22:32:16.648Z] SSH_AGENT_PID=16 [2020-06-11T22:32:16.666Z] Running ssh-add (command line suppressed) [2020-06-11T22:32:16.846Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-23@tmp/private_key_6781666047574529327.key (/w/workspace/dgexfoundry_device-rest-go_PR-23@tmp/private_key_6781666047574529327.key) [2020-06-11T22:32:16.907Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-11T22:32:17.284Z] + git describe --exact-match --tags HEAD [2020-06-11T22:32:17.284Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-11T22:32:17.681Z] $ docker exec --env ******** --env ******** 0882833caeb61bc5a5c96bd79efcd666c24c1e999a178dfea3faa82330a6bd5a ssh-agent -k [2020-06-11T22:32:17.923Z] unset SSH_AUTH_SOCK; [2020-06-11T22:32:17.923Z] unset SSH_AGENT_PID; [2020-06-11T22:32:17.924Z] echo Agent pid 16 killed; [2020-06-11T22:32:17.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-11T22:32:18.080Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-11T22:32:18.080Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-11T22:32:18.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-11T22:32:18.144Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-11T22:32:18.380Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-11T22:32:18.388Z] $ docker exec 0882833caeb61bc5a5c96bd79efcd666c24c1e999a178dfea3faa82330a6bd5a ssh-agent [2020-06-11T22:32:18.605Z] SSH_AUTH_SOCK=/tmp/ssh-FeGPtjIX6Aee/agent.45 [2020-06-11T22:32:18.605Z] SSH_AGENT_PID=51 [2020-06-11T22:32:18.616Z] Running ssh-add (command line suppressed) [2020-06-11T22:32:18.780Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-23@tmp/private_key_8850328263969495329.key (/w/workspace/dgexfoundry_device-rest-go_PR-23@tmp/private_key_8850328263969495329.key) [2020-06-11T22:32:18.841Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-11T22:32:19.230Z] + git semver init [2020-06-11T22:32:19.230Z] # -> Open(): unable to determine branch for HEAD [2020-06-11T22:32:19.230Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-23/.git [2020-06-11T22:32:19.230Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-23 [2020-06-11T22:32:19.230Z] # $SEMVER_REMOTE_NAME = origin [2020-06-11T22:32:19.230Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-11T22:32:19.230Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-11T22:32:19.230Z] # $SEMVER_BRANCH = PR-23 [2020-06-11T22:32:19.230Z] # $SEMVER_TEMP = /tmp/semver-679745353 [2020-06-11T22:32:19.230Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-06-11T22:32:21.260Z] # '/tmp/semver-679745353' -> '/w/workspace/dgexfoundry_device-rest-go_PR-23/.semver' [2020-06-11T22:32:21.260Z] # -> Force: false [2020-06-11T22:32:21.260Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-23/.semver [Pipeline] } [2020-06-11T22:32:21.288Z] $ docker exec --env ******** --env ******** 0882833caeb61bc5a5c96bd79efcd666c24c1e999a178dfea3faa82330a6bd5a ssh-agent -k [2020-06-11T22:32:21.464Z] unset SSH_AUTH_SOCK; [2020-06-11T22:32:21.465Z] unset SSH_AGENT_PID; [2020-06-11T22:32:21.465Z] echo Agent pid 51 killed; [2020-06-11T22:32:21.522Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-11T22:32:22.018Z] + git semver [Pipeline] } [2020-06-11T22:32:22.062Z] $ docker stop --time=1 0882833caeb61bc5a5c96bd79efcd666c24c1e999a178dfea3faa82330a6bd5a [2020-06-11T22:32:23.706Z] $ docker rm -f 0882833caeb61bc5a5c96bd79efcd666c24c1e999a178dfea3faa82330a6bd5a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-11T22:32:25.646Z] Stashed 21 file(s) [Pipeline] echo [2020-06-11T22:32:25.664Z] [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-11T22:32:41.064Z] Still waiting to schedule task [2020-06-11T22:32:41.064Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-06-11T22:32:41.090Z] Still waiting to schedule task [2020-06-11T22:32:41.090Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-06-11T22:34:21.838Z] Running on prd-centos7-docker-4c-2g-2644 in /w/workspace/dgexfoundry_device-rest-go_PR-23 [Pipeline] { [Pipeline] ws [2020-06-11T22:34:21.903Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-06-11T22:34:25.121Z] using credential edgex-jenkins-ssh [2020-06-11T22:34:25.149Z] Cloning the remote Git repository [2020-06-11T22:34:25.149Z] Cloning with configured refspecs honoured and without tags [2020-06-11T22:34:25.181Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-11T22:34:25.252Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-06-11T22:34:25.881Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-11T22:34:25.881Z] > git --version # timeout=10 [2020-06-11T22:34:25.889Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T22:34:25.920Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T22:34:26.752Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-11T22:34:26.795Z] Fetching without tags [2020-06-11T22:34:27.174Z] Merging remotes/origin/master commit 6de27f08c1063e4823e4a492e46f5b5ad007e06d into PR head commit e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 [2020-06-11T22:34:27.299Z] Merge succeeded, producing e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 [2020-06-11T22:34:27.300Z] Checking out Revision e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 (PR-23) [2020-06-11T22:34:26.760Z] > git config --add remote.origin.fetch +refs/pull/23/head:refs/remotes/origin/PR-23 # timeout=10 [2020-06-11T22:34:26.769Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T22:34:26.787Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-11T22:34:26.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-11T22:34:26.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T22:34:26.805Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T22:34:27.186Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T22:34:27.193Z] > git checkout -f e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 # timeout=10 [2020-06-11T22:34:27.228Z] > git remote # timeout=10 [2020-06-11T22:34:27.241Z] > git config --get remote.origin.url # timeout=10 [2020-06-11T22:34:27.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T22:34:27.257Z] > git merge 6de27f08c1063e4823e4a492e46f5b5ad007e06d # timeout=10 [2020-06-11T22:34:27.281Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-11T22:34:27.304Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T22:34:27.308Z] > git checkout -f e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 # timeout=10 [2020-06-11T22:34:31.186Z] Commit message: "update device-sdk-go: 1.2.2" [2020-06-11T22:34:31.215Z] > git --version # timeout=10 [2020-06-11T22:34:31.225Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-11T22:34:32.574Z] ========================================================= [2020-06-11T22:34:32.574Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-11T22:34:32.574Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-11T22:34:33.390Z] + 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-11T22:34:34.358Z] Sending build context to Docker daemon 8.015MB [2020-06-11T22:34:34.358Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-11T22:34:34.358Z] Step 2/10 : FROM ${BASE} [2020-06-11T22:34:34.358Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-11T22:34:34.358Z] e6b0cf9c0882: Pulling fs layer [2020-06-11T22:34:34.358Z] 2848faf0eed1: Pulling fs layer [2020-06-11T22:34:34.358Z] 0f37312ad70f: Pulling fs layer [2020-06-11T22:34:34.358Z] 5788d62ee057: Pulling fs layer [2020-06-11T22:34:34.358Z] 0e6b1d234666: Pulling fs layer [2020-06-11T22:34:34.358Z] bf5d7aec512f: Pulling fs layer [2020-06-11T22:34:34.358Z] 34c802a77dc8: Pulling fs layer [2020-06-11T22:34:34.358Z] 9eb99e56ec68: Pulling fs layer [2020-06-11T22:34:34.358Z] 27c7a5d97fbd: Pulling fs layer [2020-06-11T22:34:34.358Z] 5c102a31e300: Pulling fs layer [2020-06-11T22:34:34.358Z] dcfb455df0a1: Pulling fs layer [2020-06-11T22:34:34.358Z] 34c802a77dc8: Waiting [2020-06-11T22:34:34.358Z] 9eb99e56ec68: Waiting [2020-06-11T22:34:34.358Z] 27c7a5d97fbd: Waiting [2020-06-11T22:34:34.358Z] 5c102a31e300: Waiting [2020-06-11T22:34:34.358Z] dcfb455df0a1: Waiting [2020-06-11T22:34:34.358Z] 5788d62ee057: Waiting [2020-06-11T22:34:34.358Z] 0e6b1d234666: Waiting [2020-06-11T22:34:34.358Z] bf5d7aec512f: Waiting [2020-06-11T22:34:34.358Z] 0f37312ad70f: Verifying Checksum [2020-06-11T22:34:34.358Z] 0f37312ad70f: Download complete [2020-06-11T22:34:34.358Z] 2848faf0eed1: Verifying Checksum [2020-06-11T22:34:34.358Z] 2848faf0eed1: Download complete [2020-06-11T22:34:34.358Z] 0e6b1d234666: Verifying Checksum [2020-06-11T22:34:34.358Z] 0e6b1d234666: Download complete [2020-06-11T22:34:34.358Z] bf5d7aec512f: Verifying Checksum [2020-06-11T22:34:34.358Z] bf5d7aec512f: Download complete [2020-06-11T22:34:34.358Z] e6b0cf9c0882: Verifying Checksum [2020-06-11T22:34:34.358Z] e6b0cf9c0882: Download complete [2020-06-11T22:34:34.635Z] e6b0cf9c0882: Pull complete [2020-06-11T22:34:34.912Z] 2848faf0eed1: Pull complete [2020-06-11T22:34:35.504Z] 34c802a77dc8: Verifying Checksum [2020-06-11T22:34:35.504Z] 34c802a77dc8: Download complete [2020-06-11T22:34:35.504Z] 27c7a5d97fbd: Verifying Checksum [2020-06-11T22:34:35.504Z] 27c7a5d97fbd: Download complete [2020-06-11T22:34:35.504Z] 0f37312ad70f: Pull complete [2020-06-11T22:34:36.093Z] 5c102a31e300: Verifying Checksum [2020-06-11T22:34:36.093Z] 5c102a31e300: Download complete [2020-06-11T22:34:36.093Z] 5788d62ee057: Verifying Checksum [2020-06-11T22:34:36.093Z] 5788d62ee057: Download complete [2020-06-11T22:34:36.093Z] 9eb99e56ec68: Verifying Checksum [2020-06-11T22:34:36.093Z] 9eb99e56ec68: Download complete [2020-06-11T22:34:36.093Z] dcfb455df0a1: Verifying Checksum [2020-06-11T22:34:36.093Z] dcfb455df0a1: Download complete [2020-06-11T22:34:42.727Z] 5788d62ee057: Pull complete [2020-06-11T22:34:42.727Z] 0e6b1d234666: Pull complete [2020-06-11T22:34:42.996Z] bf5d7aec512f: Pull complete [2020-06-11T22:34:47.236Z] 34c802a77dc8: Pull complete [2020-06-11T22:34:50.557Z] 9eb99e56ec68: Pull complete [2020-06-11T22:34:50.557Z] 27c7a5d97fbd: Pull complete [2020-06-11T22:34:51.139Z] 5c102a31e300: Pull complete [2020-06-11T22:34:51.404Z] dcfb455df0a1: Pull complete [2020-06-11T22:34:51.404Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-11T22:34:51.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-11T22:34:51.404Z] ---> 7c70fe431013 [2020-06-11T22:34:51.404Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-11T22:34:53.326Z] ---> Running in 097b8726a51a [2020-06-11T22:34:53.326Z] Removing intermediate container 097b8726a51a [2020-06-11T22:34:53.326Z] ---> eba25809a767 [2020-06-11T22:34:53.326Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-11T22:34:53.326Z] ---> Running in 74b83ac58744 [2020-06-11T22:34:53.591Z] Removing intermediate container 74b83ac58744 [2020-06-11T22:34:53.591Z] ---> 045ab4698c4d [2020-06-11T22:34:53.591Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-11T22:34:53.591Z] ---> Running in f949a5a9f58b [2020-06-11T22:34:53.854Z] Removing intermediate container f949a5a9f58b [2020-06-11T22:34:53.854Z] ---> 94a8ff1db420 [2020-06-11T22:34:53.854Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T22:34:53.854Z] ---> Running in 6ba31d8c3c08 [2020-06-11T22:34:55.246Z] Removing intermediate container 6ba31d8c3c08 [2020-06-11T22:34:55.246Z] ---> 53cd525551bc [2020-06-11T22:34:55.246Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-11T22:34:55.246Z] ---> Running in d780fb5ce8fe [2020-06-11T22:34:55.821Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-11T22:34:56.393Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-11T22:34:56.967Z] OK: 143 MiB in 39 packages [2020-06-11T22:34:57.239Z] Removing intermediate container d780fb5ce8fe [2020-06-11T22:34:57.239Z] ---> 32478bea5763 [2020-06-11T22:34:57.239Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-11T22:34:57.239Z] ---> Running in bff8b376ed5e [2020-06-11T22:34:57.503Z] Removing intermediate container bff8b376ed5e [2020-06-11T22:34:57.503Z] ---> b5859450e83c [2020-06-11T22:34:57.503Z] Step 9/10 : COPY . . [2020-06-11T22:34:58.075Z] ---> 769cece5d145 [2020-06-11T22:34:58.075Z] Step 10/10 : RUN go mod download [2020-06-11T22:34:58.075Z] ---> Running in 7bdb8b7cb72c [2020-06-11T22:35:00.000Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-11T22:35:00.000Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T22:35:00.000Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-11T22:35:00.000Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T22:35:00.000Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-11T22:35:00.000Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-11T22:35:00.000Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T22:35:00.000Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-11T22:35:00.000Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-11T22:35:00.000Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-11T22:35:00.000Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T22:35:00.000Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T22:35:00.000Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T22:35:00.000Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T22:35:00.000Z] go: finding github.com/fatih/color v1.7.0 [2020-06-11T22:35:00.000Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T22:35:00.000Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-11T22:35:00.000Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T22:35:00.000Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-11T22:35:00.000Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-11T22:35:00.000Z] go: finding github.com/google/uuid v1.1.0 [2020-06-11T22:35:00.000Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-11T22:35:00.000Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-11T22:35:00.000Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-11T22:35:00.000Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-11T22:35:00.000Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T22:35:00.000Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T22:35:00.000Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-11T22:35:00.000Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-11T22:35:00.000Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T22:35:00.000Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-11T22:35:00.000Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-11T22:35:00.000Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-11T22:35:00.000Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-11T22:35:00.000Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-11T22:35:00.000Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-11T22:35:00.261Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-11T22:35:00.261Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-11T22:35:00.261Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-11T22:35:00.261Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-11T22:35:00.261Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-11T22:35:00.261Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-11T22:35:00.261Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-11T22:35:00.261Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-11T22:35:00.261Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T22:35:00.261Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-11T22:35:00.261Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-11T22:35:00.261Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-11T22:35:00.261Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-11T22:35:00.261Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-11T22:35:00.261Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T22:35:00.261Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T22:35:00.261Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-11T22:35:00.261Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-11T22:35:00.261Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-11T22:35:00.261Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-11T22:35:00.261Z] go: finding github.com/posener/complete v1.1.1 [2020-06-11T22:35:00.261Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-11T22:35:00.261Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-11T22:35:00.261Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-11T22:35:00.522Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-11T22:35:00.522Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-11T22:35:00.522Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-11T22:35:00.522Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-11T22:35:00.522Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-11T22:35:00.523Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-11T22:35:00.523Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-11T22:35:00.523Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-11T22:35:00.523Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-11T22:35:00.523Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-11T22:35:08.769Z] Removing intermediate container 7bdb8b7cb72c [2020-06-11T22:35:08.769Z] ---> 1e40732772c2 [2020-06-11T22:35:08.769Z] Successfully built 1e40732772c2 [2020-06-11T22:35:08.769Z] 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-11T22:35:09.499Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-11T22:35:09.499Z] . [Pipeline] withDockerContainer [2020-06-11T22:35:09.623Z] prd-centos7-docker-4c-2g-2644 does not seem to be running inside a container [2020-06-11T22:35:09.678Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-06-11T22:35:10.885Z] $ docker top b464765a16137879381eace786df6c37d766f05bfa2301cff1ada6c2b1637b68 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-11T22:35:11.380Z] + go version [2020-06-11T22:35:11.380Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-11T22:35:11.720Z] + make test [2020-06-11T22:35:11.720Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-11T22:35:12.686Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-11T22:35:22.825Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-11T22:35:22.825Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 56.3% of statements [2020-06-11T22:35:23.088Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-11T22:35:25.047Z] gofmt -l . [2020-06-11T22:35:25.047Z] [ "`gofmt -l .`" = "" ] [2020-06-11T22:35:25.047Z] ./bin/test-go-mod-tidy.sh [2020-06-11T22:35:25.620Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-11T22:35:26.139Z] Stashed 1 file(s) [Pipeline] } [2020-06-11T22:35:26.156Z] $ docker stop --time=1 b464765a16137879381eace786df6c37d766f05bfa2301cff1ada6c2b1637b68 [2020-06-11T22:35:28.270Z] $ docker rm -f b464765a16137879381eace786df6c37d766f05bfa2301cff1ada6c2b1637b68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-11T22:35:29.518Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-11T22:35:29.829Z] + ls -al . [2020-06-11T22:35:29.829Z] total 96 [2020-06-11T22:35:29.829Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 11 22:35 . [2020-06-11T22:35:29.829Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 11 22:34 .. [2020-06-11T22:35:29.829Z] -rw-rw-r--. 1 jenkins jenkins 4802 Jun 11 22:34 Attribution.txt [2020-06-11T22:35:29.829Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 11 22:34 bin [2020-06-11T22:35:29.829Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 11 22:34 cmd [2020-06-11T22:35:29.830Z] -rw-r--r--. 1 jenkins jenkins 9369 Jun 11 22:35 coverage.out [2020-06-11T22:35:29.830Z] -rw-rw-r--. 1 jenkins jenkins 1504 Jun 11 22:34 Dockerfile [2020-06-11T22:35:29.830Z] -rw-rw-r--. 1 jenkins jenkins 989 Jun 11 22:34 Dockerfile.build [2020-06-11T22:35:29.830Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 11 22:34 .dockerignore [2020-06-11T22:35:29.830Z] drwxrwxr-x. 2 jenkins jenkins 93 Jun 11 22:35 driver [2020-06-11T22:35:29.830Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 11 22:34 .git [2020-06-11T22:35:29.830Z] -rw-rw-r--. 1 jenkins jenkins 339 Jun 11 22:34 .gitignore [2020-06-11T22:35:29.830Z] -rw-r--r--. 1 jenkins jenkins 266 Jun 11 22:35 go.mod [2020-06-11T22:35:29.830Z] -rw-r--r--. 1 jenkins jenkins 12533 Jun 11 22:35 go.sum [2020-06-11T22:35:29.830Z] -rw-rw-r--. 1 jenkins jenkins 702 Jun 11 22:34 Jenkinsfile [2020-06-11T22:35:29.830Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 11 22:34 LICENSE [2020-06-11T22:35:29.830Z] -rw-rw-r--. 1 jenkins jenkins 951 Jun 11 22:34 Makefile [2020-06-11T22:35:29.830Z] -rw-rw-r--. 1 jenkins jenkins 5716 Jun 11 22:34 README.md [2020-06-11T22:35:29.830Z] drwxrwxr-x. 3 jenkins jenkins 45 Jun 11 22:34 .semver [2020-06-11T22:35:29.830Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 11 22:32 VERSION [2020-06-11T22:35:29.830Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 11 22:34 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-11T22:35:30.167Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 --label arch=amd64 --label version=0.0.0 . [2020-06-11T22:35:30.430Z] Sending build context to Docker daemon 8.027MB [2020-06-11T22:35:30.430Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-11T22:35:30.430Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-11T22:35:30.430Z] ---> 1e40732772c2 [2020-06-11T22:35:30.430Z] Step 3/24 : ARG MAKE='make build' [2020-06-11T22:35:30.430Z] ---> Running in 5ca51eacdc2a [2020-06-11T22:35:30.693Z] Removing intermediate container 5ca51eacdc2a [2020-06-11T22:35:30.693Z] ---> 66387685c0cc [2020-06-11T22:35:30.693Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-11T22:35:30.693Z] ---> Running in 220e50816fef [2020-06-11T22:35:30.955Z] Removing intermediate container 220e50816fef [2020-06-11T22:35:30.955Z] ---> aeb3ee501dc5 [2020-06-11T22:35:30.955Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-11T22:35:30.955Z] ---> Running in 96bba89be1d4 [2020-06-11T22:35:31.219Z] Removing intermediate container 96bba89be1d4 [2020-06-11T22:35:31.219Z] ---> 5bb92ee07f5d [2020-06-11T22:35:31.219Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T22:35:31.219Z] ---> Running in 0c09b3449d6c [2020-06-11T22:35:31.929Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2645 in /w/workspace/dgexfoundry_device-rest-go_PR-23 [Pipeline] { [Pipeline] ws [2020-06-11T22:35:31.999Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-06-11T22:35:32.174Z] Removing intermediate container 0c09b3449d6c [2020-06-11T22:35:32.174Z] ---> b43e1acfc108 [2020-06-11T22:35:32.174Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-11T22:35:32.174Z] ---> Running in e61f2b97030d [2020-06-11T22:35:32.443Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-11T22:35:33.390Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-11T22:35:33.651Z] OK: 143 MiB in 39 packages [2020-06-11T22:35:34.228Z] Removing intermediate container e61f2b97030d [2020-06-11T22:35:34.228Z] ---> fbf54ff000a1 [2020-06-11T22:35:34.228Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-11T22:35:34.228Z] ---> Running in a3369c771d35 [2020-06-11T22:35:34.490Z] Removing intermediate container a3369c771d35 [2020-06-11T22:35:34.490Z] ---> d088cd656be5 [2020-06-11T22:35:34.490Z] Step 9/24 : COPY go.mod . [2020-06-11T22:35:34.750Z] ---> deaf60ba265e [2020-06-11T22:35:34.750Z] Step 10/24 : COPY Makefile . [2020-06-11T22:35:34.750Z] ---> bd4c2ccad253 [2020-06-11T22:35:34.750Z] Step 11/24 : RUN make update [2020-06-11T22:35:35.013Z] ---> Running in aec46b428ef6 [2020-06-11T22:35:35.279Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-11T22:35:35.854Z] Removing intermediate container aec46b428ef6 [2020-06-11T22:35:35.854Z] ---> 8b3abbd4ed83 [2020-06-11T22:35:35.854Z] Step 12/24 : COPY . . [2020-06-11T22:35:36.118Z] ---> e70c6b9a66c1 [2020-06-11T22:35:36.118Z] Step 13/24 : RUN $MAKE [2020-06-11T22:35:36.388Z] ---> Running in 88424840671e [2020-06-11T22:35:36.651Z] 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-11T22:35:37.239Z] using credential edgex-jenkins-ssh [2020-06-11T22:35:37.273Z] Cloning the remote Git repository [2020-06-11T22:35:37.273Z] Cloning with configured refspecs honoured and without tags [2020-06-11T22:35:37.291Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-11T22:35:37.402Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-06-11T22:35:37.464Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-11T22:35:37.465Z] > git --version # timeout=10 [2020-06-11T22:35:37.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T22:35:37.547Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T22:35:39.129Z] Fetching without tags [2020-06-11T22:35:39.007Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-11T22:35:39.027Z] > git config --add remote.origin.fetch +refs/pull/23/head:refs/remotes/origin/PR-23 # timeout=10 [2020-06-11T22:35:39.043Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T22:35:39.069Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-11T22:35:39.102Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-11T22:35:39.103Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T22:35:39.116Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T22:35:39.624Z] Merging remotes/origin/master commit 6de27f08c1063e4823e4a492e46f5b5ad007e06d into PR head commit e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 [2020-06-11T22:35:39.882Z] Merge succeeded, producing e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 [2020-06-11T22:35:39.882Z] Checking out Revision e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 (PR-23) [2020-06-11T22:35:39.617Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T22:35:39.640Z] > git checkout -f e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 # timeout=10 [2020-06-11T22:35:39.716Z] > git remote # timeout=10 [2020-06-11T22:35:39.730Z] > git config --get remote.origin.url # timeout=10 [2020-06-11T22:35:39.744Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T22:35:39.754Z] > git merge 6de27f08c1063e4823e4a492e46f5b5ad007e06d # timeout=10 [2020-06-11T22:35:39.788Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-11T22:35:39.849Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T22:35:39.870Z] > git checkout -f e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 # timeout=10 [2020-06-11T22:35:44.396Z] Commit message: "update device-sdk-go: 1.2.2" [2020-06-11T22:35:44.411Z] > git --version # timeout=10 [2020-06-11T22:35:44.437Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-11T22:35:46.729Z] ========================================================= [2020-06-11T22:35:46.729Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-11T22:35:46.729Z] ========================================================= [2020-06-11T22:35:46.761Z] Removing intermediate container 88424840671e [2020-06-11T22:35:46.761Z] ---> 5c4a27cb99cc [2020-06-11T22:35:46.761Z] Step 14/24 : FROM alpine:latest [Pipeline] isUnix [Pipeline] sh [2020-06-11T22:35:47.023Z] latest: Pulling from library/alpine [2020-06-11T22:35:47.286Z] df20fa9351a1: Pulling fs layer [2020-06-11T22:35:47.286Z] df20fa9351a1: Verifying Checksum [2020-06-11T22:35:47.286Z] df20fa9351a1: Download complete [2020-06-11T22:35:47.547Z] df20fa9351a1: Pull complete [2020-06-11T22:35:47.547Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-11T22:35:47.547Z] Status: Downloaded newer image for alpine:latest [2020-06-11T22:35:47.547Z] ---> a24bb4013296 [2020-06-11T22:35:47.547Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-11T22:35:47.795Z] + 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-11T22:35:47.810Z] ---> Running in e563b6b2455a [2020-06-11T22:35:47.810Z] Removing intermediate container e563b6b2455a [2020-06-11T22:35:47.810Z] ---> f162906f86dc [2020-06-11T22:35:47.810Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-11T22:35:47.810Z] ---> Running in 4f39e40dca35 [2020-06-11T22:35:48.078Z] Removing intermediate container 4f39e40dca35 [2020-06-11T22:35:48.078Z] ---> 0c7e9cffc936 [2020-06-11T22:35:48.078Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-11T22:35:48.353Z] ---> 044e84a7f9c6 [2020-06-11T22:35:48.353Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-11T22:35:48.620Z] ---> e08a1f1411cd [2020-06-11T22:35:48.620Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-11T22:35:48.783Z] Sending build context to Docker daemon 8.015MB [2020-06-11T22:35:48.783Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-11T22:35:48.783Z] Step 2/10 : FROM ${BASE} [2020-06-11T22:35:49.058Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-11T22:35:49.058Z] cde5963f3b93: Pulling fs layer [2020-06-11T22:35:49.058Z] 2a23fa8c16f7: Pulling fs layer [2020-06-11T22:35:49.058Z] 777b28850792: Pulling fs layer [2020-06-11T22:35:49.058Z] 8a11ddd9e578: Pulling fs layer [2020-06-11T22:35:49.058Z] 4cf88f913ddb: Pulling fs layer [2020-06-11T22:35:49.058Z] 1df406cf5192: Pulling fs layer [2020-06-11T22:35:49.058Z] cd6300453558: Pulling fs layer [2020-06-11T22:35:49.058Z] b9c365052c96: Pulling fs layer [2020-06-11T22:35:49.058Z] a2d8cc88f415: Pulling fs layer [2020-06-11T22:35:49.058Z] ea1d1ca13537: Pulling fs layer [2020-06-11T22:35:49.058Z] 3750a50a1c5e: Pulling fs layer [2020-06-11T22:35:49.058Z] 8a11ddd9e578: Waiting [2020-06-11T22:35:49.058Z] 4cf88f913ddb: Waiting [2020-06-11T22:35:49.058Z] 1df406cf5192: Waiting [2020-06-11T22:35:49.058Z] cd6300453558: Waiting [2020-06-11T22:35:49.058Z] b9c365052c96: Waiting [2020-06-11T22:35:49.058Z] a2d8cc88f415: Waiting [2020-06-11T22:35:49.058Z] ea1d1ca13537: Waiting [2020-06-11T22:35:49.058Z] 3750a50a1c5e: Waiting [2020-06-11T22:35:49.058Z] 777b28850792: Download complete [2020-06-11T22:35:49.058Z] 2a23fa8c16f7: Download complete [2020-06-11T22:35:49.058Z] 4cf88f913ddb: Verifying Checksum [2020-06-11T22:35:49.058Z] 4cf88f913ddb: Download complete [2020-06-11T22:35:49.058Z] 1df406cf5192: Verifying Checksum [2020-06-11T22:35:49.058Z] 1df406cf5192: Download complete [2020-06-11T22:35:49.058Z] cde5963f3b93: Verifying Checksum [2020-06-11T22:35:49.192Z] ---> b66667be7473 [2020-06-11T22:35:49.192Z] Step 20/24 : EXPOSE 49986 [2020-06-11T22:35:49.192Z] ---> Running in 668532dcd929 [2020-06-11T22:35:49.457Z] Removing intermediate container 668532dcd929 [2020-06-11T22:35:49.457Z] ---> eaf7f886affa [2020-06-11T22:35:49.457Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-11T22:35:49.457Z] ---> Running in f530c94f2cf8 [2020-06-11T22:35:49.457Z] Removing intermediate container f530c94f2cf8 [2020-06-11T22:35:49.457Z] ---> 4e8044eea1c2 [2020-06-11T22:35:49.457Z] Step 22/24 : LABEL arch=amd64 [2020-06-11T22:35:49.722Z] ---> Running in f7f59a6d34da [2020-06-11T22:35:49.722Z] Removing intermediate container f7f59a6d34da [2020-06-11T22:35:49.722Z] ---> b19bd75c319f [2020-06-11T22:35:49.722Z] Step 23/24 : LABEL git_sha=e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 [2020-06-11T22:35:49.722Z] ---> Running in 4bb3b946f33d [2020-06-11T22:35:49.985Z] Removing intermediate container 4bb3b946f33d [2020-06-11T22:35:49.985Z] ---> 4158d14b4fb5 [2020-06-11T22:35:49.985Z] Step 24/24 : LABEL version=0.0.0 [2020-06-11T22:35:49.985Z] ---> Running in ad594eae3022 [2020-06-11T22:35:50.048Z] cde5963f3b93: Pull complete [2020-06-11T22:35:50.250Z] Removing intermediate container ad594eae3022 [2020-06-11T22:35:50.250Z] ---> 6655127d24ed [2020-06-11T22:35:50.250Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-11T22:35:50.250Z] Successfully built 6655127d24ed [2020-06-11T22:35:50.250Z] 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 [2020-06-11T22:35:50.656Z] 2a23fa8c16f7: Pull complete [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-06-11T22:35:51.266Z] 777b28850792: Pull complete [Pipeline] } [2020-06-11T22:35:51.543Z] cd6300453558: Verifying Checksum [2020-06-11T22:35:51.543Z] cd6300453558: Download complete [2020-06-11T22:35:51.543Z] a2d8cc88f415: Verifying Checksum [2020-06-11T22:35:51.543Z] a2d8cc88f415: Download complete [2020-06-11T22:35:52.982Z] ea1d1ca13537: Verifying Checksum [2020-06-11T22:35:52.982Z] ea1d1ca13537: Download complete [2020-06-11T22:35:52.982Z] 3750a50a1c5e: Verifying Checksum [2020-06-11T22:35:53.962Z] b9c365052c96: Verifying Checksum [2020-06-11T22:35:53.962Z] b9c365052c96: Download complete [2020-06-11T22:35:54.235Z] 8a11ddd9e578: Verifying Checksum [2020-06-11T22:35:54.235Z] 8a11ddd9e578: Download complete [2020-06-11T22:36:06.630Z] 8a11ddd9e578: Pull complete [2020-06-11T22:36:06.630Z] 4cf88f913ddb: Pull complete [2020-06-11T22:36:06.630Z] 1df406cf5192: Pull complete [2020-06-11T22:36:10.036Z] cd6300453558: Pull complete [2020-06-11T22:36:14.362Z] b9c365052c96: Pull complete [2020-06-11T22:36:14.965Z] a2d8cc88f415: Pull complete [2020-06-11T22:36:16.962Z] ea1d1ca13537: Pull complete [2020-06-11T22:36:17.563Z] 3750a50a1c5e: Pull complete [2020-06-11T22:36:17.563Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-11T22:36:17.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-11T22:36:17.563Z] ---> 78745c68409d [2020-06-11T22:36:17.563Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-11T22:36:22.982Z] ---> Running in 9a8e1e99a046 [2020-06-11T22:36:22.982Z] Removing intermediate container 9a8e1e99a046 [2020-06-11T22:36:22.982Z] ---> 05a4c2b4aa66 [2020-06-11T22:36:22.982Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-11T22:36:22.982Z] ---> Running in ab480f1273f8 [2020-06-11T22:36:23.256Z] Removing intermediate container ab480f1273f8 [2020-06-11T22:36:23.256Z] ---> fc1132d0c8da [2020-06-11T22:36:23.256Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-11T22:36:23.256Z] ---> Running in 85187bcb0504 [2020-06-11T22:36:23.864Z] Removing intermediate container 85187bcb0504 [2020-06-11T22:36:23.864Z] ---> 3926f2a4543f [2020-06-11T22:36:23.864Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T22:36:23.864Z] ---> Running in 607436de01c7 [2020-06-11T22:36:26.475Z] Removing intermediate container 607436de01c7 [2020-06-11T22:36:26.475Z] ---> 45839cb03475 [2020-06-11T22:36:26.475Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-11T22:36:26.752Z] ---> Running in 2f43d73e903d [2020-06-11T22:36:28.182Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-11T22:36:28.775Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-11T22:36:29.752Z] OK: 125 MiB in 39 packages [2020-06-11T22:36:30.726Z] Removing intermediate container 2f43d73e903d [2020-06-11T22:36:30.726Z] ---> da1a6a109a6c [2020-06-11T22:36:30.726Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-11T22:36:30.726Z] ---> Running in d8dd09cc4105 [2020-06-11T22:36:31.319Z] Removing intermediate container d8dd09cc4105 [2020-06-11T22:36:31.319Z] ---> 284777881af0 [2020-06-11T22:36:31.319Z] Step 9/10 : COPY . . [2020-06-11T22:36:32.297Z] ---> 86e041a68a3f [2020-06-11T22:36:32.297Z] Step 10/10 : RUN go mod download [2020-06-11T22:36:32.570Z] ---> Running in 84f5b12672cc [2020-06-11T22:36:35.176Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-11T22:36:35.177Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T22:36:35.177Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-11T22:36:35.177Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T22:36:35.177Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-11T22:36:35.177Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-11T22:36:35.177Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T22:36:35.177Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-11T22:36:35.177Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-11T22:36:35.177Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-11T22:36:35.177Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T22:36:35.177Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T22:36:35.177Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T22:36:35.177Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T22:36:35.177Z] go: finding github.com/fatih/color v1.7.0 [2020-06-11T22:36:35.177Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T22:36:35.177Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-11T22:36:35.177Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T22:36:35.177Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-11T22:36:35.177Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-11T22:36:35.177Z] go: finding github.com/google/uuid v1.1.0 [2020-06-11T22:36:35.177Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-11T22:36:35.177Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-11T22:36:35.177Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-11T22:36:35.177Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-11T22:36:35.177Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-11T22:36:35.177Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-11T22:36:35.177Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-11T22:36:35.177Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T22:36:35.177Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-11T22:36:35.177Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-11T22:36:35.177Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-11T22:36:35.177Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-11T22:36:35.177Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-11T22:36:35.177Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T22:36:35.177Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T22:36:35.177Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-11T22:36:35.177Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-11T22:36:35.177Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-11T22:36:35.177Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-11T22:36:35.177Z] go: finding github.com/posener/complete v1.1.1 [2020-06-11T22:36:35.177Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-11T22:36:35.450Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-11T22:36:35.450Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-11T22:36:35.450Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-11T22:36:35.450Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-11T22:36:35.450Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-11T22:36:35.450Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-11T22:36:35.450Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-11T22:36:35.450Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-11T22:36:35.450Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-11T22:36:35.450Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-11T22:36:35.450Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-11T22:36:35.450Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-11T22:36:43.721Z] Removing intermediate container 84f5b12672cc [2020-06-11T22:36:43.721Z] ---> eef576ee9cfe [2020-06-11T22:36:43.721Z] Successfully built eef576ee9cfe [2020-06-11T22:36:43.721Z] 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-11T22:36:44.481Z] + docker inspect -f . ci-base-image-arm64 [2020-06-11T22:36:44.481Z] . [Pipeline] withDockerContainer [2020-06-11T22:36:44.745Z] prd-ubuntu18.04-docker-arm64-4c-16g-2645 does not seem to be running inside a container [2020-06-11T22:36:44.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-06-11T22:36:46.647Z] $ docker top a390b6aafe56fc101f51a359525f0955acd9bde469a126a1c4d3037efd10825b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-11T22:36:48.076Z] + go version [2020-06-11T22:36:48.076Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-11T22:36:49.153Z] + make test [2020-06-11T22:36:49.153Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-11T22:36:50.143Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-11T22:37:22.576Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-11T22:37:22.576Z] ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 56.3% of statements [2020-06-11T22:37:22.576Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-11T22:37:25.986Z] gofmt -l . [2020-06-11T22:37:25.986Z] [ "`gofmt -l .`" = "" ] [2020-06-11T22:37:25.986Z] ./bin/test-go-mod-tidy.sh [2020-06-11T22:37:26.258Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-11T22:37:26.892Z] Warning: overwriting stash ‘coverage-report’ [2020-06-11T22:37:27.283Z] Stashed 1 file(s) [Pipeline] } [2020-06-11T22:37:27.239Z] $ docker stop --time=1 a390b6aafe56fc101f51a359525f0955acd9bde469a126a1c4d3037efd10825b [2020-06-11T22:37:29.363Z] $ docker rm -f a390b6aafe56fc101f51a359525f0955acd9bde469a126a1c4d3037efd10825b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-11T22:37:30.664Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-11T22:37:31.018Z] + ls -al . [2020-06-11T22:37:31.018Z] total 120 [2020-06-11T22:37:31.018Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 11 22:37 . [2020-06-11T22:37:31.018Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 22:35 .. [2020-06-11T22:37:31.018Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 11 22:35 .dockerignore [2020-06-11T22:37:31.018Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 22:35 .git [2020-06-11T22:37:31.018Z] -rw-rw-r-- 1 jenkins jenkins 339 Jun 11 22:35 .gitignore [2020-06-11T22:37:31.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 22:35 .semver [2020-06-11T22:37:31.018Z] -rw-rw-r-- 1 jenkins jenkins 4802 Jun 11 22:35 Attribution.txt [2020-06-11T22:37:31.018Z] -rw-rw-r-- 1 jenkins jenkins 1504 Jun 11 22:35 Dockerfile [2020-06-11T22:37:31.018Z] -rw-rw-r-- 1 jenkins jenkins 989 Jun 11 22:35 Dockerfile.build [2020-06-11T22:37:31.018Z] -rw-rw-r-- 1 jenkins jenkins 702 Jun 11 22:35 Jenkinsfile [2020-06-11T22:37:31.018Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 11 22:35 LICENSE [2020-06-11T22:37:31.018Z] -rw-rw-r-- 1 jenkins jenkins 951 Jun 11 22:35 Makefile [2020-06-11T22:37:31.018Z] -rw-rw-r-- 1 jenkins jenkins 5716 Jun 11 22:35 README.md [2020-06-11T22:37:31.018Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 11 22:32 VERSION [2020-06-11T22:37:31.018Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 22:35 bin [2020-06-11T22:37:31.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 22:35 cmd [2020-06-11T22:37:31.018Z] -rw-r--r-- 1 jenkins jenkins 9369 Jun 11 22:37 coverage.out [2020-06-11T22:37:31.018Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 22:37 driver [2020-06-11T22:37:31.018Z] -rw-r--r-- 1 jenkins jenkins 266 Jun 11 22:37 go.mod [2020-06-11T22:37:31.018Z] -rw-r--r-- 1 jenkins jenkins 12533 Jun 11 22:37 go.sum [2020-06-11T22:37:31.018Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 11 22:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-11T22:37:31.390Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 --label arch=arm64 --label version=0.0.0 . [2020-06-11T22:37:31.666Z] Sending build context to Docker daemon 8.027MB [2020-06-11T22:37:31.940Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-11T22:37:31.940Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-11T22:37:31.940Z] ---> eef576ee9cfe [2020-06-11T22:37:31.940Z] Step 3/24 : ARG MAKE='make build' [2020-06-11T22:37:31.940Z] ---> Running in 5930f990f664 [2020-06-11T22:37:32.547Z] Removing intermediate container 5930f990f664 [2020-06-11T22:37:32.547Z] ---> d84115de1e35 [2020-06-11T22:37:32.547Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-11T22:37:32.547Z] ---> Running in bb601716bfbb [2020-06-11T22:37:33.145Z] Removing intermediate container bb601716bfbb [2020-06-11T22:37:33.145Z] ---> 6695deeddce4 [2020-06-11T22:37:33.145Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-11T22:37:33.145Z] ---> Running in ec5d7e699202 [2020-06-11T22:37:33.743Z] Removing intermediate container ec5d7e699202 [2020-06-11T22:37:33.743Z] ---> d6b265d9019e [2020-06-11T22:37:33.743Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T22:37:33.743Z] ---> Running in 3b5e6f591b83 [2020-06-11T22:37:36.369Z] Removing intermediate container 3b5e6f591b83 [2020-06-11T22:37:36.369Z] ---> 0ecff6b2be56 [2020-06-11T22:37:36.369Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-11T22:37:36.369Z] ---> Running in 845beab374b2 [2020-06-11T22:37:37.801Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-11T22:37:38.397Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-11T22:37:38.993Z] OK: 125 MiB in 39 packages [2020-06-11T22:37:39.973Z] Removing intermediate container 845beab374b2 [2020-06-11T22:37:39.973Z] ---> cfe14480a63d [2020-06-11T22:37:39.973Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-11T22:37:40.248Z] ---> Running in 6d706db67a21 [2020-06-11T22:37:40.523Z] Removing intermediate container 6d706db67a21 [2020-06-11T22:37:40.523Z] ---> 495bc85fba27 [2020-06-11T22:37:40.523Z] Step 9/24 : COPY go.mod . [2020-06-11T22:37:41.131Z] ---> cde704ffe607 [2020-06-11T22:37:41.131Z] Step 10/24 : COPY Makefile . [2020-06-11T22:37:42.111Z] ---> ebcf9fd2ea70 [2020-06-11T22:37:42.111Z] Step 11/24 : RUN make update [2020-06-11T22:37:42.111Z] ---> Running in 20e6a66881e3 [2020-06-11T22:37:43.538Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-11T22:37:44.990Z] Removing intermediate container 20e6a66881e3 [2020-06-11T22:37:44.990Z] ---> 2b80d62a4f2d [2020-06-11T22:37:44.990Z] Step 12/24 : COPY . . [2020-06-11T22:37:45.976Z] ---> ab9cc38cd5a4 [2020-06-11T22:37:45.976Z] Step 13/24 : RUN $MAKE [2020-06-11T22:37:45.976Z] ---> Running in 15eae45d7148 [2020-06-11T22:37:47.421Z] 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-11T22:38:14.255Z] Removing intermediate container 15eae45d7148 [2020-06-11T22:38:14.255Z] ---> d0344d494433 [2020-06-11T22:38:14.255Z] Step 14/24 : FROM alpine:latest [2020-06-11T22:38:14.255Z] latest: Pulling from library/alpine [2020-06-11T22:38:14.528Z] b538f80385f9: Pulling fs layer [2020-06-11T22:38:14.528Z] b538f80385f9: Verifying Checksum [2020-06-11T22:38:14.528Z] b538f80385f9: Download complete [2020-06-11T22:38:15.128Z] b538f80385f9: Pull complete [2020-06-11T22:38:15.128Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-11T22:38:15.128Z] Status: Downloaded newer image for alpine:latest [2020-06-11T22:38:15.128Z] ---> 62ee0e9f8440 [2020-06-11T22:38:15.128Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-11T22:38:15.404Z] ---> Running in 31c1e48cc058 [2020-06-11T22:38:16.001Z] Removing intermediate container 31c1e48cc058 [2020-06-11T22:38:16.001Z] ---> 1ebccf047192 [2020-06-11T22:38:16.001Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-11T22:38:16.001Z] ---> Running in cd7161803445 [2020-06-11T22:38:16.275Z] Removing intermediate container cd7161803445 [2020-06-11T22:38:16.275Z] ---> 7488423eabcf [2020-06-11T22:38:16.275Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-11T22:38:17.251Z] ---> 10a105e7a581 [2020-06-11T22:38:17.251Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-11T22:38:17.846Z] ---> 55a836d1b7b7 [2020-06-11T22:38:17.846Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-11T22:38:19.283Z] ---> 2974fbc32bd7 [2020-06-11T22:38:19.283Z] Step 20/24 : EXPOSE 49986 [2020-06-11T22:38:19.555Z] ---> Running in 872fd5dfe71f [2020-06-11T22:38:19.827Z] Removing intermediate container 872fd5dfe71f [2020-06-11T22:38:19.827Z] ---> 36e065f1a9c9 [2020-06-11T22:38:19.827Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-11T22:38:20.101Z] ---> Running in 1d636991f7ee [2020-06-11T22:38:20.375Z] Removing intermediate container 1d636991f7ee [2020-06-11T22:38:20.375Z] ---> 04b7f513ba53 [2020-06-11T22:38:20.375Z] Step 22/24 : LABEL arch=arm64 [2020-06-11T22:38:20.652Z] ---> Running in a3e8a22052aa [2020-06-11T22:38:20.925Z] Removing intermediate container a3e8a22052aa [2020-06-11T22:38:20.925Z] ---> 39a730f3f381 [2020-06-11T22:38:20.925Z] Step 23/24 : LABEL git_sha=e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 [2020-06-11T22:38:21.199Z] ---> Running in ed0a6a81c43f [2020-06-11T22:38:21.797Z] Removing intermediate container ed0a6a81c43f [2020-06-11T22:38:21.797Z] ---> 1dcbb5eda812 [2020-06-11T22:38:21.797Z] Step 24/24 : LABEL version=0.0.0 [2020-06-11T22:38:21.797Z] ---> Running in 828ccc3657fa [2020-06-11T22:38:22.389Z] Removing intermediate container 828ccc3657fa [2020-06-11T22:38:22.389Z] ---> 8b75a2869482 [2020-06-11T22:38:22.389Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-11T22:38:22.389Z] Successfully built 8b75a2869482 [2020-06-11T22:38:22.389Z] 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-11T22:38:23.809Z] provisioning config files... [2020-06-11T22:38:23.829Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-23@tmp/config4816300878497421014tmp [Pipeline] { [Pipeline] sh [2020-06-11T22:38:24.255Z] + curl -s https://codecov.io/bash [2020-06-11T22:38:24.256Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-23@tmp/config4816300878497421014tmp [2020-06-11T22:38:24.545Z] [2020-06-11T22:38:24.545Z] _____ _ [2020-06-11T22:38:24.545Z] / ____| | | [2020-06-11T22:38:24.545Z] | | ___ __| | ___ ___ _____ __ [2020-06-11T22:38:24.545Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-11T22:38:24.545Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-11T22:38:24.545Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-11T22:38:24.545Z] Bash-20200602-f809a24 [2020-06-11T22:38:24.545Z] [2020-06-11T22:38:24.545Z] [2020-06-11T22:38:24.545Z] ==> Jenkins CI detected. [2020-06-11T22:38:24.545Z] project root: . [2020-06-11T22:38:24.545Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-11T22:38:24.545Z] ==> Running gcov in . (disable via -X gcov) [2020-06-11T22:38:24.545Z] ==> Python coveragepy not found [2020-06-11T22:38:24.545Z] ==> Searching for coverage reports in: [2020-06-11T22:38:24.545Z] + . [2020-06-11T22:38:24.545Z] -> Found 1 reports [2020-06-11T22:38:24.545Z] ==> Detecting git/mercurial file structure [2020-06-11T22:38:24.814Z] ==> Reading reports [2020-06-11T22:38:24.814Z] + ./coverage.out bytes=9369 [2020-06-11T22:38:24.814Z] ==> Appending adjustments [2020-06-11T22:38:24.814Z] https://docs.codecov.io/docs/fixing-reports [2020-06-11T22:38:24.814Z] + Found adjustments [2020-06-11T22:38:24.814Z] ==> Gzipping contents [2020-06-11T22:38:24.814Z] ==> Uploading reports [2020-06-11T22:38:24.814Z] url: https://codecov.io [2020-06-11T22:38:24.814Z] query: branch=PR-23&commit=e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-23%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=23&job= [2020-06-11T22:38:24.814Z] -> Pinging Codecov [2020-06-11T22:38:24.814Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-23&commit=e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-23%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=23&job= [2020-06-11T22:38:25.390Z] -> Uploading [2020-06-11T22:38:25.970Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/e9de7f7ed2ffc0b166b76f0000f8ddb92e5c2574 [Pipeline] } [2020-06-11T22:38:25.993Z] 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-11T22:38:27.478Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T22:38:28.086Z] ---> package-listing.sh [2020-06-11T22:38:28.086Z] ++ facter osfamily [2020-06-11T22:38:28.086Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-11T22:38:28.086Z] + OS_FAMILY=redhat [2020-06-11T22:38:28.086Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-23 [2020-06-11T22:38:28.086Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-11T22:38:28.086Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-11T22:38:28.086Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-11T22:38:28.086Z] + PACKAGES=/tmp/packages_start.txt [2020-06-11T22:38:28.086Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-23 ']' [2020-06-11T22:38:28.086Z] + PACKAGES=/tmp/packages_end.txt [2020-06-11T22:38:28.086Z] + case "${OS_FAMILY}" in [2020-06-11T22:38:28.086Z] + rpm -qa [2020-06-11T22:38:28.086Z] + sort [2020-06-11T22:38:33.494Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-11T22:38:33.494Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-11T22:38:33.494Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-11T22:38:33.494Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-23 ']' [2020-06-11T22:38:33.494Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-23/archives/ [2020-06-11T22:38:33.494Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-23/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-11T22:38:33.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-11T22:38:33.995Z] [2020-06-11T22:38:33.995Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-11T22:38:34.431Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-11T22:38:34.431Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-11T22:38:34.431Z] c9b1b535fdd9: Pulling fs layer [2020-06-11T22:38:34.431Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-11T22:38:34.431Z] 756a868c4378: Pulling fs layer [2020-06-11T22:38:34.431Z] 444b2fc9a129: Pulling fs layer [2020-06-11T22:38:34.431Z] ea15f1150254: Pulling fs layer [2020-06-11T22:38:34.431Z] 41b27a9f41bf: Pulling fs layer [2020-06-11T22:38:34.431Z] 28c525ee5125: Pulling fs layer [2020-06-11T22:38:34.431Z] 094b1ea09ed8: Pulling fs layer [2020-06-11T22:38:34.431Z] 138eaada9080: Pulling fs layer [2020-06-11T22:38:34.431Z] 0622d0fa9048: Pulling fs layer [2020-06-11T22:38:34.431Z] 444b2fc9a129: Waiting [2020-06-11T22:38:34.431Z] ea15f1150254: Waiting [2020-06-11T22:38:34.431Z] 41b27a9f41bf: Waiting [2020-06-11T22:38:34.431Z] 28c525ee5125: Waiting [2020-06-11T22:38:34.431Z] 094b1ea09ed8: Waiting [2020-06-11T22:38:34.431Z] 138eaada9080: Waiting [2020-06-11T22:38:34.431Z] 0622d0fa9048: Waiting [2020-06-11T22:38:34.431Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-11T22:38:34.431Z] 2cc5ad85d9ab: Download complete [2020-06-11T22:38:34.431Z] 444b2fc9a129: Verifying Checksum [2020-06-11T22:38:34.431Z] 444b2fc9a129: Download complete [2020-06-11T22:38:34.783Z] c9b1b535fdd9: Verifying Checksum [2020-06-11T22:38:34.783Z] c9b1b535fdd9: Download complete [2020-06-11T22:38:34.783Z] ea15f1150254: Verifying Checksum [2020-06-11T22:38:34.783Z] ea15f1150254: Download complete [2020-06-11T22:38:34.783Z] 28c525ee5125: Verifying Checksum [2020-06-11T22:38:34.783Z] 28c525ee5125: Download complete [2020-06-11T22:38:35.757Z] c9b1b535fdd9: Pull complete [2020-06-11T22:38:36.140Z] 756a868c4378: Verifying Checksum [2020-06-11T22:38:36.140Z] 756a868c4378: Download complete [2020-06-11T22:38:36.496Z] 2cc5ad85d9ab: Pull complete [2020-06-11T22:38:36.839Z] 138eaada9080: Verifying Checksum [2020-06-11T22:38:36.839Z] 138eaada9080: Download complete [2020-06-11T22:38:36.839Z] 094b1ea09ed8: Verifying Checksum [2020-06-11T22:38:36.839Z] 094b1ea09ed8: Download complete [2020-06-11T22:38:36.839Z] 0622d0fa9048: Verifying Checksum [2020-06-11T22:38:36.839Z] 0622d0fa9048: Download complete [2020-06-11T22:38:38.085Z] 41b27a9f41bf: Verifying Checksum [2020-06-11T22:38:38.085Z] 41b27a9f41bf: Download complete [2020-06-11T22:38:40.312Z] 756a868c4378: Pull complete [2020-06-11T22:38:40.656Z] 444b2fc9a129: Pull complete [2020-06-11T22:38:41.349Z] ea15f1150254: Pull complete [2020-06-11T22:38:46.854Z] 41b27a9f41bf: Pull complete [2020-06-11T22:38:46.854Z] 28c525ee5125: Pull complete [2020-06-11T22:38:50.285Z] 094b1ea09ed8: Pull complete [2020-06-11T22:38:50.924Z] 138eaada9080: Pull complete [2020-06-11T22:38:51.202Z] 0622d0fa9048: Pull complete [2020-06-11T22:38:51.202Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-11T22:38:51.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-11T22:38:51.202Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-11T22:38:51.511Z] prd-centos7-docker-4c-2g-2642 does not seem to be running inside a container [2020-06-11T22:38:51.667Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-rest-go_PR-23 -v /w/workspace/dgexfoundry_device-rest-go_PR-23:/w/workspace/dgexfoundry_device-rest-go_PR-23:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-23@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-11T22:38:55.294Z] $ docker top fe478d354d0856b51569bf666e2b9450a310a1ae80ae85d5c7f3a118e4668b37 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-11T22:38:55.669Z] provisioning config files... [2020-06-11T22:38:55.688Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-23@tmp/config7333365067637547001tmp [Pipeline] { [Pipeline] echo [2020-06-11T22:38:55.763Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T22:38:56.279Z] ---> create-netrc.sh [Pipeline] echo [2020-06-11T22:38:56.336Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T22:38:56.704Z] ---> logs-deploy.sh [2020-06-11T22:38:56.704Z] + ARCHIVE_ARTIFACTS= [2020-06-11T22:38:56.704Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-11T22:38:56.704Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-11T22:38:56.704Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-11T22:38:56.704Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-23/1 [2020-06-11T22:38:56.704Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-23/1/ [2020-06-11T22:38:56.704Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-23/1 /w/workspace/dgexfoundry_device-rest-go_PR-23 [2020-06-11T22:38:58.913Z] Archives upload complete. [2020-06-11T22:38:59.418Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-23/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-23/1/