Pull request #102 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-virtual-go Obtained Jenkinsfile from ce810a4efc1ce06064667d5d276fd1322ddfbc85+ad6ffe2e39edb285e4eeee4f80e60975285ca78d (91bcf54aa4390882c2b4f677f4fbb5566fe9bda3) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-102/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6250 in /w/workspace/foundry_device-virtual-go_PR-102 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-102 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/102/head:refs/remotes/origin/PR-102 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit ad6ffe2e39edb285e4eeee4f80e60975285ca78d into PR head commit ce810a4efc1ce06064667d5d276fd1322ddfbc85 Merge succeeded, producing ce810a4efc1ce06064667d5d276fd1322ddfbc85 Checking out Revision ce810a4efc1ce06064667d5d276fd1322ddfbc85 (PR-102) > git config core.sparsecheckout # timeout=10 > git checkout -f ce810a4efc1ce06064667d5d276fd1322ddfbc85 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ad6ffe2e39edb285e4eeee4f80e60975285ca78d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce810a4efc1ce06064667d5d276fd1322ddfbc85 # timeout=10 Commit message: "Fix potential data race" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-27T08:11:56.110Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-27T08:11:56.430Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-27T08:11:56.619Z] ========================================================= [2020-04-27T08:11:56.619Z] EdgeX Global Pipelines Version Info [2020-04-27T08:11:56.619Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-27T08:11:58.298Z] ------------------- [2020-04-27T08:11:58.298Z] stable info: [2020-04-27T08:11:58.298Z] ------------------- [2020-04-27T08:11:58.298Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-27T08:11:58.298Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-27T08:11:58.298Z] Message: update stable to v1.0.73 [2020-04-27T08:11:58.894Z] ------------------- [2020-04-27T08:11:58.894Z] experimental info: [2020-04-27T08:11:58.894Z] ------------------- [2020-04-27T08:11:58.894Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-04-27T08:11:58.894Z] Commit SHA: e9f46a538d08225106cc4f35d30277fc6c232516 [2020-04-27T08:11:58.894Z] Message: update experimental to v1.0.84 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-27T08:12:01.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-27T08:12:01.984Z] [2020-04-27T08:12:01.984Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-27T08:12:02.855Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-27T08:12:03.143Z] latest: Pulling from edgex-devops/git-semver [2020-04-27T08:12:03.143Z] 9123ac7c32f7: Pulling fs layer [2020-04-27T08:12:03.143Z] b8cc5d1170e3: Pulling fs layer [2020-04-27T08:12:03.143Z] 2924cbbf6a41: Pulling fs layer [2020-04-27T08:12:03.143Z] 93b08a4f1073: Pulling fs layer [2020-04-27T08:12:03.143Z] b8cc5d1170e3: Verifying Checksum [2020-04-27T08:12:03.143Z] b8cc5d1170e3: Download complete [2020-04-27T08:12:03.842Z] 9123ac7c32f7: Verifying Checksum [2020-04-27T08:12:03.842Z] 9123ac7c32f7: Download complete [2020-04-27T08:12:03.842Z] 93b08a4f1073: Verifying Checksum [2020-04-27T08:12:03.842Z] 93b08a4f1073: Download complete [2020-04-27T08:12:04.180Z] 9123ac7c32f7: Pull complete [2020-04-27T08:12:04.180Z] 2924cbbf6a41: Verifying Checksum [2020-04-27T08:12:04.180Z] 2924cbbf6a41: Download complete [2020-04-27T08:12:04.180Z] b8cc5d1170e3: Pull complete [2020-04-27T08:12:06.223Z] 2924cbbf6a41: Pull complete [2020-04-27T08:12:06.519Z] 93b08a4f1073: Pull complete [2020-04-27T08:12:06.519Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-27T08:12:06.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-27T08:12:06.751Z] prd-centos7-docker-4c-2g-6250 does not seem to be running inside a container [2020-04-27T08:12:07.032Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-102 -v /w/workspace/foundry_device-virtual-go_PR-102:/w/workspace/foundry_device-virtual-go_PR-102:rw,z -v /w/workspace/foundry_device-virtual-go_PR-102@tmp:/w/workspace/foundry_device-virtual-go_PR-102@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-27T08:12:07.922Z] $ docker top 2b3e856adb363802d25a4c4adedf34a949b98f18ba9d34d0e55d1d4580875ee9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-27T08:12:08.419Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-27T08:12:08.419Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-27T08:12:08.701Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-27T08:12:08.705Z] $ docker exec 2b3e856adb363802d25a4c4adedf34a949b98f18ba9d34d0e55d1d4580875ee9 ssh-agent [2020-04-27T08:12:08.952Z] SSH_AUTH_SOCK=/tmp/ssh-5Cbz5hBW993L/agent.14 [2020-04-27T08:12:08.952Z] SSH_AGENT_PID=20 [2020-04-27T08:12:08.965Z] Running ssh-add (command line suppressed) [2020-04-27T08:12:09.177Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-102@tmp/private_key_7714093559532513895.key (/w/workspace/foundry_device-virtual-go_PR-102@tmp/private_key_7714093559532513895.key) [2020-04-27T08:12:09.281Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-27T08:12:10.375Z] + git describe --exact-match --tags HEAD [2020-04-27T08:12:10.375Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-27T08:12:10.532Z] $ docker exec --env ******** --env ******** 2b3e856adb363802d25a4c4adedf34a949b98f18ba9d34d0e55d1d4580875ee9 ssh-agent -k [2020-04-27T08:12:10.866Z] unset SSH_AUTH_SOCK; [2020-04-27T08:12:10.866Z] unset SSH_AGENT_PID; [2020-04-27T08:12:10.867Z] echo Agent pid 20 killed; [2020-04-27T08:12:10.935Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-27T08:12:11.070Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-27T08:12:11.070Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-27T08:12:11.211Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-27T08:12:11.211Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-27T08:12:11.647Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-27T08:12:11.653Z] $ docker exec 2b3e856adb363802d25a4c4adedf34a949b98f18ba9d34d0e55d1d4580875ee9 ssh-agent [2020-04-27T08:12:12.122Z] SSH_AUTH_SOCK=/tmp/ssh-m9cqCcqXS7kN/agent.55 [2020-04-27T08:12:12.122Z] SSH_AGENT_PID=62 [2020-04-27T08:12:12.178Z] Running ssh-add (command line suppressed) [2020-04-27T08:12:12.466Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-102@tmp/private_key_3655413494515619966.key (/w/workspace/foundry_device-virtual-go_PR-102@tmp/private_key_3655413494515619966.key) [2020-04-27T08:12:12.555Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-27T08:12:13.362Z] + git semver init [2020-04-27T08:12:13.362Z] # -> Open(): unable to determine branch for HEAD [2020-04-27T08:12:13.362Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-102/.git [2020-04-27T08:12:13.362Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-102 [2020-04-27T08:12:13.362Z] # $SEMVER_REMOTE_NAME = origin [2020-04-27T08:12:13.362Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-27T08:12:13.362Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-27T08:12:13.362Z] # $SEMVER_BRANCH = PR-102 [2020-04-27T08:12:13.362Z] # $SEMVER_TEMP = /tmp/semver-061102198 [2020-04-27T08:12:13.362Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-04-27T08:12:13.945Z] # '/tmp/semver-061102198' -> '/w/workspace/foundry_device-virtual-go_PR-102/.semver' [2020-04-27T08:12:13.945Z] # -> Force: false [2020-04-27T08:12:13.945Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-102/.semver [Pipeline] } [2020-04-27T08:12:13.976Z] $ docker exec --env ******** --env ******** 2b3e856adb363802d25a4c4adedf34a949b98f18ba9d34d0e55d1d4580875ee9 ssh-agent -k [2020-04-27T08:12:14.383Z] unset SSH_AUTH_SOCK; [2020-04-27T08:12:14.385Z] unset SSH_AGENT_PID; [2020-04-27T08:12:14.385Z] echo Agent pid 62 killed; [2020-04-27T08:12:14.460Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-27T08:12:15.391Z] + git semver [Pipeline] } [2020-04-27T08:12:15.444Z] $ docker stop --time=1 2b3e856adb363802d25a4c4adedf34a949b98f18ba9d34d0e55d1d4580875ee9 [2020-04-27T08:12:17.099Z] $ docker rm -f 2b3e856adb363802d25a4c4adedf34a949b98f18ba9d34d0e55d1d4580875ee9 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-27T08:12:18.789Z] Stashed 26 file(s) [Pipeline] echo [2020-04-27T08:12:18.829Z] [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-04-27T08:12:34.611Z] Still waiting to schedule task [2020-04-27T08:12:34.611Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-27T08:12:34.666Z] Still waiting to schedule task [2020-04-27T08:12:34.666Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-6248’ is offline [2020-04-27T08:14:23.500Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6251 in /w/workspace/foundry_device-virtual-go_PR-102 [Pipeline] { [Pipeline] ws [2020-04-27T08:14:23.927Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-04-27T08:14:29.522Z] using credential edgex-jenkins-ssh [2020-04-27T08:14:29.572Z] Cloning the remote Git repository [2020-04-27T08:14:29.572Z] Cloning with configured refspecs honoured and without tags [2020-04-27T08:14:29.613Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-04-27T08:14:29.692Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-04-27T08:14:29.768Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-04-27T08:14:29.769Z] > git --version # timeout=10 [2020-04-27T08:14:29.792Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T08:14:29.866Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T08:14:30.635Z] Fetching without tags [2020-04-27T08:14:31.123Z] Merging remotes/origin/master commit ad6ffe2e39edb285e4eeee4f80e60975285ca78d into PR head commit ce810a4efc1ce06064667d5d276fd1322ddfbc85 [2020-04-27T08:14:31.379Z] Merge succeeded, producing ce810a4efc1ce06064667d5d276fd1322ddfbc85 [2020-04-27T08:14:31.379Z] Checking out Revision ce810a4efc1ce06064667d5d276fd1322ddfbc85 (PR-102) [2020-04-27T08:14:30.505Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-04-27T08:14:30.519Z] > git config --add remote.origin.fetch +refs/pull/102/head:refs/remotes/origin/PR-102 # timeout=10 [2020-04-27T08:14:30.543Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T08:14:30.588Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-04-27T08:14:30.625Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-04-27T08:14:30.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T08:14:30.639Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T08:14:31.122Z] > git config core.sparsecheckout # timeout=10 [2020-04-27T08:14:31.154Z] > git checkout -f ce810a4efc1ce06064667d5d276fd1322ddfbc85 # timeout=10 [2020-04-27T08:14:31.246Z] > git remote # timeout=10 [2020-04-27T08:14:31.267Z] > git config --get remote.origin.url # timeout=10 [2020-04-27T08:14:31.296Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T08:14:31.306Z] > git merge ad6ffe2e39edb285e4eeee4f80e60975285ca78d # timeout=10 [2020-04-27T08:14:31.327Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-27T08:14:31.410Z] > git config core.sparsecheckout # timeout=10 [2020-04-27T08:14:31.466Z] > git checkout -f ce810a4efc1ce06064667d5d276fd1322ddfbc85 # timeout=10 [2020-04-27T08:14:35.885Z] Commit message: "Fix potential data race" [2020-04-27T08:14:35.927Z] > git --version # timeout=10 [2020-04-27T08:14:35.945Z] fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-27T08:14:37.702Z] ========================================================= [2020-04-27T08:14:37.702Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-27T08:14:37.702Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-27T08:14:38.736Z] + 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-04-27T08:14:39.706Z] Sending build context to Docker daemon 500.2kB [2020-04-27T08:14:39.706Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-27T08:14:39.706Z] Step 2/8 : FROM ${BASE} [2020-04-27T08:14:39.977Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-27T08:14:39.977Z] cde5963f3b93: Pulling fs layer [2020-04-27T08:14:39.977Z] 2a23fa8c16f7: Pulling fs layer [2020-04-27T08:14:39.977Z] 777b28850792: Pulling fs layer [2020-04-27T08:14:39.977Z] 8a11ddd9e578: Pulling fs layer [2020-04-27T08:14:39.977Z] 4cf88f913ddb: Pulling fs layer [2020-04-27T08:14:39.977Z] 1df406cf5192: Pulling fs layer [2020-04-27T08:14:39.977Z] cd6300453558: Pulling fs layer [2020-04-27T08:14:39.977Z] b9c365052c96: Pulling fs layer [2020-04-27T08:14:39.977Z] a2d8cc88f415: Pulling fs layer [2020-04-27T08:14:39.977Z] ea1d1ca13537: Pulling fs layer [2020-04-27T08:14:39.977Z] 3750a50a1c5e: Pulling fs layer [2020-04-27T08:14:39.977Z] 8a11ddd9e578: Waiting [2020-04-27T08:14:39.977Z] 4cf88f913ddb: Waiting [2020-04-27T08:14:39.977Z] 1df406cf5192: Waiting [2020-04-27T08:14:39.977Z] cd6300453558: Waiting [2020-04-27T08:14:39.977Z] b9c365052c96: Waiting [2020-04-27T08:14:39.977Z] a2d8cc88f415: Waiting [2020-04-27T08:14:39.977Z] ea1d1ca13537: Waiting [2020-04-27T08:14:39.977Z] 3750a50a1c5e: Waiting [2020-04-27T08:14:39.977Z] 777b28850792: Verifying Checksum [2020-04-27T08:14:39.977Z] 777b28850792: Download complete [2020-04-27T08:14:39.977Z] 2a23fa8c16f7: Verifying Checksum [2020-04-27T08:14:39.977Z] 2a23fa8c16f7: Download complete [2020-04-27T08:14:39.977Z] 4cf88f913ddb: Verifying Checksum [2020-04-27T08:14:39.977Z] 4cf88f913ddb: Download complete [2020-04-27T08:14:39.977Z] 1df406cf5192: Download complete [2020-04-27T08:14:40.259Z] cde5963f3b93: Verifying Checksum [2020-04-27T08:14:40.259Z] cde5963f3b93: Download complete [2020-04-27T08:14:41.248Z] cde5963f3b93: Pull complete [2020-04-27T08:14:41.837Z] 2a23fa8c16f7: Pull complete [2020-04-27T08:14:41.837Z] 777b28850792: Pull complete [2020-04-27T08:14:44.431Z] cd6300453558: Verifying Checksum [2020-04-27T08:14:44.431Z] cd6300453558: Download complete [2020-04-27T08:14:44.431Z] a2d8cc88f415: Download complete [2020-04-27T08:14:47.036Z] ea1d1ca13537: Verifying Checksum [2020-04-27T08:14:47.036Z] ea1d1ca13537: Download complete [2020-04-27T08:14:47.036Z] 3750a50a1c5e: Download complete [2020-04-27T08:14:49.619Z] b9c365052c96: Verifying Checksum [2020-04-27T08:14:49.619Z] b9c365052c96: Download complete [2020-04-27T08:14:51.023Z] 8a11ddd9e578: Verifying Checksum [2020-04-27T08:14:51.023Z] 8a11ddd9e578: Download complete [2020-04-27T08:14:54.376Z] Running on prd-centos7-docker-4c-2g-6252 in /w/workspace/foundry_device-virtual-go_PR-102 [Pipeline] { [Pipeline] ws [2020-04-27T08:14:54.441Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-04-27T08:15:01.861Z] using credential edgex-jenkins-ssh [2020-04-27T08:15:01.918Z] Cloning the remote Git repository [2020-04-27T08:15:01.918Z] Cloning with configured refspecs honoured and without tags [2020-04-27T08:15:02.094Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-04-27T08:15:02.170Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-04-27T08:15:02.322Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-04-27T08:15:02.324Z] > git --version # timeout=10 [2020-04-27T08:15:02.353Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T08:15:02.442Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T08:15:03.603Z] 8a11ddd9e578: Pull complete [2020-04-27T08:15:03.603Z] 4cf88f913ddb: Pull complete [2020-04-27T08:15:03.603Z] 1df406cf5192: Pull complete [2020-04-27T08:15:04.676Z] Fetching without tags [2020-04-27T08:15:05.222Z] Merging remotes/origin/master commit ad6ffe2e39edb285e4eeee4f80e60975285ca78d into PR head commit ce810a4efc1ce06064667d5d276fd1322ddfbc85 [2020-04-27T08:15:04.466Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-04-27T08:15:04.531Z] > git config --add remote.origin.fetch +refs/pull/102/head:refs/remotes/origin/PR-102 # timeout=10 [2020-04-27T08:15:04.570Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T08:15:04.626Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-04-27T08:15:04.686Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-04-27T08:15:04.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T08:15:04.702Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-27T08:15:05.238Z] > git config core.sparsecheckout # timeout=10 [2020-04-27T08:15:05.292Z] > git checkout -f ce810a4efc1ce06064667d5d276fd1322ddfbc85 # timeout=10 [2020-04-27T08:15:05.514Z] > git remote # timeout=10 [2020-04-27T08:15:05.534Z] > git config --get remote.origin.url # timeout=10 [2020-04-27T08:15:05.562Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-27T08:15:05.568Z] > git merge ad6ffe2e39edb285e4eeee4f80e60975285ca78d # timeout=10 [2020-04-27T08:15:05.759Z] Merge succeeded, producing ce810a4efc1ce06064667d5d276fd1322ddfbc85 [2020-04-27T08:15:05.760Z] Checking out Revision ce810a4efc1ce06064667d5d276fd1322ddfbc85 (PR-102) [2020-04-27T08:15:05.690Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-27T08:15:05.772Z] > git config core.sparsecheckout # timeout=10 [2020-04-27T08:15:05.817Z] > git checkout -f ce810a4efc1ce06064667d5d276fd1322ddfbc85 # timeout=10 [2020-04-27T08:15:07.893Z] cd6300453558: Pull complete [2020-04-27T08:15:10.323Z] Commit message: "Fix potential data race" [2020-04-27T08:15:10.355Z] > git --version # timeout=10 [2020-04-27T08:15:10.393Z] fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-27T08:15:11.367Z] ========================================================= [2020-04-27T08:15:11.367Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-27T08:15:11.367Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-27T08:15:12.157Z] b9c365052c96: Pull complete [2020-04-27T08:15:12.429Z] a2d8cc88f415: Pull complete [2020-04-27T08:15:13.218Z] + 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-04-27T08:15:14.378Z] Sending build context to Docker daemon 500.2kB [2020-04-27T08:15:14.378Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-27T08:15:14.378Z] Step 2/8 : FROM ${BASE} [2020-04-27T08:15:14.378Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-27T08:15:14.378Z] e6b0cf9c0882: Pulling fs layer [2020-04-27T08:15:14.378Z] 2848faf0eed1: Pulling fs layer [2020-04-27T08:15:14.378Z] 0f37312ad70f: Pulling fs layer [2020-04-27T08:15:14.378Z] 5788d62ee057: Pulling fs layer [2020-04-27T08:15:14.378Z] 0e6b1d234666: Pulling fs layer [2020-04-27T08:15:14.378Z] bf5d7aec512f: Pulling fs layer [2020-04-27T08:15:14.378Z] 34c802a77dc8: Pulling fs layer [2020-04-27T08:15:14.378Z] 9eb99e56ec68: Pulling fs layer [2020-04-27T08:15:14.378Z] 27c7a5d97fbd: Pulling fs layer [2020-04-27T08:15:14.378Z] 5c102a31e300: Pulling fs layer [2020-04-27T08:15:14.378Z] dcfb455df0a1: Pulling fs layer [2020-04-27T08:15:14.378Z] 5788d62ee057: Waiting [2020-04-27T08:15:14.378Z] bf5d7aec512f: Waiting [2020-04-27T08:15:14.378Z] 0e6b1d234666: Waiting [2020-04-27T08:15:14.378Z] 34c802a77dc8: Waiting [2020-04-27T08:15:14.378Z] 9eb99e56ec68: Waiting [2020-04-27T08:15:14.378Z] 27c7a5d97fbd: Waiting [2020-04-27T08:15:14.378Z] 5c102a31e300: Waiting [2020-04-27T08:15:14.378Z] 0f37312ad70f: Verifying Checksum [2020-04-27T08:15:14.378Z] 0f37312ad70f: Download complete [2020-04-27T08:15:14.378Z] 2848faf0eed1: Download complete [2020-04-27T08:15:14.843Z] 0e6b1d234666: Verifying Checksum [2020-04-27T08:15:14.843Z] 0e6b1d234666: Download complete [2020-04-27T08:15:14.843Z] bf5d7aec512f: Verifying Checksum [2020-04-27T08:15:14.843Z] bf5d7aec512f: Download complete [2020-04-27T08:15:15.023Z] ea1d1ca13537: Pull complete [2020-04-27T08:15:15.236Z] e6b0cf9c0882: Verifying Checksum [2020-04-27T08:15:15.236Z] e6b0cf9c0882: Download complete [2020-04-27T08:15:15.302Z] 3750a50a1c5e: Pull complete [2020-04-27T08:15:15.302Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-27T08:15:15.302Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-27T08:15:15.302Z] ---> 78745c68409d [2020-04-27T08:15:15.302Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-27T08:15:15.600Z] e6b0cf9c0882: Pull complete [2020-04-27T08:15:16.365Z] 2848faf0eed1: Pull complete [2020-04-27T08:15:16.847Z] 0f37312ad70f: Pull complete [2020-04-27T08:15:18.599Z] 34c802a77dc8: Verifying Checksum [2020-04-27T08:15:18.599Z] 34c802a77dc8: Download complete [2020-04-27T08:15:18.599Z] 27c7a5d97fbd: Verifying Checksum [2020-04-27T08:15:18.599Z] 27c7a5d97fbd: Download complete [2020-04-27T08:15:19.568Z] ---> Running in 080615fb38db [2020-04-27T08:15:19.842Z] Removing intermediate container 080615fb38db [2020-04-27T08:15:19.842Z] ---> 2d7887f68ba0 [2020-04-27T08:15:19.842Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-27T08:15:19.842Z] ---> Running in 4e5dec796407 [2020-04-27T08:15:21.151Z] 5788d62ee057: Verifying Checksum [2020-04-27T08:15:21.151Z] 5788d62ee057: Download complete [2020-04-27T08:15:21.151Z] dcfb455df0a1: Verifying Checksum [2020-04-27T08:15:21.151Z] dcfb455df0a1: Download complete [2020-04-27T08:15:21.449Z] 9eb99e56ec68: Verifying Checksum [2020-04-27T08:15:21.449Z] 9eb99e56ec68: Download complete [2020-04-27T08:15:21.449Z] 5c102a31e300: Verifying Checksum [2020-04-27T08:15:21.449Z] 5c102a31e300: Download complete [2020-04-27T08:15:21.796Z] Removing intermediate container 4e5dec796407 [2020-04-27T08:15:21.796Z] ---> 16bd1cb2c791 [2020-04-27T08:15:21.796Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-27T08:15:22.064Z] ---> Running in c847e4057818 [2020-04-27T08:15:23.027Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-27T08:15:23.612Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-27T08:15:24.573Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-27T08:15:24.573Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-27T08:15:24.840Z] (3/18) Installing libmagic (5.37-r1) [2020-04-27T08:15:24.840Z] (4/18) Installing file (5.37-r1) [2020-04-27T08:15:25.106Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-27T08:15:25.106Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-27T08:15:25.106Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-27T08:15:28.453Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-27T08:15:28.453Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-27T08:15:30.403Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-27T08:15:30.403Z] (11/18) Installing build-base (0.5-r1) [2020-04-27T08:15:30.403Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-27T08:15:30.403Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-27T08:15:30.672Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-04-27T08:15:30.672Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-27T08:15:30.940Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-27T08:15:30.940Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-04-27T08:15:30.940Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-27T08:15:31.208Z] Executing busybox-1.31.1-r8.trigger [2020-04-27T08:15:31.208Z] OK: 203 MiB in 52 packages [2020-04-27T08:15:33.908Z] 5788d62ee057: Pull complete [2020-04-27T08:15:33.908Z] 0e6b1d234666: Pull complete [2020-04-27T08:15:33.908Z] bf5d7aec512f: Pull complete [2020-04-27T08:15:37.886Z] Removing intermediate container c847e4057818 [2020-04-27T08:15:37.886Z] ---> 109907be2570 [2020-04-27T08:15:37.886Z] Step 6/8 : WORKDIR /device-virtual-go [2020-04-27T08:15:38.155Z] ---> Running in 88b40a1b20e3 [2020-04-27T08:15:38.424Z] Removing intermediate container 88b40a1b20e3 [2020-04-27T08:15:38.424Z] ---> 1dc72fcee608 [2020-04-27T08:15:38.424Z] Step 7/8 : COPY . . [2020-04-27T08:15:39.379Z] 34c802a77dc8: Pull complete [2020-04-27T08:15:39.387Z] ---> 3fb5963c702d [2020-04-27T08:15:39.387Z] Step 8/8 : RUN go mod download [2020-04-27T08:15:39.387Z] ---> Running in d9dbafe541b1 [2020-04-27T08:15:42.736Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-27T08:15:42.736Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-27T08:15:42.736Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-27T08:15:42.736Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-27T08:15:42.736Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-27T08:15:42.736Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-27T08:15:42.736Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-27T08:15:43.004Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-27T08:15:43.004Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.35 [2020-04-27T08:15:43.004Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-27T08:15:43.004Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-27T08:15:43.004Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-27T08:15:43.004Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-27T08:15:43.271Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-27T08:15:43.271Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-04-27T08:15:43.271Z] go: finding github.com/fatih/color v1.7.0 [2020-04-27T08:15:43.271Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-27T08:15:43.271Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-27T08:15:43.271Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-27T08:15:43.271Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-27T08:15:43.540Z] go: finding github.com/golang/snappy v0.0.1 [2020-04-27T08:15:43.540Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-27T08:15:43.540Z] go: finding github.com/google/uuid v1.1.0 [2020-04-27T08:15:43.540Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-27T08:15:43.540Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-27T08:15:43.540Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-27T08:15:43.540Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-27T08:15:43.540Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-27T08:15:43.808Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-27T08:15:43.808Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-27T08:15:43.808Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-27T08:15:43.808Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-27T08:15:43.808Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-27T08:15:43.808Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-27T08:15:43.838Z] 9eb99e56ec68: Pull complete [2020-04-27T08:15:43.838Z] 27c7a5d97fbd: Pull complete [2020-04-27T08:15:44.074Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-27T08:15:44.074Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-27T08:15:44.074Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-27T08:15:44.074Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-27T08:15:44.074Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-27T08:15:44.074Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-27T08:15:44.074Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-27T08:15:44.340Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-27T08:15:44.340Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-27T08:15:44.340Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-27T08:15:44.340Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-27T08:15:44.340Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-27T08:15:44.340Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-27T08:15:44.606Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-27T08:15:44.606Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-27T08:15:44.606Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-27T08:15:44.606Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-27T08:15:44.606Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-27T08:15:44.606Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-27T08:15:44.606Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-27T08:15:44.872Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-27T08:15:44.872Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-27T08:15:44.872Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-27T08:15:44.872Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-27T08:15:44.872Z] go: finding github.com/posener/complete v1.1.1 [2020-04-27T08:15:44.872Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-04-27T08:15:44.872Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-27T08:15:45.139Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-27T08:15:45.139Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-27T08:15:45.139Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-27T08:15:45.139Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-27T08:15:45.139Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-27T08:15:45.139Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-27T08:15:45.406Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-27T08:15:45.406Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-27T08:15:45.406Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-04-27T08:15:45.406Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-27T08:15:45.406Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-27T08:15:45.406Z] go: finding modernc.org/b v1.0.0 [2020-04-27T08:15:45.406Z] go: finding modernc.org/db v1.0.0 [2020-04-27T08:15:45.406Z] go: finding modernc.org/file v1.0.0 [2020-04-27T08:15:45.406Z] go: finding modernc.org/fileutil v1.0.0 [2020-04-27T08:15:45.406Z] go: finding modernc.org/golex v1.0.0 [2020-04-27T08:15:45.677Z] go: finding modernc.org/internal v1.0.0 [2020-04-27T08:15:45.677Z] go: finding modernc.org/lldb v1.0.0 [2020-04-27T08:15:45.677Z] go: finding modernc.org/mathutil v1.0.0 [2020-04-27T08:15:45.677Z] go: finding modernc.org/ql v1.0.0 [2020-04-27T08:15:45.677Z] go: finding modernc.org/sortutil v1.0.0 [2020-04-27T08:15:45.677Z] go: finding modernc.org/strutil v1.0.0 [2020-04-27T08:15:45.677Z] go: finding modernc.org/zappy v1.0.0 [2020-04-27T08:15:45.978Z] 5c102a31e300: Pull complete [2020-04-27T08:15:46.248Z] dcfb455df0a1: Pull complete [2020-04-27T08:15:46.248Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-27T08:15:46.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-27T08:15:46.248Z] ---> 7c70fe431013 [2020-04-27T08:15:46.248Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-27T08:15:46.248Z] ---> Running in d7a18cb3c2b4 [2020-04-27T08:15:46.519Z] Removing intermediate container d7a18cb3c2b4 [2020-04-27T08:15:46.519Z] ---> 19429ec68477 [2020-04-27T08:15:46.519Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-27T08:15:46.519Z] ---> Running in 1dbcf09e49ed [2020-04-27T08:15:48.544Z] Removing intermediate container 1dbcf09e49ed [2020-04-27T08:15:48.544Z] ---> 242cc1214d7c [2020-04-27T08:15:48.544Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-27T08:15:48.544Z] ---> Running in d1dbebbba8f4 [2020-04-27T08:15:49.517Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-27T08:15:50.503Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-27T08:15:50.503Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-27T08:15:50.772Z] (2/17) Installing libmagic (5.37-r1) [2020-04-27T08:15:50.772Z] (3/17) Installing file (5.37-r1) [2020-04-27T08:15:51.054Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-27T08:15:51.054Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-27T08:15:51.054Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-27T08:15:54.421Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-27T08:15:54.421Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-27T08:15:55.768Z] Removing intermediate container d9dbafe541b1 [2020-04-27T08:15:55.768Z] ---> 10bd9060783e [2020-04-27T08:15:55.768Z] Successfully built 10bd9060783e [2020-04-27T08:15:55.768Z] 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-04-27T08:15:56.621Z] + docker inspect -f . ci-base-image-arm64 [2020-04-27T08:15:56.887Z] . [Pipeline] withDockerContainer [2020-04-27T08:15:56.999Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-27T08:15:56.999Z] (10/17) Installing build-base (0.5-r1) [2020-04-27T08:15:56.999Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-27T08:15:56.999Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-27T08:15:57.242Z] prd-ubuntu18.04-docker-arm64-4c-16g-6251 does not seem to be running inside a container [2020-04-27T08:15:57.263Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-27T08:15:57.263Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-27T08:15:57.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-27T08:15:57.551Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-27T08:15:57.552Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-27T08:15:57.552Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-27T08:15:57.818Z] Executing busybox-1.31.1-r8.trigger [2020-04-27T08:15:57.818Z] OK: 214 MiB in 52 packages [2020-04-27T08:15:58.761Z] $ docker top a1697de7e63ab5bcc46148b76a593808cd1dd5ab3408ea877a547d0a1c0a68a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-27T08:15:59.927Z] + go version [2020-04-27T08:15:59.927Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-27T08:16:00.634Z] + make test [2020-04-27T08:16:00.634Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-27T08:16:02.054Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-04-27T08:16:03.343Z] Removing intermediate container d1dbebbba8f4 [2020-04-27T08:16:03.343Z] ---> c11c26821323 [2020-04-27T08:16:03.343Z] Step 6/8 : WORKDIR /device-virtual-go [2020-04-27T08:16:03.343Z] ---> Running in f517ddfa16e5 [2020-04-27T08:16:03.678Z] Removing intermediate container f517ddfa16e5 [2020-04-27T08:16:03.678Z] ---> ac4da40ada3e [2020-04-27T08:16:03.678Z] Step 7/8 : COPY . . [2020-04-27T08:16:04.308Z] ---> a586853c4a82 [2020-04-27T08:16:04.308Z] Step 8/8 : RUN go mod download [2020-04-27T08:16:04.308Z] ---> Running in 588868e501df [2020-04-27T08:16:08.806Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-27T08:16:08.806Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-27T08:16:08.806Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-27T08:16:08.806Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-27T08:16:08.806Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-27T08:16:08.806Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-27T08:16:08.806Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-27T08:16:08.806Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-27T08:16:08.806Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.35 [2020-04-27T08:16:08.806Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-27T08:16:08.806Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-27T08:16:08.806Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-27T08:16:08.806Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-27T08:16:08.806Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-27T08:16:08.806Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-04-27T08:16:08.806Z] go: finding github.com/fatih/color v1.7.0 [2020-04-27T08:16:08.806Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-27T08:16:08.806Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-27T08:16:08.806Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-27T08:16:08.806Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-27T08:16:08.806Z] go: finding github.com/golang/snappy v0.0.1 [2020-04-27T08:16:08.806Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-27T08:16:08.806Z] go: finding github.com/google/uuid v1.1.0 [2020-04-27T08:16:08.806Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-27T08:16:08.806Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-27T08:16:08.806Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-27T08:16:08.806Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-27T08:16:08.806Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-27T08:16:08.806Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-27T08:16:08.806Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-27T08:16:09.070Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-27T08:16:09.070Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-27T08:16:09.070Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-27T08:16:09.070Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-27T08:16:09.070Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-27T08:16:09.070Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-27T08:16:09.070Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-27T08:16:09.070Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-27T08:16:09.070Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-27T08:16:09.070Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-27T08:16:09.070Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-27T08:16:09.070Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-27T08:16:09.070Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-27T08:16:09.070Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-27T08:16:09.070Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-27T08:16:09.070Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-27T08:16:09.070Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-27T08:16:09.070Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-27T08:16:09.070Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-27T08:16:09.070Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-27T08:16:09.070Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-27T08:16:09.070Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-27T08:16:09.070Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-27T08:16:09.337Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-27T08:16:09.337Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-27T08:16:09.337Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-27T08:16:09.337Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-27T08:16:09.337Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-27T08:16:09.337Z] go: finding github.com/posener/complete v1.1.1 [2020-04-27T08:16:09.337Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-04-27T08:16:09.337Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-27T08:16:09.337Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-27T08:16:09.337Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-27T08:16:09.337Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-27T08:16:09.337Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-27T08:16:09.337Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-27T08:16:09.337Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-27T08:16:09.337Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-27T08:16:09.600Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-27T08:16:09.600Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-04-27T08:16:09.600Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-27T08:16:09.600Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-27T08:16:09.600Z] go: finding modernc.org/b v1.0.0 [2020-04-27T08:16:09.600Z] go: finding modernc.org/db v1.0.0 [2020-04-27T08:16:09.600Z] go: finding modernc.org/file v1.0.0 [2020-04-27T08:16:09.866Z] go: finding modernc.org/fileutil v1.0.0 [2020-04-27T08:16:09.866Z] go: finding modernc.org/golex v1.0.0 [2020-04-27T08:16:09.866Z] go: finding modernc.org/internal v1.0.0 [2020-04-27T08:16:09.866Z] go: finding modernc.org/lldb v1.0.0 [2020-04-27T08:16:09.866Z] go: finding modernc.org/mathutil v1.0.0 [2020-04-27T08:16:09.866Z] go: finding modernc.org/ql v1.0.0 [2020-04-27T08:16:10.132Z] go: finding modernc.org/sortutil v1.0.0 [2020-04-27T08:16:10.132Z] go: finding modernc.org/strutil v1.0.0 [2020-04-27T08:16:10.132Z] go: finding modernc.org/zappy v1.0.0 [2020-04-27T08:16:16.957Z] Removing intermediate container 588868e501df [2020-04-27T08:16:16.957Z] ---> 6522040fadae [2020-04-27T08:16:16.957Z] Successfully built 6522040fadae [2020-04-27T08:16:16.957Z] 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-04-27T08:16:17.860Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-27T08:16:18.180Z] . [Pipeline] withDockerContainer [2020-04-27T08:16:18.525Z] prd-centos7-docker-4c-2g-6252 does not seem to be running inside a container [2020-04-27T08:16:18.839Z] $ 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-04-27T08:16:19.924Z] $ docker top 964bb2d00283bdfadbc14b97d345fe39a4fcf13ad29ca25a7a2aa07ab85342ce -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-27T08:16:21.227Z] + go version [2020-04-27T08:16:21.227Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-27T08:16:21.936Z] + make test [2020-04-27T08:16:21.936Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-27T08:16:25.372Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-04-27T08:16:41.017Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-04-27T08:16:52.611Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-04-27T08:18:14.352Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 79.181s coverage: 52.7% of statements [2020-04-27T08:18:14.352Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-27T08:18:17.734Z] gofmt -l . [2020-04-27T08:18:17.734Z] [ "`gofmt -l .`" = "" ] [2020-04-27T08:18:17.734Z] ./bin/test-attribution-txt.sh [2020-04-27T08:18:18.320Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-27T08:18:19.499Z] Stashed 1 file(s) [Pipeline] } [2020-04-27T08:18:19.517Z] $ docker stop --time=1 964bb2d00283bdfadbc14b97d345fe39a4fcf13ad29ca25a7a2aa07ab85342ce [2020-04-27T08:18:21.387Z] $ docker rm -f 964bb2d00283bdfadbc14b97d345fe39a4fcf13ad29ca25a7a2aa07ab85342ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-27T08:18:23.239Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-27T08:18:23.825Z] + ls -al . [2020-04-27T08:18:23.825Z] total 112 [2020-04-27T08:18:23.825Z] drwxrwxr-x. 8 jenkins jenkins 4096 Apr 27 08:18 . [2020-04-27T08:18:23.825Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 27 08:15 .. [2020-04-27T08:18:23.825Z] -rw-rw-r--. 1 jenkins jenkins 6529 Apr 27 08:15 Attribution.txt [2020-04-27T08:18:23.825Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 27 08:15 bin [2020-04-27T08:18:23.825Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 27 08:15 cmd [2020-04-27T08:18:23.825Z] -rw-r--r--. 1 jenkins jenkins 32182 Apr 27 08:18 coverage.out [2020-04-27T08:18:23.825Z] -rw-rw-r--. 1 jenkins jenkins 1826 Apr 27 08:15 Dockerfile [2020-04-27T08:18:23.825Z] -rw-rw-r--. 1 jenkins jenkins 957 Apr 27 08:15 Dockerfile.build [2020-04-27T08:18:23.825Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 27 08:15 .git [2020-04-27T08:18:23.825Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 27 08:15 .github [2020-04-27T08:18:23.825Z] -rw-rw-r--. 1 jenkins jenkins 258 Apr 27 08:15 .gitignore [2020-04-27T08:18:23.825Z] -rw-r--r--. 1 jenkins jenkins 862 Apr 27 08:18 go.mod [2020-04-27T08:18:23.825Z] -rw-r--r--. 1 jenkins jenkins 14805 Apr 27 08:18 go.sum [2020-04-27T08:18:23.825Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 27 08:15 internal [2020-04-27T08:18:23.825Z] -rw-rw-r--. 1 jenkins jenkins 683 Apr 27 08:15 Jenkinsfile [2020-04-27T08:18:23.825Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 27 08:15 LICENSE [2020-04-27T08:18:23.825Z] -rw-rw-r--. 1 jenkins jenkins 873 Apr 27 08:15 Makefile [2020-04-27T08:18:23.825Z] -rw-rw-r--. 1 jenkins jenkins 4413 Apr 27 08:15 README.md [2020-04-27T08:18:23.825Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 27 08:15 .semver [2020-04-27T08:18:23.825Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 27 08:12 VERSION [2020-04-27T08:18:23.825Z] -rw-rw-r--. 1 jenkins jenkins 235 Apr 27 08:15 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-27T08:18:24.184Z] + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=ce810a4efc1ce06064667d5d276fd1322ddfbc85 --label arch=amd64 --label version=0.0.0 . [2020-04-27T08:18:24.769Z] Sending build context to Docker daemon 34.12MB [2020-04-27T08:18:24.769Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-27T08:18:24.769Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-27T08:18:24.769Z] ---> 6522040fadae [2020-04-27T08:18:24.769Z] Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-04-27T08:18:24.769Z] ---> Running in 483ae7ef431d [2020-04-27T08:18:25.033Z] Removing intermediate container 483ae7ef431d [2020-04-27T08:18:25.033Z] ---> 333a804f558b [2020-04-27T08:18:25.033Z] Step 4/21 : ARG ALPINE_PKG_EXTRA="" [2020-04-27T08:18:25.033Z] ---> Running in aae17d87313a [2020-04-27T08:18:25.293Z] Removing intermediate container aae17d87313a [2020-04-27T08:18:25.293Z] ---> 3ec8285077e0 [2020-04-27T08:18:25.293Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-04-27T08:18:25.293Z] ---> Running in 18c5174e847d [2020-04-27T08:18:25.554Z] Removing intermediate container 18c5174e847d [2020-04-27T08:18:25.554Z] ---> 8b0ddaae90c2 [2020-04-27T08:18:25.554Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-27T08:18:25.554Z] ---> Running in 67fa35606096 [2020-04-27T08:18:26.508Z] Removing intermediate container 67fa35606096 [2020-04-27T08:18:26.508Z] ---> da69174cf550 [2020-04-27T08:18:26.508Z] Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-27T08:18:26.775Z] ---> Running in 0f6e4e4bb32f [2020-04-27T08:18:27.377Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-27T08:18:28.319Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-27T08:18:28.582Z] OK: 214 MiB in 52 packages [2020-04-27T08:18:29.173Z] Removing intermediate container 0f6e4e4bb32f [2020-04-27T08:18:29.173Z] ---> c257540177bc [2020-04-27T08:18:29.173Z] Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-04-27T08:18:29.174Z] ---> Running in d2d157cbd155 [2020-04-27T08:18:29.440Z] Removing intermediate container d2d157cbd155 [2020-04-27T08:18:29.440Z] ---> 641fc01bad3e [2020-04-27T08:18:29.440Z] Step 9/21 : COPY . . [2020-04-27T08:18:30.896Z] ---> 199dec999acc [2020-04-27T08:18:30.896Z] Step 10/21 : ARG MAKE='make build' [2020-04-27T08:18:30.896Z] ---> Running in b79a8d3c4157 [2020-04-27T08:18:30.896Z] Removing intermediate container b79a8d3c4157 [2020-04-27T08:18:30.896Z] ---> b2900bad795c [2020-04-27T08:18:30.896Z] Step 11/21 : RUN $MAKE [2020-04-27T08:18:30.896Z] ---> Running in b8c873db5b0a [2020-04-27T08:18:31.497Z] 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-04-27T08:18:53.846Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-27T08:18:56.499Z] Removing intermediate container b8c873db5b0a [2020-04-27T08:18:56.499Z] ---> afb2599c0031 [2020-04-27T08:18:56.499Z] Step 12/21 : FROM alpine [2020-04-27T08:18:56.499Z] latest: Pulling from library/alpine [2020-04-27T08:18:56.499Z] cbdbe7a5bc2a: Pulling fs layer [2020-04-27T08:18:56.775Z] cbdbe7a5bc2a: Verifying Checksum [2020-04-27T08:18:56.775Z] cbdbe7a5bc2a: Download complete [2020-04-27T08:18:57.356Z] cbdbe7a5bc2a: Pull complete [2020-04-27T08:18:57.356Z] Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 [2020-04-27T08:18:57.356Z] Status: Downloaded newer image for alpine:latest [2020-04-27T08:18:57.356Z] ---> f70734b6a266 [2020-04-27T08:18:57.356Z] Step 13/21 : ENV APP_PORT=49990 [2020-04-27T08:18:57.356Z] ---> Running in 18bb84c89676 [2020-04-27T08:18:57.356Z] Removing intermediate container 18bb84c89676 [2020-04-27T08:18:57.356Z] ---> 853cba7263a6 [2020-04-27T08:18:57.356Z] Step 14/21 : EXPOSE $APP_PORT [2020-04-27T08:18:57.625Z] ---> Running in cf286397e942 [2020-04-27T08:18:57.625Z] Removing intermediate container cf286397e942 [2020-04-27T08:18:57.625Z] ---> d3ca35d693d1 [2020-04-27T08:18:57.625Z] Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-04-27T08:18:58.597Z] ---> 9ddd127916a5 [2020-04-27T08:18:58.597Z] Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-04-27T08:18:58.861Z] ---> 040d2904a0d4 [2020-04-27T08:18:58.861Z] Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-04-27T08:18:59.125Z] ---> 6f68810bc55d [2020-04-27T08:18:59.125Z] Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-27T08:18:59.125Z] ---> Running in f56c53210304 [2020-04-27T08:18:59.399Z] Removing intermediate container f56c53210304 [2020-04-27T08:18:59.399Z] ---> 84c277ca2b7b [2020-04-27T08:18:59.399Z] Step 19/21 : LABEL arch=amd64 [2020-04-27T08:18:59.399Z] ---> Running in bbc6bd5ae776 [2020-04-27T08:18:59.664Z] Removing intermediate container bbc6bd5ae776 [2020-04-27T08:18:59.664Z] ---> 6a871ca6b719 [2020-04-27T08:18:59.664Z] Step 20/21 : LABEL git_sha=ce810a4efc1ce06064667d5d276fd1322ddfbc85 [2020-04-27T08:18:59.664Z] ---> Running in ba745183e2ba [2020-04-27T08:18:59.939Z] Removing intermediate container ba745183e2ba [2020-04-27T08:18:59.939Z] ---> c6158b4d5504 [2020-04-27T08:18:59.939Z] Step 21/21 : LABEL version=0.0.0 [2020-04-27T08:18:59.939Z] ---> Running in 35dc6c1ee37f [2020-04-27T08:19:00.206Z] Removing intermediate container 35dc6c1ee37f [2020-04-27T08:19:00.206Z] ---> 959282b9e931 [2020-04-27T08:19:00.206Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-27T08:19:00.206Z] Successfully built 959282b9e931 [2020-04-27T08:19:00.206Z] 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-04-27T08:19:32.789Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 159.520s coverage: 52.7% of statements [2020-04-27T08:19:32.790Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-27T08:19:32.790Z] gofmt -l . [2020-04-27T08:19:32.790Z] [ "`gofmt -l .`" = "" ] [2020-04-27T08:19:32.790Z] ./bin/test-attribution-txt.sh [2020-04-27T08:19:32.790Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-27T08:19:32.824Z] Warning: overwriting stash ‘coverage-report’ [2020-04-27T08:19:33.197Z] Stashed 1 file(s) [Pipeline] } [2020-04-27T08:19:33.221Z] $ docker stop --time=1 a1697de7e63ab5bcc46148b76a593808cd1dd5ab3408ea877a547d0a1c0a68a6 [2020-04-27T08:19:35.334Z] $ docker rm -f a1697de7e63ab5bcc46148b76a593808cd1dd5ab3408ea877a547d0a1c0a68a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-27T08:19:36.767Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-27T08:19:37.106Z] + ls -al . [2020-04-27T08:19:37.106Z] total 140 [2020-04-27T08:19:37.106Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 08:19 . [2020-04-27T08:19:37.106Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 08:14 .. [2020-04-27T08:19:37.106Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 08:14 .git [2020-04-27T08:19:37.106Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 08:14 .github [2020-04-27T08:19:37.106Z] -rw-rw-r-- 1 jenkins jenkins 258 Apr 27 08:14 .gitignore [2020-04-27T08:19:37.106Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 08:14 .semver [2020-04-27T08:19:37.106Z] -rw-rw-r-- 1 jenkins jenkins 6529 Apr 27 08:14 Attribution.txt [2020-04-27T08:19:37.106Z] -rw-rw-r-- 1 jenkins jenkins 1826 Apr 27 08:14 Dockerfile [2020-04-27T08:19:37.106Z] -rw-rw-r-- 1 jenkins jenkins 957 Apr 27 08:14 Dockerfile.build [2020-04-27T08:19:37.106Z] -rw-rw-r-- 1 jenkins jenkins 683 Apr 27 08:14 Jenkinsfile [2020-04-27T08:19:37.106Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 08:14 LICENSE [2020-04-27T08:19:37.106Z] -rw-rw-r-- 1 jenkins jenkins 873 Apr 27 08:14 Makefile [2020-04-27T08:19:37.106Z] -rw-rw-r-- 1 jenkins jenkins 4413 Apr 27 08:14 README.md [2020-04-27T08:19:37.106Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 08:12 VERSION [2020-04-27T08:19:37.106Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 08:14 bin [2020-04-27T08:19:37.106Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 08:14 cmd [2020-04-27T08:19:37.106Z] -rw-r--r-- 1 jenkins jenkins 32182 Apr 27 08:19 coverage.out [2020-04-27T08:19:37.106Z] -rw-r--r-- 1 jenkins jenkins 862 Apr 27 08:19 go.mod [2020-04-27T08:19:37.106Z] -rw-r--r-- 1 jenkins jenkins 14805 Apr 27 08:19 go.sum [2020-04-27T08:19:37.106Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 08:14 internal [2020-04-27T08:19:37.106Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 27 08:14 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-27T08:19:37.459Z] + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ce810a4efc1ce06064667d5d276fd1322ddfbc85 --label arch=arm64 --label version=0.0.0 . [2020-04-27T08:19:38.052Z] Sending build context to Docker daemon 34.12MB [2020-04-27T08:19:38.052Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-27T08:19:38.052Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-27T08:19:38.052Z] ---> 10bd9060783e [2020-04-27T08:19:38.052Z] Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-04-27T08:19:38.637Z] ---> Running in b1381d7c96ab [2020-04-27T08:19:39.053Z] Removing intermediate container b1381d7c96ab [2020-04-27T08:19:39.053Z] ---> 6a143e0c1cb5 [2020-04-27T08:19:39.053Z] Step 4/21 : ARG ALPINE_PKG_EXTRA="" [2020-04-27T08:19:39.053Z] ---> Running in f559e0f35f2d [2020-04-27T08:19:39.356Z] Removing intermediate container f559e0f35f2d [2020-04-27T08:19:39.356Z] ---> 66d769cbffb5 [2020-04-27T08:19:39.356Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-04-27T08:19:39.633Z] ---> Running in b15abd67413f [2020-04-27T08:19:39.913Z] Removing intermediate container b15abd67413f [2020-04-27T08:19:39.913Z] ---> 44d8a1aeba0e [2020-04-27T08:19:39.913Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-27T08:19:40.183Z] ---> Running in 6df7fabff2e0 [2020-04-27T08:19:42.161Z] Removing intermediate container 6df7fabff2e0 [2020-04-27T08:19:42.161Z] ---> 6222b5c01d95 [2020-04-27T08:19:42.161Z] Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-27T08:19:42.161Z] ---> Running in d92ae1e31866 [2020-04-27T08:19:43.127Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-27T08:19:43.720Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-27T08:19:44.305Z] OK: 203 MiB in 52 packages [2020-04-27T08:19:45.267Z] Removing intermediate container d92ae1e31866 [2020-04-27T08:19:45.267Z] ---> b7875ba586b0 [2020-04-27T08:19:45.267Z] Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-04-27T08:19:45.533Z] ---> Running in 693c7ea54e31 [2020-04-27T08:19:45.801Z] Removing intermediate container 693c7ea54e31 [2020-04-27T08:19:45.801Z] ---> f11938f5ad3e [2020-04-27T08:19:45.801Z] Step 9/21 : COPY . . [2020-04-27T08:19:47.764Z] ---> 97abc7ffdf05 [2020-04-27T08:19:47.764Z] Step 10/21 : ARG MAKE='make build' [2020-04-27T08:19:48.031Z] ---> Running in 3b87f3efc2db [2020-04-27T08:19:48.299Z] Removing intermediate container 3b87f3efc2db [2020-04-27T08:19:48.299Z] ---> cf74b33d429f [2020-04-27T08:19:48.299Z] Step 11/21 : RUN $MAKE [2020-04-27T08:19:48.569Z] ---> Running in 39ab5f04131f [2020-04-27T08:19:49.167Z] 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-04-27T08:20:21.431Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-27T08:20:29.640Z] Removing intermediate container 39ab5f04131f [2020-04-27T08:20:29.640Z] ---> 1d7d4670dcb7 [2020-04-27T08:20:29.640Z] Step 12/21 : FROM alpine [2020-04-27T08:20:29.640Z] latest: Pulling from library/alpine [2020-04-27T08:20:29.640Z] 29e5d40040c1: Pulling fs layer [2020-04-27T08:20:29.906Z] 29e5d40040c1: Verifying Checksum [2020-04-27T08:20:29.906Z] 29e5d40040c1: Download complete [2020-04-27T08:20:30.495Z] 29e5d40040c1: Pull complete [2020-04-27T08:20:30.495Z] Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 [2020-04-27T08:20:30.495Z] Status: Downloaded newer image for alpine:latest [2020-04-27T08:20:30.495Z] ---> c20d2a9ab686 [2020-04-27T08:20:30.495Z] Step 13/21 : ENV APP_PORT=49990 [2020-04-27T08:20:30.762Z] ---> Running in 5ed7aafb0ab5 [2020-04-27T08:20:31.029Z] Removing intermediate container 5ed7aafb0ab5 [2020-04-27T08:20:31.029Z] ---> f66eb206bfc6 [2020-04-27T08:20:31.029Z] Step 14/21 : EXPOSE $APP_PORT [2020-04-27T08:20:31.298Z] ---> Running in 5f852050d9fa [2020-04-27T08:20:31.566Z] Removing intermediate container 5f852050d9fa [2020-04-27T08:20:31.566Z] ---> 3cbbcd0352f5 [2020-04-27T08:20:31.566Z] Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-04-27T08:20:32.531Z] ---> 6280d4798917 [2020-04-27T08:20:32.531Z] Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-04-27T08:20:33.139Z] ---> 714b529f97ab [2020-04-27T08:20:33.139Z] Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-04-27T08:20:33.725Z] ---> cce9e0f313e5 [2020-04-27T08:20:33.725Z] Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-27T08:20:33.992Z] ---> Running in dca074633c48 [2020-04-27T08:20:34.261Z] Removing intermediate container dca074633c48 [2020-04-27T08:20:34.261Z] ---> df16134d7ef0 [2020-04-27T08:20:34.261Z] Step 19/21 : LABEL arch=arm64 [2020-04-27T08:20:34.261Z] ---> Running in 8ece3282740b [2020-04-27T08:20:34.848Z] Removing intermediate container 8ece3282740b [2020-04-27T08:20:34.848Z] ---> 19b8aa3dc13b [2020-04-27T08:20:34.848Z] Step 20/21 : LABEL git_sha=ce810a4efc1ce06064667d5d276fd1322ddfbc85 [2020-04-27T08:20:34.848Z] ---> Running in b9a270e424f7 [2020-04-27T08:20:35.119Z] Removing intermediate container b9a270e424f7 [2020-04-27T08:20:35.119Z] ---> 9bfac0d1d050 [2020-04-27T08:20:35.119Z] Step 21/21 : LABEL version=0.0.0 [2020-04-27T08:20:35.386Z] ---> Running in 25dc95f92290 [2020-04-27T08:20:35.652Z] Removing intermediate container 25dc95f92290 [2020-04-27T08:20:35.652Z] ---> ba909108784f [2020-04-27T08:20:35.652Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-27T08:20:35.652Z] Successfully built ba909108784f [2020-04-27T08:20:35.652Z] 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-04-27T08:20:37.877Z] provisioning config files... [2020-04-27T08:20:37.953Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-102@tmp/config3628667310100594454tmp [Pipeline] { [Pipeline] sh [2020-04-27T08:20:38.455Z] + curl -s https://codecov.io/bash [2020-04-27T08:20:38.455Z] + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-102@tmp/config3628667310100594454tmp [2020-04-27T08:20:38.729Z] [2020-04-27T08:20:38.729Z] _____ _ [2020-04-27T08:20:38.729Z] / ____| | | [2020-04-27T08:20:38.729Z] | | ___ __| | ___ ___ _____ __ [2020-04-27T08:20:38.729Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-27T08:20:38.729Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-27T08:20:38.729Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-27T08:20:38.729Z] Bash-tbd [2020-04-27T08:20:38.729Z] [2020-04-27T08:20:38.729Z] [2020-04-27T08:20:38.729Z] ==> Jenkins CI detected. [2020-04-27T08:20:38.729Z] project root: . [2020-04-27T08:20:38.729Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-27T08:20:39.019Z] ==> Running gcov in . (disable via -X gcov) [2020-04-27T08:20:39.019Z] ==> Python coveragepy not found [2020-04-27T08:20:39.019Z] ==> Searching for coverage reports in: [2020-04-27T08:20:39.019Z] + . [2020-04-27T08:20:39.019Z] -> Found 1 reports [2020-04-27T08:20:39.019Z] ==> Detecting git/mercurial file structure [2020-04-27T08:20:39.019Z] ==> Reading reports [2020-04-27T08:20:39.019Z] + ./coverage.out bytes=32182 [2020-04-27T08:20:39.019Z] ==> Appending adjustments [2020-04-27T08:20:39.019Z] http://docs.codecov.io/docs/fixing-reports [2020-04-27T08:20:39.366Z] + Found adjustments [2020-04-27T08:20:39.366Z] ==> Gzipping contents [2020-04-27T08:20:39.366Z] ==> Uploading reports [2020-04-27T08:20:39.366Z] url: https://codecov.io [2020-04-27T08:20:39.366Z] query: branch=PR-102&commit=ce810a4efc1ce06064667d5d276fd1322ddfbc85&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-102%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=102&job= [2020-04-27T08:20:39.366Z] -> Pinging Codecov [2020-04-27T08:20:39.366Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-102&commit=ce810a4efc1ce06064667d5d276fd1322ddfbc85&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-102%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=102&job= [2020-04-27T08:20:40.412Z] -> Uploading [2020-04-27T08:20:40.993Z] -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/ce810a4efc1ce06064667d5d276fd1322ddfbc85 [Pipeline] } [2020-04-27T08:20:41.016Z] 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-04-27T08:20:43.015Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-27T08:20:43.650Z] ---> package-listing.sh [2020-04-27T08:20:43.650Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-27T08:20:43.650Z] ++ facter osfamily [2020-04-27T08:20:43.650Z] + OS_FAMILY=redhat [2020-04-27T08:20:43.650Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-102 [2020-04-27T08:20:43.650Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-27T08:20:43.650Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-27T08:20:43.650Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-27T08:20:43.650Z] + PACKAGES=/tmp/packages_start.txt [2020-04-27T08:20:43.650Z] + '[' /w/workspace/foundry_device-virtual-go_PR-102 ']' [2020-04-27T08:20:43.650Z] + PACKAGES=/tmp/packages_end.txt [2020-04-27T08:20:43.650Z] + case "${OS_FAMILY}" in [2020-04-27T08:20:43.650Z] + sort [2020-04-27T08:20:43.650Z] + rpm -qa [2020-04-27T08:20:50.329Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-27T08:20:50.329Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-27T08:20:50.329Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-27T08:20:50.329Z] + '[' /w/workspace/foundry_device-virtual-go_PR-102 ']' [2020-04-27T08:20:50.329Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-102/archives/ [2020-04-27T08:20:50.329Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-102/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-27T08:20:50.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-27T08:20:51.159Z] [2020-04-27T08:20:51.159Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-27T08:20:52.006Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-27T08:20:52.521Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-27T08:20:52.521Z] c9b1b535fdd9: Pulling fs layer [2020-04-27T08:20:52.521Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-27T08:20:52.521Z] 756a868c4378: Pulling fs layer [2020-04-27T08:20:52.521Z] 444b2fc9a129: Pulling fs layer [2020-04-27T08:20:52.521Z] ea15f1150254: Pulling fs layer [2020-04-27T08:20:52.521Z] 41b27a9f41bf: Pulling fs layer [2020-04-27T08:20:52.521Z] 28c525ee5125: Pulling fs layer [2020-04-27T08:20:52.521Z] 094b1ea09ed8: Pulling fs layer [2020-04-27T08:20:52.521Z] 138eaada9080: Pulling fs layer [2020-04-27T08:20:52.521Z] 0622d0fa9048: Pulling fs layer [2020-04-27T08:20:52.521Z] 444b2fc9a129: Waiting [2020-04-27T08:20:52.521Z] ea15f1150254: Waiting [2020-04-27T08:20:52.521Z] 41b27a9f41bf: Waiting [2020-04-27T08:20:52.521Z] 28c525ee5125: Waiting [2020-04-27T08:20:52.521Z] 094b1ea09ed8: Waiting [2020-04-27T08:20:52.521Z] 138eaada9080: Waiting [2020-04-27T08:20:52.521Z] 0622d0fa9048: Waiting [2020-04-27T08:20:52.943Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-27T08:20:52.943Z] 2cc5ad85d9ab: Download complete [2020-04-27T08:20:52.943Z] 444b2fc9a129: Verifying Checksum [2020-04-27T08:20:52.943Z] 444b2fc9a129: Download complete [2020-04-27T08:20:53.260Z] c9b1b535fdd9: Verifying Checksum [2020-04-27T08:20:53.260Z] c9b1b535fdd9: Download complete [2020-04-27T08:20:53.260Z] ea15f1150254: Verifying Checksum [2020-04-27T08:20:53.260Z] ea15f1150254: Download complete [2020-04-27T08:20:53.538Z] 28c525ee5125: Verifying Checksum [2020-04-27T08:20:53.538Z] 28c525ee5125: Download complete [2020-04-27T08:20:53.538Z] c9b1b535fdd9: Pull complete [2020-04-27T08:20:53.805Z] 2cc5ad85d9ab: Pull complete [2020-04-27T08:20:53.805Z] 756a868c4378: Verifying Checksum [2020-04-27T08:20:53.805Z] 756a868c4378: Download complete [2020-04-27T08:20:54.108Z] 138eaada9080: Verifying Checksum [2020-04-27T08:20:54.108Z] 138eaada9080: Download complete [2020-04-27T08:20:54.108Z] 0622d0fa9048: Verifying Checksum [2020-04-27T08:20:54.108Z] 0622d0fa9048: Download complete [2020-04-27T08:20:54.108Z] 094b1ea09ed8: Verifying Checksum [2020-04-27T08:20:54.108Z] 094b1ea09ed8: Download complete [2020-04-27T08:20:54.709Z] 41b27a9f41bf: Verifying Checksum [2020-04-27T08:20:54.709Z] 41b27a9f41bf: Download complete [2020-04-27T08:20:56.659Z] 756a868c4378: Pull complete [2020-04-27T08:20:56.659Z] 444b2fc9a129: Pull complete [2020-04-27T08:20:56.926Z] ea15f1150254: Pull complete [2020-04-27T08:21:01.315Z] 41b27a9f41bf: Pull complete [2020-04-27T08:21:01.315Z] 28c525ee5125: Pull complete [2020-04-27T08:21:04.494Z] 094b1ea09ed8: Pull complete [2020-04-27T08:21:04.494Z] 138eaada9080: Pull complete [2020-04-27T08:21:05.288Z] 0622d0fa9048: Pull complete [2020-04-27T08:21:05.288Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-27T08:21:05.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-27T08:21:05.564Z] prd-centos7-docker-4c-2g-6250 does not seem to be running inside a container [2020-04-27T08:21:05.629Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/foundry_device-virtual-go_PR-102 -v /w/workspace/foundry_device-virtual-go_PR-102:/w/workspace/foundry_device-virtual-go_PR-102:rw,z -v /w/workspace/foundry_device-virtual-go_PR-102@tmp:/w/workspace/foundry_device-virtual-go_PR-102@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-27T08:21:06.549Z] $ docker top b82ba6579eb90394c17b2f01c416356897d1c17fef24c5527f2556e17e851b2a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-27T08:21:06.993Z] provisioning config files... [2020-04-27T08:21:07.084Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-102@tmp/config2274005348708276458tmp [Pipeline] { [Pipeline] echo [2020-04-27T08:21:07.166Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-27T08:21:07.922Z] ---> create-netrc.sh [Pipeline] echo [2020-04-27T08:21:07.961Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-27T08:21:08.351Z] ---> logs-deploy.sh [2020-04-27T08:21:08.351Z] + ARCHIVE_ARTIFACTS= [2020-04-27T08:21:08.351Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-27T08:21:08.351Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-27T08:21:08.351Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-27T08:21:08.351Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-102/1 [2020-04-27T08:21:08.351Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-102/1/ [2020-04-27T08:21:08.351Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-102/1 /w/workspace/foundry_device-virtual-go_PR-102 [2020-04-27T08:21:10.287Z] Archives upload complete. [2020-04-27T08:21:10.287Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-102/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-102/1/