Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 26c67eb8412f6636996969c1d91d1fdce6984c18 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4652 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_master # 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/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/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/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 26c67eb8412f6636996969c1d91d1fdce6984c18 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 26c67eb8412f6636996969c1d91d1fdce6984c18 # timeout=10 Commit message: "Merge pull request #94 from hahattan/issue-93" > git rev-list --no-walk 55fc044d80c995f66bb5d94540d466dee3799027 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:44:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:44:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:44:54 ========================================================= 03:44:54 EdgeX Global Pipelines Version Info 03:44:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:44:56 ------------------- 03:44:56 stable info: 03:44:56 ------------------- 03:44:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:44:56 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 03:44:56 Message: update stable to v1.0.73 03:44:56 ------------------- 03:44:56 experimental info: 03:44:56 ------------------- 03:44:56 Commited By: **** collab-it+edgex@linuxfoundation.org 03:44:56 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 03:44:56 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 03:44:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:44:59 03:44:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:44:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:44:59 latest: Pulling from edgex-devops/git-semver 03:44:59 9123ac7c32f7: Pulling fs layer 03:44:59 b8cc5d1170e3: Pulling fs layer 03:44:59 2924cbbf6a41: Pulling fs layer 03:44:59 93b08a4f1073: Pulling fs layer 03:44:59 93b08a4f1073: Waiting 03:44:59 b8cc5d1170e3: Download complete 03:44:59 9123ac7c32f7: Verifying Checksum 03:44:59 9123ac7c32f7: Download complete 03:45:00 93b08a4f1073: Verifying Checksum 03:45:00 93b08a4f1073: Download complete 03:45:00 9123ac7c32f7: Pull complete 03:45:00 2924cbbf6a41: Verifying Checksum 03:45:00 2924cbbf6a41: Download complete 03:45:00 b8cc5d1170e3: Pull complete 03:45:01 2924cbbf6a41: Pull complete 03:45:01 93b08a4f1073: Pull complete 03:45:01 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 03:45:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:45:01 prd-centos7-docker-4c-2g-4652 does not seem to be running inside a container 03:45:01 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:45:02 $ docker top b5023d91c0e9ca417e539b96915df61771317088ac541c08c664446c82221177 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:45:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:45:03 [ssh-agent] Looking for ssh-agent implementation... 03:45:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:45:03 $ docker exec b5023d91c0e9ca417e539b96915df61771317088ac541c08c664446c82221177 ssh-agent 03:45:04 SSH_AUTH_SOCK=/tmp/ssh-ZAzY6xcAsiMp/agent.14 03:45:04 SSH_AGENT_PID=21 03:45:04 Running ssh-add (command line suppressed) 03:45:04 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2160658597845960847.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2160658597845960847.key) 03:45:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:45:05 + git describe --exact-match --tags HEAD 03:45:05 fatal: No names found, cannot describe anything. [Pipeline] } 03:45:05 $ docker exec --env ******** --env ******** b5023d91c0e9ca417e539b96915df61771317088ac541c08c664446c82221177 ssh-agent -k 03:45:05 unset SSH_AUTH_SOCK; 03:45:05 unset SSH_AGENT_PID; 03:45:05 echo Agent pid 21 killed; 03:45:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:45:05 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:45:05 This usually means this commit has not been tagged. [Pipeline] sshagent 03:45:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:45:05 [ssh-agent] Looking for ssh-agent implementation... 03:45:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:45:06 $ docker exec b5023d91c0e9ca417e539b96915df61771317088ac541c08c664446c82221177 ssh-agent 03:45:07 SSH_AUTH_SOCK=/tmp/ssh-d6PyOsvOk2Lv/agent.56 03:45:07 SSH_AGENT_PID=63 03:45:07 Running ssh-add (command line suppressed) 03:45:07 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8432835949602613243.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8432835949602613243.key) 03:45:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:45:09 + git semver init 03:45:09 # -> Open(): unable to determine branch for HEAD 03:45:09 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 03:45:09 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 03:45:09 # $SEMVER_REMOTE_NAME = origin 03:45:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:45:09 # $SEMVER_USER_NAME = edgex-jenkins 03:45:09 # $SEMVER_BRANCH = master 03:45:09 # $SEMVER_TEMP = /tmp/semver-405409453 03:45:09 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 03:45:09 # '/tmp/semver-405409453' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 03:45:09 # -> Force: false 03:45:09 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 03:45:09 $ docker exec --env ******** --env ******** b5023d91c0e9ca417e539b96915df61771317088ac541c08c664446c82221177 ssh-agent -k 03:45:10 unset SSH_AUTH_SOCK; 03:45:10 unset SSH_AGENT_PID; 03:45:10 echo Agent pid 63 killed; 03:45:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:45:11 + git semver [Pipeline] } 03:45:11 $ docker stop --time=1 b5023d91c0e9ca417e539b96915df61771317088ac541c08c664446c82221177 03:45:13 $ docker rm -f b5023d91c0e9ca417e539b96915df61771317088ac541c08c664446c82221177 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:45:14 Stashed 19 file(s) [Pipeline] echo 03:45:14 [edgeXSemver] initialized semver on version 1.2.0-dev.7 [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 03:45:29 Still waiting to schedule task 03:45:29 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:45:29 Still waiting to schedule task 03:45:29 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:46:35 Running on prd-centos7-docker-4c-2g-4655 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 03:46:35 Running in /w/workspace/device-virtual-go/7 [Pipeline] { [Pipeline] checkout 03:46:37 using credential edgex-jenkins-ssh 03:46:37 Cloning the remote Git repository 03:46:37 Cloning with configured refspecs honoured and without tags 03:46:38 Fetching without tags 03:46:37 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 03:46:37 > git init /w/workspace/device-virtual-go/7 # timeout=10 03:46:37 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:46:37 > git --version # timeout=10 03:46:37 using GIT_SSH to set credentials SSH Credentials for GitHub 03:46:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 03:46:38 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:46:38 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:46:38 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:46:38 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:46:38 using GIT_SSH to set credentials SSH Credentials for GitHub 03:46:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 03:46:38 Checking out Revision 26c67eb8412f6636996969c1d91d1fdce6984c18 (master) 03:46:38 > git config core.sparsecheckout # timeout=10 03:46:38 > git checkout -f 26c67eb8412f6636996969c1d91d1fdce6984c18 # timeout=10 03:46:43 Commit message: "Merge pull request #94 from hahattan/issue-93" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:46:44 ========================================================= 03:46:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:46:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:46:45 + 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 . 03:46:45 Sending build context to Docker daemon 481.8kB 03:46:45 Step 1/8 : ARG BASE=golang:1.13-alpine 03:46:45 Step 2/8 : FROM ${BASE} 03:46:45 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:46:45 e6b0cf9c0882: Pulling fs layer 03:46:45 2848faf0eed1: Pulling fs layer 03:46:45 0f37312ad70f: Pulling fs layer 03:46:45 5788d62ee057: Pulling fs layer 03:46:45 0e6b1d234666: Pulling fs layer 03:46:45 bf5d7aec512f: Pulling fs layer 03:46:45 34c802a77dc8: Pulling fs layer 03:46:45 9eb99e56ec68: Pulling fs layer 03:46:45 27c7a5d97fbd: Pulling fs layer 03:46:45 5c102a31e300: Pulling fs layer 03:46:45 dcfb455df0a1: Pulling fs layer 03:46:45 9eb99e56ec68: Waiting 03:46:45 27c7a5d97fbd: Waiting 03:46:45 5788d62ee057: Waiting 03:46:45 0e6b1d234666: Waiting 03:46:45 34c802a77dc8: Waiting 03:46:45 5c102a31e300: Waiting 03:46:45 bf5d7aec512f: Waiting 03:46:45 dcfb455df0a1: Waiting 03:46:45 0f37312ad70f: Verifying Checksum 03:46:45 0f37312ad70f: Download complete 03:46:45 2848faf0eed1: Verifying Checksum 03:46:45 2848faf0eed1: Download complete 03:46:45 0e6b1d234666: Verifying Checksum 03:46:45 0e6b1d234666: Download complete 03:46:45 bf5d7aec512f: Verifying Checksum 03:46:45 bf5d7aec512f: Download complete 03:46:45 e6b0cf9c0882: Verifying Checksum 03:46:45 e6b0cf9c0882: Download complete 03:46:46 e6b0cf9c0882: Pull complete 03:46:46 34c802a77dc8: Verifying Checksum 03:46:46 34c802a77dc8: Download complete 03:46:46 27c7a5d97fbd: Verifying Checksum 03:46:46 27c7a5d97fbd: Download complete 03:46:46 5c102a31e300: Verifying Checksum 03:46:46 5c102a31e300: Download complete 03:46:46 dcfb455df0a1: Verifying Checksum 03:46:46 dcfb455df0a1: Download complete 03:46:47 9eb99e56ec68: Verifying Checksum 03:46:47 9eb99e56ec68: Download complete 03:46:47 5788d62ee057: Verifying Checksum 03:46:47 5788d62ee057: Download complete 03:46:47 2848faf0eed1: Pull complete 03:46:48 0f37312ad70f: Pull complete 03:46:54 5788d62ee057: Pull complete 03:46:54 0e6b1d234666: Pull complete 03:46:54 bf5d7aec512f: Pull complete 03:46:59 34c802a77dc8: Pull complete 03:47:03 9eb99e56ec68: Pull complete 03:47:03 27c7a5d97fbd: Pull complete 03:47:04 5c102a31e300: Pull complete 03:47:04 dcfb455df0a1: Pull complete 03:47:04 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 03:47:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:47:04 ---> 7c70fe431013 03:47:04 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:47:04 ---> Running in a01deb5a37d6 03:47:04 Removing intermediate container a01deb5a37d6 03:47:04 ---> a606915d8acd 03:47:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:47:04 ---> Running in 7b4041140095 03:47:06 Removing intermediate container 7b4041140095 03:47:06 ---> db355f8e6fd1 03:47:06 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:47:06 ---> Running in aa0a6325aa30 03:47:06 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:47:07 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:47:08 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 03:47:09 (2/17) Installing libmagic (5.37-r1) 03:47:10 (3/17) Installing file (5.37-r1) 03:47:10 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 03:47:10 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 03:47:10 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 03:47:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4654 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 03:47:21 Running in /w/workspace/device-virtual-go/7 [Pipeline] { [Pipeline] checkout 03:47:27 using credential edgex-jenkins-ssh 03:47:27 Cloning the remote Git repository 03:47:27 Cloning with configured refspecs honoured and without tags 03:47:27 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 03:47:27 > git init /w/workspace/device-virtual-go/7 # timeout=10 03:47:27 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:47:27 > git --version # timeout=10 03:47:27 using GIT_SSH to set credentials SSH Credentials for GitHub 03:47:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 03:47:28 Fetching without tags 03:47:28 Checking out Revision 26c67eb8412f6636996969c1d91d1fdce6984c18 (master) 03:47:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:47:28 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:47:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:47:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:47:28 using GIT_SSH to set credentials SSH Credentials for GitHub 03:47:28 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 03:47:28 > git config core.sparsecheckout # timeout=10 03:47:28 > git checkout -f 26c67eb8412f6636996969c1d91d1fdce6984c18 # timeout=10 03:47:33 Commit message: "Merge pull request #94 from hahattan/issue-93" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:47:34 ========================================================= 03:47:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:47:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:47:35 + 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 . 03:47:36 Sending build context to Docker daemon 481.8kB 03:47:36 Step 1/8 : ARG BASE=golang:1.13-alpine 03:47:36 Step 2/8 : FROM ${BASE} 03:47:36 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:47:36 cde5963f3b93: Pulling fs layer 03:47:36 2a23fa8c16f7: Pulling fs layer 03:47:36 777b28850792: Pulling fs layer 03:47:36 8a11ddd9e578: Pulling fs layer 03:47:36 4cf88f913ddb: Pulling fs layer 03:47:36 1df406cf5192: Pulling fs layer 03:47:36 cd6300453558: Pulling fs layer 03:47:36 b9c365052c96: Pulling fs layer 03:47:36 a2d8cc88f415: Pulling fs layer 03:47:36 ea1d1ca13537: Pulling fs layer 03:47:36 3750a50a1c5e: Pulling fs layer 03:47:36 cd6300453558: Waiting 03:47:36 b9c365052c96: Waiting 03:47:36 a2d8cc88f415: Waiting 03:47:36 ea1d1ca13537: Waiting 03:47:36 3750a50a1c5e: Waiting 03:47:36 1df406cf5192: Waiting 03:47:36 777b28850792: Verifying Checksum 03:47:36 777b28850792: Download complete 03:47:36 2a23fa8c16f7: Download complete 03:47:36 4cf88f913ddb: Verifying Checksum 03:47:36 4cf88f913ddb: Download complete 03:47:36 1df406cf5192: Verifying Checksum 03:47:37 cde5963f3b93: Verifying Checksum 03:47:37 cde5963f3b93: Download complete 03:47:38 cde5963f3b93: Pull complete 03:47:38 2a23fa8c16f7: Pull complete 03:47:38 777b28850792: Pull complete 03:47:41 cd6300453558: Verifying Checksum 03:47:41 cd6300453558: Download complete 03:47:41 a2d8cc88f415: Verifying Checksum 03:47:41 a2d8cc88f415: Download complete 03:47:43 ea1d1ca13537: Verifying Checksum 03:47:43 ea1d1ca13537: Download complete 03:47:43 3750a50a1c5e: Verifying Checksum 03:47:43 3750a50a1c5e: Download complete 03:47:46 b9c365052c96: Verifying Checksum 03:47:46 b9c365052c96: Download complete 03:47:48 8a11ddd9e578: Verifying Checksum 03:47:48 8a11ddd9e578: Download complete 03:48:00 8a11ddd9e578: Pull complete 03:48:00 4cf88f913ddb: Pull complete 03:48:00 1df406cf5192: Pull complete 03:48:06 cd6300453558: Pull complete 03:48:11 b9c365052c96: Pull complete 03:48:11 a2d8cc88f415: Pull complete 03:48:13 ea1d1ca13537: Pull complete 03:48:13 3750a50a1c5e: Pull complete 03:48:13 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 03:48:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:48:13 ---> 78745c68409d 03:48:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:48:17 ---> Running in 90164fe2d856 03:48:18 Removing intermediate container 90164fe2d856 03:48:18 ---> 2348d0eb990e 03:48:18 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:48:18 ---> Running in 3129a2dfab60 03:48:20 Removing intermediate container 3129a2dfab60 03:48:20 ---> 2189c2ca2f5a 03:48:20 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:48:20 ---> Running in 22be9eec90a1 03:48:21 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:48:22 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:48:23 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 03:48:23 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 03:48:23 (3/18) Installing libmagic (5.37-r1) 03:48:24 (4/18) Installing file (5.37-r1) 03:48:24 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 03:48:24 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 03:48:24 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 03:49:46 (7/17) Installing libc-dev (0.7.2-r0) 03:49:46 (8/17) Installing g++ (9.2.0-r4) 03:50:01 (8/18) Installing libc-dev (0.7.2-r0) 03:50:01 (9/18) Installing g++ (9.2.0-r4) 03:51:08 (9/17) Installing fortify-headers (1.1-r0) 03:51:08 (10/17) Installing build-base (0.5-r1) 03:51:08 (11/17) Installing openssh-keygen (8.1_p1-r0) 03:51:09 (12/17) Installing libedit (20191211.3.1-r0) 03:51:09 (13/17) Installing openssh-client (8.1_p1-r0) 03:51:12 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 03:51:13 (15/17) Installing openssh-server-common (8.1_p1-r0) 03:51:13 (16/17) Installing openssh-server (8.1_p1-r0) 03:51:14 (17/17) Installing openssh (8.1_p1-r0) 03:51:15 Executing busybox-1.31.1-r8.trigger 03:51:15 OK: 214 MiB in 52 packages 03:51:18 Removing intermediate container aa0a6325aa30 03:51:18 ---> b1c0a743cff3 03:51:18 Step 6/8 : WORKDIR /device-virtual-go 03:51:18 ---> Running in 371f0ead2af5 03:51:18 Removing intermediate container 371f0ead2af5 03:51:18 ---> 23c926afb959 03:51:18 Step 7/8 : COPY . . 03:51:18 ---> 79831990dbdd 03:51:18 Step 8/8 : RUN go mod download 03:51:18 ---> Running in bd157c3e51ac 03:51:21 go: finding github.com/BurntSushi/toml v0.3.1 03:51:21 go: finding github.com/OneOfOne/xxhash v1.2.6 03:51:21 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:51:21 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:51:21 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:51:21 go: finding github.com/bgentry/speakeasy v0.1.0 03:51:21 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:51:21 go: finding github.com/davecgh/go-spew v1.1.1 03:51:21 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.24 03:51:22 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 03:51:22 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:51:22 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:51:22 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:51:22 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:51:22 go: finding github.com/edsrzf/mmap-go v1.0.0 03:51:22 go: finding github.com/fatih/color v1.7.0 03:51:22 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:51:22 go: finding github.com/go-kit/kit v0.8.0 03:51:22 go: finding github.com/go-logfmt/logfmt v0.4.0 03:51:22 go: finding github.com/go-stack/stack v1.8.0 03:51:22 go: finding github.com/golang/snappy v0.0.1 03:51:22 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:51:22 go: finding github.com/google/uuid v1.1.0 03:51:22 go: finding github.com/gorilla/mux v1.7.1 03:51:22 go: finding github.com/hashicorp/consul/api v1.1.0 03:51:22 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:51:22 go: finding github.com/hashicorp/errwrap v1.0.0 03:51:22 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:51:22 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:51:22 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:51:22 (10/18) Installing fortify-headers (1.1-r0) 03:51:22 (11/18) Installing build-base (0.5-r1) 03:51:22 (12/18) Installing openssh-keygen (8.1_p1-r0) 03:51:22 (13/18) Installing libedit (20191211.3.1-r0) 03:51:22 (14/18) Installing openssh-client (8.1_p1-r0) 03:51:22 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 03:51:22 (16/18) Installing openssh-server-common (8.1_p1-r0) 03:51:22 (17/18) Installing openssh-server (8.1_p1-r0) 03:51:22 (18/18) Installing openssh (8.1_p1-r0) 03:51:22 go: finding github.com/hashicorp/go-multierror v1.0.0 03:51:22 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:51:22 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:51:22 go: finding github.com/hashicorp/go-syslog v1.0.0 03:51:22 go: finding github.com/hashicorp/go-uuid v1.0.1 03:51:22 go: finding github.com/hashicorp/go.net v0.0.1 03:51:22 go: finding github.com/hashicorp/golang-lru v0.5.0 03:51:22 go: finding github.com/hashicorp/logutils v1.0.0 03:51:22 go: finding github.com/hashicorp/mdns v1.0.0 03:51:22 go: finding github.com/hashicorp/memberlist v0.1.3 03:51:22 go: finding github.com/hashicorp/serf v0.8.2 03:51:22 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:51:23 go: finding github.com/mattn/go-colorable v0.0.9 03:51:23 go: finding github.com/mattn/go-isatty v0.0.3 03:51:23 go: finding github.com/miekg/dns v1.0.14 03:51:23 go: finding github.com/mitchellh/cli v1.0.0 03:51:23 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:51:23 go: finding github.com/mitchellh/copystructure v1.0.0 03:51:23 go: finding github.com/mitchellh/go-homedir v1.0.0 03:51:23 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:51:23 go: finding github.com/mitchellh/gox v0.4.0 03:51:23 go: finding github.com/mitchellh/iochan v1.0.0 03:51:23 go: finding github.com/mitchellh/mapstructure v1.1.2 03:51:23 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:51:23 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:51:23 Executing busybox-1.31.1-r8.trigger 03:51:23 OK: 203 MiB in 52 packages 03:51:23 go: finding github.com/pelletier/go-toml v1.2.0 03:51:23 go: finding github.com/pkg/errors v0.8.1 03:51:23 go: finding github.com/pmezard/go-difflib v1.0.0 03:51:23 go: finding github.com/posener/complete v1.1.1 03:51:23 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 03:51:23 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:51:23 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:51:23 go: finding github.com/stretchr/objx v0.1.0 03:51:23 go: finding github.com/stretchr/testify v1.5.1 03:51:23 go: finding github.com/ugorji/go v1.1.4 03:51:23 go: finding github.com/x448/float16 v0.8.4 03:51:23 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:51:23 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:51:23 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:51:23 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 03:51:23 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:51:23 go: finding gopkg.in/yaml.v2 v2.2.8 03:51:23 go: finding modernc.org/b v1.0.0 03:51:23 go: finding modernc.org/db v1.0.0 03:51:23 go: finding modernc.org/file v1.0.0 03:51:23 go: finding modernc.org/fileutil v1.0.0 03:51:23 go: finding modernc.org/golex v1.0.0 03:51:23 go: finding modernc.org/internal v1.0.0 03:51:23 go: finding modernc.org/lldb v1.0.0 03:51:23 go: finding modernc.org/mathutil v1.0.0 03:51:24 go: finding modernc.org/ql v1.0.0 03:51:24 go: finding modernc.org/sortutil v1.0.0 03:51:24 go: finding modernc.org/strutil v1.0.0 03:51:24 go: finding modernc.org/zappy v1.0.0 03:51:29 Removing intermediate container bd157c3e51ac 03:51:29 ---> c68a6b5e1cde 03:51:29 Successfully built c68a6b5e1cde 03:51:29 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 03:51:30 Removing intermediate container 22be9eec90a1 03:51:30 ---> 0bb5ba6cd4bf 03:51:30 Step 6/8 : WORKDIR /device-virtual-go 03:51:30 ---> Running in 2afec7e05559 03:51:30 Removing intermediate container 2afec7e05559 03:51:30 ---> fb317b73f0ba 03:51:30 Step 7/8 : COPY . . 03:51:30 + docker inspect -f . ci-base-image-x86_64 03:51:30 . [Pipeline] withDockerContainer 03:51:30 prd-centos7-docker-4c-2g-4655 does not seem to be running inside a container 03:51:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@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 ******** ci-base-image-x86_64 cat 03:51:30 ---> af9457e51f06 03:51:30 Step 8/8 : RUN go mod download 03:51:30 ---> Running in 64fd9d123e04 03:51:31 $ docker top 2cbadb0a54276fdb6ffe1676db75d6b775bce812e655ae67a75649b30f26f35e -eo pid,comm [Pipeline] { [Pipeline] sh 03:51:31 + go version 03:51:31 go version go1.13.5 linux/amd64 [Pipeline] sh 03:51:32 + make test 03:51:32 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:51:32 go: finding github.com/BurntSushi/toml v0.3.1 03:51:32 go: finding github.com/OneOfOne/xxhash v1.2.6 03:51:32 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:51:32 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:51:32 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:51:32 go: finding github.com/bgentry/speakeasy v0.1.0 03:51:32 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:51:32 go: finding github.com/davecgh/go-spew v1.1.1 03:51:32 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.24 03:51:32 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 03:51:32 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:51:32 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:51:32 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:51:32 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:51:32 go: finding github.com/edsrzf/mmap-go v1.0.0 03:51:32 go: finding github.com/fatih/color v1.7.0 03:51:32 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:51:32 go: finding github.com/go-kit/kit v0.8.0 03:51:32 go: finding github.com/go-logfmt/logfmt v0.4.0 03:51:32 go: finding github.com/go-stack/stack v1.8.0 03:51:32 go: finding github.com/golang/snappy v0.0.1 03:51:32 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:51:32 go: finding github.com/google/uuid v1.1.0 03:51:32 go: finding github.com/gorilla/mux v1.7.1 03:51:32 go: finding github.com/hashicorp/consul/api v1.1.0 03:51:32 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:51:32 go: finding github.com/hashicorp/errwrap v1.0.0 03:51:32 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:51:32 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:51:32 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:51:32 go: finding github.com/hashicorp/go-multierror v1.0.0 03:51:32 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:51:32 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:51:32 go: finding github.com/hashicorp/go-syslog v1.0.0 03:51:32 go: finding github.com/hashicorp/go-uuid v1.0.1 03:51:32 go: finding github.com/hashicorp/go.net v0.0.1 03:51:32 go: finding github.com/hashicorp/golang-lru v0.5.0 03:51:32 go: finding github.com/hashicorp/logutils v1.0.0 03:51:32 go: finding github.com/hashicorp/mdns v1.0.0 03:51:32 go: finding github.com/hashicorp/memberlist v0.1.3 03:51:32 go: finding github.com/hashicorp/serf v0.8.2 03:51:32 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:51:32 go: finding github.com/mattn/go-colorable v0.0.9 03:51:32 go: finding github.com/mattn/go-isatty v0.0.3 03:51:32 go: finding github.com/miekg/dns v1.0.14 03:51:32 go: finding github.com/mitchellh/cli v1.0.0 03:51:32 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:51:32 go: finding github.com/mitchellh/copystructure v1.0.0 03:51:33 go: finding github.com/mitchellh/go-homedir v1.0.0 03:51:33 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:51:33 go: finding github.com/mitchellh/gox v0.4.0 03:51:33 go: finding github.com/mitchellh/iochan v1.0.0 03:51:33 go: finding github.com/mitchellh/mapstructure v1.1.2 03:51:33 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:51:33 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:51:33 go: finding github.com/pelletier/go-toml v1.2.0 03:51:33 go: finding github.com/pkg/errors v0.8.1 03:51:33 go: finding github.com/pmezard/go-difflib v1.0.0 03:51:33 go: finding github.com/posener/complete v1.1.1 03:51:33 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 03:51:33 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:51:33 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:51:33 go: finding github.com/stretchr/objx v0.1.0 03:51:33 go: finding github.com/stretchr/testify v1.5.1 03:51:33 go: finding github.com/ugorji/go v1.1.4 03:51:33 go: finding github.com/x448/float16 v0.8.4 03:51:33 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:51:33 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 03:51:33 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:51:33 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 03:51:33 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:51:33 go: finding gopkg.in/yaml.v2 v2.2.8 03:51:33 go: finding modernc.org/b v1.0.0 03:51:33 go: finding modernc.org/db v1.0.0 03:51:33 go: finding modernc.org/file v1.0.0 03:51:33 go: finding modernc.org/fileutil v1.0.0 03:51:33 go: finding modernc.org/golex v1.0.0 03:51:33 go: finding modernc.org/internal v1.0.0 03:51:33 go: finding modernc.org/lldb v1.0.0 03:51:33 go: finding modernc.org/mathutil v1.0.0 03:51:33 go: finding modernc.org/ql v1.0.0 03:51:33 go: finding modernc.org/sortutil v1.0.0 03:51:33 go: finding modernc.org/strutil v1.0.0 03:51:33 go: finding modernc.org/zappy v1.0.0 03:51:34 ? github.com/edgexfoundry/device-virtual-go [no test files] 03:51:43 Removing intermediate container 64fd9d123e04 03:51:43 ---> 13155dd91080 03:51:43 Successfully built 13155dd91080 03:51:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:51:44 + docker inspect -f . ci-base-image-arm64 03:51:44 . [Pipeline] withDockerContainer 03:51:44 prd-ubuntu18.04-docker-arm64-4c-16g-4654 does not seem to be running inside a container 03:51:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/7 -v /w/workspace/device-virtual-go/7:/w/workspace/device-virtual-go/7:rw,z -v /w/workspace/device-virtual-go/7@tmp:/w/workspace/device-virtual-go/7@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 ******** ci-base-image-arm64 cat 03:51:45 $ docker top ee29ed37254f891d726b872d3a652b757420916d0b82dc5411bd81b61abdaa2b -eo pid,comm [Pipeline] { [Pipeline] sh 03:51:46 + go version 03:51:46 go version go1.13.5 linux/arm64 [Pipeline] sh 03:51:47 + make test 03:51:47 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:51:49 ? github.com/edgexfoundry/device-virtual-go [no test files] 03:51:49 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 03:52:28 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 03:52:36 ok github.com/edgexfoundry/device-virtual-go/internal/driver 44.657s coverage: 51.2% of statements 03:52:36 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:52:36 gofmt -l . 03:52:36 [ "`gofmt -l .`" = "" ] 03:52:36 ./bin/test-attribution-txt.sh 03:52:36 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:52:37 Stashed 1 file(s) [Pipeline] } 03:52:37 $ docker stop --time=1 2cbadb0a54276fdb6ffe1676db75d6b775bce812e655ae67a75649b30f26f35e 03:52:38 $ docker rm -f 2cbadb0a54276fdb6ffe1676db75d6b775bce812e655ae67a75649b30f26f35e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:52:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:52:39 + ls -al . 03:52:39 total 112 03:52:39 drwxrwxr-x. 8 jenkins jenkins 4096 Apr 18 03:52 . 03:52:39 drwxrwxr-x. 4 jenkins jenkins 28 Apr 18 03:46 .. 03:52:39 -rw-rw-r--. 1 jenkins jenkins 6529 Apr 18 03:46 Attribution.txt 03:52:39 drwxrwxr-x. 2 jenkins jenkins 64 Apr 18 03:46 bin 03:52:39 drwxrwxr-x. 3 jenkins jenkins 55 Apr 18 03:46 cmd 03:52:39 -rw-r--r--. 1 jenkins jenkins 32181 Apr 18 03:52 coverage.out 03:52:39 -rw-rw-r--. 1 jenkins jenkins 1653 Apr 18 03:46 Dockerfile 03:52:39 -rw-rw-r--. 1 jenkins jenkins 957 Apr 18 03:46 Dockerfile.build 03:52:39 drwxrwxr-x. 8 jenkins jenkins 162 Apr 18 03:46 .git 03:52:39 drwxrwxr-x. 2 jenkins jenkins 38 Apr 18 03:46 .github 03:52:39 -rw-rw-r--. 1 jenkins jenkins 258 Apr 18 03:46 .gitignore 03:52:39 -rw-r--r--. 1 jenkins jenkins 862 Apr 18 03:52 go.mod 03:52:39 -rw-r--r--. 1 jenkins jenkins 14805 Apr 18 03:52 go.sum 03:52:39 drwxrwxr-x. 3 jenkins jenkins 20 Apr 18 03:46 internal 03:52:39 -rw-rw-r--. 1 jenkins jenkins 683 Apr 18 03:46 Jenkinsfile 03:52:39 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 18 03:46 LICENSE 03:52:39 -rw-rw-r--. 1 jenkins jenkins 873 Apr 18 03:46 Makefile 03:52:39 -rw-rw-r--. 1 jenkins jenkins 4413 Apr 18 03:46 README.md 03:52:39 drwxrwxr-x. 3 jenkins jenkins 44 Apr 18 03:46 .semver 03:52:39 -rw-rw-r--. 1 jenkins jenkins 11 Apr 18 03:45 VERSION 03:52:39 -rw-rw-r--. 1 jenkins jenkins 235 Apr 18 03:46 version.go [Pipeline] isUnix [Pipeline] sh 03:52:40 + 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=26c67eb8412f6636996969c1d91d1fdce6984c18 --label arch=amd64 --label version=1.2.0-dev.7 . 03:52:40 Sending build context to Docker daemon 34.1MB 03:52:40 Step 1/19 : ARG BASE=golang:1.13-alpine 03:52:40 Step 2/19 : FROM ${BASE} AS builder 03:52:40 ---> c68a6b5e1cde 03:52:40 Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 03:52:40 ---> Running in 0de10a95bc64 03:52:40 Removing intermediate container 0de10a95bc64 03:52:40 ---> 788a0d9fcf7a 03:52:40 Step 4/19 : ARG ALPINE_PKG_EXTRA="" 03:52:40 ---> Running in 19f07732d2ce 03:52:40 Removing intermediate container 19f07732d2ce 03:52:40 ---> 7c92213d4e4d 03:52:40 Step 5/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IOTech' 03:52:40 ---> Running in 3355ea54acec 03:52:40 Removing intermediate container 3355ea54acec 03:52:40 ---> df626d05126f 03:52:40 Step 6/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:52:41 ---> Running in 821f89d97b93 03:52:41 Removing intermediate container 821f89d97b93 03:52:41 ---> 6b1be2108d1a 03:52:41 Step 7/19 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:52:41 ---> Running in b3268f47ca21 03:52:42 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:52:44 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:52:47 OK: 214 MiB in 52 packages 03:52:47 Removing intermediate container b3268f47ca21 03:52:47 ---> 851102b9c682 03:52:47 Step 8/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 03:52:47 ---> Running in 419c60ca66f2 03:52:47 Removing intermediate container 419c60ca66f2 03:52:47 ---> 461c550ae435 03:52:47 Step 9/19 : COPY . . 03:52:48 ---> 5679db218948 03:52:48 Step 10/19 : ARG MAKE='make build' 03:52:48 ---> Running in e2e17bf34e66 03:52:48 Removing intermediate container e2e17bf34e66 03:52:48 ---> 178c2d187fc4 03:52:48 Step 11/19 : RUN $MAKE 03:52:48 ---> Running in 4c3b8219692e 03:52:49 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.0-dev.7" -o cmd/device-virtual ./cmd 03:52:59 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:53:03 Removing intermediate container 4c3b8219692e 03:53:03 ---> 47e15d40505a 03:53:03 Step 12/19 : FROM alpine 03:53:03 latest: Pulling from library/alpine 03:53:03 aad63a933944: Pulling fs layer 03:53:03 aad63a933944: Verifying Checksum 03:53:03 aad63a933944: Download complete 03:53:03 aad63a933944: Pull complete 03:53:03 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 03:53:03 Status: Downloaded newer image for alpine:latest 03:53:03 ---> a187dde48cd2 03:53:03 Step 13/19 : ENV APP_PORT=49990 03:53:03 ---> Running in c3669a8011de 03:53:03 Removing intermediate container c3669a8011de 03:53:03 ---> e080a24626c0 03:53:03 Step 14/19 : EXPOSE $APP_PORT 03:53:03 ---> Running in 359425a3ad30 03:53:03 Removing intermediate container 359425a3ad30 03:53:03 ---> f9fd5243dedc 03:53:03 Step 15/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 03:53:04 ---> afae4347c751 03:53:04 Step 16/19 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 03:53:04 ---> Running in 3e8cdaf64e0f 03:53:04 Removing intermediate container 3e8cdaf64e0f 03:53:04 ---> eab890752206 03:53:04 Step 17/19 : LABEL arch=amd64 03:53:04 ---> Running in 19855ec87126 03:53:04 Removing intermediate container 19855ec87126 03:53:04 ---> 5d72911ef275 03:53:04 Step 18/19 : LABEL git_sha=26c67eb8412f6636996969c1d91d1fdce6984c18 03:53:04 ---> Running in 2589d21e3655 03:53:04 Removing intermediate container 2589d21e3655 03:53:04 ---> 3a6b2b889301 03:53:04 Step 19/19 : LABEL version=1.2.0-dev.7 03:53:04 ---> Running in 81c4fc201229 03:53:05 Removing intermediate container 81c4fc201229 03:53:05 ---> 2069ffdc93df 03:53:05 [Warning] One or more build-args [ARCH] were not consumed 03:53:05 Successfully built 2069ffdc93df 03:53:05 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:53:05 provisioning config files... 03:53:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/7@tmp/config7328520285987759228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:53:05 nexus3.edgexfoundry.org:10001 03:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:53:06 Configure a credential helper to remove this warning. See 03:53:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:53:06 03:53:06 Login Succeeded 03:53:06 nexus3.edgexfoundry.org:10002 03:53:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:53:06 Configure a credential helper to remove this warning. See 03:53:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:53:06 03:53:06 Login Succeeded 03:53:06 nexus3.edgexfoundry.org:10003 03:53:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:53:06 Configure a credential helper to remove this warning. See 03:53:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:53:06 03:53:06 Login Succeeded 03:53:06 nexus3.edgexfoundry.org:10004 03:53:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:53:06 Configure a credential helper to remove this warning. See 03:53:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:53:06 03:53:06 Login Succeeded 03:53:06 docker.io 03:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:53:07 Configure a credential helper to remove this warning. See 03:53:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:53:07 03:53:07 Login Succeeded [Pipeline] } 03:53:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:53:07 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 03:53:07 26c67eb8412f6636996969c1d91d1fdce6984c18 03:53:07 latest 03:53:07 1.2.0-dev.7 03:53:07 26c67eb8412f6636996969c1d91d1fdce6984c18-1.2.0-dev.7 03:53:07 master 03:53:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:53:07 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:26c67eb8412f6636996969c1d91d1fdce6984c18 [Pipeline] isUnix [Pipeline] sh 03:53:08 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:26c67eb8412f6636996969c1d91d1fdce6984c18 03:53:08 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 03:53:08 12b2dbf548e5: Preparing 03:53:08 beee9f30bc1f: Preparing 03:53:08 beee9f30bc1f: Layer already exists 03:53:09 12b2dbf548e5: Pushed 03:53:09 26c67eb8412f6636996969c1d91d1fdce6984c18: digest: sha256:44943642d49e558870869982f79c90549d6b3f2392123a06580c27ea93d6e9ee size: 739 [Pipeline] isUnix [Pipeline] sh 03:53:09 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 03:53:10 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 03:53:10 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 03:53:10 12b2dbf548e5: Preparing 03:53:10 beee9f30bc1f: Preparing 03:53:10 beee9f30bc1f: Layer already exists 03:53:10 12b2dbf548e5: Layer already exists 03:53:10 latest: digest: sha256:44943642d49e558870869982f79c90549d6b3f2392123a06580c27ea93d6e9ee size: 739 [Pipeline] isUnix [Pipeline] sh 03:53:10 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 03:53:10 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.0-dev.7 03:53:10 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 03:53:10 12b2dbf548e5: Preparing 03:53:10 beee9f30bc1f: Preparing 03:53:10 12b2dbf548e5: Layer already exists 03:53:10 beee9f30bc1f: Layer already exists 03:53:10 1.2.0-dev.7: digest: sha256:44943642d49e558870869982f79c90549d6b3f2392123a06580c27ea93d6e9ee size: 739 [Pipeline] isUnix [Pipeline] sh 03:53:11 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:26c67eb8412f6636996969c1d91d1fdce6984c18-1.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 03:53:11 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:26c67eb8412f6636996969c1d91d1fdce6984c18-1.2.0-dev.7 03:53:11 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 03:53:11 12b2dbf548e5: Preparing 03:53:11 beee9f30bc1f: Preparing 03:53:11 12b2dbf548e5: Layer already exists 03:53:11 beee9f30bc1f: Layer already exists 03:53:11 26c67eb8412f6636996969c1d91d1fdce6984c18-1.2.0-dev.7: digest: sha256:44943642d49e558870869982f79c90549d6b3f2392123a06580c27ea93d6e9ee size: 739 [Pipeline] isUnix [Pipeline] sh 03:53:11 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 03:53:11 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 03:53:11 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 03:53:11 12b2dbf548e5: Preparing 03:53:11 beee9f30bc1f: Preparing 03:53:11 beee9f30bc1f: Layer already exists 03:53:11 12b2dbf548e5: Layer already exists 03:53:11 master: digest: sha256:44943642d49e558870869982f79c90549d6b3f2392123a06580c27ea93d6e9ee size: 739 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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] } 03:55:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 167.027s coverage: 51.2% of statements 03:55:19 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:55:24 gofmt -l . 03:55:24 [ "`gofmt -l .`" = "" ] 03:55:24 ./bin/test-attribution-txt.sh 03:55:24 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:55:24 Warning: overwriting stash ‘coverage-report’ 03:55:25 Stashed 1 file(s) [Pipeline] } 03:55:25 $ docker stop --time=1 ee29ed37254f891d726b872d3a652b757420916d0b82dc5411bd81b61abdaa2b 03:55:27 $ docker rm -f ee29ed37254f891d726b872d3a652b757420916d0b82dc5411bd81b61abdaa2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:55:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:55:28 + ls -al . 03:55:28 total 140 03:55:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 03:55 . 03:55:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 03:47 .. 03:55:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 03:47 .git 03:55:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 03:47 .github 03:55:28 -rw-rw-r-- 1 jenkins jenkins 258 Apr 18 03:47 .gitignore 03:55:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 03:47 .semver 03:55:28 -rw-rw-r-- 1 jenkins jenkins 6529 Apr 18 03:47 Attribution.txt 03:55:28 -rw-rw-r-- 1 jenkins jenkins 1653 Apr 18 03:47 Dockerfile 03:55:28 -rw-rw-r-- 1 jenkins jenkins 957 Apr 18 03:47 Dockerfile.build 03:55:28 -rw-rw-r-- 1 jenkins jenkins 683 Apr 18 03:47 Jenkinsfile 03:55:28 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 03:47 LICENSE 03:55:28 -rw-rw-r-- 1 jenkins jenkins 873 Apr 18 03:47 Makefile 03:55:28 -rw-rw-r-- 1 jenkins jenkins 4413 Apr 18 03:47 README.md 03:55:28 -rw-rw-r-- 1 jenkins jenkins 11 Apr 18 03:45 VERSION 03:55:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 03:47 bin 03:55:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 03:47 cmd 03:55:28 -rw-r--r-- 1 jenkins jenkins 32181 Apr 18 03:55 coverage.out 03:55:28 -rw-r--r-- 1 jenkins jenkins 862 Apr 18 03:55 go.mod 03:55:28 -rw-r--r-- 1 jenkins jenkins 14805 Apr 18 03:55 go.sum 03:55:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 03:47 internal 03:55:28 -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 03:47 version.go [Pipeline] isUnix [Pipeline] sh 03:55:29 + 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=26c67eb8412f6636996969c1d91d1fdce6984c18 --label arch=arm64 --label version=1.2.0-dev.7 . 03:55:30 Sending build context to Docker daemon 34.1MB 03:55:30 Step 1/19 : ARG BASE=golang:1.13-alpine 03:55:30 Step 2/19 : FROM ${BASE} AS builder 03:55:30 ---> 13155dd91080 03:55:30 Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 03:55:30 ---> Running in 1bd383e45b11 03:55:30 Removing intermediate container 1bd383e45b11 03:55:30 ---> 1bbd070c12e1 03:55:30 Step 4/19 : ARG ALPINE_PKG_EXTRA="" 03:55:31 ---> Running in 33704934da6b 03:55:31 Removing intermediate container 33704934da6b 03:55:31 ---> bcee6e5be07c 03:55:31 Step 5/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IOTech' 03:55:31 ---> Running in 517fb161f685 03:55:31 Removing intermediate container 517fb161f685 03:55:31 ---> cabbb2353138 03:55:31 Step 6/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:55:31 ---> Running in fedfaf6d1c03 03:55:33 Removing intermediate container fedfaf6d1c03 03:55:33 ---> 3502caf80e4f 03:55:33 Step 7/19 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:55:33 ---> Running in 2125d5f3ba07 03:55:34 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:55:35 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:55:36 OK: 203 MiB in 52 packages 03:55:37 Removing intermediate container 2125d5f3ba07 03:55:37 ---> ffb4933e2cb5 03:55:37 Step 8/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 03:55:38 ---> Running in 17ef55598ead 03:55:38 Removing intermediate container 17ef55598ead 03:55:38 ---> f2fe4347c4db 03:55:38 Step 9/19 : COPY . . 03:55:40 ---> c0ef7b4f3103 03:55:40 Step 10/19 : ARG MAKE='make build' 03:55:40 ---> Running in 0d31551bd177 03:55:40 Removing intermediate container 0d31551bd177 03:55:40 ---> 4d714ff0cea8 03:55:40 Step 11/19 : RUN $MAKE 03:55:41 ---> Running in 3b55e05d1930 03:55:41 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.0-dev.7" -o cmd/device-virtual ./cmd 03:56:14 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:56:22 Removing intermediate container 3b55e05d1930 03:56:22 ---> 17807f059c25 03:56:22 Step 12/19 : FROM alpine 03:56:22 latest: Pulling from library/alpine 03:56:22 8a0637ca1ac9: Pulling fs layer 03:56:22 8a0637ca1ac9: Verifying Checksum 03:56:22 8a0637ca1ac9: Download complete 03:56:22 8a0637ca1ac9: Pull complete 03:56:22 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 03:56:22 Status: Downloaded newer image for alpine:latest 03:56:22 ---> 2ee122dcc32d 03:56:22 Step 13/19 : ENV APP_PORT=49990 03:56:22 ---> Running in 5276cc5212bc 03:56:22 Removing intermediate container 5276cc5212bc 03:56:22 ---> a51d388c8694 03:56:22 Step 14/19 : EXPOSE $APP_PORT 03:56:23 ---> Running in 7eb5c944bdad 03:56:23 Removing intermediate container 7eb5c944bdad 03:56:23 ---> c3c5e1ae5255 03:56:23 Step 15/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 03:56:24 ---> cff1e755bffd 03:56:24 Step 16/19 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 03:56:25 ---> Running in 523c79ce453e 03:56:25 Removing intermediate container 523c79ce453e 03:56:25 ---> b4ab6ccafb70 03:56:25 Step 17/19 : LABEL arch=arm64 03:56:25 ---> Running in 8b7fc930dfd7 03:56:25 Removing intermediate container 8b7fc930dfd7 03:56:25 ---> d039209a9208 03:56:25 Step 18/19 : LABEL git_sha=26c67eb8412f6636996969c1d91d1fdce6984c18 03:56:25 ---> Running in c0552b3b070a 03:56:26 Removing intermediate container c0552b3b070a 03:56:26 ---> 74ea28ef32af 03:56:26 Step 19/19 : LABEL version=1.2.0-dev.7 03:56:26 ---> Running in 793e7058822a 03:56:26 Removing intermediate container 793e7058822a 03:56:26 ---> ccd9d1964e9e 03:56:26 [Warning] One or more build-args [ARCH] were not consumed 03:56:26 Successfully built ccd9d1964e9e 03:56:26 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:56:26 provisioning config files... 03:56:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/7@tmp/config6398687380012899340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:56:27 nexus3.edgexfoundry.org:10001 03:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:27 Configure a credential helper to remove this warning. See 03:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:27 03:56:27 Login Succeeded 03:56:27 nexus3.edgexfoundry.org:10002 03:56:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:28 Configure a credential helper to remove this warning. See 03:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:28 03:56:28 Login Succeeded 03:56:28 nexus3.edgexfoundry.org:10003 03:56:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:29 Configure a credential helper to remove this warning. See 03:56:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:29 03:56:29 Login Succeeded 03:56:29 nexus3.edgexfoundry.org:10004 03:56:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:30 Configure a credential helper to remove this warning. See 03:56:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:30 03:56:30 Login Succeeded 03:56:30 docker.io 03:56:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:31 Configure a credential helper to remove this warning. See 03:56:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:31 03:56:31 Login Succeeded [Pipeline] } 03:56:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:56:31 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 03:56:31 26c67eb8412f6636996969c1d91d1fdce6984c18 03:56:31 latest 03:56:31 1.2.0-dev.7 03:56:31 26c67eb8412f6636996969c1d91d1fdce6984c18-1.2.0-dev.7 03:56:31 master 03:56:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:56:31 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:26c67eb8412f6636996969c1d91d1fdce6984c18 [Pipeline] isUnix [Pipeline] sh 03:56:32 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:26c67eb8412f6636996969c1d91d1fdce6984c18 03:56:32 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 03:56:32 59d0d5404ecc: Preparing 03:56:32 294ac687b5fc: Preparing 03:56:32 294ac687b5fc: Layer already exists 03:56:36 59d0d5404ecc: Pushed 03:56:36 26c67eb8412f6636996969c1d91d1fdce6984c18: digest: sha256:a7fce2df1224ff3f83ab1fb07d630cf3bbda3ad3a2a7a963e2357a3e0904d43d size: 739 [Pipeline] isUnix [Pipeline] sh 03:56:37 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:56:37 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 03:56:37 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 03:56:38 59d0d5404ecc: Preparing 03:56:38 294ac687b5fc: Preparing 03:56:38 294ac687b5fc: Layer already exists 03:56:38 59d0d5404ecc: Layer already exists 03:56:38 latest: digest: sha256:a7fce2df1224ff3f83ab1fb07d630cf3bbda3ad3a2a7a963e2357a3e0904d43d size: 739 [Pipeline] isUnix [Pipeline] sh 03:56:38 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 03:56:38 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.0-dev.7 03:56:38 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 03:56:39 59d0d5404ecc: Preparing 03:56:39 294ac687b5fc: Preparing 03:56:39 294ac687b5fc: Layer already exists 03:56:39 59d0d5404ecc: Layer already exists 03:56:39 1.2.0-dev.7: digest: sha256:a7fce2df1224ff3f83ab1fb07d630cf3bbda3ad3a2a7a963e2357a3e0904d43d size: 739 [Pipeline] isUnix [Pipeline] sh 03:56:39 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:26c67eb8412f6636996969c1d91d1fdce6984c18-1.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 03:56:40 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:26c67eb8412f6636996969c1d91d1fdce6984c18-1.2.0-dev.7 03:56:40 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 03:56:40 59d0d5404ecc: Preparing 03:56:40 294ac687b5fc: Preparing 03:56:40 294ac687b5fc: Layer already exists 03:56:40 59d0d5404ecc: Layer already exists 03:56:40 26c67eb8412f6636996969c1d91d1fdce6984c18-1.2.0-dev.7: digest: sha256:a7fce2df1224ff3f83ab1fb07d630cf3bbda3ad3a2a7a963e2357a3e0904d43d size: 739 [Pipeline] isUnix [Pipeline] sh 03:56:40 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 03:56:41 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 03:56:41 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 03:56:41 59d0d5404ecc: Preparing 03:56:41 294ac687b5fc: Preparing 03:56:41 59d0d5404ecc: Layer already exists 03:56:41 294ac687b5fc: Layer already exists 03:56:41 master: digest: sha256:a7fce2df1224ff3f83ab1fb07d630cf3bbda3ad3a2a7a963e2357a3e0904d43d size: 739 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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 03:56:42 provisioning config files... 03:56:42 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3339544653923468374tmp [Pipeline] { [Pipeline] sh 03:56:43 + bash -s - -t @/w/workspace/foundry_device-virtual-go_master@tmp/config3339544653923468374tmp 03:56:43 + curl -s https://codecov.io/bash 03:56:43 03:56:43 _____ _ 03:56:43 / ____| | | 03:56:43 | | ___ __| | ___ ___ _____ __ 03:56:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:56:43 | |___| (_) | (_| | __/ (_| (_) \ V / 03:56:43 \_____\___/ \__,_|\___|\___\___/ \_/ 03:56:43 Bash-tbd 03:56:43 03:56:43 03:56:43 ==> Jenkins CI detected. 03:56:43 project root: . 03:56:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:56:43 ==> Running gcov in . (disable via -X gcov) 03:56:43 ==> Python coveragepy not found 03:56:43 ==> Searching for coverage reports in: 03:56:43 + . 03:56:43 -> Found 1 reports 03:56:43 ==> Detecting git/mercurial file structure 03:56:43 ==> Reading reports 03:56:43 + ./coverage.out bytes=32181 03:56:43 ==> Appending adjustments 03:56:43 http://docs.codecov.io/docs/fixing-reports 03:56:43 + Found adjustments 03:56:43 ==> Gzipping contents 03:56:43 ==> Uploading reports 03:56:43 url: https://codecov.io 03:56:43 query: branch=master&commit=26c67eb8412f6636996969c1d91d1fdce6984c18&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job= 03:56:43 -> Pinging Codecov 03:56:43 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=26c67eb8412f6636996969c1d91d1fdce6984c18&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job= 03:56:44 -> Uploading 03:56:44 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/26c67eb8412f6636996969c1d91d1fdce6984c18 [Pipeline] } 03:56:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 03:56:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 03:56:44 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 03:56:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:56:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 03:56:45 03:56:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 03:56:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 03:56:46 1.217.3: Pulling from edgex-devops/edgex-snyk-go 03:56:46 e6b0cf9c0882: Pulling fs layer 03:56:46 2848faf0eed1: Pulling fs layer 03:56:46 0f37312ad70f: Pulling fs layer 03:56:46 7d08f2745646: Pulling fs layer 03:56:46 4c9f31393084: Pulling fs layer 03:56:46 eb21ddb83652: Pulling fs layer 03:56:46 345998794f6b: Pulling fs layer 03:56:46 97a711d68925: Pulling fs layer 03:56:46 7c8476c1cb00: Pulling fs layer 03:56:46 7d08f2745646: Waiting 03:56:46 4c9f31393084: Waiting 03:56:46 eb21ddb83652: Waiting 03:56:46 345998794f6b: Waiting 03:56:46 97a711d68925: Waiting 03:56:46 7c8476c1cb00: Waiting 03:56:46 0f37312ad70f: Verifying Checksum 03:56:46 0f37312ad70f: Download complete 03:56:46 2848faf0eed1: Download complete 03:56:46 4c9f31393084: Verifying Checksum 03:56:46 4c9f31393084: Download complete 03:56:46 eb21ddb83652: Download complete 03:56:46 e6b0cf9c0882: Verifying Checksum 03:56:46 e6b0cf9c0882: Download complete 03:56:47 e6b0cf9c0882: Pull complete 03:56:47 2848faf0eed1: Pull complete 03:56:48 0f37312ad70f: Pull complete 03:56:48 345998794f6b: Verifying Checksum 03:56:48 345998794f6b: Download complete 03:56:49 97a711d68925: Verifying Checksum 03:56:49 97a711d68925: Download complete 03:56:50 7c8476c1cb00: Verifying Checksum 03:56:50 7c8476c1cb00: Download complete 03:56:50 7d08f2745646: Verifying Checksum 03:56:50 7d08f2745646: Download complete 03:57:00 7d08f2745646: Pull complete 03:57:00 4c9f31393084: Pull complete 03:57:00 eb21ddb83652: Pull complete 03:57:02 345998794f6b: Pull complete 03:57:06 97a711d68925: Pull complete 03:57:07 7c8476c1cb00: Pull complete 03:57:07 Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 03:57:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 03:57:08 prd-centos7-docker-4c-2g-4652 does not seem to be running inside a container 03:57:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/foundry_device-virtual-go_master:/ws -w /ws --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat 03:57:09 $ docker top f1b44e4909b3ac19fe9c6492c8e966add99fe483a492be6cb5c421bcc972c94a -eo pid,comm [Pipeline] { [Pipeline] sh 03:57:10 + snyk monitor '--org=edgex-jenkins' 03:57:18 03:57:18 Monitoring /w/workspace/foundry_device-virtual-go_master... 03:57:18 03:57:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/9860ebd9-b559-4e11-857d-9a6a3da1e7bc 03:57:18 03:57:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:57:18 03:57:18 [Pipeline] } 03:57:18 $ docker stop --time=1 f1b44e4909b3ac19fe9c6492c8e966add99fe483a492be6cb5c421bcc972c94a 03:57:20 $ docker rm -f f1b44e4909b3ac19fe9c6492c8e966add99fe483a492be6cb5c421bcc972c94a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:57:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:57:22 03:57:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 03:57:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:57:23 latest: Pulling from edgex-devops/edgex-klar 03:57:23 e7c96db7181b: Pulling fs layer 03:57:23 1868ca2cb446: Pulling fs layer 03:57:23 136be5d0fe8e: Pulling fs layer 03:57:23 894bfe63afcb: Pulling fs layer 03:57:23 894bfe63afcb: Waiting 03:57:23 1868ca2cb446: Verifying Checksum 03:57:23 1868ca2cb446: Download complete 03:57:24 136be5d0fe8e: Verifying Checksum 03:57:24 136be5d0fe8e: Download complete 03:57:24 e7c96db7181b: Verifying Checksum 03:57:24 e7c96db7181b: Download complete 03:57:24 e7c96db7181b: Pull complete 03:57:24 894bfe63afcb: Verifying Checksum 03:57:24 894bfe63afcb: Download complete 03:57:25 1868ca2cb446: Pull complete 03:57:25 136be5d0fe8e: Pull complete 03:57:25 894bfe63afcb: Pull complete 03:57:25 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 03:57:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 03:57:26 prd-centos7-docker-4c-2g-4652 does not seem to be running inside a container 03:57:27 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 03:57:28 $ docker top bafcb872488d971ca4f2578d3fd5fb5a0cc0dc914a1ea5d40485aa3bc888b0c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:29 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:26c67eb8412f6636996969c1d91d1fdce6984c18 03:57:29 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:57:32 $ docker stop --time=1 bafcb872488d971ca4f2578d3fd5fb5a0cc0dc914a1ea5d40485aa3bc888b0c3 03:57:33 $ docker rm -f bafcb872488d971ca4f2578d3fd5fb5a0cc0dc914a1ea5d40485aa3bc888b0c3 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 03:57:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:57:34 . [Pipeline] withDockerContainer 03:57:34 prd-centos7-docker-4c-2g-4652 does not seem to be running inside a container 03:57:35 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 03:57:37 $ docker top 6c04ec1fe85a0a507750fcb5de996423a10cbc461b424d927089fa953520eaf5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:38 + tee 03:57:38 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:26c67eb8412f6636996969c1d91d1fdce6984c18 03:57:38 clair timeout 1m0s 03:57:38 docker timeout: 1m0s 03:57:38 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:57:39 $ docker stop --time=1 6c04ec1fe85a0a507750fcb5de996423a10cbc461b424d927089fa953520eaf5 03:57:41 $ docker rm -f 6c04ec1fe85a0a507750fcb5de996423a10cbc461b424d927089fa953520eaf5 [Pipeline] // withDockerContainer [Pipeline] sh 03:57:42 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 03:57:42 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go_26c67eb8412f6636996969c1d91d1fdce6984c18.html [Pipeline] writeFile [Pipeline] step 03:57:42 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 03:57:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:57:43 . [Pipeline] withDockerContainer 03:57:43 prd-centos7-docker-4c-2g-4652 does not seem to be running inside a container 03:57:43 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 03:57:44 $ docker top a31b10e3c0f1d70e4e206e37633d72f1fbe8a24bdf0cbd4ea1d311d5d35b0b60 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:45 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:26c67eb8412f6636996969c1d91d1fdce6984c18 03:57:45 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:57:48 $ docker stop --time=1 a31b10e3c0f1d70e4e206e37633d72f1fbe8a24bdf0cbd4ea1d311d5d35b0b60 03:57:50 $ docker rm -f a31b10e3c0f1d70e4e206e37633d72f1fbe8a24bdf0cbd4ea1d311d5d35b0b60 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 03:57:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 03:57:51 . [Pipeline] withDockerContainer 03:57:51 prd-centos7-docker-4c-2g-4652 does not seem to be running inside a container 03:57:51 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 03:57:53 $ docker top a4d606accabcc9cce0b5df13a8e979814e5a6b41badfc7891a467312b0813939 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:53 + + tee/klar 03:57:53 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:26c67eb8412f6636996969c1d91d1fdce6984c18 03:57:53 clair timeout 1m0s 03:57:53 docker timeout: 1m0s 03:57:53 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:57:54 $ docker stop --time=1 a4d606accabcc9cce0b5df13a8e979814e5a6b41badfc7891a467312b0813939 03:57:56 $ docker rm -f a4d606accabcc9cce0b5df13a8e979814e5a6b41badfc7891a467312b0813939 [Pipeline] // withDockerContainer [Pipeline] sh 03:57:57 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 03:57:57 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go-arm64_26c67eb8412f6636996969c1d91d1fdce6984c18.html [Pipeline] writeFile [Pipeline] step 03:57:57 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 03:57:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:57:58 . [Pipeline] withDockerContainer 03:57:58 prd-centos7-docker-4c-2g-4652 does not seem to be running inside a container 03:57:58 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:57:59 $ docker top 62de0e2b44b5174bac88e20adb4e8ab90d52e9bd14ffcd0c478fa65afbfd85b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:58:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:58:00 [ssh-agent] Looking for ssh-agent implementation... 03:58:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:58:00 $ docker exec 62de0e2b44b5174bac88e20adb4e8ab90d52e9bd14ffcd0c478fa65afbfd85b9 ssh-agent 03:58:01 SSH_AUTH_SOCK=/tmp/ssh-zRNixB2ttQTM/agent.14 03:58:01 SSH_AGENT_PID=21 03:58:01 Running ssh-add (command line suppressed) 03:58:01 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_150834217380983696.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_150834217380983696.key) 03:58:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:58:01 + git semver tag 03:58:02 # -> Open(): unable to determine branch for HEAD 03:58:02 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 03:58:02 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 03:58:02 # $SEMVER_REMOTE_NAME = origin 03:58:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:58:02 # $SEMVER_USER_NAME = edgex-jenkins 03:58:02 # $SEMVER_BRANCH = master 03:58:02 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 03:58:02 # 26c67eb8412f6636996969c1d91d1fdce6984c18 HEAD 03:58:02 # -> Force: false 03:58:02 # 08d2f4b01cb846fafc9bb8eaae503902ff91914b refs/tags/v1.2.0-dev.7 [Pipeline] } 03:58:02 $ docker exec --env ******** --env ******** 62de0e2b44b5174bac88e20adb4e8ab90d52e9bd14ffcd0c478fa65afbfd85b9 ssh-agent -k 03:58:02 unset SSH_AUTH_SOCK; 03:58:02 unset SSH_AGENT_PID; 03:58:02 echo Agent pid 21 killed; 03:58:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:58:02 + git semver [Pipeline] } 03:58:02 $ docker stop --time=1 62de0e2b44b5174bac88e20adb4e8ab90d52e9bd14ffcd0c478fa65afbfd85b9 03:58:04 $ docker rm -f 62de0e2b44b5174bac88e20adb4e8ab90d52e9bd14ffcd0c478fa65afbfd85b9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 03:58:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:58:05 03:58:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 03:58:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:58:06 0.23.1-centos7: Pulling from edgex-lftools 03:58:06 ab5ef0e58194: Pulling fs layer 03:58:06 9712f1f96733: Pulling fs layer 03:58:06 63f879dbbcfc: Pulling fs layer 03:58:06 0d9ebad4ef96: Pulling fs layer 03:58:06 e9a5061849ea: Pulling fs layer 03:58:06 d747dcd14b5f: Pulling fs layer 03:58:06 2de7ff778b66: Pulling fs layer 03:58:06 0d9ebad4ef96: Waiting 03:58:06 d747dcd14b5f: Waiting 03:58:06 2de7ff778b66: Waiting 03:58:06 e9a5061849ea: Waiting 03:58:06 9712f1f96733: Verifying Checksum 03:58:06 9712f1f96733: Download complete 03:58:10 63f879dbbcfc: Verifying Checksum 03:58:10 63f879dbbcfc: Download complete 03:58:10 e9a5061849ea: Verifying Checksum 03:58:10 e9a5061849ea: Download complete 03:58:10 d747dcd14b5f: Verifying Checksum 03:58:10 d747dcd14b5f: Download complete 03:58:10 ab5ef0e58194: Verifying Checksum 03:58:10 ab5ef0e58194: Download complete 03:58:10 0d9ebad4ef96: Verifying Checksum 03:58:10 0d9ebad4ef96: Download complete 03:58:10 2de7ff778b66: Verifying Checksum 03:58:10 2de7ff778b66: Download complete 03:58:19 ab5ef0e58194: Pull complete 03:58:19 9712f1f96733: Pull complete 03:58:20 63f879dbbcfc: Pull complete 03:58:30 0d9ebad4ef96: Pull complete 03:58:30 e9a5061849ea: Pull complete 03:58:30 d747dcd14b5f: Pull complete 03:58:34 2de7ff778b66: Pull complete 03:58:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:58:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 03:58:35 prd-centos7-docker-4c-2g-4652 does not seem to be running inside a container 03:58:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:58:36 $ docker top ca7a9685cbe31f9f855a030e3d905fa960bcea256c49830a262c52ea0c0d0493 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:58:36 provisioning config files... 03:58:37 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4409899662240123105tmp 03:58:37 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config971335860504722125tmp 03:58:37 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3022346454645033459tmp [Pipeline] { [Pipeline] echo 03:58:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:58:37 ---> sigul-configuration.sh 03:58:37 gpg: directory `/root/.gnupg' created 03:58:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:58:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:58:37 gpg: keyring `/root/.gnupg/secring.gpg' created 03:58:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:58:37 gpg: CAST5 encrypted data 03:58:37 gpg: encrypted with 1 passphrase 03:58:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:58:38 + mkdir /home/jenkins 03:58:38 + mkdir /home/jenkins/sigul [Pipeline] sh 03:58:38 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 03:58:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:58:39 ---> sigul-install.sh 03:58:47 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 03:58:47 + git tag --list 03:58:47 v1.2.0-dev.7 [Pipeline] sh 03:58:48 + lftools sign git-tag v1.2.0-dev.7 03:58:50 Signing Git tag with Sigul... 03:58:50 Signing v1.2.0-dev.7 [Pipeline] echo 03:58:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:58:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:58:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:58:52 $ docker stop --time=1 ca7a9685cbe31f9f855a030e3d905fa960bcea256c49830a262c52ea0c0d0493 03:58:54 $ docker rm -f ca7a9685cbe31f9f855a030e3d905fa960bcea256c49830a262c52ea0c0d0493 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 03:58:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:58:54 . [Pipeline] withDockerContainer 03:58:54 prd-centos7-docker-4c-2g-4652 does not seem to be running inside a container 03:58:54 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:58:55 $ docker top 85962d7202e80e56afa570343fc884cbaf633f3deb182bf8bf5fad4fba4ba515 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:58:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:58:55 [ssh-agent] Looking for ssh-agent implementation... 03:58:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:58:56 $ docker exec 85962d7202e80e56afa570343fc884cbaf633f3deb182bf8bf5fad4fba4ba515 ssh-agent 03:58:56 SSH_AUTH_SOCK=/tmp/ssh-icSqj7tWP8Dp/agent.15 03:58:56 SSH_AGENT_PID=21 03:58:56 Running ssh-add (command line suppressed) 03:58:56 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5997119427720690981.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5997119427720690981.key) 03:58:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:58:57 + git semver bump pre 03:58:57 # -> Open(): unable to determine branch for HEAD 03:58:57 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 03:58:57 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 03:58:57 # $SEMVER_REMOTE_NAME = origin 03:58:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:58:57 # $SEMVER_USER_NAME = edgex-jenkins 03:58:57 # $SEMVER_BRANCH = master 03:58:57 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 03:58:57 1.2.0-dev.8 [Pipeline] } 03:58:57 $ docker exec --env ******** --env ******** 85962d7202e80e56afa570343fc884cbaf633f3deb182bf8bf5fad4fba4ba515 ssh-agent -k 03:58:57 unset SSH_AUTH_SOCK; 03:58:57 unset SSH_AGENT_PID; 03:58:57 echo Agent pid 21 killed; 03:58:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:58:58 + git semver [Pipeline] } 03:58:59 $ docker stop --time=1 85962d7202e80e56afa570343fc884cbaf633f3deb182bf8bf5fad4fba4ba515 03:59:00 $ docker rm -f 85962d7202e80e56afa570343fc884cbaf633f3deb182bf8bf5fad4fba4ba515 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 03:59:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:59:01 . [Pipeline] withDockerContainer 03:59:01 prd-centos7-docker-4c-2g-4652 does not seem to be running inside a container 03:59:01 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:59:02 $ docker top ca5a918d5e0c2ff0f6fcb51eecb30fbfd3b85b6f040a575e87a36a31cf2af6dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:59:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:59:03 [ssh-agent] Looking for ssh-agent implementation... 03:59:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:59:03 $ docker exec ca5a918d5e0c2ff0f6fcb51eecb30fbfd3b85b6f040a575e87a36a31cf2af6dd ssh-agent 03:59:04 SSH_AUTH_SOCK=/tmp/ssh-dQQgAEWq3tZ0/agent.15 03:59:04 SSH_AGENT_PID=22 03:59:04 Running ssh-add (command line suppressed) 03:59:04 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8584764083264902753.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8584764083264902753.key) 03:59:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:59:04 + git semver push 03:59:04 # -> Open(): unable to determine branch for HEAD 03:59:04 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 03:59:04 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 03:59:04 # $SEMVER_REMOTE_NAME = origin 03:59:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:59:04 # $SEMVER_USER_NAME = edgex-jenkins 03:59:04 # $SEMVER_BRANCH = master 03:59:04 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 03:59:11 $ docker exec --env ******** --env ******** ca5a918d5e0c2ff0f6fcb51eecb30fbfd3b85b6f040a575e87a36a31cf2af6dd ssh-agent -k 03:59:11 unset SSH_AUTH_SOCK; 03:59:11 unset SSH_AGENT_PID; 03:59:11 echo Agent pid 22 killed; 03:59:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:59:12 + git semver [Pipeline] } 03:59:12 $ docker stop --time=1 ca5a918d5e0c2ff0f6fcb51eecb30fbfd3b85b6f040a575e87a36a31cf2af6dd 03:59:14 $ docker rm -f ca5a918d5e0c2ff0f6fcb51eecb30fbfd3b85b6f040a575e87a36a31cf2af6dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 03:59:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:59:16 ---> package-listing.sh 03:59:16 ++ facter osfamily 03:59:16 ++ tr '[:upper:]' '[:lower:]' 03:59:16 + OS_FAMILY=redhat 03:59:16 + workspace=/w/workspace/foundry_device-virtual-go_master 03:59:16 + START_PACKAGES=/tmp/packages_start.txt 03:59:16 + END_PACKAGES=/tmp/packages_end.txt 03:59:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:59:16 + PACKAGES=/tmp/packages_start.txt 03:59:16 + '[' /w/workspace/foundry_device-virtual-go_master ']' 03:59:16 + PACKAGES=/tmp/packages_end.txt 03:59:16 + case "${OS_FAMILY}" in 03:59:16 + rpm -qa 03:59:16 + sort 03:59:23 + '[' -f /tmp/packages_start.txt ']' 03:59:23 + '[' -f /tmp/packages_end.txt ']' 03:59:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:59:23 + '[' /w/workspace/foundry_device-virtual-go_master ']' 03:59:23 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 03:59:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 03:59:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:59:23 03:59:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:59:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:59:23 alpine: Pulling from edgex-lftools-log-publisher 03:59:23 c9b1b535fdd9: Pulling fs layer 03:59:23 2cc5ad85d9ab: Pulling fs layer 03:59:23 756a868c4378: Pulling fs layer 03:59:23 444b2fc9a129: Pulling fs layer 03:59:23 ea15f1150254: Pulling fs layer 03:59:23 41b27a9f41bf: Pulling fs layer 03:59:23 28c525ee5125: Pulling fs layer 03:59:23 094b1ea09ed8: Pulling fs layer 03:59:23 138eaada9080: Pulling fs layer 03:59:23 0622d0fa9048: Pulling fs layer 03:59:23 444b2fc9a129: Waiting 03:59:23 ea15f1150254: Waiting 03:59:23 41b27a9f41bf: Waiting 03:59:23 28c525ee5125: Waiting 03:59:23 094b1ea09ed8: Waiting 03:59:23 138eaada9080: Waiting 03:59:23 0622d0fa9048: Waiting 03:59:23 2cc5ad85d9ab: Verifying Checksum 03:59:23 2cc5ad85d9ab: Download complete 03:59:24 444b2fc9a129: Verifying Checksum 03:59:24 444b2fc9a129: Download complete 03:59:24 c9b1b535fdd9: Verifying Checksum 03:59:24 c9b1b535fdd9: Download complete 03:59:24 ea15f1150254: Verifying Checksum 03:59:24 ea15f1150254: Download complete 03:59:24 28c525ee5125: Verifying Checksum 03:59:24 28c525ee5125: Download complete 03:59:25 c9b1b535fdd9: Pull complete 03:59:25 756a868c4378: Verifying Checksum 03:59:25 756a868c4378: Download complete 03:59:25 138eaada9080: Verifying Checksum 03:59:25 138eaada9080: Download complete 03:59:25 094b1ea09ed8: Verifying Checksum 03:59:25 094b1ea09ed8: Download complete 03:59:25 0622d0fa9048: Verifying Checksum 03:59:25 0622d0fa9048: Download complete 03:59:26 2cc5ad85d9ab: Pull complete 03:59:26 41b27a9f41bf: Verifying Checksum 03:59:26 41b27a9f41bf: Download complete 03:59:29 756a868c4378: Pull complete 03:59:29 444b2fc9a129: Pull complete 03:59:29 ea15f1150254: Pull complete 03:59:36 41b27a9f41bf: Pull complete 03:59:36 28c525ee5125: Pull complete 03:59:41 094b1ea09ed8: Pull complete 03:59:41 138eaada9080: Pull complete 03:59:41 0622d0fa9048: Pull complete 03:59:41 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:59:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:59:41 prd-centos7-docker-4c-2g-4652 does not seem to be running inside a container 03:59:41 $ 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_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:59:43 $ docker top 4744feb70d02f2d092656b523b0f1d48663120254462d52d43bfbb0e047cf034 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:59:43 provisioning config files... 03:59:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2811315933181277456tmp [Pipeline] { [Pipeline] echo 03:59:43 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:59:44 ---> create-netrc.sh [Pipeline] echo 03:59:44 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:59:44 ---> logs-deploy.sh 03:59:44 + ARCHIVE_ARTIFACTS= 03:59:44 + LOGS_SERVER=https://logs.edgexfoundry.org 03:59:44 + '[' https://logs.edgexfoundry.org == None ']' 03:59:44 + NEXUS_URL=https://nexus.edgexfoundry.org 03:59:44 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/7 03:59:44 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/7/ 03:59:44 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/7 /w/workspace/foundry_device-virtual-go_master 03:59:46 Archives upload complete. 03:59:46 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/7 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/7/