Pull request #24 updated 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 lranjbar for edgexfoundry/device-rest-go Obtained Jenkinsfile from fb37ef4b9bc194b7f6bf939622199a9b30416d72+44d29830d52e322790143f809155a22bedb1a813 (b64370da3fdaf45e2fce6639cac04864a693eed4) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3065 in /w/workspace/dgexfoundry_device-rest-go_PR-24 [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-24 # 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/24/head:refs/remotes/origin/PR-24 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 44d29830d52e322790143f809155a22bedb1a813 into PR head commit fb37ef4b9bc194b7f6bf939622199a9b30416d72 Merge succeeded, producing fb37ef4b9bc194b7f6bf939622199a9b30416d72 Checking out Revision fb37ef4b9bc194b7f6bf939622199a9b30416d72 (PR-24) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/24/head:refs/remotes/origin/PR-24 # 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/24/head:refs/remotes/origin/PR-24 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb37ef4b9bc194b7f6bf939622199a9b30416d72 # 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 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb37ef4b9bc194b7f6bf939622199a9b30416d72 # timeout=10 Commit message: "fix: Update package name in main.go to match the one in version.go" First time build. Skipping changelog. > git rev-list --no-walk 4eaf934174a36e4f848d22e7c703559c2845ebed # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-15T18:57:42.503Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-15T18:57:42.614Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-15T18:57:42.654Z] ========================================================= [2020-06-15T18:57:42.654Z] EdgeX Global Pipelines Version Info [2020-06-15T18:57:42.654Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-15T18:57:44.485Z] ------------------- [2020-06-15T18:57:44.485Z] stable info: [2020-06-15T18:57:44.486Z] ------------------- [2020-06-15T18:57:44.486Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-15T18:57:44.486Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-15T18:57:44.486Z] Message: update stable to v1.0.89 [2020-06-15T18:57:45.056Z] ------------------- [2020-06-15T18:57:45.056Z] experimental info: [2020-06-15T18:57:45.056Z] ------------------- [2020-06-15T18:57:45.056Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-15T18:57:45.056Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-15T18:57:45.056Z] 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-15T18:57:46.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-15T18:57:46.800Z] [2020-06-15T18:57:46.800Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-15T18:57:47.117Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-15T18:57:47.117Z] latest: Pulling from edgex-devops/git-semver [2020-06-15T18:57:47.117Z] 9123ac7c32f7: Pulling fs layer [2020-06-15T18:57:47.117Z] b8cc5d1170e3: Pulling fs layer [2020-06-15T18:57:47.117Z] 2924cbbf6a41: Pulling fs layer [2020-06-15T18:57:47.117Z] 93b08a4f1073: Pulling fs layer [2020-06-15T18:57:47.117Z] 93b08a4f1073: Waiting [2020-06-15T18:57:47.117Z] b8cc5d1170e3: Verifying Checksum [2020-06-15T18:57:47.117Z] b8cc5d1170e3: Download complete [2020-06-15T18:57:47.386Z] 9123ac7c32f7: Download complete [2020-06-15T18:57:47.386Z] 93b08a4f1073: Verifying Checksum [2020-06-15T18:57:47.386Z] 93b08a4f1073: Download complete [2020-06-15T18:57:47.386Z] 2924cbbf6a41: Verifying Checksum [2020-06-15T18:57:47.646Z] 9123ac7c32f7: Pull complete [2020-06-15T18:57:47.911Z] b8cc5d1170e3: Pull complete [2020-06-15T18:57:48.497Z] 2924cbbf6a41: Pull complete [2020-06-15T18:57:48.758Z] 93b08a4f1073: Pull complete [2020-06-15T18:57:48.758Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-15T18:57:48.758Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-15T18:57:48.758Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-15T18:57:48.865Z] prd-centos7-docker-4c-2g-3065 does not seem to be running inside a container [2020-06-15T18:57:48.910Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-24 -v /w/workspace/dgexfoundry_device-rest-go_PR-24:/w/workspace/dgexfoundry_device-rest-go_PR-24:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-24@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-15T18:57:50.967Z] $ docker top 6b38704f512b7cdc986fd5d41f4c3d6e041053786bdd675e4e20f74cead8e6d9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-15T18:57:51.163Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-15T18:57:51.163Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-15T18:57:51.382Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-15T18:57:51.390Z] $ docker exec 6b38704f512b7cdc986fd5d41f4c3d6e041053786bdd675e4e20f74cead8e6d9 ssh-agent [2020-06-15T18:57:51.556Z] SSH_AUTH_SOCK=/tmp/ssh-VPz8MYxgzdmS/agent.11 [2020-06-15T18:57:51.556Z] SSH_AGENT_PID=16 [2020-06-15T18:57:51.566Z] Running ssh-add (command line suppressed) [2020-06-15T18:57:51.692Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-24@tmp/private_key_7743468904501465871.key (/w/workspace/dgexfoundry_device-rest-go_PR-24@tmp/private_key_7743468904501465871.key) [2020-06-15T18:57:51.738Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-15T18:57:52.054Z] + git describe --exact-match --tags HEAD [2020-06-15T18:57:52.054Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-15T18:57:52.112Z] $ docker exec --env ******** --env ******** 6b38704f512b7cdc986fd5d41f4c3d6e041053786bdd675e4e20f74cead8e6d9 ssh-agent -k [2020-06-15T18:57:52.238Z] unset SSH_AUTH_SOCK; [2020-06-15T18:57:52.238Z] unset SSH_AGENT_PID; [2020-06-15T18:57:52.238Z] echo Agent pid 16 killed; [2020-06-15T18:57:52.288Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-15T18:57:52.329Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-15T18:57:52.329Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-15T18:57:52.376Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-15T18:57:52.377Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-15T18:57:52.553Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-15T18:57:52.561Z] $ docker exec 6b38704f512b7cdc986fd5d41f4c3d6e041053786bdd675e4e20f74cead8e6d9 ssh-agent [2020-06-15T18:57:52.728Z] SSH_AUTH_SOCK=/tmp/ssh-xGgmD0MCRP1J/agent.45 [2020-06-15T18:57:52.728Z] SSH_AGENT_PID=50 [2020-06-15T18:57:52.734Z] Running ssh-add (command line suppressed) [2020-06-15T18:57:52.858Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-24@tmp/private_key_5615804466441299741.key (/w/workspace/dgexfoundry_device-rest-go_PR-24@tmp/private_key_5615804466441299741.key) [2020-06-15T18:57:52.906Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-15T18:57:53.211Z] + git semver init [2020-06-15T18:57:53.212Z] # -> Open(): unable to determine branch for HEAD [2020-06-15T18:57:53.212Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-24/.git [2020-06-15T18:57:53.212Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-24 [2020-06-15T18:57:53.212Z] # $SEMVER_REMOTE_NAME = origin [2020-06-15T18:57:53.212Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-15T18:57:53.212Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-15T18:57:53.212Z] # $SEMVER_BRANCH = PR-24 [2020-06-15T18:57:53.212Z] # $SEMVER_TEMP = /tmp/semver-717662968 [2020-06-15T18:57:53.212Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-06-15T18:57:54.165Z] # '/tmp/semver-717662968' -> '/w/workspace/dgexfoundry_device-rest-go_PR-24/.semver' [2020-06-15T18:57:54.430Z] # -> Force: false [2020-06-15T18:57:54.430Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-24/.semver [Pipeline] } [2020-06-15T18:57:54.445Z] $ docker exec --env ******** --env ******** 6b38704f512b7cdc986fd5d41f4c3d6e041053786bdd675e4e20f74cead8e6d9 ssh-agent -k [2020-06-15T18:57:54.561Z] unset SSH_AUTH_SOCK; [2020-06-15T18:57:54.561Z] unset SSH_AGENT_PID; [2020-06-15T18:57:54.562Z] echo Agent pid 50 killed; [2020-06-15T18:57:54.601Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-15T18:57:54.979Z] + git semver [Pipeline] } [2020-06-15T18:57:54.998Z] $ docker stop --time=1 6b38704f512b7cdc986fd5d41f4c3d6e041053786bdd675e4e20f74cead8e6d9 [2020-06-15T18:57:56.380Z] $ docker rm -f 6b38704f512b7cdc986fd5d41f4c3d6e041053786bdd675e4e20f74cead8e6d9 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-15T18:57:57.675Z] Stashed 23 file(s) [Pipeline] echo [2020-06-15T18:57:57.676Z] [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-15T18:58:12.841Z] Still waiting to schedule task [2020-06-15T18:58:12.842Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3065’ [2020-06-15T18:58:12.843Z] Still waiting to schedule task [2020-06-15T18:58:12.843Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline [2020-06-15T18:59:52.172Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3066 in /w/workspace/dgexfoundry_device-rest-go_PR-24 [Pipeline] { [Pipeline] ws [2020-06-15T18:59:52.206Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2020-06-15T18:59:57.992Z] using credential edgex-jenkins-ssh [2020-06-15T18:59:58.043Z] Cloning the remote Git repository [2020-06-15T18:59:58.044Z] Cloning with configured refspecs honoured and without tags [2020-06-15T18:59:58.084Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-15T18:59:58.191Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2020-06-15T18:59:58.264Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-15T18:59:58.266Z] > git --version # timeout=10 [2020-06-15T18:59:58.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T18:59:58.370Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T19:00:00.000Z] Fetching without tags [2020-06-15T19:00:00.513Z] Merging remotes/origin/master commit 44d29830d52e322790143f809155a22bedb1a813 into PR head commit fb37ef4b9bc194b7f6bf939622199a9b30416d72 [2020-06-15T19:00:00.741Z] Merge succeeded, producing fb37ef4b9bc194b7f6bf939622199a9b30416d72 [2020-06-15T19:00:00.742Z] Checking out Revision fb37ef4b9bc194b7f6bf939622199a9b30416d72 (PR-24) [2020-06-15T18:59:59.888Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-15T18:59:59.906Z] > git config --add remote.origin.fetch +refs/pull/24/head:refs/remotes/origin/PR-24 # timeout=10 [2020-06-15T18:59:59.922Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T18:59:59.950Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-15T18:59:59.991Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-15T18:59:59.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T19:00:00.003Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T19:00:00.507Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T19:00:00.528Z] > git checkout -f fb37ef4b9bc194b7f6bf939622199a9b30416d72 # timeout=10 [2020-06-15T19:00:00.607Z] > git remote # timeout=10 [2020-06-15T19:00:00.626Z] > git config --get remote.origin.url # timeout=10 [2020-06-15T19:00:00.656Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T19:00:00.668Z] > git merge 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 [2020-06-15T19:00:00.689Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-15T19:00:00.723Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T19:00:00.735Z] > git checkout -f fb37ef4b9bc194b7f6bf939622199a9b30416d72 # timeout=10 [2020-06-15T19:00:05.306Z] Commit message: "fix: Update package name in main.go to match the one in version.go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-15T19:00:07.440Z] ========================================================= [2020-06-15T19:00:07.440Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-15T19:00:07.440Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-15T19:00:08.506Z] + 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-15T19:00:09.492Z] Sending build context to Docker daemon 8.022MB [2020-06-15T19:00:09.492Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-15T19:00:09.492Z] Step 2/10 : FROM ${BASE} [2020-06-15T19:00:09.766Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-15T19:00:09.766Z] cde5963f3b93: Pulling fs layer [2020-06-15T19:00:09.766Z] 2a23fa8c16f7: Pulling fs layer [2020-06-15T19:00:09.766Z] 777b28850792: Pulling fs layer [2020-06-15T19:00:09.766Z] 8a11ddd9e578: Pulling fs layer [2020-06-15T19:00:09.766Z] 4cf88f913ddb: Pulling fs layer [2020-06-15T19:00:09.766Z] 1df406cf5192: Pulling fs layer [2020-06-15T19:00:09.766Z] cd6300453558: Pulling fs layer [2020-06-15T19:00:09.766Z] b9c365052c96: Pulling fs layer [2020-06-15T19:00:09.766Z] a2d8cc88f415: Pulling fs layer [2020-06-15T19:00:09.766Z] ea1d1ca13537: Pulling fs layer [2020-06-15T19:00:09.766Z] 3750a50a1c5e: Pulling fs layer [2020-06-15T19:00:09.766Z] cd6300453558: Waiting [2020-06-15T19:00:09.766Z] b9c365052c96: Waiting [2020-06-15T19:00:09.766Z] a2d8cc88f415: Waiting [2020-06-15T19:00:09.766Z] ea1d1ca13537: Waiting [2020-06-15T19:00:09.766Z] 8a11ddd9e578: Waiting [2020-06-15T19:00:09.766Z] 4cf88f913ddb: Waiting [2020-06-15T19:00:09.766Z] 1df406cf5192: Waiting [2020-06-15T19:00:09.766Z] 777b28850792: Download complete [2020-06-15T19:00:09.766Z] 2a23fa8c16f7: Verifying Checksum [2020-06-15T19:00:09.766Z] 2a23fa8c16f7: Download complete [2020-06-15T19:00:09.766Z] 4cf88f913ddb: Download complete [2020-06-15T19:00:09.766Z] 1df406cf5192: Verifying Checksum [2020-06-15T19:00:09.766Z] 1df406cf5192: Download complete [2020-06-15T19:00:09.766Z] cde5963f3b93: Verifying Checksum [2020-06-15T19:00:09.766Z] cde5963f3b93: Download complete [2020-06-15T19:00:10.769Z] cde5963f3b93: Pull complete [2020-06-15T19:00:11.380Z] 2a23fa8c16f7: Pull complete [2020-06-15T19:00:11.659Z] 777b28850792: Pull complete [2020-06-15T19:00:11.945Z] cd6300453558: Verifying Checksum [2020-06-15T19:00:11.945Z] cd6300453558: Download complete [2020-06-15T19:00:11.945Z] a2d8cc88f415: Download complete [2020-06-15T19:00:13.414Z] ea1d1ca13537: Verifying Checksum [2020-06-15T19:00:13.414Z] ea1d1ca13537: Download complete [2020-06-15T19:00:13.689Z] 3750a50a1c5e: Download complete [2020-06-15T19:00:14.675Z] 8a11ddd9e578: Verifying Checksum [2020-06-15T19:00:14.675Z] 8a11ddd9e578: Download complete [2020-06-15T19:00:14.675Z] b9c365052c96: Verifying Checksum [2020-06-15T19:00:14.675Z] b9c365052c96: Download complete [2020-06-15T19:00:27.099Z] 8a11ddd9e578: Pull complete [2020-06-15T19:00:27.099Z] 4cf88f913ddb: Pull complete [2020-06-15T19:00:27.100Z] 1df406cf5192: Pull complete [2020-06-15T19:00:31.450Z] cd6300453558: Pull complete [2020-06-15T19:00:35.791Z] b9c365052c96: Pull complete [2020-06-15T19:00:35.791Z] a2d8cc88f415: Pull complete [2020-06-15T19:00:38.415Z] ea1d1ca13537: Pull complete [2020-06-15T19:00:38.415Z] 3750a50a1c5e: Pull complete [2020-06-15T19:00:38.415Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-15T19:00:38.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-15T19:00:38.415Z] ---> 78745c68409d [2020-06-15T19:00:38.415Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-15T19:00:43.805Z] ---> Running in 471a94f30301 [2020-06-15T19:00:43.805Z] Removing intermediate container 471a94f30301 [2020-06-15T19:00:43.805Z] ---> ae93dac399dc [2020-06-15T19:00:43.805Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-15T19:00:43.805Z] ---> Running in 4d7922fd9a7d [2020-06-15T19:00:44.077Z] Removing intermediate container 4d7922fd9a7d [2020-06-15T19:00:44.077Z] ---> fb5b06d67e3d [2020-06-15T19:00:44.077Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-15T19:00:44.350Z] ---> Running in 0a6884e8abbb [2020-06-15T19:00:44.621Z] Removing intermediate container 0a6884e8abbb [2020-06-15T19:00:44.621Z] ---> 9b2933549ff0 [2020-06-15T19:00:44.621Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-15T19:00:44.893Z] ---> Running in 0b43a279d80c [2020-06-15T19:00:46.514Z] Running on prd-centos7-docker-4c-2g-3067 in /w/workspace/dgexfoundry_device-rest-go_PR-24 [Pipeline] { [Pipeline] ws [2020-06-15T19:00:46.542Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2020-06-15T19:00:47.509Z] Removing intermediate container 0b43a279d80c [2020-06-15T19:00:47.509Z] ---> 4292708bc441 [2020-06-15T19:00:47.509Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-15T19:00:47.509Z] ---> Running in caf1f4cde311 [2020-06-15T19:00:48.524Z] using credential edgex-jenkins-ssh [2020-06-15T19:00:48.549Z] Cloning the remote Git repository [2020-06-15T19:00:48.549Z] Cloning with configured refspecs honoured and without tags [2020-06-15T19:00:48.944Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-15T19:00:48.574Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-15T19:00:48.639Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2020-06-15T19:00:48.693Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-15T19:00:48.693Z] > git --version # timeout=10 [2020-06-15T19:00:48.703Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T19:00:48.735Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T19:00:49.539Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-15T19:00:50.133Z] OK: 125 MiB in 39 packages [2020-06-15T19:00:50.144Z] Fetching without tags [2020-06-15T19:00:50.513Z] Merging remotes/origin/master commit 44d29830d52e322790143f809155a22bedb1a813 into PR head commit fb37ef4b9bc194b7f6bf939622199a9b30416d72 [2020-06-15T19:00:50.590Z] Merge succeeded, producing fb37ef4b9bc194b7f6bf939622199a9b30416d72 [2020-06-15T19:00:50.590Z] Checking out Revision fb37ef4b9bc194b7f6bf939622199a9b30416d72 (PR-24) [2020-06-15T19:00:50.118Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-15T19:00:50.125Z] > git config --add remote.origin.fetch +refs/pull/24/head:refs/remotes/origin/PR-24 # timeout=10 [2020-06-15T19:00:50.131Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T19:00:50.141Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-15T19:00:50.150Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-15T19:00:50.150Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T19:00:50.155Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T19:00:50.523Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T19:00:50.527Z] > git checkout -f fb37ef4b9bc194b7f6bf939622199a9b30416d72 # timeout=10 [2020-06-15T19:00:50.564Z] > git remote # timeout=10 [2020-06-15T19:00:50.570Z] > git config --get remote.origin.url # timeout=10 [2020-06-15T19:00:50.573Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T19:00:50.576Z] > git merge 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 [2020-06-15T19:00:50.584Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-15T19:00:50.596Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T19:00:50.599Z] > git checkout -f fb37ef4b9bc194b7f6bf939622199a9b30416d72 # timeout=10 [2020-06-15T19:00:51.578Z] Removing intermediate container caf1f4cde311 [2020-06-15T19:00:51.578Z] ---> 9ce1097590f2 [2020-06-15T19:00:51.578Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-15T19:00:51.578Z] ---> Running in f9eff9e61864 [2020-06-15T19:00:51.851Z] Removing intermediate container f9eff9e61864 [2020-06-15T19:00:51.851Z] ---> 3d14651bf3db [2020-06-15T19:00:51.851Z] Step 9/10 : COPY . . [2020-06-15T19:00:53.298Z] ---> 69506fa7d417 [2020-06-15T19:00:53.298Z] Step 10/10 : RUN go mod download [2020-06-15T19:00:53.298Z] ---> Running in 267982357d64 [2020-06-15T19:00:54.257Z] Commit message: "fix: Update package name in main.go to match the one in version.go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-15T19:00:55.198Z] ========================================================= [2020-06-15T19:00:55.198Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-15T19:00:55.198Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-15T19:00:55.279Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-15T19:00:55.279Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-15T19:00:55.279Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-15T19:00:55.555Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-15T19:00:55.555Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-15T19:00:55.555Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-15T19:00:55.555Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-15T19:00:55.555Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-15T19:00:55.555Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-15T19:00:55.555Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-15T19:00:55.555Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-15T19:00:55.555Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-15T19:00:55.555Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-15T19:00:55.555Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-15T19:00:55.555Z] go: finding github.com/fatih/color v1.7.0 [2020-06-15T19:00:55.555Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-15T19:00:55.555Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-15T19:00:55.555Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-15T19:00:55.555Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-15T19:00:55.555Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-15T19:00:55.555Z] go: finding github.com/google/uuid v1.1.0 [2020-06-15T19:00:55.555Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-15T19:00:55.555Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-15T19:00:55.555Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-15T19:00:55.555Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-15T19:00:55.555Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-15T19:00:55.767Z] + 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-15T19:00:55.832Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-15T19:00:55.832Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-15T19:00:55.832Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-15T19:00:55.832Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-15T19:00:55.833Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-15T19:00:55.833Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-15T19:00:55.833Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-15T19:00:55.833Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-15T19:00:55.833Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-15T19:00:55.833Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-15T19:00:55.833Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-15T19:00:55.833Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-15T19:00:55.833Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-15T19:00:55.833Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-15T19:00:55.833Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-15T19:00:55.833Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-15T19:00:55.833Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-15T19:00:55.833Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-15T19:00:55.833Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-15T19:00:55.833Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-15T19:00:55.833Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-15T19:00:55.833Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-15T19:00:55.833Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-15T19:00:55.833Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-15T19:00:55.833Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-15T19:00:55.833Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-15T19:00:55.833Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-15T19:00:55.833Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-15T19:00:55.833Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-15T19:00:56.030Z] Sending build context to Docker daemon 8.022MB [2020-06-15T19:00:56.030Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-15T19:00:56.030Z] Step 2/10 : FROM ${BASE} [2020-06-15T19:00:56.030Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-15T19:00:56.030Z] e6b0cf9c0882: Pulling fs layer [2020-06-15T19:00:56.030Z] 2848faf0eed1: Pulling fs layer [2020-06-15T19:00:56.030Z] 0f37312ad70f: Pulling fs layer [2020-06-15T19:00:56.030Z] 5788d62ee057: Pulling fs layer [2020-06-15T19:00:56.030Z] 0e6b1d234666: Pulling fs layer [2020-06-15T19:00:56.030Z] bf5d7aec512f: Pulling fs layer [2020-06-15T19:00:56.030Z] 34c802a77dc8: Pulling fs layer [2020-06-15T19:00:56.030Z] 9eb99e56ec68: Pulling fs layer [2020-06-15T19:00:56.030Z] 27c7a5d97fbd: Pulling fs layer [2020-06-15T19:00:56.030Z] 5c102a31e300: Pulling fs layer [2020-06-15T19:00:56.030Z] dcfb455df0a1: Pulling fs layer [2020-06-15T19:00:56.030Z] 34c802a77dc8: Waiting [2020-06-15T19:00:56.030Z] 9eb99e56ec68: Waiting [2020-06-15T19:00:56.030Z] 27c7a5d97fbd: Waiting [2020-06-15T19:00:56.030Z] 5c102a31e300: Waiting [2020-06-15T19:00:56.030Z] dcfb455df0a1: Waiting [2020-06-15T19:00:56.030Z] 5788d62ee057: Waiting [2020-06-15T19:00:56.030Z] 0e6b1d234666: Waiting [2020-06-15T19:00:56.030Z] bf5d7aec512f: Waiting [2020-06-15T19:00:56.030Z] 0f37312ad70f: Verifying Checksum [2020-06-15T19:00:56.030Z] 0f37312ad70f: Download complete [2020-06-15T19:00:56.030Z] 2848faf0eed1: Verifying Checksum [2020-06-15T19:00:56.030Z] 2848faf0eed1: Download complete [2020-06-15T19:00:56.030Z] 0e6b1d234666: Download complete [2020-06-15T19:00:56.107Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-15T19:00:56.107Z] go: finding github.com/posener/complete v1.1.1 [2020-06-15T19:00:56.107Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-15T19:00:56.107Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-15T19:00:56.107Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-15T19:00:56.107Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-15T19:00:56.107Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-15T19:00:56.107Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-15T19:00:56.108Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-15T19:00:56.108Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-15T19:00:56.108Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-15T19:00:56.108Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-15T19:00:56.108Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-15T19:00:56.108Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-15T19:00:56.108Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-15T19:00:56.306Z] bf5d7aec512f: Download complete [2020-06-15T19:00:56.306Z] e6b0cf9c0882: Verifying Checksum [2020-06-15T19:00:56.306Z] e6b0cf9c0882: Download complete [2020-06-15T19:00:56.571Z] e6b0cf9c0882: Pull complete [2020-06-15T19:00:57.170Z] 34c802a77dc8: Verifying Checksum [2020-06-15T19:00:57.170Z] 34c802a77dc8: Download complete [2020-06-15T19:00:57.170Z] 2848faf0eed1: Pull complete [2020-06-15T19:00:57.170Z] 27c7a5d97fbd: Verifying Checksum [2020-06-15T19:00:57.170Z] 27c7a5d97fbd: Download complete [2020-06-15T19:00:57.770Z] 5788d62ee057: Verifying Checksum [2020-06-15T19:00:57.770Z] 5788d62ee057: Download complete [2020-06-15T19:00:57.770Z] 5c102a31e300: Download complete [2020-06-15T19:00:57.770Z] dcfb455df0a1: Verifying Checksum [2020-06-15T19:00:57.770Z] dcfb455df0a1: Download complete [2020-06-15T19:00:57.770Z] 9eb99e56ec68: Verifying Checksum [2020-06-15T19:00:57.770Z] 9eb99e56ec68: Download complete [2020-06-15T19:00:58.714Z] 0f37312ad70f: Pull complete [2020-06-15T19:01:04.016Z] 5788d62ee057: Pull complete [2020-06-15T19:01:04.016Z] 0e6b1d234666: Pull complete [2020-06-15T19:01:04.016Z] bf5d7aec512f: Pull complete [2020-06-15T19:01:06.294Z] Removing intermediate container 267982357d64 [2020-06-15T19:01:06.294Z] ---> 3207b7dc01ff [2020-06-15T19:01:06.294Z] Successfully built 3207b7dc01ff [2020-06-15T19:01:06.294Z] 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-15T19:01:06.825Z] + docker inspect -f . ci-base-image-arm64 [2020-06-15T19:01:06.825Z] . [Pipeline] withDockerContainer [2020-06-15T19:01:07.101Z] prd-ubuntu18.04-docker-arm64-4c-16g-3066 does not seem to be running inside a container [2020-06-15T19:01:07.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-06-15T19:01:08.220Z] 34c802a77dc8: Pull complete [2020-06-15T19:01:08.983Z] $ docker top 3dd94f6f21505b5f40d17a6592519432e49ecbb3dd502ac4d0a92afad2ba3168 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-15T19:01:10.380Z] + go version [2020-06-15T19:01:10.380Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-15T19:01:10.767Z] 9eb99e56ec68: Pull complete [2020-06-15T19:01:10.767Z] 27c7a5d97fbd: Pull complete [2020-06-15T19:01:11.416Z] + make test [2020-06-15T19:01:11.416Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-15T19:01:12.161Z] 5c102a31e300: Pull complete [2020-06-15T19:01:12.162Z] dcfb455df0a1: Pull complete [2020-06-15T19:01:12.162Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-15T19:01:12.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-15T19:01:12.162Z] ---> 7c70fe431013 [2020-06-15T19:01:12.162Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-15T19:01:12.408Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-15T19:01:12.731Z] ---> Running in 45263740c4d7 [2020-06-15T19:01:12.991Z] Removing intermediate container 45263740c4d7 [2020-06-15T19:01:12.991Z] ---> 5bbe0a9927a4 [2020-06-15T19:01:12.991Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-15T19:01:12.991Z] ---> Running in 1ac5e9863250 [2020-06-15T19:01:13.252Z] Removing intermediate container 1ac5e9863250 [2020-06-15T19:01:13.252Z] ---> ab38ebf9d3bc [2020-06-15T19:01:13.252Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-15T19:01:13.252Z] ---> Running in c10ceddb3266 [2020-06-15T19:01:13.252Z] Removing intermediate container c10ceddb3266 [2020-06-15T19:01:13.252Z] ---> e40fb7bc37fc [2020-06-15T19:01:13.252Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-15T19:01:13.512Z] ---> Running in 9be7e556040a [2020-06-15T19:01:14.895Z] Removing intermediate container 9be7e556040a [2020-06-15T19:01:14.895Z] ---> 616574dea161 [2020-06-15T19:01:14.895Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-15T19:01:14.895Z] ---> Running in fd5f06dac434 [2020-06-15T19:01:15.467Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-15T19:01:16.408Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-15T19:01:16.408Z] OK: 143 MiB in 39 packages [2020-06-15T19:01:17.035Z] Removing intermediate container fd5f06dac434 [2020-06-15T19:01:17.035Z] ---> 1f368a9825b5 [2020-06-15T19:01:17.035Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-15T19:01:17.035Z] ---> Running in bbd0588218ae [2020-06-15T19:01:17.297Z] Removing intermediate container bbd0588218ae [2020-06-15T19:01:17.297Z] ---> 857646070e14 [2020-06-15T19:01:17.297Z] Step 9/10 : COPY . . [2020-06-15T19:01:17.568Z] ---> e70dc431d6d4 [2020-06-15T19:01:17.568Z] Step 10/10 : RUN go mod download [2020-06-15T19:01:17.831Z] ---> Running in 13206c4031c7 [2020-06-15T19:01:19.742Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-15T19:01:19.742Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-15T19:01:19.742Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-15T19:01:19.742Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-15T19:01:19.742Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-15T19:01:19.742Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-15T19:01:19.742Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-15T19:01:19.742Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-15T19:01:19.742Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-15T19:01:19.742Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-15T19:01:19.742Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-15T19:01:19.742Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-15T19:01:19.742Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-15T19:01:19.742Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-15T19:01:19.742Z] go: finding github.com/fatih/color v1.7.0 [2020-06-15T19:01:19.742Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-15T19:01:19.742Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-15T19:01:19.742Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-15T19:01:19.742Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-15T19:01:19.742Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-15T19:01:19.742Z] go: finding github.com/google/uuid v1.1.0 [2020-06-15T19:01:19.742Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-15T19:01:19.742Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-15T19:01:19.742Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-15T19:01:19.742Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-15T19:01:19.742Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-15T19:01:19.742Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-15T19:01:19.742Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-15T19:01:19.742Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-15T19:01:19.742Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-15T19:01:19.742Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-15T19:01:19.742Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-15T19:01:19.742Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-15T19:01:19.742Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-15T19:01:19.742Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-15T19:01:19.742Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-15T19:01:19.742Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-15T19:01:19.742Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-15T19:01:19.742Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-15T19:01:19.742Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-15T19:01:19.742Z] go: finding github.com/posener/complete v1.1.1 [2020-06-15T19:01:20.003Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-15T19:01:20.003Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-15T19:01:20.003Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-15T19:01:20.003Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-15T19:01:20.003Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-15T19:01:20.003Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-15T19:01:20.003Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-15T19:01:20.003Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-15T19:01:20.003Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-15T19:01:20.003Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-15T19:01:20.003Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-15T19:01:20.003Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-15T19:01:20.003Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-15T19:01:28.161Z] Removing intermediate container 13206c4031c7 [2020-06-15T19:01:28.161Z] ---> cf18da6b73f3 [2020-06-15T19:01:28.161Z] Successfully built cf18da6b73f3 [2020-06-15T19:01:28.161Z] 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-15T19:01:28.624Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-15T19:01:28.625Z] . [Pipeline] withDockerContainer [2020-06-15T19:01:28.717Z] prd-centos7-docker-4c-2g-3067 does not seem to be running inside a container [2020-06-15T19:01:28.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-06-15T19:01:29.876Z] $ docker top 5c04fa7827185b5708912a90482f76e86d42c3e591329f6445871c30fbfb5d2a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-15T19:01:30.296Z] + go version [2020-06-15T19:01:30.296Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-15T19:01:30.596Z] + make test [2020-06-15T19:01:30.596Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-15T19:01:31.554Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-15T19:01:41.676Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-15T19:01:41.676Z] ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 56.3% of statements [2020-06-15T19:01:41.676Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-15T19:01:42.253Z] gofmt -l . [2020-06-15T19:01:42.253Z] [ "`gofmt -l .`" = "" ] [2020-06-15T19:01:42.253Z] ./bin/test-go-mod-tidy.sh [2020-06-15T19:01:42.825Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-15T19:01:43.278Z] Stashed 1 file(s) [Pipeline] } [2020-06-15T19:01:43.285Z] $ docker stop --time=1 5c04fa7827185b5708912a90482f76e86d42c3e591329f6445871c30fbfb5d2a [2020-06-15T19:01:44.804Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-15T19:01:44.804Z] ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 56.3% of statements [2020-06-15T19:01:44.804Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-15T19:01:45.426Z] $ docker rm -f 5c04fa7827185b5708912a90482f76e86d42c3e591329f6445871c30fbfb5d2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-15T19:01:47.230Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-15T19:01:47.520Z] + ls -al . [2020-06-15T19:01:47.520Z] total 96 [2020-06-15T19:01:47.520Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 15 19:01 . [2020-06-15T19:01:47.520Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 15 19:00 .. [2020-06-15T19:01:47.520Z] -rw-rw-r--. 1 jenkins jenkins 4802 Jun 15 19:00 Attribution.txt [2020-06-15T19:01:47.520Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 15 19:00 bin [2020-06-15T19:01:47.520Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 15 19:00 cmd [2020-06-15T19:01:47.520Z] -rw-r--r--. 1 jenkins jenkins 9369 Jun 15 19:01 coverage.out [2020-06-15T19:01:47.520Z] -rw-rw-r--. 1 jenkins jenkins 1504 Jun 15 19:00 Dockerfile [2020-06-15T19:01:47.520Z] -rw-rw-r--. 1 jenkins jenkins 989 Jun 15 19:00 Dockerfile.build [2020-06-15T19:01:47.520Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 15 19:00 .dockerignore [2020-06-15T19:01:47.520Z] drwxrwxr-x. 2 jenkins jenkins 93 Jun 15 19:01 driver [2020-06-15T19:01:47.520Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 15 19:00 .git [2020-06-15T19:01:47.520Z] -rw-rw-r--. 1 jenkins jenkins 339 Jun 15 19:00 .gitignore [2020-06-15T19:01:47.520Z] -rw-r--r--. 1 jenkins jenkins 266 Jun 15 19:01 go.mod [2020-06-15T19:01:47.520Z] -rw-r--r--. 1 jenkins jenkins 12533 Jun 15 19:01 go.sum [2020-06-15T19:01:47.520Z] -rw-rw-r--. 1 jenkins jenkins 702 Jun 15 19:00 Jenkinsfile [2020-06-15T19:01:47.520Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 15 19:00 LICENSE [2020-06-15T19:01:47.520Z] -rw-rw-r--. 1 jenkins jenkins 951 Jun 15 19:00 Makefile [2020-06-15T19:01:47.520Z] -rw-rw-r--. 1 jenkins jenkins 5716 Jun 15 19:00 README.md [2020-06-15T19:01:47.520Z] drwxrwxr-x. 3 jenkins jenkins 45 Jun 15 19:00 .semver [2020-06-15T19:01:47.520Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 15 18:57 VERSION [2020-06-15T19:01:47.520Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 15 19:00 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-15T19:01:47.815Z] + 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=fb37ef4b9bc194b7f6bf939622199a9b30416d72 --label arch=amd64 --label version=0.0.0 . [2020-06-15T19:01:47.816Z] Sending build context to Docker daemon 8.034MB [2020-06-15T19:01:47.816Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-15T19:01:47.816Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-15T19:01:47.816Z] ---> cf18da6b73f3 [2020-06-15T19:01:47.816Z] Step 3/24 : ARG MAKE='make build' [2020-06-15T19:01:48.076Z] ---> Running in 0b6c5c58e613 [2020-06-15T19:01:48.076Z] Removing intermediate container 0b6c5c58e613 [2020-06-15T19:01:48.076Z] ---> 98a32baf9845 [2020-06-15T19:01:48.076Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-15T19:01:48.205Z] gofmt -l . [2020-06-15T19:01:48.205Z] [ "`gofmt -l .`" = "" ] [2020-06-15T19:01:48.337Z] ---> Running in b5969a34413a [2020-06-15T19:01:48.337Z] Removing intermediate container b5969a34413a [2020-06-15T19:01:48.337Z] ---> 05ad3c970a80 [2020-06-15T19:01:48.337Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-15T19:01:48.337Z] ---> Running in 7d6f610e6c44 [2020-06-15T19:01:48.480Z] ./bin/test-go-mod-tidy.sh [2020-06-15T19:01:48.597Z] Removing intermediate container 7d6f610e6c44 [2020-06-15T19:01:48.597Z] ---> 3556c2b2f6cf [2020-06-15T19:01:48.597Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-15T19:01:48.597Z] ---> Running in 4483368c4aba [2020-06-15T19:01:48.754Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-15T19:01:49.367Z] Warning: overwriting stash ‘coverage-report’ [2020-06-15T19:01:49.536Z] Removing intermediate container 4483368c4aba [2020-06-15T19:01:49.536Z] ---> 3b41e87d4526 [2020-06-15T19:01:49.536Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-15T19:01:49.536Z] ---> Running in 5af48c543b44 [2020-06-15T19:01:49.765Z] Stashed 1 file(s) [Pipeline] } [2020-06-15T19:01:49.750Z] $ docker stop --time=1 3dd94f6f21505b5f40d17a6592519432e49ecbb3dd502ac4d0a92afad2ba3168 [2020-06-15T19:01:49.795Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-15T19:01:50.365Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-15T19:01:50.936Z] OK: 143 MiB in 39 packages [2020-06-15T19:01:51.197Z] Removing intermediate container 5af48c543b44 [2020-06-15T19:01:51.197Z] ---> 9548182dc333 [2020-06-15T19:01:51.197Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-15T19:01:51.197Z] ---> Running in 001d8d970c09 [2020-06-15T19:01:51.458Z] Removing intermediate container 001d8d970c09 [2020-06-15T19:01:51.458Z] ---> 0b8e16e1a5e7 [2020-06-15T19:01:51.458Z] Step 9/24 : COPY go.mod . [2020-06-15T19:01:51.458Z] ---> bef05c3bef47 [2020-06-15T19:01:51.458Z] Step 10/24 : COPY Makefile . [2020-06-15T19:01:51.732Z] ---> eae35eb92627 [2020-06-15T19:01:51.732Z] Step 11/24 : RUN make update [2020-06-15T19:01:51.732Z] ---> Running in aa605259dd28 [2020-06-15T19:01:51.933Z] $ docker rm -f 3dd94f6f21505b5f40d17a6592519432e49ecbb3dd502ac4d0a92afad2ba3168 [2020-06-15T19:01:52.310Z] CGO_ENABLED=0 GO111MODULE=on go mod download [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-06-15T19:01:52.571Z] Removing intermediate container aa605259dd28 [2020-06-15T19:01:52.571Z] ---> bd9246d2c032 [2020-06-15T19:01:52.571Z] Step 12/24 : COPY . . [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-15T19:01:52.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-15T19:01:53.142Z] ---> 379f4980cc2b [2020-06-15T19:01:53.143Z] Step 13/24 : RUN $MAKE [2020-06-15T19:01:53.143Z] ---> Running in fac0f62bffb7 [2020-06-15T19:01:53.302Z] + ls -al . [2020-06-15T19:01:53.302Z] total 120 [2020-06-15T19:01:53.302Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 15 19:01 . [2020-06-15T19:01:53.302Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 18:59 .. [2020-06-15T19:01:53.302Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 15 19:00 .dockerignore [2020-06-15T19:01:53.302Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 19:00 .git [2020-06-15T19:01:53.302Z] -rw-rw-r-- 1 jenkins jenkins 339 Jun 15 19:00 .gitignore [2020-06-15T19:01:53.302Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 19:00 .semver [2020-06-15T19:01:53.302Z] -rw-rw-r-- 1 jenkins jenkins 4802 Jun 15 19:00 Attribution.txt [2020-06-15T19:01:53.302Z] -rw-rw-r-- 1 jenkins jenkins 1504 Jun 15 19:00 Dockerfile [2020-06-15T19:01:53.302Z] -rw-rw-r-- 1 jenkins jenkins 989 Jun 15 19:00 Dockerfile.build [2020-06-15T19:01:53.302Z] -rw-rw-r-- 1 jenkins jenkins 702 Jun 15 19:00 Jenkinsfile [2020-06-15T19:01:53.302Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 15 19:00 LICENSE [2020-06-15T19:01:53.302Z] -rw-rw-r-- 1 jenkins jenkins 951 Jun 15 19:00 Makefile [2020-06-15T19:01:53.302Z] -rw-rw-r-- 1 jenkins jenkins 5716 Jun 15 19:00 README.md [2020-06-15T19:01:53.302Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 15 18:57 VERSION [2020-06-15T19:01:53.302Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 19:00 bin [2020-06-15T19:01:53.302Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 19:00 cmd [2020-06-15T19:01:53.302Z] -rw-r--r-- 1 jenkins jenkins 9369 Jun 15 19:01 coverage.out [2020-06-15T19:01:53.302Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 19:01 driver [2020-06-15T19:01:53.302Z] -rw-r--r-- 1 jenkins jenkins 266 Jun 15 19:01 go.mod [2020-06-15T19:01:53.302Z] -rw-r--r-- 1 jenkins jenkins 12533 Jun 15 19:01 go.sum [2020-06-15T19:01:53.302Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 15 19:00 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-15T19:01:53.408Z] 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-15T19:01:53.643Z] + 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=fb37ef4b9bc194b7f6bf939622199a9b30416d72 --label arch=arm64 --label version=0.0.0 . [2020-06-15T19:01:53.917Z] Sending build context to Docker daemon 8.034MB [2020-06-15T19:01:54.189Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-15T19:01:54.189Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-15T19:01:54.189Z] ---> 3207b7dc01ff [2020-06-15T19:01:54.189Z] Step 3/24 : ARG MAKE='make build' [2020-06-15T19:01:54.463Z] ---> Running in 18355ddaae02 [2020-06-15T19:01:54.736Z] Removing intermediate container 18355ddaae02 [2020-06-15T19:01:54.736Z] ---> 435ce124ed61 [2020-06-15T19:01:54.736Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-15T19:01:55.014Z] ---> Running in 8c4ff8987b72 [2020-06-15T19:01:55.285Z] Removing intermediate container 8c4ff8987b72 [2020-06-15T19:01:55.285Z] ---> fc7813baea78 [2020-06-15T19:01:55.285Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-15T19:01:55.559Z] ---> Running in a9d577b8db6f [2020-06-15T19:01:55.832Z] Removing intermediate container a9d577b8db6f [2020-06-15T19:01:55.832Z] ---> 3508300f338d [2020-06-15T19:01:55.832Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-15T19:01:56.108Z] ---> Running in 7cf08c75118f [2020-06-15T19:01:58.732Z] Removing intermediate container 7cf08c75118f [2020-06-15T19:01:58.732Z] ---> a867151f4238 [2020-06-15T19:01:58.732Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-15T19:01:58.732Z] ---> Running in e8f6a195d39f [2020-06-15T19:02:00.171Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-15T19:02:00.765Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-15T19:02:01.359Z] OK: 125 MiB in 39 packages [2020-06-15T19:02:02.341Z] Removing intermediate container e8f6a195d39f [2020-06-15T19:02:02.341Z] ---> 345015b21b90 [2020-06-15T19:02:02.341Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-15T19:02:02.617Z] ---> Running in 99162773e735 [2020-06-15T19:02:02.902Z] Removing intermediate container 99162773e735 [2020-06-15T19:02:02.902Z] ---> 96c3262aded0 [2020-06-15T19:02:02.902Z] Step 9/24 : COPY go.mod . [2020-06-15T19:02:03.464Z] Removing intermediate container fac0f62bffb7 [2020-06-15T19:02:03.464Z] ---> 15a2dee936c9 [2020-06-15T19:02:03.464Z] Step 14/24 : FROM alpine:latest [2020-06-15T19:02:03.724Z] latest: Pulling from library/alpine [2020-06-15T19:02:03.724Z] df20fa9351a1: Pulling fs layer [2020-06-15T19:02:03.885Z] ---> 7c6defcad259 [2020-06-15T19:02:03.885Z] Step 10/24 : COPY Makefile . [2020-06-15T19:02:03.984Z] df20fa9351a1: Download complete [2020-06-15T19:02:04.244Z] df20fa9351a1: Pull complete [2020-06-15T19:02:04.244Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-15T19:02:04.244Z] Status: Downloaded newer image for alpine:latest [2020-06-15T19:02:04.244Z] ---> a24bb4013296 [2020-06-15T19:02:04.244Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-15T19:02:04.244Z] ---> Running in 5c90c9a681cb [2020-06-15T19:02:04.482Z] ---> a2d7e7f6d38e [2020-06-15T19:02:04.482Z] Step 11/24 : RUN make update [2020-06-15T19:02:04.482Z] ---> Running in ba7add7e1c87 [2020-06-15T19:02:04.504Z] Removing intermediate container 5c90c9a681cb [2020-06-15T19:02:04.504Z] ---> e82849410d93 [2020-06-15T19:02:04.504Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-15T19:02:04.504Z] ---> Running in 3b08da0584b4 [2020-06-15T19:02:04.504Z] Removing intermediate container 3b08da0584b4 [2020-06-15T19:02:04.504Z] ---> 59cb541a865d [2020-06-15T19:02:04.504Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-15T19:02:04.764Z] ---> 4c0ae4ca80a4 [2020-06-15T19:02:04.764Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-15T19:02:05.024Z] ---> a972c15e87eb [2020-06-15T19:02:05.024Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-15T19:02:05.594Z] ---> bbe7ff2451fa [2020-06-15T19:02:05.594Z] Step 20/24 : EXPOSE 49986 [2020-06-15T19:02:05.594Z] ---> Running in aa7c582c0961 [2020-06-15T19:02:05.856Z] Removing intermediate container aa7c582c0961 [2020-06-15T19:02:05.857Z] ---> 017aee9c8155 [2020-06-15T19:02:05.857Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-15T19:02:05.857Z] ---> Running in 88fcec3e1ff6 [2020-06-15T19:02:05.906Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-15T19:02:06.117Z] Removing intermediate container 88fcec3e1ff6 [2020-06-15T19:02:06.117Z] ---> 78a6f47ea4e0 [2020-06-15T19:02:06.117Z] Step 22/24 : LABEL arch=amd64 [2020-06-15T19:02:06.117Z] ---> Running in 40bbd6098562 [2020-06-15T19:02:06.117Z] Removing intermediate container 40bbd6098562 [2020-06-15T19:02:06.117Z] ---> f78ef2407313 [2020-06-15T19:02:06.117Z] Step 23/24 : LABEL git_sha=fb37ef4b9bc194b7f6bf939622199a9b30416d72 [2020-06-15T19:02:06.377Z] ---> Running in 7a7ab7394783 [2020-06-15T19:02:06.377Z] Removing intermediate container 7a7ab7394783 [2020-06-15T19:02:06.377Z] ---> 26b622485c4d [2020-06-15T19:02:06.377Z] Step 24/24 : LABEL version=0.0.0 [2020-06-15T19:02:06.377Z] ---> Running in 000aefce69de [2020-06-15T19:02:06.638Z] Removing intermediate container 000aefce69de [2020-06-15T19:02:06.638Z] ---> efe265845071 [2020-06-15T19:02:06.638Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-15T19:02:06.638Z] Successfully built efe265845071 [2020-06-15T19:02:06.638Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2020-06-15T19:02:06.888Z] Removing intermediate container ba7add7e1c87 [2020-06-15T19:02:06.888Z] ---> 52bc406dfbfb [2020-06-15T19:02:06.888Z] Step 12/24 : COPY . . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-06-15T19:02:08.333Z] ---> 5696e6545268 [2020-06-15T19:02:08.333Z] Step 13/24 : RUN $MAKE [2020-06-15T19:02:08.333Z] ---> Running in 774952b29288 [2020-06-15T19:02:09.762Z] 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-15T19:02:36.578Z] Removing intermediate container 774952b29288 [2020-06-15T19:02:36.578Z] ---> 4ce92820276b [2020-06-15T19:02:36.578Z] Step 14/24 : FROM alpine:latest [2020-06-15T19:02:36.578Z] latest: Pulling from library/alpine [2020-06-15T19:02:36.578Z] b538f80385f9: Pulling fs layer [2020-06-15T19:02:36.579Z] b538f80385f9: Verifying Checksum [2020-06-15T19:02:36.579Z] b538f80385f9: Download complete [2020-06-15T19:02:36.579Z] b538f80385f9: Pull complete [2020-06-15T19:02:36.579Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-15T19:02:36.579Z] Status: Downloaded newer image for alpine:latest [2020-06-15T19:02:36.579Z] ---> 62ee0e9f8440 [2020-06-15T19:02:36.579Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-15T19:02:36.852Z] ---> Running in 03d9cc3bd60a [2020-06-15T19:02:37.126Z] Removing intermediate container 03d9cc3bd60a [2020-06-15T19:02:37.126Z] ---> 234da0b6c797 [2020-06-15T19:02:37.126Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-15T19:02:37.401Z] ---> Running in 44de3c13b0fa [2020-06-15T19:02:37.674Z] Removing intermediate container 44de3c13b0fa [2020-06-15T19:02:37.674Z] ---> 1bacf5e6ba8d [2020-06-15T19:02:37.674Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-15T19:02:38.654Z] ---> e126c6b1b27a [2020-06-15T19:02:38.654Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-15T19:02:39.252Z] ---> 023d0c06c6f4 [2020-06-15T19:02:39.252Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-15T19:02:40.689Z] ---> 6cdb766e2027 [2020-06-15T19:02:40.689Z] Step 20/24 : EXPOSE 49986 [2020-06-15T19:02:40.689Z] ---> Running in 832953b4d975 [2020-06-15T19:02:40.964Z] Removing intermediate container 832953b4d975 [2020-06-15T19:02:40.964Z] ---> e12483c2451f [2020-06-15T19:02:40.964Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-15T19:02:40.964Z] ---> Running in 921f713bbe6e [2020-06-15T19:02:41.560Z] Removing intermediate container 921f713bbe6e [2020-06-15T19:02:41.560Z] ---> 016234e9162d [2020-06-15T19:02:41.560Z] Step 22/24 : LABEL arch=arm64 [2020-06-15T19:02:41.560Z] ---> Running in 715ccc56a571 [2020-06-15T19:02:42.156Z] Removing intermediate container 715ccc56a571 [2020-06-15T19:02:42.156Z] ---> c1d33085dbcf [2020-06-15T19:02:42.156Z] Step 23/24 : LABEL git_sha=fb37ef4b9bc194b7f6bf939622199a9b30416d72 [2020-06-15T19:02:42.156Z] ---> Running in 561a797fc733 [2020-06-15T19:02:42.753Z] Removing intermediate container 561a797fc733 [2020-06-15T19:02:42.753Z] ---> 52001e800743 [2020-06-15T19:02:42.753Z] Step 24/24 : LABEL version=0.0.0 [2020-06-15T19:02:42.753Z] ---> Running in 87e4c2993c80 [2020-06-15T19:02:43.026Z] Removing intermediate container 87e4c2993c80 [2020-06-15T19:02:43.026Z] ---> fff3af722f8f [2020-06-15T19:02:43.026Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-15T19:02:43.298Z] Successfully built fff3af722f8f [2020-06-15T19:02:43.298Z] 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-15T19:02:44.008Z] provisioning config files... [2020-06-15T19:02:44.019Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-24@tmp/config1702870294432595700tmp [Pipeline] { [Pipeline] sh [2020-06-15T19:02:44.340Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-24@tmp/config1702870294432595700tmp [2020-06-15T19:02:44.340Z] + curl -s https://codecov.io/bash [2020-06-15T19:02:44.605Z] [2020-06-15T19:02:44.605Z] _____ _ [2020-06-15T19:02:44.605Z] / ____| | | [2020-06-15T19:02:44.605Z] | | ___ __| | ___ ___ _____ __ [2020-06-15T19:02:44.605Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-15T19:02:44.605Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-15T19:02:44.605Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-15T19:02:44.605Z] Bash-20200602-f809a24 [2020-06-15T19:02:44.605Z] [2020-06-15T19:02:44.605Z] [2020-06-15T19:02:44.605Z] ==> Jenkins CI detected. [2020-06-15T19:02:44.605Z] project root: . [2020-06-15T19:02:44.605Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-15T19:02:44.605Z] ==> Running gcov in . (disable via -X gcov) [2020-06-15T19:02:44.605Z] ==> Python coveragepy not found [2020-06-15T19:02:44.605Z] ==> Searching for coverage reports in: [2020-06-15T19:02:44.605Z] + . [2020-06-15T19:02:44.605Z] -> Found 1 reports [2020-06-15T19:02:44.605Z] ==> Detecting git/mercurial file structure [2020-06-15T19:02:44.605Z] ==> Reading reports [2020-06-15T19:02:44.605Z] + ./coverage.out bytes=9369 [2020-06-15T19:02:44.605Z] ==> Appending adjustments [2020-06-15T19:02:44.605Z] https://docs.codecov.io/docs/fixing-reports [2020-06-15T19:02:44.605Z] + Found adjustments [2020-06-15T19:02:44.605Z] ==> Gzipping contents [2020-06-15T19:02:44.605Z] ==> Uploading reports [2020-06-15T19:02:44.605Z] url: https://codecov.io [2020-06-15T19:02:44.605Z] query: branch=PR-24&commit=fb37ef4b9bc194b7f6bf939622199a9b30416d72&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-24%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=24&job= [2020-06-15T19:02:44.605Z] -> Pinging Codecov [2020-06-15T19:02:44.605Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-24&commit=fb37ef4b9bc194b7f6bf939622199a9b30416d72&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-24%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=24&job= [2020-06-15T19:02:45.549Z] -> Uploading [2020-06-15T19:02:46.121Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/fb37ef4b9bc194b7f6bf939622199a9b30416d72 [Pipeline] } [2020-06-15T19:02:46.129Z] 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-15T19:02:46.997Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-15T19:02:47.558Z] ---> package-listing.sh [2020-06-15T19:02:47.558Z] ++ facter osfamily [2020-06-15T19:02:47.558Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-15T19:02:47.558Z] + OS_FAMILY=redhat [2020-06-15T19:02:47.558Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-24 [2020-06-15T19:02:47.558Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-15T19:02:47.558Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-15T19:02:47.558Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-15T19:02:47.558Z] + PACKAGES=/tmp/packages_start.txt [2020-06-15T19:02:47.558Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-24 ']' [2020-06-15T19:02:47.558Z] + PACKAGES=/tmp/packages_end.txt [2020-06-15T19:02:47.558Z] + case "${OS_FAMILY}" in [2020-06-15T19:02:47.558Z] + rpm -qa [2020-06-15T19:02:47.558Z] + sort [2020-06-15T19:02:54.150Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-15T19:02:54.150Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-15T19:02:54.150Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-15T19:02:54.150Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-24 ']' [2020-06-15T19:02:54.150Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-24/archives/ [2020-06-15T19:02:54.150Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-24/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-15T19:02:54.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-15T19:02:54.751Z] [2020-06-15T19:02:54.751Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-15T19:02:55.073Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-15T19:02:55.073Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-15T19:02:55.073Z] c9b1b535fdd9: Pulling fs layer [2020-06-15T19:02:55.073Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-15T19:02:55.073Z] 756a868c4378: Pulling fs layer [2020-06-15T19:02:55.073Z] 444b2fc9a129: Pulling fs layer [2020-06-15T19:02:55.073Z] ea15f1150254: Pulling fs layer [2020-06-15T19:02:55.073Z] 41b27a9f41bf: Pulling fs layer [2020-06-15T19:02:55.073Z] 28c525ee5125: Pulling fs layer [2020-06-15T19:02:55.073Z] 094b1ea09ed8: Pulling fs layer [2020-06-15T19:02:55.073Z] 138eaada9080: Pulling fs layer [2020-06-15T19:02:55.073Z] 0622d0fa9048: Pulling fs layer [2020-06-15T19:02:55.073Z] 444b2fc9a129: Waiting [2020-06-15T19:02:55.073Z] 28c525ee5125: Waiting [2020-06-15T19:02:55.073Z] 094b1ea09ed8: Waiting [2020-06-15T19:02:55.073Z] 138eaada9080: Waiting [2020-06-15T19:02:55.073Z] 41b27a9f41bf: Waiting [2020-06-15T19:02:55.073Z] 0622d0fa9048: Waiting [2020-06-15T19:02:55.073Z] ea15f1150254: Waiting [2020-06-15T19:02:55.073Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-15T19:02:55.073Z] 2cc5ad85d9ab: Download complete [2020-06-15T19:02:55.073Z] 444b2fc9a129: Verifying Checksum [2020-06-15T19:02:55.073Z] 444b2fc9a129: Download complete [2020-06-15T19:02:55.073Z] c9b1b535fdd9: Verifying Checksum [2020-06-15T19:02:55.073Z] c9b1b535fdd9: Download complete [2020-06-15T19:02:55.073Z] ea15f1150254: Verifying Checksum [2020-06-15T19:02:55.073Z] ea15f1150254: Download complete [2020-06-15T19:02:55.349Z] 28c525ee5125: Download complete [2020-06-15T19:02:55.621Z] 756a868c4378: Verifying Checksum [2020-06-15T19:02:55.621Z] 756a868c4378: Download complete [2020-06-15T19:02:55.621Z] c9b1b535fdd9: Pull complete [2020-06-15T19:02:55.621Z] 138eaada9080: Verifying Checksum [2020-06-15T19:02:55.621Z] 138eaada9080: Download complete [2020-06-15T19:02:55.621Z] 094b1ea09ed8: Verifying Checksum [2020-06-15T19:02:55.621Z] 094b1ea09ed8: Download complete [2020-06-15T19:02:55.621Z] 0622d0fa9048: Verifying Checksum [2020-06-15T19:02:55.621Z] 0622d0fa9048: Download complete [2020-06-15T19:02:56.196Z] 2cc5ad85d9ab: Pull complete [2020-06-15T19:02:56.196Z] 41b27a9f41bf: Verifying Checksum [2020-06-15T19:02:56.196Z] 41b27a9f41bf: Download complete [2020-06-15T19:02:57.583Z] 756a868c4378: Pull complete [2020-06-15T19:02:57.583Z] 444b2fc9a129: Pull complete [2020-06-15T19:02:57.844Z] ea15f1150254: Pull complete [2020-06-15T19:03:02.082Z] 41b27a9f41bf: Pull complete [2020-06-15T19:03:02.082Z] 28c525ee5125: Pull complete [2020-06-15T19:03:04.638Z] 094b1ea09ed8: Pull complete [2020-06-15T19:03:04.638Z] 138eaada9080: Pull complete [2020-06-15T19:03:04.900Z] 0622d0fa9048: Pull complete [2020-06-15T19:03:04.900Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-15T19:03:04.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-15T19:03:04.900Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-15T19:03:05.067Z] prd-centos7-docker-4c-2g-3065 does not seem to be running inside a container [2020-06-15T19:03:05.112Z] $ 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-24 -v /w/workspace/dgexfoundry_device-rest-go_PR-24:/w/workspace/dgexfoundry_device-rest-go_PR-24:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-24@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-15T19:03:08.947Z] $ docker top 2a91db04223f33a5eee18de90821a574be47ecad13b4b45482f36ea7f11c6fd1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-15T19:03:09.111Z] provisioning config files... [2020-06-15T19:03:09.125Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-24@tmp/config5846603630630286050tmp [Pipeline] { [Pipeline] echo [2020-06-15T19:03:09.162Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-15T19:03:09.456Z] ---> create-netrc.sh [Pipeline] echo [2020-06-15T19:03:09.465Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-15T19:03:09.756Z] ---> logs-deploy.sh [2020-06-15T19:03:09.756Z] + ARCHIVE_ARTIFACTS= [2020-06-15T19:03:09.756Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-15T19:03:09.756Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-15T19:03:09.756Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-15T19:03:09.756Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-24/3 [2020-06-15T19:03:09.756Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-24/3/ [2020-06-15T19:03:09.756Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-24/3 /w/workspace/dgexfoundry_device-rest-go_PR-24 [2020-06-15T19:03:11.144Z] Archives upload complete. [2020-06-15T19:03:11.144Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-24/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-24/3/