Pull request #550 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 7207c6f924e2137193c6618350ec8fa98c386ee3+75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 (71ace5b5941748267830cdb9d6dbc37b4e02c4ea) 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-550/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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-610 in /w/workspace/dgexfoundry_device-sdk-go_PR-550 [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-550 # 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/550/head:refs/remotes/origin/PR-550 +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/550/head:refs/remotes/origin/PR-550 # 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/550/head:refs/remotes/origin/PR-550 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 into PR head commit 7207c6f924e2137193c6618350ec8fa98c386ee3 Merge succeeded, producing 7207c6f924e2137193c6618350ec8fa98c386ee3 Checking out Revision 7207c6f924e2137193c6618350ec8fa98c386ee3 (PR-550) > git config core.sparsecheckout # timeout=10 > git checkout -f 7207c6f924e2137193c6618350ec8fa98c386ee3 # 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 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7207c6f924e2137193c6618350ec8fa98c386ee3 # timeout=10 Commit message: "Add ServerBindAddr setting in configuration" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:51:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:51:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:51:46 ========================================================= 07:51:46 EdgeX Global Pipelines Version Info 07:51:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:51:47 ------------------- 07:51:47 stable info: 07:51:47 ------------------- 07:51:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:51:47 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 07:51:47 Message: update stable to v1.0.89 07:51:48 ------------------- 07:51:48 experimental info: 07:51:48 ------------------- 07:51:48 Commited By: **** collab-it+edgex@linuxfoundation.org 07:51:48 Commit SHA: f6ab21c320c462fae7a5b8fd747aea39c3187bc7 07:51:48 Message: update experimental to v1.0.96 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 07:51:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:51:52 07:51:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:51:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:51:53 latest: Pulling from edgex-devops/git-semver 07:51:53 9123ac7c32f7: Pulling fs layer 07:51:53 b8cc5d1170e3: Pulling fs layer 07:51:53 2924cbbf6a41: Pulling fs layer 07:51:53 93b08a4f1073: Pulling fs layer 07:51:53 93b08a4f1073: Waiting 07:51:53 b8cc5d1170e3: Download complete 07:51:53 9123ac7c32f7: Verifying Checksum 07:51:53 9123ac7c32f7: Download complete 07:51:53 93b08a4f1073: Verifying Checksum 07:51:53 93b08a4f1073: Download complete 07:51:53 2924cbbf6a41: Verifying Checksum 07:51:53 2924cbbf6a41: Download complete 07:51:53 9123ac7c32f7: Pull complete 07:51:53 b8cc5d1170e3: Pull complete 07:51:54 2924cbbf6a41: Pull complete 07:51:54 93b08a4f1073: Pull complete 07:51:54 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 07:51:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:51:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:51:54 prd-centos7-docker-4c-2g-610 does not seem to be running inside a container 07:51:54 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-550 -v /w/workspace/dgexfoundry_device-sdk-go_PR-550:/w/workspace/dgexfoundry_device-sdk-go_PR-550:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-550@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-550@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 07:51:57 $ docker top 13bce27dce773e6efa58a6a8a727b7dcd18ab91bdcba3e06d8a5dc79084687fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:51:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:51:57 [ssh-agent] Looking for ssh-agent implementation... 07:51:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:51:57 $ docker exec 13bce27dce773e6efa58a6a8a727b7dcd18ab91bdcba3e06d8a5dc79084687fe ssh-agent 07:51:57 SSH_AUTH_SOCK=/tmp/ssh-9jDjrvGNBHHv/agent.12 07:51:57 SSH_AGENT_PID=17 07:51:57 Running ssh-add (command line suppressed) 07:51:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-550@tmp/private_key_6525923514754930510.key (/w/workspace/dgexfoundry_device-sdk-go_PR-550@tmp/private_key_6525923514754930510.key) 07:51:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:51:58 + git describe --exact-match --tags HEAD 07:51:58 fatal: No names found, cannot describe anything. [Pipeline] } 07:51:58 $ docker exec --env ******** --env ******** 13bce27dce773e6efa58a6a8a727b7dcd18ab91bdcba3e06d8a5dc79084687fe ssh-agent -k 07:51:58 unset SSH_AUTH_SOCK; 07:51:58 unset SSH_AGENT_PID; 07:51:58 echo Agent pid 17 killed; 07:51:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:51:58 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:51:58 This usually means this commit has not been tagged. [Pipeline] sshagent 07:51:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:51:58 [ssh-agent] Looking for ssh-agent implementation... 07:51:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:51:59 $ docker exec 13bce27dce773e6efa58a6a8a727b7dcd18ab91bdcba3e06d8a5dc79084687fe ssh-agent 07:51:59 SSH_AUTH_SOCK=/tmp/ssh-MYiEHKGgLRgu/agent.45 07:51:59 SSH_AGENT_PID=50 07:51:59 Running ssh-add (command line suppressed) 07:51:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-550@tmp/private_key_4236929493853461628.key (/w/workspace/dgexfoundry_device-sdk-go_PR-550@tmp/private_key_4236929493853461628.key) 07:51:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:51:59 + git semver init 07:51:59 # -> Open(): unable to determine branch for HEAD 07:51:59 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-550/.git 07:51:59 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-550 07:51:59 # $SEMVER_REMOTE_NAME = origin 07:51:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:51:59 # $SEMVER_USER_NAME = edgex-jenkins 07:51:59 # $SEMVER_BRANCH = PR-550 07:51:59 # $SEMVER_TEMP = /tmp/semver-893755310 07:51:59 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:52:00 # '/tmp/semver-893755310' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-550/.semver' 07:52:00 # -> Force: false 07:52:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-550/.semver [Pipeline] } 07:52:00 $ docker exec --env ******** --env ******** 13bce27dce773e6efa58a6a8a727b7dcd18ab91bdcba3e06d8a5dc79084687fe ssh-agent -k 07:52:00 unset SSH_AUTH_SOCK; 07:52:00 unset SSH_AGENT_PID; 07:52:00 echo Agent pid 50 killed; 07:52:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:52:01 + git semver [Pipeline] } 07:52:01 $ docker stop --time=1 13bce27dce773e6efa58a6a8a727b7dcd18ab91bdcba3e06d8a5dc79084687fe 07:52:02 $ docker rm -f 13bce27dce773e6efa58a6a8a727b7dcd18ab91bdcba3e06d8a5dc79084687fe [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:52:03 Stashed 72 file(s) [Pipeline] echo 07:52:03 [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 07:52:18 Still waiting to schedule task 07:52:18 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:52:18 Still waiting to schedule task 07:52:18 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:53:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-611 in /w/workspace/dgexfoundry_device-sdk-go_PR-550 [Pipeline] { [Pipeline] ws 07:53:50 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:53:55 using credential edgex-jenkins-ssh 07:53:55 Cloning the remote Git repository 07:53:55 Cloning with configured refspecs honoured and without tags 07:53:55 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:53:55 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:53:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:53:55 > git --version # timeout=10 07:53:55 using GIT_SSH to set credentials SSH Credentials for GitHub 07:53:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/550/head:refs/remotes/origin/PR-550 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:53:56 Fetching without tags 07:53:57 Merging remotes/origin/master commit 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 into PR head commit 7207c6f924e2137193c6618350ec8fa98c386ee3 07:53:57 Merge succeeded, producing 7207c6f924e2137193c6618350ec8fa98c386ee3 07:53:57 Checking out Revision 7207c6f924e2137193c6618350ec8fa98c386ee3 (PR-550) 07:53:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:53:56 > git config --add remote.origin.fetch +refs/pull/550/head:refs/remotes/origin/PR-550 # timeout=10 07:53:56 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:53:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:53:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:53:56 using GIT_SSH to set credentials SSH Credentials for GitHub 07:53:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/550/head:refs/remotes/origin/PR-550 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:53:57 > git config core.sparsecheckout # timeout=10 07:53:57 > git checkout -f 7207c6f924e2137193c6618350ec8fa98c386ee3 # timeout=10 07:53:57 > git remote # timeout=10 07:53:57 > git config --get remote.origin.url # timeout=10 07:53:57 using GIT_SSH to set credentials SSH Credentials for GitHub 07:53:57 > git merge 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 # timeout=10 07:53:57 > git rev-parse HEAD^{commit} # timeout=10 07:53:57 > git config core.sparsecheckout # timeout=10 07:53:57 > git checkout -f 7207c6f924e2137193c6618350ec8fa98c386ee3 # timeout=10 07:54:02 Commit message: "Add ServerBindAddr setting in configuration" 07:54:02 > git --version # timeout=10 07:54:02 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:54:04 ========================================================= 07:54:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:54:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:54:05 + 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 . 07:54:06 Sending build context to Docker daemon 3.092MB 07:54:06 Step 1/8 : ARG BASE=golang:1.13-alpine 07:54:06 Step 2/8 : FROM ${BASE} 07:54:06 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:54:06 cde5963f3b93: Pulling fs layer 07:54:06 2a23fa8c16f7: Pulling fs layer 07:54:06 777b28850792: Pulling fs layer 07:54:06 8a11ddd9e578: Pulling fs layer 07:54:06 4cf88f913ddb: Pulling fs layer 07:54:06 1df406cf5192: Pulling fs layer 07:54:06 cd6300453558: Pulling fs layer 07:54:06 b9c365052c96: Pulling fs layer 07:54:06 a2d8cc88f415: Pulling fs layer 07:54:06 ea1d1ca13537: Pulling fs layer 07:54:06 3750a50a1c5e: Pulling fs layer 07:54:06 4cf88f913ddb: Waiting 07:54:06 1df406cf5192: Waiting 07:54:06 cd6300453558: Waiting 07:54:06 b9c365052c96: Waiting 07:54:06 a2d8cc88f415: Waiting 07:54:06 ea1d1ca13537: Waiting 07:54:06 3750a50a1c5e: Waiting 07:54:06 8a11ddd9e578: Waiting 07:54:06 777b28850792: Verifying Checksum 07:54:06 777b28850792: Download complete 07:54:06 2a23fa8c16f7: Verifying Checksum 07:54:06 2a23fa8c16f7: Download complete 07:54:06 4cf88f913ddb: Verifying Checksum 07:54:06 4cf88f913ddb: Download complete 07:54:06 1df406cf5192: Verifying Checksum 07:54:06 1df406cf5192: Download complete 07:54:07 cde5963f3b93: Verifying Checksum 07:54:07 cde5963f3b93: Download complete 07:54:07 cde5963f3b93: Pull complete 07:54:08 2a23fa8c16f7: Pull complete 07:54:08 777b28850792: Pull complete 07:54:09 cd6300453558: Verifying Checksum 07:54:09 cd6300453558: Download complete 07:54:09 a2d8cc88f415: Download complete 07:54:09 Running on prd-centos7-docker-4c-2g-612 in /w/workspace/dgexfoundry_device-sdk-go_PR-550 [Pipeline] { [Pipeline] ws 07:54:09 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:54:10 ea1d1ca13537: Verifying Checksum 07:54:10 ea1d1ca13537: Download complete 07:54:10 3750a50a1c5e: Download complete 07:54:11 using credential edgex-jenkins-ssh 07:54:12 8a11ddd9e578: Verifying Checksum 07:54:12 8a11ddd9e578: Download complete 07:54:12 b9c365052c96: Verifying Checksum 07:54:12 b9c365052c96: Download complete 07:54:12 Cloning the remote Git repository 07:54:12 Cloning with configured refspecs honoured and without tags 07:54:12 Fetching without tags 07:54:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:54:12 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:54:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:54:12 > git --version # timeout=10 07:54:12 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:12 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/550/head:refs/remotes/origin/PR-550 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:54:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:54:12 > git config --add remote.origin.fetch +refs/pull/550/head:refs/remotes/origin/PR-550 # timeout=10 07:54:12 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:54:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:54:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:54:12 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:12 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/550/head:refs/remotes/origin/PR-550 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:54:13 Merging remotes/origin/master commit 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 into PR head commit 7207c6f924e2137193c6618350ec8fa98c386ee3 07:54:13 Merge succeeded, producing 7207c6f924e2137193c6618350ec8fa98c386ee3 07:54:13 Checking out Revision 7207c6f924e2137193c6618350ec8fa98c386ee3 (PR-550) 07:54:13 > git config core.sparsecheckout # timeout=10 07:54:13 > git checkout -f 7207c6f924e2137193c6618350ec8fa98c386ee3 # timeout=10 07:54:13 > git remote # timeout=10 07:54:13 > git config --get remote.origin.url # timeout=10 07:54:13 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:13 > git merge 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 # timeout=10 07:54:13 > git rev-parse HEAD^{commit} # timeout=10 07:54:13 > git config core.sparsecheckout # timeout=10 07:54:13 > git checkout -f 7207c6f924e2137193c6618350ec8fa98c386ee3 # timeout=10 07:54:17 Commit message: "Add ServerBindAddr setting in configuration" 07:54:17 > git --version # timeout=10 07:54:17 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:54:18 ========================================================= 07:54:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:54:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:54:19 + 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 . 07:54:19 Sending build context to Docker daemon 3.092MB 07:54:19 Step 1/8 : ARG BASE=golang:1.13-alpine 07:54:19 Step 2/8 : FROM ${BASE} 07:54:19 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:54:19 e6b0cf9c0882: Pulling fs layer 07:54:19 2848faf0eed1: Pulling fs layer 07:54:19 0f37312ad70f: Pulling fs layer 07:54:19 5788d62ee057: Pulling fs layer 07:54:19 0e6b1d234666: Pulling fs layer 07:54:19 bf5d7aec512f: Pulling fs layer 07:54:19 34c802a77dc8: Pulling fs layer 07:54:19 9eb99e56ec68: Pulling fs layer 07:54:19 27c7a5d97fbd: Pulling fs layer 07:54:19 5c102a31e300: Pulling fs layer 07:54:19 dcfb455df0a1: Pulling fs layer 07:54:19 34c802a77dc8: Waiting 07:54:19 9eb99e56ec68: Waiting 07:54:19 27c7a5d97fbd: Waiting 07:54:19 5c102a31e300: Waiting 07:54:19 dcfb455df0a1: Waiting 07:54:19 5788d62ee057: Waiting 07:54:19 0e6b1d234666: Waiting 07:54:19 bf5d7aec512f: Waiting 07:54:19 0f37312ad70f: Verifying Checksum 07:54:19 0f37312ad70f: Download complete 07:54:19 2848faf0eed1: Download complete 07:54:19 0e6b1d234666: Verifying Checksum 07:54:19 0e6b1d234666: Download complete 07:54:19 bf5d7aec512f: Verifying Checksum 07:54:19 bf5d7aec512f: Download complete 07:54:19 e6b0cf9c0882: Verifying Checksum 07:54:20 34c802a77dc8: Download complete 07:54:20 27c7a5d97fbd: Verifying Checksum 07:54:20 27c7a5d97fbd: Download complete 07:54:20 5c102a31e300: Verifying Checksum 07:54:20 5c102a31e300: Download complete 07:54:20 dcfb455df0a1: Verifying Checksum 07:54:20 dcfb455df0a1: Download complete 07:54:21 9eb99e56ec68: Verifying Checksum 07:54:21 9eb99e56ec68: Download complete 07:54:21 5788d62ee057: Verifying Checksum 07:54:21 5788d62ee057: Download complete 07:54:21 e6b0cf9c0882: Pull complete 07:54:21 2848faf0eed1: Pull complete 07:54:22 0f37312ad70f: Pull complete 07:54:24 8a11ddd9e578: Pull complete 07:54:24 4cf88f913ddb: Pull complete 07:54:24 1df406cf5192: Pull complete 07:54:28 cd6300453558: Pull complete 07:54:28 5788d62ee057: Pull complete 07:54:28 0e6b1d234666: Pull complete 07:54:28 bf5d7aec512f: Pull complete 07:54:33 34c802a77dc8: Pull complete 07:54:33 b9c365052c96: Pull complete 07:54:33 a2d8cc88f415: Pull complete 07:54:35 ea1d1ca13537: Pull complete 07:54:36 3750a50a1c5e: Pull complete 07:54:36 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 07:54:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 07:54:36 ---> 78745c68409d 07:54:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:54:36 9eb99e56ec68: Pull complete 07:54:36 27c7a5d97fbd: Pull complete 07:54:37 5c102a31e300: Pull complete 07:54:37 dcfb455df0a1: Pull complete 07:54:37 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 07:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:54:37 ---> 7c70fe431013 07:54:37 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:54:38 ---> Running in b9f3809a6434 07:54:38 Removing intermediate container b9f3809a6434 07:54:38 ---> b1331cb2b978 07:54:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:54:38 ---> Running in 0c6f3ff2889f 07:54:40 Removing intermediate container 0c6f3ff2889f 07:54:40 ---> b24f2b1c0487 07:54:40 Step 5/8 : RUN apk add --no-cache make git 07:54:40 ---> Running in 7ba935cd3ac5 07:54:40 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:54:41 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:54:41 ---> Running in 58b4b0f72a07 07:54:41 Removing intermediate container 58b4b0f72a07 07:54:41 ---> 2e5c2439a027 07:54:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:54:41 ---> Running in 846cd05f6da2 07:54:41 OK: 143 MiB in 39 packages 07:54:42 Removing intermediate container 7ba935cd3ac5 07:54:42 ---> b7495b013d6d 07:54:42 Step 6/8 : WORKDIR /device-sdk-go 07:54:42 ---> Running in 0ae8e59fb024 07:54:42 Removing intermediate container 0ae8e59fb024 07:54:42 ---> 8252a40c3273 07:54:42 Step 7/8 : COPY . . 07:54:43 ---> 23b8fbf461cd 07:54:43 Step 8/8 : RUN go mod download 07:54:43 ---> Running in aaf1a75c094f 07:54:44 Removing intermediate container 846cd05f6da2 07:54:44 ---> be7a909a05e9 07:54:44 Step 5/8 : RUN apk add --no-cache make git 07:54:44 ---> Running in a48d9b150f0e 07:54:45 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:54:45 go: finding github.com/BurntSushi/toml v0.3.1 07:54:45 go: finding github.com/OneOfOne/xxhash v1.2.6 07:54:45 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:54:45 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:54:45 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:54:45 go: finding github.com/bgentry/speakeasy v0.1.0 07:54:45 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:54:45 go: finding github.com/davecgh/go-spew v1.1.1 07:54:45 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 07:54:45 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:54:45 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:54:45 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:54:45 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:54:45 go: finding github.com/fatih/color v1.7.0 07:54:45 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:54:45 go: finding github.com/go-kit/kit v0.8.0 07:54:45 go: finding github.com/go-logfmt/logfmt v0.4.0 07:54:45 go: finding github.com/go-stack/stack v1.8.0 07:54:45 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:54:45 go: finding github.com/google/uuid v1.1.0 07:54:45 go: finding github.com/gorilla/mux v1.7.1 07:54:45 go: finding github.com/hashicorp/consul/api v1.1.0 07:54:45 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:54:45 go: finding github.com/hashicorp/errwrap v1.0.0 07:54:45 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:54:45 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:54:45 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:54:45 go: finding github.com/hashicorp/go-multierror v1.0.0 07:54:45 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:54:45 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:54:45 go: finding github.com/hashicorp/go-syslog v1.0.0 07:54:45 go: finding github.com/hashicorp/go-uuid v1.0.1 07:54:45 go: finding github.com/hashicorp/go.net v0.0.1 07:54:45 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:54:46 go: finding github.com/hashicorp/golang-lru v0.5.0 07:54:46 go: finding github.com/hashicorp/logutils v1.0.0 07:54:46 go: finding github.com/hashicorp/mdns v1.0.0 07:54:46 go: finding github.com/hashicorp/memberlist v0.1.3 07:54:46 go: finding github.com/hashicorp/serf v0.8.2 07:54:46 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:54:46 go: finding github.com/mattn/go-colorable v0.0.9 07:54:46 go: finding github.com/mattn/go-isatty v0.0.3 07:54:46 go: finding github.com/miekg/dns v1.0.14 07:54:46 go: finding github.com/mitchellh/cli v1.0.0 07:54:46 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:54:46 go: finding github.com/mitchellh/copystructure v1.0.0 07:54:46 go: finding github.com/mitchellh/go-homedir v1.0.0 07:54:46 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:54:46 go: finding github.com/mitchellh/gox v0.4.0 07:54:46 go: finding github.com/mitchellh/iochan v1.0.0 07:54:46 go: finding github.com/mitchellh/mapstructure v1.1.2 07:54:46 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:54:46 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:54:46 go: finding github.com/pelletier/go-toml v1.2.0 07:54:46 go: finding github.com/pkg/errors v0.8.1 07:54:46 go: finding github.com/pmezard/go-difflib v1.0.0 07:54:46 go: finding github.com/posener/complete v1.1.1 07:54:46 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:54:46 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:54:46 OK: 125 MiB in 39 packages 07:54:46 go: finding github.com/stretchr/objx v0.1.0 07:54:46 go: finding github.com/stretchr/testify v1.5.1 07:54:46 go: finding github.com/ugorji/go v1.1.4 07:54:46 go: finding github.com/x448/float16 v0.8.4 07:54:46 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:54:46 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:54:46 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:54:46 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:54:46 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:54:46 go: finding gopkg.in/yaml.v2 v2.2.8 07:54:47 Removing intermediate container a48d9b150f0e 07:54:47 ---> 05ded99d16be 07:54:47 Step 6/8 : WORKDIR /device-sdk-go 07:54:47 ---> Running in 30c806165873 07:54:48 Removing intermediate container 30c806165873 07:54:48 ---> e9e7814e762a 07:54:48 Step 7/8 : COPY . . 07:54:49 ---> fafec1e00790 07:54:49 Step 8/8 : RUN go mod download 07:54:49 ---> Running in 2dc88e1bfe7a 07:54:52 go: finding github.com/BurntSushi/toml v0.3.1 07:54:52 go: finding github.com/OneOfOne/xxhash v1.2.6 07:54:52 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:54:52 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:54:52 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:54:52 go: finding github.com/bgentry/speakeasy v0.1.0 07:54:52 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:54:52 go: finding github.com/davecgh/go-spew v1.1.1 07:54:52 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 07:54:52 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:54:52 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:54:52 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:54:52 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:54:52 go: finding github.com/fatih/color v1.7.0 07:54:52 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:54:52 go: finding github.com/go-kit/kit v0.8.0 07:54:52 go: finding github.com/go-logfmt/logfmt v0.4.0 07:54:52 go: finding github.com/go-stack/stack v1.8.0 07:54:52 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:54:52 go: finding github.com/google/uuid v1.1.0 07:54:52 go: finding github.com/gorilla/mux v1.7.1 07:54:52 go: finding github.com/hashicorp/consul/api v1.1.0 07:54:52 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:54:52 go: finding github.com/hashicorp/errwrap v1.0.0 07:54:52 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:54:52 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:54:52 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:54:52 go: finding github.com/hashicorp/go-multierror v1.0.0 07:54:52 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:54:52 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:54:52 go: finding github.com/hashicorp/go-syslog v1.0.0 07:54:52 go: finding github.com/hashicorp/go-uuid v1.0.1 07:54:52 go: finding github.com/hashicorp/go.net v0.0.1 07:54:52 go: finding github.com/hashicorp/golang-lru v0.5.0 07:54:52 go: finding github.com/hashicorp/logutils v1.0.0 07:54:52 go: finding github.com/hashicorp/mdns v1.0.0 07:54:52 go: finding github.com/hashicorp/memberlist v0.1.3 07:54:52 go: finding github.com/hashicorp/serf v0.8.2 07:54:52 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:54:52 go: finding github.com/mattn/go-colorable v0.0.9 07:54:52 go: finding github.com/mattn/go-isatty v0.0.3 07:54:52 go: finding github.com/miekg/dns v1.0.14 07:54:53 go: finding github.com/mitchellh/cli v1.0.0 07:54:53 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:54:53 go: finding github.com/mitchellh/copystructure v1.0.0 07:54:53 go: finding github.com/mitchellh/go-homedir v1.0.0 07:54:53 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:54:53 go: finding github.com/mitchellh/gox v0.4.0 07:54:53 go: finding github.com/mitchellh/iochan v1.0.0 07:54:53 go: finding github.com/mitchellh/mapstructure v1.1.2 07:54:53 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:54:53 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:54:53 go: finding github.com/pelletier/go-toml v1.2.0 07:54:53 go: finding github.com/pkg/errors v0.8.1 07:54:53 go: finding github.com/pmezard/go-difflib v1.0.0 07:54:53 go: finding github.com/posener/complete v1.1.1 07:54:53 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:54:53 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:54:53 go: finding github.com/stretchr/objx v0.1.0 07:54:53 go: finding github.com/stretchr/testify v1.5.1 07:54:53 go: finding github.com/ugorji/go v1.1.4 07:54:53 go: finding github.com/x448/float16 v0.8.4 07:54:53 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:54:53 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:54:53 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:54:53 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:54:53 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:54:53 go: finding gopkg.in/yaml.v2 v2.2.8 07:54:54 Removing intermediate container aaf1a75c094f 07:54:54 ---> e8b9a8692f4d 07:54:54 Successfully built e8b9a8692f4d 07:54: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 07:54:55 + docker inspect -f . ci-base-image-x86_64 07:54:55 . [Pipeline] withDockerContainer 07:54:56 prd-centos7-docker-4c-2g-612 does not seem to be running inside a container 07:54: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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:54:57 $ docker top 24424870799e434e34bbb83c00a6b8c94ded0a92bc87d77ea3dfb6fdeb87d5b0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:54:57 + go version 07:54:57 go version go1.13.5 linux/amd64 [Pipeline] sh 07:54:58 + make test 07:54:58 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:54:58 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:55:03 Removing intermediate container 2dc88e1bfe7a 07:55:03 ---> 5e31041c3eba 07:55:03 Successfully built 5e31041c3eba 07:55:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:55:04 + docker inspect -f . ci-base-image-arm64 07:55:04 . [Pipeline] withDockerContainer 07:55:04 prd-ubuntu18.04-docker-arm64-4c-16g-611 does not seem to be running inside a container 07:55:05 $ 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 ******** -e ******** ci-base-image-arm64 cat 07:55:06 $ docker top b0d718e57de29f191077054fc58359756b81b6cf4ab0f281c477eeab24701910 -eo pid,comm [Pipeline] { [Pipeline] sh 07:55:08 + go version 07:55:08 go version go1.13.5 linux/arm64 [Pipeline] sh 07:55:08 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:55:08 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:55:08 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:55:08 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.034s coverage: 22.1% of statements 07:55:09 + make test 07:55:09 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:55:10 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements 07:55:10 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:55:37 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:55:37 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:55:37 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:55:38 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.053s coverage: 22.1% of statements 07:55:42 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.159s coverage: 95.8% of statements 07:55:42 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.035s coverage: 11.4% of statements 07:55:42 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.011s coverage: 21.7% of statements 07:55:42 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:55:42 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.063s coverage: 36.9% of statements 07:55:42 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:55:42 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.324s coverage: 65.2% of statements 07:55:42 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:55:42 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:55:42 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:55:42 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.012s coverage: 52.6% of statements 07:55:42 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.092s coverage: 68.9% of statements 07:55:42 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:55:42 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:55:42 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:55:42 gofmt -l . 07:55:42 [ "`gofmt -l .`" = "" ] 07:55:42 ./bin/test-attribution-txt.sh 07:55:42 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:55:43 Stashed 1 file(s) [Pipeline] } 07:55:43 $ docker stop --time=1 24424870799e434e34bbb83c00a6b8c94ded0a92bc87d77ea3dfb6fdeb87d5b0 07:55:44 $ docker rm -f 24424870799e434e34bbb83c00a6b8c94ded0a92bc87d77ea3dfb6fdeb87d5b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:55:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:55:47 + ls -al . 07:55:47 total 184 07:55:47 drwxrwxr-x. 11 jenkins jenkins 4096 Jul 14 07:55 . 07:55:47 drwxrwxr-x. 4 jenkins jenkins 28 Jul 14 07:54 .. 07:55:47 drwxrwxr-x. 3 jenkins jenkins 20 Jul 14 07:54 api 07:55:47 drwxrwxr-x. 2 jenkins jenkins 64 Jul 14 07:54 bin 07:55:47 -rw-r--r--. 1 jenkins jenkins 110877 Jul 14 07:55 coverage.out 07:55:47 -rw-rw-r--. 1 jenkins jenkins 936 Jul 14 07:54 Dockerfile.build 07:55:47 -rw-rw-r--. 1 jenkins jenkins 140 Jul 14 07:54 .dockerignore 07:55:47 drwxrwxr-x. 4 jenkins jenkins 48 Jul 14 07:54 example 07:55:47 drwxrwxr-x. 8 jenkins jenkins 179 Jul 14 07:54 .git 07:55:47 drwxrwxr-x. 2 jenkins jenkins 38 Jul 14 07:54 .github 07:55:47 -rw-rw-r--. 1 jenkins jenkins 138 Jul 14 07:54 .gitignore 07:55:47 -rw-r--r--. 1 jenkins jenkins 446 Jul 14 07:55 go.mod 07:55:47 -rw-r--r--. 1 jenkins jenkins 12179 Jul 14 07:55 go.sum 07:55:47 drwxrwxr-x. 13 jenkins jenkins 184 Jul 14 07:54 internal 07:55:47 -rw-rw-r--. 1 jenkins jenkins 808 Jul 14 07:54 Jenkinsfile 07:55:47 -rw-rw-r--. 1 jenkins jenkins 11341 Jul 14 07:54 LICENSE 07:55:47 -rw-rw-r--. 1 jenkins jenkins 892 Jul 14 07:54 Makefile 07:55:47 drwxrwxr-x. 5 jenkins jenkins 50 Jul 14 07:54 pkg 07:55:47 -rw-rw-r--. 1 jenkins jenkins 5101 Jul 14 07:54 README.md 07:55:47 -rw-rw-r--. 1 jenkins jenkins 3997 Jul 14 07:54 RELEASE-NOTES.txt 07:55:47 drwxrwxr-x. 3 jenkins jenkins 58 Jul 14 07:54 .semver 07:55:47 drwxrwxr-x. 4 jenkins jenkins 54 Jul 14 07:54 snap 07:55:47 -rw-rw-r--. 1 jenkins jenkins 5 Jul 14 07:52 VERSION 07:55:47 -rw-rw-r--. 1 jenkins jenkins 222 Jul 14 07:54 version.go [Pipeline] isUnix [Pipeline] sh 07:55:47 + 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=7207c6f924e2137193c6618350ec8fa98c386ee3 --label arch=amd64 --label version=0.0.0 . 07:55:48 Sending build context to Docker daemon 3.22MB 07:55:48 Step 1/23 : ARG BASE=golang:1.13-alpine 07:55:48 Step 2/23 : FROM ${BASE} AS builder 07:55:48 ---> e8b9a8692f4d 07:55:48 Step 3/23 : ARG MAKE='make build' 07:55:48 ---> Running in ee2a927d04ce 07:55:48 Removing intermediate container ee2a927d04ce 07:55:48 ---> 43521eb243d3 07:55:48 Step 4/23 : WORKDIR /device-sdk-go 07:55:48 ---> Running in 303ce3fb729b 07:55:49 Removing intermediate container 303ce3fb729b 07:55:49 ---> ca2cf9a19a04 07:55:49 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:55:49 ---> Running in f64035ab70bf 07:55:49 Removing intermediate container f64035ab70bf 07:55:49 ---> 53d4ca42c9a0 07:55:49 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:55:49 ---> Running in 69d711519be7 07:55:50 Removing intermediate container 69d711519be7 07:55:50 ---> 96cfdef106da 07:55:50 Step 7/23 : RUN apk add --update --no-cache make git 07:55:50 ---> Running in b8135482a229 07:55:50 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:55:51 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:55:51 OK: 143 MiB in 39 packages 07:55:52 Removing intermediate container b8135482a229 07:55:52 ---> 3c4260442097 07:55:52 Step 8/23 : COPY . . 07:55:53 ---> 20c11f80f2d8 07:55:53 Step 9/23 : RUN ${MAKE} 07:55:53 ---> Running in 5c3d0d661f55 07:55:53 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 07:56:02 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:56:02 Removing intermediate container 5c3d0d661f55 07:56:02 ---> 1f15725bdd7d 07:56:02 Step 10/23 : FROM scratch 07:56:02 ---> 07:56:02 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:56:02 ---> Running in 4e38a1e56063 07:56:03 Removing intermediate container 4e38a1e56063 07:56:03 ---> ca4ba063789d 07:56:03 Step 12/23 : ENV APP_PORT=49990 07:56:03 ---> Running in 9b39dc41782c 07:56:03 Removing intermediate container 9b39dc41782c 07:56:03 ---> 9a8b8c859479 07:56:03 Step 13/23 : EXPOSE $APP_PORT 07:56:03 ---> Running in d6a95222beb5 07:56:03 Removing intermediate container d6a95222beb5 07:56:03 ---> 7bda30ed4bec 07:56:03 Step 14/23 : WORKDIR / 07:56:03 ---> Running in 18bebf20d2fa 07:56:03 Removing intermediate container 18bebf20d2fa 07:56:03 ---> 8bca5a56bfe9 07:56:03 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:56:04 ---> 99ecbe4a4f21 07:56:04 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:56:04 ---> c7c424d0a7f5 07:56:04 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:56:04 ---> 07d946170675 07:56:04 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:56:04 ---> a95d23b673dc 07:56:04 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:56:05 ---> 615b202f7df5 07:56:05 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:56:05 ---> Running in 9001b4cd4fd2 07:56:05 Removing intermediate container 9001b4cd4fd2 07:56:05 ---> 0f2f171b1896 07:56:05 Step 21/23 : LABEL arch=amd64 07:56:05 ---> Running in f16d2bcfda8b 07:56:05 Removing intermediate container f16d2bcfda8b 07:56:05 ---> dcfaf87d325f 07:56:05 Step 22/23 : LABEL git_sha=7207c6f924e2137193c6618350ec8fa98c386ee3 07:56:05 ---> Running in 83029313e842 07:56:05 Removing intermediate container 83029313e842 07:56:05 ---> dfdaee0acde4 07:56:05 Step 23/23 : LABEL version=0.0.0 07:56:05 ---> Running in 4962622efd4e 07:56:05 Removing intermediate container 4962622efd4e 07:56:05 ---> e8af1d518a0c 07:56:05 [Warning] One or more build-args [ARCH] were not consumed 07:56:05 Successfully built e8af1d518a0c 07:56:05 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] } 07:56:14 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.041s coverage: 11.4% of statements 07:56:14 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 21.7% of statements 07:56:14 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:56:14 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.190s coverage: 36.9% of statements 07:56:14 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:56:14 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.444s coverage: 65.2% of statements 07:56:14 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:56:14 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:56:14 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:56:14 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements 07:56:14 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.351s coverage: 68.9% of statements 07:56:14 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:56:14 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:56:14 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:56:17 gofmt -l . 07:56:17 [ "`gofmt -l .`" = "" ] 07:56:17 ./bin/test-attribution-txt.sh 07:56:18 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:56:18 Warning: overwriting stash ‘coverage-report’ 07:56:19 Stashed 1 file(s) [Pipeline] } 07:56:19 $ docker stop --time=1 b0d718e57de29f191077054fc58359756b81b6cf4ab0f281c477eeab24701910 07:56:21 $ docker rm -f b0d718e57de29f191077054fc58359756b81b6cf4ab0f281c477eeab24701910 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:56:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:56:23 + ls -al . 07:56:23 total 224 07:56:23 drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 07:56 . 07:56:23 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 07:53 .. 07:56:23 -rw-rw-r-- 1 jenkins jenkins 140 Jul 14 07:53 .dockerignore 07:56:23 drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 07:54 .git 07:56:23 drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 07:53 .github 07:56:23 -rw-rw-r-- 1 jenkins jenkins 138 Jul 14 07:53 .gitignore 07:56:23 drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 07:54 .semver 07:56:23 -rw-rw-r-- 1 jenkins jenkins 936 Jul 14 07:53 Dockerfile.build 07:56:23 -rw-rw-r-- 1 jenkins jenkins 808 Jul 14 07:53 Jenkinsfile 07:56:23 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 14 07:53 LICENSE 07:56:23 -rw-rw-r-- 1 jenkins jenkins 892 Jul 14 07:53 Makefile 07:56:23 -rw-rw-r-- 1 jenkins jenkins 5101 Jul 14 07:53 README.md 07:56:23 -rw-rw-r-- 1 jenkins jenkins 3997 Jul 14 07:53 RELEASE-NOTES.txt 07:56:23 -rw-rw-r-- 1 jenkins jenkins 5 Jul 14 07:52 VERSION 07:56:23 drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 07:53 api 07:56:23 drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 07:53 bin 07:56:23 -rw-r--r-- 1 jenkins jenkins 110877 Jul 14 07:56 coverage.out 07:56:23 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 07:53 example 07:56:23 -rw-r--r-- 1 jenkins jenkins 446 Jul 14 07:56 go.mod 07:56:23 -rw-r--r-- 1 jenkins jenkins 12179 Jul 14 07:56 go.sum 07:56:23 drwxrwxr-x 13 jenkins jenkins 4096 Jul 14 07:53 internal 07:56:23 drwxrwxr-x 5 jenkins jenkins 4096 Jul 14 07:53 pkg 07:56:23 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 07:53 snap 07:56:23 -rw-rw-r-- 1 jenkins jenkins 222 Jul 14 07:53 version.go [Pipeline] isUnix [Pipeline] sh 07:56:23 + 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=7207c6f924e2137193c6618350ec8fa98c386ee3 --label arch=arm64 --label version=0.0.0 . 07:56:24 Sending build context to Docker daemon 3.22MB 07:56:24 Step 1/23 : ARG BASE=golang:1.13-alpine 07:56:24 Step 2/23 : FROM ${BASE} AS builder 07:56:24 ---> 5e31041c3eba 07:56:24 Step 3/23 : ARG MAKE='make build' 07:56:24 ---> Running in 1209b3980231 07:56:24 Removing intermediate container 1209b3980231 07:56:24 ---> 1d370ed07599 07:56:24 Step 4/23 : WORKDIR /device-sdk-go 07:56:25 ---> Running in 2bd75850550f 07:56:25 Removing intermediate container 2bd75850550f 07:56:25 ---> 346318e2f77c 07:56:25 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:56:25 ---> Running in b2e1dd8826f4 07:56:25 Removing intermediate container b2e1dd8826f4 07:56:25 ---> 48afb7a94aed 07:56:25 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:56:26 ---> Running in 3615bbb2c20b 07:56:28 Removing intermediate container 3615bbb2c20b 07:56:28 ---> 5c6f462c8e95 07:56:28 Step 7/23 : RUN apk add --update --no-cache make git 07:56:28 ---> Running in d94ae0ea08d0 07:56:30 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:56:30 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:56:31 OK: 125 MiB in 39 packages 07:56:32 Removing intermediate container d94ae0ea08d0 07:56:32 ---> 00528e623940 07:56:32 Step 8/23 : COPY . . 07:56:34 ---> 7df53f60e76d 07:56:34 Step 9/23 : RUN ${MAKE} 07:56:34 ---> Running in e89a507f6194 07:56: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 07:57:02 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:57:02 Removing intermediate container e89a507f6194 07:57:02 ---> d32503891d08 07:57:02 Step 10/23 : FROM scratch 07:57:02 ---> 07:57:02 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:57:02 ---> Running in 39fe2ec2c128 07:57:02 Removing intermediate container 39fe2ec2c128 07:57:02 ---> 16ae634b88e3 07:57:02 Step 12/23 : ENV APP_PORT=49990 07:57:02 ---> Running in a00d256ae390 07:57:02 Removing intermediate container a00d256ae390 07:57:02 ---> f866b3ab90af 07:57:02 Step 13/23 : EXPOSE $APP_PORT 07:57:02 ---> Running in afeccd75cc4a 07:57:02 Removing intermediate container afeccd75cc4a 07:57:02 ---> 850fc0fa36ca 07:57:02 Step 14/23 : WORKDIR / 07:57:02 ---> Running in bdd39f90aa03 07:57:02 Removing intermediate container bdd39f90aa03 07:57:02 ---> a621a992f252 07:57:02 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:57:03 ---> 9398797e6dc3 07:57:03 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:57:04 ---> c69e71bae2f9 07:57:04 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:57:05 ---> a077c49a3d1a 07:57:05 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:57:05 ---> 7931b37792ff 07:57:05 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:57:06 ---> 4323b1cb6cd5 07:57:06 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:57:06 ---> Running in 80c7315dd624 07:57:07 Removing intermediate container 80c7315dd624 07:57:07 ---> f4dd9b07ac7d 07:57:07 Step 21/23 : LABEL arch=arm64 07:57:07 ---> Running in de0a249d56cd 07:57:07 Removing intermediate container de0a249d56cd 07:57:07 ---> 01558b61e263 07:57:07 Step 22/23 : LABEL git_sha=7207c6f924e2137193c6618350ec8fa98c386ee3 07:57:07 ---> Running in c72ab7aca218 07:57:08 Removing intermediate container c72ab7aca218 07:57:08 ---> 6f0839cc4f19 07:57:08 Step 23/23 : LABEL version=0.0.0 07:57:08 ---> Running in 51bd2b05133e 07:57:08 Removing intermediate container 51bd2b05133e 07:57:08 ---> 05f622143e06 07:57:08 [Warning] One or more build-args [ARCH] were not consumed 07:57:08 Successfully built 05f622143e06 07:57:08 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 07:57:11 provisioning config files... 07:57:11 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-550@tmp/config4268177533000390659tmp [Pipeline] { [Pipeline] sh 07:57:11 + curl -s https://codecov.io/bash 07:57:11 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-550@tmp/config4268177533000390659tmp [Pipeline] } 07:57:11 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 07:57:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:57:14 ---> package-listing.sh 07:57:14 ++ facter osfamily 07:57:14 ++ tr '[:upper:]' '[:lower:]' 07:57:14 + OS_FAMILY=redhat 07:57:14 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-550 07:57:14 + START_PACKAGES=/tmp/packages_start.txt 07:57:14 + END_PACKAGES=/tmp/packages_end.txt 07:57:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:57:14 + PACKAGES=/tmp/packages_start.txt 07:57:14 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-550 ']' 07:57:14 + PACKAGES=/tmp/packages_end.txt 07:57:14 + case "${OS_FAMILY}" in 07:57:14 + rpm -qa 07:57:14 + sort 07:57:18 + '[' -f /tmp/packages_start.txt ']' 07:57:18 + '[' -f /tmp/packages_end.txt ']' 07:57:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:57:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-550 ']' 07:57:18 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-550/archives/ 07:57:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-550/archives/ [Pipeline] isUnix [Pipeline] sh 07:57:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:57:19 07:57:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:57:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:57:19 alpine: Pulling from edgex-lftools-log-publisher 07:57:19 c9b1b535fdd9: Pulling fs layer 07:57:19 2cc5ad85d9ab: Pulling fs layer 07:57:19 756a868c4378: Pulling fs layer 07:57:19 444b2fc9a129: Pulling fs layer 07:57:19 ea15f1150254: Pulling fs layer 07:57:19 41b27a9f41bf: Pulling fs layer 07:57:19 28c525ee5125: Pulling fs layer 07:57:19 094b1ea09ed8: Pulling fs layer 07:57:19 138eaada9080: Pulling fs layer 07:57:19 0622d0fa9048: Pulling fs layer 07:57:19 444b2fc9a129: Waiting 07:57:19 ea15f1150254: Waiting 07:57:19 41b27a9f41bf: Waiting 07:57:19 28c525ee5125: Waiting 07:57:19 094b1ea09ed8: Waiting 07:57:19 138eaada9080: Waiting 07:57:19 2cc5ad85d9ab: Download complete 07:57:19 444b2fc9a129: Verifying Checksum 07:57:19 444b2fc9a129: Download complete 07:57:19 c9b1b535fdd9: Verifying Checksum 07:57:19 ea15f1150254: Download complete 07:57:19 28c525ee5125: Verifying Checksum 07:57:19 28c525ee5125: Download complete 07:57:19 756a868c4378: Verifying Checksum 07:57:19 756a868c4378: Download complete 07:57:20 c9b1b535fdd9: Pull complete 07:57:20 138eaada9080: Verifying Checksum 07:57:20 138eaada9080: Download complete 07:57:20 0622d0fa9048: Verifying Checksum 07:57:20 0622d0fa9048: Download complete 07:57:20 094b1ea09ed8: Verifying Checksum 07:57:20 094b1ea09ed8: Download complete 07:57:20 2cc5ad85d9ab: Pull complete 07:57:20 41b27a9f41bf: Verifying Checksum 07:57:20 41b27a9f41bf: Download complete 07:57:22 756a868c4378: Pull complete 07:57:22 444b2fc9a129: Pull complete 07:57:22 ea15f1150254: Pull complete 07:57:26 41b27a9f41bf: Pull complete 07:57:26 28c525ee5125: Pull complete 07:57:28 094b1ea09ed8: Pull complete 07:57:29 138eaada9080: Pull complete 07:57:29 0622d0fa9048: Pull complete 07:57:29 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 07:57:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:57:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:57:29 prd-centos7-docker-4c-2g-610 does not seem to be running inside a container 07:57:29 $ 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-550 -v /w/workspace/dgexfoundry_device-sdk-go_PR-550:/w/workspace/dgexfoundry_device-sdk-go_PR-550:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-550@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-550@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 07:57:31 $ docker top 77bb8506bf9952fc65e2a99902480cc13eaadd1034ed0b333ed2bfb08e62df1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:57:32 provisioning config files... 07:57:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-550@tmp/config363858064813011960tmp [Pipeline] { [Pipeline] echo 07:57:32 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:57:32 ---> create-netrc.sh [Pipeline] echo 07:57:32 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:57:33 ---> logs-deploy.sh 07:57:33 + ARCHIVE_ARTIFACTS= 07:57:33 + LOGS_SERVER=https://logs.edgexfoundry.org 07:57:33 + '[' https://logs.edgexfoundry.org == None ']' 07:57:33 + NEXUS_URL=https://nexus.edgexfoundry.org 07:57:33 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-550/1 07:57:33 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-550/1/ 07:57:33 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-550/1 /w/workspace/dgexfoundry_device-sdk-go_PR-550 07:57:34 Archives upload complete. 07:57:34 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-550/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-550/1/