Pull request #116 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 FelixTing for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 02e176c4d89a90814e20cfdd73574948d4026b2b+7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 (0a94d6c9bd7626529b460692e15696f8e7e45350) 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-116/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 Running on prd-centos7-docker-4c-2g-4902 in /w/workspace/foundry_device-virtual-go_PR-116 [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 Fetching without tags > git init /w/workspace/foundry_device-virtual-go_PR-116 # 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/116/head:refs/remotes/origin/PR-116 +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/116/head:refs/remotes/origin/PR-116 # 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/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 into PR head commit 02e176c4d89a90814e20cfdd73574948d4026b2b Merge succeeded, producing 02e176c4d89a90814e20cfdd73574948d4026b2b Checking out Revision 02e176c4d89a90814e20cfdd73574948d4026b2b (PR-116) > git config core.sparsecheckout # timeout=10 > git checkout -f 02e176c4d89a90814e20cfdd73574948d4026b2b # 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 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02e176c4d89a90814e20cfdd73574948d4026b2b # timeout=10 Commit message: "fix: High memory usage" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:03:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:03:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:03:27 ========================================================= 17:03:27 EdgeX Global Pipelines Version Info 17:03:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:03:29 ------------------- 17:03:29 stable info: 17:03:29 ------------------- 17:03:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:03:29 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 17:03:29 Message: update stable to v1.0.89 17:03:30 ------------------- 17:03:30 experimental info: 17:03:30 ------------------- 17:03:30 Commited By: **** collab-it+edgex@linuxfoundation.org 17:03:30 Commit SHA: 50d5b24b0ab5f81d75c339234d0e2512bee9338e 17:03:30 Message: update experimental to v1.0.91 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 17:03:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:03:31 17:03:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:03:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:03:32 latest: Pulling from edgex-devops/git-semver 17:03:32 9123ac7c32f7: Pulling fs layer 17:03:32 b8cc5d1170e3: Pulling fs layer 17:03:32 2924cbbf6a41: Pulling fs layer 17:03:32 93b08a4f1073: Pulling fs layer 17:03:32 93b08a4f1073: Waiting 17:03:32 b8cc5d1170e3: Verifying Checksum 17:03:32 b8cc5d1170e3: Download complete 17:03:32 9123ac7c32f7: Verifying Checksum 17:03:32 9123ac7c32f7: Download complete 17:03:32 93b08a4f1073: Verifying Checksum 17:03:32 93b08a4f1073: Download complete 17:03:32 2924cbbf6a41: Verifying Checksum 17:03:32 2924cbbf6a41: Download complete 17:03:32 9123ac7c32f7: Pull complete 17:03:32 b8cc5d1170e3: Pull complete 17:03:33 2924cbbf6a41: Pull complete 17:03:33 93b08a4f1073: Pull complete 17:03:33 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 17:03:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:03:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:03:33 prd-centos7-docker-4c-2g-4902 does not seem to be running inside a container 17:03:33 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-116 -v /w/workspace/foundry_device-virtual-go_PR-116:/w/workspace/foundry_device-virtual-go_PR-116:rw,z -v /w/workspace/foundry_device-virtual-go_PR-116@tmp:/w/workspace/foundry_device-virtual-go_PR-116@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 17:03:35 $ docker top f71963fde97e39a242cb8cc582b200be7015736a98010738bfd812318d8a0cd6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:03:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:03:35 [ssh-agent] Looking for ssh-agent implementation... 17:03:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:03:36 $ docker exec f71963fde97e39a242cb8cc582b200be7015736a98010738bfd812318d8a0cd6 ssh-agent 17:03:36 SSH_AUTH_SOCK=/tmp/ssh-AuSrlzx5O2dR/agent.11 17:03:36 SSH_AGENT_PID=16 17:03:36 Running ssh-add (command line suppressed) 17:03:36 Identity added: /w/workspace/foundry_device-virtual-go_PR-116@tmp/private_key_5421574142132179736.key (/w/workspace/foundry_device-virtual-go_PR-116@tmp/private_key_5421574142132179736.key) 17:03:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:03:36 + git describe --exact-match --tags HEAD 17:03:36 fatal: No names found, cannot describe anything. [Pipeline] } 17:03:37 $ docker exec --env ******** --env ******** f71963fde97e39a242cb8cc582b200be7015736a98010738bfd812318d8a0cd6 ssh-agent -k 17:03:37 unset SSH_AUTH_SOCK; 17:03:37 unset SSH_AGENT_PID; 17:03:37 echo Agent pid 16 killed; 17:03:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 17:03:37 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 17:03:37 This usually means this commit has not been tagged. [Pipeline] sshagent 17:03:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:03:37 [ssh-agent] Looking for ssh-agent implementation... 17:03:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:03:37 $ docker exec f71963fde97e39a242cb8cc582b200be7015736a98010738bfd812318d8a0cd6 ssh-agent 17:03:37 SSH_AUTH_SOCK=/tmp/ssh-1MqT4bTlbnej/agent.45 17:03:37 SSH_AGENT_PID=50 17:03:37 Running ssh-add (command line suppressed) 17:03:37 Identity added: /w/workspace/foundry_device-virtual-go_PR-116@tmp/private_key_243984692449509991.key (/w/workspace/foundry_device-virtual-go_PR-116@tmp/private_key_243984692449509991.key) 17:03:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:03:38 + git semver init 17:03:38 # -> Open(): unable to determine branch for HEAD 17:03:38 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-116/.git 17:03:38 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-116 17:03:38 # $SEMVER_REMOTE_NAME = origin 17:03:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:03:38 # $SEMVER_USER_NAME = edgex-jenkins 17:03:38 # $SEMVER_BRANCH = PR-116 17:03:38 # $SEMVER_TEMP = /tmp/semver-835463891 17:03:38 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 17:03:38 # '/tmp/semver-835463891' -> '/w/workspace/foundry_device-virtual-go_PR-116/.semver' 17:03:38 # -> Force: false 17:03:38 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-116/.semver [Pipeline] } 17:03:38 $ docker exec --env ******** --env ******** f71963fde97e39a242cb8cc582b200be7015736a98010738bfd812318d8a0cd6 ssh-agent -k 17:03:38 unset SSH_AUTH_SOCK; 17:03:38 unset SSH_AGENT_PID; 17:03:38 echo Agent pid 50 killed; 17:03:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:03:39 + git semver [Pipeline] } 17:03:39 $ docker stop --time=1 f71963fde97e39a242cb8cc582b200be7015736a98010738bfd812318d8a0cd6 17:03:40 $ docker rm -f f71963fde97e39a242cb8cc582b200be7015736a98010738bfd812318d8a0cd6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 17:03:41 Stashed 34 file(s) [Pipeline] echo 17:03:41 [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 17:03:56 Still waiting to schedule task 17:03:56 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4902’ 17:03:56 Still waiting to schedule task 17:03:56 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:05:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4904 in /w/workspace/foundry_device-virtual-go_PR-116 [Pipeline] { [Pipeline] ws 17:05:29 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 17:05:34 using credential edgex-jenkins-ssh 17:05:34 Cloning the remote Git repository 17:05:34 Cloning with configured refspecs honoured and without tags 17:05:35 Fetching without tags 17:05:34 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 17:05:34 > git init /w/workspace/device-virtual-go/1 # timeout=10 17:05:34 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:05:34 > git --version # timeout=10 17:05:34 using GIT_SSH to set credentials SSH Credentials for GitHub 17:05:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:05:35 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:05:35 > git config --add remote.origin.fetch +refs/pull/116/head:refs/remotes/origin/PR-116 # timeout=10 17:05:35 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:05:35 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:05:35 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:05:35 using GIT_SSH to set credentials SSH Credentials for GitHub 17:05:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:05:37 Merging remotes/origin/master commit 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 into PR head commit 02e176c4d89a90814e20cfdd73574948d4026b2b 17:05:37 Merge succeeded, producing 02e176c4d89a90814e20cfdd73574948d4026b2b 17:05:37 Checking out Revision 02e176c4d89a90814e20cfdd73574948d4026b2b (PR-116) 17:05:37 > git config core.sparsecheckout # timeout=10 17:05:37 > git checkout -f 02e176c4d89a90814e20cfdd73574948d4026b2b # timeout=10 17:05:37 > git remote # timeout=10 17:05:37 > git config --get remote.origin.url # timeout=10 17:05:37 using GIT_SSH to set credentials SSH Credentials for GitHub 17:05:37 > git merge 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 # timeout=10 17:05:37 > git rev-parse HEAD^{commit} # timeout=10 17:05:37 > git config core.sparsecheckout # timeout=10 17:05:37 > git checkout -f 02e176c4d89a90814e20cfdd73574948d4026b2b # timeout=10 17:05:42 Commit message: "fix: High memory usage" 17:05:42 > git --version # timeout=10 17:05:42 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:05:43 ========================================================= 17:05:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 17:05:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:05:44 + 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 . 17:05:45 Sending build context to Docker daemon 533.5kB 17:05:45 Step 1/8 : ARG BASE=golang:1.13-alpine 17:05:45 Step 2/8 : FROM ${BASE} 17:05:45 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:05:45 cde5963f3b93: Pulling fs layer 17:05:45 2a23fa8c16f7: Pulling fs layer 17:05:45 777b28850792: Pulling fs layer 17:05:45 8a11ddd9e578: Pulling fs layer 17:05:45 4cf88f913ddb: Pulling fs layer 17:05:45 1df406cf5192: Pulling fs layer 17:05:45 cd6300453558: Pulling fs layer 17:05:45 b9c365052c96: Pulling fs layer 17:05:45 a2d8cc88f415: Pulling fs layer 17:05:45 ea1d1ca13537: Pulling fs layer 17:05:45 3750a50a1c5e: Pulling fs layer 17:05:45 1df406cf5192: Waiting 17:05:45 cd6300453558: Waiting 17:05:45 b9c365052c96: Waiting 17:05:45 a2d8cc88f415: Waiting 17:05:45 ea1d1ca13537: Waiting 17:05:45 3750a50a1c5e: Waiting 17:05:45 8a11ddd9e578: Waiting 17:05:45 4cf88f913ddb: Waiting 17:05:45 777b28850792: Download complete 17:05:45 2a23fa8c16f7: Verifying Checksum 17:05:45 2a23fa8c16f7: Download complete 17:05:45 4cf88f913ddb: Verifying Checksum 17:05:45 4cf88f913ddb: Download complete 17:05:45 1df406cf5192: Download complete 17:05:46 cde5963f3b93: Verifying Checksum 17:05:46 cde5963f3b93: Download complete 17:05:47 cde5963f3b93: Pull complete 17:05:47 2a23fa8c16f7: Pull complete 17:05:48 cd6300453558: Verifying Checksum 17:05:48 cd6300453558: Download complete 17:05:48 777b28850792: Pull complete 17:05:48 a2d8cc88f415: Verifying Checksum 17:05:48 a2d8cc88f415: Download complete 17:05:49 ea1d1ca13537: Verifying Checksum 17:05:49 ea1d1ca13537: Download complete 17:05:49 3750a50a1c5e: Download complete 17:05:51 b9c365052c96: Verifying Checksum 17:05:51 b9c365052c96: Download complete 17:05:51 8a11ddd9e578: Verifying Checksum 17:05:51 8a11ddd9e578: Download complete 17:06:03 8a11ddd9e578: Pull complete 17:06:03 4cf88f913ddb: Pull complete 17:06:03 1df406cf5192: Pull complete 17:06:07 cd6300453558: Pull complete 17:06:13 b9c365052c96: Pull complete 17:06:13 a2d8cc88f415: Pull complete 17:06:14 ea1d1ca13537: Pull complete 17:06:15 3750a50a1c5e: Pull complete 17:06:15 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 17:06:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 17:06:15 ---> 78745c68409d 17:06:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 17:06:20 ---> Running in 9f126f5cfa2e 17:06:20 Removing intermediate container 9f126f5cfa2e 17:06:20 ---> ebc8a6f5f786 17:06:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:06:20 ---> Running in 55bf28facaf1 17:06:23 Removing intermediate container 55bf28facaf1 17:06:23 ---> e1fe9d714462 17:06:23 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 17:06:23 ---> Running in 0629a7b26c1b 17:06:24 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 17:06:25 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 17:06:26 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 17:06:26 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 17:06:26 (3/18) Installing libmagic (5.37-r1) 17:06:26 (4/18) Installing file (5.37-r1) 17:06:26 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 17:06:26 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 17:06:26 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 17:06:32 (8/18) Installing libc-dev (0.7.2-r0) 17:06:32 (9/18) Installing g++ (9.2.0-r4) 17:06:35 (10/18) Installing fortify-headers (1.1-r0) 17:06:35 (11/18) Installing build-base (0.5-r1) 17:06:35 (12/18) Installing openssh-keygen (8.1_p1-r0) 17:06:35 (13/18) Installing libedit (20191211.3.1-r0) 17:06:35 (14/18) Installing openssh-client (8.1_p1-r0) 17:06:36 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 17:06:36 (16/18) Installing openssh-server-common (8.1_p1-r0) 17:06:36 (17/18) Installing openssh-server (8.1_p1-r0) 17:06:36 (18/18) Installing openssh (8.1_p1-r0) 17:06:36 Executing busybox-1.31.1-r8.trigger 17:06:36 OK: 203 MiB in 52 packages 17:06:43 Removing intermediate container 0629a7b26c1b 17:06:43 ---> f80b3c79458d 17:06:43 Step 6/8 : WORKDIR /device-virtual-go 17:06:43 ---> Running in b0f1deac331a 17:06:44 Removing intermediate container b0f1deac331a 17:06:44 ---> 10b5730d4b42 17:06:44 Step 7/8 : COPY . . 17:06:44 ---> e2f87b06cf6e 17:06:44 Step 8/8 : RUN go mod download 17:06:44 ---> Running in 33ff3c46fc5e 17:06:48 go: finding github.com/BurntSushi/toml v0.3.1 17:06:48 go: finding github.com/OneOfOne/xxhash v1.2.6 17:06:48 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 17:06:48 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:06:48 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 17:06:48 go: finding github.com/bgentry/speakeasy v0.1.0 17:06:48 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:06:48 go: finding github.com/davecgh/go-spew v1.1.1 17:06:48 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 17:06:48 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 17:06:48 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:06:48 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 17:06:48 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 17:06:48 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:06:48 go: finding github.com/edsrzf/mmap-go v1.0.0 17:06:48 go: finding github.com/fatih/color v1.7.0 17:06:48 go: finding github.com/fxamacker/cbor/v2 v2.2.0 17:06:48 go: finding github.com/go-kit/kit v0.8.0 17:06:48 go: finding github.com/go-logfmt/logfmt v0.4.0 17:06:48 go: finding github.com/go-stack/stack v1.8.0 17:06:48 go: finding github.com/golang/snappy v0.0.1 17:06:48 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:06:48 go: finding github.com/google/uuid v1.1.0 17:06:48 go: finding github.com/gorilla/mux v1.7.1 17:06:48 go: finding github.com/hashicorp/consul/api v1.1.0 17:06:48 go: finding github.com/hashicorp/consul/sdk v0.1.1 17:06:48 go: finding github.com/hashicorp/errwrap v1.0.0 17:06:48 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:06:48 Running on prd-centos7-docker-4c-2g-4905 in /w/workspace/foundry_device-virtual-go_PR-116 [Pipeline] { [Pipeline] ws 17:06:48 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 17:06:48 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:06:48 go: finding github.com/hashicorp/go-msgpack v0.5.3 17:06:48 go: finding github.com/hashicorp/go-multierror v1.0.0 17:06:48 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:06:48 go: finding github.com/hashicorp/go-sockaddr v1.0.0 17:06:48 go: finding github.com/hashicorp/go-syslog v1.0.0 17:06:48 go: finding github.com/hashicorp/go-uuid v1.0.1 17:06:48 go: finding github.com/hashicorp/go.net v0.0.1 17:06:48 go: finding github.com/hashicorp/golang-lru v0.5.0 17:06:48 go: finding github.com/hashicorp/logutils v1.0.0 17:06:48 go: finding github.com/hashicorp/mdns v1.0.0 17:06:48 go: finding github.com/hashicorp/memberlist v0.1.3 17:06:48 go: finding github.com/hashicorp/serf v0.8.2 17:06:48 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:06:48 go: finding github.com/mattn/go-colorable v0.0.9 17:06:48 go: finding github.com/mattn/go-isatty v0.0.3 17:06:48 go: finding github.com/miekg/dns v1.0.14 17:06:48 go: finding github.com/mitchellh/cli v1.0.0 17:06:48 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:06:48 go: finding github.com/mitchellh/copystructure v1.0.0 17:06:48 go: finding github.com/mitchellh/go-homedir v1.0.0 17:06:48 go: finding github.com/mitchellh/go-testing-interface v1.0.0 17:06:49 go: finding github.com/mitchellh/gox v0.4.0 17:06:49 go: finding github.com/mitchellh/iochan v1.0.0 17:06:49 go: finding github.com/mitchellh/mapstructure v1.1.2 17:06:49 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:06:49 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:06:49 go: finding github.com/pelletier/go-toml v1.2.0 17:06:49 go: finding github.com/pkg/errors v0.8.1 17:06:49 go: finding github.com/pmezard/go-difflib v1.0.0 17:06:49 go: finding github.com/posener/complete v1.1.1 17:06:49 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 17:06:49 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 17:06:49 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:06:49 go: finding github.com/stretchr/objx v0.1.0 17:06:49 go: finding github.com/stretchr/testify v1.5.1 17:06:49 go: finding github.com/ugorji/go v1.1.4 17:06:49 go: finding github.com/x448/float16 v0.8.4 17:06:49 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 17:06:49 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 17:06:49 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 17:06:49 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 17:06:49 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 17:06:49 go: finding gopkg.in/yaml.v2 v2.2.8 17:06:49 go: finding modernc.org/b v1.0.0 17:06:49 go: finding modernc.org/db v1.0.0 17:06:49 go: finding modernc.org/file v1.0.0 17:06:49 go: finding modernc.org/fileutil v1.0.0 17:06:49 go: finding modernc.org/golex v1.0.0 17:06:49 go: finding modernc.org/internal v1.0.0 17:06:49 go: finding modernc.org/lldb v1.0.0 17:06:49 go: finding modernc.org/mathutil v1.0.0 17:06:49 go: finding modernc.org/ql v1.0.0 17:06:49 go: finding modernc.org/sortutil v1.0.0 17:06:49 go: finding modernc.org/strutil v1.0.0 17:06:49 go: finding modernc.org/zappy v1.0.0 17:06:53 using credential edgex-jenkins-ssh 17:06:53 Cloning the remote Git repository 17:06:53 Cloning with configured refspecs honoured and without tags 17:06:53 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 17:06:53 > git init /w/workspace/device-virtual-go/1 # timeout=10 17:06:54 Fetching without tags 17:06:53 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:06:53 > git --version # timeout=10 17:06:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:06:53 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:06:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:06:54 > git config --add remote.origin.fetch +refs/pull/116/head:refs/remotes/origin/PR-116 # timeout=10 17:06:54 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:06:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:06:54 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:06:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:06:54 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:06:54 Merging remotes/origin/master commit 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 into PR head commit 02e176c4d89a90814e20cfdd73574948d4026b2b 17:06:54 Merge succeeded, producing 02e176c4d89a90814e20cfdd73574948d4026b2b 17:06:54 Checking out Revision 02e176c4d89a90814e20cfdd73574948d4026b2b (PR-116) 17:06:54 > git config core.sparsecheckout # timeout=10 17:06:54 > git checkout -f 02e176c4d89a90814e20cfdd73574948d4026b2b # timeout=10 17:06:54 > git remote # timeout=10 17:06:54 > git config --get remote.origin.url # timeout=10 17:06:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:06:54 > git merge 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 # timeout=10 17:06:54 > git rev-parse HEAD^{commit} # timeout=10 17:06:54 > git config core.sparsecheckout # timeout=10 17:06:54 > git checkout -f 02e176c4d89a90814e20cfdd73574948d4026b2b # timeout=10 17:06:59 Commit message: "fix: High memory usage" 17:06:59 > git --version # timeout=10 17:06:59 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 17:07:00 Removing intermediate container 33ff3c46fc5e 17:07:00 ---> 88c39a0d1794 17:07:00 Successfully built 88c39a0d1794 17:07:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] echo 17:07:00 ========================================================= 17:07:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 17:07:00 ========================================================= [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:07:00 + 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 . 17:07:01 + docker inspect -f . ci-base-image-arm64 17:07:01 . 17:07:01 Sending build context to Docker daemon 533.5kB 17:07:01 Step 1/8 : ARG BASE=golang:1.13-alpine 17:07:01 Step 2/8 : FROM ${BASE} [Pipeline] withDockerContainer 17:07:01 prd-ubuntu18.04-docker-arm64-4c-16g-4904 does not seem to be running inside a container 17:07:01 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 17:07:01 e6b0cf9c0882: Pulling fs layer 17:07:01 2848faf0eed1: Pulling fs layer 17:07:01 0f37312ad70f: Pulling fs layer 17:07:01 5788d62ee057: Pulling fs layer 17:07:01 0e6b1d234666: Pulling fs layer 17:07:01 bf5d7aec512f: Pulling fs layer 17:07:01 34c802a77dc8: Pulling fs layer 17:07:01 9eb99e56ec68: Pulling fs layer 17:07:01 27c7a5d97fbd: Pulling fs layer 17:07:01 5c102a31e300: Pulling fs layer 17:07:01 dcfb455df0a1: Pulling fs layer 17:07:01 5788d62ee057: Waiting 17:07:01 9eb99e56ec68: Waiting 17:07:01 27c7a5d97fbd: Waiting 17:07:01 5c102a31e300: Waiting 17:07:01 dcfb455df0a1: Waiting 17:07:01 0e6b1d234666: Waiting 17:07:01 bf5d7aec512f: Waiting 17:07:01 34c802a77dc8: Waiting 17:07:01 0f37312ad70f: Verifying Checksum 17:07:01 0f37312ad70f: Download complete 17:07:01 2848faf0eed1: Verifying Checksum 17:07:01 2848faf0eed1: Download complete 17:07:01 0e6b1d234666: Verifying Checksum 17:07:01 0e6b1d234666: Download complete 17:07:01 bf5d7aec512f: Download complete 17:07:01 e6b0cf9c0882: Verifying Checksum 17:07:01 e6b0cf9c0882: Download complete 17:07:01 $ 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 17:07:02 e6b0cf9c0882: Pull complete 17:07:02 34c802a77dc8: Verifying Checksum 17:07:02 34c802a77dc8: Download complete 17:07:02 27c7a5d97fbd: Verifying Checksum 17:07:02 27c7a5d97fbd: Download complete 17:07:03 2848faf0eed1: Pull complete 17:07:03 5c102a31e300: Verifying Checksum 17:07:03 5c102a31e300: Download complete 17:07:03 $ docker top d68197c9c12f6c91c48427afeab4af83860024ad7c381fb3043ecb4defca904d -eo pid,comm 17:07:03 dcfb455df0a1: Verifying Checksum 17:07:03 dcfb455df0a1: Download complete [Pipeline] { [Pipeline] sh 17:07:04 0f37312ad70f: Pull complete 17:07:04 9eb99e56ec68: Verifying Checksum 17:07:04 9eb99e56ec68: Download complete 17:07:04 5788d62ee057: Verifying Checksum 17:07:04 5788d62ee057: Download complete 17:07:05 + go version 17:07:05 go version go1.13.5 linux/arm64 [Pipeline] sh 17:07:06 + make test 17:07:06 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:07:07 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:07:14 5788d62ee057: Pull complete 17:07:14 0e6b1d234666: Pull complete 17:07:14 bf5d7aec512f: Pull complete 17:07:19 34c802a77dc8: Pull complete 17:07:23 9eb99e56ec68: Pull complete 17:07:23 27c7a5d97fbd: Pull complete 17:07:24 5c102a31e300: Pull complete 17:07:25 dcfb455df0a1: Pull complete 17:07:25 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 17:07:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 17:07:25 ---> 7c70fe431013 17:07:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 17:07:26 ---> Running in c060794a9475 17:07:26 Removing intermediate container c060794a9475 17:07:26 ---> 20750d5c4f5d 17:07:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:07:26 ---> Running in b0b3ce9e7520 17:07:29 Removing intermediate container b0b3ce9e7520 17:07:29 ---> 7e93ba96b8e8 17:07:29 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 17:07:29 ---> Running in a2d014e11d28 17:07:29 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 17:07:30 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 17:07:30 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 17:07:30 (2/17) Installing libmagic (5.37-r1) 17:07:30 (3/17) Installing file (5.37-r1) 17:07:30 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 17:07:30 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 17:07:31 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 17:07:39 (7/17) Installing libc-dev (0.7.2-r0) 17:07:39 (8/17) Installing g++ (9.2.0-r4) 17:07:43 (9/17) Installing fortify-headers (1.1-r0) 17:07:43 (10/17) Installing build-base (0.5-r1) 17:07:43 (11/17) Installing openssh-keygen (8.1_p1-r0) 17:07:43 (12/17) Installing libedit (20191211.3.1-r0) 17:07:43 (13/17) Installing openssh-client (8.1_p1-r0) 17:07:43 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 17:07:43 (15/17) Installing openssh-server-common (8.1_p1-r0) 17:07:43 (16/17) Installing openssh-server (8.1_p1-r0) 17:07:44 (17/17) Installing openssh (8.1_p1-r0) 17:07:44 Executing busybox-1.31.1-r8.trigger 17:07:44 OK: 214 MiB in 52 packages 17:07:46 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:07:48 Removing intermediate container a2d014e11d28 17:07:48 ---> e5f7c32f66a3 17:07:48 Step 6/8 : WORKDIR /device-virtual-go 17:07:48 ---> Running in d9afd7268889 17:07:48 Removing intermediate container d9afd7268889 17:07:48 ---> c06c70b75ddd 17:07:48 Step 7/8 : COPY . . 17:07:49 ---> 89db76c9d727 17:07:49 Step 8/8 : RUN go mod download 17:07:49 ---> Running in fa2cf9998ba2 17:07:52 go: finding github.com/BurntSushi/toml v0.3.1 17:07:52 go: finding github.com/OneOfOne/xxhash v1.2.6 17:07:52 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 17:07:52 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:07:52 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 17:07:52 go: finding github.com/bgentry/speakeasy v0.1.0 17:07:52 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:07:52 go: finding github.com/davecgh/go-spew v1.1.1 17:07:52 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 17:07:52 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 17:07:52 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:07:52 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 17:07:52 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 17:07:52 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:07:52 go: finding github.com/edsrzf/mmap-go v1.0.0 17:07:52 go: finding github.com/fatih/color v1.7.0 17:07:52 go: finding github.com/fxamacker/cbor/v2 v2.2.0 17:07:52 go: finding github.com/go-kit/kit v0.8.0 17:07:52 go: finding github.com/go-logfmt/logfmt v0.4.0 17:07:52 go: finding github.com/go-stack/stack v1.8.0 17:07:52 go: finding github.com/golang/snappy v0.0.1 17:07:52 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:07:52 go: finding github.com/google/uuid v1.1.0 17:07:52 go: finding github.com/gorilla/mux v1.7.1 17:07:52 go: finding github.com/hashicorp/consul/api v1.1.0 17:07:52 go: finding github.com/hashicorp/consul/sdk v0.1.1 17:07:52 go: finding github.com/hashicorp/errwrap v1.0.0 17:07:52 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:07:52 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:07:52 go: finding github.com/hashicorp/go-msgpack v0.5.3 17:07:52 go: finding github.com/hashicorp/go-multierror v1.0.0 17:07:52 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:07:52 go: finding github.com/hashicorp/go-sockaddr v1.0.0 17:07:52 go: finding github.com/hashicorp/go-syslog v1.0.0 17:07:53 go: finding github.com/hashicorp/go-uuid v1.0.1 17:07:53 go: finding github.com/hashicorp/go.net v0.0.1 17:07:53 go: finding github.com/hashicorp/golang-lru v0.5.0 17:07:53 go: finding github.com/hashicorp/logutils v1.0.0 17:07:53 go: finding github.com/hashicorp/mdns v1.0.0 17:07:53 go: finding github.com/hashicorp/memberlist v0.1.3 17:07:53 go: finding github.com/hashicorp/serf v0.8.2 17:07:53 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:07:53 go: finding github.com/mattn/go-colorable v0.0.9 17:07:53 go: finding github.com/mattn/go-isatty v0.0.3 17:07:53 go: finding github.com/miekg/dns v1.0.14 17:07:53 go: finding github.com/mitchellh/cli v1.0.0 17:07:53 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:07:53 go: finding github.com/mitchellh/copystructure v1.0.0 17:07:53 go: finding github.com/mitchellh/go-homedir v1.0.0 17:07:53 go: finding github.com/mitchellh/go-testing-interface v1.0.0 17:07:53 go: finding github.com/mitchellh/gox v0.4.0 17:07:53 go: finding github.com/mitchellh/iochan v1.0.0 17:07:53 go: finding github.com/mitchellh/mapstructure v1.1.2 17:07:53 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:07:53 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:07:53 go: finding github.com/pelletier/go-toml v1.2.0 17:07:53 go: finding github.com/pkg/errors v0.8.1 17:07:53 go: finding github.com/pmezard/go-difflib v1.0.0 17:07:53 go: finding github.com/posener/complete v1.1.1 17:07:53 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 17:07:53 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 17:07:53 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:07:53 go: finding github.com/stretchr/objx v0.1.0 17:07:53 go: finding github.com/stretchr/testify v1.5.1 17:07:53 go: finding github.com/ugorji/go v1.1.4 17:07:53 go: finding github.com/x448/float16 v0.8.4 17:07:53 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 17:07:54 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 17:07:54 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 17:07:54 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 17:07:54 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 17:07:54 go: finding gopkg.in/yaml.v2 v2.2.8 17:07:54 go: finding modernc.org/b v1.0.0 17:07:54 go: finding modernc.org/db v1.0.0 17:07:54 go: finding modernc.org/file v1.0.0 17:07:54 go: finding modernc.org/fileutil v1.0.0 17:07:54 go: finding modernc.org/golex v1.0.0 17:07:54 go: finding modernc.org/internal v1.0.0 17:07:54 go: finding modernc.org/lldb v1.0.0 17:07:54 go: finding modernc.org/mathutil v1.0.0 17:07:54 go: finding modernc.org/ql v1.0.0 17:07:54 go: finding modernc.org/sortutil v1.0.0 17:07:54 go: finding modernc.org/strutil v1.0.0 17:07:54 go: finding modernc.org/zappy v1.0.0 17:08:06 Removing intermediate container fa2cf9998ba2 17:08:06 ---> e9f12ff51a6c 17:08:06 Successfully built e9f12ff51a6c 17:08: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 17:08:07 + docker inspect -f . ci-base-image-x86_64 17:08:07 . [Pipeline] withDockerContainer 17:08:08 prd-centos7-docker-4c-2g-4905 does not seem to be running inside a container 17:08: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 17:08:09 $ docker top eea46d0b13b427769ffcb6fefded0267abae4aaf990186ab8b05793cb9e42632 -eo pid,comm [Pipeline] { [Pipeline] sh 17:08:10 + go version 17:08:10 go version go1.13.5 linux/amd64 [Pipeline] sh 17:08:10 + make test 17:08:10 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:08:12 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:08:18 ok github.com/edgexfoundry/device-virtual-go/internal/driver 30.514s coverage: 52.6% of statements 17:08:18 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:08:25 gofmt -l . 17:08:25 [ "`gofmt -l .`" = "" ] 17:08:25 ./bin/test-attribution-txt.sh 17:08:25 ./bin/test-go-mod-tidy.sh [Pipeline] stash 17:08:26 Stashed 1 file(s) [Pipeline] } 17:08:26 $ docker stop --time=1 d68197c9c12f6c91c48427afeab4af83860024ad7c381fb3043ecb4defca904d 17:08:28 $ docker rm -f d68197c9c12f6c91c48427afeab4af83860024ad7c381fb3043ecb4defca904d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:08:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:08:31 + ls -al . 17:08:31 total 140 17:08:31 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 17:08 . 17:08:31 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 17:05 .. 17:08:31 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 17:05 .git 17:08:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 17:05 .github 17:08:31 -rw-rw-r-- 1 jenkins jenkins 258 Jun 30 17:05 .gitignore 17:08:31 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 17:05 .semver 17:08:31 -rw-rw-r-- 1 jenkins jenkins 6432 Jun 30 17:05 Attribution.txt 17:08:31 -rw-rw-r-- 1 jenkins jenkins 1826 Jun 30 17:05 Dockerfile 17:08:31 -rw-rw-r-- 1 jenkins jenkins 957 Jun 30 17:05 Dockerfile.build 17:08:31 -rw-rw-r-- 1 jenkins jenkins 683 Jun 30 17:05 Jenkinsfile 17:08:31 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 30 17:05 LICENSE 17:08:31 -rw-rw-r-- 1 jenkins jenkins 873 Jun 30 17:05 Makefile 17:08:31 -rw-rw-r-- 1 jenkins jenkins 4623 Jun 30 17:05 README.md 17:08:31 -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 17:03 VERSION 17:08:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 17:05 bin 17:08:31 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 17:05 cmd 17:08:31 -rw-r--r-- 1 jenkins jenkins 31362 Jun 30 17:08 coverage.out 17:08:31 -rw-r--r-- 1 jenkins jenkins 855 Jun 30 17:08 go.mod 17:08:31 -rw-r--r-- 1 jenkins jenkins 14894 Jun 30 17:08 go.sum 17:08:31 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 17:05 internal 17:08:31 -rw-rw-r-- 1 jenkins jenkins 235 Jun 30 17:05 version.go [Pipeline] isUnix [Pipeline] sh 17:08:31 + 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=02e176c4d89a90814e20cfdd73574948d4026b2b --label arch=arm64 --label version=0.0.0 . 17:08:31 Sending build context to Docker daemon 596kB 17:08:31 Step 1/21 : ARG BASE=golang:1.13-alpine 17:08:31 Step 2/21 : FROM ${BASE} AS builder 17:08:31 ---> 88c39a0d1794 17:08:31 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 17:08:32 ---> Running in ed97667c19e9 17:08:32 Removing intermediate container ed97667c19e9 17:08:32 ---> cc4c8344f8d3 17:08:32 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 17:08:32 ---> Running in dc29cbada37c 17:08:33 Removing intermediate container dc29cbada37c 17:08:33 ---> 3fca986c9822 17:08:33 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 17:08:33 ---> Running in ce19d25bc0e3 17:08:33 Removing intermediate container ce19d25bc0e3 17:08:33 ---> 247324d77bcc 17:08:33 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:08:33 ---> Running in 8da71edcb5b9 17:08:36 Removing intermediate container 8da71edcb5b9 17:08:36 ---> c1cae25e54e4 17:08:36 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:08:36 ---> Running in fce191f09f7b 17:08:37 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 17:08:38 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 17:08:39 OK: 203 MiB in 52 packages 17:08:39 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:08:40 Removing intermediate container fce191f09f7b 17:08:40 ---> 71d8bd1fa3c5 17:08:40 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 17:08:40 ---> Running in b8dcf901eb8b 17:08:40 Removing intermediate container b8dcf901eb8b 17:08:40 ---> dc45f5f0ace3 17:08:40 Step 9/21 : COPY . . 17:08:41 ---> 9ef7e4a50393 17:08:41 Step 10/21 : ARG MAKE='make build' 17:08:42 ---> Running in 2cf7ab644bc7 17:08:42 Removing intermediate container 2cf7ab644bc7 17:08:42 ---> 742a84045d54 17:08:42 Step 11/21 : RUN $MAKE 17:08:42 ---> Running in 2682032f178d 17:08:44 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 17:09:16 CGO_ENABLED=0 GO111MODULE=on go build ./... 17:09:18 ok github.com/edgexfoundry/device-virtual-go/internal/driver 35.384s coverage: 52.6% of statements 17:09:18 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:09:19 gofmt -l . 17:09:19 [ "`gofmt -l .`" = "" ] 17:09:19 ./bin/test-attribution-txt.sh 17:09:22 ./bin/test-go-mod-tidy.sh [Pipeline] stash 17:09:23 Warning: overwriting stash ‘coverage-report’ 17:09:23 Stashed 1 file(s) [Pipeline] } 17:09:23 $ docker stop --time=1 eea46d0b13b427769ffcb6fefded0267abae4aaf990186ab8b05793cb9e42632 17:09:24 Removing intermediate container 2682032f178d 17:09:24 ---> e29aab6f981c 17:09:24 Step 12/21 : FROM alpine 17:09:24 latest: Pulling from library/alpine 17:09:24 b538f80385f9: Pulling fs layer 17:09:24 b538f80385f9: Verifying Checksum 17:09:24 b538f80385f9: Download complete 17:09:25 b538f80385f9: Pull complete 17:09:25 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 17:09:25 Status: Downloaded newer image for alpine:latest 17:09:25 ---> 62ee0e9f8440 17:09:25 Step 13/21 : ENV APP_PORT=49990 17:09:25 ---> Running in a13225c468cf 17:09:25 $ docker rm -f eea46d0b13b427769ffcb6fefded0267abae4aaf990186ab8b05793cb9e42632 17:09:26 Removing intermediate container a13225c468cf 17:09:26 ---> ff9d5096547d 17:09:26 Step 14/21 : EXPOSE $APP_PORT 17:09:26 ---> Running in ea63ec930489 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 17:09:26 Removing intermediate container ea63ec930489 17:09:26 ---> f8c6e59a7928 17:09:26 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [Pipeline] script [Pipeline] { [Pipeline] sh 17:09:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:09:27 + ls -al . 17:09:27 total 112 17:09:27 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 30 17:09 . 17:09:27 drwxrwxr-x. 4 jenkins jenkins 28 Jun 30 17:06 .. 17:09:27 -rw-rw-r--. 1 jenkins jenkins 6432 Jun 30 17:06 Attribution.txt 17:09:27 drwxrwxr-x. 2 jenkins jenkins 64 Jun 30 17:06 bin 17:09:27 drwxrwxr-x. 3 jenkins jenkins 32 Jun 30 17:06 cmd 17:09:27 -rw-r--r--. 1 jenkins jenkins 31362 Jun 30 17:09 coverage.out 17:09:27 -rw-rw-r--. 1 jenkins jenkins 1826 Jun 30 17:06 Dockerfile 17:09:27 -rw-rw-r--. 1 jenkins jenkins 957 Jun 30 17:06 Dockerfile.build 17:09:27 drwxrwxr-x. 8 jenkins jenkins 179 Jun 30 17:06 .git 17:09:27 drwxrwxr-x. 2 jenkins jenkins 38 Jun 30 17:06 .github 17:09:27 -rw-rw-r--. 1 jenkins jenkins 258 Jun 30 17:06 .gitignore 17:09:27 -rw-r--r--. 1 jenkins jenkins 855 Jun 30 17:09 go.mod 17:09:27 -rw-r--r--. 1 jenkins jenkins 14894 Jun 30 17:09 go.sum 17:09:27 drwxrwxr-x. 3 jenkins jenkins 20 Jun 30 17:06 internal 17:09:27 -rw-rw-r--. 1 jenkins jenkins 683 Jun 30 17:06 Jenkinsfile 17:09:27 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 30 17:06 LICENSE 17:09:27 -rw-rw-r--. 1 jenkins jenkins 873 Jun 30 17:06 Makefile 17:09:27 -rw-rw-r--. 1 jenkins jenkins 4623 Jun 30 17:06 README.md 17:09:27 drwxrwxr-x. 3 jenkins jenkins 58 Jun 30 17:07 .semver 17:09:27 -rw-rw-r--. 1 jenkins jenkins 5 Jun 30 17:03 VERSION 17:09:27 -rw-rw-r--. 1 jenkins jenkins 235 Jun 30 17:06 version.go [Pipeline] isUnix [Pipeline] sh 17:09:28 + 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=02e176c4d89a90814e20cfdd73574948d4026b2b --label arch=amd64 --label version=0.0.0 . 17:09:28 Sending build context to Docker daemon 596kB 17:09:28 Step 1/21 : ARG BASE=golang:1.13-alpine 17:09:28 Step 2/21 : FROM ${BASE} AS builder 17:09:28 ---> e9f12ff51a6c 17:09:28 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 17:09:28 ---> 9cace4d815d4 17:09:28 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 17:09:28 ---> Running in 3b28dd309a90 17:09:28 ---> 242d9c0ac117 17:09:28 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 17:09:29 ---> 5816a842e623 17:09:29 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 17:09:29 Removing intermediate container 3b28dd309a90 17:09:29 ---> b32d1e92704f 17:09:29 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 17:09:29 ---> Running in 0ef0acb69af4 17:09:29 ---> Running in 08c51045f199 17:09:29 Removing intermediate container 0ef0acb69af4 17:09:29 ---> 51b337256cde 17:09:29 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 17:09:29 ---> Running in 58a9fdc92872 17:09:30 Removing intermediate container 08c51045f199 17:09:30 ---> 9e9b8bc3bcfb 17:09:30 Step 19/21 : LABEL arch=arm64 17:09:30 Removing intermediate container 58a9fdc92872 17:09:30 ---> 682f7a31b123 17:09:30 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:09:30 ---> Running in 0e07afd98fab 17:09:30 ---> Running in 89697e2f5fef 17:09:30 Removing intermediate container 89697e2f5fef 17:09:30 ---> d0f67da5079c 17:09:30 Step 20/21 : LABEL git_sha=02e176c4d89a90814e20cfdd73574948d4026b2b 17:09:30 ---> Running in 4dc1de7dcbe8 17:09:31 Removing intermediate container 4dc1de7dcbe8 17:09:31 ---> 902a2b49a7be 17:09:31 Step 21/21 : LABEL version=0.0.0 17:09:31 ---> Running in 8807d0479689 17:09:31 Removing intermediate container 8807d0479689 17:09:31 ---> 1533dc50d932 17:09:31 [Warning] One or more build-args [ARCH] were not consumed 17:09:31 Successfully built 1533dc50d932 17:09:31 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] } 17:09:32 Removing intermediate container 0e07afd98fab 17:09:32 ---> d42de518b6a0 17:09:32 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:09:32 ---> Running in e4707f34f8e7 [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:09:32 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 17:09:33 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 17:09:34 OK: 214 MiB in 52 packages 17:09:34 Removing intermediate container e4707f34f8e7 17:09:34 ---> e71ab425f1ed 17:09:34 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 17:09:34 ---> Running in e610738157e2 17:09:35 Removing intermediate container e610738157e2 17:09:35 ---> ebf33287f68b 17:09:35 Step 9/21 : COPY . . 17:09:35 ---> a43f4e9ff511 17:09:35 Step 10/21 : ARG MAKE='make build' 17:09:35 ---> Running in 4cfda416c1b2 17:09:36 Removing intermediate container 4cfda416c1b2 17:09:36 ---> 56749ca746a0 17:09:36 Step 11/21 : RUN $MAKE 17:09:36 ---> Running in d512ff182512 17:09:37 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 17:10:00 CGO_ENABLED=0 GO111MODULE=on go build ./... 17:10:07 Removing intermediate container d512ff182512 17:10:07 ---> 88e7e4506bb5 17:10:07 Step 12/21 : FROM alpine 17:10:07 latest: Pulling from library/alpine 17:10:07 df20fa9351a1: Pulling fs layer 17:10:07 df20fa9351a1: Verifying Checksum 17:10:07 df20fa9351a1: Download complete 17:10:08 df20fa9351a1: Pull complete 17:10:08 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 17:10:08 Status: Downloaded newer image for alpine:latest 17:10:08 ---> a24bb4013296 17:10:08 Step 13/21 : ENV APP_PORT=49990 17:10:08 ---> Running in cc5f423f4d64 17:10:08 Removing intermediate container cc5f423f4d64 17:10:08 ---> d9c356a920c0 17:10:08 Step 14/21 : EXPOSE $APP_PORT 17:10:08 ---> Running in 211429e90ddd 17:10:08 Removing intermediate container 211429e90ddd 17:10:08 ---> 529025a230cb 17:10:08 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 17:10:09 ---> 32e7c0c7e28d 17:10:09 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 17:10:09 ---> 97f0bb05c1d8 17:10:09 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 17:10:10 ---> 543f678d8b10 17:10:10 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 17:10:10 ---> Running in e64b8c11da75 17:10:10 Removing intermediate container e64b8c11da75 17:10:10 ---> 5610bdceea89 17:10:10 Step 19/21 : LABEL arch=amd64 17:10:10 ---> Running in 7ce114db3ca4 17:10:10 Removing intermediate container 7ce114db3ca4 17:10:10 ---> 319abff38af6 17:10:10 Step 20/21 : LABEL git_sha=02e176c4d89a90814e20cfdd73574948d4026b2b 17:10:10 ---> Running in 40d0918e24c4 17:10:10 Removing intermediate container 40d0918e24c4 17:10:10 ---> d4b845d17e2b 17:10:10 Step 21/21 : LABEL version=0.0.0 17:10:11 ---> Running in 87c90c8b0e35 17:10:11 Removing intermediate container 87c90c8b0e35 17:10:11 ---> 9514e739c05e 17:10:11 [Warning] One or more build-args [ARCH] were not consumed 17:10:11 Successfully built 9514e739c05e 17:10:11 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 17:10:12 provisioning config files... 17:10:12 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-116@tmp/config387805780451121979tmp [Pipeline] { [Pipeline] sh 17:10:13 + curl -s https://codecov.io/bash 17:10:13 + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-116@tmp/config387805780451121979tmp [Pipeline] } 17:10:13 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 17:10:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:10:15 ---> package-listing.sh 17:10:15 ++ facter osfamily 17:10:15 ++ tr '[:upper:]' '[:lower:]' 17:10:15 + OS_FAMILY=redhat 17:10:15 + workspace=/w/workspace/foundry_device-virtual-go_PR-116 17:10:15 + START_PACKAGES=/tmp/packages_start.txt 17:10:15 + END_PACKAGES=/tmp/packages_end.txt 17:10:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:10:15 + PACKAGES=/tmp/packages_start.txt 17:10:15 + '[' /w/workspace/foundry_device-virtual-go_PR-116 ']' 17:10:15 + PACKAGES=/tmp/packages_end.txt 17:10:15 + case "${OS_FAMILY}" in 17:10:15 + rpm -qa 17:10:15 + sort 17:10:19 + '[' -f /tmp/packages_start.txt ']' 17:10:19 + '[' -f /tmp/packages_end.txt ']' 17:10:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:10:19 + '[' /w/workspace/foundry_device-virtual-go_PR-116 ']' 17:10:19 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-116/archives/ 17:10:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-116/archives/ [Pipeline] isUnix [Pipeline] sh 17:10:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:10:19 17:10:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:10:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:10:20 alpine: Pulling from edgex-lftools-log-publisher 17:10:20 c9b1b535fdd9: Pulling fs layer 17:10:20 2cc5ad85d9ab: Pulling fs layer 17:10:20 756a868c4378: Pulling fs layer 17:10:20 444b2fc9a129: Pulling fs layer 17:10:20 ea15f1150254: Pulling fs layer 17:10:20 41b27a9f41bf: Pulling fs layer 17:10:20 28c525ee5125: Pulling fs layer 17:10:20 094b1ea09ed8: Pulling fs layer 17:10:20 138eaada9080: Pulling fs layer 17:10:20 0622d0fa9048: Pulling fs layer 17:10:20 ea15f1150254: Waiting 17:10:20 444b2fc9a129: Waiting 17:10:20 41b27a9f41bf: Waiting 17:10:20 094b1ea09ed8: Waiting 17:10:20 28c525ee5125: Waiting 17:10:20 138eaada9080: Waiting 17:10:20 0622d0fa9048: Waiting 17:10:20 2cc5ad85d9ab: Verifying Checksum 17:10:20 2cc5ad85d9ab: Download complete 17:10:20 444b2fc9a129: Verifying Checksum 17:10:20 444b2fc9a129: Download complete 17:10:20 c9b1b535fdd9: Download complete 17:10:20 ea15f1150254: Verifying Checksum 17:10:20 ea15f1150254: Download complete 17:10:20 28c525ee5125: Verifying Checksum 17:10:20 28c525ee5125: Download complete 17:10:20 756a868c4378: Verifying Checksum 17:10:20 756a868c4378: Download complete 17:10:20 c9b1b535fdd9: Pull complete 17:10:20 094b1ea09ed8: Verifying Checksum 17:10:20 094b1ea09ed8: Download complete 17:10:20 0622d0fa9048: Verifying Checksum 17:10:20 0622d0fa9048: Download complete 17:10:20 138eaada9080: Verifying Checksum 17:10:20 138eaada9080: Download complete 17:10:20 2cc5ad85d9ab: Pull complete 17:10:20 41b27a9f41bf: Verifying Checksum 17:10:20 41b27a9f41bf: Download complete 17:10:22 756a868c4378: Pull complete 17:10:22 444b2fc9a129: Pull complete 17:10:22 ea15f1150254: Pull complete 17:10:26 41b27a9f41bf: Pull complete 17:10:26 28c525ee5125: Pull complete 17:10:29 094b1ea09ed8: Pull complete 17:10:29 138eaada9080: Pull complete 17:10:29 0622d0fa9048: Pull complete 17:10:29 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 17:10:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:10:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:10:29 prd-centos7-docker-4c-2g-4902 does not seem to be running inside a container 17:10:29 $ 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-116 -v /w/workspace/foundry_device-virtual-go_PR-116:/w/workspace/foundry_device-virtual-go_PR-116:rw,z -v /w/workspace/foundry_device-virtual-go_PR-116@tmp:/w/workspace/foundry_device-virtual-go_PR-116@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 17:10:33 $ docker top 4aa2ed1312233d1c495357fa6ad628d26a7d52366cb5cf91a8eb37e3d47538fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:10:33 provisioning config files... 17:10:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-116@tmp/config6448009187040187343tmp [Pipeline] { [Pipeline] echo 17:10:33 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:10:34 ---> create-netrc.sh [Pipeline] echo 17:10:34 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:10:34 ---> logs-deploy.sh 17:10:34 + ARCHIVE_ARTIFACTS= 17:10:34 + LOGS_SERVER=https://logs.edgexfoundry.org 17:10:34 + '[' https://logs.edgexfoundry.org == None ']' 17:10:34 + NEXUS_URL=https://nexus.edgexfoundry.org 17:10:34 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-116/1 17:10:34 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-116/1/ 17:10:34 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-116/1 /w/workspace/foundry_device-virtual-go_PR-116 17:10:35 Archives upload complete. 17:10:35 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-116/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-116/1/ 17:10:36 ---> uname -a: 17:10:36 Linux 4aa2ed131223 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 17:10:36 17:10:36 17:10:36 ---> lscpu: 17:10:36 Architecture: x86_64 17:10:36 CPU op-mode(s): 32-bit, 64-bit 17:10:36 Byte Order: Little Endian 17:10:36 Address sizes: 40 bits physical, 48 bits virtual 17:10:36 CPU(s): 4 17:10:36 On-line CPU(s) list: 0-3 17:10:36 Thread(s) per core: 1 17:10:36 Core(s) per socket: 1 17:10:36 Socket(s): 4 17:10:36 NUMA node(s): 1 17:10:36 Vendor ID: GenuineIntel 17:10:36 CPU family: 6 17:10:36 Model: 44 17:10:36 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 17:10:36 Stepping: 1 17:10:36 CPU MHz: 2933.396 17:10:36 BogoMIPS: 5866.79 17:10:36 Virtualization: VT-x 17:10:36 Hypervisor vendor: KVM 17:10:36 Virtualization type: full 17:10:36 L1d cache: 128 KiB 17:10:36 L1i cache: 128 KiB 17:10:36 L2 cache: 16 MiB 17:10:36 L3 cache: 64 MiB 17:10:36 NUMA node0 CPU(s): 0-3 17:10:36 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 17:10:36 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 17:10:36 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 17:10:36 Vulnerability Meltdown: Mitigation; PTI 17:10:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:10:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 17:10:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 17:10:36 Vulnerability Tsx async abort: Not affected 17:10:36 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 17:10:36 17:10:36 17:10:36 ---> nproc: 17:10:36 4 17:10:36 17:10:36