Pull request #545 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 57f04539ff6bb6765fcd4762ee0d24f9c79da216+237059a1cc6afe5d06dcb2973311674b604926bf (759384c0f5afa9e6c7d7740f6a1fbd175c029228) 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-545/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 Running on prd-centos7-docker-4c-2g-4456 in /w/workspace/dgexfoundry_device-sdk-go_PR-545 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-545 # 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/545/head:refs/remotes/origin/PR-545 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 237059a1cc6afe5d06dcb2973311674b604926bf into PR head commit 57f04539ff6bb6765fcd4762ee0d24f9c79da216 Merge succeeded, producing 57f04539ff6bb6765fcd4762ee0d24f9c79da216 Checking out Revision 57f04539ff6bb6765fcd4762ee0d24f9c79da216 (PR-545) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/545/head:refs/remotes/origin/PR-545 # 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/545/head:refs/remotes/origin/PR-545 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57f04539ff6bb6765fcd4762ee0d24f9c79da216 # 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 237059a1cc6afe5d06dcb2973311674b604926bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57f04539ff6bb6765fcd4762ee0d24f9c79da216 # timeout=10 Commit message: "refactor: Remove client monitoring" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:47:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:47:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:47:04 ========================================================= 21:47:04 EdgeX Global Pipelines Version Info 21:47:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:47:06 ------------------- 21:47:06 stable info: 21:47:06 ------------------- 21:47:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:47:06 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 21:47:06 Message: update stable to v1.0.89 21:47:07 ------------------- 21:47:07 experimental info: 21:47:07 ------------------- 21:47:07 Commited By: **** collab-it+edgex@linuxfoundation.org 21:47:07 Commit SHA: aa323fb5dfebb31640c35badf05a5a9beff52318 21:47:07 Message: update experimental to v1.0.90 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 21:47:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:47:08 21:47:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:47:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:47:09 latest: Pulling from edgex-devops/git-semver 21:47:09 9123ac7c32f7: Pulling fs layer 21:47:09 b8cc5d1170e3: Pulling fs layer 21:47:09 2924cbbf6a41: Pulling fs layer 21:47:09 93b08a4f1073: Pulling fs layer 21:47:09 93b08a4f1073: Waiting 21:47:09 b8cc5d1170e3: Verifying Checksum 21:47:09 b8cc5d1170e3: Download complete 21:47:09 9123ac7c32f7: Verifying Checksum 21:47:09 9123ac7c32f7: Download complete 21:47:09 2924cbbf6a41: Verifying Checksum 21:47:09 2924cbbf6a41: Download complete 21:47:09 93b08a4f1073: Verifying Checksum 21:47:09 93b08a4f1073: Download complete 21:47:09 9123ac7c32f7: Pull complete 21:47:09 b8cc5d1170e3: Pull complete 21:47:10 2924cbbf6a41: Pull complete 21:47:10 93b08a4f1073: Pull complete 21:47:10 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 21:47:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:47:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:47:10 prd-centos7-docker-4c-2g-4456 does not seem to be running inside a container 21:47:10 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-545 -v /w/workspace/dgexfoundry_device-sdk-go_PR-545:/w/workspace/dgexfoundry_device-sdk-go_PR-545:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-545@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-545@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:47:12 $ docker top aca1c678ac266c1a4256911b63807db0a2273399e59195cf03b0527bc5eec6f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:47:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:13 [ssh-agent] Looking for ssh-agent implementation... 21:47:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:13 $ docker exec aca1c678ac266c1a4256911b63807db0a2273399e59195cf03b0527bc5eec6f8 ssh-agent 21:47:13 SSH_AUTH_SOCK=/tmp/ssh-RiCiXNSmjvMy/agent.11 21:47:13 SSH_AGENT_PID=17 21:47:13 Running ssh-add (command line suppressed) 21:47:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-545@tmp/private_key_3590608282618609946.key (/w/workspace/dgexfoundry_device-sdk-go_PR-545@tmp/private_key_3590608282618609946.key) 21:47:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:14 + git describe --exact-match --tags HEAD 21:47:14 fatal: No names found, cannot describe anything. [Pipeline] } 21:47:14 $ docker exec --env ******** --env ******** aca1c678ac266c1a4256911b63807db0a2273399e59195cf03b0527bc5eec6f8 ssh-agent -k 21:47:14 unset SSH_AUTH_SOCK; 21:47:14 unset SSH_AGENT_PID; 21:47:14 echo Agent pid 17 killed; 21:47:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 21:47:14 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 21:47:14 This usually means this commit has not been tagged. [Pipeline] sshagent 21:47:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:14 [ssh-agent] Looking for ssh-agent implementation... 21:47:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:14 $ docker exec aca1c678ac266c1a4256911b63807db0a2273399e59195cf03b0527bc5eec6f8 ssh-agent 21:47:14 SSH_AUTH_SOCK=/tmp/ssh-KysX5MKALteJ/agent.47 21:47:14 SSH_AGENT_PID=52 21:47:14 Running ssh-add (command line suppressed) 21:47:14 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-545@tmp/private_key_3530860764520368345.key (/w/workspace/dgexfoundry_device-sdk-go_PR-545@tmp/private_key_3530860764520368345.key) 21:47:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:15 + git semver init 21:47:15 # -> Open(): unable to determine branch for HEAD 21:47:15 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-545/.git 21:47:15 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-545 21:47:15 # $SEMVER_REMOTE_NAME = origin 21:47:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:47:15 # $SEMVER_USER_NAME = edgex-jenkins 21:47:15 # $SEMVER_BRANCH = PR-545 21:47:15 # $SEMVER_TEMP = /tmp/semver-598815276 21:47:15 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 21:47:15 # '/tmp/semver-598815276' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-545/.semver' 21:47:15 # -> Force: false 21:47:15 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-545/.semver [Pipeline] } 21:47:15 $ docker exec --env ******** --env ******** aca1c678ac266c1a4256911b63807db0a2273399e59195cf03b0527bc5eec6f8 ssh-agent -k 21:47:16 unset SSH_AUTH_SOCK; 21:47:16 unset SSH_AGENT_PID; 21:47:16 echo Agent pid 52 killed; 21:47:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:47:16 + git semver [Pipeline] } 21:47:16 $ docker stop --time=1 aca1c678ac266c1a4256911b63807db0a2273399e59195cf03b0527bc5eec6f8 21:47:18 $ docker rm -f aca1c678ac266c1a4256911b63807db0a2273399e59195cf03b0527bc5eec6f8 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 21:47:18 Stashed 71 file(s) [Pipeline] echo 21:47:18 [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 21:47:34 Still waiting to schedule task 21:47:34 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4456’ 21:47:34 Still waiting to schedule task 21:47:34 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 21:49:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4457 in /w/workspace/dgexfoundry_device-sdk-go_PR-545 [Pipeline] { [Pipeline] ws 21:49:11 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:49:16 using credential edgex-jenkins-ssh 21:49:16 Cloning the remote Git repository 21:49:16 Cloning with configured refspecs honoured and without tags 21:49:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:49:17 Fetching without tags 21:49:16 > git init /w/workspace/device-sdk-go/1 # timeout=10 21:49:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:49:16 > git --version # timeout=10 21:49:16 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/545/head:refs/remotes/origin/PR-545 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:49:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:49:17 > git config --add remote.origin.fetch +refs/pull/545/head:refs/remotes/origin/PR-545 # timeout=10 21:49:17 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:49:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:49:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:49:17 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/545/head:refs/remotes/origin/PR-545 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:49:18 Merging remotes/origin/master commit 237059a1cc6afe5d06dcb2973311674b604926bf into PR head commit 57f04539ff6bb6765fcd4762ee0d24f9c79da216 21:49:18 Merge succeeded, producing 57f04539ff6bb6765fcd4762ee0d24f9c79da216 21:49:18 Checking out Revision 57f04539ff6bb6765fcd4762ee0d24f9c79da216 (PR-545) 21:49:18 > git config core.sparsecheckout # timeout=10 21:49:18 > git checkout -f 57f04539ff6bb6765fcd4762ee0d24f9c79da216 # timeout=10 21:49:18 > git remote # timeout=10 21:49:18 > git config --get remote.origin.url # timeout=10 21:49:18 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:18 > git merge 237059a1cc6afe5d06dcb2973311674b604926bf # timeout=10 21:49:18 > git rev-parse HEAD^{commit} # timeout=10 21:49:18 > git config core.sparsecheckout # timeout=10 21:49:18 > git checkout -f 57f04539ff6bb6765fcd4762ee0d24f9c79da216 # timeout=10 21:49:23 Commit message: "refactor: Remove client monitoring" 21:49:23 > git --version # timeout=10 21:49:23 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:49:24 ========================================================= 21:49:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 21:49:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:49:25 + 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 . 21:49:26 Sending build context to Docker daemon 3.08MB 21:49:26 Step 1/8 : ARG BASE=golang:1.13-alpine 21:49:26 Step 2/8 : FROM ${BASE} 21:49:27 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:49:27 cde5963f3b93: Pulling fs layer 21:49:27 2a23fa8c16f7: Pulling fs layer 21:49:27 777b28850792: Pulling fs layer 21:49:27 8a11ddd9e578: Pulling fs layer 21:49:27 4cf88f913ddb: Pulling fs layer 21:49:27 1df406cf5192: Pulling fs layer 21:49:27 cd6300453558: Pulling fs layer 21:49:27 b9c365052c96: Pulling fs layer 21:49:27 a2d8cc88f415: Pulling fs layer 21:49:27 ea1d1ca13537: Pulling fs layer 21:49:27 3750a50a1c5e: Pulling fs layer 21:49:27 8a11ddd9e578: Waiting 21:49:27 4cf88f913ddb: Waiting 21:49:27 1df406cf5192: Waiting 21:49:27 cd6300453558: Waiting 21:49:27 b9c365052c96: Waiting 21:49:27 a2d8cc88f415: Waiting 21:49:27 ea1d1ca13537: Waiting 21:49:27 3750a50a1c5e: Waiting 21:49:27 777b28850792: Verifying Checksum 21:49:27 777b28850792: Download complete 21:49:27 2a23fa8c16f7: Verifying Checksum 21:49:27 2a23fa8c16f7: Download complete 21:49:27 4cf88f913ddb: Verifying Checksum 21:49:27 4cf88f913ddb: Download complete 21:49:27 1df406cf5192: Verifying Checksum 21:49:27 1df406cf5192: Download complete 21:49:27 cde5963f3b93: Verifying Checksum 21:49:27 cde5963f3b93: Download complete 21:49:28 cde5963f3b93: Pull complete 21:49:28 2a23fa8c16f7: Pull complete 21:49:29 777b28850792: Pull complete 21:49:29 cd6300453558: Verifying Checksum 21:49:29 cd6300453558: Download complete 21:49:29 a2d8cc88f415: Verifying Checksum 21:49:29 a2d8cc88f415: Download complete 21:49:31 ea1d1ca13537: Verifying Checksum 21:49:31 ea1d1ca13537: Download complete 21:49:31 3750a50a1c5e: Download complete 21:49:31 b9c365052c96: Verifying Checksum 21:49:31 b9c365052c96: Download complete 21:49:32 8a11ddd9e578: Verifying Checksum 21:49:32 8a11ddd9e578: Download complete 21:49:44 8a11ddd9e578: Pull complete 21:49:44 4cf88f913ddb: Pull complete 21:49:44 1df406cf5192: Pull complete 21:49:48 cd6300453558: Pull complete 21:49:52 b9c365052c96: Pull complete 21:49:52 a2d8cc88f415: Pull complete 21:49:54 ea1d1ca13537: Pull complete 21:49:55 3750a50a1c5e: Pull complete 21:49:55 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 21:49:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 21:49:55 ---> 78745c68409d 21:49:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:49:59 ---> Running in 8784ee7191c8 21:50:00 Removing intermediate container 8784ee7191c8 21:50:00 ---> 7c30d72dd90a 21:50:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:50:00 ---> Running in 5e3c2600bc35 21:50:03 Removing intermediate container 5e3c2600bc35 21:50:03 ---> 23cf01457c40 21:50:03 Step 5/8 : RUN apk add --no-cache make git 21:50:03 ---> Running in 7e232a0b530a 21:50:04 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 21:50:05 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 21:50:06 OK: 125 MiB in 39 packages 21:50:07 Removing intermediate container 7e232a0b530a 21:50:07 ---> ad3979a38ab4 21:50:07 Step 6/8 : WORKDIR /device-sdk-go 21:50:07 ---> Running in bcb2fc3fd101 21:50:07 Removing intermediate container bcb2fc3fd101 21:50:07 ---> 4a4184422204 21:50:07 Step 7/8 : COPY . . 21:50:08 Running on prd-centos7-docker-4c-2g-4458 in /w/workspace/dgexfoundry_device-sdk-go_PR-545 [Pipeline] { [Pipeline] ws 21:50:08 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:50:09 ---> 2478d2dc516a 21:50:09 Step 8/8 : RUN go mod download 21:50:09 ---> Running in 1a046490a467 21:50:11 using credential edgex-jenkins-ssh 21:50:11 Cloning the remote Git repository 21:50:11 Cloning with configured refspecs honoured and without tags 21:50:12 Fetching without tags 21:50:12 go: finding github.com/BurntSushi/toml v0.3.1 21:50:12 go: finding github.com/OneOfOne/xxhash v1.2.6 21:50:12 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:50:12 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:50:12 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:50:12 go: finding github.com/bgentry/speakeasy v0.1.0 21:50:12 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:50:12 go: finding github.com/davecgh/go-spew v1.1.1 21:50:12 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 21:50:12 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:50:12 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 21:50:12 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 21:50:12 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 21:50:12 go: finding github.com/fatih/color v1.7.0 21:50:12 go: finding github.com/fxamacker/cbor/v2 v2.2.0 21:50:12 go: finding github.com/go-kit/kit v0.8.0 21:50:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:50:11 > git init /w/workspace/device-sdk-go/1 # timeout=10 21:50:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:50:11 > git --version # timeout=10 21:50:11 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:11 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/545/head:refs/remotes/origin/PR-545 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:50:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:50:12 > git config --add remote.origin.fetch +refs/pull/545/head:refs/remotes/origin/PR-545 # timeout=10 21:50:12 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:50:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:50:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:50:12 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:12 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/545/head:refs/remotes/origin/PR-545 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:50:12 Merging remotes/origin/master commit 237059a1cc6afe5d06dcb2973311674b604926bf into PR head commit 57f04539ff6bb6765fcd4762ee0d24f9c79da216 21:50:12 go: finding github.com/go-logfmt/logfmt v0.4.0 21:50:12 go: finding github.com/go-stack/stack v1.8.0 21:50:12 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:50:12 go: finding github.com/google/uuid v1.1.0 21:50:12 go: finding github.com/gorilla/mux v1.7.1 21:50:12 go: finding github.com/hashicorp/consul/api v1.1.0 21:50:12 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:50:12 Merge succeeded, producing 57f04539ff6bb6765fcd4762ee0d24f9c79da216 21:50:12 Checking out Revision 57f04539ff6bb6765fcd4762ee0d24f9c79da216 (PR-545) 21:50:12 go: finding github.com/hashicorp/errwrap v1.0.0 21:50:12 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:50:12 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:50:12 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:50:12 go: finding github.com/hashicorp/go-multierror v1.0.0 21:50:12 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:50:12 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:50:12 go: finding github.com/hashicorp/go-syslog v1.0.0 21:50:12 go: finding github.com/hashicorp/go-uuid v1.0.1 21:50:12 go: finding github.com/hashicorp/go.net v0.0.1 21:50:12 go: finding github.com/hashicorp/golang-lru v0.5.0 21:50:12 go: finding github.com/hashicorp/logutils v1.0.0 21:50:13 go: finding github.com/hashicorp/mdns v1.0.0 21:50:13 go: finding github.com/hashicorp/memberlist v0.1.3 21:50:13 go: finding github.com/hashicorp/serf v0.8.2 21:50:13 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:50:13 go: finding github.com/mattn/go-colorable v0.0.9 21:50:13 go: finding github.com/mattn/go-isatty v0.0.3 21:50:13 go: finding github.com/miekg/dns v1.0.14 21:50:13 go: finding github.com/mitchellh/cli v1.0.0 21:50:13 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:50:13 go: finding github.com/mitchellh/copystructure v1.0.0 21:50:13 go: finding github.com/mitchellh/go-homedir v1.0.0 21:50:13 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:50:13 go: finding github.com/mitchellh/gox v0.4.0 21:50:13 go: finding github.com/mitchellh/iochan v1.0.0 21:50:13 go: finding github.com/mitchellh/mapstructure v1.1.2 21:50:13 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:50:13 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:50:13 go: finding github.com/pelletier/go-toml v1.2.0 21:50:13 go: finding github.com/pkg/errors v0.8.1 21:50:13 go: finding github.com/pmezard/go-difflib v1.0.0 21:50:13 go: finding github.com/posener/complete v1.1.1 21:50:13 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:50:13 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:50:12 > git config core.sparsecheckout # timeout=10 21:50:12 > git checkout -f 57f04539ff6bb6765fcd4762ee0d24f9c79da216 # timeout=10 21:50:12 > git remote # timeout=10 21:50:12 > git config --get remote.origin.url # timeout=10 21:50:12 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:12 > git merge 237059a1cc6afe5d06dcb2973311674b604926bf # timeout=10 21:50:12 > git rev-parse HEAD^{commit} # timeout=10 21:50:12 > git config core.sparsecheckout # timeout=10 21:50:12 > git checkout -f 57f04539ff6bb6765fcd4762ee0d24f9c79da216 # timeout=10 21:50:13 go: finding github.com/stretchr/objx v0.1.0 21:50:13 go: finding github.com/stretchr/testify v1.5.1 21:50:13 go: finding github.com/ugorji/go v1.1.4 21:50:13 go: finding github.com/x448/float16 v0.8.4 21:50:13 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 21:50:13 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 21:50:13 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:50:13 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 21:50:13 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 21:50:14 go: finding gopkg.in/yaml.v2 v2.2.8 21:50:16 Commit message: "refactor: Remove client monitoring" 21:50:16 > git --version # timeout=10 21:50:16 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:50:17 ========================================================= 21:50:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 21:50:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:50:17 + 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 . 21:50:18 Sending build context to Docker daemon 3.08MB 21:50:18 Step 1/8 : ARG BASE=golang:1.13-alpine 21:50:18 Step 2/8 : FROM ${BASE} 21:50:18 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 21:50:18 e6b0cf9c0882: Pulling fs layer 21:50:18 2848faf0eed1: Pulling fs layer 21:50:18 0f37312ad70f: Pulling fs layer 21:50:18 5788d62ee057: Pulling fs layer 21:50:18 0e6b1d234666: Pulling fs layer 21:50:18 bf5d7aec512f: Pulling fs layer 21:50:18 34c802a77dc8: Pulling fs layer 21:50:18 9eb99e56ec68: Pulling fs layer 21:50:18 27c7a5d97fbd: Pulling fs layer 21:50:18 5c102a31e300: Pulling fs layer 21:50:18 dcfb455df0a1: Pulling fs layer 21:50:18 34c802a77dc8: Waiting 21:50:18 9eb99e56ec68: Waiting 21:50:18 27c7a5d97fbd: Waiting 21:50:18 5c102a31e300: Waiting 21:50:18 dcfb455df0a1: Waiting 21:50:18 5788d62ee057: Waiting 21:50:18 0e6b1d234666: Waiting 21:50:18 bf5d7aec512f: Waiting 21:50:18 0f37312ad70f: Verifying Checksum 21:50:18 0f37312ad70f: Download complete 21:50:18 2848faf0eed1: Download complete 21:50:18 0e6b1d234666: Verifying Checksum 21:50:18 0e6b1d234666: Download complete 21:50:18 bf5d7aec512f: Verifying Checksum 21:50:18 bf5d7aec512f: Download complete 21:50:18 e6b0cf9c0882: Verifying Checksum 21:50:18 e6b0cf9c0882: Download complete 21:50:18 e6b0cf9c0882: Pull complete 21:50:19 34c802a77dc8: Verifying Checksum 21:50:19 34c802a77dc8: Download complete 21:50:19 27c7a5d97fbd: Verifying Checksum 21:50:19 27c7a5d97fbd: Download complete 21:50:19 5c102a31e300: Verifying Checksum 21:50:19 5c102a31e300: Download complete 21:50:19 dcfb455df0a1: Verifying Checksum 21:50:19 dcfb455df0a1: Download complete 21:50:19 5788d62ee057: Verifying Checksum 21:50:19 5788d62ee057: Download complete 21:50:20 9eb99e56ec68: Verifying Checksum 21:50:20 9eb99e56ec68: Download complete 21:50:21 2848faf0eed1: Pull complete 21:50:21 0f37312ad70f: Pull complete 21:50:24 Removing intermediate container 1a046490a467 21:50:24 ---> 6e06dbf94c8f 21:50:24 Successfully built 6e06dbf94c8f 21:50:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:50:24 + docker inspect -f . ci-base-image-arm64 21:50:24 . [Pipeline] withDockerContainer 21:50:25 prd-ubuntu18.04-docker-arm64-4c-16g-4457 does not seem to be running inside a container 21:50:25 $ 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 21:50:27 $ docker top 9f55a41f8aa8e6e68e99afb2e11204d7524ee164276d92b83db8097e24c3f71e -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:27 5788d62ee057: Pull complete 21:50:27 0e6b1d234666: Pull complete 21:50:27 bf5d7aec512f: Pull complete 21:50:28 + go version 21:50:28 go version go1.13.5 linux/arm64 [Pipeline] sh 21:50:29 + make test 21:50:29 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 21:50:30 ? github.com/edgexfoundry/device-sdk-go [no test files] 21:50:32 34c802a77dc8: Pull complete 21:50:34 9eb99e56ec68: Pull complete 21:50:34 27c7a5d97fbd: Pull complete 21:50:35 5c102a31e300: Pull complete 21:50:35 dcfb455df0a1: Pull complete 21:50:35 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 21:50:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 21:50:36 ---> 7c70fe431013 21:50:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:50:37 ---> Running in 344174f3148b 21:50:37 Removing intermediate container 344174f3148b 21:50:37 ---> 772638c8ce27 21:50:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:50:37 ---> Running in d09eff3e8c2a 21:50:38 Removing intermediate container d09eff3e8c2a 21:50:38 ---> 4b5671b81be7 21:50:38 Step 5/8 : RUN apk add --no-cache make git 21:50:38 ---> Running in ca3802d89cb7 21:50:39 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 21:50:40 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 21:50:40 OK: 143 MiB in 39 packages 21:50:40 Removing intermediate container ca3802d89cb7 21:50:40 ---> d63ebe1a49f5 21:50:40 Step 6/8 : WORKDIR /device-sdk-go 21:50:40 ---> Running in d095713e990b 21:50:40 Removing intermediate container d095713e990b 21:50:40 ---> 20dc3b3ffd7e 21:50:40 Step 7/8 : COPY . . 21:50:42 ---> cec58d49b4fd 21:50:42 Step 8/8 : RUN go mod download 21:50:42 ---> Running in e97617e2065a 21:50:44 go: finding github.com/BurntSushi/toml v0.3.1 21:50:44 go: finding github.com/OneOfOne/xxhash v1.2.6 21:50:44 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:50:44 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:50:44 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:50:44 go: finding github.com/bgentry/speakeasy v0.1.0 21:50:44 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:50:44 go: finding github.com/davecgh/go-spew v1.1.1 21:50:44 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 21:50:44 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:50:44 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 21:50:44 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 21:50:44 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 21:50:44 go: finding github.com/fatih/color v1.7.0 21:50:44 go: finding github.com/fxamacker/cbor/v2 v2.2.0 21:50:44 go: finding github.com/go-kit/kit v0.8.0 21:50:44 go: finding github.com/go-logfmt/logfmt v0.4.0 21:50:44 go: finding github.com/go-stack/stack v1.8.0 21:50:44 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:50:44 go: finding github.com/google/uuid v1.1.0 21:50:44 go: finding github.com/gorilla/mux v1.7.1 21:50:44 go: finding github.com/hashicorp/consul/api v1.1.0 21:50:44 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:50:44 go: finding github.com/hashicorp/errwrap v1.0.0 21:50:44 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:50:44 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:50:44 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:50:44 go: finding github.com/hashicorp/go-multierror v1.0.0 21:50:44 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:50:44 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:50:44 go: finding github.com/hashicorp/go-syslog v1.0.0 21:50:44 go: finding github.com/hashicorp/go-uuid v1.0.1 21:50:44 go: finding github.com/hashicorp/go.net v0.0.1 21:50:44 go: finding github.com/hashicorp/golang-lru v0.5.0 21:50:44 go: finding github.com/hashicorp/logutils v1.0.0 21:50:44 go: finding github.com/hashicorp/mdns v1.0.0 21:50:44 go: finding github.com/hashicorp/memberlist v0.1.3 21:50:44 go: finding github.com/hashicorp/serf v0.8.2 21:50:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:50:44 go: finding github.com/mattn/go-colorable v0.0.9 21:50:44 go: finding github.com/mattn/go-isatty v0.0.3 21:50:44 go: finding github.com/miekg/dns v1.0.14 21:50:44 go: finding github.com/mitchellh/cli v1.0.0 21:50:44 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:50:44 go: finding github.com/mitchellh/copystructure v1.0.0 21:50:44 go: finding github.com/mitchellh/go-homedir v1.0.0 21:50:44 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:50:44 go: finding github.com/mitchellh/gox v0.4.0 21:50:45 go: finding github.com/mitchellh/iochan v1.0.0 21:50:45 go: finding github.com/mitchellh/mapstructure v1.1.2 21:50:45 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:50:45 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:50:45 go: finding github.com/pelletier/go-toml v1.2.0 21:50:45 go: finding github.com/pkg/errors v0.8.1 21:50:45 go: finding github.com/pmezard/go-difflib v1.0.0 21:50:45 go: finding github.com/posener/complete v1.1.1 21:50:45 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:50:45 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:50:45 go: finding github.com/stretchr/objx v0.1.0 21:50:45 go: finding github.com/stretchr/testify v1.5.1 21:50:45 go: finding github.com/ugorji/go v1.1.4 21:50:45 go: finding github.com/x448/float16 v0.8.4 21:50:45 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 21:50:45 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 21:50:45 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:50:45 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 21:50:45 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 21:50:45 go: finding gopkg.in/yaml.v2 v2.2.8 21:50:53 Removing intermediate container e97617e2065a 21:50:53 ---> 079cd37cc4b6 21:50:53 Successfully built 079cd37cc4b6 21:50:53 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 21:50:54 + docker inspect -f . ci-base-image-x86_64 21:50:54 . [Pipeline] withDockerContainer 21:50:54 prd-centos7-docker-4c-2g-4458 does not seem to be running inside a container 21:50:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:50:55 $ docker top f252848ecc8409696619ffd81754c3d36368065cb0b3c3ec4e625e95331b093d -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:56 + go version 21:50:56 go version go1.13.5 linux/amd64 [Pipeline] sh 21:50:56 + make test 21:50:56 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 21:50:57 ? github.com/edgexfoundry/device-sdk-go [no test files] 21:51:02 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 21:51:02 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 21:51:02 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 21:51:02 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.040s coverage: 22.1% of statements 21:51:02 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.178s coverage: 95.8% of statements 21:51:07 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 21:51:07 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 21:51:07 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 21:51:07 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.009s coverage: 22.1% of statements 21:51:08 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.8% of statements 21:51:35 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.051s coverage: 11.4% of statements 21:51:35 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.064s coverage: 21.7% of statements 21:51:35 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 21:51:35 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.165s coverage: 36.9% of statements 21:51:35 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 21:51:35 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.514s coverage: 65.2% of statements 21:51:35 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 21:51:35 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 21:51:35 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 21:51:35 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.050s coverage: 52.6% of statements 21:51:35 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.332s coverage: 68.9% of statements 21:51:35 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 21:51:35 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 21:51:35 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:51:37 gofmt -l . 21:51:37 [ "`gofmt -l .`" = "" ] 21:51:38 ./bin/test-attribution-txt.sh 21:51:38 ./bin/test-go-mod-tidy.sh [Pipeline] stash 21:51:39 Stashed 1 file(s) [Pipeline] } 21:51:39 $ docker stop --time=1 9f55a41f8aa8e6e68e99afb2e11204d7524ee164276d92b83db8097e24c3f71e 21:51:40 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.074s coverage: 11.4% of statements 21:51:40 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.025s coverage: 21.7% of statements 21:51:40 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 21:51:40 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.067s coverage: 36.9% of statements 21:51:40 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 21:51:40 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.466s coverage: 65.2% of statements 21:51:40 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 21:51:40 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 21:51:40 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 21:51:40 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.058s coverage: 52.6% of statements 21:51:40 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.097s coverage: 68.9% of statements 21:51:40 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 21:51:40 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 21:51:40 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:51:40 gofmt -l . 21:51:40 [ "`gofmt -l .`" = "" ] 21:51:40 ./bin/test-attribution-txt.sh 21:51:41 ./bin/test-go-mod-tidy.sh 21:51:41 $ docker rm -f 9f55a41f8aa8e6e68e99afb2e11204d7524ee164276d92b83db8097e24c3f71e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash 21:51:42 Warning: overwriting stash ‘coverage-report’ [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 21:51:42 Stashed 1 file(s) [Pipeline] script [Pipeline] { [Pipeline] } 21:51:42 $ docker stop --time=1 f252848ecc8409696619ffd81754c3d36368065cb0b3c3ec4e625e95331b093d 21:51:44 $ docker rm -f f252848ecc8409696619ffd81754c3d36368065cb0b3c3ec4e625e95331b093d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 21:51:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh 21:51:46 + ls -al . 21:51:46 total 224 21:51:46 drwxrwxr-x 11 jenkins jenkins 4096 Jun 25 21:51 . 21:51:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 21:49 .. 21:51:46 -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 21:49 .dockerignore 21:51:46 drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 21:49 .git 21:51:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 21:49 .github 21:51:46 -rw-rw-r-- 1 jenkins jenkins 138 Jun 25 21:49 .gitignore 21:51:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 21:49 .semver 21:51:46 -rw-rw-r-- 1 jenkins jenkins 936 Jun 25 21:49 Dockerfile.build 21:51:46 -rw-rw-r-- 1 jenkins jenkins 808 Jun 25 21:49 Jenkinsfile 21:51:46 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 25 21:49 LICENSE 21:51:46 -rw-rw-r-- 1 jenkins jenkins 892 Jun 25 21:49 Makefile 21:51:46 -rw-rw-r-- 1 jenkins jenkins 5101 Jun 25 21:49 README.md 21:51:46 -rw-rw-r-- 1 jenkins jenkins 3997 Jun 25 21:49 RELEASE-NOTES.txt 21:51:46 -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 21:47 VERSION 21:51:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 21:49 api 21:51:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 21:49 bin 21:51:46 -rw-r--r-- 1 jenkins jenkins 110877 Jun 25 21:51 coverage.out 21:51:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 21:49 example 21:51:46 -rw-r--r-- 1 jenkins jenkins 446 Jun 25 21:51 go.mod 21:51:46 -rw-r--r-- 1 jenkins jenkins 12179 Jun 25 21:51 go.sum 21:51:46 drwxrwxr-x 13 jenkins jenkins 4096 Jun 25 21:49 internal 21:51:46 drwxrwxr-x 5 jenkins jenkins 4096 Jun 25 21:49 pkg 21:51:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 21:49 snap 21:51:46 -rw-rw-r-- 1 jenkins jenkins 222 Jun 25 21:49 version.go [Pipeline] isUnix [Pipeline] sh 21:51:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:51:46 + 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=57f04539ff6bb6765fcd4762ee0d24f9c79da216 --label arch=arm64 --label version=0.0.0 . 21:51:46 + ls -al . 21:51:46 total 184 21:51:46 drwxrwxr-x. 11 jenkins jenkins 4096 Jun 25 21:51 . 21:51:46 drwxrwxr-x. 4 jenkins jenkins 28 Jun 25 21:50 .. 21:51:46 drwxrwxr-x. 3 jenkins jenkins 20 Jun 25 21:50 api 21:51:46 drwxrwxr-x. 2 jenkins jenkins 64 Jun 25 21:50 bin 21:51:46 -rw-r--r--. 1 jenkins jenkins 110877 Jun 25 21:51 coverage.out 21:51:46 -rw-rw-r--. 1 jenkins jenkins 936 Jun 25 21:50 Dockerfile.build 21:51:46 -rw-rw-r--. 1 jenkins jenkins 140 Jun 25 21:50 .dockerignore 21:51:46 drwxrwxr-x. 4 jenkins jenkins 48 Jun 25 21:50 example 21:51:46 drwxrwxr-x. 8 jenkins jenkins 179 Jun 25 21:50 .git 21:51:46 drwxrwxr-x. 2 jenkins jenkins 38 Jun 25 21:50 .github 21:51:46 -rw-rw-r--. 1 jenkins jenkins 138 Jun 25 21:50 .gitignore 21:51:46 -rw-r--r--. 1 jenkins jenkins 446 Jun 25 21:51 go.mod 21:51:46 -rw-r--r--. 1 jenkins jenkins 12179 Jun 25 21:51 go.sum 21:51:46 drwxrwxr-x. 13 jenkins jenkins 184 Jun 25 21:50 internal 21:51:46 -rw-rw-r--. 1 jenkins jenkins 808 Jun 25 21:50 Jenkinsfile 21:51:46 -rw-rw-r--. 1 jenkins jenkins 11341 Jun 25 21:50 LICENSE 21:51:46 -rw-rw-r--. 1 jenkins jenkins 892 Jun 25 21:50 Makefile 21:51:46 drwxrwxr-x. 5 jenkins jenkins 50 Jun 25 21:50 pkg 21:51:46 -rw-rw-r--. 1 jenkins jenkins 5101 Jun 25 21:50 README.md 21:51:46 -rw-rw-r--. 1 jenkins jenkins 3997 Jun 25 21:50 RELEASE-NOTES.txt 21:51:46 drwxrwxr-x. 3 jenkins jenkins 58 Jun 25 21:50 .semver 21:51:46 drwxrwxr-x. 4 jenkins jenkins 54 Jun 25 21:50 snap 21:51:46 -rw-rw-r--. 1 jenkins jenkins 5 Jun 25 21:47 VERSION 21:51:46 -rw-rw-r--. 1 jenkins jenkins 222 Jun 25 21:50 version.go [Pipeline] isUnix [Pipeline] sh 21:51: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=57f04539ff6bb6765fcd4762ee0d24f9c79da216 --label arch=amd64 --label version=0.0.0 . 21:51:47 Sending build context to Docker daemon 3.208MB 21:51:47 Sending build context to Docker daemon 3.208MB 21:51:47 Step 1/23 : ARG BASE=golang:1.13-alpine 21:51:47 Step 2/23 : FROM ${BASE} AS builder 21:51:47 ---> 6e06dbf94c8f 21:51:47 Step 3/23 : ARG MAKE='make build' 21:51:47 ---> Running in c877a55cc96b 21:51:47 Step 1/23 : ARG BASE=golang:1.13-alpine 21:51:47 Step 2/23 : FROM ${BASE} AS builder 21:51:47 ---> 079cd37cc4b6 21:51:47 Step 3/23 : ARG MAKE='make build' 21:51:47 Removing intermediate container c877a55cc96b 21:51:47 ---> e09e908e81f3 21:51:47 Step 4/23 : WORKDIR /device-sdk-go 21:51:47 ---> Running in d69a1704674a 21:51:48 ---> Running in 6e20d9ecf1ed 21:51:48 Removing intermediate container 6e20d9ecf1ed 21:51:48 ---> 70304032e0b9 21:51:48 Step 4/23 : WORKDIR /device-sdk-go 21:51:48 ---> Running in ce7d453fd116 21:51:48 Removing intermediate container ce7d453fd116 21:51:48 ---> 73edda8de262 21:51:48 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:51:48 ---> Running in 1e3893b1e669 21:51:48 Removing intermediate container 1e3893b1e669 21:51:48 ---> 99f4603f3ac6 21:51:48 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:51:48 ---> Running in 7c4c5fd9f17e 21:51:48 Removing intermediate container d69a1704674a 21:51:48 ---> 63cd595ab64a 21:51:48 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:51:48 ---> Running in 809288f769bd 21:51:49 Removing intermediate container 809288f769bd 21:51:49 ---> 430cca34590d 21:51:49 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:51:49 ---> Running in 767fa51f6aa3 21:51:49 Removing intermediate container 7c4c5fd9f17e 21:51:49 ---> 5963741ce505 21:51:49 Step 7/23 : RUN apk add --update --no-cache make git 21:51:49 ---> Running in 93639bf8695d 21:51:49 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 21:51:50 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 21:51:50 OK: 143 MiB in 39 packages 21:51:51 Removing intermediate container 93639bf8695d 21:51:51 ---> a9fee50c90e1 21:51:51 Step 8/23 : COPY . . 21:51:51 Removing intermediate container 767fa51f6aa3 21:51:51 ---> eded31394fd7 21:51:51 Step 7/23 : RUN apk add --update --no-cache make git 21:51:51 ---> Running in f41dfa894bb0 21:51:52 ---> 115928ad5a6c 21:51:52 Step 9/23 : RUN ${MAKE} 21:51:52 ---> Running in 356ee89d54c4 21:51: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 21:51:53 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 21:51:54 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 21:51:54 OK: 125 MiB in 39 packages 21:51:55 Removing intermediate container f41dfa894bb0 21:51:55 ---> 271b65b20b77 21:51:55 Step 8/23 : COPY . . 21:51:57 ---> cbf370ff259e 21:51:57 Step 9/23 : RUN ${MAKE} 21:51:57 ---> Running in 59c0904343b3 21:51:58 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 21:52:01 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:52:02 Removing intermediate container 356ee89d54c4 21:52:02 ---> 1b1c52f8fedc 21:52:02 Step 10/23 : FROM scratch 21:52:02 ---> 21:52:02 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:52:02 ---> Running in 179f5d48a37c 21:52:02 Removing intermediate container 179f5d48a37c 21:52:02 ---> e75ea833cbab 21:52:02 Step 12/23 : ENV APP_PORT=49990 21:52:02 ---> Running in 6863c1756a1d 21:52:02 Removing intermediate container 6863c1756a1d 21:52:02 ---> 7575796d993b 21:52:02 Step 13/23 : EXPOSE $APP_PORT 21:52:02 ---> Running in d602bf81c497 21:52:02 Removing intermediate container d602bf81c497 21:52:02 ---> 2ae0bc7cb372 21:52:02 Step 14/23 : WORKDIR / 21:52:02 ---> Running in 5501404b9e22 21:52:03 Removing intermediate container 5501404b9e22 21:52:03 ---> 6037fc5c86ae 21:52:03 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:52:03 ---> 4ea59d01962c 21:52:03 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:52:03 ---> 19ed78c47294 21:52:03 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:52:04 ---> a0dbb18e373f 21:52:04 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 21:52:04 ---> ac99103d4a3c 21:52:04 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 21:52:04 ---> eb99ce8c7592 21:52:04 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:52:04 ---> Running in 6ec6efd13a4c 21:52:04 Removing intermediate container 6ec6efd13a4c 21:52:04 ---> 7ad8b784a301 21:52:04 Step 21/23 : LABEL arch=amd64 21:52:04 ---> Running in ba0b41d0694a 21:52:04 Removing intermediate container ba0b41d0694a 21:52:04 ---> e9ef66eaafb5 21:52:04 Step 22/23 : LABEL git_sha=57f04539ff6bb6765fcd4762ee0d24f9c79da216 21:52:04 ---> Running in 665ae714de7f 21:52:05 Removing intermediate container 665ae714de7f 21:52:05 ---> 6b40c90a8e1c 21:52:05 Step 23/23 : LABEL version=0.0.0 21:52:05 ---> Running in d4688c7d1667 21:52:05 Removing intermediate container d4688c7d1667 21:52:05 ---> bc60536ff3a8 21:52:05 [Warning] One or more build-args [ARCH] were not consumed 21:52:05 Successfully built bc60536ff3a8 21:52: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] } 21:52:20 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:52:24 Removing intermediate container 59c0904343b3 21:52:24 ---> 3ab30a3f6da4 21:52:24 Step 10/23 : FROM scratch 21:52:24 ---> 21:52:24 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:52:24 ---> Running in 00cc5758f626 21:52:24 Removing intermediate container 00cc5758f626 21:52:24 ---> 5de34eca47f3 21:52:24 Step 12/23 : ENV APP_PORT=49990 21:52:24 ---> Running in 0835e1149038 21:52:24 Removing intermediate container 0835e1149038 21:52:24 ---> bd7cb1d73e0d 21:52:24 Step 13/23 : EXPOSE $APP_PORT 21:52:24 ---> Running in 7543c3d84d6b 21:52:25 Removing intermediate container 7543c3d84d6b 21:52:25 ---> 4946dc963c7d 21:52:25 Step 14/23 : WORKDIR / 21:52:25 ---> Running in 9fbae9bc6c99 21:52:25 Removing intermediate container 9fbae9bc6c99 21:52:25 ---> 8b3aa1a34281 21:52:25 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:52:27 ---> 3691e474a452 21:52:27 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:52:27 ---> 69119765aaaa 21:52:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:52:28 ---> 9dea267a8140 21:52:28 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 21:52:28 ---> 14068506c39c 21:52:28 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 21:52:29 ---> 7b5564396e45 21:52:29 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:52:29 ---> Running in 27bf2e8a1ad0 21:52:30 Removing intermediate container 27bf2e8a1ad0 21:52:30 ---> 5af0493e83d1 21:52:30 Step 21/23 : LABEL arch=arm64 21:52:30 ---> Running in aab8a2bab8da 21:52:30 Removing intermediate container aab8a2bab8da 21:52:30 ---> 016c1dcccc90 21:52:30 Step 22/23 : LABEL git_sha=57f04539ff6bb6765fcd4762ee0d24f9c79da216 21:52:30 ---> Running in a937211e6ff3 21:52:31 Removing intermediate container a937211e6ff3 21:52:31 ---> eba9be00be69 21:52:31 Step 23/23 : LABEL version=0.0.0 21:52:31 ---> Running in bff188522dce 21:52:31 Removing intermediate container bff188522dce 21:52:31 ---> 12e68befb2a4 21:52:31 [Warning] One or more build-args [ARCH] were not consumed 21:52:31 Successfully built 12e68befb2a4 21:52:31 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 21:52:33 provisioning config files... 21:52:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-545@tmp/config3837365609382574162tmp [Pipeline] { [Pipeline] sh 21:52:33 + curl -s https://codecov.io/bash 21:52:33 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-545@tmp/config3837365609382574162tmp [Pipeline] } 21:52:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 21:52:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:52:35 ---> package-listing.sh 21:52:35 ++ facter osfamily 21:52:35 ++ tr '[:upper:]' '[:lower:]' 21:52:35 + OS_FAMILY=redhat 21:52:35 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-545 21:52:35 + START_PACKAGES=/tmp/packages_start.txt 21:52:35 + END_PACKAGES=/tmp/packages_end.txt 21:52:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:52:35 + PACKAGES=/tmp/packages_start.txt 21:52:35 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-545 ']' 21:52:35 + PACKAGES=/tmp/packages_end.txt 21:52:35 + case "${OS_FAMILY}" in 21:52:35 + rpm -qa 21:52:35 + sort 21:52:38 + '[' -f /tmp/packages_start.txt ']' 21:52:38 + '[' -f /tmp/packages_end.txt ']' 21:52:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:52:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-545 ']' 21:52:39 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-545/archives/ 21:52:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-545/archives/ [Pipeline] isUnix [Pipeline] sh 21:52:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:52:39 21:52:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:52:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:52:40 alpine: Pulling from edgex-lftools-log-publisher 21:52:40 c9b1b535fdd9: Pulling fs layer 21:52:40 2cc5ad85d9ab: Pulling fs layer 21:52:40 756a868c4378: Pulling fs layer 21:52:40 444b2fc9a129: Pulling fs layer 21:52:40 ea15f1150254: Pulling fs layer 21:52:40 41b27a9f41bf: Pulling fs layer 21:52:40 28c525ee5125: Pulling fs layer 21:52:40 094b1ea09ed8: Pulling fs layer 21:52:40 138eaada9080: Pulling fs layer 21:52:40 0622d0fa9048: Pulling fs layer 21:52:40 ea15f1150254: Waiting 21:52:40 41b27a9f41bf: Waiting 21:52:40 28c525ee5125: Waiting 21:52:40 094b1ea09ed8: Waiting 21:52:40 444b2fc9a129: Waiting 21:52:40 0622d0fa9048: Waiting 21:52:40 2cc5ad85d9ab: Verifying Checksum 21:52:40 2cc5ad85d9ab: Download complete 21:52:40 444b2fc9a129: Verifying Checksum 21:52:40 444b2fc9a129: Download complete 21:52:40 c9b1b535fdd9: Download complete 21:52:40 ea15f1150254: Verifying Checksum 21:52:40 ea15f1150254: Download complete 21:52:40 28c525ee5125: Verifying Checksum 21:52:40 28c525ee5125: Download complete 21:52:40 c9b1b535fdd9: Pull complete 21:52:40 756a868c4378: Verifying Checksum 21:52:40 756a868c4378: Download complete 21:52:40 138eaada9080: Verifying Checksum 21:52:40 138eaada9080: Download complete 21:52:40 0622d0fa9048: Verifying Checksum 21:52:40 0622d0fa9048: Download complete 21:52:41 094b1ea09ed8: Verifying Checksum 21:52:41 094b1ea09ed8: Download complete 21:52:41 2cc5ad85d9ab: Pull complete 21:52:41 41b27a9f41bf: Verifying Checksum 21:52:41 41b27a9f41bf: Download complete 21:52:42 756a868c4378: Pull complete 21:52:42 444b2fc9a129: Pull complete 21:52:42 ea15f1150254: Pull complete 21:52:47 41b27a9f41bf: Pull complete 21:52:47 28c525ee5125: Pull complete 21:52:50 094b1ea09ed8: Pull complete 21:52:50 138eaada9080: Pull complete 21:52:50 0622d0fa9048: Pull complete 21:52:50 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 21:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:52:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:52:50 prd-centos7-docker-4c-2g-4456 does not seem to be running inside a container 21:52:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-545 -v /w/workspace/dgexfoundry_device-sdk-go_PR-545:/w/workspace/dgexfoundry_device-sdk-go_PR-545:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-545@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-545@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:52:53 $ docker top a2d35be4946d7fa3a164ee6a0f788926e01df0acdbef51ad35a85fbada878ba8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:52:54 provisioning config files... 21:52:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-545@tmp/config2277585273248298610tmp [Pipeline] { [Pipeline] echo 21:52:54 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:52:54 ---> create-netrc.sh [Pipeline] echo 21:52:54 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:52:54 ---> logs-deploy.sh 21:52:54 + ARCHIVE_ARTIFACTS= 21:52:54 + LOGS_SERVER=https://logs.edgexfoundry.org 21:52:54 + '[' https://logs.edgexfoundry.org == None ']' 21:52:54 + NEXUS_URL=https://nexus.edgexfoundry.org 21:52:54 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-545/1 21:52:54 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-545/1/ 21:52:54 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-545/1 /w/workspace/dgexfoundry_device-sdk-go_PR-545 21:52:55 Archives upload complete. 21:52:55 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-545/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-545/1/