Pull request #114 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of jamesrgregg for edgexfoundry/device-virtual-go Obtained Jenkinsfile from e9454c02de7463277dc9c4492d6d29b68f3ceeec+765a8ae72530510c4ebab34c81f831f56123a77d (5399b12307f2443c1063ea0e6762982d27a3427e) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-114/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3172 in /w/workspace/foundry_device-virtual-go_PR-114 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-114 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 765a8ae72530510c4ebab34c81f831f56123a77d into PR head commit e9454c02de7463277dc9c4492d6d29b68f3ceeec Merge succeeded, producing e9454c02de7463277dc9c4492d6d29b68f3ceeec Checking out Revision e9454c02de7463277dc9c4492d6d29b68f3ceeec (PR-114) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/114/head:refs/remotes/origin/PR-114 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9454c02de7463277dc9c4492d6d29b68f3ceeec # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 765a8ae72530510c4ebab34c81f831f56123a77d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9454c02de7463277dc9c4492d6d29b68f3ceeec # timeout=10 Commit message: "doc: update pr template to include dependencies section" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-16T20:54:17.273Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-16T20:54:17.484Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-16T20:54:17.597Z] ========================================================= [2020-06-16T20:54:17.597Z] EdgeX Global Pipelines Version Info [2020-06-16T20:54:17.597Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-16T20:54:19.498Z] ------------------- [2020-06-16T20:54:19.498Z] stable info: [2020-06-16T20:54:19.498Z] ------------------- [2020-06-16T20:54:19.498Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-16T20:54:19.498Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-16T20:54:19.498Z] Message: update stable to v1.0.89 [2020-06-16T20:54:20.439Z] ------------------- [2020-06-16T20:54:20.439Z] experimental info: [2020-06-16T20:54:20.439Z] ------------------- [2020-06-16T20:54:20.439Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-16T20:54:20.439Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-16T20:54:20.439Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-16T20:54:22.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-16T20:54:22.538Z] [2020-06-16T20:54:22.538Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-16T20:54:22.894Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-16T20:54:22.894Z] latest: Pulling from edgex-devops/git-semver [2020-06-16T20:54:22.894Z] 9123ac7c32f7: Pulling fs layer [2020-06-16T20:54:22.894Z] b8cc5d1170e3: Pulling fs layer [2020-06-16T20:54:22.894Z] 2924cbbf6a41: Pulling fs layer [2020-06-16T20:54:22.894Z] 93b08a4f1073: Pulling fs layer [2020-06-16T20:54:22.894Z] 93b08a4f1073: Waiting [2020-06-16T20:54:22.894Z] b8cc5d1170e3: Download complete [2020-06-16T20:54:22.894Z] 9123ac7c32f7: Verifying Checksum [2020-06-16T20:54:22.894Z] 9123ac7c32f7: Download complete [2020-06-16T20:54:23.154Z] 93b08a4f1073: Verifying Checksum [2020-06-16T20:54:23.154Z] 93b08a4f1073: Download complete [2020-06-16T20:54:23.154Z] 2924cbbf6a41: Verifying Checksum [2020-06-16T20:54:23.154Z] 2924cbbf6a41: Download complete [2020-06-16T20:54:23.414Z] 9123ac7c32f7: Pull complete [2020-06-16T20:54:23.414Z] b8cc5d1170e3: Pull complete [2020-06-16T20:54:24.360Z] 2924cbbf6a41: Pull complete [2020-06-16T20:54:24.360Z] 93b08a4f1073: Pull complete [2020-06-16T20:54:24.360Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-16T20:54:24.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-16T20:54:24.360Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-16T20:54:24.474Z] prd-centos7-docker-4c-2g-3172 does not seem to be running inside a container [2020-06-16T20:54:24.527Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-114 -v /w/workspace/foundry_device-virtual-go_PR-114:/w/workspace/foundry_device-virtual-go_PR-114:rw,z -v /w/workspace/foundry_device-virtual-go_PR-114@tmp:/w/workspace/foundry_device-virtual-go_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-16T20:54:26.579Z] $ docker top 9208dc0e62c7c535c8c9a0abf048d249490f8c85d2408eb630a0cc04639b9c29 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-16T20:54:26.818Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-16T20:54:26.818Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-16T20:54:27.009Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-16T20:54:27.016Z] $ docker exec 9208dc0e62c7c535c8c9a0abf048d249490f8c85d2408eb630a0cc04639b9c29 ssh-agent [2020-06-16T20:54:27.168Z] SSH_AUTH_SOCK=/tmp/ssh-CRvPG1SR5THN/agent.12 [2020-06-16T20:54:27.168Z] SSH_AGENT_PID=18 [2020-06-16T20:54:27.178Z] Running ssh-add (command line suppressed) [2020-06-16T20:54:27.292Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-114@tmp/private_key_8831919300005065520.key (/w/workspace/foundry_device-virtual-go_PR-114@tmp/private_key_8831919300005065520.key) [2020-06-16T20:54:27.336Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-16T20:54:27.675Z] + git describe --exact-match --tags HEAD [2020-06-16T20:54:27.675Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-16T20:54:27.821Z] $ docker exec --env ******** --env ******** 9208dc0e62c7c535c8c9a0abf048d249490f8c85d2408eb630a0cc04639b9c29 ssh-agent -k [2020-06-16T20:54:27.944Z] unset SSH_AUTH_SOCK; [2020-06-16T20:54:27.945Z] unset SSH_AGENT_PID; [2020-06-16T20:54:27.945Z] echo Agent pid 18 killed; [2020-06-16T20:54:27.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-16T20:54:28.084Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-16T20:54:28.084Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-16T20:54:28.144Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-16T20:54:28.144Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-16T20:54:28.327Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-16T20:54:28.334Z] $ docker exec 9208dc0e62c7c535c8c9a0abf048d249490f8c85d2408eb630a0cc04639b9c29 ssh-agent [2020-06-16T20:54:28.514Z] SSH_AUTH_SOCK=/tmp/ssh-w8VJvRQ2ovSx/agent.46 [2020-06-16T20:54:28.514Z] SSH_AGENT_PID=51 [2020-06-16T20:54:28.520Z] Running ssh-add (command line suppressed) [2020-06-16T20:54:28.648Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-114@tmp/private_key_4221076089471643025.key (/w/workspace/foundry_device-virtual-go_PR-114@tmp/private_key_4221076089471643025.key) [2020-06-16T20:54:28.694Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-16T20:54:29.035Z] + git semver init [2020-06-16T20:54:29.035Z] # -> Open(): unable to determine branch for HEAD [2020-06-16T20:54:29.035Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-114/.git [2020-06-16T20:54:29.035Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-114 [2020-06-16T20:54:29.035Z] # $SEMVER_REMOTE_NAME = origin [2020-06-16T20:54:29.035Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-16T20:54:29.035Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-16T20:54:29.035Z] # $SEMVER_BRANCH = PR-114 [2020-06-16T20:54:29.035Z] # $SEMVER_TEMP = /tmp/semver-863718332 [2020-06-16T20:54:29.035Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-06-16T20:54:29.296Z] # '/tmp/semver-863718332' -> '/w/workspace/foundry_device-virtual-go_PR-114/.semver' [2020-06-16T20:54:29.296Z] # -> Force: false [2020-06-16T20:54:29.296Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-114/.semver [Pipeline] } [2020-06-16T20:54:29.318Z] $ docker exec --env ******** --env ******** 9208dc0e62c7c535c8c9a0abf048d249490f8c85d2408eb630a0cc04639b9c29 ssh-agent -k [2020-06-16T20:54:29.428Z] unset SSH_AUTH_SOCK; [2020-06-16T20:54:29.428Z] unset SSH_AGENT_PID; [2020-06-16T20:54:29.428Z] echo Agent pid 51 killed; [2020-06-16T20:54:29.467Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-16T20:54:29.911Z] + git semver [Pipeline] } [2020-06-16T20:54:29.944Z] $ docker stop --time=1 9208dc0e62c7c535c8c9a0abf048d249490f8c85d2408eb630a0cc04639b9c29 [2020-06-16T20:54:31.284Z] $ docker rm -f 9208dc0e62c7c535c8c9a0abf048d249490f8c85d2408eb630a0cc04639b9c29 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-16T20:54:31.808Z] Stashed 33 file(s) [Pipeline] echo [2020-06-16T20:54:31.827Z] [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 [2020-06-16T20:54:47.206Z] Still waiting to schedule task [2020-06-16T20:54:47.206Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3172’ [2020-06-16T20:54:47.228Z] Still waiting to schedule task [2020-06-16T20:54:47.228Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline [2020-06-16T20:56:25.514Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3173 in /w/workspace/foundry_device-virtual-go_PR-114 [Pipeline] { [Pipeline] ws [2020-06-16T20:56:25.574Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-06-16T20:56:30.593Z] using credential edgex-jenkins-ssh [2020-06-16T20:56:30.624Z] Cloning the remote Git repository [2020-06-16T20:56:30.625Z] Cloning with configured refspecs honoured and without tags [2020-06-16T20:56:31.669Z] Fetching without tags [2020-06-16T20:56:30.660Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-06-16T20:56:30.761Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-06-16T20:56:30.821Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-06-16T20:56:30.822Z] > git --version # timeout=10 [2020-06-16T20:56:30.842Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-16T20:56:30.935Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-16T20:56:31.552Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-06-16T20:56:31.571Z] > git config --add remote.origin.fetch +refs/pull/114/head:refs/remotes/origin/PR-114 # timeout=10 [2020-06-16T20:56:31.586Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-16T20:56:31.614Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-06-16T20:56:31.658Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-06-16T20:56:31.659Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-16T20:56:31.671Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-16T20:56:32.156Z] Merging remotes/origin/master commit 765a8ae72530510c4ebab34c81f831f56123a77d into PR head commit e9454c02de7463277dc9c4492d6d29b68f3ceeec [2020-06-16T20:56:32.365Z] Merge succeeded, producing e9454c02de7463277dc9c4492d6d29b68f3ceeec [2020-06-16T20:56:32.366Z] Checking out Revision e9454c02de7463277dc9c4492d6d29b68f3ceeec (PR-114) [2020-06-16T20:56:32.153Z] > git config core.sparsecheckout # timeout=10 [2020-06-16T20:56:32.176Z] > git checkout -f e9454c02de7463277dc9c4492d6d29b68f3ceeec # timeout=10 [2020-06-16T20:56:32.251Z] > git remote # timeout=10 [2020-06-16T20:56:32.268Z] > git config --get remote.origin.url # timeout=10 [2020-06-16T20:56:32.286Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-16T20:56:32.297Z] > git merge 765a8ae72530510c4ebab34c81f831f56123a77d # timeout=10 [2020-06-16T20:56:32.320Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-16T20:56:32.349Z] > git config core.sparsecheckout # timeout=10 [2020-06-16T20:56:32.370Z] > git checkout -f e9454c02de7463277dc9c4492d6d29b68f3ceeec # timeout=10 [2020-06-16T20:56:36.903Z] Commit message: "doc: update pr template to include dependencies section" [2020-06-16T20:56:36.928Z] > git --version # timeout=10 [2020-06-16T20:56:36.955Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-16T20:56:38.068Z] ========================================================= [2020-06-16T20:56:38.068Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-16T20:56:38.068Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-16T20:56:39.164Z] + 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 . [2020-06-16T20:56:40.147Z] Sending build context to Docker daemon 519.7kB [2020-06-16T20:56:40.147Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-16T20:56:40.147Z] Step 2/8 : FROM ${BASE} [2020-06-16T20:56:40.426Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-16T20:56:40.426Z] cde5963f3b93: Pulling fs layer [2020-06-16T20:56:40.426Z] 2a23fa8c16f7: Pulling fs layer [2020-06-16T20:56:40.426Z] 777b28850792: Pulling fs layer [2020-06-16T20:56:40.426Z] 8a11ddd9e578: Pulling fs layer [2020-06-16T20:56:40.426Z] 4cf88f913ddb: Pulling fs layer [2020-06-16T20:56:40.426Z] 1df406cf5192: Pulling fs layer [2020-06-16T20:56:40.426Z] cd6300453558: Pulling fs layer [2020-06-16T20:56:40.426Z] b9c365052c96: Pulling fs layer [2020-06-16T20:56:40.426Z] a2d8cc88f415: Pulling fs layer [2020-06-16T20:56:40.426Z] ea1d1ca13537: Pulling fs layer [2020-06-16T20:56:40.426Z] 3750a50a1c5e: Pulling fs layer [2020-06-16T20:56:40.426Z] 1df406cf5192: Waiting [2020-06-16T20:56:40.426Z] cd6300453558: Waiting [2020-06-16T20:56:40.426Z] b9c365052c96: Waiting [2020-06-16T20:56:40.426Z] a2d8cc88f415: Waiting [2020-06-16T20:56:40.426Z] ea1d1ca13537: Waiting [2020-06-16T20:56:40.426Z] 3750a50a1c5e: Waiting [2020-06-16T20:56:40.426Z] 8a11ddd9e578: Waiting [2020-06-16T20:56:40.426Z] 4cf88f913ddb: Waiting [2020-06-16T20:56:40.426Z] 777b28850792: Verifying Checksum [2020-06-16T20:56:40.426Z] 777b28850792: Download complete [2020-06-16T20:56:40.426Z] 2a23fa8c16f7: Verifying Checksum [2020-06-16T20:56:40.426Z] 2a23fa8c16f7: Download complete [2020-06-16T20:56:40.426Z] 4cf88f913ddb: Verifying Checksum [2020-06-16T20:56:40.426Z] 4cf88f913ddb: Download complete [2020-06-16T20:56:40.426Z] 1df406cf5192: Verifying Checksum [2020-06-16T20:56:40.426Z] 1df406cf5192: Download complete [2020-06-16T20:56:40.426Z] cde5963f3b93: Verifying Checksum [2020-06-16T20:56:40.426Z] cde5963f3b93: Download complete [2020-06-16T20:56:41.413Z] cde5963f3b93: Pull complete [2020-06-16T20:56:42.015Z] 2a23fa8c16f7: Pull complete [2020-06-16T20:56:42.619Z] 777b28850792: Pull complete [2020-06-16T20:56:43.231Z] cd6300453558: Verifying Checksum [2020-06-16T20:56:43.231Z] cd6300453558: Download complete [2020-06-16T20:56:43.231Z] a2d8cc88f415: Verifying Checksum [2020-06-16T20:56:43.231Z] a2d8cc88f415: Download complete [2020-06-16T20:56:44.216Z] ea1d1ca13537: Verifying Checksum [2020-06-16T20:56:44.216Z] ea1d1ca13537: Download complete [2020-06-16T20:56:44.495Z] 3750a50a1c5e: Verifying Checksum [2020-06-16T20:56:44.495Z] 3750a50a1c5e: Download complete [2020-06-16T20:56:45.476Z] 8a11ddd9e578: Verifying Checksum [2020-06-16T20:56:45.476Z] 8a11ddd9e578: Download complete [2020-06-16T20:56:45.760Z] b9c365052c96: Verifying Checksum [2020-06-16T20:56:45.760Z] b9c365052c96: Download complete [2020-06-16T20:56:58.169Z] 8a11ddd9e578: Pull complete [2020-06-16T20:56:58.169Z] 4cf88f913ddb: Pull complete [2020-06-16T20:56:58.169Z] 1df406cf5192: Pull complete [2020-06-16T20:57:01.575Z] cd6300453558: Pull complete [2020-06-16T20:57:06.961Z] b9c365052c96: Pull complete [2020-06-16T20:57:06.961Z] a2d8cc88f415: Pull complete [2020-06-16T20:57:08.399Z] ea1d1ca13537: Pull complete [2020-06-16T20:57:08.672Z] 3750a50a1c5e: Pull complete [2020-06-16T20:57:08.945Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-16T20:57:08.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-16T20:57:08.945Z] ---> 78745c68409d [2020-06-16T20:57:08.945Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-06-16T20:57:14.589Z] ---> Running in 76cfcf2afea6 [2020-06-16T20:57:14.589Z] Removing intermediate container 76cfcf2afea6 [2020-06-16T20:57:14.589Z] ---> 2c97486fb790 [2020-06-16T20:57:14.589Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-16T20:57:14.589Z] ---> Running in 4bf583e8d977 [2020-06-16T20:57:17.204Z] Removing intermediate container 4bf583e8d977 [2020-06-16T20:57:17.204Z] ---> 28ddb3290c8b [2020-06-16T20:57:17.204Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-06-16T20:57:17.204Z] ---> Running in b02f1fa280d9 [2020-06-16T20:57:18.631Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-16T20:57:19.598Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-16T20:57:20.188Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-06-16T20:57:20.188Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-06-16T20:57:20.457Z] (3/18) Installing libmagic (5.37-r1) [2020-06-16T20:57:20.725Z] (4/18) Installing file (5.37-r1) [2020-06-16T20:57:20.725Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-06-16T20:57:20.725Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-06-16T20:57:20.997Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-06-16T20:57:27.677Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-06-16T20:57:27.677Z] (9/18) Installing g++ (9.2.0-r4) [2020-06-16T20:57:33.042Z] (10/18) Installing fortify-headers (1.1-r0) [2020-06-16T20:57:33.311Z] (11/18) Installing build-base (0.5-r1) [2020-06-16T20:57:33.311Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-06-16T20:57:33.311Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-06-16T20:57:33.585Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-06-16T20:57:34.174Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-06-16T20:57:34.174Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-06-16T20:57:34.446Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-06-16T20:57:34.716Z] (18/18) Installing openssh (8.1_p1-r0) [2020-06-16T20:57:34.716Z] Executing busybox-1.31.1-r8.trigger [2020-06-16T20:57:34.716Z] OK: 203 MiB in 52 packages [2020-06-16T20:57:35.038Z] Running on prd-centos7-docker-4c-2g-3174 in /w/workspace/foundry_device-virtual-go_PR-114 [Pipeline] { [Pipeline] ws [2020-06-16T20:57:35.094Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-06-16T20:57:41.432Z] Removing intermediate container b02f1fa280d9 [2020-06-16T20:57:41.432Z] ---> 703143ede919 [2020-06-16T20:57:41.432Z] Step 6/8 : WORKDIR /device-virtual-go [2020-06-16T20:57:41.432Z] ---> Running in d60f2b6bb9f4 [2020-06-16T20:57:41.706Z] Removing intermediate container d60f2b6bb9f4 [2020-06-16T20:57:41.706Z] ---> 26a3f6499c39 [2020-06-16T20:57:41.706Z] Step 7/8 : COPY . . [2020-06-16T20:57:42.684Z] ---> b70a67c49e32 [2020-06-16T20:57:42.684Z] Step 8/8 : RUN go mod download [2020-06-16T20:57:42.684Z] ---> Running in fc765d12db4e [2020-06-16T20:57:43.616Z] using credential edgex-jenkins-ssh [2020-06-16T20:57:43.645Z] Cloning the remote Git repository [2020-06-16T20:57:43.645Z] Cloning with configured refspecs honoured and without tags [2020-06-16T20:57:44.727Z] Fetching without tags [2020-06-16T20:57:43.707Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-06-16T20:57:43.860Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-06-16T20:57:43.980Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-06-16T20:57:43.981Z] > git --version # timeout=10 [2020-06-16T20:57:43.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-16T20:57:44.072Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-16T20:57:44.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-06-16T20:57:44.687Z] > git config --add remote.origin.fetch +refs/pull/114/head:refs/remotes/origin/PR-114 # timeout=10 [2020-06-16T20:57:44.700Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-16T20:57:44.722Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-06-16T20:57:44.752Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-06-16T20:57:44.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-16T20:57:45.150Z] Merging remotes/origin/master commit 765a8ae72530510c4ebab34c81f831f56123a77d into PR head commit e9454c02de7463277dc9c4492d6d29b68f3ceeec [2020-06-16T20:57:45.661Z] Merge succeeded, producing e9454c02de7463277dc9c4492d6d29b68f3ceeec [2020-06-16T20:57:45.661Z] Checking out Revision e9454c02de7463277dc9c4492d6d29b68f3ceeec (PR-114) [2020-06-16T20:57:46.069Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-16T20:57:46.069Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-16T20:57:46.069Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-16T20:57:46.069Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-16T20:57:46.069Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-16T20:57:46.069Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-16T20:57:46.069Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-16T20:57:46.069Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-16T20:57:46.069Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-16T20:57:46.069Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-16T20:57:46.069Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-16T20:57:46.069Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-16T20:57:46.069Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-16T20:57:46.069Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-16T20:57:46.069Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-06-16T20:57:46.069Z] go: finding github.com/fatih/color v1.7.0 [2020-06-16T20:57:46.069Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-16T20:57:46.069Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-16T20:57:46.069Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-16T20:57:46.069Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-16T20:57:46.069Z] go: finding github.com/golang/snappy v0.0.1 [2020-06-16T20:57:46.069Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-16T20:57:46.069Z] go: finding github.com/google/uuid v1.1.0 [2020-06-16T20:57:46.069Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-16T20:57:46.069Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-16T20:57:44.763Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-16T20:57:45.223Z] > git config core.sparsecheckout # timeout=10 [2020-06-16T20:57:45.298Z] > git checkout -f e9454c02de7463277dc9c4492d6d29b68f3ceeec # timeout=10 [2020-06-16T20:57:45.421Z] > git remote # timeout=10 [2020-06-16T20:57:45.487Z] > git config --get remote.origin.url # timeout=10 [2020-06-16T20:57:45.513Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-16T20:57:45.519Z] > git merge 765a8ae72530510c4ebab34c81f831f56123a77d # timeout=10 [2020-06-16T20:57:45.605Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-16T20:57:45.677Z] > git config core.sparsecheckout # timeout=10 [2020-06-16T20:57:45.726Z] > git checkout -f e9454c02de7463277dc9c4492d6d29b68f3ceeec # timeout=10 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-16T20:57:46.341Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-16T20:57:46.341Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-16T20:57:46.341Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-16T20:57:46.341Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-16T20:57:46.341Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-16T20:57:46.341Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-16T20:57:46.341Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-16T20:57:46.614Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-16T20:57:46.614Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-16T20:57:46.615Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-16T20:57:46.615Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-16T20:57:46.615Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-16T20:57:46.615Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-16T20:57:46.615Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-16T20:57:46.615Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-16T20:57:46.615Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-16T20:57:46.615Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-16T20:57:46.615Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-16T20:57:46.615Z] go: finding github.com/posener/complete v1.1.1 [2020-06-16T20:57:46.615Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-06-16T20:57:46.615Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-16T20:57:46.615Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-16T20:57:46.886Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-16T20:57:46.886Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-16T20:57:46.886Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-16T20:57:46.886Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-16T20:57:46.886Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-16T20:57:46.886Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-16T20:57:46.886Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-16T20:57:46.886Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-06-16T20:57:46.886Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-16T20:57:46.886Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-16T20:57:46.886Z] go: finding modernc.org/b v1.0.0 [2020-06-16T20:57:47.158Z] go: finding modernc.org/db v1.0.0 [2020-06-16T20:57:47.158Z] go: finding modernc.org/file v1.0.0 [2020-06-16T20:57:47.158Z] go: finding modernc.org/fileutil v1.0.0 [2020-06-16T20:57:47.158Z] go: finding modernc.org/golex v1.0.0 [2020-06-16T20:57:47.158Z] go: finding modernc.org/internal v1.0.0 [2020-06-16T20:57:47.158Z] go: finding modernc.org/lldb v1.0.0 [2020-06-16T20:57:47.435Z] go: finding modernc.org/mathutil v1.0.0 [2020-06-16T20:57:47.435Z] go: finding modernc.org/ql v1.0.0 [2020-06-16T20:57:47.435Z] go: finding modernc.org/sortutil v1.0.0 [2020-06-16T20:57:47.435Z] go: finding modernc.org/strutil v1.0.0 [2020-06-16T20:57:47.435Z] go: finding modernc.org/zappy v1.0.0 [2020-06-16T20:57:51.136Z] Commit message: "doc: update pr template to include dependencies section" [2020-06-16T20:57:51.232Z] > git --version # timeout=10 [2020-06-16T20:57:51.344Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-16T20:57:53.134Z] ========================================================= [2020-06-16T20:57:53.134Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-16T20:57:53.134Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-16T20:57:54.237Z] + 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 . [2020-06-16T20:57:54.878Z] Sending build context to Docker daemon 519.7kB [2020-06-16T20:57:54.878Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-16T20:57:54.878Z] Step 2/8 : FROM ${BASE} [2020-06-16T20:57:54.878Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-16T20:57:54.878Z] e6b0cf9c0882: Pulling fs layer [2020-06-16T20:57:54.878Z] 2848faf0eed1: Pulling fs layer [2020-06-16T20:57:54.878Z] 0f37312ad70f: Pulling fs layer [2020-06-16T20:57:54.878Z] 5788d62ee057: Pulling fs layer [2020-06-16T20:57:54.878Z] 0e6b1d234666: Pulling fs layer [2020-06-16T20:57:54.878Z] bf5d7aec512f: Pulling fs layer [2020-06-16T20:57:54.878Z] 34c802a77dc8: Pulling fs layer [2020-06-16T20:57:54.878Z] 9eb99e56ec68: Pulling fs layer [2020-06-16T20:57:54.878Z] 27c7a5d97fbd: Pulling fs layer [2020-06-16T20:57:54.878Z] 5c102a31e300: Pulling fs layer [2020-06-16T20:57:54.878Z] dcfb455df0a1: Pulling fs layer [2020-06-16T20:57:54.878Z] 5788d62ee057: Waiting [2020-06-16T20:57:54.878Z] 9eb99e56ec68: Waiting [2020-06-16T20:57:54.878Z] 0e6b1d234666: Waiting [2020-06-16T20:57:54.878Z] 27c7a5d97fbd: Waiting [2020-06-16T20:57:54.878Z] 5c102a31e300: Waiting [2020-06-16T20:57:54.878Z] bf5d7aec512f: Waiting [2020-06-16T20:57:54.878Z] 34c802a77dc8: Waiting [2020-06-16T20:57:54.878Z] dcfb455df0a1: Waiting [2020-06-16T20:57:54.878Z] 0f37312ad70f: Verifying Checksum [2020-06-16T20:57:54.878Z] 0f37312ad70f: Download complete [2020-06-16T20:57:54.878Z] 2848faf0eed1: Download complete [2020-06-16T20:57:54.878Z] 0e6b1d234666: Verifying Checksum [2020-06-16T20:57:54.878Z] 0e6b1d234666: Download complete [2020-06-16T20:57:55.221Z] bf5d7aec512f: Download complete [2020-06-16T20:57:55.221Z] e6b0cf9c0882: Verifying Checksum [2020-06-16T20:57:55.221Z] e6b0cf9c0882: Download complete [2020-06-16T20:57:56.520Z] e6b0cf9c0882: Pull complete [2020-06-16T20:57:57.404Z] 2848faf0eed1: Pull complete [2020-06-16T20:57:57.582Z] Removing intermediate container fc765d12db4e [2020-06-16T20:57:57.582Z] ---> 52e3075ef4f3 [2020-06-16T20:57:57.582Z] Successfully built 52e3075ef4f3 [2020-06-16T20:57:57.582Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [2020-06-16T20:57:57.715Z] 0f37312ad70f: Pull complete [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-16T20:57:58.075Z] 34c802a77dc8: Verifying Checksum [2020-06-16T20:57:58.075Z] 34c802a77dc8: Download complete [2020-06-16T20:57:58.075Z] 27c7a5d97fbd: Verifying Checksum [2020-06-16T20:57:58.075Z] 27c7a5d97fbd: Download complete [2020-06-16T20:57:58.296Z] + docker inspect -f . ci-base-image-arm64 [2020-06-16T20:57:58.296Z] . [Pipeline] withDockerContainer [2020-06-16T20:57:58.584Z] prd-ubuntu18.04-docker-arm64-4c-16g-3173 does not seem to be running inside a container [2020-06-16T20:57:58.634Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-06-16T20:57:59.297Z] 9eb99e56ec68: Download complete [2020-06-16T20:57:59.586Z] 5c102a31e300: Verifying Checksum [2020-06-16T20:57:59.586Z] 5c102a31e300: Download complete [2020-06-16T20:57:59.586Z] dcfb455df0a1: Verifying Checksum [2020-06-16T20:57:59.586Z] dcfb455df0a1: Download complete [2020-06-16T20:57:59.586Z] 5788d62ee057: Verifying Checksum [2020-06-16T20:57:59.586Z] 5788d62ee057: Download complete [2020-06-16T20:58:00.528Z] $ docker top 03926bbf8bfebf1491351d428b02c14fb5de4a0d24d4069dd28bb6a44eee7b49 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-16T20:58:01.991Z] + go version [2020-06-16T20:58:01.991Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-16T20:58:03.058Z] + make test [2020-06-16T20:58:03.058Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-06-16T20:58:04.042Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-06-16T20:58:09.850Z] 5788d62ee057: Pull complete [2020-06-16T20:58:09.850Z] 0e6b1d234666: Pull complete [2020-06-16T20:58:09.850Z] bf5d7aec512f: Pull complete [2020-06-16T20:58:18.133Z] 34c802a77dc8: Pull complete [2020-06-16T20:58:22.514Z] 9eb99e56ec68: Pull complete [2020-06-16T20:58:22.514Z] 27c7a5d97fbd: Pull complete [2020-06-16T20:58:23.940Z] 5c102a31e300: Pull complete [2020-06-16T20:58:24.219Z] dcfb455df0a1: Pull complete [2020-06-16T20:58:24.559Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-16T20:58:24.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-16T20:58:24.559Z] ---> 7c70fe431013 [2020-06-16T20:58:24.559Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-06-16T20:58:26.026Z] ---> Running in 06f8824d058a [2020-06-16T20:58:26.328Z] Removing intermediate container 06f8824d058a [2020-06-16T20:58:26.328Z] ---> 3d30c7eedf58 [2020-06-16T20:58:26.328Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-16T20:58:26.328Z] ---> Running in 7a88ab2bcc00 [2020-06-16T20:58:27.754Z] Removing intermediate container 7a88ab2bcc00 [2020-06-16T20:58:27.754Z] ---> c647c6c91afd [2020-06-16T20:58:27.754Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-06-16T20:58:28.054Z] ---> Running in 6f09463417ae [2020-06-16T20:58:29.027Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-16T20:58:29.601Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-16T20:58:30.178Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-06-16T20:58:30.471Z] (2/17) Installing libmagic (5.37-r1) [2020-06-16T20:58:30.758Z] (3/17) Installing file (5.37-r1) [2020-06-16T20:58:30.758Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-06-16T20:58:30.758Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-06-16T20:58:31.053Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-06-16T20:58:39.698Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-06-16T20:58:39.698Z] (8/17) Installing g++ (9.2.0-r4) [2020-06-16T20:58:43.068Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-06-16T20:58:45.092Z] (9/17) Installing fortify-headers (1.1-r0) [2020-06-16T20:58:45.092Z] (10/17) Installing build-base (0.5-r1) [2020-06-16T20:58:45.092Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-06-16T20:58:45.092Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-06-16T20:58:45.092Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-06-16T20:58:45.368Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-06-16T20:58:45.368Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-06-16T20:58:45.644Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-06-16T20:58:45.644Z] (17/17) Installing openssh (8.1_p1-r0) [2020-06-16T20:58:45.644Z] Executing busybox-1.31.1-r8.trigger [2020-06-16T20:58:45.644Z] OK: 214 MiB in 52 packages [2020-06-16T20:58:50.027Z] Removing intermediate container 6f09463417ae [2020-06-16T20:58:50.027Z] ---> 6a20b5f9e79f [2020-06-16T20:58:50.027Z] Step 6/8 : WORKDIR /device-virtual-go [2020-06-16T20:58:50.307Z] ---> Running in 5738c8e4e4da [2020-06-16T20:58:50.597Z] Removing intermediate container 5738c8e4e4da [2020-06-16T20:58:50.597Z] ---> 52631287219d [2020-06-16T20:58:50.597Z] Step 7/8 : COPY . . [2020-06-16T20:58:51.590Z] ---> c385caff45aa [2020-06-16T20:58:51.590Z] Step 8/8 : RUN go mod download [2020-06-16T20:58:51.590Z] ---> Running in 796c2894f5b5 [2020-06-16T20:58:54.209Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-16T20:58:54.209Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-16T20:58:54.209Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-16T20:58:54.209Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-16T20:58:54.209Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-16T20:58:54.209Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-16T20:58:54.209Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-16T20:58:54.209Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-16T20:58:54.209Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-16T20:58:54.209Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-16T20:58:54.209Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-16T20:58:54.209Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-16T20:58:54.209Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-16T20:58:54.209Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-16T20:58:54.209Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-06-16T20:58:54.209Z] go: finding github.com/fatih/color v1.7.0 [2020-06-16T20:58:54.209Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-16T20:58:54.209Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-16T20:58:54.209Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-16T20:58:54.209Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-16T20:58:54.210Z] go: finding github.com/golang/snappy v0.0.1 [2020-06-16T20:58:54.210Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-16T20:58:54.210Z] go: finding github.com/google/uuid v1.1.0 [2020-06-16T20:58:54.210Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-16T20:58:54.210Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-16T20:58:54.210Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-16T20:58:54.210Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-16T20:58:54.210Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-16T20:58:54.210Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-16T20:58:54.210Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-16T20:58:54.210Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-16T20:58:54.210Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-16T20:58:54.210Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-16T20:58:54.210Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-16T20:58:54.210Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-16T20:58:54.210Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-16T20:58:54.210Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-16T20:58:54.210Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-16T20:58:54.210Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-16T20:58:54.210Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-16T20:58:54.210Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-16T20:58:54.210Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-16T20:58:54.210Z] go: finding github.com/posener/complete v1.1.1 [2020-06-16T20:58:54.210Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-06-16T20:58:54.210Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-16T20:58:54.210Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-16T20:58:54.210Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-16T20:58:54.210Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-16T20:58:54.210Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-16T20:58:54.210Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-16T20:58:54.210Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-16T20:58:54.495Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-16T20:58:54.495Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-16T20:58:54.495Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-06-16T20:58:54.495Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-16T20:58:54.495Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-16T20:58:54.495Z] go: finding modernc.org/b v1.0.0 [2020-06-16T20:58:54.495Z] go: finding modernc.org/db v1.0.0 [2020-06-16T20:58:54.495Z] go: finding modernc.org/file v1.0.0 [2020-06-16T20:58:54.495Z] go: finding modernc.org/fileutil v1.0.0 [2020-06-16T20:58:54.495Z] go: finding modernc.org/golex v1.0.0 [2020-06-16T20:58:54.495Z] go: finding modernc.org/internal v1.0.0 [2020-06-16T20:58:54.495Z] go: finding modernc.org/lldb v1.0.0 [2020-06-16T20:58:54.495Z] go: finding modernc.org/mathutil v1.0.0 [2020-06-16T20:58:54.495Z] go: finding modernc.org/ql v1.0.0 [2020-06-16T20:58:54.495Z] go: finding modernc.org/sortutil v1.0.0 [2020-06-16T20:58:54.495Z] go: finding modernc.org/strutil v1.0.0 [2020-06-16T20:58:54.495Z] go: finding modernc.org/zappy v1.0.0 [2020-06-16T20:59:06.977Z] Removing intermediate container 796c2894f5b5 [2020-06-16T20:59:06.977Z] ---> e55259a9d0d6 [2020-06-16T20:59:06.977Z] Successfully built e55259a9d0d6 [2020-06-16T20:59:06.977Z] 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 [2020-06-16T20:59:07.668Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-16T20:59:07.935Z] . [Pipeline] withDockerContainer [2020-06-16T20:59:08.192Z] prd-centos7-docker-4c-2g-3174 does not seem to be running inside a container [2020-06-16T20:59:08.560Z] $ 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 [2020-06-16T20:59:10.061Z] $ docker top 3938c9ba078535577d335bfeb83a16e6a50bccd4c75245af57b7c7b78ef79f77 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-16T20:59:10.758Z] + go version [2020-06-16T20:59:11.032Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-16T20:59:11.424Z] + make test [2020-06-16T20:59:11.424Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-06-16T20:59:13.578Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-06-16T20:59:40.999Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-06-16T21:01:33.865Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 103.753s coverage: 52.7% of statements [2020-06-16T21:01:33.865Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-16T21:01:33.865Z] gofmt -l . [2020-06-16T21:01:33.865Z] [ "`gofmt -l .`" = "" ] [2020-06-16T21:01:33.865Z] ./bin/test-attribution-txt.sh [2020-06-16T21:01:33.865Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-16T21:01:34.311Z] Stashed 1 file(s) [Pipeline] } [2020-06-16T21:01:34.336Z] $ docker stop --time=1 3938c9ba078535577d335bfeb83a16e6a50bccd4c75245af57b7c7b78ef79f77 [2020-06-16T21:01:36.159Z] $ docker rm -f 3938c9ba078535577d335bfeb83a16e6a50bccd4c75245af57b7c7b78ef79f77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-16T21:01:38.456Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-16T21:01:38.781Z] + ls -al . [2020-06-16T21:01:38.781Z] total 112 [2020-06-16T21:01:38.781Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 16 21:01 . [2020-06-16T21:01:38.781Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 16 20:57 .. [2020-06-16T21:01:38.781Z] -rw-rw-r--. 1 jenkins jenkins 6432 Jun 16 20:57 Attribution.txt [2020-06-16T21:01:38.781Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 16 20:57 bin [2020-06-16T21:01:38.781Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 16 20:57 cmd [2020-06-16T21:01:38.781Z] -rw-r--r--. 1 jenkins jenkins 32181 Jun 16 21:01 coverage.out [2020-06-16T21:01:38.781Z] -rw-rw-r--. 1 jenkins jenkins 1826 Jun 16 20:57 Dockerfile [2020-06-16T21:01:38.781Z] -rw-rw-r--. 1 jenkins jenkins 957 Jun 16 20:57 Dockerfile.build [2020-06-16T21:01:38.781Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 16 20:57 .git [2020-06-16T21:01:38.781Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 16 20:57 .github [2020-06-16T21:01:38.781Z] -rw-rw-r--. 1 jenkins jenkins 258 Jun 16 20:57 .gitignore [2020-06-16T21:01:38.781Z] -rw-r--r--. 1 jenkins jenkins 855 Jun 16 21:01 go.mod [2020-06-16T21:01:38.781Z] -rw-r--r--. 1 jenkins jenkins 14894 Jun 16 21:01 go.sum [2020-06-16T21:01:38.781Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 16 20:57 internal [2020-06-16T21:01:38.781Z] -rw-rw-r--. 1 jenkins jenkins 683 Jun 16 20:57 Jenkinsfile [2020-06-16T21:01:38.781Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 16 20:57 LICENSE [2020-06-16T21:01:38.781Z] -rw-rw-r--. 1 jenkins jenkins 873 Jun 16 20:57 Makefile [2020-06-16T21:01:38.781Z] -rw-rw-r--. 1 jenkins jenkins 4413 Jun 16 20:57 README.md [2020-06-16T21:01:38.781Z] drwxrwxr-x. 3 jenkins jenkins 58 Jun 16 20:57 .semver [2020-06-16T21:01:38.781Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 16 20:54 VERSION [2020-06-16T21:01:38.781Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 16 20:57 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-16T21:01:39.125Z] + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e9454c02de7463277dc9c4492d6d29b68f3ceeec --label arch=amd64 --label version=0.0.0 . [2020-06-16T21:01:39.710Z] Sending build context to Docker daemon 34.14MB [2020-06-16T21:01:39.710Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-06-16T21:01:39.710Z] Step 2/21 : FROM ${BASE} AS builder [2020-06-16T21:01:39.710Z] ---> e55259a9d0d6 [2020-06-16T21:01:39.710Z] Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-06-16T21:01:40.287Z] ---> Running in 9fbd92a6171d [2020-06-16T21:01:40.552Z] Removing intermediate container 9fbd92a6171d [2020-06-16T21:01:40.552Z] ---> 9aabda9f5d57 [2020-06-16T21:01:40.552Z] Step 4/21 : ARG ALPINE_PKG_EXTRA="" [2020-06-16T21:01:40.552Z] ---> Running in 8a6b35e8c917 [2020-06-16T21:01:40.815Z] Removing intermediate container 8a6b35e8c917 [2020-06-16T21:01:40.815Z] ---> a7b546a529b2 [2020-06-16T21:01:40.815Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-06-16T21:01:40.815Z] ---> Running in ed1ee14d5914 [2020-06-16T21:01:41.081Z] Removing intermediate container ed1ee14d5914 [2020-06-16T21:01:41.081Z] ---> dbf6176fc36b [2020-06-16T21:01:41.081Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-16T21:01:41.081Z] ---> Running in 6c26ea708049 [2020-06-16T21:01:42.032Z] Removing intermediate container 6c26ea708049 [2020-06-16T21:01:42.032Z] ---> 072ae975c4b2 [2020-06-16T21:01:42.032Z] Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-16T21:01:42.032Z] ---> Running in 0a23ab529e5c [2020-06-16T21:01:42.986Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-16T21:01:43.596Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-16T21:01:43.860Z] OK: 214 MiB in 52 packages [2020-06-16T21:01:44.444Z] Removing intermediate container 0a23ab529e5c [2020-06-16T21:01:44.444Z] ---> 9fb6d7d8a4ca [2020-06-16T21:01:44.444Z] Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-06-16T21:01:44.444Z] ---> Running in 7158361388ce [2020-06-16T21:01:44.715Z] Removing intermediate container 7158361388ce [2020-06-16T21:01:44.715Z] ---> cc849dfe82bc [2020-06-16T21:01:44.715Z] Step 9/21 : COPY . . [2020-06-16T21:01:46.152Z] ---> 5131c316eced [2020-06-16T21:01:46.152Z] Step 10/21 : ARG MAKE='make build' [2020-06-16T21:01:46.416Z] ---> Running in b899fea8fb61 [2020-06-16T21:01:46.416Z] Removing intermediate container b899fea8fb61 [2020-06-16T21:01:46.416Z] ---> c5fb98ca4218 [2020-06-16T21:01:46.416Z] Step 11/21 : RUN $MAKE [2020-06-16T21:01:46.416Z] ---> Running in 885af557e1c7 [2020-06-16T21:01:47.375Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2020-06-16T21:01:49.950Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 177.117s coverage: 52.7% of statements [2020-06-16T21:01:49.950Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-16T21:01:49.950Z] gofmt -l . [2020-06-16T21:01:49.950Z] [ "`gofmt -l .`" = "" ] [2020-06-16T21:01:49.950Z] ./bin/test-attribution-txt.sh [2020-06-16T21:01:49.950Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-16T21:01:49.997Z] Warning: overwriting stash ‘coverage-report’ [2020-06-16T21:01:50.386Z] Stashed 1 file(s) [Pipeline] } [2020-06-16T21:01:50.373Z] $ docker stop --time=1 03926bbf8bfebf1491351d428b02c14fb5de4a0d24d4069dd28bb6a44eee7b49 [2020-06-16T21:01:52.401Z] $ docker rm -f 03926bbf8bfebf1491351d428b02c14fb5de4a0d24d4069dd28bb6a44eee7b49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-16T21:01:53.653Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-16T21:01:54.260Z] + ls -al . [2020-06-16T21:01:54.260Z] total 140 [2020-06-16T21:01:54.260Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 16 21:01 . [2020-06-16T21:01:54.260Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 20:56 .. [2020-06-16T21:01:54.260Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 16 20:56 .git [2020-06-16T21:01:54.260Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 20:56 .github [2020-06-16T21:01:54.260Z] -rw-rw-r-- 1 jenkins jenkins 258 Jun 16 20:56 .gitignore [2020-06-16T21:01:54.260Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 16 20:56 .semver [2020-06-16T21:01:54.260Z] -rw-rw-r-- 1 jenkins jenkins 6432 Jun 16 20:56 Attribution.txt [2020-06-16T21:01:54.260Z] -rw-rw-r-- 1 jenkins jenkins 1826 Jun 16 20:56 Dockerfile [2020-06-16T21:01:54.260Z] -rw-rw-r-- 1 jenkins jenkins 957 Jun 16 20:56 Dockerfile.build [2020-06-16T21:01:54.260Z] -rw-rw-r-- 1 jenkins jenkins 683 Jun 16 20:56 Jenkinsfile [2020-06-16T21:01:54.260Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 16 20:56 LICENSE [2020-06-16T21:01:54.260Z] -rw-rw-r-- 1 jenkins jenkins 873 Jun 16 20:56 Makefile [2020-06-16T21:01:54.260Z] -rw-rw-r-- 1 jenkins jenkins 4413 Jun 16 20:56 README.md [2020-06-16T21:01:54.260Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 16 20:54 VERSION [2020-06-16T21:01:54.260Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 20:56 bin [2020-06-16T21:01:54.260Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 16 20:56 cmd [2020-06-16T21:01:54.260Z] -rw-r--r-- 1 jenkins jenkins 32181 Jun 16 21:01 coverage.out [2020-06-16T21:01:54.260Z] -rw-r--r-- 1 jenkins jenkins 855 Jun 16 21:01 go.mod [2020-06-16T21:01:54.260Z] -rw-r--r-- 1 jenkins jenkins 14894 Jun 16 21:01 go.sum [2020-06-16T21:01:54.260Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 16 20:56 internal [2020-06-16T21:01:54.260Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 16 20:56 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-16T21:01:54.618Z] + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e9454c02de7463277dc9c4492d6d29b68f3ceeec --label arch=arm64 --label version=0.0.0 . [2020-06-16T21:01:55.212Z] Sending build context to Docker daemon 34.14MB [2020-06-16T21:01:55.212Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-06-16T21:01:55.212Z] Step 2/21 : FROM ${BASE} AS builder [2020-06-16T21:01:55.487Z] ---> 52e3075ef4f3 [2020-06-16T21:01:55.487Z] Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-06-16T21:01:55.758Z] ---> Running in 823e71901dcb [2020-06-16T21:01:56.031Z] Removing intermediate container 823e71901dcb [2020-06-16T21:01:56.031Z] ---> c5505f03748f [2020-06-16T21:01:56.031Z] Step 4/21 : ARG ALPINE_PKG_EXTRA="" [2020-06-16T21:01:56.304Z] ---> Running in 1c9e7f2bc0e9 [2020-06-16T21:01:56.580Z] Removing intermediate container 1c9e7f2bc0e9 [2020-06-16T21:01:56.580Z] ---> fe30fe89dcea [2020-06-16T21:01:56.580Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-06-16T21:01:56.852Z] ---> Running in 386a3774b1f4 [2020-06-16T21:01:57.445Z] Removing intermediate container 386a3774b1f4 [2020-06-16T21:01:57.445Z] ---> f70dd3b0887e [2020-06-16T21:01:57.445Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-16T21:01:57.445Z] ---> Running in a629385f0a77 [2020-06-16T21:02:00.059Z] Removing intermediate container a629385f0a77 [2020-06-16T21:02:00.059Z] ---> 46c15e0e03d3 [2020-06-16T21:02:00.059Z] Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-16T21:02:00.059Z] ---> Running in 8bf7d54e9ba3 [2020-06-16T21:02:01.490Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-16T21:02:02.081Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-16T21:02:02.672Z] OK: 203 MiB in 52 packages [2020-06-16T21:02:03.648Z] Removing intermediate container 8bf7d54e9ba3 [2020-06-16T21:02:03.648Z] ---> 6989fdb27c63 [2020-06-16T21:02:03.648Z] Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-06-16T21:02:03.921Z] ---> Running in a39df0875018 [2020-06-16T21:02:04.192Z] Removing intermediate container a39df0875018 [2020-06-16T21:02:04.192Z] ---> 5a5d8ad12a16 [2020-06-16T21:02:04.192Z] Step 9/21 : COPY . . [2020-06-16T21:02:06.815Z] ---> 711f049db671 [2020-06-16T21:02:06.815Z] Step 10/21 : ARG MAKE='make build' [2020-06-16T21:02:06.815Z] ---> Running in d95f878a2b69 [2020-06-16T21:02:07.088Z] Removing intermediate container d95f878a2b69 [2020-06-16T21:02:07.088Z] ---> 16d383a0d6f6 [2020-06-16T21:02:07.088Z] Step 11/21 : RUN $MAKE [2020-06-16T21:02:07.088Z] ---> Running in 83f26b58dd34 [2020-06-16T21:02:08.521Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2020-06-16T21:02:09.750Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-06-16T21:02:15.385Z] Removing intermediate container 885af557e1c7 [2020-06-16T21:02:15.385Z] ---> 51f924fd0c3d [2020-06-16T21:02:15.385Z] Step 12/21 : FROM alpine [2020-06-16T21:02:15.385Z] latest: Pulling from library/alpine [2020-06-16T21:02:15.385Z] df20fa9351a1: Pulling fs layer [2020-06-16T21:02:16.211Z] df20fa9351a1: Verifying Checksum [2020-06-16T21:02:16.211Z] df20fa9351a1: Download complete [2020-06-16T21:02:16.474Z] df20fa9351a1: Pull complete [2020-06-16T21:02:16.474Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-16T21:02:16.474Z] Status: Downloaded newer image for alpine:latest [2020-06-16T21:02:16.474Z] ---> a24bb4013296 [2020-06-16T21:02:16.474Z] Step 13/21 : ENV APP_PORT=49990 [2020-06-16T21:02:16.774Z] ---> Running in 2a5754eb6457 [2020-06-16T21:02:16.774Z] Removing intermediate container 2a5754eb6457 [2020-06-16T21:02:16.774Z] ---> e715d541e791 [2020-06-16T21:02:16.774Z] Step 14/21 : EXPOSE $APP_PORT [2020-06-16T21:02:17.044Z] ---> Running in befb15a1ae63 [2020-06-16T21:02:17.044Z] Removing intermediate container befb15a1ae63 [2020-06-16T21:02:17.044Z] ---> 35743baa7244 [2020-06-16T21:02:17.044Z] Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-06-16T21:02:18.079Z] ---> e3e5766c6ef7 [2020-06-16T21:02:18.079Z] Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-06-16T21:02:18.392Z] ---> 3c214dc91d9a [2020-06-16T21:02:18.392Z] Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-06-16T21:02:19.133Z] ---> 1110f48ae926 [2020-06-16T21:02:19.133Z] Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-06-16T21:02:19.133Z] ---> Running in c0813e9ea4c0 [2020-06-16T21:02:19.444Z] Removing intermediate container c0813e9ea4c0 [2020-06-16T21:02:19.444Z] ---> e17f21ddb625 [2020-06-16T21:02:19.444Z] Step 19/21 : LABEL arch=amd64 [2020-06-16T21:02:19.444Z] ---> Running in 7322d60495a6 [2020-06-16T21:02:20.885Z] Removing intermediate container 7322d60495a6 [2020-06-16T21:02:20.885Z] ---> 8fd524924e4d [2020-06-16T21:02:20.885Z] Step 20/21 : LABEL git_sha=e9454c02de7463277dc9c4492d6d29b68f3ceeec [2020-06-16T21:02:20.885Z] ---> Running in 20963bbe4e75 [2020-06-16T21:02:20.885Z] Removing intermediate container 20963bbe4e75 [2020-06-16T21:02:20.885Z] ---> 53572ffec013 [2020-06-16T21:02:20.885Z] Step 21/21 : LABEL version=0.0.0 [2020-06-16T21:02:21.161Z] ---> Running in 3a02d664ef6e [2020-06-16T21:02:21.161Z] Removing intermediate container 3a02d664ef6e [2020-06-16T21:02:21.161Z] ---> 84b42d28dd24 [2020-06-16T21:02:21.161Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-16T21:02:21.161Z] Successfully built 84b42d28dd24 [2020-06-16T21:02:21.161Z] 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] } [2020-06-16T21:02:40.906Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-06-16T21:02:49.156Z] Removing intermediate container 83f26b58dd34 [2020-06-16T21:02:49.156Z] ---> ed99c4c1d917 [2020-06-16T21:02:49.156Z] Step 12/21 : FROM alpine [2020-06-16T21:02:49.156Z] latest: Pulling from library/alpine [2020-06-16T21:02:49.429Z] b538f80385f9: Pulling fs layer [2020-06-16T21:02:49.429Z] b538f80385f9: Verifying Checksum [2020-06-16T21:02:49.429Z] b538f80385f9: Download complete [2020-06-16T21:02:50.023Z] b538f80385f9: Pull complete [2020-06-16T21:02:50.296Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-16T21:02:50.296Z] Status: Downloaded newer image for alpine:latest [2020-06-16T21:02:50.296Z] ---> 62ee0e9f8440 [2020-06-16T21:02:50.296Z] Step 13/21 : ENV APP_PORT=49990 [2020-06-16T21:02:50.568Z] ---> Running in 2053289bec10 [2020-06-16T21:02:50.839Z] Removing intermediate container 2053289bec10 [2020-06-16T21:02:50.839Z] ---> cb91cc1a1787 [2020-06-16T21:02:50.839Z] Step 14/21 : EXPOSE $APP_PORT [2020-06-16T21:02:51.111Z] ---> Running in 8f1150ab4140 [2020-06-16T21:02:51.384Z] Removing intermediate container 8f1150ab4140 [2020-06-16T21:02:51.384Z] ---> 0b5a2f6fc7a8 [2020-06-16T21:02:51.384Z] Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-06-16T21:02:52.820Z] ---> 805b8d29c19e [2020-06-16T21:02:52.820Z] Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-06-16T21:02:53.793Z] ---> d42d5cb002a5 [2020-06-16T21:02:53.793Z] Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-06-16T21:02:54.389Z] ---> 3bba555ea974 [2020-06-16T21:02:54.389Z] Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-06-16T21:02:54.389Z] ---> Running in da6a288e8523 [2020-06-16T21:02:54.988Z] Removing intermediate container da6a288e8523 [2020-06-16T21:02:54.988Z] ---> 756912fe43a6 [2020-06-16T21:02:54.988Z] Step 19/21 : LABEL arch=arm64 [2020-06-16T21:02:54.988Z] ---> Running in bfaffca154ff [2020-06-16T21:02:55.581Z] Removing intermediate container bfaffca154ff [2020-06-16T21:02:55.581Z] ---> f75b8ee0514f [2020-06-16T21:02:55.581Z] Step 20/21 : LABEL git_sha=e9454c02de7463277dc9c4492d6d29b68f3ceeec [2020-06-16T21:02:55.581Z] ---> Running in 0612cf2ee206 [2020-06-16T21:02:56.174Z] Removing intermediate container 0612cf2ee206 [2020-06-16T21:02:56.174Z] ---> 0831e3f8a443 [2020-06-16T21:02:56.174Z] Step 21/21 : LABEL version=0.0.0 [2020-06-16T21:02:56.174Z] ---> Running in 27e4c85c6163 [2020-06-16T21:02:56.446Z] Removing intermediate container 27e4c85c6163 [2020-06-16T21:02:56.446Z] ---> dd4d55604d4d [2020-06-16T21:02:56.446Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-16T21:02:56.717Z] Successfully built dd4d55604d4d [2020-06-16T21:02:56.717Z] 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 [2020-06-16T21:02:58.056Z] provisioning config files... [2020-06-16T21:02:58.072Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-114@tmp/config775124481806166812tmp [Pipeline] { [Pipeline] sh [2020-06-16T21:02:58.445Z] + curl -s https://codecov.io/bash [2020-06-16T21:02:58.445Z] + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-114@tmp/config775124481806166812tmp [2020-06-16T21:02:58.708Z] [2020-06-16T21:02:58.708Z] _____ _ [2020-06-16T21:02:58.708Z] / ____| | | [2020-06-16T21:02:58.708Z] | | ___ __| | ___ ___ _____ __ [2020-06-16T21:02:58.708Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-16T21:02:58.708Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-16T21:02:58.708Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-16T21:02:58.708Z] Bash-20200602-f809a24 [2020-06-16T21:02:58.708Z] [2020-06-16T21:02:58.708Z] [2020-06-16T21:02:58.708Z] ==> Jenkins CI detected. [2020-06-16T21:02:58.708Z] project root: . [2020-06-16T21:02:58.708Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-16T21:02:58.708Z] ==> Running gcov in . (disable via -X gcov) [2020-06-16T21:02:58.708Z] ==> Python coveragepy not found [2020-06-16T21:02:58.708Z] ==> Searching for coverage reports in: [2020-06-16T21:02:58.708Z] + . [2020-06-16T21:02:58.708Z] -> Found 1 reports [2020-06-16T21:02:58.708Z] ==> Detecting git/mercurial file structure [2020-06-16T21:02:58.708Z] ==> Reading reports [2020-06-16T21:02:58.708Z] + ./coverage.out bytes=32181 [2020-06-16T21:02:58.708Z] ==> Appending adjustments [2020-06-16T21:02:58.708Z] https://docs.codecov.io/docs/fixing-reports [2020-06-16T21:02:58.967Z] + Found adjustments [2020-06-16T21:02:58.967Z] ==> Gzipping contents [2020-06-16T21:02:58.967Z] ==> Uploading reports [2020-06-16T21:02:58.967Z] url: https://codecov.io [2020-06-16T21:02:58.967Z] query: branch=PR-114&commit=e9454c02de7463277dc9c4492d6d29b68f3ceeec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-114%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=114&job= [2020-06-16T21:02:58.967Z] -> Pinging Codecov [2020-06-16T21:02:58.967Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-114&commit=e9454c02de7463277dc9c4492d6d29b68f3ceeec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-114%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=114&job= [2020-06-16T21:02:59.539Z] -> Uploading [2020-06-16T21:02:59.806Z] -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/e9454c02de7463277dc9c4492d6d29b68f3ceeec [Pipeline] } [2020-06-16T21:02:59.827Z] 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 [2020-06-16T21:03:01.207Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-16T21:03:01.796Z] ---> package-listing.sh [2020-06-16T21:03:01.796Z] ++ facter osfamily [2020-06-16T21:03:01.796Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-16T21:03:01.796Z] + OS_FAMILY=redhat [2020-06-16T21:03:01.796Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-114 [2020-06-16T21:03:01.796Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-16T21:03:01.796Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-16T21:03:01.796Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-16T21:03:01.796Z] + PACKAGES=/tmp/packages_start.txt [2020-06-16T21:03:01.796Z] + '[' /w/workspace/foundry_device-virtual-go_PR-114 ']' [2020-06-16T21:03:01.796Z] + PACKAGES=/tmp/packages_end.txt [2020-06-16T21:03:01.796Z] + case "${OS_FAMILY}" in [2020-06-16T21:03:01.796Z] + rpm -qa [2020-06-16T21:03:01.796Z] + sort [2020-06-16T21:03:06.003Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-16T21:03:06.003Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-16T21:03:06.003Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-16T21:03:06.003Z] + '[' /w/workspace/foundry_device-virtual-go_PR-114 ']' [2020-06-16T21:03:06.003Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-114/archives/ [2020-06-16T21:03:06.003Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-114/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-16T21:03:06.637Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-16T21:03:06.637Z] [2020-06-16T21:03:06.637Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-16T21:03:06.983Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-16T21:03:06.983Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-16T21:03:06.983Z] c9b1b535fdd9: Pulling fs layer [2020-06-16T21:03:06.983Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-16T21:03:06.983Z] 756a868c4378: Pulling fs layer [2020-06-16T21:03:06.983Z] 444b2fc9a129: Pulling fs layer [2020-06-16T21:03:06.983Z] ea15f1150254: Pulling fs layer [2020-06-16T21:03:06.983Z] 41b27a9f41bf: Pulling fs layer [2020-06-16T21:03:06.983Z] 28c525ee5125: Pulling fs layer [2020-06-16T21:03:06.983Z] 094b1ea09ed8: Pulling fs layer [2020-06-16T21:03:06.983Z] 138eaada9080: Pulling fs layer [2020-06-16T21:03:06.983Z] 0622d0fa9048: Pulling fs layer [2020-06-16T21:03:06.983Z] 444b2fc9a129: Waiting [2020-06-16T21:03:06.983Z] ea15f1150254: Waiting [2020-06-16T21:03:06.983Z] 41b27a9f41bf: Waiting [2020-06-16T21:03:06.983Z] 28c525ee5125: Waiting [2020-06-16T21:03:06.983Z] 094b1ea09ed8: Waiting [2020-06-16T21:03:06.983Z] 138eaada9080: Waiting [2020-06-16T21:03:06.983Z] 0622d0fa9048: Waiting [2020-06-16T21:03:06.983Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-16T21:03:06.983Z] 2cc5ad85d9ab: Download complete [2020-06-16T21:03:06.983Z] 444b2fc9a129: Verifying Checksum [2020-06-16T21:03:06.983Z] 444b2fc9a129: Download complete [2020-06-16T21:03:06.983Z] c9b1b535fdd9: Download complete [2020-06-16T21:03:07.253Z] ea15f1150254: Verifying Checksum [2020-06-16T21:03:07.253Z] ea15f1150254: Download complete [2020-06-16T21:03:07.253Z] 28c525ee5125: Verifying Checksum [2020-06-16T21:03:07.253Z] 28c525ee5125: Download complete [2020-06-16T21:03:07.525Z] 756a868c4378: Verifying Checksum [2020-06-16T21:03:07.525Z] 756a868c4378: Download complete [2020-06-16T21:03:07.525Z] c9b1b535fdd9: Pull complete [2020-06-16T21:03:07.525Z] 138eaada9080: Verifying Checksum [2020-06-16T21:03:07.525Z] 138eaada9080: Download complete [2020-06-16T21:03:07.805Z] 0622d0fa9048: Verifying Checksum [2020-06-16T21:03:07.805Z] 0622d0fa9048: Download complete [2020-06-16T21:03:07.805Z] 2cc5ad85d9ab: Pull complete [2020-06-16T21:03:07.805Z] 094b1ea09ed8: Verifying Checksum [2020-06-16T21:03:07.805Z] 094b1ea09ed8: Download complete [2020-06-16T21:03:08.070Z] 41b27a9f41bf: Verifying Checksum [2020-06-16T21:03:08.070Z] 41b27a9f41bf: Download complete [2020-06-16T21:03:09.459Z] 756a868c4378: Pull complete [2020-06-16T21:03:09.459Z] 444b2fc9a129: Pull complete [2020-06-16T21:03:09.459Z] ea15f1150254: Pull complete [2020-06-16T21:03:13.678Z] 41b27a9f41bf: Pull complete [2020-06-16T21:03:13.678Z] 28c525ee5125: Pull complete [2020-06-16T21:03:17.001Z] 094b1ea09ed8: Pull complete [2020-06-16T21:03:17.001Z] 138eaada9080: Pull complete [2020-06-16T21:03:17.001Z] 0622d0fa9048: Pull complete [2020-06-16T21:03:17.001Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-16T21:03:17.001Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-16T21:03:17.001Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-16T21:03:17.161Z] prd-centos7-docker-4c-2g-3172 does not seem to be running inside a container [2020-06-16T21:03:17.206Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/foundry_device-virtual-go_PR-114 -v /w/workspace/foundry_device-virtual-go_PR-114:/w/workspace/foundry_device-virtual-go_PR-114:rw,z -v /w/workspace/foundry_device-virtual-go_PR-114@tmp:/w/workspace/foundry_device-virtual-go_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-16T21:03:20.862Z] $ docker top 4ec77667f67ec224fc0bd9b75bcc71b0273db5bbb30344c202b731d2abd694df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-16T21:03:21.096Z] provisioning config files... [2020-06-16T21:03:21.126Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-114@tmp/config1961606887832405325tmp [Pipeline] { [Pipeline] echo [2020-06-16T21:03:21.190Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-16T21:03:21.509Z] ---> create-netrc.sh [Pipeline] echo [2020-06-16T21:03:21.535Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-16T21:03:21.849Z] ---> logs-deploy.sh [2020-06-16T21:03:21.849Z] + ARCHIVE_ARTIFACTS= [2020-06-16T21:03:21.849Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-16T21:03:21.849Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-16T21:03:21.849Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-16T21:03:21.849Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-114/1 [2020-06-16T21:03:21.849Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-114/1/ [2020-06-16T21:03:21.849Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-114/1 /w/workspace/foundry_device-virtual-go_PR-114 [2020-06-16T21:03:23.232Z] Archives upload complete. [2020-06-16T21:03:23.232Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-114/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-114/1/