Pull request #96 updated 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 26c67eb8412f6636996969c1d91d1fdce6984c18 rather than 09b2d40c90f8bad06445742437a85434e8cf7f1f Obtained Jenkinsfile from 26c67eb8412f6636996969c1d91d1fdce6984c18 Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 [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-5149 in /w/workspace/xfoundry_device-virtual-go_PR-96 [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-96 # 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/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/96/head:refs/remotes/origin/PR-96 # 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/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 26c67eb8412f6636996969c1d91d1fdce6984c18 into PR head commit 09b2d40c90f8bad06445742437a85434e8cf7f1f Merge succeeded, producing 09b2d40c90f8bad06445742437a85434e8cf7f1f Checking out Revision 09b2d40c90f8bad06445742437a85434e8cf7f1f (PR-96) > git config core.sparsecheckout # timeout=10 > git checkout -f 09b2d40c90f8bad06445742437a85434e8cf7f1f # 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 26c67eb8412f6636996969c1d91d1fdce6984c18 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09b2d40c90f8bad06445742437a85434e8cf7f1f # timeout=10 Commit message: "Upgrade SDK version and Dockerfile" First time build. Skipping changelog. > git rev-list --no-walk 32f51dbd61b47cdc40182fb9879dff2680cde7dc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-21T05:52:50.443Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-21T05:52:50.658Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-21T05:52:50.726Z] ========================================================= [2020-04-21T05:52:50.726Z] EdgeX Global Pipelines Version Info [2020-04-21T05:52:50.726Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-21T05:52:56.000Z] ------------------- [2020-04-21T05:52:56.000Z] stable info: [2020-04-21T05:52:56.000Z] ------------------- [2020-04-21T05:52:56.000Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-21T05:52:56.000Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T05:52:56.000Z] Message: update stable to v1.0.73 [2020-04-21T05:52:57.599Z] ------------------- [2020-04-21T05:52:57.599Z] experimental info: [2020-04-21T05:52:57.599Z] ------------------- [2020-04-21T05:52:57.599Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-21T05:52:57.599Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T05:52:57.599Z] 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-21T05:52:59.816Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T05:53:00.086Z] [2020-04-21T05:53:00.087Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-21T05:53:00.587Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T05:53:01.460Z] latest: Pulling from edgex-devops/git-semver [2020-04-21T05:53:01.460Z] 9123ac7c32f7: Pulling fs layer [2020-04-21T05:53:01.460Z] b8cc5d1170e3: Pulling fs layer [2020-04-21T05:53:01.460Z] 2924cbbf6a41: Pulling fs layer [2020-04-21T05:53:01.460Z] 93b08a4f1073: Pulling fs layer [2020-04-21T05:53:01.460Z] 93b08a4f1073: Waiting [2020-04-21T05:53:01.460Z] b8cc5d1170e3: Verifying Checksum [2020-04-21T05:53:01.460Z] b8cc5d1170e3: Download complete [2020-04-21T05:53:01.870Z] 9123ac7c32f7: Verifying Checksum [2020-04-21T05:53:01.870Z] 9123ac7c32f7: Download complete [2020-04-21T05:53:02.272Z] 93b08a4f1073: Verifying Checksum [2020-04-21T05:53:02.272Z] 93b08a4f1073: Download complete [2020-04-21T05:53:02.272Z] 2924cbbf6a41: Verifying Checksum [2020-04-21T05:53:02.272Z] 2924cbbf6a41: Download complete [2020-04-21T05:53:03.295Z] 9123ac7c32f7: Pull complete [2020-04-21T05:53:03.603Z] b8cc5d1170e3: Pull complete [2020-04-21T05:53:05.871Z] 2924cbbf6a41: Pull complete [2020-04-21T05:53:05.871Z] 93b08a4f1073: Pull complete [2020-04-21T05:53:05.871Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-21T05:53:06.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-21T05:53:06.877Z] prd-centos7-docker-4c-2g-5149 does not seem to be running inside a container [2020-04-21T05:53:07.414Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-virtual-go_PR-96 -v /w/workspace/xfoundry_device-virtual-go_PR-96:/w/workspace/xfoundry_device-virtual-go_PR-96:rw,z -v /w/workspace/xfoundry_device-virtual-go_PR-96@tmp:/w/workspace/xfoundry_device-virtual-go_PR-96@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-21T05:53:08.570Z] $ docker top 1b13f7ec62bf06fcd0feb502bdb2de59ae6619e45a37cd9e5621668cfd5f62d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T05:53:08.906Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T05:53:08.906Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T05:53:10.065Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T05:53:10.071Z] $ docker exec 1b13f7ec62bf06fcd0feb502bdb2de59ae6619e45a37cd9e5621668cfd5f62d4 ssh-agent [2020-04-21T05:53:10.584Z] SSH_AUTH_SOCK=/tmp/ssh-zSI88oMOS8PH/agent.15 [2020-04-21T05:53:10.584Z] SSH_AGENT_PID=22 [2020-04-21T05:53:10.609Z] Running ssh-add (command line suppressed) [2020-04-21T05:53:11.297Z] Identity added: /w/workspace/xfoundry_device-virtual-go_PR-96@tmp/private_key_7860598975871961873.key (/w/workspace/xfoundry_device-virtual-go_PR-96@tmp/private_key_7860598975871961873.key) [2020-04-21T05:53:11.603Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T05:53:12.446Z] + git describe --exact-match --tags HEAD [2020-04-21T05:53:12.446Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-21T05:53:12.563Z] $ docker exec --env ******** --env ******** 1b13f7ec62bf06fcd0feb502bdb2de59ae6619e45a37cd9e5621668cfd5f62d4 ssh-agent -k [2020-04-21T05:53:13.108Z] unset SSH_AUTH_SOCK; [2020-04-21T05:53:13.109Z] unset SSH_AGENT_PID; [2020-04-21T05:53:13.109Z] echo Agent pid 22 killed; [2020-04-21T05:53:13.245Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-21T05:53:13.309Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-21T05:53:13.309Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-21T05:53:13.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T05:53:13.383Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T05:53:13.982Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T05:53:13.984Z] $ docker exec 1b13f7ec62bf06fcd0feb502bdb2de59ae6619e45a37cd9e5621668cfd5f62d4 ssh-agent [2020-04-21T05:53:14.309Z] SSH_AUTH_SOCK=/tmp/ssh-s1wEWCvCEASa/agent.58 [2020-04-21T05:53:14.309Z] SSH_AGENT_PID=65 [2020-04-21T05:53:14.332Z] Running ssh-add (command line suppressed) [2020-04-21T05:53:14.567Z] Identity added: /w/workspace/xfoundry_device-virtual-go_PR-96@tmp/private_key_4190419755162361456.key (/w/workspace/xfoundry_device-virtual-go_PR-96@tmp/private_key_4190419755162361456.key) [2020-04-21T05:53:14.695Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T05:53:15.521Z] + git semver init [2020-04-21T05:53:15.521Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T05:53:15.521Z] # $GIT_DIR = /w/workspace/xfoundry_device-virtual-go_PR-96/.git [2020-04-21T05:53:15.521Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-virtual-go_PR-96 [2020-04-21T05:53:15.521Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T05:53:15.521Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T05:53:15.521Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T05:53:15.521Z] # $SEMVER_BRANCH = PR-96 [2020-04-21T05:53:15.521Z] # $SEMVER_TEMP = /tmp/semver-168593186 [2020-04-21T05:53:15.521Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-04-21T05:53:16.682Z] # '/tmp/semver-168593186' -> '/w/workspace/xfoundry_device-virtual-go_PR-96/.semver' [2020-04-21T05:53:16.682Z] # -> Force: false [2020-04-21T05:53:16.682Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-virtual-go_PR-96/.semver [Pipeline] } [2020-04-21T05:53:16.717Z] $ docker exec --env ******** --env ******** 1b13f7ec62bf06fcd0feb502bdb2de59ae6619e45a37cd9e5621668cfd5f62d4 ssh-agent -k [2020-04-21T05:53:17.443Z] unset SSH_AUTH_SOCK; [2020-04-21T05:53:17.444Z] unset SSH_AGENT_PID; [2020-04-21T05:53:17.444Z] echo Agent pid 65 killed; [2020-04-21T05:53:17.580Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T05:53:18.165Z] + git semver [Pipeline] } [2020-04-21T05:53:18.236Z] $ docker stop --time=1 1b13f7ec62bf06fcd0feb502bdb2de59ae6619e45a37cd9e5621668cfd5f62d4 [2020-04-21T05:53:20.095Z] $ docker rm -f 1b13f7ec62bf06fcd0feb502bdb2de59ae6619e45a37cd9e5621668cfd5f62d4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-21T05:53:21.452Z] Stashed 24 file(s) [Pipeline] echo [2020-04-21T05:53:21.454Z] [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-21T05:53:37.169Z] Still waiting to schedule task [2020-04-21T05:53:37.169Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-21T05:53:37.170Z] Still waiting to schedule task [2020-04-21T05:53:37.170Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-5133’ [2020-04-21T05:55:43.493Z] Running on prd-centos7-docker-4c-2g-5150 in /w/workspace/xfoundry_device-virtual-go_PR-96 [Pipeline] { [Pipeline] ws [2020-04-21T05:55:43.530Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2020-04-21T05:55:45.712Z] using credential edgex-jenkins-ssh [2020-04-21T05:55:45.791Z] Cloning the remote Git repository [2020-04-21T05:55:45.791Z] Cloning with configured refspecs honoured and without tags [2020-04-21T05:55:45.227Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-04-21T05:55:45.267Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2020-04-21T05:55:45.320Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-04-21T05:55:45.321Z] > git --version # timeout=10 [2020-04-21T05:55:45.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T05:55:46.451Z] Fetching without tags [2020-04-21T05:55:46.811Z] Merging remotes/origin/master commit 26c67eb8412f6636996969c1d91d1fdce6984c18 into PR head commit 09b2d40c90f8bad06445742437a85434e8cf7f1f [2020-04-21T05:55:46.887Z] Merge succeeded, producing 09b2d40c90f8bad06445742437a85434e8cf7f1f [2020-04-21T05:55:46.887Z] Checking out Revision 09b2d40c90f8bad06445742437a85434e8cf7f1f (PR-96) [2020-04-21T05:55:45.384Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T05:55:45.884Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-04-21T05:55:45.890Z] > git config --add remote.origin.fetch +refs/pull/96/head:refs/remotes/origin/PR-96 # timeout=10 [2020-04-21T05:55:45.896Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T05:55:45.909Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-04-21T05:55:45.924Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-04-21T05:55:45.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T05:55:45.928Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T05:55:46.314Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T05:55:46.322Z] > git checkout -f 09b2d40c90f8bad06445742437a85434e8cf7f1f # timeout=10 [2020-04-21T05:55:46.355Z] > git remote # timeout=10 [2020-04-21T05:55:46.361Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T05:55:46.366Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T05:55:46.370Z] > git merge 26c67eb8412f6636996969c1d91d1fdce6984c18 # timeout=10 [2020-04-21T05:55:46.381Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T05:55:46.390Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T05:55:46.394Z] > git checkout -f 09b2d40c90f8bad06445742437a85434e8cf7f1f # timeout=10 [2020-04-21T05:55:50.387Z] Commit message: "Upgrade SDK version and Dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T05:55:51.165Z] ========================================================= [2020-04-21T05:55:51.165Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-21T05:55:51.165Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T05:55:51.804Z] + 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-21T05:55:51.804Z] Sending build context to Docker daemon 482.8kB [2020-04-21T05:55:51.804Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T05:55:51.804Z] Step 2/8 : FROM ${BASE} [2020-04-21T05:55:52.066Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-21T05:55:52.066Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T05:55:52.066Z] 2848faf0eed1: Pulling fs layer [2020-04-21T05:55:52.066Z] 0f37312ad70f: Pulling fs layer [2020-04-21T05:55:52.067Z] 5788d62ee057: Pulling fs layer [2020-04-21T05:55:52.067Z] 0e6b1d234666: Pulling fs layer [2020-04-21T05:55:52.067Z] bf5d7aec512f: Pulling fs layer [2020-04-21T05:55:52.067Z] 34c802a77dc8: Pulling fs layer [2020-04-21T05:55:52.067Z] 9eb99e56ec68: Pulling fs layer [2020-04-21T05:55:52.067Z] 27c7a5d97fbd: Pulling fs layer [2020-04-21T05:55:52.067Z] 5c102a31e300: Pulling fs layer [2020-04-21T05:55:52.067Z] dcfb455df0a1: Pulling fs layer [2020-04-21T05:55:52.067Z] 5788d62ee057: Waiting [2020-04-21T05:55:52.067Z] 0e6b1d234666: Waiting [2020-04-21T05:55:52.067Z] bf5d7aec512f: Waiting [2020-04-21T05:55:52.067Z] 34c802a77dc8: Waiting [2020-04-21T05:55:52.067Z] 9eb99e56ec68: Waiting [2020-04-21T05:55:52.067Z] dcfb455df0a1: Waiting [2020-04-21T05:55:52.067Z] 27c7a5d97fbd: Waiting [2020-04-21T05:55:52.067Z] 5c102a31e300: Waiting [2020-04-21T05:55:52.067Z] 0f37312ad70f: Verifying Checksum [2020-04-21T05:55:52.067Z] 0f37312ad70f: Download complete [2020-04-21T05:55:52.067Z] 2848faf0eed1: Download complete [2020-04-21T05:55:52.067Z] 0e6b1d234666: Verifying Checksum [2020-04-21T05:55:52.067Z] 0e6b1d234666: Download complete [2020-04-21T05:55:52.067Z] bf5d7aec512f: Verifying Checksum [2020-04-21T05:55:52.067Z] bf5d7aec512f: Download complete [2020-04-21T05:55:52.067Z] e6b0cf9c0882: Verifying Checksum [2020-04-21T05:55:52.067Z] e6b0cf9c0882: Download complete [2020-04-21T05:55:52.334Z] e6b0cf9c0882: Pull complete [2020-04-21T05:55:52.605Z] 2848faf0eed1: Pull complete [2020-04-21T05:55:52.890Z] 34c802a77dc8: Verifying Checksum [2020-04-21T05:55:52.890Z] 34c802a77dc8: Download complete [2020-04-21T05:55:52.890Z] 27c7a5d97fbd: Verifying Checksum [2020-04-21T05:55:52.890Z] 27c7a5d97fbd: Download complete [2020-04-21T05:55:53.469Z] 5c102a31e300: Verifying Checksum [2020-04-21T05:55:53.469Z] 5c102a31e300: Download complete [2020-04-21T05:55:53.469Z] dcfb455df0a1: Verifying Checksum [2020-04-21T05:55:53.469Z] dcfb455df0a1: Download complete [2020-04-21T05:55:53.734Z] 0f37312ad70f: Pull complete [2020-04-21T05:55:53.734Z] 9eb99e56ec68: Verifying Checksum [2020-04-21T05:55:53.734Z] 9eb99e56ec68: Download complete [2020-04-21T05:55:53.995Z] 5788d62ee057: Download complete [2020-04-21T05:55:59.320Z] 5788d62ee057: Pull complete [2020-04-21T05:55:59.320Z] 0e6b1d234666: Pull complete [2020-04-21T05:55:59.320Z] bf5d7aec512f: Pull complete [2020-04-21T05:56:04.601Z] 34c802a77dc8: Pull complete [2020-04-21T05:56:07.151Z] 9eb99e56ec68: Pull complete [2020-04-21T05:56:07.151Z] 27c7a5d97fbd: Pull complete [2020-04-21T05:56:07.725Z] 5c102a31e300: Pull complete [2020-04-21T05:56:07.725Z] dcfb455df0a1: Pull complete [2020-04-21T05:56:07.725Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-21T05:56:07.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-21T05:56:07.725Z] ---> 7c70fe431013 [2020-04-21T05:56:07.725Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-21T05:56:07.985Z] ---> Running in e08cb885a331 [2020-04-21T05:56:07.985Z] Removing intermediate container e08cb885a331 [2020-04-21T05:56:07.985Z] ---> fd8ed45960db [2020-04-21T05:56:07.985Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T05:56:08.246Z] ---> Running in ef024bb31874 [2020-04-21T05:56:09.186Z] Removing intermediate container ef024bb31874 [2020-04-21T05:56:09.186Z] ---> d3d785d32aa0 [2020-04-21T05:56:09.186Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T05:56:09.186Z] ---> Running in 03ff3d753cda [2020-04-21T05:56:09.753Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T05:56:11.132Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T05:56:12.068Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:56:12.635Z] (2/17) Installing libmagic (5.37-r1) [2020-04-21T05:56:12.895Z] (3/17) Installing file (5.37-r1) [2020-04-21T05:56:12.895Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:56:12.895Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:56:13.154Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:56:39.710Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-21T05:56:39.710Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-21T05:56:51.930Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-21T05:56:51.930Z] (10/17) Installing build-base (0.5-r1) [2020-04-21T05:56:52.189Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-21T05:56:52.189Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-21T05:56:52.447Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-21T05:56:53.383Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-21T05:56:53.383Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-21T05:56:53.383Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-21T05:56:53.641Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-21T05:56:53.641Z] Executing busybox-1.31.1-r8.trigger [2020-04-21T05:56:53.900Z] OK: 214 MiB in 52 packages [2020-04-21T05:56:56.443Z] Removing intermediate container 03ff3d753cda [2020-04-21T05:56:56.443Z] ---> 25876fbd1bc2 [2020-04-21T05:56:56.443Z] Step 6/8 : WORKDIR /device-virtual-go [2020-04-21T05:56:56.703Z] ---> Running in af401e63a834 [2020-04-21T05:56:56.703Z] Removing intermediate container af401e63a834 [2020-04-21T05:56:56.703Z] ---> c44e8ff063fe [2020-04-21T05:56:56.703Z] Step 7/8 : COPY . . [2020-04-21T05:56:56.962Z] ---> 2287cbd71ef2 [2020-04-21T05:56:56.962Z] Step 8/8 : RUN go mod download [2020-04-21T05:56:57.221Z] ---> Running in d99999d3d080 [2020-04-21T05:56:59.125Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T05:56:59.125Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T05:56:59.125Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T05:56:59.125Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T05:56:59.125Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T05:56:59.125Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T05:56:59.125Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T05:56:59.125Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T05:56:59.125Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T05:56:59.125Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T05:56:59.125Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T05:56:59.125Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T05:56:59.125Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T05:56:59.125Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T05:56:59.125Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-04-21T05:56:59.125Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T05:56:59.125Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T05:56:59.125Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T05:56:59.125Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T05:56:59.125Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T05:56:59.125Z] go: finding github.com/golang/snappy v0.0.1 [2020-04-21T05:56:59.125Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T05:56:59.125Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T05:56:59.125Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T05:56:59.125Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T05:56:59.125Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T05:56:59.125Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T05:56:59.125Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T05:56:59.125Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T05:56:59.125Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T05:56:59.125Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T05:56:59.125Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T05:56:59.125Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T05:56:59.125Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T05:56:59.125Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T05:56:59.125Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T05:56:59.125Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T05:56:59.125Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T05:56:59.126Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T05:56:59.126Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T05:56:59.126Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T05:56:59.126Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T05:56:59.126Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T05:56:59.126Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T05:56:59.386Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T05:56:59.386Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T05:56:59.386Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T05:56:59.386Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T05:56:59.386Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T05:56:59.386Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T05:56:59.386Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T05:56:59.386Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T05:56:59.386Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T05:56:59.386Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T05:56:59.386Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T05:56:59.386Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T05:56:59.386Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T05:56:59.386Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T05:56:59.386Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T05:56:59.386Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-04-21T05:56:59.386Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T05:56:59.650Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T05:56:59.650Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T05:56:59.650Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T05:56:59.650Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T05:56:59.650Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T05:56:59.650Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T05:56:59.650Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T05:56:59.650Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T05:56:59.650Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-04-21T05:56:59.650Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T05:56:59.650Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T05:56:59.650Z] go: finding modernc.org/b v1.0.0 [2020-04-21T05:56:59.650Z] go: finding modernc.org/db v1.0.0 [2020-04-21T05:56:59.650Z] go: finding modernc.org/file v1.0.0 [2020-04-21T05:56:59.650Z] go: finding modernc.org/fileutil v1.0.0 [2020-04-21T05:56:59.650Z] go: finding modernc.org/golex v1.0.0 [2020-04-21T05:56:59.650Z] go: finding modernc.org/internal v1.0.0 [2020-04-21T05:56:59.650Z] go: finding modernc.org/lldb v1.0.0 [2020-04-21T05:56:59.650Z] go: finding modernc.org/mathutil v1.0.0 [2020-04-21T05:56:59.650Z] go: finding modernc.org/ql v1.0.0 [2020-04-21T05:56:59.650Z] go: finding modernc.org/sortutil v1.0.0 [2020-04-21T05:56:59.650Z] go: finding modernc.org/strutil v1.0.0 [2020-04-21T05:56:59.650Z] go: finding modernc.org/zappy v1.0.0 [2020-04-21T05:57:04.935Z] Removing intermediate container d99999d3d080 [2020-04-21T05:57:04.935Z] ---> be26494f3ed8 [2020-04-21T05:57:04.935Z] Successfully built be26494f3ed8 [2020-04-21T05:57:04.935Z] 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-21T05:57:05.533Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-21T05:57:05.533Z] . [Pipeline] withDockerContainer [2020-04-21T05:57:05.651Z] prd-centos7-docker-4c-2g-5150 does not seem to be running inside a container [2020-04-21T05:57:05.699Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** ci-base-image-x86_64 cat [2020-04-21T05:57:06.336Z] $ docker top 3f3fdec813232fc035d830fb29fc501c727260f66c7676c8db5f45e6a6ea0a8c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T05:57:06.930Z] + go version [2020-04-21T05:57:06.930Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-21T05:57:07.224Z] + make test [2020-04-21T05:57:07.224Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-21T05:57:08.608Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-04-21T05:57:23.562Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-04-21T05:57:25.696Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5151 in /w/workspace/xfoundry_device-virtual-go_PR-96 [Pipeline] { [Pipeline] ws [2020-04-21T05:57:25.749Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2020-04-21T05:57:32.273Z] using credential edgex-jenkins-ssh [2020-04-21T05:57:32.323Z] Cloning the remote Git repository [2020-04-21T05:57:32.323Z] Cloning with configured refspecs honoured and without tags [2020-04-21T05:57:33.533Z] Fetching without tags [2020-04-21T05:57:32.401Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-04-21T05:57:32.488Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2020-04-21T05:57:32.626Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-04-21T05:57:32.629Z] > git --version # timeout=10 [2020-04-21T05:57:32.666Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T05:57:32.757Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T05:57:33.396Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-04-21T05:57:33.429Z] > git config --add remote.origin.fetch +refs/pull/96/head:refs/remotes/origin/PR-96 # timeout=10 [2020-04-21T05:57:33.464Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T05:57:33.507Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-04-21T05:57:33.567Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-04-21T05:57:33.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T05:57:34.072Z] Merging remotes/origin/master commit 26c67eb8412f6636996969c1d91d1fdce6984c18 into PR head commit 09b2d40c90f8bad06445742437a85434e8cf7f1f [2020-04-21T05:57:34.524Z] Merge succeeded, producing 09b2d40c90f8bad06445742437a85434e8cf7f1f [2020-04-21T05:57:34.524Z] Checking out Revision 09b2d40c90f8bad06445742437a85434e8cf7f1f (PR-96) [2020-04-21T05:57:33.593Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/96/head:refs/remotes/origin/PR-96 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T05:57:34.106Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T05:57:34.160Z] > git checkout -f 09b2d40c90f8bad06445742437a85434e8cf7f1f # timeout=10 [2020-04-21T05:57:34.249Z] > git remote # timeout=10 [2020-04-21T05:57:34.304Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T05:57:34.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T05:57:34.347Z] > git merge 26c67eb8412f6636996969c1d91d1fdce6984c18 # timeout=10 [2020-04-21T05:57:34.454Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T05:57:34.541Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T05:57:34.603Z] > git checkout -f 09b2d40c90f8bad06445742437a85434e8cf7f1f # timeout=10 [2020-04-21T05:57:39.548Z] Commit message: "Upgrade SDK version and Dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T05:57:40.701Z] ========================================================= [2020-04-21T05:57:40.702Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-21T05:57:40.702Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T05:57:42.069Z] + 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-21T05:57:43.057Z] Sending build context to Docker daemon 482.8kB [2020-04-21T05:57:43.057Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T05:57:43.057Z] Step 2/8 : FROM ${BASE} [2020-04-21T05:57:43.661Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-21T05:57:43.661Z] cde5963f3b93: Pulling fs layer [2020-04-21T05:57:43.661Z] 2a23fa8c16f7: Pulling fs layer [2020-04-21T05:57:43.661Z] 777b28850792: Pulling fs layer [2020-04-21T05:57:43.661Z] 8a11ddd9e578: Pulling fs layer [2020-04-21T05:57:43.661Z] 4cf88f913ddb: Pulling fs layer [2020-04-21T05:57:43.661Z] 1df406cf5192: Pulling fs layer [2020-04-21T05:57:43.661Z] cd6300453558: Pulling fs layer [2020-04-21T05:57:43.661Z] b9c365052c96: Pulling fs layer [2020-04-21T05:57:43.661Z] a2d8cc88f415: Pulling fs layer [2020-04-21T05:57:43.661Z] ea1d1ca13537: Pulling fs layer [2020-04-21T05:57:43.661Z] 3750a50a1c5e: Pulling fs layer [2020-04-21T05:57:43.661Z] 8a11ddd9e578: Waiting [2020-04-21T05:57:43.661Z] 4cf88f913ddb: Waiting [2020-04-21T05:57:43.661Z] 1df406cf5192: Waiting [2020-04-21T05:57:43.661Z] cd6300453558: Waiting [2020-04-21T05:57:43.661Z] b9c365052c96: Waiting [2020-04-21T05:57:43.661Z] a2d8cc88f415: Waiting [2020-04-21T05:57:43.661Z] ea1d1ca13537: Waiting [2020-04-21T05:57:43.661Z] 3750a50a1c5e: Waiting [2020-04-21T05:57:43.661Z] 777b28850792: Verifying Checksum [2020-04-21T05:57:43.661Z] 777b28850792: Download complete [2020-04-21T05:57:43.661Z] 2a23fa8c16f7: Verifying Checksum [2020-04-21T05:57:43.661Z] 2a23fa8c16f7: Download complete [2020-04-21T05:57:43.661Z] 4cf88f913ddb: Verifying Checksum [2020-04-21T05:57:43.661Z] 4cf88f913ddb: Download complete [2020-04-21T05:57:43.661Z] 1df406cf5192: Verifying Checksum [2020-04-21T05:57:43.661Z] 1df406cf5192: Download complete [2020-04-21T05:57:43.931Z] cde5963f3b93: Verifying Checksum [2020-04-21T05:57:43.931Z] cde5963f3b93: Download complete [2020-04-21T05:57:44.906Z] cde5963f3b93: Pull complete [2020-04-21T05:57:45.496Z] 2a23fa8c16f7: Pull complete [2020-04-21T05:57:46.106Z] 777b28850792: Pull complete [2020-04-21T05:57:48.707Z] cd6300453558: Verifying Checksum [2020-04-21T05:57:48.707Z] cd6300453558: Download complete [2020-04-21T05:57:48.707Z] a2d8cc88f415: Verifying Checksum [2020-04-21T05:57:48.707Z] a2d8cc88f415: Download complete [2020-04-21T05:57:51.315Z] ea1d1ca13537: Verifying Checksum [2020-04-21T05:57:51.315Z] ea1d1ca13537: Download complete [2020-04-21T05:57:51.315Z] 3750a50a1c5e: Verifying Checksum [2020-04-21T05:57:51.315Z] 3750a50a1c5e: Download complete [2020-04-21T05:57:54.674Z] b9c365052c96: Verifying Checksum [2020-04-21T05:57:54.674Z] b9c365052c96: Download complete [2020-04-21T05:57:55.259Z] 8a11ddd9e578: Verifying Checksum [2020-04-21T05:57:55.259Z] 8a11ddd9e578: Download complete [2020-04-21T05:58:07.609Z] 8a11ddd9e578: Pull complete [2020-04-21T05:58:07.609Z] 4cf88f913ddb: Pull complete [2020-04-21T05:58:07.609Z] 1df406cf5192: Pull complete [2020-04-21T05:58:12.357Z] cd6300453558: Pull complete [2020-04-21T05:58:16.635Z] b9c365052c96: Pull complete [2020-04-21T05:58:16.635Z] a2d8cc88f415: Pull complete [2020-04-21T05:58:19.260Z] ea1d1ca13537: Pull complete [2020-04-21T05:58:19.260Z] 3750a50a1c5e: Pull complete [2020-04-21T05:58:19.260Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-21T05:58:19.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-21T05:58:19.260Z] ---> 78745c68409d [2020-04-21T05:58:19.260Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-21T05:58:19.829Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 48.643s coverage: 51.2% of statements [2020-04-21T05:58:19.829Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T05:58:19.829Z] gofmt -l . [2020-04-21T05:58:19.829Z] [ "`gofmt -l .`" = "" ] [2020-04-21T05:58:19.829Z] ./bin/test-attribution-txt.sh [2020-04-21T05:58:19.829Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T05:58:20.210Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T05:58:20.218Z] $ docker stop --time=1 3f3fdec813232fc035d830fb29fc501c727260f66c7676c8db5f45e6a6ea0a8c [2020-04-21T05:58:21.794Z] $ docker rm -f 3f3fdec813232fc035d830fb29fc501c727260f66c7676c8db5f45e6a6ea0a8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T05:58:23.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T05:58:23.494Z] + ls -al . [2020-04-21T05:58:23.494Z] total 112 [2020-04-21T05:58:23.494Z] drwxrwxr-x. 8 jenkins jenkins 4096 Apr 21 05:58 . [2020-04-21T05:58:23.494Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 05:55 .. [2020-04-21T05:58:23.494Z] -rw-rw-r--. 1 jenkins jenkins 6529 Apr 21 05:55 Attribution.txt [2020-04-21T05:58:23.494Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 05:55 bin [2020-04-21T05:58:23.494Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 21 05:55 cmd [2020-04-21T05:58:23.494Z] -rw-r--r--. 1 jenkins jenkins 32181 Apr 21 05:58 coverage.out [2020-04-21T05:58:23.494Z] -rw-rw-r--. 1 jenkins jenkins 1826 Apr 21 05:55 Dockerfile [2020-04-21T05:58:23.494Z] -rw-rw-r--. 1 jenkins jenkins 957 Apr 21 05:55 Dockerfile.build [2020-04-21T05:58:23.494Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 05:55 .git [2020-04-21T05:58:23.494Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 21 05:55 .github [2020-04-21T05:58:23.494Z] -rw-rw-r--. 1 jenkins jenkins 258 Apr 21 05:55 .gitignore [2020-04-21T05:58:23.494Z] -rw-r--r--. 1 jenkins jenkins 862 Apr 21 05:58 go.mod [2020-04-21T05:58:23.494Z] -rw-r--r--. 1 jenkins jenkins 14805 Apr 21 05:58 go.sum [2020-04-21T05:58:23.494Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 05:55 internal [2020-04-21T05:58:23.494Z] -rw-rw-r--. 1 jenkins jenkins 683 Apr 21 05:55 Jenkinsfile [2020-04-21T05:58:23.494Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 21 05:55 LICENSE [2020-04-21T05:58:23.494Z] -rw-rw-r--. 1 jenkins jenkins 873 Apr 21 05:55 Makefile [2020-04-21T05:58:23.494Z] -rw-rw-r--. 1 jenkins jenkins 4413 Apr 21 05:55 README.md [2020-04-21T05:58:23.494Z] drwxrwxr-x. 3 jenkins jenkins 57 Apr 21 05:55 .semver [2020-04-21T05:58:23.494Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 05:53 VERSION [2020-04-21T05:58:23.494Z] -rw-rw-r--. 1 jenkins jenkins 235 Apr 21 05:55 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T05:58:23.795Z] + 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=09b2d40c90f8bad06445742437a85434e8cf7f1f --label arch=amd64 --label version=0.0.0 . [2020-04-21T05:58:24.056Z] Sending build context to Docker daemon 34.1MB [2020-04-21T05:58:24.056Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T05:58:24.056Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T05:58:24.056Z] ---> be26494f3ed8 [2020-04-21T05:58:24.056Z] Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-04-21T05:58:24.056Z] ---> Running in 463f41e27749 [2020-04-21T05:58:24.315Z] Removing intermediate container 463f41e27749 [2020-04-21T05:58:24.315Z] ---> 85ae2bce14ef [2020-04-21T05:58:24.315Z] Step 4/21 : ARG ALPINE_PKG_EXTRA="" [2020-04-21T05:58:24.315Z] ---> Running in 656f3420200b [2020-04-21T05:58:24.575Z] Removing intermediate container 656f3420200b [2020-04-21T05:58:24.575Z] ---> 880c95e6b932 [2020-04-21T05:58:24.575Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-04-21T05:58:24.575Z] ---> Running in 8d4873b57d33 [2020-04-21T05:58:24.575Z] Removing intermediate container 8d4873b57d33 [2020-04-21T05:58:24.575Z] ---> 10511ed14a9b [2020-04-21T05:58:24.575Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T05:58:24.575Z] ---> Running in 083d58ceb2f1 [2020-04-21T05:58:24.616Z] ---> Running in d652021f8c55 [2020-04-21T05:58:24.616Z] Removing intermediate container d652021f8c55 [2020-04-21T05:58:24.616Z] ---> aaf144b79a0c [2020-04-21T05:58:24.616Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T05:58:24.616Z] ---> Running in 2a0adef4df7f [2020-04-21T05:58:25.513Z] Removing intermediate container 083d58ceb2f1 [2020-04-21T05:58:25.513Z] ---> 03e7c36898cc [2020-04-21T05:58:25.513Z] Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-21T05:58:25.772Z] ---> Running in 0d73e5ca8363 [2020-04-21T05:58:26.030Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T05:58:26.611Z] Removing intermediate container 2a0adef4df7f [2020-04-21T05:58:26.611Z] ---> 1285e2d71c50 [2020-04-21T05:58:26.611Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T05:58:26.611Z] ---> Running in 66bc05235763 [2020-04-21T05:58:26.966Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T05:58:27.533Z] OK: 214 MiB in 52 packages [2020-04-21T05:58:27.585Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T05:58:27.797Z] Removing intermediate container 0d73e5ca8363 [2020-04-21T05:58:27.798Z] ---> 63f2f26372e3 [2020-04-21T05:58:27.798Z] Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-04-21T05:58:28.057Z] ---> Running in 3c42b75bee1e [2020-04-21T05:58:28.058Z] Removing intermediate container 3c42b75bee1e [2020-04-21T05:58:28.058Z] ---> 08da9a8390f7 [2020-04-21T05:58:28.058Z] Step 9/21 : COPY . . [2020-04-21T05:58:28.559Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T05:58:28.626Z] ---> 514e8f48a90e [2020-04-21T05:58:28.626Z] Step 10/21 : ARG MAKE='make build' [2020-04-21T05:58:28.626Z] ---> Running in 24bcd050e1af [2020-04-21T05:58:28.885Z] Removing intermediate container 24bcd050e1af [2020-04-21T05:58:28.885Z] ---> 658f1b74e0bc [2020-04-21T05:58:28.885Z] Step 11/21 : RUN $MAKE [2020-04-21T05:58:28.885Z] ---> Running in 8a2826037738 [2020-04-21T05:58:29.145Z] 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-21T05:58:29.543Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:58:29.544Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:58:30.132Z] (3/18) Installing libmagic (5.37-r1) [2020-04-21T05:58:30.400Z] (4/18) Installing file (5.37-r1) [2020-04-21T05:58:30.400Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:58:30.400Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:58:30.670Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:58:41.386Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-21T05:58:43.931Z] Removing intermediate container 8a2826037738 [2020-04-21T05:58:43.931Z] ---> 12fb24411e21 [2020-04-21T05:58:43.931Z] Step 12/21 : FROM alpine [2020-04-21T05:58:44.193Z] latest: Pulling from library/alpine [2020-04-21T05:58:44.452Z] aad63a933944: Pulling fs layer [2020-04-21T05:58:44.452Z] aad63a933944: Verifying Checksum [2020-04-21T05:58:44.452Z] aad63a933944: Download complete [2020-04-21T05:58:44.711Z] aad63a933944: Pull complete [2020-04-21T05:58:44.711Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-04-21T05:58:44.711Z] Status: Downloaded newer image for alpine:latest [2020-04-21T05:58:44.711Z] ---> a187dde48cd2 [2020-04-21T05:58:44.711Z] Step 13/21 : ENV APP_PORT=49990 [2020-04-21T05:58:44.711Z] ---> Running in e94d94d5aa19 [2020-04-21T05:58:44.971Z] Removing intermediate container e94d94d5aa19 [2020-04-21T05:58:44.971Z] ---> fdce154d7bea [2020-04-21T05:58:44.971Z] Step 14/21 : EXPOSE $APP_PORT [2020-04-21T05:58:44.971Z] ---> Running in 1cda4f0961dc [2020-04-21T05:58:45.230Z] Removing intermediate container 1cda4f0961dc [2020-04-21T05:58:45.230Z] ---> 011863eb9a61 [2020-04-21T05:58:45.230Z] Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-04-21T05:58:45.488Z] ---> 6d4b37d096fc [2020-04-21T05:58:45.488Z] Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-04-21T05:58:45.748Z] ---> baa7d50c285c [2020-04-21T05:58:45.748Z] Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-04-21T05:58:46.007Z] ---> 3f26cb02d061 [2020-04-21T05:58:46.007Z] Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-21T05:58:46.007Z] ---> Running in 93ec075a79d8 [2020-04-21T05:58:46.007Z] Removing intermediate container 93ec075a79d8 [2020-04-21T05:58:46.007Z] ---> 3d2a48625f0d [2020-04-21T05:58:46.007Z] Step 19/21 : LABEL arch=amd64 [2020-04-21T05:58:46.267Z] ---> Running in 4cd97258c4e3 [2020-04-21T05:58:46.267Z] Removing intermediate container 4cd97258c4e3 [2020-04-21T05:58:46.267Z] ---> 2b7861ac40ec [2020-04-21T05:58:46.267Z] Step 20/21 : LABEL git_sha=09b2d40c90f8bad06445742437a85434e8cf7f1f [2020-04-21T05:58:46.267Z] ---> Running in 189a5a7e0180 [2020-04-21T05:58:46.526Z] Removing intermediate container 189a5a7e0180 [2020-04-21T05:58:46.526Z] ---> 55172fded4e8 [2020-04-21T05:58:46.526Z] Step 21/21 : LABEL version=0.0.0 [2020-04-21T05:58:46.526Z] ---> Running in 2a2dd9c9fafd [2020-04-21T05:58:46.785Z] Removing intermediate container 2a2dd9c9fafd [2020-04-21T05:58:46.785Z] ---> 41290483f0c7 [2020-04-21T05:58:46.785Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T05:58:46.785Z] Successfully built 41290483f0c7 [2020-04-21T05:58:46.785Z] 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-21T05:58:48.909Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-21T05:58:48.909Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-21T05:58:53.180Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-21T05:58:53.180Z] (11/18) Installing build-base (0.5-r1) [2020-04-21T05:58:53.180Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-21T05:58:53.180Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-21T05:58:53.449Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-04-21T05:58:53.718Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-21T05:58:53.989Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-21T05:58:53.989Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-04-21T05:58:53.989Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-21T05:58:54.263Z] Executing busybox-1.31.1-r8.trigger [2020-04-21T05:58:54.263Z] OK: 203 MiB in 52 packages [2020-04-21T05:59:00.942Z] Removing intermediate container 66bc05235763 [2020-04-21T05:59:00.942Z] ---> 698733ab77b1 [2020-04-21T05:59:00.942Z] Step 6/8 : WORKDIR /device-virtual-go [2020-04-21T05:59:01.210Z] ---> Running in 53bb0fb79ddc [2020-04-21T05:59:01.478Z] Removing intermediate container 53bb0fb79ddc [2020-04-21T05:59:01.478Z] ---> 37e998aae308 [2020-04-21T05:59:01.478Z] Step 7/8 : COPY . . [2020-04-21T05:59:02.447Z] ---> af6752e4acf0 [2020-04-21T05:59:02.447Z] Step 8/8 : RUN go mod download [2020-04-21T05:59:02.447Z] ---> Running in 496b51af92e7 [2020-04-21T05:59:05.043Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T05:59:05.043Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T05:59:05.043Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T05:59:05.043Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T05:59:05.043Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T05:59:05.043Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T05:59:05.043Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T05:59:05.043Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T05:59:05.043Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T05:59:05.043Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T05:59:05.043Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T05:59:05.043Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T05:59:05.043Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T05:59:05.043Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T05:59:05.043Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-04-21T05:59:05.043Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T05:59:05.043Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T05:59:05.043Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T05:59:05.043Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T05:59:05.043Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T05:59:05.043Z] go: finding github.com/golang/snappy v0.0.1 [2020-04-21T05:59:05.043Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T05:59:05.043Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T05:59:05.043Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T05:59:05.043Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T05:59:05.312Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T05:59:05.312Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T05:59:05.312Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T05:59:05.312Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T05:59:05.312Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T05:59:05.312Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T05:59:05.312Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T05:59:05.312Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T05:59:05.312Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T05:59:05.312Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T05:59:05.312Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T05:59:05.312Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T05:59:05.312Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T05:59:05.312Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T05:59:05.312Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T05:59:05.587Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T05:59:05.587Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T05:59:05.587Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T05:59:05.587Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T05:59:05.587Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-04-21T05:59:05.587Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T05:59:05.587Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T05:59:05.587Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T05:59:05.587Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T05:59:05.587Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T05:59:05.587Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T05:59:05.587Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T05:59:05.587Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T05:59:05.587Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T05:59:05.587Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-04-21T05:59:05.587Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T05:59:05.587Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T05:59:05.587Z] go: finding modernc.org/b v1.0.0 [2020-04-21T05:59:05.587Z] go: finding modernc.org/db v1.0.0 [2020-04-21T05:59:05.587Z] go: finding modernc.org/file v1.0.0 [2020-04-21T05:59:05.587Z] go: finding modernc.org/fileutil v1.0.0 [2020-04-21T05:59:05.587Z] go: finding modernc.org/golex v1.0.0 [2020-04-21T05:59:05.587Z] go: finding modernc.org/internal v1.0.0 [2020-04-21T05:59:05.858Z] go: finding modernc.org/lldb v1.0.0 [2020-04-21T05:59:05.859Z] go: finding modernc.org/mathutil v1.0.0 [2020-04-21T05:59:05.859Z] go: finding modernc.org/ql v1.0.0 [2020-04-21T05:59:05.859Z] go: finding modernc.org/sortutil v1.0.0 [2020-04-21T05:59:05.859Z] go: finding modernc.org/strutil v1.0.0 [2020-04-21T05:59:05.859Z] go: finding modernc.org/zappy v1.0.0 [2020-04-21T05:59:15.961Z] Removing intermediate container 496b51af92e7 [2020-04-21T05:59:15.961Z] ---> d0ec7b495a80 [2020-04-21T05:59:16.230Z] Successfully built d0ec7b495a80 [2020-04-21T05:59:16.230Z] 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-21T05:59:16.834Z] + docker inspect -f . ci-base-image-arm64 [2020-04-21T05:59:17.100Z] . [Pipeline] withDockerContainer [2020-04-21T05:59:17.504Z] prd-ubuntu18.04-docker-arm64-4c-16g-5151 does not seem to be running inside a container [2020-04-21T05:59:17.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2020-04-21T05:59:19.040Z] $ docker top 29c847b50310ef3415cb5d757ad2d83a267c525a7108ad2b00904c2d67c950f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T05:59:20.171Z] + go version [2020-04-21T05:59:20.171Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-21T05:59:20.861Z] + make test [2020-04-21T05:59:20.861Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-21T05:59:22.279Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-04-21T06:00:09.174Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-04-21T06:02:30.953Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 141.228s coverage: 51.2% of statements [2020-04-21T06:02:30.953Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T06:02:33.536Z] gofmt -l . [2020-04-21T06:02:33.536Z] [ "`gofmt -l .`" = "" ] [2020-04-21T06:02:33.536Z] ./bin/test-attribution-txt.sh [2020-04-21T06:02:34.954Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T06:02:35.237Z] Warning: overwriting stash ‘coverage-report’ [2020-04-21T06:02:35.667Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T06:02:35.671Z] $ docker stop --time=1 29c847b50310ef3415cb5d757ad2d83a267c525a7108ad2b00904c2d67c950f4 [2020-04-21T06:02:38.117Z] $ docker rm -f 29c847b50310ef3415cb5d757ad2d83a267c525a7108ad2b00904c2d67c950f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T06:02:39.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T06:02:39.829Z] + ls -al . [2020-04-21T06:02:39.829Z] total 140 [2020-04-21T06:02:39.829Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 06:02 . [2020-04-21T06:02:39.829Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 05:57 .. [2020-04-21T06:02:39.829Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 05:57 .git [2020-04-21T06:02:39.829Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 05:57 .github [2020-04-21T06:02:39.829Z] -rw-rw-r-- 1 jenkins jenkins 258 Apr 21 05:57 .gitignore [2020-04-21T06:02:39.829Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 05:57 .semver [2020-04-21T06:02:39.829Z] -rw-rw-r-- 1 jenkins jenkins 6529 Apr 21 05:57 Attribution.txt [2020-04-21T06:02:39.829Z] -rw-rw-r-- 1 jenkins jenkins 1826 Apr 21 05:57 Dockerfile [2020-04-21T06:02:39.829Z] -rw-rw-r-- 1 jenkins jenkins 957 Apr 21 05:57 Dockerfile.build [2020-04-21T06:02:39.829Z] -rw-rw-r-- 1 jenkins jenkins 683 Apr 21 05:57 Jenkinsfile [2020-04-21T06:02:39.829Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 05:57 LICENSE [2020-04-21T06:02:39.829Z] -rw-rw-r-- 1 jenkins jenkins 873 Apr 21 05:57 Makefile [2020-04-21T06:02:39.829Z] -rw-rw-r-- 1 jenkins jenkins 4413 Apr 21 05:57 README.md [2020-04-21T06:02:39.829Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 05:53 VERSION [2020-04-21T06:02:39.829Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 05:57 bin [2020-04-21T06:02:39.829Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 05:57 cmd [2020-04-21T06:02:39.829Z] -rw-r--r-- 1 jenkins jenkins 32181 Apr 21 06:02 coverage.out [2020-04-21T06:02:39.829Z] -rw-r--r-- 1 jenkins jenkins 862 Apr 21 06:02 go.mod [2020-04-21T06:02:39.829Z] -rw-r--r-- 1 jenkins jenkins 14805 Apr 21 06:02 go.sum [2020-04-21T06:02:39.829Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 05:57 internal [2020-04-21T06:02:39.829Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 21 05:57 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T06:02:40.170Z] + 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=09b2d40c90f8bad06445742437a85434e8cf7f1f --label arch=arm64 --label version=0.0.0 . [2020-04-21T06:02:41.139Z] Sending build context to Docker daemon 34.1MB [2020-04-21T06:02:41.139Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T06:02:41.139Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T06:02:41.139Z] ---> d0ec7b495a80 [2020-04-21T06:02:41.139Z] Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-04-21T06:02:41.408Z] ---> Running in 1803d473c8fa [2020-04-21T06:02:41.997Z] Removing intermediate container 1803d473c8fa [2020-04-21T06:02:41.997Z] ---> 4db68cc6824d [2020-04-21T06:02:41.997Z] Step 4/21 : ARG ALPINE_PKG_EXTRA="" [2020-04-21T06:02:41.997Z] ---> Running in e90e4ea43d55 [2020-04-21T06:02:42.268Z] Removing intermediate container e90e4ea43d55 [2020-04-21T06:02:42.268Z] ---> 56a5efc19a1d [2020-04-21T06:02:42.268Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2020-04-21T06:02:42.541Z] ---> Running in a93ecf7d2ae4 [2020-04-21T06:02:42.814Z] Removing intermediate container a93ecf7d2ae4 [2020-04-21T06:02:42.814Z] ---> 1e4b59033e84 [2020-04-21T06:02:42.814Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T06:02:43.082Z] ---> Running in b732c7ba863a [2020-04-21T06:02:45.038Z] Removing intermediate container b732c7ba863a [2020-04-21T06:02:45.038Z] ---> be6aad7660a9 [2020-04-21T06:02:45.038Z] Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-21T06:02:45.311Z] ---> Running in bdce69df05c1 [2020-04-21T06:02:46.287Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T06:02:46.871Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T06:02:47.462Z] OK: 203 MiB in 52 packages [2020-04-21T06:02:48.883Z] Removing intermediate container bdce69df05c1 [2020-04-21T06:02:48.883Z] ---> b34424dc3c2f [2020-04-21T06:02:48.883Z] Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-04-21T06:02:48.883Z] ---> Running in 89b4381e31e6 [2020-04-21T06:02:49.153Z] Removing intermediate container 89b4381e31e6 [2020-04-21T06:02:49.153Z] ---> 103a408ed255 [2020-04-21T06:02:49.153Z] Step 9/21 : COPY . . [2020-04-21T06:02:51.104Z] ---> 0f73c830206d [2020-04-21T06:02:51.104Z] Step 10/21 : ARG MAKE='make build' [2020-04-21T06:02:51.373Z] ---> Running in 03434e0e56dc [2020-04-21T06:02:51.641Z] Removing intermediate container 03434e0e56dc [2020-04-21T06:02:51.641Z] ---> 3028a6ebded8 [2020-04-21T06:02:51.641Z] Step 11/21 : RUN $MAKE [2020-04-21T06:02:51.916Z] ---> Running in 327e092c91ba [2020-04-21T06:02:52.891Z] 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-21T06:03:31.833Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-21T06:03:34.419Z] Removing intermediate container 327e092c91ba [2020-04-21T06:03:34.419Z] ---> d725b3c178ab [2020-04-21T06:03:34.419Z] Step 12/21 : FROM alpine [2020-04-21T06:03:35.005Z] latest: Pulling from library/alpine [2020-04-21T06:03:35.005Z] 8a0637ca1ac9: Pulling fs layer [2020-04-21T06:03:35.592Z] 8a0637ca1ac9: Verifying Checksum [2020-04-21T06:03:35.592Z] 8a0637ca1ac9: Download complete [2020-04-21T06:03:35.861Z] 8a0637ca1ac9: Pull complete [2020-04-21T06:03:36.129Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-04-21T06:03:36.129Z] Status: Downloaded newer image for alpine:latest [2020-04-21T06:03:36.129Z] ---> 2ee122dcc32d [2020-04-21T06:03:36.129Z] Step 13/21 : ENV APP_PORT=49990 [2020-04-21T06:03:36.129Z] ---> Running in 5595ed4a5e30 [2020-04-21T06:03:36.715Z] Removing intermediate container 5595ed4a5e30 [2020-04-21T06:03:36.715Z] ---> ef531097e434 [2020-04-21T06:03:36.715Z] Step 14/21 : EXPOSE $APP_PORT [2020-04-21T06:03:36.715Z] ---> Running in e91d9dbb02cb [2020-04-21T06:03:37.302Z] Removing intermediate container e91d9dbb02cb [2020-04-21T06:03:37.302Z] ---> 69172efc1d70 [2020-04-21T06:03:37.302Z] Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-04-21T06:03:38.274Z] ---> c779526c1828 [2020-04-21T06:03:38.274Z] Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2020-04-21T06:03:38.863Z] ---> fcc89f04f56d [2020-04-21T06:03:38.863Z] Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2020-04-21T06:03:39.453Z] ---> 6865a78be262 [2020-04-21T06:03:39.453Z] Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-21T06:03:39.722Z] ---> Running in 0d1dcc054f4d [2020-04-21T06:03:39.992Z] Removing intermediate container 0d1dcc054f4d [2020-04-21T06:03:39.992Z] ---> 1235c7a79ae4 [2020-04-21T06:03:39.992Z] Step 19/21 : LABEL arch=arm64 [2020-04-21T06:03:40.263Z] ---> Running in a26670a0b945 [2020-04-21T06:03:40.535Z] Removing intermediate container a26670a0b945 [2020-04-21T06:03:40.535Z] ---> 36cbbe5b32e2 [2020-04-21T06:03:40.535Z] Step 20/21 : LABEL git_sha=09b2d40c90f8bad06445742437a85434e8cf7f1f [2020-04-21T06:03:40.806Z] ---> Running in 1b1b43b22a50 [2020-04-21T06:03:41.076Z] Removing intermediate container 1b1b43b22a50 [2020-04-21T06:03:41.076Z] ---> c2d4ba0a5f01 [2020-04-21T06:03:41.076Z] Step 21/21 : LABEL version=0.0.0 [2020-04-21T06:03:41.345Z] ---> Running in 70053dc7aeae [2020-04-21T06:03:41.614Z] Removing intermediate container 70053dc7aeae [2020-04-21T06:03:41.614Z] ---> e0dd0220d874 [2020-04-21T06:03:41.614Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T06:03:41.883Z] Successfully built e0dd0220d874 [2020-04-21T06:03:41.883Z] 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-21T06:03:43.196Z] provisioning config files... [2020-04-21T06:03:43.220Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/xfoundry_device-virtual-go_PR-96@tmp/config6277198874889549033tmp [Pipeline] { [Pipeline] sh [2020-04-21T06:03:43.655Z] + curl -s https://codecov.io/bash [2020-04-21T06:03:43.656Z] + bash -s - -t @/w/workspace/xfoundry_device-virtual-go_PR-96@tmp/config6277198874889549033tmp [2020-04-21T06:03:43.946Z] [2020-04-21T06:03:43.946Z] _____ _ [2020-04-21T06:03:43.946Z] / ____| | | [2020-04-21T06:03:43.946Z] | | ___ __| | ___ ___ _____ __ [2020-04-21T06:03:43.946Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-21T06:03:43.946Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-21T06:03:43.946Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-21T06:03:43.946Z] Bash-tbd [2020-04-21T06:03:43.947Z] [2020-04-21T06:03:43.947Z] [2020-04-21T06:03:43.947Z] ==> Jenkins CI detected. [2020-04-21T06:03:43.947Z] project root: . [2020-04-21T06:03:43.947Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-21T06:03:44.270Z] ==> Running gcov in . (disable via -X gcov) [2020-04-21T06:03:44.270Z] ==> Python coveragepy not found [2020-04-21T06:03:44.270Z] ==> Searching for coverage reports in: [2020-04-21T06:03:44.270Z] + . [2020-04-21T06:03:44.270Z] -> Found 1 reports [2020-04-21T06:03:44.270Z] ==> Detecting git/mercurial file structure [2020-04-21T06:03:44.270Z] ==> Reading reports [2020-04-21T06:03:44.270Z] + ./coverage.out bytes=32181 [2020-04-21T06:03:44.270Z] ==> Appending adjustments [2020-04-21T06:03:44.270Z] http://docs.codecov.io/docs/fixing-reports [2020-04-21T06:03:44.556Z] + Found adjustments [2020-04-21T06:03:44.556Z] ==> Gzipping contents [2020-04-21T06:03:44.556Z] ==> Uploading reports [2020-04-21T06:03:44.556Z] url: https://codecov.io [2020-04-21T06:03:44.556Z] query: branch=PR-96&commit=09b2d40c90f8bad06445742437a85434e8cf7f1f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-96%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=96&job= [2020-04-21T06:03:44.556Z] -> Pinging Codecov [2020-04-21T06:03:44.556Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-96&commit=09b2d40c90f8bad06445742437a85434e8cf7f1f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-96%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=96&job= [2020-04-21T06:03:45.170Z] -> Uploading [2020-04-21T06:03:45.795Z] -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/09b2d40c90f8bad06445742437a85434e8cf7f1f [Pipeline] } [2020-04-21T06:03:45.834Z] 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-21T06:03:47.048Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T06:03:47.633Z] ---> package-listing.sh [2020-04-21T06:03:47.633Z] ++ facter osfamily [2020-04-21T06:03:47.633Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-21T06:03:47.633Z] + OS_FAMILY=redhat [2020-04-21T06:03:47.633Z] + workspace=/w/workspace/xfoundry_device-virtual-go_PR-96 [2020-04-21T06:03:47.633Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-21T06:03:47.633Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-21T06:03:47.633Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-21T06:03:47.633Z] + PACKAGES=/tmp/packages_start.txt [2020-04-21T06:03:47.633Z] + '[' /w/workspace/xfoundry_device-virtual-go_PR-96 ']' [2020-04-21T06:03:47.633Z] + PACKAGES=/tmp/packages_end.txt [2020-04-21T06:03:47.633Z] + case "${OS_FAMILY}" in [2020-04-21T06:03:47.633Z] + rpm -qa [2020-04-21T06:03:47.633Z] + sort [2020-04-21T06:03:52.959Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-21T06:03:52.959Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-21T06:03:52.959Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-21T06:03:52.959Z] + '[' /w/workspace/xfoundry_device-virtual-go_PR-96 ']' [2020-04-21T06:03:52.959Z] + mkdir -p /w/workspace/xfoundry_device-virtual-go_PR-96/archives/ [2020-04-21T06:03:52.959Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-virtual-go_PR-96/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-21T06:03:53.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T06:03:53.442Z] [2020-04-21T06:03:53.442Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-21T06:03:53.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T06:03:54.175Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-21T06:03:54.175Z] c9b1b535fdd9: Pulling fs layer [2020-04-21T06:03:54.175Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-21T06:03:54.175Z] 756a868c4378: Pulling fs layer [2020-04-21T06:03:54.175Z] 444b2fc9a129: Pulling fs layer [2020-04-21T06:03:54.175Z] ea15f1150254: Pulling fs layer [2020-04-21T06:03:54.175Z] 41b27a9f41bf: Pulling fs layer [2020-04-21T06:03:54.175Z] 28c525ee5125: Pulling fs layer [2020-04-21T06:03:54.175Z] 094b1ea09ed8: Pulling fs layer [2020-04-21T06:03:54.175Z] 138eaada9080: Pulling fs layer [2020-04-21T06:03:54.175Z] 0622d0fa9048: Pulling fs layer [2020-04-21T06:03:54.175Z] 444b2fc9a129: Waiting [2020-04-21T06:03:54.175Z] ea15f1150254: Waiting [2020-04-21T06:03:54.175Z] 41b27a9f41bf: Waiting [2020-04-21T06:03:54.175Z] 28c525ee5125: Waiting [2020-04-21T06:03:54.175Z] 094b1ea09ed8: Waiting [2020-04-21T06:03:54.175Z] 138eaada9080: Waiting [2020-04-21T06:03:54.175Z] 0622d0fa9048: Waiting [2020-04-21T06:03:54.175Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-21T06:03:54.175Z] 2cc5ad85d9ab: Download complete [2020-04-21T06:03:54.175Z] 444b2fc9a129: Verifying Checksum [2020-04-21T06:03:54.175Z] 444b2fc9a129: Download complete [2020-04-21T06:03:54.466Z] c9b1b535fdd9: Verifying Checksum [2020-04-21T06:03:54.466Z] c9b1b535fdd9: Download complete [2020-04-21T06:03:54.466Z] ea15f1150254: Verifying Checksum [2020-04-21T06:03:54.466Z] ea15f1150254: Download complete [2020-04-21T06:03:54.746Z] 28c525ee5125: Verifying Checksum [2020-04-21T06:03:54.746Z] 28c525ee5125: Download complete [2020-04-21T06:03:55.032Z] 756a868c4378: Verifying Checksum [2020-04-21T06:03:55.032Z] 756a868c4378: Download complete [2020-04-21T06:03:55.361Z] 138eaada9080: Verifying Checksum [2020-04-21T06:03:55.361Z] 138eaada9080: Download complete [2020-04-21T06:03:55.361Z] c9b1b535fdd9: Pull complete [2020-04-21T06:03:55.361Z] 0622d0fa9048: Verifying Checksum [2020-04-21T06:03:55.361Z] 0622d0fa9048: Download complete [2020-04-21T06:03:55.714Z] 094b1ea09ed8: Verifying Checksum [2020-04-21T06:03:55.714Z] 094b1ea09ed8: Download complete [2020-04-21T06:03:55.714Z] 2cc5ad85d9ab: Pull complete [2020-04-21T06:03:57.790Z] 41b27a9f41bf: Verifying Checksum [2020-04-21T06:03:57.790Z] 41b27a9f41bf: Download complete [2020-04-21T06:04:00.123Z] 756a868c4378: Pull complete [2020-04-21T06:04:00.123Z] 444b2fc9a129: Pull complete [2020-04-21T06:04:00.523Z] ea15f1150254: Pull complete [2020-04-21T06:04:07.881Z] 41b27a9f41bf: Pull complete [2020-04-21T06:04:07.882Z] 28c525ee5125: Pull complete [2020-04-21T06:04:10.598Z] 094b1ea09ed8: Pull complete [2020-04-21T06:04:10.869Z] 138eaada9080: Pull complete [2020-04-21T06:04:11.133Z] 0622d0fa9048: Pull complete [2020-04-21T06:04:11.133Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-21T06:04:11.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-21T06:04:11.649Z] prd-centos7-docker-4c-2g-5149 does not seem to be running inside a container [2020-04-21T06:04:12.003Z] $ 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-96 -v /w/workspace/xfoundry_device-virtual-go_PR-96:/w/workspace/xfoundry_device-virtual-go_PR-96:rw,z -v /w/workspace/xfoundry_device-virtual-go_PR-96@tmp:/w/workspace/xfoundry_device-virtual-go_PR-96@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-21T06:04:13.624Z] $ docker top c134dbbaf4dc5833b1284c768c00ccc181d125ed46a9eef59ce5938a511eafd4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T06:04:13.943Z] provisioning config files... [2020-04-21T06:04:13.960Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-virtual-go_PR-96@tmp/config5713531648516093714tmp [Pipeline] { [Pipeline] echo [2020-04-21T06:04:14.015Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T06:04:14.712Z] ---> create-netrc.sh [Pipeline] echo [2020-04-21T06:04:14.725Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T06:04:15.618Z] ---> logs-deploy.sh [2020-04-21T06:04:15.618Z] + ARCHIVE_ARTIFACTS= [2020-04-21T06:04:15.618Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-21T06:04:15.618Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-21T06:04:15.618Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-21T06:04:15.618Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-96/2 [2020-04-21T06:04:15.618Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-96/2/ [2020-04-21T06:04:15.618Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-96/2 /w/workspace/xfoundry_device-virtual-go_PR-96 [2020-04-21T06:04:17.825Z] Archives upload complete. [2020-04-21T06:04:17.826Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-96/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-96/2/