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 06:11:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:11:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:11:52 ========================================================= 06:11:52 EdgeX Global Pipelines Version Info 06:11:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:11:54 ------------------- 06:11:54 stable info: 06:11:54 ------------------- 06:11:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:11:54 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 06:11:54 Message: update stable to v1.0.73 06:11:54 ------------------- 06:11:54 experimental info: 06:11:54 ------------------- 06:11:54 Commited By: **** collab-it+edgex@linuxfoundation.org 06:11:54 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 06:11:54 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 06:11:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:11:57 06:11:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:11:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:11:57 latest: Pulling from edgex-devops/git-semver 06:11:57 9123ac7c32f7: Pulling fs layer 06:11:57 b8cc5d1170e3: Pulling fs layer 06:11:57 2924cbbf6a41: Pulling fs layer 06:11:57 93b08a4f1073: Pulling fs layer 06:11:57 93b08a4f1073: Waiting 06:11:57 b8cc5d1170e3: Verifying Checksum 06:11:57 b8cc5d1170e3: Download complete 06:11:57 9123ac7c32f7: Verifying Checksum 06:11:57 9123ac7c32f7: Download complete 06:11:57 93b08a4f1073: Verifying Checksum 06:11:57 93b08a4f1073: Download complete 06:11:57 2924cbbf6a41: Verifying Checksum 06:11:57 2924cbbf6a41: Download complete 06:11:57 9123ac7c32f7: Pull complete 06:11:58 b8cc5d1170e3: Pull complete 06:11:58 2924cbbf6a41: Pull complete 06:11:58 93b08a4f1073: Pull complete 06:11:58 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 06:11:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:11:58 prd-centos7-docker-4c-2g-4908 does not seem to be running inside a container 06:11:59 $ 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 06:11:59 $ docker top 1562d77bd655a8e72ac9c458700703b0a3f25dd54cabbc4dc3adb1a95c64ba00 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:11:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:11:59 [ssh-agent] Looking for ssh-agent implementation... 06:12:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:12:00 $ docker exec 1562d77bd655a8e72ac9c458700703b0a3f25dd54cabbc4dc3adb1a95c64ba00 ssh-agent 06:12:00 SSH_AUTH_SOCK=/tmp/ssh-iTh2cJ7cPrJl/agent.15 06:12:00 SSH_AGENT_PID=22 06:12:00 Running ssh-add (command line suppressed) 06:12:00 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) 06:12:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:12:00 + git describe --exact-match --tags HEAD 06:12:00 fatal: No names found, cannot describe anything. [Pipeline] } 06:12:00 $ docker exec --env ******** --env ******** 1562d77bd655a8e72ac9c458700703b0a3f25dd54cabbc4dc3adb1a95c64ba00 ssh-agent -k 06:12:01 unset SSH_AUTH_SOCK; 06:12:01 unset SSH_AGENT_PID; 06:12:01 echo Agent pid 22 killed; 06:12:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:12:01 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:12:01 This usually means this commit has not been tagged. [Pipeline] sshagent 06:12:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:12:01 [ssh-agent] Looking for ssh-agent implementation... 06:12:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:12:01 $ docker exec 1562d77bd655a8e72ac9c458700703b0a3f25dd54cabbc4dc3adb1a95c64ba00 ssh-agent 06:12:01 SSH_AUTH_SOCK=/tmp/ssh-Q8sWHDwPcMRN/agent.56 06:12:01 SSH_AGENT_PID=62 06:12:01 Running ssh-add (command line suppressed) 06:12:01 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) 06:12:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:12:02 + git semver init 06:12:02 # -> Open(): unable to determine branch for HEAD 06:12:02 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-18/.git 06:12:02 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-18 06:12:02 # $SEMVER_REMOTE_NAME = origin 06:12:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:12:02 # $SEMVER_USER_NAME = edgex-jenkins 06:12:02 # $SEMVER_BRANCH = PR-18 06:12:02 # $SEMVER_TEMP = /tmp/semver-199423665 06:12:02 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 06:12:03 # '/tmp/semver-199423665' -> '/w/workspace/dgexfoundry_device-rest-go_PR-18/.semver' 06:12:03 # -> Force: false 06:12:03 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-18/.semver [Pipeline] } 06:12:03 $ docker exec --env ******** --env ******** 1562d77bd655a8e72ac9c458700703b0a3f25dd54cabbc4dc3adb1a95c64ba00 ssh-agent -k 06:12:03 unset SSH_AUTH_SOCK; 06:12:03 unset SSH_AGENT_PID; 06:12:03 echo Agent pid 62 killed; 06:12:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:12:04 + git semver [Pipeline] } 06:12:04 $ docker stop --time=1 1562d77bd655a8e72ac9c458700703b0a3f25dd54cabbc4dc3adb1a95c64ba00 06:12:05 $ docker rm -f 1562d77bd655a8e72ac9c458700703b0a3f25dd54cabbc4dc3adb1a95c64ba00 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:12:07 Stashed 17 file(s) [Pipeline] echo 06:12:07 [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 06:12:22 Still waiting to schedule task 06:12:22 ‘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 06:12:22 Still waiting to schedule task 06:12:22 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-4906’ 06:13:24 Running on prd-centos7-docker-4c-2g-4911 in /w/workspace/dgexfoundry_device-rest-go_PR-18 [Pipeline] { [Pipeline] ws 06:13:24 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:13:28 using credential edgex-jenkins-ssh 06:13:28 Cloning the remote Git repository 06:13:28 Cloning with configured refspecs honoured and without tags 06:13:28 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:13:28 > git init /w/workspace/device-rest-go/1 # timeout=10 06:13:28 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:13:28 > git --version # timeout=10 06:13:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:13:28 > 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 06:13:30 Fetching without tags 06:13:30 Merging remotes/origin/master commit 0c916c4185adf107904cc5ed059ff8b8803c6a63 into PR head commit d38a4b3c46b7c4fcebc3c050b318b58993e78031 06:13:30 Merge succeeded, producing d38a4b3c46b7c4fcebc3c050b318b58993e78031 06:13:30 Checking out Revision d38a4b3c46b7c4fcebc3c050b318b58993e78031 (PR-18) 06:13:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:13:29 > git config --add remote.origin.fetch +refs/pull/18/head:refs/remotes/origin/PR-18 # timeout=10 06:13:29 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:13:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:13:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:13:29 using GIT_SSH to set credentials SSH Credentials for GitHub 06:13:29 > 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 06:13:30 > git config core.sparsecheckout # timeout=10 06:13:30 > git checkout -f d38a4b3c46b7c4fcebc3c050b318b58993e78031 # timeout=10 06:13:30 > git remote # timeout=10 06:13:30 > git config --get remote.origin.url # timeout=10 06:13:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:13:30 > git merge 0c916c4185adf107904cc5ed059ff8b8803c6a63 # timeout=10 06:13:30 > git rev-parse HEAD^{commit} # timeout=10 06:13:30 > git config core.sparsecheckout # timeout=10 06:13:30 > git checkout -f d38a4b3c46b7c4fcebc3c050b318b58993e78031 # timeout=10 06:13:34 Commit message: "Upgrade to latest SDK and update associated files" 06:13:34 > git --version # timeout=10 06:13:34 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:13:35 ========================================================= 06:13:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 06:13:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:13:36 + 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 . 06:13:37 Sending build context to Docker daemon 8.008MB 06:13:37 Step 1/10 : ARG BASE=golang:1.13-alpine 06:13:37 Step 2/10 : FROM ${BASE} 06:13:37 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 06:13:37 e6b0cf9c0882: Pulling fs layer 06:13:37 2848faf0eed1: Pulling fs layer 06:13:37 0f37312ad70f: Pulling fs layer 06:13:37 5788d62ee057: Pulling fs layer 06:13:37 0e6b1d234666: Pulling fs layer 06:13:37 bf5d7aec512f: Pulling fs layer 06:13:37 34c802a77dc8: Pulling fs layer 06:13:37 9eb99e56ec68: Pulling fs layer 06:13:37 27c7a5d97fbd: Pulling fs layer 06:13:37 5c102a31e300: Pulling fs layer 06:13:37 dcfb455df0a1: Pulling fs layer 06:13:37 5788d62ee057: Waiting 06:13:37 0e6b1d234666: Waiting 06:13:37 bf5d7aec512f: Waiting 06:13:37 34c802a77dc8: Waiting 06:13:37 9eb99e56ec68: Waiting 06:13:37 27c7a5d97fbd: Waiting 06:13:37 5c102a31e300: Waiting 06:13:37 dcfb455df0a1: Waiting 06:13:37 0f37312ad70f: Download complete 06:13:37 2848faf0eed1: Verifying Checksum 06:13:37 2848faf0eed1: Download complete 06:13:37 0e6b1d234666: Verifying Checksum 06:13:37 0e6b1d234666: Download complete 06:13:37 e6b0cf9c0882: Verifying Checksum 06:13:37 e6b0cf9c0882: Download complete 06:13:37 bf5d7aec512f: Verifying Checksum 06:13:37 bf5d7aec512f: Download complete 06:13:37 e6b0cf9c0882: Pull complete 06:13:38 34c802a77dc8: Verifying Checksum 06:13:38 34c802a77dc8: Download complete 06:13:38 27c7a5d97fbd: Verifying Checksum 06:13:38 27c7a5d97fbd: Download complete 06:13:38 2848faf0eed1: Pull complete 06:13:38 5c102a31e300: Verifying Checksum 06:13:38 5c102a31e300: Download complete 06:13:38 dcfb455df0a1: Verifying Checksum 06:13:38 dcfb455df0a1: Download complete 06:13:39 0f37312ad70f: Pull complete 06:13:39 5788d62ee057: Verifying Checksum 06:13:39 5788d62ee057: Download complete 06:13:39 9eb99e56ec68: Verifying Checksum 06:13:39 9eb99e56ec68: Download complete 06:13:47 5788d62ee057: Pull complete 06:13:47 0e6b1d234666: Pull complete 06:13:47 bf5d7aec512f: Pull complete 06:13:51 34c802a77dc8: Pull complete 06:13:55 9eb99e56ec68: Pull complete 06:13:55 27c7a5d97fbd: Pull complete 06:13:56 5c102a31e300: Pull complete 06:13:56 dcfb455df0a1: Pull complete 06:13:56 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 06:13:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 06:13:56 ---> 7c70fe431013 06:13:56 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:13:56 ---> Running in 7a2efdb1794e 06:13:57 Removing intermediate container 7a2efdb1794e 06:13:57 ---> 87da19f9bf84 06:13:57 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:13:57 ---> Running in 67943fff1cd6 06:13:57 Removing intermediate container 67943fff1cd6 06:13:57 ---> 65781281d15f 06:13:57 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:13:57 ---> Running in 968ea6c1b6d7 06:13:57 Removing intermediate container 968ea6c1b6d7 06:13:57 ---> edaab2ff53bb 06:13:57 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:13:57 ---> Running in 5c4193e90df6 06:13:58 Removing intermediate container 5c4193e90df6 06:13:58 ---> cd7c71da4c49 06:13:58 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:13:58 ---> Running in 32f6ddc5b59f 06:13:59 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 06:13:59 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 06:14:00 OK: 143 MiB in 39 packages 06:14:00 Removing intermediate container 32f6ddc5b59f 06:14:00 ---> 83ffc256bd90 06:14:00 Step 8/10 : WORKDIR /device-rest-go 06:14:00 ---> Running in 1b51da82da0c 06:14:00 Removing intermediate container 1b51da82da0c 06:14:00 ---> ff639e0c31d5 06:14:00 Step 9/10 : COPY . . 06:14:01 ---> ca99fe5dd4fe 06:14:01 Step 10/10 : RUN go mod download 06:14:01 ---> Running in 67e8ed574e6b 06:14:04 go: finding github.com/BurntSushi/toml v0.3.1 06:14:04 go: finding github.com/OneOfOne/xxhash v1.2.6 06:14:04 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:14:04 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:14:04 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:14:04 go: finding github.com/bgentry/speakeasy v0.1.0 06:14:04 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:14:04 go: finding github.com/davecgh/go-spew v1.1.1 06:14:04 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 06:14:04 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 06:14:04 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:14:04 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 06:14:04 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 06:14:04 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:14:04 go: finding github.com/fatih/color v1.7.0 06:14:04 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:14:05 go: finding github.com/go-kit/kit v0.8.0 06:14:05 go: finding github.com/go-logfmt/logfmt v0.4.0 06:14:05 go: finding github.com/go-stack/stack v1.8.0 06:14:05 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:14:05 go: finding github.com/google/uuid v1.1.0 06:14:05 go: finding github.com/gorilla/mux v1.7.1 06:14:05 go: finding github.com/hashicorp/consul/api v1.1.0 06:14:05 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:14:05 go: finding github.com/hashicorp/errwrap v1.0.0 06:14:05 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:14:05 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:14:05 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:14:05 go: finding github.com/hashicorp/go-multierror v1.0.0 06:14:05 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:14:05 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:14:05 go: finding github.com/hashicorp/go-syslog v1.0.0 06:14:05 go: finding github.com/hashicorp/go-uuid v1.0.1 06:14:05 go: finding github.com/hashicorp/go.net v0.0.1 06:14:05 go: finding github.com/hashicorp/golang-lru v0.5.0 06:14:05 go: finding github.com/hashicorp/logutils v1.0.0 06:14:05 go: finding github.com/hashicorp/mdns v1.0.0 06:14:05 go: finding github.com/hashicorp/memberlist v0.1.3 06:14:05 go: finding github.com/hashicorp/serf v0.8.2 06:14:05 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:14:05 go: finding github.com/mattn/go-colorable v0.0.9 06:14:05 go: finding github.com/mattn/go-isatty v0.0.3 06:14:05 go: finding github.com/miekg/dns v1.0.14 06:14:05 go: finding github.com/mitchellh/cli v1.0.0 06:14:05 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:14:05 go: finding github.com/mitchellh/copystructure v1.0.0 06:14:06 go: finding github.com/mitchellh/go-homedir v1.0.0 06:14:06 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:14:06 go: finding github.com/mitchellh/gox v0.4.0 06:14:06 go: finding github.com/mitchellh/iochan v1.0.0 06:14:06 go: finding github.com/mitchellh/mapstructure v1.1.2 06:14:06 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:14:06 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:14:06 go: finding github.com/pelletier/go-toml v1.2.0 06:14:06 go: finding github.com/pkg/errors v0.8.1 06:14:06 go: finding github.com/pmezard/go-difflib v1.0.0 06:14:06 go: finding github.com/posener/complete v1.1.1 06:14:06 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:14:06 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:14:06 go: finding github.com/spf13/cast v1.3.0 06:14:06 go: finding github.com/stretchr/objx v0.1.0 06:14:06 go: finding github.com/stretchr/testify v1.5.1 06:14:06 go: finding github.com/ugorji/go v1.1.4 06:14:06 go: finding github.com/x448/float16 v0.8.4 06:14:06 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:14:06 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:14:06 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:14:06 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:14:06 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:14:06 go: finding gopkg.in/yaml.v2 v2.2.8 06:14:10 Removing intermediate container 67e8ed574e6b 06:14:10 ---> 6e03576beb7c 06:14:10 Successfully built 6e03576beb7c 06:14:10 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 06:14:11 + docker inspect -f . ci-base-image-x86_64 06:14:11 . [Pipeline] withDockerContainer 06:14:11 prd-centos7-docker-4c-2g-4911 does not seem to be running inside a container 06:14:11 $ 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 06:14:12 $ docker top 8b11755e742978c34883dc832c66d1446230cda34e82ad08712ad982f6a1e4d4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:12 + go version 06:14:12 go version go1.13.5 linux/amd64 [Pipeline] sh 06:14:12 + make test 06:14:12 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:14:13 ? github.com/edgexfoundry/device-rest-go [no test files] 06:14:26 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:14:27 ok github.com/edgexfoundry/device-rest-go/driver 0.028s coverage: 56.3% of statements 06:14:27 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:14:29 gofmt -l . 06:14:29 [ "`gofmt -l .`" = "" ] 06:14:29 ./bin/test-go-mod-tidy.sh 06:14:30 ./bin/test-attribution-txt.sh [Pipeline] stash 06:14:33 Stashed 1 file(s) [Pipeline] } 06:14:33 $ docker stop --time=1 8b11755e742978c34883dc832c66d1446230cda34e82ad08712ad982f6a1e4d4 06:14:34 $ docker rm -f 8b11755e742978c34883dc832c66d1446230cda34e82ad08712ad982f6a1e4d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:14:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:14:36 + ls -al . 06:14:36 total 88 06:14:36 drwxrwxr-x. 7 jenkins jenkins 4096 Apr 20 06:14 . 06:14:36 drwxrwxr-x. 4 jenkins jenkins 28 Apr 20 06:13 .. 06:14:36 drwxrwxr-x. 2 jenkins jenkins 64 Apr 20 06:13 bin 06:14:36 drwxrwxr-x. 3 jenkins jenkins 55 Apr 20 06:13 cmd 06:14:36 -rw-r--r--. 1 jenkins jenkins 9369 Apr 20 06:14 coverage.out 06:14:36 -rw-rw-r--. 1 jenkins jenkins 1419 Apr 20 06:13 Dockerfile 06:14:36 -rw-rw-r--. 1 jenkins jenkins 989 Apr 20 06:13 Dockerfile.build 06:14:36 -rw-rw-r--. 1 jenkins jenkins 151 Apr 20 06:13 .dockerignore 06:14:36 drwxrwxr-x. 2 jenkins jenkins 93 Apr 20 06:14 driver 06:14:36 drwxrwxr-x. 8 jenkins jenkins 179 Apr 20 06:13 .git 06:14:36 -rw-rw-r--. 1 jenkins jenkins 339 Apr 20 06:13 .gitignore 06:14:36 -rw-r--r--. 1 jenkins jenkins 273 Apr 20 06:14 go.mod 06:14:36 -rw-r--r--. 1 jenkins jenkins 12444 Apr 20 06:14 go.sum 06:14:36 -rw-rw-r--. 1 jenkins jenkins 702 Apr 20 06:13 Jenkinsfile 06:14:36 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 20 06:13 LICENSE 06:14:36 -rw-rw-r--. 1 jenkins jenkins 951 Apr 20 06:13 Makefile 06:14:36 -rw-rw-r--. 1 jenkins jenkins 5716 Apr 20 06:13 README.md 06:14:36 drwxrwxr-x. 3 jenkins jenkins 45 Apr 20 06:13 .semver 06:14:36 -rw-rw-r--. 1 jenkins jenkins 5 Apr 20 06:12 VERSION 06:14:36 -rw-rw-r--. 1 jenkins jenkins 713 Apr 20 06:13 version.go [Pipeline] isUnix [Pipeline] sh 06:14:36 + 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 . 06:14:37 Sending build context to Docker daemon 8.02MB 06:14:37 Step 1/23 : ARG BASE=golang:1.13-alpine 06:14:37 Step 2/23 : FROM ${BASE} AS builder 06:14:37 ---> 6e03576beb7c 06:14:37 Step 3/23 : ARG MAKE='make build' 06:14:37 ---> Running in bcf1ae74a6c0 06:14:37 Removing intermediate container bcf1ae74a6c0 06:14:37 ---> 7810369ef657 06:14:37 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 06:14:37 ---> Running in ab2ae18806f1 06:14:37 Removing intermediate container ab2ae18806f1 06:14:37 ---> 84c059a89c03 06:14:37 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 06:14:37 ---> Running in 4ed3023d9397 06:14:37 Removing intermediate container 4ed3023d9397 06:14:37 ---> 6cb06aae278e 06:14:37 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:14:37 ---> Running in 374602d31271 06:14:38 Removing intermediate container 374602d31271 06:14:38 ---> f8156e56161a 06:14:38 Step 7/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:14:38 ---> Running in 4f03c06938b6 06:14:38 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 06:14:39 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 06:14:39 OK: 143 MiB in 39 packages 06:14:40 Removing intermediate container 4f03c06938b6 06:14:40 ---> e9006d53aea4 06:14:40 Step 8/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 06:14:40 ---> Running in 9064505c3718 06:14:40 Removing intermediate container 9064505c3718 06:14:40 ---> 88648639316a 06:14:40 Step 9/23 : COPY go.mod . 06:14:40 ---> 29aac03f39c8 06:14:40 Step 10/23 : COPY Makefile . 06:14:40 ---> b224de6a4fb2 06:14:40 Step 11/23 : RUN make update 06:14:40 ---> Running in 8611b2a83f54 06:14:41 CGO_ENABLED=0 GO111MODULE=on go mod download 06:14:41 Removing intermediate container 8611b2a83f54 06:14:41 ---> 7f75cb7b4b26 06:14:41 Step 12/23 : COPY . . 06:14:42 ---> c48099cadf6c 06:14:42 Step 13/23 : RUN $MAKE 06:14:42 ---> Running in e0bc67f37d3f 06:14:42 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 06:14:54 Removing intermediate container e0bc67f37d3f 06:14:54 ---> 6ebb9dde6a0b 06:14:54 Step 14/23 : FROM alpine:latest 06:14:55 latest: Pulling from library/alpine 06:14:55 aad63a933944: Pulling fs layer 06:14:55 aad63a933944: Download complete 06:14:55 aad63a933944: Pull complete 06:14:55 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 06:14:55 Status: Downloaded newer image for alpine:latest 06:14:55 ---> a187dde48cd2 06:14:55 Step 15/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:14:55 ---> Running in 0db86b41094d 06:14:55 Removing intermediate container 0db86b41094d 06:14:55 ---> 421ffcc24a29 06:14:55 Step 16/23 : LABEL Name=device-rest-go Version=${VERSION} 06:14:56 ---> Running in f3ea7d8126c9 06:14:56 Removing intermediate container f3ea7d8126c9 06:14:56 ---> 8c5b510c92a0 06:14:56 Step 17/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 06:14:56 ---> 03cb90a33028 06:14:56 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 06:14:56 ---> 111f351615e5 06:14:56 Step 19/23 : EXPOSE 49986 06:14:56 ---> Running in 8250eb98811c 06:14:56 Removing intermediate container 8250eb98811c 06:14:56 ---> 39aeb8a243d8 06:14:56 Step 20/23 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 06:14:56 ---> Running in 145d7041f8ef 06:14:57 Removing intermediate container 145d7041f8ef 06:14:57 ---> f329ad303c64 06:14:57 Step 21/23 : LABEL arch=amd64 06:14:57 ---> Running in 9b425494cc51 06:14:57 Removing intermediate container 9b425494cc51 06:14:57 ---> b24085e0be3a 06:14:57 Step 22/23 : LABEL git_sha=d38a4b3c46b7c4fcebc3c050b318b58993e78031 06:14:57 ---> Running in d18a58dde323 06:14:57 Removing intermediate container d18a58dde323 06:14:57 ---> 21c0635d5f64 06:14:57 Step 23/23 : LABEL version=0.0.0 06:14:57 ---> Running in cb399a042e69 06:14:57 Removing intermediate container cb399a042e69 06:14:57 ---> 0f54022e71c6 06:14:57 [Warning] One or more build-args [ARCH] were not consumed 06:14:57 Successfully built 0f54022e71c6 06:14:57 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] } 06:15:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4912 in /w/workspace/dgexfoundry_device-rest-go_PR-18 [Pipeline] { [Pipeline] ws 06:15:50 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:15:56 using credential edgex-jenkins-ssh 06:15:56 Cloning the remote Git repository 06:15:56 Cloning with configured refspecs honoured and without tags 06:15:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:15:56 > git init /w/workspace/device-rest-go/1 # timeout=10 06:15:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:15:56 > git --version # timeout=10 06:15:56 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:56 > 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 06:15:58 Fetching without tags 06:15:59 Merging remotes/origin/master commit 0c916c4185adf107904cc5ed059ff8b8803c6a63 into PR head commit d38a4b3c46b7c4fcebc3c050b318b58993e78031 06:15:59 Merge succeeded, producing d38a4b3c46b7c4fcebc3c050b318b58993e78031 06:15:59 Checking out Revision d38a4b3c46b7c4fcebc3c050b318b58993e78031 (PR-18) 06:15:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:15:58 > git config --add remote.origin.fetch +refs/pull/18/head:refs/remotes/origin/PR-18 # timeout=10 06:15:58 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:15:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:15:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:15:58 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:58 > 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 06:15:59 > git config core.sparsecheckout # timeout=10 06:15:59 > git checkout -f d38a4b3c46b7c4fcebc3c050b318b58993e78031 # timeout=10 06:15:59 > git remote # timeout=10 06:15:59 > git config --get remote.origin.url # timeout=10 06:15:59 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:59 > git merge 0c916c4185adf107904cc5ed059ff8b8803c6a63 # timeout=10 06:15:59 > git rev-parse HEAD^{commit} # timeout=10 06:15:59 > git config core.sparsecheckout # timeout=10 06:15:59 > git checkout -f d38a4b3c46b7c4fcebc3c050b318b58993e78031 # timeout=10 06:16:03 Commit message: "Upgrade to latest SDK and update associated files" 06:16:04 > git --version # timeout=10 06:16:04 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:16:06 ========================================================= 06:16:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 06:16:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:16:07 + 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 . 06:16:08 Sending build context to Docker daemon 8.008MB 06:16:08 Step 1/10 : ARG BASE=golang:1.13-alpine 06:16:08 Step 2/10 : FROM ${BASE} 06:16:08 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:16:08 cde5963f3b93: Pulling fs layer 06:16:08 2a23fa8c16f7: Pulling fs layer 06:16:08 777b28850792: Pulling fs layer 06:16:08 8a11ddd9e578: Pulling fs layer 06:16:08 4cf88f913ddb: Pulling fs layer 06:16:08 1df406cf5192: Pulling fs layer 06:16:08 cd6300453558: Pulling fs layer 06:16:08 b9c365052c96: Pulling fs layer 06:16:08 a2d8cc88f415: Pulling fs layer 06:16:08 ea1d1ca13537: Pulling fs layer 06:16:08 3750a50a1c5e: Pulling fs layer 06:16:08 4cf88f913ddb: Waiting 06:16:08 1df406cf5192: Waiting 06:16:08 cd6300453558: Waiting 06:16:08 b9c365052c96: Waiting 06:16:08 8a11ddd9e578: Waiting 06:16:08 a2d8cc88f415: Waiting 06:16:08 ea1d1ca13537: Waiting 06:16:08 3750a50a1c5e: Waiting 06:16:08 777b28850792: Download complete 06:16:08 2a23fa8c16f7: Verifying Checksum 06:16:08 2a23fa8c16f7: Download complete 06:16:08 4cf88f913ddb: Verifying Checksum 06:16:08 4cf88f913ddb: Download complete 06:16:08 1df406cf5192: Download complete 06:16:08 cde5963f3b93: Verifying Checksum 06:16:08 cde5963f3b93: Download complete 06:16:09 cde5963f3b93: Pull complete 06:16:10 2a23fa8c16f7: Pull complete 06:16:10 777b28850792: Pull complete 06:16:13 cd6300453558: Verifying Checksum 06:16:13 cd6300453558: Download complete 06:16:13 a2d8cc88f415: Verifying Checksum 06:16:13 a2d8cc88f415: Download complete 06:16:15 ea1d1ca13537: Verifying Checksum 06:16:15 ea1d1ca13537: Download complete 06:16:15 3750a50a1c5e: Verifying Checksum 06:16:15 3750a50a1c5e: Download complete 06:16:18 b9c365052c96: Download complete 06:16:19 8a11ddd9e578: Download complete 06:16:32 8a11ddd9e578: Pull complete 06:16:32 4cf88f913ddb: Pull complete 06:16:32 1df406cf5192: Pull complete 06:16:36 cd6300453558: Pull complete 06:16:40 b9c365052c96: Pull complete 06:16:41 a2d8cc88f415: Pull complete 06:16:43 ea1d1ca13537: Pull complete 06:16:43 3750a50a1c5e: Pull complete 06:16:43 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 06:16:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 06:16:43 ---> 78745c68409d 06:16:43 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:16:47 ---> Running in 573fa08c57df 06:16:48 Removing intermediate container 573fa08c57df 06:16:48 ---> bc26284bb428 06:16:48 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:16:48 ---> Running in 69125dba3333 06:16:48 Removing intermediate container 69125dba3333 06:16:48 ---> 6b344b0728a1 06:16:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:16:49 ---> Running in f14bb517ffa2 06:16:49 Removing intermediate container f14bb517ffa2 06:16:49 ---> f540015ac362 06:16:49 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:49 ---> Running in 1b77662303f4 06:16:52 Removing intermediate container 1b77662303f4 06:16:52 ---> a19e0c5338c9 06:16:52 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:52 ---> Running in 6a57e5a954f4 06:16:52 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 06:16:53 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 06:16:53 OK: 125 MiB in 39 packages 06:16:55 Removing intermediate container 6a57e5a954f4 06:16:55 ---> a7b79f2f02ef 06:16:55 Step 8/10 : WORKDIR /device-rest-go 06:16:55 ---> Running in ef50d26e2dd0 06:16:55 Removing intermediate container ef50d26e2dd0 06:16:55 ---> e6520a1c505f 06:16:55 Step 9/10 : COPY . . 06:16:56 ---> 25d024336018 06:16:56 Step 10/10 : RUN go mod download 06:16:56 ---> Running in 0f1734e5fd41 06:16:58 go: finding github.com/BurntSushi/toml v0.3.1 06:16:58 go: finding github.com/OneOfOne/xxhash v1.2.6 06:16:58 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:16:58 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:16:58 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:16:58 go: finding github.com/bgentry/speakeasy v0.1.0 06:16:58 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:16:58 go: finding github.com/davecgh/go-spew v1.1.1 06:16:58 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 06:16:58 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 06:16:58 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:16:58 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 06:16:58 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 06:16:58 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:16:58 go: finding github.com/fatih/color v1.7.0 06:16:58 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:16:58 go: finding github.com/go-kit/kit v0.8.0 06:16:58 go: finding github.com/go-logfmt/logfmt v0.4.0 06:16:58 go: finding github.com/go-stack/stack v1.8.0 06:16:58 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:16:58 go: finding github.com/google/uuid v1.1.0 06:16:58 go: finding github.com/gorilla/mux v1.7.1 06:16:58 go: finding github.com/hashicorp/consul/api v1.1.0 06:16:58 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:16:59 go: finding github.com/hashicorp/errwrap v1.0.0 06:16:59 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:16:59 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:16:59 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:16:59 go: finding github.com/hashicorp/go-multierror v1.0.0 06:16:59 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:16:59 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:16:59 go: finding github.com/hashicorp/go-syslog v1.0.0 06:16:59 go: finding github.com/hashicorp/go-uuid v1.0.1 06:16:59 go: finding github.com/hashicorp/go.net v0.0.1 06:16:59 go: finding github.com/hashicorp/golang-lru v0.5.0 06:16:59 go: finding github.com/hashicorp/logutils v1.0.0 06:16:59 go: finding github.com/hashicorp/mdns v1.0.0 06:16:59 go: finding github.com/hashicorp/memberlist v0.1.3 06:16:59 go: finding github.com/hashicorp/serf v0.8.2 06:16:59 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:16:59 go: finding github.com/mattn/go-colorable v0.0.9 06:16:59 go: finding github.com/mattn/go-isatty v0.0.3 06:16:59 go: finding github.com/miekg/dns v1.0.14 06:16:59 go: finding github.com/mitchellh/cli v1.0.0 06:16:59 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:16:59 go: finding github.com/mitchellh/copystructure v1.0.0 06:16:59 go: finding github.com/mitchellh/go-homedir v1.0.0 06:16:59 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:16:59 go: finding github.com/mitchellh/gox v0.4.0 06:16:59 go: finding github.com/mitchellh/iochan v1.0.0 06:16:59 go: finding github.com/mitchellh/mapstructure v1.1.2 06:16:59 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:16:59 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:16:59 go: finding github.com/pelletier/go-toml v1.2.0 06:16:59 go: finding github.com/pkg/errors v0.8.1 06:16:59 go: finding github.com/pmezard/go-difflib v1.0.0 06:16:59 go: finding github.com/posener/complete v1.1.1 06:16:59 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:16:59 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:16:59 go: finding github.com/spf13/cast v1.3.0 06:16:59 go: finding github.com/stretchr/objx v0.1.0 06:16:59 go: finding github.com/stretchr/testify v1.5.1 06:16:59 go: finding github.com/ugorji/go v1.1.4 06:16:59 go: finding github.com/x448/float16 v0.8.4 06:16:59 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:16:59 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:16:59 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:16:59 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:16:59 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:16:59 go: finding gopkg.in/yaml.v2 v2.2.8 06:17:09 Removing intermediate container 0f1734e5fd41 06:17:09 ---> f9b310a3bb81 06:17:09 Successfully built f9b310a3bb81 06:17:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:17:10 + docker inspect -f . ci-base-image-arm64 06:17:10 . [Pipeline] withDockerContainer 06:17:10 prd-ubuntu18.04-docker-arm64-4c-16g-4912 does not seem to be running inside a container 06:17:10 $ 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 06:17:12 $ docker top aa9611085ead6929770835c76fbeeb49e41f447b3fe6f59b64b3a04915a4da29 -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:13 + go version 06:17:13 go version go1.13.5 linux/arm64 [Pipeline] sh 06:17:14 + make test 06:17:14 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:17:15 ? github.com/edgexfoundry/device-rest-go [no test files] 06:17:47 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:17:47 ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 56.3% of statements 06:17:47 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:17:50 gofmt -l . 06:17:50 [ "`gofmt -l .`" = "" ] 06:17:50 ./bin/test-go-mod-tidy.sh 06:17:51 ./bin/test-attribution-txt.sh [Pipeline] stash 06:17:52 Warning: overwriting stash ‘coverage-report’ 06:17:52 Stashed 1 file(s) [Pipeline] } 06:17:52 $ docker stop --time=1 aa9611085ead6929770835c76fbeeb49e41f447b3fe6f59b64b3a04915a4da29 06:17:54 $ docker rm -f aa9611085ead6929770835c76fbeeb49e41f447b3fe6f59b64b3a04915a4da29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:17:56 + ls -al . 06:17:56 total 112 06:17:56 drwxrwxr-x 7 jenkins jenkins 4096 Apr 20 06:17 . 06:17:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 06:15 .. 06:17:56 -rw-rw-r-- 1 jenkins jenkins 151 Apr 20 06:15 .dockerignore 06:17:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 06:16 .git 06:17:56 -rw-rw-r-- 1 jenkins jenkins 339 Apr 20 06:15 .gitignore 06:17:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:16 .semver 06:17:56 -rw-rw-r-- 1 jenkins jenkins 1419 Apr 20 06:15 Dockerfile 06:17:56 -rw-rw-r-- 1 jenkins jenkins 989 Apr 20 06:15 Dockerfile.build 06:17:56 -rw-rw-r-- 1 jenkins jenkins 702 Apr 20 06:15 Jenkinsfile 06:17:56 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 06:15 LICENSE 06:17:56 -rw-rw-r-- 1 jenkins jenkins 951 Apr 20 06:15 Makefile 06:17:56 -rw-rw-r-- 1 jenkins jenkins 5716 Apr 20 06:15 README.md 06:17:56 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 06:12 VERSION 06:17:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 06:15 bin 06:17:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:15 cmd 06:17:56 -rw-r--r-- 1 jenkins jenkins 9369 Apr 20 06:17 coverage.out 06:17:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 06:17 driver 06:17:56 -rw-r--r-- 1 jenkins jenkins 273 Apr 20 06:17 go.mod 06:17:56 -rw-r--r-- 1 jenkins jenkins 12444 Apr 20 06:17 go.sum 06:17:56 -rw-rw-r-- 1 jenkins jenkins 713 Apr 20 06:15 version.go [Pipeline] isUnix [Pipeline] sh 06:17:56 + 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 . 06:17:57 Sending build context to Docker daemon 8.02MB 06:17:57 Step 1/23 : ARG BASE=golang:1.13-alpine 06:17:57 Step 2/23 : FROM ${BASE} AS builder 06:17:57 ---> f9b310a3bb81 06:17:57 Step 3/23 : ARG MAKE='make build' 06:17:57 ---> Running in 0c7648a05a91 06:17:57 Removing intermediate container 0c7648a05a91 06:17:57 ---> b4e25fa2efda 06:17:57 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 06:17:57 ---> Running in 5748ea57dc17 06:17:58 Removing intermediate container 5748ea57dc17 06:17:58 ---> 64f92c4702d4 06:17:58 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 06:17:58 ---> Running in c4a4a66acb57 06:17:58 Removing intermediate container c4a4a66acb57 06:17:58 ---> a57df2079cf2 06:17:58 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:17:58 ---> Running in 5648059ca100 06:18:00 Removing intermediate container 5648059ca100 06:18:00 ---> d0b5e366b684 06:18:00 Step 7/23 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:18:00 ---> Running in 54bb22129c86 06:18:01 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 06:18:02 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 06:18:03 OK: 125 MiB in 39 packages 06:18:04 Removing intermediate container 54bb22129c86 06:18:04 ---> d712e3899fbf 06:18:04 Step 8/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 06:18:04 ---> Running in d5ee918f2f78 06:18:04 Removing intermediate container d5ee918f2f78 06:18:04 ---> dbb01f690c00 06:18:04 Step 9/23 : COPY go.mod . 06:18:04 ---> c6067b0cc3aa 06:18:04 Step 10/23 : COPY Makefile . 06:18:05 ---> 373198c7d02e 06:18:05 Step 11/23 : RUN make update 06:18:05 ---> Running in d262173a23e1 06:18:06 CGO_ENABLED=0 GO111MODULE=on go mod download 06:18:07 Removing intermediate container d262173a23e1 06:18:07 ---> 7ad34cf6eb73 06:18:07 Step 12/23 : COPY . . 06:18:08 ---> 0936cf6f96b7 06:18:08 Step 13/23 : RUN $MAKE 06:18:08 ---> Running in d49eacc0bc4e 06:18:09 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 06:18:36 Removing intermediate container d49eacc0bc4e 06:18:36 ---> 2c626fd8d299 06:18:36 Step 14/23 : FROM alpine:latest 06:18:36 latest: Pulling from library/alpine 06:18:36 8a0637ca1ac9: Pulling fs layer 06:18:36 8a0637ca1ac9: Verifying Checksum 06:18:36 8a0637ca1ac9: Download complete 06:18:36 8a0637ca1ac9: Pull complete 06:18:36 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 06:18:36 Status: Downloaded newer image for alpine:latest 06:18:36 ---> 2ee122dcc32d 06:18:36 Step 15/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:18:36 ---> Running in d72a9636f1ac 06:18:37 Removing intermediate container d72a9636f1ac 06:18:37 ---> 99fb9bc5513c 06:18:37 Step 16/23 : LABEL Name=device-rest-go Version=${VERSION} 06:18:37 ---> Running in f0ea99995d23 06:18:37 Removing intermediate container f0ea99995d23 06:18:37 ---> 4b235419aaf4 06:18:37 Step 17/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 06:18:38 ---> 5786b146b980 06:18:38 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 06:18:39 ---> 37adc2838bef 06:18:39 Step 19/23 : EXPOSE 49986 06:18:39 ---> Running in edd3861644c9 06:18:40 Removing intermediate container edd3861644c9 06:18:40 ---> 69ac29c8f254 06:18:40 Step 20/23 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 06:18:40 ---> Running in 22d027c2cf97 06:18:40 Removing intermediate container 22d027c2cf97 06:18:40 ---> c530b6d7801a 06:18:40 Step 21/23 : LABEL arch=arm64 06:18:40 ---> Running in d83aff6d51f0 06:18:40 Removing intermediate container d83aff6d51f0 06:18:40 ---> 1a9a394debaa 06:18:40 Step 22/23 : LABEL git_sha=d38a4b3c46b7c4fcebc3c050b318b58993e78031 06:18:41 ---> Running in 2a85d03d0fb7 06:18:41 Removing intermediate container 2a85d03d0fb7 06:18:41 ---> 80161e9c5b99 06:18:41 Step 23/23 : LABEL version=0.0.0 06:18:41 ---> Running in 6c1e80701fe7 06:18:42 Removing intermediate container 6c1e80701fe7 06:18:42 ---> 0f96d2007a3b 06:18:42 [Warning] One or more build-args [ARCH] were not consumed 06:18:42 Successfully built 0f96d2007a3b 06:18:42 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 06:18:43 provisioning config files... 06:18:43 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-18@tmp/config784000382665824562tmp [Pipeline] { [Pipeline] sh 06:18:44 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-18@tmp/config784000382665824562tmp 06:18:44 + curl -s https://codecov.io/bash 06:18:44 06:18:44 _____ _ 06:18:44 / ____| | | 06:18:44 | | ___ __| | ___ ___ _____ __ 06:18:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:18:44 | |___| (_) | (_| | __/ (_| (_) \ V / 06:18:44 \_____\___/ \__,_|\___|\___\___/ \_/ 06:18:44 Bash-tbd 06:18:44 06:18:44 06:18:44 ==> Jenkins CI detected. 06:18:44 project root: . 06:18:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:18:44 ==> Running gcov in . (disable via -X gcov) 06:18:44 ==> Python coveragepy not found 06:18:44 ==> Searching for coverage reports in: 06:18:44 + . 06:18:44 -> Found 1 reports 06:18:44 ==> Detecting git/mercurial file structure 06:18:44 ==> Reading reports 06:18:44 + ./coverage.out bytes=9369 06:18:44 ==> Appending adjustments 06:18:44 http://docs.codecov.io/docs/fixing-reports 06:18:44 + Found adjustments 06:18:44 ==> Gzipping contents 06:18:44 ==> Uploading reports 06:18:44 url: https://codecov.io 06:18:44 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= 06:18:44 -> Pinging Codecov 06:18:44 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= 06:18:44 -> Uploading 06:18:45 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d38a4b3c46b7c4fcebc3c050b318b58993e78031 [Pipeline] } 06:18:45 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 06:18:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:18:47 ---> package-listing.sh 06:18:47 ++ facter osfamily 06:18:47 ++ tr '[:upper:]' '[:lower:]' 06:18:47 + OS_FAMILY=redhat 06:18:47 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-18 06:18:47 + START_PACKAGES=/tmp/packages_start.txt 06:18:47 + END_PACKAGES=/tmp/packages_end.txt 06:18:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:18:47 + PACKAGES=/tmp/packages_start.txt 06:18:47 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-18 ']' 06:18:47 + PACKAGES=/tmp/packages_end.txt 06:18:47 + case "${OS_FAMILY}" in 06:18:47 + rpm -qa 06:18:47 + sort 06:18:51 + '[' -f /tmp/packages_start.txt ']' 06:18:51 + '[' -f /tmp/packages_end.txt ']' 06:18:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:18:51 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-18 ']' 06:18:51 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-18/archives/ 06:18:51 + 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 06:18:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:18:51 06:18:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:18:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:18:52 alpine: Pulling from edgex-lftools-log-publisher 06:18:52 c9b1b535fdd9: Pulling fs layer 06:18:52 2cc5ad85d9ab: Pulling fs layer 06:18:52 756a868c4378: Pulling fs layer 06:18:52 444b2fc9a129: Pulling fs layer 06:18:52 ea15f1150254: Pulling fs layer 06:18:52 41b27a9f41bf: Pulling fs layer 06:18:52 28c525ee5125: Pulling fs layer 06:18:52 094b1ea09ed8: Pulling fs layer 06:18:52 138eaada9080: Pulling fs layer 06:18:52 0622d0fa9048: Pulling fs layer 06:18:52 ea15f1150254: Waiting 06:18:52 41b27a9f41bf: Waiting 06:18:52 28c525ee5125: Waiting 06:18:52 094b1ea09ed8: Waiting 06:18:52 138eaada9080: Waiting 06:18:52 0622d0fa9048: Waiting 06:18:52 444b2fc9a129: Waiting 06:18:52 2cc5ad85d9ab: Verifying Checksum 06:18:52 2cc5ad85d9ab: Download complete 06:18:52 444b2fc9a129: Verifying Checksum 06:18:52 444b2fc9a129: Download complete 06:18:52 c9b1b535fdd9: Download complete 06:18:52 ea15f1150254: Verifying Checksum 06:18:52 ea15f1150254: Download complete 06:18:52 28c525ee5125: Verifying Checksum 06:18:52 28c525ee5125: Download complete 06:18:52 c9b1b535fdd9: Pull complete 06:18:52 756a868c4378: Verifying Checksum 06:18:52 756a868c4378: Download complete 06:18:52 2cc5ad85d9ab: Pull complete 06:18:52 138eaada9080: Verifying Checksum 06:18:52 138eaada9080: Download complete 06:18:52 0622d0fa9048: Verifying Checksum 06:18:52 0622d0fa9048: Download complete 06:18:52 094b1ea09ed8: Verifying Checksum 06:18:52 094b1ea09ed8: Download complete 06:18:53 41b27a9f41bf: Verifying Checksum 06:18:53 41b27a9f41bf: Download complete 06:18:54 756a868c4378: Pull complete 06:18:54 444b2fc9a129: Pull complete 06:18:54 ea15f1150254: Pull complete 06:18:57 41b27a9f41bf: Pull complete 06:18:57 28c525ee5125: Pull complete 06:18:59 094b1ea09ed8: Pull complete 06:18:59 138eaada9080: Pull complete 06:19:00 0622d0fa9048: Pull complete 06:19:00 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 06:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:19:00 prd-centos7-docker-4c-2g-4908 does not seem to be running inside a container 06:19:00 $ 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 06:19:00 $ docker top 0b4d356ff132920fa3797ffbaee367d3911d824e8b85815212ddf0b13e140463 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:19:01 provisioning config files... 06:19:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-18@tmp/config3774484584118084926tmp [Pipeline] { [Pipeline] echo 06:19:01 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:19:01 ---> create-netrc.sh [Pipeline] echo 06:19:01 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:19:02 ---> logs-deploy.sh 06:19:02 + ARCHIVE_ARTIFACTS= 06:19:02 + LOGS_SERVER=https://logs.edgexfoundry.org 06:19:02 + '[' https://logs.edgexfoundry.org == None ']' 06:19:02 + NEXUS_URL=https://nexus.edgexfoundry.org 06:19:02 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-18/1 06:19:02 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-18/1/ 06:19:02 + 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 06:19:02 Archives upload complete. 06:19:03 + 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/