Pull request #113 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 tonyespy for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 22cf6459a579de4e7155a1f8aa5eda0f0773302a+b52eb9e4b400164974d679b086349643dc0ae83f (f7e58d496798a83fe94adeac2dde6e917ce1b642) 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-113/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2652 in /w/workspace/foundry_device-virtual-go_PR-113 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-113 # 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/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/113/head:refs/remotes/origin/PR-113 # 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/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b52eb9e4b400164974d679b086349643dc0ae83f into PR head commit 22cf6459a579de4e7155a1f8aa5eda0f0773302a Merge succeeded, producing 22cf6459a579de4e7155a1f8aa5eda0f0773302a Checking out Revision 22cf6459a579de4e7155a1f8aa5eda0f0773302a (PR-113) > git config core.sparsecheckout # timeout=10 > git checkout -f 22cf6459a579de4e7155a1f8aa5eda0f0773302a # 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 b52eb9e4b400164974d679b086349643dc0ae83f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22cf6459a579de4e7155a1f8aa5eda0f0773302a # timeout=10 Commit message: "update device-sdk-go: 1.2.2" 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-11T22:44:49.298Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-11T22:44:49.504Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-11T22:44:49.631Z] ========================================================= [2020-06-11T22:44:49.631Z] EdgeX Global Pipelines Version Info [2020-06-11T22:44:49.631Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-11T22:44:51.025Z] ------------------- [2020-06-11T22:44:51.025Z] stable info: [2020-06-11T22:44:51.025Z] ------------------- [2020-06-11T22:44:51.025Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-11T22:44:51.025Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-11T22:44:51.025Z] Message: update stable to v1.0.89 [2020-06-11T22:44:51.967Z] ------------------- [2020-06-11T22:44:51.967Z] experimental info: [2020-06-11T22:44:51.967Z] ------------------- [2020-06-11T22:44:51.967Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-11T22:44:51.967Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-11T22:44:51.967Z] 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-11T22:44:53.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T22:44:54.489Z] [2020-06-11T22:44:54.489Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-11T22:44:54.846Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T22:44:54.846Z] latest: Pulling from edgex-devops/git-semver [2020-06-11T22:44:54.846Z] 9123ac7c32f7: Pulling fs layer [2020-06-11T22:44:54.846Z] b8cc5d1170e3: Pulling fs layer [2020-06-11T22:44:54.846Z] 2924cbbf6a41: Pulling fs layer [2020-06-11T22:44:54.846Z] 93b08a4f1073: Pulling fs layer [2020-06-11T22:44:54.846Z] 93b08a4f1073: Waiting [2020-06-11T22:44:54.846Z] b8cc5d1170e3: Verifying Checksum [2020-06-11T22:44:54.846Z] b8cc5d1170e3: Download complete [2020-06-11T22:44:54.846Z] 9123ac7c32f7: Verifying Checksum [2020-06-11T22:44:54.846Z] 9123ac7c32f7: Download complete [2020-06-11T22:44:55.108Z] 2924cbbf6a41: Verifying Checksum [2020-06-11T22:44:55.108Z] 2924cbbf6a41: Download complete [2020-06-11T22:44:55.108Z] 93b08a4f1073: Verifying Checksum [2020-06-11T22:44:55.108Z] 93b08a4f1073: Download complete [2020-06-11T22:44:55.369Z] 9123ac7c32f7: Pull complete [2020-06-11T22:44:55.369Z] b8cc5d1170e3: Pull complete [2020-06-11T22:44:56.327Z] 2924cbbf6a41: Pull complete [2020-06-11T22:44:56.327Z] 93b08a4f1073: Pull complete [2020-06-11T22:44:56.327Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-11T22:44:56.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T22:44:56.327Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-11T22:44:56.454Z] prd-centos7-docker-4c-2g-2652 does not seem to be running inside a container [2020-06-11T22:44:56.503Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-113 -v /w/workspace/foundry_device-virtual-go_PR-113:/w/workspace/foundry_device-virtual-go_PR-113:rw,z -v /w/workspace/foundry_device-virtual-go_PR-113@tmp:/w/workspace/foundry_device-virtual-go_PR-113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-11T22:44:58.493Z] $ docker top 654ca228c3277faee5f92926927d91fb19c1ba337b582e0ce880e634f639d436 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-11T22:44:58.740Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-11T22:44:58.740Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-11T22:44:58.941Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-11T22:44:58.948Z] $ docker exec 654ca228c3277faee5f92926927d91fb19c1ba337b582e0ce880e634f639d436 ssh-agent [2020-06-11T22:44:59.101Z] SSH_AUTH_SOCK=/tmp/ssh-wsE5kNbn13YJ/agent.11 [2020-06-11T22:44:59.101Z] SSH_AGENT_PID=16 [2020-06-11T22:44:59.111Z] Running ssh-add (command line suppressed) [2020-06-11T22:44:59.242Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-113@tmp/private_key_4530850623761363990.key (/w/workspace/foundry_device-virtual-go_PR-113@tmp/private_key_4530850623761363990.key) [2020-06-11T22:44:59.287Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-11T22:44:59.630Z] + git describe --exact-match --tags HEAD [2020-06-11T22:44:59.631Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-11T22:44:59.810Z] $ docker exec --env ******** --env ******** 654ca228c3277faee5f92926927d91fb19c1ba337b582e0ce880e634f639d436 ssh-agent -k [2020-06-11T22:44:59.922Z] unset SSH_AUTH_SOCK; [2020-06-11T22:44:59.922Z] unset SSH_AGENT_PID; [2020-06-11T22:44:59.922Z] echo Agent pid 16 killed; [2020-06-11T22:44:59.961Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-11T22:45:00.076Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-11T22:45:00.076Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-11T22:45:00.145Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-11T22:45:00.145Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-11T22:45:00.303Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-11T22:45:00.310Z] $ docker exec 654ca228c3277faee5f92926927d91fb19c1ba337b582e0ce880e634f639d436 ssh-agent [2020-06-11T22:45:00.458Z] SSH_AUTH_SOCK=/tmp/ssh-HX6mcqAcpVYS/agent.46 [2020-06-11T22:45:00.458Z] SSH_AGENT_PID=51 [2020-06-11T22:45:00.464Z] Running ssh-add (command line suppressed) [2020-06-11T22:45:00.581Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-113@tmp/private_key_5391377351741696157.key (/w/workspace/foundry_device-virtual-go_PR-113@tmp/private_key_5391377351741696157.key) [2020-06-11T22:45:00.625Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-11T22:45:00.965Z] + git semver init [2020-06-11T22:45:00.965Z] # -> Open(): unable to determine branch for HEAD [2020-06-11T22:45:00.965Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-113/.git [2020-06-11T22:45:00.965Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-113 [2020-06-11T22:45:00.965Z] # $SEMVER_REMOTE_NAME = origin [2020-06-11T22:45:00.965Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-11T22:45:00.965Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-11T22:45:00.965Z] # $SEMVER_BRANCH = PR-113 [2020-06-11T22:45:00.965Z] # $SEMVER_TEMP = /tmp/semver-733652329 [2020-06-11T22:45:00.965Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-06-11T22:45:01.537Z] # '/tmp/semver-733652329' -> '/w/workspace/foundry_device-virtual-go_PR-113/.semver' [2020-06-11T22:45:01.537Z] # -> Force: false [2020-06-11T22:45:01.537Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-113/.semver [Pipeline] } [2020-06-11T22:45:01.562Z] $ docker exec --env ******** --env ******** 654ca228c3277faee5f92926927d91fb19c1ba337b582e0ce880e634f639d436 ssh-agent -k [2020-06-11T22:45:01.670Z] unset SSH_AUTH_SOCK; [2020-06-11T22:45:01.670Z] unset SSH_AGENT_PID; [2020-06-11T22:45:01.670Z] echo Agent pid 51 killed; [2020-06-11T22:45:01.708Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-11T22:45:02.175Z] + git semver [Pipeline] } [2020-06-11T22:45:02.210Z] $ docker stop --time=1 654ca228c3277faee5f92926927d91fb19c1ba337b582e0ce880e634f639d436 [2020-06-11T22:45:03.757Z] $ docker rm -f 654ca228c3277faee5f92926927d91fb19c1ba337b582e0ce880e634f639d436 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-11T22:45:04.311Z] Stashed 31 file(s) [Pipeline] echo [2020-06-11T22:45:04.332Z] [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-11T22:45:19.714Z] Still waiting to schedule task [2020-06-11T22:45:19.714Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-06-11T22:45:19.732Z] Still waiting to schedule task [2020-06-11T22:45:19.732Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-06-11T22:46:52.407Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2653 in /w/workspace/foundry_device-virtual-go_PR-113 [Pipeline] { [Pipeline] ws [2020-06-11T22:46:52.465Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-06-11T22:46:57.511Z] using credential edgex-jenkins-ssh [2020-06-11T22:46:57.542Z] Cloning the remote Git repository [2020-06-11T22:46:57.542Z] Cloning with configured refspecs honoured and without tags [2020-06-11T22:46:58.666Z] Fetching without tags [2020-06-11T22:46:57.567Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-06-11T22:46:57.671Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-06-11T22:46:57.738Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-06-11T22:46:57.739Z] > git --version # timeout=10 [2020-06-11T22:46:57.766Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T22:46:57.848Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T22:46:58.554Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-06-11T22:46:58.571Z] > git config --add remote.origin.fetch +refs/pull/113/head:refs/remotes/origin/PR-113 # timeout=10 [2020-06-11T22:46:58.590Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T22:46:58.617Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-06-11T22:46:58.650Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-06-11T22:46:58.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T22:46:58.666Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T22:46:59.179Z] Merging remotes/origin/master commit b52eb9e4b400164974d679b086349643dc0ae83f into PR head commit 22cf6459a579de4e7155a1f8aa5eda0f0773302a [2020-06-11T22:46:59.399Z] Merge succeeded, producing 22cf6459a579de4e7155a1f8aa5eda0f0773302a [2020-06-11T22:46:59.400Z] Checking out Revision 22cf6459a579de4e7155a1f8aa5eda0f0773302a (PR-113) [2020-06-11T22:46:59.171Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T22:46:59.190Z] > git checkout -f 22cf6459a579de4e7155a1f8aa5eda0f0773302a # timeout=10 [2020-06-11T22:46:59.280Z] > git remote # timeout=10 [2020-06-11T22:46:59.303Z] > git config --get remote.origin.url # timeout=10 [2020-06-11T22:46:59.326Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T22:46:59.337Z] > git merge b52eb9e4b400164974d679b086349643dc0ae83f # timeout=10 [2020-06-11T22:46:59.358Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-11T22:46:59.379Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T22:46:59.389Z] > git checkout -f 22cf6459a579de4e7155a1f8aa5eda0f0773302a # timeout=10 [2020-06-11T22:47:03.929Z] Commit message: "update device-sdk-go: 1.2.2" [2020-06-11T22:47:03.956Z] > git --version # timeout=10 [2020-06-11T22:47:03.982Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-11T22:47:05.122Z] ========================================================= [2020-06-11T22:47:05.122Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-11T22:47:05.122Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-11T22:47:06.361Z] + 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-11T22:47:07.350Z] Sending build context to Docker daemon 527.4kB [2020-06-11T22:47:07.350Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-11T22:47:07.350Z] Step 2/8 : FROM ${BASE} [2020-06-11T22:47:07.624Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-11T22:47:07.624Z] cde5963f3b93: Pulling fs layer [2020-06-11T22:47:07.624Z] 2a23fa8c16f7: Pulling fs layer [2020-06-11T22:47:07.624Z] 777b28850792: Pulling fs layer [2020-06-11T22:47:07.624Z] 8a11ddd9e578: Pulling fs layer [2020-06-11T22:47:07.624Z] 4cf88f913ddb: Pulling fs layer [2020-06-11T22:47:07.624Z] 1df406cf5192: Pulling fs layer [2020-06-11T22:47:07.624Z] cd6300453558: Pulling fs layer [2020-06-11T22:47:07.624Z] b9c365052c96: Pulling fs layer [2020-06-11T22:47:07.624Z] a2d8cc88f415: Pulling fs layer [2020-06-11T22:47:07.624Z] ea1d1ca13537: Pulling fs layer [2020-06-11T22:47:07.624Z] 3750a50a1c5e: Pulling fs layer [2020-06-11T22:47:07.624Z] 4cf88f913ddb: Waiting [2020-06-11T22:47:07.624Z] 1df406cf5192: Waiting [2020-06-11T22:47:07.624Z] cd6300453558: Waiting [2020-06-11T22:47:07.624Z] b9c365052c96: Waiting [2020-06-11T22:47:07.624Z] a2d8cc88f415: Waiting [2020-06-11T22:47:07.624Z] ea1d1ca13537: Waiting [2020-06-11T22:47:07.624Z] 3750a50a1c5e: Waiting [2020-06-11T22:47:07.624Z] 8a11ddd9e578: Waiting [2020-06-11T22:47:07.624Z] 777b28850792: Verifying Checksum [2020-06-11T22:47:07.624Z] 777b28850792: Download complete [2020-06-11T22:47:07.624Z] 2a23fa8c16f7: Verifying Checksum [2020-06-11T22:47:07.624Z] 2a23fa8c16f7: Download complete [2020-06-11T22:47:07.624Z] 4cf88f913ddb: Verifying Checksum [2020-06-11T22:47:07.624Z] 1df406cf5192: Download complete [2020-06-11T22:47:07.624Z] cde5963f3b93: Verifying Checksum [2020-06-11T22:47:07.624Z] cde5963f3b93: Download complete [2020-06-11T22:47:08.614Z] cde5963f3b93: Pull complete [2020-06-11T22:47:09.235Z] 2a23fa8c16f7: Pull complete [2020-06-11T22:47:09.512Z] 777b28850792: Pull complete [2020-06-11T22:47:09.789Z] cd6300453558: Verifying Checksum [2020-06-11T22:47:09.789Z] a2d8cc88f415: Verifying Checksum [2020-06-11T22:47:09.789Z] a2d8cc88f415: Download complete [2020-06-11T22:47:11.246Z] ea1d1ca13537: Verifying Checksum [2020-06-11T22:47:11.246Z] ea1d1ca13537: Download complete [2020-06-11T22:47:11.246Z] 3750a50a1c5e: Download complete [2020-06-11T22:47:12.693Z] b9c365052c96: Verifying Checksum [2020-06-11T22:47:12.693Z] b9c365052c96: Download complete [2020-06-11T22:47:12.967Z] 8a11ddd9e578: Verifying Checksum [2020-06-11T22:47:12.967Z] 8a11ddd9e578: Download complete [2020-06-11T22:47:25.384Z] 8a11ddd9e578: Pull complete [2020-06-11T22:47:25.384Z] 4cf88f913ddb: Pull complete [2020-06-11T22:47:25.384Z] 1df406cf5192: Pull complete [2020-06-11T22:47:29.720Z] cd6300453558: Pull complete [2020-06-11T22:47:34.055Z] b9c365052c96: Pull complete [2020-06-11T22:47:34.330Z] a2d8cc88f415: Pull complete [2020-06-11T22:47:36.322Z] ea1d1ca13537: Pull complete [2020-06-11T22:47:36.594Z] 3750a50a1c5e: Pull complete [2020-06-11T22:47:36.594Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-11T22:47:36.594Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-11T22:47:36.594Z] ---> 78745c68409d [2020-06-11T22:47:36.594Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-06-11T22:47:42.010Z] ---> Running in 2334339a3a68 [2020-06-11T22:47:42.010Z] Removing intermediate container 2334339a3a68 [2020-06-11T22:47:42.010Z] ---> 46ed5d61a700 [2020-06-11T22:47:42.010Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T22:47:42.010Z] ---> Running in 0d37f83bc425 [2020-06-11T22:47:44.624Z] Removing intermediate container 0d37f83bc425 [2020-06-11T22:47:44.624Z] ---> 1fc8901105d0 [2020-06-11T22:47:44.624Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-06-11T22:47:44.624Z] ---> Running in bb2a577750d9 [2020-06-11T22:47:46.052Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-11T22:47:46.645Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-11T22:47:47.237Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T22:47:47.237Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T22:47:47.505Z] (3/18) Installing libmagic (5.37-r1) [2020-06-11T22:47:47.651Z] Running on prd-centos7-docker-4c-2g-2654 in /w/workspace/foundry_device-virtual-go_PR-113 [Pipeline] { [Pipeline] ws [2020-06-11T22:47:47.709Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [2020-06-11T22:47:47.774Z] (4/18) Installing file (5.37-r1) [Pipeline] checkout [2020-06-11T22:47:48.046Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T22:47:48.046Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T22:47:48.046Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T22:47:52.339Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-06-11T22:47:52.339Z] (9/18) Installing g++ (9.2.0-r4) [2020-06-11T22:47:54.877Z] using credential edgex-jenkins-ssh [2020-06-11T22:47:54.904Z] Cloning the remote Git repository [2020-06-11T22:47:54.904Z] Cloning with configured refspecs honoured and without tags [2020-06-11T22:47:54.936Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-06-11T22:47:55.180Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-06-11T22:47:55.272Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-06-11T22:47:55.273Z] > git --version # timeout=10 [2020-06-11T22:47:55.308Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T22:47:55.338Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T22:47:55.712Z] (10/18) Installing fortify-headers (1.1-r0) [2020-06-11T22:47:55.712Z] (11/18) Installing build-base (0.5-r1) [2020-06-11T22:47:55.712Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-06-11T22:47:55.712Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-06-11T22:47:55.712Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-06-11T22:47:55.985Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-06-11T22:47:55.985Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-06-11T22:47:56.050Z] Fetching without tags [2020-06-11T22:47:56.255Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-06-11T22:47:56.255Z] (18/18) Installing openssh (8.1_p1-r0) [2020-06-11T22:47:56.462Z] Merging remotes/origin/master commit b52eb9e4b400164974d679b086349643dc0ae83f into PR head commit 22cf6459a579de4e7155a1f8aa5eda0f0773302a [2020-06-11T22:47:56.541Z] Executing busybox-1.31.1-r8.trigger [2020-06-11T22:47:56.541Z] OK: 203 MiB in 52 packages [2020-06-11T22:47:55.906Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-06-11T22:47:55.929Z] > git config --add remote.origin.fetch +refs/pull/113/head:refs/remotes/origin/PR-113 # timeout=10 [2020-06-11T22:47:55.969Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T22:47:56.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-06-11T22:47:56.060Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-06-11T22:47:56.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T22:47:56.067Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T22:47:56.482Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T22:47:56.497Z] > git checkout -f 22cf6459a579de4e7155a1f8aa5eda0f0773302a # timeout=10 [2020-06-11T22:47:56.612Z] > git remote # timeout=10 [2020-06-11T22:47:56.675Z] > git config --get remote.origin.url # timeout=10 [2020-06-11T22:47:56.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T22:47:56.720Z] > git merge b52eb9e4b400164974d679b086349643dc0ae83f # timeout=10 [2020-06-11T22:47:56.794Z] Merge succeeded, producing 22cf6459a579de4e7155a1f8aa5eda0f0773302a [2020-06-11T22:47:56.795Z] Checking out Revision 22cf6459a579de4e7155a1f8aa5eda0f0773302a (PR-113) [2020-06-11T22:47:56.758Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-11T22:47:56.804Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T22:47:56.834Z] > git checkout -f 22cf6459a579de4e7155a1f8aa5eda0f0773302a # timeout=10 [2020-06-11T22:48:01.133Z] Commit message: "update device-sdk-go: 1.2.2" [2020-06-11T22:48:01.168Z] > git --version # timeout=10 [2020-06-11T22:48:01.201Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-11T22:48:02.341Z] ========================================================= [2020-06-11T22:48:02.341Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-11T22:48:02.341Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-11T22:48:03.260Z] Removing intermediate container bb2a577750d9 [2020-06-11T22:48:03.260Z] ---> 17397e9dcd14 [2020-06-11T22:48:03.260Z] Step 6/8 : WORKDIR /device-virtual-go [2020-06-11T22:48:03.260Z] ---> Running in f8658590ebea [2020-06-11T22:48:03.533Z] Removing intermediate container f8658590ebea [2020-06-11T22:48:03.533Z] ---> ba604b9770a0 [2020-06-11T22:48:03.533Z] Step 7/8 : COPY . . [2020-06-11T22:48:03.916Z] + 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-11T22:48:04.527Z] ---> 7825734adf2a [2020-06-11T22:48:04.527Z] Step 8/8 : RUN go mod download [2020-06-11T22:48:04.547Z] Sending build context to Docker daemon 527.4kB [2020-06-11T22:48:04.547Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-11T22:48:04.547Z] Step 2/8 : FROM ${BASE} [2020-06-11T22:48:04.547Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-11T22:48:04.547Z] e6b0cf9c0882: Pulling fs layer [2020-06-11T22:48:04.547Z] 2848faf0eed1: Pulling fs layer [2020-06-11T22:48:04.547Z] 0f37312ad70f: Pulling fs layer [2020-06-11T22:48:04.547Z] 5788d62ee057: Pulling fs layer [2020-06-11T22:48:04.547Z] 0e6b1d234666: Pulling fs layer [2020-06-11T22:48:04.547Z] bf5d7aec512f: Pulling fs layer [2020-06-11T22:48:04.547Z] 34c802a77dc8: Pulling fs layer [2020-06-11T22:48:04.547Z] 9eb99e56ec68: Pulling fs layer [2020-06-11T22:48:04.547Z] 27c7a5d97fbd: Pulling fs layer [2020-06-11T22:48:04.547Z] 5c102a31e300: Pulling fs layer [2020-06-11T22:48:04.547Z] dcfb455df0a1: Pulling fs layer [2020-06-11T22:48:04.547Z] 5788d62ee057: Waiting [2020-06-11T22:48:04.547Z] 0e6b1d234666: Waiting [2020-06-11T22:48:04.547Z] bf5d7aec512f: Waiting [2020-06-11T22:48:04.547Z] 34c802a77dc8: Waiting [2020-06-11T22:48:04.547Z] 9eb99e56ec68: Waiting [2020-06-11T22:48:04.547Z] 27c7a5d97fbd: Waiting [2020-06-11T22:48:04.547Z] 5c102a31e300: Waiting [2020-06-11T22:48:04.547Z] dcfb455df0a1: Waiting [2020-06-11T22:48:04.547Z] 0f37312ad70f: Verifying Checksum [2020-06-11T22:48:04.547Z] 0f37312ad70f: Download complete [2020-06-11T22:48:04.547Z] 2848faf0eed1: Verifying Checksum [2020-06-11T22:48:04.547Z] 2848faf0eed1: Download complete [2020-06-11T22:48:04.803Z] ---> Running in 79587b21d409 [2020-06-11T22:48:04.865Z] 0e6b1d234666: Verifying Checksum [2020-06-11T22:48:04.865Z] 0e6b1d234666: Download complete [2020-06-11T22:48:04.865Z] bf5d7aec512f: Verifying Checksum [2020-06-11T22:48:04.865Z] bf5d7aec512f: Download complete [2020-06-11T22:48:04.865Z] e6b0cf9c0882: Verifying Checksum [2020-06-11T22:48:04.865Z] e6b0cf9c0882: Download complete [2020-06-11T22:48:05.935Z] e6b0cf9c0882: Pull complete [2020-06-11T22:48:06.255Z] 34c802a77dc8: Verifying Checksum [2020-06-11T22:48:06.255Z] 34c802a77dc8: Download complete [2020-06-11T22:48:06.255Z] 27c7a5d97fbd: Download complete [2020-06-11T22:48:06.959Z] 2848faf0eed1: Pull complete [2020-06-11T22:48:07.303Z] 5c102a31e300: Verifying Checksum [2020-06-11T22:48:07.303Z] 5c102a31e300: Download complete [2020-06-11T22:48:07.413Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-11T22:48:07.413Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T22:48:07.413Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-11T22:48:07.413Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T22:48:07.413Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-11T22:48:07.413Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-11T22:48:07.615Z] dcfb455df0a1: Verifying Checksum [2020-06-11T22:48:07.615Z] dcfb455df0a1: Download complete [2020-06-11T22:48:07.615Z] 0f37312ad70f: Pull complete [2020-06-11T22:48:07.687Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T22:48:07.687Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-11T22:48:07.687Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-11T22:48:07.687Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-11T22:48:07.687Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T22:48:07.687Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T22:48:07.687Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T22:48:07.687Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T22:48:07.687Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-06-11T22:48:07.687Z] go: finding github.com/fatih/color v1.7.0 [2020-06-11T22:48:07.687Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T22:48:07.687Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-11T22:48:07.687Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T22:48:07.687Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-11T22:48:07.688Z] go: finding github.com/golang/snappy v0.0.1 [2020-06-11T22:48:07.688Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-11T22:48:07.688Z] go: finding github.com/google/uuid v1.1.0 [2020-06-11T22:48:07.688Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-11T22:48:07.688Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-11T22:48:07.688Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-11T22:48:07.688Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-11T22:48:07.893Z] 9eb99e56ec68: Verifying Checksum [2020-06-11T22:48:07.893Z] 9eb99e56ec68: Download complete [2020-06-11T22:48:07.958Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T22:48:07.958Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T22:48:07.958Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-11T22:48:07.958Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-11T22:48:07.958Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T22:48:07.958Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-11T22:48:07.958Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-11T22:48:07.958Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-11T22:48:07.958Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-11T22:48:07.958Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-11T22:48:07.958Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-11T22:48:07.958Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-11T22:48:07.958Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-11T22:48:07.958Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-11T22:48:07.958Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-11T22:48:07.958Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-11T22:48:07.958Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-11T22:48:07.958Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-11T22:48:07.958Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-11T22:48:08.214Z] 5788d62ee057: Verifying Checksum [2020-06-11T22:48:08.214Z] 5788d62ee057: Download complete [2020-06-11T22:48:08.235Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T22:48:08.235Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-11T22:48:08.235Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-11T22:48:08.235Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-11T22:48:08.235Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-11T22:48:08.235Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-11T22:48:08.235Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T22:48:08.235Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T22:48:08.235Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-11T22:48:08.235Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-11T22:48:08.235Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-11T22:48:08.235Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-11T22:48:08.235Z] go: finding github.com/posener/complete v1.1.1 [2020-06-11T22:48:08.235Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-06-11T22:48:08.507Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-11T22:48:08.507Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-11T22:48:08.507Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-11T22:48:08.507Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-11T22:48:08.507Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-11T22:48:08.507Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-11T22:48:08.507Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-11T22:48:08.507Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-11T22:48:08.507Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-11T22:48:08.507Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-06-11T22:48:08.507Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-11T22:48:08.507Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-11T22:48:08.507Z] go: finding modernc.org/b v1.0.0 [2020-06-11T22:48:08.507Z] go: finding modernc.org/db v1.0.0 [2020-06-11T22:48:08.507Z] go: finding modernc.org/file v1.0.0 [2020-06-11T22:48:08.507Z] go: finding modernc.org/fileutil v1.0.0 [2020-06-11T22:48:08.507Z] go: finding modernc.org/golex v1.0.0 [2020-06-11T22:48:08.507Z] go: finding modernc.org/internal v1.0.0 [2020-06-11T22:48:08.507Z] go: finding modernc.org/lldb v1.0.0 [2020-06-11T22:48:08.507Z] go: finding modernc.org/mathutil v1.0.0 [2020-06-11T22:48:08.780Z] go: finding modernc.org/ql v1.0.0 [2020-06-11T22:48:08.780Z] go: finding modernc.org/sortutil v1.0.0 [2020-06-11T22:48:08.780Z] go: finding modernc.org/strutil v1.0.0 [2020-06-11T22:48:08.780Z] go: finding modernc.org/zappy v1.0.0 [2020-06-11T22:48:18.529Z] 5788d62ee057: Pull complete [2020-06-11T22:48:18.529Z] 0e6b1d234666: Pull complete [2020-06-11T22:48:18.529Z] bf5d7aec512f: Pull complete [2020-06-11T22:48:18.934Z] Removing intermediate container 79587b21d409 [2020-06-11T22:48:18.934Z] ---> 492e96dc5a72 [2020-06-11T22:48:18.934Z] Successfully built 492e96dc5a72 [2020-06-11T22:48:18.934Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-11T22:48:19.660Z] + docker inspect -f . ci-base-image-arm64 [2020-06-11T22:48:19.660Z] . [Pipeline] withDockerContainer [2020-06-11T22:48:19.963Z] prd-ubuntu18.04-docker-arm64-4c-16g-2653 does not seem to be running inside a container [2020-06-11T22:48:20.016Z] $ 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 [2020-06-11T22:48:21.858Z] $ docker top 4d10ea8bfecb6227472a9643bc97766b3ffa988e182a540e3dbabb7d0a32fbda -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-11T22:48:23.283Z] + go version [2020-06-11T22:48:23.283Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-11T22:48:24.119Z] 34c802a77dc8: Pull complete [2020-06-11T22:48:24.340Z] + make test [2020-06-11T22:48:24.340Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-06-11T22:48:25.326Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-06-11T22:48:28.600Z] 9eb99e56ec68: Pull complete [2020-06-11T22:48:28.600Z] 27c7a5d97fbd: Pull complete [2020-06-11T22:48:30.077Z] 5c102a31e300: Pull complete [2020-06-11T22:48:30.077Z] dcfb455df0a1: Pull complete [2020-06-11T22:48:30.077Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-11T22:48:30.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-11T22:48:30.343Z] ---> 7c70fe431013 [2020-06-11T22:48:30.343Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-06-11T22:48:30.955Z] ---> Running in dfcab7873280 [2020-06-11T22:48:31.390Z] Removing intermediate container dfcab7873280 [2020-06-11T22:48:31.390Z] ---> d5e316b536c1 [2020-06-11T22:48:31.390Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T22:48:31.390Z] ---> Running in a7590e263bb3 [2020-06-11T22:48:33.529Z] Removing intermediate container a7590e263bb3 [2020-06-11T22:48:33.529Z] ---> 7b3aed3cada6 [2020-06-11T22:48:33.529Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-06-11T22:48:33.803Z] ---> Running in f6cb715f87db [2020-06-11T22:48:34.793Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-11T22:48:35.379Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-11T22:48:35.648Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T22:48:35.918Z] (2/17) Installing libmagic (5.37-r1) [2020-06-11T22:48:35.918Z] (3/17) Installing file (5.37-r1) [2020-06-11T22:48:36.209Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T22:48:36.209Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T22:48:36.209Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T22:48:46.456Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-06-11T22:48:46.456Z] (8/17) Installing g++ (9.2.0-r4) [2020-06-11T22:48:50.766Z] (9/17) Installing fortify-headers (1.1-r0) [2020-06-11T22:48:50.766Z] (10/17) Installing build-base (0.5-r1) [2020-06-11T22:48:50.766Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-06-11T22:48:50.766Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-06-11T22:48:50.766Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-06-11T22:48:51.655Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-06-11T22:48:51.655Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-06-11T22:48:51.655Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-06-11T22:48:52.412Z] (17/17) Installing openssh (8.1_p1-r0) [2020-06-11T22:48:52.412Z] Executing busybox-1.31.1-r8.trigger [2020-06-11T22:48:52.412Z] OK: 214 MiB in 52 packages [2020-06-11T22:48:58.011Z] Removing intermediate container f6cb715f87db [2020-06-11T22:48:58.011Z] ---> 309a8f70b299 [2020-06-11T22:48:58.011Z] Step 6/8 : WORKDIR /device-virtual-go [2020-06-11T22:48:58.011Z] ---> Running in 62c066a509da [2020-06-11T22:48:58.011Z] Removing intermediate container 62c066a509da [2020-06-11T22:48:58.011Z] ---> 491984c39bcc [2020-06-11T22:48:58.011Z] Step 7/8 : COPY . . [2020-06-11T22:48:58.011Z] ---> 66fabb130419 [2020-06-11T22:48:58.011Z] Step 8/8 : RUN go mod download [2020-06-11T22:48:58.300Z] ---> Running in f0a01c445d48 [2020-06-11T22:49:01.025Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-11T22:49:01.025Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T22:49:01.025Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-11T22:49:01.025Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T22:49:01.304Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-11T22:49:01.304Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-11T22:49:01.304Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T22:49:01.304Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-11T22:49:01.304Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-11T22:49:01.304Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-11T22:49:01.304Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T22:49:01.304Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T22:49:01.304Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T22:49:01.304Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T22:49:01.304Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-06-11T22:49:01.304Z] go: finding github.com/fatih/color v1.7.0 [2020-06-11T22:49:01.304Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T22:49:01.304Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-11T22:49:01.305Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T22:49:01.670Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-11T22:49:01.670Z] go: finding github.com/golang/snappy v0.0.1 [2020-06-11T22:49:01.670Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-11T22:49:01.670Z] go: finding github.com/google/uuid v1.1.0 [2020-06-11T22:49:01.670Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-11T22:49:01.670Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-11T22:49:01.670Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-11T22:49:01.670Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-11T22:49:01.670Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T22:49:01.670Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T22:49:01.670Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-11T22:49:01.670Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-11T22:49:01.670Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T22:49:01.670Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-11T22:49:01.670Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-11T22:49:01.670Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-11T22:49:01.670Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-11T22:49:01.670Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-11T22:49:01.957Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-11T22:49:01.957Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-11T22:49:01.957Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-11T22:49:01.957Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-11T22:49:01.957Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-11T22:49:01.957Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-11T22:49:01.957Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-11T22:49:01.957Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-11T22:49:01.957Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-11T22:49:01.957Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T22:49:01.957Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-11T22:49:01.957Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-11T22:49:01.957Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-11T22:49:01.957Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-11T22:49:01.957Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-11T22:49:01.957Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T22:49:01.957Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T22:49:01.957Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-11T22:49:01.957Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-11T22:49:02.227Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-11T22:49:02.227Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-11T22:49:02.227Z] go: finding github.com/posener/complete v1.1.1 [2020-06-11T22:49:02.227Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-06-11T22:49:02.227Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-11T22:49:02.227Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-11T22:49:02.227Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-11T22:49:02.227Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-11T22:49:02.228Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-11T22:49:02.228Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-11T22:49:02.228Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-11T22:49:02.228Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-11T22:49:02.228Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-11T22:49:02.228Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-06-11T22:49:02.228Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-11T22:49:02.228Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-11T22:49:02.228Z] go: finding modernc.org/b v1.0.0 [2020-06-11T22:49:02.519Z] go: finding modernc.org/db v1.0.0 [2020-06-11T22:49:02.519Z] go: finding modernc.org/file v1.0.0 [2020-06-11T22:49:02.519Z] go: finding modernc.org/fileutil v1.0.0 [2020-06-11T22:49:02.519Z] go: finding modernc.org/golex v1.0.0 [2020-06-11T22:49:02.519Z] go: finding modernc.org/internal v1.0.0 [2020-06-11T22:49:02.519Z] go: finding modernc.org/lldb v1.0.0 [2020-06-11T22:49:02.820Z] go: finding modernc.org/mathutil v1.0.0 [2020-06-11T22:49:02.820Z] go: finding modernc.org/ql v1.0.0 [2020-06-11T22:49:02.820Z] go: finding modernc.org/sortutil v1.0.0 [2020-06-11T22:49:02.820Z] go: finding modernc.org/strutil v1.0.0 [2020-06-11T22:49:02.820Z] go: finding modernc.org/zappy v1.0.0 [2020-06-11T22:49:04.366Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-06-11T22:49:13.129Z] Removing intermediate container f0a01c445d48 [2020-06-11T22:49:13.129Z] ---> a1142a51a40a [2020-06-11T22:49:13.129Z] Successfully built a1142a51a40a [2020-06-11T22:49:13.129Z] 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-11T22:49:15.121Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-11T22:49:15.421Z] . [Pipeline] withDockerContainer [2020-06-11T22:49:15.589Z] prd-centos7-docker-4c-2g-2654 does not seem to be running inside a container [2020-06-11T22:49:15.687Z] $ 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 [2020-06-11T22:49:17.273Z] $ docker top c78eb2da200ba80c47405516f7e142b826e04458d74dd8282d688331d9c9ee18 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-11T22:49:17.952Z] + go version [2020-06-11T22:49:17.952Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-11T22:49:18.331Z] + make test [2020-06-11T22:49:18.331Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-06-11T22:49:21.025Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-06-11T22:49:48.194Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-06-11T22:51:25.392Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 96.117s coverage: 52.7% of statements [2020-06-11T22:51:25.392Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-11T22:51:28.984Z] gofmt -l . [2020-06-11T22:51:29.289Z] [ "`gofmt -l .`" = "" ] [2020-06-11T22:51:29.289Z] ./bin/test-attribution-txt.sh [2020-06-11T22:51:30.785Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-11T22:51:32.577Z] Stashed 1 file(s) [Pipeline] } [2020-06-11T22:51:32.604Z] $ docker stop --time=1 c78eb2da200ba80c47405516f7e142b826e04458d74dd8282d688331d9c9ee18 [2020-06-11T22:51:34.591Z] $ docker rm -f c78eb2da200ba80c47405516f7e142b826e04458d74dd8282d688331d9c9ee18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-11T22:51:36.923Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-11T22:51:37.339Z] + ls -al . [2020-06-11T22:51:37.339Z] total 112 [2020-06-11T22:51:37.339Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 11 22:51 . [2020-06-11T22:51:37.339Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 11 22:47 .. [2020-06-11T22:51:37.339Z] -rw-rw-r--. 1 jenkins jenkins 6432 Jun 11 22:47 Attribution.txt [2020-06-11T22:51:37.339Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 11 22:47 bin [2020-06-11T22:51:37.339Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 11 22:47 cmd [2020-06-11T22:51:37.339Z] -rw-r--r--. 1 jenkins jenkins 32181 Jun 11 22:51 coverage.out [2020-06-11T22:51:37.339Z] -rw-rw-r--. 1 jenkins jenkins 1826 Jun 11 22:47 Dockerfile [2020-06-11T22:51:37.339Z] -rw-rw-r--. 1 jenkins jenkins 957 Jun 11 22:47 Dockerfile.build [2020-06-11T22:51:37.339Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 11 22:48 .git [2020-06-11T22:51:37.339Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 11 22:47 .github [2020-06-11T22:51:37.339Z] -rw-rw-r--. 1 jenkins jenkins 258 Jun 11 22:47 .gitignore [2020-06-11T22:51:37.339Z] -rw-r--r--. 1 jenkins jenkins 855 Jun 11 22:51 go.mod [2020-06-11T22:51:37.339Z] -rw-r--r--. 1 jenkins jenkins 14894 Jun 11 22:51 go.sum [2020-06-11T22:51:37.339Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 11 22:47 internal [2020-06-11T22:51:37.339Z] -rw-rw-r--. 1 jenkins jenkins 683 Jun 11 22:47 Jenkinsfile [2020-06-11T22:51:37.339Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 11 22:47 LICENSE [2020-06-11T22:51:37.339Z] -rw-rw-r--. 1 jenkins jenkins 873 Jun 11 22:47 Makefile [2020-06-11T22:51:37.339Z] -rw-rw-r--. 1 jenkins jenkins 4413 Jun 11 22:47 README.md [2020-06-11T22:51:37.339Z] drwxrwxr-x. 3 jenkins jenkins 58 Jun 11 22:48 .semver [2020-06-11T22:51:37.339Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 11 22:45 VERSION [2020-06-11T22:51:37.339Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 11 22:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-11T22:51:37.705Z] + 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=22cf6459a579de4e7155a1f8aa5eda0f0773302a --label arch=amd64 --label version=0.0.0 . [2020-06-11T22:51:38.303Z] Sending build context to Docker daemon 34.15MB [2020-06-11T22:51:38.303Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-06-11T22:51:38.303Z] Step 2/21 : FROM ${BASE} AS builder [2020-06-11T22:51:38.303Z] ---> a1142a51a40a [2020-06-11T22:51:38.303Z] Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-06-11T22:51:38.898Z] ---> Running in 577ba71cf0f6 [2020-06-11T22:51:38.898Z] Removing intermediate container 577ba71cf0f6 [2020-06-11T22:51:38.898Z] ---> fed7cacbdbb2 [2020-06-11T22:51:38.898Z] Step 4/21 : ARG ALPINE_PKG_EXTRA="" [2020-06-11T22:51:39.166Z] ---> Running in ed2c4eeea1c9 [2020-06-11T22:51:39.437Z] Removing intermediate container ed2c4eeea1c9 [2020-06-11T22:51:39.437Z] ---> 29479d65d357 [2020-06-11T22:51:39.437Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-06-11T22:51:39.437Z] ---> Running in 2795f88fcb2e [2020-06-11T22:51:39.707Z] Removing intermediate container 2795f88fcb2e [2020-06-11T22:51:39.707Z] ---> 9f9a4f6132be [2020-06-11T22:51:39.707Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T22:51:39.707Z] ---> Running in 6b62953b16e6 [2020-06-11T22:51:41.180Z] Removing intermediate container 6b62953b16e6 [2020-06-11T22:51:41.180Z] ---> bff9e6f148e9 [2020-06-11T22:51:41.180Z] Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-11T22:51:41.180Z] ---> Running in 30e5edc070c7 [2020-06-11T22:51:41.798Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-11T22:51:42.797Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-11T22:51:43.096Z] OK: 214 MiB in 52 packages [2020-06-11T22:51:43.691Z] Removing intermediate container 30e5edc070c7 [2020-06-11T22:51:43.691Z] ---> d7d7f71fa7ed [2020-06-11T22:51:43.691Z] Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-06-11T22:51:43.691Z] ---> Running in 8ea9e5f345a2 [2020-06-11T22:51:43.965Z] Removing intermediate container 8ea9e5f345a2 [2020-06-11T22:51:43.965Z] ---> ac0286ca5862 [2020-06-11T22:51:43.965Z] Step 9/21 : COPY . . [2020-06-11T22:51:45.441Z] ---> 4329c1998c59 [2020-06-11T22:51:45.441Z] Step 10/21 : ARG MAKE='make build' [2020-06-11T22:51:45.441Z] ---> Running in 13437de57b7e [2020-06-11T22:51:45.441Z] Removing intermediate container 13437de57b7e [2020-06-11T22:51:45.441Z] ---> bc2dd47d0949 [2020-06-11T22:51:45.441Z] Step 11/21 : RUN $MAKE [2020-06-11T22:51:45.441Z] ---> Running in 66812705a567 [2020-06-11T22:51:46.508Z] 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-11T22:52:09.343Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-06-11T22:52:11.273Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 172.793s coverage: 52.7% of statements [2020-06-11T22:52:11.273Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-11T22:52:11.273Z] gofmt -l . [2020-06-11T22:52:11.273Z] [ "`gofmt -l .`" = "" ] [2020-06-11T22:52:11.273Z] ./bin/test-attribution-txt.sh [2020-06-11T22:52:11.273Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-11T22:52:11.307Z] Warning: overwriting stash ‘coverage-report’ [2020-06-11T22:52:11.801Z] Stashed 1 file(s) [Pipeline] } [2020-06-11T22:52:11.807Z] $ docker stop --time=1 4d10ea8bfecb6227472a9643bc97766b3ffa988e182a540e3dbabb7d0a32fbda [2020-06-11T22:52:13.654Z] Removing intermediate container 66812705a567 [2020-06-11T22:52:13.654Z] ---> a87aa9c27889 [2020-06-11T22:52:13.654Z] Step 12/21 : FROM alpine [2020-06-11T22:52:13.654Z] latest: Pulling from library/alpine [2020-06-11T22:52:13.654Z] df20fa9351a1: Pulling fs layer [2020-06-11T22:52:13.923Z] df20fa9351a1: Verifying Checksum [2020-06-11T22:52:13.923Z] df20fa9351a1: Download complete [2020-06-11T22:52:13.956Z] $ docker rm -f 4d10ea8bfecb6227472a9643bc97766b3ffa988e182a540e3dbabb7d0a32fbda [2020-06-11T22:52:14.584Z] df20fa9351a1: Pull complete [2020-06-11T22:52:14.584Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-11T22:52:14.584Z] Status: Downloaded newer image for alpine:latest [2020-06-11T22:52:14.584Z] ---> a24bb4013296 [2020-06-11T22:52:14.584Z] Step 13/21 : ENV APP_PORT=49990 [2020-06-11T22:52:14.584Z] ---> Running in 694a4b1e99fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-06-11T22:52:14.858Z] Removing intermediate container 694a4b1e99fb [2020-06-11T22:52:14.858Z] ---> a04bff1bbcd6 [2020-06-11T22:52:14.858Z] Step 14/21 : EXPOSE $APP_PORT [2020-06-11T22:52:14.858Z] ---> Running in e8dd0a3bef2d [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-11T22:52:15.128Z] Removing intermediate container e8dd0a3bef2d [2020-06-11T22:52:15.128Z] ---> 526471645647 [2020-06-11T22:52:15.128Z] Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-06-11T22:52:15.308Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-11T22:52:15.665Z] + ls -al . [2020-06-11T22:52:15.665Z] total 140 [2020-06-11T22:52:15.665Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 22:52 . [2020-06-11T22:52:15.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 22:46 .. [2020-06-11T22:52:15.665Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 22:47 .git [2020-06-11T22:52:15.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 22:46 .github [2020-06-11T22:52:15.665Z] -rw-rw-r-- 1 jenkins jenkins 258 Jun 11 22:46 .gitignore [2020-06-11T22:52:15.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 22:47 .semver [2020-06-11T22:52:15.665Z] -rw-rw-r-- 1 jenkins jenkins 6432 Jun 11 22:46 Attribution.txt [2020-06-11T22:52:15.665Z] -rw-rw-r-- 1 jenkins jenkins 1826 Jun 11 22:46 Dockerfile [2020-06-11T22:52:15.665Z] -rw-rw-r-- 1 jenkins jenkins 957 Jun 11 22:46 Dockerfile.build [2020-06-11T22:52:15.665Z] -rw-rw-r-- 1 jenkins jenkins 683 Jun 11 22:46 Jenkinsfile [2020-06-11T22:52:15.665Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 11 22:46 LICENSE [2020-06-11T22:52:15.665Z] -rw-rw-r-- 1 jenkins jenkins 873 Jun 11 22:46 Makefile [2020-06-11T22:52:15.665Z] -rw-rw-r-- 1 jenkins jenkins 4413 Jun 11 22:46 README.md [2020-06-11T22:52:15.665Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 11 22:45 VERSION [2020-06-11T22:52:15.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 22:46 bin [2020-06-11T22:52:15.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 22:46 cmd [2020-06-11T22:52:15.665Z] -rw-r--r-- 1 jenkins jenkins 32181 Jun 11 22:51 coverage.out [2020-06-11T22:52:15.665Z] -rw-r--r-- 1 jenkins jenkins 855 Jun 11 22:52 go.mod [2020-06-11T22:52:15.665Z] -rw-r--r-- 1 jenkins jenkins 14894 Jun 11 22:52 go.sum [2020-06-11T22:52:15.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 22:46 internal [2020-06-11T22:52:15.665Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 11 22:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-11T22:52:16.046Z] + 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=22cf6459a579de4e7155a1f8aa5eda0f0773302a --label arch=arm64 --label version=0.0.0 . [2020-06-11T22:52:16.236Z] ---> a8ff7489b0ec [2020-06-11T22:52:16.236Z] Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-06-11T22:52:16.649Z] Sending build context to Docker daemon 34.15MB [2020-06-11T22:52:16.649Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-06-11T22:52:16.649Z] Step 2/21 : FROM ${BASE} AS builder [2020-06-11T22:52:16.649Z] ---> 492e96dc5a72 [2020-06-11T22:52:16.649Z] Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-06-11T22:52:16.853Z] ---> adeb098a00ca [2020-06-11T22:52:16.853Z] Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-06-11T22:52:17.152Z] ---> 4b6765ea1913 [2020-06-11T22:52:17.152Z] Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-06-11T22:52:17.152Z] ---> Running in e64d16a7acd4 [2020-06-11T22:52:17.245Z] ---> Running in 7415d524e7d2 [2020-06-11T22:52:17.481Z] Removing intermediate container e64d16a7acd4 [2020-06-11T22:52:17.481Z] ---> d791075d2f8b [2020-06-11T22:52:17.481Z] Step 19/21 : LABEL arch=amd64 [2020-06-11T22:52:17.481Z] ---> Running in 8f21fcf0fbe0 [2020-06-11T22:52:17.522Z] Removing intermediate container 7415d524e7d2 [2020-06-11T22:52:17.522Z] ---> 750451dfd732 [2020-06-11T22:52:17.522Z] Step 4/21 : ARG ALPINE_PKG_EXTRA="" [2020-06-11T22:52:17.793Z] Removing intermediate container 8f21fcf0fbe0 [2020-06-11T22:52:17.793Z] ---> 5558ced6580e [2020-06-11T22:52:17.793Z] Step 20/21 : LABEL git_sha=22cf6459a579de4e7155a1f8aa5eda0f0773302a [2020-06-11T22:52:17.793Z] ---> Running in ceaad30c2a27 [2020-06-11T22:52:17.804Z] ---> Running in d80a22d245fa [2020-06-11T22:52:18.067Z] Removing intermediate container ceaad30c2a27 [2020-06-11T22:52:18.067Z] ---> 89039907cddf [2020-06-11T22:52:18.067Z] Step 21/21 : LABEL version=0.0.0 [2020-06-11T22:52:18.082Z] Removing intermediate container d80a22d245fa [2020-06-11T22:52:18.082Z] ---> 1f995536357b [2020-06-11T22:52:18.082Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-06-11T22:52:18.346Z] ---> Running in 7ea6e72c7986 [2020-06-11T22:52:18.346Z] Removing intermediate container 7ea6e72c7986 [2020-06-11T22:52:18.346Z] ---> 82b6efe1e689 [2020-06-11T22:52:18.346Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-11T22:52:18.346Z] Successfully built 82b6efe1e689 [2020-06-11T22:52:18.360Z] ---> Running in d57a8b5c96fe [2020-06-11T22:52:18.642Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2020-06-11T22:52:18.961Z] Removing intermediate container d57a8b5c96fe [2020-06-11T22:52:18.961Z] ---> c6148576ea87 [2020-06-11T22:52:18.961Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T22:52:18.961Z] ---> Running in f8028243c45e 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-11T22:52:21.594Z] Removing intermediate container f8028243c45e [2020-06-11T22:52:21.594Z] ---> 8d129d7ecc95 [2020-06-11T22:52:21.594Z] Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-11T22:52:21.594Z] ---> Running in 99ac8e418a24 [2020-06-11T22:52:23.578Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-11T22:52:23.853Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-11T22:52:24.452Z] OK: 203 MiB in 52 packages [2020-06-11T22:52:25.894Z] Removing intermediate container 99ac8e418a24 [2020-06-11T22:52:25.894Z] ---> 846578385468 [2020-06-11T22:52:25.894Z] Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-06-11T22:52:25.894Z] ---> Running in f1ec26e635c6 [2020-06-11T22:52:26.502Z] Removing intermediate container f1ec26e635c6 [2020-06-11T22:52:26.503Z] ---> 4ab9764998a5 [2020-06-11T22:52:26.503Z] Step 9/21 : COPY . . [2020-06-11T22:52:28.484Z] ---> e788f0bb53d8 [2020-06-11T22:52:28.484Z] Step 10/21 : ARG MAKE='make build' [2020-06-11T22:52:28.759Z] ---> Running in b1bde471b481 [2020-06-11T22:52:29.031Z] Removing intermediate container b1bde471b481 [2020-06-11T22:52:29.031Z] ---> 3a6d5ca94b34 [2020-06-11T22:52:29.031Z] Step 11/21 : RUN $MAKE [2020-06-11T22:52:29.303Z] ---> Running in b9850fb146ac [2020-06-11T22:52:30.750Z] 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-11T22:53:09.778Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-06-11T22:53:14.076Z] Removing intermediate container b9850fb146ac [2020-06-11T22:53:14.076Z] ---> 22a248fe7d87 [2020-06-11T22:53:14.076Z] Step 12/21 : FROM alpine [2020-06-11T22:53:14.076Z] latest: Pulling from library/alpine [2020-06-11T22:53:14.076Z] b538f80385f9: Pulling fs layer [2020-06-11T22:53:14.076Z] b538f80385f9: Verifying Checksum [2020-06-11T22:53:14.076Z] b538f80385f9: Download complete [2020-06-11T22:53:14.675Z] b538f80385f9: Pull complete [2020-06-11T22:53:14.675Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-11T22:53:14.961Z] Status: Downloaded newer image for alpine:latest [2020-06-11T22:53:14.961Z] ---> 62ee0e9f8440 [2020-06-11T22:53:14.961Z] Step 13/21 : ENV APP_PORT=49990 [2020-06-11T22:53:14.961Z] ---> Running in 1788237a12b1 [2020-06-11T22:53:15.235Z] Removing intermediate container 1788237a12b1 [2020-06-11T22:53:15.235Z] ---> 8fbf9a4b39a2 [2020-06-11T22:53:15.235Z] Step 14/21 : EXPOSE $APP_PORT [2020-06-11T22:53:15.506Z] ---> Running in 392e2e699aa2 [2020-06-11T22:53:15.780Z] Removing intermediate container 392e2e699aa2 [2020-06-11T22:53:15.780Z] ---> d73fdb293290 [2020-06-11T22:53:15.780Z] Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-06-11T22:53:17.215Z] ---> 948b325f8960 [2020-06-11T22:53:17.215Z] Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-06-11T22:53:17.811Z] ---> d301f64787bf [2020-06-11T22:53:17.811Z] Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-06-11T22:53:18.786Z] ---> 0f79f3e80de8 [2020-06-11T22:53:18.786Z] Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-06-11T22:53:18.786Z] ---> Running in fdefe97840c1 [2020-06-11T22:53:19.058Z] Removing intermediate container fdefe97840c1 [2020-06-11T22:53:19.058Z] ---> 650d4f0ca903 [2020-06-11T22:53:19.058Z] Step 19/21 : LABEL arch=arm64 [2020-06-11T22:53:19.328Z] ---> Running in 9f685b8cbe80 [2020-06-11T22:53:19.599Z] Removing intermediate container 9f685b8cbe80 [2020-06-11T22:53:19.599Z] ---> a028894ecfd0 [2020-06-11T22:53:19.599Z] Step 20/21 : LABEL git_sha=22cf6459a579de4e7155a1f8aa5eda0f0773302a [2020-06-11T22:53:19.870Z] ---> Running in 64ac6a22c6ab [2020-06-11T22:53:20.142Z] Removing intermediate container 64ac6a22c6ab [2020-06-11T22:53:20.142Z] ---> 4d7a00a1edcb [2020-06-11T22:53:20.142Z] Step 21/21 : LABEL version=0.0.0 [2020-06-11T22:53:20.413Z] ---> Running in 831559f962ed [2020-06-11T22:53:20.686Z] Removing intermediate container 831559f962ed [2020-06-11T22:53:20.686Z] ---> 2b2504e6b37a [2020-06-11T22:53:20.686Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-11T22:53:20.686Z] Successfully built 2b2504e6b37a [2020-06-11T22:53:20.955Z] 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-11T22:53:22.289Z] provisioning config files... [2020-06-11T22:53:22.298Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-113@tmp/config1364873158785255401tmp [Pipeline] { [Pipeline] sh [2020-06-11T22:53:22.668Z] + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-113@tmp/config1364873158785255401tmp [2020-06-11T22:53:22.668Z] + curl -s https://codecov.io/bash [2020-06-11T22:53:22.929Z] [2020-06-11T22:53:22.929Z] _____ _ [2020-06-11T22:53:22.929Z] / ____| | | [2020-06-11T22:53:22.929Z] | | ___ __| | ___ ___ _____ __ [2020-06-11T22:53:22.929Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-11T22:53:22.929Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-11T22:53:22.929Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-11T22:53:22.929Z] Bash-20200602-f809a24 [2020-06-11T22:53:22.929Z] [2020-06-11T22:53:22.929Z] [2020-06-11T22:53:22.929Z] ==> Jenkins CI detected. [2020-06-11T22:53:22.929Z] project root: . [2020-06-11T22:53:22.929Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-11T22:53:22.929Z] ==> Running gcov in . (disable via -X gcov) [2020-06-11T22:53:22.929Z] ==> Python coveragepy not found [2020-06-11T22:53:22.929Z] ==> Searching for coverage reports in: [2020-06-11T22:53:22.929Z] + . [2020-06-11T22:53:22.929Z] -> Found 1 reports [2020-06-11T22:53:22.929Z] ==> Detecting git/mercurial file structure [2020-06-11T22:53:22.929Z] ==> Reading reports [2020-06-11T22:53:22.929Z] + ./coverage.out bytes=32181 [2020-06-11T22:53:22.929Z] ==> Appending adjustments [2020-06-11T22:53:22.929Z] https://docs.codecov.io/docs/fixing-reports [2020-06-11T22:53:22.929Z] + Found adjustments [2020-06-11T22:53:22.929Z] ==> Gzipping contents [2020-06-11T22:53:22.929Z] ==> Uploading reports [2020-06-11T22:53:22.929Z] url: https://codecov.io [2020-06-11T22:53:22.929Z] query: branch=PR-113&commit=22cf6459a579de4e7155a1f8aa5eda0f0773302a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=113&job= [2020-06-11T22:53:22.929Z] -> Pinging Codecov [2020-06-11T22:53:22.929Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-113&commit=22cf6459a579de4e7155a1f8aa5eda0f0773302a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=113&job= [2020-06-11T22:53:23.502Z] -> Uploading [2020-06-11T22:53:24.074Z] -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/22cf6459a579de4e7155a1f8aa5eda0f0773302a [Pipeline] } [2020-06-11T22:53:24.096Z] 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-11T22:53:25.542Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T22:53:26.125Z] ---> package-listing.sh [2020-06-11T22:53:26.125Z] ++ facter osfamily [2020-06-11T22:53:26.125Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-11T22:53:26.125Z] + OS_FAMILY=redhat [2020-06-11T22:53:26.125Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-113 [2020-06-11T22:53:26.125Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-11T22:53:26.125Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-11T22:53:26.125Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-11T22:53:26.125Z] + PACKAGES=/tmp/packages_start.txt [2020-06-11T22:53:26.125Z] + '[' /w/workspace/foundry_device-virtual-go_PR-113 ']' [2020-06-11T22:53:26.125Z] + PACKAGES=/tmp/packages_end.txt [2020-06-11T22:53:26.125Z] + case "${OS_FAMILY}" in [2020-06-11T22:53:26.125Z] + rpm -qa [2020-06-11T22:53:26.125Z] + sort [2020-06-11T22:53:29.425Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-11T22:53:29.425Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-11T22:53:29.425Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-11T22:53:29.425Z] + '[' /w/workspace/foundry_device-virtual-go_PR-113 ']' [2020-06-11T22:53:29.425Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-113/archives/ [2020-06-11T22:53:29.425Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-113/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-11T22:53:30.060Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-11T22:53:30.060Z] [2020-06-11T22:53:30.060Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-11T22:53:30.417Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-11T22:53:30.417Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-11T22:53:30.417Z] c9b1b535fdd9: Pulling fs layer [2020-06-11T22:53:30.417Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-11T22:53:30.417Z] 756a868c4378: Pulling fs layer [2020-06-11T22:53:30.417Z] 444b2fc9a129: Pulling fs layer [2020-06-11T22:53:30.417Z] ea15f1150254: Pulling fs layer [2020-06-11T22:53:30.418Z] 41b27a9f41bf: Pulling fs layer [2020-06-11T22:53:30.418Z] 28c525ee5125: Pulling fs layer [2020-06-11T22:53:30.418Z] 094b1ea09ed8: Pulling fs layer [2020-06-11T22:53:30.418Z] 138eaada9080: Pulling fs layer [2020-06-11T22:53:30.418Z] 0622d0fa9048: Pulling fs layer [2020-06-11T22:53:30.418Z] ea15f1150254: Waiting [2020-06-11T22:53:30.418Z] 41b27a9f41bf: Waiting [2020-06-11T22:53:30.418Z] 28c525ee5125: Waiting [2020-06-11T22:53:30.418Z] 094b1ea09ed8: Waiting [2020-06-11T22:53:30.418Z] 138eaada9080: Waiting [2020-06-11T22:53:30.418Z] 0622d0fa9048: Waiting [2020-06-11T22:53:30.418Z] 444b2fc9a129: Waiting [2020-06-11T22:53:30.418Z] 2cc5ad85d9ab: Download complete [2020-06-11T22:53:30.418Z] 444b2fc9a129: Verifying Checksum [2020-06-11T22:53:30.418Z] 444b2fc9a129: Download complete [2020-06-11T22:53:30.418Z] c9b1b535fdd9: Verifying Checksum [2020-06-11T22:53:30.418Z] ea15f1150254: Verifying Checksum [2020-06-11T22:53:30.418Z] ea15f1150254: Download complete [2020-06-11T22:53:30.418Z] 28c525ee5125: Verifying Checksum [2020-06-11T22:53:30.418Z] 28c525ee5125: Download complete [2020-06-11T22:53:30.686Z] 756a868c4378: Verifying Checksum [2020-06-11T22:53:30.686Z] 756a868c4378: Download complete [2020-06-11T22:53:30.951Z] c9b1b535fdd9: Pull complete [2020-06-11T22:53:30.951Z] 138eaada9080: Verifying Checksum [2020-06-11T22:53:30.951Z] 138eaada9080: Download complete [2020-06-11T22:53:30.951Z] 094b1ea09ed8: Verifying Checksum [2020-06-11T22:53:30.951Z] 094b1ea09ed8: Download complete [2020-06-11T22:53:30.951Z] 0622d0fa9048: Verifying Checksum [2020-06-11T22:53:30.951Z] 0622d0fa9048: Download complete [2020-06-11T22:53:31.214Z] 2cc5ad85d9ab: Pull complete [2020-06-11T22:53:31.214Z] 41b27a9f41bf: Verifying Checksum [2020-06-11T22:53:31.214Z] 41b27a9f41bf: Download complete [2020-06-11T22:53:32.602Z] 756a868c4378: Pull complete [2020-06-11T22:53:32.602Z] 444b2fc9a129: Pull complete [2020-06-11T22:53:32.865Z] ea15f1150254: Pull complete [2020-06-11T22:53:37.085Z] 41b27a9f41bf: Pull complete [2020-06-11T22:53:37.085Z] 28c525ee5125: Pull complete [2020-06-11T22:53:39.643Z] 094b1ea09ed8: Pull complete [2020-06-11T22:53:39.904Z] 138eaada9080: Pull complete [2020-06-11T22:53:40.165Z] 0622d0fa9048: Pull complete [2020-06-11T22:53:40.165Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-11T22:53:40.165Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-11T22:53:40.165Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-11T22:53:40.323Z] prd-centos7-docker-4c-2g-2652 does not seem to be running inside a container [2020-06-11T22:53:40.363Z] $ 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-113 -v /w/workspace/foundry_device-virtual-go_PR-113:/w/workspace/foundry_device-virtual-go_PR-113:rw,z -v /w/workspace/foundry_device-virtual-go_PR-113@tmp:/w/workspace/foundry_device-virtual-go_PR-113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-11T22:53:43.769Z] $ docker top 107052d43eb1d6b1dcacad883301c0f9e5e53fc84f39852ef431cf92ef83a07e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-11T22:53:43.995Z] provisioning config files... [2020-06-11T22:53:44.011Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-113@tmp/config2411214751395519091tmp [Pipeline] { [Pipeline] echo [2020-06-11T22:53:44.075Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T22:53:44.403Z] ---> create-netrc.sh [Pipeline] echo [2020-06-11T22:53:44.428Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T22:53:44.740Z] ---> logs-deploy.sh [2020-06-11T22:53:44.740Z] + ARCHIVE_ARTIFACTS= [2020-06-11T22:53:44.740Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-11T22:53:44.740Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-11T22:53:44.740Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-11T22:53:44.740Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-113/1 [2020-06-11T22:53:44.740Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-113/1/ [2020-06-11T22:53:44.740Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-113/1 /w/workspace/foundry_device-virtual-go_PR-113 [2020-06-11T22:53:45.684Z] Archives upload complete. [2020-06-11T22:53:45.945Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-113/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-113/1/