cloudxxx8 commented: recheck 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 21fff1ff2d94d29d0202a29d26e8364d8607c083 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-8210’ is offline; ‘prd-centos7-docker-4c-2g-8213’ 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-8212’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8216 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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > 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 Merging remotes/origin/master commit c582d469887cd834f9d5759aa0528599fd84ba45 into PR head commit 21fff1ff2d94d29d0202a29d26e8364d8607c083 Merge succeeded, producing 21fff1ff2d94d29d0202a29d26e8364d8607c083 Checking out Revision 21fff1ff2d94d29d0202a29d26e8364d8607c083 (PR-110) > git config core.sparsecheckout # timeout=10 > git checkout -f 21fff1ff2d94d29d0202a29d26e8364d8607c083 # 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 c582d469887cd834f9d5759aa0528599fd84ba45 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21fff1ff2d94d29d0202a29d26e8364d8607c083 # timeout=10 Commit message: "upgrade sdk version to v1.2.1 for Geneva release" > git rev-list --no-walk 21fff1ff2d94d29d0202a29d26e8364d8607c083 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:40:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:40:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:40:46 ========================================================= 13:40:46 EdgeX Global Pipelines Version Info 13:40:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:40:47 ------------------- 13:40:47 stable info: 13:40:47 ------------------- 13:40:47 Commited By: Emilio Reyes emilio.reyes@intel.com 13:40:47 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 13:40:47 Message: update stable to v1.0.87 13:40:48 ------------------- 13:40:48 experimental info: 13:40:48 ------------------- 13:40:48 Commited By: **** collab-it+edgex@linuxfoundation.org 13:40:48 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 13:40:48 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:40:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:40:50 13:40:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:40:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:40:51 latest: Pulling from edgex-devops/git-semver 13:40:51 9123ac7c32f7: Pulling fs layer 13:40:51 b8cc5d1170e3: Pulling fs layer 13:40:51 2924cbbf6a41: Pulling fs layer 13:40:51 93b08a4f1073: Pulling fs layer 13:40:51 93b08a4f1073: Waiting 13:40:51 b8cc5d1170e3: Verifying Checksum 13:40:51 b8cc5d1170e3: Download complete 13:40:51 9123ac7c32f7: Verifying Checksum 13:40:51 9123ac7c32f7: Download complete 13:40:51 93b08a4f1073: Verifying Checksum 13:40:51 93b08a4f1073: Download complete 13:40:51 2924cbbf6a41: Verifying Checksum 13:40:51 2924cbbf6a41: Download complete 13:40:51 9123ac7c32f7: Pull complete 13:40:51 b8cc5d1170e3: Pull complete 13:40:52 2924cbbf6a41: Pull complete 13:40:52 93b08a4f1073: Pull complete 13:40:52 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 13:40:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:40:52 prd-centos7-docker-4c-2g-8216 does not seem to be running inside a container 13:40:52 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:40:53 $ docker top 95d7cf4f588f2314efeeba66e340677feaf5de148c352c5ad15ec97d7b41ed63 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:40:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:40:53 [ssh-agent] Looking for ssh-agent implementation... 13:40:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:40:53 $ docker exec 95d7cf4f588f2314efeeba66e340677feaf5de148c352c5ad15ec97d7b41ed63 ssh-agent 13:40:54 SSH_AUTH_SOCK=/tmp/ssh-oJjbKD0eSPX1/agent.14 13:40:54 SSH_AGENT_PID=21 13:40:54 Running ssh-add (command line suppressed) 13:40:54 Identity added: /w/workspace/foundry_device-virtual-go_PR-110@tmp/private_key_8451565799077708526.key (/w/workspace/foundry_device-virtual-go_PR-110@tmp/private_key_8451565799077708526.key) 13:40:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:40:54 + git describe --exact-match --tags HEAD 13:40:54 fatal: No names found, cannot describe anything. [Pipeline] } 13:40:54 $ docker exec --env ******** --env ******** 95d7cf4f588f2314efeeba66e340677feaf5de148c352c5ad15ec97d7b41ed63 ssh-agent -k 13:40:54 unset SSH_AUTH_SOCK; 13:40:54 unset SSH_AGENT_PID; 13:40:54 echo Agent pid 21 killed; 13:40:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 13:40:54 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 13:40:54 This usually means this commit has not been tagged. [Pipeline] sshagent 13:40:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:40:55 [ssh-agent] Looking for ssh-agent implementation... 13:40:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:40:55 $ docker exec 95d7cf4f588f2314efeeba66e340677feaf5de148c352c5ad15ec97d7b41ed63 ssh-agent 13:40:55 SSH_AUTH_SOCK=/tmp/ssh-L22vsFriooDS/agent.57 13:40:55 SSH_AGENT_PID=64 13:40:55 Running ssh-add (command line suppressed) 13:40:55 Identity added: /w/workspace/foundry_device-virtual-go_PR-110@tmp/private_key_7348402051944931860.key (/w/workspace/foundry_device-virtual-go_PR-110@tmp/private_key_7348402051944931860.key) 13:40:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:40:55 + git semver init 13:40:55 # -> Open(): unable to determine branch for HEAD 13:40:55 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-110/.git 13:40:55 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-110 13:40:55 # $SEMVER_REMOTE_NAME = origin 13:40:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:40:55 # $SEMVER_USER_NAME = edgex-jenkins 13:40:55 # $SEMVER_BRANCH = PR-110 13:40:55 # $SEMVER_TEMP = /tmp/semver-342728681 13:40:55 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 13:40:56 # '/tmp/semver-342728681' -> '/w/workspace/foundry_device-virtual-go_PR-110/.semver' 13:40:56 # -> Force: false 13:40:56 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-110/.semver [Pipeline] } 13:40:56 $ docker exec --env ******** --env ******** 95d7cf4f588f2314efeeba66e340677feaf5de148c352c5ad15ec97d7b41ed63 ssh-agent -k 13:40:56 unset SSH_AUTH_SOCK; 13:40:56 unset SSH_AGENT_PID; 13:40:56 echo Agent pid 64 killed; 13:40:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:40:57 + git semver [Pipeline] } 13:40:57 $ docker stop --time=1 95d7cf4f588f2314efeeba66e340677feaf5de148c352c5ad15ec97d7b41ed63 13:40:58 $ docker rm -f 95d7cf4f588f2314efeeba66e340677feaf5de148c352c5ad15ec97d7b41ed63 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 13:40:59 Stashed 29 file(s) [Pipeline] echo 13:40:59 [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:41:14 Still waiting to schedule task 13:41:14 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:41:14 Still waiting to schedule task 13:41:14 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 13:42:31 Running on prd-centos7-docker-4c-2g-8221 in /w/workspace/foundry_device-virtual-go_PR-110 [Pipeline] { [Pipeline] ws 13:42:31 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 13:42:34 using credential edgex-jenkins-ssh 13:42:34 Cloning the remote Git repository 13:42:34 Cloning with configured refspecs honoured and without tags 13:42:35 Fetching without tags 13:42:34 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:42:34 > git init /w/workspace/device-virtual-go/2 # timeout=10 13:42:34 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:42:34 > git --version # timeout=10 13:42:34 using GIT_SSH to set credentials SSH Credentials for GitHub 13:42:34 > 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 13:42:34 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:42:34 > git config --add remote.origin.fetch +refs/pull/110/head:refs/remotes/origin/PR-110 # timeout=10 13:42:34 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:42:35 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:42:35 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:42:35 using GIT_SSH to set credentials SSH Credentials for GitHub 13:42:35 > 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 13:42:35 Merging remotes/origin/master commit c582d469887cd834f9d5759aa0528599fd84ba45 into PR head commit 21fff1ff2d94d29d0202a29d26e8364d8607c083 13:42:35 Merge succeeded, producing 21fff1ff2d94d29d0202a29d26e8364d8607c083 13:42:35 Checking out Revision 21fff1ff2d94d29d0202a29d26e8364d8607c083 (PR-110) 13:42:35 > git config core.sparsecheckout # timeout=10 13:42:35 > git checkout -f 21fff1ff2d94d29d0202a29d26e8364d8607c083 # timeout=10 13:42:35 > git remote # timeout=10 13:42:35 > git config --get remote.origin.url # timeout=10 13:42:35 using GIT_SSH to set credentials SSH Credentials for GitHub 13:42:35 > git merge c582d469887cd834f9d5759aa0528599fd84ba45 # timeout=10 13:42:35 > git rev-parse HEAD^{commit} # timeout=10 13:42:35 > git config core.sparsecheckout # timeout=10 13:42:35 > git checkout -f 21fff1ff2d94d29d0202a29d26e8364d8607c083 # timeout=10 13:42:39 Commit message: "upgrade sdk version to v1.2.1 for Geneva release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:42:40 ========================================================= 13:42:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 13:42:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:42:41 + 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 . 13:42:41 Sending build context to Docker daemon 521.2kB 13:42:41 Step 1/8 : ARG BASE=golang:1.13-alpine 13:42:41 Step 2/8 : FROM ${BASE} 13:42:41 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 13:42:41 e6b0cf9c0882: Pulling fs layer 13:42:41 2848faf0eed1: Pulling fs layer 13:42:41 0f37312ad70f: Pulling fs layer 13:42:41 5788d62ee057: Pulling fs layer 13:42:41 0e6b1d234666: Pulling fs layer 13:42:41 bf5d7aec512f: Pulling fs layer 13:42:41 34c802a77dc8: Pulling fs layer 13:42:41 9eb99e56ec68: Pulling fs layer 13:42:41 27c7a5d97fbd: Pulling fs layer 13:42:41 5c102a31e300: Pulling fs layer 13:42:41 dcfb455df0a1: Pulling fs layer 13:42:41 5788d62ee057: Waiting 13:42:41 0e6b1d234666: Waiting 13:42:41 bf5d7aec512f: Waiting 13:42:41 34c802a77dc8: Waiting 13:42:41 9eb99e56ec68: Waiting 13:42:41 dcfb455df0a1: Waiting 13:42:41 27c7a5d97fbd: Waiting 13:42:41 0f37312ad70f: Verifying Checksum 13:42:41 0f37312ad70f: Download complete 13:42:41 2848faf0eed1: Download complete 13:42:41 0e6b1d234666: Verifying Checksum 13:42:41 0e6b1d234666: Download complete 13:42:41 bf5d7aec512f: Verifying Checksum 13:42:41 bf5d7aec512f: Download complete 13:42:41 e6b0cf9c0882: Verifying Checksum 13:42:42 e6b0cf9c0882: Pull complete 13:42:42 34c802a77dc8: Verifying Checksum 13:42:42 34c802a77dc8: Download complete 13:42:42 27c7a5d97fbd: Verifying Checksum 13:42:42 27c7a5d97fbd: Download complete 13:42:43 5c102a31e300: Verifying Checksum 13:42:43 5c102a31e300: Download complete 13:42:43 dcfb455df0a1: Verifying Checksum 13:42:43 dcfb455df0a1: Download complete 13:42:43 5788d62ee057: Download complete 13:42:43 9eb99e56ec68: Verifying Checksum 13:42:43 9eb99e56ec68: Download complete 13:42:44 2848faf0eed1: Pull complete 13:42:44 0f37312ad70f: Pull complete 13:42:51 5788d62ee057: Pull complete 13:42:51 0e6b1d234666: Pull complete 13:42:51 bf5d7aec512f: Pull complete 13:42:56 34c802a77dc8: Pull complete 13:42:59 9eb99e56ec68: Pull complete 13:42:59 27c7a5d97fbd: Pull complete 13:42:59 5c102a31e300: Pull complete 13:43:00 dcfb455df0a1: Pull complete 13:43:00 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 13:43:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 13:43:00 ---> 7c70fe431013 13:43:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 13:43:00 ---> Running in 4ae1551a2f44 13:43:00 Removing intermediate container 4ae1551a2f44 13:43:00 ---> 75cca5c55fda 13:43:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:43:00 ---> Running in d65861a55fa7 13:43:01 Removing intermediate container d65861a55fa7 13:43:01 ---> 708f8e511c09 13:43:01 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 13:43:01 ---> Running in 19c1c3598b04 13:43:02 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 13:43:03 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 13:43:03 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 13:43:03 (2/17) Installing libmagic (5.37-r1) 13:43:04 (3/17) Installing file (5.37-r1) 13:43:04 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 13:43:04 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 13:43:04 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 13:43:26 (7/17) Installing libc-dev (0.7.2-r0) 13:43:26 (8/17) Installing g++ (9.2.0-r4) 13:43:27 (9/17) Installing fortify-headers (1.1-r0) 13:43:27 (10/17) Installing build-base (0.5-r1) 13:43:27 (11/17) Installing openssh-keygen (8.1_p1-r0) 13:43:27 (12/17) Installing libedit (20191211.3.1-r0) 13:43:27 (13/17) Installing openssh-client (8.1_p1-r0) 13:43:28 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 13:43:28 (15/17) Installing openssh-server-common (8.1_p1-r0) 13:43:28 (16/17) Installing openssh-server (8.1_p1-r0) 13:43:28 (17/17) Installing openssh (8.1_p1-r0) 13:43:28 Executing busybox-1.31.1-r8.trigger 13:43:28 OK: 214 MiB in 52 packages 13:43:33 Removing intermediate container 19c1c3598b04 13:43:33 ---> 77b41c6c8e3c 13:43:33 Step 6/8 : WORKDIR /device-virtual-go 13:43:33 ---> Running in 398e98300649 13:43:33 Removing intermediate container 398e98300649 13:43:33 ---> 1b2d87df7f92 13:43:33 Step 7/8 : COPY . . 13:43:33 ---> d19c5de570e3 13:43:33 Step 8/8 : RUN go mod download 13:43:33 ---> Running in 5f9a40774120 13:43:35 go: finding github.com/BurntSushi/toml v0.3.1 13:43:35 go: finding github.com/OneOfOne/xxhash v1.2.6 13:43:35 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 13:43:35 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 13:43:35 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 13:43:35 go: finding github.com/bgentry/speakeasy v0.1.0 13:43:35 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 13:43:35 go: finding github.com/davecgh/go-spew v1.1.1 13:43:35 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 13:43:35 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 13:43:35 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 13:43:35 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 13:43:35 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 13:43:35 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 13:43:35 go: finding github.com/edsrzf/mmap-go v1.0.0 13:43:35 go: finding github.com/fatih/color v1.7.0 13:43:35 go: finding github.com/fxamacker/cbor/v2 v2.2.0 13:43:35 go: finding github.com/go-kit/kit v0.8.0 13:43:35 go: finding github.com/go-logfmt/logfmt v0.4.0 13:43:35 go: finding github.com/go-stack/stack v1.8.0 13:43:35 go: finding github.com/golang/snappy v0.0.1 13:43:35 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 13:43:35 go: finding github.com/google/uuid v1.1.0 13:43:35 go: finding github.com/gorilla/mux v1.7.1 13:43:35 go: finding github.com/hashicorp/consul/api v1.1.0 13:43:35 go: finding github.com/hashicorp/consul/sdk v0.1.1 13:43:35 go: finding github.com/hashicorp/errwrap v1.0.0 13:43:35 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 13:43:35 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 13:43:35 go: finding github.com/hashicorp/go-msgpack v0.5.3 13:43:35 go: finding github.com/hashicorp/go-multierror v1.0.0 13:43:35 go: finding github.com/hashicorp/go-rootcerts v1.0.0 13:43:35 go: finding github.com/hashicorp/go-sockaddr v1.0.0 13:43:35 go: finding github.com/hashicorp/go-syslog v1.0.0 13:43:35 go: finding github.com/hashicorp/go-uuid v1.0.1 13:43:35 go: finding github.com/hashicorp/go.net v0.0.1 13:43:35 go: finding github.com/hashicorp/golang-lru v0.5.0 13:43:35 go: finding github.com/hashicorp/logutils v1.0.0 13:43:35 go: finding github.com/hashicorp/mdns v1.0.0 13:43:35 go: finding github.com/hashicorp/memberlist v0.1.3 13:43:35 go: finding github.com/hashicorp/serf v0.8.2 13:43:35 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 13:43:35 go: finding github.com/mattn/go-colorable v0.0.9 13:43:35 go: finding github.com/mattn/go-isatty v0.0.3 13:43:35 go: finding github.com/miekg/dns v1.0.14 13:43:35 go: finding github.com/mitchellh/cli v1.0.0 13:43:35 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 13:43:35 go: finding github.com/mitchellh/copystructure v1.0.0 13:43:35 go: finding github.com/mitchellh/go-homedir v1.0.0 13:43:35 go: finding github.com/mitchellh/go-testing-interface v1.0.0 13:43:35 go: finding github.com/mitchellh/gox v0.4.0 13:43:35 go: finding github.com/mitchellh/iochan v1.0.0 13:43:35 go: finding github.com/mitchellh/mapstructure v1.1.2 13:43:35 go: finding github.com/mitchellh/reflectwalk v1.0.0 13:43:35 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 13:43:35 go: finding github.com/pelletier/go-toml v1.2.0 13:43:35 go: finding github.com/pkg/errors v0.8.1 13:43:35 go: finding github.com/pmezard/go-difflib v1.0.0 13:43:35 go: finding github.com/posener/complete v1.1.1 13:43:35 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 13:43:35 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 13:43:35 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 13:43:36 go: finding github.com/stretchr/objx v0.1.0 13:43:36 go: finding github.com/stretchr/testify v1.5.1 13:43:36 go: finding github.com/ugorji/go v1.1.4 13:43:36 go: finding github.com/x448/float16 v0.8.4 13:43:36 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 13:43:36 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 13:43:36 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 13:43:36 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 13:43:36 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 13:43:36 go: finding gopkg.in/yaml.v2 v2.2.8 13:43:36 go: finding modernc.org/b v1.0.0 13:43:36 go: finding modernc.org/db v1.0.0 13:43:36 go: finding modernc.org/file v1.0.0 13:43:36 go: finding modernc.org/fileutil v1.0.0 13:43:36 go: finding modernc.org/golex v1.0.0 13:43:36 go: finding modernc.org/internal v1.0.0 13:43:36 go: finding modernc.org/lldb v1.0.0 13:43:36 go: finding modernc.org/mathutil v1.0.0 13:43:36 go: finding modernc.org/ql v1.0.0 13:43:36 go: finding modernc.org/sortutil v1.0.0 13:43:36 go: finding modernc.org/strutil v1.0.0 13:43:36 go: finding modernc.org/zappy v1.0.0 13:43:39 Removing intermediate container 5f9a40774120 13:43:39 ---> ffdab7e078d4 13:43:39 Successfully built ffdab7e078d4 13:43:40 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 13:43:40 + docker inspect -f . ci-base-image-x86_64 13:43:40 . [Pipeline] withDockerContainer 13:43:40 prd-centos7-docker-4c-2g-8221 does not seem to be running inside a container 13:43:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:43:41 $ docker top dcb49e24118d1be194da9d0bd056b28f1225cfc92e64e6d07622b96427551986 -eo pid,comm [Pipeline] { [Pipeline] sh 13:43:41 + go version 13:43:41 go version go1.13.5 linux/amd64 [Pipeline] sh 13:43:42 + make test 13:43:42 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:43:43 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:43:58 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:44:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8224 in /w/workspace/foundry_device-virtual-go_PR-110 [Pipeline] { [Pipeline] ws 13:44:08 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 13:44:14 using credential edgex-jenkins-ssh 13:44:14 Cloning the remote Git repository 13:44:14 Cloning with configured refspecs honoured and without tags 13:44:14 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:44:14 > git init /w/workspace/device-virtual-go/2 # timeout=10 13:44:14 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:44:14 > git --version # timeout=10 13:44:14 using GIT_SSH to set credentials SSH Credentials for GitHub 13:44:15 Fetching without tags 13:44:14 > 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 13:44:15 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:44:15 > git config --add remote.origin.fetch +refs/pull/110/head:refs/remotes/origin/PR-110 # timeout=10 13:44:15 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:44:15 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:44:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:44:15 using GIT_SSH to set credentials SSH Credentials for GitHub 13:44:15 > 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 13:44:16 Merging remotes/origin/master commit c582d469887cd834f9d5759aa0528599fd84ba45 into PR head commit 21fff1ff2d94d29d0202a29d26e8364d8607c083 13:44:16 Merge succeeded, producing 21fff1ff2d94d29d0202a29d26e8364d8607c083 13:44:16 Checking out Revision 21fff1ff2d94d29d0202a29d26e8364d8607c083 (PR-110) 13:44:16 > git config core.sparsecheckout # timeout=10 13:44:16 > git checkout -f 21fff1ff2d94d29d0202a29d26e8364d8607c083 # timeout=10 13:44:16 > git remote # timeout=10 13:44:16 > git config --get remote.origin.url # timeout=10 13:44:16 using GIT_SSH to set credentials SSH Credentials for GitHub 13:44:16 > git merge c582d469887cd834f9d5759aa0528599fd84ba45 # timeout=10 13:44:16 > git rev-parse HEAD^{commit} # timeout=10 13:44:16 > git config core.sparsecheckout # timeout=10 13:44:16 > git checkout -f 21fff1ff2d94d29d0202a29d26e8364d8607c083 # timeout=10 13:44:20 Commit message: "upgrade sdk version to v1.2.1 for Geneva release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:44:21 ========================================================= 13:44:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 13:44:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:44:22 + 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 . 13:44:23 Sending build context to Docker daemon 521.2kB 13:44:23 Step 1/8 : ARG BASE=golang:1.13-alpine 13:44:23 Step 2/8 : FROM ${BASE} 13:44:24 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:44:24 cde5963f3b93: Pulling fs layer 13:44:24 2a23fa8c16f7: Pulling fs layer 13:44:24 777b28850792: Pulling fs layer 13:44:24 8a11ddd9e578: Pulling fs layer 13:44:24 4cf88f913ddb: Pulling fs layer 13:44:24 1df406cf5192: Pulling fs layer 13:44:24 cd6300453558: Pulling fs layer 13:44:24 b9c365052c96: Pulling fs layer 13:44:24 a2d8cc88f415: Pulling fs layer 13:44:24 ea1d1ca13537: Pulling fs layer 13:44:24 3750a50a1c5e: Pulling fs layer 13:44:24 8a11ddd9e578: Waiting 13:44:24 4cf88f913ddb: Waiting 13:44:24 1df406cf5192: Waiting 13:44:24 cd6300453558: Waiting 13:44:24 b9c365052c96: Waiting 13:44:24 a2d8cc88f415: Waiting 13:44:24 ea1d1ca13537: Waiting 13:44:24 3750a50a1c5e: Waiting 13:44:24 777b28850792: Verifying Checksum 13:44:24 777b28850792: Download complete 13:44:24 2a23fa8c16f7: Verifying Checksum 13:44:24 2a23fa8c16f7: Download complete 13:44:24 4cf88f913ddb: Download complete 13:44:24 1df406cf5192: Download complete 13:44:24 cde5963f3b93: Download complete 13:44:25 cde5963f3b93: Pull complete 13:44:25 2a23fa8c16f7: Pull complete 13:44:26 777b28850792: Pull complete 13:44:28 cd6300453558: Verifying Checksum 13:44:28 cd6300453558: Download complete 13:44:28 a2d8cc88f415: Verifying Checksum 13:44:28 a2d8cc88f415: Download complete 13:44:30 ea1d1ca13537: Verifying Checksum 13:44:30 ea1d1ca13537: Download complete 13:44:30 3750a50a1c5e: Verifying Checksum 13:44:30 3750a50a1c5e: Download complete 13:44:33 b9c365052c96: Download complete 13:44:35 8a11ddd9e578: Verifying Checksum 13:44:35 8a11ddd9e578: Download complete 13:44:47 8a11ddd9e578: Pull complete 13:44:47 4cf88f913ddb: Pull complete 13:44:47 1df406cf5192: Pull complete 13:44:52 cd6300453558: Pull complete 13:44:57 b9c365052c96: Pull complete 13:44:57 a2d8cc88f415: Pull complete 13:44:59 ea1d1ca13537: Pull complete 13:44:59 3750a50a1c5e: Pull complete 13:44:59 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 13:44:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 13:44:59 ---> 78745c68409d 13:44:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 13:45:04 ---> Running in a3e64cff046e 13:45:04 Removing intermediate container a3e64cff046e 13:45:04 ---> abd83cd7644d 13:45:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:45:04 ---> Running in 0f5283c2755b 13:45:06 Removing intermediate container 0f5283c2755b 13:45:06 ---> 9f2f1700b4d6 13:45:06 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 13:45:06 ---> Running in 2a6f4af6d9a4 13:45:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 13:45:09 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 13:45:12 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 13:45:12 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 13:45:13 (3/18) Installing libmagic (5.37-r1) 13:45:13 (4/18) Installing file (5.37-r1) 13:45:13 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 13:45:13 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 13:45:13 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 13:45:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 68.939s coverage: 52.7% of statements 13:45:19 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:45:19 gofmt -l . 13:45:19 [ "`gofmt -l .`" = "" ] 13:45:19 ./bin/test-attribution-txt.sh 13:45:19 ./bin/test-go-mod-tidy.sh [Pipeline] stash 13:45:20 Stashed 1 file(s) [Pipeline] } 13:45:20 $ docker stop --time=1 dcb49e24118d1be194da9d0bd056b28f1225cfc92e64e6d07622b96427551986 13:45:21 $ docker rm -f dcb49e24118d1be194da9d0bd056b28f1225cfc92e64e6d07622b96427551986 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:45:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:45:23 + ls -al . 13:45:23 total 112 13:45:23 drwxrwxr-x. 8 jenkins jenkins 4096 May 13 13:45 . 13:45:23 drwxrwxr-x. 4 jenkins jenkins 28 May 13 13:42 .. 13:45:23 -rw-rw-r--. 1 jenkins jenkins 6432 May 13 13:42 Attribution.txt 13:45:23 drwxrwxr-x. 2 jenkins jenkins 64 May 13 13:42 bin 13:45:23 drwxrwxr-x. 3 jenkins jenkins 32 May 13 13:42 cmd 13:45:23 -rw-r--r--. 1 jenkins jenkins 32181 May 13 13:45 coverage.out 13:45:23 -rw-rw-r--. 1 jenkins jenkins 1826 May 13 13:42 Dockerfile 13:45:23 -rw-rw-r--. 1 jenkins jenkins 957 May 13 13:42 Dockerfile.build 13:45:23 drwxrwxr-x. 8 jenkins jenkins 179 May 13 13:42 .git 13:45:23 drwxrwxr-x. 2 jenkins jenkins 38 May 13 13:42 .github 13:45:23 -rw-rw-r--. 1 jenkins jenkins 258 May 13 13:42 .gitignore 13:45:23 -rw-r--r--. 1 jenkins jenkins 855 May 13 13:45 go.mod 13:45:23 -rw-r--r--. 1 jenkins jenkins 14894 May 13 13:45 go.sum 13:45:23 drwxrwxr-x. 3 jenkins jenkins 20 May 13 13:42 internal 13:45:23 -rw-rw-r--. 1 jenkins jenkins 683 May 13 13:42 Jenkinsfile 13:45:23 -rw-rw-r--. 1 jenkins jenkins 11340 May 13 13:42 LICENSE 13:45:23 -rw-rw-r--. 1 jenkins jenkins 873 May 13 13:42 Makefile 13:45:23 -rw-rw-r--. 1 jenkins jenkins 4413 May 13 13:42 README.md 13:45:23 drwxrwxr-x. 3 jenkins jenkins 58 May 13 13:42 .semver 13:45:23 -rw-rw-r--. 1 jenkins jenkins 5 May 13 13:40 VERSION 13:45:23 -rw-rw-r--. 1 jenkins jenkins 235 May 13 13:42 version.go [Pipeline] isUnix [Pipeline] sh 13:45:23 + 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=21fff1ff2d94d29d0202a29d26e8364d8607c083 --label arch=amd64 --label version=0.0.0 . 13:45:23 Sending build context to Docker daemon 34.14MB 13:45:23 Step 1/21 : ARG BASE=golang:1.13-alpine 13:45:23 Step 2/21 : FROM ${BASE} AS builder 13:45:23 ---> ffdab7e078d4 13:45:23 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 13:45:23 (8/18) Installing libc-dev (0.7.2-r0) 13:45:23 (9/18) Installing g++ (9.2.0-r4) 13:45:23 ---> Running in 8cd2700e39b0 13:45:23 Removing intermediate container 8cd2700e39b0 13:45:23 ---> c96003e2e90d 13:45:23 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 13:45:23 ---> Running in 2dc0a4a46fee 13:45:24 Removing intermediate container 2dc0a4a46fee 13:45:24 ---> ce09c2e6b58c 13:45:24 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 13:45:24 ---> Running in 488cccfe22f1 13:45:24 Removing intermediate container 488cccfe22f1 13:45:24 ---> 20dfb292bfd4 13:45:24 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:45:24 ---> Running in 1689c8ddbf6c 13:45:25 Removing intermediate container 1689c8ddbf6c 13:45:25 ---> 676c61890734 13:45:25 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:45:25 ---> Running in 01323cbcfdc4 13:45:25 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 13:45:25 (10/18) Installing fortify-headers (1.1-r0) 13:45:25 (11/18) Installing build-base (0.5-r1) 13:45:25 (12/18) Installing openssh-keygen (8.1_p1-r0) 13:45:26 (13/18) Installing libedit (20191211.3.1-r0) 13:45:26 (14/18) Installing openssh-client (8.1_p1-r0) 13:45:26 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 13:45:26 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 13:45:26 (16/18) Installing openssh-server-common (8.1_p1-r0) 13:45:26 (17/18) Installing openssh-server (8.1_p1-r0) 13:45:26 (18/18) Installing openssh (8.1_p1-r0) 13:45:26 Executing busybox-1.31.1-r8.trigger 13:45:26 OK: 203 MiB in 52 packages 13:45:26 OK: 214 MiB in 52 packages 13:45:27 Removing intermediate container 01323cbcfdc4 13:45:27 ---> 0700e1c3f07e 13:45:27 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 13:45:27 ---> Running in 78a0f65128bb 13:45:27 Removing intermediate container 78a0f65128bb 13:45:27 ---> 045082ef33a4 13:45:27 Step 9/21 : COPY . . 13:45:27 ---> 909839d9bc27 13:45:27 Step 10/21 : ARG MAKE='make build' 13:45:27 ---> Running in 4bfd236b2b94 13:45:28 Removing intermediate container 4bfd236b2b94 13:45:28 ---> 16ba2cbeb799 13:45:28 Step 11/21 : RUN $MAKE 13:45:28 ---> Running in 399c3316555b 13:45:28 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 13:45:33 Removing intermediate container 2a6f4af6d9a4 13:45:33 ---> b99f72b3d985 13:45:33 Step 6/8 : WORKDIR /device-virtual-go 13:45:33 ---> Running in 61463a72acbc 13:45:33 Removing intermediate container 61463a72acbc 13:45:33 ---> c1e434e8882c 13:45:33 Step 7/8 : COPY . . 13:45:34 ---> 14f4471e121b 13:45:34 Step 8/8 : RUN go mod download 13:45:34 ---> Running in b5ee320143bb 13:45:36 go: finding github.com/BurntSushi/toml v0.3.1 13:45:36 go: finding github.com/OneOfOne/xxhash v1.2.6 13:45:36 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 13:45:36 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 13:45:36 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 13:45:36 go: finding github.com/bgentry/speakeasy v0.1.0 13:45:36 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 13:45:36 go: finding github.com/davecgh/go-spew v1.1.1 13:45:36 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 13:45:36 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 13:45:36 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 13:45:36 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 13:45:36 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 13:45:36 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 13:45:36 go: finding github.com/edsrzf/mmap-go v1.0.0 13:45:37 go: finding github.com/fatih/color v1.7.0 13:45:37 go: finding github.com/fxamacker/cbor/v2 v2.2.0 13:45:37 go: finding github.com/go-kit/kit v0.8.0 13:45:37 go: finding github.com/go-logfmt/logfmt v0.4.0 13:45:37 go: finding github.com/go-stack/stack v1.8.0 13:45:37 go: finding github.com/golang/snappy v0.0.1 13:45:37 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 13:45:37 go: finding github.com/google/uuid v1.1.0 13:45:37 go: finding github.com/gorilla/mux v1.7.1 13:45:37 go: finding github.com/hashicorp/consul/api v1.1.0 13:45:37 go: finding github.com/hashicorp/consul/sdk v0.1.1 13:45:37 go: finding github.com/hashicorp/errwrap v1.0.0 13:45:37 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 13:45:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 13:45:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 13:45:37 go: finding github.com/hashicorp/go-multierror v1.0.0 13:45:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 13:45:37 go: finding github.com/hashicorp/go-sockaddr v1.0.0 13:45:37 go: finding github.com/hashicorp/go-syslog v1.0.0 13:45:37 go: finding github.com/hashicorp/go-uuid v1.0.1 13:45:37 go: finding github.com/hashicorp/go.net v0.0.1 13:45:37 go: finding github.com/hashicorp/golang-lru v0.5.0 13:45:37 go: finding github.com/hashicorp/logutils v1.0.0 13:45:37 go: finding github.com/hashicorp/mdns v1.0.0 13:45:37 go: finding github.com/hashicorp/memberlist v0.1.3 13:45:37 go: finding github.com/hashicorp/serf v0.8.2 13:45:37 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 13:45:37 go: finding github.com/mattn/go-colorable v0.0.9 13:45:37 go: finding github.com/mattn/go-isatty v0.0.3 13:45:37 go: finding github.com/miekg/dns v1.0.14 13:45:37 go: finding github.com/mitchellh/cli v1.0.0 13:45:37 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 13:45:37 go: finding github.com/mitchellh/copystructure v1.0.0 13:45:37 go: finding github.com/mitchellh/go-homedir v1.0.0 13:45:37 go: finding github.com/mitchellh/go-testing-interface v1.0.0 13:45:37 go: finding github.com/mitchellh/gox v0.4.0 13:45:37 go: finding github.com/mitchellh/iochan v1.0.0 13:45:37 go: finding github.com/mitchellh/mapstructure v1.1.2 13:45:37 go: finding github.com/mitchellh/reflectwalk v1.0.0 13:45:37 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 13:45:37 go: finding github.com/pelletier/go-toml v1.2.0 13:45:37 go: finding github.com/pkg/errors v0.8.1 13:45:37 go: finding github.com/pmezard/go-difflib v1.0.0 13:45:37 go: finding github.com/posener/complete v1.1.1 13:45:37 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 13:45:37 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 13:45:37 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 13:45:37 go: finding github.com/stretchr/objx v0.1.0 13:45:37 go: finding github.com/stretchr/testify v1.5.1 13:45:37 go: finding github.com/ugorji/go v1.1.4 13:45:37 go: finding github.com/x448/float16 v0.8.4 13:45:37 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 13:45:37 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 13:45:37 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 13:45:37 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 13:45:37 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 13:45:37 go: finding gopkg.in/yaml.v2 v2.2.8 13:45:37 go: finding modernc.org/b v1.0.0 13:45:37 go: finding modernc.org/db v1.0.0 13:45:37 go: finding modernc.org/file v1.0.0 13:45:37 go: finding modernc.org/fileutil v1.0.0 13:45:37 go: finding modernc.org/golex v1.0.0 13:45:37 go: finding modernc.org/internal v1.0.0 13:45:37 go: finding modernc.org/lldb v1.0.0 13:45:37 go: finding modernc.org/mathutil v1.0.0 13:45:37 go: finding modernc.org/ql v1.0.0 13:45:37 go: finding modernc.org/sortutil v1.0.0 13:45:37 go: finding modernc.org/strutil v1.0.0 13:45:37 go: finding modernc.org/zappy v1.0.0 13:45:40 CGO_ENABLED=0 GO111MODULE=on go build ./... 13:45:42 Removing intermediate container 399c3316555b 13:45:42 ---> 8f0a781ecf95 13:45:42 Step 12/21 : FROM alpine 13:45:42 latest: Pulling from library/alpine 13:45:42 cbdbe7a5bc2a: Pulling fs layer 13:45:42 cbdbe7a5bc2a: Verifying Checksum 13:45:42 cbdbe7a5bc2a: Download complete 13:45:42 cbdbe7a5bc2a: Pull complete 13:45:42 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 13:45:43 Status: Downloaded newer image for alpine:latest 13:45:43 ---> f70734b6a266 13:45:43 Step 13/21 : ENV APP_PORT=49990 13:45:43 ---> Running in 691e0b3b5721 13:45:43 Removing intermediate container 691e0b3b5721 13:45:43 ---> 887ea0bfa523 13:45:43 Step 14/21 : EXPOSE $APP_PORT 13:45:43 ---> Running in 322cb91b4960 13:45:43 Removing intermediate container 322cb91b4960 13:45:43 ---> a19baeb77b07 13:45:43 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 13:45:43 ---> ca2c22041c81 13:45:43 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 13:45:43 ---> eb286613c13a 13:45:43 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 13:45:44 ---> a672c16f5cfc 13:45:44 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 13:45:44 ---> Running in 2a74185f2534 13:45:44 Removing intermediate container 2a74185f2534 13:45:44 ---> f0b922c980d5 13:45:44 Step 19/21 : LABEL arch=amd64 13:45:44 ---> Running in 56c3d765186d 13:45:44 Removing intermediate container 56c3d765186d 13:45:44 ---> a5e33336fc53 13:45:44 Step 20/21 : LABEL git_sha=21fff1ff2d94d29d0202a29d26e8364d8607c083 13:45:44 ---> Running in 84678df23216 13:45:44 Removing intermediate container 84678df23216 13:45:44 ---> 8e24b5b780fa 13:45:44 Step 21/21 : LABEL version=0.0.0 13:45:44 ---> Running in ada4c49d18b3 13:45:44 Removing intermediate container ada4c49d18b3 13:45:44 ---> 2bf0038fc40e 13:45:44 [Warning] One or more build-args [ARCH] were not consumed 13:45:44 Successfully built 2bf0038fc40e 13:45:44 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] } 13:45:47 Removing intermediate container b5ee320143bb 13:45:47 ---> b1a42d17daed 13:45:47 Successfully built b1a42d17daed 13:45:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:45:48 + docker inspect -f . ci-base-image-arm64 13:45:48 . [Pipeline] withDockerContainer 13:45:48 prd-ubuntu18.04-docker-arm64-4c-16g-8224 does not seem to be running inside a container 13:45:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:45:50 $ docker top da1cd26b4c5bef67ff4f894ed7137e91183bc13b273324e4bf78a567bbeec813 -eo pid,comm [Pipeline] { [Pipeline] sh 13:45:51 + go version 13:45:51 go version go1.13.5 linux/arm64 [Pipeline] sh 13:45:52 + make test 13:45:52 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:45:53 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:46:32 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:49:38 ok github.com/edgexfoundry/device-virtual-go/internal/driver 174.370s coverage: 52.7% of statements 13:49:38 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:49:38 gofmt -l . 13:49:38 [ "`gofmt -l .`" = "" ] 13:49:38 ./bin/test-attribution-txt.sh 13:49:38 ./bin/test-go-mod-tidy.sh [Pipeline] stash 13:49:38 Warning: overwriting stash ‘coverage-report’ 13:49:39 Stashed 1 file(s) [Pipeline] } 13:49:39 $ docker stop --time=1 da1cd26b4c5bef67ff4f894ed7137e91183bc13b273324e4bf78a567bbeec813 13:49:41 $ docker rm -f da1cd26b4c5bef67ff4f894ed7137e91183bc13b273324e4bf78a567bbeec813 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:49:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:49:43 + ls -al . 13:49:43 total 140 13:49:43 drwxrwxr-x 8 jenkins jenkins 4096 May 13 13:49 . 13:49:43 drwxrwxr-x 4 jenkins jenkins 4096 May 13 13:44 .. 13:49:43 drwxrwxr-x 8 jenkins jenkins 4096 May 13 13:44 .git 13:49:43 drwxrwxr-x 2 jenkins jenkins 4096 May 13 13:44 .github 13:49:43 -rw-rw-r-- 1 jenkins jenkins 258 May 13 13:44 .gitignore 13:49:43 drwxrwxr-x 3 jenkins jenkins 4096 May 13 13:44 .semver 13:49:43 -rw-rw-r-- 1 jenkins jenkins 6432 May 13 13:44 Attribution.txt 13:49:43 -rw-rw-r-- 1 jenkins jenkins 1826 May 13 13:44 Dockerfile 13:49:43 -rw-rw-r-- 1 jenkins jenkins 957 May 13 13:44 Dockerfile.build 13:49:43 -rw-rw-r-- 1 jenkins jenkins 683 May 13 13:44 Jenkinsfile 13:49:43 -rw-rw-r-- 1 jenkins jenkins 11340 May 13 13:44 LICENSE 13:49:43 -rw-rw-r-- 1 jenkins jenkins 873 May 13 13:44 Makefile 13:49:43 -rw-rw-r-- 1 jenkins jenkins 4413 May 13 13:44 README.md 13:49:43 -rw-rw-r-- 1 jenkins jenkins 5 May 13 13:40 VERSION 13:49:43 drwxrwxr-x 2 jenkins jenkins 4096 May 13 13:44 bin 13:49:43 drwxrwxr-x 3 jenkins jenkins 4096 May 13 13:44 cmd 13:49:43 -rw-r--r-- 1 jenkins jenkins 32181 May 13 13:49 coverage.out 13:49:43 -rw-r--r-- 1 jenkins jenkins 855 May 13 13:49 go.mod 13:49:43 -rw-r--r-- 1 jenkins jenkins 14894 May 13 13:49 go.sum 13:49:43 drwxrwxr-x 3 jenkins jenkins 4096 May 13 13:44 internal 13:49:43 -rw-rw-r-- 1 jenkins jenkins 235 May 13 13:44 version.go [Pipeline] isUnix [Pipeline] sh 13:49:43 + 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=21fff1ff2d94d29d0202a29d26e8364d8607c083 --label arch=arm64 --label version=0.0.0 . 13:49:44 Sending build context to Docker daemon 34.14MB 13:49:44 Step 1/21 : ARG BASE=golang:1.13-alpine 13:49:44 Step 2/21 : FROM ${BASE} AS builder 13:49:44 ---> b1a42d17daed 13:49:44 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 13:49:44 ---> Running in 6856579d4461 13:49:45 Removing intermediate container 6856579d4461 13:49:45 ---> be1194c82a4f 13:49:45 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 13:49:45 ---> Running in f73852262ad7 13:49:45 Removing intermediate container f73852262ad7 13:49:45 ---> fca5f53b7ccf 13:49:45 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 13:49:45 ---> Running in 39dd2731e586 13:49:45 Removing intermediate container 39dd2731e586 13:49:45 ---> 4ca75c7d2f91 13:49:45 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:49:46 ---> Running in 6a79b6ca7a27 13:49:48 Removing intermediate container 6a79b6ca7a27 13:49:48 ---> 31d7bba10489 13:49:48 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:49:48 ---> Running in f28a46f17a00 13:49:48 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 13:49:49 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 13:49:50 OK: 203 MiB in 52 packages 13:49:51 Removing intermediate container f28a46f17a00 13:49:51 ---> bf4c4dfe3d2e 13:49:51 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 13:49:51 ---> Running in bdba1f2e5ba2 13:49:51 Removing intermediate container bdba1f2e5ba2 13:49:51 ---> 5193c42f6584 13:49:51 Step 9/21 : COPY . . 13:49:53 ---> 142b0981a3f0 13:49:53 Step 10/21 : ARG MAKE='make build' 13:49:53 ---> Running in 2e741b207d6a 13:49:54 Removing intermediate container 2e741b207d6a 13:49:54 ---> a5d9bc848e5f 13:49:54 Step 11/21 : RUN $MAKE 13:49:54 ---> Running in 503ed67d2f30 13:49:55 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 13:50:27 CGO_ENABLED=0 GO111MODULE=on go build ./... 13:50:37 Removing intermediate container 503ed67d2f30 13:50:37 ---> 78e0b580f189 13:50:37 Step 12/21 : FROM alpine 13:50:37 latest: Pulling from library/alpine 13:50:37 29e5d40040c1: Pulling fs layer 13:50:37 29e5d40040c1: Download complete 13:50:37 29e5d40040c1: Pull complete 13:50:37 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 13:50:37 Status: Downloaded newer image for alpine:latest 13:50:37 ---> c20d2a9ab686 13:50:37 Step 13/21 : ENV APP_PORT=49990 13:50:37 ---> Running in 185b7901df2d 13:50:38 Removing intermediate container 185b7901df2d 13:50:38 ---> 98e9e0fbdf7f 13:50:38 Step 14/21 : EXPOSE $APP_PORT 13:50:38 ---> Running in 4df613f45a51 13:50:38 Removing intermediate container 4df613f45a51 13:50:38 ---> 0cf46671160b 13:50:38 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 13:50:39 ---> 4762bfdf064d 13:50:39 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 13:50:40 ---> 1a03ffd47c9a 13:50:40 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 13:50:40 ---> 4e9f083c2dec 13:50:40 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 13:50:40 ---> Running in 6c180614c09f 13:50:41 Removing intermediate container 6c180614c09f 13:50:41 ---> 9e808d7f94df 13:50:41 Step 19/21 : LABEL arch=arm64 13:50:41 ---> Running in ad603c934689 13:50:41 Removing intermediate container ad603c934689 13:50:41 ---> 819ecf7151be 13:50:41 Step 20/21 : LABEL git_sha=21fff1ff2d94d29d0202a29d26e8364d8607c083 13:50:41 ---> Running in c19eae813a9c 13:50:42 Removing intermediate container c19eae813a9c 13:50:42 ---> 9daa6c7898a1 13:50:42 Step 21/21 : LABEL version=0.0.0 13:50:42 ---> Running in 64513b1a1820 13:50:42 Removing intermediate container 64513b1a1820 13:50:42 ---> a0ad7bdcac2a 13:50:42 [Warning] One or more build-args [ARCH] were not consumed 13:50:42 Successfully built a0ad7bdcac2a 13:50:42 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 13:50:43 provisioning config files... 13:50:44 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-110@tmp/config3089202805101156832tmp [Pipeline] { [Pipeline] sh 13:50:44 + curl -s https://codecov.io/bash 13:50:44 + bash -s - -t @/w/workspace/foundry_device-virtual-go_PR-110@tmp/config3089202805101156832tmp 13:50:44 13:50:44 _____ _ 13:50:44 / ____| | | 13:50:44 | | ___ __| | ___ ___ _____ __ 13:50:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:50:44 | |___| (_) | (_| | __/ (_| (_) \ V / 13:50:44 \_____\___/ \__,_|\___|\___\___/ \_/ 13:50:44 Bash-tbd 13:50:44 13:50:44 13:50:44 ==> Jenkins CI detected. 13:50:44 project root: . 13:50:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:50:44 ==> Running gcov in . (disable via -X gcov) 13:50:44 ==> Python coveragepy not found 13:50:44 ==> Searching for coverage reports in: 13:50:44 + . 13:50:44 -> Found 1 reports 13:50:44 ==> Detecting git/mercurial file structure 13:50:44 ==> Reading reports 13:50:44 + ./coverage.out bytes=32181 13:50:44 ==> Appending adjustments 13:50:44 http://docs.codecov.io/docs/fixing-reports 13:50:44 + Found adjustments 13:50:44 ==> Gzipping contents 13:50:44 ==> Uploading reports 13:50:44 url: https://codecov.io 13:50:44 query: branch=PR-110&commit=21fff1ff2d94d29d0202a29d26e8364d8607c083&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-110%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=110&job= 13:50:44 -> Pinging Codecov 13:50:44 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-110&commit=21fff1ff2d94d29d0202a29d26e8364d8607c083&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-110%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=110&job= 13:50:45 -> Uploading 13:50:45 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/21fff1ff2d94d29d0202a29d26e8364d8607c083 [Pipeline] } 13:50:45 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 13:50:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:50:47 ---> package-listing.sh 13:50:47 ++ facter osfamily 13:50:47 ++ tr '[:upper:]' '[:lower:]' 13:50:47 + OS_FAMILY=redhat 13:50:47 + workspace=/w/workspace/foundry_device-virtual-go_PR-110 13:50:47 + START_PACKAGES=/tmp/packages_start.txt 13:50:47 + END_PACKAGES=/tmp/packages_end.txt 13:50:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:50:47 + PACKAGES=/tmp/packages_start.txt 13:50:47 + '[' /w/workspace/foundry_device-virtual-go_PR-110 ']' 13:50:47 + PACKAGES=/tmp/packages_end.txt 13:50:47 + case "${OS_FAMILY}" in 13:50:47 + rpm -qa 13:50:47 + sort 13:50:51 + '[' -f /tmp/packages_start.txt ']' 13:50:51 + '[' -f /tmp/packages_end.txt ']' 13:50:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:50:51 + '[' /w/workspace/foundry_device-virtual-go_PR-110 ']' 13:50:51 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-110/archives/ 13:50:51 + 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 13:50:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:50:51 13:50:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:50:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:50:52 alpine: Pulling from edgex-lftools-log-publisher 13:50:52 c9b1b535fdd9: Pulling fs layer 13:50:52 2cc5ad85d9ab: Pulling fs layer 13:50:52 756a868c4378: Pulling fs layer 13:50:52 444b2fc9a129: Pulling fs layer 13:50:52 ea15f1150254: Pulling fs layer 13:50:52 41b27a9f41bf: Pulling fs layer 13:50:52 28c525ee5125: Pulling fs layer 13:50:52 094b1ea09ed8: Pulling fs layer 13:50:52 138eaada9080: Pulling fs layer 13:50:52 0622d0fa9048: Pulling fs layer 13:50:52 444b2fc9a129: Waiting 13:50:52 ea15f1150254: Waiting 13:50:52 41b27a9f41bf: Waiting 13:50:52 28c525ee5125: Waiting 13:50:52 094b1ea09ed8: Waiting 13:50:52 138eaada9080: Waiting 13:50:52 0622d0fa9048: Waiting 13:50:52 2cc5ad85d9ab: Verifying Checksum 13:50:52 2cc5ad85d9ab: Download complete 13:50:52 444b2fc9a129: Verifying Checksum 13:50:52 444b2fc9a129: Download complete 13:50:52 c9b1b535fdd9: Download complete 13:50:52 ea15f1150254: Verifying Checksum 13:50:52 ea15f1150254: Download complete 13:50:52 28c525ee5125: Verifying Checksum 13:50:52 28c525ee5125: Download complete 13:50:52 756a868c4378: Verifying Checksum 13:50:52 756a868c4378: Download complete 13:50:52 c9b1b535fdd9: Pull complete 13:50:53 138eaada9080: Verifying Checksum 13:50:53 138eaada9080: Download complete 13:50:53 094b1ea09ed8: Verifying Checksum 13:50:53 094b1ea09ed8: Download complete 13:50:53 0622d0fa9048: Download complete 13:50:53 2cc5ad85d9ab: Pull complete 13:50:53 41b27a9f41bf: Verifying Checksum 13:50:53 41b27a9f41bf: Download complete 13:50:54 756a868c4378: Pull complete 13:50:54 444b2fc9a129: Pull complete 13:50:55 ea15f1150254: Pull complete 13:50:58 41b27a9f41bf: Pull complete 13:50:58 28c525ee5125: Pull complete 13:51:00 094b1ea09ed8: Pull complete 13:51:00 138eaada9080: Pull complete 13:51:00 0622d0fa9048: Pull complete 13:51:00 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 13:51:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:51:00 prd-centos7-docker-4c-2g-8216 does not seem to be running inside a container 13:51:00 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 13:51:01 $ docker top c785f7fb8fa7e9e56b54055eacdf2f171d1bf3ad0f1cc6102ca022609f27b5db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:51:02 provisioning config files... 13:51:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-110@tmp/config5496744675559133527tmp [Pipeline] { [Pipeline] echo 13:51:02 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:51:02 ---> create-netrc.sh [Pipeline] echo 13:51:02 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:51:02 ---> logs-deploy.sh 13:51:02 + ARCHIVE_ARTIFACTS= 13:51:02 + LOGS_SERVER=https://logs.edgexfoundry.org 13:51:02 + '[' https://logs.edgexfoundry.org == None ']' 13:51:02 + NEXUS_URL=https://nexus.edgexfoundry.org 13:51:02 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-110/2 13:51:02 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-110/2/ 13:51:02 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-110/2 /w/workspace/foundry_device-virtual-go_PR-110 13:51:04 Archives upload complete. 13:51:04 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-110/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/PR-110/2/