Pull request #114 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of jamesrgregg for edgexfoundry/device-virtual-go Obtained Jenkinsfile from e9454c02de7463277dc9c4492d6d29b68f3ceeec+765a8ae72530510c4ebab34c81f831f56123a77d (5399b12307f2443c1063ea0e6762982d27a3427e) 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-114/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3172 in /w/workspace/foundry_device-virtual-go_PR-114 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-114 # 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/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 765a8ae72530510c4ebab34c81f831f56123a77d into PR head commit e9454c02de7463277dc9c4492d6d29b68f3ceeec Merge succeeded, producing e9454c02de7463277dc9c4492d6d29b68f3ceeec Checking out Revision e9454c02de7463277dc9c4492d6d29b68f3ceeec (PR-114) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/114/head:refs/remotes/origin/PR-114 # 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/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9454c02de7463277dc9c4492d6d29b68f3ceeec # 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 765a8ae72530510c4ebab34c81f831f56123a77d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9454c02de7463277dc9c4492d6d29b68f3ceeec # timeout=10 Commit message: "doc: update pr template to include dependencies section" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:54:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:54:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:54:17 ========================================================= 20:54:17 EdgeX Global Pipelines Version Info 20:54:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:54:19 ------------------- 20:54:19 stable info: 20:54:19 ------------------- 20:54:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:54:19 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 20:54:19 Message: update stable to v1.0.89 20:54:20 ------------------- 20:54:20 experimental info: 20:54:20 ------------------- 20:54:20 Commited By: **** collab-it+edgex@linuxfoundation.org 20:54:20 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 20:54:20 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 20:54:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:54:22 20:54:22 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:54:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:54:22 latest: Pulling from edgex-devops/git-semver 20:54:22 9123ac7c32f7: Pulling fs layer 20:54:22 b8cc5d1170e3: Pulling fs layer 20:54:22 2924cbbf6a41: Pulling fs layer 20:54:22 93b08a4f1073: Pulling fs layer 20:54:22 93b08a4f1073: Waiting 20:54:22 b8cc5d1170e3: Download complete 20:54:22 9123ac7c32f7: Verifying Checksum 20:54:22 9123ac7c32f7: Download complete 20:54:23 93b08a4f1073: Verifying Checksum 20:54:23 93b08a4f1073: Download complete 20:54:23 2924cbbf6a41: Verifying Checksum 20:54:23 2924cbbf6a41: Download complete 20:54:23 9123ac7c32f7: Pull complete 20:54:23 b8cc5d1170e3: Pull complete 20:54:24 2924cbbf6a41: Pull complete 20:54:24 93b08a4f1073: Pull complete 20:54:24 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 20:54:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:54:24 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:54:24 prd-centos7-docker-4c-2g-3172 does not seem to be running inside a container 20:54:24 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-114 -v /w/workspace/foundry_device-virtual-go_PR-114:/w/workspace/foundry_device-virtual-go_PR-114:rw,z -v /w/workspace/foundry_device-virtual-go_PR-114@tmp:/w/workspace/foundry_device-virtual-go_PR-114@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:54:26 $ docker top 9208dc0e62c7c535c8c9a0abf048d249490f8c85d2408eb630a0cc04639b9c29 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:54:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:54:26 [ssh-agent] Looking for ssh-agent implementation... 20:54:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:54:27 $ docker exec 9208dc0e62c7c535c8c9a0abf048d249490f8c85d2408eb630a0cc04639b9c29 ssh-agent 20:54:27 SSH_AUTH_SOCK=/tmp/ssh-CRvPG1SR5THN/agent.12 20:54:27 SSH_AGENT_PID=18 20:54:27 Running ssh-add (command line suppressed) 20:54:27 Identity added: /w/workspace/foundry_device-virtual-go_PR-114@tmp/private_key_8831919300005065520.key (/w/workspace/foundry_device-virtual-go_PR-114@tmp/private_key_8831919300005065520.key) 20:54:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:54:27 + git describe --exact-match --tags HEAD 20:54:27 fatal: No names found, cannot describe anything. [Pipeline] } 20:54:27 $ docker exec --env ******** --env ******** 9208dc0e62c7c535c8c9a0abf048d249490f8c85d2408eb630a0cc04639b9c29 ssh-agent -k 20:54:27 unset SSH_AUTH_SOCK; 20:54:27 unset SSH_AGENT_PID; 20:54:27 echo Agent pid 18 killed; 20:54:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:54:28 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 20:54:28 This usually means this commit has not been tagged. [Pipeline] sshagent 20:54:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:54:28 [ssh-agent] Looking for ssh-agent implementation... 20:54:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:54:28 $ docker exec 9208dc0e62c7c535c8c9a0abf048d249490f8c85d2408eb630a0cc04639b9c29 ssh-agent 20:54:28 SSH_AUTH_SOCK=/tmp/ssh-w8VJvRQ2ovSx/agent.46 20:54:28 SSH_AGENT_PID=51 20:54:28 Running ssh-add (command line suppressed) 20:54:28 Identity added: /w/workspace/foundry_device-virtual-go_PR-114@tmp/private_key_4221076089471643025.key (/w/workspace/foundry_device-virtual-go_PR-114@tmp/private_key_4221076089471643025.key) 20:54:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:54:29 + git semver init 20:54:29 # -> Open(): unable to determine branch for HEAD 20:54:29 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-114/.git 20:54:29 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-114 20:54:29 # $SEMVER_REMOTE_NAME = origin 20:54:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:54:29 # $SEMVER_USER_NAME = edgex-jenkins 20:54:29 # $SEMVER_BRANCH = PR-114 20:54:29 # $SEMVER_TEMP = /tmp/semver-863718332 20:54:29 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 20:54:29 # '/tmp/semver-863718332' -> '/w/workspace/foundry_device-virtual-go_PR-114/.semver' 20:54:29 # -> Force: false 20:54:29 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-114/.semver [Pipeline] } 20:54:29 $ docker exec --env ******** --env ******** 9208dc0e62c7c535c8c9a0abf048d249490f8c85d2408eb630a0cc04639b9c29 ssh-agent -k 20:54:29 unset SSH_AUTH_SOCK; 20:54:29 unset SSH_AGENT_PID; 20:54:29 echo Agent pid 51 killed; 20:54:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:54:29 + git semver [Pipeline] } 20:54:29 $ docker stop --time=1 9208dc0e62c7c535c8c9a0abf048d249490f8c85d2408eb630a0cc04639b9c29 20:54:31 $ docker rm -f 9208dc0e62c7c535c8c9a0abf048d249490f8c85d2408eb630a0cc04639b9c29 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:54:31 Stashed 33 file(s) [Pipeline] echo 20:54:31 [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 20:54:47 Still waiting to schedule task 20:54:47 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3172’ 20:54:47 Still waiting to schedule task 20:54:47 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline 20:56:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3173 in /w/workspace/foundry_device-virtual-go_PR-114 [Pipeline] { [Pipeline] ws 20:56:25 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 20:56:30 using credential edgex-jenkins-ssh 20:56:30 Cloning the remote Git repository 20:56:30 Cloning with configured refspecs honoured and without tags 20:56:31 Fetching without tags 20:56:30 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:56:30 > git init /w/workspace/device-virtual-go/1 # timeout=10 20:56:30 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:56:30 > git --version # timeout=10 20:56:30 using GIT_SSH to set credentials SSH Credentials for GitHub 20:56:30 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:56:31 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:56:31 > git config --add remote.origin.fetch +refs/pull/114/head:refs/remotes/origin/PR-114 # timeout=10 20:56:31 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:56:31 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:56:31 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:56:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:56:31 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:56:32 Merging remotes/origin/master commit 765a8ae72530510c4ebab34c81f831f56123a77d into PR head commit e9454c02de7463277dc9c4492d6d29b68f3ceeec 20:56:32 Merge succeeded, producing e9454c02de7463277dc9c4492d6d29b68f3ceeec 20:56:32 Checking out Revision e9454c02de7463277dc9c4492d6d29b68f3ceeec (PR-114) 20:56:32 > git config core.sparsecheckout # timeout=10 20:56:32 > git checkout -f e9454c02de7463277dc9c4492d6d29b68f3ceeec # timeout=10 20:56:32 > git remote # timeout=10 20:56:32 > git config --get remote.origin.url # timeout=10 20:56:32 using GIT_SSH to set credentials SSH Credentials for GitHub 20:56:32 > git merge 765a8ae72530510c4ebab34c81f831f56123a77d # timeout=10 20:56:32 > git rev-parse HEAD^{commit} # timeout=10 20:56:32 > git config core.sparsecheckout # timeout=10 20:56:32 > git checkout -f e9454c02de7463277dc9c4492d6d29b68f3ceeec # timeout=10 20:56:36 Commit message: "doc: update pr template to include dependencies section" 20:56:36 > git --version # timeout=10 20:56:36 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:56:38 ========================================================= 20:56:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 20:56:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:56:39 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 20:56:40 Sending build context to Docker daemon 519.7kB 20:56:40 Step 1/8 : ARG BASE=golang:1.13-alpine 20:56:40 Step 2/8 : FROM ${BASE} 20:56:40 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:56:40 cde5963f3b93: Pulling fs layer 20:56:40 2a23fa8c16f7: Pulling fs layer 20:56:40 777b28850792: Pulling fs layer 20:56:40 8a11ddd9e578: Pulling fs layer 20:56:40 4cf88f913ddb: Pulling fs layer 20:56:40 1df406cf5192: Pulling fs layer 20:56:40 cd6300453558: Pulling fs layer 20:56:40 b9c365052c96: Pulling fs layer 20:56:40 a2d8cc88f415: Pulling fs layer 20:56:40 ea1d1ca13537: Pulling fs layer 20:56:40 3750a50a1c5e: Pulling fs layer 20:56:40 1df406cf5192: Waiting 20:56:40 cd6300453558: Waiting 20:56:40 b9c365052c96: Waiting 20:56:40 a2d8cc88f415: Waiting 20:56:40 ea1d1ca13537: Waiting 20:56:40 3750a50a1c5e: Waiting 20:56:40 8a11ddd9e578: Waiting 20:56:40 4cf88f913ddb: Waiting 20:56:40 777b28850792: Verifying Checksum 20:56:40 777b28850792: Download complete 20:56:40 2a23fa8c16f7: Verifying Checksum 20:56:40 2a23fa8c16f7: Download complete 20:56:40 4cf88f913ddb: Verifying Checksum 20:56:40 4cf88f913ddb: Download complete 20:56:40 1df406cf5192: Verifying Checksum 20:56:40 1df406cf5192: Download complete 20:56:40 cde5963f3b93: Verifying Checksum 20:56:40 cde5963f3b93: Download complete 20:56:41 cde5963f3b93: Pull complete 20:56:42 2a23fa8c16f7: Pull complete 20:56:42 777b28850792: Pull complete 20:56:43 cd6300453558: Verifying Checksum 20:56:43 cd6300453558: Download complete 20:56:43 a2d8cc88f415: Verifying Checksum 20:56:43 a2d8cc88f415: Download complete 20:56:44 ea1d1ca13537: Verifying Checksum 20:56:44 ea1d1ca13537: Download complete 20:56:44 3750a50a1c5e: Verifying Checksum 20:56:44 3750a50a1c5e: Download complete 20:56:45 8a11ddd9e578: Verifying Checksum 20:56:45 8a11ddd9e578: Download complete 20:56:45 b9c365052c96: Verifying Checksum 20:56:45 b9c365052c96: Download complete 20:56:58 8a11ddd9e578: Pull complete 20:56:58 4cf88f913ddb: Pull complete 20:56:58 1df406cf5192: Pull complete 20:57:01 cd6300453558: Pull complete 20:57:06 b9c365052c96: Pull complete 20:57:06 a2d8cc88f415: Pull complete 20:57:08 ea1d1ca13537: Pull complete 20:57:08 3750a50a1c5e: Pull complete 20:57:08 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 20:57:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 20:57:08 ---> 78745c68409d 20:57:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 20:57:14 ---> Running in 76cfcf2afea6 20:57:14 Removing intermediate container 76cfcf2afea6 20:57:14 ---> 2c97486fb790 20:57:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:57:14 ---> Running in 4bf583e8d977 20:57:17 Removing intermediate container 4bf583e8d977 20:57:17 ---> 28ddb3290c8b 20:57:17 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 20:57:17 ---> Running in b02f1fa280d9 20:57:18 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 20:57:19 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 20:57:20 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 20:57:20 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 20:57:20 (3/18) Installing libmagic (5.37-r1) 20:57:20 (4/18) Installing file (5.37-r1) 20:57:20 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 20:57:20 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 20:57:20 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 20:57:27 (8/18) Installing libc-dev (0.7.2-r0) 20:57:27 (9/18) Installing g++ (9.2.0-r4) 20:57:33 (10/18) Installing fortify-headers (1.1-r0) 20:57:33 (11/18) Installing build-base (0.5-r1) 20:57:33 (12/18) Installing openssh-keygen (8.1_p1-r0) 20:57:33 (13/18) Installing libedit (20191211.3.1-r0) 20:57:33 (14/18) Installing openssh-client (8.1_p1-r0) 20:57:34 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 20:57:34 (16/18) Installing openssh-server-common (8.1_p1-r0) 20:57:34 (17/18) Installing openssh-server (8.1_p1-r0) 20:57:34 (18/18) Installing openssh (8.1_p1-r0) 20:57:34 Executing busybox-1.31.1-r8.trigger 20:57:34 OK: 203 MiB in 52 packages 20:57:35 Running on prd-centos7-docker-4c-2g-3174 in /w/workspace/foundry_device-virtual-go_PR-114 [Pipeline] { [Pipeline] ws 20:57:35 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 20:57:41 Removing intermediate container b02f1fa280d9 20:57:41 ---> 703143ede919 20:57:41 Step 6/8 : WORKDIR /device-virtual-go 20:57:41 ---> Running in d60f2b6bb9f4 20:57:41 Removing intermediate container d60f2b6bb9f4 20:57:41 ---> 26a3f6499c39 20:57:41 Step 7/8 : COPY . . 20:57:42 ---> b70a67c49e32 20:57:42 Step 8/8 : RUN go mod download 20:57:42 ---> Running in fc765d12db4e 20:57:43 using credential edgex-jenkins-ssh 20:57:43 Cloning the remote Git repository 20:57:43 Cloning with configured refspecs honoured and without tags 20:57:44 Fetching without tags 20:57:43 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:57:43 > git init /w/workspace/device-virtual-go/1 # timeout=10 20:57:43 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:57:43 > git --version # timeout=10 20:57:43 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:57:44 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:57:44 > git config --add remote.origin.fetch +refs/pull/114/head:refs/remotes/origin/PR-114 # timeout=10 20:57:44 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:57:44 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:57:44 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:57:44 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:45 Merging remotes/origin/master commit 765a8ae72530510c4ebab34c81f831f56123a77d into PR head commit e9454c02de7463277dc9c4492d6d29b68f3ceeec 20:57:45 Merge succeeded, producing e9454c02de7463277dc9c4492d6d29b68f3ceeec 20:57:45 Checking out Revision e9454c02de7463277dc9c4492d6d29b68f3ceeec (PR-114) 20:57:46 go: finding github.com/BurntSushi/toml v0.3.1 20:57:46 go: finding github.com/OneOfOne/xxhash v1.2.6 20:57:46 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:57:46 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:57:46 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:57:46 go: finding github.com/bgentry/speakeasy v0.1.0 20:57:46 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:57:46 go: finding github.com/davecgh/go-spew v1.1.1 20:57:46 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 20:57:46 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 20:57:46 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:57:46 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:57:46 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:57:46 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:57:46 go: finding github.com/edsrzf/mmap-go v1.0.0 20:57:46 go: finding github.com/fatih/color v1.7.0 20:57:46 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:57:46 go: finding github.com/go-kit/kit v0.8.0 20:57:46 go: finding github.com/go-logfmt/logfmt v0.4.0 20:57:46 go: finding github.com/go-stack/stack v1.8.0 20:57:46 go: finding github.com/golang/snappy v0.0.1 20:57:46 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:57:46 go: finding github.com/google/uuid v1.1.0 20:57:46 go: finding github.com/gorilla/mux v1.7.1 20:57:46 go: finding github.com/hashicorp/consul/api v1.1.0 20:57:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:57:45 > git config core.sparsecheckout # timeout=10 20:57:45 > git checkout -f e9454c02de7463277dc9c4492d6d29b68f3ceeec # timeout=10 20:57:45 > git remote # timeout=10 20:57:45 > git config --get remote.origin.url # timeout=10 20:57:45 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:45 > git merge 765a8ae72530510c4ebab34c81f831f56123a77d # timeout=10 20:57:45 > git rev-parse HEAD^{commit} # timeout=10 20:57:45 > git config core.sparsecheckout # timeout=10 20:57:45 > git checkout -f e9454c02de7463277dc9c4492d6d29b68f3ceeec # timeout=10 20:57:46 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:57:46 go: finding github.com/hashicorp/errwrap v1.0.0 20:57:46 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:57:46 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:57:46 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:57:46 go: finding github.com/hashicorp/go-multierror v1.0.0 20:57:46 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:57:46 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:57:46 go: finding github.com/hashicorp/go-syslog v1.0.0 20:57:46 go: finding github.com/hashicorp/go-uuid v1.0.1 20:57:46 go: finding github.com/hashicorp/go.net v0.0.1 20:57:46 go: finding github.com/hashicorp/golang-lru v0.5.0 20:57:46 go: finding github.com/hashicorp/logutils v1.0.0 20:57:46 go: finding github.com/hashicorp/mdns v1.0.0 20:57:46 go: finding github.com/hashicorp/memberlist v0.1.3 20:57:46 go: finding github.com/hashicorp/serf v0.8.2 20:57:46 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:57:46 go: finding github.com/mattn/go-colorable v0.0.9 20:57:46 go: finding github.com/mattn/go-isatty v0.0.3 20:57:46 go: finding github.com/miekg/dns v1.0.14 20:57:46 go: finding github.com/mitchellh/cli v1.0.0 20:57:46 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:57:46 go: finding github.com/mitchellh/copystructure v1.0.0 20:57:46 go: finding github.com/mitchellh/go-homedir v1.0.0 20:57:46 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:57:46 go: finding github.com/mitchellh/gox v0.4.0 20:57:46 go: finding github.com/mitchellh/iochan v1.0.0 20:57:46 go: finding github.com/mitchellh/mapstructure v1.1.2 20:57:46 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:57:46 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:57:46 go: finding github.com/pelletier/go-toml v1.2.0 20:57:46 go: finding github.com/pkg/errors v0.8.1 20:57:46 go: finding github.com/pmezard/go-difflib v1.0.0 20:57:46 go: finding github.com/posener/complete v1.1.1 20:57:46 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 20:57:46 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:57:46 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:57:46 go: finding github.com/stretchr/objx v0.1.0 20:57:46 go: finding github.com/stretchr/testify v1.5.1 20:57:46 go: finding github.com/ugorji/go v1.1.4 20:57:46 go: finding github.com/x448/float16 v0.8.4 20:57:46 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:57:46 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 20:57:46 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:57:46 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 20:57:46 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:57:46 go: finding gopkg.in/yaml.v2 v2.2.8 20:57:46 go: finding modernc.org/b v1.0.0 20:57:47 go: finding modernc.org/db v1.0.0 20:57:47 go: finding modernc.org/file v1.0.0 20:57:47 go: finding modernc.org/fileutil v1.0.0 20:57:47 go: finding modernc.org/golex v1.0.0 20:57:47 go: finding modernc.org/internal v1.0.0 20:57:47 go: finding modernc.org/lldb v1.0.0 20:57:47 go: finding modernc.org/mathutil v1.0.0 20:57:47 go: finding modernc.org/ql v1.0.0 20:57:47 go: finding modernc.org/sortutil v1.0.0 20:57:47 go: finding modernc.org/strutil v1.0.0 20:57:47 go: finding modernc.org/zappy v1.0.0 20:57:51 Commit message: "doc: update pr template to include dependencies section" 20:57:51 > git --version # timeout=10 20:57:51 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:57:53 ========================================================= 20:57:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 20:57:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:57:54 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 20:57:54 Sending build context to Docker daemon 519.7kB 20:57:54 Step 1/8 : ARG BASE=golang:1.13-alpine 20:57:54 Step 2/8 : FROM ${BASE} 20:57:54 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 20:57:54 e6b0cf9c0882: Pulling fs layer 20:57:54 2848faf0eed1: Pulling fs layer 20:57:54 0f37312ad70f: Pulling fs layer 20:57:54 5788d62ee057: Pulling fs layer 20:57:54 0e6b1d234666: Pulling fs layer 20:57:54 bf5d7aec512f: Pulling fs layer 20:57:54 34c802a77dc8: Pulling fs layer 20:57:54 9eb99e56ec68: Pulling fs layer 20:57:54 27c7a5d97fbd: Pulling fs layer 20:57:54 5c102a31e300: Pulling fs layer 20:57:54 dcfb455df0a1: Pulling fs layer 20:57:54 5788d62ee057: Waiting 20:57:54 9eb99e56ec68: Waiting 20:57:54 0e6b1d234666: Waiting 20:57:54 27c7a5d97fbd: Waiting 20:57:54 5c102a31e300: Waiting 20:57:54 bf5d7aec512f: Waiting 20:57:54 34c802a77dc8: Waiting 20:57:54 dcfb455df0a1: Waiting 20:57:54 0f37312ad70f: Verifying Checksum 20:57:54 0f37312ad70f: Download complete 20:57:54 2848faf0eed1: Download complete 20:57:54 0e6b1d234666: Verifying Checksum 20:57:54 0e6b1d234666: Download complete 20:57:55 bf5d7aec512f: Download complete 20:57:55 e6b0cf9c0882: Verifying Checksum 20:57:55 e6b0cf9c0882: Download complete 20:57:56 e6b0cf9c0882: Pull complete 20:57:57 2848faf0eed1: Pull complete 20:57:57 Removing intermediate container fc765d12db4e 20:57:57 ---> 52e3075ef4f3 20:57:57 Successfully built 52e3075ef4f3 20:57:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script 20:57:57 0f37312ad70f: Pull complete [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:57:58 34c802a77dc8: Verifying Checksum 20:57:58 34c802a77dc8: Download complete 20:57:58 27c7a5d97fbd: Verifying Checksum 20:57:58 27c7a5d97fbd: Download complete 20:57:58 + docker inspect -f . ci-base-image-arm64 20:57:58 . [Pipeline] withDockerContainer 20:57:58 prd-ubuntu18.04-docker-arm64-4c-16g-3173 does not seem to be running inside a container 20:57:58 $ 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 ******** ci-base-image-arm64 cat 20:57:59 9eb99e56ec68: Download complete 20:57:59 5c102a31e300: Verifying Checksum 20:57:59 5c102a31e300: Download complete 20:57:59 dcfb455df0a1: Verifying Checksum 20:57:59 dcfb455df0a1: Download complete 20:57:59 5788d62ee057: Verifying Checksum 20:57:59 5788d62ee057: Download complete 20:58:00 $ docker top 03926bbf8bfebf1491351d428b02c14fb5de4a0d24d4069dd28bb6a44eee7b49 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:01 + go version 20:58:01 go version go1.13.5 linux/arm64 [Pipeline] sh 20:58:03 + make test 20:58:03 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:58:04 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:58:09 5788d62ee057: Pull complete 20:58:09 0e6b1d234666: Pull complete 20:58:09 bf5d7aec512f: Pull complete 20:58:18 34c802a77dc8: Pull complete 20:58:22 9eb99e56ec68: Pull complete 20:58:22 27c7a5d97fbd: Pull complete 20:58:23 5c102a31e300: Pull complete 20:58:24 dcfb455df0a1: Pull complete 20:58:24 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 20:58:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 20:58:24 ---> 7c70fe431013 20:58:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 20:58:26 ---> Running in 06f8824d058a 20:58:26 Removing intermediate container 06f8824d058a 20:58:26 ---> 3d30c7eedf58 20:58:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:58:26 ---> Running in 7a88ab2bcc00 20:58:27 Removing intermediate container 7a88ab2bcc00 20:58:27 ---> c647c6c91afd 20:58:27 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 20:58:28 ---> Running in 6f09463417ae 20:58:29 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 20:58:29 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 20:58:30 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 20:58:30 (2/17) Installing libmagic (5.37-r1) 20:58:30 (3/17) Installing file (5.37-r1) 20:58:30 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 20:58:30 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 20:58:31 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 20:58:39 (7/17) Installing libc-dev (0.7.2-r0) 20:58:39 (8/17) Installing g++ (9.2.0-r4) 20:58:43 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:58:45 (9/17) Installing fortify-headers (1.1-r0) 20:58:45 (10/17) Installing build-base (0.5-r1) 20:58:45 (11/17) Installing openssh-keygen (8.1_p1-r0) 20:58:45 (12/17) Installing libedit (20191211.3.1-r0) 20:58:45 (13/17) Installing openssh-client (8.1_p1-r0) 20:58:45 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 20:58:45 (15/17) Installing openssh-server-common (8.1_p1-r0) 20:58:45 (16/17) Installing openssh-server (8.1_p1-r0) 20:58:45 (17/17) Installing openssh (8.1_p1-r0) 20:58:45 Executing busybox-1.31.1-r8.trigger 20:58:45 OK: 214 MiB in 52 packages 20:58:50 Removing intermediate container 6f09463417ae 20:58:50 ---> 6a20b5f9e79f 20:58:50 Step 6/8 : WORKDIR /device-virtual-go 20:58:50 ---> Running in 5738c8e4e4da 20:58:50 Removing intermediate container 5738c8e4e4da 20:58:50 ---> 52631287219d 20:58:50 Step 7/8 : COPY . . 20:58:51 ---> c385caff45aa 20:58:51 Step 8/8 : RUN go mod download 20:58:51 ---> Running in 796c2894f5b5 20:58:54 go: finding github.com/BurntSushi/toml v0.3.1 20:58:54 go: finding github.com/OneOfOne/xxhash v1.2.6 20:58:54 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:58:54 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:58:54 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:58:54 go: finding github.com/bgentry/speakeasy v0.1.0 20:58:54 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:58:54 go: finding github.com/davecgh/go-spew v1.1.1 20:58:54 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 20:58:54 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 20:58:54 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:58:54 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:58:54 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:58:54 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:58:54 go: finding github.com/edsrzf/mmap-go v1.0.0 20:58:54 go: finding github.com/fatih/color v1.7.0 20:58:54 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:58:54 go: finding github.com/go-kit/kit v0.8.0 20:58:54 go: finding github.com/go-logfmt/logfmt v0.4.0 20:58:54 go: finding github.com/go-stack/stack v1.8.0 20:58:54 go: finding github.com/golang/snappy v0.0.1 20:58:54 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:58:54 go: finding github.com/google/uuid v1.1.0 20:58:54 go: finding github.com/gorilla/mux v1.7.1 20:58:54 go: finding github.com/hashicorp/consul/api v1.1.0 20:58:54 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:58:54 go: finding github.com/hashicorp/errwrap v1.0.0 20:58:54 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:58:54 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:58:54 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:58:54 go: finding github.com/hashicorp/go-multierror v1.0.0 20:58:54 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:58:54 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:58:54 go: finding github.com/hashicorp/go-syslog v1.0.0 20:58:54 go: finding github.com/hashicorp/go-uuid v1.0.1 20:58:54 go: finding github.com/hashicorp/go.net v0.0.1 20:58:54 go: finding github.com/hashicorp/golang-lru v0.5.0 20:58:54 go: finding github.com/hashicorp/logutils v1.0.0 20:58:54 go: finding github.com/hashicorp/mdns v1.0.0 20:58:54 go: finding github.com/hashicorp/memberlist v0.1.3 20:58:54 go: finding github.com/hashicorp/serf v0.8.2 20:58:54 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:58:54 go: finding github.com/mattn/go-colorable v0.0.9 20:58:54 go: finding github.com/mattn/go-isatty v0.0.3 20:58:54 go: finding github.com/miekg/dns v1.0.14 20:58:54 go: finding github.com/mitchellh/cli v1.0.0 20:58:54 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:58:54 go: finding github.com/mitchellh/copystructure v1.0.0 20:58:54 go: finding github.com/mitchellh/go-homedir v1.0.0 20:58:54 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:58:54 go: finding github.com/mitchellh/gox v0.4.0 20:58:54 go: finding github.com/mitchellh/iochan v1.0.0 20:58:54 go: finding github.com/mitchellh/mapstructure v1.1.2 20:58:54 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:58:54 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:58:54 go: finding github.com/pelletier/go-toml v1.2.0 20:58:54 go: finding github.com/pkg/errors v0.8.1 20:58:54 go: finding github.com/pmezard/go-difflib v1.0.0 20:58:54 go: finding github.com/posener/complete v1.1.1 20:58:54 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 20:58:54 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:58:54 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:58:54 go: finding github.com/stretchr/objx v0.1.0 20:58:54 go: finding github.com/stretchr/testify v1.5.1 20:58:54 go: finding github.com/ugorji/go v1.1.4 20:58:54 go: finding github.com/x448/float16 v0.8.4 20:58:54 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:58:54 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 20:58:54 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:58:54 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 20:58:54 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:58:54 go: finding gopkg.in/yaml.v2 v2.2.8 20:58:54 go: finding modernc.org/b v1.0.0 20:58:54 go: finding modernc.org/db v1.0.0 20:58:54 go: finding modernc.org/file v1.0.0 20:58:54 go: finding modernc.org/fileutil v1.0.0 20:58:54 go: finding modernc.org/golex v1.0.0 20:58:54 go: finding modernc.org/internal v1.0.0 20:58:54 go: finding modernc.org/lldb v1.0.0 20:58:54 go: finding modernc.org/mathutil v1.0.0 20:58:54 go: finding modernc.org/ql v1.0.0 20:58:54 go: finding modernc.org/sortutil v1.0.0 20:58:54 go: finding modernc.org/strutil v1.0.0 20:58:54 go: finding modernc.org/zappy v1.0.0 20:59:06 Removing intermediate container 796c2894f5b5 20:59:06 ---> e55259a9d0d6 20:59:06 Successfully built e55259a9d0d6 20:59:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:59:07 + docker inspect -f . ci-base-image-x86_64 20:59:07 . [Pipeline] withDockerContainer 20:59:08 prd-centos7-docker-4c-2g-3174 does not seem to be running inside a container 20:59:08 $ 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 ******** ci-base-image-x86_64 cat 20:59:10 $ docker top 3938c9ba078535577d335bfeb83a16e6a50bccd4c75245af57b7c7b78ef79f77 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:10 + go version 20:59:11 go version go1.13.5 linux/amd64 [Pipeline] sh 20:59:11 + make test 20:59:11 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:59:13 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:59:40 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:01:33 ok github.com/edgexfoundry/device-virtual-go/internal/driver 103.753s coverage: 52.7% of statements 21:01:33 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:01:33 gofmt -l . 21:01:33 [ "`gofmt -l .`" = "" ] 21:01:33 ./bin/test-attribution-txt.sh 21:01:33 ./bin/test-go-mod-tidy.sh [Pipeline] stash 21:01:34 Stashed 1 file(s) [Pipeline] } 21:01:34 $ docker stop --time=1 3938c9ba078535577d335bfeb83a16e6a50bccd4c75245af57b7c7b78ef79f77 21:01:36 $ docker rm -f 3938c9ba078535577d335bfeb83a16e6a50bccd4c75245af57b7c7b78ef79f77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:01:38 + ls -al . 21:01:38 total 112 21:01:38 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 16 21:01 . 21:01:38 drwxrwxr-x. 4 jenkins jenkins 28 Jun 16 20:57 .. 21:01:38 -rw-rw-r--. 1 jenkins jenkins 6432 Jun 16 20:57 Attribution.txt 21:01:38 drwxrwxr-x. 2 jenkins jenkins 64 Jun 16 20:57 bin 21:01:38 drwxrwxr-x. 3 jenkins jenkins 32 Jun 16 20:57 cmd 21:01:38 -rw-r--r--. 1 jenkins jenkins 32181 Jun 16 21:01 coverage.out 21:01:38 -rw-rw-r--. 1 jenkins jenkins 1826 Jun 16 20:57 Dockerfile 21:01:38 -rw-rw-r--. 1 jenkins jenkins 957 Jun 16 20:57 Dockerfile.build 21:01:38 drwxrwxr-x. 8 jenkins jenkins 179 Jun 16 20:57 .git 21:01:38 drwxrwxr-x. 2 jenkins jenkins 38 Jun 16 20:57 .github 21:01:38 -rw-rw-r--. 1 jenkins jenkins 258 Jun 16 20:57 .gitignore 21:01:38 -rw-r--r--. 1 jenkins jenkins 855 Jun 16 21:01 go.mod 21:01:38 -rw-r--r--. 1 jenkins jenkins 14894 Jun 16 21:01 go.sum 21:01:38 drwxrwxr-x. 3 jenkins jenkins 20 Jun 16 20:57 internal 21:01:38 -rw-rw-r--. 1 jenkins jenkins 683 Jun 16 20:57 Jenkinsfile 21:01:38 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 16 20:57 LICENSE 21:01:38 -rw-rw-r--. 1 jenkins jenkins 873 Jun 16 20:57 Makefile 21:01:38 -rw-rw-r--. 1 jenkins jenkins 4413 Jun 16 20:57 README.md 21:01:38 drwxrwxr-x. 3 jenkins jenkins 58 Jun 16 20:57 .semver 21:01:38 -rw-rw-r--. 1 jenkins jenkins 5 Jun 16 20:54 VERSION 21:01:38 -rw-rw-r--. 1 jenkins jenkins 235 Jun 16 20:57 version.go [Pipeline] isUnix [Pipeline] sh 21:01:39 + 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=e9454c02de7463277dc9c4492d6d29b68f3ceeec --label arch=amd64 --label version=0.0.0 . 21:01:39 Sending build context to Docker daemon 34.14MB 21:01:39 Step 1/21 : ARG BASE=golang:1.13-alpine 21:01:39 Step 2/21 : FROM ${BASE} AS builder 21:01:39 ---> e55259a9d0d6 21:01:39 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 21:01:40 ---> Running in 9fbd92a6171d 21:01:40 Removing intermediate container 9fbd92a6171d 21:01:40 ---> 9aabda9f5d57 21:01:40 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 21:01:40 ---> Running in 8a6b35e8c917 21:01:40 Removing intermediate container 8a6b35e8c917 21:01:40 ---> a7b546a529b2 21:01:40 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 21:01:40 ---> Running in ed1ee14d5914 21:01:41 Removing intermediate container ed1ee14d5914 21:01:41 ---> dbf6176fc36b 21:01:41 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:01:41 ---> Running in 6c26ea708049 21:01:42 Removing intermediate container 6c26ea708049 21:01:42 ---> 072ae975c4b2 21:01:42 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:42 ---> Running in 0a23ab529e5c 21:01:42 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 21:01:43 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 21:01:43 OK: 214 MiB in 52 packages 21:01:44 Removing intermediate container 0a23ab529e5c 21:01:44 ---> 9fb6d7d8a4ca 21:01:44 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 21:01:44 ---> Running in 7158361388ce 21:01:44 Removing intermediate container 7158361388ce 21:01:44 ---> cc849dfe82bc 21:01:44 Step 9/21 : COPY . . 21:01:46 ---> 5131c316eced 21:01:46 Step 10/21 : ARG MAKE='make build' 21:01:46 ---> Running in b899fea8fb61 21:01:46 Removing intermediate container b899fea8fb61 21:01:46 ---> c5fb98ca4218 21:01:46 Step 11/21 : RUN $MAKE 21:01:46 ---> Running in 885af557e1c7 21:01:47 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 21:01:49 ok github.com/edgexfoundry/device-virtual-go/internal/driver 177.117s coverage: 52.7% of statements 21:01:49 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:01:49 gofmt -l . 21:01:49 [ "`gofmt -l .`" = "" ] 21:01:49 ./bin/test-attribution-txt.sh 21:01:49 ./bin/test-go-mod-tidy.sh [Pipeline] stash 21:01:49 Warning: overwriting stash ‘coverage-report’ 21:01:50 Stashed 1 file(s) [Pipeline] } 21:01:50 $ docker stop --time=1 03926bbf8bfebf1491351d428b02c14fb5de4a0d24d4069dd28bb6a44eee7b49 21:01:52 $ docker rm -f 03926bbf8bfebf1491351d428b02c14fb5de4a0d24d4069dd28bb6a44eee7b49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:01:54 + ls -al . 21:01:54 total 140 21:01:54 drwxrwxr-x 8 jenkins jenkins 4096 Jun 16 21:01 . 21:01:54 drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 20:56 .. 21:01:54 drwxrwxr-x 8 jenkins jenkins 4096 Jun 16 20:56 .git 21:01:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 20:56 .github 21:01:54 -rw-rw-r-- 1 jenkins jenkins 258 Jun 16 20:56 .gitignore 21:01:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 16 20:56 .semver 21:01:54 -rw-rw-r-- 1 jenkins jenkins 6432 Jun 16 20:56 Attribution.txt 21:01:54 -rw-rw-r-- 1 jenkins jenkins 1826 Jun 16 20:56 Dockerfile 21:01:54 -rw-rw-r-- 1 jenkins jenkins 957 Jun 16 20:56 Dockerfile.build 21:01:54 -rw-rw-r-- 1 jenkins jenkins 683 Jun 16 20:56 Jenkinsfile 21:01:54 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 16 20:56 LICENSE 21:01:54 -rw-rw-r-- 1 jenkins jenkins 873 Jun 16 20:56 Makefile 21:01:54 -rw-rw-r-- 1 jenkins jenkins 4413 Jun 16 20:56 README.md 21:01:54 -rw-rw-r-- 1 jenkins jenkins 5 Jun 16 20:54 VERSION 21:01:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 20:56 bin 21:01:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 16 20:56 cmd 21:01:54 -rw-r--r-- 1 jenkins jenkins 32181 Jun 16 21:01 coverage.out 21:01:54 -rw-r--r-- 1 jenkins jenkins 855 Jun 16 21:01 go.mod 21:01:54 -rw-r--r-- 1 jenkins jenkins 14894 Jun 16 21:01 go.sum 21:01:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 16 20:56 internal 21:01:54 -rw-rw-r-- 1 jenkins jenkins 235 Jun 16 20:56 version.go [Pipeline] isUnix [Pipeline] sh 21:01:54 + 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=e9454c02de7463277dc9c4492d6d29b68f3ceeec --label arch=arm64 --label version=0.0.0 . 21:01:55 Sending build context to Docker daemon 34.14MB 21:01:55 Step 1/21 : ARG BASE=golang:1.13-alpine 21:01:55 Step 2/21 : FROM ${BASE} AS builder 21:01:55 ---> 52e3075ef4f3 21:01:55 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 21:01:55 ---> Running in 823e71901dcb 21:01:56 Removing intermediate container 823e71901dcb 21:01:56 ---> c5505f03748f 21:01:56 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 21:01:56 ---> Running in 1c9e7f2bc0e9 21:01:56 Removing intermediate container 1c9e7f2bc0e9 21:01:56 ---> fe30fe89dcea 21:01:56 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 21:01:56 ---> Running in 386a3774b1f4 21:01:57 Removing intermediate container 386a3774b1f4 21:01:57 ---> f70dd3b0887e 21:01:57 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:01:57 ---> Running in a629385f0a77 21:02:00 Removing intermediate container a629385f0a77 21:02:00 ---> 46c15e0e03d3 21:02:00 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:02:00 ---> Running in 8bf7d54e9ba3 21:02:01 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 21:02:02 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 21:02:02 OK: 203 MiB in 52 packages 21:02:03 Removing intermediate container 8bf7d54e9ba3 21:02:03 ---> 6989fdb27c63 21:02:03 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 21:02:03 ---> Running in a39df0875018 21:02:04 Removing intermediate container a39df0875018 21:02:04 ---> 5a5d8ad12a16 21:02:04 Step 9/21 : COPY . . 21:02:06 ---> 711f049db671 21:02:06 Step 10/21 : ARG MAKE='make build' 21:02:06 ---> Running in d95f878a2b69 21:02:07 Removing intermediate container d95f878a2b69 21:02:07 ---> 16d383a0d6f6 21:02:07 Step 11/21 : RUN $MAKE 21:02:07 ---> Running in 83f26b58dd34 21:02:08 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 21:02:09 CGO_ENABLED=0 GO111MODULE=on go build ./... 21:02:15 Removing intermediate container 885af557e1c7 21:02:15 ---> 51f924fd0c3d 21:02:15 Step 12/21 : FROM alpine 21:02:15 latest: Pulling from library/alpine 21:02:15 df20fa9351a1: Pulling fs layer 21:02:16 df20fa9351a1: Verifying Checksum 21:02:16 df20fa9351a1: Download complete 21:02:16 df20fa9351a1: Pull complete 21:02:16 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 21:02:16 Status: Downloaded newer image for alpine:latest 21:02:16 ---> a24bb4013296 21:02:16 Step 13/21 : ENV APP_PORT=49990 21:02:16 ---> Running in 2a5754eb6457 21:02:16 Removing intermediate container 2a5754eb6457 21:02:16 ---> e715d541e791 21:02:16 Step 14/21 : EXPOSE $APP_PORT 21:02:17 ---> Running in befb15a1ae63 21:02:17 Removing intermediate container befb15a1ae63 21:02:17 ---> 35743baa7244 21:02:17 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 21:02:18 ---> e3e5766c6ef7 21:02:18 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 21:02:18 ---> 3c214dc91d9a 21:02:18 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 21:02:19 ---> 1110f48ae926 21:02:19 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 21:02:19 ---> Running in c0813e9ea4c0 21:02:19 Removing intermediate container c0813e9ea4c0 21:02:19 ---> e17f21ddb625 21:02:19 Step 19/21 : LABEL arch=amd64 21:02:19 ---> Running in 7322d60495a6 21:02:20 Removing intermediate container 7322d60495a6 21:02:20 ---> 8fd524924e4d 21:02:20 Step 20/21 : LABEL git_sha=e9454c02de7463277dc9c4492d6d29b68f3ceeec 21:02:20 ---> Running in 20963bbe4e75 21:02:20 Removing intermediate container 20963bbe4e75 21:02:20 ---> 53572ffec013 21:02:20 Step 21/21 : LABEL version=0.0.0 21:02:21 ---> Running in 3a02d664ef6e 21:02:21 Removing intermediate container 3a02d664ef6e 21:02:21 ---> 84b42d28dd24 21:02:21 [Warning] One or more build-args [ARCH] were not consumed 21:02:21 Successfully built 84b42d28dd24 21:02:21 Successfully tagged docker-device-virtual-go: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:02:40 CGO_ENABLED=0 GO111MODULE=on go build ./... 21:02:49 Removing intermediate container 83f26b58dd34 21:02:49 ---> ed99c4c1d917 21:02:49 Step 12/21 : FROM alpine 21:02:49 latest: Pulling from library/alpine 21:02:49 b538f80385f9: Pulling fs layer 21:02:49 b538f80385f9: Verifying Checksum 21:02:49 b538f80385f9: Download complete 21:02:50 b538f80385f9: Pull complete 21:02:50 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 21:02:50 Status: Downloaded newer image for alpine:latest 21:02:50 ---> 62ee0e9f8440 21:02:50 Step 13/21 : ENV APP_PORT=49990 21:02:50 ---> Running in 2053289bec10 21:02:50 Removing intermediate container 2053289bec10 21:02:50 ---> cb91cc1a1787 21:02:50 Step 14/21 : EXPOSE $APP_PORT 21:02:51 ---> Running in 8f1150ab4140 21:02:51 Removing intermediate container 8f1150ab4140 21:02:51 ---> 0b5a2f6fc7a8 21:02:51 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 21:02:52 ---> 805b8d29c19e 21:02:52 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 21:02:53 ---> d42d5cb002a5 21:02:53 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 21:02:54 ---> 3bba555ea974 21:02:54 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 21:02:54 ---> Running in da6a288e8523 21:02:54 Removing intermediate container da6a288e8523 21:02:54 ---> 756912fe43a6 21:02:54 Step 19/21 : LABEL arch=arm64 21:02:54 ---> Running in bfaffca154ff 21:02:55 Removing intermediate container bfaffca154ff 21:02:55 ---> f75b8ee0514f 21:02:55 Step 20/21 : LABEL git_sha=e9454c02de7463277dc9c4492d6d29b68f3ceeec 21:02:55 ---> Running in 0612cf2ee206 21:02:56 Removing intermediate container 0612cf2ee206 21:02:56 ---> 0831e3f8a443 21:02:56 Step 21/21 : LABEL version=0.0.0 21:02:56 ---> Running in 27e4c85c6163 21:02:56 Removing intermediate container 27e4c85c6163 21:02:56 ---> dd4d55604d4d 21:02:56 [Warning] One or more build-args [ARCH] were not consumed 21:02:56 Successfully built dd4d55604d4d 21:02:56 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 21:02:58 provisioning config files... 21:02:58 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-114@tmp/config775124481806166812tmp [Pipeline] { [Pipeline] sh 21:02:58 + curl -s https://codecov.io/bash 21:02:58 + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-114@tmp/config775124481806166812tmp 21:02:58 21:02:58 _____ _ 21:02:58 / ____| | | 21:02:58 | | ___ __| | ___ ___ _____ __ 21:02:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:02:58 | |___| (_) | (_| | __/ (_| (_) \ V / 21:02:58 \_____\___/ \__,_|\___|\___\___/ \_/ 21:02:58 Bash-20200602-f809a24 21:02:58 21:02:58 21:02:58 ==> Jenkins CI detected. 21:02:58 project root: . 21:02:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:02:58 ==> Running gcov in . (disable via -X gcov) 21:02:58 ==> Python coveragepy not found 21:02:58 ==> Searching for coverage reports in: 21:02:58 + . 21:02:58 -> Found 1 reports 21:02:58 ==> Detecting git/mercurial file structure 21:02:58 ==> Reading reports 21:02:58 + ./coverage.out bytes=32181 21:02:58 ==> Appending adjustments 21:02:58 https://docs.codecov.io/docs/fixing-reports 21:02:58 + Found adjustments 21:02:58 ==> Gzipping contents 21:02:58 ==> Uploading reports 21:02:58 url: https://codecov.io 21:02:58 query: branch=PR-114&commit=e9454c02de7463277dc9c4492d6d29b68f3ceeec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-114%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=114&job= 21:02:58 -> Pinging Codecov 21:02:58 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-114&commit=e9454c02de7463277dc9c4492d6d29b68f3ceeec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-114%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=114&job= 21:02:59 -> Uploading 21:02:59 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/e9454c02de7463277dc9c4492d6d29b68f3ceeec [Pipeline] } 21:02:59 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:03:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:03:01 ---> package-listing.sh 21:03:01 ++ facter osfamily 21:03:01 ++ tr '[:upper:]' '[:lower:]' 21:03:01 + OS_FAMILY=redhat 21:03:01 + workspace=/w/workspace/foundry_device-virtual-go_PR-114 21:03:01 + START_PACKAGES=/tmp/packages_start.txt 21:03:01 + END_PACKAGES=/tmp/packages_end.txt 21:03:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:03:01 + PACKAGES=/tmp/packages_start.txt 21:03:01 + '[' /w/workspace/foundry_device-virtual-go_PR-114 ']' 21:03:01 + PACKAGES=/tmp/packages_end.txt 21:03:01 + case "${OS_FAMILY}" in 21:03:01 + rpm -qa 21:03:01 + sort 21:03:06 + '[' -f /tmp/packages_start.txt ']' 21:03:06 + '[' -f /tmp/packages_end.txt ']' 21:03:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:03:06 + '[' /w/workspace/foundry_device-virtual-go_PR-114 ']' 21:03:06 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-114/archives/ 21:03:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-114/archives/ [Pipeline] isUnix [Pipeline] sh 21:03:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:03:06 21:03:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:03:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:03:06 alpine: Pulling from edgex-lftools-log-publisher 21:03:06 c9b1b535fdd9: Pulling fs layer 21:03:06 2cc5ad85d9ab: Pulling fs layer 21:03:06 756a868c4378: Pulling fs layer 21:03:06 444b2fc9a129: Pulling fs layer 21:03:06 ea15f1150254: Pulling fs layer 21:03:06 41b27a9f41bf: Pulling fs layer 21:03:06 28c525ee5125: Pulling fs layer 21:03:06 094b1ea09ed8: Pulling fs layer 21:03:06 138eaada9080: Pulling fs layer 21:03:06 0622d0fa9048: Pulling fs layer 21:03:06 444b2fc9a129: Waiting 21:03:06 ea15f1150254: Waiting 21:03:06 41b27a9f41bf: Waiting 21:03:06 28c525ee5125: Waiting 21:03:06 094b1ea09ed8: Waiting 21:03:06 138eaada9080: Waiting 21:03:06 0622d0fa9048: Waiting 21:03:06 2cc5ad85d9ab: Verifying Checksum 21:03:06 2cc5ad85d9ab: Download complete 21:03:06 444b2fc9a129: Verifying Checksum 21:03:06 444b2fc9a129: Download complete 21:03:06 c9b1b535fdd9: Download complete 21:03:07 ea15f1150254: Verifying Checksum 21:03:07 ea15f1150254: Download complete 21:03:07 28c525ee5125: Verifying Checksum 21:03:07 28c525ee5125: Download complete 21:03:07 756a868c4378: Verifying Checksum 21:03:07 756a868c4378: Download complete 21:03:07 c9b1b535fdd9: Pull complete 21:03:07 138eaada9080: Verifying Checksum 21:03:07 138eaada9080: Download complete 21:03:07 0622d0fa9048: Verifying Checksum 21:03:07 0622d0fa9048: Download complete 21:03:07 2cc5ad85d9ab: Pull complete 21:03:07 094b1ea09ed8: Verifying Checksum 21:03:07 094b1ea09ed8: Download complete 21:03:08 41b27a9f41bf: Verifying Checksum 21:03:08 41b27a9f41bf: Download complete 21:03:09 756a868c4378: Pull complete 21:03:09 444b2fc9a129: Pull complete 21:03:09 ea15f1150254: Pull complete 21:03:13 41b27a9f41bf: Pull complete 21:03:13 28c525ee5125: Pull complete 21:03:17 094b1ea09ed8: Pull complete 21:03:17 138eaada9080: Pull complete 21:03:17 0622d0fa9048: Pull complete 21:03:17 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 21:03:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:03:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:03:17 prd-centos7-docker-4c-2g-3172 does not seem to be running inside a container 21:03:17 $ 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-114 -v /w/workspace/foundry_device-virtual-go_PR-114:/w/workspace/foundry_device-virtual-go_PR-114:rw,z -v /w/workspace/foundry_device-virtual-go_PR-114@tmp:/w/workspace/foundry_device-virtual-go_PR-114@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:10003/edgex-lftools-log-publisher:alpine cat 21:03:20 $ docker top 4ec77667f67ec224fc0bd9b75bcc71b0273db5bbb30344c202b731d2abd694df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:03:21 provisioning config files... 21:03:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-114@tmp/config1961606887832405325tmp [Pipeline] { [Pipeline] echo 21:03:21 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:03:21 ---> create-netrc.sh [Pipeline] echo 21:03:21 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:03:21 ---> logs-deploy.sh 21:03:21 + ARCHIVE_ARTIFACTS= 21:03:21 + LOGS_SERVER=https://logs.edgexfoundry.org 21:03:21 + '[' https://logs.edgexfoundry.org == None ']' 21:03:21 + NEXUS_URL=https://nexus.edgexfoundry.org 21:03:21 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-114/1 21:03:21 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-114/1/ 21:03:21 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-114/1 /w/workspace/foundry_device-virtual-go_PR-114 21:03:23 Archives upload complete. 21:03:23 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-114/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-114/1/