Pull request #18 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from d38a4b3c46b7c4fcebc3c050b318b58993e78031+0c916c4185adf107904cc5ed059ff8b8803c6a63 (4d0faf4b9a244a227cb0ba01d410d0fae9597a17) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-18/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4908 in /w/workspace/dgexfoundry_device-rest-go_PR-18 [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-18 # 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 Fetching without tags > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/18/head:refs/remotes/origin/PR-18 +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/18/head:refs/remotes/origin/PR-18 # 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/18/head:refs/remotes/origin/PR-18 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0c916c4185adf107904cc5ed059ff8b8803c6a63 into PR head commit d38a4b3c46b7c4fcebc3c050b318b58993e78031 Merge succeeded, producing d38a4b3c46b7c4fcebc3c050b318b58993e78031 Checking out Revision d38a4b3c46b7c4fcebc3c050b318b58993e78031 (PR-18) > git config core.sparsecheckout # timeout=10 > git checkout -f d38a4b3c46b7c4fcebc3c050b318b58993e78031 # 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 0c916c4185adf107904cc5ed059ff8b8803c6a63 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d38a4b3c46b7c4fcebc3c050b318b58993e78031 # timeout=10 Commit message: "Upgrade to latest SDK and update associated files" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-20T06:11:52.163Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-20T06:11:52.441Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-20T06:11:52.630Z] ========================================================= [2020-04-20T06:11:52.630Z] EdgeX Global Pipelines Version Info [2020-04-20T06:11:52.630Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-20T06:11:54.057Z] ------------------- [2020-04-20T06:11:54.057Z] stable info: [2020-04-20T06:11:54.057Z] ------------------- [2020-04-20T06:11:54.057Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-20T06:11:54.057Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-20T06:11:54.057Z] Message: update stable to v1.0.73 [2020-04-20T06:11:54.624Z] ------------------- [2020-04-20T06:11:54.624Z] experimental info: [2020-04-20T06:11:54.624Z] ------------------- [2020-04-20T06:11:54.624Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-20T06:11:54.624Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-20T06:11:54.624Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-20T06:11:57.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-20T06:11:57.107Z] [2020-04-20T06:11:57.107Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-20T06:11:57.479Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-20T06:11:57.479Z] latest: Pulling from edgex-devops/git-semver [2020-04-20T06:11:57.479Z] 9123ac7c32f7: Pulling fs layer [2020-04-20T06:11:57.479Z] b8cc5d1170e3: Pulling fs layer [2020-04-20T06:11:57.479Z] 2924cbbf6a41: Pulling fs layer [2020-04-20T06:11:57.479Z] 93b08a4f1073: Pulling fs layer [2020-04-20T06:11:57.479Z] 93b08a4f1073: Waiting [2020-04-20T06:11:57.479Z] b8cc5d1170e3: Verifying Checksum [2020-04-20T06:11:57.479Z] b8cc5d1170e3: Download complete [2020-04-20T06:11:57.744Z] 9123ac7c32f7: Verifying Checksum [2020-04-20T06:11:57.744Z] 9123ac7c32f7: Download complete [2020-04-20T06:11:57.744Z] 93b08a4f1073: Verifying Checksum [2020-04-20T06:11:57.744Z] 93b08a4f1073: Download complete [2020-04-20T06:11:57.744Z] 2924cbbf6a41: Verifying Checksum [2020-04-20T06:11:57.744Z] 2924cbbf6a41: Download complete [2020-04-20T06:11:57.744Z] 9123ac7c32f7: Pull complete [2020-04-20T06:11:58.004Z] b8cc5d1170e3: Pull complete [2020-04-20T06:11:58.580Z] 2924cbbf6a41: Pull complete [2020-04-20T06:11:58.840Z] 93b08a4f1073: Pull complete [2020-04-20T06:11:58.840Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-20T06:11:58.840Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-20T06:11:58.989Z] prd-centos7-docker-4c-2g-4908 does not seem to be running inside a container [2020-04-20T06:11:59.033Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-18 -v /w/workspace/dgexfoundry_device-rest-go_PR-18:/w/workspace/dgexfoundry_device-rest-go_PR-18:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-18@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-20T06:11:59.593Z] $ docker top 1562d77bd655a8e72ac9c458700703b0a3f25dd54cabbc4dc3adb1a95c64ba00 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-20T06:11:59.960Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-20T06:11:59.960Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-20T06:12:00.143Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-20T06:12:00.149Z] $ docker exec 1562d77bd655a8e72ac9c458700703b0a3f25dd54cabbc4dc3adb1a95c64ba00 ssh-agent [2020-04-20T06:12:00.311Z] SSH_AUTH_SOCK=/tmp/ssh-iTh2cJ7cPrJl/agent.15 [2020-04-20T06:12:00.311Z] SSH_AGENT_PID=22 [2020-04-20T06:12:00.319Z] Running ssh-add (command line suppressed) [2020-04-20T06:12:00.458Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-18@tmp/private_key_5136806167309483481.key (/w/workspace/dgexfoundry_device-rest-go_PR-18@tmp/private_key_5136806167309483481.key) [2020-04-20T06:12:00.501Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-20T06:12:00.875Z] + git describe --exact-match --tags HEAD [2020-04-20T06:12:00.875Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-20T06:12:00.945Z] $ docker exec --env ******** --env ******** 1562d77bd655a8e72ac9c458700703b0a3f25dd54cabbc4dc3adb1a95c64ba00 ssh-agent -k [2020-04-20T06:12:01.081Z] unset SSH_AUTH_SOCK; [2020-04-20T06:12:01.081Z] unset SSH_AGENT_PID; [2020-04-20T06:12:01.081Z] echo Agent pid 22 killed; [2020-04-20T06:12:01.117Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-20T06:12:01.254Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-20T06:12:01.254Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-20T06:12:01.351Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-20T06:12:01.351Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-20T06:12:01.546Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-20T06:12:01.552Z] $ docker exec 1562d77bd655a8e72ac9c458700703b0a3f25dd54cabbc4dc3adb1a95c64ba00 ssh-agent [2020-04-20T06:12:01.717Z] SSH_AUTH_SOCK=/tmp/ssh-Q8sWHDwPcMRN/agent.56 [2020-04-20T06:12:01.717Z] SSH_AGENT_PID=62 [2020-04-20T06:12:01.724Z] Running ssh-add (command line suppressed) [2020-04-20T06:12:01.858Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-18@tmp/private_key_2791759242893038897.key (/w/workspace/dgexfoundry_device-rest-go_PR-18@tmp/private_key_2791759242893038897.key) [2020-04-20T06:12:01.896Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-20T06:12:02.262Z] + git semver init [2020-04-20T06:12:02.262Z] # -> Open(): unable to determine branch for HEAD [2020-04-20T06:12:02.262Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-18/.git [2020-04-20T06:12:02.262Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-18 [2020-04-20T06:12:02.262Z] # $SEMVER_REMOTE_NAME = origin [2020-04-20T06:12:02.262Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-20T06:12:02.262Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-20T06:12:02.262Z] # $SEMVER_BRANCH = PR-18 [2020-04-20T06:12:02.262Z] # $SEMVER_TEMP = /tmp/semver-199423665 [2020-04-20T06:12:02.262Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-04-20T06:12:03.646Z] # '/tmp/semver-199423665' -> '/w/workspace/dgexfoundry_device-rest-go_PR-18/.semver' [2020-04-20T06:12:03.646Z] # -> Force: false [2020-04-20T06:12:03.646Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-18/.semver [Pipeline] } [2020-04-20T06:12:03.673Z] $ docker exec --env ******** --env ******** 1562d77bd655a8e72ac9c458700703b0a3f25dd54cabbc4dc3adb1a95c64ba00 ssh-agent -k [2020-04-20T06:12:03.802Z] unset SSH_AUTH_SOCK; [2020-04-20T06:12:03.802Z] unset SSH_AGENT_PID; [2020-04-20T06:12:03.802Z] echo Agent pid 62 killed; [2020-04-20T06:12:03.843Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-20T06:12:04.361Z] + git semver [Pipeline] } [2020-04-20T06:12:04.394Z] $ docker stop --time=1 1562d77bd655a8e72ac9c458700703b0a3f25dd54cabbc4dc3adb1a95c64ba00 [2020-04-20T06:12:05.715Z] $ docker rm -f 1562d77bd655a8e72ac9c458700703b0a3f25dd54cabbc4dc3adb1a95c64ba00 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-20T06:12:07.162Z] Stashed 17 file(s) [Pipeline] echo [2020-04-20T06:12:07.178Z] [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-04-20T06:12:22.631Z] Still waiting to schedule task [2020-04-20T06:12:22.631Z] ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4592’ is offline; ‘prd-centos7-docker-4c-2g-4909’ is offline [2020-04-20T06:12:22.652Z] Still waiting to schedule task [2020-04-20T06:12:22.652Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-4906’ [2020-04-20T06:13:24.733Z] Running on prd-centos7-docker-4c-2g-4911 in /w/workspace/dgexfoundry_device-rest-go_PR-18 [Pipeline] { [Pipeline] ws [2020-04-20T06:13:24.818Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-04-20T06:13:28.897Z] using credential edgex-jenkins-ssh [2020-04-20T06:13:28.945Z] Cloning the remote Git repository [2020-04-20T06:13:28.945Z] Cloning with configured refspecs honoured and without tags [2020-04-20T06:13:28.544Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-04-20T06:13:28.585Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-04-20T06:13:28.641Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-04-20T06:13:28.641Z] > git --version # timeout=10 [2020-04-20T06:13:28.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T06:13:28.685Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/18/head:refs/remotes/origin/PR-18 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T06:13:30.129Z] Fetching without tags [2020-04-20T06:13:30.522Z] Merging remotes/origin/master commit 0c916c4185adf107904cc5ed059ff8b8803c6a63 into PR head commit d38a4b3c46b7c4fcebc3c050b318b58993e78031 [2020-04-20T06:13:30.643Z] Merge succeeded, producing d38a4b3c46b7c4fcebc3c050b318b58993e78031 [2020-04-20T06:13:30.643Z] Checking out Revision d38a4b3c46b7c4fcebc3c050b318b58993e78031 (PR-18) [2020-04-20T06:13:29.715Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-04-20T06:13:29.721Z] > git config --add remote.origin.fetch +refs/pull/18/head:refs/remotes/origin/PR-18 # timeout=10 [2020-04-20T06:13:29.756Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T06:13:29.780Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-04-20T06:13:29.805Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-04-20T06:13:29.805Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T06:13:29.811Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/18/head:refs/remotes/origin/PR-18 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T06:13:30.237Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T06:13:30.253Z] > git checkout -f d38a4b3c46b7c4fcebc3c050b318b58993e78031 # timeout=10 [2020-04-20T06:13:30.296Z] > git remote # timeout=10 [2020-04-20T06:13:30.304Z] > git config --get remote.origin.url # timeout=10 [2020-04-20T06:13:30.316Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T06:13:30.323Z] > git merge 0c916c4185adf107904cc5ed059ff8b8803c6a63 # timeout=10 [2020-04-20T06:13:30.336Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-20T06:13:30.368Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T06:13:30.389Z] > git checkout -f d38a4b3c46b7c4fcebc3c050b318b58993e78031 # timeout=10 [2020-04-20T06:13:34.320Z] Commit message: "Upgrade to latest SDK and update associated files" [2020-04-20T06:13:34.353Z] > git --version # timeout=10 [2020-04-20T06:13:34.364Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-20T06:13:35.783Z] ========================================================= [2020-04-20T06:13:35.783Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-20T06:13:35.783Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-20T06:13:36.506Z] + 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-04-20T06:13:37.089Z] Sending build context to Docker daemon 8.008MB [2020-04-20T06:13:37.089Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-04-20T06:13:37.089Z] Step 2/10 : FROM ${BASE} [2020-04-20T06:13:37.089Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-20T06:13:37.089Z] e6b0cf9c0882: Pulling fs layer [2020-04-20T06:13:37.089Z] 2848faf0eed1: Pulling fs layer [2020-04-20T06:13:37.089Z] 0f37312ad70f: Pulling fs layer [2020-04-20T06:13:37.089Z] 5788d62ee057: Pulling fs layer [2020-04-20T06:13:37.089Z] 0e6b1d234666: Pulling fs layer [2020-04-20T06:13:37.089Z] bf5d7aec512f: Pulling fs layer [2020-04-20T06:13:37.089Z] 34c802a77dc8: Pulling fs layer [2020-04-20T06:13:37.089Z] 9eb99e56ec68: Pulling fs layer [2020-04-20T06:13:37.089Z] 27c7a5d97fbd: Pulling fs layer [2020-04-20T06:13:37.089Z] 5c102a31e300: Pulling fs layer [2020-04-20T06:13:37.089Z] dcfb455df0a1: Pulling fs layer [2020-04-20T06:13:37.089Z] 5788d62ee057: Waiting [2020-04-20T06:13:37.089Z] 0e6b1d234666: Waiting [2020-04-20T06:13:37.089Z] bf5d7aec512f: Waiting [2020-04-20T06:13:37.089Z] 34c802a77dc8: Waiting [2020-04-20T06:13:37.089Z] 9eb99e56ec68: Waiting [2020-04-20T06:13:37.089Z] 27c7a5d97fbd: Waiting [2020-04-20T06:13:37.089Z] 5c102a31e300: Waiting [2020-04-20T06:13:37.089Z] dcfb455df0a1: Waiting [2020-04-20T06:13:37.089Z] 0f37312ad70f: Download complete [2020-04-20T06:13:37.089Z] 2848faf0eed1: Verifying Checksum [2020-04-20T06:13:37.089Z] 2848faf0eed1: Download complete [2020-04-20T06:13:37.089Z] 0e6b1d234666: Verifying Checksum [2020-04-20T06:13:37.089Z] 0e6b1d234666: Download complete [2020-04-20T06:13:37.352Z] e6b0cf9c0882: Verifying Checksum [2020-04-20T06:13:37.352Z] e6b0cf9c0882: Download complete [2020-04-20T06:13:37.352Z] bf5d7aec512f: Verifying Checksum [2020-04-20T06:13:37.352Z] bf5d7aec512f: Download complete [2020-04-20T06:13:37.614Z] e6b0cf9c0882: Pull complete [2020-04-20T06:13:38.198Z] 34c802a77dc8: Verifying Checksum [2020-04-20T06:13:38.198Z] 34c802a77dc8: Download complete [2020-04-20T06:13:38.198Z] 27c7a5d97fbd: Verifying Checksum [2020-04-20T06:13:38.198Z] 27c7a5d97fbd: Download complete [2020-04-20T06:13:38.802Z] 2848faf0eed1: Pull complete [2020-04-20T06:13:38.802Z] 5c102a31e300: Verifying Checksum [2020-04-20T06:13:38.802Z] 5c102a31e300: Download complete [2020-04-20T06:13:38.802Z] dcfb455df0a1: Verifying Checksum [2020-04-20T06:13:38.802Z] dcfb455df0a1: Download complete [2020-04-20T06:13:39.075Z] 0f37312ad70f: Pull complete [2020-04-20T06:13:39.338Z] 5788d62ee057: Verifying Checksum [2020-04-20T06:13:39.338Z] 5788d62ee057: Download complete [2020-04-20T06:13:39.338Z] 9eb99e56ec68: Verifying Checksum [2020-04-20T06:13:39.338Z] 9eb99e56ec68: Download complete [2020-04-20T06:13:47.507Z] 5788d62ee057: Pull complete [2020-04-20T06:13:47.507Z] 0e6b1d234666: Pull complete [2020-04-20T06:13:47.507Z] bf5d7aec512f: Pull complete [2020-04-20T06:13:51.772Z] 34c802a77dc8: Pull complete [2020-04-20T06:13:55.088Z] 9eb99e56ec68: Pull complete [2020-04-20T06:13:55.351Z] 27c7a5d97fbd: Pull complete [2020-04-20T06:13:56.741Z] 5c102a31e300: Pull complete [2020-04-20T06:13:56.741Z] dcfb455df0a1: Pull complete [2020-04-20T06:13:56.741Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-20T06:13:56.741Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-20T06:13:56.741Z] ---> 7c70fe431013 [2020-04-20T06:13:56.741Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-04-20T06:13:56.741Z] ---> Running in 7a2efdb1794e [2020-04-20T06:13:57.001Z] Removing intermediate container 7a2efdb1794e [2020-04-20T06:13:57.001Z] ---> 87da19f9bf84 [2020-04-20T06:13:57.001Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-04-20T06:13:57.001Z] ---> Running in 67943fff1cd6 [2020-04-20T06:13:57.266Z] Removing intermediate container 67943fff1cd6 [2020-04-20T06:13:57.266Z] ---> 65781281d15f [2020-04-20T06:13:57.266Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-20T06:13:57.266Z] ---> Running in 968ea6c1b6d7 [2020-04-20T06:13:57.266Z] Removing intermediate container 968ea6c1b6d7 [2020-04-20T06:13:57.266Z] ---> edaab2ff53bb [2020-04-20T06:13:57.266Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-20T06:13:57.537Z] ---> Running in 5c4193e90df6 [2020-04-20T06:13:58.482Z] Removing intermediate container 5c4193e90df6 [2020-04-20T06:13:58.482Z] ---> cd7c71da4c49 [2020-04-20T06:13:58.482Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-20T06:13:58.482Z] ---> Running in 32f6ddc5b59f [2020-04-20T06:13:59.051Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-20T06:13:59.991Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-20T06:14:00.264Z] OK: 143 MiB in 39 packages [2020-04-20T06:14:00.535Z] Removing intermediate container 32f6ddc5b59f [2020-04-20T06:14:00.535Z] ---> 83ffc256bd90 [2020-04-20T06:14:00.535Z] Step 8/10 : WORKDIR /device-rest-go [2020-04-20T06:14:00.535Z] ---> Running in 1b51da82da0c [2020-04-20T06:14:00.795Z] Removing intermediate container 1b51da82da0c [2020-04-20T06:14:00.795Z] ---> ff639e0c31d5 [2020-04-20T06:14:00.795Z] Step 9/10 : COPY . . [2020-04-20T06:14:01.364Z] ---> ca99fe5dd4fe [2020-04-20T06:14:01.364Z] Step 10/10 : RUN go mod download [2020-04-20T06:14:01.935Z] ---> Running in 67e8ed574e6b [2020-04-20T06:14:04.475Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-20T06:14:04.475Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-20T06:14:04.475Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-20T06:14:04.738Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-20T06:14:04.738Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-20T06:14:04.738Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-20T06:14:04.738Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-20T06:14:04.738Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-20T06:14:04.738Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 [2020-04-20T06:14:04.738Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-20T06:14:04.738Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-20T06:14:04.738Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-20T06:14:04.738Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-20T06:14:04.738Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-20T06:14:04.738Z] go: finding github.com/fatih/color v1.7.0 [2020-04-20T06:14:04.738Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-20T06:14:05.001Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-20T06:14:05.001Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-20T06:14:05.001Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-20T06:14:05.001Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-20T06:14:05.001Z] go: finding github.com/google/uuid v1.1.0 [2020-04-20T06:14:05.001Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-20T06:14:05.001Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-20T06:14:05.001Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-20T06:14:05.001Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-20T06:14:05.261Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-20T06:14:05.261Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-20T06:14:05.261Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-20T06:14:05.261Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-20T06:14:05.261Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-20T06:14:05.261Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-20T06:14:05.261Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-20T06:14:05.261Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-20T06:14:05.522Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-20T06:14:05.522Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-20T06:14:05.522Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-20T06:14:05.522Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-20T06:14:05.522Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-20T06:14:05.522Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-20T06:14:05.522Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-20T06:14:05.522Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-20T06:14:05.522Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-20T06:14:05.786Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-20T06:14:05.786Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-20T06:14:05.786Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-20T06:14:05.786Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-20T06:14:06.047Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-20T06:14:06.047Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-20T06:14:06.047Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-20T06:14:06.047Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-20T06:14:06.047Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-20T06:14:06.047Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-20T06:14:06.047Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-20T06:14:06.047Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-20T06:14:06.047Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-20T06:14:06.047Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-20T06:14:06.047Z] go: finding github.com/posener/complete v1.1.1 [2020-04-20T06:14:06.047Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-20T06:14:06.313Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-20T06:14:06.313Z] go: finding github.com/spf13/cast v1.3.0 [2020-04-20T06:14:06.313Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-20T06:14:06.313Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-20T06:14:06.313Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-20T06:14:06.313Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-20T06:14:06.313Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-20T06:14:06.313Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-20T06:14:06.313Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-20T06:14:06.313Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-20T06:14:06.313Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-20T06:14:06.313Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-20T06:14:10.530Z] Removing intermediate container 67e8ed574e6b [2020-04-20T06:14:10.530Z] ---> 6e03576beb7c [2020-04-20T06:14:10.530Z] Successfully built 6e03576beb7c [2020-04-20T06:14:10.530Z] 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-04-20T06:14:11.258Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-20T06:14:11.258Z] . [Pipeline] withDockerContainer [2020-04-20T06:14:11.435Z] prd-centos7-docker-4c-2g-4911 does not seem to be running inside a container [2020-04-20T06:14:11.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-20T06:14:12.077Z] $ docker top 8b11755e742978c34883dc832c66d1446230cda34e82ad08712ad982f6a1e4d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-20T06:14:12.611Z] + go version [2020-04-20T06:14:12.611Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-20T06:14:12.949Z] + make test [2020-04-20T06:14:12.949Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-20T06:14:13.903Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-04-20T06:14:26.204Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-04-20T06:14:27.143Z] ok github.com/edgexfoundry/device-rest-go/driver 0.028s coverage: 56.3% of statements [2020-04-20T06:14:27.406Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-20T06:14:29.979Z] gofmt -l . [2020-04-20T06:14:29.979Z] [ "`gofmt -l .`" = "" ] [2020-04-20T06:14:29.979Z] ./bin/test-go-mod-tidy.sh [2020-04-20T06:14:30.552Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-04-20T06:14:33.109Z] Stashed 1 file(s) [Pipeline] } [2020-04-20T06:14:33.130Z] $ docker stop --time=1 8b11755e742978c34883dc832c66d1446230cda34e82ad08712ad982f6a1e4d4 [2020-04-20T06:14:34.808Z] $ docker rm -f 8b11755e742978c34883dc832c66d1446230cda34e82ad08712ad982f6a1e4d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-20T06:14:36.320Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-20T06:14:36.635Z] + ls -al . [2020-04-20T06:14:36.635Z] total 88 [2020-04-20T06:14:36.635Z] drwxrwxr-x. 7 jenkins jenkins 4096 Apr 20 06:14 . [2020-04-20T06:14:36.635Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 20 06:13 .. [2020-04-20T06:14:36.635Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 20 06:13 bin [2020-04-20T06:14:36.635Z] drwxrwxr-x. 3 jenkins jenkins 55 Apr 20 06:13 cmd [2020-04-20T06:14:36.635Z] -rw-r--r--. 1 jenkins jenkins 9369 Apr 20 06:14 coverage.out [2020-04-20T06:14:36.635Z] -rw-rw-r--. 1 jenkins jenkins 1419 Apr 20 06:13 Dockerfile [2020-04-20T06:14:36.635Z] -rw-rw-r--. 1 jenkins jenkins 989 Apr 20 06:13 Dockerfile.build [2020-04-20T06:14:36.635Z] -rw-rw-r--. 1 jenkins jenkins 151 Apr 20 06:13 .dockerignore [2020-04-20T06:14:36.635Z] drwxrwxr-x. 2 jenkins jenkins 93 Apr 20 06:14 driver [2020-04-20T06:14:36.635Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 20 06:13 .git [2020-04-20T06:14:36.635Z] -rw-rw-r--. 1 jenkins jenkins 339 Apr 20 06:13 .gitignore [2020-04-20T06:14:36.635Z] -rw-r--r--. 1 jenkins jenkins 273 Apr 20 06:14 go.mod [2020-04-20T06:14:36.635Z] -rw-r--r--. 1 jenkins jenkins 12444 Apr 20 06:14 go.sum [2020-04-20T06:14:36.635Z] -rw-rw-r--. 1 jenkins jenkins 702 Apr 20 06:13 Jenkinsfile [2020-04-20T06:14:36.635Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 20 06:13 LICENSE [2020-04-20T06:14:36.635Z] -rw-rw-r--. 1 jenkins jenkins 951 Apr 20 06:13 Makefile [2020-04-20T06:14:36.636Z] -rw-rw-r--. 1 jenkins jenkins 5716 Apr 20 06:13 README.md [2020-04-20T06:14:36.636Z] drwxrwxr-x. 3 jenkins jenkins 45 Apr 20 06:13 .semver [2020-04-20T06:14:36.636Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 20 06:12 VERSION [2020-04-20T06:14:36.636Z] -rw-rw-r--. 1 jenkins jenkins 713 Apr 20 06:13 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-20T06:14:36.968Z] + 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=d38a4b3c46b7c4fcebc3c050b318b58993e78031 --label arch=amd64 --label version=0.0.0 . [2020-04-20T06:14:37.227Z] Sending build context to Docker daemon 8.02MB [2020-04-20T06:14:37.227Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-04-20T06:14:37.227Z] Step 2/23 : FROM ${BASE} AS builder [2020-04-20T06:14:37.227Z] ---> 6e03576beb7c [2020-04-20T06:14:37.227Z] Step 3/23 : ARG MAKE='make build' [2020-04-20T06:14:37.227Z] ---> Running in bcf1ae74a6c0 [2020-04-20T06:14:37.228Z] Removing intermediate container bcf1ae74a6c0 [2020-04-20T06:14:37.228Z] ---> 7810369ef657 [2020-04-20T06:14:37.228Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git" [2020-04-20T06:14:37.486Z] ---> Running in ab2ae18806f1 [2020-04-20T06:14:37.486Z] Removing intermediate container ab2ae18806f1 [2020-04-20T06:14:37.486Z] ---> 84c059a89c03 [2020-04-20T06:14:37.486Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2020-04-20T06:14:37.486Z] ---> Running in 4ed3023d9397 [2020-04-20T06:14:37.746Z] Removing intermediate container 4ed3023d9397 [2020-04-20T06:14:37.746Z] ---> 6cb06aae278e [2020-04-20T06:14:37.746Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-20T06:14:37.746Z] ---> Running in 374602d31271 [2020-04-20T06:14:38.693Z] Removing intermediate container 374602d31271 [2020-04-20T06:14:38.693Z] ---> f8156e56161a [2020-04-20T06:14:38.693Z] Step 7/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-20T06:14:38.693Z] ---> Running in 4f03c06938b6 [2020-04-20T06:14:38.954Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-20T06:14:39.899Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-20T06:14:39.899Z] OK: 143 MiB in 39 packages [2020-04-20T06:14:40.468Z] Removing intermediate container 4f03c06938b6 [2020-04-20T06:14:40.468Z] ---> e9006d53aea4 [2020-04-20T06:14:40.468Z] Step 8/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-04-20T06:14:40.468Z] ---> Running in 9064505c3718 [2020-04-20T06:14:40.468Z] Removing intermediate container 9064505c3718 [2020-04-20T06:14:40.468Z] ---> 88648639316a [2020-04-20T06:14:40.468Z] Step 9/23 : COPY go.mod . [2020-04-20T06:14:40.732Z] ---> 29aac03f39c8 [2020-04-20T06:14:40.732Z] Step 10/23 : COPY Makefile . [2020-04-20T06:14:40.732Z] ---> b224de6a4fb2 [2020-04-20T06:14:40.732Z] Step 11/23 : RUN make update [2020-04-20T06:14:40.993Z] ---> Running in 8611b2a83f54 [2020-04-20T06:14:41.258Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-04-20T06:14:41.831Z] Removing intermediate container 8611b2a83f54 [2020-04-20T06:14:41.831Z] ---> 7f75cb7b4b26 [2020-04-20T06:14:41.831Z] Step 12/23 : COPY . . [2020-04-20T06:14:42.090Z] ---> c48099cadf6c [2020-04-20T06:14:42.090Z] Step 13/23 : RUN $MAKE [2020-04-20T06:14:42.090Z] ---> Running in e0bc67f37d3f [2020-04-20T06:14:42.664Z] 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-04-20T06:14:54.961Z] Removing intermediate container e0bc67f37d3f [2020-04-20T06:14:54.961Z] ---> 6ebb9dde6a0b [2020-04-20T06:14:54.961Z] Step 14/23 : FROM alpine:latest [2020-04-20T06:14:55.221Z] latest: Pulling from library/alpine [2020-04-20T06:14:55.221Z] aad63a933944: Pulling fs layer [2020-04-20T06:14:55.485Z] aad63a933944: Download complete [2020-04-20T06:14:55.485Z] aad63a933944: Pull complete [2020-04-20T06:14:55.745Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-04-20T06:14:55.745Z] Status: Downloaded newer image for alpine:latest [2020-04-20T06:14:55.745Z] ---> a187dde48cd2 [2020-04-20T06:14:55.745Z] Step 15/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-20T06:14:55.745Z] ---> Running in 0db86b41094d [2020-04-20T06:14:55.745Z] Removing intermediate container 0db86b41094d [2020-04-20T06:14:55.745Z] ---> 421ffcc24a29 [2020-04-20T06:14:55.745Z] Step 16/23 : LABEL Name=device-rest-go Version=${VERSION} [2020-04-20T06:14:56.006Z] ---> Running in f3ea7d8126c9 [2020-04-20T06:14:56.006Z] Removing intermediate container f3ea7d8126c9 [2020-04-20T06:14:56.006Z] ---> 8c5b510c92a0 [2020-04-20T06:14:56.006Z] Step 17/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-04-20T06:14:56.265Z] ---> 03cb90a33028 [2020-04-20T06:14:56.265Z] Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-04-20T06:14:56.839Z] ---> 111f351615e5 [2020-04-20T06:14:56.839Z] Step 19/23 : EXPOSE 49986 [2020-04-20T06:14:56.839Z] ---> Running in 8250eb98811c [2020-04-20T06:14:56.839Z] Removing intermediate container 8250eb98811c [2020-04-20T06:14:56.839Z] ---> 39aeb8a243d8 [2020-04-20T06:14:56.839Z] Step 20/23 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-04-20T06:14:56.839Z] ---> Running in 145d7041f8ef [2020-04-20T06:14:57.100Z] Removing intermediate container 145d7041f8ef [2020-04-20T06:14:57.100Z] ---> f329ad303c64 [2020-04-20T06:14:57.100Z] Step 21/23 : LABEL arch=amd64 [2020-04-20T06:14:57.100Z] ---> Running in 9b425494cc51 [2020-04-20T06:14:57.359Z] Removing intermediate container 9b425494cc51 [2020-04-20T06:14:57.359Z] ---> b24085e0be3a [2020-04-20T06:14:57.359Z] Step 22/23 : LABEL git_sha=d38a4b3c46b7c4fcebc3c050b318b58993e78031 [2020-04-20T06:14:57.359Z] ---> Running in d18a58dde323 [2020-04-20T06:14:57.359Z] Removing intermediate container d18a58dde323 [2020-04-20T06:14:57.359Z] ---> 21c0635d5f64 [2020-04-20T06:14:57.359Z] Step 23/23 : LABEL version=0.0.0 [2020-04-20T06:14:57.619Z] ---> Running in cb399a042e69 [2020-04-20T06:14:57.880Z] Removing intermediate container cb399a042e69 [2020-04-20T06:14:57.880Z] ---> 0f54022e71c6 [2020-04-20T06:14:57.880Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-20T06:14:57.880Z] Successfully built 0f54022e71c6 [2020-04-20T06:14:57.880Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-20T06:15:50.229Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4912 in /w/workspace/dgexfoundry_device-rest-go_PR-18 [Pipeline] { [Pipeline] ws [2020-04-20T06:15:50.305Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-04-20T06:15:56.560Z] using credential edgex-jenkins-ssh [2020-04-20T06:15:56.615Z] Cloning the remote Git repository [2020-04-20T06:15:56.615Z] Cloning with configured refspecs honoured and without tags [2020-04-20T06:15:56.709Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-04-20T06:15:56.797Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-04-20T06:15:56.871Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-04-20T06:15:56.872Z] > git --version # timeout=10 [2020-04-20T06:15:56.898Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T06:15:56.951Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/18/head:refs/remotes/origin/PR-18 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T06:15:58.683Z] Fetching without tags [2020-04-20T06:15:59.154Z] Merging remotes/origin/master commit 0c916c4185adf107904cc5ed059ff8b8803c6a63 into PR head commit d38a4b3c46b7c4fcebc3c050b318b58993e78031 [2020-04-20T06:15:59.545Z] Merge succeeded, producing d38a4b3c46b7c4fcebc3c050b318b58993e78031 [2020-04-20T06:15:59.546Z] Checking out Revision d38a4b3c46b7c4fcebc3c050b318b58993e78031 (PR-18) [2020-04-20T06:15:58.558Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-04-20T06:15:58.590Z] > git config --add remote.origin.fetch +refs/pull/18/head:refs/remotes/origin/PR-18 # timeout=10 [2020-04-20T06:15:58.613Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T06:15:58.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-04-20T06:15:58.698Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-04-20T06:15:58.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T06:15:58.711Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/18/head:refs/remotes/origin/PR-18 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T06:15:59.175Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T06:15:59.190Z] > git checkout -f d38a4b3c46b7c4fcebc3c050b318b58993e78031 # timeout=10 [2020-04-20T06:15:59.396Z] > git remote # timeout=10 [2020-04-20T06:15:59.439Z] > git config --get remote.origin.url # timeout=10 [2020-04-20T06:15:59.471Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T06:15:59.484Z] > git merge 0c916c4185adf107904cc5ed059ff8b8803c6a63 # timeout=10 [2020-04-20T06:15:59.513Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-20T06:15:59.556Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T06:15:59.576Z] > git checkout -f d38a4b3c46b7c4fcebc3c050b318b58993e78031 # timeout=10 [2020-04-20T06:16:03.985Z] Commit message: "Upgrade to latest SDK and update associated files" [2020-04-20T06:16:04.045Z] > git --version # timeout=10 [2020-04-20T06:16:04.077Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-20T06:16:06.420Z] ========================================================= [2020-04-20T06:16:06.420Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-20T06:16:06.420Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-20T06:16:07.404Z] + 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-04-20T06:16:08.375Z] Sending build context to Docker daemon 8.008MB [2020-04-20T06:16:08.375Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-04-20T06:16:08.375Z] Step 2/10 : FROM ${BASE} [2020-04-20T06:16:08.644Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-20T06:16:08.644Z] cde5963f3b93: Pulling fs layer [2020-04-20T06:16:08.644Z] 2a23fa8c16f7: Pulling fs layer [2020-04-20T06:16:08.644Z] 777b28850792: Pulling fs layer [2020-04-20T06:16:08.644Z] 8a11ddd9e578: Pulling fs layer [2020-04-20T06:16:08.644Z] 4cf88f913ddb: Pulling fs layer [2020-04-20T06:16:08.644Z] 1df406cf5192: Pulling fs layer [2020-04-20T06:16:08.644Z] cd6300453558: Pulling fs layer [2020-04-20T06:16:08.644Z] b9c365052c96: Pulling fs layer [2020-04-20T06:16:08.644Z] a2d8cc88f415: Pulling fs layer [2020-04-20T06:16:08.644Z] ea1d1ca13537: Pulling fs layer [2020-04-20T06:16:08.644Z] 3750a50a1c5e: Pulling fs layer [2020-04-20T06:16:08.644Z] 4cf88f913ddb: Waiting [2020-04-20T06:16:08.644Z] 1df406cf5192: Waiting [2020-04-20T06:16:08.644Z] cd6300453558: Waiting [2020-04-20T06:16:08.644Z] b9c365052c96: Waiting [2020-04-20T06:16:08.644Z] 8a11ddd9e578: Waiting [2020-04-20T06:16:08.644Z] a2d8cc88f415: Waiting [2020-04-20T06:16:08.644Z] ea1d1ca13537: Waiting [2020-04-20T06:16:08.644Z] 3750a50a1c5e: Waiting [2020-04-20T06:16:08.644Z] 777b28850792: Download complete [2020-04-20T06:16:08.644Z] 2a23fa8c16f7: Verifying Checksum [2020-04-20T06:16:08.644Z] 2a23fa8c16f7: Download complete [2020-04-20T06:16:08.644Z] 4cf88f913ddb: Verifying Checksum [2020-04-20T06:16:08.644Z] 4cf88f913ddb: Download complete [2020-04-20T06:16:08.644Z] 1df406cf5192: Download complete [2020-04-20T06:16:08.916Z] cde5963f3b93: Verifying Checksum [2020-04-20T06:16:08.916Z] cde5963f3b93: Download complete [2020-04-20T06:16:09.890Z] cde5963f3b93: Pull complete [2020-04-20T06:16:10.161Z] 2a23fa8c16f7: Pull complete [2020-04-20T06:16:10.753Z] 777b28850792: Pull complete [2020-04-20T06:16:13.346Z] cd6300453558: Verifying Checksum [2020-04-20T06:16:13.346Z] cd6300453558: Download complete [2020-04-20T06:16:13.346Z] a2d8cc88f415: Verifying Checksum [2020-04-20T06:16:13.346Z] a2d8cc88f415: Download complete [2020-04-20T06:16:15.931Z] ea1d1ca13537: Verifying Checksum [2020-04-20T06:16:15.932Z] ea1d1ca13537: Download complete [2020-04-20T06:16:15.932Z] 3750a50a1c5e: Verifying Checksum [2020-04-20T06:16:15.932Z] 3750a50a1c5e: Download complete [2020-04-20T06:16:18.518Z] b9c365052c96: Download complete [2020-04-20T06:16:19.926Z] 8a11ddd9e578: Download complete [2020-04-20T06:16:32.278Z] 8a11ddd9e578: Pull complete [2020-04-20T06:16:32.278Z] 4cf88f913ddb: Pull complete [2020-04-20T06:16:32.278Z] 1df406cf5192: Pull complete [2020-04-20T06:16:36.557Z] cd6300453558: Pull complete [2020-04-20T06:16:40.818Z] b9c365052c96: Pull complete [2020-04-20T06:16:41.084Z] a2d8cc88f415: Pull complete [2020-04-20T06:16:43.702Z] ea1d1ca13537: Pull complete [2020-04-20T06:16:43.702Z] 3750a50a1c5e: Pull complete [2020-04-20T06:16:43.702Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-20T06:16:43.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-20T06:16:43.702Z] ---> 78745c68409d [2020-04-20T06:16:43.702Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-04-20T06:16:47.966Z] ---> Running in 573fa08c57df [2020-04-20T06:16:48.235Z] Removing intermediate container 573fa08c57df [2020-04-20T06:16:48.235Z] ---> bc26284bb428 [2020-04-20T06:16:48.235Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-04-20T06:16:48.504Z] ---> Running in 69125dba3333 [2020-04-20T06:16:48.782Z] Removing intermediate container 69125dba3333 [2020-04-20T06:16:48.782Z] ---> 6b344b0728a1 [2020-04-20T06:16:48.782Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-20T06:16:49.049Z] ---> Running in f14bb517ffa2 [2020-04-20T06:16:49.316Z] Removing intermediate container f14bb517ffa2 [2020-04-20T06:16:49.316Z] ---> f540015ac362 [2020-04-20T06:16:49.316Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-20T06:16:49.583Z] ---> Running in 1b77662303f4 [2020-04-20T06:16:52.166Z] Removing intermediate container 1b77662303f4 [2020-04-20T06:16:52.166Z] ---> a19e0c5338c9 [2020-04-20T06:16:52.166Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-20T06:16:52.166Z] ---> Running in 6a57e5a954f4 [2020-04-20T06:16:52.765Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-20T06:16:53.348Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-20T06:16:53.931Z] OK: 125 MiB in 39 packages [2020-04-20T06:16:55.343Z] Removing intermediate container 6a57e5a954f4 [2020-04-20T06:16:55.343Z] ---> a7b79f2f02ef [2020-04-20T06:16:55.343Z] Step 8/10 : WORKDIR /device-rest-go [2020-04-20T06:16:55.343Z] ---> Running in ef50d26e2dd0 [2020-04-20T06:16:55.611Z] Removing intermediate container ef50d26e2dd0 [2020-04-20T06:16:55.611Z] ---> e6520a1c505f [2020-04-20T06:16:55.611Z] Step 9/10 : COPY . . [2020-04-20T06:16:56.597Z] ---> 25d024336018 [2020-04-20T06:16:56.597Z] Step 10/10 : RUN go mod download [2020-04-20T06:16:56.866Z] ---> Running in 0f1734e5fd41 [2020-04-20T06:16:58.820Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-20T06:16:58.820Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-20T06:16:58.820Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-20T06:16:58.820Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-20T06:16:58.820Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-20T06:16:58.820Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-20T06:16:58.820Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-20T06:16:58.820Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-20T06:16:58.820Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 [2020-04-20T06:16:58.820Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-20T06:16:58.820Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-20T06:16:58.820Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-20T06:16:58.820Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-20T06:16:58.820Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-20T06:16:58.820Z] go: finding github.com/fatih/color v1.7.0 [2020-04-20T06:16:58.820Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-20T06:16:58.820Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-20T06:16:58.820Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-20T06:16:58.820Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-20T06:16:58.820Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-20T06:16:58.820Z] go: finding github.com/google/uuid v1.1.0 [2020-04-20T06:16:58.820Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-20T06:16:58.820Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-20T06:16:58.820Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-20T06:16:59.088Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-20T06:16:59.088Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-20T06:16:59.088Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-20T06:16:59.088Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-20T06:16:59.088Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-20T06:16:59.088Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-20T06:16:59.088Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-20T06:16:59.088Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-20T06:16:59.088Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-20T06:16:59.088Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-20T06:16:59.088Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-20T06:16:59.088Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-20T06:16:59.088Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-20T06:16:59.088Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-20T06:16:59.088Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-20T06:16:59.088Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-20T06:16:59.088Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-20T06:16:59.088Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-20T06:16:59.088Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-20T06:16:59.088Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-20T06:16:59.088Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-20T06:16:59.088Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-20T06:16:59.088Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-20T06:16:59.088Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-20T06:16:59.088Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-20T06:16:59.088Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-20T06:16:59.088Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-20T06:16:59.088Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-20T06:16:59.088Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-20T06:16:59.357Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-20T06:16:59.357Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-20T06:16:59.357Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-20T06:16:59.357Z] go: finding github.com/posener/complete v1.1.1 [2020-04-20T06:16:59.357Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-20T06:16:59.357Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-20T06:16:59.357Z] go: finding github.com/spf13/cast v1.3.0 [2020-04-20T06:16:59.357Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-20T06:16:59.357Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-20T06:16:59.357Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-20T06:16:59.357Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-20T06:16:59.357Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-20T06:16:59.357Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-20T06:16:59.357Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-20T06:16:59.357Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-20T06:16:59.357Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-20T06:16:59.357Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-20T06:17:09.469Z] Removing intermediate container 0f1734e5fd41 [2020-04-20T06:17:09.469Z] ---> f9b310a3bb81 [2020-04-20T06:17:09.469Z] Successfully built f9b310a3bb81 [2020-04-20T06:17:09.469Z] 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-04-20T06:17:10.219Z] + docker inspect -f . ci-base-image-arm64 [2020-04-20T06:17:10.490Z] . [Pipeline] withDockerContainer [2020-04-20T06:17:10.828Z] prd-ubuntu18.04-docker-arm64-4c-16g-4912 does not seem to be running inside a container [2020-04-20T06:17:10.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-20T06:17:12.428Z] $ docker top aa9611085ead6929770835c76fbeeb49e41f447b3fe6f59b64b3a04915a4da29 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-20T06:17:13.576Z] + go version [2020-04-20T06:17:13.576Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-20T06:17:14.245Z] + make test [2020-04-20T06:17:14.245Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-20T06:17:15.207Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-04-20T06:17:47.492Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-04-20T06:17:47.492Z] ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 56.3% of statements [2020-04-20T06:17:47.492Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-20T06:17:50.866Z] gofmt -l . [2020-04-20T06:17:50.866Z] [ "`gofmt -l .`" = "" ] [2020-04-20T06:17:50.866Z] ./bin/test-go-mod-tidy.sh [2020-04-20T06:17:51.456Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-04-20T06:17:52.081Z] Warning: overwriting stash ‘coverage-report’ [2020-04-20T06:17:52.464Z] Stashed 1 file(s) [Pipeline] } [2020-04-20T06:17:52.483Z] $ docker stop --time=1 aa9611085ead6929770835c76fbeeb49e41f447b3fe6f59b64b3a04915a4da29 [2020-04-20T06:17:54.641Z] $ docker rm -f aa9611085ead6929770835c76fbeeb49e41f447b3fe6f59b64b3a04915a4da29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-20T06:17:56.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-20T06:17:56.364Z] + ls -al . [2020-04-20T06:17:56.364Z] total 112 [2020-04-20T06:17:56.364Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 20 06:17 . [2020-04-20T06:17:56.364Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 06:15 .. [2020-04-20T06:17:56.364Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 20 06:15 .dockerignore [2020-04-20T06:17:56.364Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 06:16 .git [2020-04-20T06:17:56.364Z] -rw-rw-r-- 1 jenkins jenkins 339 Apr 20 06:15 .gitignore [2020-04-20T06:17:56.364Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:16 .semver [2020-04-20T06:17:56.364Z] -rw-rw-r-- 1 jenkins jenkins 1419 Apr 20 06:15 Dockerfile [2020-04-20T06:17:56.364Z] -rw-rw-r-- 1 jenkins jenkins 989 Apr 20 06:15 Dockerfile.build [2020-04-20T06:17:56.364Z] -rw-rw-r-- 1 jenkins jenkins 702 Apr 20 06:15 Jenkinsfile [2020-04-20T06:17:56.364Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 06:15 LICENSE [2020-04-20T06:17:56.365Z] -rw-rw-r-- 1 jenkins jenkins 951 Apr 20 06:15 Makefile [2020-04-20T06:17:56.365Z] -rw-rw-r-- 1 jenkins jenkins 5716 Apr 20 06:15 README.md [2020-04-20T06:17:56.365Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 06:12 VERSION [2020-04-20T06:17:56.365Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 06:15 bin [2020-04-20T06:17:56.365Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:15 cmd [2020-04-20T06:17:56.365Z] -rw-r--r-- 1 jenkins jenkins 9369 Apr 20 06:17 coverage.out [2020-04-20T06:17:56.365Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 06:17 driver [2020-04-20T06:17:56.365Z] -rw-r--r-- 1 jenkins jenkins 273 Apr 20 06:17 go.mod [2020-04-20T06:17:56.365Z] -rw-r--r-- 1 jenkins jenkins 12444 Apr 20 06:17 go.sum [2020-04-20T06:17:56.365Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 20 06:15 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-20T06:17:56.721Z] + 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=d38a4b3c46b7c4fcebc3c050b318b58993e78031 --label arch=arm64 --label version=0.0.0 . [2020-04-20T06:17:57.308Z] Sending build context to Docker daemon 8.02MB [2020-04-20T06:17:57.308Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-04-20T06:17:57.308Z] Step 2/23 : FROM ${BASE} AS builder [2020-04-20T06:17:57.308Z] ---> f9b310a3bb81 [2020-04-20T06:17:57.308Z] Step 3/23 : ARG MAKE='make build' [2020-04-20T06:17:57.576Z] ---> Running in 0c7648a05a91 [2020-04-20T06:17:57.845Z] Removing intermediate container 0c7648a05a91 [2020-04-20T06:17:57.845Z] ---> b4e25fa2efda [2020-04-20T06:17:57.845Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git" [2020-04-20T06:17:57.845Z] ---> Running in 5748ea57dc17 [2020-04-20T06:17:58.430Z] Removing intermediate container 5748ea57dc17 [2020-04-20T06:17:58.430Z] ---> 64f92c4702d4 [2020-04-20T06:17:58.430Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2020-04-20T06:17:58.430Z] ---> Running in c4a4a66acb57 [2020-04-20T06:17:58.701Z] Removing intermediate container c4a4a66acb57 [2020-04-20T06:17:58.701Z] ---> a57df2079cf2 [2020-04-20T06:17:58.701Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-20T06:17:58.969Z] ---> Running in 5648059ca100 [2020-04-20T06:18:00.924Z] Removing intermediate container 5648059ca100 [2020-04-20T06:18:00.924Z] ---> d0b5e366b684 [2020-04-20T06:18:00.924Z] Step 7/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-20T06:18:00.924Z] ---> Running in 54bb22129c86 [2020-04-20T06:18:01.892Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-20T06:18:02.477Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-20T06:18:03.063Z] OK: 125 MiB in 39 packages [2020-04-20T06:18:04.026Z] Removing intermediate container 54bb22129c86 [2020-04-20T06:18:04.026Z] ---> d712e3899fbf [2020-04-20T06:18:04.026Z] Step 8/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-04-20T06:18:04.026Z] ---> Running in d5ee918f2f78 [2020-04-20T06:18:04.614Z] Removing intermediate container d5ee918f2f78 [2020-04-20T06:18:04.614Z] ---> dbb01f690c00 [2020-04-20T06:18:04.614Z] Step 9/23 : COPY go.mod . [2020-04-20T06:18:04.883Z] ---> c6067b0cc3aa [2020-04-20T06:18:04.883Z] Step 10/23 : COPY Makefile . [2020-04-20T06:18:05.472Z] ---> 373198c7d02e [2020-04-20T06:18:05.472Z] Step 11/23 : RUN make update [2020-04-20T06:18:05.744Z] ---> Running in d262173a23e1 [2020-04-20T06:18:06.331Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-04-20T06:18:07.748Z] Removing intermediate container d262173a23e1 [2020-04-20T06:18:07.748Z] ---> 7ad34cf6eb73 [2020-04-20T06:18:07.748Z] Step 12/23 : COPY . . [2020-04-20T06:18:08.714Z] ---> 0936cf6f96b7 [2020-04-20T06:18:08.714Z] Step 13/23 : RUN $MAKE [2020-04-20T06:18:08.714Z] ---> Running in d49eacc0bc4e [2020-04-20T06:18:09.679Z] 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-04-20T06:18:36.427Z] Removing intermediate container d49eacc0bc4e [2020-04-20T06:18:36.427Z] ---> 2c626fd8d299 [2020-04-20T06:18:36.427Z] Step 14/23 : FROM alpine:latest [2020-04-20T06:18:36.427Z] latest: Pulling from library/alpine [2020-04-20T06:18:36.427Z] 8a0637ca1ac9: Pulling fs layer [2020-04-20T06:18:36.427Z] 8a0637ca1ac9: Verifying Checksum [2020-04-20T06:18:36.427Z] 8a0637ca1ac9: Download complete [2020-04-20T06:18:36.695Z] 8a0637ca1ac9: Pull complete [2020-04-20T06:18:36.695Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-04-20T06:18:36.695Z] Status: Downloaded newer image for alpine:latest [2020-04-20T06:18:36.695Z] ---> 2ee122dcc32d [2020-04-20T06:18:36.695Z] Step 15/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-20T06:18:36.967Z] ---> Running in d72a9636f1ac [2020-04-20T06:18:37.236Z] Removing intermediate container d72a9636f1ac [2020-04-20T06:18:37.236Z] ---> 99fb9bc5513c [2020-04-20T06:18:37.236Z] Step 16/23 : LABEL Name=device-rest-go Version=${VERSION} [2020-04-20T06:18:37.505Z] ---> Running in f0ea99995d23 [2020-04-20T06:18:37.774Z] Removing intermediate container f0ea99995d23 [2020-04-20T06:18:37.774Z] ---> 4b235419aaf4 [2020-04-20T06:18:37.774Z] Step 17/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-04-20T06:18:38.363Z] ---> 5786b146b980 [2020-04-20T06:18:38.363Z] Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-04-20T06:18:39.785Z] ---> 37adc2838bef [2020-04-20T06:18:39.785Z] Step 19/23 : EXPOSE 49986 [2020-04-20T06:18:39.785Z] ---> Running in edd3861644c9 [2020-04-20T06:18:40.057Z] Removing intermediate container edd3861644c9 [2020-04-20T06:18:40.057Z] ---> 69ac29c8f254 [2020-04-20T06:18:40.057Z] Step 20/23 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-04-20T06:18:40.057Z] ---> Running in 22d027c2cf97 [2020-04-20T06:18:40.644Z] Removing intermediate container 22d027c2cf97 [2020-04-20T06:18:40.644Z] ---> c530b6d7801a [2020-04-20T06:18:40.644Z] Step 21/23 : LABEL arch=arm64 [2020-04-20T06:18:40.644Z] ---> Running in d83aff6d51f0 [2020-04-20T06:18:40.921Z] Removing intermediate container d83aff6d51f0 [2020-04-20T06:18:40.921Z] ---> 1a9a394debaa [2020-04-20T06:18:40.921Z] Step 22/23 : LABEL git_sha=d38a4b3c46b7c4fcebc3c050b318b58993e78031 [2020-04-20T06:18:41.197Z] ---> Running in 2a85d03d0fb7 [2020-04-20T06:18:41.466Z] Removing intermediate container 2a85d03d0fb7 [2020-04-20T06:18:41.466Z] ---> 80161e9c5b99 [2020-04-20T06:18:41.466Z] Step 23/23 : LABEL version=0.0.0 [2020-04-20T06:18:41.737Z] ---> Running in 6c1e80701fe7 [2020-04-20T06:18:42.010Z] Removing intermediate container 6c1e80701fe7 [2020-04-20T06:18:42.010Z] ---> 0f96d2007a3b [2020-04-20T06:18:42.010Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-20T06:18:42.010Z] Successfully built 0f96d2007a3b [2020-04-20T06:18:42.010Z] 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-04-20T06:18:43.748Z] provisioning config files... [2020-04-20T06:18:43.762Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-18@tmp/config784000382665824562tmp [Pipeline] { [Pipeline] sh [2020-04-20T06:18:44.170Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-18@tmp/config784000382665824562tmp [2020-04-20T06:18:44.170Z] + curl -s https://codecov.io/bash [2020-04-20T06:18:44.429Z] [2020-04-20T06:18:44.429Z] _____ _ [2020-04-20T06:18:44.429Z] / ____| | | [2020-04-20T06:18:44.429Z] | | ___ __| | ___ ___ _____ __ [2020-04-20T06:18:44.429Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-20T06:18:44.429Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-20T06:18:44.429Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-20T06:18:44.429Z] Bash-tbd [2020-04-20T06:18:44.429Z] [2020-04-20T06:18:44.429Z] [2020-04-20T06:18:44.429Z] ==> Jenkins CI detected. [2020-04-20T06:18:44.429Z] project root: . [2020-04-20T06:18:44.429Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-20T06:18:44.429Z] ==> Running gcov in . (disable via -X gcov) [2020-04-20T06:18:44.429Z] ==> Python coveragepy not found [2020-04-20T06:18:44.429Z] ==> Searching for coverage reports in: [2020-04-20T06:18:44.429Z] + . [2020-04-20T06:18:44.429Z] -> Found 1 reports [2020-04-20T06:18:44.429Z] ==> Detecting git/mercurial file structure [2020-04-20T06:18:44.429Z] ==> Reading reports [2020-04-20T06:18:44.429Z] + ./coverage.out bytes=9369 [2020-04-20T06:18:44.429Z] ==> Appending adjustments [2020-04-20T06:18:44.429Z] http://docs.codecov.io/docs/fixing-reports [2020-04-20T06:18:44.429Z] + Found adjustments [2020-04-20T06:18:44.429Z] ==> Gzipping contents [2020-04-20T06:18:44.429Z] ==> Uploading reports [2020-04-20T06:18:44.429Z] url: https://codecov.io [2020-04-20T06:18:44.429Z] query: branch=PR-18&commit=d38a4b3c46b7c4fcebc3c050b318b58993e78031&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-18%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=18&job= [2020-04-20T06:18:44.429Z] -> Pinging Codecov [2020-04-20T06:18:44.429Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-18&commit=d38a4b3c46b7c4fcebc3c050b318b58993e78031&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-18%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=18&job= [2020-04-20T06:18:44.996Z] -> Uploading [2020-04-20T06:18:45.258Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d38a4b3c46b7c4fcebc3c050b318b58993e78031 [Pipeline] } [2020-04-20T06:18:45.278Z] 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-04-20T06:18:46.951Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-20T06:18:47.277Z] ---> package-listing.sh [2020-04-20T06:18:47.277Z] ++ facter osfamily [2020-04-20T06:18:47.277Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-20T06:18:47.277Z] + OS_FAMILY=redhat [2020-04-20T06:18:47.277Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-18 [2020-04-20T06:18:47.277Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-20T06:18:47.277Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-20T06:18:47.277Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-20T06:18:47.277Z] + PACKAGES=/tmp/packages_start.txt [2020-04-20T06:18:47.277Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-18 ']' [2020-04-20T06:18:47.277Z] + PACKAGES=/tmp/packages_end.txt [2020-04-20T06:18:47.277Z] + case "${OS_FAMILY}" in [2020-04-20T06:18:47.277Z] + rpm -qa [2020-04-20T06:18:47.277Z] + sort [2020-04-20T06:18:51.227Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-20T06:18:51.227Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-20T06:18:51.227Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-20T06:18:51.227Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-18 ']' [2020-04-20T06:18:51.227Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-18/archives/ [2020-04-20T06:18:51.227Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-18/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-20T06:18:51.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-20T06:18:51.760Z] [2020-04-20T06:18:51.760Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-20T06:18:52.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-20T06:18:52.130Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-20T06:18:52.130Z] c9b1b535fdd9: Pulling fs layer [2020-04-20T06:18:52.130Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-20T06:18:52.130Z] 756a868c4378: Pulling fs layer [2020-04-20T06:18:52.130Z] 444b2fc9a129: Pulling fs layer [2020-04-20T06:18:52.130Z] ea15f1150254: Pulling fs layer [2020-04-20T06:18:52.130Z] 41b27a9f41bf: Pulling fs layer [2020-04-20T06:18:52.130Z] 28c525ee5125: Pulling fs layer [2020-04-20T06:18:52.130Z] 094b1ea09ed8: Pulling fs layer [2020-04-20T06:18:52.130Z] 138eaada9080: Pulling fs layer [2020-04-20T06:18:52.130Z] 0622d0fa9048: Pulling fs layer [2020-04-20T06:18:52.130Z] ea15f1150254: Waiting [2020-04-20T06:18:52.130Z] 41b27a9f41bf: Waiting [2020-04-20T06:18:52.130Z] 28c525ee5125: Waiting [2020-04-20T06:18:52.130Z] 094b1ea09ed8: Waiting [2020-04-20T06:18:52.130Z] 138eaada9080: Waiting [2020-04-20T06:18:52.130Z] 0622d0fa9048: Waiting [2020-04-20T06:18:52.130Z] 444b2fc9a129: Waiting [2020-04-20T06:18:52.130Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-20T06:18:52.130Z] 2cc5ad85d9ab: Download complete [2020-04-20T06:18:52.130Z] 444b2fc9a129: Verifying Checksum [2020-04-20T06:18:52.130Z] 444b2fc9a129: Download complete [2020-04-20T06:18:52.130Z] c9b1b535fdd9: Download complete [2020-04-20T06:18:52.393Z] ea15f1150254: Verifying Checksum [2020-04-20T06:18:52.393Z] ea15f1150254: Download complete [2020-04-20T06:18:52.393Z] 28c525ee5125: Verifying Checksum [2020-04-20T06:18:52.393Z] 28c525ee5125: Download complete [2020-04-20T06:18:52.393Z] c9b1b535fdd9: Pull complete [2020-04-20T06:18:52.653Z] 756a868c4378: Verifying Checksum [2020-04-20T06:18:52.653Z] 756a868c4378: Download complete [2020-04-20T06:18:52.653Z] 2cc5ad85d9ab: Pull complete [2020-04-20T06:18:52.653Z] 138eaada9080: Verifying Checksum [2020-04-20T06:18:52.653Z] 138eaada9080: Download complete [2020-04-20T06:18:52.653Z] 0622d0fa9048: Verifying Checksum [2020-04-20T06:18:52.653Z] 0622d0fa9048: Download complete [2020-04-20T06:18:52.925Z] 094b1ea09ed8: Verifying Checksum [2020-04-20T06:18:52.925Z] 094b1ea09ed8: Download complete [2020-04-20T06:18:53.185Z] 41b27a9f41bf: Verifying Checksum [2020-04-20T06:18:53.185Z] 41b27a9f41bf: Download complete [2020-04-20T06:18:54.131Z] 756a868c4378: Pull complete [2020-04-20T06:18:54.131Z] 444b2fc9a129: Pull complete [2020-04-20T06:18:54.394Z] ea15f1150254: Pull complete [2020-04-20T06:18:57.688Z] 41b27a9f41bf: Pull complete [2020-04-20T06:18:57.688Z] 28c525ee5125: Pull complete [2020-04-20T06:18:59.612Z] 094b1ea09ed8: Pull complete [2020-04-20T06:18:59.875Z] 138eaada9080: Pull complete [2020-04-20T06:19:00.134Z] 0622d0fa9048: Pull complete [2020-04-20T06:19:00.134Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-20T06:19:00.134Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-20T06:19:00.306Z] prd-centos7-docker-4c-2g-4908 does not seem to be running inside a container [2020-04-20T06:19:00.346Z] $ 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-18 -v /w/workspace/dgexfoundry_device-rest-go_PR-18:/w/workspace/dgexfoundry_device-rest-go_PR-18:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-18@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-20T06:19:00.927Z] $ docker top 0b4d356ff132920fa3797ffbaee367d3911d824e8b85815212ddf0b13e140463 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-20T06:19:01.260Z] provisioning config files... [2020-04-20T06:19:01.273Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-18@tmp/config3774484584118084926tmp [Pipeline] { [Pipeline] echo [2020-04-20T06:19:01.402Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-20T06:19:01.719Z] ---> create-netrc.sh [Pipeline] echo [2020-04-20T06:19:01.742Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-20T06:19:02.064Z] ---> logs-deploy.sh [2020-04-20T06:19:02.064Z] + ARCHIVE_ARTIFACTS= [2020-04-20T06:19:02.064Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-20T06:19:02.064Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-20T06:19:02.064Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-20T06:19:02.064Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-18/1 [2020-04-20T06:19:02.064Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-18/1/ [2020-04-20T06:19:02.064Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-18/1 /w/workspace/dgexfoundry_device-rest-go_PR-18 [2020-04-20T06:19:02.998Z] Archives upload complete. [2020-04-20T06:19:03.256Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-18/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-18/1/