Pull request #90 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 FelixTing for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 763e853a19c711255d5eaab9db9eecae6a34cd7d+5671dc497a8de3c78b84a4dff37d194a373880a7 (e085a3344719a88e2b1404e342b36ed80a9cc773) 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 b810438aec07f555226556e3b59abf2bab733840 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 b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > 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/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5164 in /w/workspace/xfoundry_device-virtual-go_PR-90 [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-90 # 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/90/head:refs/remotes/origin/PR-90 +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/90/head:refs/remotes/origin/PR-90 # 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/90/head:refs/remotes/origin/PR-90 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5671dc497a8de3c78b84a4dff37d194a373880a7 into PR head commit 763e853a19c711255d5eaab9db9eecae6a34cd7d Merge succeeded, producing 763e853a19c711255d5eaab9db9eecae6a34cd7d Checking out Revision 763e853a19c711255d5eaab9db9eecae6a34cd7d (PR-90) > git config core.sparsecheckout # timeout=10 > git checkout -f 763e853a19c711255d5eaab9db9eecae6a34cd7d # 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 5671dc497a8de3c78b84a4dff37d194a373880a7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 763e853a19c711255d5eaab9db9eecae6a34cd7d # timeout=10 Commit message: "Reduce time consumption of unit test" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-09T16:32:10.466Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk f57fe661056b58ea0bf8340bef71dbaac7ec7cef # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-09T16:32:12.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T16:32:12.407Z] [2020-03-09T16:32:12.407Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-09T16:32:12.768Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T16:32:12.768Z] latest: Pulling from edgex-devops/git-semver [2020-03-09T16:32:12.768Z] 9123ac7c32f7: Pulling fs layer [2020-03-09T16:32:12.768Z] b8cc5d1170e3: Pulling fs layer [2020-03-09T16:32:12.768Z] 2924cbbf6a41: Pulling fs layer [2020-03-09T16:32:12.768Z] 93b08a4f1073: Pulling fs layer [2020-03-09T16:32:12.768Z] 93b08a4f1073: Waiting [2020-03-09T16:32:12.768Z] b8cc5d1170e3: Verifying Checksum [2020-03-09T16:32:12.768Z] b8cc5d1170e3: Download complete [2020-03-09T16:32:13.030Z] 9123ac7c32f7: Verifying Checksum [2020-03-09T16:32:13.030Z] 9123ac7c32f7: Download complete [2020-03-09T16:32:13.030Z] 93b08a4f1073: Verifying Checksum [2020-03-09T16:32:13.030Z] 93b08a4f1073: Download complete [2020-03-09T16:32:13.030Z] 2924cbbf6a41: Verifying Checksum [2020-03-09T16:32:13.030Z] 2924cbbf6a41: Download complete [2020-03-09T16:32:13.030Z] 9123ac7c32f7: Pull complete [2020-03-09T16:32:13.288Z] b8cc5d1170e3: Pull complete [2020-03-09T16:32:13.860Z] 2924cbbf6a41: Pull complete [2020-03-09T16:32:14.119Z] 93b08a4f1073: Pull complete [2020-03-09T16:32:14.119Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-09T16:32:14.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-09T16:32:14.247Z] prd-centos7-docker-4c-2g-5164 does not seem to be running inside a container [2020-03-09T16:32:14.292Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-virtual-go_PR-90 -v /w/workspace/xfoundry_device-virtual-go_PR-90:/w/workspace/xfoundry_device-virtual-go_PR-90:rw,z -v /w/workspace/xfoundry_device-virtual-go_PR-90@tmp:/w/workspace/xfoundry_device-virtual-go_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-09T16:32:15.190Z] $ docker top 29c01a0659eaf32fd47210961ff6c180291e6e1f9199cda03bd48dd3acbb954a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-09T16:32:15.942Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T16:32:15.942Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T16:32:16.143Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T16:32:16.146Z] $ docker exec 29c01a0659eaf32fd47210961ff6c180291e6e1f9199cda03bd48dd3acbb954a ssh-agent [2020-03-09T16:32:16.324Z] SSH_AUTH_SOCK=/tmp/ssh-9BSfRPFwAd28/agent.15 [2020-03-09T16:32:16.324Z] SSH_AGENT_PID=21 [2020-03-09T16:32:16.335Z] Running ssh-add (command line suppressed) [2020-03-09T16:32:16.479Z] Identity added: /w/workspace/xfoundry_device-virtual-go_PR-90@tmp/private_key_8047395144745456241.key (/w/workspace/xfoundry_device-virtual-go_PR-90@tmp/private_key_8047395144745456241.key) [2020-03-09T16:32:16.523Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T16:32:16.853Z] + git describe --exact-match --tags HEAD [2020-03-09T16:32:16.853Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-09T16:32:16.906Z] $ docker exec --env ******** --env ******** 29c01a0659eaf32fd47210961ff6c180291e6e1f9199cda03bd48dd3acbb954a ssh-agent -k [2020-03-09T16:32:17.048Z] unset SSH_AUTH_SOCK; [2020-03-09T16:32:17.049Z] unset SSH_AGENT_PID; [2020-03-09T16:32:17.049Z] echo Agent pid 21 killed; [2020-03-09T16:32:17.085Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-09T16:32:17.190Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-09T16:32:17.190Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-09T16:32:17.264Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T16:32:17.264Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T16:32:17.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T16:32:17.438Z] $ docker exec 29c01a0659eaf32fd47210961ff6c180291e6e1f9199cda03bd48dd3acbb954a ssh-agent [2020-03-09T16:32:17.617Z] SSH_AUTH_SOCK=/tmp/ssh-CmxBaCscQNTp/agent.56 [2020-03-09T16:32:17.617Z] SSH_AGENT_PID=63 [2020-03-09T16:32:17.623Z] Running ssh-add (command line suppressed) [2020-03-09T16:32:17.754Z] Identity added: /w/workspace/xfoundry_device-virtual-go_PR-90@tmp/private_key_884657238830598458.key (/w/workspace/xfoundry_device-virtual-go_PR-90@tmp/private_key_884657238830598458.key) [2020-03-09T16:32:17.796Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T16:32:18.118Z] + git semver init [2020-03-09T16:32:18.118Z] # -> Open(): unable to determine branch for HEAD [2020-03-09T16:32:18.118Z] # $GIT_DIR = /w/workspace/xfoundry_device-virtual-go_PR-90/.git [2020-03-09T16:32:18.118Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-virtual-go_PR-90 [2020-03-09T16:32:18.118Z] # $SEMVER_REMOTE_NAME = origin [2020-03-09T16:32:18.118Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-09T16:32:18.118Z] # $SEMVER_USER_NAME = jenkins [2020-03-09T16:32:18.118Z] # $SEMVER_BRANCH = PR-90 [2020-03-09T16:32:18.118Z] # $SEMVER_TEMP = /tmp/semver-333360103 [2020-03-09T16:32:18.118Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2020-03-09T16:32:18.685Z] # '/tmp/semver-333360103' -> '/w/workspace/xfoundry_device-virtual-go_PR-90/.semver' [2020-03-09T16:32:18.686Z] # -> Force: false [2020-03-09T16:32:18.686Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-virtual-go_PR-90/.semver [Pipeline] } [2020-03-09T16:32:18.692Z] $ docker exec --env ******** --env ******** 29c01a0659eaf32fd47210961ff6c180291e6e1f9199cda03bd48dd3acbb954a ssh-agent -k [2020-03-09T16:32:18.817Z] unset SSH_AUTH_SOCK; [2020-03-09T16:32:18.817Z] unset SSH_AGENT_PID; [2020-03-09T16:32:18.817Z] echo Agent pid 63 killed; [2020-03-09T16:32:18.860Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-09T16:32:19.311Z] + git semver [Pipeline] } [2020-03-09T16:32:19.324Z] $ docker stop --time=1 29c01a0659eaf32fd47210961ff6c180291e6e1f9199cda03bd48dd3acbb954a [2020-03-09T16:32:20.691Z] $ docker rm -f 29c01a0659eaf32fd47210961ff6c180291e6e1f9199cda03bd48dd3acbb954a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-09T16:32:21.400Z] Stashed 21 file(s) [Pipeline] echo [2020-03-09T16:32:21.402Z] [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-03-09T16:32:36.755Z] Still waiting to schedule task [2020-03-09T16:32:36.755Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-09T16:32:36.757Z] Still waiting to schedule task [2020-03-09T16:32:36.757Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-03-09T16:34:25.046Z] Running on prd-centos7-docker-4c-2g-5206 in /w/workspace/xfoundry_device-virtual-go_PR-90 [Pipeline] { [Pipeline] ws [2020-03-09T16:34:25.083Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2020-03-09T16:34:27.304Z] using credential edgex-jenkins-ssh [2020-03-09T16:34:27.348Z] Cloning the remote Git repository [2020-03-09T16:34:27.348Z] Cloning with configured refspecs honoured and without tags [2020-03-09T16:34:27.075Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-03-09T16:34:27.114Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2020-03-09T16:34:27.159Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-03-09T16:34:27.159Z] > git --version # timeout=10 [2020-03-09T16:34:27.166Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T16:34:27.196Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T16:34:28.615Z] Fetching without tags [2020-03-09T16:34:28.992Z] Merging remotes/origin/master commit 5671dc497a8de3c78b84a4dff37d194a373880a7 into PR head commit 763e853a19c711255d5eaab9db9eecae6a34cd7d [2020-03-09T16:34:29.079Z] Merge succeeded, producing 763e853a19c711255d5eaab9db9eecae6a34cd7d [2020-03-09T16:34:29.079Z] Checking out Revision 763e853a19c711255d5eaab9db9eecae6a34cd7d (PR-90) [2020-03-09T16:34:28.390Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-03-09T16:34:28.397Z] > git config --add remote.origin.fetch +refs/pull/90/head:refs/remotes/origin/PR-90 # timeout=10 [2020-03-09T16:34:28.404Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T16:34:28.413Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-03-09T16:34:28.426Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-03-09T16:34:28.427Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T16:34:28.432Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T16:34:28.840Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T16:34:28.850Z] > git checkout -f 763e853a19c711255d5eaab9db9eecae6a34cd7d # timeout=10 [2020-03-09T16:34:28.888Z] > git remote # timeout=10 [2020-03-09T16:34:28.894Z] > git config --get remote.origin.url # timeout=10 [2020-03-09T16:34:28.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T16:34:28.904Z] > git merge 5671dc497a8de3c78b84a4dff37d194a373880a7 # timeout=10 [2020-03-09T16:34:28.915Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-09T16:34:28.928Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T16:34:28.933Z] > git checkout -f 763e853a19c711255d5eaab9db9eecae6a34cd7d # timeout=10 [2020-03-09T16:34:32.911Z] Commit message: "Reduce time consumption of unit test" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-09T16:34:33.711Z] ========================================================= [2020-03-09T16:34:33.711Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-09T16:34:33.711Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-09T16:34:34.282Z] + 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-03-09T16:34:34.282Z] Sending build context to Docker daemon 454.1kB [2020-03-09T16:34:34.282Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-09T16:34:34.282Z] Step 2/8 : FROM ${BASE} [2020-03-09T16:34:34.546Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-09T16:34:34.546Z] e6b0cf9c0882: Pulling fs layer [2020-03-09T16:34:34.546Z] 2848faf0eed1: Pulling fs layer [2020-03-09T16:34:34.546Z] 0f37312ad70f: Pulling fs layer [2020-03-09T16:34:34.546Z] 5788d62ee057: Pulling fs layer [2020-03-09T16:34:34.546Z] 0e6b1d234666: Pulling fs layer [2020-03-09T16:34:34.546Z] bf5d7aec512f: Pulling fs layer [2020-03-09T16:34:34.546Z] 34c802a77dc8: Pulling fs layer [2020-03-09T16:34:34.546Z] 9eb99e56ec68: Pulling fs layer [2020-03-09T16:34:34.546Z] 27c7a5d97fbd: Pulling fs layer [2020-03-09T16:34:34.546Z] 5c102a31e300: Pulling fs layer [2020-03-09T16:34:34.546Z] dcfb455df0a1: Pulling fs layer [2020-03-09T16:34:34.546Z] 34c802a77dc8: Waiting [2020-03-09T16:34:34.546Z] 9eb99e56ec68: Waiting [2020-03-09T16:34:34.546Z] 27c7a5d97fbd: Waiting [2020-03-09T16:34:34.546Z] 5788d62ee057: Waiting [2020-03-09T16:34:34.546Z] 0e6b1d234666: Waiting [2020-03-09T16:34:34.546Z] bf5d7aec512f: Waiting [2020-03-09T16:34:34.546Z] 5c102a31e300: Waiting [2020-03-09T16:34:34.546Z] dcfb455df0a1: Waiting [2020-03-09T16:34:34.546Z] 0f37312ad70f: Download complete [2020-03-09T16:34:34.546Z] 2848faf0eed1: Download complete [2020-03-09T16:34:34.546Z] 0e6b1d234666: Verifying Checksum [2020-03-09T16:34:34.546Z] 0e6b1d234666: Download complete [2020-03-09T16:34:34.546Z] bf5d7aec512f: Verifying Checksum [2020-03-09T16:34:34.546Z] bf5d7aec512f: Download complete [2020-03-09T16:34:34.546Z] e6b0cf9c0882: Verifying Checksum [2020-03-09T16:34:34.546Z] e6b0cf9c0882: Download complete [2020-03-09T16:34:34.807Z] e6b0cf9c0882: Pull complete [2020-03-09T16:34:35.074Z] 2848faf0eed1: Pull complete [2020-03-09T16:34:35.660Z] 34c802a77dc8: Download complete [2020-03-09T16:34:35.660Z] 27c7a5d97fbd: Verifying Checksum [2020-03-09T16:34:35.660Z] 27c7a5d97fbd: Download complete [2020-03-09T16:34:35.923Z] 9eb99e56ec68: Verifying Checksum [2020-03-09T16:34:35.923Z] 9eb99e56ec68: Download complete [2020-03-09T16:34:36.184Z] dcfb455df0a1: Verifying Checksum [2020-03-09T16:34:36.184Z] dcfb455df0a1: Download complete [2020-03-09T16:34:36.184Z] 5c102a31e300: Verifying Checksum [2020-03-09T16:34:36.184Z] 5c102a31e300: Download complete [2020-03-09T16:34:36.184Z] 5788d62ee057: Verifying Checksum [2020-03-09T16:34:36.184Z] 5788d62ee057: Download complete [2020-03-09T16:34:36.754Z] 0f37312ad70f: Pull complete [2020-03-09T16:34:42.030Z] 5788d62ee057: Pull complete [2020-03-09T16:34:42.294Z] 0e6b1d234666: Pull complete [2020-03-09T16:34:42.294Z] bf5d7aec512f: Pull complete [2020-03-09T16:34:46.495Z] 34c802a77dc8: Pull complete [2020-03-09T16:34:50.712Z] 9eb99e56ec68: Pull complete [2020-03-09T16:34:50.712Z] 27c7a5d97fbd: Pull complete [2020-03-09T16:34:51.655Z] 5c102a31e300: Pull complete [2020-03-09T16:34:51.914Z] dcfb455df0a1: Pull complete [2020-03-09T16:34:51.914Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-09T16:34:51.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-09T16:34:51.914Z] ---> 7c70fe431013 [2020-03-09T16:34:51.914Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-03-09T16:34:52.173Z] ---> Running in 8e496ed94911 [2020-03-09T16:34:52.432Z] Removing intermediate container 8e496ed94911 [2020-03-09T16:34:52.432Z] ---> dea55ea2a38b [2020-03-09T16:34:52.432Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T16:34:52.432Z] ---> Running in 43ba814bafe9 [2020-03-09T16:34:53.810Z] Removing intermediate container 43ba814bafe9 [2020-03-09T16:34:53.810Z] ---> ddd32210ebbf [2020-03-09T16:34:53.810Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-03-09T16:34:53.810Z] ---> Running in c61261ef1268 [2020-03-09T16:34:54.752Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-09T16:34:55.320Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-09T16:34:55.580Z] (1/13) Installing libmagic (5.37-r1) [2020-03-09T16:34:55.840Z] (2/13) Installing file (5.37-r1) [2020-03-09T16:34:55.840Z] (3/13) Installing libc-dev (0.7.2-r0) [2020-03-09T16:34:55.840Z] (4/13) Installing g++ (9.2.0-r3) [2020-03-09T16:34:59.126Z] (5/13) Installing fortify-headers (1.1-r0) [2020-03-09T16:34:59.126Z] (6/13) Installing build-base (0.5-r1) [2020-03-09T16:34:59.126Z] (7/13) Installing openssh-keygen (8.1_p1-r0) [2020-03-09T16:34:59.126Z] (8/13) Installing libedit (20191211.3.1-r0) [2020-03-09T16:34:59.385Z] (9/13) Installing openssh-client (8.1_p1-r0) [2020-03-09T16:34:59.644Z] (10/13) Installing openssh-sftp-server (8.1_p1-r0) [2020-03-09T16:34:59.644Z] (11/13) Installing openssh-server-common (8.1_p1-r0) [2020-03-09T16:34:59.644Z] (12/13) Installing openssh-server (8.1_p1-r0) [2020-03-09T16:34:59.903Z] (13/13) Installing openssh (8.1_p1-r0) [2020-03-09T16:34:59.903Z] Executing busybox-1.31.1-r8.trigger [2020-03-09T16:34:59.903Z] OK: 214 MiB in 52 packages [2020-03-09T16:35:01.811Z] Removing intermediate container c61261ef1268 [2020-03-09T16:35:01.811Z] ---> 506a4b0b76e1 [2020-03-09T16:35:01.811Z] Step 6/8 : WORKDIR /device-virtual-go [2020-03-09T16:35:01.811Z] ---> Running in 86386cac4698 [2020-03-09T16:35:02.071Z] Removing intermediate container 86386cac4698 [2020-03-09T16:35:02.071Z] ---> 5d0ff043c516 [2020-03-09T16:35:02.071Z] Step 7/8 : COPY . . [2020-03-09T16:35:02.331Z] ---> 2af16e63a36c [2020-03-09T16:35:02.331Z] Step 8/8 : RUN go mod download [2020-03-09T16:35:02.331Z] ---> Running in 04c9e52894e2 [2020-03-09T16:35:04.238Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-09T16:35:04.238Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-09T16:35:04.238Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-09T16:35:04.238Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-09T16:35:04.238Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-09T16:35:04.238Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-09T16:35:04.238Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-09T16:35:04.497Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-03-09T16:35:04.497Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-03-09T16:35:04.497Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-09T16:35:04.497Z] go: finding github.com/edsrzf/mmap-go v1.0.0 [2020-03-09T16:35:04.497Z] go: finding github.com/fatih/color v1.7.0 [2020-03-09T16:35:04.497Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-09T16:35:04.497Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-09T16:35:04.497Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-09T16:35:04.497Z] go: finding github.com/golang/snappy v0.0.1 [2020-03-09T16:35:04.497Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-09T16:35:04.497Z] go: finding github.com/google/uuid v1.1.0 [2020-03-09T16:35:04.497Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-09T16:35:04.497Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-09T16:35:04.497Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-09T16:35:04.497Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-09T16:35:04.497Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-09T16:35:04.497Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-09T16:35:04.497Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-09T16:35:04.756Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-09T16:35:04.756Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-09T16:35:04.756Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-09T16:35:04.756Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-09T16:35:04.756Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-09T16:35:04.756Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-09T16:35:04.756Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-09T16:35:04.756Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-09T16:35:04.756Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-09T16:35:04.756Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-09T16:35:04.756Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-09T16:35:04.756Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-09T16:35:04.756Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-09T16:35:04.756Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-09T16:35:04.756Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-09T16:35:04.756Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-09T16:35:04.756Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-09T16:35:04.756Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-09T16:35:04.756Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-09T16:35:04.756Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-09T16:35:04.756Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-09T16:35:04.756Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-09T16:35:04.756Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-09T16:35:04.756Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-09T16:35:04.756Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-09T16:35:04.756Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-09T16:35:04.756Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-09T16:35:04.756Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-09T16:35:04.756Z] go: finding github.com/posener/complete v1.1.1 [2020-03-09T16:35:04.756Z] go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 [2020-03-09T16:35:05.014Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-09T16:35:05.014Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-09T16:35:05.014Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-09T16:35:05.014Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-09T16:35:05.014Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-09T16:35:05.014Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-09T16:35:05.014Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-09T16:35:05.014Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-09T16:35:05.014Z] go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 [2020-03-09T16:35:05.014Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-09T16:35:05.014Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-09T16:35:05.014Z] go: finding modernc.org/b v1.0.0 [2020-03-09T16:35:05.014Z] go: finding modernc.org/db v1.0.0 [2020-03-09T16:35:05.014Z] go: finding modernc.org/file v1.0.0 [2020-03-09T16:35:05.273Z] go: finding modernc.org/fileutil v1.0.0 [2020-03-09T16:35:05.273Z] go: finding modernc.org/golex v1.0.0 [2020-03-09T16:35:05.273Z] go: finding modernc.org/internal v1.0.0 [2020-03-09T16:35:05.273Z] go: finding modernc.org/lldb v1.0.0 [2020-03-09T16:35:05.273Z] go: finding modernc.org/mathutil v1.0.0 [2020-03-09T16:35:05.273Z] go: finding modernc.org/ql v1.0.0 [2020-03-09T16:35:05.273Z] go: finding modernc.org/sortutil v1.0.0 [2020-03-09T16:35:05.536Z] go: finding modernc.org/strutil v1.0.0 [2020-03-09T16:35:05.536Z] go: finding modernc.org/zappy v1.0.0 [2020-03-09T16:35:13.676Z] Removing intermediate container 04c9e52894e2 [2020-03-09T16:35:13.676Z] ---> 746308a1153d [2020-03-09T16:35:13.676Z] Successfully built 746308a1153d [2020-03-09T16:35:14.249Z] 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-03-09T16:35:14.828Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-09T16:35:14.828Z] . [Pipeline] withDockerContainer [2020-03-09T16:35:14.960Z] prd-centos7-docker-4c-2g-5206 does not seem to be running inside a container [2020-03-09T16:35:15.012Z] $ 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 ******** ci-base-image-x86_64 cat [2020-03-09T16:35:15.555Z] $ docker top 01fc281f947c45c3f30b936a797f280b770bf017b9086a669aabb98a3ae0fa06 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-09T16:35:16.595Z] + go version [2020-03-09T16:35:16.595Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-09T16:35:16.955Z] + make test [2020-03-09T16:35:16.955Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-03-09T16:35:20.260Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2020-03-09T16:35:38.459Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2020-03-09T16:35:48.473Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 8.782s coverage: 50.8% of statements [2020-03-09T16:35:48.473Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-09T16:35:51.026Z] gofmt -l . [2020-03-09T16:35:51.026Z] [ "`gofmt -l .`" = "" ] [2020-03-09T16:35:51.026Z] ./bin/test-attribution-txt.sh [2020-03-09T16:35:51.606Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-09T16:35:52.296Z] Stashed 1 file(s) [Pipeline] } [2020-03-09T16:35:52.299Z] $ docker stop --time=1 01fc281f947c45c3f30b936a797f280b770bf017b9086a669aabb98a3ae0fa06 [2020-03-09T16:35:53.796Z] $ docker rm -f 01fc281f947c45c3f30b936a797f280b770bf017b9086a669aabb98a3ae0fa06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-09T16:35:54.766Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-09T16:35:55.066Z] + ls -al . [2020-03-09T16:35:55.066Z] total 108 [2020-03-09T16:35:55.066Z] drwxrwxr-x. 8 jenkins jenkins 4096 Mar 9 16:35 . [2020-03-09T16:35:55.066Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 9 16:34 .. [2020-03-09T16:35:55.066Z] -rw-rw-r--. 1 jenkins jenkins 5686 Mar 9 16:34 Attribution.txt [2020-03-09T16:35:55.066Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 9 16:34 bin [2020-03-09T16:35:55.066Z] drwxrwxr-x. 3 jenkins jenkins 55 Mar 9 16:34 cmd [2020-03-09T16:35:55.066Z] -rw-r--r--. 1 jenkins jenkins 30626 Mar 9 16:35 coverage.out [2020-03-09T16:35:55.066Z] -rw-rw-r--. 1 jenkins jenkins 1660 Mar 9 16:34 Dockerfile [2020-03-09T16:35:55.066Z] -rw-rw-r--. 1 jenkins jenkins 957 Mar 9 16:34 Dockerfile.build [2020-03-09T16:35:55.066Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 9 16:34 .git [2020-03-09T16:35:55.066Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 9 16:34 .github [2020-03-09T16:35:55.066Z] -rw-rw-r--. 1 jenkins jenkins 258 Mar 9 16:34 .gitignore [2020-03-09T16:35:55.066Z] -rw-r--r--. 1 jenkins jenkins 883 Mar 9 16:35 go.mod [2020-03-09T16:35:55.066Z] -rw-r--r--. 1 jenkins jenkins 13565 Mar 9 16:35 go.sum [2020-03-09T16:35:55.066Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 9 16:34 internal [2020-03-09T16:35:55.066Z] -rw-rw-r--. 1 jenkins jenkins 683 Mar 9 16:34 Jenkinsfile [2020-03-09T16:35:55.066Z] -rw-rw-r--. 1 jenkins jenkins 11340 Mar 9 16:34 LICENSE [2020-03-09T16:35:55.066Z] -rw-rw-r--. 1 jenkins jenkins 873 Mar 9 16:34 Makefile [2020-03-09T16:35:55.066Z] -rw-rw-r--. 1 jenkins jenkins 3770 Mar 9 16:34 README.md [2020-03-09T16:35:55.066Z] drwxrwxr-x. 3 jenkins jenkins 57 Mar 9 16:34 .semver [2020-03-09T16:35:55.066Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 9 16:32 VERSION [2020-03-09T16:35:55.066Z] -rw-rw-r--. 1 jenkins jenkins 235 Mar 9 16:34 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-09T16:35:55.365Z] + 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=763e853a19c711255d5eaab9db9eecae6a34cd7d --label arch=amd64 --label version=0.0.0 . [2020-03-09T16:35:55.365Z] Sending build context to Docker daemon 502.8kB [2020-03-09T16:35:55.365Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-03-09T16:35:55.365Z] Step 2/19 : FROM ${BASE} AS builder [2020-03-09T16:35:55.365Z] ---> 746308a1153d [2020-03-09T16:35:55.365Z] Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-03-09T16:35:55.625Z] ---> Running in 8e52110b1811 [2020-03-09T16:35:55.625Z] Removing intermediate container 8e52110b1811 [2020-03-09T16:35:55.625Z] ---> c36142d8ffcb [2020-03-09T16:35:55.625Z] Step 4/19 : ARG ALPINE_PKG_EXTRA="" [2020-03-09T16:35:55.625Z] ---> Running in 6bc8b95d3cdb [2020-03-09T16:35:55.884Z] Removing intermediate container 6bc8b95d3cdb [2020-03-09T16:35:55.884Z] ---> caeb6f6e31e3 [2020-03-09T16:35:55.884Z] Step 5/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IOTech' [2020-03-09T16:35:55.884Z] ---> Running in c515470deaae [2020-03-09T16:35:56.144Z] Removing intermediate container c515470deaae [2020-03-09T16:35:56.144Z] ---> 4820618ba5fb [2020-03-09T16:35:56.144Z] Step 6/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T16:35:56.144Z] ---> Running in f2521b4a432d [2020-03-09T16:35:57.088Z] Removing intermediate container f2521b4a432d [2020-03-09T16:35:57.088Z] ---> 94b01d3f4bb6 [2020-03-09T16:35:57.088Z] Step 7/19 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-03-09T16:35:57.088Z] ---> Running in 5341e31f4196 [2020-03-09T16:35:57.349Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-09T16:35:57.919Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-09T16:35:58.487Z] OK: 214 MiB in 52 packages [2020-03-09T16:35:58.749Z] Removing intermediate container 5341e31f4196 [2020-03-09T16:35:58.749Z] ---> 8382f649f0c9 [2020-03-09T16:35:58.749Z] Step 8/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2020-03-09T16:35:58.749Z] ---> Running in 43d86e4273cb [2020-03-09T16:35:59.007Z] Removing intermediate container 43d86e4273cb [2020-03-09T16:35:59.007Z] ---> 718807e6edc8 [2020-03-09T16:35:59.007Z] Step 9/19 : COPY . . [2020-03-09T16:35:59.266Z] ---> cdcfb2066abb [2020-03-09T16:35:59.266Z] Step 10/19 : ARG MAKE='make build' [2020-03-09T16:35:59.266Z] ---> Running in e7ba15623d23 [2020-03-09T16:35:59.266Z] Removing intermediate container e7ba15623d23 [2020-03-09T16:35:59.266Z] ---> fac4b1d36df2 [2020-03-09T16:35:59.266Z] Step 11/19 : RUN $MAKE [2020-03-09T16:35:59.528Z] ---> Running in 982cffc50892 [2020-03-09T16:35:59.792Z] 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-03-09T16:36:18.183Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-03-09T16:36:21.476Z] Removing intermediate container 982cffc50892 [2020-03-09T16:36:21.476Z] ---> d9c93a2e0880 [2020-03-09T16:36:21.476Z] Step 12/19 : FROM alpine [2020-03-09T16:36:21.735Z] latest: Pulling from library/alpine [2020-03-09T16:36:21.735Z] c9b1b535fdd9: Pulling fs layer [2020-03-09T16:36:21.999Z] c9b1b535fdd9: Verifying Checksum [2020-03-09T16:36:21.999Z] c9b1b535fdd9: Download complete [2020-03-09T16:36:22.259Z] c9b1b535fdd9: Pull complete [2020-03-09T16:36:22.259Z] Digest: sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d [2020-03-09T16:36:22.259Z] Status: Downloaded newer image for alpine:latest [2020-03-09T16:36:22.259Z] ---> e7d92cdc71fe [2020-03-09T16:36:22.259Z] Step 13/19 : ENV APP_PORT=49990 [2020-03-09T16:36:22.259Z] ---> Running in f36abc7fa447 [2020-03-09T16:36:22.259Z] Removing intermediate container f36abc7fa447 [2020-03-09T16:36:22.259Z] ---> 8229b84a37f0 [2020-03-09T16:36:22.259Z] Step 14/19 : EXPOSE $APP_PORT [2020-03-09T16:36:22.519Z] ---> Running in db914f50dd3d [2020-03-09T16:36:22.519Z] Removing intermediate container db914f50dd3d [2020-03-09T16:36:22.519Z] ---> 17298eab3607 [2020-03-09T16:36:22.519Z] Step 15/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2020-03-09T16:36:23.087Z] ---> cafa27a6d326 [2020-03-09T16:36:23.087Z] Step 16/19 : ENTRYPOINT ["/device-virtual","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-03-09T16:36:23.087Z] ---> Running in 8b561ba8fcba [2020-03-09T16:36:23.348Z] Removing intermediate container 8b561ba8fcba [2020-03-09T16:36:23.348Z] ---> 2d7761a5c60e [2020-03-09T16:36:23.348Z] Step 17/19 : LABEL arch=amd64 [2020-03-09T16:36:23.348Z] ---> Running in 7f7082335c66 [2020-03-09T16:36:23.348Z] Removing intermediate container 7f7082335c66 [2020-03-09T16:36:23.348Z] ---> 844f48637d22 [2020-03-09T16:36:23.348Z] Step 18/19 : LABEL git_sha=763e853a19c711255d5eaab9db9eecae6a34cd7d [2020-03-09T16:36:23.610Z] ---> Running in ed98ab9607d2 [2020-03-09T16:36:23.610Z] Removing intermediate container ed98ab9607d2 [2020-03-09T16:36:23.610Z] ---> acba16ab14b4 [2020-03-09T16:36:23.610Z] Step 19/19 : LABEL version=0.0.0 [2020-03-09T16:36:23.610Z] ---> Running in d010b457b687 [2020-03-09T16:36:23.870Z] Removing intermediate container d010b457b687 [2020-03-09T16:36:23.870Z] ---> 2d7ae1fd886a [2020-03-09T16:36:23.870Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-09T16:36:23.870Z] Successfully built 2d7ae1fd886a [2020-03-09T16:36:23.870Z] 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-09T18:22:17.782Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8532 in /w/workspace/xfoundry_device-virtual-go_PR-90 [Pipeline] { [Pipeline] ws [2020-03-09T18:22:17.823Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2020-03-09T18:22:23.690Z] using credential edgex-jenkins-ssh [2020-03-09T18:22:23.747Z] Cloning the remote Git repository [2020-03-09T18:22:23.747Z] Cloning with configured refspecs honoured and without tags [2020-03-09T18:22:23.797Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2020-03-09T18:22:23.904Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2020-03-09T18:22:24.023Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-03-09T18:22:24.027Z] > git --version # timeout=10 [2020-03-09T18:22:24.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T18:22:24.150Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T18:22:25.029Z] Fetching without tags [2020-03-09T18:22:24.863Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-03-09T18:22:24.904Z] > git config --add remote.origin.fetch +refs/pull/90/head:refs/remotes/origin/PR-90 # timeout=10 [2020-03-09T18:22:24.941Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T18:22:24.980Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2020-03-09T18:22:25.035Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2020-03-09T18:22:25.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T18:22:25.049Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T18:22:25.548Z] Merging remotes/origin/master commit 5671dc497a8de3c78b84a4dff37d194a373880a7 into PR head commit 763e853a19c711255d5eaab9db9eecae6a34cd7d [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-09T18:22:25.846Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-03-09T18:22:25.556Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T18:22:25.588Z] > git checkout -f 763e853a19c711255d5eaab9db9eecae6a34cd7d # timeout=10 [2020-03-09T18:22:27.141Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T18:22:27.436Z] ---> package-listing.sh [2020-03-09T18:22:27.436Z] ++ facter osfamily [2020-03-09T18:22:27.436Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-09T18:22:27.436Z] + OS_FAMILY=redhat [2020-03-09T18:22:27.436Z] + workspace=/w/workspace/xfoundry_device-virtual-go_PR-90 [2020-03-09T18:22:27.436Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-09T18:22:27.436Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-09T18:22:27.436Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-09T18:22:27.436Z] + PACKAGES=/tmp/packages_start.txt [2020-03-09T18:22:27.436Z] + '[' /w/workspace/xfoundry_device-virtual-go_PR-90 ']' [2020-03-09T18:22:27.436Z] + PACKAGES=/tmp/packages_end.txt [2020-03-09T18:22:27.436Z] + case "${OS_FAMILY}" in [2020-03-09T18:22:27.436Z] + rpm -qa [2020-03-09T18:22:27.436Z] + sort [2020-03-09T18:22:31.622Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-09T18:22:31.622Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-09T18:22:31.622Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-09T18:22:31.622Z] + '[' /w/workspace/xfoundry_device-virtual-go_PR-90 ']' [2020-03-09T18:22:31.622Z] + mkdir -p /w/workspace/xfoundry_device-virtual-go_PR-90/archives/ [2020-03-09T18:22:31.622Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-virtual-go_PR-90/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:22:31.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-09T18:22:31.976Z] [2020-03-09T18:22:31.976Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:22:32.308Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-09T18:22:32.309Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-09T18:22:32.309Z] c9b1b535fdd9: Pulling fs layer [2020-03-09T18:22:32.309Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-09T18:22:32.309Z] 756a868c4378: Pulling fs layer [2020-03-09T18:22:32.309Z] 444b2fc9a129: Pulling fs layer [2020-03-09T18:22:32.309Z] ea15f1150254: Pulling fs layer [2020-03-09T18:22:32.309Z] 41b27a9f41bf: Pulling fs layer [2020-03-09T18:22:32.309Z] 28c525ee5125: Pulling fs layer [2020-03-09T18:22:32.309Z] 094b1ea09ed8: Pulling fs layer [2020-03-09T18:22:32.309Z] 138eaada9080: Pulling fs layer [2020-03-09T18:22:32.309Z] 0622d0fa9048: Pulling fs layer [2020-03-09T18:22:32.309Z] 41b27a9f41bf: Waiting [2020-03-09T18:22:32.309Z] 28c525ee5125: Waiting [2020-03-09T18:22:32.309Z] 094b1ea09ed8: Waiting [2020-03-09T18:22:32.309Z] 138eaada9080: Waiting [2020-03-09T18:22:32.309Z] 0622d0fa9048: Waiting [2020-03-09T18:22:32.309Z] 444b2fc9a129: Waiting [2020-03-09T18:22:32.309Z] ea15f1150254: Waiting [2020-03-09T18:22:32.309Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-09T18:22:32.309Z] 2cc5ad85d9ab: Download complete [2020-03-09T18:22:32.309Z] 444b2fc9a129: Verifying Checksum [2020-03-09T18:22:32.309Z] 444b2fc9a129: Download complete [2020-03-09T18:22:32.309Z] c9b1b535fdd9: Download complete [2020-03-09T18:22:32.309Z] ea15f1150254: Verifying Checksum [2020-03-09T18:22:32.309Z] ea15f1150254: Download complete [2020-03-09T18:22:32.583Z] 28c525ee5125: Verifying Checksum [2020-03-09T18:22:32.583Z] 28c525ee5125: Download complete [2020-03-09T18:22:32.845Z] 756a868c4378: Verifying Checksum [2020-03-09T18:22:32.845Z] 756a868c4378: Download complete [2020-03-09T18:22:32.845Z] c9b1b535fdd9: Pull complete [2020-03-09T18:22:32.845Z] 094b1ea09ed8: Verifying Checksum [2020-03-09T18:22:32.845Z] 094b1ea09ed8: Download complete [2020-03-09T18:22:32.845Z] 138eaada9080: Verifying Checksum [2020-03-09T18:22:32.845Z] 138eaada9080: Download complete [2020-03-09T18:22:32.845Z] 0622d0fa9048: Verifying Checksum [2020-03-09T18:22:32.845Z] 0622d0fa9048: Download complete [2020-03-09T18:22:33.415Z] 2cc5ad85d9ab: Pull complete [2020-03-09T18:22:33.415Z] 41b27a9f41bf: Verifying Checksum [2020-03-09T18:22:33.415Z] 41b27a9f41bf: Download complete [2020-03-09T18:22:34.790Z] 756a868c4378: Pull complete [2020-03-09T18:22:34.790Z] 444b2fc9a129: Pull complete [2020-03-09T18:22:34.790Z] ea15f1150254: Pull complete [2020-03-09T18:22:38.977Z] 41b27a9f41bf: Pull complete [2020-03-09T18:22:38.977Z] 28c525ee5125: Pull complete [2020-03-09T18:22:41.514Z] 094b1ea09ed8: Pull complete [2020-03-09T18:22:41.514Z] 138eaada9080: Pull complete [2020-03-09T18:22:41.514Z] 0622d0fa9048: Pull complete [2020-03-09T18:22:41.514Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-09T18:22:41.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-09T18:22:41.660Z] prd-centos7-docker-4c-2g-5164 does not seem to be running inside a container [2020-03-09T18:22:41.704Z] $ 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-90 -v /w/workspace/xfoundry_device-virtual-go_PR-90:/w/workspace/xfoundry_device-virtual-go_PR-90:rw,z -v /w/workspace/xfoundry_device-virtual-go_PR-90@tmp:/w/workspace/xfoundry_device-virtual-go_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-09T18:22:42.190Z] $ docker top 09af0209b00322b64590a200437c8234d549523f114b5632d00433fd33200ac8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-09T18:22:42.895Z] provisioning config files... [2020-03-09T18:22:42.909Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-virtual-go_PR-90@tmp/config1601406367852344293tmp [Pipeline] { [Pipeline] echo [2020-03-09T18:22:43.017Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T18:22:43.307Z] ---> create-netrc.sh [Pipeline] echo [2020-03-09T18:22:43.313Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T18:22:43.599Z] ---> logs-deploy.sh [2020-03-09T18:22:43.599Z] + ARCHIVE_ARTIFACTS= [2020-03-09T18:22:43.599Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-09T18:22:43.599Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-09T18:22:43.599Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-09T18:22:43.599Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-90/2 [2020-03-09T18:22:43.599Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-90/2/ [2020-03-09T18:22:43.599Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-90/2 /w/workspace/xfoundry_device-virtual-go_PR-90 [2020-03-09T18:22:44.534Z] Archives upload complete. [2020-03-09T18:22:44.793Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-90/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-90/2/