Pull request #94 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-virtual-go Loading trusted files from base branch master at 55fc044d80c995f66bb5d94540d466dee3799027 rather than 8ddb3db34558da3ef33f906ea078b613fb03d527 Obtained Jenkinsfile from 55fc044d80c995f66bb5d94540d466dee3799027 Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-94/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4477 in /w/workspace/xfoundry_device-virtual-go_PR-94 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/xfoundry_device-virtual-go_PR-94 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 55fc044d80c995f66bb5d94540d466dee3799027 into PR head commit 8ddb3db34558da3ef33f906ea078b613fb03d527 Merge succeeded, producing 8ddb3db34558da3ef33f906ea078b613fb03d527 Checking out Revision 8ddb3db34558da3ef33f906ea078b613fb03d527 (PR-94) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/94/head:refs/remotes/origin/PR-94 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ddb3db34558da3ef33f906ea078b613fb03d527 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 55fc044d80c995f66bb5d94540d466dee3799027 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ddb3db34558da3ef33f906ea078b613fb03d527 # timeout=10 Commit message: "Upgrade to the latest SDK" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-17T09:11:24.144Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-17T09:11:24.399Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-17T09:11:24.554Z] ========================================================= [2020-04-17T09:11:24.555Z] EdgeX Global Pipelines Version Info [2020-04-17T09:11:24.555Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-17T09:11:26.018Z] ------------------- [2020-04-17T09:11:26.018Z] stable info: [2020-04-17T09:11:26.018Z] ------------------- [2020-04-17T09:11:26.018Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-17T09:11:26.018Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-17T09:11:26.018Z] Message: update stable to v1.0.73 [2020-04-17T09:11:26.585Z] ------------------- [2020-04-17T09:11:26.585Z] experimental info: [2020-04-17T09:11:26.585Z] ------------------- [2020-04-17T09:11:26.585Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-17T09:11:26.585Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-17T09:11:26.585Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-17T09:11:28.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-17T09:11:28.803Z] [2020-04-17T09:11:28.803Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-17T09:11:29.178Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-17T09:11:29.178Z] latest: Pulling from edgex-devops/git-semver [2020-04-17T09:11:29.178Z] 9123ac7c32f7: Pulling fs layer [2020-04-17T09:11:29.178Z] b8cc5d1170e3: Pulling fs layer [2020-04-17T09:11:29.178Z] 2924cbbf6a41: Pulling fs layer [2020-04-17T09:11:29.178Z] 93b08a4f1073: Pulling fs layer [2020-04-17T09:11:29.178Z] 93b08a4f1073: Waiting [2020-04-17T09:11:29.178Z] b8cc5d1170e3: Verifying Checksum [2020-04-17T09:11:29.178Z] b8cc5d1170e3: Download complete [2020-04-17T09:11:29.437Z] 9123ac7c32f7: Verifying Checksum [2020-04-17T09:11:29.437Z] 9123ac7c32f7: Download complete [2020-04-17T09:11:29.437Z] 93b08a4f1073: Verifying Checksum [2020-04-17T09:11:29.437Z] 93b08a4f1073: Download complete [2020-04-17T09:11:29.437Z] 2924cbbf6a41: Verifying Checksum [2020-04-17T09:11:29.437Z] 2924cbbf6a41: Download complete [2020-04-17T09:11:29.437Z] 9123ac7c32f7: Pull complete [2020-04-17T09:11:29.701Z] b8cc5d1170e3: Pull complete [2020-04-17T09:11:30.273Z] 2924cbbf6a41: Pull complete [2020-04-17T09:11:30.531Z] 93b08a4f1073: Pull complete [2020-04-17T09:11:30.531Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-17T09:11:30.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-17T09:11:30.677Z] prd-centos7-docker-4c-2g-4477 does not seem to be running inside a container [2020-04-17T09:11:30.719Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-virtual-go_PR-94 -v /w/workspace/xfoundry_device-virtual-go_PR-94:/w/workspace/xfoundry_device-virtual-go_PR-94:rw,z -v /w/workspace/xfoundry_device-virtual-go_PR-94@tmp:/w/workspace/xfoundry_device-virtual-go_PR-94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-17T09:11:31.262Z] $ docker top 704dc96e19a6648f54529ce212106477c4749c9c97a345223704da77dab3a9c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-17T09:11:31.577Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-17T09:11:31.577Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-17T09:11:31.768Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-17T09:11:31.774Z] $ docker exec 704dc96e19a6648f54529ce212106477c4749c9c97a345223704da77dab3a9c5 ssh-agent [2020-04-17T09:11:31.952Z] SSH_AUTH_SOCK=/tmp/ssh-MjwMFjXUSpt4/agent.14 [2020-04-17T09:11:31.952Z] SSH_AGENT_PID=21 [2020-04-17T09:11:31.960Z] Running ssh-add (command line suppressed) [2020-04-17T09:11:32.098Z] Identity added: /w/workspace/xfoundry_device-virtual-go_PR-94@tmp/private_key_3071546659919082140.key (/w/workspace/xfoundry_device-virtual-go_PR-94@tmp/private_key_3071546659919082140.key) [2020-04-17T09:11:32.138Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-17T09:11:32.510Z] + git describe --exact-match --tags HEAD [2020-04-17T09:11:32.511Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-17T09:11:32.602Z] $ docker exec --env ******** --env ******** 704dc96e19a6648f54529ce212106477c4749c9c97a345223704da77dab3a9c5 ssh-agent -k [2020-04-17T09:11:32.733Z] unset SSH_AUTH_SOCK; [2020-04-17T09:11:32.733Z] unset SSH_AGENT_PID; [2020-04-17T09:11:32.734Z] echo Agent pid 21 killed; [2020-04-17T09:11:32.764Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-17T09:11:32.897Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-17T09:11:32.897Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-17T09:11:32.987Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-17T09:11:32.988Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-17T09:11:33.157Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-17T09:11:33.162Z] $ docker exec 704dc96e19a6648f54529ce212106477c4749c9c97a345223704da77dab3a9c5 ssh-agent [2020-04-17T09:11:33.322Z] SSH_AUTH_SOCK=/tmp/ssh-H2JoOvADtRma/agent.57 [2020-04-17T09:11:33.322Z] SSH_AGENT_PID=63 [2020-04-17T09:11:33.327Z] Running ssh-add (command line suppressed) [2020-04-17T09:11:33.461Z] Identity added: /w/workspace/xfoundry_device-virtual-go_PR-94@tmp/private_key_8345572396596651813.key (/w/workspace/xfoundry_device-virtual-go_PR-94@tmp/private_key_8345572396596651813.key) [2020-04-17T09:11:33.498Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-17T09:11:33.849Z] + git semver init [2020-04-17T09:11:33.849Z] # -> Open(): unable to determine branch for HEAD [2020-04-17T09:11:33.849Z] # $GIT_DIR = /w/workspace/xfoundry_device-virtual-go_PR-94/.git [2020-04-17T09:11:33.849Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-virtual-go_PR-94 [2020-04-17T09:11:33.849Z] # $SEMVER_REMOTE_NAME = origin [2020-04-17T09:11:33.849Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-17T09:11:33.849Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-17T09:11:33.849Z] # $SEMVER_BRANCH = PR-94 [2020-04-17T09:11:33.849Z] # $SEMVER_TEMP = /tmp/semver-757393153 [2020-04-17T09:11:33.849Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-04-17T09:11:34.108Z] # '/tmp/semver-757393153' -> '/w/workspace/xfoundry_device-virtual-go_PR-94/.semver' [2020-04-17T09:11:34.366Z] # -> Force: false [2020-04-17T09:11:34.366Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-virtual-go_PR-94/.semver [Pipeline] } [2020-04-17T09:11:34.386Z] $ docker exec --env ******** --env ******** 704dc96e19a6648f54529ce212106477c4749c9c97a345223704da77dab3a9c5 ssh-agent -k [2020-04-17T09:11:34.519Z] unset SSH_AUTH_SOCK; [2020-04-17T09:11:34.519Z] unset SSH_AGENT_PID; [2020-04-17T09:11:34.519Z] echo Agent pid 63 killed; [2020-04-17T09:11:34.561Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-17T09:11:35.065Z] + git semver [Pipeline] } [2020-04-17T09:11:35.096Z] $ docker stop --time=1 704dc96e19a6648f54529ce212106477c4749c9c97a345223704da77dab3a9c5 [2020-04-17T09:11:36.417Z] $ docker rm -f 704dc96e19a6648f54529ce212106477c4749c9c97a345223704da77dab3a9c5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-17T09:11:37.096Z] Stashed 23 file(s) [Pipeline] echo [2020-04-17T09:11:37.110Z] [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-17T09:11:52.514Z] Still waiting to schedule task [2020-04-17T09:11:52.514Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-17T09:11:52.533Z] Still waiting to schedule task [2020-04-17T09:11:52.534Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-17T09:13:37.008Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4478 in /w/workspace/xfoundry_device-virtual-go_PR-94 [Pipeline] { [Pipeline] ws [2020-04-17T09:13:37.077Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-04-17T09:13:42.385Z] using credential edgex-jenkins-ssh [2020-04-17T09:13:42.432Z] Cloning the remote Git repository [2020-04-17T09:13:42.432Z] Cloning with configured refspecs honoured and without tags [2020-04-17T09:13:42.508Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-04-17T09:13:42.602Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-04-17T09:13:42.682Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-04-17T09:13:42.685Z] > git --version # timeout=10 [2020-04-17T09:13:42.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T09:13:42.810Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T09:13:43.662Z] Fetching without tags [2020-04-17T09:13:44.230Z] Merging remotes/origin/master commit 55fc044d80c995f66bb5d94540d466dee3799027 into PR head commit 8ddb3db34558da3ef33f906ea078b613fb03d527 [2020-04-17T09:13:44.526Z] Merge succeeded, producing 8ddb3db34558da3ef33f906ea078b613fb03d527 [2020-04-17T09:13:44.527Z] Checking out Revision 8ddb3db34558da3ef33f906ea078b613fb03d527 (PR-94) [2020-04-17T09:13:43.507Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-04-17T09:13:43.532Z] > git config --add remote.origin.fetch +refs/pull/94/head:refs/remotes/origin/PR-94 # timeout=10 [2020-04-17T09:13:43.553Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T09:13:43.624Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-04-17T09:13:43.689Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-04-17T09:13:43.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T09:13:43.708Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T09:13:44.259Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T09:13:44.307Z] > git checkout -f 8ddb3db34558da3ef33f906ea078b613fb03d527 # timeout=10 [2020-04-17T09:13:44.410Z] > git remote # timeout=10 [2020-04-17T09:13:44.437Z] > git config --get remote.origin.url # timeout=10 [2020-04-17T09:13:44.462Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T09:13:44.472Z] > git merge 55fc044d80c995f66bb5d94540d466dee3799027 # timeout=10 [2020-04-17T09:13:44.507Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-17T09:13:44.543Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T09:13:44.561Z] > git checkout -f 8ddb3db34558da3ef33f906ea078b613fb03d527 # timeout=10 [2020-04-17T09:13:49.383Z] Commit message: "Upgrade to the latest SDK" [2020-04-17T09:13:49.438Z] > git --version # timeout=10 [2020-04-17T09:13:49.460Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-17T09:13:50.639Z] ========================================================= [2020-04-17T09:13:50.639Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-17T09:13:50.639Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-17T09:13:51.824Z] + 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-17T09:13:52.788Z] Sending build context to Docker daemon 490kB [2020-04-17T09:13:52.788Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-17T09:13:52.788Z] Step 2/8 : FROM ${BASE} [2020-04-17T09:13:53.058Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-17T09:13:53.058Z] cde5963f3b93: Pulling fs layer [2020-04-17T09:13:53.058Z] 2a23fa8c16f7: Pulling fs layer [2020-04-17T09:13:53.058Z] 777b28850792: Pulling fs layer [2020-04-17T09:13:53.058Z] 8a11ddd9e578: Pulling fs layer [2020-04-17T09:13:53.058Z] 4cf88f913ddb: Pulling fs layer [2020-04-17T09:13:53.058Z] 1df406cf5192: Pulling fs layer [2020-04-17T09:13:53.058Z] cd6300453558: Pulling fs layer [2020-04-17T09:13:53.058Z] b9c365052c96: Pulling fs layer [2020-04-17T09:13:53.058Z] a2d8cc88f415: Pulling fs layer [2020-04-17T09:13:53.058Z] ea1d1ca13537: Pulling fs layer [2020-04-17T09:13:53.058Z] 3750a50a1c5e: Pulling fs layer [2020-04-17T09:13:53.058Z] 8a11ddd9e578: Waiting [2020-04-17T09:13:53.058Z] 4cf88f913ddb: Waiting [2020-04-17T09:13:53.058Z] 1df406cf5192: Waiting [2020-04-17T09:13:53.058Z] ea1d1ca13537: Waiting [2020-04-17T09:13:53.058Z] cd6300453558: Waiting [2020-04-17T09:13:53.058Z] b9c365052c96: Waiting [2020-04-17T09:13:53.058Z] 3750a50a1c5e: Waiting [2020-04-17T09:13:53.058Z] a2d8cc88f415: Waiting [2020-04-17T09:13:53.058Z] 777b28850792: Download complete [2020-04-17T09:13:53.058Z] 2a23fa8c16f7: Verifying Checksum [2020-04-17T09:13:53.058Z] 2a23fa8c16f7: Download complete [2020-04-17T09:13:53.058Z] 4cf88f913ddb: Verifying Checksum [2020-04-17T09:13:53.058Z] 4cf88f913ddb: Download complete [2020-04-17T09:13:53.058Z] 1df406cf5192: Verifying Checksum [2020-04-17T09:13:53.058Z] 1df406cf5192: Download complete [2020-04-17T09:13:53.330Z] cde5963f3b93: Verifying Checksum [2020-04-17T09:13:53.957Z] cde5963f3b93: Pull complete [2020-04-17T09:13:54.555Z] 2a23fa8c16f7: Pull complete [2020-04-17T09:13:54.831Z] 777b28850792: Pull complete [2020-04-17T09:13:57.437Z] cd6300453558: Verifying Checksum [2020-04-17T09:13:57.437Z] cd6300453558: Download complete [2020-04-17T09:13:57.437Z] a2d8cc88f415: Verifying Checksum [2020-04-17T09:13:57.437Z] a2d8cc88f415: Download complete [2020-04-17T09:14:00.028Z] ea1d1ca13537: Verifying Checksum [2020-04-17T09:14:00.028Z] ea1d1ca13537: Download complete [2020-04-17T09:14:00.028Z] 3750a50a1c5e: Verifying Checksum [2020-04-17T09:14:00.028Z] 3750a50a1c5e: Download complete [2020-04-17T09:14:02.624Z] b9c365052c96: Verifying Checksum [2020-04-17T09:14:02.624Z] b9c365052c96: Download complete [2020-04-17T09:14:04.035Z] 8a11ddd9e578: Verifying Checksum [2020-04-17T09:14:04.035Z] 8a11ddd9e578: Download complete [2020-04-17T09:14:06.331Z] Running on prd-centos7-docker-4c-2g-4479 in /w/workspace/xfoundry_device-virtual-go_PR-94 [Pipeline] { [Pipeline] ws [2020-04-17T09:14:06.405Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2020-04-17T09:14:08.531Z] using credential edgex-jenkins-ssh [2020-04-17T09:14:08.576Z] Cloning the remote Git repository [2020-04-17T09:14:08.576Z] Cloning with configured refspecs honoured and without tags [2020-04-17T09:14:07.793Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-04-17T09:14:07.835Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2020-04-17T09:14:07.882Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-04-17T09:14:07.883Z] > git --version # timeout=10 [2020-04-17T09:14:07.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T09:14:07.924Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T09:14:09.297Z] Fetching without tags [2020-04-17T09:14:09.665Z] Merging remotes/origin/master commit 55fc044d80c995f66bb5d94540d466dee3799027 into PR head commit 8ddb3db34558da3ef33f906ea078b613fb03d527 [2020-04-17T09:14:09.774Z] Merge succeeded, producing 8ddb3db34558da3ef33f906ea078b613fb03d527 [2020-04-17T09:14:09.775Z] Checking out Revision 8ddb3db34558da3ef33f906ea078b613fb03d527 (PR-94) [2020-04-17T09:14:08.512Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-04-17T09:14:08.519Z] > git config --add remote.origin.fetch +refs/pull/94/head:refs/remotes/origin/PR-94 # timeout=10 [2020-04-17T09:14:08.526Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T09:14:08.537Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-04-17T09:14:08.547Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-04-17T09:14:08.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T09:14:08.551Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T09:14:08.949Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T09:14:08.955Z] > git checkout -f 8ddb3db34558da3ef33f906ea078b613fb03d527 # timeout=10 [2020-04-17T09:14:08.986Z] > git remote # timeout=10 [2020-04-17T09:14:08.992Z] > git config --get remote.origin.url # timeout=10 [2020-04-17T09:14:09.001Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T09:14:09.043Z] > git merge 55fc044d80c995f66bb5d94540d466dee3799027 # timeout=10 [2020-04-17T09:14:09.053Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-17T09:14:09.063Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T09:14:09.074Z] > git checkout -f 8ddb3db34558da3ef33f906ea078b613fb03d527 # timeout=10 [2020-04-17T09:14:13.462Z] Commit message: "Upgrade to the latest SDK" [2020-04-17T09:14:13.101Z] > git --version # timeout=10 [2020-04-17T09:14:13.113Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-17T09:14:14.317Z] ========================================================= [2020-04-17T09:14:14.317Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-17T09:14:14.317Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-17T09:14:15.063Z] + 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-17T09:14:15.326Z] Sending build context to Docker daemon 490kB [2020-04-17T09:14:15.326Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-17T09:14:15.326Z] Step 2/8 : FROM ${BASE} [2020-04-17T09:14:15.326Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-17T09:14:15.326Z] e6b0cf9c0882: Pulling fs layer [2020-04-17T09:14:15.326Z] 2848faf0eed1: Pulling fs layer [2020-04-17T09:14:15.326Z] 0f37312ad70f: Pulling fs layer [2020-04-17T09:14:15.326Z] 5788d62ee057: Pulling fs layer [2020-04-17T09:14:15.326Z] 0e6b1d234666: Pulling fs layer [2020-04-17T09:14:15.326Z] bf5d7aec512f: Pulling fs layer [2020-04-17T09:14:15.326Z] 34c802a77dc8: Pulling fs layer [2020-04-17T09:14:15.326Z] 9eb99e56ec68: Pulling fs layer [2020-04-17T09:14:15.326Z] 27c7a5d97fbd: Pulling fs layer [2020-04-17T09:14:15.326Z] 5c102a31e300: Pulling fs layer [2020-04-17T09:14:15.326Z] dcfb455df0a1: Pulling fs layer [2020-04-17T09:14:15.326Z] bf5d7aec512f: Waiting [2020-04-17T09:14:15.326Z] 34c802a77dc8: Waiting [2020-04-17T09:14:15.326Z] 9eb99e56ec68: Waiting [2020-04-17T09:14:15.326Z] 27c7a5d97fbd: Waiting [2020-04-17T09:14:15.326Z] 5c102a31e300: Waiting [2020-04-17T09:14:15.326Z] dcfb455df0a1: Waiting [2020-04-17T09:14:15.326Z] 5788d62ee057: Waiting [2020-04-17T09:14:15.326Z] 0e6b1d234666: Waiting [2020-04-17T09:14:15.326Z] 0f37312ad70f: Verifying Checksum [2020-04-17T09:14:15.326Z] 0f37312ad70f: Download complete [2020-04-17T09:14:15.326Z] 2848faf0eed1: Download complete [2020-04-17T09:14:15.326Z] 0e6b1d234666: Verifying Checksum [2020-04-17T09:14:15.326Z] 0e6b1d234666: Download complete [2020-04-17T09:14:15.326Z] bf5d7aec512f: Verifying Checksum [2020-04-17T09:14:15.326Z] bf5d7aec512f: Download complete [2020-04-17T09:14:15.326Z] e6b0cf9c0882: Verifying Checksum [2020-04-17T09:14:15.326Z] e6b0cf9c0882: Download complete [2020-04-17T09:14:15.911Z] e6b0cf9c0882: Pull complete [2020-04-17T09:14:16.173Z] 34c802a77dc8: Verifying Checksum [2020-04-17T09:14:16.173Z] 34c802a77dc8: Download complete [2020-04-17T09:14:16.173Z] 27c7a5d97fbd: Verifying Checksum [2020-04-17T09:14:16.173Z] 27c7a5d97fbd: Download complete [2020-04-17T09:14:16.386Z] 8a11ddd9e578: Pull complete [2020-04-17T09:14:16.386Z] 4cf88f913ddb: Pull complete [2020-04-17T09:14:16.386Z] 1df406cf5192: Pull complete [2020-04-17T09:14:16.748Z] 5c102a31e300: Verifying Checksum [2020-04-17T09:14:16.748Z] 5c102a31e300: Download complete [2020-04-17T09:14:16.748Z] dcfb455df0a1: Verifying Checksum [2020-04-17T09:14:16.748Z] dcfb455df0a1: Download complete [2020-04-17T09:14:17.009Z] 9eb99e56ec68: Verifying Checksum [2020-04-17T09:14:17.009Z] 9eb99e56ec68: Download complete [2020-04-17T09:14:17.009Z] 5788d62ee057: Verifying Checksum [2020-04-17T09:14:17.009Z] 5788d62ee057: Download complete [2020-04-17T09:14:17.267Z] 2848faf0eed1: Pull complete [2020-04-17T09:14:17.526Z] 0f37312ad70f: Pull complete [2020-04-17T09:14:21.742Z] cd6300453558: Pull complete [2020-04-17T09:14:22.802Z] 5788d62ee057: Pull complete [2020-04-17T09:14:22.802Z] 0e6b1d234666: Pull complete [2020-04-17T09:14:22.802Z] bf5d7aec512f: Pull complete [2020-04-17T09:14:26.999Z] 34c802a77dc8: Pull complete [2020-04-17T09:14:27.104Z] b9c365052c96: Pull complete [2020-04-17T09:14:27.104Z] a2d8cc88f415: Pull complete [2020-04-17T09:14:28.524Z] ea1d1ca13537: Pull complete [2020-04-17T09:14:28.796Z] 3750a50a1c5e: Pull complete [2020-04-17T09:14:28.796Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-17T09:14:29.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-17T09:14:29.064Z] ---> 78745c68409d [2020-04-17T09:14:29.064Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-17T09:14:29.560Z] 9eb99e56ec68: Pull complete [2020-04-17T09:14:29.560Z] 27c7a5d97fbd: Pull complete [2020-04-17T09:14:30.501Z] 5c102a31e300: Pull complete [2020-04-17T09:14:30.501Z] dcfb455df0a1: Pull complete [2020-04-17T09:14:30.501Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-17T09:14:30.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-17T09:14:30.501Z] ---> 7c70fe431013 [2020-04-17T09:14:30.501Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-17T09:14:30.501Z] ---> Running in 986bf55991c6 [2020-04-17T09:14:30.765Z] Removing intermediate container 986bf55991c6 [2020-04-17T09:14:30.765Z] ---> 0fb7caebbcc2 [2020-04-17T09:14:30.765Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T09:14:30.765Z] ---> Running in 1c5a295d61f4 [2020-04-17T09:14:32.142Z] Removing intermediate container 1c5a295d61f4 [2020-04-17T09:14:32.142Z] ---> 032aec25be83 [2020-04-17T09:14:32.142Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-17T09:14:32.142Z] ---> Running in 66e2ac83d198 [2020-04-17T09:14:32.403Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-17T09:14:33.328Z] ---> Running in 778428f22661 [2020-04-17T09:14:33.328Z] Removing intermediate container 778428f22661 [2020-04-17T09:14:33.328Z] ---> 8dd4966581fc [2020-04-17T09:14:33.328Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T09:14:33.341Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-17T09:14:33.597Z] ---> Running in 5eba95361b66 [2020-04-17T09:14:33.599Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-17T09:14:33.599Z] (2/17) Installing libmagic (5.37-r1) [2020-04-17T09:14:33.857Z] (3/17) Installing file (5.37-r1) [2020-04-17T09:14:33.857Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-17T09:14:33.858Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-17T09:14:34.117Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-17T09:14:35.545Z] Removing intermediate container 5eba95361b66 [2020-04-17T09:14:35.545Z] ---> bd5da9263147 [2020-04-17T09:14:35.545Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-17T09:14:35.821Z] ---> Running in 8130803eda17 [2020-04-17T09:14:36.787Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-17T09:14:37.371Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-17T09:14:37.402Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-17T09:14:37.402Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-17T09:14:37.957Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-17T09:14:37.957Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-17T09:14:38.224Z] (3/18) Installing libmagic (5.37-r1) [2020-04-17T09:14:38.224Z] (4/18) Installing file (5.37-r1) [2020-04-17T09:14:38.491Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-17T09:14:38.491Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-17T09:14:38.491Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-17T09:14:39.934Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-17T09:14:39.934Z] (10/17) Installing build-base (0.5-r1) [2020-04-17T09:14:39.934Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-17T09:14:39.934Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-17T09:14:39.934Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-17T09:14:39.934Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-17T09:14:40.193Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-17T09:14:40.193Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-17T09:14:40.193Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-17T09:14:40.462Z] Executing busybox-1.31.1-r8.trigger [2020-04-17T09:14:40.462Z] OK: 214 MiB in 52 packages [2020-04-17T09:14:41.077Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-17T09:14:41.077Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-17T09:14:43.023Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-17T09:14:43.023Z] (11/18) Installing build-base (0.5-r1) [2020-04-17T09:14:43.023Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-17T09:14:43.023Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-17T09:14:43.023Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-04-17T09:14:43.293Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-17T09:14:43.293Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-17T09:14:43.564Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-04-17T09:14:43.564Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-17T09:14:43.832Z] Executing busybox-1.31.1-r8.trigger [2020-04-17T09:14:43.832Z] OK: 203 MiB in 52 packages [2020-04-17T09:14:44.660Z] Removing intermediate container 66e2ac83d198 [2020-04-17T09:14:44.660Z] ---> b87f5a3100cb [2020-04-17T09:14:44.660Z] Step 6/8 : WORKDIR /device-virtual-go [2020-04-17T09:14:44.660Z] ---> Running in 471b6734ae5b [2020-04-17T09:14:44.660Z] Removing intermediate container 471b6734ae5b [2020-04-17T09:14:44.660Z] ---> 9bdc4f3d77de [2020-04-17T09:14:44.660Z] Step 7/8 : COPY . . [2020-04-17T09:14:44.660Z] ---> d36093a6dc0d [2020-04-17T09:14:44.660Z] Step 8/8 : RUN go mod download [2020-04-17T09:14:44.660Z] ---> Running in 916d6a56aa0b [2020-04-17T09:14:47.947Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-17T09:14:47.947Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-17T09:14:47.947Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-17T09:14:47.947Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-17T09:14:47.947Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-17T09:14:47.947Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-17T09:14:47.947Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-17T09:14:47.947Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-17T09:14:47.947Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.24 [2020-04-17T09:14:47.947Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-17T09:14:47.947Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-17T09:14:47.947Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-17T09:14:48.205Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-17T09:14:48.205Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-17T09:14:48.205Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-04-17T09:14:48.205Z] go: finding github.com/fatih/color v1.7.0 [2020-04-17T09:14:48.205Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-17T09:14:48.205Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-17T09:14:48.205Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-17T09:14:48.464Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-17T09:14:48.464Z] go: finding github.com/golang/snappy v0.0.1 [2020-04-17T09:14:48.464Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-17T09:14:48.464Z] go: finding github.com/google/uuid v1.1.0 [2020-04-17T09:14:48.464Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-17T09:14:48.464Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-17T09:14:48.464Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-17T09:14:48.722Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-17T09:14:48.722Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-17T09:14:48.722Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-17T09:14:48.722Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-17T09:14:48.722Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-17T09:14:48.722Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-17T09:14:48.722Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-17T09:14:48.985Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-17T09:14:48.985Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-17T09:14:48.985Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-17T09:14:48.985Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-17T09:14:48.985Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-17T09:14:48.985Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-17T09:14:48.985Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-17T09:14:49.244Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-17T09:14:49.244Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-17T09:14:49.244Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-17T09:14:49.244Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-17T09:14:49.244Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-17T09:14:49.244Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-17T09:14:49.514Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-17T09:14:49.514Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-17T09:14:49.514Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-17T09:14:49.514Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-17T09:14:49.514Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-17T09:14:49.514Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-17T09:14:49.514Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-17T09:14:49.777Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-17T09:14:49.777Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-17T09:14:49.777Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-17T09:14:49.777Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-17T09:14:49.777Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-17T09:14:49.777Z] go: finding github.com/posener/complete v1.1.1 [2020-04-17T09:14:49.777Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-04-17T09:14:50.036Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-17T09:14:50.036Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-17T09:14:50.036Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-17T09:14:50.036Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-17T09:14:50.036Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-17T09:14:50.036Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-17T09:14:50.036Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-17T09:14:50.295Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-17T09:14:50.295Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-17T09:14:50.295Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-04-17T09:14:50.295Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-17T09:14:50.295Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-17T09:14:50.295Z] go: finding modernc.org/b v1.0.0 [2020-04-17T09:14:50.295Z] go: finding modernc.org/db v1.0.0 [2020-04-17T09:14:50.493Z] Removing intermediate container 8130803eda17 [2020-04-17T09:14:50.493Z] ---> dc6504daccee [2020-04-17T09:14:50.493Z] Step 6/8 : WORKDIR /device-virtual-go [2020-04-17T09:14:50.553Z] go: finding modernc.org/file v1.0.0 [2020-04-17T09:14:50.553Z] go: finding modernc.org/fileutil v1.0.0 [2020-04-17T09:14:50.553Z] go: finding modernc.org/golex v1.0.0 [2020-04-17T09:14:50.553Z] go: finding modernc.org/internal v1.0.0 [2020-04-17T09:14:50.553Z] go: finding modernc.org/lldb v1.0.0 [2020-04-17T09:14:50.553Z] go: finding modernc.org/mathutil v1.0.0 [2020-04-17T09:14:50.763Z] ---> Running in aa19c8656c83 [2020-04-17T09:14:50.812Z] go: finding modernc.org/ql v1.0.0 [2020-04-17T09:14:50.812Z] go: finding modernc.org/sortutil v1.0.0 [2020-04-17T09:14:50.812Z] go: finding modernc.org/strutil v1.0.0 [2020-04-17T09:14:50.812Z] go: finding modernc.org/zappy v1.0.0 [2020-04-17T09:14:51.031Z] Removing intermediate container aa19c8656c83 [2020-04-17T09:14:51.031Z] ---> 84f29b4b61e4 [2020-04-17T09:14:51.031Z] Step 7/8 : COPY . . [2020-04-17T09:14:51.994Z] ---> 3343dfac8a2b [2020-04-17T09:14:51.994Z] Step 8/8 : RUN go mod download [2020-04-17T09:14:51.994Z] ---> Running in a7495ff72a36 [2020-04-17T09:14:53.939Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-17T09:14:53.939Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-17T09:14:53.939Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-17T09:14:53.939Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-17T09:14:53.939Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-17T09:14:54.206Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-17T09:14:54.206Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-17T09:14:54.206Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-17T09:14:54.206Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.24 [2020-04-17T09:14:54.206Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-17T09:14:54.206Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-17T09:14:54.207Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-17T09:14:54.207Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-17T09:14:54.207Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-17T09:14:54.207Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-04-17T09:14:54.207Z] go: finding github.com/fatih/color v1.7.0 [2020-04-17T09:14:54.207Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-17T09:14:54.207Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-17T09:14:54.207Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-17T09:14:54.207Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-17T09:14:54.475Z] go: finding github.com/golang/snappy v0.0.1 [2020-04-17T09:14:54.475Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-17T09:14:54.475Z] go: finding github.com/google/uuid v1.1.0 [2020-04-17T09:14:54.475Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-17T09:14:54.475Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-17T09:14:54.475Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-17T09:14:54.475Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-17T09:14:54.475Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-17T09:14:54.475Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-17T09:14:54.475Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-17T09:14:54.475Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-17T09:14:54.475Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-17T09:14:54.475Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-17T09:14:54.475Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-17T09:14:54.742Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-17T09:14:54.742Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-17T09:14:54.742Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-17T09:14:54.742Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-17T09:14:54.742Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-17T09:14:54.742Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-17T09:14:54.742Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-17T09:14:54.742Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-17T09:14:54.742Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-17T09:14:54.742Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-17T09:14:54.742Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-17T09:14:54.742Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-17T09:14:54.742Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-17T09:14:54.742Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-17T09:14:54.742Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-17T09:14:54.742Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-17T09:14:54.742Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-17T09:14:54.742Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-17T09:14:54.742Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-17T09:14:54.742Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-17T09:14:55.006Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-17T09:14:55.006Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-17T09:14:55.006Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-17T09:14:55.006Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-17T09:14:55.006Z] go: finding github.com/posener/complete v1.1.1 [2020-04-17T09:14:55.006Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-04-17T09:14:55.006Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-17T09:14:55.006Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-17T09:14:55.006Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-17T09:14:55.006Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-17T09:14:55.006Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-17T09:14:55.006Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-17T09:14:55.007Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-17T09:14:55.007Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-17T09:14:55.007Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-17T09:14:55.015Z] Removing intermediate container 916d6a56aa0b [2020-04-17T09:14:55.015Z] ---> 4d22c6530e57 [2020-04-17T09:14:55.015Z] Successfully built 4d22c6530e57 [2020-04-17T09:14:55.015Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-04-17T09:14:55.271Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-04-17T09:14:55.272Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-17T09:14:55.272Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-17T09:14:55.272Z] go: finding modernc.org/b v1.0.0 [2020-04-17T09:14:55.272Z] go: finding modernc.org/db v1.0.0 [2020-04-17T09:14:55.272Z] go: finding modernc.org/file v1.0.0 [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-17T09:14:55.537Z] go: finding modernc.org/fileutil v1.0.0 [2020-04-17T09:14:55.537Z] go: finding modernc.org/golex v1.0.0 [2020-04-17T09:14:55.537Z] go: finding modernc.org/internal v1.0.0 [2020-04-17T09:14:55.537Z] go: finding modernc.org/lldb v1.0.0 [2020-04-17T09:14:55.537Z] go: finding modernc.org/mathutil v1.0.0 [2020-04-17T09:14:55.537Z] go: finding modernc.org/ql v1.0.0 [2020-04-17T09:14:55.805Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-17T09:14:55.805Z] . [2020-04-17T09:14:55.806Z] go: finding modernc.org/sortutil v1.0.0 [2020-04-17T09:14:55.806Z] go: finding modernc.org/strutil v1.0.0 [2020-04-17T09:14:55.806Z] go: finding modernc.org/zappy v1.0.0 [Pipeline] withDockerContainer [2020-04-17T09:14:55.960Z] prd-centos7-docker-4c-2g-4479 does not seem to be running inside a container [2020-04-17T09:14:56.006Z] $ 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-04-17T09:14:56.507Z] $ docker top 39f4c35808cce5a658c706c2c7541c4db3272e35c50e94104fd8d2371e7e975a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-17T09:14:57.027Z] + go version [2020-04-17T09:14:57.027Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-17T09:14:57.349Z] + make test [2020-04-17T09:14:57.349Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-17T09:14:59.881Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-04-17T09:15:08.150Z] Removing intermediate container a7495ff72a36 [2020-04-17T09:15:08.150Z] ---> 840d265becb3 [2020-04-17T09:15:08.150Z] Successfully built 840d265becb3 [2020-04-17T09:15:08.150Z] 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-17T09:15:08.933Z] + docker inspect -f . ci-base-image-arm64 [2020-04-17T09:15:09.202Z] . [Pipeline] withDockerContainer [2020-04-17T09:15:09.544Z] prd-ubuntu18.04-docker-arm64-4c-16g-4478 does not seem to be running inside a container [2020-04-17T09:15:09.626Z] $ 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-04-17T09:15:11.097Z] $ docker top 2e5da50b43ffec8193f9f28af92bb0c85016b574b4eca8d58c687dd0a0dbbbd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-17T09:15:12.149Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-04-17T09:15:12.209Z] + go version [2020-04-17T09:15:12.209Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-17T09:15:12.881Z] + make test [2020-04-17T09:15:12.881Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-17T09:15:14.304Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-04-17T09:15:53.244Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-04-17T09:15:58.869Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 45.314s coverage: 51.2% of statements [2020-04-17T09:15:58.869Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-17T09:16:00.267Z] gofmt -l . [2020-04-17T09:16:00.267Z] [ "`gofmt -l .`" = "" ] [2020-04-17T09:16:00.267Z] ./bin/test-attribution-txt.sh [2020-04-17T09:16:01.206Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-17T09:16:01.953Z] Stashed 1 file(s) [Pipeline] } [2020-04-17T09:16:01.972Z] $ docker stop --time=1 39f4c35808cce5a658c706c2c7541c4db3272e35c50e94104fd8d2371e7e975a [2020-04-17T09:16:03.554Z] $ docker rm -f 39f4c35808cce5a658c706c2c7541c4db3272e35c50e94104fd8d2371e7e975a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-17T09:16:04.983Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-17T09:16:05.291Z] + ls -al . [2020-04-17T09:16:05.291Z] total 112 [2020-04-17T09:16:05.291Z] drwxrwxr-x. 8 jenkins jenkins 4096 Apr 17 09:16 . [2020-04-17T09:16:05.291Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 17 09:14 .. [2020-04-17T09:16:05.291Z] -rw-rw-r--. 1 jenkins jenkins 6529 Apr 17 09:14 Attribution.txt [2020-04-17T09:16:05.291Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 17 09:14 bin [2020-04-17T09:16:05.291Z] drwxrwxr-x. 3 jenkins jenkins 55 Apr 17 09:14 cmd [2020-04-17T09:16:05.291Z] -rw-r--r--. 1 jenkins jenkins 32181 Apr 17 09:15 coverage.out [2020-04-17T09:16:05.291Z] -rw-rw-r--. 1 jenkins jenkins 1653 Apr 17 09:14 Dockerfile [2020-04-17T09:16:05.291Z] -rw-rw-r--. 1 jenkins jenkins 957 Apr 17 09:14 Dockerfile.build [2020-04-17T09:16:05.291Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 17 09:14 .git [2020-04-17T09:16:05.291Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 17 09:14 .github [2020-04-17T09:16:05.291Z] -rw-rw-r--. 1 jenkins jenkins 258 Apr 17 09:14 .gitignore [2020-04-17T09:16:05.291Z] -rw-r--r--. 1 jenkins jenkins 862 Apr 17 09:16 go.mod [2020-04-17T09:16:05.291Z] -rw-r--r--. 1 jenkins jenkins 14805 Apr 17 09:16 go.sum [2020-04-17T09:16:05.291Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 17 09:14 internal [2020-04-17T09:16:05.291Z] -rw-rw-r--. 1 jenkins jenkins 683 Apr 17 09:14 Jenkinsfile [2020-04-17T09:16:05.291Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 17 09:14 LICENSE [2020-04-17T09:16:05.291Z] -rw-rw-r--. 1 jenkins jenkins 873 Apr 17 09:14 Makefile [2020-04-17T09:16:05.291Z] -rw-rw-r--. 1 jenkins jenkins 4413 Apr 17 09:14 README.md [2020-04-17T09:16:05.291Z] drwxrwxr-x. 3 jenkins jenkins 57 Apr 17 09:14 .semver [2020-04-17T09:16:05.291Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 17 09:11 VERSION [2020-04-17T09:16:05.291Z] -rw-rw-r--. 1 jenkins jenkins 235 Apr 17 09:14 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-17T09:16:05.617Z] + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=8ddb3db34558da3ef33f906ea078b613fb03d527 --label arch=amd64 --label version=0.0.0 . [2020-04-17T09:16:05.875Z] Sending build context to Docker daemon 34.11MB [2020-04-17T09:16:05.875Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-17T09:16:05.875Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-17T09:16:05.875Z] ---> 4d22c6530e57 [2020-04-17T09:16:05.875Z] Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-04-17T09:16:06.135Z] ---> Running in 970873202ce0 [2020-04-17T09:16:06.135Z] Removing intermediate container 970873202ce0 [2020-04-17T09:16:06.135Z] ---> 56b6fc3dab4d [2020-04-17T09:16:06.135Z] Step 4/19 : ARG ALPINE_PKG_EXTRA="" [2020-04-17T09:16:06.135Z] ---> Running in daa3334821ac [2020-04-17T09:16:06.393Z] Removing intermediate container daa3334821ac [2020-04-17T09:16:06.393Z] ---> 8ca379b55130 [2020-04-17T09:16:06.393Z] Step 5/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IOTech' [2020-04-17T09:16:06.393Z] ---> Running in 3f7ec8d497da [2020-04-17T09:16:06.655Z] Removing intermediate container 3f7ec8d497da [2020-04-17T09:16:06.655Z] ---> 6c56e22aa793 [2020-04-17T09:16:06.655Z] Step 6/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T09:16:06.655Z] ---> Running in 766426b867b5 [2020-04-17T09:16:07.601Z] Removing intermediate container 766426b867b5 [2020-04-17T09:16:07.601Z] ---> 631911a643fa [2020-04-17T09:16:07.601Z] Step 7/19 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-17T09:16:07.601Z] ---> Running in 0e5fbdf689af [2020-04-17T09:16:07.861Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-17T09:16:08.428Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-17T09:16:08.686Z] OK: 214 MiB in 52 packages [2020-04-17T09:16:08.949Z] Removing intermediate container 0e5fbdf689af [2020-04-17T09:16:08.949Z] ---> 94f1aa30a731 [2020-04-17T09:16:08.949Z] Step 8/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-04-17T09:16:09.209Z] ---> Running in 8d82009e83fd [2020-04-17T09:16:09.209Z] Removing intermediate container 8d82009e83fd [2020-04-17T09:16:09.209Z] ---> 10cfa9afa124 [2020-04-17T09:16:09.209Z] Step 9/19 : COPY . . [2020-04-17T09:16:09.778Z] ---> 61c4d4444930 [2020-04-17T09:16:09.778Z] Step 10/19 : ARG MAKE='make build' [2020-04-17T09:16:10.039Z] ---> Running in 65cd71f0e0c0 [2020-04-17T09:16:10.039Z] Removing intermediate container 65cd71f0e0c0 [2020-04-17T09:16:10.039Z] ---> c324d1864902 [2020-04-17T09:16:10.039Z] Step 11/19 : RUN $MAKE [2020-04-17T09:16:10.298Z] ---> Running in 8c6692938d4a [2020-04-17T09:16:10.561Z] 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-17T09:16:22.878Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-17T09:16:24.257Z] Removing intermediate container 8c6692938d4a [2020-04-17T09:16:24.257Z] ---> 8a942a89facc [2020-04-17T09:16:24.257Z] Step 12/19 : FROM alpine [2020-04-17T09:16:24.519Z] latest: Pulling from library/alpine [2020-04-17T09:16:24.778Z] aad63a933944: Pulling fs layer [2020-04-17T09:16:24.778Z] aad63a933944: Verifying Checksum [2020-04-17T09:16:24.778Z] aad63a933944: Download complete [2020-04-17T09:16:25.037Z] aad63a933944: Pull complete [2020-04-17T09:16:25.037Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-04-17T09:16:25.037Z] Status: Downloaded newer image for alpine:latest [2020-04-17T09:16:25.037Z] ---> a187dde48cd2 [2020-04-17T09:16:25.037Z] Step 13/19 : ENV APP_PORT=49990 [2020-04-17T09:16:25.037Z] ---> Running in f619187b5fb4 [2020-04-17T09:16:25.295Z] Removing intermediate container f619187b5fb4 [2020-04-17T09:16:25.296Z] ---> 66d3461dd737 [2020-04-17T09:16:25.296Z] Step 14/19 : EXPOSE $APP_PORT [2020-04-17T09:16:25.296Z] ---> Running in 7f4b4eb455cb [2020-04-17T09:16:25.296Z] Removing intermediate container 7f4b4eb455cb [2020-04-17T09:16:25.296Z] ---> 4ca548a5df62 [2020-04-17T09:16:25.296Z] Step 15/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-04-17T09:16:25.868Z] ---> 7abad5c297d9 [2020-04-17T09:16:25.868Z] Step 16/19 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-17T09:16:25.868Z] ---> Running in 1e08ad7560d0 [2020-04-17T09:16:26.128Z] Removing intermediate container 1e08ad7560d0 [2020-04-17T09:16:26.128Z] ---> 1f30ff92e0bf [2020-04-17T09:16:26.128Z] Step 17/19 : LABEL arch=amd64 [2020-04-17T09:16:26.128Z] ---> Running in 83b5d4855d6e [2020-04-17T09:16:26.128Z] Removing intermediate container 83b5d4855d6e [2020-04-17T09:16:26.128Z] ---> a3d1c535aca0 [2020-04-17T09:16:26.128Z] Step 18/19 : LABEL git_sha=8ddb3db34558da3ef33f906ea078b613fb03d527 [2020-04-17T09:16:26.389Z] ---> Running in 7cd645103e7f [2020-04-17T09:16:26.389Z] Removing intermediate container 7cd645103e7f [2020-04-17T09:16:26.389Z] ---> fce5febe0380 [2020-04-17T09:16:26.389Z] Step 19/19 : LABEL version=0.0.0 [2020-04-17T09:16:26.389Z] ---> Running in fd4e774432ab [2020-04-17T09:16:26.648Z] Removing intermediate container fd4e774432ab [2020-04-17T09:16:26.648Z] ---> 80357f9b8fd7 [2020-04-17T09:16:26.648Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-17T09:16:26.648Z] Successfully built 80357f9b8fd7 [2020-04-17T09:16:26.648Z] 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-17T09:18:44.998Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 170.307s coverage: 51.2% of statements [2020-04-17T09:18:44.998Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-17T09:18:51.666Z] gofmt -l . [2020-04-17T09:18:51.666Z] [ "`gofmt -l .`" = "" ] [2020-04-17T09:18:51.666Z] ./bin/test-attribution-txt.sh [2020-04-17T09:18:51.666Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-17T09:18:52.282Z] Warning: overwriting stash ‘coverage-report’ [2020-04-17T09:18:52.677Z] Stashed 1 file(s) [Pipeline] } [2020-04-17T09:18:52.684Z] $ docker stop --time=1 2e5da50b43ffec8193f9f28af92bb0c85016b574b4eca8d58c687dd0a0dbbbd8 [2020-04-17T09:18:54.799Z] $ docker rm -f 2e5da50b43ffec8193f9f28af92bb0c85016b574b4eca8d58c687dd0a0dbbbd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-17T09:18:56.275Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-17T09:18:56.625Z] + ls -al . [2020-04-17T09:18:56.626Z] total 140 [2020-04-17T09:18:56.626Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 09:18 . [2020-04-17T09:18:56.626Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 09:13 .. [2020-04-17T09:18:56.626Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 09:13 .git [2020-04-17T09:18:56.626Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 09:13 .github [2020-04-17T09:18:56.626Z] -rw-rw-r-- 1 jenkins jenkins 258 Apr 17 09:13 .gitignore [2020-04-17T09:18:56.626Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 09:13 .semver [2020-04-17T09:18:56.626Z] -rw-rw-r-- 1 jenkins jenkins 6529 Apr 17 09:13 Attribution.txt [2020-04-17T09:18:56.626Z] -rw-rw-r-- 1 jenkins jenkins 1653 Apr 17 09:13 Dockerfile [2020-04-17T09:18:56.626Z] -rw-rw-r-- 1 jenkins jenkins 957 Apr 17 09:13 Dockerfile.build [2020-04-17T09:18:56.626Z] -rw-rw-r-- 1 jenkins jenkins 683 Apr 17 09:13 Jenkinsfile [2020-04-17T09:18:56.626Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 09:13 LICENSE [2020-04-17T09:18:56.626Z] -rw-rw-r-- 1 jenkins jenkins 873 Apr 17 09:13 Makefile [2020-04-17T09:18:56.626Z] -rw-rw-r-- 1 jenkins jenkins 4413 Apr 17 09:13 README.md [2020-04-17T09:18:56.626Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 09:11 VERSION [2020-04-17T09:18:56.626Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 09:13 bin [2020-04-17T09:18:56.626Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 09:13 cmd [2020-04-17T09:18:56.626Z] -rw-r--r-- 1 jenkins jenkins 32181 Apr 17 09:18 coverage.out [2020-04-17T09:18:56.626Z] -rw-r--r-- 1 jenkins jenkins 862 Apr 17 09:18 go.mod [2020-04-17T09:18:56.626Z] -rw-r--r-- 1 jenkins jenkins 14805 Apr 17 09:18 go.sum [2020-04-17T09:18:56.626Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 09:13 internal [2020-04-17T09:18:56.626Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 17 09:13 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-17T09:18:56.980Z] + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8ddb3db34558da3ef33f906ea078b613fb03d527 --label arch=arm64 --label version=0.0.0 . [2020-04-17T09:18:57.566Z] Sending build context to Docker daemon 34.11MB [2020-04-17T09:18:57.566Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-17T09:18:57.566Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-17T09:18:57.566Z] ---> 840d265becb3 [2020-04-17T09:18:57.566Z] Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-04-17T09:18:58.151Z] ---> Running in 21366d3c2e7c [2020-04-17T09:18:58.421Z] Removing intermediate container 21366d3c2e7c [2020-04-17T09:18:58.421Z] ---> d11465f48716 [2020-04-17T09:18:58.421Z] Step 4/19 : ARG ALPINE_PKG_EXTRA="" [2020-04-17T09:18:58.421Z] ---> Running in 52cc48bf562c [2020-04-17T09:18:59.007Z] Removing intermediate container 52cc48bf562c [2020-04-17T09:18:59.007Z] ---> dcbb216710c7 [2020-04-17T09:18:59.007Z] Step 5/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IOTech' [2020-04-17T09:18:59.007Z] ---> Running in 680e06372a94 [2020-04-17T09:18:59.276Z] Removing intermediate container 680e06372a94 [2020-04-17T09:18:59.276Z] ---> 9f02fcfeeada [2020-04-17T09:18:59.276Z] Step 6/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T09:18:59.544Z] ---> Running in 109159189c25 [2020-04-17T09:19:01.492Z] Removing intermediate container 109159189c25 [2020-04-17T09:19:01.492Z] ---> 18c511e7f0eb [2020-04-17T09:19:01.492Z] Step 7/19 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-17T09:19:01.492Z] ---> Running in 377a89ce9fba [2020-04-17T09:19:02.462Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-17T09:19:03.044Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-17T09:19:03.630Z] OK: 203 MiB in 52 packages [2020-04-17T09:19:04.592Z] Removing intermediate container 377a89ce9fba [2020-04-17T09:19:04.592Z] ---> 30bba08c056b [2020-04-17T09:19:04.592Z] Step 8/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-04-17T09:19:04.592Z] ---> Running in efadef407188 [2020-04-17T09:19:05.179Z] Removing intermediate container efadef407188 [2020-04-17T09:19:05.179Z] ---> 48f12407e3f4 [2020-04-17T09:19:05.179Z] Step 9/19 : COPY . . [2020-04-17T09:19:07.138Z] ---> bfbe61e5dc40 [2020-04-17T09:19:07.138Z] Step 10/19 : ARG MAKE='make build' [2020-04-17T09:19:07.138Z] ---> Running in 24d68f2a23e8 [2020-04-17T09:19:07.724Z] Removing intermediate container 24d68f2a23e8 [2020-04-17T09:19:07.724Z] ---> 3bf63580b519 [2020-04-17T09:19:07.724Z] Step 11/19 : RUN $MAKE [2020-04-17T09:19:07.724Z] ---> Running in 8be654c61c92 [2020-04-17T09:19:08.689Z] 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-17T09:19:40.951Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-17T09:19:49.170Z] Removing intermediate container 8be654c61c92 [2020-04-17T09:19:49.171Z] ---> d868de635942 [2020-04-17T09:19:49.171Z] Step 12/19 : FROM alpine [2020-04-17T09:19:49.437Z] latest: Pulling from library/alpine [2020-04-17T09:19:49.703Z] 8a0637ca1ac9: Pulling fs layer [2020-04-17T09:19:49.971Z] 8a0637ca1ac9: Verifying Checksum [2020-04-17T09:19:49.971Z] 8a0637ca1ac9: Download complete [2020-04-17T09:19:50.557Z] 8a0637ca1ac9: Pull complete [2020-04-17T09:19:50.557Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-04-17T09:19:50.557Z] Status: Downloaded newer image for alpine:latest [2020-04-17T09:19:50.557Z] ---> 2ee122dcc32d [2020-04-17T09:19:50.557Z] Step 13/19 : ENV APP_PORT=49990 [2020-04-17T09:19:50.825Z] ---> Running in 5b902f9ed588 [2020-04-17T09:19:51.094Z] Removing intermediate container 5b902f9ed588 [2020-04-17T09:19:51.094Z] ---> 093540b17bf2 [2020-04-17T09:19:51.094Z] Step 14/19 : EXPOSE $APP_PORT [2020-04-17T09:19:51.094Z] ---> Running in a9a84a7c9d3b [2020-04-17T09:19:51.680Z] Removing intermediate container a9a84a7c9d3b [2020-04-17T09:19:51.680Z] ---> 2d64d8e6378f [2020-04-17T09:19:51.680Z] Step 15/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-04-17T09:19:52.643Z] ---> a0d743738037 [2020-04-17T09:19:52.643Z] Step 16/19 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-17T09:19:52.910Z] ---> Running in fd9cecb193e2 [2020-04-17T09:19:53.178Z] Removing intermediate container fd9cecb193e2 [2020-04-17T09:19:53.178Z] ---> 69a97c34dd18 [2020-04-17T09:19:53.178Z] Step 17/19 : LABEL arch=arm64 [2020-04-17T09:19:53.178Z] ---> Running in 1eb313addfe1 [2020-04-17T09:19:53.763Z] Removing intermediate container 1eb313addfe1 [2020-04-17T09:19:53.763Z] ---> 8b28b55fa2ce [2020-04-17T09:19:53.763Z] Step 18/19 : LABEL git_sha=8ddb3db34558da3ef33f906ea078b613fb03d527 [2020-04-17T09:19:53.763Z] ---> Running in 37fb8744998d [2020-04-17T09:19:54.033Z] Removing intermediate container 37fb8744998d [2020-04-17T09:19:54.033Z] ---> af66ead11eec [2020-04-17T09:19:54.033Z] Step 19/19 : LABEL version=0.0.0 [2020-04-17T09:19:54.300Z] ---> Running in 7814a7e55581 [2020-04-17T09:19:54.567Z] Removing intermediate container 7814a7e55581 [2020-04-17T09:19:54.567Z] ---> 79def5bef1f5 [2020-04-17T09:19:54.567Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-17T09:19:54.567Z] Successfully built 79def5bef1f5 [2020-04-17T09:19:54.567Z] 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-17T09:19:56.217Z] provisioning config files... [2020-04-17T09:19:56.228Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/xfoundry_device-virtual-go_PR-94@tmp/config8497326631220656638tmp [Pipeline] { [Pipeline] sh [2020-04-17T09:19:56.612Z] + curl -s https://codecov.io/bash [2020-04-17T09:19:56.612Z] + bash -s - -t @/w/workspace/xfoundry_device-virtual-go_PR-94@tmp/config8497326631220656638tmp [2020-04-17T09:19:56.869Z] [2020-04-17T09:19:56.869Z] _____ _ [2020-04-17T09:19:56.869Z] / ____| | | [2020-04-17T09:19:56.869Z] | | ___ __| | ___ ___ _____ __ [2020-04-17T09:19:56.869Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-17T09:19:56.869Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-17T09:19:56.869Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-17T09:19:56.869Z] Bash-tbd [2020-04-17T09:19:56.869Z] [2020-04-17T09:19:56.869Z] [2020-04-17T09:19:56.869Z] ==> Jenkins CI detected. [2020-04-17T09:19:56.869Z] project root: . [2020-04-17T09:19:56.869Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-17T09:19:56.869Z] ==> Running gcov in . (disable via -X gcov) [2020-04-17T09:19:56.869Z] ==> Python coveragepy not found [2020-04-17T09:19:56.869Z] ==> Searching for coverage reports in: [2020-04-17T09:19:56.869Z] + . [2020-04-17T09:19:56.869Z] -> Found 1 reports [2020-04-17T09:19:56.869Z] ==> Detecting git/mercurial file structure [2020-04-17T09:19:56.869Z] ==> Reading reports [2020-04-17T09:19:56.869Z] + ./coverage.out bytes=32181 [2020-04-17T09:19:56.869Z] ==> Appending adjustments [2020-04-17T09:19:56.869Z] http://docs.codecov.io/docs/fixing-reports [2020-04-17T09:19:56.869Z] + Found adjustments [2020-04-17T09:19:56.869Z] ==> Gzipping contents [2020-04-17T09:19:56.869Z] ==> Uploading reports [2020-04-17T09:19:56.869Z] url: https://codecov.io [2020-04-17T09:19:56.869Z] query: branch=PR-94&commit=8ddb3db34558da3ef33f906ea078b613fb03d527&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=94&job= [2020-04-17T09:19:56.869Z] -> Pinging Codecov [2020-04-17T09:19:56.869Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-94&commit=8ddb3db34558da3ef33f906ea078b613fb03d527&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-94%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=94&job= [2020-04-17T09:19:57.436Z] -> Uploading [2020-04-17T09:19:58.005Z] -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8ddb3db34558da3ef33f906ea078b613fb03d527 [Pipeline] } [2020-04-17T09:19:58.021Z] 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-17T09:19:59.625Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T09:19:59.952Z] ---> package-listing.sh [2020-04-17T09:19:59.952Z] ++ facter osfamily [2020-04-17T09:19:59.952Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-17T09:19:59.952Z] + OS_FAMILY=redhat [2020-04-17T09:19:59.952Z] + workspace=/w/workspace/xfoundry_device-virtual-go_PR-94 [2020-04-17T09:19:59.952Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-17T09:19:59.952Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-17T09:19:59.952Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-17T09:19:59.952Z] + PACKAGES=/tmp/packages_start.txt [2020-04-17T09:19:59.952Z] + '[' /w/workspace/xfoundry_device-virtual-go_PR-94 ']' [2020-04-17T09:19:59.952Z] + PACKAGES=/tmp/packages_end.txt [2020-04-17T09:19:59.952Z] + case "${OS_FAMILY}" in [2020-04-17T09:19:59.952Z] + rpm -qa [2020-04-17T09:19:59.952Z] + sort [2020-04-17T09:20:04.140Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-17T09:20:04.140Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-17T09:20:04.140Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-17T09:20:04.140Z] + '[' /w/workspace/xfoundry_device-virtual-go_PR-94 ']' [2020-04-17T09:20:04.140Z] + mkdir -p /w/workspace/xfoundry_device-virtual-go_PR-94/archives/ [2020-04-17T09:20:04.140Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-virtual-go_PR-94/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-17T09:20:04.642Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-17T09:20:04.642Z] [2020-04-17T09:20:04.642Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-17T09:20:04.998Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-17T09:20:04.998Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-17T09:20:04.998Z] c9b1b535fdd9: Pulling fs layer [2020-04-17T09:20:04.998Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-17T09:20:04.998Z] 756a868c4378: Pulling fs layer [2020-04-17T09:20:04.998Z] 444b2fc9a129: Pulling fs layer [2020-04-17T09:20:04.998Z] ea15f1150254: Pulling fs layer [2020-04-17T09:20:04.998Z] 41b27a9f41bf: Pulling fs layer [2020-04-17T09:20:04.998Z] 28c525ee5125: Pulling fs layer [2020-04-17T09:20:04.998Z] 094b1ea09ed8: Pulling fs layer [2020-04-17T09:20:04.998Z] 138eaada9080: Pulling fs layer [2020-04-17T09:20:04.998Z] 0622d0fa9048: Pulling fs layer [2020-04-17T09:20:04.998Z] 41b27a9f41bf: Waiting [2020-04-17T09:20:04.998Z] 28c525ee5125: Waiting [2020-04-17T09:20:04.998Z] 094b1ea09ed8: Waiting [2020-04-17T09:20:04.998Z] 138eaada9080: Waiting [2020-04-17T09:20:04.998Z] 0622d0fa9048: Waiting [2020-04-17T09:20:04.998Z] 444b2fc9a129: Waiting [2020-04-17T09:20:04.998Z] ea15f1150254: Waiting [2020-04-17T09:20:04.998Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-17T09:20:04.998Z] 2cc5ad85d9ab: Download complete [2020-04-17T09:20:04.998Z] 444b2fc9a129: Verifying Checksum [2020-04-17T09:20:04.998Z] 444b2fc9a129: Download complete [2020-04-17T09:20:04.998Z] c9b1b535fdd9: Verifying Checksum [2020-04-17T09:20:04.998Z] c9b1b535fdd9: Download complete [2020-04-17T09:20:05.262Z] ea15f1150254: Verifying Checksum [2020-04-17T09:20:05.262Z] ea15f1150254: Download complete [2020-04-17T09:20:05.262Z] 28c525ee5125: Verifying Checksum [2020-04-17T09:20:05.262Z] 28c525ee5125: Download complete [2020-04-17T09:20:05.524Z] 756a868c4378: Verifying Checksum [2020-04-17T09:20:05.524Z] 756a868c4378: Download complete [2020-04-17T09:20:05.524Z] c9b1b535fdd9: Pull complete [2020-04-17T09:20:05.524Z] 138eaada9080: Verifying Checksum [2020-04-17T09:20:05.524Z] 138eaada9080: Download complete [2020-04-17T09:20:05.524Z] 0622d0fa9048: Verifying Checksum [2020-04-17T09:20:05.524Z] 0622d0fa9048: Download complete [2020-04-17T09:20:05.789Z] 094b1ea09ed8: Verifying Checksum [2020-04-17T09:20:05.789Z] 094b1ea09ed8: Download complete [2020-04-17T09:20:05.789Z] 2cc5ad85d9ab: Pull complete [2020-04-17T09:20:06.052Z] 41b27a9f41bf: Verifying Checksum [2020-04-17T09:20:06.052Z] 41b27a9f41bf: Download complete [2020-04-17T09:20:06.990Z] 756a868c4378: Pull complete [2020-04-17T09:20:06.990Z] 444b2fc9a129: Pull complete [2020-04-17T09:20:07.942Z] ea15f1150254: Pull complete [2020-04-17T09:20:10.488Z] 41b27a9f41bf: Pull complete [2020-04-17T09:20:10.756Z] 28c525ee5125: Pull complete [2020-04-17T09:20:12.671Z] 094b1ea09ed8: Pull complete [2020-04-17T09:20:12.933Z] 138eaada9080: Pull complete [2020-04-17T09:20:13.194Z] 0622d0fa9048: Pull complete [2020-04-17T09:20:13.194Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-17T09:20:13.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-17T09:20:13.389Z] prd-centos7-docker-4c-2g-4477 does not seem to be running inside a container [2020-04-17T09:20:13.426Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-virtual-go_PR-94 -v /w/workspace/xfoundry_device-virtual-go_PR-94:/w/workspace/xfoundry_device-virtual-go_PR-94:rw,z -v /w/workspace/xfoundry_device-virtual-go_PR-94@tmp:/w/workspace/xfoundry_device-virtual-go_PR-94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-17T09:20:13.951Z] $ docker top 99e52d48112e5d71ed9bad64870daa31467d7c7c5b7dc4cd7c649754a47e3380 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-17T09:20:14.243Z] provisioning config files... [2020-04-17T09:20:14.256Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-virtual-go_PR-94@tmp/config908911100266257177tmp [Pipeline] { [Pipeline] echo [2020-04-17T09:20:14.345Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T09:20:14.666Z] ---> create-netrc.sh [Pipeline] echo [2020-04-17T09:20:14.689Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T09:20:15.011Z] ---> logs-deploy.sh [2020-04-17T09:20:15.011Z] + ARCHIVE_ARTIFACTS= [2020-04-17T09:20:15.011Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-17T09:20:15.011Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-17T09:20:15.011Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-17T09:20:15.011Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-94/1 [2020-04-17T09:20:15.011Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-94/1/ [2020-04-17T09:20:15.011Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-94/1 /w/workspace/xfoundry_device-virtual-go_PR-94 [2020-04-17T09:20:15.948Z] Archives upload complete. [2020-04-17T09:20:16.206Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-94/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-94/1/ [2020-04-17T09:20:16.774Z] ---> uname -a: [2020-04-17T09:20:16.774Z] Linux 99e52d48112e 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-04-17T09:20:16.774Z] [2020-04-17T09:20:16.774Z]