Pull request #541 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 jamesrgregg for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 35069692f68dee2f6752c48bd44826b15366f437+fd75c29bc70b45e81e8d6526ecff9c2e7979e15f (28bad78fb400a25710fbc2032a604a098ca575c9) 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 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh 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-sdk-go/branches/PR-541/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 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3167 in /w/workspace/dgexfoundry_device-sdk-go_PR-541 [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 Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-541 # 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/541/head:refs/remotes/origin/PR-541 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/541/head:refs/remotes/origin/PR-541 # 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/541/head:refs/remotes/origin/PR-541 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fd75c29bc70b45e81e8d6526ecff9c2e7979e15f into PR head commit 35069692f68dee2f6752c48bd44826b15366f437 Merge succeeded, producing 35069692f68dee2f6752c48bd44826b15366f437 Checking out Revision 35069692f68dee2f6752c48bd44826b15366f437 (PR-541) > git config core.sparsecheckout # timeout=10 > git checkout -f 35069692f68dee2f6752c48bd44826b15366f437 # 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 fd75c29bc70b45e81e8d6526ecff9c2e7979e15f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35069692f68dee2f6752c48bd44826b15366f437 # timeout=10 Commit message: "update pr template to add dependency section" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:58:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:58:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:58:54 ========================================================= 19:58:54 EdgeX Global Pipelines Version Info 19:58:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:58:56 ------------------- 19:58:56 stable info: 19:58:56 ------------------- 19:58:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:58:56 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 19:58:56 Message: update stable to v1.0.89 19:58:56 ------------------- 19:58:56 experimental info: 19:58:56 ------------------- 19:58:56 Commited By: **** collab-it+edgex@linuxfoundation.org 19:58:56 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 19:58:56 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 19:58:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:58:59 19:58:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:58:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:58:59 latest: Pulling from edgex-devops/git-semver 19:58:59 9123ac7c32f7: Pulling fs layer 19:58:59 b8cc5d1170e3: Pulling fs layer 19:58:59 2924cbbf6a41: Pulling fs layer 19:58:59 93b08a4f1073: Pulling fs layer 19:58:59 93b08a4f1073: Waiting 19:58:59 b8cc5d1170e3: Verifying Checksum 19:58:59 b8cc5d1170e3: Download complete 19:59:00 9123ac7c32f7: Verifying Checksum 19:59:00 9123ac7c32f7: Download complete 19:59:00 93b08a4f1073: Verifying Checksum 19:59:00 93b08a4f1073: Download complete 19:59:00 2924cbbf6a41: Verifying Checksum 19:59:00 2924cbbf6a41: Download complete 19:59:00 9123ac7c32f7: Pull complete 19:59:00 b8cc5d1170e3: Pull complete 19:59:01 2924cbbf6a41: Pull complete 19:59:01 93b08a4f1073: Pull complete 19:59:01 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 19:59:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:59:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:59:01 prd-centos7-docker-4c-2g-3167 does not seem to be running inside a container 19:59:01 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-541 -v /w/workspace/dgexfoundry_device-sdk-go_PR-541:/w/workspace/dgexfoundry_device-sdk-go_PR-541:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-541@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:59:03 $ docker top 9e656dc573daab4f4cd1db1d395713f622e0c01cba1ae96be3710d17c6af0629 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:59:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:59:03 [ssh-agent] Looking for ssh-agent implementation... 19:59:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:59:04 $ docker exec 9e656dc573daab4f4cd1db1d395713f622e0c01cba1ae96be3710d17c6af0629 ssh-agent 19:59:04 SSH_AUTH_SOCK=/tmp/ssh-3bYlyQ2w6xYW/agent.12 19:59:04 SSH_AGENT_PID=18 19:59:04 Running ssh-add (command line suppressed) 19:59:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp/private_key_8093842015790845135.key (/w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp/private_key_8093842015790845135.key) 19:59:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:59:04 + git describe --exact-match --tags HEAD 19:59:04 fatal: No names found, cannot describe anything. [Pipeline] } 19:59:04 $ docker exec --env ******** --env ******** 9e656dc573daab4f4cd1db1d395713f622e0c01cba1ae96be3710d17c6af0629 ssh-agent -k 19:59:05 unset SSH_AUTH_SOCK; 19:59:05 unset SSH_AGENT_PID; 19:59:05 echo Agent pid 18 killed; 19:59:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 19:59:05 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 19:59:05 This usually means this commit has not been tagged. [Pipeline] sshagent 19:59:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:59:05 [ssh-agent] Looking for ssh-agent implementation... 19:59:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:59:05 $ docker exec 9e656dc573daab4f4cd1db1d395713f622e0c01cba1ae96be3710d17c6af0629 ssh-agent 19:59:05 SSH_AUTH_SOCK=/tmp/ssh-cB5KSEPOyUlM/agent.47 19:59:05 SSH_AGENT_PID=52 19:59:05 Running ssh-add (command line suppressed) 19:59:05 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp/private_key_8851429145919918683.key (/w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp/private_key_8851429145919918683.key) 19:59:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:59:06 + git semver init 19:59:06 # -> Open(): unable to determine branch for HEAD 19:59:06 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-541/.git 19:59:06 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-541 19:59:06 # $SEMVER_REMOTE_NAME = origin 19:59:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:59:06 # $SEMVER_USER_NAME = edgex-jenkins 19:59:06 # $SEMVER_BRANCH = PR-541 19:59:06 # $SEMVER_TEMP = /tmp/semver-983212323 19:59:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 19:59:06 # '/tmp/semver-983212323' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-541/.semver' 19:59:06 # -> Force: false 19:59:06 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-541/.semver [Pipeline] } 19:59:06 $ docker exec --env ******** --env ******** 9e656dc573daab4f4cd1db1d395713f622e0c01cba1ae96be3710d17c6af0629 ssh-agent -k 19:59:06 unset SSH_AUTH_SOCK; 19:59:06 unset SSH_AGENT_PID; 19:59:06 echo Agent pid 52 killed; 19:59:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:59:07 + git semver [Pipeline] } 19:59:07 $ docker stop --time=1 9e656dc573daab4f4cd1db1d395713f622e0c01cba1ae96be3710d17c6af0629 19:59:08 $ docker rm -f 9e656dc573daab4f4cd1db1d395713f622e0c01cba1ae96be3710d17c6af0629 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 19:59:09 Stashed 70 file(s) [Pipeline] echo 19:59:09 [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 19:59:25 Still waiting to schedule task 19:59:25 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3167’ 19:59:25 Still waiting to schedule task 19:59:25 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline 20:01:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3168 in /w/workspace/dgexfoundry_device-sdk-go_PR-541 [Pipeline] { [Pipeline] ws 20:01:10 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 20:01:15 using credential edgex-jenkins-ssh 20:01:15 Cloning the remote Git repository 20:01:15 Cloning with configured refspecs honoured and without tags 20:01:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:01:15 > git init /w/workspace/device-sdk-go/1 # timeout=10 20:01:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:01:15 > git --version # timeout=10 20:01:15 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:15 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/541/head:refs/remotes/origin/PR-541 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:01:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:01:16 > git config --add remote.origin.fetch +refs/pull/541/head:refs/remotes/origin/PR-541 # timeout=10 20:01:16 Fetching without tags 20:01:16 Merging remotes/origin/master commit fd75c29bc70b45e81e8d6526ecff9c2e7979e15f into PR head commit 35069692f68dee2f6752c48bd44826b15366f437 20:01:17 Merge succeeded, producing 35069692f68dee2f6752c48bd44826b15366f437 20:01:17 Checking out Revision 35069692f68dee2f6752c48bd44826b15366f437 (PR-541) 20:01:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:01:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:01:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:01:16 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/541/head:refs/remotes/origin/PR-541 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:01:16 > git config core.sparsecheckout # timeout=10 20:01:16 > git checkout -f 35069692f68dee2f6752c48bd44826b15366f437 # timeout=10 20:01:17 > git remote # timeout=10 20:01:17 > git config --get remote.origin.url # timeout=10 20:01:17 using GIT_SSH to set credentials SSH Credentials for GitHub 20:01:17 > git merge fd75c29bc70b45e81e8d6526ecff9c2e7979e15f # timeout=10 20:01:17 > git rev-parse HEAD^{commit} # timeout=10 20:01:17 > git config core.sparsecheckout # timeout=10 20:01:17 > git checkout -f 35069692f68dee2f6752c48bd44826b15366f437 # timeout=10 20:01:21 Commit message: "update pr template to add dependency section" 20:01:21 > git --version # timeout=10 20:01:21 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:01:23 ========================================================= 20:01:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 20:01:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:01:24 + 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 . 20:01:25 Sending build context to Docker daemon 3.092MB 20:01:25 Step 1/8 : ARG BASE=golang:1.13-alpine 20:01:25 Step 2/8 : FROM ${BASE} 20:01:25 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:01:25 cde5963f3b93: Pulling fs layer 20:01:25 2a23fa8c16f7: Pulling fs layer 20:01:25 777b28850792: Pulling fs layer 20:01:25 8a11ddd9e578: Pulling fs layer 20:01:25 4cf88f913ddb: Pulling fs layer 20:01:25 1df406cf5192: Pulling fs layer 20:01:25 cd6300453558: Pulling fs layer 20:01:25 b9c365052c96: Pulling fs layer 20:01:25 a2d8cc88f415: Pulling fs layer 20:01:25 8a11ddd9e578: Waiting 20:01:25 ea1d1ca13537: Pulling fs layer 20:01:25 3750a50a1c5e: Pulling fs layer 20:01:25 b9c365052c96: Waiting 20:01:25 4cf88f913ddb: Waiting 20:01:25 a2d8cc88f415: Waiting 20:01:25 1df406cf5192: Waiting 20:01:25 cd6300453558: Waiting 20:01:25 ea1d1ca13537: Waiting 20:01:25 3750a50a1c5e: Waiting 20:01:25 777b28850792: Verifying Checksum 20:01:25 777b28850792: Download complete 20:01:25 2a23fa8c16f7: Verifying Checksum 20:01:25 2a23fa8c16f7: Download complete 20:01:25 4cf88f913ddb: Verifying Checksum 20:01:25 4cf88f913ddb: Download complete 20:01:25 1df406cf5192: Download complete 20:01:25 cde5963f3b93: Verifying Checksum 20:01:25 cde5963f3b93: Download complete 20:01:26 cde5963f3b93: Pull complete 20:01:27 2a23fa8c16f7: Pull complete 20:01:27 777b28850792: Pull complete 20:01:27 cd6300453558: Verifying Checksum 20:01:27 cd6300453558: Download complete 20:01:27 a2d8cc88f415: Download complete 20:01:29 ea1d1ca13537: Verifying Checksum 20:01:29 ea1d1ca13537: Download complete 20:01:29 3750a50a1c5e: Verifying Checksum 20:01:31 b9c365052c96: Verifying Checksum 20:01:31 b9c365052c96: Download complete 20:01:31 8a11ddd9e578: Download complete 20:01:44 8a11ddd9e578: Pull complete 20:01:44 4cf88f913ddb: Pull complete 20:01:44 1df406cf5192: Pull complete 20:01:47 cd6300453558: Pull complete 20:01:52 b9c365052c96: Pull complete 20:01:52 a2d8cc88f415: Pull complete 20:01:54 ea1d1ca13537: Pull complete 20:01:54 3750a50a1c5e: Pull complete 20:01:54 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 20:01:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 20:01:54 ---> 78745c68409d 20:01:54 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:01:54 Running on prd-centos7-docker-4c-2g-3169 in /w/workspace/dgexfoundry_device-sdk-go_PR-541 [Pipeline] { [Pipeline] ws 20:01:54 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 20:01:58 ---> Running in 665fd42611d5 20:01:59 Removing intermediate container 665fd42611d5 20:01:59 ---> b454adae2b78 20:01:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:01:59 ---> Running in 3d258f6af04b 20:02:01 using credential edgex-jenkins-ssh 20:02:01 Cloning the remote Git repository 20:02:01 Cloning with configured refspecs honoured and without tags 20:02:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:02:01 > git init /w/workspace/device-sdk-go/1 # timeout=10 20:02:02 Removing intermediate container 3d258f6af04b 20:02:02 ---> be4f119c65c8 20:02:02 Step 5/8 : RUN apk add --no-cache make git 20:02:02 ---> Running in 4b4c8dcc5729 20:02:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:02:02 > git --version # timeout=10 20:02:02 using GIT_SSH to set credentials SSH Credentials for GitHub 20:02:02 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/541/head:refs/remotes/origin/PR-541 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:02:03 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 20:02:04 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 20:02:04 Fetching without tags 20:02:04 OK: 125 MiB in 39 packages 20:02:04 Merging remotes/origin/master commit fd75c29bc70b45e81e8d6526ecff9c2e7979e15f into PR head commit 35069692f68dee2f6752c48bd44826b15366f437 20:02:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:02:04 > git config --add remote.origin.fetch +refs/pull/541/head:refs/remotes/origin/PR-541 # timeout=10 20:02:04 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:02:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:02:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:02:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:02:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/541/head:refs/remotes/origin/PR-541 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:02:04 > git config core.sparsecheckout # timeout=10 20:02:04 > git checkout -f 35069692f68dee2f6752c48bd44826b15366f437 # timeout=10 20:02:04 Merge succeeded, producing 35069692f68dee2f6752c48bd44826b15366f437 20:02:04 Checking out Revision 35069692f68dee2f6752c48bd44826b15366f437 (PR-541) 20:02:06 Removing intermediate container 4b4c8dcc5729 20:02:06 ---> 47829d9af237 20:02:06 Step 6/8 : WORKDIR /device-sdk-go 20:02:06 ---> Running in f81beea8ebee 20:02:04 > git remote # timeout=10 20:02:04 > git config --get remote.origin.url # timeout=10 20:02:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:02:04 > git merge fd75c29bc70b45e81e8d6526ecff9c2e7979e15f # timeout=10 20:02:04 > git rev-parse HEAD^{commit} # timeout=10 20:02:04 > git config core.sparsecheckout # timeout=10 20:02:04 > git checkout -f 35069692f68dee2f6752c48bd44826b15366f437 # timeout=10 20:02:06 Removing intermediate container f81beea8ebee 20:02:06 ---> 130e83ca3595 20:02:06 Step 7/8 : COPY . . 20:02:07 ---> c44de4b68f58 20:02:07 Step 8/8 : RUN go mod download 20:02:08 ---> Running in 56cf636d18af 20:02:09 Commit message: "update pr template to add dependency section" 20:02:09 > git --version # timeout=10 20:02:09 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:02:10 ========================================================= 20:02:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 20:02:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:02:10 go: finding github.com/BurntSushi/toml v0.3.1 20:02:10 go: finding github.com/OneOfOne/xxhash v1.2.6 20:02:10 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:02:10 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:02:11 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:02:11 go: finding github.com/bgentry/speakeasy v0.1.0 20:02:11 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:02:11 go: finding github.com/davecgh/go-spew v1.1.1 20:02:11 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 20:02:11 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:02:11 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:02:11 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:02:11 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:02:11 go: finding github.com/fatih/color v1.7.0 20:02:11 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:02:11 go: finding github.com/go-kit/kit v0.8.0 20:02:11 go: finding github.com/go-logfmt/logfmt v0.4.0 20:02:11 go: finding github.com/go-stack/stack v1.8.0 20:02:11 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:02:11 go: finding github.com/google/uuid v1.1.0 20:02:11 go: finding github.com/gorilla/mux v1.7.1 20:02:11 go: finding github.com/hashicorp/consul/api v1.1.0 20:02:11 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:02:11 go: finding github.com/hashicorp/errwrap v1.0.0 20:02:11 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:02:11 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:02:11 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:02:11 go: finding github.com/hashicorp/go-multierror v1.0.0 20:02:11 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:02:11 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:02:11 go: finding github.com/hashicorp/go-syslog v1.0.0 20:02:11 go: finding github.com/hashicorp/go-uuid v1.0.1 20:02:11 go: finding github.com/hashicorp/go.net v0.0.1 20:02:11 go: finding github.com/hashicorp/golang-lru v0.5.0 20:02:11 go: finding github.com/hashicorp/logutils v1.0.0 20:02:11 go: finding github.com/hashicorp/mdns v1.0.0 20:02:11 go: finding github.com/hashicorp/memberlist v0.1.3 20:02:11 go: finding github.com/hashicorp/serf v0.8.2 20:02:11 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:02:11 go: finding github.com/mattn/go-colorable v0.0.9 20:02:11 go: finding github.com/mattn/go-isatty v0.0.3 20:02:11 go: finding github.com/miekg/dns v1.0.14 20:02:11 go: finding github.com/mitchellh/cli v1.0.0 20:02:11 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:02:11 + 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 . 20:02:12 go: finding github.com/mitchellh/copystructure v1.0.0 20:02:12 go: finding github.com/mitchellh/go-homedir v1.0.0 20:02:12 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:02:12 go: finding github.com/mitchellh/gox v0.4.0 20:02:12 go: finding github.com/mitchellh/iochan v1.0.0 20:02:12 go: finding github.com/mitchellh/mapstructure v1.1.2 20:02:12 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:02:12 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:02:12 go: finding github.com/pelletier/go-toml v1.2.0 20:02:12 go: finding github.com/pkg/errors v0.8.1 20:02:12 go: finding github.com/pmezard/go-difflib v1.0.0 20:02:12 go: finding github.com/posener/complete v1.1.1 20:02:12 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:02:12 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:02:12 go: finding github.com/stretchr/objx v0.1.0 20:02:12 go: finding github.com/stretchr/testify v1.5.1 20:02:12 go: finding github.com/ugorji/go v1.1.4 20:02:12 go: finding github.com/x448/float16 v0.8.4 20:02:12 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:02:12 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 20:02:12 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:02:12 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:02:12 Sending build context to Docker daemon 3.092MB 20:02:12 Step 1/8 : ARG BASE=golang:1.13-alpine 20:02:12 Step 2/8 : FROM ${BASE} 20:02:12 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:02:12 go: finding gopkg.in/yaml.v2 v2.2.8 20:02:12 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 20:02:12 e6b0cf9c0882: Pulling fs layer 20:02:12 2848faf0eed1: Pulling fs layer 20:02:12 0f37312ad70f: Pulling fs layer 20:02:12 5788d62ee057: Pulling fs layer 20:02:12 0e6b1d234666: Pulling fs layer 20:02:12 bf5d7aec512f: Pulling fs layer 20:02:12 34c802a77dc8: Pulling fs layer 20:02:12 9eb99e56ec68: Pulling fs layer 20:02:12 27c7a5d97fbd: Pulling fs layer 20:02:12 5c102a31e300: Pulling fs layer 20:02:12 dcfb455df0a1: Pulling fs layer 20:02:12 34c802a77dc8: Waiting 20:02:12 9eb99e56ec68: Waiting 20:02:12 27c7a5d97fbd: Waiting 20:02:12 5c102a31e300: Waiting 20:02:12 dcfb455df0a1: Waiting 20:02:12 5788d62ee057: Waiting 20:02:12 bf5d7aec512f: Waiting 20:02:12 0f37312ad70f: Download complete 20:02:12 2848faf0eed1: Verifying Checksum 20:02:12 2848faf0eed1: Download complete 20:02:12 0e6b1d234666: Verifying Checksum 20:02:12 0e6b1d234666: Download complete 20:02:12 bf5d7aec512f: Verifying Checksum 20:02:12 bf5d7aec512f: Download complete 20:02:12 e6b0cf9c0882: Verifying Checksum 20:02:12 e6b0cf9c0882: Download complete 20:02:12 e6b0cf9c0882: Pull complete 20:02:13 2848faf0eed1: Pull complete 20:02:13 0f37312ad70f: Pull complete 20:02:15 34c802a77dc8: Verifying Checksum 20:02:15 34c802a77dc8: Download complete 20:02:15 27c7a5d97fbd: Verifying Checksum 20:02:15 27c7a5d97fbd: Download complete 20:02:17 5788d62ee057: Verifying Checksum 20:02:17 5788d62ee057: Download complete 20:02:17 5c102a31e300: Verifying Checksum 20:02:17 5c102a31e300: Download complete 20:02:17 9eb99e56ec68: Verifying Checksum 20:02:17 9eb99e56ec68: Download complete 20:02:17 dcfb455df0a1: Verifying Checksum 20:02:17 dcfb455df0a1: Download complete 20:02:22 Removing intermediate container 56cf636d18af 20:02:22 ---> e5a7b4298bc4 20:02:22 Successfully built e5a7b4298bc4 20:02:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:02:23 + docker inspect -f . ci-base-image-arm64 20:02:23 . [Pipeline] withDockerContainer 20:02:23 prd-ubuntu18.04-docker-arm64-4c-16g-3168 does not seem to be running inside a container 20:02:23 $ 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 ******** ci-base-image-arm64 cat 20:02:25 $ docker top 85abc707b6e2a251eaff3c375e21ed73b7cd164070a42acba4adbae659396030 -eo pid,comm [Pipeline] { [Pipeline] sh 20:02:27 + go version 20:02:27 go version go1.13.5 linux/arm64 [Pipeline] sh 20:02:27 5788d62ee057: Pull complete 20:02:27 0e6b1d234666: Pull complete 20:02:27 bf5d7aec512f: Pull complete 20:02:28 + make test 20:02:28 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:02:29 ? github.com/edgexfoundry/device-sdk-go [no test files] 20:02:30 34c802a77dc8: Pull complete 20:02:35 9eb99e56ec68: Pull complete 20:02:35 27c7a5d97fbd: Pull complete 20:02:36 5c102a31e300: Pull complete 20:02:36 dcfb455df0a1: Pull complete 20:02:36 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 20:02:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 20:02:36 ---> 7c70fe431013 20:02:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:02:37 ---> Running in d60e2780ae2d 20:02:37 Removing intermediate container d60e2780ae2d 20:02:37 ---> 406ea594c6db 20:02:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:02:37 ---> Running in 568b6b477f26 20:02:39 Removing intermediate container 568b6b477f26 20:02:39 ---> e2023b8ac3fa 20:02:39 Step 5/8 : RUN apk add --no-cache make git 20:02:39 ---> Running in 7e00f96c029f 20:02:40 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 20:02:41 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 20:02:41 OK: 143 MiB in 39 packages 20:02:42 Removing intermediate container 7e00f96c029f 20:02:42 ---> 11522b32bcee 20:02:42 Step 6/8 : WORKDIR /device-sdk-go 20:02:42 ---> Running in b7c58a3342f7 20:02:42 Removing intermediate container b7c58a3342f7 20:02:42 ---> f6f3626ad58e 20:02:42 Step 7/8 : COPY . . 20:02:43 ---> e7b7664c0ae1 20:02:43 Step 8/8 : RUN go mod download 20:02:43 ---> Running in 71c5d31abbe6 20:02:46 go: finding github.com/BurntSushi/toml v0.3.1 20:02:46 go: finding github.com/OneOfOne/xxhash v1.2.6 20:02:46 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:02:46 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:02:46 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:02:46 go: finding github.com/bgentry/speakeasy v0.1.0 20:02:46 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:02:46 go: finding github.com/davecgh/go-spew v1.1.1 20:02:46 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 20:02:46 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:02:46 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:02:46 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:02:46 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:02:46 go: finding github.com/fatih/color v1.7.0 20:02:46 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:02:46 go: finding github.com/go-kit/kit v0.8.0 20:02:46 go: finding github.com/go-logfmt/logfmt v0.4.0 20:02:46 go: finding github.com/go-stack/stack v1.8.0 20:02:46 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:02:46 go: finding github.com/google/uuid v1.1.0 20:02:46 go: finding github.com/gorilla/mux v1.7.1 20:02:46 go: finding github.com/hashicorp/consul/api v1.1.0 20:02:46 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:02:46 go: finding github.com/hashicorp/errwrap v1.0.0 20:02:46 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:02:46 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:02:46 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:02:46 go: finding github.com/hashicorp/go-multierror v1.0.0 20:02:46 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:02:46 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:02:46 go: finding github.com/hashicorp/go-syslog v1.0.0 20:02:46 go: finding github.com/hashicorp/go-uuid v1.0.1 20:02:46 go: finding github.com/hashicorp/go.net v0.0.1 20:02:46 go: finding github.com/hashicorp/golang-lru v0.5.0 20:02:46 go: finding github.com/hashicorp/logutils v1.0.0 20:02:46 go: finding github.com/hashicorp/mdns v1.0.0 20:02:46 go: finding github.com/hashicorp/memberlist v0.1.3 20:02:46 go: finding github.com/hashicorp/serf v0.8.2 20:02:46 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:02:46 go: finding github.com/mattn/go-colorable v0.0.9 20:02:46 go: finding github.com/mattn/go-isatty v0.0.3 20:02:46 go: finding github.com/miekg/dns v1.0.14 20:02:46 go: finding github.com/mitchellh/cli v1.0.0 20:02:46 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:02:46 go: finding github.com/mitchellh/copystructure v1.0.0 20:02:46 go: finding github.com/mitchellh/go-homedir v1.0.0 20:02:46 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:02:46 go: finding github.com/mitchellh/gox v0.4.0 20:02:46 go: finding github.com/mitchellh/iochan v1.0.0 20:02:46 go: finding github.com/mitchellh/mapstructure v1.1.2 20:02:46 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:02:46 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:02:46 go: finding github.com/pelletier/go-toml v1.2.0 20:02:46 go: finding github.com/pkg/errors v0.8.1 20:02:46 go: finding github.com/pmezard/go-difflib v1.0.0 20:02:46 go: finding github.com/posener/complete v1.1.1 20:02:46 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:02:46 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:02:46 go: finding github.com/stretchr/objx v0.1.0 20:02:46 go: finding github.com/stretchr/testify v1.5.1 20:02:46 go: finding github.com/ugorji/go v1.1.4 20:02:46 go: finding github.com/x448/float16 v0.8.4 20:02:46 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:02:46 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 20:02:46 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:02:46 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:02:46 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:02:46 go: finding gopkg.in/yaml.v2 v2.2.8 20:02:54 Removing intermediate container 71c5d31abbe6 20:02:54 ---> ce6d7c74b380 20:02:54 Successfully built ce6d7c74b380 20:02:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:02:55 + docker inspect -f . ci-base-image-x86_64 20:02:55 . [Pipeline] withDockerContainer 20:02:56 prd-centos7-docker-4c-2g-3169 does not seem to be running inside a container 20:02:56 $ 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 ******** ci-base-image-x86_64 cat 20:02:57 $ docker top c56e79f685581ee922f296b21d980636bc78b439413646af5a308897be524e93 -eo pid,comm [Pipeline] { [Pipeline] sh 20:02:58 + go version 20:02:58 go version go1.13.5 linux/amd64 [Pipeline] sh 20:02:59 + make test 20:02:59 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:03:01 ? github.com/edgexfoundry/device-sdk-go [no test files] 20:03:01 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 20:03:01 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 20:03:01 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 20:03:01 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.041s coverage: 22.1% of statements 20:03:01 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.182s coverage: 95.8% of statements 20:03:19 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 20:03:19 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 20:03:19 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 20:03:19 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 22.1% of statements 20:03:20 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.067s coverage: 95.8% of statements 20:03:33 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 11.4% of statements 20:03:33 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 21.7% of statements 20:03:33 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 20:03:33 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.146s coverage: 36.9% of statements 20:03:33 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 20:03:33 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 20:03:33 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.513s coverage: 65.2% of statements 20:03:33 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 20:03:33 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 20:03:33 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 20:03:33 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements 20:03:33 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 20:03:33 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.331s coverage: 68.9% of statements 20:03:33 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 20:03:33 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 20:03:33 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:03:35 gofmt -l . 20:03:36 [ "`gofmt -l .`" = "" ] 20:03:36 ./bin/test-attribution-txt.sh 20:03:37 ./bin/test-go-mod-tidy.sh [Pipeline] stash 20:03:38 Stashed 1 file(s) [Pipeline] } 20:03:38 $ docker stop --time=1 85abc707b6e2a251eaff3c375e21ed73b7cd164070a42acba4adbae659396030 20:03:40 $ docker rm -f 85abc707b6e2a251eaff3c375e21ed73b7cd164070a42acba4adbae659396030 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:03:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:03:43 + ls -al . 20:03:43 total 224 20:03:43 drwxrwxr-x 11 jenkins jenkins 4096 Jun 16 20:03 . 20:03:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 20:01 .. 20:03:43 -rw-rw-r-- 1 jenkins jenkins 140 Jun 16 20:01 .dockerignore 20:03:43 drwxrwxr-x 8 jenkins jenkins 4096 Jun 16 20:01 .git 20:03:43 drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 20:01 .github 20:03:43 -rw-rw-r-- 1 jenkins jenkins 138 Jun 16 20:01 .gitignore 20:03:43 drwxrwxr-x 3 jenkins jenkins 4096 Jun 16 20:01 .semver 20:03:43 -rw-rw-r-- 1 jenkins jenkins 936 Jun 16 20:01 Dockerfile.build 20:03:43 -rw-rw-r-- 1 jenkins jenkins 808 Jun 16 20:01 Jenkinsfile 20:03:43 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 16 20:01 LICENSE 20:03:43 -rw-rw-r-- 1 jenkins jenkins 892 Jun 16 20:01 Makefile 20:03:43 -rw-rw-r-- 1 jenkins jenkins 5101 Jun 16 20:01 README.md 20:03:43 -rw-rw-r-- 1 jenkins jenkins 3997 Jun 16 20:01 RELEASE-NOTES.txt 20:03:43 -rw-rw-r-- 1 jenkins jenkins 5 Jun 16 19:59 VERSION 20:03:43 drwxrwxr-x 3 jenkins jenkins 4096 Jun 16 20:01 api 20:03:43 drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 20:01 bin 20:03:43 -rw-r--r-- 1 jenkins jenkins 110877 Jun 16 20:03 coverage.out 20:03:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 20:01 example 20:03:43 -rw-r--r-- 1 jenkins jenkins 446 Jun 16 20:03 go.mod 20:03:43 -rw-r--r-- 1 jenkins jenkins 12179 Jun 16 20:03 go.sum 20:03:43 drwxrwxr-x 15 jenkins jenkins 4096 Jun 16 20:01 internal 20:03:43 drwxrwxr-x 5 jenkins jenkins 4096 Jun 16 20:01 pkg 20:03:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 20:01 snap 20:03:43 -rw-rw-r-- 1 jenkins jenkins 222 Jun 16 20:01 version.go [Pipeline] isUnix [Pipeline] sh 20:03:43 + 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=35069692f68dee2f6752c48bd44826b15366f437 --label arch=arm64 --label version=0.0.0 . 20:03:44 Sending build context to Docker daemon 3.22MB 20:03:44 Step 1/23 : ARG BASE=golang:1.13-alpine 20:03:44 Step 2/23 : FROM ${BASE} AS builder 20:03:44 ---> e5a7b4298bc4 20:03:44 Step 3/23 : ARG MAKE='make build' 20:03:44 ---> Running in 1bdecde5871a 20:03:45 Removing intermediate container 1bdecde5871a 20:03:45 ---> da597a8cab41 20:03:45 Step 4/23 : WORKDIR /device-sdk-go 20:03:45 ---> Running in 41f5bef9bdef 20:03:45 Removing intermediate container 41f5bef9bdef 20:03:45 ---> f7dcd966a80e 20:03:45 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:03:45 ---> Running in 3c8957288135 20:03:46 Removing intermediate container 3c8957288135 20:03:46 ---> 3c5ee9c7c4ec 20:03:46 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:03:46 ---> Running in 053c4acf741c 20:03:49 Removing intermediate container 053c4acf741c 20:03:49 ---> 77e11c144f18 20:03:49 Step 7/23 : RUN apk add --update --no-cache make git 20:03:49 ---> Running in f6c50d81d10f 20:03:50 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 20:03:51 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 20:03:51 OK: 125 MiB in 39 packages 20:03:52 Removing intermediate container f6c50d81d10f 20:03:52 ---> a658e061af4f 20:03:52 Step 8/23 : COPY . . 20:03:52 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.024s coverage: 11.4% of statements 20:03:52 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.009s coverage: 21.7% of statements 20:03:52 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 20:03:52 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.166s coverage: 36.9% of statements 20:03:52 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 20:03:52 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 20:03:52 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.515s coverage: 65.2% of statements 20:03:52 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 20:03:52 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 20:03:52 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 20:03:52 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.059s coverage: 52.6% of statements 20:03:52 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 20:03:52 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.134s coverage: 68.9% of statements 20:03:52 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 20:03:52 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 20:03:52 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:03:54 ---> 086b46936037 20:03:54 Step 9/23 : RUN ${MAKE} 20:03:54 ---> Running in 9b563dd6f22a 20:03:55 gofmt -l . 20:03:55 [ "`gofmt -l .`" = "" ] 20:03:55 ./bin/test-attribution-txt.sh 20:03:55 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 20:03:56 ./bin/test-go-mod-tidy.sh [Pipeline] stash 20:03:57 Warning: overwriting stash ‘coverage-report’ 20:03:57 Stashed 1 file(s) [Pipeline] } 20:03:57 $ docker stop --time=1 c56e79f685581ee922f296b21d980636bc78b439413646af5a308897be524e93 20:03:59 $ docker rm -f c56e79f685581ee922f296b21d980636bc78b439413646af5a308897be524e93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:04:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:04:00 + ls -al . 20:04:00 total 184 20:04:00 drwxrwxr-x. 11 jenkins jenkins 4096 Jun 16 20:03 . 20:04:00 drwxrwxr-x. 4 jenkins jenkins 28 Jun 16 20:02 .. 20:04:00 drwxrwxr-x. 3 jenkins jenkins 20 Jun 16 20:02 api 20:04:00 drwxrwxr-x. 2 jenkins jenkins 64 Jun 16 20:02 bin 20:04:00 -rw-r--r--. 1 jenkins jenkins 110877 Jun 16 20:03 coverage.out 20:04:00 -rw-rw-r--. 1 jenkins jenkins 936 Jun 16 20:02 Dockerfile.build 20:04:00 -rw-rw-r--. 1 jenkins jenkins 140 Jun 16 20:02 .dockerignore 20:04:00 drwxrwxr-x. 4 jenkins jenkins 48 Jun 16 20:02 example 20:04:00 drwxrwxr-x. 8 jenkins jenkins 179 Jun 16 20:02 .git 20:04:00 drwxrwxr-x. 2 jenkins jenkins 38 Jun 16 20:02 .github 20:04:00 -rw-rw-r--. 1 jenkins jenkins 138 Jun 16 20:02 .gitignore 20:04:00 -rw-r--r--. 1 jenkins jenkins 446 Jun 16 20:03 go.mod 20:04:00 -rw-r--r--. 1 jenkins jenkins 12179 Jun 16 20:03 go.sum 20:04:00 drwxrwxr-x. 15 jenkins jenkins 217 Jun 16 20:02 internal 20:04:00 -rw-rw-r--. 1 jenkins jenkins 808 Jun 16 20:02 Jenkinsfile 20:04:00 -rw-rw-r--. 1 jenkins jenkins 11341 Jun 16 20:02 LICENSE 20:04:00 -rw-rw-r--. 1 jenkins jenkins 892 Jun 16 20:02 Makefile 20:04:00 drwxrwxr-x. 5 jenkins jenkins 50 Jun 16 20:02 pkg 20:04:00 -rw-rw-r--. 1 jenkins jenkins 5101 Jun 16 20:02 README.md 20:04:00 -rw-rw-r--. 1 jenkins jenkins 3997 Jun 16 20:02 RELEASE-NOTES.txt 20:04:00 drwxrwxr-x. 3 jenkins jenkins 58 Jun 16 20:02 .semver 20:04:00 drwxrwxr-x. 4 jenkins jenkins 54 Jun 16 20:02 snap 20:04:00 -rw-rw-r--. 1 jenkins jenkins 5 Jun 16 19:59 VERSION 20:04:00 -rw-rw-r--. 1 jenkins jenkins 222 Jun 16 20:02 version.go [Pipeline] isUnix [Pipeline] sh 20:04:00 + 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=35069692f68dee2f6752c48bd44826b15366f437 --label arch=amd64 --label version=0.0.0 . 20:04:01 Sending build context to Docker daemon 3.22MB 20:04:01 Step 1/23 : ARG BASE=golang:1.13-alpine 20:04:01 Step 2/23 : FROM ${BASE} AS builder 20:04:01 ---> ce6d7c74b380 20:04:01 Step 3/23 : ARG MAKE='make build' 20:04:02 ---> Running in a2bf5017ead4 20:04:02 Removing intermediate container a2bf5017ead4 20:04:02 ---> a57ae258a17c 20:04:02 Step 4/23 : WORKDIR /device-sdk-go 20:04:02 ---> Running in 2207524cbd37 20:04:02 Removing intermediate container 2207524cbd37 20:04:02 ---> 48df573ebfbf 20:04:02 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:04:02 ---> Running in 4c2127bfd0c2 20:04:03 Removing intermediate container 4c2127bfd0c2 20:04:03 ---> 759be32d0c10 20:04:03 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:04:03 ---> Running in 72b7111285a9 20:04:04 Removing intermediate container 72b7111285a9 20:04:04 ---> 7201873ead3c 20:04:04 Step 7/23 : RUN apk add --update --no-cache make git 20:04:04 ---> Running in 563c57cbb986 20:04:05 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 20:04:05 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 20:04:06 OK: 143 MiB in 39 packages 20:04:07 Removing intermediate container 563c57cbb986 20:04:07 ---> 1f91371f11ed 20:04:07 Step 8/23 : COPY . . 20:04:08 ---> 87d969078616 20:04:08 Step 9/23 : RUN ${MAKE} 20:04:08 ---> Running in 93ec75fc506f 20:04:08 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 20:04:17 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 20:04:20 Removing intermediate container 9b563dd6f22a 20:04:20 ---> 64339b580cc9 20:04:20 Step 10/23 : FROM scratch 20:04:20 ---> 20:04:20 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:04:20 ---> Running in 38313b9d766d 20:04:21 Removing intermediate container 38313b9d766d 20:04:21 ---> 078111f346fa 20:04:21 Step 12/23 : ENV APP_PORT=49990 20:04:21 ---> Running in 9d0720362188 20:04:21 Removing intermediate container 9d0720362188 20:04:21 ---> 0a93651d7183 20:04:21 Step 13/23 : EXPOSE $APP_PORT 20:04:21 ---> Running in 0b6dde6032bb 20:04:22 Removing intermediate container 0b6dde6032bb 20:04:22 ---> a176bd3446b8 20:04:22 Step 14/23 : WORKDIR / 20:04:22 ---> Running in 7c96b7c70965 20:04:22 Removing intermediate container 7c96b7c70965 20:04:22 ---> 56cda1d231ac 20:04:22 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 20:04:23 ---> 3fcd2265df0c 20:04:23 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 20:04:24 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 20:04:24 ---> 774e0f3480eb 20:04:24 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 20:04:25 ---> f1cc3b7bf016 20:04:25 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 20:04:25 Removing intermediate container 93ec75fc506f 20:04:25 ---> be7ad6b674e6 20:04:25 Step 10/23 : FROM scratch 20:04:25 ---> 20:04:25 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:04:25 ---> Running in e995a72eb68f 20:04:26 Removing intermediate container e995a72eb68f 20:04:26 ---> 11f32d5bfad6 20:04:26 Step 12/23 : ENV APP_PORT=49990 20:04:26 ---> Running in e8fb725c661f 20:04:26 ---> ddea9df4dfa7 20:04:26 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 20:04:26 Removing intermediate container e8fb725c661f 20:04:26 ---> 9492b4e5a322 20:04:26 Step 13/23 : EXPOSE $APP_PORT 20:04:26 ---> Running in 421af1b7aaf1 20:04:26 Removing intermediate container 421af1b7aaf1 20:04:26 ---> c0d8e8e4426e 20:04:26 Step 14/23 : WORKDIR / 20:04:26 ---> Running in be065e7014df 20:04:26 Removing intermediate container be065e7014df 20:04:26 ---> 392c0dc727e1 20:04:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 20:04:26 ---> 4c55dedca0cd 20:04:26 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:04:26 ---> Running in 672dc890e5ac 20:04:27 Removing intermediate container 672dc890e5ac 20:04:27 ---> 71b99f299715 20:04:27 Step 21/23 : LABEL arch=arm64 20:04:27 ---> Running in a4801cc23308 20:04:27 ---> 54f6bc61c9c5 20:04:27 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 20:04:27 Removing intermediate container a4801cc23308 20:04:27 ---> fe0ea6e3dc0f 20:04:27 Step 22/23 : LABEL git_sha=35069692f68dee2f6752c48bd44826b15366f437 20:04:27 ---> caf72b43823c 20:04:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 20:04:28 ---> Running in 88bc4d5924f6 20:04:28 ---> d92c6aabcdbd 20:04:28 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 20:04:28 ---> 766ae2bc86aa 20:04:28 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 20:04:28 Removing intermediate container 88bc4d5924f6 20:04:28 ---> 3d7933a80db9 20:04:28 Step 23/23 : LABEL version=0.0.0 20:04:28 ---> 9283e5aadd1a 20:04:28 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:04:28 ---> Running in 0eaf9db0ae21 20:04:28 ---> Running in 19eca40fef7e 20:04:28 Removing intermediate container 0eaf9db0ae21 20:04:28 ---> c77e22c41732 20:04:28 Step 21/23 : LABEL arch=amd64 20:04:28 Removing intermediate container 19eca40fef7e 20:04:28 ---> 49bae17e1761 20:04:28 [Warning] One or more build-args [ARCH] were not consumed 20:04:28 Successfully built 49bae17e1761 20:04:29 ---> Running in 95334049c646 20:04:29 Removing intermediate container 95334049c646 20:04:29 ---> f8629f72fa04 20:04:29 Step 22/23 : LABEL git_sha=35069692f68dee2f6752c48bd44826b15366f437 20:04:29 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 20:04:29 ---> Running in 40dc5cc4af57 20:04:29 Removing intermediate container 40dc5cc4af57 20:04:29 ---> a02f863e61cb 20:04:29 Step 23/23 : LABEL version=0.0.0 Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 20:04:29 ---> Running in 7e8fdb6cf476 20:04:29 Removing intermediate container 7e8fdb6cf476 20:04:29 ---> 3ae2ebf8336b 20:04:29 [Warning] One or more build-args [ARCH] were not consumed 20:04:29 Successfully built 3ae2ebf8336b 20:04:29 Successfully tagged docker-device-sdk-simple:latest [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [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 20:04:31 provisioning config files... 20:04:31 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp/config4960564463496491664tmp [Pipeline] { [Pipeline] sh 20:04:31 + curl -s https://codecov.io/bash 20:04:31 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp/config4960564463496491664tmp 20:04:32 20:04:32 _____ _ 20:04:32 / ____| | | 20:04:32 | | ___ __| | ___ ___ _____ __ 20:04:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:04:32 | |___| (_) | (_| | __/ (_| (_) \ V / 20:04:32 \_____\___/ \__,_|\___|\___\___/ \_/ 20:04:32 Bash-20200602-f809a24 20:04:32 20:04:32 20:04:32 ==> Jenkins CI detected. 20:04:32 project root: . 20:04:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:04:32 ==> Running gcov in . (disable via -X gcov) 20:04:32 ==> Python coveragepy not found 20:04:32 ==> Searching for coverage reports in: 20:04:32 + . 20:04:32 -> Found 1 reports 20:04:32 ==> Detecting git/mercurial file structure 20:04:32 ==> Reading reports 20:04:32 + ./coverage.out bytes=110877 20:04:32 ==> Appending adjustments 20:04:32 https://docs.codecov.io/docs/fixing-reports 20:04:32 + Found adjustments 20:04:32 ==> Gzipping contents 20:04:32 ==> Uploading reports 20:04:32 url: https://codecov.io 20:04:32 query: branch=PR-541&commit=35069692f68dee2f6752c48bd44826b15366f437&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-541%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=541&job= 20:04:32 -> Pinging Codecov 20:04:32 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-541&commit=35069692f68dee2f6752c48bd44826b15366f437&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-541%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=541&job= 20:04:33 -> Uploading 20:04:33 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/35069692f68dee2f6752c48bd44826b15366f437 [Pipeline] } 20:04:33 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 20:04:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:04:35 ---> package-listing.sh 20:04:35 ++ facter osfamily 20:04:35 ++ tr '[:upper:]' '[:lower:]' 20:04:35 + OS_FAMILY=redhat 20:04:35 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-541 20:04:35 + START_PACKAGES=/tmp/packages_start.txt 20:04:35 + END_PACKAGES=/tmp/packages_end.txt 20:04:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:04:35 + PACKAGES=/tmp/packages_start.txt 20:04:35 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-541 ']' 20:04:35 + PACKAGES=/tmp/packages_end.txt 20:04:35 + case "${OS_FAMILY}" in 20:04:35 + rpm -qa 20:04:35 + sort 20:04:40 + '[' -f /tmp/packages_start.txt ']' 20:04:40 + '[' -f /tmp/packages_end.txt ']' 20:04:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:04:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-541 ']' 20:04:40 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-541/archives/ 20:04:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-541/archives/ [Pipeline] isUnix [Pipeline] sh 20:04:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:04:40 20:04:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:04:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:04:41 alpine: Pulling from edgex-lftools-log-publisher 20:04:41 c9b1b535fdd9: Pulling fs layer 20:04:41 2cc5ad85d9ab: Pulling fs layer 20:04:41 756a868c4378: Pulling fs layer 20:04:41 444b2fc9a129: Pulling fs layer 20:04:41 ea15f1150254: Pulling fs layer 20:04:41 41b27a9f41bf: Pulling fs layer 20:04:41 28c525ee5125: Pulling fs layer 20:04:41 094b1ea09ed8: Pulling fs layer 20:04:41 138eaada9080: Pulling fs layer 20:04:41 0622d0fa9048: Pulling fs layer 20:04:41 41b27a9f41bf: Waiting 20:04:41 28c525ee5125: Waiting 20:04:41 444b2fc9a129: Waiting 20:04:41 094b1ea09ed8: Waiting 20:04:41 ea15f1150254: Waiting 20:04:41 138eaada9080: Waiting 20:04:41 0622d0fa9048: Waiting 20:04:41 2cc5ad85d9ab: Verifying Checksum 20:04:41 2cc5ad85d9ab: Download complete 20:04:41 444b2fc9a129: Verifying Checksum 20:04:41 444b2fc9a129: Download complete 20:04:41 c9b1b535fdd9: Verifying Checksum 20:04:41 ea15f1150254: Download complete 20:04:41 28c525ee5125: Verifying Checksum 20:04:41 28c525ee5125: Download complete 20:04:41 c9b1b535fdd9: Pull complete 20:04:41 756a868c4378: Verifying Checksum 20:04:41 756a868c4378: Download complete 20:04:41 2cc5ad85d9ab: Pull complete 20:04:41 138eaada9080: Verifying Checksum 20:04:41 138eaada9080: Download complete 20:04:41 0622d0fa9048: Verifying Checksum 20:04:41 0622d0fa9048: Download complete 20:04:41 094b1ea09ed8: Verifying Checksum 20:04:41 094b1ea09ed8: Download complete 20:04:42 41b27a9f41bf: Verifying Checksum 20:04:42 41b27a9f41bf: Download complete 20:04:43 756a868c4378: Pull complete 20:04:43 444b2fc9a129: Pull complete 20:04:43 ea15f1150254: Pull complete 20:04:47 41b27a9f41bf: Pull complete 20:04:47 28c525ee5125: Pull complete 20:04:50 094b1ea09ed8: Pull complete 20:04:50 138eaada9080: Pull complete 20:04:50 0622d0fa9048: Pull complete 20:04:50 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 20:04:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:04:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:04:50 prd-centos7-docker-4c-2g-3167 does not seem to be running inside a container 20:04:50 $ 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-541 -v /w/workspace/dgexfoundry_device-sdk-go_PR-541:/w/workspace/dgexfoundry_device-sdk-go_PR-541:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-541@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:10003/edgex-lftools-log-publisher:alpine cat 20:04:54 $ docker top 1dcebf44b47c72355df24761d7da7a9aa1ca01862a460eb23e2a6faaeb5458e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:54 provisioning config files... 20:04:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-541@tmp/config7425578613962930007tmp [Pipeline] { [Pipeline] echo 20:04:55 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:04:55 ---> create-netrc.sh [Pipeline] echo 20:04:55 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:04:55 ---> logs-deploy.sh 20:04:55 + ARCHIVE_ARTIFACTS= 20:04:55 + LOGS_SERVER=https://logs.edgexfoundry.org 20:04:55 + '[' https://logs.edgexfoundry.org == None ']' 20:04:55 + NEXUS_URL=https://nexus.edgexfoundry.org 20:04:55 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-541/1 20:04:55 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-541/1/ 20:04:55 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-541/1 /w/workspace/dgexfoundry_device-sdk-go_PR-541 20:04:57 Archives upload complete. 20:04:57 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-541/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-541/1/