Pull request #102 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 ce810a4efc1ce06064667d5d276fd1322ddfbc85+ad6ffe2e39edb285e4eeee4f80e60975285ca78d (91bcf54aa4390882c2b4f677f4fbb5566fe9bda3) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-102/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6250 in /w/workspace/foundry_device-virtual-go_PR-102 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-102 # 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/102/head:refs/remotes/origin/PR-102 +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/102/head:refs/remotes/origin/PR-102 # 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/102/head:refs/remotes/origin/PR-102 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit ad6ffe2e39edb285e4eeee4f80e60975285ca78d into PR head commit ce810a4efc1ce06064667d5d276fd1322ddfbc85 Merge succeeded, producing ce810a4efc1ce06064667d5d276fd1322ddfbc85 Checking out Revision ce810a4efc1ce06064667d5d276fd1322ddfbc85 (PR-102) > git config core.sparsecheckout # timeout=10 > git checkout -f ce810a4efc1ce06064667d5d276fd1322ddfbc85 # 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 ad6ffe2e39edb285e4eeee4f80e60975285ca78d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce810a4efc1ce06064667d5d276fd1322ddfbc85 # timeout=10 Commit message: "Fix potential data race" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:11:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:11:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:11:56 ========================================================= 08:11:56 EdgeX Global Pipelines Version Info 08:11:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:11:58 ------------------- 08:11:58 stable info: 08:11:58 ------------------- 08:11:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:11:58 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 08:11:58 Message: update stable to v1.0.73 08:11:58 ------------------- 08:11:58 experimental info: 08:11:58 ------------------- 08:11:58 Commited By: Emilio Reyes emilio.reyes@intel.com 08:11:58 Commit SHA: e9f46a538d08225106cc4f35d30277fc6c232516 08:11:58 Message: update experimental to v1.0.84 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 08:12:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:12:01 08:12:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:12:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:12:03 latest: Pulling from edgex-devops/git-semver 08:12:03 9123ac7c32f7: Pulling fs layer 08:12:03 b8cc5d1170e3: Pulling fs layer 08:12:03 2924cbbf6a41: Pulling fs layer 08:12:03 93b08a4f1073: Pulling fs layer 08:12:03 b8cc5d1170e3: Verifying Checksum 08:12:03 b8cc5d1170e3: Download complete 08:12:03 9123ac7c32f7: Verifying Checksum 08:12:03 9123ac7c32f7: Download complete 08:12:03 93b08a4f1073: Verifying Checksum 08:12:03 93b08a4f1073: Download complete 08:12:04 9123ac7c32f7: Pull complete 08:12:04 2924cbbf6a41: Verifying Checksum 08:12:04 2924cbbf6a41: Download complete 08:12:04 b8cc5d1170e3: Pull complete 08:12:06 2924cbbf6a41: Pull complete 08:12:06 93b08a4f1073: Pull complete 08:12:06 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 08:12:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:12:06 prd-centos7-docker-4c-2g-6250 does not seem to be running inside a container 08:12:07 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-102 -v /w/workspace/foundry_device-virtual-go_PR-102:/w/workspace/foundry_device-virtual-go_PR-102:rw,z -v /w/workspace/foundry_device-virtual-go_PR-102@tmp:/w/workspace/foundry_device-virtual-go_PR-102@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 08:12:07 $ docker top 2b3e856adb363802d25a4c4adedf34a949b98f18ba9d34d0e55d1d4580875ee9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:12:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:12:08 [ssh-agent] Looking for ssh-agent implementation... 08:12:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:12:08 $ docker exec 2b3e856adb363802d25a4c4adedf34a949b98f18ba9d34d0e55d1d4580875ee9 ssh-agent 08:12:08 SSH_AUTH_SOCK=/tmp/ssh-5Cbz5hBW993L/agent.14 08:12:08 SSH_AGENT_PID=20 08:12:08 Running ssh-add (command line suppressed) 08:12:09 Identity added: /w/workspace/foundry_device-virtual-go_PR-102@tmp/private_key_7714093559532513895.key (/w/workspace/foundry_device-virtual-go_PR-102@tmp/private_key_7714093559532513895.key) 08:12:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:12:10 + git describe --exact-match --tags HEAD 08:12:10 fatal: No names found, cannot describe anything. [Pipeline] } 08:12:10 $ docker exec --env ******** --env ******** 2b3e856adb363802d25a4c4adedf34a949b98f18ba9d34d0e55d1d4580875ee9 ssh-agent -k 08:12:10 unset SSH_AUTH_SOCK; 08:12:10 unset SSH_AGENT_PID; 08:12:10 echo Agent pid 20 killed; 08:12:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:12:11 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:12:11 This usually means this commit has not been tagged. [Pipeline] sshagent 08:12:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:12:11 [ssh-agent] Looking for ssh-agent implementation... 08:12:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:12:11 $ docker exec 2b3e856adb363802d25a4c4adedf34a949b98f18ba9d34d0e55d1d4580875ee9 ssh-agent 08:12:12 SSH_AUTH_SOCK=/tmp/ssh-m9cqCcqXS7kN/agent.55 08:12:12 SSH_AGENT_PID=62 08:12:12 Running ssh-add (command line suppressed) 08:12:12 Identity added: /w/workspace/foundry_device-virtual-go_PR-102@tmp/private_key_3655413494515619966.key (/w/workspace/foundry_device-virtual-go_PR-102@tmp/private_key_3655413494515619966.key) 08:12:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:12:13 + git semver init 08:12:13 # -> Open(): unable to determine branch for HEAD 08:12:13 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-102/.git 08:12:13 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-102 08:12:13 # $SEMVER_REMOTE_NAME = origin 08:12:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:12:13 # $SEMVER_USER_NAME = edgex-jenkins 08:12:13 # $SEMVER_BRANCH = PR-102 08:12:13 # $SEMVER_TEMP = /tmp/semver-061102198 08:12:13 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 08:12:13 # '/tmp/semver-061102198' -> '/w/workspace/foundry_device-virtual-go_PR-102/.semver' 08:12:13 # -> Force: false 08:12:13 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-102/.semver [Pipeline] } 08:12:13 $ docker exec --env ******** --env ******** 2b3e856adb363802d25a4c4adedf34a949b98f18ba9d34d0e55d1d4580875ee9 ssh-agent -k 08:12:14 unset SSH_AUTH_SOCK; 08:12:14 unset SSH_AGENT_PID; 08:12:14 echo Agent pid 62 killed; 08:12:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:12:15 + git semver [Pipeline] } 08:12:15 $ docker stop --time=1 2b3e856adb363802d25a4c4adedf34a949b98f18ba9d34d0e55d1d4580875ee9 08:12:17 $ docker rm -f 2b3e856adb363802d25a4c4adedf34a949b98f18ba9d34d0e55d1d4580875ee9 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:12:18 Stashed 26 file(s) [Pipeline] echo 08:12:18 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 08:12:34 Still waiting to schedule task 08:12:34 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:12:34 Still waiting to schedule task 08:12:34 ‘prd-ubuntu18.04-docker-arm64-4c-16g-6248’ is offline 08:14:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6251 in /w/workspace/foundry_device-virtual-go_PR-102 [Pipeline] { [Pipeline] ws 08:14:23 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 08:14:29 using credential edgex-jenkins-ssh 08:14:29 Cloning the remote Git repository 08:14:29 Cloning with configured refspecs honoured and without tags 08:14:29 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:14:29 > git init /w/workspace/device-virtual-go/1 # timeout=10 08:14:29 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:14:29 > git --version # timeout=10 08:14:29 using GIT_SSH to set credentials SSH Credentials for GitHub 08:14:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:14:30 Fetching without tags 08:14:31 Merging remotes/origin/master commit ad6ffe2e39edb285e4eeee4f80e60975285ca78d into PR head commit ce810a4efc1ce06064667d5d276fd1322ddfbc85 08:14:31 Merge succeeded, producing ce810a4efc1ce06064667d5d276fd1322ddfbc85 08:14:31 Checking out Revision ce810a4efc1ce06064667d5d276fd1322ddfbc85 (PR-102) 08:14:30 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:14:30 > git config --add remote.origin.fetch +refs/pull/102/head:refs/remotes/origin/PR-102 # timeout=10 08:14:30 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:14:30 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:14:30 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:14:30 using GIT_SSH to set credentials SSH Credentials for GitHub 08:14:30 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:14:31 > git config core.sparsecheckout # timeout=10 08:14:31 > git checkout -f ce810a4efc1ce06064667d5d276fd1322ddfbc85 # timeout=10 08:14:31 > git remote # timeout=10 08:14:31 > git config --get remote.origin.url # timeout=10 08:14:31 using GIT_SSH to set credentials SSH Credentials for GitHub 08:14:31 > git merge ad6ffe2e39edb285e4eeee4f80e60975285ca78d # timeout=10 08:14:31 > git rev-parse HEAD^{commit} # timeout=10 08:14:31 > git config core.sparsecheckout # timeout=10 08:14:31 > git checkout -f ce810a4efc1ce06064667d5d276fd1322ddfbc85 # timeout=10 08:14:35 Commit message: "Fix potential data race" 08:14:35 > git --version # timeout=10 08:14:35 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:14:37 ========================================================= 08:14:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:14:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:14:38 + 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 . 08:14:39 Sending build context to Docker daemon 500.2kB 08:14:39 Step 1/8 : ARG BASE=golang:1.13-alpine 08:14:39 Step 2/8 : FROM ${BASE} 08:14:39 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:14:39 cde5963f3b93: Pulling fs layer 08:14:39 2a23fa8c16f7: Pulling fs layer 08:14:39 777b28850792: Pulling fs layer 08:14:39 8a11ddd9e578: Pulling fs layer 08:14:39 4cf88f913ddb: Pulling fs layer 08:14:39 1df406cf5192: Pulling fs layer 08:14:39 cd6300453558: Pulling fs layer 08:14:39 b9c365052c96: Pulling fs layer 08:14:39 a2d8cc88f415: Pulling fs layer 08:14:39 ea1d1ca13537: Pulling fs layer 08:14:39 3750a50a1c5e: Pulling fs layer 08:14:39 8a11ddd9e578: Waiting 08:14:39 4cf88f913ddb: Waiting 08:14:39 1df406cf5192: Waiting 08:14:39 cd6300453558: Waiting 08:14:39 b9c365052c96: Waiting 08:14:39 a2d8cc88f415: Waiting 08:14:39 ea1d1ca13537: Waiting 08:14:39 3750a50a1c5e: Waiting 08:14:39 777b28850792: Verifying Checksum 08:14:39 777b28850792: Download complete 08:14:39 2a23fa8c16f7: Verifying Checksum 08:14:39 2a23fa8c16f7: Download complete 08:14:39 4cf88f913ddb: Verifying Checksum 08:14:39 4cf88f913ddb: Download complete 08:14:39 1df406cf5192: Download complete 08:14:40 cde5963f3b93: Verifying Checksum 08:14:40 cde5963f3b93: Download complete 08:14:41 cde5963f3b93: Pull complete 08:14:41 2a23fa8c16f7: Pull complete 08:14:41 777b28850792: Pull complete 08:14:44 cd6300453558: Verifying Checksum 08:14:44 cd6300453558: Download complete 08:14:44 a2d8cc88f415: Download complete 08:14:47 ea1d1ca13537: Verifying Checksum 08:14:47 ea1d1ca13537: Download complete 08:14:47 3750a50a1c5e: Download complete 08:14:49 b9c365052c96: Verifying Checksum 08:14:49 b9c365052c96: Download complete 08:14:51 8a11ddd9e578: Verifying Checksum 08:14:51 8a11ddd9e578: Download complete 08:14:54 Running on prd-centos7-docker-4c-2g-6252 in /w/workspace/foundry_device-virtual-go_PR-102 [Pipeline] { [Pipeline] ws 08:14:54 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 08:15:01 using credential edgex-jenkins-ssh 08:15:01 Cloning the remote Git repository 08:15:01 Cloning with configured refspecs honoured and without tags 08:15:02 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:15:02 > git init /w/workspace/device-virtual-go/1 # timeout=10 08:15:02 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:15:02 > git --version # timeout=10 08:15:02 using GIT_SSH to set credentials SSH Credentials for GitHub 08:15:02 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:15:03 8a11ddd9e578: Pull complete 08:15:03 4cf88f913ddb: Pull complete 08:15:03 1df406cf5192: Pull complete 08:15:04 Fetching without tags 08:15:05 Merging remotes/origin/master commit ad6ffe2e39edb285e4eeee4f80e60975285ca78d into PR head commit ce810a4efc1ce06064667d5d276fd1322ddfbc85 08:15:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:15:04 > git config --add remote.origin.fetch +refs/pull/102/head:refs/remotes/origin/PR-102 # timeout=10 08:15:04 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:15:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:15:04 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:15:04 using GIT_SSH to set credentials SSH Credentials for GitHub 08:15:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:15:05 > git config core.sparsecheckout # timeout=10 08:15:05 > git checkout -f ce810a4efc1ce06064667d5d276fd1322ddfbc85 # timeout=10 08:15:05 > git remote # timeout=10 08:15:05 > git config --get remote.origin.url # timeout=10 08:15:05 using GIT_SSH to set credentials SSH Credentials for GitHub 08:15:05 > git merge ad6ffe2e39edb285e4eeee4f80e60975285ca78d # timeout=10 08:15:05 Merge succeeded, producing ce810a4efc1ce06064667d5d276fd1322ddfbc85 08:15:05 Checking out Revision ce810a4efc1ce06064667d5d276fd1322ddfbc85 (PR-102) 08:15:05 > git rev-parse HEAD^{commit} # timeout=10 08:15:05 > git config core.sparsecheckout # timeout=10 08:15:05 > git checkout -f ce810a4efc1ce06064667d5d276fd1322ddfbc85 # timeout=10 08:15:07 cd6300453558: Pull complete 08:15:10 Commit message: "Fix potential data race" 08:15:10 > git --version # timeout=10 08:15:10 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:15:11 ========================================================= 08:15:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:15:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:15:12 b9c365052c96: Pull complete 08:15:12 a2d8cc88f415: Pull complete 08:15:13 + 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 . 08:15:14 Sending build context to Docker daemon 500.2kB 08:15:14 Step 1/8 : ARG BASE=golang:1.13-alpine 08:15:14 Step 2/8 : FROM ${BASE} 08:15:14 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 08:15:14 e6b0cf9c0882: Pulling fs layer 08:15:14 2848faf0eed1: Pulling fs layer 08:15:14 0f37312ad70f: Pulling fs layer 08:15:14 5788d62ee057: Pulling fs layer 08:15:14 0e6b1d234666: Pulling fs layer 08:15:14 bf5d7aec512f: Pulling fs layer 08:15:14 34c802a77dc8: Pulling fs layer 08:15:14 9eb99e56ec68: Pulling fs layer 08:15:14 27c7a5d97fbd: Pulling fs layer 08:15:14 5c102a31e300: Pulling fs layer 08:15:14 dcfb455df0a1: Pulling fs layer 08:15:14 5788d62ee057: Waiting 08:15:14 bf5d7aec512f: Waiting 08:15:14 0e6b1d234666: Waiting 08:15:14 34c802a77dc8: Waiting 08:15:14 9eb99e56ec68: Waiting 08:15:14 27c7a5d97fbd: Waiting 08:15:14 5c102a31e300: Waiting 08:15:14 0f37312ad70f: Verifying Checksum 08:15:14 0f37312ad70f: Download complete 08:15:14 2848faf0eed1: Download complete 08:15:14 0e6b1d234666: Verifying Checksum 08:15:14 0e6b1d234666: Download complete 08:15:14 bf5d7aec512f: Verifying Checksum 08:15:14 bf5d7aec512f: Download complete 08:15:15 ea1d1ca13537: Pull complete 08:15:15 e6b0cf9c0882: Verifying Checksum 08:15:15 e6b0cf9c0882: Download complete 08:15:15 3750a50a1c5e: Pull complete 08:15:15 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 08:15:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:15:15 ---> 78745c68409d 08:15:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:15:15 e6b0cf9c0882: Pull complete 08:15:16 2848faf0eed1: Pull complete 08:15:16 0f37312ad70f: Pull complete 08:15:18 34c802a77dc8: Verifying Checksum 08:15:18 34c802a77dc8: Download complete 08:15:18 27c7a5d97fbd: Verifying Checksum 08:15:18 27c7a5d97fbd: Download complete 08:15:19 ---> Running in 080615fb38db 08:15:19 Removing intermediate container 080615fb38db 08:15:19 ---> 2d7887f68ba0 08:15:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:15:19 ---> Running in 4e5dec796407 08:15:21 5788d62ee057: Verifying Checksum 08:15:21 5788d62ee057: Download complete 08:15:21 dcfb455df0a1: Verifying Checksum 08:15:21 dcfb455df0a1: Download complete 08:15:21 9eb99e56ec68: Verifying Checksum 08:15:21 9eb99e56ec68: Download complete 08:15:21 5c102a31e300: Verifying Checksum 08:15:21 5c102a31e300: Download complete 08:15:21 Removing intermediate container 4e5dec796407 08:15:21 ---> 16bd1cb2c791 08:15:21 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:15:22 ---> Running in c847e4057818 08:15:23 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:15:23 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:15:24 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 08:15:24 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 08:15:24 (3/18) Installing libmagic (5.37-r1) 08:15:24 (4/18) Installing file (5.37-r1) 08:15:25 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 08:15:25 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 08:15:25 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 08:15:28 (8/18) Installing libc-dev (0.7.2-r0) 08:15:28 (9/18) Installing g++ (9.2.0-r4) 08:15:30 (10/18) Installing fortify-headers (1.1-r0) 08:15:30 (11/18) Installing build-base (0.5-r1) 08:15:30 (12/18) Installing openssh-keygen (8.1_p1-r0) 08:15:30 (13/18) Installing libedit (20191211.3.1-r0) 08:15:30 (14/18) Installing openssh-client (8.1_p1-r0) 08:15:30 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 08:15:30 (16/18) Installing openssh-server-common (8.1_p1-r0) 08:15:30 (17/18) Installing openssh-server (8.1_p1-r0) 08:15:30 (18/18) Installing openssh (8.1_p1-r0) 08:15:31 Executing busybox-1.31.1-r8.trigger 08:15:31 OK: 203 MiB in 52 packages 08:15:33 5788d62ee057: Pull complete 08:15:33 0e6b1d234666: Pull complete 08:15:33 bf5d7aec512f: Pull complete 08:15:37 Removing intermediate container c847e4057818 08:15:37 ---> 109907be2570 08:15:37 Step 6/8 : WORKDIR /device-virtual-go 08:15:38 ---> Running in 88b40a1b20e3 08:15:38 Removing intermediate container 88b40a1b20e3 08:15:38 ---> 1dc72fcee608 08:15:38 Step 7/8 : COPY . . 08:15:39 34c802a77dc8: Pull complete 08:15:39 ---> 3fb5963c702d 08:15:39 Step 8/8 : RUN go mod download 08:15:39 ---> Running in d9dbafe541b1 08:15:42 go: finding github.com/BurntSushi/toml v0.3.1 08:15:42 go: finding github.com/OneOfOne/xxhash v1.2.6 08:15:42 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:15:42 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:15:42 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:15:42 go: finding github.com/bgentry/speakeasy v0.1.0 08:15:42 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:15:43 go: finding github.com/davecgh/go-spew v1.1.1 08:15:43 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.35 08:15:43 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 08:15:43 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:15:43 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 08:15:43 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 08:15:43 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:15:43 go: finding github.com/edsrzf/mmap-go v1.0.0 08:15:43 go: finding github.com/fatih/color v1.7.0 08:15:43 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:15:43 go: finding github.com/go-kit/kit v0.8.0 08:15:43 go: finding github.com/go-logfmt/logfmt v0.4.0 08:15:43 go: finding github.com/go-stack/stack v1.8.0 08:15:43 go: finding github.com/golang/snappy v0.0.1 08:15:43 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:15:43 go: finding github.com/google/uuid v1.1.0 08:15:43 go: finding github.com/gorilla/mux v1.7.1 08:15:43 go: finding github.com/hashicorp/consul/api v1.1.0 08:15:43 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:15:43 go: finding github.com/hashicorp/errwrap v1.0.0 08:15:43 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:15:43 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:15:43 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:15:43 go: finding github.com/hashicorp/go-multierror v1.0.0 08:15:43 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:15:43 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:15:43 go: finding github.com/hashicorp/go-syslog v1.0.0 08:15:43 9eb99e56ec68: Pull complete 08:15:43 27c7a5d97fbd: Pull complete 08:15:44 go: finding github.com/hashicorp/go-uuid v1.0.1 08:15:44 go: finding github.com/hashicorp/go.net v0.0.1 08:15:44 go: finding github.com/hashicorp/golang-lru v0.5.0 08:15:44 go: finding github.com/hashicorp/logutils v1.0.0 08:15:44 go: finding github.com/hashicorp/mdns v1.0.0 08:15:44 go: finding github.com/hashicorp/memberlist v0.1.3 08:15:44 go: finding github.com/hashicorp/serf v0.8.2 08:15:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:15:44 go: finding github.com/mattn/go-colorable v0.0.9 08:15:44 go: finding github.com/mattn/go-isatty v0.0.3 08:15:44 go: finding github.com/miekg/dns v1.0.14 08:15:44 go: finding github.com/mitchellh/cli v1.0.0 08:15:44 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:15:44 go: finding github.com/mitchellh/copystructure v1.0.0 08:15:44 go: finding github.com/mitchellh/go-homedir v1.0.0 08:15:44 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:15:44 go: finding github.com/mitchellh/gox v0.4.0 08:15:44 go: finding github.com/mitchellh/iochan v1.0.0 08:15:44 go: finding github.com/mitchellh/mapstructure v1.1.2 08:15:44 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:15:44 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:15:44 go: finding github.com/pelletier/go-toml v1.2.0 08:15:44 go: finding github.com/pkg/errors v0.8.1 08:15:44 go: finding github.com/pmezard/go-difflib v1.0.0 08:15:44 go: finding github.com/posener/complete v1.1.1 08:15:44 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 08:15:44 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:15:45 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:15:45 go: finding github.com/stretchr/objx v0.1.0 08:15:45 go: finding github.com/stretchr/testify v1.5.1 08:15:45 go: finding github.com/ugorji/go v1.1.4 08:15:45 go: finding github.com/x448/float16 v0.8.4 08:15:45 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:15:45 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:15:45 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:15:45 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 08:15:45 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:15:45 go: finding gopkg.in/yaml.v2 v2.2.8 08:15:45 go: finding modernc.org/b v1.0.0 08:15:45 go: finding modernc.org/db v1.0.0 08:15:45 go: finding modernc.org/file v1.0.0 08:15:45 go: finding modernc.org/fileutil v1.0.0 08:15:45 go: finding modernc.org/golex v1.0.0 08:15:45 go: finding modernc.org/internal v1.0.0 08:15:45 go: finding modernc.org/lldb v1.0.0 08:15:45 go: finding modernc.org/mathutil v1.0.0 08:15:45 go: finding modernc.org/ql v1.0.0 08:15:45 go: finding modernc.org/sortutil v1.0.0 08:15:45 go: finding modernc.org/strutil v1.0.0 08:15:45 go: finding modernc.org/zappy v1.0.0 08:15:45 5c102a31e300: Pull complete 08:15:46 dcfb455df0a1: Pull complete 08:15:46 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 08:15:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 08:15:46 ---> 7c70fe431013 08:15:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:15:46 ---> Running in d7a18cb3c2b4 08:15:46 Removing intermediate container d7a18cb3c2b4 08:15:46 ---> 19429ec68477 08:15:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:15:46 ---> Running in 1dbcf09e49ed 08:15:48 Removing intermediate container 1dbcf09e49ed 08:15:48 ---> 242cc1214d7c 08:15:48 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:15:48 ---> Running in d1dbebbba8f4 08:15:49 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:15:50 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:15:50 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 08:15:50 (2/17) Installing libmagic (5.37-r1) 08:15:50 (3/17) Installing file (5.37-r1) 08:15:51 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 08:15:51 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 08:15:51 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 08:15:54 (7/17) Installing libc-dev (0.7.2-r0) 08:15:54 (8/17) Installing g++ (9.2.0-r4) 08:15:55 Removing intermediate container d9dbafe541b1 08:15:55 ---> 10bd9060783e 08:15:55 Successfully built 10bd9060783e 08:15:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:15:56 + docker inspect -f . ci-base-image-arm64 08:15:56 . [Pipeline] withDockerContainer 08:15:56 (9/17) Installing fortify-headers (1.1-r0) 08:15:56 (10/17) Installing build-base (0.5-r1) 08:15:56 (11/17) Installing openssh-keygen (8.1_p1-r0) 08:15:56 (12/17) Installing libedit (20191211.3.1-r0) 08:15:57 prd-ubuntu18.04-docker-arm64-4c-16g-6251 does not seem to be running inside a container 08:15:57 (13/17) Installing openssh-client (8.1_p1-r0) 08:15:57 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 08:15:57 $ 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 ******** ci-base-image-arm64 cat 08:15:57 (15/17) Installing openssh-server-common (8.1_p1-r0) 08:15:57 (16/17) Installing openssh-server (8.1_p1-r0) 08:15:57 (17/17) Installing openssh (8.1_p1-r0) 08:15:57 Executing busybox-1.31.1-r8.trigger 08:15:57 OK: 214 MiB in 52 packages 08:15:58 $ docker top a1697de7e63ab5bcc46148b76a593808cd1dd5ab3408ea877a547d0a1c0a68a6 -eo pid,comm [Pipeline] { [Pipeline] sh 08:15:59 + go version 08:15:59 go version go1.13.5 linux/arm64 [Pipeline] sh 08:16:00 + make test 08:16:00 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:16:02 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:16:03 Removing intermediate container d1dbebbba8f4 08:16:03 ---> c11c26821323 08:16:03 Step 6/8 : WORKDIR /device-virtual-go 08:16:03 ---> Running in f517ddfa16e5 08:16:03 Removing intermediate container f517ddfa16e5 08:16:03 ---> ac4da40ada3e 08:16:03 Step 7/8 : COPY . . 08:16:04 ---> a586853c4a82 08:16:04 Step 8/8 : RUN go mod download 08:16:04 ---> Running in 588868e501df 08:16:08 go: finding github.com/BurntSushi/toml v0.3.1 08:16:08 go: finding github.com/OneOfOne/xxhash v1.2.6 08:16:08 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:16:08 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:16:08 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:16:08 go: finding github.com/bgentry/speakeasy v0.1.0 08:16:08 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:16:08 go: finding github.com/davecgh/go-spew v1.1.1 08:16:08 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.35 08:16:08 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 08:16:08 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:16:08 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 08:16:08 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 08:16:08 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:16:08 go: finding github.com/edsrzf/mmap-go v1.0.0 08:16:08 go: finding github.com/fatih/color v1.7.0 08:16:08 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:16:08 go: finding github.com/go-kit/kit v0.8.0 08:16:08 go: finding github.com/go-logfmt/logfmt v0.4.0 08:16:08 go: finding github.com/go-stack/stack v1.8.0 08:16:08 go: finding github.com/golang/snappy v0.0.1 08:16:08 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:16:08 go: finding github.com/google/uuid v1.1.0 08:16:08 go: finding github.com/gorilla/mux v1.7.1 08:16:08 go: finding github.com/hashicorp/consul/api v1.1.0 08:16:08 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:16:08 go: finding github.com/hashicorp/errwrap v1.0.0 08:16:08 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:16:08 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:16:08 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:16:09 go: finding github.com/hashicorp/go-multierror v1.0.0 08:16:09 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:16:09 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:16:09 go: finding github.com/hashicorp/go-syslog v1.0.0 08:16:09 go: finding github.com/hashicorp/go-uuid v1.0.1 08:16:09 go: finding github.com/hashicorp/go.net v0.0.1 08:16:09 go: finding github.com/hashicorp/golang-lru v0.5.0 08:16:09 go: finding github.com/hashicorp/logutils v1.0.0 08:16:09 go: finding github.com/hashicorp/mdns v1.0.0 08:16:09 go: finding github.com/hashicorp/memberlist v0.1.3 08:16:09 go: finding github.com/hashicorp/serf v0.8.2 08:16:09 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:16:09 go: finding github.com/mattn/go-colorable v0.0.9 08:16:09 go: finding github.com/mattn/go-isatty v0.0.3 08:16:09 go: finding github.com/miekg/dns v1.0.14 08:16:09 go: finding github.com/mitchellh/cli v1.0.0 08:16:09 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:16:09 go: finding github.com/mitchellh/copystructure v1.0.0 08:16:09 go: finding github.com/mitchellh/go-homedir v1.0.0 08:16:09 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:16:09 go: finding github.com/mitchellh/gox v0.4.0 08:16:09 go: finding github.com/mitchellh/iochan v1.0.0 08:16:09 go: finding github.com/mitchellh/mapstructure v1.1.2 08:16:09 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:16:09 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:16:09 go: finding github.com/pelletier/go-toml v1.2.0 08:16:09 go: finding github.com/pkg/errors v0.8.1 08:16:09 go: finding github.com/pmezard/go-difflib v1.0.0 08:16:09 go: finding github.com/posener/complete v1.1.1 08:16:09 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 08:16:09 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:16:09 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:16:09 go: finding github.com/stretchr/objx v0.1.0 08:16:09 go: finding github.com/stretchr/testify v1.5.1 08:16:09 go: finding github.com/ugorji/go v1.1.4 08:16:09 go: finding github.com/x448/float16 v0.8.4 08:16:09 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:16:09 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:16:09 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:16:09 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 08:16:09 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:16:09 go: finding gopkg.in/yaml.v2 v2.2.8 08:16:09 go: finding modernc.org/b v1.0.0 08:16:09 go: finding modernc.org/db v1.0.0 08:16:09 go: finding modernc.org/file v1.0.0 08:16:09 go: finding modernc.org/fileutil v1.0.0 08:16:09 go: finding modernc.org/golex v1.0.0 08:16:09 go: finding modernc.org/internal v1.0.0 08:16:09 go: finding modernc.org/lldb v1.0.0 08:16:09 go: finding modernc.org/mathutil v1.0.0 08:16:09 go: finding modernc.org/ql v1.0.0 08:16:10 go: finding modernc.org/sortutil v1.0.0 08:16:10 go: finding modernc.org/strutil v1.0.0 08:16:10 go: finding modernc.org/zappy v1.0.0 08:16:16 Removing intermediate container 588868e501df 08:16:16 ---> 6522040fadae 08:16:16 Successfully built 6522040fadae 08:16:16 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 08:16:17 + docker inspect -f . ci-base-image-x86_64 08:16:18 . [Pipeline] withDockerContainer 08:16:18 prd-centos7-docker-4c-2g-6252 does not seem to be running inside a container 08:16:18 $ 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 08:16:19 $ docker top 964bb2d00283bdfadbc14b97d345fe39a4fcf13ad29ca25a7a2aa07ab85342ce -eo pid,comm [Pipeline] { [Pipeline] sh 08:16:21 + go version 08:16:21 go version go1.13.5 linux/amd64 [Pipeline] sh 08:16:21 + make test 08:16:21 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:16:25 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:16:41 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:16:52 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:18:14 ok github.com/edgexfoundry/device-virtual-go/internal/driver 79.181s coverage: 52.7% of statements 08:18:14 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:18:17 gofmt -l . 08:18:17 [ "`gofmt -l .`" = "" ] 08:18:17 ./bin/test-attribution-txt.sh 08:18:18 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:18:19 Stashed 1 file(s) [Pipeline] } 08:18:19 $ docker stop --time=1 964bb2d00283bdfadbc14b97d345fe39a4fcf13ad29ca25a7a2aa07ab85342ce 08:18:21 $ docker rm -f 964bb2d00283bdfadbc14b97d345fe39a4fcf13ad29ca25a7a2aa07ab85342ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:18:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:18:23 + ls -al . 08:18:23 total 112 08:18:23 drwxrwxr-x. 8 jenkins jenkins 4096 Apr 27 08:18 . 08:18:23 drwxrwxr-x. 4 jenkins jenkins 28 Apr 27 08:15 .. 08:18:23 -rw-rw-r--. 1 jenkins jenkins 6529 Apr 27 08:15 Attribution.txt 08:18:23 drwxrwxr-x. 2 jenkins jenkins 64 Apr 27 08:15 bin 08:18:23 drwxrwxr-x. 3 jenkins jenkins 32 Apr 27 08:15 cmd 08:18:23 -rw-r--r--. 1 jenkins jenkins 32182 Apr 27 08:18 coverage.out 08:18:23 -rw-rw-r--. 1 jenkins jenkins 1826 Apr 27 08:15 Dockerfile 08:18:23 -rw-rw-r--. 1 jenkins jenkins 957 Apr 27 08:15 Dockerfile.build 08:18:23 drwxrwxr-x. 8 jenkins jenkins 179 Apr 27 08:15 .git 08:18:23 drwxrwxr-x. 2 jenkins jenkins 38 Apr 27 08:15 .github 08:18:23 -rw-rw-r--. 1 jenkins jenkins 258 Apr 27 08:15 .gitignore 08:18:23 -rw-r--r--. 1 jenkins jenkins 862 Apr 27 08:18 go.mod 08:18:23 -rw-r--r--. 1 jenkins jenkins 14805 Apr 27 08:18 go.sum 08:18:23 drwxrwxr-x. 3 jenkins jenkins 20 Apr 27 08:15 internal 08:18:23 -rw-rw-r--. 1 jenkins jenkins 683 Apr 27 08:15 Jenkinsfile 08:18:23 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 27 08:15 LICENSE 08:18:23 -rw-rw-r--. 1 jenkins jenkins 873 Apr 27 08:15 Makefile 08:18:23 -rw-rw-r--. 1 jenkins jenkins 4413 Apr 27 08:15 README.md 08:18:23 drwxrwxr-x. 3 jenkins jenkins 58 Apr 27 08:15 .semver 08:18:23 -rw-rw-r--. 1 jenkins jenkins 5 Apr 27 08:12 VERSION 08:18:23 -rw-rw-r--. 1 jenkins jenkins 235 Apr 27 08:15 version.go [Pipeline] isUnix [Pipeline] sh 08:18:24 + 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=ce810a4efc1ce06064667d5d276fd1322ddfbc85 --label arch=amd64 --label version=0.0.0 . 08:18:24 Sending build context to Docker daemon 34.12MB 08:18:24 Step 1/21 : ARG BASE=golang:1.13-alpine 08:18:24 Step 2/21 : FROM ${BASE} AS builder 08:18:24 ---> 6522040fadae 08:18:24 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:18:24 ---> Running in 483ae7ef431d 08:18:25 Removing intermediate container 483ae7ef431d 08:18:25 ---> 333a804f558b 08:18:25 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 08:18:25 ---> Running in aae17d87313a 08:18:25 Removing intermediate container aae17d87313a 08:18:25 ---> 3ec8285077e0 08:18:25 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 08:18:25 ---> Running in 18c5174e847d 08:18:25 Removing intermediate container 18c5174e847d 08:18:25 ---> 8b0ddaae90c2 08:18:25 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:18:25 ---> Running in 67fa35606096 08:18:26 Removing intermediate container 67fa35606096 08:18:26 ---> da69174cf550 08:18:26 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:18:26 ---> Running in 0f6e4e4bb32f 08:18:27 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:18:28 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:18:28 OK: 214 MiB in 52 packages 08:18:29 Removing intermediate container 0f6e4e4bb32f 08:18:29 ---> c257540177bc 08:18:29 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 08:18:29 ---> Running in d2d157cbd155 08:18:29 Removing intermediate container d2d157cbd155 08:18:29 ---> 641fc01bad3e 08:18:29 Step 9/21 : COPY . . 08:18:30 ---> 199dec999acc 08:18:30 Step 10/21 : ARG MAKE='make build' 08:18:30 ---> Running in b79a8d3c4157 08:18:30 Removing intermediate container b79a8d3c4157 08:18:30 ---> b2900bad795c 08:18:30 Step 11/21 : RUN $MAKE 08:18:30 ---> Running in b8c873db5b0a 08:18:31 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 08:18:53 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:18:56 Removing intermediate container b8c873db5b0a 08:18:56 ---> afb2599c0031 08:18:56 Step 12/21 : FROM alpine 08:18:56 latest: Pulling from library/alpine 08:18:56 cbdbe7a5bc2a: Pulling fs layer 08:18:56 cbdbe7a5bc2a: Verifying Checksum 08:18:56 cbdbe7a5bc2a: Download complete 08:18:57 cbdbe7a5bc2a: Pull complete 08:18:57 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 08:18:57 Status: Downloaded newer image for alpine:latest 08:18:57 ---> f70734b6a266 08:18:57 Step 13/21 : ENV APP_PORT=49990 08:18:57 ---> Running in 18bb84c89676 08:18:57 Removing intermediate container 18bb84c89676 08:18:57 ---> 853cba7263a6 08:18:57 Step 14/21 : EXPOSE $APP_PORT 08:18:57 ---> Running in cf286397e942 08:18:57 Removing intermediate container cf286397e942 08:18:57 ---> d3ca35d693d1 08:18:57 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 08:18:58 ---> 9ddd127916a5 08:18:58 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 08:18:58 ---> 040d2904a0d4 08:18:58 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 08:18:59 ---> 6f68810bc55d 08:18:59 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 08:18:59 ---> Running in f56c53210304 08:18:59 Removing intermediate container f56c53210304 08:18:59 ---> 84c277ca2b7b 08:18:59 Step 19/21 : LABEL arch=amd64 08:18:59 ---> Running in bbc6bd5ae776 08:18:59 Removing intermediate container bbc6bd5ae776 08:18:59 ---> 6a871ca6b719 08:18:59 Step 20/21 : LABEL git_sha=ce810a4efc1ce06064667d5d276fd1322ddfbc85 08:18:59 ---> Running in ba745183e2ba 08:18:59 Removing intermediate container ba745183e2ba 08:18:59 ---> c6158b4d5504 08:18:59 Step 21/21 : LABEL version=0.0.0 08:18:59 ---> Running in 35dc6c1ee37f 08:19:00 Removing intermediate container 35dc6c1ee37f 08:19:00 ---> 959282b9e931 08:19:00 [Warning] One or more build-args [ARCH] were not consumed 08:19:00 Successfully built 959282b9e931 08:19:00 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] } 08:19:32 ok github.com/edgexfoundry/device-virtual-go/internal/driver 159.520s coverage: 52.7% of statements 08:19:32 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:19:32 gofmt -l . 08:19:32 [ "`gofmt -l .`" = "" ] 08:19:32 ./bin/test-attribution-txt.sh 08:19:32 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:19:32 Warning: overwriting stash ‘coverage-report’ 08:19:33 Stashed 1 file(s) [Pipeline] } 08:19:33 $ docker stop --time=1 a1697de7e63ab5bcc46148b76a593808cd1dd5ab3408ea877a547d0a1c0a68a6 08:19:35 $ docker rm -f a1697de7e63ab5bcc46148b76a593808cd1dd5ab3408ea877a547d0a1c0a68a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:19:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:19:37 + ls -al . 08:19:37 total 140 08:19:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 08:19 . 08:19:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 08:14 .. 08:19:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 08:14 .git 08:19:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 08:14 .github 08:19:37 -rw-rw-r-- 1 jenkins jenkins 258 Apr 27 08:14 .gitignore 08:19:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 08:14 .semver 08:19:37 -rw-rw-r-- 1 jenkins jenkins 6529 Apr 27 08:14 Attribution.txt 08:19:37 -rw-rw-r-- 1 jenkins jenkins 1826 Apr 27 08:14 Dockerfile 08:19:37 -rw-rw-r-- 1 jenkins jenkins 957 Apr 27 08:14 Dockerfile.build 08:19:37 -rw-rw-r-- 1 jenkins jenkins 683 Apr 27 08:14 Jenkinsfile 08:19:37 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 08:14 LICENSE 08:19:37 -rw-rw-r-- 1 jenkins jenkins 873 Apr 27 08:14 Makefile 08:19:37 -rw-rw-r-- 1 jenkins jenkins 4413 Apr 27 08:14 README.md 08:19:37 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 08:12 VERSION 08:19:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 08:14 bin 08:19:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 08:14 cmd 08:19:37 -rw-r--r-- 1 jenkins jenkins 32182 Apr 27 08:19 coverage.out 08:19:37 -rw-r--r-- 1 jenkins jenkins 862 Apr 27 08:19 go.mod 08:19:37 -rw-r--r-- 1 jenkins jenkins 14805 Apr 27 08:19 go.sum 08:19:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 08:14 internal 08:19:37 -rw-rw-r-- 1 jenkins jenkins 235 Apr 27 08:14 version.go [Pipeline] isUnix [Pipeline] sh 08:19:37 + 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=ce810a4efc1ce06064667d5d276fd1322ddfbc85 --label arch=arm64 --label version=0.0.0 . 08:19:38 Sending build context to Docker daemon 34.12MB 08:19:38 Step 1/21 : ARG BASE=golang:1.13-alpine 08:19:38 Step 2/21 : FROM ${BASE} AS builder 08:19:38 ---> 10bd9060783e 08:19:38 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:19:38 ---> Running in b1381d7c96ab 08:19:39 Removing intermediate container b1381d7c96ab 08:19:39 ---> 6a143e0c1cb5 08:19:39 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 08:19:39 ---> Running in f559e0f35f2d 08:19:39 Removing intermediate container f559e0f35f2d 08:19:39 ---> 66d769cbffb5 08:19:39 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 08:19:39 ---> Running in b15abd67413f 08:19:39 Removing intermediate container b15abd67413f 08:19:39 ---> 44d8a1aeba0e 08:19:39 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:19:40 ---> Running in 6df7fabff2e0 08:19:42 Removing intermediate container 6df7fabff2e0 08:19:42 ---> 6222b5c01d95 08:19:42 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:19:42 ---> Running in d92ae1e31866 08:19:43 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:19:43 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:19:44 OK: 203 MiB in 52 packages 08:19:45 Removing intermediate container d92ae1e31866 08:19:45 ---> b7875ba586b0 08:19:45 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 08:19:45 ---> Running in 693c7ea54e31 08:19:45 Removing intermediate container 693c7ea54e31 08:19:45 ---> f11938f5ad3e 08:19:45 Step 9/21 : COPY . . 08:19:47 ---> 97abc7ffdf05 08:19:47 Step 10/21 : ARG MAKE='make build' 08:19:48 ---> Running in 3b87f3efc2db 08:19:48 Removing intermediate container 3b87f3efc2db 08:19:48 ---> cf74b33d429f 08:19:48 Step 11/21 : RUN $MAKE 08:19:48 ---> Running in 39ab5f04131f 08:19:49 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 08:20:21 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:20:29 Removing intermediate container 39ab5f04131f 08:20:29 ---> 1d7d4670dcb7 08:20:29 Step 12/21 : FROM alpine 08:20:29 latest: Pulling from library/alpine 08:20:29 29e5d40040c1: Pulling fs layer 08:20:29 29e5d40040c1: Verifying Checksum 08:20:29 29e5d40040c1: Download complete 08:20:30 29e5d40040c1: Pull complete 08:20:30 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 08:20:30 Status: Downloaded newer image for alpine:latest 08:20:30 ---> c20d2a9ab686 08:20:30 Step 13/21 : ENV APP_PORT=49990 08:20:30 ---> Running in 5ed7aafb0ab5 08:20:31 Removing intermediate container 5ed7aafb0ab5 08:20:31 ---> f66eb206bfc6 08:20:31 Step 14/21 : EXPOSE $APP_PORT 08:20:31 ---> Running in 5f852050d9fa 08:20:31 Removing intermediate container 5f852050d9fa 08:20:31 ---> 3cbbcd0352f5 08:20:31 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 08:20:32 ---> 6280d4798917 08:20:32 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 08:20:33 ---> 714b529f97ab 08:20:33 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 08:20:33 ---> cce9e0f313e5 08:20:33 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 08:20:33 ---> Running in dca074633c48 08:20:34 Removing intermediate container dca074633c48 08:20:34 ---> df16134d7ef0 08:20:34 Step 19/21 : LABEL arch=arm64 08:20:34 ---> Running in 8ece3282740b 08:20:34 Removing intermediate container 8ece3282740b 08:20:34 ---> 19b8aa3dc13b 08:20:34 Step 20/21 : LABEL git_sha=ce810a4efc1ce06064667d5d276fd1322ddfbc85 08:20:34 ---> Running in b9a270e424f7 08:20:35 Removing intermediate container b9a270e424f7 08:20:35 ---> 9bfac0d1d050 08:20:35 Step 21/21 : LABEL version=0.0.0 08:20:35 ---> Running in 25dc95f92290 08:20:35 Removing intermediate container 25dc95f92290 08:20:35 ---> ba909108784f 08:20:35 [Warning] One or more build-args [ARCH] were not consumed 08:20:35 Successfully built ba909108784f 08:20:35 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 08:20:37 provisioning config files... 08:20:37 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-102@tmp/config3628667310100594454tmp [Pipeline] { [Pipeline] sh 08:20:38 + curl -s https://codecov.io/bash 08:20:38 + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-102@tmp/config3628667310100594454tmp 08:20:38 08:20:38 _____ _ 08:20:38 / ____| | | 08:20:38 | | ___ __| | ___ ___ _____ __ 08:20:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:20:38 | |___| (_) | (_| | __/ (_| (_) \ V / 08:20:38 \_____\___/ \__,_|\___|\___\___/ \_/ 08:20:38 Bash-tbd 08:20:38 08:20:38 08:20:38 ==> Jenkins CI detected. 08:20:38 project root: . 08:20:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:20:39 ==> Running gcov in . (disable via -X gcov) 08:20:39 ==> Python coveragepy not found 08:20:39 ==> Searching for coverage reports in: 08:20:39 + . 08:20:39 -> Found 1 reports 08:20:39 ==> Detecting git/mercurial file structure 08:20:39 ==> Reading reports 08:20:39 + ./coverage.out bytes=32182 08:20:39 ==> Appending adjustments 08:20:39 http://docs.codecov.io/docs/fixing-reports 08:20:39 + Found adjustments 08:20:39 ==> Gzipping contents 08:20:39 ==> Uploading reports 08:20:39 url: https://codecov.io 08:20:39 query: branch=PR-102&commit=ce810a4efc1ce06064667d5d276fd1322ddfbc85&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-102%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=102&job= 08:20:39 -> Pinging Codecov 08:20:39 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-102&commit=ce810a4efc1ce06064667d5d276fd1322ddfbc85&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-102%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=102&job= 08:20:40 -> Uploading 08:20:40 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/ce810a4efc1ce06064667d5d276fd1322ddfbc85 [Pipeline] } 08:20:41 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 08:20:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:20:43 ---> package-listing.sh 08:20:43 ++ tr '[:upper:]' '[:lower:]' 08:20:43 ++ facter osfamily 08:20:43 + OS_FAMILY=redhat 08:20:43 + workspace=/w/workspace/foundry_device-virtual-go_PR-102 08:20:43 + START_PACKAGES=/tmp/packages_start.txt 08:20:43 + END_PACKAGES=/tmp/packages_end.txt 08:20:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:20:43 + PACKAGES=/tmp/packages_start.txt 08:20:43 + '[' /w/workspace/foundry_device-virtual-go_PR-102 ']' 08:20:43 + PACKAGES=/tmp/packages_end.txt 08:20:43 + case "${OS_FAMILY}" in 08:20:43 + sort 08:20:43 + rpm -qa 08:20:50 + '[' -f /tmp/packages_start.txt ']' 08:20:50 + '[' -f /tmp/packages_end.txt ']' 08:20:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:20:50 + '[' /w/workspace/foundry_device-virtual-go_PR-102 ']' 08:20:50 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-102/archives/ 08:20:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-102/archives/ [Pipeline] isUnix [Pipeline] sh 08:20:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:20:51 08:20:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:20:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:20:52 alpine: Pulling from edgex-lftools-log-publisher 08:20:52 c9b1b535fdd9: Pulling fs layer 08:20:52 2cc5ad85d9ab: Pulling fs layer 08:20:52 756a868c4378: Pulling fs layer 08:20:52 444b2fc9a129: Pulling fs layer 08:20:52 ea15f1150254: Pulling fs layer 08:20:52 41b27a9f41bf: Pulling fs layer 08:20:52 28c525ee5125: Pulling fs layer 08:20:52 094b1ea09ed8: Pulling fs layer 08:20:52 138eaada9080: Pulling fs layer 08:20:52 0622d0fa9048: Pulling fs layer 08:20:52 444b2fc9a129: Waiting 08:20:52 ea15f1150254: Waiting 08:20:52 41b27a9f41bf: Waiting 08:20:52 28c525ee5125: Waiting 08:20:52 094b1ea09ed8: Waiting 08:20:52 138eaada9080: Waiting 08:20:52 0622d0fa9048: Waiting 08:20:52 2cc5ad85d9ab: Verifying Checksum 08:20:52 2cc5ad85d9ab: Download complete 08:20:52 444b2fc9a129: Verifying Checksum 08:20:52 444b2fc9a129: Download complete 08:20:53 c9b1b535fdd9: Verifying Checksum 08:20:53 c9b1b535fdd9: Download complete 08:20:53 ea15f1150254: Verifying Checksum 08:20:53 ea15f1150254: Download complete 08:20:53 28c525ee5125: Verifying Checksum 08:20:53 28c525ee5125: Download complete 08:20:53 c9b1b535fdd9: Pull complete 08:20:53 2cc5ad85d9ab: Pull complete 08:20:53 756a868c4378: Verifying Checksum 08:20:53 756a868c4378: Download complete 08:20:54 138eaada9080: Verifying Checksum 08:20:54 138eaada9080: Download complete 08:20:54 0622d0fa9048: Verifying Checksum 08:20:54 0622d0fa9048: Download complete 08:20:54 094b1ea09ed8: Verifying Checksum 08:20:54 094b1ea09ed8: Download complete 08:20:54 41b27a9f41bf: Verifying Checksum 08:20:54 41b27a9f41bf: Download complete 08:20:56 756a868c4378: Pull complete 08:20:56 444b2fc9a129: Pull complete 08:20:56 ea15f1150254: Pull complete 08:21:01 41b27a9f41bf: Pull complete 08:21:01 28c525ee5125: Pull complete 08:21:04 094b1ea09ed8: Pull complete 08:21:04 138eaada9080: Pull complete 08:21:05 0622d0fa9048: Pull complete 08:21:05 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:21:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:21:05 prd-centos7-docker-4c-2g-6250 does not seem to be running inside a container 08:21:05 $ 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-102 -v /w/workspace/foundry_device-virtual-go_PR-102:/w/workspace/foundry_device-virtual-go_PR-102:rw,z -v /w/workspace/foundry_device-virtual-go_PR-102@tmp:/w/workspace/foundry_device-virtual-go_PR-102@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 08:21:06 $ docker top b82ba6579eb90394c17b2f01c416356897d1c17fef24c5527f2556e17e851b2a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:21:06 provisioning config files... 08:21:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-102@tmp/config2274005348708276458tmp [Pipeline] { [Pipeline] echo 08:21:07 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:21:07 ---> create-netrc.sh [Pipeline] echo 08:21:07 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:21:08 ---> logs-deploy.sh 08:21:08 + ARCHIVE_ARTIFACTS= 08:21:08 + LOGS_SERVER=https://logs.edgexfoundry.org 08:21:08 + '[' https://logs.edgexfoundry.org == None ']' 08:21:08 + NEXUS_URL=https://nexus.edgexfoundry.org 08:21:08 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-102/1 08:21:08 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-102/1/ 08:21:08 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-102/1 /w/workspace/foundry_device-virtual-go_PR-102 08:21:10 Archives upload complete. 08:21:10 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-102/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-102/1/