Pull request #94 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 hahattan for edgexfoundry/device-virtual-go Loading trusted files from base branch master at 55fc044d80c995f66bb5d94540d466dee3799027 rather than 8ddb3db34558da3ef33f906ea078b613fb03d527 Obtained Jenkinsfile from 55fc044d80c995f66bb5d94540d466dee3799027 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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-94/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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4477 in /w/workspace/xfoundry_device-virtual-go_PR-94 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/xfoundry_device-virtual-go_PR-94 # 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/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 55fc044d80c995f66bb5d94540d466dee3799027 into PR head commit 8ddb3db34558da3ef33f906ea078b613fb03d527 Merge succeeded, producing 8ddb3db34558da3ef33f906ea078b613fb03d527 Checking out Revision 8ddb3db34558da3ef33f906ea078b613fb03d527 (PR-94) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/94/head:refs/remotes/origin/PR-94 # 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/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ddb3db34558da3ef33f906ea078b613fb03d527 # 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 55fc044d80c995f66bb5d94540d466dee3799027 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ddb3db34558da3ef33f906ea078b613fb03d527 # timeout=10 Commit message: "Upgrade to the latest SDK" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:11:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:11:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:11:24 ========================================================= 09:11:24 EdgeX Global Pipelines Version Info 09:11:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:11:26 ------------------- 09:11:26 stable info: 09:11:26 ------------------- 09:11:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:11:26 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 09:11:26 Message: update stable to v1.0.73 09:11:26 ------------------- 09:11:26 experimental info: 09:11:26 ------------------- 09:11:26 Commited By: **** collab-it+edgex@linuxfoundation.org 09:11:26 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 09:11:26 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 09:11:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:11:28 09:11:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:11:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:11:29 latest: Pulling from edgex-devops/git-semver 09:11:29 9123ac7c32f7: Pulling fs layer 09:11:29 b8cc5d1170e3: Pulling fs layer 09:11:29 2924cbbf6a41: Pulling fs layer 09:11:29 93b08a4f1073: Pulling fs layer 09:11:29 93b08a4f1073: Waiting 09:11:29 b8cc5d1170e3: Verifying Checksum 09:11:29 b8cc5d1170e3: Download complete 09:11:29 9123ac7c32f7: Verifying Checksum 09:11:29 9123ac7c32f7: Download complete 09:11:29 93b08a4f1073: Verifying Checksum 09:11:29 93b08a4f1073: Download complete 09:11:29 2924cbbf6a41: Verifying Checksum 09:11:29 2924cbbf6a41: Download complete 09:11:29 9123ac7c32f7: Pull complete 09:11:29 b8cc5d1170e3: Pull complete 09:11:30 2924cbbf6a41: Pull complete 09:11:30 93b08a4f1073: Pull complete 09:11:30 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 09:11:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:11:30 prd-centos7-docker-4c-2g-4477 does not seem to be running inside a container 09:11:30 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-virtual-go_PR-94 -v /w/workspace/xfoundry_device-virtual-go_PR-94:/w/workspace/xfoundry_device-virtual-go_PR-94:rw,z -v /w/workspace/xfoundry_device-virtual-go_PR-94@tmp:/w/workspace/xfoundry_device-virtual-go_PR-94@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:10004/edgex-devops/git-semver:latest cat 09:11:31 $ docker top 704dc96e19a6648f54529ce212106477c4749c9c97a345223704da77dab3a9c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:11:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:11:31 [ssh-agent] Looking for ssh-agent implementation... 09:11:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:11:31 $ docker exec 704dc96e19a6648f54529ce212106477c4749c9c97a345223704da77dab3a9c5 ssh-agent 09:11:31 SSH_AUTH_SOCK=/tmp/ssh-MjwMFjXUSpt4/agent.14 09:11:31 SSH_AGENT_PID=21 09:11:31 Running ssh-add (command line suppressed) 09:11:32 Identity added: /w/workspace/xfoundry_device-virtual-go_PR-94@tmp/private_key_3071546659919082140.key (/w/workspace/xfoundry_device-virtual-go_PR-94@tmp/private_key_3071546659919082140.key) 09:11:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:11:32 + git describe --exact-match --tags HEAD 09:11:32 fatal: No names found, cannot describe anything. [Pipeline] } 09:11:32 $ docker exec --env ******** --env ******** 704dc96e19a6648f54529ce212106477c4749c9c97a345223704da77dab3a9c5 ssh-agent -k 09:11:32 unset SSH_AUTH_SOCK; 09:11:32 unset SSH_AGENT_PID; 09:11:32 echo Agent pid 21 killed; 09:11:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:11:32 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:11:32 This usually means this commit has not been tagged. [Pipeline] sshagent 09:11:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:11:32 [ssh-agent] Looking for ssh-agent implementation... 09:11:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:11:33 $ docker exec 704dc96e19a6648f54529ce212106477c4749c9c97a345223704da77dab3a9c5 ssh-agent 09:11:33 SSH_AUTH_SOCK=/tmp/ssh-H2JoOvADtRma/agent.57 09:11:33 SSH_AGENT_PID=63 09:11:33 Running ssh-add (command line suppressed) 09:11:33 Identity added: /w/workspace/xfoundry_device-virtual-go_PR-94@tmp/private_key_8345572396596651813.key (/w/workspace/xfoundry_device-virtual-go_PR-94@tmp/private_key_8345572396596651813.key) 09:11:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:11:33 + git semver init 09:11:33 # -> Open(): unable to determine branch for HEAD 09:11:33 # $GIT_DIR = /w/workspace/xfoundry_device-virtual-go_PR-94/.git 09:11:33 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-virtual-go_PR-94 09:11:33 # $SEMVER_REMOTE_NAME = origin 09:11:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:11:33 # $SEMVER_USER_NAME = edgex-jenkins 09:11:33 # $SEMVER_BRANCH = PR-94 09:11:33 # $SEMVER_TEMP = /tmp/semver-757393153 09:11:33 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 09:11:34 # '/tmp/semver-757393153' -> '/w/workspace/xfoundry_device-virtual-go_PR-94/.semver' 09:11:34 # -> Force: false 09:11:34 # $SEMVER_DIR = /w/workspace/xfoundry_device-virtual-go_PR-94/.semver [Pipeline] } 09:11:34 $ docker exec --env ******** --env ******** 704dc96e19a6648f54529ce212106477c4749c9c97a345223704da77dab3a9c5 ssh-agent -k 09:11:34 unset SSH_AUTH_SOCK; 09:11:34 unset SSH_AGENT_PID; 09:11:34 echo Agent pid 63 killed; 09:11:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:11:35 + git semver [Pipeline] } 09:11:35 $ docker stop --time=1 704dc96e19a6648f54529ce212106477c4749c9c97a345223704da77dab3a9c5 09:11:36 $ docker rm -f 704dc96e19a6648f54529ce212106477c4749c9c97a345223704da77dab3a9c5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:11:37 Stashed 23 file(s) [Pipeline] echo 09:11:37 [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 09:11:52 Still waiting to schedule task 09:11:52 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:11:52 Still waiting to schedule task 09:11:52 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:13:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4478 in /w/workspace/xfoundry_device-virtual-go_PR-94 [Pipeline] { [Pipeline] ws 09:13:37 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 09:13:42 using credential edgex-jenkins-ssh 09:13:42 Cloning the remote Git repository 09:13:42 Cloning with configured refspecs honoured and without tags 09:13:42 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:13:42 > git init /w/workspace/device-virtual-go/1 # timeout=10 09:13:42 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:13:42 > git --version # timeout=10 09:13:42 using GIT_SSH to set credentials SSH Credentials for GitHub 09:13:42 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:13:43 Fetching without tags 09:13:44 Merging remotes/origin/master commit 55fc044d80c995f66bb5d94540d466dee3799027 into PR head commit 8ddb3db34558da3ef33f906ea078b613fb03d527 09:13:44 Merge succeeded, producing 8ddb3db34558da3ef33f906ea078b613fb03d527 09:13:44 Checking out Revision 8ddb3db34558da3ef33f906ea078b613fb03d527 (PR-94) 09:13:43 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:13:43 > git config --add remote.origin.fetch +refs/pull/94/head:refs/remotes/origin/PR-94 # timeout=10 09:13:43 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:13:43 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:13:43 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:13:43 using GIT_SSH to set credentials SSH Credentials for GitHub 09:13:43 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:13:44 > git config core.sparsecheckout # timeout=10 09:13:44 > git checkout -f 8ddb3db34558da3ef33f906ea078b613fb03d527 # timeout=10 09:13:44 > git remote # timeout=10 09:13:44 > git config --get remote.origin.url # timeout=10 09:13:44 using GIT_SSH to set credentials SSH Credentials for GitHub 09:13:44 > git merge 55fc044d80c995f66bb5d94540d466dee3799027 # timeout=10 09:13:44 > git rev-parse HEAD^{commit} # timeout=10 09:13:44 > git config core.sparsecheckout # timeout=10 09:13:44 > git checkout -f 8ddb3db34558da3ef33f906ea078b613fb03d527 # timeout=10 09:13:49 Commit message: "Upgrade to the latest SDK" 09:13:49 > git --version # timeout=10 09:13:49 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:13:50 ========================================================= 09:13:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 09:13:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:13:51 + 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 . 09:13:52 Sending build context to Docker daemon 490kB 09:13:52 Step 1/8 : ARG BASE=golang:1.13-alpine 09:13:52 Step 2/8 : FROM ${BASE} 09:13:53 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:13:53 cde5963f3b93: Pulling fs layer 09:13:53 2a23fa8c16f7: Pulling fs layer 09:13:53 777b28850792: Pulling fs layer 09:13:53 8a11ddd9e578: Pulling fs layer 09:13:53 4cf88f913ddb: Pulling fs layer 09:13:53 1df406cf5192: Pulling fs layer 09:13:53 cd6300453558: Pulling fs layer 09:13:53 b9c365052c96: Pulling fs layer 09:13:53 a2d8cc88f415: Pulling fs layer 09:13:53 ea1d1ca13537: Pulling fs layer 09:13:53 3750a50a1c5e: Pulling fs layer 09:13:53 8a11ddd9e578: Waiting 09:13:53 4cf88f913ddb: Waiting 09:13:53 1df406cf5192: Waiting 09:13:53 ea1d1ca13537: Waiting 09:13:53 cd6300453558: Waiting 09:13:53 b9c365052c96: Waiting 09:13:53 3750a50a1c5e: Waiting 09:13:53 a2d8cc88f415: Waiting 09:13:53 777b28850792: Download complete 09:13:53 2a23fa8c16f7: Verifying Checksum 09:13:53 2a23fa8c16f7: Download complete 09:13:53 4cf88f913ddb: Verifying Checksum 09:13:53 4cf88f913ddb: Download complete 09:13:53 1df406cf5192: Verifying Checksum 09:13:53 1df406cf5192: Download complete 09:13:53 cde5963f3b93: Verifying Checksum 09:13:53 cde5963f3b93: Pull complete 09:13:54 2a23fa8c16f7: Pull complete 09:13:54 777b28850792: Pull complete 09:13:57 cd6300453558: Verifying Checksum 09:13:57 cd6300453558: Download complete 09:13:57 a2d8cc88f415: Verifying Checksum 09:13:57 a2d8cc88f415: Download complete 09:14:00 ea1d1ca13537: Verifying Checksum 09:14:00 ea1d1ca13537: Download complete 09:14:00 3750a50a1c5e: Verifying Checksum 09:14:00 3750a50a1c5e: Download complete 09:14:02 b9c365052c96: Verifying Checksum 09:14:02 b9c365052c96: Download complete 09:14:04 8a11ddd9e578: Verifying Checksum 09:14:04 8a11ddd9e578: Download complete 09:14:06 Running on prd-centos7-docker-4c-2g-4479 in /w/workspace/xfoundry_device-virtual-go_PR-94 [Pipeline] { [Pipeline] ws 09:14:06 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 09:14:08 using credential edgex-jenkins-ssh 09:14:08 Cloning the remote Git repository 09:14:08 Cloning with configured refspecs honoured and without tags 09:14:07 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:14:07 > git init /w/workspace/device-virtual-go/1 # timeout=10 09:14:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:14:07 > git --version # timeout=10 09:14:07 using GIT_SSH to set credentials SSH Credentials for GitHub 09:14:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:14:09 Fetching without tags 09:14:09 Merging remotes/origin/master commit 55fc044d80c995f66bb5d94540d466dee3799027 into PR head commit 8ddb3db34558da3ef33f906ea078b613fb03d527 09:14:09 Merge succeeded, producing 8ddb3db34558da3ef33f906ea078b613fb03d527 09:14:09 Checking out Revision 8ddb3db34558da3ef33f906ea078b613fb03d527 (PR-94) 09:14:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:14:08 > git config --add remote.origin.fetch +refs/pull/94/head:refs/remotes/origin/PR-94 # timeout=10 09:14:08 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:14:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:14:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:14:08 using GIT_SSH to set credentials SSH Credentials for GitHub 09:14:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:14:08 > git config core.sparsecheckout # timeout=10 09:14:08 > git checkout -f 8ddb3db34558da3ef33f906ea078b613fb03d527 # timeout=10 09:14:08 > git remote # timeout=10 09:14:08 > git config --get remote.origin.url # timeout=10 09:14:09 using GIT_SSH to set credentials SSH Credentials for GitHub 09:14:09 > git merge 55fc044d80c995f66bb5d94540d466dee3799027 # timeout=10 09:14:09 > git rev-parse HEAD^{commit} # timeout=10 09:14:09 > git config core.sparsecheckout # timeout=10 09:14:09 > git checkout -f 8ddb3db34558da3ef33f906ea078b613fb03d527 # timeout=10 09:14:13 Commit message: "Upgrade to the latest SDK" 09:14:13 > git --version # timeout=10 09:14:13 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:14:14 ========================================================= 09:14:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 09:14:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:14:15 + 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 . 09:14:15 Sending build context to Docker daemon 490kB 09:14:15 Step 1/8 : ARG BASE=golang:1.13-alpine 09:14:15 Step 2/8 : FROM ${BASE} 09:14:15 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 09:14:15 e6b0cf9c0882: Pulling fs layer 09:14:15 2848faf0eed1: Pulling fs layer 09:14:15 0f37312ad70f: Pulling fs layer 09:14:15 5788d62ee057: Pulling fs layer 09:14:15 0e6b1d234666: Pulling fs layer 09:14:15 bf5d7aec512f: Pulling fs layer 09:14:15 34c802a77dc8: Pulling fs layer 09:14:15 9eb99e56ec68: Pulling fs layer 09:14:15 27c7a5d97fbd: Pulling fs layer 09:14:15 5c102a31e300: Pulling fs layer 09:14:15 dcfb455df0a1: Pulling fs layer 09:14:15 bf5d7aec512f: Waiting 09:14:15 34c802a77dc8: Waiting 09:14:15 9eb99e56ec68: Waiting 09:14:15 27c7a5d97fbd: Waiting 09:14:15 5c102a31e300: Waiting 09:14:15 dcfb455df0a1: Waiting 09:14:15 5788d62ee057: Waiting 09:14:15 0e6b1d234666: Waiting 09:14:15 0f37312ad70f: Verifying Checksum 09:14:15 0f37312ad70f: Download complete 09:14:15 2848faf0eed1: Download complete 09:14:15 0e6b1d234666: Verifying Checksum 09:14:15 0e6b1d234666: Download complete 09:14:15 bf5d7aec512f: Verifying Checksum 09:14:15 bf5d7aec512f: Download complete 09:14:15 e6b0cf9c0882: Verifying Checksum 09:14:15 e6b0cf9c0882: Download complete 09:14:15 e6b0cf9c0882: Pull complete 09:14:16 34c802a77dc8: Verifying Checksum 09:14:16 34c802a77dc8: Download complete 09:14:16 27c7a5d97fbd: Verifying Checksum 09:14:16 27c7a5d97fbd: Download complete 09:14:16 8a11ddd9e578: Pull complete 09:14:16 4cf88f913ddb: Pull complete 09:14:16 1df406cf5192: Pull complete 09:14:16 5c102a31e300: Verifying Checksum 09:14:16 5c102a31e300: Download complete 09:14:16 dcfb455df0a1: Verifying Checksum 09:14:16 dcfb455df0a1: Download complete 09:14:17 9eb99e56ec68: Verifying Checksum 09:14:17 9eb99e56ec68: Download complete 09:14:17 5788d62ee057: Verifying Checksum 09:14:17 5788d62ee057: Download complete 09:14:17 2848faf0eed1: Pull complete 09:14:17 0f37312ad70f: Pull complete 09:14:21 cd6300453558: Pull complete 09:14:22 5788d62ee057: Pull complete 09:14:22 0e6b1d234666: Pull complete 09:14:22 bf5d7aec512f: Pull complete 09:14:26 34c802a77dc8: Pull complete 09:14:27 b9c365052c96: Pull complete 09:14:27 a2d8cc88f415: Pull complete 09:14:28 ea1d1ca13537: Pull complete 09:14:28 3750a50a1c5e: Pull complete 09:14:28 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 09:14:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 09:14:29 ---> 78745c68409d 09:14:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:14:29 9eb99e56ec68: Pull complete 09:14:29 27c7a5d97fbd: Pull complete 09:14:30 5c102a31e300: Pull complete 09:14:30 dcfb455df0a1: Pull complete 09:14:30 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 09:14:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 09:14:30 ---> 7c70fe431013 09:14:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:14:30 ---> Running in 986bf55991c6 09:14:30 Removing intermediate container 986bf55991c6 09:14:30 ---> 0fb7caebbcc2 09:14:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:14:30 ---> Running in 1c5a295d61f4 09:14:32 Removing intermediate container 1c5a295d61f4 09:14:32 ---> 032aec25be83 09:14:32 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:14:32 ---> Running in 66e2ac83d198 09:14:32 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:14:33 ---> Running in 778428f22661 09:14:33 Removing intermediate container 778428f22661 09:14:33 ---> 8dd4966581fc 09:14:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:14:33 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:14:33 ---> Running in 5eba95361b66 09:14:33 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 09:14:33 (2/17) Installing libmagic (5.37-r1) 09:14:33 (3/17) Installing file (5.37-r1) 09:14:33 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 09:14:33 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 09:14:34 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 09:14:35 Removing intermediate container 5eba95361b66 09:14:35 ---> bd5da9263147 09:14:35 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:14:35 ---> Running in 8130803eda17 09:14:36 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:14:37 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:14:37 (7/17) Installing libc-dev (0.7.2-r0) 09:14:37 (8/17) Installing g++ (9.2.0-r4) 09:14:37 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 09:14:37 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 09:14:38 (3/18) Installing libmagic (5.37-r1) 09:14:38 (4/18) Installing file (5.37-r1) 09:14:38 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 09:14:38 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 09:14:38 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 09:14:39 (9/17) Installing fortify-headers (1.1-r0) 09:14:39 (10/17) Installing build-base (0.5-r1) 09:14:39 (11/17) Installing openssh-keygen (8.1_p1-r0) 09:14:39 (12/17) Installing libedit (20191211.3.1-r0) 09:14:39 (13/17) Installing openssh-client (8.1_p1-r0) 09:14:39 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 09:14:40 (15/17) Installing openssh-server-common (8.1_p1-r0) 09:14:40 (16/17) Installing openssh-server (8.1_p1-r0) 09:14:40 (17/17) Installing openssh (8.1_p1-r0) 09:14:40 Executing busybox-1.31.1-r8.trigger 09:14:40 OK: 214 MiB in 52 packages 09:14:41 (8/18) Installing libc-dev (0.7.2-r0) 09:14:41 (9/18) Installing g++ (9.2.0-r4) 09:14:43 (10/18) Installing fortify-headers (1.1-r0) 09:14:43 (11/18) Installing build-base (0.5-r1) 09:14:43 (12/18) Installing openssh-keygen (8.1_p1-r0) 09:14:43 (13/18) Installing libedit (20191211.3.1-r0) 09:14:43 (14/18) Installing openssh-client (8.1_p1-r0) 09:14:43 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 09:14:43 (16/18) Installing openssh-server-common (8.1_p1-r0) 09:14:43 (17/18) Installing openssh-server (8.1_p1-r0) 09:14:43 (18/18) Installing openssh (8.1_p1-r0) 09:14:43 Executing busybox-1.31.1-r8.trigger 09:14:43 OK: 203 MiB in 52 packages 09:14:44 Removing intermediate container 66e2ac83d198 09:14:44 ---> b87f5a3100cb 09:14:44 Step 6/8 : WORKDIR /device-virtual-go 09:14:44 ---> Running in 471b6734ae5b 09:14:44 Removing intermediate container 471b6734ae5b 09:14:44 ---> 9bdc4f3d77de 09:14:44 Step 7/8 : COPY . . 09:14:44 ---> d36093a6dc0d 09:14:44 Step 8/8 : RUN go mod download 09:14:44 ---> Running in 916d6a56aa0b 09:14:47 go: finding github.com/BurntSushi/toml v0.3.1 09:14:47 go: finding github.com/OneOfOne/xxhash v1.2.6 09:14:47 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:14:47 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:14:47 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:14:47 go: finding github.com/bgentry/speakeasy v0.1.0 09:14:47 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:14:47 go: finding github.com/davecgh/go-spew v1.1.1 09:14:47 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.24 09:14:47 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 09:14:47 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:14:47 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 09:14:48 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 09:14:48 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:14:48 go: finding github.com/edsrzf/mmap-go v1.0.0 09:14:48 go: finding github.com/fatih/color v1.7.0 09:14:48 go: finding github.com/fxamacker/cbor/v2 v2.2.0 09:14:48 go: finding github.com/go-kit/kit v0.8.0 09:14:48 go: finding github.com/go-logfmt/logfmt v0.4.0 09:14:48 go: finding github.com/go-stack/stack v1.8.0 09:14:48 go: finding github.com/golang/snappy v0.0.1 09:14:48 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:14:48 go: finding github.com/google/uuid v1.1.0 09:14:48 go: finding github.com/gorilla/mux v1.7.1 09:14:48 go: finding github.com/hashicorp/consul/api v1.1.0 09:14:48 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:14:48 go: finding github.com/hashicorp/errwrap v1.0.0 09:14:48 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:14:48 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:14:48 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:14:48 go: finding github.com/hashicorp/go-multierror v1.0.0 09:14:48 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:14:48 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:14:48 go: finding github.com/hashicorp/go-syslog v1.0.0 09:14:48 go: finding github.com/hashicorp/go-uuid v1.0.1 09:14:48 go: finding github.com/hashicorp/go.net v0.0.1 09:14:48 go: finding github.com/hashicorp/golang-lru v0.5.0 09:14:48 go: finding github.com/hashicorp/logutils v1.0.0 09:14:48 go: finding github.com/hashicorp/mdns v1.0.0 09:14:48 go: finding github.com/hashicorp/memberlist v0.1.3 09:14:49 go: finding github.com/hashicorp/serf v0.8.2 09:14:49 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:14:49 go: finding github.com/mattn/go-colorable v0.0.9 09:14:49 go: finding github.com/mattn/go-isatty v0.0.3 09:14:49 go: finding github.com/miekg/dns v1.0.14 09:14:49 go: finding github.com/mitchellh/cli v1.0.0 09:14:49 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:14:49 go: finding github.com/mitchellh/copystructure v1.0.0 09:14:49 go: finding github.com/mitchellh/go-homedir v1.0.0 09:14:49 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:14:49 go: finding github.com/mitchellh/gox v0.4.0 09:14:49 go: finding github.com/mitchellh/iochan v1.0.0 09:14:49 go: finding github.com/mitchellh/mapstructure v1.1.2 09:14:49 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:14:49 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:14:49 go: finding github.com/pelletier/go-toml v1.2.0 09:14:49 go: finding github.com/pkg/errors v0.8.1 09:14:49 go: finding github.com/pmezard/go-difflib v1.0.0 09:14:49 go: finding github.com/posener/complete v1.1.1 09:14:49 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 09:14:50 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:14:50 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:14:50 go: finding github.com/stretchr/objx v0.1.0 09:14:50 go: finding github.com/stretchr/testify v1.5.1 09:14:50 go: finding github.com/ugorji/go v1.1.4 09:14:50 go: finding github.com/x448/float16 v0.8.4 09:14:50 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:14:50 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:14:50 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:14:50 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 09:14:50 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:14:50 go: finding gopkg.in/yaml.v2 v2.2.8 09:14:50 go: finding modernc.org/b v1.0.0 09:14:50 go: finding modernc.org/db v1.0.0 09:14:50 Removing intermediate container 8130803eda17 09:14:50 ---> dc6504daccee 09:14:50 Step 6/8 : WORKDIR /device-virtual-go 09:14:50 go: finding modernc.org/file v1.0.0 09:14:50 go: finding modernc.org/fileutil v1.0.0 09:14:50 go: finding modernc.org/golex v1.0.0 09:14:50 go: finding modernc.org/internal v1.0.0 09:14:50 go: finding modernc.org/lldb v1.0.0 09:14:50 go: finding modernc.org/mathutil v1.0.0 09:14:50 ---> Running in aa19c8656c83 09:14:50 go: finding modernc.org/ql v1.0.0 09:14:50 go: finding modernc.org/sortutil v1.0.0 09:14:50 go: finding modernc.org/strutil v1.0.0 09:14:50 go: finding modernc.org/zappy v1.0.0 09:14:51 Removing intermediate container aa19c8656c83 09:14:51 ---> 84f29b4b61e4 09:14:51 Step 7/8 : COPY . . 09:14:51 ---> 3343dfac8a2b 09:14:51 Step 8/8 : RUN go mod download 09:14:51 ---> Running in a7495ff72a36 09:14:53 go: finding github.com/BurntSushi/toml v0.3.1 09:14:53 go: finding github.com/OneOfOne/xxhash v1.2.6 09:14:53 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:14:53 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:14:53 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:14:54 go: finding github.com/bgentry/speakeasy v0.1.0 09:14:54 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:14:54 go: finding github.com/davecgh/go-spew v1.1.1 09:14:54 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.24 09:14:54 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 09:14:54 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:14:54 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 09:14:54 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 09:14:54 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:14:54 go: finding github.com/edsrzf/mmap-go v1.0.0 09:14:54 go: finding github.com/fatih/color v1.7.0 09:14:54 go: finding github.com/fxamacker/cbor/v2 v2.2.0 09:14:54 go: finding github.com/go-kit/kit v0.8.0 09:14:54 go: finding github.com/go-logfmt/logfmt v0.4.0 09:14:54 go: finding github.com/go-stack/stack v1.8.0 09:14:54 go: finding github.com/golang/snappy v0.0.1 09:14:54 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:14:54 go: finding github.com/google/uuid v1.1.0 09:14:54 go: finding github.com/gorilla/mux v1.7.1 09:14:54 go: finding github.com/hashicorp/consul/api v1.1.0 09:14:54 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:14:54 go: finding github.com/hashicorp/errwrap v1.0.0 09:14:54 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:14:54 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:14:54 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:14:54 go: finding github.com/hashicorp/go-multierror v1.0.0 09:14:54 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:14:54 go: finding github.com/hashicorp/go-sockaddr v1.0.0 09:14:54 go: finding github.com/hashicorp/go-syslog v1.0.0 09:14:54 go: finding github.com/hashicorp/go-uuid v1.0.1 09:14:54 go: finding github.com/hashicorp/go.net v0.0.1 09:14:54 go: finding github.com/hashicorp/golang-lru v0.5.0 09:14:54 go: finding github.com/hashicorp/logutils v1.0.0 09:14:54 go: finding github.com/hashicorp/mdns v1.0.0 09:14:54 go: finding github.com/hashicorp/memberlist v0.1.3 09:14:54 go: finding github.com/hashicorp/serf v0.8.2 09:14:54 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:14:54 go: finding github.com/mattn/go-colorable v0.0.9 09:14:54 go: finding github.com/mattn/go-isatty v0.0.3 09:14:54 go: finding github.com/miekg/dns v1.0.14 09:14:54 go: finding github.com/mitchellh/cli v1.0.0 09:14:54 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:14:54 go: finding github.com/mitchellh/copystructure v1.0.0 09:14:54 go: finding github.com/mitchellh/go-homedir v1.0.0 09:14:54 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:14:54 go: finding github.com/mitchellh/gox v0.4.0 09:14:54 go: finding github.com/mitchellh/iochan v1.0.0 09:14:54 go: finding github.com/mitchellh/mapstructure v1.1.2 09:14:54 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:14:55 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:14:55 go: finding github.com/pelletier/go-toml v1.2.0 09:14:55 go: finding github.com/pkg/errors v0.8.1 09:14:55 go: finding github.com/pmezard/go-difflib v1.0.0 09:14:55 go: finding github.com/posener/complete v1.1.1 09:14:55 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 09:14:55 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 09:14:55 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:14:55 go: finding github.com/stretchr/objx v0.1.0 09:14:55 go: finding github.com/stretchr/testify v1.5.1 09:14:55 go: finding github.com/ugorji/go v1.1.4 09:14:55 go: finding github.com/x448/float16 v0.8.4 09:14:55 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:14:55 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 09:14:55 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:14:55 Removing intermediate container 916d6a56aa0b 09:14:55 ---> 4d22c6530e57 09:14:55 Successfully built 4d22c6530e57 09:14:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 09:14:55 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 09:14:55 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:14:55 go: finding gopkg.in/yaml.v2 v2.2.8 09:14:55 go: finding modernc.org/b v1.0.0 09:14:55 go: finding modernc.org/db v1.0.0 09:14:55 go: finding modernc.org/file v1.0.0 [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:14:55 go: finding modernc.org/fileutil v1.0.0 09:14:55 go: finding modernc.org/golex v1.0.0 09:14:55 go: finding modernc.org/internal v1.0.0 09:14:55 go: finding modernc.org/lldb v1.0.0 09:14:55 go: finding modernc.org/mathutil v1.0.0 09:14:55 go: finding modernc.org/ql v1.0.0 09:14:55 + docker inspect -f . ci-base-image-x86_64 09:14:55 . 09:14:55 go: finding modernc.org/sortutil v1.0.0 09:14:55 go: finding modernc.org/strutil v1.0.0 09:14:55 go: finding modernc.org/zappy v1.0.0 [Pipeline] withDockerContainer 09:14:55 prd-centos7-docker-4c-2g-4479 does not seem to be running inside a container 09:14:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:14:56 $ docker top 39f4c35808cce5a658c706c2c7541c4db3272e35c50e94104fd8d2371e7e975a -eo pid,comm [Pipeline] { [Pipeline] sh 09:14:57 + go version 09:14:57 go version go1.13.5 linux/amd64 [Pipeline] sh 09:14:57 + make test 09:14:57 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:14:59 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:15:08 Removing intermediate container a7495ff72a36 09:15:08 ---> 840d265becb3 09:15:08 Successfully built 840d265becb3 09:15:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:15:08 + docker inspect -f . ci-base-image-arm64 09:15:09 . [Pipeline] withDockerContainer 09:15:09 prd-ubuntu18.04-docker-arm64-4c-16g-4478 does not seem to be running inside a container 09:15:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:15:11 $ docker top 2e5da50b43ffec8193f9f28af92bb0c85016b574b4eca8d58c687dd0a0dbbbd8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:12 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:15:12 + go version 09:15:12 go version go1.13.5 linux/arm64 [Pipeline] sh 09:15:12 + make test 09:15:12 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:15:14 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:15:53 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:15:58 ok github.com/edgexfoundry/device-virtual-go/internal/driver 45.314s coverage: 51.2% of statements 09:15:58 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:16:00 gofmt -l . 09:16:00 [ "`gofmt -l .`" = "" ] 09:16:00 ./bin/test-attribution-txt.sh 09:16:01 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:16:01 Stashed 1 file(s) [Pipeline] } 09:16:01 $ docker stop --time=1 39f4c35808cce5a658c706c2c7541c4db3272e35c50e94104fd8d2371e7e975a 09:16:03 $ docker rm -f 39f4c35808cce5a658c706c2c7541c4db3272e35c50e94104fd8d2371e7e975a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:16:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:16:05 + ls -al . 09:16:05 total 112 09:16:05 drwxrwxr-x. 8 jenkins jenkins 4096 Apr 17 09:16 . 09:16:05 drwxrwxr-x. 4 jenkins jenkins 28 Apr 17 09:14 .. 09:16:05 -rw-rw-r--. 1 jenkins jenkins 6529 Apr 17 09:14 Attribution.txt 09:16:05 drwxrwxr-x. 2 jenkins jenkins 64 Apr 17 09:14 bin 09:16:05 drwxrwxr-x. 3 jenkins jenkins 55 Apr 17 09:14 cmd 09:16:05 -rw-r--r--. 1 jenkins jenkins 32181 Apr 17 09:15 coverage.out 09:16:05 -rw-rw-r--. 1 jenkins jenkins 1653 Apr 17 09:14 Dockerfile 09:16:05 -rw-rw-r--. 1 jenkins jenkins 957 Apr 17 09:14 Dockerfile.build 09:16:05 drwxrwxr-x. 8 jenkins jenkins 179 Apr 17 09:14 .git 09:16:05 drwxrwxr-x. 2 jenkins jenkins 38 Apr 17 09:14 .github 09:16:05 -rw-rw-r--. 1 jenkins jenkins 258 Apr 17 09:14 .gitignore 09:16:05 -rw-r--r--. 1 jenkins jenkins 862 Apr 17 09:16 go.mod 09:16:05 -rw-r--r--. 1 jenkins jenkins 14805 Apr 17 09:16 go.sum 09:16:05 drwxrwxr-x. 3 jenkins jenkins 20 Apr 17 09:14 internal 09:16:05 -rw-rw-r--. 1 jenkins jenkins 683 Apr 17 09:14 Jenkinsfile 09:16:05 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 17 09:14 LICENSE 09:16:05 -rw-rw-r--. 1 jenkins jenkins 873 Apr 17 09:14 Makefile 09:16:05 -rw-rw-r--. 1 jenkins jenkins 4413 Apr 17 09:14 README.md 09:16:05 drwxrwxr-x. 3 jenkins jenkins 57 Apr 17 09:14 .semver 09:16:05 -rw-rw-r--. 1 jenkins jenkins 5 Apr 17 09:11 VERSION 09:16:05 -rw-rw-r--. 1 jenkins jenkins 235 Apr 17 09:14 version.go [Pipeline] isUnix [Pipeline] sh 09:16:05 + 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=8ddb3db34558da3ef33f906ea078b613fb03d527 --label arch=amd64 --label version=0.0.0 . 09:16:05 Sending build context to Docker daemon 34.11MB 09:16:05 Step 1/19 : ARG BASE=golang:1.13-alpine 09:16:05 Step 2/19 : FROM ${BASE} AS builder 09:16:05 ---> 4d22c6530e57 09:16:05 Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:16:06 ---> Running in 970873202ce0 09:16:06 Removing intermediate container 970873202ce0 09:16:06 ---> 56b6fc3dab4d 09:16:06 Step 4/19 : ARG ALPINE_PKG_EXTRA="" 09:16:06 ---> Running in daa3334821ac 09:16:06 Removing intermediate container daa3334821ac 09:16:06 ---> 8ca379b55130 09:16:06 Step 5/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IOTech' 09:16:06 ---> Running in 3f7ec8d497da 09:16:06 Removing intermediate container 3f7ec8d497da 09:16:06 ---> 6c56e22aa793 09:16:06 Step 6/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:16:06 ---> Running in 766426b867b5 09:16:07 Removing intermediate container 766426b867b5 09:16:07 ---> 631911a643fa 09:16:07 Step 7/19 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:16:07 ---> Running in 0e5fbdf689af 09:16:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:16:08 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:16:08 OK: 214 MiB in 52 packages 09:16:08 Removing intermediate container 0e5fbdf689af 09:16:08 ---> 94f1aa30a731 09:16:08 Step 8/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 09:16:09 ---> Running in 8d82009e83fd 09:16:09 Removing intermediate container 8d82009e83fd 09:16:09 ---> 10cfa9afa124 09:16:09 Step 9/19 : COPY . . 09:16:09 ---> 61c4d4444930 09:16:09 Step 10/19 : ARG MAKE='make build' 09:16:10 ---> Running in 65cd71f0e0c0 09:16:10 Removing intermediate container 65cd71f0e0c0 09:16:10 ---> c324d1864902 09:16:10 Step 11/19 : RUN $MAKE 09:16:10 ---> Running in 8c6692938d4a 09:16:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 09:16:22 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:16:24 Removing intermediate container 8c6692938d4a 09:16:24 ---> 8a942a89facc 09:16:24 Step 12/19 : FROM alpine 09:16:24 latest: Pulling from library/alpine 09:16:24 aad63a933944: Pulling fs layer 09:16:24 aad63a933944: Verifying Checksum 09:16:24 aad63a933944: Download complete 09:16:25 aad63a933944: Pull complete 09:16:25 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 09:16:25 Status: Downloaded newer image for alpine:latest 09:16:25 ---> a187dde48cd2 09:16:25 Step 13/19 : ENV APP_PORT=49990 09:16:25 ---> Running in f619187b5fb4 09:16:25 Removing intermediate container f619187b5fb4 09:16:25 ---> 66d3461dd737 09:16:25 Step 14/19 : EXPOSE $APP_PORT 09:16:25 ---> Running in 7f4b4eb455cb 09:16:25 Removing intermediate container 7f4b4eb455cb 09:16:25 ---> 4ca548a5df62 09:16:25 Step 15/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 09:16:25 ---> 7abad5c297d9 09:16:25 Step 16/19 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 09:16:25 ---> Running in 1e08ad7560d0 09:16:26 Removing intermediate container 1e08ad7560d0 09:16:26 ---> 1f30ff92e0bf 09:16:26 Step 17/19 : LABEL arch=amd64 09:16:26 ---> Running in 83b5d4855d6e 09:16:26 Removing intermediate container 83b5d4855d6e 09:16:26 ---> a3d1c535aca0 09:16:26 Step 18/19 : LABEL git_sha=8ddb3db34558da3ef33f906ea078b613fb03d527 09:16:26 ---> Running in 7cd645103e7f 09:16:26 Removing intermediate container 7cd645103e7f 09:16:26 ---> fce5febe0380 09:16:26 Step 19/19 : LABEL version=0.0.0 09:16:26 ---> Running in fd4e774432ab 09:16:26 Removing intermediate container fd4e774432ab 09:16:26 ---> 80357f9b8fd7 09:16:26 [Warning] One or more build-args [ARCH] were not consumed 09:16:26 Successfully built 80357f9b8fd7 09:16:26 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] } 09:18:44 ok github.com/edgexfoundry/device-virtual-go/internal/driver 170.307s coverage: 51.2% of statements 09:18:44 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:18:51 gofmt -l . 09:18:51 [ "`gofmt -l .`" = "" ] 09:18:51 ./bin/test-attribution-txt.sh 09:18:51 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:18:52 Warning: overwriting stash ‘coverage-report’ 09:18:52 Stashed 1 file(s) [Pipeline] } 09:18:52 $ docker stop --time=1 2e5da50b43ffec8193f9f28af92bb0c85016b574b4eca8d58c687dd0a0dbbbd8 09:18:54 $ docker rm -f 2e5da50b43ffec8193f9f28af92bb0c85016b574b4eca8d58c687dd0a0dbbbd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:18:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:18:56 + ls -al . 09:18:56 total 140 09:18:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 09:18 . 09:18:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 09:13 .. 09:18:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 09:13 .git 09:18:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 09:13 .github 09:18:56 -rw-rw-r-- 1 jenkins jenkins 258 Apr 17 09:13 .gitignore 09:18:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 09:13 .semver 09:18:56 -rw-rw-r-- 1 jenkins jenkins 6529 Apr 17 09:13 Attribution.txt 09:18:56 -rw-rw-r-- 1 jenkins jenkins 1653 Apr 17 09:13 Dockerfile 09:18:56 -rw-rw-r-- 1 jenkins jenkins 957 Apr 17 09:13 Dockerfile.build 09:18:56 -rw-rw-r-- 1 jenkins jenkins 683 Apr 17 09:13 Jenkinsfile 09:18:56 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 09:13 LICENSE 09:18:56 -rw-rw-r-- 1 jenkins jenkins 873 Apr 17 09:13 Makefile 09:18:56 -rw-rw-r-- 1 jenkins jenkins 4413 Apr 17 09:13 README.md 09:18:56 -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 09:11 VERSION 09:18:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 09:13 bin 09:18:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 09:13 cmd 09:18:56 -rw-r--r-- 1 jenkins jenkins 32181 Apr 17 09:18 coverage.out 09:18:56 -rw-r--r-- 1 jenkins jenkins 862 Apr 17 09:18 go.mod 09:18:56 -rw-r--r-- 1 jenkins jenkins 14805 Apr 17 09:18 go.sum 09:18:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 09:13 internal 09:18:56 -rw-rw-r-- 1 jenkins jenkins 235 Apr 17 09:13 version.go [Pipeline] isUnix [Pipeline] sh 09:18:56 + 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=8ddb3db34558da3ef33f906ea078b613fb03d527 --label arch=arm64 --label version=0.0.0 . 09:18:57 Sending build context to Docker daemon 34.11MB 09:18:57 Step 1/19 : ARG BASE=golang:1.13-alpine 09:18:57 Step 2/19 : FROM ${BASE} AS builder 09:18:57 ---> 840d265becb3 09:18:57 Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:18:58 ---> Running in 21366d3c2e7c 09:18:58 Removing intermediate container 21366d3c2e7c 09:18:58 ---> d11465f48716 09:18:58 Step 4/19 : ARG ALPINE_PKG_EXTRA="" 09:18:58 ---> Running in 52cc48bf562c 09:18:59 Removing intermediate container 52cc48bf562c 09:18:59 ---> dcbb216710c7 09:18:59 Step 5/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IOTech' 09:18:59 ---> Running in 680e06372a94 09:18:59 Removing intermediate container 680e06372a94 09:18:59 ---> 9f02fcfeeada 09:18:59 Step 6/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:18:59 ---> Running in 109159189c25 09:19:01 Removing intermediate container 109159189c25 09:19:01 ---> 18c511e7f0eb 09:19:01 Step 7/19 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:19:01 ---> Running in 377a89ce9fba 09:19:02 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:19:03 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:19:03 OK: 203 MiB in 52 packages 09:19:04 Removing intermediate container 377a89ce9fba 09:19:04 ---> 30bba08c056b 09:19:04 Step 8/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 09:19:04 ---> Running in efadef407188 09:19:05 Removing intermediate container efadef407188 09:19:05 ---> 48f12407e3f4 09:19:05 Step 9/19 : COPY . . 09:19:07 ---> bfbe61e5dc40 09:19:07 Step 10/19 : ARG MAKE='make build' 09:19:07 ---> Running in 24d68f2a23e8 09:19:07 Removing intermediate container 24d68f2a23e8 09:19:07 ---> 3bf63580b519 09:19:07 Step 11/19 : RUN $MAKE 09:19:07 ---> Running in 8be654c61c92 09:19:08 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 09:19:40 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:19:49 Removing intermediate container 8be654c61c92 09:19:49 ---> d868de635942 09:19:49 Step 12/19 : FROM alpine 09:19:49 latest: Pulling from library/alpine 09:19:49 8a0637ca1ac9: Pulling fs layer 09:19:49 8a0637ca1ac9: Verifying Checksum 09:19:49 8a0637ca1ac9: Download complete 09:19:50 8a0637ca1ac9: Pull complete 09:19:50 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 09:19:50 Status: Downloaded newer image for alpine:latest 09:19:50 ---> 2ee122dcc32d 09:19:50 Step 13/19 : ENV APP_PORT=49990 09:19:50 ---> Running in 5b902f9ed588 09:19:51 Removing intermediate container 5b902f9ed588 09:19:51 ---> 093540b17bf2 09:19:51 Step 14/19 : EXPOSE $APP_PORT 09:19:51 ---> Running in a9a84a7c9d3b 09:19:51 Removing intermediate container a9a84a7c9d3b 09:19:51 ---> 2d64d8e6378f 09:19:51 Step 15/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 09:19:52 ---> a0d743738037 09:19:52 Step 16/19 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 09:19:52 ---> Running in fd9cecb193e2 09:19:53 Removing intermediate container fd9cecb193e2 09:19:53 ---> 69a97c34dd18 09:19:53 Step 17/19 : LABEL arch=arm64 09:19:53 ---> Running in 1eb313addfe1 09:19:53 Removing intermediate container 1eb313addfe1 09:19:53 ---> 8b28b55fa2ce 09:19:53 Step 18/19 : LABEL git_sha=8ddb3db34558da3ef33f906ea078b613fb03d527 09:19:53 ---> Running in 37fb8744998d 09:19:54 Removing intermediate container 37fb8744998d 09:19:54 ---> af66ead11eec 09:19:54 Step 19/19 : LABEL version=0.0.0 09:19:54 ---> Running in 7814a7e55581 09:19:54 Removing intermediate container 7814a7e55581 09:19:54 ---> 79def5bef1f5 09:19:54 [Warning] One or more build-args [ARCH] were not consumed 09:19:54 Successfully built 79def5bef1f5 09:19:54 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 09:19:56 provisioning config files... 09:19:56 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/xfoundry_device-virtual-go_PR-94@tmp/config8497326631220656638tmp [Pipeline] { [Pipeline] sh 09:19:56 + curl -s https://codecov.io/bash 09:19:56 + bash -s - -t @/w/workspace/xfoundry_device-virtual-go_PR-94@tmp/config8497326631220656638tmp 09:19:56 09:19:56 _____ _ 09:19:56 / ____| | | 09:19:56 | | ___ __| | ___ ___ _____ __ 09:19:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:19:56 | |___| (_) | (_| | __/ (_| (_) \ V / 09:19:56 \_____\___/ \__,_|\___|\___\___/ \_/ 09:19:56 Bash-tbd 09:19:56 09:19:56 09:19:56 ==> Jenkins CI detected. 09:19:56 project root: . 09:19:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:19:56 ==> Running gcov in . (disable via -X gcov) 09:19:56 ==> Python coveragepy not found 09:19:56 ==> Searching for coverage reports in: 09:19:56 + . 09:19:56 -> Found 1 reports 09:19:56 ==> Detecting git/mercurial file structure 09:19:56 ==> Reading reports 09:19:56 + ./coverage.out bytes=32181 09:19:56 ==> Appending adjustments 09:19:56 http://docs.codecov.io/docs/fixing-reports 09:19:56 + Found adjustments 09:19:56 ==> Gzipping contents 09:19:56 ==> Uploading reports 09:19:56 url: https://codecov.io 09:19:56 query: branch=PR-94&commit=8ddb3db34558da3ef33f906ea078b613fb03d527&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=94&job= 09:19:56 -> Pinging Codecov 09:19:56 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-94&commit=8ddb3db34558da3ef33f906ea078b613fb03d527&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=94&job= 09:19:57 -> Uploading 09:19:58 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8ddb3db34558da3ef33f906ea078b613fb03d527 [Pipeline] } 09:19:58 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 09:19:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:19:59 ---> package-listing.sh 09:19:59 ++ facter osfamily 09:19:59 ++ tr '[:upper:]' '[:lower:]' 09:19:59 + OS_FAMILY=redhat 09:19:59 + workspace=/w/workspace/xfoundry_device-virtual-go_PR-94 09:19:59 + START_PACKAGES=/tmp/packages_start.txt 09:19:59 + END_PACKAGES=/tmp/packages_end.txt 09:19:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:19:59 + PACKAGES=/tmp/packages_start.txt 09:19:59 + '[' /w/workspace/xfoundry_device-virtual-go_PR-94 ']' 09:19:59 + PACKAGES=/tmp/packages_end.txt 09:19:59 + case "${OS_FAMILY}" in 09:19:59 + rpm -qa 09:19:59 + sort 09:20:04 + '[' -f /tmp/packages_start.txt ']' 09:20:04 + '[' -f /tmp/packages_end.txt ']' 09:20:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:20:04 + '[' /w/workspace/xfoundry_device-virtual-go_PR-94 ']' 09:20:04 + mkdir -p /w/workspace/xfoundry_device-virtual-go_PR-94/archives/ 09:20:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-virtual-go_PR-94/archives/ [Pipeline] isUnix [Pipeline] sh 09:20:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:20:04 09:20:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:20:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:20:04 alpine: Pulling from edgex-lftools-log-publisher 09:20:04 c9b1b535fdd9: Pulling fs layer 09:20:04 2cc5ad85d9ab: Pulling fs layer 09:20:04 756a868c4378: Pulling fs layer 09:20:04 444b2fc9a129: Pulling fs layer 09:20:04 ea15f1150254: Pulling fs layer 09:20:04 41b27a9f41bf: Pulling fs layer 09:20:04 28c525ee5125: Pulling fs layer 09:20:04 094b1ea09ed8: Pulling fs layer 09:20:04 138eaada9080: Pulling fs layer 09:20:04 0622d0fa9048: Pulling fs layer 09:20:04 41b27a9f41bf: Waiting 09:20:04 28c525ee5125: Waiting 09:20:04 094b1ea09ed8: Waiting 09:20:04 138eaada9080: Waiting 09:20:04 0622d0fa9048: Waiting 09:20:04 444b2fc9a129: Waiting 09:20:04 ea15f1150254: Waiting 09:20:04 2cc5ad85d9ab: Verifying Checksum 09:20:04 2cc5ad85d9ab: Download complete 09:20:04 444b2fc9a129: Verifying Checksum 09:20:04 444b2fc9a129: Download complete 09:20:04 c9b1b535fdd9: Verifying Checksum 09:20:04 c9b1b535fdd9: Download complete 09:20:05 ea15f1150254: Verifying Checksum 09:20:05 ea15f1150254: Download complete 09:20:05 28c525ee5125: Verifying Checksum 09:20:05 28c525ee5125: Download complete 09:20:05 756a868c4378: Verifying Checksum 09:20:05 756a868c4378: Download complete 09:20:05 c9b1b535fdd9: Pull complete 09:20:05 138eaada9080: Verifying Checksum 09:20:05 138eaada9080: Download complete 09:20:05 0622d0fa9048: Verifying Checksum 09:20:05 0622d0fa9048: Download complete 09:20:05 094b1ea09ed8: Verifying Checksum 09:20:05 094b1ea09ed8: Download complete 09:20:05 2cc5ad85d9ab: Pull complete 09:20:06 41b27a9f41bf: Verifying Checksum 09:20:06 41b27a9f41bf: Download complete 09:20:06 756a868c4378: Pull complete 09:20:06 444b2fc9a129: Pull complete 09:20:07 ea15f1150254: Pull complete 09:20:10 41b27a9f41bf: Pull complete 09:20:10 28c525ee5125: Pull complete 09:20:12 094b1ea09ed8: Pull complete 09:20:12 138eaada9080: Pull complete 09:20:13 0622d0fa9048: Pull complete 09:20:13 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:20:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:20:13 prd-centos7-docker-4c-2g-4477 does not seem to be running inside a container 09:20:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-virtual-go_PR-94 -v /w/workspace/xfoundry_device-virtual-go_PR-94:/w/workspace/xfoundry_device-virtual-go_PR-94:rw,z -v /w/workspace/xfoundry_device-virtual-go_PR-94@tmp:/w/workspace/xfoundry_device-virtual-go_PR-94@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:20:13 $ docker top 99e52d48112e5d71ed9bad64870daa31467d7c7c5b7dc4cd7c649754a47e3380 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:20:14 provisioning config files... 09:20:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-virtual-go_PR-94@tmp/config908911100266257177tmp [Pipeline] { [Pipeline] echo 09:20:14 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:20:14 ---> create-netrc.sh [Pipeline] echo 09:20:14 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:20:15 ---> logs-deploy.sh 09:20:15 + ARCHIVE_ARTIFACTS= 09:20:15 + LOGS_SERVER=https://logs.edgexfoundry.org 09:20:15 + '[' https://logs.edgexfoundry.org == None ']' 09:20:15 + NEXUS_URL=https://nexus.edgexfoundry.org 09:20:15 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-94/1 09:20:15 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-94/1/ 09:20:15 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-94/1 /w/workspace/xfoundry_device-virtual-go_PR-94 09:20:15 Archives upload complete. 09:20:16 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-94/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-94/1/ 09:20:16 ---> uname -a: 09:20:16 Linux 99e52d48112e 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 09:20:16 09:20:16