Pull request #25 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d097784316ec6796509111cd09577426280be0ed+bcdb88283644107a936668d00e74c74f1869e398 (b76643f92edf075e828d5c2bf56fa98c5bc8bfec) 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-25/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-3378’ Running on prd-centos7-docker-4c-2g-3381 in /w/workspace/dgexfoundry_device-rest-go_PR-25 [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-25 # 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/25/head:refs/remotes/origin/PR-25 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/25/head:refs/remotes/origin/PR-25 # timeout=10 Fetching without tags Merging remotes/origin/master commit bcdb88283644107a936668d00e74c74f1869e398 into PR head commit d097784316ec6796509111cd09577426280be0ed Merge succeeded, producing d097784316ec6796509111cd09577426280be0ed Checking out Revision d097784316ec6796509111cd09577426280be0ed (PR-25) > 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/25/head:refs/remotes/origin/PR-25 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d097784316ec6796509111cd09577426280be0ed # 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 bcdb88283644107a936668d00e74c74f1869e398 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d097784316ec6796509111cd09577426280be0ed # timeout=10 Commit message: "docs: Add standard PR template" 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-17T18:22:29.072Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-17T18:22:29.270Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-17T18:22:29.385Z] ========================================================= [2020-06-17T18:22:29.385Z] EdgeX Global Pipelines Version Info [2020-06-17T18:22:29.385Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-17T18:22:31.339Z] ------------------- [2020-06-17T18:22:31.339Z] stable info: [2020-06-17T18:22:31.339Z] ------------------- [2020-06-17T18:22:31.339Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-17T18:22:31.339Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-17T18:22:31.339Z] Message: update stable to v1.0.89 [2020-06-17T18:22:31.912Z] ------------------- [2020-06-17T18:22:31.912Z] experimental info: [2020-06-17T18:22:31.912Z] ------------------- [2020-06-17T18:22:31.912Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-17T18:22:31.912Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-17T18:22:31.912Z] 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-17T18:22:33.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-17T18:22:33.862Z] [2020-06-17T18:22:33.862Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:22:34.224Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-17T18:22:34.224Z] latest: Pulling from edgex-devops/git-semver [2020-06-17T18:22:34.224Z] 9123ac7c32f7: Pulling fs layer [2020-06-17T18:22:34.224Z] b8cc5d1170e3: Pulling fs layer [2020-06-17T18:22:34.224Z] 2924cbbf6a41: Pulling fs layer [2020-06-17T18:22:34.224Z] 93b08a4f1073: Pulling fs layer [2020-06-17T18:22:34.224Z] 93b08a4f1073: Waiting [2020-06-17T18:22:34.224Z] b8cc5d1170e3: Verifying Checksum [2020-06-17T18:22:34.224Z] b8cc5d1170e3: Download complete [2020-06-17T18:22:34.224Z] 9123ac7c32f7: Verifying Checksum [2020-06-17T18:22:34.224Z] 9123ac7c32f7: Download complete [2020-06-17T18:22:34.490Z] 93b08a4f1073: Verifying Checksum [2020-06-17T18:22:34.490Z] 93b08a4f1073: Download complete [2020-06-17T18:22:34.490Z] 2924cbbf6a41: Verifying Checksum [2020-06-17T18:22:34.490Z] 2924cbbf6a41: Download complete [2020-06-17T18:22:34.751Z] 9123ac7c32f7: Pull complete [2020-06-17T18:22:34.751Z] b8cc5d1170e3: Pull complete [2020-06-17T18:22:35.697Z] 2924cbbf6a41: Pull complete [2020-06-17T18:22:35.958Z] 93b08a4f1073: Pull complete [2020-06-17T18:22:35.958Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-17T18:22:35.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-17T18:22:35.958Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-17T18:22:36.098Z] prd-centos7-docker-4c-2g-3381 does not seem to be running inside a container [2020-06-17T18:22:36.141Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-25 -v /w/workspace/dgexfoundry_device-rest-go_PR-25:/w/workspace/dgexfoundry_device-rest-go_PR-25:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-25@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-25@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-17T18:22:37.990Z] $ docker top 216489f72507e52b7444967c03a0203e9fc4f4c18df3e021f33542a9e1f05df1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-17T18:22:38.249Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-17T18:22:38.249Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-17T18:22:38.479Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-17T18:22:38.485Z] $ docker exec 216489f72507e52b7444967c03a0203e9fc4f4c18df3e021f33542a9e1f05df1 ssh-agent [2020-06-17T18:22:38.681Z] SSH_AUTH_SOCK=/tmp/ssh-UuZ7EbEdShl7/agent.11 [2020-06-17T18:22:38.681Z] SSH_AGENT_PID=16 [2020-06-17T18:22:38.722Z] Running ssh-add (command line suppressed) [2020-06-17T18:22:38.852Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-25@tmp/private_key_9181011184317500814.key (/w/workspace/dgexfoundry_device-rest-go_PR-25@tmp/private_key_9181011184317500814.key) [2020-06-17T18:22:38.903Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-17T18:22:39.242Z] + git describe --exact-match --tags HEAD [2020-06-17T18:22:39.242Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-17T18:22:39.385Z] $ docker exec --env ******** --env ******** 216489f72507e52b7444967c03a0203e9fc4f4c18df3e021f33542a9e1f05df1 ssh-agent -k [2020-06-17T18:22:39.510Z] unset SSH_AUTH_SOCK; [2020-06-17T18:22:39.510Z] unset SSH_AGENT_PID; [2020-06-17T18:22:39.510Z] echo Agent pid 16 killed; [2020-06-17T18:22:39.559Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-17T18:22:39.652Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-17T18:22:39.652Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-17T18:22:39.717Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-17T18:22:39.717Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-17T18:22:39.887Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-17T18:22:39.891Z] $ docker exec 216489f72507e52b7444967c03a0203e9fc4f4c18df3e021f33542a9e1f05df1 ssh-agent [2020-06-17T18:22:40.054Z] SSH_AUTH_SOCK=/tmp/ssh-OiBueB6wr4e9/agent.46 [2020-06-17T18:22:40.054Z] SSH_AGENT_PID=51 [2020-06-17T18:22:40.060Z] Running ssh-add (command line suppressed) [2020-06-17T18:22:40.183Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-25@tmp/private_key_6853413311397117934.key (/w/workspace/dgexfoundry_device-rest-go_PR-25@tmp/private_key_6853413311397117934.key) [2020-06-17T18:22:40.234Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-17T18:22:40.574Z] + git semver init [2020-06-17T18:22:40.574Z] # -> Open(): unable to determine branch for HEAD [2020-06-17T18:22:40.574Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-25/.git [2020-06-17T18:22:40.574Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-25 [2020-06-17T18:22:40.574Z] # $SEMVER_REMOTE_NAME = origin [2020-06-17T18:22:40.574Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-17T18:22:40.574Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-17T18:22:40.574Z] # $SEMVER_BRANCH = PR-25 [2020-06-17T18:22:40.574Z] # $SEMVER_TEMP = /tmp/semver-068204143 [2020-06-17T18:22:40.574Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-06-17T18:22:41.531Z] # '/tmp/semver-068204143' -> '/w/workspace/dgexfoundry_device-rest-go_PR-25/.semver' [2020-06-17T18:22:41.531Z] # -> Force: false [2020-06-17T18:22:41.531Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-25/.semver [Pipeline] } [2020-06-17T18:22:41.558Z] $ docker exec --env ******** --env ******** 216489f72507e52b7444967c03a0203e9fc4f4c18df3e021f33542a9e1f05df1 ssh-agent -k [2020-06-17T18:22:41.695Z] unset SSH_AUTH_SOCK; [2020-06-17T18:22:41.696Z] unset SSH_AGENT_PID; [2020-06-17T18:22:41.696Z] echo Agent pid 51 killed; [2020-06-17T18:22:41.743Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-17T18:22:42.225Z] + git semver [Pipeline] } [2020-06-17T18:22:42.255Z] $ docker stop --time=1 216489f72507e52b7444967c03a0203e9fc4f4c18df3e021f33542a9e1f05df1 [2020-06-17T18:22:43.602Z] $ docker rm -f 216489f72507e52b7444967c03a0203e9fc4f4c18df3e021f33542a9e1f05df1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-17T18:22:44.907Z] Stashed 23 file(s) [Pipeline] echo [2020-06-17T18:22:44.920Z] [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-17T18:23:00.241Z] Still waiting to schedule task [2020-06-17T18:23:00.241Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-06-17T18:23:00.260Z] Still waiting to schedule task [2020-06-17T18:23:00.260Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-06-17T18:24:53.995Z] Running on prd-centos7-docker-4c-2g-3382 in /w/workspace/dgexfoundry_device-rest-go_PR-25 [Pipeline] { [Pipeline] ws [2020-06-17T18:24:54.047Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-06-17T18:24:56.195Z] using credential edgex-jenkins-ssh [2020-06-17T18:24:56.220Z] Cloning the remote Git repository [2020-06-17T18:24:56.220Z] Cloning with configured refspecs honoured and without tags [2020-06-17T18:24:56.192Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-17T18:24:56.261Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-06-17T18:24:57.394Z] Fetching without tags [2020-06-17T18:24:56.387Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-17T18:24:56.387Z] > git --version # timeout=10 [2020-06-17T18:24:56.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T18:24:56.477Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T18:24:57.359Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-17T18:24:57.370Z] > git config --add remote.origin.fetch +refs/pull/25/head:refs/remotes/origin/PR-25 # timeout=10 [2020-06-17T18:24:57.375Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T18:24:57.386Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-17T18:24:57.399Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-17T18:24:57.399Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T18:24:57.404Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T18:24:57.777Z] Merging remotes/origin/master commit bcdb88283644107a936668d00e74c74f1869e398 into PR head commit d097784316ec6796509111cd09577426280be0ed [2020-06-17T18:24:57.846Z] Merge succeeded, producing d097784316ec6796509111cd09577426280be0ed [2020-06-17T18:24:57.847Z] Checking out Revision d097784316ec6796509111cd09577426280be0ed (PR-25) [2020-06-17T18:24:57.785Z] > git config core.sparsecheckout # timeout=10 [2020-06-17T18:24:57.792Z] > git checkout -f d097784316ec6796509111cd09577426280be0ed # timeout=10 [2020-06-17T18:24:57.820Z] > git remote # timeout=10 [2020-06-17T18:24:57.824Z] > git config --get remote.origin.url # timeout=10 [2020-06-17T18:24:57.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T18:24:57.834Z] > git merge bcdb88283644107a936668d00e74c74f1869e398 # timeout=10 [2020-06-17T18:24:57.843Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-17T18:24:57.850Z] > git config core.sparsecheckout # timeout=10 [2020-06-17T18:24:57.857Z] > git checkout -f d097784316ec6796509111cd09577426280be0ed # timeout=10 [2020-06-17T18:25:01.493Z] Commit message: "docs: Add standard PR template" [2020-06-17T18:25:01.517Z] > git --version # timeout=10 [2020-06-17T18:25:01.527Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-17T18:25:02.699Z] ========================================================= [2020-06-17T18:25:02.699Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-17T18:25:02.699Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:25:03.440Z] + 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-17T18:25:03.708Z] Sending build context to Docker daemon 8.027MB [2020-06-17T18:25:03.708Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-17T18:25:03.708Z] Step 2/10 : FROM ${BASE} [2020-06-17T18:25:03.708Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-17T18:25:03.708Z] e6b0cf9c0882: Pulling fs layer [2020-06-17T18:25:03.708Z] 2848faf0eed1: Pulling fs layer [2020-06-17T18:25:03.708Z] 0f37312ad70f: Pulling fs layer [2020-06-17T18:25:03.708Z] 5788d62ee057: Pulling fs layer [2020-06-17T18:25:03.708Z] 0e6b1d234666: Pulling fs layer [2020-06-17T18:25:03.708Z] bf5d7aec512f: Pulling fs layer [2020-06-17T18:25:03.708Z] 34c802a77dc8: Pulling fs layer [2020-06-17T18:25:03.708Z] 9eb99e56ec68: Pulling fs layer [2020-06-17T18:25:03.708Z] 27c7a5d97fbd: Pulling fs layer [2020-06-17T18:25:03.708Z] 5c102a31e300: Pulling fs layer [2020-06-17T18:25:03.708Z] dcfb455df0a1: Pulling fs layer [2020-06-17T18:25:03.708Z] 34c802a77dc8: Waiting [2020-06-17T18:25:03.708Z] 9eb99e56ec68: Waiting [2020-06-17T18:25:03.708Z] 27c7a5d97fbd: Waiting [2020-06-17T18:25:03.708Z] 5c102a31e300: Waiting [2020-06-17T18:25:03.708Z] dcfb455df0a1: Waiting [2020-06-17T18:25:03.709Z] 5788d62ee057: Waiting [2020-06-17T18:25:03.709Z] 0e6b1d234666: Waiting [2020-06-17T18:25:03.709Z] bf5d7aec512f: Waiting [2020-06-17T18:25:03.709Z] 0f37312ad70f: Verifying Checksum [2020-06-17T18:25:03.709Z] 0f37312ad70f: Download complete [2020-06-17T18:25:03.709Z] 2848faf0eed1: Verifying Checksum [2020-06-17T18:25:03.709Z] 2848faf0eed1: Download complete [2020-06-17T18:25:03.709Z] 0e6b1d234666: Verifying Checksum [2020-06-17T18:25:03.709Z] 0e6b1d234666: Download complete [2020-06-17T18:25:03.709Z] bf5d7aec512f: Download complete [2020-06-17T18:25:03.709Z] e6b0cf9c0882: Verifying Checksum [2020-06-17T18:25:03.709Z] e6b0cf9c0882: Download complete [2020-06-17T18:25:04.286Z] e6b0cf9c0882: Pull complete [2020-06-17T18:25:04.559Z] 34c802a77dc8: Verifying Checksum [2020-06-17T18:25:04.559Z] 34c802a77dc8: Download complete [2020-06-17T18:25:04.559Z] 27c7a5d97fbd: Verifying Checksum [2020-06-17T18:25:04.559Z] 27c7a5d97fbd: Download complete [2020-06-17T18:25:04.829Z] 5c102a31e300: Verifying Checksum [2020-06-17T18:25:04.829Z] 5c102a31e300: Download complete [2020-06-17T18:25:05.091Z] dcfb455df0a1: Verifying Checksum [2020-06-17T18:25:05.091Z] dcfb455df0a1: Download complete [2020-06-17T18:25:05.091Z] 5788d62ee057: Verifying Checksum [2020-06-17T18:25:05.091Z] 5788d62ee057: Download complete [2020-06-17T18:25:05.352Z] 9eb99e56ec68: Verifying Checksum [2020-06-17T18:25:05.352Z] 9eb99e56ec68: Download complete [2020-06-17T18:25:05.922Z] 2848faf0eed1: Pull complete [2020-06-17T18:25:06.182Z] 0f37312ad70f: Pull complete [2020-06-17T18:25:11.474Z] 5788d62ee057: Pull complete [2020-06-17T18:25:11.474Z] 0e6b1d234666: Pull complete [2020-06-17T18:25:11.474Z] bf5d7aec512f: Pull complete [2020-06-17T18:25:16.772Z] 34c802a77dc8: Pull complete [2020-06-17T18:25:20.074Z] 9eb99e56ec68: Pull complete [2020-06-17T18:25:20.074Z] 27c7a5d97fbd: Pull complete [2020-06-17T18:25:20.654Z] 5c102a31e300: Pull complete [2020-06-17T18:25:20.654Z] dcfb455df0a1: Pull complete [2020-06-17T18:25:20.654Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-17T18:25:20.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-17T18:25:20.915Z] ---> 7c70fe431013 [2020-06-17T18:25:20.915Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-17T18:25:22.301Z] ---> Running in f023edd52c03 [2020-06-17T18:25:22.301Z] Removing intermediate container f023edd52c03 [2020-06-17T18:25:22.301Z] ---> 9759857bedc6 [2020-06-17T18:25:22.301Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-17T18:25:22.301Z] ---> Running in de60c9636e1c [2020-06-17T18:25:22.562Z] Removing intermediate container de60c9636e1c [2020-06-17T18:25:22.562Z] ---> 6816d3e783b6 [2020-06-17T18:25:22.562Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-17T18:25:22.562Z] ---> Running in 54d3d08cb47b [2020-06-17T18:25:22.825Z] Removing intermediate container 54d3d08cb47b [2020-06-17T18:25:22.825Z] ---> 44fd777ad506 [2020-06-17T18:25:22.825Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-17T18:25:22.825Z] ---> Running in b4a77536ca5a [2020-06-17T18:25:24.211Z] Removing intermediate container b4a77536ca5a [2020-06-17T18:25:24.211Z] ---> b7c15c39b374 [2020-06-17T18:25:24.211Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-17T18:25:24.211Z] ---> Running in a8bdae4a0cca [2020-06-17T18:25:24.785Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-17T18:25:25.360Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-17T18:25:25.620Z] OK: 143 MiB in 39 packages [2020-06-17T18:25:26.189Z] Removing intermediate container a8bdae4a0cca [2020-06-17T18:25:26.190Z] ---> 32955e36709e [2020-06-17T18:25:26.190Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-17T18:25:26.190Z] ---> Running in 413823c40404 [2020-06-17T18:25:26.190Z] Removing intermediate container 413823c40404 [2020-06-17T18:25:26.190Z] ---> d8516ff7b94f [2020-06-17T18:25:26.190Z] Step 9/10 : COPY . . [2020-06-17T18:25:26.759Z] ---> 76dfdf3b0994 [2020-06-17T18:25:26.759Z] Step 10/10 : RUN go mod download [2020-06-17T18:25:27.019Z] ---> Running in d3729d124f14 [2020-06-17T18:25:28.401Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-17T18:25:28.401Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-17T18:25:28.401Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-17T18:25:28.401Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-17T18:25:28.401Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-17T18:25:28.401Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-17T18:25:28.401Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-17T18:25:28.401Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-17T18:25:28.401Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-17T18:25:28.401Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-17T18:25:28.401Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-17T18:25:28.401Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-17T18:25:28.401Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-17T18:25:28.401Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-17T18:25:28.401Z] go: finding github.com/fatih/color v1.7.0 [2020-06-17T18:25:28.401Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-17T18:25:28.401Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-17T18:25:28.401Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-17T18:25:28.401Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-17T18:25:28.401Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-17T18:25:28.401Z] go: finding github.com/google/uuid v1.1.0 [2020-06-17T18:25:28.401Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-17T18:25:28.401Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-17T18:25:28.401Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-17T18:25:28.401Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-17T18:25:28.401Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-17T18:25:28.401Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-17T18:25:28.401Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-17T18:25:28.660Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-17T18:25:28.660Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-17T18:25:28.660Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-17T18:25:28.660Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-17T18:25:28.660Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-17T18:25:28.660Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-17T18:25:28.660Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-17T18:25:28.660Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-17T18:25:28.660Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-17T18:25:28.660Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-17T18:25:28.660Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-17T18:25:28.660Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-17T18:25:28.661Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-17T18:25:28.661Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-17T18:25:28.661Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-17T18:25:28.661Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-17T18:25:28.661Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-17T18:25:28.661Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-17T18:25:28.661Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-17T18:25:28.661Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-17T18:25:28.661Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-17T18:25:28.661Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-17T18:25:28.661Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-17T18:25:28.661Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-17T18:25:28.661Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-17T18:25:28.661Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-17T18:25:28.661Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-17T18:25:28.661Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-17T18:25:28.661Z] go: finding github.com/posener/complete v1.1.1 [2020-06-17T18:25:28.661Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-17T18:25:28.661Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-17T18:25:28.661Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-17T18:25:28.661Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-17T18:25:28.926Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-17T18:25:28.926Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-17T18:25:28.926Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-17T18:25:28.926Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-17T18:25:28.926Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-17T18:25:28.926Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-17T18:25:28.926Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-17T18:25:28.926Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-17T18:25:28.926Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-17T18:25:37.065Z] Removing intermediate container d3729d124f14 [2020-06-17T18:25:37.065Z] ---> d41f576cdf69 [2020-06-17T18:25:37.065Z] Successfully built d41f576cdf69 [2020-06-17T18:25:37.065Z] 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-17T18:25:37.686Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-17T18:25:37.686Z] . [Pipeline] withDockerContainer [2020-06-17T18:25:37.796Z] prd-centos7-docker-4c-2g-3382 does not seem to be running inside a container [2020-06-17T18:25:37.838Z] $ 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 ******** ci-base-image-x86_64 cat [2020-06-17T18:25:38.848Z] $ docker top 526c8c842a285f493e2962f5304f0798d75ffa832747cd3a62063497ffb86b90 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-17T18:25:39.323Z] + go version [2020-06-17T18:25:39.323Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-17T18:25:39.638Z] + make test [2020-06-17T18:25:39.638Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-17T18:25:40.585Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-17T18:25:50.706Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-17T18:25:50.706Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 56.3% of statements [2020-06-17T18:25:50.706Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-17T18:25:52.106Z] gofmt -l . [2020-06-17T18:25:52.106Z] [ "`gofmt -l .`" = "" ] [2020-06-17T18:25:52.106Z] ./bin/test-go-mod-tidy.sh [2020-06-17T18:25:52.677Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-17T18:25:53.141Z] Stashed 1 file(s) [Pipeline] } [2020-06-17T18:25:53.159Z] $ docker stop --time=1 526c8c842a285f493e2962f5304f0798d75ffa832747cd3a62063497ffb86b90 [2020-06-17T18:25:55.281Z] $ docker rm -f 526c8c842a285f493e2962f5304f0798d75ffa832747cd3a62063497ffb86b90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-17T18:25:56.339Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-17T18:25:56.646Z] + ls -al . [2020-06-17T18:25:56.646Z] total 96 [2020-06-17T18:25:56.646Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 17 18:25 . [2020-06-17T18:25:56.646Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 17 18:24 .. [2020-06-17T18:25:56.646Z] -rw-rw-r--. 1 jenkins jenkins 4802 Jun 17 18:24 Attribution.txt [2020-06-17T18:25:56.646Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 18:24 bin [2020-06-17T18:25:56.646Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 18:24 cmd [2020-06-17T18:25:56.646Z] -rw-r--r--. 1 jenkins jenkins 9369 Jun 17 18:25 coverage.out [2020-06-17T18:25:56.646Z] -rw-rw-r--. 1 jenkins jenkins 1504 Jun 17 18:24 Dockerfile [2020-06-17T18:25:56.646Z] -rw-rw-r--. 1 jenkins jenkins 989 Jun 17 18:24 Dockerfile.build [2020-06-17T18:25:56.646Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 17 18:24 .dockerignore [2020-06-17T18:25:56.646Z] drwxrwxr-x. 2 jenkins jenkins 93 Jun 17 18:25 driver [2020-06-17T18:25:56.646Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 17 18:25 .git [2020-06-17T18:25:56.646Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 17 18:24 .github [2020-06-17T18:25:56.646Z] -rw-rw-r--. 1 jenkins jenkins 339 Jun 17 18:24 .gitignore [2020-06-17T18:25:56.646Z] -rw-r--r--. 1 jenkins jenkins 266 Jun 17 18:25 go.mod [2020-06-17T18:25:56.646Z] -rw-r--r--. 1 jenkins jenkins 12533 Jun 17 18:25 go.sum [2020-06-17T18:25:56.646Z] -rw-rw-r--. 1 jenkins jenkins 702 Jun 17 18:24 Jenkinsfile [2020-06-17T18:25:56.646Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 18:24 LICENSE [2020-06-17T18:25:56.646Z] -rw-rw-r--. 1 jenkins jenkins 951 Jun 17 18:24 Makefile [2020-06-17T18:25:56.646Z] -rw-rw-r--. 1 jenkins jenkins 5716 Jun 17 18:24 README.md [2020-06-17T18:25:56.646Z] drwxrwxr-x. 3 jenkins jenkins 45 Jun 17 18:25 .semver [2020-06-17T18:25:56.646Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 17 18:22 VERSION [2020-06-17T18:25:56.646Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 17 18:24 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:25:56.974Z] + 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=d097784316ec6796509111cd09577426280be0ed --label arch=amd64 --label version=0.0.0 . [2020-06-17T18:25:56.974Z] Sending build context to Docker daemon 8.039MB [2020-06-17T18:25:56.974Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-17T18:25:56.974Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-17T18:25:56.974Z] ---> d41f576cdf69 [2020-06-17T18:25:56.974Z] Step 3/24 : ARG MAKE='make build' [2020-06-17T18:25:57.234Z] ---> Running in 924f2a92b06a [2020-06-17T18:25:57.234Z] Removing intermediate container 924f2a92b06a [2020-06-17T18:25:57.234Z] ---> fd1d2e3ed25b [2020-06-17T18:25:57.234Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-17T18:25:57.495Z] ---> Running in c14d58949fac [2020-06-17T18:25:57.495Z] Removing intermediate container c14d58949fac [2020-06-17T18:25:57.495Z] ---> 8146090f2cb9 [2020-06-17T18:25:57.495Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-17T18:25:57.495Z] ---> Running in ee08ba9c3241 [2020-06-17T18:25:57.756Z] Removing intermediate container ee08ba9c3241 [2020-06-17T18:25:57.756Z] ---> a60efc1550ed [2020-06-17T18:25:57.756Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-17T18:25:57.756Z] ---> Running in 3ebb44fee279 [2020-06-17T18:25:58.697Z] Removing intermediate container 3ebb44fee279 [2020-06-17T18:25:58.697Z] ---> 8b652b9fb5fd [2020-06-17T18:25:58.697Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-17T18:25:58.697Z] ---> Running in a38b77d734b0 [2020-06-17T18:25:58.957Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-17T18:25:59.898Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-17T18:26:00.159Z] OK: 143 MiB in 39 packages [2020-06-17T18:26:00.419Z] Removing intermediate container a38b77d734b0 [2020-06-17T18:26:00.419Z] ---> 3ec8f1d9669e [2020-06-17T18:26:00.419Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-17T18:26:00.419Z] ---> Running in 53c092267d43 [2020-06-17T18:26:00.679Z] Removing intermediate container 53c092267d43 [2020-06-17T18:26:00.679Z] ---> 962ddb6cafa2 [2020-06-17T18:26:00.679Z] Step 9/24 : COPY go.mod . [2020-06-17T18:26:00.717Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3383 in /w/workspace/dgexfoundry_device-rest-go_PR-25 [Pipeline] { [Pipeline] ws [2020-06-17T18:26:00.775Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-06-17T18:26:00.939Z] ---> 1b9cf8491886 [2020-06-17T18:26:00.939Z] Step 10/24 : COPY Makefile . [2020-06-17T18:26:01.200Z] ---> 6e3216917650 [2020-06-17T18:26:01.200Z] Step 11/24 : RUN make update [2020-06-17T18:26:01.200Z] ---> Running in 9b9950196203 [2020-06-17T18:26:01.462Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-17T18:26:02.035Z] Removing intermediate container 9b9950196203 [2020-06-17T18:26:02.035Z] ---> 29d10312de1a [2020-06-17T18:26:02.035Z] Step 12/24 : COPY . . [2020-06-17T18:26:02.302Z] ---> 3bdc56db5719 [2020-06-17T18:26:02.302Z] Step 13/24 : RUN $MAKE [2020-06-17T18:26:02.564Z] ---> Running in 35de00b10a32 [2020-06-17T18:26:02.828Z] 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-17T18:26:05.218Z] using credential edgex-jenkins-ssh [2020-06-17T18:26:05.251Z] Cloning the remote Git repository [2020-06-17T18:26:05.251Z] Cloning with configured refspecs honoured and without tags [2020-06-17T18:26:05.284Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-17T18:26:05.387Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-06-17T18:26:05.444Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-17T18:26:05.445Z] > git --version # timeout=10 [2020-06-17T18:26:05.461Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T18:26:05.534Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T18:26:06.927Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-17T18:26:06.949Z] > git config --add remote.origin.fetch +refs/pull/25/head:refs/remotes/origin/PR-25 # timeout=10 [2020-06-17T18:26:06.962Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T18:26:07.026Z] Fetching without tags [2020-06-17T18:26:07.526Z] Merging remotes/origin/master commit bcdb88283644107a936668d00e74c74f1869e398 into PR head commit d097784316ec6796509111cd09577426280be0ed [2020-06-17T18:26:07.700Z] Merge succeeded, producing d097784316ec6796509111cd09577426280be0ed [2020-06-17T18:26:07.700Z] Checking out Revision d097784316ec6796509111cd09577426280be0ed (PR-25) [2020-06-17T18:26:06.987Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-17T18:26:07.015Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-17T18:26:07.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T18:26:07.027Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-17T18:26:07.520Z] > git config core.sparsecheckout # timeout=10 [2020-06-17T18:26:07.538Z] > git checkout -f d097784316ec6796509111cd09577426280be0ed # timeout=10 [2020-06-17T18:26:07.604Z] > git remote # timeout=10 [2020-06-17T18:26:07.624Z] > git config --get remote.origin.url # timeout=10 [2020-06-17T18:26:07.634Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-17T18:26:07.644Z] > git merge bcdb88283644107a936668d00e74c74f1869e398 # timeout=10 [2020-06-17T18:26:07.665Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-17T18:26:07.683Z] > git config core.sparsecheckout # timeout=10 [2020-06-17T18:26:07.692Z] > git checkout -f d097784316ec6796509111cd09577426280be0ed # timeout=10 [2020-06-17T18:26:11.957Z] Commit message: "docs: Add standard PR template" [2020-06-17T18:26:11.990Z] > git --version # timeout=10 [2020-06-17T18:26:12.021Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-06-17T18:26:12.884Z] Removing intermediate container 35de00b10a32 [2020-06-17T18:26:12.884Z] ---> 200a1258a7ca [2020-06-17T18:26:12.884Z] Step 14/24 : FROM alpine:latest [2020-06-17T18:26:12.884Z] latest: Pulling from library/alpine [2020-06-17T18:26:13.453Z] df20fa9351a1: Pulling fs layer [2020-06-17T18:26:13.453Z] df20fa9351a1: Verifying Checksum [2020-06-17T18:26:13.453Z] df20fa9351a1: Download complete [2020-06-17T18:26:13.714Z] df20fa9351a1: Pull complete [2020-06-17T18:26:13.714Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-17T18:26:13.714Z] Status: Downloaded newer image for alpine:latest [2020-06-17T18:26:13.714Z] ---> a24bb4013296 [2020-06-17T18:26:13.714Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-17T18:26:13.714Z] ---> Running in fc7de20e3d14 [2020-06-17T18:26:13.975Z] Removing intermediate container fc7de20e3d14 [2020-06-17T18:26:13.975Z] ---> 56b5795f438d [2020-06-17T18:26:13.975Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-17T18:26:13.975Z] ---> Running in 11d01e590f5c [Pipeline] echo [2020-06-17T18:26:14.212Z] ========================================================= [2020-06-17T18:26:14.212Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-17T18:26:14.212Z] ========================================================= [2020-06-17T18:26:14.249Z] Removing intermediate container 11d01e590f5c [2020-06-17T18:26:14.249Z] ---> 22beff4ce560 [2020-06-17T18:26:14.249Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-17T18:26:14.249Z] ---> 37384c857a76 [2020-06-17T18:26:14.249Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:26:14.508Z] ---> 66fad8b497ac [2020-06-17T18:26:14.508Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-17T18:26:15.078Z] ---> c7a3a0901bf4 [2020-06-17T18:26:15.078Z] Step 20/24 : EXPOSE 49986 [2020-06-17T18:26:15.078Z] ---> Running in b97d328d9a52 [2020-06-17T18:26:15.338Z] Removing intermediate container b97d328d9a52 [2020-06-17T18:26:15.338Z] ---> 50788eedc84f [2020-06-17T18:26:15.338Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-17T18:26:15.338Z] ---> Running in 6e6a10804ac5 [2020-06-17T18:26:15.450Z] + 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-17T18:26:15.600Z] Removing intermediate container 6e6a10804ac5 [2020-06-17T18:26:15.600Z] ---> a7c8400faf9c [2020-06-17T18:26:15.600Z] Step 22/24 : LABEL arch=amd64 [2020-06-17T18:26:15.600Z] ---> Running in a3f866666c07 [2020-06-17T18:26:15.600Z] Removing intermediate container a3f866666c07 [2020-06-17T18:26:15.600Z] ---> 1cfe129b7b50 [2020-06-17T18:26:15.600Z] Step 23/24 : LABEL git_sha=d097784316ec6796509111cd09577426280be0ed [2020-06-17T18:26:15.862Z] ---> Running in 231a9e2d58cb [2020-06-17T18:26:15.862Z] Removing intermediate container 231a9e2d58cb [2020-06-17T18:26:15.862Z] ---> 1f6beb479c73 [2020-06-17T18:26:15.862Z] Step 24/24 : LABEL version=0.0.0 [2020-06-17T18:26:15.862Z] ---> Running in e2fe5ec2794a [2020-06-17T18:26:16.122Z] Removing intermediate container e2fe5ec2794a [2020-06-17T18:26:16.122Z] ---> 4589a854f04d [2020-06-17T18:26:16.122Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-17T18:26:16.122Z] Successfully built 4589a854f04d [2020-06-17T18:26:16.122Z] 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] } [2020-06-17T18:26:16.445Z] Sending build context to Docker daemon 8.027MB [2020-06-17T18:26:16.445Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-17T18:26:16.445Z] Step 2/10 : FROM ${BASE} [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-06-17T18:26:16.724Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-17T18:26:16.724Z] cde5963f3b93: Pulling fs layer [2020-06-17T18:26:16.724Z] 2a23fa8c16f7: Pulling fs layer [2020-06-17T18:26:16.724Z] 777b28850792: Pulling fs layer [2020-06-17T18:26:16.724Z] 8a11ddd9e578: Pulling fs layer [2020-06-17T18:26:16.724Z] 4cf88f913ddb: Pulling fs layer [2020-06-17T18:26:16.724Z] 1df406cf5192: Pulling fs layer [2020-06-17T18:26:16.724Z] cd6300453558: Pulling fs layer [2020-06-17T18:26:16.724Z] b9c365052c96: Pulling fs layer [2020-06-17T18:26:16.724Z] a2d8cc88f415: Pulling fs layer [2020-06-17T18:26:16.724Z] ea1d1ca13537: Pulling fs layer [2020-06-17T18:26:16.724Z] 3750a50a1c5e: Pulling fs layer [2020-06-17T18:26:16.724Z] cd6300453558: Waiting [2020-06-17T18:26:16.724Z] 8a11ddd9e578: Waiting [2020-06-17T18:26:16.724Z] 4cf88f913ddb: Waiting [2020-06-17T18:26:16.724Z] 1df406cf5192: Waiting [2020-06-17T18:26:16.724Z] b9c365052c96: Waiting [2020-06-17T18:26:16.724Z] a2d8cc88f415: Waiting [2020-06-17T18:26:16.724Z] ea1d1ca13537: Waiting [2020-06-17T18:26:16.724Z] 3750a50a1c5e: Waiting [2020-06-17T18:26:16.724Z] 777b28850792: Download complete [2020-06-17T18:26:16.724Z] 2a23fa8c16f7: Verifying Checksum [2020-06-17T18:26:16.724Z] 2a23fa8c16f7: Download complete [2020-06-17T18:26:16.724Z] 4cf88f913ddb: Verifying Checksum [2020-06-17T18:26:16.724Z] 4cf88f913ddb: Download complete [2020-06-17T18:26:16.724Z] 1df406cf5192: Verifying Checksum [2020-06-17T18:26:16.724Z] 1df406cf5192: Download complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2020-06-17T18:26:17.000Z] cde5963f3b93: Verifying Checksum [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-06-17T18:26:17.608Z] cde5963f3b93: Pull complete [2020-06-17T18:26:18.218Z] 2a23fa8c16f7: Pull complete [2020-06-17T18:26:18.495Z] 777b28850792: Pull complete [2020-06-17T18:26:19.091Z] cd6300453558: Verifying Checksum [2020-06-17T18:26:19.091Z] cd6300453558: Download complete [2020-06-17T18:26:19.091Z] a2d8cc88f415: Download complete [2020-06-17T18:26:20.524Z] ea1d1ca13537: Verifying Checksum [2020-06-17T18:26:20.524Z] ea1d1ca13537: Download complete [2020-06-17T18:26:20.524Z] 3750a50a1c5e: Verifying Checksum [2020-06-17T18:26:20.524Z] 3750a50a1c5e: Download complete [2020-06-17T18:26:21.963Z] b9c365052c96: Verifying Checksum [2020-06-17T18:26:21.963Z] b9c365052c96: Download complete [2020-06-17T18:26:22.235Z] 8a11ddd9e578: Verifying Checksum [2020-06-17T18:26:22.235Z] 8a11ddd9e578: Download complete [2020-06-17T18:26:34.653Z] 8a11ddd9e578: Pull complete [2020-06-17T18:26:34.653Z] 4cf88f913ddb: Pull complete [2020-06-17T18:26:34.653Z] 1df406cf5192: Pull complete [2020-06-17T18:26:38.966Z] cd6300453558: Pull complete [2020-06-17T18:26:43.280Z] b9c365052c96: Pull complete [2020-06-17T18:26:43.877Z] a2d8cc88f415: Pull complete [2020-06-17T18:26:45.856Z] ea1d1ca13537: Pull complete [2020-06-17T18:26:46.127Z] 3750a50a1c5e: Pull complete [2020-06-17T18:26:46.399Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-17T18:26:46.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-17T18:26:46.399Z] ---> 78745c68409d [2020-06-17T18:26:46.399Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-17T18:26:51.799Z] ---> Running in 1f2350c8f28f [2020-06-17T18:26:51.799Z] Removing intermediate container 1f2350c8f28f [2020-06-17T18:26:51.799Z] ---> 7220cee7770e [2020-06-17T18:26:51.799Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-17T18:26:51.799Z] ---> Running in 1bc428a493f9 [2020-06-17T18:26:51.799Z] Removing intermediate container 1bc428a493f9 [2020-06-17T18:26:51.799Z] ---> 51b9e2ca866a [2020-06-17T18:26:51.799Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-17T18:26:52.071Z] ---> Running in 52200fc59731 [2020-06-17T18:26:52.345Z] Removing intermediate container 52200fc59731 [2020-06-17T18:26:52.345Z] ---> 0027aa4d4f2a [2020-06-17T18:26:52.345Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-17T18:26:52.616Z] ---> Running in 599b41f9c28f [2020-06-17T18:26:55.229Z] Removing intermediate container 599b41f9c28f [2020-06-17T18:26:55.229Z] ---> 7b10629c7f99 [2020-06-17T18:26:55.229Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-17T18:26:55.229Z] ---> Running in 2115430ee69a [2020-06-17T18:26:56.655Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-17T18:26:57.627Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-17T18:26:57.898Z] OK: 125 MiB in 39 packages [2020-06-17T18:26:59.346Z] Removing intermediate container 2115430ee69a [2020-06-17T18:26:59.346Z] ---> 888f445da5df [2020-06-17T18:26:59.346Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-17T18:26:59.346Z] ---> Running in 099fc3d73221 [2020-06-17T18:26:59.618Z] Removing intermediate container 099fc3d73221 [2020-06-17T18:26:59.618Z] ---> cb9e70879d1e [2020-06-17T18:26:59.618Z] Step 9/10 : COPY . . [2020-06-17T18:27:01.049Z] ---> 987ab1eb7b89 [2020-06-17T18:27:01.049Z] Step 10/10 : RUN go mod download [2020-06-17T18:27:01.049Z] ---> Running in 587c47cd27ba [2020-06-17T18:27:03.661Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-17T18:27:03.661Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-17T18:27:03.661Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-17T18:27:03.661Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-17T18:27:03.661Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-17T18:27:03.661Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-17T18:27:03.661Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-17T18:27:03.661Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-17T18:27:03.661Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-17T18:27:03.661Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-17T18:27:03.661Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-17T18:27:03.661Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-17T18:27:03.661Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-17T18:27:03.661Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-17T18:27:03.661Z] go: finding github.com/fatih/color v1.7.0 [2020-06-17T18:27:03.661Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-17T18:27:03.661Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-17T18:27:03.661Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-17T18:27:03.661Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-17T18:27:03.661Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-17T18:27:03.661Z] go: finding github.com/google/uuid v1.1.0 [2020-06-17T18:27:03.661Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-17T18:27:03.662Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-17T18:27:03.662Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-17T18:27:03.662Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-17T18:27:03.662Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-17T18:27:03.662Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-17T18:27:03.662Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-17T18:27:03.662Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-17T18:27:03.662Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-17T18:27:03.662Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-17T18:27:03.662Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-17T18:27:03.662Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-17T18:27:03.662Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-17T18:27:03.662Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-17T18:27:03.662Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-17T18:27:03.662Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-17T18:27:03.934Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-17T18:27:03.934Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-17T18:27:03.934Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-17T18:27:03.934Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-17T18:27:03.934Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-17T18:27:03.934Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-17T18:27:03.934Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-17T18:27:03.934Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-17T18:27:03.934Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-17T18:27:03.934Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-17T18:27:03.934Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-17T18:27:03.934Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-17T18:27:03.934Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-17T18:27:03.934Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-17T18:27:03.934Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-17T18:27:03.934Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-17T18:27:03.934Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-17T18:27:03.934Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-17T18:27:03.934Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-17T18:27:03.934Z] go: finding github.com/posener/complete v1.1.1 [2020-06-17T18:27:03.934Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-17T18:27:03.934Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-17T18:27:03.934Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-17T18:27:03.934Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-17T18:27:03.934Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-17T18:27:03.934Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-17T18:27:03.934Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-17T18:27:03.934Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-17T18:27:03.934Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-17T18:27:03.934Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-17T18:27:04.209Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-17T18:27:04.209Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-17T18:27:04.209Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-17T18:27:14.370Z] Removing intermediate container 587c47cd27ba [2020-06-17T18:27:14.370Z] ---> e60fa584e620 [2020-06-17T18:27:14.370Z] Successfully built e60fa584e620 [2020-06-17T18:27:14.370Z] 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-17T18:27:15.075Z] + docker inspect -f . ci-base-image-arm64 [2020-06-17T18:27:15.075Z] . [Pipeline] withDockerContainer [2020-06-17T18:27:15.370Z] prd-ubuntu18.04-docker-arm64-4c-16g-3383 does not seem to be running inside a container [2020-06-17T18:27:15.453Z] $ 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 ******** ci-base-image-arm64 cat [2020-06-17T18:27:17.412Z] $ docker top 14e29ce1b96df83f24812cc3fbf8d549c2632f157c4f66525bfca04d0dbc1a46 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-17T18:27:18.802Z] + go version [2020-06-17T18:27:18.803Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-17T18:27:19.859Z] + make test [2020-06-17T18:27:19.859Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-17T18:27:20.837Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-17T18:27:47.686Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-17T18:27:51.086Z] ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 56.3% of statements [2020-06-17T18:27:51.086Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-17T18:27:57.822Z] gofmt -l . [2020-06-17T18:27:57.822Z] [ "`gofmt -l .`" = "" ] [2020-06-17T18:27:57.822Z] ./bin/test-go-mod-tidy.sh [2020-06-17T18:27:57.822Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-17T18:27:57.860Z] Warning: overwriting stash ‘coverage-report’ [2020-06-17T18:27:58.246Z] Stashed 1 file(s) [Pipeline] } [2020-06-17T18:27:58.241Z] $ docker stop --time=1 14e29ce1b96df83f24812cc3fbf8d549c2632f157c4f66525bfca04d0dbc1a46 [2020-06-17T18:28:00.331Z] $ docker rm -f 14e29ce1b96df83f24812cc3fbf8d549c2632f157c4f66525bfca04d0dbc1a46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-17T18:28:01.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-17T18:28:02.247Z] + ls -al . [2020-06-17T18:28:02.247Z] total 124 [2020-06-17T18:28:02.247Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 18:27 . [2020-06-17T18:28:02.247Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 18:26 .. [2020-06-17T18:28:02.247Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 17 18:26 .dockerignore [2020-06-17T18:28:02.247Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 18:26 .git [2020-06-17T18:28:02.247Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:26 .github [2020-06-17T18:28:02.247Z] -rw-rw-r-- 1 jenkins jenkins 339 Jun 17 18:26 .gitignore [2020-06-17T18:28:02.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 18:26 .semver [2020-06-17T18:28:02.247Z] -rw-rw-r-- 1 jenkins jenkins 4802 Jun 17 18:26 Attribution.txt [2020-06-17T18:28:02.247Z] -rw-rw-r-- 1 jenkins jenkins 1504 Jun 17 18:26 Dockerfile [2020-06-17T18:28:02.247Z] -rw-rw-r-- 1 jenkins jenkins 989 Jun 17 18:26 Dockerfile.build [2020-06-17T18:28:02.247Z] -rw-rw-r-- 1 jenkins jenkins 702 Jun 17 18:26 Jenkinsfile [2020-06-17T18:28:02.247Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 18:26 LICENSE [2020-06-17T18:28:02.247Z] -rw-rw-r-- 1 jenkins jenkins 951 Jun 17 18:26 Makefile [2020-06-17T18:28:02.247Z] -rw-rw-r-- 1 jenkins jenkins 5716 Jun 17 18:26 README.md [2020-06-17T18:28:02.247Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 18:22 VERSION [2020-06-17T18:28:02.247Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:26 bin [2020-06-17T18:28:02.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 18:26 cmd [2020-06-17T18:28:02.247Z] -rw-r--r-- 1 jenkins jenkins 9369 Jun 17 18:27 coverage.out [2020-06-17T18:28:02.247Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:27 driver [2020-06-17T18:28:02.247Z] -rw-r--r-- 1 jenkins jenkins 266 Jun 17 18:27 go.mod [2020-06-17T18:28:02.247Z] -rw-r--r-- 1 jenkins jenkins 12533 Jun 17 18:27 go.sum [2020-06-17T18:28:02.247Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 17 18:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:28:02.619Z] + 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=d097784316ec6796509111cd09577426280be0ed --label arch=arm64 --label version=0.0.0 . [2020-06-17T18:28:03.215Z] Sending build context to Docker daemon 8.039MB [2020-06-17T18:28:03.215Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-17T18:28:03.215Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-17T18:28:03.215Z] ---> e60fa584e620 [2020-06-17T18:28:03.215Z] Step 3/24 : ARG MAKE='make build' [2020-06-17T18:28:03.487Z] ---> Running in 4e1bf27d46a8 [2020-06-17T18:28:03.760Z] Removing intermediate container 4e1bf27d46a8 [2020-06-17T18:28:03.760Z] ---> d62d1f4144a1 [2020-06-17T18:28:03.760Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-17T18:28:04.032Z] ---> Running in 7503db36ceac [2020-06-17T18:28:04.304Z] Removing intermediate container 7503db36ceac [2020-06-17T18:28:04.304Z] ---> e9872ad748e7 [2020-06-17T18:28:04.304Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-17T18:28:04.577Z] ---> Running in 8656c096ffce [2020-06-17T18:28:04.849Z] Removing intermediate container 8656c096ffce [2020-06-17T18:28:04.850Z] ---> 7f34f8aca1ac [2020-06-17T18:28:04.850Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-17T18:28:05.122Z] ---> Running in 8d430a70992d [2020-06-17T18:28:07.739Z] Removing intermediate container 8d430a70992d [2020-06-17T18:28:07.739Z] ---> 59e033ab0e20 [2020-06-17T18:28:07.739Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-17T18:28:07.739Z] ---> Running in afd54c8096b7 [2020-06-17T18:28:09.172Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-17T18:28:09.762Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-17T18:28:10.354Z] OK: 125 MiB in 39 packages [2020-06-17T18:28:11.328Z] Removing intermediate container afd54c8096b7 [2020-06-17T18:28:11.328Z] ---> fc3d89f66a50 [2020-06-17T18:28:11.328Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-17T18:28:11.601Z] ---> Running in 9d815f9931ff [2020-06-17T18:28:11.875Z] Removing intermediate container 9d815f9931ff [2020-06-17T18:28:11.875Z] ---> 1786385f00fb [2020-06-17T18:28:11.875Z] Step 9/24 : COPY go.mod . [2020-06-17T18:28:12.858Z] ---> da9b2f92763d [2020-06-17T18:28:12.858Z] Step 10/24 : COPY Makefile . [2020-06-17T18:28:13.453Z] ---> 621014808c37 [2020-06-17T18:28:13.453Z] Step 11/24 : RUN make update [2020-06-17T18:28:13.453Z] ---> Running in 9f978168b7ea [2020-06-17T18:28:14.893Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-17T18:28:16.330Z] Removing intermediate container 9f978168b7ea [2020-06-17T18:28:16.330Z] ---> ed47378b7223 [2020-06-17T18:28:16.330Z] Step 12/24 : COPY . . [2020-06-17T18:28:17.308Z] ---> 47da2c53c75c [2020-06-17T18:28:17.308Z] Step 13/24 : RUN $MAKE [2020-06-17T18:28:17.584Z] ---> Running in b08420dae9e8 [2020-06-17T18:28:19.015Z] 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-17T18:28:45.822Z] Removing intermediate container b08420dae9e8 [2020-06-17T18:28:45.822Z] ---> 63852f394d81 [2020-06-17T18:28:45.822Z] Step 14/24 : FROM alpine:latest [2020-06-17T18:28:45.822Z] latest: Pulling from library/alpine [2020-06-17T18:28:45.822Z] b538f80385f9: Pulling fs layer [2020-06-17T18:28:45.822Z] b538f80385f9: Verifying Checksum [2020-06-17T18:28:45.822Z] b538f80385f9: Download complete [2020-06-17T18:28:46.421Z] b538f80385f9: Pull complete [2020-06-17T18:28:46.421Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-17T18:28:46.421Z] Status: Downloaded newer image for alpine:latest [2020-06-17T18:28:46.421Z] ---> 62ee0e9f8440 [2020-06-17T18:28:46.421Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-17T18:28:46.694Z] ---> Running in cd58bc410a34 [2020-06-17T18:28:46.972Z] Removing intermediate container cd58bc410a34 [2020-06-17T18:28:46.972Z] ---> c2ccbcf16017 [2020-06-17T18:28:46.972Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-17T18:28:47.246Z] ---> Running in 7495e831ad8b [2020-06-17T18:28:47.521Z] Removing intermediate container 7495e831ad8b [2020-06-17T18:28:47.521Z] ---> de2074c7eba9 [2020-06-17T18:28:47.521Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-17T18:28:48.502Z] ---> b5d55b5702df [2020-06-17T18:28:48.502Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-17T18:28:49.096Z] ---> 8f5fcc474b7c [2020-06-17T18:28:49.096Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-17T18:28:50.524Z] ---> 0f2e3cfdce7c [2020-06-17T18:28:50.524Z] Step 20/24 : EXPOSE 49986 [2020-06-17T18:28:50.799Z] ---> Running in 883ba08d2601 [2020-06-17T18:28:51.071Z] Removing intermediate container 883ba08d2601 [2020-06-17T18:28:51.071Z] ---> 0bef4b665503 [2020-06-17T18:28:51.071Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-17T18:28:51.071Z] ---> Running in a5300e2092df [2020-06-17T18:28:51.667Z] Removing intermediate container a5300e2092df [2020-06-17T18:28:51.667Z] ---> a60ad23c6fe4 [2020-06-17T18:28:51.667Z] Step 22/24 : LABEL arch=arm64 [2020-06-17T18:28:51.667Z] ---> Running in 0d51a48ecbc6 [2020-06-17T18:28:52.263Z] Removing intermediate container 0d51a48ecbc6 [2020-06-17T18:28:52.263Z] ---> aa435237e598 [2020-06-17T18:28:52.263Z] Step 23/24 : LABEL git_sha=d097784316ec6796509111cd09577426280be0ed [2020-06-17T18:28:52.263Z] ---> Running in d6acf30dcede [2020-06-17T18:28:52.859Z] Removing intermediate container d6acf30dcede [2020-06-17T18:28:52.859Z] ---> 0669c03659c7 [2020-06-17T18:28:52.859Z] Step 24/24 : LABEL version=0.0.0 [2020-06-17T18:28:52.859Z] ---> Running in f398c6c826a2 [2020-06-17T18:28:53.133Z] Removing intermediate container f398c6c826a2 [2020-06-17T18:28:53.133Z] ---> bf79e440644f [2020-06-17T18:28:53.133Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-17T18:28:53.133Z] Successfully built bf79e440644f [2020-06-17T18:28:53.133Z] 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-17T18:28:54.683Z] provisioning config files... [2020-06-17T18:28:54.693Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-25@tmp/config7784838367880319696tmp [Pipeline] { [Pipeline] sh [2020-06-17T18:28:55.051Z] + curl -s https://codecov.io/bash [2020-06-17T18:28:55.051Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-25@tmp/config7784838367880319696tmp [2020-06-17T18:28:55.312Z] [2020-06-17T18:28:55.313Z] _____ _ [2020-06-17T18:28:55.313Z] / ____| | | [2020-06-17T18:28:55.313Z] | | ___ __| | ___ ___ _____ __ [2020-06-17T18:28:55.313Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-17T18:28:55.313Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-17T18:28:55.313Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-17T18:28:55.313Z] Bash-20200602-f809a24 [2020-06-17T18:28:55.313Z] [2020-06-17T18:28:55.313Z] [2020-06-17T18:28:55.313Z] ==> Jenkins CI detected. [2020-06-17T18:28:55.313Z] project root: . [2020-06-17T18:28:55.313Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-17T18:28:55.313Z] ==> Running gcov in . (disable via -X gcov) [2020-06-17T18:28:55.313Z] ==> Python coveragepy not found [2020-06-17T18:28:55.313Z] ==> Searching for coverage reports in: [2020-06-17T18:28:55.313Z] + . [2020-06-17T18:28:55.313Z] -> Found 1 reports [2020-06-17T18:28:55.313Z] ==> Detecting git/mercurial file structure [2020-06-17T18:28:55.313Z] ==> Reading reports [2020-06-17T18:28:55.313Z] + ./coverage.out bytes=9369 [2020-06-17T18:28:55.313Z] ==> Appending adjustments [2020-06-17T18:28:55.313Z] https://docs.codecov.io/docs/fixing-reports [2020-06-17T18:28:55.313Z] + Found adjustments [2020-06-17T18:28:55.313Z] ==> Gzipping contents [2020-06-17T18:28:55.313Z] ==> Uploading reports [2020-06-17T18:28:55.313Z] url: https://codecov.io [2020-06-17T18:28:55.313Z] query: branch=PR-25&commit=d097784316ec6796509111cd09577426280be0ed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-25%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=25&job= [2020-06-17T18:28:55.313Z] -> Pinging Codecov [2020-06-17T18:28:55.313Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-25&commit=d097784316ec6796509111cd09577426280be0ed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-25%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=25&job= [2020-06-17T18:28:55.886Z] -> Uploading [2020-06-17T18:28:56.457Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d097784316ec6796509111cd09577426280be0ed [Pipeline] } [2020-06-17T18:28:56.480Z] 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-17T18:28:57.842Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-17T18:28:58.443Z] ---> package-listing.sh [2020-06-17T18:28:58.443Z] ++ facter osfamily [2020-06-17T18:28:58.443Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-17T18:28:58.443Z] + OS_FAMILY=redhat [2020-06-17T18:28:58.443Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-25 [2020-06-17T18:28:58.443Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-17T18:28:58.443Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-17T18:28:58.443Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-17T18:28:58.443Z] + PACKAGES=/tmp/packages_start.txt [2020-06-17T18:28:58.443Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-25 ']' [2020-06-17T18:28:58.443Z] + PACKAGES=/tmp/packages_end.txt [2020-06-17T18:28:58.443Z] + case "${OS_FAMILY}" in [2020-06-17T18:28:58.443Z] + rpm -qa [2020-06-17T18:28:58.443Z] + sort [2020-06-17T18:29:01.746Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-17T18:29:01.746Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-17T18:29:01.746Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-17T18:29:01.746Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-25 ']' [2020-06-17T18:29:01.746Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-25/archives/ [2020-06-17T18:29:01.746Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-25/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:29:02.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-17T18:29:02.163Z] [2020-06-17T18:29:02.163Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-17T18:29:02.525Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-17T18:29:02.525Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-17T18:29:02.525Z] c9b1b535fdd9: Pulling fs layer [2020-06-17T18:29:02.525Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-17T18:29:02.525Z] 756a868c4378: Pulling fs layer [2020-06-17T18:29:02.525Z] 444b2fc9a129: Pulling fs layer [2020-06-17T18:29:02.525Z] ea15f1150254: Pulling fs layer [2020-06-17T18:29:02.525Z] 41b27a9f41bf: Pulling fs layer [2020-06-17T18:29:02.525Z] 28c525ee5125: Pulling fs layer [2020-06-17T18:29:02.525Z] 094b1ea09ed8: Pulling fs layer [2020-06-17T18:29:02.525Z] 138eaada9080: Pulling fs layer [2020-06-17T18:29:02.525Z] 0622d0fa9048: Pulling fs layer [2020-06-17T18:29:02.525Z] 41b27a9f41bf: Waiting [2020-06-17T18:29:02.525Z] 28c525ee5125: Waiting [2020-06-17T18:29:02.525Z] 094b1ea09ed8: Waiting [2020-06-17T18:29:02.525Z] 138eaada9080: Waiting [2020-06-17T18:29:02.525Z] 0622d0fa9048: Waiting [2020-06-17T18:29:02.525Z] 444b2fc9a129: Waiting [2020-06-17T18:29:02.525Z] ea15f1150254: Waiting [2020-06-17T18:29:02.525Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-17T18:29:02.525Z] 2cc5ad85d9ab: Download complete [2020-06-17T18:29:02.525Z] 444b2fc9a129: Verifying Checksum [2020-06-17T18:29:02.525Z] 444b2fc9a129: Download complete [2020-06-17T18:29:02.525Z] c9b1b535fdd9: Verifying Checksum [2020-06-17T18:29:02.525Z] c9b1b535fdd9: Download complete [2020-06-17T18:29:02.525Z] ea15f1150254: Verifying Checksum [2020-06-17T18:29:02.525Z] ea15f1150254: Download complete [2020-06-17T18:29:02.791Z] 28c525ee5125: Download complete [2020-06-17T18:29:03.058Z] c9b1b535fdd9: Pull complete [2020-06-17T18:29:03.058Z] 756a868c4378: Verifying Checksum [2020-06-17T18:29:03.058Z] 756a868c4378: Download complete [2020-06-17T18:29:03.341Z] 138eaada9080: Verifying Checksum [2020-06-17T18:29:03.341Z] 138eaada9080: Download complete [2020-06-17T18:29:03.341Z] 2cc5ad85d9ab: Pull complete [2020-06-17T18:29:03.341Z] 0622d0fa9048: Verifying Checksum [2020-06-17T18:29:03.341Z] 0622d0fa9048: Download complete [2020-06-17T18:29:03.341Z] 094b1ea09ed8: Verifying Checksum [2020-06-17T18:29:03.341Z] 094b1ea09ed8: Download complete [2020-06-17T18:29:03.933Z] 41b27a9f41bf: Verifying Checksum [2020-06-17T18:29:03.933Z] 41b27a9f41bf: Download complete [2020-06-17T18:29:04.884Z] 756a868c4378: Pull complete [2020-06-17T18:29:05.156Z] 444b2fc9a129: Pull complete [2020-06-17T18:29:05.418Z] ea15f1150254: Pull complete [2020-06-17T18:29:09.653Z] 41b27a9f41bf: Pull complete [2020-06-17T18:29:09.653Z] 28c525ee5125: Pull complete [2020-06-17T18:29:12.983Z] 094b1ea09ed8: Pull complete [2020-06-17T18:29:12.983Z] 138eaada9080: Pull complete [2020-06-17T18:29:13.247Z] 0622d0fa9048: Pull complete [2020-06-17T18:29:13.247Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-17T18:29:13.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-17T18:29:13.247Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-17T18:29:13.429Z] prd-centos7-docker-4c-2g-3381 does not seem to be running inside a container [2020-06-17T18:29:13.483Z] $ 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-25 -v /w/workspace/dgexfoundry_device-rest-go_PR-25:/w/workspace/dgexfoundry_device-rest-go_PR-25:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-25@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-25@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:10003/edgex-lftools-log-publisher:alpine cat [2020-06-17T18:29:17.843Z] $ docker top 2030e562463de6b0f5a21943e3065361f75b8c8e621db5191f3cf2f5fa7a48ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-17T18:29:18.080Z] provisioning config files... [2020-06-17T18:29:18.093Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-25@tmp/config3569753477925313322tmp [Pipeline] { [Pipeline] echo [2020-06-17T18:29:18.164Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-17T18:29:18.484Z] ---> create-netrc.sh [Pipeline] echo [2020-06-17T18:29:18.515Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-17T18:29:18.834Z] ---> logs-deploy.sh [2020-06-17T18:29:18.834Z] + ARCHIVE_ARTIFACTS= [2020-06-17T18:29:18.834Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-17T18:29:18.834Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-17T18:29:18.834Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-17T18:29:18.834Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-25/1 [2020-06-17T18:29:18.834Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-25/1/ [2020-06-17T18:29:18.834Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-25/1 /w/workspace/dgexfoundry_device-rest-go_PR-25 [2020-06-17T18:29:20.218Z] Archives upload complete. [2020-06-17T18:29:20.218Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-25/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-25/1/