Pull request #110 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 c582d469887cd834f9d5759aa0528599fd84ba45 rather than 185c5cac0a2258eef7d350a902a67317b784c425 Obtained Jenkinsfile from c582d469887cd834f9d5759aa0528599fd84ba45 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 a8d5489117fb74ecf2babedeac9793ec80335c77 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 a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > 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 ‘prd-centos7-docker-4c-2g-8215’ is offline; ‘prd-centos7-docker-4c-2g-8216’ is offline; ‘prd-centos7-docker-4c-2g-8228’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8140’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8224’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8231 in /w/workspace/foundry_device-virtual-go_PR-110 [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 Fetching without tags Merging remotes/origin/master commit c582d469887cd834f9d5759aa0528599fd84ba45 into PR head commit 185c5cac0a2258eef7d350a902a67317b784c425 > git init /w/workspace/foundry_device-virtual-go_PR-110 # 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/110/head:refs/remotes/origin/PR-110 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/110/head:refs/remotes/origin/PR-110 # 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/110/head:refs/remotes/origin/PR-110 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 185c5cac0a2258eef7d350a902a67317b784c425 # timeout=10 Merge succeeded, producing 185c5cac0a2258eef7d350a902a67317b784c425 Checking out Revision 185c5cac0a2258eef7d350a902a67317b784c425 (PR-110) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c582d469887cd834f9d5759aa0528599fd84ba45 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 185c5cac0a2258eef7d350a902a67317b784c425 # timeout=10 Commit message: "upgrade sdk and contract version for Geneva release" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:58:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:58:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:58:57 ========================================================= 13:58:57 EdgeX Global Pipelines Version Info 13:58:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 21fff1ff2d94d29d0202a29d26e8364d8607c083 # timeout=10 13:58:59 ------------------- 13:58:59 stable info: 13:58:59 ------------------- 13:58:59 Commited By: Emilio Reyes emilio.reyes@intel.com 13:58:59 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 13:58:59 Message: update stable to v1.0.87 13:58:59 ------------------- 13:58:59 experimental info: 13:58:59 ------------------- 13:58:59 Commited By: **** collab-it+edgex@linuxfoundation.org 13:58:59 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 13:58:59 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 13:59:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:59:01 13:59:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:59:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:59:02 latest: Pulling from edgex-devops/git-semver 13:59:02 9123ac7c32f7: Pulling fs layer 13:59:02 b8cc5d1170e3: Pulling fs layer 13:59:02 2924cbbf6a41: Pulling fs layer 13:59:02 93b08a4f1073: Pulling fs layer 13:59:02 93b08a4f1073: Waiting 13:59:02 b8cc5d1170e3: Verifying Checksum 13:59:02 b8cc5d1170e3: Download complete 13:59:02 9123ac7c32f7: Verifying Checksum 13:59:02 9123ac7c32f7: Download complete 13:59:02 93b08a4f1073: Verifying Checksum 13:59:02 93b08a4f1073: Download complete 13:59:02 2924cbbf6a41: Verifying Checksum 13:59:02 2924cbbf6a41: Download complete 13:59:02 9123ac7c32f7: Pull complete 13:59:02 b8cc5d1170e3: Pull complete 13:59:03 2924cbbf6a41: Pull complete 13:59:03 93b08a4f1073: Pull complete 13:59:03 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 13:59:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:59:03 prd-centos7-docker-4c-2g-8231 does not seem to be running inside a container 13:59:03 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-110 -v /w/workspace/foundry_device-virtual-go_PR-110:/w/workspace/foundry_device-virtual-go_PR-110:rw,z -v /w/workspace/foundry_device-virtual-go_PR-110@tmp:/w/workspace/foundry_device-virtual-go_PR-110@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:59:04 $ docker top 1d9f05e804cbcc450f62da308ecf77eb2bb10bfff054c861c24667e56368283a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:59:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:59:04 [ssh-agent] Looking for ssh-agent implementation... 13:59:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:59:04 $ docker exec 1d9f05e804cbcc450f62da308ecf77eb2bb10bfff054c861c24667e56368283a ssh-agent 13:59:05 SSH_AUTH_SOCK=/tmp/ssh-6izNzF3zWRD4/agent.13 13:59:05 SSH_AGENT_PID=20 13:59:05 Running ssh-add (command line suppressed) 13:59:05 Identity added: /w/workspace/foundry_device-virtual-go_PR-110@tmp/private_key_3812346595838547999.key (/w/workspace/foundry_device-virtual-go_PR-110@tmp/private_key_3812346595838547999.key) 13:59:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:59:05 + git describe --exact-match --tags HEAD 13:59:05 fatal: No names found, cannot describe anything. [Pipeline] } 13:59:05 $ docker exec --env ******** --env ******** 1d9f05e804cbcc450f62da308ecf77eb2bb10bfff054c861c24667e56368283a ssh-agent -k 13:59:05 unset SSH_AUTH_SOCK; 13:59:05 unset SSH_AGENT_PID; 13:59:05 echo Agent pid 20 killed; 13:59:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 13:59:05 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 13:59:05 This usually means this commit has not been tagged. [Pipeline] sshagent 13:59:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:59:06 [ssh-agent] Looking for ssh-agent implementation... 13:59:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:59:06 $ docker exec 1d9f05e804cbcc450f62da308ecf77eb2bb10bfff054c861c24667e56368283a ssh-agent 13:59:06 SSH_AUTH_SOCK=/tmp/ssh-LXfmaAxb4DGE/agent.54 13:59:06 SSH_AGENT_PID=61 13:59:06 Running ssh-add (command line suppressed) 13:59:06 Identity added: /w/workspace/foundry_device-virtual-go_PR-110@tmp/private_key_5288675985118039319.key (/w/workspace/foundry_device-virtual-go_PR-110@tmp/private_key_5288675985118039319.key) 13:59:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:59:06 + git semver init 13:59:06 # -> Open(): unable to determine branch for HEAD 13:59:06 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-110/.git 13:59:06 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-110 13:59:06 # $SEMVER_REMOTE_NAME = origin 13:59:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:59:06 # $SEMVER_USER_NAME = edgex-jenkins 13:59:06 # $SEMVER_BRANCH = PR-110 13:59:06 # $SEMVER_TEMP = /tmp/semver-923528061 13:59:06 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 13:59:07 # '/tmp/semver-923528061' -> '/w/workspace/foundry_device-virtual-go_PR-110/.semver' 13:59:07 # -> Force: false 13:59:07 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-110/.semver [Pipeline] } 13:59:07 $ docker exec --env ******** --env ******** 1d9f05e804cbcc450f62da308ecf77eb2bb10bfff054c861c24667e56368283a ssh-agent -k 13:59:07 unset SSH_AUTH_SOCK; 13:59:07 unset SSH_AGENT_PID; 13:59:07 echo Agent pid 61 killed; 13:59:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:59:07 + git semver [Pipeline] } 13:59:07 $ docker stop --time=1 1d9f05e804cbcc450f62da308ecf77eb2bb10bfff054c861c24667e56368283a 13:59:09 $ docker rm -f 1d9f05e804cbcc450f62da308ecf77eb2bb10bfff054c861c24667e56368283a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 13:59:09 Stashed 29 file(s) [Pipeline] echo 13:59:09 [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 13:59:25 Still waiting to schedule task 13:59:25 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:59:25 Still waiting to schedule task 13:59:25 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:00:58 Running on prd-centos7-docker-4c-2g-8238 in /w/workspace/foundry_device-virtual-go_PR-110 [Pipeline] { [Pipeline] ws 14:00:58 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 14:01:01 using credential edgex-jenkins-ssh 14:01:01 Cloning the remote Git repository 14:01:01 Cloning with configured refspecs honoured and without tags 14:01:01 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 14:01:01 > git init /w/workspace/device-virtual-go/3 # timeout=10 14:01:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:01:01 > git --version # timeout=10 14:01:01 using GIT_SSH to set credentials SSH Credentials for GitHub 14:01:01 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/110/head:refs/remotes/origin/PR-110 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:01:03 Fetching without tags 14:01:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:01:03 > git config --add remote.origin.fetch +refs/pull/110/head:refs/remotes/origin/PR-110 # timeout=10 14:01:03 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:01:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:01:03 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:01:03 using GIT_SSH to set credentials SSH Credentials for GitHub 14:01:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/110/head:refs/remotes/origin/PR-110 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:01:05 Merging remotes/origin/master commit c582d469887cd834f9d5759aa0528599fd84ba45 into PR head commit 185c5cac0a2258eef7d350a902a67317b784c425 14:01:05 Merge succeeded, producing 185c5cac0a2258eef7d350a902a67317b784c425 14:01:05 Checking out Revision 185c5cac0a2258eef7d350a902a67317b784c425 (PR-110) 14:01:05 > git config core.sparsecheckout # timeout=10 14:01:05 > git checkout -f 185c5cac0a2258eef7d350a902a67317b784c425 # timeout=10 14:01:05 > git remote # timeout=10 14:01:05 > git config --get remote.origin.url # timeout=10 14:01:05 using GIT_SSH to set credentials SSH Credentials for GitHub 14:01:05 > git merge c582d469887cd834f9d5759aa0528599fd84ba45 # timeout=10 14:01:05 > git rev-parse HEAD^{commit} # timeout=10 14:01:05 > git config core.sparsecheckout # timeout=10 14:01:05 > git checkout -f 185c5cac0a2258eef7d350a902a67317b784c425 # timeout=10 14:01:14 Commit message: "upgrade sdk and contract version for Geneva release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:01:15 ========================================================= 14:01:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:01:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:01:16 + 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 . 14:01:16 Sending build context to Docker daemon 521.7kB 14:01:16 Step 1/8 : ARG BASE=golang:1.13-alpine 14:01:16 Step 2/8 : FROM ${BASE} 14:01:16 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:01:16 e6b0cf9c0882: Pulling fs layer 14:01:16 2848faf0eed1: Pulling fs layer 14:01:16 0f37312ad70f: Pulling fs layer 14:01:16 5788d62ee057: Pulling fs layer 14:01:16 0e6b1d234666: Pulling fs layer 14:01:16 bf5d7aec512f: Pulling fs layer 14:01:16 34c802a77dc8: Pulling fs layer 14:01:16 9eb99e56ec68: Pulling fs layer 14:01:16 27c7a5d97fbd: Pulling fs layer 14:01:16 5c102a31e300: Pulling fs layer 14:01:16 dcfb455df0a1: Pulling fs layer 14:01:16 34c802a77dc8: Waiting 14:01:16 9eb99e56ec68: Waiting 14:01:16 27c7a5d97fbd: Waiting 14:01:16 5788d62ee057: Waiting 14:01:16 5c102a31e300: Waiting 14:01:16 dcfb455df0a1: Waiting 14:01:16 0e6b1d234666: Waiting 14:01:16 bf5d7aec512f: Waiting 14:01:16 0f37312ad70f: Verifying Checksum 14:01:16 0f37312ad70f: Download complete 14:01:16 2848faf0eed1: Verifying Checksum 14:01:16 2848faf0eed1: Download complete 14:01:16 0e6b1d234666: Verifying Checksum 14:01:16 0e6b1d234666: Download complete 14:01:16 bf5d7aec512f: Verifying Checksum 14:01:16 bf5d7aec512f: Download complete 14:01:16 e6b0cf9c0882: Verifying Checksum 14:01:16 e6b0cf9c0882: Download complete 14:01:17 e6b0cf9c0882: Pull complete 14:01:17 2848faf0eed1: Pull complete 14:01:17 34c802a77dc8: Verifying Checksum 14:01:17 34c802a77dc8: Download complete 14:01:17 27c7a5d97fbd: Verifying Checksum 14:01:17 27c7a5d97fbd: Download complete 14:01:17 0f37312ad70f: Pull complete 14:01:17 5c102a31e300: Verifying Checksum 14:01:17 5c102a31e300: Download complete 14:01:17 dcfb455df0a1: Verifying Checksum 14:01:17 dcfb455df0a1: Download complete 14:01:18 9eb99e56ec68: Verifying Checksum 14:01:18 9eb99e56ec68: Download complete 14:01:18 5788d62ee057: Verifying Checksum 14:01:18 5788d62ee057: Download complete 14:01:25 5788d62ee057: Pull complete 14:01:25 0e6b1d234666: Pull complete 14:01:25 bf5d7aec512f: Pull complete 14:01:29 34c802a77dc8: Pull complete 14:01:32 9eb99e56ec68: Pull complete 14:01:32 27c7a5d97fbd: Pull complete 14:01:33 5c102a31e300: Pull complete 14:01:33 dcfb455df0a1: Pull complete 14:01:33 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:01:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:01:33 ---> 7c70fe431013 14:01:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 14:01:33 ---> Running in baa1c0593135 14:01:33 Removing intermediate container baa1c0593135 14:01:33 ---> 004f265b4a06 14:01:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:01:33 ---> Running in 6c12b127b38c 14:01:34 Removing intermediate container 6c12b127b38c 14:01:34 ---> b7f5ac7f3586 14:01:34 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 14:01:34 ---> Running in a451f95ba8b0 14:01:35 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:01:36 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:01:37 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 14:01:39 (2/17) Installing libmagic (5.37-r1) 14:01:39 (3/17) Installing file (5.37-r1) 14:01:39 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 14:01:39 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 14:01:39 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 14:02:06 (7/17) Installing libc-dev (0.7.2-r0) 14:02:06 (8/17) Installing g++ (9.2.0-r4) 14:02:11 (9/17) Installing fortify-headers (1.1-r0) 14:02:11 (10/17) Installing build-base (0.5-r1) 14:02:11 (11/17) Installing openssh-keygen (8.1_p1-r0) 14:02:11 (12/17) Installing libedit (20191211.3.1-r0) 14:02:11 (13/17) Installing openssh-client (8.1_p1-r0) 14:02:11 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 14:02:11 (15/17) Installing openssh-server-common (8.1_p1-r0) 14:02:11 (16/17) Installing openssh-server (8.1_p1-r0) 14:02:12 (17/17) Installing openssh (8.1_p1-r0) 14:02:12 Executing busybox-1.31.1-r8.trigger 14:02:12 OK: 214 MiB in 52 packages 14:02:16 Removing intermediate container a451f95ba8b0 14:02:16 ---> f2d11cc89127 14:02:16 Step 6/8 : WORKDIR /device-virtual-go 14:02:16 ---> Running in 7fad6bf66cfe 14:02:16 Removing intermediate container 7fad6bf66cfe 14:02:16 ---> 82a1de1c451a 14:02:16 Step 7/8 : COPY . . 14:02:16 ---> 1a3879c2006e 14:02:16 Step 8/8 : RUN go mod download 14:02:16 ---> Running in 8264ec849e29 14:02:18 go: finding github.com/BurntSushi/toml v0.3.1 14:02:18 go: finding github.com/OneOfOne/xxhash v1.2.6 14:02:18 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:02:18 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:02:18 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:02:18 go: finding github.com/bgentry/speakeasy v0.1.0 14:02:18 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:02:18 go: finding github.com/davecgh/go-spew v1.1.1 14:02:18 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 14:02:18 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 14:02:18 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:02:18 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 14:02:18 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 14:02:18 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:02:18 go: finding github.com/edsrzf/mmap-go v1.0.0 14:02:18 go: finding github.com/fatih/color v1.7.0 14:02:18 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:02:18 go: finding github.com/go-kit/kit v0.8.0 14:02:18 go: finding github.com/go-logfmt/logfmt v0.4.0 14:02:18 go: finding github.com/go-stack/stack v1.8.0 14:02:18 go: finding github.com/golang/snappy v0.0.1 14:02:18 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:02:18 go: finding github.com/google/uuid v1.1.0 14:02:18 go: finding github.com/gorilla/mux v1.7.1 14:02:18 go: finding github.com/hashicorp/consul/api v1.1.0 14:02:18 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:02:18 go: finding github.com/hashicorp/errwrap v1.0.0 14:02:18 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:02:18 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:02:18 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:02:18 go: finding github.com/hashicorp/go-multierror v1.0.0 14:02:18 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:02:18 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:02:18 go: finding github.com/hashicorp/go-syslog v1.0.0 14:02:18 go: finding github.com/hashicorp/go-uuid v1.0.1 14:02:18 go: finding github.com/hashicorp/go.net v0.0.1 14:02:18 go: finding github.com/hashicorp/golang-lru v0.5.0 14:02:18 go: finding github.com/hashicorp/logutils v1.0.0 14:02:18 go: finding github.com/hashicorp/mdns v1.0.0 14:02:18 go: finding github.com/hashicorp/memberlist v0.1.3 14:02:18 go: finding github.com/hashicorp/serf v0.8.2 14:02:18 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:02:18 go: finding github.com/mattn/go-colorable v0.0.9 14:02:18 go: finding github.com/mattn/go-isatty v0.0.3 14:02:18 go: finding github.com/miekg/dns v1.0.14 14:02:18 go: finding github.com/mitchellh/cli v1.0.0 14:02:18 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:02:18 go: finding github.com/mitchellh/copystructure v1.0.0 14:02:18 go: finding github.com/mitchellh/go-homedir v1.0.0 14:02:18 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:02:18 go: finding github.com/mitchellh/gox v0.4.0 14:02:18 go: finding github.com/mitchellh/iochan v1.0.0 14:02:18 go: finding github.com/mitchellh/mapstructure v1.1.2 14:02:18 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:02:18 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:02:18 go: finding github.com/pelletier/go-toml v1.2.0 14:02:18 go: finding github.com/pkg/errors v0.8.1 14:02:18 go: finding github.com/pmezard/go-difflib v1.0.0 14:02:18 go: finding github.com/posener/complete v1.1.1 14:02:18 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 14:02:18 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:02:18 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:02:18 go: finding github.com/stretchr/objx v0.1.0 14:02:18 go: finding github.com/stretchr/testify v1.5.1 14:02:18 go: finding github.com/ugorji/go v1.1.4 14:02:18 go: finding github.com/x448/float16 v0.8.4 14:02:18 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:02:18 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:02:18 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:02:18 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 14:02:18 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:02:18 go: finding gopkg.in/yaml.v2 v2.2.8 14:02:18 go: finding modernc.org/b v1.0.0 14:02:18 go: finding modernc.org/db v1.0.0 14:02:18 go: finding modernc.org/file v1.0.0 14:02:18 go: finding modernc.org/fileutil v1.0.0 14:02:18 go: finding modernc.org/golex v1.0.0 14:02:18 go: finding modernc.org/internal v1.0.0 14:02:18 go: finding modernc.org/lldb v1.0.0 14:02:18 go: finding modernc.org/mathutil v1.0.0 14:02:18 go: finding modernc.org/ql v1.0.0 14:02:18 go: finding modernc.org/sortutil v1.0.0 14:02:18 go: finding modernc.org/strutil v1.0.0 14:02:18 go: finding modernc.org/zappy v1.0.0 14:02:22 Removing intermediate container 8264ec849e29 14:02:22 ---> afc751733bf4 14:02:22 Successfully built afc751733bf4 14:02:22 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 14:02:23 + docker inspect -f . ci-base-image-x86_64 14:02:23 . [Pipeline] withDockerContainer 14:02:23 prd-centos7-docker-4c-2g-8238 does not seem to be running inside a container 14:02:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** ci-base-image-x86_64 cat 14:02:24 $ docker top 9818c2680f392999403990f01cb8f28ceb7b4507f05fc154341769a71282ccc6 -eo pid,comm [Pipeline] { [Pipeline] sh 14:02:24 + go version 14:02:24 go version go1.13.5 linux/amd64 [Pipeline] sh 14:02:25 + make test 14:02:25 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:02:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:02:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8242 in /w/workspace/foundry_device-virtual-go_PR-110 [Pipeline] { [Pipeline] ws 14:02:37 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 14:02:42 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:02:44 using credential edgex-jenkins-ssh 14:02:44 Cloning the remote Git repository 14:02:44 Cloning with configured refspecs honoured and without tags 14:02:44 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 14:02:44 > git init /w/workspace/device-virtual-go/3 # timeout=10 14:02:44 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:02:44 > git --version # timeout=10 14:02:44 using GIT_SSH to set credentials SSH Credentials for GitHub 14:02:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/110/head:refs/remotes/origin/PR-110 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:02:45 Fetching without tags 14:02:46 Merging remotes/origin/master commit c582d469887cd834f9d5759aa0528599fd84ba45 into PR head commit 185c5cac0a2258eef7d350a902a67317b784c425 14:02:46 Merge succeeded, producing 185c5cac0a2258eef7d350a902a67317b784c425 14:02:46 Checking out Revision 185c5cac0a2258eef7d350a902a67317b784c425 (PR-110) 14:02:45 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:02:45 > git config --add remote.origin.fetch +refs/pull/110/head:refs/remotes/origin/PR-110 # timeout=10 14:02:45 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:02:45 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:02:45 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:02:45 using GIT_SSH to set credentials SSH Credentials for GitHub 14:02:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/110/head:refs/remotes/origin/PR-110 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:02:46 > git config core.sparsecheckout # timeout=10 14:02:46 > git checkout -f 185c5cac0a2258eef7d350a902a67317b784c425 # timeout=10 14:02:46 > git remote # timeout=10 14:02:46 > git config --get remote.origin.url # timeout=10 14:02:46 using GIT_SSH to set credentials SSH Credentials for GitHub 14:02:46 > git merge c582d469887cd834f9d5759aa0528599fd84ba45 # timeout=10 14:02:46 > git rev-parse HEAD^{commit} # timeout=10 14:02:46 > git config core.sparsecheckout # timeout=10 14:02:46 > git checkout -f 185c5cac0a2258eef7d350a902a67317b784c425 # timeout=10 14:02:51 Commit message: "upgrade sdk and contract version for Geneva release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:02:52 ========================================================= 14:02:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:02:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:02:53 + 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 . 14:02:53 Sending build context to Docker daemon 521.7kB 14:02:53 Step 1/8 : ARG BASE=golang:1.13-alpine 14:02:53 Step 2/8 : FROM ${BASE} 14:02:54 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:02:54 cde5963f3b93: Pulling fs layer 14:02:54 2a23fa8c16f7: Pulling fs layer 14:02:54 777b28850792: Pulling fs layer 14:02:54 8a11ddd9e578: Pulling fs layer 14:02:54 4cf88f913ddb: Pulling fs layer 14:02:54 1df406cf5192: Pulling fs layer 14:02:54 cd6300453558: Pulling fs layer 14:02:54 b9c365052c96: Pulling fs layer 14:02:54 a2d8cc88f415: Pulling fs layer 14:02:54 ea1d1ca13537: Pulling fs layer 14:02:54 3750a50a1c5e: Pulling fs layer 14:02:54 8a11ddd9e578: Waiting 14:02:54 4cf88f913ddb: Waiting 14:02:54 1df406cf5192: Waiting 14:02:54 a2d8cc88f415: Waiting 14:02:54 cd6300453558: Waiting 14:02:54 ea1d1ca13537: Waiting 14:02:54 b9c365052c96: Waiting 14:02:54 3750a50a1c5e: Waiting 14:02:54 777b28850792: Verifying Checksum 14:02:54 777b28850792: Download complete 14:02:54 2a23fa8c16f7: Download complete 14:02:54 4cf88f913ddb: Verifying Checksum 14:02:54 4cf88f913ddb: Download complete 14:02:54 1df406cf5192: Verifying Checksum 14:02:54 1df406cf5192: Download complete 14:02:54 cde5963f3b93: Verifying Checksum 14:02:55 cde5963f3b93: Pull complete 14:02:56 2a23fa8c16f7: Pull complete 14:02:56 777b28850792: Pull complete 14:02:58 cd6300453558: Download complete 14:02:58 a2d8cc88f415: Verifying Checksum 14:02:58 a2d8cc88f415: Download complete 14:03:01 ea1d1ca13537: Verifying Checksum 14:03:01 ea1d1ca13537: Download complete 14:03:01 3750a50a1c5e: Download complete 14:03:04 b9c365052c96: Verifying Checksum 14:03:04 b9c365052c96: Download complete 14:03:06 8a11ddd9e578: Verifying Checksum 14:03:06 8a11ddd9e578: Download complete 14:03:18 8a11ddd9e578: Pull complete 14:03:18 4cf88f913ddb: Pull complete 14:03:18 1df406cf5192: Pull complete 14:03:22 cd6300453558: Pull complete 14:03:28 b9c365052c96: Pull complete 14:03:28 a2d8cc88f415: Pull complete 14:03:30 ea1d1ca13537: Pull complete 14:03:30 3750a50a1c5e: Pull complete 14:03:30 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:03:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:03:30 ---> 78745c68409d 14:03:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 14:03:35 ---> Running in bfb0c3b97418 14:03:35 Removing intermediate container bfb0c3b97418 14:03:35 ---> 2e8c59af5bd5 14:03:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:03:35 ---> Running in c38a66d82a2c 14:03:37 Removing intermediate container c38a66d82a2c 14:03:37 ---> a0f7d76999ba 14:03:37 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 14:03:37 ---> Running in b6ebd9a3f7c0 14:03:38 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:03:39 ok github.com/edgexfoundry/device-virtual-go/internal/driver 54.179s coverage: 52.7% of statements 14:03:39 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:03:39 gofmt -l . 14:03:39 [ "`gofmt -l .`" = "" ] 14:03:39 ./bin/test-attribution-txt.sh 14:03:39 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:03:39 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:03:40 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 14:03:40 Stashed 1 file(s) [Pipeline] } 14:03:40 $ docker stop --time=1 9818c2680f392999403990f01cb8f28ceb7b4507f05fc154341769a71282ccc6 14:03:40 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 14:03:40 (3/18) Installing libmagic (5.37-r1) 14:03:40 (4/18) Installing file (5.37-r1) 14:03:40 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 14:03:40 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 14:03:40 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 14:03:41 $ docker rm -f 9818c2680f392999403990f01cb8f28ceb7b4507f05fc154341769a71282ccc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:03:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:03:43 + ls -al . 14:03:43 total 112 14:03:43 drwxrwxr-x. 8 jenkins jenkins 4096 May 13 14:03 . 14:03:43 drwxrwxr-x. 4 jenkins jenkins 28 May 13 14:01 .. 14:03:43 -rw-rw-r--. 1 jenkins jenkins 6432 May 13 14:01 Attribution.txt 14:03:43 drwxrwxr-x. 2 jenkins jenkins 64 May 13 14:01 bin 14:03:43 drwxrwxr-x. 3 jenkins jenkins 32 May 13 14:01 cmd 14:03:43 -rw-r--r--. 1 jenkins jenkins 32181 May 13 14:03 coverage.out 14:03:43 -rw-rw-r--. 1 jenkins jenkins 1826 May 13 14:01 Dockerfile 14:03:43 -rw-rw-r--. 1 jenkins jenkins 957 May 13 14:01 Dockerfile.build 14:03:43 drwxrwxr-x. 8 jenkins jenkins 179 May 13 14:01 .git 14:03:43 drwxrwxr-x. 2 jenkins jenkins 38 May 13 14:01 .github 14:03:43 -rw-rw-r--. 1 jenkins jenkins 258 May 13 14:01 .gitignore 14:03:43 -rw-r--r--. 1 jenkins jenkins 855 May 13 14:03 go.mod 14:03:43 -rw-r--r--. 1 jenkins jenkins 14894 May 13 14:03 go.sum 14:03:43 drwxrwxr-x. 3 jenkins jenkins 20 May 13 14:01 internal 14:03:43 -rw-rw-r--. 1 jenkins jenkins 683 May 13 14:01 Jenkinsfile 14:03:43 -rw-rw-r--. 1 jenkins jenkins 11340 May 13 14:01 LICENSE 14:03:43 -rw-rw-r--. 1 jenkins jenkins 873 May 13 14:01 Makefile 14:03:43 -rw-rw-r--. 1 jenkins jenkins 4413 May 13 14:01 README.md 14:03:43 drwxrwxr-x. 3 jenkins jenkins 58 May 13 14:01 .semver 14:03:43 -rw-rw-r--. 1 jenkins jenkins 5 May 13 13:59 VERSION 14:03:43 -rw-rw-r--. 1 jenkins jenkins 235 May 13 14:01 version.go [Pipeline] isUnix [Pipeline] sh 14:03:43 + 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=185c5cac0a2258eef7d350a902a67317b784c425 --label arch=amd64 --label version=0.0.0 . 14:03:43 Sending build context to Docker daemon 34.14MB 14:03:43 Step 1/21 : ARG BASE=golang:1.13-alpine 14:03:43 Step 2/21 : FROM ${BASE} AS builder 14:03:43 ---> afc751733bf4 14:03:43 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 14:03:43 ---> Running in fd0a1da5eb66 14:03:43 Removing intermediate container fd0a1da5eb66 14:03:43 ---> b037986ba007 14:03:43 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 14:03:43 ---> Running in 30d9f3397757 14:03:44 Removing intermediate container 30d9f3397757 14:03:44 ---> fdf28ed18edd 14:03:44 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 14:03:44 ---> Running in a4113f7623b1 14:03:44 Removing intermediate container a4113f7623b1 14:03:44 ---> 9bf44f69fa89 14:03:44 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:03:44 ---> Running in b0856483f447 14:03:45 Removing intermediate container b0856483f447 14:03:45 ---> 6a88eb4e4c5d 14:03:45 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:03:45 (8/18) Installing libc-dev (0.7.2-r0) 14:03:45 (9/18) Installing g++ (9.2.0-r4) 14:03:45 ---> Running in f4ab037bf986 14:03:45 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:03:46 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:03:46 OK: 214 MiB in 52 packages 14:03:47 Removing intermediate container f4ab037bf986 14:03:47 ---> 4329c118602a 14:03:47 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 14:03:47 (10/18) Installing fortify-headers (1.1-r0) 14:03:47 ---> Running in 300178df8227 14:03:47 Removing intermediate container 300178df8227 14:03:47 ---> 16d2caf05da6 14:03:47 Step 9/21 : COPY . . 14:03:47 (11/18) Installing build-base (0.5-r1) 14:03:47 (12/18) Installing openssh-keygen (8.1_p1-r0) 14:03:47 (13/18) Installing libedit (20191211.3.1-r0) 14:03:47 (14/18) Installing openssh-client (8.1_p1-r0) 14:03:47 ---> a0bac1043259 14:03:47 Step 10/21 : ARG MAKE='make build' 14:03:47 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 14:03:47 (16/18) Installing openssh-server-common (8.1_p1-r0) 14:03:48 ---> Running in db106fa1a537 14:03:48 Removing intermediate container db106fa1a537 14:03:48 ---> b434acc5f92a 14:03:48 Step 11/21 : RUN $MAKE 14:03:48 ---> Running in 7457eaca059d 14:03:48 (17/18) Installing openssh-server (8.1_p1-r0) 14:03:48 (18/18) Installing openssh (8.1_p1-r0) 14:03:48 Executing busybox-1.31.1-r8.trigger 14:03:48 OK: 203 MiB in 52 packages 14:03:48 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 14:03:56 Removing intermediate container b6ebd9a3f7c0 14:03:56 ---> 13fadb892669 14:03:56 Step 6/8 : WORKDIR /device-virtual-go 14:03:56 ---> Running in b4eebf069737 14:03:56 Removing intermediate container b4eebf069737 14:03:56 ---> a61418fa13b9 14:03:56 Step 7/8 : COPY . . 14:03:56 ---> a2ba8d7fb323 14:03:56 Step 8/8 : RUN go mod download 14:03:56 ---> Running in 3436eb8970ad 14:03:58 go: finding github.com/BurntSushi/toml v0.3.1 14:03:58 go: finding github.com/OneOfOne/xxhash v1.2.6 14:03:58 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:03:58 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:03:58 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:03:58 go: finding github.com/bgentry/speakeasy v0.1.0 14:03:58 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:03:58 go: finding github.com/davecgh/go-spew v1.1.1 14:03:58 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 14:03:58 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 14:03:58 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:03:58 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 14:03:58 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 14:03:58 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:03:58 go: finding github.com/edsrzf/mmap-go v1.0.0 14:03:58 go: finding github.com/fatih/color v1.7.0 14:03:58 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:03:58 go: finding github.com/go-kit/kit v0.8.0 14:03:58 go: finding github.com/go-logfmt/logfmt v0.4.0 14:03:58 go: finding github.com/go-stack/stack v1.8.0 14:03:58 go: finding github.com/golang/snappy v0.0.1 14:03:58 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:03:58 go: finding github.com/google/uuid v1.1.0 14:03:58 go: finding github.com/gorilla/mux v1.7.1 14:03:58 go: finding github.com/hashicorp/consul/api v1.1.0 14:03:58 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:03:58 go: finding github.com/hashicorp/errwrap v1.0.0 14:03:58 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:03:58 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:03:58 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:03:58 go: finding github.com/hashicorp/go-multierror v1.0.0 14:03:58 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:03:58 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:03:58 go: finding github.com/hashicorp/go-syslog v1.0.0 14:03:58 go: finding github.com/hashicorp/go-uuid v1.0.1 14:03:58 go: finding github.com/hashicorp/go.net v0.0.1 14:03:58 go: finding github.com/hashicorp/golang-lru v0.5.0 14:03:58 go: finding github.com/hashicorp/logutils v1.0.0 14:03:58 go: finding github.com/hashicorp/mdns v1.0.0 14:03:58 go: finding github.com/hashicorp/memberlist v0.1.3 14:03:58 go: finding github.com/hashicorp/serf v0.8.2 14:03:58 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:03:58 go: finding github.com/mattn/go-colorable v0.0.9 14:03:58 go: finding github.com/mattn/go-isatty v0.0.3 14:03:58 go: finding github.com/miekg/dns v1.0.14 14:03:58 go: finding github.com/mitchellh/cli v1.0.0 14:03:58 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:03:58 go: finding github.com/mitchellh/copystructure v1.0.0 14:03:58 go: finding github.com/mitchellh/go-homedir v1.0.0 14:03:58 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:03:58 go: finding github.com/mitchellh/gox v0.4.0 14:03:58 go: finding github.com/mitchellh/iochan v1.0.0 14:03:58 go: finding github.com/mitchellh/mapstructure v1.1.2 14:03:58 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:03:59 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:03:59 go: finding github.com/pelletier/go-toml v1.2.0 14:03:59 go: finding github.com/pkg/errors v0.8.1 14:03:59 go: finding github.com/pmezard/go-difflib v1.0.0 14:03:59 go: finding github.com/posener/complete v1.1.1 14:03:59 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 14:03:59 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:03:59 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:03:59 go: finding github.com/stretchr/objx v0.1.0 14:03:59 go: finding github.com/stretchr/testify v1.5.1 14:03:59 go: finding github.com/ugorji/go v1.1.4 14:03:59 go: finding github.com/x448/float16 v0.8.4 14:03:59 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:03:59 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:03:59 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:03:59 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 14:03:59 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:03:59 go: finding gopkg.in/yaml.v2 v2.2.8 14:03:59 go: finding modernc.org/b v1.0.0 14:03:59 go: finding modernc.org/db v1.0.0 14:03:59 go: finding modernc.org/file v1.0.0 14:03:59 go: finding modernc.org/fileutil v1.0.0 14:03:59 go: finding modernc.org/golex v1.0.0 14:03:59 go: finding modernc.org/internal v1.0.0 14:03:59 go: finding modernc.org/lldb v1.0.0 14:03:59 go: finding modernc.org/mathutil v1.0.0 14:03:59 go: finding modernc.org/ql v1.0.0 14:03:59 go: finding modernc.org/sortutil v1.0.0 14:03:59 go: finding modernc.org/strutil v1.0.0 14:03:59 go: finding modernc.org/zappy v1.0.0 14:04:00 CGO_ENABLED=0 GO111MODULE=on go build ./... 14:04:02 Removing intermediate container 7457eaca059d 14:04:02 ---> 2c196ce5f095 14:04:02 Step 12/21 : FROM alpine 14:04:02 latest: Pulling from library/alpine 14:04:02 cbdbe7a5bc2a: Pulling fs layer 14:04:03 cbdbe7a5bc2a: Verifying Checksum 14:04:03 cbdbe7a5bc2a: Download complete 14:04:03 cbdbe7a5bc2a: Pull complete 14:04:03 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 14:04:03 Status: Downloaded newer image for alpine:latest 14:04:03 ---> f70734b6a266 14:04:03 Step 13/21 : ENV APP_PORT=49990 14:04:03 ---> Running in 847e0c72ef94 14:04:03 Removing intermediate container 847e0c72ef94 14:04:03 ---> 655ed439e804 14:04:03 Step 14/21 : EXPOSE $APP_PORT 14:04:03 ---> Running in a36dd6cd1f05 14:04:03 Removing intermediate container a36dd6cd1f05 14:04:03 ---> 52a9616166cc 14:04:03 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 14:04:03 ---> b8192259fd28 14:04:03 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 14:04:04 ---> f7cf78094f82 14:04:04 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 14:04:04 ---> 4d7496eb32e5 14:04:04 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 14:04:04 ---> Running in d2c831a78e15 14:04:04 Removing intermediate container d2c831a78e15 14:04:04 ---> 4aa784d74e09 14:04:04 Step 19/21 : LABEL arch=amd64 14:04:04 ---> Running in 63d5386f58c5 14:04:04 Removing intermediate container 63d5386f58c5 14:04:04 ---> 6b12a5457f9f 14:04:04 Step 20/21 : LABEL git_sha=185c5cac0a2258eef7d350a902a67317b784c425 14:04:04 ---> Running in 55c2ae819504 14:04:04 Removing intermediate container 55c2ae819504 14:04:04 ---> 990089f187c7 14:04:04 Step 21/21 : LABEL version=0.0.0 14:04:04 ---> Running in 31ec6908cb43 14:04:04 Removing intermediate container 31ec6908cb43 14:04:04 ---> 8a63aaf41854 14:04:04 [Warning] One or more build-args [ARCH] were not consumed 14:04:04 Successfully built 8a63aaf41854 14:04:04 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] } 14:04:09 Removing intermediate container 3436eb8970ad 14:04:09 ---> 3ab5236cc9cd 14:04:09 Successfully built 3ab5236cc9cd 14:04:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:04:10 + docker inspect -f . ci-base-image-arm64 14:04:10 . [Pipeline] withDockerContainer 14:04:11 prd-ubuntu18.04-docker-arm64-4c-16g-8242 does not seem to be running inside a container 14:04:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** ci-base-image-arm64 cat 14:04:12 $ docker top 99cb677d53c88f0e17b90e559491f9a6f03d2d37e0145bddcbc7da0dc9ff4883 -eo pid,comm [Pipeline] { [Pipeline] sh 14:04:13 + go version 14:04:13 go version go1.13.5 linux/arm64 [Pipeline] sh 14:04:14 + make test 14:04:14 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:04:15 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:04:54 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:07:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 150.076s coverage: 52.7% of statements 14:07:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:07:32 gofmt -l . 14:07:32 [ "`gofmt -l .`" = "" ] 14:07:32 ./bin/test-attribution-txt.sh 14:07:33 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:07:34 Warning: overwriting stash ‘coverage-report’ 14:07:34 Stashed 1 file(s) [Pipeline] } 14:07:34 $ docker stop --time=1 99cb677d53c88f0e17b90e559491f9a6f03d2d37e0145bddcbc7da0dc9ff4883 14:07:36 $ docker rm -f 99cb677d53c88f0e17b90e559491f9a6f03d2d37e0145bddcbc7da0dc9ff4883 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:07:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:07:38 + ls -al . 14:07:38 total 140 14:07:38 drwxrwxr-x 8 jenkins jenkins 4096 May 13 14:07 . 14:07:38 drwxrwxr-x 4 jenkins jenkins 4096 May 13 14:02 .. 14:07:38 drwxrwxr-x 8 jenkins jenkins 4096 May 13 14:02 .git 14:07:38 drwxrwxr-x 2 jenkins jenkins 4096 May 13 14:02 .github 14:07:38 -rw-rw-r-- 1 jenkins jenkins 258 May 13 14:02 .gitignore 14:07:38 drwxrwxr-x 3 jenkins jenkins 4096 May 13 14:02 .semver 14:07:38 -rw-rw-r-- 1 jenkins jenkins 6432 May 13 14:02 Attribution.txt 14:07:38 -rw-rw-r-- 1 jenkins jenkins 1826 May 13 14:02 Dockerfile 14:07:38 -rw-rw-r-- 1 jenkins jenkins 957 May 13 14:02 Dockerfile.build 14:07:38 -rw-rw-r-- 1 jenkins jenkins 683 May 13 14:02 Jenkinsfile 14:07:38 -rw-rw-r-- 1 jenkins jenkins 11340 May 13 14:02 LICENSE 14:07:38 -rw-rw-r-- 1 jenkins jenkins 873 May 13 14:02 Makefile 14:07:38 -rw-rw-r-- 1 jenkins jenkins 4413 May 13 14:02 README.md 14:07:38 -rw-rw-r-- 1 jenkins jenkins 5 May 13 13:59 VERSION 14:07:38 drwxrwxr-x 2 jenkins jenkins 4096 May 13 14:02 bin 14:07:38 drwxrwxr-x 3 jenkins jenkins 4096 May 13 14:02 cmd 14:07:38 -rw-r--r-- 1 jenkins jenkins 32181 May 13 14:07 coverage.out 14:07:38 -rw-r--r-- 1 jenkins jenkins 855 May 13 14:07 go.mod 14:07:38 -rw-r--r-- 1 jenkins jenkins 14894 May 13 14:07 go.sum 14:07:38 drwxrwxr-x 3 jenkins jenkins 4096 May 13 14:02 internal 14:07:38 -rw-rw-r-- 1 jenkins jenkins 235 May 13 14:02 version.go [Pipeline] isUnix [Pipeline] sh 14:07:39 + 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=185c5cac0a2258eef7d350a902a67317b784c425 --label arch=arm64 --label version=0.0.0 . 14:07:39 Sending build context to Docker daemon 34.14MB 14:07:39 Step 1/21 : ARG BASE=golang:1.13-alpine 14:07:39 Step 2/21 : FROM ${BASE} AS builder 14:07:39 ---> 3ab5236cc9cd 14:07:39 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 14:07:40 ---> Running in 9c1406af9aa7 14:07:40 Removing intermediate container 9c1406af9aa7 14:07:40 ---> f60f266fdc1a 14:07:40 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 14:07:40 ---> Running in 0ddd0a82be41 14:07:41 Removing intermediate container 0ddd0a82be41 14:07:41 ---> 5cbb90304a78 14:07:41 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 14:07:41 ---> Running in 5a8f9fe28239 14:07:41 Removing intermediate container 5a8f9fe28239 14:07:41 ---> 2f96522a24dc 14:07:41 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:07:41 ---> Running in 42005970f882 14:07:43 Removing intermediate container 42005970f882 14:07:43 ---> c89dac30982e 14:07:43 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:07:43 ---> Running in fb72d86065f8 14:07:44 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:07:45 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:07:47 OK: 203 MiB in 52 packages 14:07:48 Removing intermediate container fb72d86065f8 14:07:48 ---> 0b3cd0e322c1 14:07:48 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 14:07:48 ---> Running in 2f5a007043d9 14:07:48 Removing intermediate container 2f5a007043d9 14:07:48 ---> 1db2f03d5c97 14:07:48 Step 9/21 : COPY . . 14:07:51 ---> bb808e2b2793 14:07:51 Step 10/21 : ARG MAKE='make build' 14:07:51 ---> Running in ea8e55046f26 14:07:51 Removing intermediate container ea8e55046f26 14:07:51 ---> ee613dae22b4 14:07:51 Step 11/21 : RUN $MAKE 14:07:51 ---> Running in b6484da9cbe4 14:07:52 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 14:08:24 CGO_ENABLED=0 GO111MODULE=on go build ./... 14:08:34 Removing intermediate container b6484da9cbe4 14:08:34 ---> 65d1e499063b 14:08:34 Step 12/21 : FROM alpine 14:08:34 latest: Pulling from library/alpine 14:08:34 29e5d40040c1: Pulling fs layer 14:08:34 29e5d40040c1: Download complete 14:08:34 29e5d40040c1: Pull complete 14:08:34 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 14:08:34 Status: Downloaded newer image for alpine:latest 14:08:34 ---> c20d2a9ab686 14:08:34 Step 13/21 : ENV APP_PORT=49990 14:08:34 ---> Running in cc5d8cd69d19 14:08:35 Removing intermediate container cc5d8cd69d19 14:08:35 ---> 93dd69049cfd 14:08:35 Step 14/21 : EXPOSE $APP_PORT 14:08:35 ---> Running in c32b95cb1f14 14:08:35 Removing intermediate container c32b95cb1f14 14:08:35 ---> 04075a81ba69 14:08:35 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 14:08:36 ---> ebf4934cdcd2 14:08:36 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 14:08:37 ---> f80bdd624bfa 14:08:37 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 14:08:37 ---> d7678a790d04 14:08:37 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 14:08:37 ---> Running in be53a3b7369f 14:08:37 Removing intermediate container be53a3b7369f 14:08:37 ---> e97b69bc3e3a 14:08:37 Step 19/21 : LABEL arch=arm64 14:08:37 ---> Running in 7fe96228e5a6 14:08:38 Removing intermediate container 7fe96228e5a6 14:08:38 ---> b1cdd8d55bd9 14:08:38 Step 20/21 : LABEL git_sha=185c5cac0a2258eef7d350a902a67317b784c425 14:08:38 ---> Running in b06589cffb25 14:08:38 Removing intermediate container b06589cffb25 14:08:38 ---> 42867bf72521 14:08:38 Step 21/21 : LABEL version=0.0.0 14:08:38 ---> Running in 2c2d89eb5071 14:08:39 Removing intermediate container 2c2d89eb5071 14:08:39 ---> 798f7968fea4 14:08:39 [Warning] One or more build-args [ARCH] were not consumed 14:08:39 Successfully built 798f7968fea4 14:08:39 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 14:08:40 provisioning config files... 14:08:40 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-110@tmp/config5733228028046385802tmp [Pipeline] { [Pipeline] sh 14:08:41 + curl -s https://codecov.io/bash 14:08:41 + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-110@tmp/config5733228028046385802tmp 14:08:41 14:08:41 _____ _ 14:08:41 / ____| | | 14:08:41 | | ___ __| | ___ ___ _____ __ 14:08:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:08:41 | |___| (_) | (_| | __/ (_| (_) \ V / 14:08:41 \_____\___/ \__,_|\___|\___\___/ \_/ 14:08:41 Bash-tbd 14:08:41 14:08:41 14:08:41 ==> Jenkins CI detected. 14:08:41 project root: . 14:08:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:08:41 ==> Running gcov in . (disable via -X gcov) 14:08:41 ==> Python coveragepy not found 14:08:41 ==> Searching for coverage reports in: 14:08:41 + . 14:08:41 -> Found 1 reports 14:08:41 ==> Detecting git/mercurial file structure 14:08:41 ==> Reading reports 14:08:41 + ./coverage.out bytes=32181 14:08:41 ==> Appending adjustments 14:08:41 http://docs.codecov.io/docs/fixing-reports 14:08:41 + Found adjustments 14:08:41 ==> Gzipping contents 14:08:41 ==> Uploading reports 14:08:41 url: https://codecov.io 14:08:41 query: branch=PR-110&commit=185c5cac0a2258eef7d350a902a67317b784c425&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-110%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=110&job= 14:08:41 -> Pinging Codecov 14:08:41 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-110&commit=185c5cac0a2258eef7d350a902a67317b784c425&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-110%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=110&job= 14:08:42 -> Uploading 14:08:42 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/185c5cac0a2258eef7d350a902a67317b784c425 [Pipeline] } 14:08:42 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 14:08:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:08:44 ---> package-listing.sh 14:08:44 ++ facter osfamily 14:08:44 ++ tr '[:upper:]' '[:lower:]' 14:08:44 + OS_FAMILY=redhat 14:08:44 + workspace=/w/workspace/foundry_device-virtual-go_PR-110 14:08:44 + START_PACKAGES=/tmp/packages_start.txt 14:08:44 + END_PACKAGES=/tmp/packages_end.txt 14:08:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:08:44 + PACKAGES=/tmp/packages_start.txt 14:08:44 + '[' /w/workspace/foundry_device-virtual-go_PR-110 ']' 14:08:44 + PACKAGES=/tmp/packages_end.txt 14:08:44 + case "${OS_FAMILY}" in 14:08:44 + rpm -qa 14:08:44 + sort 14:08:48 + '[' -f /tmp/packages_start.txt ']' 14:08:48 + '[' -f /tmp/packages_end.txt ']' 14:08:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:08:48 + '[' /w/workspace/foundry_device-virtual-go_PR-110 ']' 14:08:48 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-110/archives/ 14:08:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-110/archives/ [Pipeline] isUnix [Pipeline] sh 14:08:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:08:49 14:08:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:08:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:08:49 alpine: Pulling from edgex-lftools-log-publisher 14:08:49 c9b1b535fdd9: Pulling fs layer 14:08:49 2cc5ad85d9ab: Pulling fs layer 14:08:49 756a868c4378: Pulling fs layer 14:08:49 444b2fc9a129: Pulling fs layer 14:08:49 ea15f1150254: Pulling fs layer 14:08:49 41b27a9f41bf: Pulling fs layer 14:08:49 28c525ee5125: Pulling fs layer 14:08:49 094b1ea09ed8: Pulling fs layer 14:08:49 138eaada9080: Pulling fs layer 14:08:49 0622d0fa9048: Pulling fs layer 14:08:49 28c525ee5125: Waiting 14:08:49 094b1ea09ed8: Waiting 14:08:49 138eaada9080: Waiting 14:08:49 0622d0fa9048: Waiting 14:08:49 444b2fc9a129: Waiting 14:08:49 ea15f1150254: Waiting 14:08:49 41b27a9f41bf: Waiting 14:08:49 2cc5ad85d9ab: Verifying Checksum 14:08:49 2cc5ad85d9ab: Download complete 14:08:49 444b2fc9a129: Verifying Checksum 14:08:49 444b2fc9a129: Download complete 14:08:49 c9b1b535fdd9: Verifying Checksum 14:08:49 c9b1b535fdd9: Download complete 14:08:49 ea15f1150254: Verifying Checksum 14:08:49 ea15f1150254: Download complete 14:08:49 28c525ee5125: Verifying Checksum 14:08:49 28c525ee5125: Download complete 14:08:50 c9b1b535fdd9: Pull complete 14:08:50 2cc5ad85d9ab: Pull complete 14:08:50 756a868c4378: Verifying Checksum 14:08:50 756a868c4378: Download complete 14:08:50 138eaada9080: Verifying Checksum 14:08:50 138eaada9080: Download complete 14:08:50 0622d0fa9048: Verifying Checksum 14:08:50 0622d0fa9048: Download complete 14:08:50 094b1ea09ed8: Verifying Checksum 14:08:50 094b1ea09ed8: Download complete 14:08:51 41b27a9f41bf: Verifying Checksum 14:08:51 41b27a9f41bf: Download complete 14:08:52 756a868c4378: Pull complete 14:08:52 444b2fc9a129: Pull complete 14:08:52 ea15f1150254: Pull complete 14:08:56 41b27a9f41bf: Pull complete 14:08:56 28c525ee5125: Pull complete 14:08:58 094b1ea09ed8: Pull complete 14:08:58 138eaada9080: Pull complete 14:08:59 0622d0fa9048: Pull complete 14:08:59 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:08:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:08:59 prd-centos7-docker-4c-2g-8231 does not seem to be running inside a container 14:08:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/foundry_device-virtual-go_PR-110 -v /w/workspace/foundry_device-virtual-go_PR-110:/w/workspace/foundry_device-virtual-go_PR-110:rw,z -v /w/workspace/foundry_device-virtual-go_PR-110@tmp:/w/workspace/foundry_device-virtual-go_PR-110@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:09:00 $ docker top 7b4b5e0236a82ebfae53126f2c5ef3b7ff0ffade1c952eea1c4b7083fbb0d124 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:09:00 provisioning config files... 14:09:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-110@tmp/config2428155872813944511tmp [Pipeline] { [Pipeline] echo 14:09:00 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:09:00 ---> create-netrc.sh [Pipeline] echo 14:09:00 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:09:01 ---> logs-deploy.sh 14:09:01 + ARCHIVE_ARTIFACTS= 14:09:01 + LOGS_SERVER=https://logs.edgexfoundry.org 14:09:01 + '[' https://logs.edgexfoundry.org == None ']' 14:09:01 + NEXUS_URL=https://nexus.edgexfoundry.org 14:09:01 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-110/3 14:09:01 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-110/3/ 14:09:01 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-110/3 /w/workspace/foundry_device-virtual-go_PR-110 14:09:02 Archives upload complete. 14:09:02 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-110/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-110/3/ 14:09:03 ---> uname -a: 14:09:03 Linux 7b4b5e0236a8 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 14:09:03 14:09:03 14:09:03 ---> lscpu: 14:09:03 Architecture: x86_64 14:09:03 CPU op-mode(s): 32-bit, 64-bit 14:09:03 Byte Order: Little Endian 14:09:03 Address sizes: 40 bits physical, 48 bits virtual 14:09:03 CPU(s): 4 14:09:03 On-line CPU(s) list: 0-3 14:09:03 Thread(s) per core: 1 14:09:03 Core(s) per socket: 1 14:09:03 Socket(s): 4 14:09:03 NUMA node(s): 1 14:09:03 Vendor ID: GenuineIntel 14:09:03 CPU family: 6 14:09:03 Model: 44 14:09:03 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 14:09:03 Stepping: 1 14:09:03 CPU MHz: 2933.396 14:09:03 BogoMIPS: 5866.79 14:09:03 Virtualization: VT-x 14:09:03 Hypervisor vendor: KVM 14:09:03 Virtualization type: full 14:09:03 L1d cache: 128 KiB 14:09:03 L1i cache: 128 KiB 14:09:03 L2 cache: 16 MiB 14:09:03 L3 cache: 64 MiB 14:09:03 NUMA node0 CPU(s): 0-3 14:09:03 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 14:09:03 Vulnerability Meltdown: Mitigation; PTI 14:09:03 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:09:03 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 14:09:03 Vulnerability Spectre v2: Mitigation; Full retpoline 14:09:03 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 14:09:03 14:09:03 14:09:03 ---> nproc: 14:09:03 4 14:09:03 14:09:03 14:09:03 ---> df -h: 14:09:03 Filesystem Size Used Available Use% Mounted on 14:09:03 overlay 50.0G 6.3G 43.7G 13% / 14:09:03 tmpfs 64.0M 0 64.0M 0% /dev 14:09:03 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 14:09:03 shm 64.0M 0 64.0M 0% /dev/shm 14:09:03 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/resolv.conf 14:09:03 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hostname 14:09:03 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hosts 14:09:03 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/foundry_device-virtual-go_PR-110 14:09:03 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/foundry_device-virtual-go_PR-110@tmp 14:09:03 /dev/vda1 50.0G 6.3G 43.7G 13% /var/log/sa 14:09:03 14:09:03 14:09:03 ---> free -m: 14:09:03 total used free shared buff/cache available 14:09:03 Mem: 1838 592 74 0 1171 1142 14:09:03 Swap: 1023 0 1023 14:09:03 14:09:03 14:09:03 ---> ip addr: 14:09:03 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 14:09:03 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:09:03 inet 127.0.0.1/8 scope host lo 14:09:03 valid_lft forever preferred_lft forever 14:09:03 6: eth0@if7: mtu 1458 qdisc noqueue state UP 14:09:03 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 14:09:03 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 14:09:03 valid_lft forever preferred_lft forever 14:09:03 14:09:03