Pull request #521 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-sdk-go Obtained Jenkinsfile from 66253e6ade2e13e0af245440dfc00d8506da17ab+a939715cd6b2ce15799d62ce2550d8dc39d33fc5 (bb59cd9ef5a19d28b764cb271a41021521d9097a) 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 a8d5489117fb74ecf2babedeac9793ec80335c77 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-sdk-go/branches/PR-521/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 a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > 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-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false 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-7058 in /w/workspace/dgexfoundry_device-sdk-go_PR-521 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-521 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit a939715cd6b2ce15799d62ce2550d8dc39d33fc5 into PR head commit 66253e6ade2e13e0af245440dfc00d8506da17ab Merge succeeded, producing 66253e6ade2e13e0af245440dfc00d8506da17ab Checking out Revision 66253e6ade2e13e0af245440dfc00d8506da17ab (PR-521) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/521/head:refs/remotes/origin/PR-521 # 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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66253e6ade2e13e0af245440dfc00d8506da17ab # 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 a939715cd6b2ce15799d62ce2550d8dc39d33fc5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66253e6ade2e13e0af245440dfc00d8506da17ab # timeout=10 Commit message: "fix: fix device service config stem in consul" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:35:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:35:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:35:56 ========================================================= 03:35:56 EdgeX Global Pipelines Version Info 03:35:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:35:58 ------------------- 03:35:58 stable info: 03:35:58 ------------------- 03:35:58 Commited By: Emilio Reyes emilio.reyes@intel.com 03:35:58 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 03:35:58 Message: update stable to v1.0.87 03:35:58 ------------------- 03:35:58 experimental info: 03:35:58 ------------------- 03:35:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:35:58 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 03:35:58 Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 03:36:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:36:01 03:36:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:36:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:36:01 latest: Pulling from edgex-devops/git-semver 03:36:01 9123ac7c32f7: Pulling fs layer 03:36:01 b8cc5d1170e3: Pulling fs layer 03:36:01 2924cbbf6a41: Pulling fs layer 03:36:01 93b08a4f1073: Pulling fs layer 03:36:01 93b08a4f1073: Waiting 03:36:01 b8cc5d1170e3: Verifying Checksum 03:36:01 b8cc5d1170e3: Download complete 03:36:02 9123ac7c32f7: Download complete 03:36:02 93b08a4f1073: Verifying Checksum 03:36:02 93b08a4f1073: Download complete 03:36:02 2924cbbf6a41: Verifying Checksum 03:36:02 2924cbbf6a41: Download complete 03:36:02 9123ac7c32f7: Pull complete 03:36:02 b8cc5d1170e3: Pull complete 03:36:03 2924cbbf6a41: Pull complete 03:36:03 93b08a4f1073: Pull complete 03:36:03 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 03:36:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:36:03 prd-centos7-docker-4c-2g-7058 does not seem to be running inside a container 03:36:03 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-521 -v /w/workspace/dgexfoundry_device-sdk-go_PR-521:/w/workspace/dgexfoundry_device-sdk-go_PR-521:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-521@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 03:36:04 $ docker top b6d23ea24f8454291f622351fc16c3ff94ac9888f7c083ee22395b82a0268460 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:36:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:36:04 [ssh-agent] Looking for ssh-agent implementation... 03:36:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:36:04 $ docker exec b6d23ea24f8454291f622351fc16c3ff94ac9888f7c083ee22395b82a0268460 ssh-agent 03:36:04 SSH_AUTH_SOCK=/tmp/ssh-Zw2o3BCITqEh/agent.15 03:36:04 SSH_AGENT_PID=22 03:36:04 Running ssh-add (command line suppressed) 03:36:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp/private_key_6200381959707140986.key (/w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp/private_key_6200381959707140986.key) 03:36:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:36:05 + git describe --exact-match --tags HEAD 03:36:05 fatal: No names found, cannot describe anything. [Pipeline] } 03:36:05 $ docker exec --env ******** --env ******** b6d23ea24f8454291f622351fc16c3ff94ac9888f7c083ee22395b82a0268460 ssh-agent -k 03:36:05 unset SSH_AUTH_SOCK; 03:36:05 unset SSH_AGENT_PID; 03:36:05 echo Agent pid 22 killed; 03:36:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:36:05 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:36:05 This usually means this commit has not been tagged. [Pipeline] sshagent 03:36:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:36:05 [ssh-agent] Looking for ssh-agent implementation... 03:36:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:36:06 $ docker exec b6d23ea24f8454291f622351fc16c3ff94ac9888f7c083ee22395b82a0268460 ssh-agent 03:36:06 SSH_AUTH_SOCK=/tmp/ssh-XvSOj2nrS2nH/agent.57 03:36:06 SSH_AGENT_PID=64 03:36:06 Running ssh-add (command line suppressed) 03:36:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp/private_key_8617731866691784118.key (/w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp/private_key_8617731866691784118.key) 03:36:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:36:06 + git semver init 03:36:06 # -> Open(): unable to determine branch for HEAD 03:36:06 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-521/.git 03:36:06 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-521 03:36:06 # $SEMVER_REMOTE_NAME = origin 03:36:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:36:06 # $SEMVER_USER_NAME = edgex-jenkins 03:36:06 # $SEMVER_BRANCH = PR-521 03:36:06 # $SEMVER_TEMP = /tmp/semver-599086837 03:36:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:36:07 # '/tmp/semver-599086837' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-521/.semver' 03:36:07 # -> Force: false 03:36:07 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-521/.semver [Pipeline] } 03:36:07 $ docker exec --env ******** --env ******** b6d23ea24f8454291f622351fc16c3ff94ac9888f7c083ee22395b82a0268460 ssh-agent -k 03:36:07 unset SSH_AUTH_SOCK; 03:36:07 unset SSH_AGENT_PID; 03:36:07 echo Agent pid 64 killed; 03:36:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:36:08 + git semver [Pipeline] } 03:36:08 $ docker stop --time=1 b6d23ea24f8454291f622351fc16c3ff94ac9888f7c083ee22395b82a0268460 03:36:09 $ docker rm -f b6d23ea24f8454291f622351fc16c3ff94ac9888f7c083ee22395b82a0268460 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:36:10 Stashed 61 file(s) [Pipeline] echo 03:36:10 [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 03:36:26 Still waiting to schedule task 03:36:26 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:36:26 Still waiting to schedule task 03:36:26 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:38:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-7059 in /w/workspace/dgexfoundry_device-sdk-go_PR-521 [Pipeline] { [Pipeline] ws 03:38:17 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:38:23 using credential edgex-jenkins-ssh 03:38:23 Cloning the remote Git repository 03:38:23 Cloning with configured refspecs honoured and without tags 03:38:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:38:23 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:38:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:38:23 > git --version # timeout=10 03:38:23 using GIT_SSH to set credentials SSH Credentials for GitHub 03:38:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:38:24 Fetching without tags 03:38:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:38:24 > git config --add remote.origin.fetch +refs/pull/521/head:refs/remotes/origin/PR-521 # timeout=10 03:38:24 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:38:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:38:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:38:24 using GIT_SSH to set credentials SSH Credentials for GitHub 03:38:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:38:25 Merging remotes/origin/master commit a939715cd6b2ce15799d62ce2550d8dc39d33fc5 into PR head commit 66253e6ade2e13e0af245440dfc00d8506da17ab 03:38:25 Merge succeeded, producing 66253e6ade2e13e0af245440dfc00d8506da17ab 03:38:25 Checking out Revision 66253e6ade2e13e0af245440dfc00d8506da17ab (PR-521) 03:38:25 > git config core.sparsecheckout # timeout=10 03:38:25 > git checkout -f 66253e6ade2e13e0af245440dfc00d8506da17ab # timeout=10 03:38:25 > git remote # timeout=10 03:38:25 > git config --get remote.origin.url # timeout=10 03:38:25 using GIT_SSH to set credentials SSH Credentials for GitHub 03:38:25 > git merge a939715cd6b2ce15799d62ce2550d8dc39d33fc5 # timeout=10 03:38:25 > git rev-parse HEAD^{commit} # timeout=10 03:38:25 > git config core.sparsecheckout # timeout=10 03:38:25 > git checkout -f 66253e6ade2e13e0af245440dfc00d8506da17ab # timeout=10 03:38:30 Commit message: "fix: fix device service config stem in consul" 03:38:30 > git --version # timeout=10 03:38:30 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:38:32 ========================================================= 03:38:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:38:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:38:33 + 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 . 03:38:34 Sending build context to Docker daemon 3.03MB 03:38:34 Step 1/8 : ARG BASE=golang:1.13-alpine 03:38:34 Step 2/8 : FROM ${BASE} 03:38:34 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:38:34 cde5963f3b93: Pulling fs layer 03:38:34 2a23fa8c16f7: Pulling fs layer 03:38:34 777b28850792: Pulling fs layer 03:38:34 8a11ddd9e578: Pulling fs layer 03:38:34 4cf88f913ddb: Pulling fs layer 03:38:34 1df406cf5192: Pulling fs layer 03:38:34 cd6300453558: Pulling fs layer 03:38:34 b9c365052c96: Pulling fs layer 03:38:34 a2d8cc88f415: Pulling fs layer 03:38:34 ea1d1ca13537: Pulling fs layer 03:38:34 3750a50a1c5e: Pulling fs layer 03:38:34 8a11ddd9e578: Waiting 03:38:34 4cf88f913ddb: Waiting 03:38:34 1df406cf5192: Waiting 03:38:34 cd6300453558: Waiting 03:38:34 b9c365052c96: Waiting 03:38:34 a2d8cc88f415: Waiting 03:38:34 ea1d1ca13537: Waiting 03:38:34 3750a50a1c5e: Waiting 03:38:34 777b28850792: Verifying Checksum 03:38:34 777b28850792: Download complete 03:38:35 2a23fa8c16f7: Download complete 03:38:35 4cf88f913ddb: Verifying Checksum 03:38:35 4cf88f913ddb: Download complete 03:38:35 1df406cf5192: Verifying Checksum 03:38:35 1df406cf5192: Download complete 03:38:35 cde5963f3b93: Verifying Checksum 03:38:35 cde5963f3b93: Download complete 03:38:36 cde5963f3b93: Pull complete 03:38:36 2a23fa8c16f7: Pull complete 03:38:36 777b28850792: Pull complete 03:38:39 cd6300453558: Verifying Checksum 03:38:39 cd6300453558: Download complete 03:38:39 a2d8cc88f415: Verifying Checksum 03:38:39 a2d8cc88f415: Download complete 03:38:42 ea1d1ca13537: Verifying Checksum 03:38:42 ea1d1ca13537: Download complete 03:38:42 3750a50a1c5e: Download complete 03:38:44 b9c365052c96: Verifying Checksum 03:38:44 b9c365052c96: Download complete 03:38:46 8a11ddd9e578: Verifying Checksum 03:38:46 8a11ddd9e578: Download complete 03:38:52 Running on prd-centos7-docker-4c-2g-7060 in /w/workspace/dgexfoundry_device-sdk-go_PR-521 [Pipeline] { [Pipeline] ws 03:38:53 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:38:55 using credential edgex-jenkins-ssh 03:38:55 Cloning the remote Git repository 03:38:55 Cloning with configured refspecs honoured and without tags 03:38:55 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:38:55 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:38:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:38:55 > git --version # timeout=10 03:38:55 using GIT_SSH to set credentials SSH Credentials for GitHub 03:38:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:38:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:38:56 Fetching without tags 03:38:57 Merging remotes/origin/master commit a939715cd6b2ce15799d62ce2550d8dc39d33fc5 into PR head commit 66253e6ade2e13e0af245440dfc00d8506da17ab 03:38:57 Merge succeeded, producing 66253e6ade2e13e0af245440dfc00d8506da17ab 03:38:57 Checking out Revision 66253e6ade2e13e0af245440dfc00d8506da17ab (PR-521) 03:38:56 > git config --add remote.origin.fetch +refs/pull/521/head:refs/remotes/origin/PR-521 # timeout=10 03:38:56 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:38:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:38:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:38:56 using GIT_SSH to set credentials SSH Credentials for GitHub 03:38:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:38:56 > git config core.sparsecheckout # timeout=10 03:38:56 > git checkout -f 66253e6ade2e13e0af245440dfc00d8506da17ab # timeout=10 03:38:56 > git remote # timeout=10 03:38:56 > git config --get remote.origin.url # timeout=10 03:38:56 using GIT_SSH to set credentials SSH Credentials for GitHub 03:38:56 > git merge a939715cd6b2ce15799d62ce2550d8dc39d33fc5 # timeout=10 03:38:56 > git rev-parse HEAD^{commit} # timeout=10 03:38:56 > git config core.sparsecheckout # timeout=10 03:38:56 > git checkout -f 66253e6ade2e13e0af245440dfc00d8506da17ab # timeout=10 03:38:58 8a11ddd9e578: Pull complete 03:38:58 4cf88f913ddb: Pull complete 03:38:58 1df406cf5192: Pull complete 03:39:01 Commit message: "fix: fix device service config stem in consul" 03:39:01 > git --version # timeout=10 03:39:01 fatal: bad object a8d5489117fb74ecf2babedeac9793ec80335c77 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 03:39:02 cd6300453558: Pull complete [Pipeline] echo 03:39:02 ========================================================= 03:39:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:39:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:39:03 + 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 . 03:39:03 Sending build context to Docker daemon 3.03MB 03:39:03 Step 1/8 : ARG BASE=golang:1.13-alpine 03:39:03 Step 2/8 : FROM ${BASE} 03:39:03 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:39:03 e6b0cf9c0882: Pulling fs layer 03:39:03 2848faf0eed1: Pulling fs layer 03:39:03 0f37312ad70f: Pulling fs layer 03:39:03 5788d62ee057: Pulling fs layer 03:39:03 0e6b1d234666: Pulling fs layer 03:39:03 bf5d7aec512f: Pulling fs layer 03:39:03 34c802a77dc8: Pulling fs layer 03:39:03 9eb99e56ec68: Pulling fs layer 03:39:03 27c7a5d97fbd: Pulling fs layer 03:39:03 5c102a31e300: Pulling fs layer 03:39:03 dcfb455df0a1: Pulling fs layer 03:39:03 34c802a77dc8: Waiting 03:39:03 5788d62ee057: Waiting 03:39:03 9eb99e56ec68: Waiting 03:39:03 27c7a5d97fbd: Waiting 03:39:03 dcfb455df0a1: Waiting 03:39:03 0e6b1d234666: Waiting 03:39:03 bf5d7aec512f: Waiting 03:39:03 5c102a31e300: Waiting 03:39:03 0f37312ad70f: Verifying Checksum 03:39:03 0f37312ad70f: Download complete 03:39:03 2848faf0eed1: Verifying Checksum 03:39:03 2848faf0eed1: Download complete 03:39:03 0e6b1d234666: Verifying Checksum 03:39:03 0e6b1d234666: Download complete 03:39:03 e6b0cf9c0882: Verifying Checksum 03:39:03 e6b0cf9c0882: Download complete 03:39:03 bf5d7aec512f: Verifying Checksum 03:39:03 bf5d7aec512f: Download complete 03:39:04 e6b0cf9c0882: Pull complete 03:39:04 2848faf0eed1: Pull complete 03:39:04 34c802a77dc8: Verifying Checksum 03:39:04 34c802a77dc8: Download complete 03:39:04 27c7a5d97fbd: Verifying Checksum 03:39:04 27c7a5d97fbd: Download complete 03:39:05 5c102a31e300: Verifying Checksum 03:39:05 5c102a31e300: Download complete 03:39:05 dcfb455df0a1: Verifying Checksum 03:39:05 dcfb455df0a1: Download complete 03:39:05 5788d62ee057: Verifying Checksum 03:39:05 5788d62ee057: Download complete 03:39:05 9eb99e56ec68: Verifying Checksum 03:39:05 9eb99e56ec68: Download complete 03:39:06 0f37312ad70f: Pull complete 03:39:08 b9c365052c96: Pull complete 03:39:08 a2d8cc88f415: Pull complete 03:39:10 ea1d1ca13537: Pull complete 03:39:10 3750a50a1c5e: Pull complete 03:39:10 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 03:39:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:39:10 ---> 78745c68409d 03:39:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:39:13 5788d62ee057: Pull complete 03:39:13 0e6b1d234666: Pull complete 03:39:13 bf5d7aec512f: Pull complete 03:39:14 ---> Running in 2f2185702a14 03:39:14 Removing intermediate container 2f2185702a14 03:39:14 ---> 0d382f196d21 03:39:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:39:14 ---> Running in 7862b6635b4f 03:39:16 Removing intermediate container 7862b6635b4f 03:39:16 ---> a31a6d10487e 03:39:16 Step 5/8 : RUN apk add --no-cache make git 03:39:16 ---> Running in ece8ce220ef0 03:39:17 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:39:17 34c802a77dc8: Pull complete 03:39:18 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:39:18 OK: 125 MiB in 39 packages 03:39:19 Removing intermediate container ece8ce220ef0 03:39:19 ---> 4bba447413a8 03:39:19 Step 6/8 : WORKDIR /device-sdk-go 03:39:19 ---> Running in c55288ebe4d2 03:39:20 Removing intermediate container c55288ebe4d2 03:39:20 ---> 1e3f6af7a330 03:39:20 Step 7/8 : COPY . . 03:39:21 ---> fed44486bf9b 03:39:21 Step 8/8 : RUN go mod download 03:39:21 ---> Running in 7345eb89cc89 03:39:21 9eb99e56ec68: Pull complete 03:39:21 27c7a5d97fbd: Pull complete 03:39:22 5c102a31e300: Pull complete 03:39:22 dcfb455df0a1: Pull complete 03:39:22 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 03:39:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:39:22 ---> 7c70fe431013 03:39:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:39:22 ---> Running in 24f29729fc03 03:39:22 Removing intermediate container 24f29729fc03 03:39:22 ---> 7c2cbc0b7e90 03:39:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:39:22 ---> Running in 2309da9fb939 03:39:23 Removing intermediate container 2309da9fb939 03:39:23 ---> a253b3e54eeb 03:39:23 Step 5/8 : RUN apk add --no-cache make git 03:39:23 ---> Running in 98794efb1255 03:39:24 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:39:24 go: finding github.com/BurntSushi/toml v0.3.1 03:39:24 go: finding github.com/OneOfOne/xxhash v1.2.6 03:39:24 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:39:24 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:39:24 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:39:24 go: finding github.com/bgentry/speakeasy v0.1.0 03:39:24 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:39:24 go: finding github.com/davecgh/go-spew v1.1.1 03:39:24 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 03:39:24 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:39:24 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:39:24 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:39:24 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:39:24 go: finding github.com/fatih/color v1.7.0 03:39:24 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:39:25 go: finding github.com/go-kit/kit v0.8.0 03:39:25 go: finding github.com/go-logfmt/logfmt v0.4.0 03:39:25 go: finding github.com/go-stack/stack v1.8.0 03:39:25 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:39:25 go: finding github.com/google/uuid v1.1.0 03:39:25 go: finding github.com/gorilla/mux v1.7.1 03:39:25 go: finding github.com/hashicorp/consul/api v1.1.0 03:39:25 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:39:25 go: finding github.com/hashicorp/errwrap v1.0.0 03:39:25 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:39:25 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:39:25 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:39:25 go: finding github.com/hashicorp/go-multierror v1.0.0 03:39:25 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:39:25 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:39:25 OK: 143 MiB in 39 packages 03:39:25 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:39:25 go: finding github.com/hashicorp/go-syslog v1.0.0 03:39:25 go: finding github.com/hashicorp/go-uuid v1.0.1 03:39:25 go: finding github.com/hashicorp/go.net v0.0.1 03:39:25 go: finding github.com/hashicorp/golang-lru v0.5.0 03:39:25 go: finding github.com/hashicorp/logutils v1.0.0 03:39:25 go: finding github.com/hashicorp/mdns v1.0.0 03:39:25 go: finding github.com/hashicorp/memberlist v0.1.3 03:39:25 go: finding github.com/hashicorp/serf v0.8.2 03:39:25 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:39:25 go: finding github.com/mattn/go-colorable v0.0.9 03:39:25 go: finding github.com/mattn/go-isatty v0.0.3 03:39:25 go: finding github.com/miekg/dns v1.0.14 03:39:25 go: finding github.com/mitchellh/cli v1.0.0 03:39:25 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:39:26 Removing intermediate container 98794efb1255 03:39:26 ---> d35379e2546d 03:39:26 Step 6/8 : WORKDIR /device-sdk-go 03:39:26 ---> Running in e0923afd0968 03:39:26 Removing intermediate container e0923afd0968 03:39:26 ---> b02bf1108a1f 03:39:26 Step 7/8 : COPY . . 03:39:26 go: finding github.com/mitchellh/copystructure v1.0.0 03:39:26 go: finding github.com/mitchellh/go-homedir v1.0.0 03:39:26 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:39:26 go: finding github.com/mitchellh/gox v0.4.0 03:39:26 go: finding github.com/mitchellh/iochan v1.0.0 03:39:26 go: finding github.com/mitchellh/mapstructure v1.1.2 03:39:26 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:39:26 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:39:26 go: finding github.com/pelletier/go-toml v1.2.0 03:39:26 go: finding github.com/pkg/errors v0.8.1 03:39:26 go: finding github.com/pmezard/go-difflib v1.0.0 03:39:26 go: finding github.com/posener/complete v1.1.1 03:39:26 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:39:26 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:39:26 ---> 38fbb97589cd 03:39:26 Step 8/8 : RUN go mod download 03:39:26 go: finding github.com/stretchr/objx v0.1.0 03:39:26 go: finding github.com/stretchr/testify v1.5.1 03:39:26 go: finding github.com/ugorji/go v1.1.4 03:39:26 go: finding github.com/x448/float16 v0.8.4 03:39:26 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:39:26 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:39:26 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:39:26 ---> Running in 6502be26e776 03:39:27 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:39:27 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:39:27 go: finding gopkg.in/yaml.v2 v2.2.8 03:39:29 go: finding github.com/BurntSushi/toml v0.3.1 03:39:29 go: finding github.com/OneOfOne/xxhash v1.2.6 03:39:29 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:39:29 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:39:29 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:39:29 go: finding github.com/bgentry/speakeasy v0.1.0 03:39:29 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:39:29 go: finding github.com/davecgh/go-spew v1.1.1 03:39:29 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 03:39:29 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:39:29 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:39:29 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:39:29 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:39:29 go: finding github.com/fatih/color v1.7.0 03:39:29 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:39:29 go: finding github.com/go-kit/kit v0.8.0 03:39:30 go: finding github.com/go-logfmt/logfmt v0.4.0 03:39:30 go: finding github.com/go-stack/stack v1.8.0 03:39:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:39:30 go: finding github.com/google/uuid v1.1.0 03:39:30 go: finding github.com/gorilla/mux v1.7.1 03:39:30 go: finding github.com/hashicorp/consul/api v1.1.0 03:39:30 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:39:30 go: finding github.com/hashicorp/errwrap v1.0.0 03:39:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:39:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:39:30 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:39:30 go: finding github.com/hashicorp/go-multierror v1.0.0 03:39:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:39:30 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:39:30 go: finding github.com/hashicorp/go-syslog v1.0.0 03:39:30 go: finding github.com/hashicorp/go-uuid v1.0.1 03:39:30 go: finding github.com/hashicorp/go.net v0.0.1 03:39:30 go: finding github.com/hashicorp/golang-lru v0.5.0 03:39:30 go: finding github.com/hashicorp/logutils v1.0.0 03:39:30 go: finding github.com/hashicorp/mdns v1.0.0 03:39:30 go: finding github.com/hashicorp/memberlist v0.1.3 03:39:31 go: finding github.com/hashicorp/serf v0.8.2 03:39:31 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:39:31 go: finding github.com/mattn/go-colorable v0.0.9 03:39:31 go: finding github.com/mattn/go-isatty v0.0.3 03:39:31 go: finding github.com/miekg/dns v1.0.14 03:39:31 go: finding github.com/mitchellh/cli v1.0.0 03:39:31 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:39:31 go: finding github.com/mitchellh/copystructure v1.0.0 03:39:31 go: finding github.com/mitchellh/go-homedir v1.0.0 03:39:31 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:39:31 go: finding github.com/mitchellh/gox v0.4.0 03:39:31 go: finding github.com/mitchellh/iochan v1.0.0 03:39:31 go: finding github.com/mitchellh/mapstructure v1.1.2 03:39:31 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:39:31 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:39:31 go: finding github.com/pelletier/go-toml v1.2.0 03:39:31 go: finding github.com/pkg/errors v0.8.1 03:39:31 go: finding github.com/pmezard/go-difflib v1.0.0 03:39:31 go: finding github.com/posener/complete v1.1.1 03:39:31 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:39:31 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:39:31 go: finding github.com/stretchr/objx v0.1.0 03:39:31 go: finding github.com/stretchr/testify v1.5.1 03:39:31 go: finding github.com/ugorji/go v1.1.4 03:39:31 go: finding github.com/x448/float16 v0.8.4 03:39:31 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:39:31 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:39:31 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:39:32 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:39:32 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:39:32 go: finding gopkg.in/yaml.v2 v2.2.8 03:39:37 Removing intermediate container 7345eb89cc89 03:39:37 ---> 8f1d67e3675a 03:39:37 Successfully built 8f1d67e3675a 03:39:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 03:39:37 Removing intermediate container 6502be26e776 03:39:37 ---> b1065dfec1f9 03:39:37 Successfully built b1065dfec1f9 03:39:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 03:39:38 + docker inspect -f . ci-base-image-arm64 03:39:38 . [Pipeline] withDockerContainer 03:39:38 + docker inspect -f . ci-base-image-x86_64 03:39:38 . 03:39:38 prd-ubuntu18.04-docker-arm64-4c-16g-7059 does not seem to be running inside a container 03:39:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 03:39:39 $ docker top af60107d0bc0f4b8036b398c300f2f223fd4615a259c3190f5d2b312270787c0 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 03:39:40 prd-centos7-docker-4c-2g-7060 does not seem to be running inside a container 03:39:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 03:39:42 $ docker top bd87bf063a5901f168928685931811863778e46101fca34c87b7905498231bf0 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 03:39:43 + go version 03:39:43 go version go1.13.5 linux/amd64 [Pipeline] sh 03:39:43 + go version 03:39:43 go version go1.13.5 linux/arm64 [Pipeline] sh 03:39:43 + make test 03:39:43 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:39:44 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:39:44 + make test 03:39:44 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 03:39:45 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:39:54 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:39:54 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:39:54 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:39:54 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.030s coverage: 22.1% of statements 03:39:57 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.053s coverage: 95.8% of statements 03:40:12 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:40:12 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:40:12 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:40:14 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.025s coverage: 22.1% of statements 03:40:16 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.174s coverage: 95.8% of statements 03:40:29 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.022s coverage: 11.4% of statements 03:40:29 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.030s coverage: 21.7% of statements 03:40:29 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:40:29 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.413s coverage: 36.9% of statements 03:40:29 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:40:29 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 03:40:29 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.409s coverage: 65.2% of statements 03:40:29 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:40:29 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:40:29 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:40:29 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements 03:40:29 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 03:40:29 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.106s coverage: 68.9% of statements 03:40:29 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:40:29 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:40:29 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:40:29 gofmt -l . 03:40:29 [ "`gofmt -l .`" = "" ] 03:40:29 ./bin/test-attribution-txt.sh 03:40:29 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:40:30 Stashed 1 file(s) [Pipeline] } 03:40:30 $ docker stop --time=1 bd87bf063a5901f168928685931811863778e46101fca34c87b7905498231bf0 03:40:31 $ docker rm -f bd87bf063a5901f168928685931811863778e46101fca34c87b7905498231bf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:40:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:40:33 + ls -al . 03:40:33 total 180 03:40:33 drwxrwxr-x. 11 jenkins jenkins 4096 May 4 03:40 . 03:40:33 drwxrwxr-x. 4 jenkins jenkins 28 May 4 03:38 .. 03:40:33 drwxrwxr-x. 3 jenkins jenkins 20 May 4 03:38 api 03:40:33 drwxrwxr-x. 2 jenkins jenkins 64 May 4 03:38 bin 03:40:33 -rw-r--r--. 1 jenkins jenkins 110877 May 4 03:40 coverage.out 03:40:33 -rw-rw-r--. 1 jenkins jenkins 936 May 4 03:38 Dockerfile.build 03:40:33 -rw-rw-r--. 1 jenkins jenkins 140 May 4 03:38 .dockerignore 03:40:33 drwxrwxr-x. 4 jenkins jenkins 48 May 4 03:38 example 03:40:33 drwxrwxr-x. 8 jenkins jenkins 179 May 4 03:39 .git 03:40:33 drwxrwxr-x. 2 jenkins jenkins 38 May 4 03:38 .github 03:40:33 -rw-rw-r--. 1 jenkins jenkins 138 May 4 03:38 .gitignore 03:40:33 -rw-r--r--. 1 jenkins jenkins 446 May 4 03:40 go.mod 03:40:33 -rw-r--r--. 1 jenkins jenkins 12076 May 4 03:40 go.sum 03:40:33 drwxrwxr-x. 15 jenkins jenkins 217 May 4 03:38 internal 03:40:33 -rw-rw-r--. 1 jenkins jenkins 808 May 4 03:38 Jenkinsfile 03:40:33 -rw-rw-r--. 1 jenkins jenkins 11341 May 4 03:38 LICENSE 03:40:33 -rw-rw-r--. 1 jenkins jenkins 892 May 4 03:38 Makefile 03:40:33 drwxrwxr-x. 5 jenkins jenkins 50 May 4 03:38 pkg 03:40:33 -rw-rw-r--. 1 jenkins jenkins 2249 May 4 03:38 README.md 03:40:33 -rw-rw-r--. 1 jenkins jenkins 3497 May 4 03:38 RELEASE-NOTES.txt 03:40:33 drwxrwxr-x. 3 jenkins jenkins 73 May 4 03:39 .semver 03:40:33 drwxrwxr-x. 4 jenkins jenkins 54 May 4 03:38 snap 03:40:33 -rw-rw-r--. 1 jenkins jenkins 5 May 4 03:36 VERSION 03:40:33 -rw-rw-r--. 1 jenkins jenkins 222 May 4 03:38 version.go [Pipeline] isUnix [Pipeline] sh 03:40:34 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=66253e6ade2e13e0af245440dfc00d8506da17ab --label arch=amd64 --label version=0.0.0 . 03:40:34 Sending build context to Docker daemon 3.158MB 03:40:34 Step 1/21 : ARG BASE=golang:1.13-alpine 03:40:34 Step 2/21 : FROM ${BASE} AS builder 03:40:34 ---> b1065dfec1f9 03:40:34 Step 3/21 : ARG MAKE='make build' 03:40:34 ---> Running in 7a970810470f 03:40:34 Removing intermediate container 7a970810470f 03:40:34 ---> fba3ebd74f3c 03:40:34 Step 4/21 : WORKDIR /device-sdk-go 03:40:34 ---> Running in 19df93ac4b2d 03:40:34 Removing intermediate container 19df93ac4b2d 03:40:34 ---> 041a7dd1e339 03:40:34 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:40:34 ---> Running in bb6a6e686875 03:40:34 Removing intermediate container bb6a6e686875 03:40:34 ---> 25e7c819841f 03:40:34 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:40:34 ---> Running in 39427a8e5fca 03:40:35 Removing intermediate container 39427a8e5fca 03:40:35 ---> 8b06e602c0c8 03:40:35 Step 7/21 : RUN apk add --update --no-cache make git 03:40:36 ---> Running in ee39d41d122d 03:40:36 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:40:37 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:40:37 OK: 143 MiB in 39 packages 03:40:37 Removing intermediate container ee39d41d122d 03:40:37 ---> 9a67d0ed3954 03:40:37 Step 8/21 : COPY . . 03:40:38 ---> 79adc46aa1bb 03:40:38 Step 9/21 : RUN ${MAKE} 03:40:38 ---> Running in 8295cbdfcae9 03:40:38 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:40:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:40:48 Removing intermediate container 8295cbdfcae9 03:40:48 ---> 8e9c974848c2 03:40:48 Step 10/21 : FROM scratch 03:40:48 ---> 03:40:48 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:40:48 ---> Running in 0d17595235a0 03:40:48 Removing intermediate container 0d17595235a0 03:40:48 ---> 3f7171ff6803 03:40:48 Step 12/21 : ENV APP_PORT=49990 03:40:48 ---> Running in 48b8855adfc5 03:40:48 Removing intermediate container 48b8855adfc5 03:40:48 ---> 3cf3ce785d37 03:40:48 Step 13/21 : EXPOSE $APP_PORT 03:40:48 ---> Running in ef6b4ad1ba82 03:40:48 Removing intermediate container ef6b4ad1ba82 03:40:48 ---> 24750456eb63 03:40:48 Step 14/21 : WORKDIR / 03:40:48 ---> Running in 72d81d474587 03:40:48 Removing intermediate container 72d81d474587 03:40:48 ---> 42835760dd05 03:40:48 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:40:48 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.048s coverage: 11.4% of statements 03:40:48 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.025s coverage: 21.7% of statements 03:40:48 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:40:48 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.135s coverage: 36.9% of statements 03:40:48 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:40:48 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 03:40:48 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.526s coverage: 65.2% of statements 03:40:48 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:40:48 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:40:48 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:40:48 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.043s coverage: 52.6% of statements 03:40:48 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 03:40:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.356s coverage: 68.9% of statements 03:40:48 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 03:40:48 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:40:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:40:48 ---> fe1ce544c1de 03:40:48 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:40:48 ---> ee5593382b23 03:40:48 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:40:49 ---> 9dfa9d55ce96 03:40:49 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:40:49 ---> Running in eb478aba53cf 03:40:49 Removing intermediate container eb478aba53cf 03:40:49 ---> 30de66d1d23b 03:40:49 Step 19/21 : LABEL arch=amd64 03:40:49 ---> Running in ded38462f445 03:40:49 Removing intermediate container ded38462f445 03:40:49 ---> 7c6386fd5815 03:40:49 Step 20/21 : LABEL git_sha=66253e6ade2e13e0af245440dfc00d8506da17ab 03:40:49 ---> Running in a2351a77154f 03:40:49 Removing intermediate container a2351a77154f 03:40:49 ---> f086c32ca674 03:40:49 Step 21/21 : LABEL version=0.0.0 03:40:49 ---> Running in 1b65bb077c45 03:40:50 Removing intermediate container 1b65bb077c45 03:40:50 ---> ca12e4002bea 03:40:50 [Warning] One or more build-args [ARCH] were not consumed 03:40:50 Successfully built ca12e4002bea 03:40:50 Successfully tagged docker-device-sdk-simple: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] } 03:40:52 gofmt -l . 03:40:52 [ "`gofmt -l .`" = "" ] 03:40:52 ./bin/test-attribution-txt.sh 03:40:53 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:40:53 Warning: overwriting stash ‘coverage-report’ 03:40:54 Stashed 1 file(s) [Pipeline] } 03:40:54 $ docker stop --time=1 af60107d0bc0f4b8036b398c300f2f223fd4615a259c3190f5d2b312270787c0 03:40:56 $ docker rm -f af60107d0bc0f4b8036b398c300f2f223fd4615a259c3190f5d2b312270787c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:40:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:40:58 + ls -al . 03:40:58 total 220 03:40:58 drwxrwxr-x 11 jenkins jenkins 4096 May 4 03:40 . 03:40:58 drwxrwxr-x 4 jenkins jenkins 4096 May 4 03:38 .. 03:40:58 -rw-rw-r-- 1 jenkins jenkins 140 May 4 03:38 .dockerignore 03:40:58 drwxrwxr-x 8 jenkins jenkins 4096 May 4 03:38 .git 03:40:58 drwxrwxr-x 2 jenkins jenkins 4096 May 4 03:38 .github 03:40:58 -rw-rw-r-- 1 jenkins jenkins 138 May 4 03:38 .gitignore 03:40:58 drwxrwxr-x 3 jenkins jenkins 4096 May 4 03:38 .semver 03:40:58 -rw-rw-r-- 1 jenkins jenkins 936 May 4 03:38 Dockerfile.build 03:40:58 -rw-rw-r-- 1 jenkins jenkins 808 May 4 03:38 Jenkinsfile 03:40:58 -rw-rw-r-- 1 jenkins jenkins 11341 May 4 03:38 LICENSE 03:40:58 -rw-rw-r-- 1 jenkins jenkins 892 May 4 03:38 Makefile 03:40:58 -rw-rw-r-- 1 jenkins jenkins 2249 May 4 03:38 README.md 03:40:58 -rw-rw-r-- 1 jenkins jenkins 3497 May 4 03:38 RELEASE-NOTES.txt 03:40:58 -rw-rw-r-- 1 jenkins jenkins 5 May 4 03:36 VERSION 03:40:58 drwxrwxr-x 3 jenkins jenkins 4096 May 4 03:38 api 03:40:58 drwxrwxr-x 2 jenkins jenkins 4096 May 4 03:38 bin 03:40:58 -rw-r--r-- 1 jenkins jenkins 110877 May 4 03:40 coverage.out 03:40:58 drwxrwxr-x 4 jenkins jenkins 4096 May 4 03:38 example 03:40:58 -rw-r--r-- 1 jenkins jenkins 446 May 4 03:40 go.mod 03:40:58 -rw-r--r-- 1 jenkins jenkins 12076 May 4 03:40 go.sum 03:40:58 drwxrwxr-x 15 jenkins jenkins 4096 May 4 03:38 internal 03:40:58 drwxrwxr-x 5 jenkins jenkins 4096 May 4 03:38 pkg 03:40:58 drwxrwxr-x 4 jenkins jenkins 4096 May 4 03:38 snap 03:40:58 -rw-rw-r-- 1 jenkins jenkins 222 May 4 03:38 version.go [Pipeline] isUnix [Pipeline] sh 03:40:58 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=66253e6ade2e13e0af245440dfc00d8506da17ab --label arch=arm64 --label version=0.0.0 . 03:40:59 Sending build context to Docker daemon 3.158MB 03:40:59 Step 1/21 : ARG BASE=golang:1.13-alpine 03:40:59 Step 2/21 : FROM ${BASE} AS builder 03:40:59 ---> 8f1d67e3675a 03:40:59 Step 3/21 : ARG MAKE='make build' 03:40:59 ---> Running in c7c6b8aac6d9 03:41:00 Removing intermediate container c7c6b8aac6d9 03:41:00 ---> 119ef61ed4e2 03:41:00 Step 4/21 : WORKDIR /device-sdk-go 03:41:00 ---> Running in 3417edda41a0 03:41:00 Removing intermediate container 3417edda41a0 03:41:00 ---> 1136b8c1f4f3 03:41:00 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:41:00 ---> Running in c5e1a835b333 03:41:00 Removing intermediate container c5e1a835b333 03:41:00 ---> b17116409a07 03:41:00 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:41:01 ---> Running in 3fd825ba27ab 03:41:03 Removing intermediate container 3fd825ba27ab 03:41:03 ---> 254abe39d225 03:41:03 Step 7/21 : RUN apk add --update --no-cache make git 03:41:03 ---> Running in b42f50042341 03:41:03 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:41:06 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:41:08 OK: 125 MiB in 39 packages 03:41:09 Removing intermediate container b42f50042341 03:41:09 ---> 24ef8128fe37 03:41:09 Step 8/21 : COPY . . 03:41:10 ---> d59e79725ed4 03:41:10 Step 9/21 : RUN ${MAKE} 03:41:10 ---> Running in d4a52fb0125d 03:41:11 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:41:38 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:41:38 Removing intermediate container d4a52fb0125d 03:41:38 ---> bbd7aca0deb7 03:41:38 Step 10/21 : FROM scratch 03:41:38 ---> 03:41:38 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:41:38 ---> Running in 2ef43bb89031 03:41:38 Removing intermediate container 2ef43bb89031 03:41:38 ---> 650df239113f 03:41:38 Step 12/21 : ENV APP_PORT=49990 03:41:38 ---> Running in 7196064d9d7c 03:41:38 Removing intermediate container 7196064d9d7c 03:41:38 ---> dea3bb07d5b6 03:41:38 Step 13/21 : EXPOSE $APP_PORT 03:41:38 ---> Running in b05f71af6c3a 03:41:38 Removing intermediate container b05f71af6c3a 03:41:38 ---> 28f18e31f66a 03:41:38 Step 14/21 : WORKDIR / 03:41:38 ---> Running in 84be67b17820 03:41:39 Removing intermediate container 84be67b17820 03:41:39 ---> 117066f35261 03:41:39 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:41:40 ---> 66eda70c67b5 03:41:40 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:41:40 ---> 07bce0a8cb40 03:41:40 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:41:41 ---> d0b6f531de47 03:41:41 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:41:41 ---> Running in 25ca88b43f4e 03:41:41 Removing intermediate container 25ca88b43f4e 03:41:41 ---> 1981ada4d4b4 03:41:41 Step 19/21 : LABEL arch=arm64 03:41:41 ---> Running in e11c97d4b044 03:41:42 Removing intermediate container e11c97d4b044 03:41:42 ---> d145f892693e 03:41:42 Step 20/21 : LABEL git_sha=66253e6ade2e13e0af245440dfc00d8506da17ab 03:41:42 ---> Running in 8c9807ecd427 03:41:42 Removing intermediate container 8c9807ecd427 03:41:42 ---> e498b3587fd3 03:41:42 Step 21/21 : LABEL version=0.0.0 03:41:42 ---> Running in 3d67c406caea 03:41:43 Removing intermediate container 3d67c406caea 03:41:43 ---> bf727de2c9b4 03:41:43 [Warning] One or more build-args [ARCH] were not consumed 03:41:43 Successfully built bf727de2c9b4 03:41:43 Successfully tagged docker-device-sdk-simple-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 03:41:45 provisioning config files... 03:41:45 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp/config1825388291192141995tmp [Pipeline] { [Pipeline] sh 03:41:45 + curl -s https://codecov.io/bash 03:41:45 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp/config1825388291192141995tmp 03:41:46 03:41:46 _____ _ 03:41:46 / ____| | | 03:41:46 | | ___ __| | ___ ___ _____ __ 03:41:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:41:46 | |___| (_) | (_| | __/ (_| (_) \ V / 03:41:46 \_____\___/ \__,_|\___|\___\___/ \_/ 03:41:46 Bash-tbd 03:41:46 03:41:46 03:41:46 ==> Jenkins CI detected. 03:41:46 project root: . 03:41:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:41:46 ==> Running gcov in . (disable via -X gcov) 03:41:46 ==> Python coveragepy not found 03:41:46 ==> Searching for coverage reports in: 03:41:46 + . 03:41:46 -> Found 1 reports 03:41:46 ==> Detecting git/mercurial file structure 03:41:46 ==> Reading reports 03:41:46 + ./coverage.out bytes=110877 03:41:46 ==> Appending adjustments 03:41:46 http://docs.codecov.io/docs/fixing-reports 03:41:46 + Found adjustments 03:41:46 ==> Gzipping contents 03:41:46 ==> Uploading reports 03:41:46 url: https://codecov.io 03:41:46 query: branch=PR-521&commit=66253e6ade2e13e0af245440dfc00d8506da17ab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-521%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=521&job= 03:41:46 -> Pinging Codecov 03:41:46 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-521&commit=66253e6ade2e13e0af245440dfc00d8506da17ab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-521%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=521&job= 03:41:46 -> Uploading 03:41:47 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/66253e6ade2e13e0af245440dfc00d8506da17ab [Pipeline] } 03:41:47 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 03:41:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:41:49 ---> package-listing.sh 03:41:49 ++ facter osfamily 03:41:49 ++ tr '[:upper:]' '[:lower:]' 03:41:49 + OS_FAMILY=redhat 03:41:49 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-521 03:41:49 + START_PACKAGES=/tmp/packages_start.txt 03:41:49 + END_PACKAGES=/tmp/packages_end.txt 03:41:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:41:49 + PACKAGES=/tmp/packages_start.txt 03:41:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-521 ']' 03:41:49 + PACKAGES=/tmp/packages_end.txt 03:41:49 + case "${OS_FAMILY}" in 03:41:49 + rpm -qa 03:41:49 + sort 03:41:53 + '[' -f /tmp/packages_start.txt ']' 03:41:53 + '[' -f /tmp/packages_end.txt ']' 03:41:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:41:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-521 ']' 03:41:53 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-521/archives/ 03:41:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-521/archives/ [Pipeline] isUnix [Pipeline] sh 03:41:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:41:54 03:41:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:41:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:41:54 alpine: Pulling from edgex-lftools-log-publisher 03:41:54 c9b1b535fdd9: Pulling fs layer 03:41:54 2cc5ad85d9ab: Pulling fs layer 03:41:54 756a868c4378: Pulling fs layer 03:41:54 444b2fc9a129: Pulling fs layer 03:41:54 ea15f1150254: Pulling fs layer 03:41:54 41b27a9f41bf: Pulling fs layer 03:41:54 28c525ee5125: Pulling fs layer 03:41:54 094b1ea09ed8: Pulling fs layer 03:41:54 138eaada9080: Pulling fs layer 03:41:54 0622d0fa9048: Pulling fs layer 03:41:54 41b27a9f41bf: Waiting 03:41:54 28c525ee5125: Waiting 03:41:54 094b1ea09ed8: Waiting 03:41:54 138eaada9080: Waiting 03:41:54 0622d0fa9048: Waiting 03:41:54 444b2fc9a129: Waiting 03:41:54 ea15f1150254: Waiting 03:41:54 2cc5ad85d9ab: Verifying Checksum 03:41:54 2cc5ad85d9ab: Download complete 03:41:54 444b2fc9a129: Verifying Checksum 03:41:54 444b2fc9a129: Download complete 03:41:54 c9b1b535fdd9: Verifying Checksum 03:41:54 c9b1b535fdd9: Download complete 03:41:55 ea15f1150254: Verifying Checksum 03:41:55 ea15f1150254: Download complete 03:41:55 28c525ee5125: Verifying Checksum 03:41:55 28c525ee5125: Download complete 03:41:55 c9b1b535fdd9: Pull complete 03:41:55 756a868c4378: Verifying Checksum 03:41:55 756a868c4378: Download complete 03:41:55 094b1ea09ed8: Verifying Checksum 03:41:55 094b1ea09ed8: Download complete 03:41:55 0622d0fa9048: Verifying Checksum 03:41:55 0622d0fa9048: Download complete 03:41:55 138eaada9080: Verifying Checksum 03:41:55 138eaada9080: Download complete 03:41:55 2cc5ad85d9ab: Pull complete 03:41:55 41b27a9f41bf: Verifying Checksum 03:41:55 41b27a9f41bf: Download complete 03:41:56 756a868c4378: Pull complete 03:41:57 444b2fc9a129: Pull complete 03:41:57 ea15f1150254: Pull complete 03:42:00 41b27a9f41bf: Pull complete 03:42:00 28c525ee5125: Pull complete 03:42:02 094b1ea09ed8: Pull complete 03:42:02 138eaada9080: Pull complete 03:42:03 0622d0fa9048: Pull complete 03:42:03 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:42:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:42:03 prd-centos7-docker-4c-2g-7058 does not seem to be running inside a container 03:42:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-521 -v /w/workspace/dgexfoundry_device-sdk-go_PR-521:/w/workspace/dgexfoundry_device-sdk-go_PR-521:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-521@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 03:42:04 $ docker top 5800cd2c00fd8a3ce8cd4ebe43615f2e8c6f1f19bc9785f16f54ccd5525eee84 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:42:04 provisioning config files... 03:42:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-521@tmp/config5102480791930756475tmp [Pipeline] { [Pipeline] echo 03:42:04 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:42:05 ---> create-netrc.sh [Pipeline] echo 03:42:05 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:42:05 ---> logs-deploy.sh 03:42:05 + ARCHIVE_ARTIFACTS= 03:42:05 + LOGS_SERVER=https://logs.edgexfoundry.org 03:42:05 + '[' https://logs.edgexfoundry.org == None ']' 03:42:05 + NEXUS_URL=https://nexus.edgexfoundry.org 03:42:05 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-521/1 03:42:05 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-521/1/ 03:42:05 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-521/1 /w/workspace/dgexfoundry_device-sdk-go_PR-521 03:42:06 Archives upload complete. 03:42:06 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-521/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-521/1/