Pull request #492 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 74e513e89effa008bfc797cd1eccc3b81c3dc47a+c9525094fd4abef9af2e7dd202c12c7ca3958476 (7a3d8ecd0f56636b646aeb60e6ecee1d15a82b19) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-492/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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-4450 in /w/workspace/dgexfoundry_device-sdk-go_PR-492 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-492 # 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/492/head:refs/remotes/origin/PR-492 +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/492/head:refs/remotes/origin/PR-492 # 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/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c9525094fd4abef9af2e7dd202c12c7ca3958476 into PR head commit 74e513e89effa008bfc797cd1eccc3b81c3dc47a Merge succeeded, producing 74e513e89effa008bfc797cd1eccc3b81c3dc47a Checking out Revision 74e513e89effa008bfc797cd1eccc3b81c3dc47a (PR-492) > git config core.sparsecheckout # timeout=10 > git checkout -f 74e513e89effa008bfc797cd1eccc3b81c3dc47a # 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 c9525094fd4abef9af2e7dd202c12c7ca3958476 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74e513e89effa008bfc797cd1eccc3b81c3dc47a # timeout=10 Commit message: "Refactor bootstrap process" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:27:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:27:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:27:41 ========================================================= 06:27:41 EdgeX Global Pipelines Version Info 06:27:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:27:42 ------------------- 06:27:42 stable info: 06:27:42 ------------------- 06:27:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:27:42 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 06:27:42 Message: update stable to v1.0.73 06:27:43 ------------------- 06:27:43 experimental info: 06:27:43 ------------------- 06:27:43 Commited By: **** collab-it+edgex@linuxfoundation.org 06:27:43 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 06:27:43 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 06:27:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:27:46 06:27:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:27:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:27:46 latest: Pulling from edgex-devops/git-semver 06:27:46 9123ac7c32f7: Pulling fs layer 06:27:46 b8cc5d1170e3: Pulling fs layer 06:27:46 2924cbbf6a41: Pulling fs layer 06:27:46 93b08a4f1073: Pulling fs layer 06:27:46 93b08a4f1073: Waiting 06:27:46 b8cc5d1170e3: Verifying Checksum 06:27:46 b8cc5d1170e3: Download complete 06:27:46 9123ac7c32f7: Verifying Checksum 06:27:46 9123ac7c32f7: Download complete 06:27:46 2924cbbf6a41: Verifying Checksum 06:27:46 2924cbbf6a41: Download complete 06:27:46 93b08a4f1073: Verifying Checksum 06:27:46 93b08a4f1073: Download complete 06:27:46 9123ac7c32f7: Pull complete 06:27:47 b8cc5d1170e3: Pull complete 06:27:47 2924cbbf6a41: Pull complete 06:27:47 93b08a4f1073: Pull complete 06:27:47 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 06:27:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:27:48 prd-centos7-docker-4c-2g-4450 does not seem to be running inside a container 06:27:48 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-492 -v /w/workspace/dgexfoundry_device-sdk-go_PR-492:/w/workspace/dgexfoundry_device-sdk-go_PR-492:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:27:48 $ docker top 19fe2c5121a665aef7c13c162a654639f234042b6858b75c2a01ec7d0234d368 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:27:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:27:49 [ssh-agent] Looking for ssh-agent implementation... 06:27:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:27:49 $ docker exec 19fe2c5121a665aef7c13c162a654639f234042b6858b75c2a01ec7d0234d368 ssh-agent 06:27:49 SSH_AUTH_SOCK=/tmp/ssh-RhvlJ8YwiX7z/agent.15 06:27:49 SSH_AGENT_PID=22 06:27:49 Running ssh-add (command line suppressed) 06:27:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp/private_key_935738196984297294.key (/w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp/private_key_935738196984297294.key) 06:27:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:27:50 + git describe --exact-match --tags HEAD 06:27:50 fatal: No names found, cannot describe anything. [Pipeline] } 06:27:50 $ docker exec --env ******** --env ******** 19fe2c5121a665aef7c13c162a654639f234042b6858b75c2a01ec7d0234d368 ssh-agent -k 06:27:50 unset SSH_AUTH_SOCK; 06:27:50 unset SSH_AGENT_PID; 06:27:50 echo Agent pid 22 killed; 06:27:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:27:50 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:27:50 This usually means this commit has not been tagged. [Pipeline] sshagent 06:27:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:27:50 [ssh-agent] Looking for ssh-agent implementation... 06:27:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:27:50 $ docker exec 19fe2c5121a665aef7c13c162a654639f234042b6858b75c2a01ec7d0234d368 ssh-agent 06:27:50 SSH_AUTH_SOCK=/tmp/ssh-oJeJ72GDpUhp/agent.57 06:27:50 SSH_AGENT_PID=64 06:27:50 Running ssh-add (command line suppressed) 06:27:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp/private_key_9205397071104702076.key (/w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp/private_key_9205397071104702076.key) 06:27:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:27:51 + git semver init 06:27:51 # -> Open(): unable to determine branch for HEAD 06:27:51 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-492/.git 06:27:51 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-492 06:27:51 # $SEMVER_REMOTE_NAME = origin 06:27:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:27:51 # $SEMVER_USER_NAME = edgex-jenkins 06:27:51 # $SEMVER_BRANCH = PR-492 06:27:51 # $SEMVER_TEMP = /tmp/semver-145325700 06:27:51 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:27:52 # '/tmp/semver-145325700' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-492/.semver' 06:27:52 # -> Force: false 06:27:52 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-492/.semver [Pipeline] } 06:27:52 $ docker exec --env ******** --env ******** 19fe2c5121a665aef7c13c162a654639f234042b6858b75c2a01ec7d0234d368 ssh-agent -k 06:27:52 unset SSH_AUTH_SOCK; 06:27:52 unset SSH_AGENT_PID; 06:27:52 echo Agent pid 64 killed; 06:27:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:27:52 + git semver [Pipeline] } 06:27:52 $ docker stop --time=1 19fe2c5121a665aef7c13c162a654639f234042b6858b75c2a01ec7d0234d368 06:27:54 $ docker rm -f 19fe2c5121a665aef7c13c162a654639f234042b6858b75c2a01ec7d0234d368 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:27:55 Stashed 45 file(s) [Pipeline] echo 06:27:55 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:28:10 Still waiting to schedule task 06:28:10 ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4449’ is offline; ‘prd-centos7-docker-4c-2g-4451’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4427’ doesn’t have label ‘centos7-docker-4c-2g’ 06:28:10 Still waiting to schedule task 06:28:10 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:30:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4452 in /w/workspace/dgexfoundry_device-sdk-go_PR-492 [Pipeline] { [Pipeline] ws 06:30:41 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:30:47 using credential edgex-jenkins-ssh 06:30:47 Cloning the remote Git repository 06:30:47 Cloning with configured refspecs honoured and without tags 06:30:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:30:48 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:30:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:30:48 > git --version # timeout=10 06:30:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:30:49 Fetching without tags 06:30:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:30:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:30:49 > git config --add remote.origin.fetch +refs/pull/492/head:refs/remotes/origin/PR-492 # timeout=10 06:30:49 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:30:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:30:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:30:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:30:49 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:30:49 Merging remotes/origin/master commit c9525094fd4abef9af2e7dd202c12c7ca3958476 into PR head commit 74e513e89effa008bfc797cd1eccc3b81c3dc47a 06:30:50 Merge succeeded, producing 74e513e89effa008bfc797cd1eccc3b81c3dc47a 06:30:50 Checking out Revision 74e513e89effa008bfc797cd1eccc3b81c3dc47a (PR-492) 06:30:50 > git config core.sparsecheckout # timeout=10 06:30:50 > git checkout -f 74e513e89effa008bfc797cd1eccc3b81c3dc47a # timeout=10 06:30:50 > git remote # timeout=10 06:30:50 > git config --get remote.origin.url # timeout=10 06:30:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:30:50 > git merge c9525094fd4abef9af2e7dd202c12c7ca3958476 # timeout=10 06:30:50 > git rev-parse HEAD^{commit} # timeout=10 06:30:50 > git config core.sparsecheckout # timeout=10 06:30:50 > git checkout -f 74e513e89effa008bfc797cd1eccc3b81c3dc47a # timeout=10 06:30:54 Commit message: "Refactor bootstrap process" 06:30:55 > git --version # timeout=10 06:30:55 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:30:56 ========================================================= 06:30:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 06:30:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:30:57 Running on prd-centos7-docker-4c-2g-4454 in /w/workspace/dgexfoundry_device-sdk-go_PR-492 [Pipeline] { [Pipeline] ws 06:30:57 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:30:57 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 06:30:58 Sending build context to Docker daemon 2.886MB 06:30:58 Step 1/8 : ARG BASE=golang:1.13-alpine 06:30:58 Step 2/8 : FROM ${BASE} 06:30:59 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:30:59 cde5963f3b93: Pulling fs layer 06:30:59 2a23fa8c16f7: Pulling fs layer 06:30:59 777b28850792: Pulling fs layer 06:30:59 8a11ddd9e578: Pulling fs layer 06:30:59 4cf88f913ddb: Pulling fs layer 06:30:59 1df406cf5192: Pulling fs layer 06:30:59 cd6300453558: Pulling fs layer 06:30:59 b9c365052c96: Pulling fs layer 06:30:59 a2d8cc88f415: Pulling fs layer 06:30:59 ea1d1ca13537: Pulling fs layer 06:30:59 3750a50a1c5e: Pulling fs layer 06:30:59 cd6300453558: Waiting 06:30:59 b9c365052c96: Waiting 06:30:59 a2d8cc88f415: Waiting 06:30:59 ea1d1ca13537: Waiting 06:30:59 3750a50a1c5e: Waiting 06:30:59 8a11ddd9e578: Waiting 06:30:59 4cf88f913ddb: Waiting 06:30:59 1df406cf5192: Waiting 06:30:59 777b28850792: Verifying Checksum 06:30:59 777b28850792: Download complete 06:30:59 2a23fa8c16f7: Verifying Checksum 06:30:59 2a23fa8c16f7: Download complete 06:30:59 4cf88f913ddb: Verifying Checksum 06:30:59 4cf88f913ddb: Download complete 06:30:59 1df406cf5192: Download complete 06:30:59 cde5963f3b93: Verifying Checksum 06:30:59 cde5963f3b93: Download complete 06:30:59 using credential edgex-jenkins-ssh 06:30:59 Cloning the remote Git repository 06:30:59 Cloning with configured refspecs honoured and without tags 06:30:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:30:59 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:31:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:31:00 > git --version # timeout=10 06:31:00 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:31:00 cde5963f3b93: Pull complete 06:31:00 Fetching without tags 06:31:00 2a23fa8c16f7: Pull complete 06:31:01 Merging remotes/origin/master commit c9525094fd4abef9af2e7dd202c12c7ca3958476 into PR head commit 74e513e89effa008bfc797cd1eccc3b81c3dc47a 06:31:01 Merge succeeded, producing 74e513e89effa008bfc797cd1eccc3b81c3dc47a 06:31:01 Checking out Revision 74e513e89effa008bfc797cd1eccc3b81c3dc47a (PR-492) 06:31:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:31:00 > git config --add remote.origin.fetch +refs/pull/492/head:refs/remotes/origin/PR-492 # timeout=10 06:31:00 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:31:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:31:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:31:00 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:31:01 > git config core.sparsecheckout # timeout=10 06:31:01 > git checkout -f 74e513e89effa008bfc797cd1eccc3b81c3dc47a # timeout=10 06:31:01 > git remote # timeout=10 06:31:01 > git config --get remote.origin.url # timeout=10 06:31:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:01 > git merge c9525094fd4abef9af2e7dd202c12c7ca3958476 # timeout=10 06:31:01 > git rev-parse HEAD^{commit} # timeout=10 06:31:01 > git config core.sparsecheckout # timeout=10 06:31:01 > git checkout -f 74e513e89effa008bfc797cd1eccc3b81c3dc47a # timeout=10 06:31:01 777b28850792: Pull complete 06:31:03 cd6300453558: Verifying Checksum 06:31:03 cd6300453558: Download complete 06:31:03 a2d8cc88f415: Verifying Checksum 06:31:03 a2d8cc88f415: Download complete 06:31:04 Commit message: "Refactor bootstrap process" 06:31:04 > git --version # timeout=10 06:31:04 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:31:05 ========================================================= 06:31:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 06:31:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:31:06 ea1d1ca13537: Verifying Checksum 06:31:06 ea1d1ca13537: Download complete 06:31:06 3750a50a1c5e: Verifying Checksum 06:31:06 3750a50a1c5e: Download complete 06:31:06 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 06:31:06 Sending build context to Docker daemon 2.888MB 06:31:06 Step 1/8 : ARG BASE=golang:1.13-alpine 06:31:06 Step 2/8 : FROM ${BASE} 06:31:06 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 06:31:06 e6b0cf9c0882: Pulling fs layer 06:31:06 2848faf0eed1: Pulling fs layer 06:31:06 0f37312ad70f: Pulling fs layer 06:31:06 5788d62ee057: Pulling fs layer 06:31:06 0e6b1d234666: Pulling fs layer 06:31:06 bf5d7aec512f: Pulling fs layer 06:31:06 34c802a77dc8: Pulling fs layer 06:31:06 9eb99e56ec68: Pulling fs layer 06:31:06 27c7a5d97fbd: Pulling fs layer 06:31:06 5c102a31e300: Pulling fs layer 06:31:06 dcfb455df0a1: Pulling fs layer 06:31:06 34c802a77dc8: Waiting 06:31:06 9eb99e56ec68: Waiting 06:31:06 27c7a5d97fbd: Waiting 06:31:06 5c102a31e300: Waiting 06:31:06 dcfb455df0a1: Waiting 06:31:06 5788d62ee057: Waiting 06:31:06 0e6b1d234666: Waiting 06:31:06 bf5d7aec512f: Waiting 06:31:06 0f37312ad70f: Verifying Checksum 06:31:06 0f37312ad70f: Download complete 06:31:06 2848faf0eed1: Verifying Checksum 06:31:06 2848faf0eed1: Download complete 06:31:06 0e6b1d234666: Verifying Checksum 06:31:06 0e6b1d234666: Download complete 06:31:06 bf5d7aec512f: Verifying Checksum 06:31:06 bf5d7aec512f: Download complete 06:31:06 e6b0cf9c0882: Verifying Checksum 06:31:06 e6b0cf9c0882: Download complete 06:31:07 e6b0cf9c0882: Pull complete 06:31:07 2848faf0eed1: Pull complete 06:31:07 0f37312ad70f: Pull complete 06:31:07 34c802a77dc8: Download complete 06:31:07 27c7a5d97fbd: Verifying Checksum 06:31:07 27c7a5d97fbd: Download complete 06:31:08 5c102a31e300: Verifying Checksum 06:31:08 5c102a31e300: Download complete 06:31:08 dcfb455df0a1: Verifying Checksum 06:31:08 dcfb455df0a1: Download complete 06:31:08 9eb99e56ec68: Verifying Checksum 06:31:08 9eb99e56ec68: Download complete 06:31:08 b9c365052c96: Download complete 06:31:08 5788d62ee057: Verifying Checksum 06:31:08 5788d62ee057: Download complete 06:31:10 8a11ddd9e578: Verifying Checksum 06:31:10 8a11ddd9e578: Download complete 06:31:14 5788d62ee057: Pull complete 06:31:14 0e6b1d234666: Pull complete 06:31:14 bf5d7aec512f: Pull complete 06:31:20 34c802a77dc8: Pull complete 06:31:22 8a11ddd9e578: Pull complete 06:31:22 4cf88f913ddb: Pull complete 06:31:22 1df406cf5192: Pull complete 06:31:24 9eb99e56ec68: Pull complete 06:31:24 27c7a5d97fbd: Pull complete 06:31:24 5c102a31e300: Pull complete 06:31:24 dcfb455df0a1: Pull complete 06:31:24 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 06:31:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 06:31:24 ---> 7c70fe431013 06:31:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:31:24 ---> Running in ccdd2cccc9bf 06:31:24 Removing intermediate container ccdd2cccc9bf 06:31:24 ---> 1103affd6e82 06:31:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:31:24 ---> Running in c16f5ce0960e 06:31:25 Removing intermediate container c16f5ce0960e 06:31:25 ---> b95bd7e64692 06:31:25 Step 5/8 : RUN apk add --no-cache make git 06:31:25 ---> Running in 727c048b1572 06:31:26 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 06:31:27 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 06:31:27 OK: 143 MiB in 39 packages 06:31:27 Removing intermediate container 727c048b1572 06:31:27 ---> 9d77c2d2b2b0 06:31:27 Step 6/8 : WORKDIR /device-sdk-go 06:31:28 ---> Running in 11c028e3b03e 06:31:28 Removing intermediate container 11c028e3b03e 06:31:28 ---> bf300c6c256e 06:31:28 Step 7/8 : COPY . . 06:31:28 cd6300453558: Pull complete 06:31:28 ---> b38fad2e052f 06:31:28 Step 8/8 : RUN go mod download 06:31:28 ---> Running in 20abbe91adef 06:31:31 go: finding github.com/BurntSushi/toml v0.3.1 06:31:31 go: finding github.com/OneOfOne/xxhash v1.2.6 06:31:31 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:31:31 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:31:31 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:31:31 go: finding github.com/bgentry/speakeasy v0.1.0 06:31:31 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:31:31 go: finding github.com/davecgh/go-spew v1.1.1 06:31:31 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 06:31:31 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:31:31 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 06:31:31 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 06:31:31 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:31:32 go: finding github.com/fatih/color v1.7.0 06:31:32 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:31:32 go: finding github.com/go-kit/kit v0.8.0 06:31:32 go: finding github.com/go-logfmt/logfmt v0.4.0 06:31:32 go: finding github.com/go-stack/stack v1.8.0 06:31:32 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:31:32 go: finding github.com/google/uuid v1.1.0 06:31:32 go: finding github.com/gorilla/mux v1.7.1 06:31:32 go: finding github.com/hashicorp/consul/api v1.1.0 06:31:32 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:31:32 go: finding github.com/hashicorp/errwrap v1.0.0 06:31:32 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:31:32 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:31:32 b9c365052c96: Pull complete 06:31:32 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:31:32 go: finding github.com/hashicorp/go-multierror v1.0.0 06:31:32 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:31:32 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:31:32 go: finding github.com/hashicorp/go-syslog v1.0.0 06:31:32 go: finding github.com/hashicorp/go-uuid v1.0.1 06:31:32 go: finding github.com/hashicorp/go.net v0.0.1 06:31:32 a2d8cc88f415: Pull complete 06:31:33 go: finding github.com/hashicorp/golang-lru v0.5.0 06:31:33 go: finding github.com/hashicorp/logutils v1.0.0 06:31:33 go: finding github.com/hashicorp/mdns v1.0.0 06:31:33 go: finding github.com/hashicorp/memberlist v0.1.3 06:31:33 go: finding github.com/hashicorp/serf v0.8.2 06:31:33 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:31:33 go: finding github.com/mattn/go-colorable v0.0.9 06:31:33 go: finding github.com/mattn/go-isatty v0.0.3 06:31:33 go: finding github.com/miekg/dns v1.0.14 06:31:33 go: finding github.com/mitchellh/cli v1.0.0 06:31:33 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:31:33 go: finding github.com/mitchellh/copystructure v1.0.0 06:31:33 go: finding github.com/mitchellh/go-homedir v1.0.0 06:31:33 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:31:33 go: finding github.com/mitchellh/gox v0.4.0 06:31:33 go: finding github.com/mitchellh/iochan v1.0.0 06:31:33 go: finding github.com/mitchellh/mapstructure v1.1.2 06:31:33 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:31:33 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:31:33 go: finding github.com/pelletier/go-toml v1.2.0 06:31:33 go: finding github.com/pkg/errors v0.8.1 06:31:33 go: finding github.com/pmezard/go-difflib v1.0.0 06:31:33 go: finding github.com/posener/complete v1.1.1 06:31:33 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:31:33 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:31:33 go: finding github.com/stretchr/objx v0.1.0 06:31:33 go: finding github.com/stretchr/testify v1.5.1 06:31:33 go: finding github.com/ugorji/go v1.1.4 06:31:33 go: finding github.com/x448/float16 v0.8.4 06:31:34 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:31:34 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:31:34 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:31:34 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:31:34 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:31:34 go: finding gopkg.in/yaml.v2 v2.2.8 06:31:34 ea1d1ca13537: Pull complete 06:31:35 3750a50a1c5e: Pull complete 06:31:35 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 06:31:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 06:31:35 ---> 78745c68409d 06:31:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:31:39 Removing intermediate container 20abbe91adef 06:31:39 ---> a820e1fca813 06:31:39 Successfully built a820e1fca813 06:31:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 06:31:39 ---> Running in e5ec22724ed6 06:31:39 Removing intermediate container e5ec22724ed6 06:31:39 ---> c47041549db8 06:31:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] isUnix [Pipeline] sh 06:31:39 ---> Running in 6a17e277379b 06:31:40 + docker inspect -f . ci-base-image-x86_64 06:31:40 . [Pipeline] withDockerContainer 06:31:40 prd-centos7-docker-4c-2g-4454 does not seem to be running inside a container 06:31: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 06:31:41 $ docker top ebae67a28ac50022b551b8ef8527033ce9b36f885485da406eedcbb3183fcae0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:31:41 Removing intermediate container 6a17e277379b 06:31:41 ---> 2335251cc83f 06:31:41 Step 5/8 : RUN apk add --no-cache make git 06:31:42 + go version 06:31:42 go version go1.13.5 linux/amd64 [Pipeline] sh 06:31:42 ---> Running in d76216e2c0da 06:31:42 + make test 06:31:42 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:31:42 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 06:31:42 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:31:43 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 06:31:44 OK: 125 MiB in 39 packages 06:31:45 Removing intermediate container d76216e2c0da 06:31:45 ---> 2c03db371b8c 06:31:45 Step 6/8 : WORKDIR /device-sdk-go 06:31:45 ---> Running in fe1949118595 06:31:46 Removing intermediate container fe1949118595 06:31:46 ---> 9dd4b8f85a70 06:31:46 Step 7/8 : COPY . . 06:31:46 ---> 59aa8852c5e8 06:31:46 Step 8/8 : RUN go mod download 06:31:47 ---> Running in 2b50117973d8 06:31:49 go: finding github.com/BurntSushi/toml v0.3.1 06:31:49 go: finding github.com/OneOfOne/xxhash v1.2.6 06:31:49 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 06:31:49 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:31:49 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 06:31:49 go: finding github.com/bgentry/speakeasy v0.1.0 06:31:49 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 06:31:49 go: finding github.com/davecgh/go-spew v1.1.1 06:31:49 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 06:31:49 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 06:31:49 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 06:31:49 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 06:31:49 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 06:31:49 go: finding github.com/fatih/color v1.7.0 06:31:49 go: finding github.com/fxamacker/cbor/v2 v2.2.0 06:31:49 go: finding github.com/go-kit/kit v0.8.0 06:31:49 go: finding github.com/go-logfmt/logfmt v0.4.0 06:31:49 go: finding github.com/go-stack/stack v1.8.0 06:31:49 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 06:31:49 go: finding github.com/google/uuid v1.1.0 06:31:49 go: finding github.com/gorilla/mux v1.7.1 06:31:49 go: finding github.com/hashicorp/consul/api v1.1.0 06:31:49 go: finding github.com/hashicorp/consul/sdk v0.1.1 06:31:49 go: finding github.com/hashicorp/errwrap v1.0.0 06:31:49 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 06:31:49 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 06:31:49 go: finding github.com/hashicorp/go-msgpack v0.5.3 06:31:49 go: finding github.com/hashicorp/go-multierror v1.0.0 06:31:49 go: finding github.com/hashicorp/go-rootcerts v1.0.0 06:31:49 go: finding github.com/hashicorp/go-sockaddr v1.0.0 06:31:49 go: finding github.com/hashicorp/go-syslog v1.0.0 06:31:49 go: finding github.com/hashicorp/go-uuid v1.0.1 06:31:49 go: finding github.com/hashicorp/go.net v0.0.1 06:31:49 go: finding github.com/hashicorp/golang-lru v0.5.0 06:31:49 go: finding github.com/hashicorp/logutils v1.0.0 06:31:49 go: finding github.com/hashicorp/mdns v1.0.0 06:31:49 go: finding github.com/hashicorp/memberlist v0.1.3 06:31:49 go: finding github.com/hashicorp/serf v0.8.2 06:31:49 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 06:31:49 go: finding github.com/mattn/go-colorable v0.0.9 06:31:49 go: finding github.com/mattn/go-isatty v0.0.3 06:31:49 go: finding github.com/miekg/dns v1.0.14 06:31:49 go: finding github.com/mitchellh/cli v1.0.0 06:31:49 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:31:49 go: finding github.com/mitchellh/copystructure v1.0.0 06:31:49 go: finding github.com/mitchellh/go-homedir v1.0.0 06:31:49 go: finding github.com/mitchellh/go-testing-interface v1.0.0 06:31:49 go: finding github.com/mitchellh/gox v0.4.0 06:31:49 go: finding github.com/mitchellh/iochan v1.0.0 06:31:49 go: finding github.com/mitchellh/mapstructure v1.1.2 06:31:49 go: finding github.com/mitchellh/reflectwalk v1.0.0 06:31:49 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 06:31:49 go: finding github.com/pelletier/go-toml v1.2.0 06:31:49 go: finding github.com/pkg/errors v0.8.1 06:31:49 go: finding github.com/pmezard/go-difflib v1.0.0 06:31:49 go: finding github.com/posener/complete v1.1.1 06:31:49 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 06:31:49 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 06:31:49 go: finding github.com/stretchr/objx v0.1.0 06:31:49 go: finding github.com/stretchr/testify v1.5.1 06:31:49 go: finding github.com/ugorji/go v1.1.4 06:31:49 go: finding github.com/x448/float16 v0.8.4 06:31:49 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 06:31:49 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 06:31:49 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 06:31:49 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 06:31:49 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 06:31:49 go: finding gopkg.in/yaml.v2 v2.2.8 06:31:52 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:31:52 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:31:52 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.023s coverage: 22.1% of statements 06:31:55 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.039s coverage: 95.8% of statements 06:31:59 Removing intermediate container 2b50117973d8 06:31:59 ---> fb72c1fd9a77 06:31:59 Successfully built fb72c1fd9a77 06:31:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:32:00 + docker inspect -f . ci-base-image-arm64 06:32:00 . [Pipeline] withDockerContainer 06:32:01 prd-ubuntu18.04-docker-arm64-4c-16g-4452 does not seem to be running inside a container 06:32:01 $ 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 06:32:02 $ docker top f7bc04bd454b3cae3173746102c8e6f115d26bd81ee163efe1a7699cb0cd64b5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:03 + go version 06:32:03 go version go1.13.5 linux/arm64 [Pipeline] sh 06:32:04 + make test 06:32:04 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:32:05 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:32:27 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.977s coverage: 11.4% of statements 06:32:27 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 22.1% of statements 06:32:27 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:32:27 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.116s coverage: 38.5% of statements 06:32:27 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:32:27 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 06:32:27 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.273s coverage: 79.8% of statements 06:32:27 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:32:27 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:32:27 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:32:27 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.013s coverage: 52.6% of statements 06:32:27 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 06:32:27 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.099s coverage: 71.4% of statements 06:32:27 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:32:27 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:32:27 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:32:27 gofmt -l . 06:32:27 [ "`gofmt -l .`" = "" ] 06:32:27 ./bin/test-attribution-txt.sh 06:32:27 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:32:27 Stashed 1 file(s) [Pipeline] } 06:32:27 $ docker stop --time=1 ebae67a28ac50022b551b8ef8527033ce9b36f885485da406eedcbb3183fcae0 06:32:29 $ docker rm -f ebae67a28ac50022b551b8ef8527033ce9b36f885485da406eedcbb3183fcae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:32:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:32:31 + ls -al . 06:32:31 total 160 06:32:31 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 17 06:32 . 06:32:31 drwxrwxr-x. 4 jenkins jenkins 28 Apr 17 06:31 .. 06:32:31 drwxrwxr-x. 3 jenkins jenkins 20 Apr 17 06:31 api 06:32:31 drwxrwxr-x. 2 jenkins jenkins 64 Apr 17 06:31 bin 06:32:31 -rw-r--r--. 1 jenkins jenkins 96404 Apr 17 06:32 coverage.out 06:32:31 -rw-rw-r--. 1 jenkins jenkins 936 Apr 17 06:31 Dockerfile.build 06:32:31 -rw-rw-r--. 1 jenkins jenkins 140 Apr 17 06:31 .dockerignore 06:32:31 drwxrwxr-x. 4 jenkins jenkins 31 Apr 17 06:31 example 06:32:31 drwxrwxr-x. 8 jenkins jenkins 179 Apr 17 06:31 .git 06:32:31 drwxrwxr-x. 2 jenkins jenkins 38 Apr 17 06:31 .github 06:32:31 -rw-rw-r--. 1 jenkins jenkins 138 Apr 17 06:31 .gitignore 06:32:31 -rw-r--r--. 1 jenkins jenkins 446 Apr 17 06:32 go.mod 06:32:31 -rw-r--r--. 1 jenkins jenkins 12076 Apr 17 06:32 go.sum 06:32:31 drwxrwxr-x. 14 jenkins jenkins 196 Apr 17 06:31 internal 06:32:31 -rw-rw-r--. 1 jenkins jenkins 808 Apr 17 06:31 Jenkinsfile 06:32:31 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 17 06:31 LICENSE 06:32:31 -rw-rw-r--. 1 jenkins jenkins 892 Apr 17 06:31 Makefile 06:32:31 drwxrwxr-x. 5 jenkins jenkins 50 Apr 17 06:31 pkg 06:32:31 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 17 06:31 README.md 06:32:31 drwxrwxr-x. 3 jenkins jenkins 58 Apr 17 06:31 .semver 06:32:31 drwxrwxr-x. 4 jenkins jenkins 54 Apr 17 06:31 snap 06:32:31 -rw-rw-r--. 1 jenkins jenkins 5 Apr 17 06:27 VERSION 06:32:31 -rw-rw-r--. 1 jenkins jenkins 222 Apr 17 06:31 version.go [Pipeline] isUnix [Pipeline] sh 06:32:31 + 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=74e513e89effa008bfc797cd1eccc3b81c3dc47a --label arch=amd64 --label version=0.0.0 . 06:32:31 Sending build context to Docker daemon 3.006MB 06:32:31 Step 1/21 : ARG BASE=golang:1.13-alpine 06:32:31 Step 2/21 : FROM ${BASE} AS builder 06:32:31 ---> a820e1fca813 06:32:31 Step 3/21 : ARG MAKE='make build' 06:32:31 ---> Running in 106b6bf551b4 06:32:31 Removing intermediate container 106b6bf551b4 06:32:31 ---> cfec998f7394 06:32:31 Step 4/21 : WORKDIR /device-sdk-go 06:32:31 ---> Running in 20161dbd66dc 06:32:32 Removing intermediate container 20161dbd66dc 06:32:32 ---> 466c1ea33baf 06:32:32 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:32:32 ---> Running in f312b0e404db 06:32:32 Removing intermediate container f312b0e404db 06:32:32 ---> e5bd7387e236 06:32:32 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:32:32 ---> Running in 15bdd5688dd9 06:32:32 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:32:32 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:32:33 Removing intermediate container 15bdd5688dd9 06:32:33 ---> b7000fa0b21f 06:32:33 Step 7/21 : RUN apk add --update --no-cache make git 06:32:33 ---> Running in f993232bd497 06:32:33 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 06:32:34 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.019s coverage: 22.1% of statements 06:32:34 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 06:32:34 OK: 143 MiB in 39 packages 06:32:35 Removing intermediate container f993232bd497 06:32:35 ---> 8ee587e0350a 06:32:35 Step 8/21 : COPY . . 06:32:35 ---> f4f99a928be5 06:32:35 Step 9/21 : RUN ${MAKE} 06:32:35 ---> Running in 9825ee7233de 06:32:35 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 06:32:37 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.241s coverage: 95.8% of statements 06:32:43 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:32:43 Removing intermediate container 9825ee7233de 06:32:43 ---> cd4576073431 06:32:43 Step 10/21 : FROM scratch 06:32:43 ---> 06:32:43 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:32:43 ---> Running in 1cd7260fc4f3 06:32:43 Removing intermediate container 1cd7260fc4f3 06:32:43 ---> dee846f28a57 06:32:43 Step 12/21 : ENV APP_PORT=49990 06:32:44 ---> Running in 39c5d7a70089 06:32:44 Removing intermediate container 39c5d7a70089 06:32:44 ---> 015e25e9960d 06:32:44 Step 13/21 : EXPOSE $APP_PORT 06:32:44 ---> Running in d976ef738421 06:32:44 Removing intermediate container d976ef738421 06:32:44 ---> d86018196f0e 06:32:44 Step 14/21 : WORKDIR / 06:32:44 ---> Running in 95d025eb6ce5 06:32:44 Removing intermediate container 95d025eb6ce5 06:32:44 ---> 60273294a86e 06:32:44 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:32:45 ---> 3e0f5b8033e4 06:32:45 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:32:45 ---> b0913d7ad503 06:32:45 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:32:45 ---> 77a7739e0831 06:32:45 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:32:45 ---> Running in 7f2d17dab506 06:32:45 Removing intermediate container 7f2d17dab506 06:32:45 ---> d3d618a947a2 06:32:45 Step 19/21 : LABEL arch=amd64 06:32:45 ---> Running in 2428564b97be 06:32:45 Removing intermediate container 2428564b97be 06:32:45 ---> 99346c2b6c7d 06:32:45 Step 20/21 : LABEL git_sha=74e513e89effa008bfc797cd1eccc3b81c3dc47a 06:32:45 ---> Running in 335c197bbd6b 06:32:45 Removing intermediate container 335c197bbd6b 06:32:45 ---> 20e85a0f8b8b 06:32:45 Step 21/21 : LABEL version=0.0.0 06:32:45 ---> Running in a43ca9e8b257 06:32:45 Removing intermediate container a43ca9e8b257 06:32:45 ---> 61bac7a5e8c4 06:32:45 [Warning] One or more build-args [ARCH] were not consumed 06:32:45 Successfully built 61bac7a5e8c4 06:32:45 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] } 06:33:09 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.062s coverage: 11.4% of statements 06:33:09 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 22.1% of statements 06:33:09 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:33:09 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.124s coverage: 38.5% of statements 06:33:09 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:33:09 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 06:33:09 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.725s coverage: 79.8% of statements 06:33:09 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:33:09 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:33:09 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:33:09 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.045s coverage: 52.6% of statements 06:33:09 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 06:33:09 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.325s coverage: 71.4% of statements 06:33:09 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:33:09 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:33:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:33:11 gofmt -l . 06:33:11 [ "`gofmt -l .`" = "" ] 06:33:12 ./bin/test-attribution-txt.sh 06:33:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:33:13 Warning: overwriting stash ‘coverage-report’ 06:33:13 Stashed 1 file(s) [Pipeline] } 06:33:13 $ docker stop --time=1 f7bc04bd454b3cae3173746102c8e6f115d26bd81ee163efe1a7699cb0cd64b5 06:33:15 $ docker rm -f f7bc04bd454b3cae3173746102c8e6f115d26bd81ee163efe1a7699cb0cd64b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:33:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:33:17 + ls -al . 06:33:17 total 200 06:33:17 drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 06:33 . 06:33:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 06:30 .. 06:33:17 -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 06:30 .dockerignore 06:33:17 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 06:30 .git 06:33:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 06:30 .github 06:33:17 -rw-rw-r-- 1 jenkins jenkins 138 Apr 17 06:30 .gitignore 06:33:17 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 06:30 .semver 06:33:17 -rw-rw-r-- 1 jenkins jenkins 936 Apr 17 06:30 Dockerfile.build 06:33:17 -rw-rw-r-- 1 jenkins jenkins 808 Apr 17 06:30 Jenkinsfile 06:33:17 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 17 06:30 LICENSE 06:33:17 -rw-rw-r-- 1 jenkins jenkins 892 Apr 17 06:30 Makefile 06:33:17 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 17 06:30 README.md 06:33:17 -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 06:27 VERSION 06:33:17 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 06:30 api 06:33:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 06:30 bin 06:33:17 -rw-r--r-- 1 jenkins jenkins 96404 Apr 17 06:33 coverage.out 06:33:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 06:30 example 06:33:17 -rw-r--r-- 1 jenkins jenkins 446 Apr 17 06:33 go.mod 06:33:17 -rw-r--r-- 1 jenkins jenkins 12076 Apr 17 06:33 go.sum 06:33:17 drwxrwxr-x 14 jenkins jenkins 4096 Apr 17 06:30 internal 06:33:17 drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 06:30 pkg 06:33:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 06:30 snap 06:33:17 -rw-rw-r-- 1 jenkins jenkins 222 Apr 17 06:30 version.go [Pipeline] isUnix [Pipeline] sh 06:33:17 + 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=74e513e89effa008bfc797cd1eccc3b81c3dc47a --label arch=arm64 --label version=0.0.0 . 06:33:18 Sending build context to Docker daemon 3.004MB 06:33:18 Step 1/21 : ARG BASE=golang:1.13-alpine 06:33:18 Step 2/21 : FROM ${BASE} AS builder 06:33:18 ---> fb72c1fd9a77 06:33:18 Step 3/21 : ARG MAKE='make build' 06:33:18 ---> Running in 3e564d55b155 06:33:19 Removing intermediate container 3e564d55b155 06:33:19 ---> 5212024f2f63 06:33:19 Step 4/21 : WORKDIR /device-sdk-go 06:33:19 ---> Running in b380ffbdf6bf 06:33:19 Removing intermediate container b380ffbdf6bf 06:33:19 ---> 935e11ecb1d9 06:33:19 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:33:19 ---> Running in 7deeeb714e0f 06:33:19 Removing intermediate container 7deeeb714e0f 06:33:19 ---> 77bbad94fb39 06:33:19 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:33:20 ---> Running in 003b63f800bf 06:33:22 Removing intermediate container 003b63f800bf 06:33:22 ---> 7d78af9c53d1 06:33:22 Step 7/21 : RUN apk add --update --no-cache make git 06:33:22 ---> Running in ecf98c43641a 06:33:23 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 06:33:23 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 06:33:24 OK: 125 MiB in 39 packages 06:33:25 Removing intermediate container ecf98c43641a 06:33:25 ---> f90cf51b8047 06:33:25 Step 8/21 : COPY . . 06:33:26 ---> 57b24a40e7d8 06:33:26 Step 9/21 : RUN ${MAKE} 06:33:26 ---> Running in da167c3719df 06:33:27 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 06:33:49 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:33:53 Removing intermediate container da167c3719df 06:33:53 ---> a5759aedd123 06:33:53 Step 10/21 : FROM scratch 06:33:53 ---> 06:33:53 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:33:53 ---> Running in 1a51718bd9d1 06:33:53 Removing intermediate container 1a51718bd9d1 06:33:53 ---> 853dcc260cca 06:33:53 Step 12/21 : ENV APP_PORT=49990 06:33:53 ---> Running in 0414c3d7e03a 06:33:53 Removing intermediate container 0414c3d7e03a 06:33:53 ---> 4d18f5bf7d34 06:33:53 Step 13/21 : EXPOSE $APP_PORT 06:33:53 ---> Running in 1357684741bb 06:33:53 Removing intermediate container 1357684741bb 06:33:53 ---> 44a8369771ba 06:33:53 Step 14/21 : WORKDIR / 06:33:53 ---> Running in 98d4dc8c5648 06:33:54 Removing intermediate container 98d4dc8c5648 06:33:54 ---> 177489db09bf 06:33:54 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:33:55 ---> c3e7fa1622f7 06:33:55 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:33:56 ---> db44c214d5df 06:33:56 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:33:56 ---> 7a713a6cc4ae 06:33:56 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:33:56 ---> Running in ec5f6d3ef880 06:33:56 Removing intermediate container ec5f6d3ef880 06:33:56 ---> fd53987e82d6 06:33:56 Step 19/21 : LABEL arch=arm64 06:33:57 ---> Running in 00e18eddd10d 06:33:57 Removing intermediate container 00e18eddd10d 06:33:57 ---> 57f330796998 06:33:57 Step 20/21 : LABEL git_sha=74e513e89effa008bfc797cd1eccc3b81c3dc47a 06:33:57 ---> Running in 3f4184a6a76f 06:33:58 Removing intermediate container 3f4184a6a76f 06:33:58 ---> e70b86037f6c 06:33:58 Step 21/21 : LABEL version=0.0.0 06:33:58 ---> Running in 1e2149ccc0ee 06:33:58 Removing intermediate container 1e2149ccc0ee 06:33:58 ---> c8624036bdd2 06:33:58 [Warning] One or more build-args [ARCH] were not consumed 06:33:58 Successfully built c8624036bdd2 06:33:58 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 06:34:00 provisioning config files... 06:34:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp/config7623112087877779022tmp [Pipeline] { [Pipeline] sh 06:34:00 + curl -s https://codecov.io/bash 06:34:00 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp/config7623112087877779022tmp 06:34:00 06:34:00 _____ _ 06:34:00 / ____| | | 06:34:00 | | ___ __| | ___ ___ _____ __ 06:34:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:34:00 | |___| (_) | (_| | __/ (_| (_) \ V / 06:34:00 \_____\___/ \__,_|\___|\___\___/ \_/ 06:34:00 Bash-tbd 06:34:00 06:34:00 06:34:00 ==> Jenkins CI detected. 06:34:00 project root: . 06:34:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:34:00 ==> Running gcov in . (disable via -X gcov) 06:34:00 ==> Python coveragepy not found 06:34:00 ==> Searching for coverage reports in: 06:34:00 + . 06:34:00 -> Found 1 reports 06:34:00 ==> Detecting git/mercurial file structure 06:34:00 ==> Reading reports 06:34:00 + ./coverage.out bytes=96404 06:34:00 ==> Appending adjustments 06:34:00 http://docs.codecov.io/docs/fixing-reports 06:34:01 + Found adjustments 06:34:01 ==> Gzipping contents 06:34:01 ==> Uploading reports 06:34:01 url: https://codecov.io 06:34:01 query: branch=PR-492&commit=74e513e89effa008bfc797cd1eccc3b81c3dc47a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-492%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=492&job= 06:34:01 -> Pinging Codecov 06:34:01 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-492&commit=74e513e89effa008bfc797cd1eccc3b81c3dc47a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-492%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=492&job= 06:34:01 -> Uploading 06:34:02 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/74e513e89effa008bfc797cd1eccc3b81c3dc47a [Pipeline] } 06:34:02 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:34:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:34:04 ---> package-listing.sh 06:34:04 ++ facter osfamily 06:34:04 ++ tr '[:upper:]' '[:lower:]' 06:34:04 + OS_FAMILY=redhat 06:34:04 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-492 06:34:04 + START_PACKAGES=/tmp/packages_start.txt 06:34:04 + END_PACKAGES=/tmp/packages_end.txt 06:34:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:34:04 + PACKAGES=/tmp/packages_start.txt 06:34:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-492 ']' 06:34:04 + PACKAGES=/tmp/packages_end.txt 06:34:04 + case "${OS_FAMILY}" in 06:34:04 + rpm -qa 06:34:04 + sort 06:34:08 + '[' -f /tmp/packages_start.txt ']' 06:34:08 + '[' -f /tmp/packages_end.txt ']' 06:34:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:34:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-492 ']' 06:34:08 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-492/archives/ 06:34:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-492/archives/ [Pipeline] isUnix [Pipeline] sh 06:34:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:34:09 06:34:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:34:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:34:09 alpine: Pulling from edgex-lftools-log-publisher 06:34:09 c9b1b535fdd9: Pulling fs layer 06:34:09 2cc5ad85d9ab: Pulling fs layer 06:34:09 756a868c4378: Pulling fs layer 06:34:09 444b2fc9a129: Pulling fs layer 06:34:09 ea15f1150254: Pulling fs layer 06:34:09 41b27a9f41bf: Pulling fs layer 06:34:09 28c525ee5125: Pulling fs layer 06:34:09 094b1ea09ed8: Pulling fs layer 06:34:09 138eaada9080: Pulling fs layer 06:34:09 0622d0fa9048: Pulling fs layer 06:34:09 41b27a9f41bf: Waiting 06:34:09 28c525ee5125: Waiting 06:34:09 094b1ea09ed8: Waiting 06:34:09 138eaada9080: Waiting 06:34:09 0622d0fa9048: Waiting 06:34:09 444b2fc9a129: Waiting 06:34:09 ea15f1150254: Waiting 06:34:09 2cc5ad85d9ab: Verifying Checksum 06:34:09 2cc5ad85d9ab: Download complete 06:34:09 444b2fc9a129: Verifying Checksum 06:34:09 444b2fc9a129: Download complete 06:34:09 c9b1b535fdd9: Verifying Checksum 06:34:09 ea15f1150254: Verifying Checksum 06:34:09 ea15f1150254: Download complete 06:34:09 28c525ee5125: Verifying Checksum 06:34:09 28c525ee5125: Download complete 06:34:09 c9b1b535fdd9: Pull complete 06:34:09 756a868c4378: Verifying Checksum 06:34:09 756a868c4378: Download complete 06:34:10 138eaada9080: Verifying Checksum 06:34:10 138eaada9080: Download complete 06:34:10 2cc5ad85d9ab: Pull complete 06:34:10 094b1ea09ed8: Verifying Checksum 06:34:10 094b1ea09ed8: Download complete 06:34:10 0622d0fa9048: Verifying Checksum 06:34:10 0622d0fa9048: Download complete 06:34:10 41b27a9f41bf: Verifying Checksum 06:34:10 41b27a9f41bf: Download complete 06:34:11 756a868c4378: Pull complete 06:34:11 444b2fc9a129: Pull complete 06:34:12 ea15f1150254: Pull complete 06:34:15 41b27a9f41bf: Pull complete 06:34:15 28c525ee5125: Pull complete 06:34:18 094b1ea09ed8: Pull complete 06:34:18 138eaada9080: Pull complete 06:34:18 0622d0fa9048: Pull complete 06:34:18 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 06:34:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:34:18 prd-centos7-docker-4c-2g-4450 does not seem to be running inside a container 06:34:18 $ 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-492 -v /w/workspace/dgexfoundry_device-sdk-go_PR-492:/w/workspace/dgexfoundry_device-sdk-go_PR-492:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:34:19 $ docker top 7c7f9bc71a055573c4ff2772d250dd2fc6afc88f0982e3407458e4d129d02ff4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:19 provisioning config files... 06:34:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-492@tmp/config5031815725802929944tmp [Pipeline] { [Pipeline] echo 06:34:19 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:34:20 ---> create-netrc.sh [Pipeline] echo 06:34:20 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:34:20 ---> logs-deploy.sh 06:34:20 + ARCHIVE_ARTIFACTS= 06:34:20 + LOGS_SERVER=https://logs.edgexfoundry.org 06:34:20 + '[' https://logs.edgexfoundry.org == None ']' 06:34:20 + NEXUS_URL=https://nexus.edgexfoundry.org 06:34:20 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-492/1 06:34:20 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-492/1/ 06:34:20 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-492/1 /w/workspace/dgexfoundry_device-sdk-go_PR-492 06:34:21 Archives upload complete. 06:34:21 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-492/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-492/1/