Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 765a8ae72530510c4ebab34c81f831f56123a77d Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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-2709 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 without tags Checking out Revision 765a8ae72530510c4ebab34c81f831f56123a77d (master) 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 > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 765a8ae72530510c4ebab34c81f831f56123a77d # timeout=10 Commit message: "Merge pull request #113 from tonyespy/update-sdk-122" > git rev-list --no-walk b52eb9e4b400164974d679b086349643dc0ae83f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:41:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:41:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:41:12 ========================================================= 05:41:12 EdgeX Global Pipelines Version Info 05:41:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:41:13 ------------------- 05:41:13 stable info: 05:41:13 ------------------- 05:41:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:41:13 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 05:41:13 Message: update stable to v1.0.89 05:41:14 ------------------- 05:41:14 experimental info: 05:41:14 ------------------- 05:41:14 Commited By: **** collab-it+edgex@linuxfoundation.org 05:41:14 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 05:41:14 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 05:41:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:41:16 05:41:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:41:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:41:16 latest: Pulling from edgex-devops/git-semver 05:41:16 9123ac7c32f7: Pulling fs layer 05:41:16 b8cc5d1170e3: Pulling fs layer 05:41:16 2924cbbf6a41: Pulling fs layer 05:41:16 93b08a4f1073: Pulling fs layer 05:41:16 93b08a4f1073: Waiting 05:41:16 b8cc5d1170e3: Download complete 05:41:16 9123ac7c32f7: Verifying Checksum 05:41:16 9123ac7c32f7: Download complete 05:41:17 93b08a4f1073: Verifying Checksum 05:41:17 93b08a4f1073: Download complete 05:41:17 2924cbbf6a41: Verifying Checksum 05:41:17 2924cbbf6a41: Download complete 05:41:17 9123ac7c32f7: Pull complete 05:41:17 b8cc5d1170e3: Pull complete 05:41:17 2924cbbf6a41: Pull complete 05:41:18 93b08a4f1073: Pull complete 05:41:18 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 05:41:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:41:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:41:18 prd-centos7-docker-4c-2g-2709 does not seem to be running inside a container 05:41:18 $ 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 05:41:20 $ docker top 8c86ac5461fce90adad3f66e5f0daf23c237e942627772834d615fc6cbe9fc99 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:41:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:41:20 [ssh-agent] Looking for ssh-agent implementation... 05:41:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:41:20 $ docker exec 8c86ac5461fce90adad3f66e5f0daf23c237e942627772834d615fc6cbe9fc99 ssh-agent 05:41:20 SSH_AUTH_SOCK=/tmp/ssh-o9s4ky1550yJ/agent.13 05:41:20 SSH_AGENT_PID=19 05:41:20 Running ssh-add (command line suppressed) 05:41:20 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_3605904634343616160.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_3605904634343616160.key) 05:41:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:41:21 + git describe --exact-match --tags HEAD 05:41:21 fatal: No names found, cannot describe anything. [Pipeline] } 05:41:21 $ docker exec --env ******** --env ******** 8c86ac5461fce90adad3f66e5f0daf23c237e942627772834d615fc6cbe9fc99 ssh-agent -k 05:41:21 unset SSH_AUTH_SOCK; 05:41:21 unset SSH_AGENT_PID; 05:41:21 echo Agent pid 19 killed; 05:41:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:41:21 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:41:21 This usually means this commit has not been tagged. [Pipeline] sshagent 05:41:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:41:21 [ssh-agent] Looking for ssh-agent implementation... 05:41:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:41:21 $ docker exec 8c86ac5461fce90adad3f66e5f0daf23c237e942627772834d615fc6cbe9fc99 ssh-agent 05:41:21 SSH_AUTH_SOCK=/tmp/ssh-1xN5L2lTgUIR/agent.51 05:41:21 SSH_AGENT_PID=57 05:41:21 Running ssh-add (command line suppressed) 05:41:21 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2754146803559709663.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2754146803559709663.key) 05:41:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:41:22 + git semver init 05:41:22 # -> Open(): unable to determine branch for HEAD 05:41:22 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 05:41:22 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 05:41:22 # $SEMVER_REMOTE_NAME = origin 05:41:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:41:22 # $SEMVER_USER_NAME = edgex-jenkins 05:41:22 # $SEMVER_BRANCH = master 05:41:22 # $SEMVER_TEMP = /tmp/semver-597338625 05:41:22 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 05:41:22 # '/tmp/semver-597338625' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 05:41:22 # -> Force: false 05:41:22 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 05:41:22 $ docker exec --env ******** --env ******** 8c86ac5461fce90adad3f66e5f0daf23c237e942627772834d615fc6cbe9fc99 ssh-agent -k 05:41:22 unset SSH_AUTH_SOCK; 05:41:22 unset SSH_AGENT_PID; 05:41:22 echo Agent pid 57 killed; 05:41:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:41:23 + git semver [Pipeline] } 05:41:23 $ docker stop --time=1 8c86ac5461fce90adad3f66e5f0daf23c237e942627772834d615fc6cbe9fc99 05:41:24 $ docker rm -f 8c86ac5461fce90adad3f66e5f0daf23c237e942627772834d615fc6cbe9fc99 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:41:25 Stashed 27 file(s) [Pipeline] echo 05:41:25 [edgeXSemver] initialized semver on version 1.2.1-dev.1 [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 05:41:40 Still waiting to schedule task 05:41:40 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:41:40 Still waiting to schedule task 05:41:40 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 05:43:07 Running on prd-centos7-docker-4c-2g-2714 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 05:43:08 Running in /w/workspace/device-virtual-go/14 [Pipeline] { [Pipeline] checkout 05:43:11 using credential edgex-jenkins-ssh 05:43:11 Cloning the remote Git repository 05:43:11 Cloning with configured refspecs honoured and without tags 05:43:11 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:43:11 > git init /w/workspace/device-virtual-go/14 # timeout=10 05:43:11 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:43:11 > git --version # timeout=10 05:43:11 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:11 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:43:11 Fetching without tags 05:43:12 Checking out Revision 765a8ae72530510c4ebab34c81f831f56123a77d (master) 05:43:11 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:43:11 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:43:11 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:43:11 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:43:11 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:11 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:43:12 > git config core.sparsecheckout # timeout=10 05:43:12 > git checkout -f 765a8ae72530510c4ebab34c81f831f56123a77d # timeout=10 05:43:15 Commit message: "Merge pull request #113 from tonyespy/update-sdk-122" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:43:16 ========================================================= 05:43:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 05:43:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:43:17 + 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 . 05:43:18 Sending build context to Docker daemon 519.2kB 05:43:18 Step 1/8 : ARG BASE=golang:1.13-alpine 05:43:18 Step 2/8 : FROM ${BASE} 05:43:18 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 05:43:18 e6b0cf9c0882: Pulling fs layer 05:43:18 2848faf0eed1: Pulling fs layer 05:43:18 0f37312ad70f: Pulling fs layer 05:43:18 5788d62ee057: Pulling fs layer 05:43:18 0e6b1d234666: Pulling fs layer 05:43:18 bf5d7aec512f: Pulling fs layer 05:43:18 34c802a77dc8: Pulling fs layer 05:43:18 9eb99e56ec68: Pulling fs layer 05:43:18 27c7a5d97fbd: Pulling fs layer 05:43:18 5c102a31e300: Pulling fs layer 05:43:18 dcfb455df0a1: Pulling fs layer 05:43:18 5788d62ee057: Waiting 05:43:18 9eb99e56ec68: Waiting 05:43:18 27c7a5d97fbd: Waiting 05:43:18 5c102a31e300: Waiting 05:43:18 dcfb455df0a1: Waiting 05:43:18 0e6b1d234666: Waiting 05:43:18 bf5d7aec512f: Waiting 05:43:18 0f37312ad70f: Verifying Checksum 05:43:18 0f37312ad70f: Download complete 05:43:18 2848faf0eed1: Download complete 05:43:18 0e6b1d234666: Verifying Checksum 05:43:18 0e6b1d234666: Download complete 05:43:18 e6b0cf9c0882: Verifying Checksum 05:43:18 bf5d7aec512f: Verifying Checksum 05:43:18 bf5d7aec512f: Download complete 05:43:18 e6b0cf9c0882: Pull complete 05:43:19 34c802a77dc8: Verifying Checksum 05:43:19 34c802a77dc8: Download complete 05:43:19 27c7a5d97fbd: Verifying Checksum 05:43:19 27c7a5d97fbd: Download complete 05:43:19 5c102a31e300: Verifying Checksum 05:43:19 5c102a31e300: Download complete 05:43:19 dcfb455df0a1: Verifying Checksum 05:43:19 dcfb455df0a1: Download complete 05:43:19 9eb99e56ec68: Verifying Checksum 05:43:19 9eb99e56ec68: Download complete 05:43:19 5788d62ee057: Verifying Checksum 05:43:19 5788d62ee057: Download complete 05:43:20 2848faf0eed1: Pull complete 05:43:21 0f37312ad70f: Pull complete 05:43:27 5788d62ee057: Pull complete 05:43:27 0e6b1d234666: Pull complete 05:43:27 bf5d7aec512f: Pull complete 05:43:32 34c802a77dc8: Pull complete 05:43:36 9eb99e56ec68: Pull complete 05:43:36 27c7a5d97fbd: Pull complete 05:43:36 5c102a31e300: Pull complete 05:43:36 dcfb455df0a1: Pull complete 05:43:36 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 05:43:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 05:43:36 ---> 7c70fe431013 05:43:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 05:43:38 ---> Running in 23cd7dcf2929 05:43:38 Removing intermediate container 23cd7dcf2929 05:43:38 ---> 7fd61b1876ab 05:43:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:43:39 ---> Running in 45570be74c0d 05:43:40 Removing intermediate container 45570be74c0d 05:43:40 ---> e668497267d2 05:43:40 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 05:43:40 ---> Running in 32e169839c68 05:43:40 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:43:41 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:43:42 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 05:43:42 (2/17) Installing libmagic (5.37-r1) 05:43:42 (3/17) Installing file (5.37-r1) 05:43:43 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 05:43:43 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 05:43:43 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 05:44:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2717 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 05:44:01 Running in /w/workspace/device-virtual-go/14 [Pipeline] { [Pipeline] checkout 05:44:05 (7/17) Installing libc-dev (0.7.2-r0) 05:44:05 (8/17) Installing g++ (9.2.0-r4) 05:44:06 using credential edgex-jenkins-ssh 05:44:06 Cloning the remote Git repository 05:44:06 Cloning with configured refspecs honoured and without tags 05:44:07 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:44:07 > git init /w/workspace/device-virtual-go/14 # timeout=10 05:44:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:44:07 > git --version # timeout=10 05:44:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:44:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:44:08 Fetching without tags 05:44:08 Checking out Revision 765a8ae72530510c4ebab34c81f831f56123a77d (master) 05:44:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:44:08 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:44:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:44:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:44:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:44:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:44:08 > git config core.sparsecheckout # timeout=10 05:44:08 > git checkout -f 765a8ae72530510c4ebab34c81f831f56123a77d # timeout=10 05:44:09 (9/17) Installing fortify-headers (1.1-r0) 05:44:09 (10/17) Installing build-base (0.5-r1) 05:44:09 (11/17) Installing openssh-keygen (8.1_p1-r0) 05:44:09 (12/17) Installing libedit (20191211.3.1-r0) 05:44:09 (13/17) Installing openssh-client (8.1_p1-r0) 05:44:09 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 05:44:10 (15/17) Installing openssh-server-common (8.1_p1-r0) 05:44:10 (16/17) Installing openssh-server (8.1_p1-r0) 05:44:10 (17/17) Installing openssh (8.1_p1-r0) 05:44:10 Executing busybox-1.31.1-r8.trigger 05:44:10 OK: 214 MiB in 52 packages 05:44:13 Removing intermediate container 32e169839c68 05:44:13 ---> 57c3ba3aa325 05:44:13 Step 6/8 : WORKDIR /device-virtual-go 05:44:13 Commit message: "Merge pull request #113 from tonyespy/update-sdk-122" 05:44:13 ---> Running in b8103b02a11e 05:44:13 Removing intermediate container b8103b02a11e 05:44:13 ---> e07bbc7df73b 05:44:13 Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:44:14 ========================================================= 05:44:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 05:44:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:44:14 ---> ed8698d522a3 05:44:14 Step 8/8 : RUN go mod download 05:44:14 ---> Running in 5f7d3830a370 05:44:15 + 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 . 05:44:16 Sending build context to Docker daemon 519.2kB 05:44:16 Step 1/8 : ARG BASE=golang:1.13-alpine 05:44:16 Step 2/8 : FROM ${BASE} 05:44:16 go: finding github.com/BurntSushi/toml v0.3.1 05:44:16 go: finding github.com/OneOfOne/xxhash v1.2.6 05:44:16 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:44:16 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:44:16 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:44:16 go: finding github.com/bgentry/speakeasy v0.1.0 05:44:16 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:44:16 go: finding github.com/davecgh/go-spew v1.1.1 05:44:16 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 05:44:16 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:44:16 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:44:16 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:44:16 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 05:44:16 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:44:16 go: finding github.com/edsrzf/mmap-go v1.0.0 05:44:16 go: finding github.com/fatih/color v1.7.0 05:44:16 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:44:16 go: finding github.com/go-kit/kit v0.8.0 05:44:16 go: finding github.com/go-logfmt/logfmt v0.4.0 05:44:16 go: finding github.com/go-stack/stack v1.8.0 05:44:16 go: finding github.com/golang/snappy v0.0.1 05:44:16 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:44:16 go: finding github.com/google/uuid v1.1.0 05:44:16 go: finding github.com/gorilla/mux v1.7.1 05:44:16 go: finding github.com/hashicorp/consul/api v1.1.0 05:44:16 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:44:16 go: finding github.com/hashicorp/errwrap v1.0.0 05:44:16 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:44:16 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:44:16 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:44:16 go: finding github.com/hashicorp/go-multierror v1.0.0 05:44:16 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:44:16 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:44:16 go: finding github.com/hashicorp/go-syslog v1.0.0 05:44:16 go: finding github.com/hashicorp/go-uuid v1.0.1 05:44:16 go: finding github.com/hashicorp/go.net v0.0.1 05:44:16 go: finding github.com/hashicorp/golang-lru v0.5.0 05:44:16 go: finding github.com/hashicorp/logutils v1.0.0 05:44:16 go: finding github.com/hashicorp/mdns v1.0.0 05:44:16 go: finding github.com/hashicorp/memberlist v0.1.3 05:44:16 go: finding github.com/hashicorp/serf v0.8.2 05:44:16 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:44:16 go: finding github.com/mattn/go-colorable v0.0.9 05:44:16 go: finding github.com/mattn/go-isatty v0.0.3 05:44:16 go: finding github.com/miekg/dns v1.0.14 05:44:16 go: finding github.com/mitchellh/cli v1.0.0 05:44:16 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:44:16 go: finding github.com/mitchellh/copystructure v1.0.0 05:44:16 go: finding github.com/mitchellh/go-homedir v1.0.0 05:44:16 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:44:16 go: finding github.com/mitchellh/gox v0.4.0 05:44:16 go: finding github.com/mitchellh/iochan v1.0.0 05:44:16 go: finding github.com/mitchellh/mapstructure v1.1.2 05:44:16 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:44:16 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:44:16 go: finding github.com/pelletier/go-toml v1.2.0 05:44:16 go: finding github.com/pkg/errors v0.8.1 05:44:16 go: finding github.com/pmezard/go-difflib v1.0.0 05:44:16 go: finding github.com/posener/complete v1.1.1 05:44:16 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 05:44:16 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:44:16 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:44:16 go: finding github.com/stretchr/objx v0.1.0 05:44:16 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:44:16 cde5963f3b93: Pulling fs layer 05:44:16 2a23fa8c16f7: Pulling fs layer 05:44:16 777b28850792: Pulling fs layer 05:44:16 8a11ddd9e578: Pulling fs layer 05:44:16 4cf88f913ddb: Pulling fs layer 05:44:16 1df406cf5192: Pulling fs layer 05:44:16 cd6300453558: Pulling fs layer 05:44:16 b9c365052c96: Pulling fs layer 05:44:16 a2d8cc88f415: Pulling fs layer 05:44:16 ea1d1ca13537: Pulling fs layer 05:44:16 3750a50a1c5e: Pulling fs layer 05:44:16 4cf88f913ddb: Waiting 05:44:16 1df406cf5192: Waiting 05:44:16 cd6300453558: Waiting 05:44:16 b9c365052c96: Waiting 05:44:16 a2d8cc88f415: Waiting 05:44:16 ea1d1ca13537: Waiting 05:44:16 3750a50a1c5e: Waiting 05:44:16 8a11ddd9e578: Waiting 05:44:16 777b28850792: Download complete 05:44:16 2a23fa8c16f7: Verifying Checksum 05:44:16 2a23fa8c16f7: Download complete 05:44:16 4cf88f913ddb: Download complete 05:44:16 1df406cf5192: Verifying Checksum 05:44:16 1df406cf5192: Download complete 05:44:16 cde5963f3b93: Verifying Checksum 05:44:16 cde5963f3b93: Download complete 05:44:16 go: finding github.com/stretchr/testify v1.5.1 05:44:16 go: finding github.com/ugorji/go v1.1.4 05:44:16 go: finding github.com/x448/float16 v0.8.4 05:44:16 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:44:16 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:44:16 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:44:16 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 05:44:16 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:44:16 go: finding gopkg.in/yaml.v2 v2.2.8 05:44:16 go: finding modernc.org/b v1.0.0 05:44:16 go: finding modernc.org/db v1.0.0 05:44:16 go: finding modernc.org/file v1.0.0 05:44:16 go: finding modernc.org/fileutil v1.0.0 05:44:16 go: finding modernc.org/golex v1.0.0 05:44:16 go: finding modernc.org/internal v1.0.0 05:44:16 go: finding modernc.org/lldb v1.0.0 05:44:16 go: finding modernc.org/mathutil v1.0.0 05:44:16 go: finding modernc.org/ql v1.0.0 05:44:16 go: finding modernc.org/sortutil v1.0.0 05:44:16 go: finding modernc.org/strutil v1.0.0 05:44:16 go: finding modernc.org/zappy v1.0.0 05:44:17 cde5963f3b93: Pull complete 05:44:18 2a23fa8c16f7: Pull complete 05:44:18 777b28850792: Pull complete 05:44:19 cd6300453558: Verifying Checksum 05:44:19 cd6300453558: Download complete 05:44:19 a2d8cc88f415: Download complete 05:44:20 ea1d1ca13537: Verifying Checksum 05:44:20 ea1d1ca13537: Download complete 05:44:20 3750a50a1c5e: Download complete 05:44:21 b9c365052c96: Verifying Checksum 05:44:21 b9c365052c96: Download complete 05:44:22 8a11ddd9e578: Verifying Checksum 05:44:22 8a11ddd9e578: Download complete 05:44:25 Removing intermediate container 5f7d3830a370 05:44:25 ---> da92e815249a 05:44:25 Successfully built da92e815249a 05:44:25 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 05:44:25 + docker inspect -f . ci-base-image-x86_64 05:44:25 . [Pipeline] withDockerContainer 05:44:26 prd-centos7-docker-4c-2g-2714 does not seem to be running inside a container 05:44:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/14 -v /w/workspace/device-virtual-go/14:/w/workspace/device-virtual-go/14:rw,z -v /w/workspace/device-virtual-go/14@tmp:/w/workspace/device-virtual-go/14@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 05:44:27 $ docker top 227ac51976424865f3eb9e41622b0c18f243798278630a83c97c0976c44723c1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:27 + go version 05:44:27 go version go1.13.5 linux/amd64 [Pipeline] sh 05:44:28 + make test 05:44:28 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:44:29 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:44:35 8a11ddd9e578: Pull complete 05:44:35 4cf88f913ddb: Pull complete 05:44:35 1df406cf5192: Pull complete 05:44:38 cd6300453558: Pull complete 05:44:41 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:44:43 b9c365052c96: Pull complete 05:44:43 a2d8cc88f415: Pull complete 05:44:45 ea1d1ca13537: Pull complete 05:44:45 3750a50a1c5e: Pull complete 05:44:45 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 05:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 05:44:45 ---> 78745c68409d 05:44:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 05:44:50 ---> Running in 75b69f2ea201 05:44:50 Removing intermediate container 75b69f2ea201 05:44:50 ---> c129c6134d58 05:44:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:44:50 ---> Running in 3cae72e44315 05:44:53 Removing intermediate container 3cae72e44315 05:44:53 ---> f764a4e2638e 05:44:53 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 05:44:53 ---> Running in 45e601d046f4 05:44:54 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:44:56 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:44:57 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 05:44:57 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 05:44:57 (3/18) Installing libmagic (5.37-r1) 05:44:57 (4/18) Installing file (5.37-r1) 05:44:58 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 05:44:58 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 05:44:58 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 05:45:10 (8/18) Installing libc-dev (0.7.2-r0) 05:45:10 (9/18) Installing g++ (9.2.0-r4) 05:45:18 (10/18) Installing fortify-headers (1.1-r0) 05:45:18 (11/18) Installing build-base (0.5-r1) 05:45:18 (12/18) Installing openssh-keygen (8.1_p1-r0) 05:45:18 (13/18) Installing libedit (20191211.3.1-r0) 05:45:19 (14/18) Installing openssh-client (8.1_p1-r0) 05:45:19 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 05:45:19 (16/18) Installing openssh-server-common (8.1_p1-r0) 05:45:19 (17/18) Installing openssh-server (8.1_p1-r0) 05:45:19 (18/18) Installing openssh (8.1_p1-r0) 05:45:19 Executing busybox-1.31.1-r8.trigger 05:45:19 OK: 203 MiB in 52 packages 05:45:26 Removing intermediate container 45e601d046f4 05:45:26 ---> ea9fe87cfcc6 05:45:26 Step 6/8 : WORKDIR /device-virtual-go 05:45:26 ---> Running in b46c5ed45808 05:45:26 Removing intermediate container b46c5ed45808 05:45:26 ---> 9da709e5c469 05:45:26 Step 7/8 : COPY . . 05:45:27 ---> 1318d39b9a1b 05:45:27 Step 8/8 : RUN go mod download 05:45:27 ---> Running in d55fe351a976 05:45:30 go: finding github.com/BurntSushi/toml v0.3.1 05:45:30 go: finding github.com/OneOfOne/xxhash v1.2.6 05:45:30 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:45:30 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:45:30 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:45:30 go: finding github.com/bgentry/speakeasy v0.1.0 05:45:30 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:45:30 go: finding github.com/davecgh/go-spew v1.1.1 05:45:30 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 05:45:30 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:45:30 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:45:30 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:45:30 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 05:45:30 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:45:30 go: finding github.com/edsrzf/mmap-go v1.0.0 05:45:30 go: finding github.com/fatih/color v1.7.0 05:45:30 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:45:30 go: finding github.com/go-kit/kit v0.8.0 05:45:30 go: finding github.com/go-logfmt/logfmt v0.4.0 05:45:30 go: finding github.com/go-stack/stack v1.8.0 05:45:30 go: finding github.com/golang/snappy v0.0.1 05:45:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:45:30 go: finding github.com/google/uuid v1.1.0 05:45:30 go: finding github.com/gorilla/mux v1.7.1 05:45:30 go: finding github.com/hashicorp/consul/api v1.1.0 05:45:30 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:45:30 go: finding github.com/hashicorp/errwrap v1.0.0 05:45:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:45:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:45:30 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:45:30 go: finding github.com/hashicorp/go-multierror v1.0.0 05:45:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:45:30 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:45:30 go: finding github.com/hashicorp/go-syslog v1.0.0 05:45:30 go: finding github.com/hashicorp/go-uuid v1.0.1 05:45:30 go: finding github.com/hashicorp/go.net v0.0.1 05:45:30 go: finding github.com/hashicorp/golang-lru v0.5.0 05:45:30 go: finding github.com/hashicorp/logutils v1.0.0 05:45:30 go: finding github.com/hashicorp/mdns v1.0.0 05:45:30 go: finding github.com/hashicorp/memberlist v0.1.3 05:45:30 go: finding github.com/hashicorp/serf v0.8.2 05:45:30 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:45:30 go: finding github.com/mattn/go-colorable v0.0.9 05:45:30 go: finding github.com/mattn/go-isatty v0.0.3 05:45:30 go: finding github.com/miekg/dns v1.0.14 05:45:30 go: finding github.com/mitchellh/cli v1.0.0 05:45:30 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:45:30 go: finding github.com/mitchellh/copystructure v1.0.0 05:45:30 go: finding github.com/mitchellh/go-homedir v1.0.0 05:45:30 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:45:30 go: finding github.com/mitchellh/gox v0.4.0 05:45:30 go: finding github.com/mitchellh/iochan v1.0.0 05:45:30 go: finding github.com/mitchellh/mapstructure v1.1.2 05:45:30 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:45:30 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:45:30 go: finding github.com/pelletier/go-toml v1.2.0 05:45:30 go: finding github.com/pkg/errors v0.8.1 05:45:30 go: finding github.com/pmezard/go-difflib v1.0.0 05:45:30 go: finding github.com/posener/complete v1.1.1 05:45:30 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 05:45:30 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:45:30 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:45:30 go: finding github.com/stretchr/objx v0.1.0 05:45:30 go: finding github.com/stretchr/testify v1.5.1 05:45:30 go: finding github.com/ugorji/go v1.1.4 05:45:30 go: finding github.com/x448/float16 v0.8.4 05:45:30 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:45:30 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:45:30 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:45:30 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 05:45:30 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:45:31 go: finding gopkg.in/yaml.v2 v2.2.8 05:45:31 go: finding modernc.org/b v1.0.0 05:45:31 go: finding modernc.org/db v1.0.0 05:45:31 go: finding modernc.org/file v1.0.0 05:45:31 go: finding modernc.org/fileutil v1.0.0 05:45:31 go: finding modernc.org/golex v1.0.0 05:45:31 go: finding modernc.org/internal v1.0.0 05:45:31 go: finding modernc.org/lldb v1.0.0 05:45:31 go: finding modernc.org/mathutil v1.0.0 05:45:31 go: finding modernc.org/ql v1.0.0 05:45:31 go: finding modernc.org/sortutil v1.0.0 05:45:31 go: finding modernc.org/strutil v1.0.0 05:45:31 go: finding modernc.org/zappy v1.0.0 05:45:37 ok github.com/edgexfoundry/device-virtual-go/internal/driver 48.480s coverage: 52.7% of statements 05:45:37 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:45:37 gofmt -l . 05:45:37 [ "`gofmt -l .`" = "" ] 05:45:37 ./bin/test-attribution-txt.sh 05:45:37 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:45:38 Stashed 1 file(s) [Pipeline] } 05:45:38 $ docker stop --time=1 227ac51976424865f3eb9e41622b0c18f243798278630a83c97c0976c44723c1 05:45:39 $ docker rm -f 227ac51976424865f3eb9e41622b0c18f243798278630a83c97c0976c44723c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:45:41 + ls -al . 05:45:41 total 112 05:45:41 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 12 05:45 . 05:45:41 drwxrwxr-x. 4 jenkins jenkins 30 Jun 12 05:43 .. 05:45:41 -rw-rw-r--. 1 jenkins jenkins 6432 Jun 12 05:43 Attribution.txt 05:45:41 drwxrwxr-x. 2 jenkins jenkins 64 Jun 12 05:43 bin 05:45:41 drwxrwxr-x. 3 jenkins jenkins 32 Jun 12 05:43 cmd 05:45:41 -rw-r--r--. 1 jenkins jenkins 32181 Jun 12 05:45 coverage.out 05:45:41 -rw-rw-r--. 1 jenkins jenkins 1826 Jun 12 05:43 Dockerfile 05:45:41 -rw-rw-r--. 1 jenkins jenkins 957 Jun 12 05:43 Dockerfile.build 05:45:41 drwxrwxr-x. 8 jenkins jenkins 162 Jun 12 05:43 .git 05:45:41 drwxrwxr-x. 2 jenkins jenkins 38 Jun 12 05:43 .github 05:45:41 -rw-rw-r--. 1 jenkins jenkins 258 Jun 12 05:43 .gitignore 05:45:41 -rw-r--r--. 1 jenkins jenkins 855 Jun 12 05:45 go.mod 05:45:41 -rw-r--r--. 1 jenkins jenkins 14894 Jun 12 05:45 go.sum 05:45:41 drwxrwxr-x. 3 jenkins jenkins 20 Jun 12 05:43 internal 05:45:41 -rw-rw-r--. 1 jenkins jenkins 683 Jun 12 05:43 Jenkinsfile 05:45:41 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 12 05:43 LICENSE 05:45:41 -rw-rw-r--. 1 jenkins jenkins 873 Jun 12 05:43 Makefile 05:45:41 -rw-rw-r--. 1 jenkins jenkins 4413 Jun 12 05:43 README.md 05:45:41 drwxrwxr-x. 3 jenkins jenkins 44 Jun 12 05:43 .semver 05:45:41 -rw-rw-r--. 1 jenkins jenkins 11 Jun 12 05:41 VERSION 05:45:41 -rw-rw-r--. 1 jenkins jenkins 235 Jun 12 05:43 version.go [Pipeline] isUnix [Pipeline] sh 05:45:41 Removing intermediate container d55fe351a976 05:45:41 ---> 7a56f473f6dc 05:45:41 Successfully built 7a56f473f6dc 05:45:41 Successfully tagged ci-base-image-arm64:latest 05:45:41 + 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=765a8ae72530510c4ebab34c81f831f56123a77d --label arch=amd64 --label version=1.2.1-dev.1 . [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:45:41 Sending build context to Docker daemon 34.14MB 05:45:41 Step 1/21 : ARG BASE=golang:1.13-alpine 05:45:41 Step 2/21 : FROM ${BASE} AS builder 05:45:41 ---> da92e815249a 05:45:41 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 05:45:41 + docker inspect -f . ci-base-image-arm64 05:45:41 . [Pipeline] withDockerContainer 05:45:42 prd-ubuntu18.04-docker-arm64-4c-16g-2717 does not seem to be running inside a container 05:45:42 ---> Running in 8f4dd53f6cf4 05:45:42 Removing intermediate container 8f4dd53f6cf4 05:45:42 ---> 7eda5763a2ec 05:45:42 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 05:45:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/14 -v /w/workspace/device-virtual-go/14:/w/workspace/device-virtual-go/14:rw,z -v /w/workspace/device-virtual-go/14@tmp:/w/workspace/device-virtual-go/14@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 05:45:42 ---> Running in b89313623a9b 05:45:42 Removing intermediate container b89313623a9b 05:45:42 ---> 9749bd734b89 05:45:42 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 05:45:42 ---> Running in 6e7652689113 05:45:42 Removing intermediate container 6e7652689113 05:45:42 ---> f7ad5f58c040 05:45:42 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:45:42 ---> Running in 9b4238b9d4b3 05:45:43 Removing intermediate container 9b4238b9d4b3 05:45:43 ---> bab31185f893 05:45:43 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:45:43 ---> Running in 519563b1a00e 05:45:43 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:45:44 $ docker top fb9f94957d91b2972e7fd9a94d63f0c6369ca12a2e1d2910603863d59a8c3255 -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:44 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:45:45 OK: 214 MiB in 52 packages 05:45:45 + go version 05:45:45 go version go1.13.5 linux/arm64 [Pipeline] sh 05:45:45 Removing intermediate container 519563b1a00e 05:45:45 ---> b95471e64229 05:45:45 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 05:45:45 ---> Running in 61cb43abad2f 05:45:45 Removing intermediate container 61cb43abad2f 05:45:45 ---> b490f2d3a742 05:45:45 Step 9/21 : COPY . . 05:45:46 + make test 05:45:46 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:45:47 ---> 171e0442a39e 05:45:47 Step 10/21 : ARG MAKE='make build' 05:45:47 ---> Running in 166837c4a9d7 05:45:47 Removing intermediate container 166837c4a9d7 05:45:47 ---> 9c0b44fc390b 05:45:47 Step 11/21 : RUN $MAKE 05:45:47 ---> Running in 4c351f3881c0 05:45:47 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:45:47 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.1-dev.1" -o cmd/device-virtual ./cmd 05:46:00 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:46:02 Removing intermediate container 4c351f3881c0 05:46:02 ---> e03dab33864a 05:46:02 Step 12/21 : FROM alpine 05:46:03 latest: Pulling from library/alpine 05:46:03 df20fa9351a1: Pulling fs layer 05:46:03 df20fa9351a1: Verifying Checksum 05:46:03 df20fa9351a1: Download complete 05:46:03 df20fa9351a1: Pull complete 05:46:03 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 05:46:03 Status: Downloaded newer image for alpine:latest 05:46:03 ---> a24bb4013296 05:46:03 Step 13/21 : ENV APP_PORT=49990 05:46:03 ---> Running in 65586ccc53fc 05:46:04 Removing intermediate container 65586ccc53fc 05:46:04 ---> 2e593270adc2 05:46:04 Step 14/21 : EXPOSE $APP_PORT 05:46:04 ---> Running in b3f9db87dd6a 05:46:04 Removing intermediate container b3f9db87dd6a 05:46:04 ---> 2ad59f6c9cf5 05:46:04 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 05:46:04 ---> 975fba11928e 05:46:04 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 05:46:05 ---> 25333559a3d4 05:46:05 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 05:46:05 ---> ca7fe4da5a1f 05:46:05 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 05:46:05 ---> Running in 0634dee22902 05:46:05 Removing intermediate container 0634dee22902 05:46:05 ---> c0409912869c 05:46:05 Step 19/21 : LABEL arch=amd64 05:46:05 ---> Running in 424e81d6abd7 05:46:05 Removing intermediate container 424e81d6abd7 05:46:05 ---> e3cbf3b55d6d 05:46:05 Step 20/21 : LABEL git_sha=765a8ae72530510c4ebab34c81f831f56123a77d 05:46:05 ---> Running in 3d7f8aa2f3a4 05:46:05 Removing intermediate container 3d7f8aa2f3a4 05:46:05 ---> 50df9dbcf0ce 05:46:05 Step 21/21 : LABEL version=1.2.1-dev.1 05:46:05 ---> Running in 1c9cb979a343 05:46:06 Removing intermediate container 1c9cb979a343 05:46:06 ---> 5225fcff552f 05:46:06 [Warning] One or more build-args [ARCH] were not consumed 05:46:06 Successfully built 5225fcff552f 05:46:06 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 05:46:06 provisioning config files... 05:46:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/14@tmp/config4525023229493876624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:46:06 nexus3.edgexfoundry.org:10001 05:46:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:06 Configure a credential helper to remove this warning. See 05:46:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:06 05:46:06 Login Succeeded 05:46:06 nexus3.edgexfoundry.org:10002 05:46:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:06 Configure a credential helper to remove this warning. See 05:46:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:06 05:46:06 Login Succeeded 05:46:06 nexus3.edgexfoundry.org:10003 05:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:07 Configure a credential helper to remove this warning. See 05:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:07 05:46:07 Login Succeeded 05:46:07 nexus3.edgexfoundry.org:10004 05:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:07 Configure a credential helper to remove this warning. See 05:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:07 05:46:07 Login Succeeded 05:46:07 docker.io 05:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:07 Configure a credential helper to remove this warning. See 05:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:07 05:46:07 Login Succeeded [Pipeline] } 05:46:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:46:07 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 05:46:07 765a8ae72530510c4ebab34c81f831f56123a77d 05:46:07 latest 05:46:07 1.2.1-dev.1 05:46:07 765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1-dev.1 05:46:07 master 05:46:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:46:08 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:765a8ae72530510c4ebab34c81f831f56123a77d [Pipeline] isUnix [Pipeline] sh 05:46:08 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:765a8ae72530510c4ebab34c81f831f56123a77d 05:46:08 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 05:46:08 e7006de6f6ef: Preparing 05:46:08 c2896841fd78: Preparing 05:46:08 b50d23e4c43f: Preparing 05:46:08 50644c29ef5a: Preparing 05:46:08 50644c29ef5a: Layer already exists 05:46:08 c2896841fd78: Pushed 05:46:08 e7006de6f6ef: Pushed 05:46:09 b50d23e4c43f: Pushed 05:46:09 765a8ae72530510c4ebab34c81f831f56123a77d: digest: sha256:769c6d768dccc2e5ae7ea80c23222c1f04272bf0872deead2e67961cb8556382 size: 1155 [Pipeline] isUnix [Pipeline] sh 05:46:10 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 05:46:10 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 05:46:10 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 05:46:10 e7006de6f6ef: Preparing 05:46:10 c2896841fd78: Preparing 05:46:10 b50d23e4c43f: Preparing 05:46:10 50644c29ef5a: Preparing 05:46:10 e7006de6f6ef: Layer already exists 05:46:10 b50d23e4c43f: Layer already exists 05:46:10 c2896841fd78: Layer already exists 05:46:10 50644c29ef5a: Layer already exists 05:46:10 latest: digest: sha256:769c6d768dccc2e5ae7ea80c23222c1f04272bf0872deead2e67961cb8556382 size: 1155 [Pipeline] isUnix [Pipeline] sh 05:46:10 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 05:46:11 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.1-dev.1 05:46:11 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 05:46:11 e7006de6f6ef: Preparing 05:46:11 c2896841fd78: Preparing 05:46:11 b50d23e4c43f: Preparing 05:46:11 50644c29ef5a: Preparing 05:46:11 50644c29ef5a: Layer already exists 05:46:11 b50d23e4c43f: Layer already exists 05:46:11 c2896841fd78: Layer already exists 05:46:11 e7006de6f6ef: Layer already exists 05:46:11 1.2.1-dev.1: digest: sha256:769c6d768dccc2e5ae7ea80c23222c1f04272bf0872deead2e67961cb8556382 size: 1155 [Pipeline] isUnix [Pipeline] sh 05:46:11 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 05:46:11 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1-dev.1 05:46:11 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 05:46:11 e7006de6f6ef: Preparing 05:46:11 c2896841fd78: Preparing 05:46:11 b50d23e4c43f: Preparing 05:46:11 50644c29ef5a: Preparing 05:46:11 b50d23e4c43f: Layer already exists 05:46:11 c2896841fd78: Layer already exists 05:46:11 e7006de6f6ef: Layer already exists 05:46:11 50644c29ef5a: Layer already exists 05:46:11 765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1-dev.1: digest: sha256:769c6d768dccc2e5ae7ea80c23222c1f04272bf0872deead2e67961cb8556382 size: 1155 [Pipeline] isUnix [Pipeline] sh 05:46:12 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 05:46:12 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 05:46:12 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 05:46:12 e7006de6f6ef: Preparing 05:46:12 c2896841fd78: Preparing 05:46:12 b50d23e4c43f: Preparing 05:46:12 50644c29ef5a: Preparing 05:46:12 b50d23e4c43f: Layer already exists 05:46:12 50644c29ef5a: Layer already exists 05:46:12 e7006de6f6ef: Layer already exists 05:46:12 c2896841fd78: Layer already exists 05:46:12 master: digest: sha256:769c6d768dccc2e5ae7ea80c23222c1f04272bf0872deead2e67961cb8556382 size: 1155 [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] } 05:46:34 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:48:56 ok github.com/edgexfoundry/device-virtual-go/internal/driver 146.433s coverage: 52.7% of statements 05:48:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:49:03 gofmt -l . 05:49:03 [ "`gofmt -l .`" = "" ] 05:49:03 ./bin/test-attribution-txt.sh 05:49:03 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:49:04 Warning: overwriting stash ‘coverage-report’ 05:49:04 Stashed 1 file(s) [Pipeline] } 05:49:04 $ docker stop --time=1 fb9f94957d91b2972e7fd9a94d63f0c6369ca12a2e1d2910603863d59a8c3255 05:49:06 $ docker rm -f fb9f94957d91b2972e7fd9a94d63f0c6369ca12a2e1d2910603863d59a8c3255 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:49:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:49:08 + ls -al . 05:49:08 total 140 05:49:08 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 05:49 . 05:49:08 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 05:44 .. 05:49:08 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 05:44 .git 05:49:08 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 05:44 .github 05:49:08 -rw-rw-r-- 1 jenkins jenkins 258 Jun 12 05:44 .gitignore 05:49:08 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 05:44 .semver 05:49:08 -rw-rw-r-- 1 jenkins jenkins 6432 Jun 12 05:44 Attribution.txt 05:49:08 -rw-rw-r-- 1 jenkins jenkins 1826 Jun 12 05:44 Dockerfile 05:49:08 -rw-rw-r-- 1 jenkins jenkins 957 Jun 12 05:44 Dockerfile.build 05:49:08 -rw-rw-r-- 1 jenkins jenkins 683 Jun 12 05:44 Jenkinsfile 05:49:08 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 05:44 LICENSE 05:49:08 -rw-rw-r-- 1 jenkins jenkins 873 Jun 12 05:44 Makefile 05:49:08 -rw-rw-r-- 1 jenkins jenkins 4413 Jun 12 05:44 README.md 05:49:08 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 05:41 VERSION 05:49:08 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 05:44 bin 05:49:08 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 05:44 cmd 05:49:08 -rw-r--r-- 1 jenkins jenkins 32181 Jun 12 05:48 coverage.out 05:49:08 -rw-r--r-- 1 jenkins jenkins 855 Jun 12 05:49 go.mod 05:49:08 -rw-r--r-- 1 jenkins jenkins 14894 Jun 12 05:49 go.sum 05:49:08 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 05:44 internal 05:49:08 -rw-rw-r-- 1 jenkins jenkins 235 Jun 12 05:44 version.go [Pipeline] isUnix [Pipeline] sh 05:49:08 + 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=765a8ae72530510c4ebab34c81f831f56123a77d --label arch=arm64 --label version=1.2.1-dev.1 . 05:49:09 Sending build context to Docker daemon 34.14MB 05:49:09 Step 1/21 : ARG BASE=golang:1.13-alpine 05:49:09 Step 2/21 : FROM ${BASE} AS builder 05:49:09 ---> 7a56f473f6dc 05:49:09 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 05:49:09 ---> Running in 37fd209f183b 05:49:09 Removing intermediate container 37fd209f183b 05:49:09 ---> cb3f696721fa 05:49:09 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 05:49:10 ---> Running in abe7ca737b52 05:49:10 Removing intermediate container abe7ca737b52 05:49:10 ---> 4bad9273af78 05:49:10 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 05:49:10 ---> Running in e15983c086e7 05:49:10 Removing intermediate container e15983c086e7 05:49:10 ---> d13c070c4311 05:49:10 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:49:11 ---> Running in 0d70ca0e7b3e 05:49:13 Removing intermediate container 0d70ca0e7b3e 05:49:13 ---> c5edc50c50b3 05:49:13 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:49:13 ---> Running in 6c963cf80677 05:49:15 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:49:15 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:49:16 OK: 203 MiB in 52 packages 05:49:17 Removing intermediate container 6c963cf80677 05:49:17 ---> 5ea24b450330 05:49:17 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 05:49:17 ---> Running in 8679183dab09 05:49:18 Removing intermediate container 8679183dab09 05:49:18 ---> cdc767be2fe8 05:49:18 Step 9/21 : COPY . . 05:49:21 ---> 6d16643d5c9e 05:49:21 Step 10/21 : ARG MAKE='make build' 05:49:21 ---> Running in 4559bd0391d1 05:49:21 Removing intermediate container 4559bd0391d1 05:49:21 ---> 1d91dfcc7faf 05:49:21 Step 11/21 : RUN $MAKE 05:49:21 ---> Running in 8bbe39f5f56a 05:49:22 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.1-dev.1" -o cmd/device-virtual ./cmd 05:50:01 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:50:04 Removing intermediate container 8bbe39f5f56a 05:50:04 ---> 6b483d506718 05:50:04 Step 12/21 : FROM alpine 05:50:05 latest: Pulling from library/alpine 05:50:05 b538f80385f9: Pulling fs layer 05:50:05 b538f80385f9: Verifying Checksum 05:50:05 b538f80385f9: Download complete 05:50:06 b538f80385f9: Pull complete 05:50:06 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 05:50:06 Status: Downloaded newer image for alpine:latest 05:50:06 ---> 62ee0e9f8440 05:50:06 Step 13/21 : ENV APP_PORT=49990 05:50:06 ---> Running in 028799cb6460 05:50:06 Removing intermediate container 028799cb6460 05:50:06 ---> 6f06f96bf460 05:50:06 Step 14/21 : EXPOSE $APP_PORT 05:50:06 ---> Running in 381b4b99a6b2 05:50:07 Removing intermediate container 381b4b99a6b2 05:50:07 ---> 4b5e89064413 05:50:07 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 05:50:09 ---> 021cc3ad08ac 05:50:09 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 05:50:09 ---> 402ceb162660 05:50:09 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 05:50:10 ---> 494d2f17e820 05:50:10 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 05:50:10 ---> Running in 16a2e5c1f424 05:50:10 Removing intermediate container 16a2e5c1f424 05:50:10 ---> 42e9e3359e92 05:50:10 Step 19/21 : LABEL arch=arm64 05:50:10 ---> Running in 712f8e7703ce 05:50:11 Removing intermediate container 712f8e7703ce 05:50:11 ---> ad593aba820c 05:50:11 Step 20/21 : LABEL git_sha=765a8ae72530510c4ebab34c81f831f56123a77d 05:50:11 ---> Running in 0f63d44ed744 05:50:11 Removing intermediate container 0f63d44ed744 05:50:11 ---> 28b786d4bd35 05:50:11 Step 21/21 : LABEL version=1.2.1-dev.1 05:50:12 ---> Running in 762f5d677c47 05:50:12 Removing intermediate container 762f5d677c47 05:50:12 ---> 22173e3c968d 05:50:12 [Warning] One or more build-args [ARCH] were not consumed 05:50:12 Successfully built 22173e3c968d 05:50:12 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 05:50:12 provisioning config files... 05:50:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/14@tmp/config4108679975786428691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:12 nexus3.edgexfoundry.org:10001 05:50:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:13 Configure a credential helper to remove this warning. See 05:50:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:13 05:50:13 Login Succeeded 05:50:13 nexus3.edgexfoundry.org:10002 05:50:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:14 Configure a credential helper to remove this warning. See 05:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:14 05:50:14 Login Succeeded 05:50:14 nexus3.edgexfoundry.org:10003 05:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:14 Configure a credential helper to remove this warning. See 05:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:14 05:50:14 Login Succeeded 05:50:14 nexus3.edgexfoundry.org:10004 05:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:15 Configure a credential helper to remove this warning. See 05:50:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:15 05:50:15 Login Succeeded 05:50:15 docker.io 05:50:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:16 Configure a credential helper to remove this warning. See 05:50:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:16 05:50:16 Login Succeeded [Pipeline] } 05:50:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:50:16 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 05:50:16 765a8ae72530510c4ebab34c81f831f56123a77d 05:50:16 latest 05:50:16 1.2.1-dev.1 05:50:16 765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1-dev.1 05:50:16 master 05:50:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:50:16 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:765a8ae72530510c4ebab34c81f831f56123a77d [Pipeline] isUnix [Pipeline] sh 05:50:16 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:765a8ae72530510c4ebab34c81f831f56123a77d 05:50:16 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 05:50:16 b1349d36a0e9: Preparing 05:50:16 29313055821c: Preparing 05:50:16 db4a7750ddee: Preparing 05:50:16 e2f13739ad41: Preparing 05:50:17 e2f13739ad41: Layer already exists 05:50:17 29313055821c: Pushed 05:50:17 b1349d36a0e9: Pushed 05:50:20 db4a7750ddee: Pushed 05:50:20 765a8ae72530510c4ebab34c81f831f56123a77d: digest: sha256:6f4f943eca132d4a3a9e7fd1b1df4fb6f508336f935e14e636b8fa53aff2731d size: 1155 [Pipeline] isUnix [Pipeline] sh 05:50:21 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:50:21 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 05:50:21 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 05:50:21 b1349d36a0e9: Preparing 05:50:21 29313055821c: Preparing 05:50:21 db4a7750ddee: Preparing 05:50:21 e2f13739ad41: Preparing 05:50:21 e2f13739ad41: Layer already exists 05:50:21 db4a7750ddee: Layer already exists 05:50:21 b1349d36a0e9: Layer already exists 05:50:21 29313055821c: Layer already exists 05:50:21 latest: digest: sha256:6f4f943eca132d4a3a9e7fd1b1df4fb6f508336f935e14e636b8fa53aff2731d size: 1155 [Pipeline] isUnix [Pipeline] sh 05:50:22 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 05:50:22 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.1-dev.1 05:50:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 05:50:22 b1349d36a0e9: Preparing 05:50:22 29313055821c: Preparing 05:50:22 db4a7750ddee: Preparing 05:50:22 e2f13739ad41: Preparing 05:50:22 db4a7750ddee: Layer already exists 05:50:22 b1349d36a0e9: Layer already exists 05:50:22 e2f13739ad41: Layer already exists 05:50:22 29313055821c: Layer already exists 05:50:22 1.2.1-dev.1: digest: sha256:6f4f943eca132d4a3a9e7fd1b1df4fb6f508336f935e14e636b8fa53aff2731d size: 1155 [Pipeline] isUnix [Pipeline] sh 05:50:23 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 05:50:23 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1-dev.1 05:50:23 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 05:50:23 b1349d36a0e9: Preparing 05:50:23 29313055821c: Preparing 05:50:23 db4a7750ddee: Preparing 05:50:23 e2f13739ad41: Preparing 05:50:23 db4a7750ddee: Layer already exists 05:50:23 e2f13739ad41: Layer already exists 05:50:23 b1349d36a0e9: Layer already exists 05:50:23 29313055821c: Layer already exists 05:50:23 765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1-dev.1: digest: sha256:6f4f943eca132d4a3a9e7fd1b1df4fb6f508336f935e14e636b8fa53aff2731d size: 1155 [Pipeline] isUnix [Pipeline] sh 05:50:24 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 05:50:24 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 05:50:24 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 05:50:24 b1349d36a0e9: Preparing 05:50:24 29313055821c: Preparing 05:50:24 db4a7750ddee: Preparing 05:50:24 e2f13739ad41: Preparing 05:50:24 b1349d36a0e9: Layer already exists 05:50:24 29313055821c: Layer already exists 05:50:24 e2f13739ad41: Layer already exists 05:50:24 db4a7750ddee: Layer already exists 05:50:24 master: digest: sha256:6f4f943eca132d4a3a9e7fd1b1df4fb6f508336f935e14e636b8fa53aff2731d size: 1155 [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 05:50:25 provisioning config files... 05:50:25 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8106961821565810029tmp [Pipeline] { [Pipeline] sh 05:50:25 + curl -s https://codecov.io/bash 05:50:25 + bash -s - -t @/w/workspace/foundry_device-virtual-go_master@tmp/config8106961821565810029tmp 05:50:26 05:50:26 _____ _ 05:50:26 / ____| | | 05:50:26 | | ___ __| | ___ ___ _____ __ 05:50:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:50:26 | |___| (_) | (_| | __/ (_| (_) \ V / 05:50:26 \_____\___/ \__,_|\___|\___\___/ \_/ 05:50:26 Bash-20200602-f809a24 05:50:26 05:50:26 05:50:26 ==> Jenkins CI detected. 05:50:26 project root: . 05:50:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:50:26 ==> Running gcov in . (disable via -X gcov) 05:50:26 ==> Python coveragepy not found 05:50:26 ==> Searching for coverage reports in: 05:50:26 + . 05:50:26 -> Found 1 reports 05:50:26 ==> Detecting git/mercurial file structure 05:50:26 ==> Reading reports 05:50:26 + ./coverage.out bytes=32181 05:50:26 ==> Appending adjustments 05:50:26 https://docs.codecov.io/docs/fixing-reports 05:50:26 + Found adjustments 05:50:26 ==> Gzipping contents 05:50:26 ==> Uploading reports 05:50:26 url: https://codecov.io 05:50:26 query: branch=master&commit=765a8ae72530510c4ebab34c81f831f56123a77d&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job= 05:50:26 -> Pinging Codecov 05:50:26 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=master&commit=765a8ae72530510c4ebab34c81f831f56123a77d&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job= 05:50:26 -> Uploading 05:50:27 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/765a8ae72530510c4ebab34c81f831f56123a77d [Pipeline] } 05:50:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 05:50:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 05:50:27 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 05:50:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:50:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 05:50:27 05:50:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 05:50:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 05:50:28 1.317.0: Pulling from edgex-devops/edgex-snyk-go 05:50:28 cbdbe7a5bc2a: Pulling fs layer 05:50:28 408f87550127: Pulling fs layer 05:50:28 fe522b08c979: Pulling fs layer 05:50:28 221eaa008020: Pulling fs layer 05:50:28 2a4607e5d6b9: Pulling fs layer 05:50:28 8f79b27c4fd2: Pulling fs layer 05:50:28 e5c8dbe1645b: Pulling fs layer 05:50:28 23e8b3b47431: Pulling fs layer 05:50:28 5c568d65a230: Pulling fs layer 05:50:28 e5c8dbe1645b: Waiting 05:50:28 23e8b3b47431: Waiting 05:50:28 221eaa008020: Waiting 05:50:28 8f79b27c4fd2: Waiting 05:50:28 2a4607e5d6b9: Waiting 05:50:28 fe522b08c979: Verifying Checksum 05:50:28 fe522b08c979: Download complete 05:50:28 408f87550127: Download complete 05:50:28 2a4607e5d6b9: Download complete 05:50:28 8f79b27c4fd2: Verifying Checksum 05:50:28 8f79b27c4fd2: Download complete 05:50:28 cbdbe7a5bc2a: Verifying Checksum 05:50:28 cbdbe7a5bc2a: Download complete 05:50:28 e5c8dbe1645b: Verifying Checksum 05:50:28 e5c8dbe1645b: Download complete 05:50:28 cbdbe7a5bc2a: Pull complete 05:50:28 23e8b3b47431: Verifying Checksum 05:50:28 23e8b3b47431: Download complete 05:50:28 408f87550127: Pull complete 05:50:29 5c568d65a230: Verifying Checksum 05:50:29 5c568d65a230: Download complete 05:50:29 fe522b08c979: Pull complete 05:50:29 221eaa008020: Verifying Checksum 05:50:29 221eaa008020: Download complete 05:50:35 221eaa008020: Pull complete 05:50:35 2a4607e5d6b9: Pull complete 05:50:35 8f79b27c4fd2: Pull complete 05:50:37 e5c8dbe1645b: Pull complete 05:50:41 23e8b3b47431: Pull complete 05:50:41 5c568d65a230: Pull complete 05:50:41 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 05:50:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 05:50:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 05:50:42 prd-centos7-docker-4c-2g-2709 does not seem to be running inside a container 05:50:42 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 05:50:42 $ docker top 53d9fe380b8fea4a50322e7588dd33a04097ac28122f9c245c6db4af5e73adb3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:43 + snyk monitor '--org=edgex-jenkins' 05:50:55 05:50:55 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 05:50:55 05:50:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/f790cee2-b7e8-4494-b8e1-f38ce7972700 05:50:55 05:50:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:50:55 05:50:55 [Pipeline] } 05:50:55 $ docker stop --time=1 53d9fe380b8fea4a50322e7588dd33a04097ac28122f9c245c6db4af5e73adb3 05:50:58 $ docker rm -f 53d9fe380b8fea4a50322e7588dd33a04097ac28122f9c245c6db4af5e73adb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:50:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:50:58 05:50:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 05:50:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:50:59 latest: Pulling from edgex-devops/edgex-klar 05:50:59 e7c96db7181b: Pulling fs layer 05:50:59 1868ca2cb446: Pulling fs layer 05:50:59 136be5d0fe8e: Pulling fs layer 05:50:59 894bfe63afcb: Pulling fs layer 05:50:59 894bfe63afcb: Waiting 05:50:59 1868ca2cb446: Verifying Checksum 05:50:59 1868ca2cb446: Download complete 05:50:59 136be5d0fe8e: Download complete 05:50:59 e7c96db7181b: Verifying Checksum 05:50:59 e7c96db7181b: Download complete 05:50:59 894bfe63afcb: Verifying Checksum 05:50:59 894bfe63afcb: Download complete 05:50:59 e7c96db7181b: Pull complete 05:50:59 1868ca2cb446: Pull complete 05:50:59 136be5d0fe8e: Pull complete 05:50:59 894bfe63afcb: Pull complete 05:50:59 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 05:50:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:50:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 05:50:59 prd-centos7-docker-4c-2g-2709 does not seem to be running inside a container 05:51:00 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 05:51:01 $ docker top a34de291c5915ea42284d206e155958f75ae7861f1d175b6e4a52c3210df5d0d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:01 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:765a8ae72530510c4ebab34c81f831f56123a77d 05:51:01 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:51:04 $ docker stop --time=1 a34de291c5915ea42284d206e155958f75ae7861f1d175b6e4a52c3210df5d0d 05:51:06 $ docker rm -f a34de291c5915ea42284d206e155958f75ae7861f1d175b6e4a52c3210df5d0d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:51:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:51:06 . [Pipeline] withDockerContainer 05:51:06 prd-centos7-docker-4c-2g-2709 does not seem to be running inside a container 05:51:06 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 05:51:07 $ docker top 9ac674b6484f21d3a6babc3c18958b6b5409edda0c4190f9c9d571bd78c702d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:08 + tee 05:51:08 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:765a8ae72530510c4ebab34c81f831f56123a77d 05:51:08 clair timeout 1m0s 05:51:08 docker timeout: 1m0s 05:51:08 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:51:08 $ docker stop --time=1 9ac674b6484f21d3a6babc3c18958b6b5409edda0c4190f9c9d571bd78c702d0 05:51:09 $ docker rm -f 9ac674b6484f21d3a6babc3c18958b6b5409edda0c4190f9c9d571bd78c702d0 [Pipeline] // withDockerContainer [Pipeline] sh 05:51:10 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 05:51:10 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go_765a8ae72530510c4ebab34c81f831f56123a77d.html [Pipeline] writeFile [Pipeline] step 05:51:10 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 05:51:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:51:10 . [Pipeline] withDockerContainer 05:51:10 prd-centos7-docker-4c-2g-2709 does not seem to be running inside a container 05:51:10 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 05:51:11 $ docker top e9e891d6c2a9d77655408a691d7b10931d26b00b5d13b367e419340d79b68dc4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:12 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:765a8ae72530510c4ebab34c81f831f56123a77d 05:51:12 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:51:15 $ docker stop --time=1 e9e891d6c2a9d77655408a691d7b10931d26b00b5d13b367e419340d79b68dc4 05:51:16 $ docker rm -f e9e891d6c2a9d77655408a691d7b10931d26b00b5d13b367e419340d79b68dc4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:51:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:51:17 . [Pipeline] withDockerContainer 05:51:17 prd-centos7-docker-4c-2g-2709 does not seem to be running inside a container 05:51:17 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 05:51:17 $ docker top 1bcbff1136aa0afa2663c91bbdf4e6ecab6811524136d18de2aee42d0a6bb33a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:18 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:765a8ae72530510c4ebab34c81f831f56123a77d 05:51:18 + tee 05:51:18 clair timeout 1m0s 05:51:18 docker timeout: 1m0s 05:51:18 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:51:18 $ docker stop --time=1 1bcbff1136aa0afa2663c91bbdf4e6ecab6811524136d18de2aee42d0a6bb33a 05:51:20 $ docker rm -f 1bcbff1136aa0afa2663c91bbdf4e6ecab6811524136d18de2aee42d0a6bb33a [Pipeline] // withDockerContainer [Pipeline] sh 05:51:20 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 05:51:20 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go-arm64_765a8ae72530510c4ebab34c81f831f56123a77d.html [Pipeline] writeFile [Pipeline] step 05:51:20 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 05:51:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:51:21 . [Pipeline] withDockerContainer 05:51:21 prd-centos7-docker-4c-2g-2709 does not seem to be running inside a container 05:51:21 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:51:22 $ docker top 580606b2440001184d01f123ccf766a2cef2dfaf9a844de18e9d49b3f0f1b3a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:51:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:22 [ssh-agent] Looking for ssh-agent implementation... 05:51:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:22 $ docker exec 580606b2440001184d01f123ccf766a2cef2dfaf9a844de18e9d49b3f0f1b3a9 ssh-agent 05:51:22 SSH_AUTH_SOCK=/tmp/ssh-hRbL7uDu6tZ1/agent.11 05:51:22 SSH_AGENT_PID=16 05:51:22 Running ssh-add (command line suppressed) 05:51:22 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_3318164010777327230.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_3318164010777327230.key) 05:51:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:23 + git semver tag 05:51:23 # -> Open(): unable to determine branch for HEAD 05:51:23 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 05:51:23 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 05:51:23 # $SEMVER_REMOTE_NAME = origin 05:51:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:51:23 # $SEMVER_USER_NAME = edgex-jenkins 05:51:23 # $SEMVER_BRANCH = master 05:51:23 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 05:51:23 # 765a8ae72530510c4ebab34c81f831f56123a77d HEAD 05:51:23 # -> Force: false 05:51:23 # 31bea8f15def49ccecc149603c6bdef1e7e2853e refs/tags/v1.2.1-dev.1 [Pipeline] } 05:51:23 $ docker exec --env ******** --env ******** 580606b2440001184d01f123ccf766a2cef2dfaf9a844de18e9d49b3f0f1b3a9 ssh-agent -k 05:51:23 unset SSH_AUTH_SOCK; 05:51:23 unset SSH_AGENT_PID; 05:51:23 echo Agent pid 16 killed; 05:51:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:51:23 + git semver [Pipeline] } 05:51:23 $ docker stop --time=1 580606b2440001184d01f123ccf766a2cef2dfaf9a844de18e9d49b3f0f1b3a9 05:51:25 $ docker rm -f 580606b2440001184d01f123ccf766a2cef2dfaf9a844de18e9d49b3f0f1b3a9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:51:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:51:25 05:51:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:51:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:51:26 0.23.1-centos7: Pulling from edgex-lftools 05:51:26 ab5ef0e58194: Pulling fs layer 05:51:26 9712f1f96733: Pulling fs layer 05:51:26 63f879dbbcfc: Pulling fs layer 05:51:26 0d9ebad4ef96: Pulling fs layer 05:51:26 e9a5061849ea: Pulling fs layer 05:51:26 d747dcd14b5f: Pulling fs layer 05:51:26 2de7ff778b66: Pulling fs layer 05:51:26 d747dcd14b5f: Waiting 05:51:26 e9a5061849ea: Waiting 05:51:26 2de7ff778b66: Waiting 05:51:26 0d9ebad4ef96: Waiting 05:51:26 9712f1f96733: Verifying Checksum 05:51:26 9712f1f96733: Download complete 05:51:26 63f879dbbcfc: Verifying Checksum 05:51:26 63f879dbbcfc: Download complete 05:51:26 e9a5061849ea: Verifying Checksum 05:51:26 e9a5061849ea: Download complete 05:51:26 d747dcd14b5f: Verifying Checksum 05:51:26 d747dcd14b5f: Download complete 05:51:27 0d9ebad4ef96: Download complete 05:51:27 2de7ff778b66: Download complete 05:51:27 ab5ef0e58194: Verifying Checksum 05:51:27 ab5ef0e58194: Download complete 05:51:31 ab5ef0e58194: Pull complete 05:51:31 9712f1f96733: Pull complete 05:51:33 63f879dbbcfc: Pull complete 05:51:46 0d9ebad4ef96: Pull complete 05:51:46 e9a5061849ea: Pull complete 05:51:46 d747dcd14b5f: Pull complete 05:51:49 2de7ff778b66: Pull complete 05:51:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:51:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:51:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:51:49 prd-centos7-docker-4c-2g-2709 does not seem to be running inside a container 05:51:49 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:51:53 $ docker top cdde4d7eb6a8d9943825f6f3a055ef1326d099d1bc371d28fab8e9d3f8d4e5cf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:51:53 provisioning config files... 05:51:53 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6034392408414986687tmp 05:51:53 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3844939273998178165tmp 05:51:53 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config369652816110421741tmp [Pipeline] { [Pipeline] echo 05:51:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:51:54 ---> sigul-configuration.sh 05:51:54 gpg: directory `/root/.gnupg' created 05:51:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:51:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:51:54 gpg: keyring `/root/.gnupg/secring.gpg' created 05:51:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:51:54 gpg: CAST5 encrypted data 05:51:54 gpg: encrypted with 1 passphrase 05:51:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:51:54 + mkdir /home/jenkins 05:51:54 + mkdir /home/jenkins/sigul [Pipeline] sh 05:51:54 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 05:51:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:51:55 ---> sigul-install.sh 05:51:59 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 05:51:59 + git tag --list 05:51:59 v1.2.1-dev.1 [Pipeline] sh 05:52:00 + lftools sign git-tag v1.2.1-dev.1 05:52:01 Signing Git tag with Sigul... 05:52:01 Signing v1.2.1-dev.1 [Pipeline] echo 05:52:02 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:52:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:52:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:52:02 $ docker stop --time=1 cdde4d7eb6a8d9943825f6f3a055ef1326d099d1bc371d28fab8e9d3f8d4e5cf 05:52:04 $ docker rm -f cdde4d7eb6a8d9943825f6f3a055ef1326d099d1bc371d28fab8e9d3f8d4e5cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 05:52:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:05 . [Pipeline] withDockerContainer 05:52:05 prd-centos7-docker-4c-2g-2709 does not seem to be running inside a container 05:52:05 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:52:06 $ docker top 4d7b82d727d528725520ed8cbf8cad9de293c81a18a67bdbf165917bf47a25fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:52:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:06 [ssh-agent] Looking for ssh-agent implementation... 05:52:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:06 $ docker exec 4d7b82d727d528725520ed8cbf8cad9de293c81a18a67bdbf165917bf47a25fe ssh-agent 05:52:06 SSH_AUTH_SOCK=/tmp/ssh-BW842t1m3xNR/agent.12 05:52:06 SSH_AGENT_PID=17 05:52:06 Running ssh-add (command line suppressed) 05:52:06 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_3803177332080121343.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_3803177332080121343.key) 05:52:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:07 + git semver bump pre 05:52:07 # -> Open(): unable to determine branch for HEAD 05:52:07 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 05:52:07 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 05:52:07 # $SEMVER_REMOTE_NAME = origin 05:52:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:52:07 # $SEMVER_USER_NAME = edgex-jenkins 05:52:07 # $SEMVER_BRANCH = master 05:52:07 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 05:52:07 1.2.1-dev.2 [Pipeline] } 05:52:07 $ docker exec --env ******** --env ******** 4d7b82d727d528725520ed8cbf8cad9de293c81a18a67bdbf165917bf47a25fe ssh-agent -k 05:52:07 unset SSH_AUTH_SOCK; 05:52:07 unset SSH_AGENT_PID; 05:52:07 echo Agent pid 17 killed; 05:52:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:52:07 + git semver [Pipeline] } 05:52:07 $ docker stop --time=1 4d7b82d727d528725520ed8cbf8cad9de293c81a18a67bdbf165917bf47a25fe 05:52:09 $ docker rm -f 4d7b82d727d528725520ed8cbf8cad9de293c81a18a67bdbf165917bf47a25fe [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:52:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:09 . [Pipeline] withDockerContainer 05:52:09 prd-centos7-docker-4c-2g-2709 does not seem to be running inside a container 05:52:09 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:52:10 $ docker top a110c973bb4e1efe43354a6976f131e15b6d481a593a791b2720480845df1e13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:52:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:10 [ssh-agent] Looking for ssh-agent implementation... 05:52:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:10 $ docker exec a110c973bb4e1efe43354a6976f131e15b6d481a593a791b2720480845df1e13 ssh-agent 05:52:10 SSH_AUTH_SOCK=/tmp/ssh-uGpj9pTgUnmw/agent.11 05:52:10 SSH_AGENT_PID=17 05:52:10 Running ssh-add (command line suppressed) 05:52:10 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6422633948778955744.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6422633948778955744.key) 05:52:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:11 + git semver push 05:52:11 # -> Open(): unable to determine branch for HEAD 05:52:11 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 05:52:11 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 05:52:11 # $SEMVER_REMOTE_NAME = origin 05:52:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:52:11 # $SEMVER_USER_NAME = edgex-jenkins 05:52:11 # $SEMVER_BRANCH = master 05:52:11 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 05:52:17 $ docker exec --env ******** --env ******** a110c973bb4e1efe43354a6976f131e15b6d481a593a791b2720480845df1e13 ssh-agent -k 05:52:17 unset SSH_AUTH_SOCK; 05:52:17 unset SSH_AGENT_PID; 05:52:17 echo Agent pid 17 killed; 05:52:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:52:18 + git semver [Pipeline] } 05:52:18 $ docker stop --time=1 a110c973bb4e1efe43354a6976f131e15b6d481a593a791b2720480845df1e13 05:52:19 $ docker rm -f a110c973bb4e1efe43354a6976f131e15b6d481a593a791b2720480845df1e13 [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 05:52:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:52:20 ---> package-listing.sh 05:52:20 ++ facter osfamily 05:52:20 ++ tr '[:upper:]' '[:lower:]' 05:52:20 + OS_FAMILY=redhat 05:52:20 + workspace=/w/workspace/foundry_device-virtual-go_master 05:52:20 + START_PACKAGES=/tmp/packages_start.txt 05:52:20 + END_PACKAGES=/tmp/packages_end.txt 05:52:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:52:20 + PACKAGES=/tmp/packages_start.txt 05:52:20 + '[' /w/workspace/foundry_device-virtual-go_master ']' 05:52:20 + PACKAGES=/tmp/packages_end.txt 05:52:20 + case "${OS_FAMILY}" in 05:52:20 + rpm -qa 05:52:20 + sort 05:52:25 + '[' -f /tmp/packages_start.txt ']' 05:52:25 + '[' -f /tmp/packages_end.txt ']' 05:52:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:52:25 + '[' /w/workspace/foundry_device-virtual-go_master ']' 05:52:25 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 05:52:25 + 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 05:52:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:52:25 05:52:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:52:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:52:25 alpine: Pulling from edgex-lftools-log-publisher 05:52:25 c9b1b535fdd9: Pulling fs layer 05:52:25 2cc5ad85d9ab: Pulling fs layer 05:52:25 756a868c4378: Pulling fs layer 05:52:25 444b2fc9a129: Pulling fs layer 05:52:25 ea15f1150254: Pulling fs layer 05:52:25 41b27a9f41bf: Pulling fs layer 05:52:25 28c525ee5125: Pulling fs layer 05:52:25 094b1ea09ed8: Pulling fs layer 05:52:25 138eaada9080: Pulling fs layer 05:52:25 0622d0fa9048: Pulling fs layer 05:52:25 41b27a9f41bf: Waiting 05:52:25 28c525ee5125: Waiting 05:52:25 444b2fc9a129: Waiting 05:52:25 138eaada9080: Waiting 05:52:25 ea15f1150254: Waiting 05:52:25 0622d0fa9048: Waiting 05:52:25 2cc5ad85d9ab: Verifying Checksum 05:52:25 2cc5ad85d9ab: Download complete 05:52:25 444b2fc9a129: Verifying Checksum 05:52:25 444b2fc9a129: Download complete 05:52:25 c9b1b535fdd9: Download complete 05:52:25 ea15f1150254: Verifying Checksum 05:52:25 ea15f1150254: Download complete 05:52:25 28c525ee5125: Verifying Checksum 05:52:25 28c525ee5125: Download complete 05:52:26 756a868c4378: Verifying Checksum 05:52:26 756a868c4378: Download complete 05:52:26 138eaada9080: Verifying Checksum 05:52:26 138eaada9080: Download complete 05:52:26 094b1ea09ed8: Verifying Checksum 05:52:26 094b1ea09ed8: Download complete 05:52:26 0622d0fa9048: Verifying Checksum 05:52:26 0622d0fa9048: Download complete 05:52:26 41b27a9f41bf: Verifying Checksum 05:52:26 41b27a9f41bf: Download complete 05:52:26 c9b1b535fdd9: Pull complete 05:52:27 2cc5ad85d9ab: Pull complete 05:52:28 756a868c4378: Pull complete 05:52:28 444b2fc9a129: Pull complete 05:52:29 ea15f1150254: Pull complete 05:52:32 41b27a9f41bf: Pull complete 05:52:32 28c525ee5125: Pull complete 05:52:35 094b1ea09ed8: Pull complete 05:52:35 138eaada9080: Pull complete 05:52:35 0622d0fa9048: Pull complete 05:52:35 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 05:52:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:52:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:52:35 prd-centos7-docker-4c-2g-2709 does not seem to be running inside a container 05:52:35 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:52:37 $ docker top f8b150d48109ab3a56b4e8da257fda16dc7d777c3140169d4f38d69d4eddbb1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:52:38 provisioning config files... 05:52:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5215651440219935028tmp [Pipeline] { [Pipeline] echo 05:52:38 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:52:38 ---> create-netrc.sh [Pipeline] echo 05:52:38 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:52:38 ---> logs-deploy.sh 05:52:38 + ARCHIVE_ARTIFACTS= 05:52:38 + LOGS_SERVER=https://logs.edgexfoundry.org 05:52:38 + '[' https://logs.edgexfoundry.org == None ']' 05:52:38 + NEXUS_URL=https://nexus.edgexfoundry.org 05:52:38 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/14 05:52:38 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/14/ 05:52:38 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/14 /w/workspace/foundry_device-virtual-go_master 05:52:39 Archives upload complete. 05:52:39 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/14 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/14/