Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b52eb9e4b400164974d679b086349643dc0ae83f Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-8237’ is offline Running on prd-centos7-docker-4c-2g-8249 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision b52eb9e4b400164974d679b086349643dc0ae83f (master) > 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 b52eb9e4b400164974d679b086349643dc0ae83f # timeout=10 Commit message: "Merge pull request #110 from hahattan/issue-109" > git rev-list --no-walk c582d469887cd834f9d5759aa0528599fd84ba45 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:16:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:16:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:16:36 ========================================================= 14:16:36 EdgeX Global Pipelines Version Info 14:16:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:16:37 ------------------- 14:16:37 stable info: 14:16:37 ------------------- 14:16:37 Commited By: Emilio Reyes emilio.reyes@intel.com 14:16:37 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 14:16:37 Message: update stable to v1.0.87 14:16:38 ------------------- 14:16:38 experimental info: 14:16:38 ------------------- 14:16:38 Commited By: **** collab-it+edgex@linuxfoundation.org 14:16:38 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 14:16:38 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 14:16:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:16:40 14:16:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:16:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:16:40 latest: Pulling from edgex-devops/git-semver 14:16:40 9123ac7c32f7: Pulling fs layer 14:16:40 b8cc5d1170e3: Pulling fs layer 14:16:40 2924cbbf6a41: Pulling fs layer 14:16:40 93b08a4f1073: Pulling fs layer 14:16:40 93b08a4f1073: Waiting 14:16:40 b8cc5d1170e3: Download complete 14:16:41 9123ac7c32f7: Verifying Checksum 14:16:41 9123ac7c32f7: Download complete 14:16:41 93b08a4f1073: Verifying Checksum 14:16:41 93b08a4f1073: Download complete 14:16:41 2924cbbf6a41: Download complete 14:16:41 9123ac7c32f7: Pull complete 14:16:41 b8cc5d1170e3: Pull complete 14:16:41 2924cbbf6a41: Pull complete 14:16:42 93b08a4f1073: Pull complete 14:16:42 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:16:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:16:42 prd-centos7-docker-4c-2g-8249 does not seem to be running inside a container 14:16:42 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:16:42 $ docker top c1fdd3cba35e593a2cc2c3afd8ac409d34d752abe88bc581060fcb62a8c10384 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:16:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:16:43 [ssh-agent] Looking for ssh-agent implementation... 14:16:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:16:43 $ docker exec c1fdd3cba35e593a2cc2c3afd8ac409d34d752abe88bc581060fcb62a8c10384 ssh-agent 14:16:43 SSH_AUTH_SOCK=/tmp/ssh-MxnUtKqfuoat/agent.15 14:16:43 SSH_AGENT_PID=22 14:16:43 Running ssh-add (command line suppressed) 14:16:43 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_441486474630914700.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_441486474630914700.key) 14:16:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:16:44 + git describe --exact-match --tags HEAD 14:16:44 fatal: No names found, cannot describe anything. [Pipeline] } 14:16:44 $ docker exec --env ******** --env ******** c1fdd3cba35e593a2cc2c3afd8ac409d34d752abe88bc581060fcb62a8c10384 ssh-agent -k 14:16:44 unset SSH_AUTH_SOCK; 14:16:44 unset SSH_AGENT_PID; 14:16:44 echo Agent pid 22 killed; 14:16:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:16:44 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:16:44 This usually means this commit has not been tagged. [Pipeline] sshagent 14:16:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:16:44 [ssh-agent] Looking for ssh-agent implementation... 14:16:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:16:44 $ docker exec c1fdd3cba35e593a2cc2c3afd8ac409d34d752abe88bc581060fcb62a8c10384 ssh-agent 14:16:44 SSH_AUTH_SOCK=/tmp/ssh-iqkLzoqzKOE8/agent.58 14:16:44 SSH_AGENT_PID=65 14:16:44 Running ssh-add (command line suppressed) 14:16:45 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5308059413733713275.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5308059413733713275.key) 14:16:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:16:45 + git semver init 14:16:45 # -> Open(): unable to determine branch for HEAD 14:16:45 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 14:16:45 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 14:16:45 # $SEMVER_REMOTE_NAME = origin 14:16:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:16:45 # $SEMVER_USER_NAME = edgex-jenkins 14:16:45 # $SEMVER_BRANCH = master 14:16:45 # $SEMVER_TEMP = /tmp/semver-163643512 14:16:45 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 14:16:46 # '/tmp/semver-163643512' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 14:16:46 # -> Force: false 14:16:46 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 14:16:46 $ docker exec --env ******** --env ******** c1fdd3cba35e593a2cc2c3afd8ac409d34d752abe88bc581060fcb62a8c10384 ssh-agent -k 14:16:46 unset SSH_AUTH_SOCK; 14:16:46 unset SSH_AGENT_PID; 14:16:46 echo Agent pid 65 killed; 14:16:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:16:46 + git semver [Pipeline] } 14:16:46 $ docker stop --time=1 c1fdd3cba35e593a2cc2c3afd8ac409d34d752abe88bc581060fcb62a8c10384 14:16:47 $ docker rm -f c1fdd3cba35e593a2cc2c3afd8ac409d34d752abe88bc581060fcb62a8c10384 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:16:48 Stashed 25 file(s) [Pipeline] echo 14:16:48 [edgeXSemver] initialized semver on version 1.2.0-dev.13 [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 14:17:03 Still waiting to schedule task 14:17:03 ‘prd-centos7-docker-4c-2g-8237’ is offline; ‘prd-centos7-docker-4c-2g-8250’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8140’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8245’ doesn’t have label ‘centos7-docker-4c-2g’ 14:17:03 Still waiting to schedule task 14:17:03 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 14:19:53 Running on prd-centos7-docker-4c-2g-8251 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 14:19:53 Running in /w/workspace/device-virtual-go/13 [Pipeline] { [Pipeline] checkout 14:19:55 using credential edgex-jenkins-ssh 14:19:55 Cloning the remote Git repository 14:19:55 Cloning with configured refspecs honoured and without tags 14:19:54 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 14:19:56 Fetching without tags 14:19:56 Checking out Revision b52eb9e4b400164974d679b086349643dc0ae83f (master) 14:19:54 > git init /w/workspace/device-virtual-go/13 # timeout=10 14:19:55 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:19:55 > git --version # timeout=10 14:19:55 using GIT_SSH to set credentials SSH Credentials for GitHub 14:19:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 14:19:55 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:19:55 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:19:55 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:19:55 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:19:55 using GIT_SSH to set credentials SSH Credentials for GitHub 14:19:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 14:19:55 > git config core.sparsecheckout # timeout=10 14:19:55 > git checkout -f b52eb9e4b400164974d679b086349643dc0ae83f # timeout=10 14:20:00 Commit message: "Merge pull request #110 from hahattan/issue-109" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:20:01 ========================================================= 14:20:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:20:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:20:01 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 14:20:02 Sending build context to Docker daemon 513.5kB 14:20:02 Step 1/8 : ARG BASE=golang:1.13-alpine 14:20:02 Step 2/8 : FROM ${BASE} 14:20:02 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:20:02 e6b0cf9c0882: Pulling fs layer 14:20:02 2848faf0eed1: Pulling fs layer 14:20:02 0f37312ad70f: Pulling fs layer 14:20:02 5788d62ee057: Pulling fs layer 14:20:02 0e6b1d234666: Pulling fs layer 14:20:02 bf5d7aec512f: Pulling fs layer 14:20:02 34c802a77dc8: Pulling fs layer 14:20:02 9eb99e56ec68: Pulling fs layer 14:20:02 27c7a5d97fbd: Pulling fs layer 14:20:02 5c102a31e300: Pulling fs layer 14:20:02 dcfb455df0a1: Pulling fs layer 14:20:02 0e6b1d234666: Waiting 14:20:02 bf5d7aec512f: Waiting 14:20:02 34c802a77dc8: Waiting 14:20:02 9eb99e56ec68: Waiting 14:20:02 27c7a5d97fbd: Waiting 14:20:02 5c102a31e300: Waiting 14:20:02 dcfb455df0a1: Waiting 14:20:02 5788d62ee057: Waiting 14:20:02 0f37312ad70f: Verifying Checksum 14:20:02 0f37312ad70f: Download complete 14:20:02 2848faf0eed1: Verifying Checksum 14:20:02 2848faf0eed1: Download complete 14:20:02 0e6b1d234666: Download complete 14:20:02 bf5d7aec512f: Verifying Checksum 14:20:02 bf5d7aec512f: Download complete 14:20:02 e6b0cf9c0882: Verifying Checksum 14:20:02 e6b0cf9c0882: Pull complete 14:20:02 34c802a77dc8: Verifying Checksum 14:20:02 34c802a77dc8: Download complete 14:20:02 27c7a5d97fbd: Verifying Checksum 14:20:02 27c7a5d97fbd: Download complete 14:20:03 2848faf0eed1: Pull complete 14:20:03 5c102a31e300: Download complete 14:20:03 dcfb455df0a1: Verifying Checksum 14:20:03 dcfb455df0a1: Download complete 14:20:03 5788d62ee057: Verifying Checksum 14:20:03 5788d62ee057: Download complete 14:20:03 9eb99e56ec68: Verifying Checksum 14:20:03 9eb99e56ec68: Download complete 14:20:04 0f37312ad70f: Pull complete 14:20:09 5788d62ee057: Pull complete 14:20:09 0e6b1d234666: Pull complete 14:20:09 bf5d7aec512f: Pull complete 14:20:15 34c802a77dc8: Pull complete 14:20:18 9eb99e56ec68: Pull complete 14:20:18 27c7a5d97fbd: Pull complete 14:20:18 5c102a31e300: Pull complete 14:20:19 dcfb455df0a1: Pull complete 14:20:19 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:20:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:20:19 ---> 7c70fe431013 14:20:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 14:20:19 ---> Running in 9a9403c8b0ee 14:20:19 Removing intermediate container 9a9403c8b0ee 14:20:19 ---> 5d929079b3dd 14:20:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:20:19 ---> Running in 161c97d39409 14:20:20 Removing intermediate container 161c97d39409 14:20:20 ---> 97dc4e4db6b5 14:20:20 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 14:20:20 ---> Running in 5292e6b8e25f 14:20:20 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:20:21 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:20:21 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 14:20:21 (2/17) Installing libmagic (5.37-r1) 14:20:21 (3/17) Installing file (5.37-r1) 14:20:21 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 14:20:22 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 14:20:22 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 14:20:25 (7/17) Installing libc-dev (0.7.2-r0) 14:20:25 (8/17) Installing g++ (9.2.0-r4) 14:20:29 (9/17) Installing fortify-headers (1.1-r0) 14:20:29 (10/17) Installing build-base (0.5-r1) 14:20:29 (11/17) Installing openssh-keygen (8.1_p1-r0) 14:20:29 (12/17) Installing libedit (20191211.3.1-r0) 14:20:29 (13/17) Installing openssh-client (8.1_p1-r0) 14:20:30 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 14:20:30 (15/17) Installing openssh-server-common (8.1_p1-r0) 14:20:30 (16/17) Installing openssh-server (8.1_p1-r0) 14:20:30 (17/17) Installing openssh (8.1_p1-r0) 14:20:31 Executing busybox-1.31.1-r8.trigger 14:20:31 OK: 214 MiB in 52 packages 14:20:34 Removing intermediate container 5292e6b8e25f 14:20:34 ---> c5dd539e7d74 14:20:34 Step 6/8 : WORKDIR /device-virtual-go 14:20:34 ---> Running in 8b5c0128ff49 14:20:34 Removing intermediate container 8b5c0128ff49 14:20:34 ---> e4da57862ff7 14:20:34 Step 7/8 : COPY . . 14:20:34 ---> 19f4f7953749 14:20:34 Step 8/8 : RUN go mod download 14:20:34 ---> Running in 4a46249e4f86 14:20:36 go: finding github.com/BurntSushi/toml v0.3.1 14:20:36 go: finding github.com/OneOfOne/xxhash v1.2.6 14:20:36 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:20:36 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:20:36 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:20:36 go: finding github.com/bgentry/speakeasy v0.1.0 14:20:36 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:20:36 go: finding github.com/davecgh/go-spew v1.1.1 14:20:36 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 14:20:36 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 14:20:36 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:20:36 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 14:20:36 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 14:20:36 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:20:36 go: finding github.com/edsrzf/mmap-go v1.0.0 14:20:36 go: finding github.com/fatih/color v1.7.0 14:20:36 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:20:36 go: finding github.com/go-kit/kit v0.8.0 14:20:36 go: finding github.com/go-logfmt/logfmt v0.4.0 14:20:36 go: finding github.com/go-stack/stack v1.8.0 14:20:36 go: finding github.com/golang/snappy v0.0.1 14:20:36 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:20:36 go: finding github.com/google/uuid v1.1.0 14:20:36 go: finding github.com/gorilla/mux v1.7.1 14:20:36 go: finding github.com/hashicorp/consul/api v1.1.0 14:20:36 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:20:36 go: finding github.com/hashicorp/errwrap v1.0.0 14:20:36 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:20:36 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:20:36 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:20:36 go: finding github.com/hashicorp/go-multierror v1.0.0 14:20:36 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:20:36 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:20:36 go: finding github.com/hashicorp/go-syslog v1.0.0 14:20:36 go: finding github.com/hashicorp/go-uuid v1.0.1 14:20:36 go: finding github.com/hashicorp/go.net v0.0.1 14:20:36 go: finding github.com/hashicorp/golang-lru v0.5.0 14:20:36 go: finding github.com/hashicorp/logutils v1.0.0 14:20:36 go: finding github.com/hashicorp/mdns v1.0.0 14:20:36 go: finding github.com/hashicorp/memberlist v0.1.3 14:20:36 go: finding github.com/hashicorp/serf v0.8.2 14:20:36 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:20:36 go: finding github.com/mattn/go-colorable v0.0.9 14:20:36 go: finding github.com/mattn/go-isatty v0.0.3 14:20:36 go: finding github.com/miekg/dns v1.0.14 14:20:36 go: finding github.com/mitchellh/cli v1.0.0 14:20:36 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:20:36 go: finding github.com/mitchellh/copystructure v1.0.0 14:20:36 go: finding github.com/mitchellh/go-homedir v1.0.0 14:20:36 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:20:36 go: finding github.com/mitchellh/gox v0.4.0 14:20:36 go: finding github.com/mitchellh/iochan v1.0.0 14:20:36 go: finding github.com/mitchellh/mapstructure v1.1.2 14:20:36 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:20:36 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:20:36 go: finding github.com/pelletier/go-toml v1.2.0 14:20:36 go: finding github.com/pkg/errors v0.8.1 14:20:36 go: finding github.com/pmezard/go-difflib v1.0.0 14:20:36 go: finding github.com/posener/complete v1.1.1 14:20:36 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 14:20:36 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:20:36 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:20:36 go: finding github.com/stretchr/objx v0.1.0 14:20:36 go: finding github.com/stretchr/testify v1.5.1 14:20:36 go: finding github.com/ugorji/go v1.1.4 14:20:37 go: finding github.com/x448/float16 v0.8.4 14:20:37 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:20:37 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:20:37 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:20:37 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 14:20:37 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:20:37 go: finding gopkg.in/yaml.v2 v2.2.8 14:20:37 go: finding modernc.org/b v1.0.0 14:20:37 go: finding modernc.org/db v1.0.0 14:20:37 go: finding modernc.org/file v1.0.0 14:20:37 go: finding modernc.org/fileutil v1.0.0 14:20:37 go: finding modernc.org/golex v1.0.0 14:20:37 go: finding modernc.org/internal v1.0.0 14:20:37 go: finding modernc.org/lldb v1.0.0 14:20:37 go: finding modernc.org/mathutil v1.0.0 14:20:37 go: finding modernc.org/ql v1.0.0 14:20:37 go: finding modernc.org/sortutil v1.0.0 14:20:37 go: finding modernc.org/strutil v1.0.0 14:20:37 go: finding modernc.org/zappy v1.0.0 14:20:41 Removing intermediate container 4a46249e4f86 14:20:41 ---> c05ef7f9d533 14:20:41 Successfully built c05ef7f9d533 14:20:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:20:42 + docker inspect -f . ci-base-image-x86_64 14:20:42 . [Pipeline] withDockerContainer 14:20:42 prd-centos7-docker-4c-2g-8251 does not seem to be running inside a container 14:20:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/13 -v /w/workspace/device-virtual-go/13:/w/workspace/device-virtual-go/13:rw,z -v /w/workspace/device-virtual-go/13@tmp:/w/workspace/device-virtual-go/13@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 14:20:43 $ docker top 4b1b40cc99ef933efd64fbf79800bc0fffe8dcfff4dbbf7e2a666e8329b6d0cc -eo pid,comm [Pipeline] { [Pipeline] sh 14:20:43 + go version 14:20:43 go version go1.13.5 linux/amd64 [Pipeline] sh 14:20:43 + make test 14:20:43 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:20:44 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:20:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8252 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 14:20:49 Running in /w/workspace/device-virtual-go/13 [Pipeline] { [Pipeline] checkout 14:20:55 using credential edgex-jenkins-ssh 14:20:55 Cloning the remote Git repository 14:20:55 Cloning with configured refspecs honoured and without tags 14:20:55 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 14:20:55 > git init /w/workspace/device-virtual-go/13 # timeout=10 14:20:55 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:20:55 > git --version # timeout=10 14:20:55 using GIT_SSH to set credentials SSH Credentials for GitHub 14:20:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 14:20:56 Fetching without tags 14:20:56 Checking out Revision b52eb9e4b400164974d679b086349643dc0ae83f (master) 14:20:56 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:20:56 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:20:56 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:20:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:20:56 using GIT_SSH to set credentials SSH Credentials for GitHub 14:20:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 14:20:56 > git config core.sparsecheckout # timeout=10 14:20:56 > git checkout -f b52eb9e4b400164974d679b086349643dc0ae83f # timeout=10 14:20:59 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:21:01 Commit message: "Merge pull request #110 from hahattan/issue-109" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:21:02 ========================================================= 14:21:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:21:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:21:03 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 14:21:03 Sending build context to Docker daemon 513.5kB 14:21:03 Step 1/8 : ARG BASE=golang:1.13-alpine 14:21:03 Step 2/8 : FROM ${BASE} 14:21:04 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:21:04 cde5963f3b93: Pulling fs layer 14:21:04 2a23fa8c16f7: Pulling fs layer 14:21:04 777b28850792: Pulling fs layer 14:21:04 8a11ddd9e578: Pulling fs layer 14:21:04 4cf88f913ddb: Pulling fs layer 14:21:04 1df406cf5192: Pulling fs layer 14:21:04 cd6300453558: Pulling fs layer 14:21:04 b9c365052c96: Pulling fs layer 14:21:04 a2d8cc88f415: Pulling fs layer 14:21:04 ea1d1ca13537: Pulling fs layer 14:21:04 3750a50a1c5e: Pulling fs layer 14:21:04 cd6300453558: Waiting 14:21:04 b9c365052c96: Waiting 14:21:04 a2d8cc88f415: Waiting 14:21:04 ea1d1ca13537: Waiting 14:21:04 8a11ddd9e578: Waiting 14:21:04 3750a50a1c5e: Waiting 14:21:04 1df406cf5192: Waiting 14:21:04 777b28850792: Verifying Checksum 14:21:04 777b28850792: Download complete 14:21:04 2a23fa8c16f7: Verifying Checksum 14:21:04 2a23fa8c16f7: Download complete 14:21:04 4cf88f913ddb: Verifying Checksum 14:21:04 4cf88f913ddb: Download complete 14:21:04 1df406cf5192: Verifying Checksum 14:21:04 1df406cf5192: Download complete 14:21:04 cde5963f3b93: Verifying Checksum 14:21:04 cde5963f3b93: Download complete 14:21:05 cde5963f3b93: Pull complete 14:21:06 2a23fa8c16f7: Pull complete 14:21:07 777b28850792: Pull complete 14:21:09 cd6300453558: Verifying Checksum 14:21:09 cd6300453558: Download complete 14:21:09 a2d8cc88f415: Verifying Checksum 14:21:09 a2d8cc88f415: Download complete 14:21:11 ea1d1ca13537: Verifying Checksum 14:21:11 ea1d1ca13537: Download complete 14:21:11 3750a50a1c5e: Verifying Checksum 14:21:11 3750a50a1c5e: Download complete 14:21:14 b9c365052c96: Verifying Checksum 14:21:14 b9c365052c96: Download complete 14:21:16 8a11ddd9e578: Download complete 14:21:28 8a11ddd9e578: Pull complete 14:21:28 4cf88f913ddb: Pull complete 14:21:28 1df406cf5192: Pull complete 14:21:32 cd6300453558: Pull complete 14:21:38 b9c365052c96: Pull complete 14:21:38 a2d8cc88f415: Pull complete 14:21:40 ea1d1ca13537: Pull complete 14:21:40 3750a50a1c5e: Pull complete 14:21:40 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:21:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:21:40 ---> 78745c68409d 14:21:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 14:21:44 ---> Running in 22b58c70a5b7 14:21:44 Removing intermediate container 22b58c70a5b7 14:21:44 ---> f3ac4a238805 14:21:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:21:44 ---> Running in 3b347d530e12 14:21:46 Removing intermediate container 3b347d530e12 14:21:46 ---> a2f9ff596dd9 14:21:46 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 14:21:46 ---> Running in 57a953475f91 14:21:47 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:21:48 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:21:49 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 14:21:49 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 14:21:49 (3/18) Installing libmagic (5.37-r1) 14:21:49 (4/18) Installing file (5.37-r1) 14:21:49 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 14:21:50 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 14:21:50 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 14:21:55 (8/18) Installing libc-dev (0.7.2-r0) 14:21:55 (9/18) Installing g++ (9.2.0-r4) 14:21:56 ok github.com/edgexfoundry/device-virtual-go/internal/driver 53.908s coverage: 52.7% of statements 14:21:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:21:56 gofmt -l . 14:21:56 [ "`gofmt -l .`" = "" ] 14:21:56 ./bin/test-attribution-txt.sh 14:21:56 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:21:57 Stashed 1 file(s) [Pipeline] } 14:21:57 $ docker stop --time=1 4b1b40cc99ef933efd64fbf79800bc0fffe8dcfff4dbbf7e2a666e8329b6d0cc 14:21:58 $ docker rm -f 4b1b40cc99ef933efd64fbf79800bc0fffe8dcfff4dbbf7e2a666e8329b6d0cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 14:21:59 (10/18) Installing fortify-headers (1.1-r0) 14:21:59 (11/18) Installing build-base (0.5-r1) 14:21:59 (12/18) Installing openssh-keygen (8.1_p1-r0) 14:21:59 (13/18) Installing libedit (20191211.3.1-r0) 14:21:59 (14/18) Installing openssh-client (8.1_p1-r0) [Pipeline] sh 14:21:59 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 14:21:59 (16/18) Installing openssh-server-common (8.1_p1-r0) 14:21:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:22:00 (17/18) Installing openssh-server (8.1_p1-r0) 14:22:00 (18/18) Installing openssh (8.1_p1-r0) 14:22:00 Executing busybox-1.31.1-r8.trigger 14:22:00 OK: 203 MiB in 52 packages 14:22:00 + ls -al . 14:22:00 total 112 14:22:00 drwxrwxr-x. 8 jenkins jenkins 4096 May 13 14:21 . 14:22:00 drwxrwxr-x. 4 jenkins jenkins 30 May 13 14:19 .. 14:22:00 -rw-rw-r--. 1 jenkins jenkins 6432 May 13 14:19 Attribution.txt 14:22:00 drwxrwxr-x. 2 jenkins jenkins 64 May 13 14:19 bin 14:22:00 drwxrwxr-x. 3 jenkins jenkins 32 May 13 14:19 cmd 14:22:00 -rw-r--r--. 1 jenkins jenkins 32181 May 13 14:21 coverage.out 14:22:00 -rw-rw-r--. 1 jenkins jenkins 1826 May 13 14:19 Dockerfile 14:22:00 -rw-rw-r--. 1 jenkins jenkins 957 May 13 14:19 Dockerfile.build 14:22:00 drwxrwxr-x. 8 jenkins jenkins 162 May 13 14:19 .git 14:22:00 drwxrwxr-x. 2 jenkins jenkins 38 May 13 14:19 .github 14:22:00 -rw-rw-r--. 1 jenkins jenkins 258 May 13 14:19 .gitignore 14:22:00 -rw-r--r--. 1 jenkins jenkins 855 May 13 14:21 go.mod 14:22:00 -rw-r--r--. 1 jenkins jenkins 14894 May 13 14:21 go.sum 14:22:00 drwxrwxr-x. 3 jenkins jenkins 20 May 13 14:19 internal 14:22:00 -rw-rw-r--. 1 jenkins jenkins 683 May 13 14:19 Jenkinsfile 14:22:00 -rw-rw-r--. 1 jenkins jenkins 11340 May 13 14:19 LICENSE 14:22:00 -rw-rw-r--. 1 jenkins jenkins 873 May 13 14:19 Makefile 14:22:00 -rw-rw-r--. 1 jenkins jenkins 4413 May 13 14:19 README.md 14:22:00 drwxrwxr-x. 3 jenkins jenkins 44 May 13 14:20 .semver 14:22:00 -rw-rw-r--. 1 jenkins jenkins 12 May 13 14:16 VERSION 14:22:00 -rw-rw-r--. 1 jenkins jenkins 235 May 13 14:19 version.go [Pipeline] isUnix [Pipeline] sh 14:22:00 + 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=b52eb9e4b400164974d679b086349643dc0ae83f --label arch=amd64 --label version=1.2.0-dev.13 . 14:22:00 Sending build context to Docker daemon 34.14MB 14:22:00 Step 1/21 : ARG BASE=golang:1.13-alpine 14:22:00 Step 2/21 : FROM ${BASE} AS builder 14:22:00 ---> c05ef7f9d533 14:22:00 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 14:22:01 ---> Running in a213ee4268be 14:22:01 Removing intermediate container a213ee4268be 14:22:01 ---> 54b4e791a655 14:22:01 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 14:22:01 ---> Running in 98d75a102b12 14:22:01 Removing intermediate container 98d75a102b12 14:22:01 ---> 0d5cb9eac4b7 14:22:01 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 14:22:01 ---> Running in 8b907eb1eaea 14:22:01 Removing intermediate container 8b907eb1eaea 14:22:01 ---> 97ef68b5f07a 14:22:01 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:22:01 ---> Running in 35e83f91fee7 14:22:02 Removing intermediate container 35e83f91fee7 14:22:02 ---> a46969e6f911 14:22:02 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:22:02 ---> Running in 5687d5345591 14:22:02 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:22:03 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:22:03 OK: 214 MiB in 52 packages 14:22:04 Removing intermediate container 5687d5345591 14:22:04 ---> 3f5c43c70c41 14:22:04 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 14:22:04 ---> Running in f0fb9811ac54 14:22:04 Removing intermediate container f0fb9811ac54 14:22:04 ---> 46bff05ecc97 14:22:04 Step 9/21 : COPY . . 14:22:04 ---> e4f0060ac97f 14:22:04 Step 10/21 : ARG MAKE='make build' 14:22:04 ---> Running in c31247765d34 14:22:05 Removing intermediate container c31247765d34 14:22:05 ---> 7111f255347a 14:22:05 Step 11/21 : RUN $MAKE 14:22:05 ---> Running in 610b27daa287 14:22:05 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.0-dev.13" -o cmd/device-virtual ./cmd 14:22:08 Removing intermediate container 57a953475f91 14:22:08 ---> d49909dad064 14:22:08 Step 6/8 : WORKDIR /device-virtual-go 14:22:08 ---> Running in 8732880332ea 14:22:08 Removing intermediate container 8732880332ea 14:22:08 ---> fb4961c8f33c 14:22:08 Step 7/8 : COPY . . 14:22:08 ---> c0e10a1979e2 14:22:08 Step 8/8 : RUN go mod download 14:22:08 ---> Running in 17a59d303386 14:22:10 go: finding github.com/BurntSushi/toml v0.3.1 14:22:10 go: finding github.com/OneOfOne/xxhash v1.2.6 14:22:10 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:22:10 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:22:10 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:22:10 go: finding github.com/bgentry/speakeasy v0.1.0 14:22:10 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:22:10 go: finding github.com/davecgh/go-spew v1.1.1 14:22:10 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 14:22:10 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 14:22:10 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:22:10 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 14:22:10 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 14:22:10 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:22:10 go: finding github.com/edsrzf/mmap-go v1.0.0 14:22:10 go: finding github.com/fatih/color v1.7.0 14:22:10 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:22:10 go: finding github.com/go-kit/kit v0.8.0 14:22:10 go: finding github.com/go-logfmt/logfmt v0.4.0 14:22:10 go: finding github.com/go-stack/stack v1.8.0 14:22:10 go: finding github.com/golang/snappy v0.0.1 14:22:10 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:22:10 go: finding github.com/google/uuid v1.1.0 14:22:10 go: finding github.com/gorilla/mux v1.7.1 14:22:10 go: finding github.com/hashicorp/consul/api v1.1.0 14:22:10 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:22:10 go: finding github.com/hashicorp/errwrap v1.0.0 14:22:10 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:22:10 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:22:10 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:22:10 go: finding github.com/hashicorp/go-multierror v1.0.0 14:22:10 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:22:10 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:22:10 go: finding github.com/hashicorp/go-syslog v1.0.0 14:22:10 go: finding github.com/hashicorp/go-uuid v1.0.1 14:22:10 go: finding github.com/hashicorp/go.net v0.0.1 14:22:10 go: finding github.com/hashicorp/golang-lru v0.5.0 14:22:10 go: finding github.com/hashicorp/logutils v1.0.0 14:22:10 go: finding github.com/hashicorp/mdns v1.0.0 14:22:10 go: finding github.com/hashicorp/memberlist v0.1.3 14:22:10 go: finding github.com/hashicorp/serf v0.8.2 14:22:10 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:22:10 go: finding github.com/mattn/go-colorable v0.0.9 14:22:10 go: finding github.com/mattn/go-isatty v0.0.3 14:22:10 go: finding github.com/miekg/dns v1.0.14 14:22:10 go: finding github.com/mitchellh/cli v1.0.0 14:22:10 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:22:10 go: finding github.com/mitchellh/copystructure v1.0.0 14:22:10 go: finding github.com/mitchellh/go-homedir v1.0.0 14:22:10 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:22:10 go: finding github.com/mitchellh/gox v0.4.0 14:22:10 go: finding github.com/mitchellh/iochan v1.0.0 14:22:10 go: finding github.com/mitchellh/mapstructure v1.1.2 14:22:10 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:22:10 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:22:10 go: finding github.com/pelletier/go-toml v1.2.0 14:22:11 go: finding github.com/pkg/errors v0.8.1 14:22:11 go: finding github.com/pmezard/go-difflib v1.0.0 14:22:11 go: finding github.com/posener/complete v1.1.1 14:22:11 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 14:22:11 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:22:11 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:22:11 go: finding github.com/stretchr/objx v0.1.0 14:22:11 go: finding github.com/stretchr/testify v1.5.1 14:22:11 go: finding github.com/ugorji/go v1.1.4 14:22:11 go: finding github.com/x448/float16 v0.8.4 14:22:11 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:22:11 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:22:11 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:22:11 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 14:22:11 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:22:11 go: finding gopkg.in/yaml.v2 v2.2.8 14:22:11 go: finding modernc.org/b v1.0.0 14:22:11 go: finding modernc.org/db v1.0.0 14:22:11 go: finding modernc.org/file v1.0.0 14:22:11 go: finding modernc.org/fileutil v1.0.0 14:22:11 go: finding modernc.org/golex v1.0.0 14:22:11 go: finding modernc.org/internal v1.0.0 14:22:11 go: finding modernc.org/lldb v1.0.0 14:22:11 go: finding modernc.org/mathutil v1.0.0 14:22:11 go: finding modernc.org/ql v1.0.0 14:22:11 go: finding modernc.org/sortutil v1.0.0 14:22:11 go: finding modernc.org/strutil v1.0.0 14:22:11 go: finding modernc.org/zappy v1.0.0 14:22:17 CGO_ENABLED=0 GO111MODULE=on go build ./... 14:22:19 Removing intermediate container 610b27daa287 14:22:19 ---> 5f0455693730 14:22:19 Step 12/21 : FROM alpine 14:22:19 latest: Pulling from library/alpine 14:22:20 cbdbe7a5bc2a: Pulling fs layer 14:22:20 cbdbe7a5bc2a: Verifying Checksum 14:22:20 cbdbe7a5bc2a: Download complete 14:22:20 cbdbe7a5bc2a: Pull complete 14:22:20 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 14:22:20 Status: Downloaded newer image for alpine:latest 14:22:20 ---> f70734b6a266 14:22:20 Step 13/21 : ENV APP_PORT=49990 14:22:20 ---> Running in b6ef9e13d91e 14:22:20 Removing intermediate container b6ef9e13d91e 14:22:20 ---> 372c7ebe13d4 14:22:20 Step 14/21 : EXPOSE $APP_PORT 14:22:20 ---> Running in 49eb96af4413 14:22:20 Removing intermediate container 49eb96af4413 14:22:20 ---> 8951e2ef09b0 14:22:20 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 14:22:21 ---> 6f35243d8f2a 14:22:21 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 14:22:21 Removing intermediate container 17a59d303386 14:22:21 ---> 8aa1ae9f4bf0 14:22:21 Successfully built 8aa1ae9f4bf0 14:22:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 14:22:21 ---> 170583ec2c17 14:22:21 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:22:21 ---> 4e4b782ebe36 14:22:21 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 14:22:21 ---> Running in 06c3018ea6fe 14:22:21 Removing intermediate container 06c3018ea6fe 14:22:21 ---> a2c3718034b5 14:22:21 Step 19/21 : LABEL arch=amd64 14:22:21 + docker inspect -f . ci-base-image-arm64 14:22:21 ---> Running in f40d2555e7f7 14:22:21 Removing intermediate container f40d2555e7f7 14:22:21 ---> 73a178f19082 14:22:21 Step 20/21 : LABEL git_sha=b52eb9e4b400164974d679b086349643dc0ae83f 14:22:21 ---> Running in 71c9d196ad35 14:22:22 Removing intermediate container 71c9d196ad35 14:22:22 ---> 7b7516984f46 14:22:22 Step 21/21 : LABEL version=1.2.0-dev.13 14:22:22 ---> Running in ddd1a785c3b7 14:22:22 Removing intermediate container ddd1a785c3b7 14:22:22 ---> ff3b9a9d4448 14:22:22 [Warning] One or more build-args [ARCH] were not consumed 14:22:22 Successfully built ff3b9a9d4448 14:22:22 Successfully tagged docker-device-virtual-go:latest 14:22:22 . [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] withDockerContainer 14:22:22 prd-ubuntu18.04-docker-arm64-4c-16g-8252 does not seem to be running inside a container 14:22:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/13 -v /w/workspace/device-virtual-go/13:/w/workspace/device-virtual-go/13:rw,z -v /w/workspace/device-virtual-go/13@tmp:/w/workspace/device-virtual-go/13@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 14:22:24 $ docker top 5d204c743dd44812c8cb96994d766c74b11fb24be106fe2a810002fe844c5908 -eo pid,comm [Pipeline] { [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:22:24 provisioning config files... 14:22:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/13@tmp/config7645849165570933409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:22:25 nexus3.edgexfoundry.org:10001 14:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:25 + go version 14:22:25 go version go1.13.5 linux/arm64 [Pipeline] sh 14:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:25 Configure a credential helper to remove this warning. See 14:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:25 14:22:25 Login Succeeded 14:22:25 nexus3.edgexfoundry.org:10002 14:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:25 Configure a credential helper to remove this warning. See 14:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:25 14:22:25 Login Succeeded 14:22:25 nexus3.edgexfoundry.org:10003 14:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:25 Configure a credential helper to remove this warning. See 14:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:25 14:22:25 Login Succeeded 14:22:25 + make test 14:22:25 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:22:25 nexus3.edgexfoundry.org:10004 14:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:25 Configure a credential helper to remove this warning. See 14:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:25 14:22:25 Login Succeeded 14:22:25 docker.io 14:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:26 Configure a credential helper to remove this warning. See 14:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:26 14:22:26 Login Succeeded [Pipeline] } 14:22:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:22:26 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 14:22:26 b52eb9e4b400164974d679b086349643dc0ae83f 14:22:26 latest 14:22:26 1.2.0-dev.13 14:22:26 b52eb9e4b400164974d679b086349643dc0ae83f-1.2.0-dev.13 14:22:26 master 14:22:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry 14:22:26 ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:22:27 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:b52eb9e4b400164974d679b086349643dc0ae83f [Pipeline] isUnix [Pipeline] sh 14:22:27 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:b52eb9e4b400164974d679b086349643dc0ae83f 14:22:27 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 14:22:27 ed9d12aca090: Preparing 14:22:27 3babbc1060b9: Preparing 14:22:27 7385faadaa88: Preparing 14:22:27 3e207b409db3: Preparing 14:22:27 3e207b409db3: Layer already exists 14:22:27 3babbc1060b9: Pushed 14:22:27 ed9d12aca090: Pushed 14:22:28 7385faadaa88: Pushed 14:22:28 b52eb9e4b400164974d679b086349643dc0ae83f: digest: sha256:98e3fe7982ebc4a536d6a88a52f674107a9766e3d8d6a04d3a32ae0e1ab6a50f size: 1155 [Pipeline] isUnix [Pipeline] sh 14:22:29 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 14:22:29 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 14:22:29 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 14:22:29 ed9d12aca090: Preparing 14:22:29 3babbc1060b9: Preparing 14:22:29 7385faadaa88: Preparing 14:22:29 3e207b409db3: Preparing 14:22:29 3babbc1060b9: Layer already exists 14:22:29 3e207b409db3: Layer already exists 14:22:29 ed9d12aca090: Layer already exists 14:22:29 7385faadaa88: Layer already exists 14:22:29 latest: digest: sha256:98e3fe7982ebc4a536d6a88a52f674107a9766e3d8d6a04d3a32ae0e1ab6a50f size: 1155 [Pipeline] isUnix [Pipeline] sh 14:22:29 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 14:22:30 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.0-dev.13 14:22:30 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 14:22:30 ed9d12aca090: Preparing 14:22:30 3babbc1060b9: Preparing 14:22:30 7385faadaa88: Preparing 14:22:30 3e207b409db3: Preparing 14:22:30 ed9d12aca090: Layer already exists 14:22:30 3e207b409db3: Layer already exists 14:22:30 7385faadaa88: Layer already exists 14:22:30 3babbc1060b9: Layer already exists 14:22:30 1.2.0-dev.13: digest: sha256:98e3fe7982ebc4a536d6a88a52f674107a9766e3d8d6a04d3a32ae0e1ab6a50f size: 1155 [Pipeline] isUnix [Pipeline] sh 14:22:30 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:b52eb9e4b400164974d679b086349643dc0ae83f-1.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 14:22:30 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:b52eb9e4b400164974d679b086349643dc0ae83f-1.2.0-dev.13 14:22:30 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 14:22:30 ed9d12aca090: Preparing 14:22:30 3babbc1060b9: Preparing 14:22:30 7385faadaa88: Preparing 14:22:30 3e207b409db3: Preparing 14:22:30 7385faadaa88: Layer already exists 14:22:30 ed9d12aca090: Layer already exists 14:22:30 3e207b409db3: Layer already exists 14:22:30 3babbc1060b9: Layer already exists 14:22:30 b52eb9e4b400164974d679b086349643dc0ae83f-1.2.0-dev.13: digest: sha256:98e3fe7982ebc4a536d6a88a52f674107a9766e3d8d6a04d3a32ae0e1ab6a50f size: 1155 [Pipeline] isUnix [Pipeline] sh 14:22:31 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 14:22:31 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 14:22:31 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 14:22:31 ed9d12aca090: Preparing 14:22:31 3babbc1060b9: Preparing 14:22:31 7385faadaa88: Preparing 14:22:31 3e207b409db3: Preparing 14:22:31 3e207b409db3: Layer already exists 14:22:31 7385faadaa88: Layer already exists 14:22:31 3babbc1060b9: Layer already exists 14:22:31 ed9d12aca090: Layer already exists 14:22:31 master: digest: sha256:98e3fe7982ebc4a536d6a88a52f674107a9766e3d8d6a04d3a32ae0e1ab6a50f 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] } 14:23:05 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:25:57 ok github.com/edgexfoundry/device-virtual-go/internal/driver 165.899s coverage: 52.7% of statements 14:25:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:25:59 gofmt -l . 14:25:59 [ "`gofmt -l .`" = "" ] 14:25:59 ./bin/test-attribution-txt.sh 14:26:00 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:26:01 Warning: overwriting stash ‘coverage-report’ 14:26:01 Stashed 1 file(s) [Pipeline] } 14:26:01 $ docker stop --time=1 5d204c743dd44812c8cb96994d766c74b11fb24be106fe2a810002fe844c5908 14:26:03 $ docker rm -f 5d204c743dd44812c8cb96994d766c74b11fb24be106fe2a810002fe844c5908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:26:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:26:05 + ls -al . 14:26:05 total 140 14:26:05 drwxrwxr-x 8 jenkins jenkins 4096 May 13 14:26 . 14:26:05 drwxrwxr-x 4 jenkins jenkins 4096 May 13 14:20 .. 14:26:05 drwxrwxr-x 8 jenkins jenkins 4096 May 13 14:21 .git 14:26:05 drwxrwxr-x 2 jenkins jenkins 4096 May 13 14:20 .github 14:26:05 -rw-rw-r-- 1 jenkins jenkins 258 May 13 14:20 .gitignore 14:26:05 drwxrwxr-x 3 jenkins jenkins 4096 May 13 14:21 .semver 14:26:05 -rw-rw-r-- 1 jenkins jenkins 6432 May 13 14:20 Attribution.txt 14:26:05 -rw-rw-r-- 1 jenkins jenkins 1826 May 13 14:20 Dockerfile 14:26:05 -rw-rw-r-- 1 jenkins jenkins 957 May 13 14:20 Dockerfile.build 14:26:05 -rw-rw-r-- 1 jenkins jenkins 683 May 13 14:20 Jenkinsfile 14:26:05 -rw-rw-r-- 1 jenkins jenkins 11340 May 13 14:20 LICENSE 14:26:05 -rw-rw-r-- 1 jenkins jenkins 873 May 13 14:20 Makefile 14:26:05 -rw-rw-r-- 1 jenkins jenkins 4413 May 13 14:20 README.md 14:26:05 -rw-rw-r-- 1 jenkins jenkins 12 May 13 14:16 VERSION 14:26:05 drwxrwxr-x 2 jenkins jenkins 4096 May 13 14:20 bin 14:26:05 drwxrwxr-x 3 jenkins jenkins 4096 May 13 14:20 cmd 14:26:05 -rw-r--r-- 1 jenkins jenkins 32181 May 13 14:25 coverage.out 14:26:05 -rw-r--r-- 1 jenkins jenkins 855 May 13 14:26 go.mod 14:26:05 -rw-r--r-- 1 jenkins jenkins 14894 May 13 14:26 go.sum 14:26:05 drwxrwxr-x 3 jenkins jenkins 4096 May 13 14:20 internal 14:26:05 -rw-rw-r-- 1 jenkins jenkins 235 May 13 14:20 version.go [Pipeline] isUnix [Pipeline] sh 14:26:05 + 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=b52eb9e4b400164974d679b086349643dc0ae83f --label arch=arm64 --label version=1.2.0-dev.13 . 14:26:06 Sending build context to Docker daemon 34.14MB 14:26:06 Step 1/21 : ARG BASE=golang:1.13-alpine 14:26:06 Step 2/21 : FROM ${BASE} AS builder 14:26:06 ---> 8aa1ae9f4bf0 14:26:06 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 14:26:07 ---> Running in a101e94a4753 14:26:07 Removing intermediate container a101e94a4753 14:26:07 ---> aba207982faf 14:26:07 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 14:26:07 ---> Running in ba4f37925702 14:26:07 Removing intermediate container ba4f37925702 14:26:07 ---> d17fa1e77b0d 14:26:07 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 14:26:08 ---> Running in 0ec98d272a4c 14:26:08 Removing intermediate container 0ec98d272a4c 14:26:08 ---> d7067c5b4482 14:26:08 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:26:08 ---> Running in 638c91fe2fb6 14:26:10 Removing intermediate container 638c91fe2fb6 14:26:10 ---> 149d963bff98 14:26:10 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:26:10 ---> Running in 3bae06d742b5 14:26:11 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:26:12 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:26:14 OK: 203 MiB in 52 packages 14:26:15 Removing intermediate container 3bae06d742b5 14:26:15 ---> a685308dcdec 14:26:15 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 14:26:15 ---> Running in 9f9ce32f5a21 14:26:15 Removing intermediate container 9f9ce32f5a21 14:26:15 ---> 7846880de155 14:26:15 Step 9/21 : COPY . . 14:26:18 ---> 4324ed5e5a68 14:26:18 Step 10/21 : ARG MAKE='make build' 14:26:18 ---> Running in be9e2825e1bd 14:26:18 Removing intermediate container be9e2825e1bd 14:26:18 ---> 9577d1a44997 14:26:18 Step 11/21 : RUN $MAKE 14:26:18 ---> Running in 97aad9791eef 14:26:19 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.0-dev.13" -o cmd/device-virtual ./cmd 14:26:51 CGO_ENABLED=0 GO111MODULE=on go build ./... 14:27:01 Removing intermediate container 97aad9791eef 14:27:01 ---> 9d158e6f6c00 14:27:01 Step 12/21 : FROM alpine 14:27:01 latest: Pulling from library/alpine 14:27:01 29e5d40040c1: Pulling fs layer 14:27:01 29e5d40040c1: Verifying Checksum 14:27:01 29e5d40040c1: Download complete 14:27:01 29e5d40040c1: Pull complete 14:27:01 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 14:27:01 Status: Downloaded newer image for alpine:latest 14:27:01 ---> c20d2a9ab686 14:27:01 Step 13/21 : ENV APP_PORT=49990 14:27:01 ---> Running in 73fbd22263b0 14:27:02 Removing intermediate container 73fbd22263b0 14:27:02 ---> 0261bbb97c2c 14:27:02 Step 14/21 : EXPOSE $APP_PORT 14:27:02 ---> Running in df44d19af935 14:27:02 Removing intermediate container df44d19af935 14:27:02 ---> ef640f76c91a 14:27:02 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 14:27:03 ---> a24ab098d17b 14:27:03 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 14:27:04 ---> a160aa167dee 14:27:04 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 14:27:04 ---> c73b8502b596 14:27:04 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 14:27:04 ---> Running in 906930ff5275 14:27:05 Removing intermediate container 906930ff5275 14:27:05 ---> 5270fbb5c331 14:27:05 Step 19/21 : LABEL arch=arm64 14:27:05 ---> Running in cce8b8e4f40e 14:27:05 Removing intermediate container cce8b8e4f40e 14:27:05 ---> 0dd4b14d8be0 14:27:05 Step 20/21 : LABEL git_sha=b52eb9e4b400164974d679b086349643dc0ae83f 14:27:05 ---> Running in 1497ebe1654b 14:27:06 Removing intermediate container 1497ebe1654b 14:27:06 ---> 24f1aad2e4a8 14:27:06 Step 21/21 : LABEL version=1.2.0-dev.13 14:27:06 ---> Running in 8d0962aa958e 14:27:06 Removing intermediate container 8d0962aa958e 14:27:06 ---> 5d0d1c0ca6f2 14:27:06 [Warning] One or more build-args [ARCH] were not consumed 14:27:06 Successfully built 5d0d1c0ca6f2 14:27:06 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 14:27:06 provisioning config files... 14:27:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/13@tmp/config4589867751882170308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:27:07 nexus3.edgexfoundry.org:10001 14:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:07 Configure a credential helper to remove this warning. See 14:27:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:07 14:27:07 Login Succeeded 14:27:07 nexus3.edgexfoundry.org:10002 14:27:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:08 Configure a credential helper to remove this warning. See 14:27:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:08 14:27:08 Login Succeeded 14:27:08 nexus3.edgexfoundry.org:10003 14:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:09 Configure a credential helper to remove this warning. See 14:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:09 14:27:09 Login Succeeded 14:27:09 nexus3.edgexfoundry.org:10004 14:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:10 Configure a credential helper to remove this warning. See 14:27:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:10 14:27:10 Login Succeeded 14:27:10 docker.io 14:27:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:27:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:27:11 Configure a credential helper to remove this warning. See 14:27:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:27:11 14:27:11 Login Succeeded [Pipeline] } 14:27:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:27:11 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 14:27:11 b52eb9e4b400164974d679b086349643dc0ae83f 14:27:11 latest 14:27:11 1.2.0-dev.13 14:27:11 b52eb9e4b400164974d679b086349643dc0ae83f-1.2.0-dev.13 14:27:11 master 14:27:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:27:11 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:b52eb9e4b400164974d679b086349643dc0ae83f [Pipeline] isUnix [Pipeline] sh 14:27:12 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:b52eb9e4b400164974d679b086349643dc0ae83f 14:27:12 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 14:27:12 c2dbd76cd8cf: Preparing 14:27:12 f674cd525a34: Preparing 14:27:12 14e93ad6a603: Preparing 14:27:12 678a0785e7d2: Preparing 14:27:12 678a0785e7d2: Layer already exists 14:27:12 f674cd525a34: Pushed 14:27:12 c2dbd76cd8cf: Pushed 14:27:16 14e93ad6a603: Pushed 14:27:16 b52eb9e4b400164974d679b086349643dc0ae83f: digest: sha256:f524833d8efa81dc60099975f077e5670e6bf812dee49bb8b55ab8a55bea81b7 size: 1155 [Pipeline] isUnix [Pipeline] sh 14:27:16 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:27:17 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 14:27:17 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 14:27:17 c2dbd76cd8cf: Preparing 14:27:17 f674cd525a34: Preparing 14:27:17 14e93ad6a603: Preparing 14:27:17 678a0785e7d2: Preparing 14:27:17 c2dbd76cd8cf: Layer already exists 14:27:17 f674cd525a34: Layer already exists 14:27:17 14e93ad6a603: Layer already exists 14:27:17 678a0785e7d2: Layer already exists 14:27:17 latest: digest: sha256:f524833d8efa81dc60099975f077e5670e6bf812dee49bb8b55ab8a55bea81b7 size: 1155 [Pipeline] isUnix [Pipeline] sh 14:27:17 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 14:27:18 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.0-dev.13 14:27:18 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 14:27:18 c2dbd76cd8cf: Preparing 14:27:18 f674cd525a34: Preparing 14:27:18 14e93ad6a603: Preparing 14:27:18 678a0785e7d2: Preparing 14:27:18 c2dbd76cd8cf: Layer already exists 14:27:18 f674cd525a34: Layer already exists 14:27:18 678a0785e7d2: Layer already exists 14:27:18 14e93ad6a603: Layer already exists 14:27:18 1.2.0-dev.13: digest: sha256:f524833d8efa81dc60099975f077e5670e6bf812dee49bb8b55ab8a55bea81b7 size: 1155 [Pipeline] isUnix [Pipeline] sh 14:27:19 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:b52eb9e4b400164974d679b086349643dc0ae83f-1.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 14:27:19 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:b52eb9e4b400164974d679b086349643dc0ae83f-1.2.0-dev.13 14:27:19 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 14:27:19 c2dbd76cd8cf: Preparing 14:27:19 f674cd525a34: Preparing 14:27:19 14e93ad6a603: Preparing 14:27:19 678a0785e7d2: Preparing 14:27:19 f674cd525a34: Layer already exists 14:27:19 14e93ad6a603: Layer already exists 14:27:19 c2dbd76cd8cf: Layer already exists 14:27:19 678a0785e7d2: Layer already exists 14:27:19 b52eb9e4b400164974d679b086349643dc0ae83f-1.2.0-dev.13: digest: sha256:f524833d8efa81dc60099975f077e5670e6bf812dee49bb8b55ab8a55bea81b7 size: 1155 [Pipeline] isUnix [Pipeline] sh 14:27:20 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 14:27:20 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 14:27:20 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 14:27:21 c2dbd76cd8cf: Preparing 14:27:21 f674cd525a34: Preparing 14:27:21 14e93ad6a603: Preparing 14:27:21 678a0785e7d2: Preparing 14:27:21 678a0785e7d2: Layer already exists 14:27:21 c2dbd76cd8cf: Layer already exists 14:27:21 f674cd525a34: Layer already exists 14:27:21 14e93ad6a603: Layer already exists 14:27:21 master: digest: sha256:f524833d8efa81dc60099975f077e5670e6bf812dee49bb8b55ab8a55bea81b7 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 14:27:22 provisioning config files... 14:27:22 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3747188497089725850tmp [Pipeline] { [Pipeline] sh 14:27:22 + curl -s https://codecov.io/bash 14:27:22 + bash -s - -t @/w/workspace/foundry_device-virtual-go_master@tmp/config3747188497089725850tmp 14:27:23 14:27:23 _____ _ 14:27:23 / ____| | | 14:27:23 | | ___ __| | ___ ___ _____ __ 14:27:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:27:23 | |___| (_) | (_| | __/ (_| (_) \ V / 14:27:23 \_____\___/ \__,_|\___|\___\___/ \_/ 14:27:23 Bash-tbd 14:27:23 14:27:23 14:27:23 ==> Jenkins CI detected. 14:27:23 project root: . 14:27:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:27:23 ==> Running gcov in . (disable via -X gcov) 14:27:23 ==> Python coveragepy not found 14:27:23 ==> Searching for coverage reports in: 14:27:23 + . 14:27:23 -> Found 1 reports 14:27:23 ==> Detecting git/mercurial file structure 14:27:23 ==> Reading reports 14:27:23 + ./coverage.out bytes=32181 14:27:23 ==> Appending adjustments 14:27:23 http://docs.codecov.io/docs/fixing-reports 14:27:23 + Found adjustments 14:27:23 ==> Gzipping contents 14:27:23 ==> Uploading reports 14:27:23 url: https://codecov.io 14:27:23 query: branch=master&commit=b52eb9e4b400164974d679b086349643dc0ae83f&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job= 14:27:23 -> Pinging Codecov 14:27:23 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=b52eb9e4b400164974d679b086349643dc0ae83f&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job= 14:27:23 -> Uploading 14:27:24 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/b52eb9e4b400164974d679b086349643dc0ae83f [Pipeline] } 14:27:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 14:27:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 14:27:24 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 14:27:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:27:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 14:27:25 14:27:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 14:27:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 14:27:25 1.217.3: Pulling from edgex-devops/edgex-snyk-go 14:27:25 cbdbe7a5bc2a: Pulling fs layer 14:27:25 408f87550127: Pulling fs layer 14:27:25 fe522b08c979: Pulling fs layer 14:27:25 221eaa008020: Pulling fs layer 14:27:25 2a4607e5d6b9: Pulling fs layer 14:27:25 95d3c3421fef: Pulling fs layer 14:27:25 2fec7dd152b6: Pulling fs layer 14:27:25 d65e43aa86fe: Pulling fs layer 14:27:25 10a7cc25405e: Pulling fs layer 14:27:25 95d3c3421fef: Waiting 14:27:25 d65e43aa86fe: Waiting 14:27:25 10a7cc25405e: Waiting 14:27:25 2fec7dd152b6: Waiting 14:27:25 221eaa008020: Waiting 14:27:25 2a4607e5d6b9: Waiting 14:27:25 fe522b08c979: Verifying Checksum 14:27:25 fe522b08c979: Download complete 14:27:25 408f87550127: Download complete 14:27:25 2a4607e5d6b9: Verifying Checksum 14:27:25 2a4607e5d6b9: Download complete 14:27:25 95d3c3421fef: Verifying Checksum 14:27:25 95d3c3421fef: Download complete 14:27:25 cbdbe7a5bc2a: Download complete 14:27:25 2fec7dd152b6: Verifying Checksum 14:27:25 2fec7dd152b6: Download complete 14:27:25 cbdbe7a5bc2a: Pull complete 14:27:26 408f87550127: Pull complete 14:27:26 fe522b08c979: Pull complete 14:27:26 d65e43aa86fe: Verifying Checksum 14:27:26 d65e43aa86fe: Download complete 14:27:26 10a7cc25405e: Verifying Checksum 14:27:26 10a7cc25405e: Download complete 14:27:27 221eaa008020: Verifying Checksum 14:27:27 221eaa008020: Download complete 14:27:33 221eaa008020: Pull complete 14:27:33 2a4607e5d6b9: Pull complete 14:27:33 95d3c3421fef: Pull complete 14:27:34 2fec7dd152b6: Pull complete 14:27:38 d65e43aa86fe: Pull complete 14:27:39 10a7cc25405e: Pull complete 14:27:39 Digest: sha256:f69c3a2814e8191a177e5024c1aa2982a1df1c15a1f5ff5a42290ad3eeac8c0b 14:27:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 14:27:39 prd-centos7-docker-4c-2g-8249 does not seem to be running inside a container 14:27:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/foundry_device-virtual-go_master:/ws -w /ws --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat 14:27:40 $ docker top fc8a879e674b74c77bb21291361941717fea647bda1b2eeaeb59a4af1d987764 -eo pid,comm [Pipeline] { [Pipeline] sh 14:27:40 + snyk monitor '--org=edgex-jenkins' 14:27:58 14:27:58 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 14:27:58 14:27:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/56dc6b7a-11e7-4aea-891a-d1b535e2c5eb 14:27:58 14:27:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:27:58 14:27:58 [Pipeline] } 14:27:58 $ docker stop --time=1 fc8a879e674b74c77bb21291361941717fea647bda1b2eeaeb59a4af1d987764 14:28:00 $ docker rm -f fc8a879e674b74c77bb21291361941717fea647bda1b2eeaeb59a4af1d987764 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:28:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 14:28:01 14:28:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 14:28:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 14:28:01 latest: Pulling from edgex-devops/edgex-klar 14:28:01 e7c96db7181b: Pulling fs layer 14:28:01 1868ca2cb446: Pulling fs layer 14:28:01 136be5d0fe8e: Pulling fs layer 14:28:01 894bfe63afcb: Pulling fs layer 14:28:01 894bfe63afcb: Waiting 14:28:01 1868ca2cb446: Verifying Checksum 14:28:01 1868ca2cb446: Download complete 14:28:01 136be5d0fe8e: Verifying Checksum 14:28:01 136be5d0fe8e: Download complete 14:28:01 e7c96db7181b: Verifying Checksum 14:28:01 e7c96db7181b: Download complete 14:28:02 894bfe63afcb: Verifying Checksum 14:28:02 894bfe63afcb: Download complete 14:28:02 e7c96db7181b: Pull complete 14:28:02 1868ca2cb446: Pull complete 14:28:02 136be5d0fe8e: Pull complete 14:28:02 894bfe63afcb: Pull complete 14:28:02 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 14:28:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 14:28:02 prd-centos7-docker-4c-2g-8249 does not seem to be running inside a container 14:28:02 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 14:28:03 $ docker top 6bfc1a00c44e8a7180b5448bf436ea19b0eeadf5c060f6a0138656deb83aa72e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:03 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:b52eb9e4b400164974d679b086349643dc0ae83f 14:28:03 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 14:28:08 $ docker stop --time=1 6bfc1a00c44e8a7180b5448bf436ea19b0eeadf5c060f6a0138656deb83aa72e 14:28:09 $ docker rm -f 6bfc1a00c44e8a7180b5448bf436ea19b0eeadf5c060f6a0138656deb83aa72e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 14:28:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 14:28:10 . [Pipeline] withDockerContainer 14:28:10 prd-centos7-docker-4c-2g-8249 does not seem to be running inside a container 14:28: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 14:28:10 $ docker top 4b4881d1f66ecee646036416ecf5edc3e39c216779df8064b6ebb4e6cc6eb219 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:11 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:b52eb9e4b400164974d679b086349643dc0ae83f 14:28:11 + tee 14:28:11 clair timeout 1m0s 14:28:11 docker timeout: 1m0s 14:28:11 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 14:28:12 $ docker stop --time=1 4b4881d1f66ecee646036416ecf5edc3e39c216779df8064b6ebb4e6cc6eb219 14:28:13 $ docker rm -f 4b4881d1f66ecee646036416ecf5edc3e39c216779df8064b6ebb4e6cc6eb219 [Pipeline] // withDockerContainer [Pipeline] sh 14:28:13 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 14:28:13 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go_b52eb9e4b400164974d679b086349643dc0ae83f.html [Pipeline] writeFile [Pipeline] step 14:28:13 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 14:28:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 14:28:14 . [Pipeline] withDockerContainer 14:28:14 prd-centos7-docker-4c-2g-8249 does not seem to be running inside a container 14:28:14 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 14:28:14 $ docker top eb6ecef37657c594f53078d1ef53e8ad0d69c2677074150161b1985e98987a1f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:15 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:b52eb9e4b400164974d679b086349643dc0ae83f 14:28:15 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 14:28:18 $ docker stop --time=1 eb6ecef37657c594f53078d1ef53e8ad0d69c2677074150161b1985e98987a1f 14:28:20 $ docker rm -f eb6ecef37657c594f53078d1ef53e8ad0d69c2677074150161b1985e98987a1f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 14:28:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 14:28:20 . [Pipeline] withDockerContainer 14:28:20 prd-centos7-docker-4c-2g-8249 does not seem to be running inside a container 14:28:20 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 14:28:21 $ docker top 73f0fdedef6941d4c81e0083ab0b095f09b1eb48649d452461c50345d403215e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:22 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:b52eb9e4b400164974d679b086349643dc0ae83f 14:28:22 + tee 14:28:22 clair timeout 1m0s 14:28:22 docker timeout: 1m0s 14:28:22 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 14:28:22 $ docker stop --time=1 73f0fdedef6941d4c81e0083ab0b095f09b1eb48649d452461c50345d403215e 14:28:24 $ docker rm -f 73f0fdedef6941d4c81e0083ab0b095f09b1eb48649d452461c50345d403215e [Pipeline] // withDockerContainer [Pipeline] sh 14:28:24 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 14:28:24 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go-arm64_b52eb9e4b400164974d679b086349643dc0ae83f.html [Pipeline] writeFile [Pipeline] step 14:28:24 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 14:28:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:28:25 . [Pipeline] withDockerContainer 14:28:25 prd-centos7-docker-4c-2g-8249 does not seem to be running inside a container 14:28:25 $ 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 14:28:26 $ docker top 1873ef8024eb7d38c36f7e5875e0b17016c7641e7cd65c39b1df97f73abf2bd8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:28:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:28:26 [ssh-agent] Looking for ssh-agent implementation... 14:28:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:28:26 $ docker exec 1873ef8024eb7d38c36f7e5875e0b17016c7641e7cd65c39b1df97f73abf2bd8 ssh-agent 14:28:26 SSH_AUTH_SOCK=/tmp/ssh-SJ4gy7Nqwcpt/agent.14 14:28:26 SSH_AGENT_PID=21 14:28:26 Running ssh-add (command line suppressed) 14:28:27 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8662710278794879454.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8662710278794879454.key) 14:28:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:28:27 + git semver tag 14:28:27 # -> Open(): unable to determine branch for HEAD 14:28:27 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 14:28:27 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 14:28:27 # $SEMVER_REMOTE_NAME = origin 14:28:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:28:27 # $SEMVER_USER_NAME = edgex-jenkins 14:28:27 # $SEMVER_BRANCH = master 14:28:27 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 14:28:27 # b52eb9e4b400164974d679b086349643dc0ae83f HEAD 14:28:27 # -> Force: false 14:28:27 # 16dd28774fd54f102ad360238158f061838af1ba refs/tags/v1.2.0-dev.13 [Pipeline] } 14:28:27 $ docker exec --env ******** --env ******** 1873ef8024eb7d38c36f7e5875e0b17016c7641e7cd65c39b1df97f73abf2bd8 ssh-agent -k 14:28:27 unset SSH_AUTH_SOCK; 14:28:27 unset SSH_AGENT_PID; 14:28:27 echo Agent pid 21 killed; 14:28:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:28:28 + git semver [Pipeline] } 14:28:28 $ docker stop --time=1 1873ef8024eb7d38c36f7e5875e0b17016c7641e7cd65c39b1df97f73abf2bd8 14:28:29 $ docker rm -f 1873ef8024eb7d38c36f7e5875e0b17016c7641e7cd65c39b1df97f73abf2bd8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:28:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:28:30 14:28:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:28:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:28:30 0.23.1-centos7: Pulling from edgex-lftools 14:28:30 ab5ef0e58194: Pulling fs layer 14:28:30 9712f1f96733: Pulling fs layer 14:28:30 63f879dbbcfc: Pulling fs layer 14:28:30 0d9ebad4ef96: Pulling fs layer 14:28:30 e9a5061849ea: Pulling fs layer 14:28:30 d747dcd14b5f: Pulling fs layer 14:28:30 2de7ff778b66: Pulling fs layer 14:28:30 0d9ebad4ef96: Waiting 14:28:30 e9a5061849ea: Waiting 14:28:30 d747dcd14b5f: Waiting 14:28:30 2de7ff778b66: Waiting 14:28:30 9712f1f96733: Download complete 14:28:31 63f879dbbcfc: Verifying Checksum 14:28:31 63f879dbbcfc: Download complete 14:28:31 e9a5061849ea: Verifying Checksum 14:28:31 e9a5061849ea: Download complete 14:28:31 d747dcd14b5f: Verifying Checksum 14:28:31 d747dcd14b5f: Download complete 14:28:31 2de7ff778b66: Verifying Checksum 14:28:31 2de7ff778b66: Download complete 14:28:31 0d9ebad4ef96: Verifying Checksum 14:28:31 0d9ebad4ef96: Download complete 14:28:31 ab5ef0e58194: Verifying Checksum 14:28:31 ab5ef0e58194: Download complete 14:28:36 ab5ef0e58194: Pull complete 14:28:36 9712f1f96733: Pull complete 14:28:39 63f879dbbcfc: Pull complete 14:28:46 0d9ebad4ef96: Pull complete 14:28:46 e9a5061849ea: Pull complete 14:28:46 d747dcd14b5f: Pull complete 14:28:49 2de7ff778b66: Pull complete 14:28:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:28:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:28:49 prd-centos7-docker-4c-2g-8249 does not seem to be running inside a container 14:28: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:28:51 $ docker top 09732357e5450610ffdd66662b4cf18b6df93030beb1c2774a6691e553ad535c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:28:51 provisioning config files... 14:28:51 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3071980867775779266tmp 14:28:51 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8855356168067189477tmp 14:28:51 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2361842458672505058tmp [Pipeline] { [Pipeline] echo 14:28:51 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:28:51 ---> sigul-configuration.sh 14:28:51 gpg: directory `/root/.gnupg' created 14:28:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:28:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:28:51 gpg: keyring `/root/.gnupg/secring.gpg' created 14:28:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:28:51 gpg: CAST5 encrypted data 14:28:52 gpg: encrypted with 1 passphrase 14:28:52 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:28:52 + mkdir /home/jenkins 14:28:52 + mkdir /home/jenkins/sigul [Pipeline] sh 14:28:52 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 14:28:52 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:28:52 ---> sigul-install.sh 14:28:57 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 14:28:57 + git tag --list 14:28:57 v1.2.0-dev.13 [Pipeline] sh 14:28:57 + lftools sign git-tag v1.2.0-dev.13 14:28:58 Signing Git tag with Sigul... 14:28:58 Signing v1.2.0-dev.13 [Pipeline] echo 14:29:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:29:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:29:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:29:00 $ docker stop --time=1 09732357e5450610ffdd66662b4cf18b6df93030beb1c2774a6691e553ad535c 14:29:02 $ docker rm -f 09732357e5450610ffdd66662b4cf18b6df93030beb1c2774a6691e553ad535c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 14:29:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:29:03 . [Pipeline] withDockerContainer 14:29:03 prd-centos7-docker-4c-2g-8249 does not seem to be running inside a container 14:29:03 $ 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 14:29:04 $ docker top 1a4513e34f4b22a3f2571bf2d78d306af50b84e68bcd3ca733c183d3136e6608 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:29:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:29:04 [ssh-agent] Looking for ssh-agent implementation... 14:29:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:29:04 $ docker exec 1a4513e34f4b22a3f2571bf2d78d306af50b84e68bcd3ca733c183d3136e6608 ssh-agent 14:29:04 SSH_AUTH_SOCK=/tmp/ssh-91r3QAOKk1gx/agent.14 14:29:04 SSH_AGENT_PID=21 14:29:04 Running ssh-add (command line suppressed) 14:29:05 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2112293958045681445.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2112293958045681445.key) 14:29:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:29:05 + git semver bump pre 14:29:05 # -> Open(): unable to determine branch for HEAD 14:29:05 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 14:29:05 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 14:29:05 # $SEMVER_REMOTE_NAME = origin 14:29:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:29:05 # $SEMVER_USER_NAME = edgex-jenkins 14:29:05 # $SEMVER_BRANCH = master 14:29:05 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 14:29:05 1.2.0-dev.14 [Pipeline] } 14:29:05 $ docker exec --env ******** --env ******** 1a4513e34f4b22a3f2571bf2d78d306af50b84e68bcd3ca733c183d3136e6608 ssh-agent -k 14:29:05 unset SSH_AUTH_SOCK; 14:29:05 unset SSH_AGENT_PID; 14:29:05 echo Agent pid 21 killed; 14:29:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:29:06 + git semver [Pipeline] } 14:29:06 $ docker stop --time=1 1a4513e34f4b22a3f2571bf2d78d306af50b84e68bcd3ca733c183d3136e6608 14:29:07 $ docker rm -f 1a4513e34f4b22a3f2571bf2d78d306af50b84e68bcd3ca733c183d3136e6608 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 14:29:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:29:07 . [Pipeline] withDockerContainer 14:29:08 prd-centos7-docker-4c-2g-8249 does not seem to be running inside a container 14:29:08 $ 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 14:29:08 $ docker top c4aaee262cf1872f5c15d3cd4ee429f5a020ac819edc608c099e44ae3c921740 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:29:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:29:08 [ssh-agent] Looking for ssh-agent implementation... 14:29:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:29:09 $ docker exec c4aaee262cf1872f5c15d3cd4ee429f5a020ac819edc608c099e44ae3c921740 ssh-agent 14:29:09 SSH_AUTH_SOCK=/tmp/ssh-gWo376362Wyk/agent.15 14:29:09 SSH_AGENT_PID=21 14:29:09 Running ssh-add (command line suppressed) 14:29:09 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_7423926455827676744.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_7423926455827676744.key) 14:29:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:29:09 + git semver push 14:29:09 # -> Open(): unable to determine branch for HEAD 14:29:09 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 14:29:09 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 14:29:09 # $SEMVER_REMOTE_NAME = origin 14:29:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:29:09 # $SEMVER_USER_NAME = edgex-jenkins 14:29:09 # $SEMVER_BRANCH = master 14:29:09 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 14:29:16 $ docker exec --env ******** --env ******** c4aaee262cf1872f5c15d3cd4ee429f5a020ac819edc608c099e44ae3c921740 ssh-agent -k 14:29:16 unset SSH_AUTH_SOCK; 14:29:16 unset SSH_AGENT_PID; 14:29:16 echo Agent pid 21 killed; 14:29:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:29:16 + git semver [Pipeline] } 14:29:16 $ docker stop --time=1 c4aaee262cf1872f5c15d3cd4ee429f5a020ac819edc608c099e44ae3c921740 14:29:18 $ docker rm -f c4aaee262cf1872f5c15d3cd4ee429f5a020ac819edc608c099e44ae3c921740 [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 14:29:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:29:19 ---> package-listing.sh 14:29:19 ++ facter osfamily 14:29:19 ++ tr '[:upper:]' '[:lower:]' 14:29:19 + OS_FAMILY=redhat 14:29:19 + workspace=/w/workspace/foundry_device-virtual-go_master 14:29:19 + START_PACKAGES=/tmp/packages_start.txt 14:29:19 + END_PACKAGES=/tmp/packages_end.txt 14:29:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:29:19 + PACKAGES=/tmp/packages_start.txt 14:29:19 + '[' /w/workspace/foundry_device-virtual-go_master ']' 14:29:19 + PACKAGES=/tmp/packages_end.txt 14:29:19 + case "${OS_FAMILY}" in 14:29:19 + rpm -qa 14:29:19 + sort 14:29:23 + '[' -f /tmp/packages_start.txt ']' 14:29:23 + '[' -f /tmp/packages_end.txt ']' 14:29:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:29:23 + '[' /w/workspace/foundry_device-virtual-go_master ']' 14:29:23 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 14:29:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 14:29:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:29:24 14:29:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:29:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:29:24 alpine: Pulling from edgex-lftools-log-publisher 14:29:24 c9b1b535fdd9: Pulling fs layer 14:29:24 2cc5ad85d9ab: Pulling fs layer 14:29:24 756a868c4378: Pulling fs layer 14:29:24 444b2fc9a129: Pulling fs layer 14:29:24 ea15f1150254: Pulling fs layer 14:29:24 41b27a9f41bf: Pulling fs layer 14:29:24 28c525ee5125: Pulling fs layer 14:29:24 094b1ea09ed8: Pulling fs layer 14:29:24 138eaada9080: Pulling fs layer 14:29:24 0622d0fa9048: Pulling fs layer 14:29:24 28c525ee5125: Waiting 14:29:24 094b1ea09ed8: Waiting 14:29:24 0622d0fa9048: Waiting 14:29:24 ea15f1150254: Waiting 14:29:24 41b27a9f41bf: Waiting 14:29:24 2cc5ad85d9ab: Download complete 14:29:24 444b2fc9a129: Download complete 14:29:24 c9b1b535fdd9: Verifying Checksum 14:29:24 c9b1b535fdd9: Download complete 14:29:24 ea15f1150254: Verifying Checksum 14:29:24 ea15f1150254: Download complete 14:29:24 28c525ee5125: Verifying Checksum 14:29:24 28c525ee5125: Download complete 14:29:25 756a868c4378: Verifying Checksum 14:29:25 756a868c4378: Download complete 14:29:25 138eaada9080: Verifying Checksum 14:29:25 138eaada9080: Download complete 14:29:25 094b1ea09ed8: Verifying Checksum 14:29:25 094b1ea09ed8: Download complete 14:29:25 0622d0fa9048: Verifying Checksum 14:29:25 0622d0fa9048: Download complete 14:29:26 41b27a9f41bf: Verifying Checksum 14:29:26 41b27a9f41bf: Download complete 14:29:26 c9b1b535fdd9: Pull complete 14:29:26 2cc5ad85d9ab: Pull complete 14:29:28 756a868c4378: Pull complete 14:29:28 444b2fc9a129: Pull complete 14:29:28 ea15f1150254: Pull complete 14:29:31 41b27a9f41bf: Pull complete 14:29:32 28c525ee5125: Pull complete 14:29:34 094b1ea09ed8: Pull complete 14:29:34 138eaada9080: Pull complete 14:29:34 0622d0fa9048: Pull complete 14:29:34 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:29:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:29:34 prd-centos7-docker-4c-2g-8249 does not seem to be running inside a container 14:29:34 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:29:35 $ docker top 82f9f403e21e11ef36ce9f04f4bfa1469fb9c049286a31ff60660cf421453fc3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:29:35 provisioning config files... 14:29:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config906266959640175983tmp [Pipeline] { [Pipeline] echo 14:29:35 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:29:35 ---> create-netrc.sh [Pipeline] echo 14:29:35 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:29:36 ---> logs-deploy.sh 14:29:36 + ARCHIVE_ARTIFACTS= 14:29:36 + LOGS_SERVER=https://logs.edgexfoundry.org 14:29:36 + '[' https://logs.edgexfoundry.org == None ']' 14:29:36 + NEXUS_URL=https://nexus.edgexfoundry.org 14:29:36 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/13 14:29:36 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/13/ 14:29:36 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/13 /w/workspace/foundry_device-virtual-go_master 14:29:37 Archives upload complete. 14:29:37 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/13 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/13/