Pull request #32 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 b28fb37fc25b16c08b3fc5641f69c6b03f186c00+b106d00ae92e946d2103bc6c1464522635373c7b (b0ae631e9644741b7ca5172fef7108eab8431bbd) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-32/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-553 in /w/workspace/dgexfoundry_device-rest-go_PR-32 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-32 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/32/head:refs/remotes/origin/PR-32 +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/32/head:refs/remotes/origin/PR-32 # 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/32/head:refs/remotes/origin/PR-32 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit b28fb37fc25b16c08b3fc5641f69c6b03f186c00 Merge succeeded, producing b28fb37fc25b16c08b3fc5641f69c6b03f186c00 Checking out Revision b28fb37fc25b16c08b3fc5641f69c6b03f186c00 (PR-32) > git config core.sparsecheckout # timeout=10 > git checkout -f b28fb37fc25b16c08b3fc5641f69c6b03f186c00 # 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 b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b28fb37fc25b16c08b3fc5641f69c6b03f186c00 # timeout=10 Commit message: "Update SDK version and configuration file" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:26:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:26:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:26:33 ========================================================= 06:26:33 EdgeX Global Pipelines Version Info 06:26:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:26:35 ------------------- 06:26:35 stable info: 06:26:35 ------------------- 06:26:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:26:35 Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 06:26:35 Message: update stable to v1.0.99 06:26:36 ------------------- 06:26:36 experimental info: 06:26:36 ------------------- 06:26:36 Commited By: **** collab-it+edgex@linuxfoundation.org 06:26:36 Commit SHA: 78d567e8c35819a45e10bd2b75e1138b16507148 06:26:36 Message: update experimental to v1.0.101 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 06:26:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:26:38 06:26:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:26:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:26:38 latest: Pulling from edgex-devops/git-semver 06:26:38 31603596830f: Pulling fs layer 06:26:38 2a8b12db71e7: Pulling fs layer 06:26:38 6ca5941a6612: Pulling fs layer 06:26:38 ecc8261a40a4: Pulling fs layer 06:26:38 ecc8261a40a4: Waiting 06:26:38 2a8b12db71e7: Verifying Checksum 06:26:38 2a8b12db71e7: Download complete 06:26:39 31603596830f: Verifying Checksum 06:26:39 31603596830f: Download complete 06:26:39 6ca5941a6612: Verifying Checksum 06:26:39 6ca5941a6612: Download complete 06:26:39 ecc8261a40a4: Verifying Checksum 06:26:39 ecc8261a40a4: Download complete 06:26:39 31603596830f: Pull complete 06:26:39 2a8b12db71e7: Pull complete 06:26:40 6ca5941a6612: Pull complete 06:26:40 ecc8261a40a4: Pull complete 06:26:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:26:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:26:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:26:40 prd-centos7-docker-4c-2g-553 does not seem to be running inside a container 06:26:40 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-32 -v /w/workspace/dgexfoundry_device-rest-go_PR-32:/w/workspace/dgexfoundry_device-rest-go_PR-32:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-32@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:26:42 $ docker top db537fd8d182b7a7034c3878c656a4f184b57c7bef7224b0bf428809a27a525f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:26:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:26:43 [ssh-agent] Looking for ssh-agent implementation... 06:26:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:26:43 $ docker exec db537fd8d182b7a7034c3878c656a4f184b57c7bef7224b0bf428809a27a525f ssh-agent 06:26:43 SSH_AUTH_SOCK=/tmp/ssh-Pky2vgwxXR4j/agent.11 06:26:43 SSH_AGENT_PID=16 06:26:43 Running ssh-add (command line suppressed) 06:26:43 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-32@tmp/private_key_4294606274832194606.key (/w/workspace/dgexfoundry_device-rest-go_PR-32@tmp/private_key_4294606274832194606.key) 06:26:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:26:44 + git describe --exact-match --tags HEAD 06:26:44 fatal: No names found, cannot describe anything. [Pipeline] } 06:26:44 $ docker exec --env ******** --env ******** db537fd8d182b7a7034c3878c656a4f184b57c7bef7224b0bf428809a27a525f ssh-agent -k 06:26:44 unset SSH_AUTH_SOCK; 06:26:44 unset SSH_AGENT_PID; 06:26:44 echo Agent pid 16 killed; 06:26:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:26:44 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:26:44 This usually means this commit has not been tagged. [Pipeline] sshagent 06:26:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:26:45 [ssh-agent] Looking for ssh-agent implementation... 06:26:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:26:45 $ docker exec db537fd8d182b7a7034c3878c656a4f184b57c7bef7224b0bf428809a27a525f ssh-agent 06:26:45 SSH_AUTH_SOCK=/tmp/ssh-EymheeZQfbhg/agent.46 06:26:45 SSH_AGENT_PID=51 06:26:45 Running ssh-add (command line suppressed) 06:26:45 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-32@tmp/private_key_1469840377599893262.key (/w/workspace/dgexfoundry_device-rest-go_PR-32@tmp/private_key_1469840377599893262.key) 06:26:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:26:46 + git semver init 06:26:46 # -> Open(): unable to determine branch for HEAD 06:26:46 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-32/.git 06:26:46 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-32 06:26:46 # $SEMVER_REMOTE_NAME = origin 06:26:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:26:46 # $SEMVER_USER_NAME = edgex-jenkins 06:26:46 # $SEMVER_BRANCH = PR-32 06:26:46 # $SEMVER_TEMP = /tmp/semver-525778841 06:26:46 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 06:26:48 # '/tmp/semver-525778841' -> '/w/workspace/dgexfoundry_device-rest-go_PR-32/.semver' 06:26:48 # -> Force: false 06:26:48 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-32/.semver [Pipeline] } 06:26:48 $ docker exec --env ******** --env ******** db537fd8d182b7a7034c3878c656a4f184b57c7bef7224b0bf428809a27a525f ssh-agent -k 06:26:48 unset SSH_AUTH_SOCK; 06:26:48 unset SSH_AGENT_PID; 06:26:48 echo Agent pid 51 killed; 06:26:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:26:49 + git semver [Pipeline] } 06:26:49 $ docker stop --time=1 db537fd8d182b7a7034c3878c656a4f184b57c7bef7224b0bf428809a27a525f 06:26:50 $ docker rm -f db537fd8d182b7a7034c3878c656a4f184b57c7bef7224b0bf428809a27a525f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:26:51 Stashed 17 file(s) [Pipeline] echo 06:26:51 [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:27:07 Still waiting to schedule task 06:27:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:27:07 Still waiting to schedule task 06:27:07 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:28:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-554 in /w/workspace/dgexfoundry_device-rest-go_PR-32 [Pipeline] { [Pipeline] ws 06:28:41 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:28:46 using credential edgex-jenkins-ssh 06:28:46 Cloning the remote Git repository 06:28:46 Cloning with configured refspecs honoured and without tags 06:28:46 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:28:46 > git init /w/workspace/device-rest-go/1 # timeout=10 06:28:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:28:46 > git --version # timeout=10 06:28:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:28:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:28:48 Fetching without tags 06:28:48 Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit b28fb37fc25b16c08b3fc5641f69c6b03f186c00 06:28:48 Merge succeeded, producing b28fb37fc25b16c08b3fc5641f69c6b03f186c00 06:28:48 Checking out Revision b28fb37fc25b16c08b3fc5641f69c6b03f186c00 (PR-32) 06:28:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:28:47 > git config --add remote.origin.fetch +refs/pull/32/head:refs/remotes/origin/PR-32 # timeout=10 06:28:47 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:28:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:28:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:28:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:28:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:28:48 > git config core.sparsecheckout # timeout=10 06:28:48 > git checkout -f b28fb37fc25b16c08b3fc5641f69c6b03f186c00 # timeout=10 06:28:48 > git remote # timeout=10 06:28:48 > git config --get remote.origin.url # timeout=10 06:28:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:28:48 > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 06:28:48 > git rev-parse HEAD^{commit} # timeout=10 06:28:48 > git config core.sparsecheckout # timeout=10 06:28:48 > git checkout -f b28fb37fc25b16c08b3fc5641f69c6b03f186c00 # timeout=10 06:28:53 Commit message: "Update SDK version and configuration file" 06:28:53 > git --version # timeout=10 06:28:53 fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:28:55 ========================================================= 06:28:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 06:28:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:28:56 + 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:28:57 Sending build context to Docker daemon 8.02MB 06:28:57 Step 1/10 : ARG BASE=golang:1.13-alpine 06:28:57 Step 2/10 : FROM ${BASE} 06:28:58 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:28:58 b538f80385f9: Pulling fs layer 06:28:58 74f711af9a0d: Pulling fs layer 06:28:58 99f96fe45779: Pulling fs layer 06:28:58 fd7a069fd194: Pulling fs layer 06:28:58 66aa3694b03b: Pulling fs layer 06:28:58 170f70906a0f: Pulling fs layer 06:28:58 ad7c5574e4b9: Pulling fs layer 06:28:58 e772456be8f7: Pulling fs layer 06:28:58 c890913d741a: Pulling fs layer 06:28:58 2480fcc9aa5a: Pulling fs layer 06:28:58 09adf4765672: Pulling fs layer 06:28:58 ad7c5574e4b9: Waiting 06:28:58 fd7a069fd194: Waiting 06:28:58 66aa3694b03b: Waiting 06:28:58 e772456be8f7: Waiting 06:28:58 c890913d741a: Waiting 06:28:58 09adf4765672: Waiting 06:28:58 2480fcc9aa5a: Waiting 06:28:58 170f70906a0f: Waiting 06:28:58 99f96fe45779: Download complete 06:28:58 74f711af9a0d: Download complete 06:28:58 66aa3694b03b: Verifying Checksum 06:28:58 66aa3694b03b: Download complete 06:28:58 170f70906a0f: Verifying Checksum 06:28:58 170f70906a0f: Download complete 06:28:58 b538f80385f9: Verifying Checksum 06:28:59 b538f80385f9: Pull complete 06:28:59 74f711af9a0d: Pull complete 06:29:00 99f96fe45779: Pull complete 06:29:01 ad7c5574e4b9: Verifying Checksum 06:29:01 ad7c5574e4b9: Download complete 06:29:01 c890913d741a: Verifying Checksum 06:29:01 c890913d741a: Download complete 06:29:01 Running on prd-centos7-docker-4c-2g-555 in /w/workspace/dgexfoundry_device-rest-go_PR-32 [Pipeline] { [Pipeline] ws 06:29:01 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:29:03 2480fcc9aa5a: Verifying Checksum 06:29:03 2480fcc9aa5a: Download complete 06:29:03 e772456be8f7: Verifying Checksum 06:29:03 e772456be8f7: Download complete 06:29:03 09adf4765672: Verifying Checksum 06:29:03 09adf4765672: Download complete 06:29:03 fd7a069fd194: Verifying Checksum 06:29:03 fd7a069fd194: Download complete 06:29:03 using credential edgex-jenkins-ssh 06:29:03 Cloning the remote Git repository 06:29:03 Cloning with configured refspecs honoured and without tags 06:29:03 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:29:05 Fetching without tags 06:29:04 > git init /w/workspace/device-rest-go/1 # timeout=10 06:29:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:29:04 > git --version # timeout=10 06:29:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:29:04 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:29:04 > git config --add remote.origin.fetch +refs/pull/32/head:refs/remotes/origin/PR-32 # timeout=10 06:29:04 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:29:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:29:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:29:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:29:05 Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit b28fb37fc25b16c08b3fc5641f69c6b03f186c00 06:29:05 Merge succeeded, producing b28fb37fc25b16c08b3fc5641f69c6b03f186c00 06:29:05 Checking out Revision b28fb37fc25b16c08b3fc5641f69c6b03f186c00 (PR-32) 06:29:05 > git config core.sparsecheckout # timeout=10 06:29:05 > git checkout -f b28fb37fc25b16c08b3fc5641f69c6b03f186c00 # timeout=10 06:29:05 > git remote # timeout=10 06:29:05 > git config --get remote.origin.url # timeout=10 06:29:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:05 > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 06:29:05 > git rev-parse HEAD^{commit} # timeout=10 06:29:05 > git config core.sparsecheckout # timeout=10 06:29:05 > git checkout -f b28fb37fc25b16c08b3fc5641f69c6b03f186c00 # timeout=10 06:29:09 Commit message: "Update SDK version and configuration file" 06:29:09 > git --version # timeout=10 06:29:09 fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:29:10 ========================================================= 06:29:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 06:29:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:29:10 + 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:29:11 Sending build context to Docker daemon 8.02MB 06:29:11 Step 1/10 : ARG BASE=golang:1.13-alpine 06:29:11 Step 2/10 : FROM ${BASE} 06:29:11 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 06:29:11 df20fa9351a1: Pulling fs layer 06:29:11 ed8968b2872e: Pulling fs layer 06:29:11 a92cc7c5fd73: Pulling fs layer 06:29:11 2dd03ba5bac4: Pulling fs layer 06:29:11 1e091d79d1de: Pulling fs layer 06:29:11 481702a1767f: Pulling fs layer 06:29:11 f64a6f60c768: Pulling fs layer 06:29:11 e78d2573fc39: Pulling fs layer 06:29:11 e876d2f968b6: Pulling fs layer 06:29:11 ce8a83651883: Pulling fs layer 06:29:11 07967f4d0e4b: Pulling fs layer 06:29:11 f64a6f60c768: Waiting 06:29:11 e78d2573fc39: Waiting 06:29:11 e876d2f968b6: Waiting 06:29:11 ce8a83651883: Waiting 06:29:11 2dd03ba5bac4: Waiting 06:29:11 1e091d79d1de: Waiting 06:29:11 481702a1767f: Waiting 06:29:11 07967f4d0e4b: Waiting 06:29:11 a92cc7c5fd73: Verifying Checksum 06:29:11 a92cc7c5fd73: Download complete 06:29:11 ed8968b2872e: Verifying Checksum 06:29:11 ed8968b2872e: Download complete 06:29:11 1e091d79d1de: Download complete 06:29:11 481702a1767f: Verifying Checksum 06:29:11 481702a1767f: Download complete 06:29:11 df20fa9351a1: Verifying Checksum 06:29:11 df20fa9351a1: Download complete 06:29:12 f64a6f60c768: Verifying Checksum 06:29:12 f64a6f60c768: Download complete 06:29:12 e876d2f968b6: Verifying Checksum 06:29:12 e876d2f968b6: Download complete 06:29:12 e78d2573fc39: Verifying Checksum 06:29:12 e78d2573fc39: Download complete 06:29:12 07967f4d0e4b: Verifying Checksum 06:29:12 07967f4d0e4b: Download complete 06:29:12 ce8a83651883: Download complete 06:29:12 2dd03ba5bac4: Verifying Checksum 06:29:12 2dd03ba5bac4: Download complete 06:29:13 df20fa9351a1: Pull complete 06:29:13 ed8968b2872e: Pull complete 06:29:13 a92cc7c5fd73: Pull complete 06:29:16 fd7a069fd194: Pull complete 06:29:16 66aa3694b03b: Pull complete 06:29:16 170f70906a0f: Pull complete 06:29:19 2dd03ba5bac4: Pull complete 06:29:19 1e091d79d1de: Pull complete 06:29:19 481702a1767f: Pull complete 06:29:19 ad7c5574e4b9: Pull complete 06:29:23 e772456be8f7: Pull complete 06:29:24 c890913d741a: Pull complete 06:29:24 f64a6f60c768: Pull complete 06:29:26 2480fcc9aa5a: Pull complete 06:29:27 09adf4765672: Pull complete 06:29:27 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 06:29:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 06:29:27 ---> 2248a725d1cf 06:29:27 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:29:27 e78d2573fc39: Pull complete 06:29:27 e876d2f968b6: Pull complete 06:29:28 ce8a83651883: Pull complete 06:29:28 07967f4d0e4b: Pull complete 06:29:28 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 06:29:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 06:29:28 ---> 5d7c900382c6 06:29:28 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:29:29 ---> Running in f36587dbcbee 06:29:29 Removing intermediate container f36587dbcbee 06:29:29 ---> 2ac512bcaf69 06:29:29 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:29:29 ---> Running in 11dc5869ca03 06:29:29 Removing intermediate container 11dc5869ca03 06:29:29 ---> 43004a3a7547 06:29:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:29:29 ---> Running in 00f341f10ab6 06:29:29 Removing intermediate container 00f341f10ab6 06:29:29 ---> adf7b91efdcd 06:29:29 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:29:29 ---> Running in 3e04a225857a 06:29:31 Removing intermediate container 3e04a225857a 06:29:31 ---> 25904123cbe1 06:29:31 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:29:31 ---> Running in 3063c982e7f1 06:29:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:29:32 ---> Running in ca7a44011df5 06:29:32 Removing intermediate container ca7a44011df5 06:29:32 ---> 64d9a98fc371 06:29:32 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:29:32 ---> Running in d06cc68ac3e3 06:29:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:29:33 Removing intermediate container d06cc68ac3e3 06:29:33 ---> b42111958631 06:29:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:29:33 ---> Running in 63be65a1a3c6 06:29:33 OK: 166 MiB in 39 packages 06:29:33 Removing intermediate container 63be65a1a3c6 06:29:33 ---> 2295c4f1e30b 06:29:33 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:29:33 ---> Running in 8e6d75811662 06:29:34 Removing intermediate container 3063c982e7f1 06:29:34 ---> 7d03d447964b 06:29:34 Step 8/10 : WORKDIR /device-rest-go 06:29:34 ---> Running in 1abbf787e8d7 06:29:34 Removing intermediate container 1abbf787e8d7 06:29:34 ---> 81a7db9c0ff2 06:29:34 Step 9/10 : COPY . . 06:29:34 ---> 8fdd1175222e 06:29:34 Step 10/10 : RUN go mod download 06:29:34 ---> Running in 4f6960e91059 06:29:36 go: finding github.com/BurntSushi/toml v0.3.1 06:29:36 go: finding github.com/OneOfOne/xxhash v1.2.6 06:29:36 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:29:36 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:29:36 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:29:36 go: finding github.com/bgentry/speakeasy v0.1.0 06:29:36 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:29:36 go: finding github.com/davecgh/go-spew v1.1.1 06:29:36 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 06:29:36 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 06:29:36 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:29:36 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 06:29:36 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 06:29:36 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:29:36 go: finding github.com/fatih/color v1.7.0 06:29:36 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:29:36 go: finding github.com/go-kit/kit v0.8.0 06:29:36 go: finding github.com/go-logfmt/logfmt v0.4.0 06:29:36 go: finding github.com/go-stack/stack v1.8.0 06:29:36 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:29:36 go: finding github.com/google/uuid v1.1.0 06:29:36 go: finding github.com/gorilla/mux v1.7.1 06:29:36 go: finding github.com/hashicorp/consul/api v1.1.0 06:29:36 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:29:36 go: finding github.com/hashicorp/errwrap v1.0.0 06:29:36 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:29:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:29:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:29:37 go: finding github.com/hashicorp/go-multierror v1.0.0 06:29:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:29:37 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:29:37 go: finding github.com/hashicorp/go-syslog v1.0.0 06:29:37 go: finding github.com/hashicorp/go-uuid v1.0.1 06:29:37 go: finding github.com/hashicorp/go.net v0.0.1 06:29:37 go: finding github.com/hashicorp/golang-lru v0.5.0 06:29:37 go: finding github.com/hashicorp/logutils v1.0.0 06:29:37 go: finding github.com/hashicorp/mdns v1.0.0 06:29:37 Removing intermediate container 8e6d75811662 06:29:37 ---> 6edbab63731b 06:29:37 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:29:37 ---> Running in bbc3f9ff66c9 06:29:37 go: finding github.com/hashicorp/memberlist v0.1.3 06:29:37 go: finding github.com/hashicorp/serf v0.8.2 06:29:37 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:29:37 go: finding github.com/mattn/go-colorable v0.0.9 06:29:37 go: finding github.com/mattn/go-isatty v0.0.3 06:29:37 go: finding github.com/miekg/dns v1.0.14 06:29:37 go: finding github.com/mitchellh/cli v1.0.0 06:29:37 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:29:37 go: finding github.com/mitchellh/copystructure v1.0.0 06:29:37 go: finding github.com/mitchellh/go-homedir v1.0.0 06:29:37 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:29:37 go: finding github.com/mitchellh/gox v0.4.0 06:29:37 go: finding github.com/mitchellh/iochan v1.0.0 06:29:37 go: finding github.com/mitchellh/mapstructure v1.1.2 06:29:37 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:29:37 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:29:37 go: finding github.com/pelletier/go-toml v1.2.0 06:29:37 go: finding github.com/pkg/errors v0.8.1 06:29:37 go: finding github.com/pmezard/go-difflib v1.0.0 06:29:37 go: finding github.com/posener/complete v1.1.1 06:29:37 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:29:37 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:29:37 go: finding github.com/spf13/cast v1.3.0 06:29:37 go: finding github.com/stretchr/objx v0.1.0 06:29:37 go: finding github.com/stretchr/testify v1.5.1 06:29:37 go: finding github.com/ugorji/go v1.1.4 06:29:37 go: finding github.com/x448/float16 v0.8.4 06:29:37 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:29:37 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:29:37 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:29:38 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:29:38 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:29:38 go: finding gopkg.in/yaml.v2 v2.2.8 06:29:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:29:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:29:40 OK: 142 MiB in 39 packages 06:29:41 Removing intermediate container bbc3f9ff66c9 06:29:41 ---> 05ee8027029a 06:29:41 Step 8/10 : WORKDIR /device-rest-go 06:29:41 ---> Running in 978f63c52039 06:29:41 Removing intermediate container 978f63c52039 06:29:41 ---> d068fa8822f4 06:29:41 Step 9/10 : COPY . . 06:29:43 ---> d63141175a42 06:29:43 Step 10/10 : RUN go mod download 06:29:43 ---> Running in 5d8d1a4187fa 06:29:45 go: finding github.com/BurntSushi/toml v0.3.1 06:29:45 go: finding github.com/OneOfOne/xxhash v1.2.6 06:29:45 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:29:45 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:29:45 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:29:46 go: finding github.com/bgentry/speakeasy v0.1.0 06:29:46 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:29:46 go: finding github.com/davecgh/go-spew v1.1.1 06:29:46 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 06:29:46 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 06:29:46 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:29:46 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 06:29:46 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 06:29:46 Removing intermediate container 4f6960e91059 06:29:46 ---> d608d4aa1f5d 06:29:46 Successfully built d608d4aa1f5d 06:29:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 06:29:46 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:29:46 go: finding github.com/fatih/color v1.7.0 06:29:46 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:29:46 go: finding github.com/go-kit/kit v0.8.0 06:29:46 go: finding github.com/go-logfmt/logfmt v0.4.0 06:29:46 go: finding github.com/go-stack/stack v1.8.0 06:29:46 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:29:46 go: finding github.com/google/uuid v1.1.0 06:29:46 go: finding github.com/gorilla/mux v1.7.1 06:29:46 go: finding github.com/hashicorp/consul/api v1.1.0 06:29:46 go: finding github.com/hashicorp/consul/sdk v0.1.1 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix 06:29:46 go: finding github.com/hashicorp/errwrap v1.0.0 06:29:46 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:29:46 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:29:46 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:29:46 go: finding github.com/hashicorp/go-multierror v1.0.0 06:29:46 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:29:46 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:29:46 go: finding github.com/hashicorp/go-syslog v1.0.0 06:29:46 go: finding github.com/hashicorp/go-uuid v1.0.1 06:29:46 go: finding github.com/hashicorp/go.net v0.0.1 06:29:46 go: finding github.com/hashicorp/golang-lru v0.5.0 [Pipeline] sh 06:29:47 go: finding github.com/hashicorp/logutils v1.0.0 06:29:47 go: finding github.com/hashicorp/mdns v1.0.0 06:29:47 go: finding github.com/hashicorp/memberlist v0.1.3 06:29:47 go: finding github.com/hashicorp/serf v0.8.2 06:29:47 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:29:47 go: finding github.com/mattn/go-colorable v0.0.9 06:29:47 go: finding github.com/mattn/go-isatty v0.0.3 06:29:47 go: finding github.com/miekg/dns v1.0.14 06:29:47 go: finding github.com/mitchellh/cli v1.0.0 06:29:47 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:29:47 go: finding github.com/mitchellh/copystructure v1.0.0 06:29:47 go: finding github.com/mitchellh/go-homedir v1.0.0 06:29:47 + docker inspect -f . ci-base-image-x86_64 06:29:47 . [Pipeline] withDockerContainer 06:29:47 prd-centos7-docker-4c-2g-555 does not seem to be running inside a container 06:29:47 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:29:47 go: finding github.com/mitchellh/gox v0.4.0 06:29:47 go: finding github.com/mitchellh/iochan v1.0.0 06:29:47 go: finding github.com/mitchellh/mapstructure v1.1.2 06:29:47 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:29:47 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:29:47 go: finding github.com/pelletier/go-toml v1.2.0 06:29:47 go: finding github.com/pkg/errors v0.8.1 06:29:47 go: finding github.com/pmezard/go-difflib v1.0.0 06:29:47 go: finding github.com/posener/complete v1.1.1 06:29:47 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:29:47 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:29:47 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:29:47 go: finding github.com/spf13/cast v1.3.0 06:29:47 go: finding github.com/stretchr/objx v0.1.0 06:29:47 go: finding github.com/stretchr/testify v1.5.1 06:29:47 go: finding github.com/ugorji/go v1.1.4 06:29:47 go: finding github.com/x448/float16 v0.8.4 06:29:47 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:29:47 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:29:47 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:29:47 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:29:47 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:29:47 go: finding gopkg.in/yaml.v2 v2.2.8 06:29:48 $ docker top 7e41b284537beeb0672095d1ee97b03ab078f215245e6dc2acb54c3f4f0c75b5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:49 + go version 06:29:49 go version go1.13.13 linux/amd64 [Pipeline] sh 06:29:49 + make test 06:29:49 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:29:50 ? github.com/edgexfoundry/device-rest-go [no test files] 06:29:58 Removing intermediate container 5d8d1a4187fa 06:29:58 ---> 42ad9a4fee43 06:29:58 Successfully built 42ad9a4fee43 06:29:58 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:29:58 + docker inspect -f . ci-base-image-arm64 06:29:58 . [Pipeline] withDockerContainer 06:29:59 prd-ubuntu18.04-docker-arm64-4c-16g-554 does not seem to be running inside a container 06:29:59 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 06:30:00 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:30:00 ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 56.3% of statements 06:30:00 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:30:01 $ docker top b02c18fc65f99f9843680270089509069c4434fd4f855a9f99473505ecac9526 -eo pid,comm [Pipeline] { 06:30:01 gofmt -l . 06:30:01 [ "`gofmt -l .`" = "" ] 06:30:01 ./bin/test-go-mod-tidy.sh [Pipeline] sh 06:30:02 ./bin/test-attribution-txt.sh [Pipeline] stash 06:30:02 + go version 06:30:02 go version go1.13.13 linux/arm64 [Pipeline] sh 06:30:02 Stashed 1 file(s) [Pipeline] } 06:30:02 $ docker stop --time=1 7e41b284537beeb0672095d1ee97b03ab078f215245e6dc2acb54c3f4f0c75b5 06:30:03 + make test 06:30:03 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:30:04 ? github.com/edgexfoundry/device-rest-go [no test files] 06:30:04 $ docker rm -f 7e41b284537beeb0672095d1ee97b03ab078f215245e6dc2acb54c3f4f0c75b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:30:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:30:06 + ls -al . 06:30:06 total 96 06:30:06 drwxrwxr-x. 8 jenkins jenkins 4096 Jul 22 06:30 . 06:30:06 drwxrwxr-x. 4 jenkins jenkins 28 Jul 22 06:29 .. 06:30:06 -rw-rw-r--. 1 jenkins jenkins 4802 Jul 22 06:29 Attribution.txt 06:30:06 drwxrwxr-x. 2 jenkins jenkins 64 Jul 22 06:29 bin 06:30:06 drwxrwxr-x. 3 jenkins jenkins 32 Jul 22 06:29 cmd 06:30:06 -rw-r--r--. 1 jenkins jenkins 9369 Jul 22 06:29 coverage.out 06:30:06 -rw-rw-r--. 1 jenkins jenkins 1504 Jul 22 06:29 Dockerfile 06:30:06 -rw-rw-r--. 1 jenkins jenkins 989 Jul 22 06:29 Dockerfile.build 06:30:06 -rw-rw-r--. 1 jenkins jenkins 151 Jul 22 06:29 .dockerignore 06:30:06 drwxrwxr-x. 2 jenkins jenkins 93 Jul 22 06:29 driver 06:30:06 drwxrwxr-x. 8 jenkins jenkins 179 Jul 22 06:29 .git 06:30:06 drwxrwxr-x. 2 jenkins jenkins 38 Jul 22 06:29 .github 06:30:06 -rw-rw-r--. 1 jenkins jenkins 339 Jul 22 06:29 .gitignore 06:30:06 -rw-r--r--. 1 jenkins jenkins 266 Jul 22 06:30 go.mod 06:30:06 -rw-r--r--. 1 jenkins jenkins 12533 Jul 22 06:30 go.sum 06:30:06 -rw-rw-r--. 1 jenkins jenkins 702 Jul 22 06:29 Jenkinsfile 06:30:06 -rw-rw-r--. 1 jenkins jenkins 11340 Jul 22 06:29 LICENSE 06:30:06 -rw-rw-r--. 1 jenkins jenkins 951 Jul 22 06:29 Makefile 06:30:06 -rw-rw-r--. 1 jenkins jenkins 5716 Jul 22 06:29 README.md 06:30:06 drwxrwxr-x. 3 jenkins jenkins 45 Jul 22 06:29 .semver 06:30:06 -rw-rw-r--. 1 jenkins jenkins 5 Jul 22 06:26 VERSION 06:30:06 -rw-rw-r--. 1 jenkins jenkins 713 Jul 22 06:29 version.go [Pipeline] isUnix [Pipeline] sh 06:30:07 + 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=b28fb37fc25b16c08b3fc5641f69c6b03f186c00 --label arch=amd64 --label version=0.0.0 . 06:30:07 Sending build context to Docker daemon 8.032MB 06:30:07 Step 1/24 : ARG BASE=golang:1.13-alpine 06:30:07 Step 2/24 : FROM ${BASE} AS builder 06:30:07 ---> d608d4aa1f5d 06:30:07 Step 3/24 : ARG MAKE='make build' 06:30:07 ---> Running in 9ab39d81762a 06:30:07 Removing intermediate container 9ab39d81762a 06:30:07 ---> c354eb5bc9be 06:30:07 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 06:30:07 ---> Running in 1209030bfe91 06:30:07 Removing intermediate container 1209030bfe91 06:30:07 ---> 8d1f825e7ca1 06:30:07 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:30:07 ---> Running in c70dd2dad377 06:30:07 Removing intermediate container c70dd2dad377 06:30:07 ---> ea627cdd16e1 06:30:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:30:07 ---> Running in 4ecf1bfc8671 06:30:08 Removing intermediate container 4ecf1bfc8671 06:30:08 ---> 911c0369bb60 06:30:08 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:30:08 ---> Running in dcf1408599a0 06:30:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:30:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:30:10 OK: 166 MiB in 39 packages 06:30:11 Removing intermediate container dcf1408599a0 06:30:11 ---> 8b210e504693 06:30:11 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 06:30:11 ---> Running in f117f7c55537 06:30:11 Removing intermediate container f117f7c55537 06:30:11 ---> 0e32457ac207 06:30:11 Step 9/24 : COPY go.mod . 06:30:11 ---> a0b2bb37f05b 06:30:11 Step 10/24 : COPY Makefile . 06:30:11 ---> f5d81c531638 06:30:11 Step 11/24 : RUN make update 06:30:11 ---> Running in 64705cc6fca9 06:30:12 CGO_ENABLED=0 GO111MODULE=on go mod download 06:30:12 Removing intermediate container 64705cc6fca9 06:30:12 ---> 7f883a402476 06:30:12 Step 12/24 : COPY . . 06:30:13 ---> fc29d61e2e45 06:30:13 Step 13/24 : RUN $MAKE 06:30:13 ---> Running in 061c3dbddfad 06:30:13 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:30:23 Removing intermediate container 061c3dbddfad 06:30:23 ---> c392d9920e8d 06:30:23 Step 14/24 : FROM alpine:latest 06:30:24 latest: Pulling from library/alpine 06:30:24 df20fa9351a1: Already exists 06:30:24 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 06:30:24 Status: Downloaded newer image for alpine:latest 06:30:24 ---> a24bb4013296 06:30:24 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:30:24 ---> Running in e9b3ca4a1944 06:30:24 Removing intermediate container e9b3ca4a1944 06:30:24 ---> 99061ee9f5d9 06:30:24 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 06:30:24 ---> Running in e19ac91967fe 06:30:24 Removing intermediate container e19ac91967fe 06:30:24 ---> 11763246b1e9 06:30:24 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 06:30:25 ---> 4c759d969ff8 06:30:25 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 06:30:25 ---> 7e5c09887b18 06:30:25 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 06:30:25 ---> 9d1ce57c61c3 06:30:25 Step 20/24 : EXPOSE 49986 06:30:25 ---> Running in 6ffdd9fcbbd0 06:30:25 Removing intermediate container 6ffdd9fcbbd0 06:30:25 ---> 636eed4c264b 06:30:25 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 06:30:26 ---> Running in d88774391027 06:30:26 Removing intermediate container d88774391027 06:30:26 ---> 454e3b520eb4 06:30:26 Step 22/24 : LABEL arch=amd64 06:30:26 ---> Running in 3b7282cc4157 06:30:26 Removing intermediate container 3b7282cc4157 06:30:26 ---> 13ce7dc46599 06:30:26 Step 23/24 : LABEL git_sha=b28fb37fc25b16c08b3fc5641f69c6b03f186c00 06:30:26 ---> Running in 1c96f0e9c8b2 06:30:26 Removing intermediate container 1c96f0e9c8b2 06:30:26 ---> ca29e2f8ca9d 06:30:26 Step 24/24 : LABEL version=0.0.0 06:30:26 ---> Running in 18e554449def 06:30:27 Removing intermediate container 18e554449def 06:30:27 ---> 3b38bbc5fc42 06:30:27 [Warning] One or more build-args [ARCH] were not consumed 06:30:27 Successfully built 3b38bbc5fc42 06:30:27 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:30:37 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:30:37 ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 56.3% of statements 06:30:37 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:30:41 gofmt -l . 06:30:41 [ "`gofmt -l .`" = "" ] 06:30:41 ./bin/test-go-mod-tidy.sh 06:30:41 ./bin/test-attribution-txt.sh [Pipeline] stash 06:30:41 Warning: overwriting stash ‘coverage-report’ 06:30:42 Stashed 1 file(s) [Pipeline] } 06:30:42 $ docker stop --time=1 b02c18fc65f99f9843680270089509069c4434fd4f855a9f99473505ecac9526 06:30:44 $ docker rm -f b02c18fc65f99f9843680270089509069c4434fd4f855a9f99473505ecac9526 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:30:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:30:46 + ls -al . 06:30:46 total 124 06:30:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 06:30 . 06:30:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 06:28 .. 06:30:46 -rw-rw-r-- 1 jenkins jenkins 151 Jul 22 06:28 .dockerignore 06:30:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 06:28 .git 06:30:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 06:28 .github 06:30:46 -rw-rw-r-- 1 jenkins jenkins 339 Jul 22 06:28 .gitignore 06:30:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 06:28 .semver 06:30:46 -rw-rw-r-- 1 jenkins jenkins 4802 Jul 22 06:28 Attribution.txt 06:30:46 -rw-rw-r-- 1 jenkins jenkins 1504 Jul 22 06:28 Dockerfile 06:30:46 -rw-rw-r-- 1 jenkins jenkins 989 Jul 22 06:28 Dockerfile.build 06:30:46 -rw-rw-r-- 1 jenkins jenkins 702 Jul 22 06:28 Jenkinsfile 06:30:46 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 22 06:28 LICENSE 06:30:46 -rw-rw-r-- 1 jenkins jenkins 951 Jul 22 06:28 Makefile 06:30:46 -rw-rw-r-- 1 jenkins jenkins 5716 Jul 22 06:28 README.md 06:30:46 -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 06:26 VERSION 06:30:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 06:28 bin 06:30:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 06:28 cmd 06:30:46 -rw-r--r-- 1 jenkins jenkins 9369 Jul 22 06:30 coverage.out 06:30:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 06:30 driver 06:30:46 -rw-r--r-- 1 jenkins jenkins 266 Jul 22 06:30 go.mod 06:30:46 -rw-r--r-- 1 jenkins jenkins 12533 Jul 22 06:30 go.sum 06:30:46 -rw-rw-r-- 1 jenkins jenkins 713 Jul 22 06:28 version.go [Pipeline] isUnix [Pipeline] sh 06:30:47 + 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=b28fb37fc25b16c08b3fc5641f69c6b03f186c00 --label arch=arm64 --label version=0.0.0 . 06:30:47 Sending build context to Docker daemon 8.032MB 06:30:47 Step 1/24 : ARG BASE=golang:1.13-alpine 06:30:47 Step 2/24 : FROM ${BASE} AS builder 06:30:47 ---> 42ad9a4fee43 06:30:47 Step 3/24 : ARG MAKE='make build' 06:30:47 ---> Running in 875f6ada1f02 06:30:48 Removing intermediate container 875f6ada1f02 06:30:48 ---> 83953c760171 06:30:48 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 06:30:48 ---> Running in e21aec4cba05 06:30:48 Removing intermediate container e21aec4cba05 06:30:48 ---> 63b8ba8a70ba 06:30:48 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:30:49 ---> Running in 1211fc311392 06:30:49 Removing intermediate container 1211fc311392 06:30:49 ---> aeecea84a09a 06:30:49 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:30:49 ---> Running in fe5739b987a3 06:30:52 Removing intermediate container fe5739b987a3 06:30:52 ---> 52d432fbfd8f 06:30:52 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:30:52 ---> Running in 17c5c4aadb80 06:30:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:30:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:30:55 OK: 142 MiB in 39 packages 06:30:56 Removing intermediate container 17c5c4aadb80 06:30:56 ---> d7a909f06e8f 06:30:56 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 06:30:56 ---> Running in 6c990dee33ca 06:30:57 Removing intermediate container 6c990dee33ca 06:30:57 ---> 088bd5c6ac9c 06:30:57 Step 9/24 : COPY go.mod . 06:30:57 ---> 08e896a43867 06:30:57 Step 10/24 : COPY Makefile . 06:30:58 ---> 066f541582c1 06:30:58 Step 11/24 : RUN make update 06:30:58 ---> Running in 971fadc44be7 06:31:00 CGO_ENABLED=0 GO111MODULE=on go mod download 06:31:01 Removing intermediate container 971fadc44be7 06:31:01 ---> f67e81ff77a9 06:31:01 Step 12/24 : COPY . . 06:31:02 ---> 2fa74a4bfb95 06:31:02 Step 13/24 : RUN $MAKE 06:31:02 ---> Running in 766d1900a4c3 06:31:04 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:31:31 Removing intermediate container 766d1900a4c3 06:31:31 ---> 9fa674a98807 06:31:31 Step 14/24 : FROM alpine:latest 06:31:31 latest: Pulling from library/alpine 06:31:31 b538f80385f9: Already exists 06:31:31 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 06:31:31 Status: Downloaded newer image for alpine:latest 06:31:31 ---> 62ee0e9f8440 06:31:31 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:31:31 ---> Running in 220e2c306540 06:31:31 Removing intermediate container 220e2c306540 06:31:31 ---> 733807229db2 06:31:31 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 06:31:31 ---> Running in 8849d3434a61 06:31:31 Removing intermediate container 8849d3434a61 06:31:31 ---> a6a4f140e6f3 06:31:31 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 06:31:32 ---> 8aed897ee20b 06:31:32 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 06:31:33 ---> 86dfbb186d8a 06:31:33 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 06:31:34 ---> e90fba462f89 06:31:34 Step 20/24 : EXPOSE 49986 06:31:34 ---> Running in 99b33dd80cc3 06:31:35 Removing intermediate container 99b33dd80cc3 06:31:35 ---> 56a3d2ec4c60 06:31:35 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 06:31:35 ---> Running in ea98383f4afa 06:31:36 Removing intermediate container ea98383f4afa 06:31:36 ---> b2aed64d395b 06:31:36 Step 22/24 : LABEL arch=arm64 06:31:36 ---> Running in 21028f459eeb 06:31:37 Removing intermediate container 21028f459eeb 06:31:37 ---> 9fdeaf1f647b 06:31:37 Step 23/24 : LABEL git_sha=b28fb37fc25b16c08b3fc5641f69c6b03f186c00 06:31:37 ---> Running in 5024e182be18 06:31:37 Removing intermediate container 5024e182be18 06:31:37 ---> 1aaabe0927b0 06:31:37 Step 24/24 : LABEL version=0.0.0 06:31:37 ---> Running in dafdbb0bdfa6 06:31:38 Removing intermediate container dafdbb0bdfa6 06:31:38 ---> d8c50153ed1c 06:31:38 [Warning] One or more build-args [ARCH] were not consumed 06:31:38 Successfully built d8c50153ed1c 06:31:38 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:31:40 provisioning config files... 06:31:40 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-32@tmp/config3394204895256326061tmp [Pipeline] { [Pipeline] sh 06:31:40 + curl -s https://codecov.io/bash 06:31:40 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-32@tmp/config3394204895256326061tmp [Pipeline] } 06:31:41 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:31:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:31:44 ---> package-listing.sh 06:31:44 ++ facter osfamily 06:31:44 ++ tr '[:upper:]' '[:lower:]' 06:31:44 + OS_FAMILY=redhat 06:31:44 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-32 06:31:44 + START_PACKAGES=/tmp/packages_start.txt 06:31:44 + END_PACKAGES=/tmp/packages_end.txt 06:31:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:31:44 + PACKAGES=/tmp/packages_start.txt 06:31:44 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-32 ']' 06:31:44 + PACKAGES=/tmp/packages_end.txt 06:31:44 + case "${OS_FAMILY}" in 06:31:44 + rpm -qa 06:31:44 + sort 06:31:48 + '[' -f /tmp/packages_start.txt ']' 06:31:48 + '[' -f /tmp/packages_end.txt ']' 06:31:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:31:48 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-32 ']' 06:31:48 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-32/archives/ 06:31:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-32/archives/ [Pipeline] isUnix [Pipeline] sh 06:31:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:31:48 06:31:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:31:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:31:49 alpine: Pulling from edgex-lftools-log-publisher 06:31:49 c9b1b535fdd9: Pulling fs layer 06:31:49 2cc5ad85d9ab: Pulling fs layer 06:31:49 756a868c4378: Pulling fs layer 06:31:49 444b2fc9a129: Pulling fs layer 06:31:49 ea15f1150254: Pulling fs layer 06:31:49 41b27a9f41bf: Pulling fs layer 06:31:49 28c525ee5125: Pulling fs layer 06:31:49 094b1ea09ed8: Pulling fs layer 06:31:49 138eaada9080: Pulling fs layer 06:31:49 0622d0fa9048: Pulling fs layer 06:31:49 41b27a9f41bf: Waiting 06:31:49 28c525ee5125: Waiting 06:31:49 094b1ea09ed8: Waiting 06:31:49 138eaada9080: Waiting 06:31:49 0622d0fa9048: Waiting 06:31:49 444b2fc9a129: Waiting 06:31:49 ea15f1150254: Waiting 06:31:49 2cc5ad85d9ab: Download complete 06:31:49 444b2fc9a129: Verifying Checksum 06:31:49 444b2fc9a129: Download complete 06:31:49 c9b1b535fdd9: Verifying Checksum 06:31:49 c9b1b535fdd9: Download complete 06:31:49 ea15f1150254: Verifying Checksum 06:31:49 ea15f1150254: Download complete 06:31:49 28c525ee5125: Download complete 06:31:49 756a868c4378: Download complete 06:31:49 c9b1b535fdd9: Pull complete 06:31:49 138eaada9080: Verifying Checksum 06:31:49 138eaada9080: Download complete 06:31:49 094b1ea09ed8: Verifying Checksum 06:31:49 094b1ea09ed8: Download complete 06:31:49 0622d0fa9048: Verifying Checksum 06:31:49 0622d0fa9048: Download complete 06:31:49 2cc5ad85d9ab: Pull complete 06:31:50 41b27a9f41bf: Verifying Checksum 06:31:50 41b27a9f41bf: Download complete 06:31:51 756a868c4378: Pull complete 06:31:51 444b2fc9a129: Pull complete 06:31:51 ea15f1150254: Pull complete 06:31:55 41b27a9f41bf: Pull complete 06:31:55 28c525ee5125: Pull complete 06:31:58 094b1ea09ed8: Pull complete 06:31:58 138eaada9080: Pull complete 06:31:58 0622d0fa9048: Pull complete 06:31:58 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 06:31:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:31:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:31:58 prd-centos7-docker-4c-2g-553 does not seem to be running inside a container 06:31:58 $ 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-32 -v /w/workspace/dgexfoundry_device-rest-go_PR-32:/w/workspace/dgexfoundry_device-rest-go_PR-32:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-32@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:32:02 $ docker top da08125f05c0ee0ae8318ca077c5af386a62f3799e03bc0aca09565594fd052a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:32:03 provisioning config files... 06:32:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-32@tmp/config8117260206794629204tmp [Pipeline] { [Pipeline] echo 06:32:03 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:32:03 ---> create-netrc.sh [Pipeline] echo 06:32:03 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:32:03 ---> logs-deploy.sh 06:32:03 + ARCHIVE_ARTIFACTS= 06:32:03 + LOGS_SERVER=https://logs.edgexfoundry.org 06:32:03 + '[' https://logs.edgexfoundry.org == None ']' 06:32:03 + NEXUS_URL=https://nexus.edgexfoundry.org 06:32:03 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-32/1 06:32:03 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-32/1/ 06:32:03 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-32/1 /w/workspace/dgexfoundry_device-rest-go_PR-32 06:32:05 Archives upload complete. 06:32:05 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-32/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-32/1/