Pull request #113 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 tonyespy for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 22cf6459a579de4e7155a1f8aa5eda0f0773302a+b52eb9e4b400164974d679b086349643dc0ae83f (f7e58d496798a83fe94adeac2dde6e917ce1b642) 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-virtual-go/branches/PR-113/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-virtual-go, goVersion:1.13] ========================================================= [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-virtual-go-settings PROJECT: device-virtual-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true 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-2652 in /w/workspace/foundry_device-virtual-go_PR-113 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-113 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/113/head:refs/remotes/origin/PR-113 # 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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b52eb9e4b400164974d679b086349643dc0ae83f into PR head commit 22cf6459a579de4e7155a1f8aa5eda0f0773302a Merge succeeded, producing 22cf6459a579de4e7155a1f8aa5eda0f0773302a Checking out Revision 22cf6459a579de4e7155a1f8aa5eda0f0773302a (PR-113) > git config core.sparsecheckout # timeout=10 > git checkout -f 22cf6459a579de4e7155a1f8aa5eda0f0773302a # 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 b52eb9e4b400164974d679b086349643dc0ae83f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22cf6459a579de4e7155a1f8aa5eda0f0773302a # timeout=10 Commit message: "update device-sdk-go: 1.2.2" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:44:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:44:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:44:49 ========================================================= 22:44:49 EdgeX Global Pipelines Version Info 22:44:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:44:51 ------------------- 22:44:51 stable info: 22:44:51 ------------------- 22:44:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:44:51 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 22:44:51 Message: update stable to v1.0.89 22:44:51 ------------------- 22:44:51 experimental info: 22:44:51 ------------------- 22:44:51 Commited By: **** collab-it+edgex@linuxfoundation.org 22:44:51 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 22:44:51 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 22:44:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:44:54 22:44:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:44:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:44:54 latest: Pulling from edgex-devops/git-semver 22:44:54 9123ac7c32f7: Pulling fs layer 22:44:54 b8cc5d1170e3: Pulling fs layer 22:44:54 2924cbbf6a41: Pulling fs layer 22:44:54 93b08a4f1073: Pulling fs layer 22:44:54 93b08a4f1073: Waiting 22:44:54 b8cc5d1170e3: Verifying Checksum 22:44:54 b8cc5d1170e3: Download complete 22:44:54 9123ac7c32f7: Verifying Checksum 22:44:54 9123ac7c32f7: Download complete 22:44:55 2924cbbf6a41: Verifying Checksum 22:44:55 2924cbbf6a41: Download complete 22:44:55 93b08a4f1073: Verifying Checksum 22:44:55 93b08a4f1073: Download complete 22:44:55 9123ac7c32f7: Pull complete 22:44:55 b8cc5d1170e3: Pull complete 22:44:56 2924cbbf6a41: Pull complete 22:44:56 93b08a4f1073: Pull complete 22:44:56 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 22:44:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:44:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:44:56 prd-centos7-docker-4c-2g-2652 does not seem to be running inside a container 22:44:56 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-113 -v /w/workspace/foundry_device-virtual-go_PR-113:/w/workspace/foundry_device-virtual-go_PR-113:rw,z -v /w/workspace/foundry_device-virtual-go_PR-113@tmp:/w/workspace/foundry_device-virtual-go_PR-113@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 22:44:58 $ docker top 654ca228c3277faee5f92926927d91fb19c1ba337b582e0ce880e634f639d436 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:44:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:44:58 [ssh-agent] Looking for ssh-agent implementation... 22:44:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:44:58 $ docker exec 654ca228c3277faee5f92926927d91fb19c1ba337b582e0ce880e634f639d436 ssh-agent 22:44:59 SSH_AUTH_SOCK=/tmp/ssh-wsE5kNbn13YJ/agent.11 22:44:59 SSH_AGENT_PID=16 22:44:59 Running ssh-add (command line suppressed) 22:44:59 Identity added: /w/workspace/foundry_device-virtual-go_PR-113@tmp/private_key_4530850623761363990.key (/w/workspace/foundry_device-virtual-go_PR-113@tmp/private_key_4530850623761363990.key) 22:44:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:44:59 + git describe --exact-match --tags HEAD 22:44:59 fatal: No names found, cannot describe anything. [Pipeline] } 22:44:59 $ docker exec --env ******** --env ******** 654ca228c3277faee5f92926927d91fb19c1ba337b582e0ce880e634f639d436 ssh-agent -k 22:44:59 unset SSH_AUTH_SOCK; 22:44:59 unset SSH_AGENT_PID; 22:44:59 echo Agent pid 16 killed; 22:44:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:45:00 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 22:45:00 This usually means this commit has not been tagged. [Pipeline] sshagent 22:45:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:45:00 [ssh-agent] Looking for ssh-agent implementation... 22:45:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:45:00 $ docker exec 654ca228c3277faee5f92926927d91fb19c1ba337b582e0ce880e634f639d436 ssh-agent 22:45:00 SSH_AUTH_SOCK=/tmp/ssh-HX6mcqAcpVYS/agent.46 22:45:00 SSH_AGENT_PID=51 22:45:00 Running ssh-add (command line suppressed) 22:45:00 Identity added: /w/workspace/foundry_device-virtual-go_PR-113@tmp/private_key_5391377351741696157.key (/w/workspace/foundry_device-virtual-go_PR-113@tmp/private_key_5391377351741696157.key) 22:45:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:45:00 + git semver init 22:45:00 # -> Open(): unable to determine branch for HEAD 22:45:00 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-113/.git 22:45:00 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-113 22:45:00 # $SEMVER_REMOTE_NAME = origin 22:45:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:45:00 # $SEMVER_USER_NAME = edgex-jenkins 22:45:00 # $SEMVER_BRANCH = PR-113 22:45:00 # $SEMVER_TEMP = /tmp/semver-733652329 22:45:00 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 22:45:01 # '/tmp/semver-733652329' -> '/w/workspace/foundry_device-virtual-go_PR-113/.semver' 22:45:01 # -> Force: false 22:45:01 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-113/.semver [Pipeline] } 22:45:01 $ docker exec --env ******** --env ******** 654ca228c3277faee5f92926927d91fb19c1ba337b582e0ce880e634f639d436 ssh-agent -k 22:45:01 unset SSH_AUTH_SOCK; 22:45:01 unset SSH_AGENT_PID; 22:45:01 echo Agent pid 51 killed; 22:45:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:45:02 + git semver [Pipeline] } 22:45:02 $ docker stop --time=1 654ca228c3277faee5f92926927d91fb19c1ba337b582e0ce880e634f639d436 22:45:03 $ docker rm -f 654ca228c3277faee5f92926927d91fb19c1ba337b582e0ce880e634f639d436 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 22:45:04 Stashed 31 file(s) [Pipeline] echo 22:45:04 [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 22:45:19 Still waiting to schedule task 22:45:19 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:45:19 Still waiting to schedule task 22:45:19 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:46:52 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2653 in /w/workspace/foundry_device-virtual-go_PR-113 [Pipeline] { [Pipeline] ws 22:46:52 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 22:46:57 using credential edgex-jenkins-ssh 22:46:57 Cloning the remote Git repository 22:46:57 Cloning with configured refspecs honoured and without tags 22:46:58 Fetching without tags 22:46:57 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:46:57 > git init /w/workspace/device-virtual-go/1 # timeout=10 22:46:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:46:57 > git --version # timeout=10 22:46:57 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:46:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:46:58 > git config --add remote.origin.fetch +refs/pull/113/head:refs/remotes/origin/PR-113 # timeout=10 22:46:58 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:46:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:46:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:46:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:58 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:46:59 Merging remotes/origin/master commit b52eb9e4b400164974d679b086349643dc0ae83f into PR head commit 22cf6459a579de4e7155a1f8aa5eda0f0773302a 22:46:59 Merge succeeded, producing 22cf6459a579de4e7155a1f8aa5eda0f0773302a 22:46:59 Checking out Revision 22cf6459a579de4e7155a1f8aa5eda0f0773302a (PR-113) 22:46:59 > git config core.sparsecheckout # timeout=10 22:46:59 > git checkout -f 22cf6459a579de4e7155a1f8aa5eda0f0773302a # timeout=10 22:46:59 > git remote # timeout=10 22:46:59 > git config --get remote.origin.url # timeout=10 22:46:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:59 > git merge b52eb9e4b400164974d679b086349643dc0ae83f # timeout=10 22:46:59 > git rev-parse HEAD^{commit} # timeout=10 22:46:59 > git config core.sparsecheckout # timeout=10 22:46:59 > git checkout -f 22cf6459a579de4e7155a1f8aa5eda0f0773302a # timeout=10 22:47:03 Commit message: "update device-sdk-go: 1.2.2" 22:47:03 > git --version # timeout=10 22:47:03 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:47:05 ========================================================= 22:47:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 22:47:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:47:06 + 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 . 22:47:07 Sending build context to Docker daemon 527.4kB 22:47:07 Step 1/8 : ARG BASE=golang:1.13-alpine 22:47:07 Step 2/8 : FROM ${BASE} 22:47:07 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:47:07 cde5963f3b93: Pulling fs layer 22:47:07 2a23fa8c16f7: Pulling fs layer 22:47:07 777b28850792: Pulling fs layer 22:47:07 8a11ddd9e578: Pulling fs layer 22:47:07 4cf88f913ddb: Pulling fs layer 22:47:07 1df406cf5192: Pulling fs layer 22:47:07 cd6300453558: Pulling fs layer 22:47:07 b9c365052c96: Pulling fs layer 22:47:07 a2d8cc88f415: Pulling fs layer 22:47:07 ea1d1ca13537: Pulling fs layer 22:47:07 3750a50a1c5e: Pulling fs layer 22:47:07 4cf88f913ddb: Waiting 22:47:07 1df406cf5192: Waiting 22:47:07 cd6300453558: Waiting 22:47:07 b9c365052c96: Waiting 22:47:07 a2d8cc88f415: Waiting 22:47:07 ea1d1ca13537: Waiting 22:47:07 3750a50a1c5e: Waiting 22:47:07 8a11ddd9e578: Waiting 22:47:07 777b28850792: Verifying Checksum 22:47:07 777b28850792: Download complete 22:47:07 2a23fa8c16f7: Verifying Checksum 22:47:07 2a23fa8c16f7: Download complete 22:47:07 4cf88f913ddb: Verifying Checksum 22:47:07 1df406cf5192: Download complete 22:47:07 cde5963f3b93: Verifying Checksum 22:47:07 cde5963f3b93: Download complete 22:47:08 cde5963f3b93: Pull complete 22:47:09 2a23fa8c16f7: Pull complete 22:47:09 777b28850792: Pull complete 22:47:09 cd6300453558: Verifying Checksum 22:47:09 a2d8cc88f415: Verifying Checksum 22:47:09 a2d8cc88f415: Download complete 22:47:11 ea1d1ca13537: Verifying Checksum 22:47:11 ea1d1ca13537: Download complete 22:47:11 3750a50a1c5e: Download complete 22:47:12 b9c365052c96: Verifying Checksum 22:47:12 b9c365052c96: Download complete 22:47:12 8a11ddd9e578: Verifying Checksum 22:47:12 8a11ddd9e578: Download complete 22:47:25 8a11ddd9e578: Pull complete 22:47:25 4cf88f913ddb: Pull complete 22:47:25 1df406cf5192: Pull complete 22:47:29 cd6300453558: Pull complete 22:47:34 b9c365052c96: Pull complete 22:47:34 a2d8cc88f415: Pull complete 22:47:36 ea1d1ca13537: Pull complete 22:47:36 3750a50a1c5e: Pull complete 22:47:36 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 22:47:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 22:47:36 ---> 78745c68409d 22:47:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 22:47:42 ---> Running in 2334339a3a68 22:47:42 Removing intermediate container 2334339a3a68 22:47:42 ---> 46ed5d61a700 22:47:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:42 ---> Running in 0d37f83bc425 22:47:44 Removing intermediate container 0d37f83bc425 22:47:44 ---> 1fc8901105d0 22:47:44 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 22:47:44 ---> Running in bb2a577750d9 22:47:46 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 22:47:46 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 22:47:47 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 22:47:47 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 22:47:47 (3/18) Installing libmagic (5.37-r1) 22:47:47 Running on prd-centos7-docker-4c-2g-2654 in /w/workspace/foundry_device-virtual-go_PR-113 [Pipeline] { [Pipeline] ws 22:47:47 Running in /w/workspace/device-virtual-go/1 [Pipeline] { 22:47:47 (4/18) Installing file (5.37-r1) [Pipeline] checkout 22:47:48 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 22:47:48 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 22:47:48 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 22:47:52 (8/18) Installing libc-dev (0.7.2-r0) 22:47:52 (9/18) Installing g++ (9.2.0-r4) 22:47:54 using credential edgex-jenkins-ssh 22:47:54 Cloning the remote Git repository 22:47:54 Cloning with configured refspecs honoured and without tags 22:47:54 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:47:55 > git init /w/workspace/device-virtual-go/1 # timeout=10 22:47:55 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:47:55 > git --version # timeout=10 22:47:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:47:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:47:55 (10/18) Installing fortify-headers (1.1-r0) 22:47:55 (11/18) Installing build-base (0.5-r1) 22:47:55 (12/18) Installing openssh-keygen (8.1_p1-r0) 22:47:55 (13/18) Installing libedit (20191211.3.1-r0) 22:47:55 (14/18) Installing openssh-client (8.1_p1-r0) 22:47:55 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 22:47:55 (16/18) Installing openssh-server-common (8.1_p1-r0) 22:47:56 Fetching without tags 22:47:56 (17/18) Installing openssh-server (8.1_p1-r0) 22:47:56 (18/18) Installing openssh (8.1_p1-r0) 22:47:56 Merging remotes/origin/master commit b52eb9e4b400164974d679b086349643dc0ae83f into PR head commit 22cf6459a579de4e7155a1f8aa5eda0f0773302a 22:47:56 Executing busybox-1.31.1-r8.trigger 22:47:56 OK: 203 MiB in 52 packages 22:47:55 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:47:55 > git config --add remote.origin.fetch +refs/pull/113/head:refs/remotes/origin/PR-113 # timeout=10 22:47:55 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:47:56 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:47:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:47:56 using GIT_SSH to set credentials SSH Credentials for GitHub 22:47:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:47:56 > git config core.sparsecheckout # timeout=10 22:47:56 > git checkout -f 22cf6459a579de4e7155a1f8aa5eda0f0773302a # timeout=10 22:47:56 > git remote # timeout=10 22:47:56 > git config --get remote.origin.url # timeout=10 22:47:56 using GIT_SSH to set credentials SSH Credentials for GitHub 22:47:56 > git merge b52eb9e4b400164974d679b086349643dc0ae83f # timeout=10 22:47:56 Merge succeeded, producing 22cf6459a579de4e7155a1f8aa5eda0f0773302a 22:47:56 Checking out Revision 22cf6459a579de4e7155a1f8aa5eda0f0773302a (PR-113) 22:47:56 > git rev-parse HEAD^{commit} # timeout=10 22:47:56 > git config core.sparsecheckout # timeout=10 22:47:56 > git checkout -f 22cf6459a579de4e7155a1f8aa5eda0f0773302a # timeout=10 22:48:01 Commit message: "update device-sdk-go: 1.2.2" 22:48:01 > git --version # timeout=10 22:48:01 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:48:02 ========================================================= 22:48:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 22:48:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:48:03 Removing intermediate container bb2a577750d9 22:48:03 ---> 17397e9dcd14 22:48:03 Step 6/8 : WORKDIR /device-virtual-go 22:48:03 ---> Running in f8658590ebea 22:48:03 Removing intermediate container f8658590ebea 22:48:03 ---> ba604b9770a0 22:48:03 Step 7/8 : COPY . . 22:48:03 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 22:48:04 ---> 7825734adf2a 22:48:04 Step 8/8 : RUN go mod download 22:48:04 Sending build context to Docker daemon 527.4kB 22:48:04 Step 1/8 : ARG BASE=golang:1.13-alpine 22:48:04 Step 2/8 : FROM ${BASE} 22:48:04 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 22:48:04 e6b0cf9c0882: Pulling fs layer 22:48:04 2848faf0eed1: Pulling fs layer 22:48:04 0f37312ad70f: Pulling fs layer 22:48:04 5788d62ee057: Pulling fs layer 22:48:04 0e6b1d234666: Pulling fs layer 22:48:04 bf5d7aec512f: Pulling fs layer 22:48:04 34c802a77dc8: Pulling fs layer 22:48:04 9eb99e56ec68: Pulling fs layer 22:48:04 27c7a5d97fbd: Pulling fs layer 22:48:04 5c102a31e300: Pulling fs layer 22:48:04 dcfb455df0a1: Pulling fs layer 22:48:04 5788d62ee057: Waiting 22:48:04 0e6b1d234666: Waiting 22:48:04 bf5d7aec512f: Waiting 22:48:04 34c802a77dc8: Waiting 22:48:04 9eb99e56ec68: Waiting 22:48:04 27c7a5d97fbd: Waiting 22:48:04 5c102a31e300: Waiting 22:48:04 dcfb455df0a1: Waiting 22:48:04 0f37312ad70f: Verifying Checksum 22:48:04 0f37312ad70f: Download complete 22:48:04 2848faf0eed1: Verifying Checksum 22:48:04 2848faf0eed1: Download complete 22:48:04 ---> Running in 79587b21d409 22:48:04 0e6b1d234666: Verifying Checksum 22:48:04 0e6b1d234666: Download complete 22:48:04 bf5d7aec512f: Verifying Checksum 22:48:04 bf5d7aec512f: Download complete 22:48:04 e6b0cf9c0882: Verifying Checksum 22:48:04 e6b0cf9c0882: Download complete 22:48:05 e6b0cf9c0882: Pull complete 22:48:06 34c802a77dc8: Verifying Checksum 22:48:06 34c802a77dc8: Download complete 22:48:06 27c7a5d97fbd: Download complete 22:48:06 2848faf0eed1: Pull complete 22:48:07 5c102a31e300: Verifying Checksum 22:48:07 5c102a31e300: Download complete 22:48:07 go: finding github.com/BurntSushi/toml v0.3.1 22:48:07 go: finding github.com/OneOfOne/xxhash v1.2.6 22:48:07 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:48:07 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:48:07 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:48:07 go: finding github.com/bgentry/speakeasy v0.1.0 22:48:07 dcfb455df0a1: Verifying Checksum 22:48:07 dcfb455df0a1: Download complete 22:48:07 0f37312ad70f: Pull complete 22:48:07 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 22:48:07 go: finding github.com/davecgh/go-spew v1.1.1 22:48:07 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 22:48:07 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 22:48:07 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 22:48:07 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 22:48:07 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 22:48:07 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 22:48:07 go: finding github.com/edsrzf/mmap-go v1.0.0 22:48:07 go: finding github.com/fatih/color v1.7.0 22:48:07 go: finding github.com/fxamacker/cbor/v2 v2.2.0 22:48:07 go: finding github.com/go-kit/kit v0.8.0 22:48:07 go: finding github.com/go-logfmt/logfmt v0.4.0 22:48:07 go: finding github.com/go-stack/stack v1.8.0 22:48:07 go: finding github.com/golang/snappy v0.0.1 22:48:07 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:48:07 go: finding github.com/google/uuid v1.1.0 22:48:07 go: finding github.com/gorilla/mux v1.7.1 22:48:07 go: finding github.com/hashicorp/consul/api v1.1.0 22:48:07 go: finding github.com/hashicorp/consul/sdk v0.1.1 22:48:07 go: finding github.com/hashicorp/errwrap v1.0.0 22:48:07 9eb99e56ec68: Verifying Checksum 22:48:07 9eb99e56ec68: Download complete 22:48:07 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 22:48:07 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:48:07 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:48:07 go: finding github.com/hashicorp/go-multierror v1.0.0 22:48:07 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:48:07 go: finding github.com/hashicorp/go-sockaddr v1.0.0 22:48:07 go: finding github.com/hashicorp/go-syslog v1.0.0 22:48:07 go: finding github.com/hashicorp/go-uuid v1.0.1 22:48:07 go: finding github.com/hashicorp/go.net v0.0.1 22:48:07 go: finding github.com/hashicorp/golang-lru v0.5.0 22:48:07 go: finding github.com/hashicorp/logutils v1.0.0 22:48:07 go: finding github.com/hashicorp/mdns v1.0.0 22:48:07 go: finding github.com/hashicorp/memberlist v0.1.3 22:48:07 go: finding github.com/hashicorp/serf v0.8.2 22:48:07 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:48:07 go: finding github.com/mattn/go-colorable v0.0.9 22:48:07 go: finding github.com/mattn/go-isatty v0.0.3 22:48:07 go: finding github.com/miekg/dns v1.0.14 22:48:07 go: finding github.com/mitchellh/cli v1.0.0 22:48:08 5788d62ee057: Verifying Checksum 22:48:08 5788d62ee057: Download complete 22:48:08 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:48:08 go: finding github.com/mitchellh/copystructure v1.0.0 22:48:08 go: finding github.com/mitchellh/go-homedir v1.0.0 22:48:08 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:48:08 go: finding github.com/mitchellh/gox v0.4.0 22:48:08 go: finding github.com/mitchellh/iochan v1.0.0 22:48:08 go: finding github.com/mitchellh/mapstructure v1.1.2 22:48:08 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:48:08 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:48:08 go: finding github.com/pelletier/go-toml v1.2.0 22:48:08 go: finding github.com/pkg/errors v0.8.1 22:48:08 go: finding github.com/pmezard/go-difflib v1.0.0 22:48:08 go: finding github.com/posener/complete v1.1.1 22:48:08 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 22:48:08 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 22:48:08 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:48:08 go: finding github.com/stretchr/objx v0.1.0 22:48:08 go: finding github.com/stretchr/testify v1.5.1 22:48:08 go: finding github.com/ugorji/go v1.1.4 22:48:08 go: finding github.com/x448/float16 v0.8.4 22:48:08 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:48:08 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 22:48:08 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:48:08 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 22:48:08 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:48:08 go: finding gopkg.in/yaml.v2 v2.2.8 22:48:08 go: finding modernc.org/b v1.0.0 22:48:08 go: finding modernc.org/db v1.0.0 22:48:08 go: finding modernc.org/file v1.0.0 22:48:08 go: finding modernc.org/fileutil v1.0.0 22:48:08 go: finding modernc.org/golex v1.0.0 22:48:08 go: finding modernc.org/internal v1.0.0 22:48:08 go: finding modernc.org/lldb v1.0.0 22:48:08 go: finding modernc.org/mathutil v1.0.0 22:48:08 go: finding modernc.org/ql v1.0.0 22:48:08 go: finding modernc.org/sortutil v1.0.0 22:48:08 go: finding modernc.org/strutil v1.0.0 22:48:08 go: finding modernc.org/zappy v1.0.0 22:48:18 5788d62ee057: Pull complete 22:48:18 0e6b1d234666: Pull complete 22:48:18 bf5d7aec512f: Pull complete 22:48:18 Removing intermediate container 79587b21d409 22:48:18 ---> 492e96dc5a72 22:48:18 Successfully built 492e96dc5a72 22:48:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:48:19 + docker inspect -f . ci-base-image-arm64 22:48:19 . [Pipeline] withDockerContainer 22:48:19 prd-ubuntu18.04-docker-arm64-4c-16g-2653 does not seem to be running inside a container 22:48:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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 22:48:21 $ docker top 4d10ea8bfecb6227472a9643bc97766b3ffa988e182a540e3dbabb7d0a32fbda -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:23 + go version 22:48:23 go version go1.13.5 linux/arm64 [Pipeline] sh 22:48:24 34c802a77dc8: Pull complete 22:48:24 + make test 22:48:24 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:48:25 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:48:28 9eb99e56ec68: Pull complete 22:48:28 27c7a5d97fbd: Pull complete 22:48:30 5c102a31e300: Pull complete 22:48:30 dcfb455df0a1: Pull complete 22:48:30 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 22:48:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 22:48:30 ---> 7c70fe431013 22:48:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 22:48:30 ---> Running in dfcab7873280 22:48:31 Removing intermediate container dfcab7873280 22:48:31 ---> d5e316b536c1 22:48:31 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:48:31 ---> Running in a7590e263bb3 22:48:33 Removing intermediate container a7590e263bb3 22:48:33 ---> 7b3aed3cada6 22:48:33 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 22:48:33 ---> Running in f6cb715f87db 22:48:34 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 22:48:35 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 22:48:35 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 22:48:35 (2/17) Installing libmagic (5.37-r1) 22:48:35 (3/17) Installing file (5.37-r1) 22:48:36 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 22:48:36 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 22:48:36 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 22:48:46 (7/17) Installing libc-dev (0.7.2-r0) 22:48:46 (8/17) Installing g++ (9.2.0-r4) 22:48:50 (9/17) Installing fortify-headers (1.1-r0) 22:48:50 (10/17) Installing build-base (0.5-r1) 22:48:50 (11/17) Installing openssh-keygen (8.1_p1-r0) 22:48:50 (12/17) Installing libedit (20191211.3.1-r0) 22:48:50 (13/17) Installing openssh-client (8.1_p1-r0) 22:48:51 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 22:48:51 (15/17) Installing openssh-server-common (8.1_p1-r0) 22:48:51 (16/17) Installing openssh-server (8.1_p1-r0) 22:48:52 (17/17) Installing openssh (8.1_p1-r0) 22:48:52 Executing busybox-1.31.1-r8.trigger 22:48:52 OK: 214 MiB in 52 packages 22:48:58 Removing intermediate container f6cb715f87db 22:48:58 ---> 309a8f70b299 22:48:58 Step 6/8 : WORKDIR /device-virtual-go 22:48:58 ---> Running in 62c066a509da 22:48:58 Removing intermediate container 62c066a509da 22:48:58 ---> 491984c39bcc 22:48:58 Step 7/8 : COPY . . 22:48:58 ---> 66fabb130419 22:48:58 Step 8/8 : RUN go mod download 22:48:58 ---> Running in f0a01c445d48 22:49:01 go: finding github.com/BurntSushi/toml v0.3.1 22:49:01 go: finding github.com/OneOfOne/xxhash v1.2.6 22:49:01 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:49:01 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:49:01 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:49:01 go: finding github.com/bgentry/speakeasy v0.1.0 22:49:01 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 22:49:01 go: finding github.com/davecgh/go-spew v1.1.1 22:49:01 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 22:49:01 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 22:49:01 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 22:49:01 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 22:49:01 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 22:49:01 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 22:49:01 go: finding github.com/edsrzf/mmap-go v1.0.0 22:49:01 go: finding github.com/fatih/color v1.7.0 22:49:01 go: finding github.com/fxamacker/cbor/v2 v2.2.0 22:49:01 go: finding github.com/go-kit/kit v0.8.0 22:49:01 go: finding github.com/go-logfmt/logfmt v0.4.0 22:49:01 go: finding github.com/go-stack/stack v1.8.0 22:49:01 go: finding github.com/golang/snappy v0.0.1 22:49:01 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:49:01 go: finding github.com/google/uuid v1.1.0 22:49:01 go: finding github.com/gorilla/mux v1.7.1 22:49:01 go: finding github.com/hashicorp/consul/api v1.1.0 22:49:01 go: finding github.com/hashicorp/consul/sdk v0.1.1 22:49:01 go: finding github.com/hashicorp/errwrap v1.0.0 22:49:01 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 22:49:01 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:49:01 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:49:01 go: finding github.com/hashicorp/go-multierror v1.0.0 22:49:01 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:49:01 go: finding github.com/hashicorp/go-sockaddr v1.0.0 22:49:01 go: finding github.com/hashicorp/go-syslog v1.0.0 22:49:01 go: finding github.com/hashicorp/go-uuid v1.0.1 22:49:01 go: finding github.com/hashicorp/go.net v0.0.1 22:49:01 go: finding github.com/hashicorp/golang-lru v0.5.0 22:49:01 go: finding github.com/hashicorp/logutils v1.0.0 22:49:01 go: finding github.com/hashicorp/mdns v1.0.0 22:49:01 go: finding github.com/hashicorp/memberlist v0.1.3 22:49:01 go: finding github.com/hashicorp/serf v0.8.2 22:49:01 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:49:01 go: finding github.com/mattn/go-colorable v0.0.9 22:49:01 go: finding github.com/mattn/go-isatty v0.0.3 22:49:01 go: finding github.com/miekg/dns v1.0.14 22:49:01 go: finding github.com/mitchellh/cli v1.0.0 22:49:01 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:49:01 go: finding github.com/mitchellh/copystructure v1.0.0 22:49:01 go: finding github.com/mitchellh/go-homedir v1.0.0 22:49:01 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:49:01 go: finding github.com/mitchellh/gox v0.4.0 22:49:01 go: finding github.com/mitchellh/iochan v1.0.0 22:49:01 go: finding github.com/mitchellh/mapstructure v1.1.2 22:49:01 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:49:01 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:49:01 go: finding github.com/pelletier/go-toml v1.2.0 22:49:02 go: finding github.com/pkg/errors v0.8.1 22:49:02 go: finding github.com/pmezard/go-difflib v1.0.0 22:49:02 go: finding github.com/posener/complete v1.1.1 22:49:02 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 22:49:02 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 22:49:02 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:49:02 go: finding github.com/stretchr/objx v0.1.0 22:49:02 go: finding github.com/stretchr/testify v1.5.1 22:49:02 go: finding github.com/ugorji/go v1.1.4 22:49:02 go: finding github.com/x448/float16 v0.8.4 22:49:02 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:49:02 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 22:49:02 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:49:02 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 22:49:02 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:49:02 go: finding gopkg.in/yaml.v2 v2.2.8 22:49:02 go: finding modernc.org/b v1.0.0 22:49:02 go: finding modernc.org/db v1.0.0 22:49:02 go: finding modernc.org/file v1.0.0 22:49:02 go: finding modernc.org/fileutil v1.0.0 22:49:02 go: finding modernc.org/golex v1.0.0 22:49:02 go: finding modernc.org/internal v1.0.0 22:49:02 go: finding modernc.org/lldb v1.0.0 22:49:02 go: finding modernc.org/mathutil v1.0.0 22:49:02 go: finding modernc.org/ql v1.0.0 22:49:02 go: finding modernc.org/sortutil v1.0.0 22:49:02 go: finding modernc.org/strutil v1.0.0 22:49:02 go: finding modernc.org/zappy v1.0.0 22:49:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:49:13 Removing intermediate container f0a01c445d48 22:49:13 ---> a1142a51a40a 22:49:13 Successfully built a1142a51a40a 22:49:13 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 22:49:15 + docker inspect -f . ci-base-image-x86_64 22:49:15 . [Pipeline] withDockerContainer 22:49:15 prd-centos7-docker-4c-2g-2654 does not seem to be running inside a container 22:49:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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 22:49:17 $ docker top c78eb2da200ba80c47405516f7e142b826e04458d74dd8282d688331d9c9ee18 -eo pid,comm [Pipeline] { [Pipeline] sh 22:49:17 + go version 22:49:17 go version go1.13.5 linux/amd64 [Pipeline] sh 22:49:18 + make test 22:49:18 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:49:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:49:48 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:51:25 ok github.com/edgexfoundry/device-virtual-go/internal/driver 96.117s coverage: 52.7% of statements 22:51:25 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:51:28 gofmt -l . 22:51:29 [ "`gofmt -l .`" = "" ] 22:51:29 ./bin/test-attribution-txt.sh 22:51:30 ./bin/test-go-mod-tidy.sh [Pipeline] stash 22:51:32 Stashed 1 file(s) [Pipeline] } 22:51:32 $ docker stop --time=1 c78eb2da200ba80c47405516f7e142b826e04458d74dd8282d688331d9c9ee18 22:51:34 $ docker rm -f c78eb2da200ba80c47405516f7e142b826e04458d74dd8282d688331d9c9ee18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:51:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:51:37 + ls -al . 22:51:37 total 112 22:51:37 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 11 22:51 . 22:51:37 drwxrwxr-x. 4 jenkins jenkins 28 Jun 11 22:47 .. 22:51:37 -rw-rw-r--. 1 jenkins jenkins 6432 Jun 11 22:47 Attribution.txt 22:51:37 drwxrwxr-x. 2 jenkins jenkins 64 Jun 11 22:47 bin 22:51:37 drwxrwxr-x. 3 jenkins jenkins 32 Jun 11 22:47 cmd 22:51:37 -rw-r--r--. 1 jenkins jenkins 32181 Jun 11 22:51 coverage.out 22:51:37 -rw-rw-r--. 1 jenkins jenkins 1826 Jun 11 22:47 Dockerfile 22:51:37 -rw-rw-r--. 1 jenkins jenkins 957 Jun 11 22:47 Dockerfile.build 22:51:37 drwxrwxr-x. 8 jenkins jenkins 179 Jun 11 22:48 .git 22:51:37 drwxrwxr-x. 2 jenkins jenkins 38 Jun 11 22:47 .github 22:51:37 -rw-rw-r--. 1 jenkins jenkins 258 Jun 11 22:47 .gitignore 22:51:37 -rw-r--r--. 1 jenkins jenkins 855 Jun 11 22:51 go.mod 22:51:37 -rw-r--r--. 1 jenkins jenkins 14894 Jun 11 22:51 go.sum 22:51:37 drwxrwxr-x. 3 jenkins jenkins 20 Jun 11 22:47 internal 22:51:37 -rw-rw-r--. 1 jenkins jenkins 683 Jun 11 22:47 Jenkinsfile 22:51:37 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 11 22:47 LICENSE 22:51:37 -rw-rw-r--. 1 jenkins jenkins 873 Jun 11 22:47 Makefile 22:51:37 -rw-rw-r--. 1 jenkins jenkins 4413 Jun 11 22:47 README.md 22:51:37 drwxrwxr-x. 3 jenkins jenkins 58 Jun 11 22:48 .semver 22:51:37 -rw-rw-r--. 1 jenkins jenkins 5 Jun 11 22:45 VERSION 22:51:37 -rw-rw-r--. 1 jenkins jenkins 235 Jun 11 22:47 version.go [Pipeline] isUnix [Pipeline] sh 22:51:37 + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=22cf6459a579de4e7155a1f8aa5eda0f0773302a --label arch=amd64 --label version=0.0.0 . 22:51:38 Sending build context to Docker daemon 34.15MB 22:51:38 Step 1/21 : ARG BASE=golang:1.13-alpine 22:51:38 Step 2/21 : FROM ${BASE} AS builder 22:51:38 ---> a1142a51a40a 22:51:38 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 22:51:38 ---> Running in 577ba71cf0f6 22:51:38 Removing intermediate container 577ba71cf0f6 22:51:38 ---> fed7cacbdbb2 22:51:38 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 22:51:39 ---> Running in ed2c4eeea1c9 22:51:39 Removing intermediate container ed2c4eeea1c9 22:51:39 ---> 29479d65d357 22:51:39 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 22:51:39 ---> Running in 2795f88fcb2e 22:51:39 Removing intermediate container 2795f88fcb2e 22:51:39 ---> 9f9a4f6132be 22:51:39 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:51:39 ---> Running in 6b62953b16e6 22:51:41 Removing intermediate container 6b62953b16e6 22:51:41 ---> bff9e6f148e9 22:51:41 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:51:41 ---> Running in 30e5edc070c7 22:51:41 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 22:51:42 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 22:51:43 OK: 214 MiB in 52 packages 22:51:43 Removing intermediate container 30e5edc070c7 22:51:43 ---> d7d7f71fa7ed 22:51:43 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 22:51:43 ---> Running in 8ea9e5f345a2 22:51:43 Removing intermediate container 8ea9e5f345a2 22:51:43 ---> ac0286ca5862 22:51:43 Step 9/21 : COPY . . 22:51:45 ---> 4329c1998c59 22:51:45 Step 10/21 : ARG MAKE='make build' 22:51:45 ---> Running in 13437de57b7e 22:51:45 Removing intermediate container 13437de57b7e 22:51:45 ---> bc2dd47d0949 22:51:45 Step 11/21 : RUN $MAKE 22:51:45 ---> Running in 66812705a567 22:51:46 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 22:52:09 CGO_ENABLED=0 GO111MODULE=on go build ./... 22:52:11 ok github.com/edgexfoundry/device-virtual-go/internal/driver 172.793s coverage: 52.7% of statements 22:52:11 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:52:11 gofmt -l . 22:52:11 [ "`gofmt -l .`" = "" ] 22:52:11 ./bin/test-attribution-txt.sh 22:52:11 ./bin/test-go-mod-tidy.sh [Pipeline] stash 22:52:11 Warning: overwriting stash ‘coverage-report’ 22:52:11 Stashed 1 file(s) [Pipeline] } 22:52:11 $ docker stop --time=1 4d10ea8bfecb6227472a9643bc97766b3ffa988e182a540e3dbabb7d0a32fbda 22:52:13 Removing intermediate container 66812705a567 22:52:13 ---> a87aa9c27889 22:52:13 Step 12/21 : FROM alpine 22:52:13 latest: Pulling from library/alpine 22:52:13 df20fa9351a1: Pulling fs layer 22:52:13 df20fa9351a1: Verifying Checksum 22:52:13 df20fa9351a1: Download complete 22:52:13 $ docker rm -f 4d10ea8bfecb6227472a9643bc97766b3ffa988e182a540e3dbabb7d0a32fbda 22:52:14 df20fa9351a1: Pull complete 22:52:14 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 22:52:14 Status: Downloaded newer image for alpine:latest 22:52:14 ---> a24bb4013296 22:52:14 Step 13/21 : ENV APP_PORT=49990 22:52:14 ---> Running in 694a4b1e99fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 22:52:14 Removing intermediate container 694a4b1e99fb 22:52:14 ---> a04bff1bbcd6 22:52:14 Step 14/21 : EXPOSE $APP_PORT 22:52:14 ---> Running in e8dd0a3bef2d [Pipeline] script [Pipeline] { [Pipeline] sh 22:52:15 Removing intermediate container e8dd0a3bef2d 22:52:15 ---> 526471645647 22:52:15 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 22:52:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:52:15 + ls -al . 22:52:15 total 140 22:52:15 drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 22:52 . 22:52:15 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 22:46 .. 22:52:15 drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 22:47 .git 22:52:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 22:46 .github 22:52:15 -rw-rw-r-- 1 jenkins jenkins 258 Jun 11 22:46 .gitignore 22:52:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 22:47 .semver 22:52:15 -rw-rw-r-- 1 jenkins jenkins 6432 Jun 11 22:46 Attribution.txt 22:52:15 -rw-rw-r-- 1 jenkins jenkins 1826 Jun 11 22:46 Dockerfile 22:52:15 -rw-rw-r-- 1 jenkins jenkins 957 Jun 11 22:46 Dockerfile.build 22:52:15 -rw-rw-r-- 1 jenkins jenkins 683 Jun 11 22:46 Jenkinsfile 22:52:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 11 22:46 LICENSE 22:52:15 -rw-rw-r-- 1 jenkins jenkins 873 Jun 11 22:46 Makefile 22:52:15 -rw-rw-r-- 1 jenkins jenkins 4413 Jun 11 22:46 README.md 22:52:15 -rw-rw-r-- 1 jenkins jenkins 5 Jun 11 22:45 VERSION 22:52:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 22:46 bin 22:52:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 22:46 cmd 22:52:15 -rw-r--r-- 1 jenkins jenkins 32181 Jun 11 22:51 coverage.out 22:52:15 -rw-r--r-- 1 jenkins jenkins 855 Jun 11 22:52 go.mod 22:52:15 -rw-r--r-- 1 jenkins jenkins 14894 Jun 11 22:52 go.sum 22:52:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 22:46 internal 22:52:15 -rw-rw-r-- 1 jenkins jenkins 235 Jun 11 22:46 version.go [Pipeline] isUnix [Pipeline] sh 22:52:16 + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=22cf6459a579de4e7155a1f8aa5eda0f0773302a --label arch=arm64 --label version=0.0.0 . 22:52:16 ---> a8ff7489b0ec 22:52:16 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 22:52:16 Sending build context to Docker daemon 34.15MB 22:52:16 Step 1/21 : ARG BASE=golang:1.13-alpine 22:52:16 Step 2/21 : FROM ${BASE} AS builder 22:52:16 ---> 492e96dc5a72 22:52:16 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 22:52:16 ---> adeb098a00ca 22:52:16 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 22:52:17 ---> 4b6765ea1913 22:52:17 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 22:52:17 ---> Running in e64d16a7acd4 22:52:17 ---> Running in 7415d524e7d2 22:52:17 Removing intermediate container e64d16a7acd4 22:52:17 ---> d791075d2f8b 22:52:17 Step 19/21 : LABEL arch=amd64 22:52:17 ---> Running in 8f21fcf0fbe0 22:52:17 Removing intermediate container 7415d524e7d2 22:52:17 ---> 750451dfd732 22:52:17 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 22:52:17 Removing intermediate container 8f21fcf0fbe0 22:52:17 ---> 5558ced6580e 22:52:17 Step 20/21 : LABEL git_sha=22cf6459a579de4e7155a1f8aa5eda0f0773302a 22:52:17 ---> Running in ceaad30c2a27 22:52:17 ---> Running in d80a22d245fa 22:52:18 Removing intermediate container ceaad30c2a27 22:52:18 ---> 89039907cddf 22:52:18 Step 21/21 : LABEL version=0.0.0 22:52:18 Removing intermediate container d80a22d245fa 22:52:18 ---> 1f995536357b 22:52:18 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 22:52:18 ---> Running in 7ea6e72c7986 22:52:18 Removing intermediate container 7ea6e72c7986 22:52:18 ---> 82b6efe1e689 22:52:18 [Warning] One or more build-args [ARCH] were not consumed 22:52:18 Successfully built 82b6efe1e689 22:52:18 ---> Running in d57a8b5c96fe 22:52:18 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 22:52:18 Removing intermediate container d57a8b5c96fe 22:52:18 ---> c6148576ea87 22:52:18 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:52:18 ---> Running in f8028243c45e 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] } 22:52:21 Removing intermediate container f8028243c45e 22:52:21 ---> 8d129d7ecc95 22:52:21 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:52:21 ---> Running in 99ac8e418a24 22:52:23 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 22:52:23 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 22:52:24 OK: 203 MiB in 52 packages 22:52:25 Removing intermediate container 99ac8e418a24 22:52:25 ---> 846578385468 22:52:25 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 22:52:25 ---> Running in f1ec26e635c6 22:52:26 Removing intermediate container f1ec26e635c6 22:52:26 ---> 4ab9764998a5 22:52:26 Step 9/21 : COPY . . 22:52:28 ---> e788f0bb53d8 22:52:28 Step 10/21 : ARG MAKE='make build' 22:52:28 ---> Running in b1bde471b481 22:52:29 Removing intermediate container b1bde471b481 22:52:29 ---> 3a6d5ca94b34 22:52:29 Step 11/21 : RUN $MAKE 22:52:29 ---> Running in b9850fb146ac 22:52:30 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 22:53:09 CGO_ENABLED=0 GO111MODULE=on go build ./... 22:53:14 Removing intermediate container b9850fb146ac 22:53:14 ---> 22a248fe7d87 22:53:14 Step 12/21 : FROM alpine 22:53:14 latest: Pulling from library/alpine 22:53:14 b538f80385f9: Pulling fs layer 22:53:14 b538f80385f9: Verifying Checksum 22:53:14 b538f80385f9: Download complete 22:53:14 b538f80385f9: Pull complete 22:53:14 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 22:53:14 Status: Downloaded newer image for alpine:latest 22:53:14 ---> 62ee0e9f8440 22:53:14 Step 13/21 : ENV APP_PORT=49990 22:53:14 ---> Running in 1788237a12b1 22:53:15 Removing intermediate container 1788237a12b1 22:53:15 ---> 8fbf9a4b39a2 22:53:15 Step 14/21 : EXPOSE $APP_PORT 22:53:15 ---> Running in 392e2e699aa2 22:53:15 Removing intermediate container 392e2e699aa2 22:53:15 ---> d73fdb293290 22:53:15 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 22:53:17 ---> 948b325f8960 22:53:17 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 22:53:17 ---> d301f64787bf 22:53:17 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 22:53:18 ---> 0f79f3e80de8 22:53:18 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 22:53:18 ---> Running in fdefe97840c1 22:53:19 Removing intermediate container fdefe97840c1 22:53:19 ---> 650d4f0ca903 22:53:19 Step 19/21 : LABEL arch=arm64 22:53:19 ---> Running in 9f685b8cbe80 22:53:19 Removing intermediate container 9f685b8cbe80 22:53:19 ---> a028894ecfd0 22:53:19 Step 20/21 : LABEL git_sha=22cf6459a579de4e7155a1f8aa5eda0f0773302a 22:53:19 ---> Running in 64ac6a22c6ab 22:53:20 Removing intermediate container 64ac6a22c6ab 22:53:20 ---> 4d7a00a1edcb 22:53:20 Step 21/21 : LABEL version=0.0.0 22:53:20 ---> Running in 831559f962ed 22:53:20 Removing intermediate container 831559f962ed 22:53:20 ---> 2b2504e6b37a 22:53:20 [Warning] One or more build-args [ARCH] were not consumed 22:53:20 Successfully built 2b2504e6b37a 22:53:20 Successfully tagged docker-device-virtual-go-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 22:53:22 provisioning config files... 22:53:22 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-113@tmp/config1364873158785255401tmp [Pipeline] { [Pipeline] sh 22:53:22 + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-113@tmp/config1364873158785255401tmp 22:53:22 + curl -s https://codecov.io/bash 22:53:22 22:53:22 _____ _ 22:53:22 / ____| | | 22:53:22 | | ___ __| | ___ ___ _____ __ 22:53:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:53:22 | |___| (_) | (_| | __/ (_| (_) \ V / 22:53:22 \_____\___/ \__,_|\___|\___\___/ \_/ 22:53:22 Bash-20200602-f809a24 22:53:22 22:53:22 22:53:22 ==> Jenkins CI detected. 22:53:22 project root: . 22:53:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:53:22 ==> Running gcov in . (disable via -X gcov) 22:53:22 ==> Python coveragepy not found 22:53:22 ==> Searching for coverage reports in: 22:53:22 + . 22:53:22 -> Found 1 reports 22:53:22 ==> Detecting git/mercurial file structure 22:53:22 ==> Reading reports 22:53:22 + ./coverage.out bytes=32181 22:53:22 ==> Appending adjustments 22:53:22 https://docs.codecov.io/docs/fixing-reports 22:53:22 + Found adjustments 22:53:22 ==> Gzipping contents 22:53:22 ==> Uploading reports 22:53:22 url: https://codecov.io 22:53:22 query: branch=PR-113&commit=22cf6459a579de4e7155a1f8aa5eda0f0773302a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=113&job= 22:53:22 -> Pinging Codecov 22:53:22 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-113&commit=22cf6459a579de4e7155a1f8aa5eda0f0773302a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=113&job= 22:53:23 -> Uploading 22:53:24 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/22cf6459a579de4e7155a1f8aa5eda0f0773302a [Pipeline] } 22:53:24 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 22:53:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:53:26 ---> package-listing.sh 22:53:26 ++ facter osfamily 22:53:26 ++ tr '[:upper:]' '[:lower:]' 22:53:26 + OS_FAMILY=redhat 22:53:26 + workspace=/w/workspace/foundry_device-virtual-go_PR-113 22:53:26 + START_PACKAGES=/tmp/packages_start.txt 22:53:26 + END_PACKAGES=/tmp/packages_end.txt 22:53:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:53:26 + PACKAGES=/tmp/packages_start.txt 22:53:26 + '[' /w/workspace/foundry_device-virtual-go_PR-113 ']' 22:53:26 + PACKAGES=/tmp/packages_end.txt 22:53:26 + case "${OS_FAMILY}" in 22:53:26 + rpm -qa 22:53:26 + sort 22:53:29 + '[' -f /tmp/packages_start.txt ']' 22:53:29 + '[' -f /tmp/packages_end.txt ']' 22:53:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:53:29 + '[' /w/workspace/foundry_device-virtual-go_PR-113 ']' 22:53:29 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-113/archives/ 22:53:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-113/archives/ [Pipeline] isUnix [Pipeline] sh 22:53:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:53:30 22:53:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:53:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:53:30 alpine: Pulling from edgex-lftools-log-publisher 22:53:30 c9b1b535fdd9: Pulling fs layer 22:53:30 2cc5ad85d9ab: Pulling fs layer 22:53:30 756a868c4378: Pulling fs layer 22:53:30 444b2fc9a129: Pulling fs layer 22:53:30 ea15f1150254: Pulling fs layer 22:53:30 41b27a9f41bf: Pulling fs layer 22:53:30 28c525ee5125: Pulling fs layer 22:53:30 094b1ea09ed8: Pulling fs layer 22:53:30 138eaada9080: Pulling fs layer 22:53:30 0622d0fa9048: Pulling fs layer 22:53:30 ea15f1150254: Waiting 22:53:30 41b27a9f41bf: Waiting 22:53:30 28c525ee5125: Waiting 22:53:30 094b1ea09ed8: Waiting 22:53:30 138eaada9080: Waiting 22:53:30 0622d0fa9048: Waiting 22:53:30 444b2fc9a129: Waiting 22:53:30 2cc5ad85d9ab: Download complete 22:53:30 444b2fc9a129: Verifying Checksum 22:53:30 444b2fc9a129: Download complete 22:53:30 c9b1b535fdd9: Verifying Checksum 22:53:30 ea15f1150254: Verifying Checksum 22:53:30 ea15f1150254: Download complete 22:53:30 28c525ee5125: Verifying Checksum 22:53:30 28c525ee5125: Download complete 22:53:30 756a868c4378: Verifying Checksum 22:53:30 756a868c4378: Download complete 22:53:30 c9b1b535fdd9: Pull complete 22:53:30 138eaada9080: Verifying Checksum 22:53:30 138eaada9080: Download complete 22:53:30 094b1ea09ed8: Verifying Checksum 22:53:30 094b1ea09ed8: Download complete 22:53:30 0622d0fa9048: Verifying Checksum 22:53:30 0622d0fa9048: Download complete 22:53:31 2cc5ad85d9ab: Pull complete 22:53:31 41b27a9f41bf: Verifying Checksum 22:53:31 41b27a9f41bf: Download complete 22:53:32 756a868c4378: Pull complete 22:53:32 444b2fc9a129: Pull complete 22:53:32 ea15f1150254: Pull complete 22:53:37 41b27a9f41bf: Pull complete 22:53:37 28c525ee5125: Pull complete 22:53:39 094b1ea09ed8: Pull complete 22:53:39 138eaada9080: Pull complete 22:53:40 0622d0fa9048: Pull complete 22:53:40 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 22:53:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:53:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:53:40 prd-centos7-docker-4c-2g-2652 does not seem to be running inside a container 22:53:40 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/foundry_device-virtual-go_PR-113 -v /w/workspace/foundry_device-virtual-go_PR-113:/w/workspace/foundry_device-virtual-go_PR-113:rw,z -v /w/workspace/foundry_device-virtual-go_PR-113@tmp:/w/workspace/foundry_device-virtual-go_PR-113@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 22:53:43 $ docker top 107052d43eb1d6b1dcacad883301c0f9e5e53fc84f39852ef431cf92ef83a07e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:53:43 provisioning config files... 22:53:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-113@tmp/config2411214751395519091tmp [Pipeline] { [Pipeline] echo 22:53:44 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:53:44 ---> create-netrc.sh [Pipeline] echo 22:53:44 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:53:44 ---> logs-deploy.sh 22:53:44 + ARCHIVE_ARTIFACTS= 22:53:44 + LOGS_SERVER=https://logs.edgexfoundry.org 22:53:44 + '[' https://logs.edgexfoundry.org == None ']' 22:53:44 + NEXUS_URL=https://nexus.edgexfoundry.org 22:53:44 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-113/1 22:53:44 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-113/1/ 22:53:44 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-113/1 /w/workspace/foundry_device-virtual-go_PR-113 22:53:45 Archives upload complete. 22:53:45 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-113/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-113/1/