Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c582d469887cd834f9d5759aa0528599fd84ba45 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d 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 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d # timeout=10 Commit message: "Merge pull request #173 from ernestojeda/bugfix-did-change-prev" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6561 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 Fetching 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 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision c582d469887cd834f9d5759aa0528599fd84ba45 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f c582d469887cd834f9d5759aa0528599fd84ba45 # timeout=10 Commit message: "Merge pull request #108 from hahattan/issue-107" > git rev-list --no-walk e7f9ff51e6b7bf63f98b06cfff173905ed9763b5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:02:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:02:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:02:07 ========================================================= 05:02:07 EdgeX Global Pipelines Version Info 05:02:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:02:08 ------------------- 05:02:08 stable info: 05:02:08 ------------------- 05:02:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:02:08 Commit SHA: 997776a94285dd80d478e4f0c197496148fdc64f 05:02:08 Message: update stable to v1.0.86 05:02:09 ------------------- 05:02:09 experimental info: 05:02:09 ------------------- 05:02:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:02:09 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 05:02:09 Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 05:02:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:02:11 05:02:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:02:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:02:11 latest: Pulling from edgex-devops/git-semver 05:02:11 9123ac7c32f7: Pulling fs layer 05:02:11 b8cc5d1170e3: Pulling fs layer 05:02:11 2924cbbf6a41: Pulling fs layer 05:02:11 93b08a4f1073: Pulling fs layer 05:02:11 93b08a4f1073: Waiting 05:02:11 b8cc5d1170e3: Verifying Checksum 05:02:11 b8cc5d1170e3: Download complete 05:02:12 9123ac7c32f7: Verifying Checksum 05:02:12 9123ac7c32f7: Download complete 05:02:12 93b08a4f1073: Verifying Checksum 05:02:12 93b08a4f1073: Download complete 05:02:12 2924cbbf6a41: Verifying Checksum 05:02:12 2924cbbf6a41: Download complete 05:02:12 9123ac7c32f7: Pull complete 05:02:12 b8cc5d1170e3: Pull complete 05:02:13 2924cbbf6a41: Pull complete 05:02:13 93b08a4f1073: Pull complete 05:02:13 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 05:02:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:02:13 prd-centos7-docker-4c-2g-6561 does not seem to be running inside a container 05:02:13 $ 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 05:02:14 $ docker top 9b55a522bcdd75d7ff3b8d437fbb96163ed32d949f2074638d250c56924ec522 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:02:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:02:14 [ssh-agent] Looking for ssh-agent implementation... 05:02:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:02:14 $ docker exec 9b55a522bcdd75d7ff3b8d437fbb96163ed32d949f2074638d250c56924ec522 ssh-agent 05:02:14 SSH_AUTH_SOCK=/tmp/ssh-40hGNa4HFmdk/agent.14 05:02:14 SSH_AGENT_PID=20 05:02:14 Running ssh-add (command line suppressed) 05:02:14 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_210674467509603806.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_210674467509603806.key) 05:02:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:02:15 + git describe --exact-match --tags HEAD 05:02:15 fatal: No names found, cannot describe anything. [Pipeline] } 05:02:15 $ docker exec --env ******** --env ******** 9b55a522bcdd75d7ff3b8d437fbb96163ed32d949f2074638d250c56924ec522 ssh-agent -k 05:02:15 unset SSH_AUTH_SOCK; 05:02:15 unset SSH_AGENT_PID; 05:02:15 echo Agent pid 20 killed; 05:02:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:02:15 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:02:15 This usually means this commit has not been tagged. [Pipeline] sshagent 05:02:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:02:15 [ssh-agent] Looking for ssh-agent implementation... 05:02:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:02:15 $ docker exec 9b55a522bcdd75d7ff3b8d437fbb96163ed32d949f2074638d250c56924ec522 ssh-agent 05:02:16 SSH_AUTH_SOCK=/tmp/ssh-dizO1HEGlwk0/agent.55 05:02:16 SSH_AGENT_PID=62 05:02:16 Running ssh-add (command line suppressed) 05:02:16 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1258677165459928943.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1258677165459928943.key) 05:02:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:02:16 + git semver init 05:02:16 # -> Open(): unable to determine branch for HEAD 05:02:16 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 05:02:16 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 05:02:16 # $SEMVER_REMOTE_NAME = origin 05:02:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:02:16 # $SEMVER_USER_NAME = edgex-jenkins 05:02:16 # $SEMVER_BRANCH = master 05:02:16 # $SEMVER_TEMP = /tmp/semver-281812507 05:02:16 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 05:02:17 # '/tmp/semver-281812507' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 05:02:17 # -> Force: false 05:02:17 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 05:02:17 $ docker exec --env ******** --env ******** 9b55a522bcdd75d7ff3b8d437fbb96163ed32d949f2074638d250c56924ec522 ssh-agent -k 05:02:17 unset SSH_AUTH_SOCK; 05:02:17 unset SSH_AGENT_PID; 05:02:17 echo Agent pid 62 killed; 05:02:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:02:17 + git semver [Pipeline] } 05:02:17 $ docker stop --time=1 9b55a522bcdd75d7ff3b8d437fbb96163ed32d949f2074638d250c56924ec522 05:02:19 $ docker rm -f 9b55a522bcdd75d7ff3b8d437fbb96163ed32d949f2074638d250c56924ec522 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:02:20 Stashed 24 file(s) [Pipeline] echo 05:02:20 [edgeXSemver] initialized semver on version 1.2.0-dev.12 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:02:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6558 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 05:02:20 Running in /w/workspace/device-virtual-go/12 [Pipeline] { [Pipeline] checkout 05:02:24 using credential edgex-jenkins-ssh 05:02:24 Cloning the remote Git repository 05:02:24 Cloning with configured refspecs honoured and without tags 05:02:24 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:02:25 > git init /w/workspace/device-virtual-go/12 # timeout=10 05:02:25 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:02:25 > git --version # timeout=10 05:02:25 using GIT_SSH to set credentials SSH Credentials for GitHub 05:02:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:02:25 Fetching without tags 05:02:26 Checking out Revision c582d469887cd834f9d5759aa0528599fd84ba45 (master) 05:02:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:02:25 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:02:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:02:25 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:02:25 using GIT_SSH to set credentials SSH Credentials for GitHub 05:02:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:02:26 > git config core.sparsecheckout # timeout=10 05:02:26 > git checkout -f c582d469887cd834f9d5759aa0528599fd84ba45 # timeout=10 05:02:30 Commit message: "Merge pull request #108 from hahattan/issue-107" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:02:31 ========================================================= 05:02:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 05:02:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:02:32 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 05:02:33 Sending build context to Docker daemon 508.9kB 05:02:33 Step 1/8 : ARG BASE=golang:1.13-alpine 05:02:33 Step 2/8 : FROM ${BASE} 05:02:33 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:02:33 cde5963f3b93: Pulling fs layer 05:02:33 2a23fa8c16f7: Pulling fs layer 05:02:33 777b28850792: Pulling fs layer 05:02:33 8a11ddd9e578: Pulling fs layer 05:02:33 4cf88f913ddb: Pulling fs layer 05:02:33 1df406cf5192: Pulling fs layer 05:02:33 cd6300453558: Pulling fs layer 05:02:33 b9c365052c96: Pulling fs layer 05:02:33 a2d8cc88f415: Pulling fs layer 05:02:33 ea1d1ca13537: Pulling fs layer 05:02:33 3750a50a1c5e: Pulling fs layer 05:02:33 cd6300453558: Waiting 05:02:33 ea1d1ca13537: Waiting 05:02:33 8a11ddd9e578: Waiting 05:02:33 3750a50a1c5e: Waiting 05:02:33 4cf88f913ddb: Waiting 05:02:33 b9c365052c96: Waiting 05:02:33 1df406cf5192: Waiting 05:02:33 a2d8cc88f415: Waiting 05:02:33 777b28850792: Download complete 05:02:33 2a23fa8c16f7: Download complete 05:02:33 4cf88f913ddb: Download complete 05:02:33 1df406cf5192: Verifying Checksum 05:02:33 1df406cf5192: Download complete 05:02:34 cde5963f3b93: Download complete 05:02:34 cde5963f3b93: Pull complete 05:02:35 2a23fa8c16f7: Pull complete 05:02:35 777b28850792: Pull complete 05:02:35 Still waiting to schedule task 05:02:35 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:02:38 cd6300453558: Verifying Checksum 05:02:38 cd6300453558: Download complete 05:02:38 a2d8cc88f415: Verifying Checksum 05:02:38 a2d8cc88f415: Download complete 05:02:40 ea1d1ca13537: Verifying Checksum 05:02:40 ea1d1ca13537: Download complete 05:02:40 3750a50a1c5e: Verifying Checksum 05:02:40 3750a50a1c5e: Download complete 05:02:43 b9c365052c96: Download complete 05:02:44 8a11ddd9e578: Verifying Checksum 05:02:44 8a11ddd9e578: Download complete 05:02:57 8a11ddd9e578: Pull complete 05:02:57 4cf88f913ddb: Pull complete 05:02:57 1df406cf5192: Pull complete 05:03:01 cd6300453558: Pull complete 05:03:06 b9c365052c96: Pull complete 05:03:06 a2d8cc88f415: Pull complete 05:03:08 ea1d1ca13537: Pull complete 05:03:08 3750a50a1c5e: Pull complete 05:03:08 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 05:03:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 05:03:08 ---> 78745c68409d 05:03:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 05:03:13 ---> Running in 9abb11648923 05:03:13 Removing intermediate container 9abb11648923 05:03:13 ---> 9b3c567fc6f7 05:03:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:03:13 ---> Running in ccf21bc0651b 05:03:14 Removing intermediate container ccf21bc0651b 05:03:14 ---> 57f5a0440bbc 05:03:14 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 05:03:15 ---> Running in 9678b45c40d2 05:03:16 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:03:16 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:03:17 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 05:03:17 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 05:03:17 (3/18) Installing libmagic (5.37-r1) 05:03:17 (4/18) Installing file (5.37-r1) 05:03:17 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 05:03:17 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 05:03:17 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 05:03:19 (8/18) Installing libc-dev (0.7.2-r0) 05:03:19 (9/18) Installing g++ (9.2.0-r4) 05:03:21 (10/18) Installing fortify-headers (1.1-r0) 05:03:21 (11/18) Installing build-base (0.5-r1) 05:03:21 (12/18) Installing openssh-keygen (8.1_p1-r0) 05:03:21 (13/18) Installing libedit (20191211.3.1-r0) 05:03:22 (14/18) Installing openssh-client (8.1_p1-r0) 05:03:22 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 05:03:22 (16/18) Installing openssh-server-common (8.1_p1-r0) 05:03:22 (17/18) Installing openssh-server (8.1_p1-r0) 05:03:22 (18/18) Installing openssh (8.1_p1-r0) 05:03:22 Executing busybox-1.31.1-r8.trigger 05:03:22 OK: 203 MiB in 52 packages 05:03:29 Removing intermediate container 9678b45c40d2 05:03:29 ---> 61889541d06a 05:03:29 Step 6/8 : WORKDIR /device-virtual-go 05:03:29 ---> Running in 449126552de8 05:03:29 Removing intermediate container 449126552de8 05:03:29 ---> a22502978e32 05:03:29 Step 7/8 : COPY . . 05:03:30 ---> 4dbe3959aa8d 05:03:30 Step 8/8 : RUN go mod download 05:03:30 ---> Running in 75034944d8b3 05:03:32 go: finding github.com/BurntSushi/toml v0.3.1 05:03:32 go: finding github.com/OneOfOne/xxhash v1.2.6 05:03:32 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:03:32 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:03:32 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:03:32 go: finding github.com/bgentry/speakeasy v0.1.0 05:03:32 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:03:32 go: finding github.com/davecgh/go-spew v1.1.1 05:03:32 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 05:03:32 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 05:03:32 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:03:32 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 05:03:32 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 05:03:32 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:03:32 go: finding github.com/edsrzf/mmap-go v1.0.0 05:03:32 go: finding github.com/fatih/color v1.7.0 05:03:32 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:03:32 go: finding github.com/go-kit/kit v0.8.0 05:03:32 go: finding github.com/go-logfmt/logfmt v0.4.0 05:03:32 go: finding github.com/go-stack/stack v1.8.0 05:03:32 go: finding github.com/golang/snappy v0.0.1 05:03:32 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:03:32 go: finding github.com/google/uuid v1.1.0 05:03:32 go: finding github.com/gorilla/mux v1.7.1 05:03:32 go: finding github.com/hashicorp/consul/api v1.1.0 05:03:32 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:03:32 go: finding github.com/hashicorp/errwrap v1.0.0 05:03:32 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:03:32 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:03:32 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:03:32 go: finding github.com/hashicorp/go-multierror v1.0.0 05:03:32 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:03:32 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:03:32 go: finding github.com/hashicorp/go-syslog v1.0.0 05:03:32 go: finding github.com/hashicorp/go-uuid v1.0.1 05:03:32 go: finding github.com/hashicorp/go.net v0.0.1 05:03:32 go: finding github.com/hashicorp/golang-lru v0.5.0 05:03:32 go: finding github.com/hashicorp/logutils v1.0.0 05:03:32 go: finding github.com/hashicorp/mdns v1.0.0 05:03:32 go: finding github.com/hashicorp/memberlist v0.1.3 05:03:32 go: finding github.com/hashicorp/serf v0.8.2 05:03:32 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:03:32 go: finding github.com/mattn/go-colorable v0.0.9 05:03:32 go: finding github.com/mattn/go-isatty v0.0.3 05:03:32 go: finding github.com/miekg/dns v1.0.14 05:03:32 go: finding github.com/mitchellh/cli v1.0.0 05:03:32 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:03:32 go: finding github.com/mitchellh/copystructure v1.0.0 05:03:32 go: finding github.com/mitchellh/go-homedir v1.0.0 05:03:32 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:03:32 go: finding github.com/mitchellh/gox v0.4.0 05:03:32 go: finding github.com/mitchellh/iochan v1.0.0 05:03:32 go: finding github.com/mitchellh/mapstructure v1.1.2 05:03:32 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:03:32 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:03:32 go: finding github.com/pelletier/go-toml v1.2.0 05:03:32 go: finding github.com/pkg/errors v0.8.1 05:03:32 go: finding github.com/pmezard/go-difflib v1.0.0 05:03:32 go: finding github.com/posener/complete v1.1.1 05:03:32 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 05:03:32 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:03:32 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:03:32 go: finding github.com/stretchr/objx v0.1.0 05:03:32 go: finding github.com/stretchr/testify v1.5.1 05:03:32 go: finding github.com/ugorji/go v1.1.4 05:03:32 go: finding github.com/x448/float16 v0.8.4 05:03:33 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:03:33 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:03:33 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:03:33 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 05:03:33 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:03:33 go: finding gopkg.in/yaml.v2 v2.2.8 05:03:33 go: finding modernc.org/b v1.0.0 05:03:33 go: finding modernc.org/db v1.0.0 05:03:33 go: finding modernc.org/file v1.0.0 05:03:33 go: finding modernc.org/fileutil v1.0.0 05:03:33 go: finding modernc.org/golex v1.0.0 05:03:33 go: finding modernc.org/internal v1.0.0 05:03:33 go: finding modernc.org/lldb v1.0.0 05:03:33 go: finding modernc.org/mathutil v1.0.0 05:03:33 go: finding modernc.org/ql v1.0.0 05:03:33 go: finding modernc.org/sortutil v1.0.0 05:03:33 go: finding modernc.org/strutil v1.0.0 05:03:33 go: finding modernc.org/zappy v1.0.0 05:03:43 Removing intermediate container 75034944d8b3 05:03:43 ---> 452be99b8241 05:03:43 Successfully built 452be99b8241 05:03:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:03:43 + docker inspect -f . ci-base-image-arm64 05:03:44 . [Pipeline] withDockerContainer 05:03:44 prd-ubuntu18.04-docker-arm64-4c-16g-6558 does not seem to be running inside a container 05:03:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/12 -v /w/workspace/device-virtual-go/12:/w/workspace/device-virtual-go/12:rw,z -v /w/workspace/device-virtual-go/12@tmp:/w/workspace/device-virtual-go/12@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 ******** ci-base-image-arm64 cat 05:03:46 $ docker top 97c0e16e21244d087e83a23f97654cff75f59e58affa4998d201e0d4c3d5c500 -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:47 + go version 05:03:47 go version go1.13.5 linux/arm64 [Pipeline] sh 05:03:47 + make test 05:03:47 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:03:49 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:04:28 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:05:03 Running on prd-centos7-docker-4c-2g-6563 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 05:05:03 Running in /w/workspace/device-virtual-go/12 [Pipeline] { [Pipeline] checkout 05:05:05 using credential edgex-jenkins-ssh 05:05:05 Cloning the remote Git repository 05:05:05 Cloning with configured refspecs honoured and without tags 05:05:05 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:05:05 > git init /w/workspace/device-virtual-go/12 # timeout=10 05:05:05 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:05:05 > git --version # timeout=10 05:05:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:06 Fetching without tags 05:05:06 Checking out Revision c582d469887cd834f9d5759aa0528599fd84ba45 (master) 05:05:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:05:06 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:05:06 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:05:06 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:05:06 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:05:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:05:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:05:06 > git config core.sparsecheckout # timeout=10 05:05:06 > git checkout -f c582d469887cd834f9d5759aa0528599fd84ba45 # timeout=10 05:05:10 Commit message: "Merge pull request #108 from hahattan/issue-107" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:05:11 ========================================================= 05:05:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 05:05:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:05:11 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 05:05:11 Sending build context to Docker daemon 508.9kB 05:05:11 Step 1/8 : ARG BASE=golang:1.13-alpine 05:05:11 Step 2/8 : FROM ${BASE} 05:05:12 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 05:05:12 e6b0cf9c0882: Pulling fs layer 05:05:12 2848faf0eed1: Pulling fs layer 05:05:12 0f37312ad70f: Pulling fs layer 05:05:12 5788d62ee057: Pulling fs layer 05:05:12 0e6b1d234666: Pulling fs layer 05:05:12 bf5d7aec512f: Pulling fs layer 05:05:12 34c802a77dc8: Pulling fs layer 05:05:12 9eb99e56ec68: Pulling fs layer 05:05:12 27c7a5d97fbd: Pulling fs layer 05:05:12 5c102a31e300: Pulling fs layer 05:05:12 dcfb455df0a1: Pulling fs layer 05:05:12 34c802a77dc8: Waiting 05:05:12 9eb99e56ec68: Waiting 05:05:12 27c7a5d97fbd: Waiting 05:05:12 5c102a31e300: Waiting 05:05:12 5788d62ee057: Waiting 05:05:12 0e6b1d234666: Waiting 05:05:12 bf5d7aec512f: Waiting 05:05:12 dcfb455df0a1: Waiting 05:05:12 0f37312ad70f: Verifying Checksum 05:05:12 0f37312ad70f: Download complete 05:05:12 2848faf0eed1: Verifying Checksum 05:05:12 2848faf0eed1: Download complete 05:05:12 0e6b1d234666: Verifying Checksum 05:05:12 0e6b1d234666: Download complete 05:05:12 bf5d7aec512f: Verifying Checksum 05:05:12 bf5d7aec512f: Download complete 05:05:12 e6b0cf9c0882: Verifying Checksum 05:05:12 e6b0cf9c0882: Download complete 05:05:12 e6b0cf9c0882: Pull complete 05:05:12 34c802a77dc8: Verifying Checksum 05:05:12 34c802a77dc8: Download complete 05:05:12 27c7a5d97fbd: Verifying Checksum 05:05:12 27c7a5d97fbd: Download complete 05:05:13 5c102a31e300: Verifying Checksum 05:05:13 5c102a31e300: Download complete 05:05:13 9eb99e56ec68: Verifying Checksum 05:05:13 9eb99e56ec68: Download complete 05:05:13 dcfb455df0a1: Verifying Checksum 05:05:13 dcfb455df0a1: Download complete 05:05:13 5788d62ee057: Verifying Checksum 05:05:13 5788d62ee057: Download complete 05:05:14 2848faf0eed1: Pull complete 05:05:14 0f37312ad70f: Pull complete 05:05:19 5788d62ee057: Pull complete 05:05:19 0e6b1d234666: Pull complete 05:05:19 bf5d7aec512f: Pull complete 05:05:26 34c802a77dc8: Pull complete 05:05:29 9eb99e56ec68: Pull complete 05:05:29 27c7a5d97fbd: Pull complete 05:05:30 5c102a31e300: Pull complete 05:05:30 dcfb455df0a1: Pull complete 05:05:30 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 05:05:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 05:05:30 ---> 7c70fe431013 05:05:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 05:05:30 ---> Running in 3e6cf202c923 05:05:30 Removing intermediate container 3e6cf202c923 05:05:30 ---> bb15e442ce11 05:05:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:30 ---> Running in 9a79b99fae61 05:05:31 Removing intermediate container 9a79b99fae61 05:05:31 ---> 2d2080fcae17 05:05:31 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 05:05:31 ---> Running in 7ed4744f0f69 05:05:32 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:05:33 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:05:33 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 05:05:33 (2/17) Installing libmagic (5.37-r1) 05:05:33 (3/17) Installing file (5.37-r1) 05:05:33 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 05:05:33 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 05:05:33 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 05:05:37 (7/17) Installing libc-dev (0.7.2-r0) 05:05:37 (8/17) Installing g++ (9.2.0-r4) 05:05:39 (9/17) Installing fortify-headers (1.1-r0) 05:05:40 (10/17) Installing build-base (0.5-r1) 05:05:40 (11/17) Installing openssh-keygen (8.1_p1-r0) 05:05:40 (12/17) Installing libedit (20191211.3.1-r0) 05:05:40 (13/17) Installing openssh-client (8.1_p1-r0) 05:05:40 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 05:05:40 (15/17) Installing openssh-server-common (8.1_p1-r0) 05:05:40 (16/17) Installing openssh-server (8.1_p1-r0) 05:05:40 (17/17) Installing openssh (8.1_p1-r0) 05:05:40 Executing busybox-1.31.1-r8.trigger 05:05:40 OK: 214 MiB in 52 packages 05:05:44 Removing intermediate container 7ed4744f0f69 05:05:44 ---> b969a3561191 05:05:44 Step 6/8 : WORKDIR /device-virtual-go 05:05:44 ---> Running in 7fc34bd1cfa3 05:05:44 Removing intermediate container 7fc34bd1cfa3 05:05:44 ---> 5c7e14cafbdc 05:05:44 Step 7/8 : COPY . . 05:05:44 ---> 5bd123d49e8f 05:05:44 Step 8/8 : RUN go mod download 05:05:44 ---> Running in 99112aed58fd 05:05:46 go: finding github.com/BurntSushi/toml v0.3.1 05:05:46 go: finding github.com/OneOfOne/xxhash v1.2.6 05:05:46 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:05:46 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:05:46 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:05:46 go: finding github.com/bgentry/speakeasy v0.1.0 05:05:46 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:05:46 go: finding github.com/davecgh/go-spew v1.1.1 05:05:46 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 05:05:46 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 05:05:46 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:05:46 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 05:05:46 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 05:05:46 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:05:46 go: finding github.com/edsrzf/mmap-go v1.0.0 05:05:46 go: finding github.com/fatih/color v1.7.0 05:05:46 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:05:46 go: finding github.com/go-kit/kit v0.8.0 05:05:46 go: finding github.com/go-logfmt/logfmt v0.4.0 05:05:46 go: finding github.com/go-stack/stack v1.8.0 05:05:46 go: finding github.com/golang/snappy v0.0.1 05:05:46 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:05:46 go: finding github.com/google/uuid v1.1.0 05:05:46 go: finding github.com/gorilla/mux v1.7.1 05:05:46 go: finding github.com/hashicorp/consul/api v1.1.0 05:05:46 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:05:46 go: finding github.com/hashicorp/errwrap v1.0.0 05:05:46 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:05:46 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:05:46 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:05:46 go: finding github.com/hashicorp/go-multierror v1.0.0 05:05:46 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:05:46 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:05:46 go: finding github.com/hashicorp/go-syslog v1.0.0 05:05:46 go: finding github.com/hashicorp/go-uuid v1.0.1 05:05:46 go: finding github.com/hashicorp/go.net v0.0.1 05:05:46 go: finding github.com/hashicorp/golang-lru v0.5.0 05:05:46 go: finding github.com/hashicorp/logutils v1.0.0 05:05:46 go: finding github.com/hashicorp/mdns v1.0.0 05:05:46 go: finding github.com/hashicorp/memberlist v0.1.3 05:05:46 go: finding github.com/hashicorp/serf v0.8.2 05:05:46 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:05:46 go: finding github.com/mattn/go-colorable v0.0.9 05:05:46 go: finding github.com/mattn/go-isatty v0.0.3 05:05:46 go: finding github.com/miekg/dns v1.0.14 05:05:46 go: finding github.com/mitchellh/cli v1.0.0 05:05:46 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:05:46 go: finding github.com/mitchellh/copystructure v1.0.0 05:05:46 go: finding github.com/mitchellh/go-homedir v1.0.0 05:05:46 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:05:46 go: finding github.com/mitchellh/gox v0.4.0 05:05:46 go: finding github.com/mitchellh/iochan v1.0.0 05:05:46 go: finding github.com/mitchellh/mapstructure v1.1.2 05:05:46 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:05:46 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:05:46 go: finding github.com/pelletier/go-toml v1.2.0 05:05:47 go: finding github.com/pkg/errors v0.8.1 05:05:47 go: finding github.com/pmezard/go-difflib v1.0.0 05:05:47 go: finding github.com/posener/complete v1.1.1 05:05:47 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 05:05:47 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:05:47 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:05:47 go: finding github.com/stretchr/objx v0.1.0 05:05:47 go: finding github.com/stretchr/testify v1.5.1 05:05:47 go: finding github.com/ugorji/go v1.1.4 05:05:47 go: finding github.com/x448/float16 v0.8.4 05:05:47 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:05:47 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:05:47 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:05:47 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 05:05:47 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:05:47 go: finding gopkg.in/yaml.v2 v2.2.8 05:05:47 go: finding modernc.org/b v1.0.0 05:05:47 go: finding modernc.org/db v1.0.0 05:05:47 go: finding modernc.org/file v1.0.0 05:05:47 go: finding modernc.org/fileutil v1.0.0 05:05:47 go: finding modernc.org/golex v1.0.0 05:05:47 go: finding modernc.org/internal v1.0.0 05:05:47 go: finding modernc.org/lldb v1.0.0 05:05:47 go: finding modernc.org/mathutil v1.0.0 05:05:47 go: finding modernc.org/ql v1.0.0 05:05:47 go: finding modernc.org/sortutil v1.0.0 05:05:47 go: finding modernc.org/strutil v1.0.0 05:05:47 go: finding modernc.org/zappy v1.0.0 05:05:51 Removing intermediate container 99112aed58fd 05:05:51 ---> 217b9f3fbec1 05:05:51 Successfully built 217b9f3fbec1 05:05:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:05:52 + docker inspect -f . ci-base-image-x86_64 05:05:52 . [Pipeline] withDockerContainer 05:05:52 prd-centos7-docker-4c-2g-6563 does not seem to be running inside a container 05:05:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/12 -v /w/workspace/device-virtual-go/12:/w/workspace/device-virtual-go/12:rw,z -v /w/workspace/device-virtual-go/12@tmp:/w/workspace/device-virtual-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:52 $ docker top 4087882790e47d5d723849d90e4b2ec655c389dd74d2ef6dd1fd1224292e39fb -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:53 + go version 05:05:53 go version go1.13.5 linux/amd64 [Pipeline] sh 05:05:53 + make test 05:05:53 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:05:55 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:06:09 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:07:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 145.134s coverage: 52.7% of statements 05:07:04 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:07:04 gofmt -l . 05:07:04 [ "`gofmt -l .`" = "" ] 05:07:04 ./bin/test-attribution-txt.sh 05:07:04 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:07:05 Stashed 1 file(s) [Pipeline] } 05:07:05 $ docker stop --time=1 97c0e16e21244d087e83a23f97654cff75f59e58affa4998d201e0d4c3d5c500 05:07:06 ok github.com/edgexfoundry/device-virtual-go/internal/driver 51.710s coverage: 52.7% of statements 05:07:06 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:07:06 gofmt -l . 05:07:06 [ "`gofmt -l .`" = "" ] 05:07:06 ./bin/test-attribution-txt.sh 05:07:06 ./bin/test-go-mod-tidy.sh 05:07:07 $ docker rm -f 97c0e16e21244d087e83a23f97654cff75f59e58affa4998d201e0d4c3d5c500 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash 05:07:08 Warning: overwriting stash ‘coverage-report’ [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 05:07:08 Stashed 1 file(s) [Pipeline] } 05:07:08 $ docker stop --time=1 4087882790e47d5d723849d90e4b2ec655c389dd74d2ef6dd1fd1224292e39fb 05:07:10 $ docker rm -f 4087882790e47d5d723849d90e4b2ec655c389dd74d2ef6dd1fd1224292e39fb [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 05:07:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:11 + ls -al . 05:07:11 total 140 05:07:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 29 05:07 . 05:07:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 29 05:02 .. 05:07:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 29 05:02 .git 05:07:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 29 05:02 .github 05:07:11 -rw-rw-r-- 1 jenkins jenkins 258 Apr 29 05:02 .gitignore 05:07:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 29 05:02 .semver 05:07:11 -rw-rw-r-- 1 jenkins jenkins 6432 Apr 29 05:02 Attribution.txt 05:07:11 -rw-rw-r-- 1 jenkins jenkins 1826 Apr 29 05:02 Dockerfile 05:07:11 -rw-rw-r-- 1 jenkins jenkins 957 Apr 29 05:02 Dockerfile.build 05:07:11 -rw-rw-r-- 1 jenkins jenkins 683 Apr 29 05:02 Jenkinsfile 05:07:11 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 29 05:02 LICENSE 05:07:11 -rw-rw-r-- 1 jenkins jenkins 873 Apr 29 05:02 Makefile 05:07:11 -rw-rw-r-- 1 jenkins jenkins 4413 Apr 29 05:02 README.md 05:07:11 -rw-rw-r-- 1 jenkins jenkins 12 Apr 29 05:02 VERSION 05:07:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 29 05:02 bin 05:07:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 29 05:02 cmd 05:07:11 -rw-r--r-- 1 jenkins jenkins 32181 Apr 29 05:06 coverage.out 05:07:11 -rw-r--r-- 1 jenkins jenkins 855 Apr 29 05:07 go.mod 05:07:11 -rw-r--r-- 1 jenkins jenkins 14791 Apr 29 05:07 go.sum 05:07:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 29 05:02 internal 05:07:11 -rw-rw-r-- 1 jenkins jenkins 235 Apr 29 05:02 version.go [Pipeline] isUnix [Pipeline] sh 05:07:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:07:11 + 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=c582d469887cd834f9d5759aa0528599fd84ba45 --label arch=arm64 --label version=1.2.0-dev.12 . 05:07:11 + ls -al . 05:07:11 total 112 05:07:11 drwxrwxr-x. 8 jenkins jenkins 4096 Apr 29 05:07 . 05:07:11 drwxrwxr-x. 4 jenkins jenkins 30 Apr 29 05:05 .. 05:07:11 -rw-rw-r--. 1 jenkins jenkins 6432 Apr 29 05:05 Attribution.txt 05:07:11 drwxrwxr-x. 2 jenkins jenkins 64 Apr 29 05:05 bin 05:07:11 drwxrwxr-x. 3 jenkins jenkins 32 Apr 29 05:05 cmd 05:07:11 -rw-r--r--. 1 jenkins jenkins 32181 Apr 29 05:07 coverage.out 05:07:11 -rw-rw-r--. 1 jenkins jenkins 1826 Apr 29 05:05 Dockerfile 05:07:11 -rw-rw-r--. 1 jenkins jenkins 957 Apr 29 05:05 Dockerfile.build 05:07:11 drwxrwxr-x. 8 jenkins jenkins 162 Apr 29 05:05 .git 05:07:11 drwxrwxr-x. 2 jenkins jenkins 38 Apr 29 05:05 .github 05:07:11 -rw-rw-r--. 1 jenkins jenkins 258 Apr 29 05:05 .gitignore 05:07:11 -rw-r--r--. 1 jenkins jenkins 855 Apr 29 05:07 go.mod 05:07:11 -rw-r--r--. 1 jenkins jenkins 14791 Apr 29 05:07 go.sum 05:07:11 drwxrwxr-x. 3 jenkins jenkins 20 Apr 29 05:05 internal 05:07:11 -rw-rw-r--. 1 jenkins jenkins 683 Apr 29 05:05 Jenkinsfile 05:07:11 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 29 05:05 LICENSE 05:07:11 -rw-rw-r--. 1 jenkins jenkins 873 Apr 29 05:05 Makefile 05:07:11 -rw-rw-r--. 1 jenkins jenkins 4413 Apr 29 05:05 README.md 05:07:11 drwxrwxr-x. 3 jenkins jenkins 44 Apr 29 05:05 .semver 05:07:11 -rw-rw-r--. 1 jenkins jenkins 12 Apr 29 05:02 VERSION 05:07:11 -rw-rw-r--. 1 jenkins jenkins 235 Apr 29 05:05 version.go [Pipeline] isUnix [Pipeline] sh 05:07:12 + 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=c582d469887cd834f9d5759aa0528599fd84ba45 --label arch=amd64 --label version=1.2.0-dev.12 . 05:07:12 Sending build context to Docker daemon 34.13MB 05:07:12 Step 1/21 : ARG BASE=golang:1.13-alpine 05:07:12 Step 2/21 : FROM ${BASE} AS builder 05:07:12 ---> 452be99b8241 05:07:12 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 05:07:12 Sending build context to Docker daemon 34.13MB 05:07:12 Step 1/21 : ARG BASE=golang:1.13-alpine 05:07:12 Step 2/21 : FROM ${BASE} AS builder 05:07:12 ---> 217b9f3fbec1 05:07:12 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 05:07:12 ---> Running in 43b8fc224fc1 05:07:12 Removing intermediate container 43b8fc224fc1 05:07:12 ---> 599553f597fc 05:07:12 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 05:07:12 ---> Running in 2377aff31022 05:07:12 Removing intermediate container 2377aff31022 05:07:12 ---> f10c1b2ed6bc 05:07:12 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 05:07:12 ---> Running in daaa30fae7bc 05:07:12 Removing intermediate container daaa30fae7bc 05:07:12 ---> fd2b59bd8e8a 05:07:12 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:12 ---> Running in db869782acc9 05:07:13 ---> Running in 75d2ab36534c 05:07:13 Removing intermediate container db869782acc9 05:07:13 ---> 4a1ae14225fb 05:07:13 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 05:07:13 ---> Running in 4b1845061eca 05:07:13 Removing intermediate container 75d2ab36534c 05:07:13 ---> 7725aab7b797 05:07:13 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:13 Removing intermediate container 4b1845061eca 05:07:13 ---> d36aeff6703b 05:07:13 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 05:07:13 ---> Running in 7ab46abfce82 05:07:13 ---> Running in d7c96e8a1ce8 05:07:14 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:07:14 Removing intermediate container 7ab46abfce82 05:07:14 ---> d35ad56c14ff 05:07:14 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:14 ---> Running in 1f862be13c2d 05:07:14 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:07:15 OK: 214 MiB in 52 packages 05:07:15 Removing intermediate container d7c96e8a1ce8 05:07:15 ---> 963035d105d9 05:07:15 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 05:07:15 ---> Running in f2604028645a 05:07:15 Removing intermediate container f2604028645a 05:07:15 ---> 721cd924979c 05:07:15 Step 9/21 : COPY . . 05:07:16 ---> f23f628a2a2b 05:07:16 Step 10/21 : ARG MAKE='make build' 05:07:16 Removing intermediate container 1f862be13c2d 05:07:16 ---> 8409b774747e 05:07:16 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:16 ---> Running in 0eece52b510b 05:07:16 ---> Running in ee3c789954c5 05:07:16 Removing intermediate container ee3c789954c5 05:07:16 ---> a2fab11ffa29 05:07:16 Step 11/21 : RUN $MAKE 05:07:16 ---> Running in ec6b937f85b4 05:07:16 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.0-dev.12" -o cmd/device-virtual ./cmd 05:07:17 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:07:17 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:07:18 OK: 203 MiB in 52 packages 05:07:19 Removing intermediate container 0eece52b510b 05:07:19 ---> 47b2bc2a76ae 05:07:19 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 05:07:19 ---> Running in d12132f2889e 05:07:19 Removing intermediate container d12132f2889e 05:07:19 ---> d60b1ca7b4a6 05:07:19 Step 9/21 : COPY . . 05:07:21 ---> 384430e8103c 05:07:21 Step 10/21 : ARG MAKE='make build' 05:07:21 ---> Running in 1f07d1c3390e 05:07:22 Removing intermediate container 1f07d1c3390e 05:07:22 ---> f997db52b7ee 05:07:22 Step 11/21 : RUN $MAKE 05:07:22 ---> Running in 5d385e2e4bf0 05:07:23 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.0-dev.12" -o cmd/device-virtual ./cmd 05:07:27 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:07:31 Removing intermediate container ec6b937f85b4 05:07:31 ---> a39f3bba53ed 05:07:31 Step 12/21 : FROM alpine 05:07:31 latest: Pulling from library/alpine 05:07:31 cbdbe7a5bc2a: Pulling fs layer 05:07:31 cbdbe7a5bc2a: Verifying Checksum 05:07:31 cbdbe7a5bc2a: Download complete 05:07:31 cbdbe7a5bc2a: Pull complete 05:07:31 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 05:07:31 Status: Downloaded newer image for alpine:latest 05:07:31 ---> f70734b6a266 05:07:31 Step 13/21 : ENV APP_PORT=49990 05:07:31 ---> Running in 7371b1476584 05:07:31 Removing intermediate container 7371b1476584 05:07:31 ---> 436f310a760e 05:07:31 Step 14/21 : EXPOSE $APP_PORT 05:07:32 ---> Running in ec0ff5377bbc 05:07:32 Removing intermediate container ec0ff5377bbc 05:07:32 ---> 9b5a4234e86e 05:07:32 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 05:07:32 ---> 400b7501d71f 05:07:32 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 05:07:32 ---> 0d33dd88052f 05:07:32 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 05:07:32 ---> 5deeae727487 05:07:32 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 05:07:32 ---> Running in 783c4c8c6a05 05:07:33 Removing intermediate container 783c4c8c6a05 05:07:33 ---> 66c69ebf74d1 05:07:33 Step 19/21 : LABEL arch=amd64 05:07:33 ---> Running in ee12daf9f2ef 05:07:33 Removing intermediate container ee12daf9f2ef 05:07:33 ---> 3537a6a6c3d2 05:07:33 Step 20/21 : LABEL git_sha=c582d469887cd834f9d5759aa0528599fd84ba45 05:07:33 ---> Running in 3f82d3ebb9e0 05:07:33 Removing intermediate container 3f82d3ebb9e0 05:07:33 ---> bc1f396a8d78 05:07:33 Step 21/21 : LABEL version=1.2.0-dev.12 05:07:33 ---> Running in cce6c1d01bc9 05:07:33 Removing intermediate container cce6c1d01bc9 05:07:33 ---> 86eb2cebc0c6 05:07:33 [Warning] One or more build-args [ARCH] were not consumed 05:07:33 Successfully built 86eb2cebc0c6 05:07:33 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:07:34 provisioning config files... 05:07:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/12@tmp/config5611089582346466877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:34 nexus3.edgexfoundry.org:10001 05:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:34 Configure a credential helper to remove this warning. See 05:07:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:34 05:07:34 Login Succeeded 05:07:34 nexus3.edgexfoundry.org:10002 05:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:34 Configure a credential helper to remove this warning. See 05:07:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:34 05:07:34 Login Succeeded 05:07:34 nexus3.edgexfoundry.org:10003 05:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:35 Configure a credential helper to remove this warning. See 05:07:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:35 05:07:35 Login Succeeded 05:07:35 nexus3.edgexfoundry.org:10004 05:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:35 Configure a credential helper to remove this warning. See 05:07:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:35 05:07:35 Login Succeeded 05:07:35 docker.io 05:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:35 Configure a credential helper to remove this warning. See 05:07:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:35 05:07:35 Login Succeeded [Pipeline] } 05:07:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:07:35 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 05:07:35 c582d469887cd834f9d5759aa0528599fd84ba45 05:07:35 latest 05:07:35 1.2.0-dev.12 05:07:35 c582d469887cd834f9d5759aa0528599fd84ba45-1.2.0-dev.12 05:07:35 master 05:07:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:07:36 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c582d469887cd834f9d5759aa0528599fd84ba45 [Pipeline] isUnix [Pipeline] sh 05:07:36 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c582d469887cd834f9d5759aa0528599fd84ba45 05:07:36 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 05:07:36 68e1e33dbe90: Preparing 05:07:36 f5de9ee2e90c: Preparing 05:07:36 6367d4b0fe6f: Preparing 05:07:36 3e207b409db3: Preparing 05:07:36 3e207b409db3: Layer already exists 05:07:36 f5de9ee2e90c: Pushed 05:07:36 68e1e33dbe90: Pushed 05:07:38 6367d4b0fe6f: Pushed 05:07:38 c582d469887cd834f9d5759aa0528599fd84ba45: digest: sha256:59cb01c5b390b4e4aef47190d7ceef575cb6bf883780dbdec5bd4d21e5b0539f size: 1155 [Pipeline] isUnix [Pipeline] sh 05:07:38 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 05:07:38 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 05:07:38 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 05:07:38 68e1e33dbe90: Preparing 05:07:38 f5de9ee2e90c: Preparing 05:07:38 6367d4b0fe6f: Preparing 05:07:38 3e207b409db3: Preparing 05:07:38 6367d4b0fe6f: Layer already exists 05:07:38 68e1e33dbe90: Layer already exists 05:07:38 3e207b409db3: Layer already exists 05:07:38 f5de9ee2e90c: Layer already exists 05:07:38 latest: digest: sha256:59cb01c5b390b4e4aef47190d7ceef575cb6bf883780dbdec5bd4d21e5b0539f size: 1155 [Pipeline] isUnix [Pipeline] sh 05:07:39 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh 05:07:39 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.0-dev.12 05:07:39 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 05:07:39 68e1e33dbe90: Preparing 05:07:39 f5de9ee2e90c: Preparing 05:07:39 6367d4b0fe6f: Preparing 05:07:39 3e207b409db3: Preparing 05:07:39 f5de9ee2e90c: Layer already exists 05:07:39 6367d4b0fe6f: Layer already exists 05:07:39 3e207b409db3: Layer already exists 05:07:39 68e1e33dbe90: Layer already exists 05:07:39 1.2.0-dev.12: digest: sha256:59cb01c5b390b4e4aef47190d7ceef575cb6bf883780dbdec5bd4d21e5b0539f size: 1155 [Pipeline] isUnix [Pipeline] sh 05:07:39 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c582d469887cd834f9d5759aa0528599fd84ba45-1.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh 05:07:40 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c582d469887cd834f9d5759aa0528599fd84ba45-1.2.0-dev.12 05:07:40 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 05:07:40 68e1e33dbe90: Preparing 05:07:40 f5de9ee2e90c: Preparing 05:07:40 6367d4b0fe6f: Preparing 05:07:40 3e207b409db3: Preparing 05:07:40 68e1e33dbe90: Layer already exists 05:07:40 6367d4b0fe6f: Layer already exists 05:07:40 f5de9ee2e90c: Layer already exists 05:07:40 3e207b409db3: Layer already exists 05:07:40 c582d469887cd834f9d5759aa0528599fd84ba45-1.2.0-dev.12: digest: sha256:59cb01c5b390b4e4aef47190d7ceef575cb6bf883780dbdec5bd4d21e5b0539f size: 1155 [Pipeline] isUnix [Pipeline] sh 05:07:40 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 05:07:40 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 05:07:40 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 05:07:40 68e1e33dbe90: Preparing 05:07:40 f5de9ee2e90c: Preparing 05:07:40 6367d4b0fe6f: Preparing 05:07:40 3e207b409db3: Preparing 05:07:40 68e1e33dbe90: Layer already exists 05:07:40 6367d4b0fe6f: Layer already exists 05:07:40 3e207b409db3: Layer already exists 05:07:40 f5de9ee2e90c: Layer already exists 05:07:40 master: digest: sha256:59cb01c5b390b4e4aef47190d7ceef575cb6bf883780dbdec5bd4d21e5b0539f size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:07:55 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:08:03 Removing intermediate container 5d385e2e4bf0 05:08:03 ---> a4d0c9269445 05:08:03 Step 12/21 : FROM alpine 05:08:04 latest: Pulling from library/alpine 05:08:04 29e5d40040c1: Pulling fs layer 05:08:04 29e5d40040c1: Verifying Checksum 05:08:04 29e5d40040c1: Download complete 05:08:05 29e5d40040c1: Pull complete 05:08:05 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 05:08:05 Status: Downloaded newer image for alpine:latest 05:08:05 ---> c20d2a9ab686 05:08:05 Step 13/21 : ENV APP_PORT=49990 05:08:05 ---> Running in 3b6ef440c274 05:08:05 Removing intermediate container 3b6ef440c274 05:08:05 ---> c87470e68d83 05:08:05 Step 14/21 : EXPOSE $APP_PORT 05:08:06 ---> Running in 8187e4362078 05:08:06 Removing intermediate container 8187e4362078 05:08:06 ---> b0667665eab5 05:08:06 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 05:08:07 ---> f08aca027d27 05:08:07 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 05:08:08 ---> c5e59066501f 05:08:08 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 05:08:08 ---> f48d070afb47 05:08:08 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 05:08:08 ---> Running in 3390f310b267 05:08:08 Removing intermediate container 3390f310b267 05:08:08 ---> 60eec67e12dd 05:08:08 Step 19/21 : LABEL arch=arm64 05:08:09 ---> Running in 121f33e6b0de 05:08:09 Removing intermediate container 121f33e6b0de 05:08:09 ---> 5dc9528bea93 05:08:09 Step 20/21 : LABEL git_sha=c582d469887cd834f9d5759aa0528599fd84ba45 05:08:09 ---> Running in f0508a8238c3 05:08:09 Removing intermediate container f0508a8238c3 05:08:09 ---> aacb0aed1706 05:08:09 Step 21/21 : LABEL version=1.2.0-dev.12 05:08:09 ---> Running in 26dcbdc1e66a 05:08:10 Removing intermediate container 26dcbdc1e66a 05:08:10 ---> 0f2361d5e229 05:08:10 [Warning] One or more build-args [ARCH] were not consumed 05:08:10 Successfully built 0f2361d5e229 05:08:10 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:08:10 provisioning config files... 05:08:11 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/12@tmp/config8613708758793903041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:11 nexus3.edgexfoundry.org:10001 05:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:12 Configure a credential helper to remove this warning. See 05:08:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:12 05:08:12 Login Succeeded 05:08:12 nexus3.edgexfoundry.org:10002 05:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:13 Configure a credential helper to remove this warning. See 05:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:13 05:08:13 Login Succeeded 05:08:13 nexus3.edgexfoundry.org:10003 05:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:13 Configure a credential helper to remove this warning. See 05:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:13 05:08:13 Login Succeeded 05:08:13 nexus3.edgexfoundry.org:10004 05:08:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:14 Configure a credential helper to remove this warning. See 05:08:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:14 05:08:14 Login Succeeded 05:08:14 docker.io 05:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:15 Configure a credential helper to remove this warning. See 05:08:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:15 05:08:15 Login Succeeded [Pipeline] } 05:08:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:08:15 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 05:08:15 c582d469887cd834f9d5759aa0528599fd84ba45 05:08:15 latest 05:08:15 1.2.0-dev.12 05:08:15 c582d469887cd834f9d5759aa0528599fd84ba45-1.2.0-dev.12 05:08:15 master 05:08:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:08:16 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c582d469887cd834f9d5759aa0528599fd84ba45 [Pipeline] isUnix [Pipeline] sh 05:08:16 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c582d469887cd834f9d5759aa0528599fd84ba45 05:08:17 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 05:08:17 031b6526a413: Preparing 05:08:17 49e6c7d6432a: Preparing 05:08:17 2b1e7002e976: Preparing 05:08:17 678a0785e7d2: Preparing 05:08:17 678a0785e7d2: Layer already exists 05:08:17 031b6526a413: Pushed 05:08:17 49e6c7d6432a: Pushed 05:08:20 2b1e7002e976: Pushed 05:08:21 c582d469887cd834f9d5759aa0528599fd84ba45: digest: sha256:8531c7810307d5ceb553b51f735fa9957c745d9c351e390b92b964738867cf6a size: 1155 [Pipeline] isUnix [Pipeline] sh 05:08:21 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:08:21 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 05:08:21 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 05:08:22 031b6526a413: Preparing 05:08:22 49e6c7d6432a: Preparing 05:08:22 2b1e7002e976: Preparing 05:08:22 678a0785e7d2: Preparing 05:08:22 678a0785e7d2: Layer already exists 05:08:22 2b1e7002e976: Layer already exists 05:08:22 031b6526a413: Layer already exists 05:08:22 49e6c7d6432a: Layer already exists 05:08:22 latest: digest: sha256:8531c7810307d5ceb553b51f735fa9957c745d9c351e390b92b964738867cf6a size: 1155 [Pipeline] isUnix [Pipeline] sh 05:08:22 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh 05:08:23 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.0-dev.12 05:08:23 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 05:08:23 031b6526a413: Preparing 05:08:23 49e6c7d6432a: Preparing 05:08:23 2b1e7002e976: Preparing 05:08:23 678a0785e7d2: Preparing 05:08:23 678a0785e7d2: Layer already exists 05:08:23 031b6526a413: Layer already exists 05:08:23 49e6c7d6432a: Layer already exists 05:08:23 2b1e7002e976: Layer already exists 05:08:23 1.2.0-dev.12: digest: sha256:8531c7810307d5ceb553b51f735fa9957c745d9c351e390b92b964738867cf6a size: 1155 [Pipeline] isUnix [Pipeline] sh 05:08:23 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c582d469887cd834f9d5759aa0528599fd84ba45-1.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh 05:08:24 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c582d469887cd834f9d5759aa0528599fd84ba45-1.2.0-dev.12 05:08:24 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 05:08:24 031b6526a413: Preparing 05:08:24 49e6c7d6432a: Preparing 05:08:24 2b1e7002e976: Preparing 05:08:24 678a0785e7d2: Preparing 05:08:24 49e6c7d6432a: Layer already exists 05:08:24 2b1e7002e976: Layer already exists 05:08:24 678a0785e7d2: Layer already exists 05:08:24 031b6526a413: Layer already exists 05:08:24 c582d469887cd834f9d5759aa0528599fd84ba45-1.2.0-dev.12: digest: sha256:8531c7810307d5ceb553b51f735fa9957c745d9c351e390b92b964738867cf6a size: 1155 [Pipeline] isUnix [Pipeline] sh 05:08:24 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 05:08:25 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 05:08:25 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 05:08:25 031b6526a413: Preparing 05:08:25 49e6c7d6432a: Preparing 05:08:25 2b1e7002e976: Preparing 05:08:25 678a0785e7d2: Preparing 05:08:25 678a0785e7d2: Layer already exists 05:08:25 2b1e7002e976: Layer already exists 05:08:25 031b6526a413: Layer already exists 05:08:25 49e6c7d6432a: Layer already exists 05:08:25 master: digest: sha256:8531c7810307d5ceb553b51f735fa9957c745d9c351e390b92b964738867cf6a size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 05:08:26 provisioning config files... 05:08:26 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5772660719469420610tmp [Pipeline] { [Pipeline] sh 05:08:27 + curl -s https://codecov.io/bash 05:08:27 + bash -s - -t @/w/workspace/foundry_device-virtual-go_master@tmp/config5772660719469420610tmp 05:08:27 05:08:27 _____ _ 05:08:27 / ____| | | 05:08:27 | | ___ __| | ___ ___ _____ __ 05:08:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:08:27 | |___| (_) | (_| | __/ (_| (_) \ V / 05:08:27 \_____\___/ \__,_|\___|\___\___/ \_/ 05:08:27 Bash-tbd 05:08:27 05:08:27 05:08:27 ==> Jenkins CI detected. 05:08:27 project root: . 05:08:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:08:27 ==> Running gcov in . (disable via -X gcov) 05:08:27 ==> Python coveragepy not found 05:08:27 ==> Searching for coverage reports in: 05:08:27 + . 05:08:27 -> Found 1 reports 05:08:27 ==> Detecting git/mercurial file structure 05:08:27 ==> Reading reports 05:08:27 + ./coverage.out bytes=32181 05:08:27 ==> Appending adjustments 05:08:27 http://docs.codecov.io/docs/fixing-reports 05:08:27 + Found adjustments 05:08:27 ==> Gzipping contents 05:08:27 ==> Uploading reports 05:08:27 url: https://codecov.io 05:08:27 query: branch=master&commit=c582d469887cd834f9d5759aa0528599fd84ba45&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job= 05:08:27 -> Pinging Codecov 05:08:27 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=c582d469887cd834f9d5759aa0528599fd84ba45&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job= 05:08:27 -> Uploading 05:08:28 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/c582d469887cd834f9d5759aa0528599fd84ba45 [Pipeline] } 05:08:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 05:08:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 05:08:28 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 05:08:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:08:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 05:08:29 05:08:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 05:08:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 05:08:29 1.217.3: Pulling from edgex-devops/edgex-snyk-go 05:08:29 e6b0cf9c0882: Pulling fs layer 05:08:29 2848faf0eed1: Pulling fs layer 05:08:29 0f37312ad70f: Pulling fs layer 05:08:29 7d08f2745646: Pulling fs layer 05:08:29 4c9f31393084: Pulling fs layer 05:08:29 eb21ddb83652: Pulling fs layer 05:08:29 345998794f6b: Pulling fs layer 05:08:29 97a711d68925: Pulling fs layer 05:08:29 7c8476c1cb00: Pulling fs layer 05:08:29 eb21ddb83652: Waiting 05:08:29 7d08f2745646: Waiting 05:08:29 345998794f6b: Waiting 05:08:29 4c9f31393084: Waiting 05:08:29 97a711d68925: Waiting 05:08:29 7c8476c1cb00: Waiting 05:08:29 0f37312ad70f: Verifying Checksum 05:08:29 0f37312ad70f: Download complete 05:08:29 2848faf0eed1: Download complete 05:08:29 4c9f31393084: Verifying Checksum 05:08:29 4c9f31393084: Download complete 05:08:29 eb21ddb83652: Verifying Checksum 05:08:29 eb21ddb83652: Download complete 05:08:29 e6b0cf9c0882: Download complete 05:08:29 e6b0cf9c0882: Pull complete 05:08:30 2848faf0eed1: Pull complete 05:08:30 345998794f6b: Verifying Checksum 05:08:30 345998794f6b: Download complete 05:08:30 0f37312ad70f: Pull complete 05:08:30 7c8476c1cb00: Verifying Checksum 05:08:30 7c8476c1cb00: Download complete 05:08:30 97a711d68925: Verifying Checksum 05:08:30 97a711d68925: Download complete 05:08:31 7d08f2745646: Verifying Checksum 05:08:31 7d08f2745646: Download complete 05:08:36 7d08f2745646: Pull complete 05:08:36 4c9f31393084: Pull complete 05:08:36 eb21ddb83652: Pull complete 05:08:39 345998794f6b: Pull complete 05:08:42 97a711d68925: Pull complete 05:08:43 7c8476c1cb00: Pull complete 05:08:43 Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 05:08:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 05:08:43 prd-centos7-docker-4c-2g-6561 does not seem to be running inside a container 05:08:43 $ 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 05:08:44 $ docker top a80872a62dd9a7da1048b5782975f5581ffd398900fa23129502cf14e90b7af4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:44 + snyk monitor '--org=edgex-jenkins' 05:08:51 05:08:51 Monitoring /w/workspace/foundry_device-virtual-go_master... 05:08:51 05:08:51 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/834b668f-987a-4ad4-9e58-09b9e8966a0b 05:08:51 05:08:51 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:08:51 05:08:51 [Pipeline] } 05:08:51 $ docker stop --time=1 a80872a62dd9a7da1048b5782975f5581ffd398900fa23129502cf14e90b7af4 05:08:52 $ docker rm -f a80872a62dd9a7da1048b5782975f5581ffd398900fa23129502cf14e90b7af4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:08:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:08:53 05:08:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 05:08:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:08:53 latest: Pulling from edgex-devops/edgex-klar 05:08:53 e7c96db7181b: Pulling fs layer 05:08:53 1868ca2cb446: Pulling fs layer 05:08:53 136be5d0fe8e: Pulling fs layer 05:08:53 894bfe63afcb: Pulling fs layer 05:08:53 894bfe63afcb: Waiting 05:08:53 1868ca2cb446: Download complete 05:08:53 136be5d0fe8e: Verifying Checksum 05:08:53 136be5d0fe8e: Download complete 05:08:53 e7c96db7181b: Verifying Checksum 05:08:53 e7c96db7181b: Download complete 05:08:54 894bfe63afcb: Verifying Checksum 05:08:54 894bfe63afcb: Download complete 05:08:54 e7c96db7181b: Pull complete 05:08:54 1868ca2cb446: Pull complete 05:08:54 136be5d0fe8e: Pull complete 05:08:54 894bfe63afcb: Pull complete 05:08:54 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 05:08:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 05:08:54 prd-centos7-docker-4c-2g-6561 does not seem to be running inside a container 05:08:54 $ 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 05:08:55 $ docker top 70dc0f2604d7573362fe13c628883f6549f9a537af61598dc57bc60f7cf33500 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:55 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c582d469887cd834f9d5759aa0528599fd84ba45 05:08:55 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:09:00 $ docker stop --time=1 70dc0f2604d7573362fe13c628883f6549f9a537af61598dc57bc60f7cf33500 05:09:01 $ docker rm -f 70dc0f2604d7573362fe13c628883f6549f9a537af61598dc57bc60f7cf33500 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:09:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:09:02 . [Pipeline] withDockerContainer 05:09:02 prd-centos7-docker-4c-2g-6561 does not seem to be running inside a container 05:09: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 05:09:02 $ docker top c46bc10934527996eeb5b7e7523c962ebf0db207eddb8ac9e57aa9fa298aad07 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:03 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:c582d469887cd834f9d5759aa0528599fd84ba45 05:09:03 + tee 05:09:03 clair timeout 1m0s 05:09:03 docker timeout: 1m0s 05:09:03 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:09:03 $ docker stop --time=1 c46bc10934527996eeb5b7e7523c962ebf0db207eddb8ac9e57aa9fa298aad07 05:09:05 $ docker rm -f c46bc10934527996eeb5b7e7523c962ebf0db207eddb8ac9e57aa9fa298aad07 [Pipeline] // withDockerContainer [Pipeline] sh 05:09:05 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 05:09:05 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go_c582d469887cd834f9d5759aa0528599fd84ba45.html [Pipeline] writeFile [Pipeline] step 05:09:05 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 05:09:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:09:06 . [Pipeline] withDockerContainer 05:09:06 prd-centos7-docker-4c-2g-6561 does not seem to be running inside a container 05:09:06 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 05:09:06 $ docker top 099692a79b12de09a11c60c76fb238ef464641910dfc08cb62cf1630f9b36e25 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:07 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c582d469887cd834f9d5759aa0528599fd84ba45 05:09:07 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:09:10 $ docker stop --time=1 099692a79b12de09a11c60c76fb238ef464641910dfc08cb62cf1630f9b36e25 05:09:12 $ docker rm -f 099692a79b12de09a11c60c76fb238ef464641910dfc08cb62cf1630f9b36e25 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:09:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:09:12 . [Pipeline] withDockerContainer 05:09:12 prd-centos7-docker-4c-2g-6561 does not seem to be running inside a container 05:09:12 $ 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 05:09:13 $ docker top 7f1563ecf93ee3441417bfe53394d994d0599c0cd5050182ed0916df3e7809b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:13 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:c582d469887cd834f9d5759aa0528599fd84ba45 05:09:13 + tee 05:09:13 clair timeout 1m0s 05:09:13 docker timeout: 1m0s 05:09:13 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:09:14 $ docker stop --time=1 7f1563ecf93ee3441417bfe53394d994d0599c0cd5050182ed0916df3e7809b4 05:09:15 $ docker rm -f 7f1563ecf93ee3441417bfe53394d994d0599c0cd5050182ed0916df3e7809b4 [Pipeline] // withDockerContainer [Pipeline] sh 05:09:16 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 05:09:16 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go-arm64_c582d469887cd834f9d5759aa0528599fd84ba45.html [Pipeline] writeFile [Pipeline] step 05:09:16 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 05:09:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:09:17 . [Pipeline] withDockerContainer 05:09:17 prd-centos7-docker-4c-2g-6561 does not seem to be running inside a container 05:09:17 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:09:17 $ docker top ccf6161db66685502e941271bc0dcbe6e508760979d82316249348b37c046223 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:09:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:18 [ssh-agent] Looking for ssh-agent implementation... 05:09:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:18 $ docker exec ccf6161db66685502e941271bc0dcbe6e508760979d82316249348b37c046223 ssh-agent 05:09:18 SSH_AUTH_SOCK=/tmp/ssh-ZeQabHwiaM7m/agent.15 05:09:18 SSH_AGENT_PID=22 05:09:18 Running ssh-add (command line suppressed) 05:09:18 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6860812904887764651.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6860812904887764651.key) 05:09:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:19 + git semver tag 05:09:19 # -> Open(): unable to determine branch for HEAD 05:09:19 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 05:09:19 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 05:09:19 # $SEMVER_REMOTE_NAME = origin 05:09:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:09:19 # $SEMVER_USER_NAME = edgex-jenkins 05:09:19 # $SEMVER_BRANCH = master 05:09:19 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 05:09:19 # c582d469887cd834f9d5759aa0528599fd84ba45 HEAD 05:09:19 # -> Force: false 05:09:19 # 8176428620789d720c14f68a93fc752fdd21de06 refs/tags/v1.2.0-dev.12 [Pipeline] } 05:09:19 $ docker exec --env ******** --env ******** ccf6161db66685502e941271bc0dcbe6e508760979d82316249348b37c046223 ssh-agent -k 05:09:19 unset SSH_AUTH_SOCK; 05:09:19 unset SSH_AGENT_PID; 05:09:19 echo Agent pid 22 killed; 05:09:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:09:19 + git semver [Pipeline] } 05:09:19 $ docker stop --time=1 ccf6161db66685502e941271bc0dcbe6e508760979d82316249348b37c046223 05:09:21 $ docker rm -f ccf6161db66685502e941271bc0dcbe6e508760979d82316249348b37c046223 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:09:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:09:21 05:09:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:09:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:09:22 0.23.1-centos7: Pulling from edgex-lftools 05:09:22 ab5ef0e58194: Pulling fs layer 05:09:22 9712f1f96733: Pulling fs layer 05:09:22 63f879dbbcfc: Pulling fs layer 05:09:22 0d9ebad4ef96: Pulling fs layer 05:09:22 e9a5061849ea: Pulling fs layer 05:09:22 d747dcd14b5f: Pulling fs layer 05:09:22 2de7ff778b66: Pulling fs layer 05:09:22 e9a5061849ea: Waiting 05:09:22 d747dcd14b5f: Waiting 05:09:22 0d9ebad4ef96: Waiting 05:09:22 2de7ff778b66: Waiting 05:09:22 9712f1f96733: Verifying Checksum 05:09:22 9712f1f96733: Download complete 05:09:22 63f879dbbcfc: Verifying Checksum 05:09:22 63f879dbbcfc: Download complete 05:09:22 e9a5061849ea: Verifying Checksum 05:09:22 e9a5061849ea: Download complete 05:09:22 d747dcd14b5f: Download complete 05:09:22 0d9ebad4ef96: Verifying Checksum 05:09:22 0d9ebad4ef96: Download complete 05:09:23 2de7ff778b66: Verifying Checksum 05:09:23 2de7ff778b66: Download complete 05:09:23 ab5ef0e58194: Download complete 05:09:27 ab5ef0e58194: Pull complete 05:09:27 9712f1f96733: Pull complete 05:09:29 63f879dbbcfc: Pull complete 05:09:35 0d9ebad4ef96: Pull complete 05:09:35 e9a5061849ea: Pull complete 05:09:35 d747dcd14b5f: Pull complete 05:09:39 2de7ff778b66: Pull complete 05:09:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:09:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:09:39 prd-centos7-docker-4c-2g-6561 does not seem to be running inside a container 05:09:39 $ 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 05:09:40 $ docker top 5b6ba6625045de2ed6bc216b19ec8d35e3fedc744522c78e98a77d231f41b5f8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:09:40 provisioning config files... 05:09:40 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1475176121409021599tmp 05:09:40 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6552903535689657264tmp 05:09:40 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1245745605016306627tmp [Pipeline] { [Pipeline] echo 05:09:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:09:40 ---> sigul-configuration.sh 05:09:40 gpg: directory `/root/.gnupg' created 05:09:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:09:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:09:40 gpg: keyring `/root/.gnupg/secring.gpg' created 05:09:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:09:40 gpg: CAST5 encrypted data 05:09:41 gpg: encrypted with 1 passphrase 05:09:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:09:41 + mkdir /home/jenkins 05:09:41 + mkdir /home/jenkins/sigul [Pipeline] sh 05:09:41 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 05:09:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:09:41 ---> sigul-install.sh 05:09:47 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 05:09:47 + git tag --list 05:09:47 v1.2.0-dev.12 [Pipeline] sh 05:09:48 + lftools sign git-tag v1.2.0-dev.12 05:09:48 Signing Git tag with Sigul... 05:09:48 Signing v1.2.0-dev.12 [Pipeline] echo 05:09:50 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:09:50 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:09:50 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:09:50 $ docker stop --time=1 5b6ba6625045de2ed6bc216b19ec8d35e3fedc744522c78e98a77d231f41b5f8 05:09:52 $ docker rm -f 5b6ba6625045de2ed6bc216b19ec8d35e3fedc744522c78e98a77d231f41b5f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 05:09:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:09:53 . [Pipeline] withDockerContainer 05:09:53 prd-centos7-docker-4c-2g-6561 does not seem to be running inside a container 05:09:53 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:09:54 $ docker top 05aef92f2d1976144fada0e7fac6f92f458a97d72e290a8a85f36ac23d3f4ab2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:09:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:54 [ssh-agent] Looking for ssh-agent implementation... 05:09:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:54 $ docker exec 05aef92f2d1976144fada0e7fac6f92f458a97d72e290a8a85f36ac23d3f4ab2 ssh-agent 05:09:54 SSH_AUTH_SOCK=/tmp/ssh-TgQ9h3Np3FJz/agent.15 05:09:54 SSH_AGENT_PID=22 05:09:54 Running ssh-add (command line suppressed) 05:09:55 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2798673903532936044.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2798673903532936044.key) 05:09:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:55 + git semver bump pre 05:09:55 # -> Open(): unable to determine branch for HEAD 05:09:55 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 05:09:55 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 05:09:55 # $SEMVER_REMOTE_NAME = origin 05:09:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:09:55 # $SEMVER_USER_NAME = edgex-jenkins 05:09:55 # $SEMVER_BRANCH = master 05:09:55 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 05:09:55 1.2.0-dev.13 [Pipeline] } 05:09:55 $ docker exec --env ******** --env ******** 05aef92f2d1976144fada0e7fac6f92f458a97d72e290a8a85f36ac23d3f4ab2 ssh-agent -k 05:09:55 unset SSH_AUTH_SOCK; 05:09:55 unset SSH_AGENT_PID; 05:09:55 echo Agent pid 22 killed; 05:09:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:09:56 + git semver [Pipeline] } 05:09:56 $ docker stop --time=1 05aef92f2d1976144fada0e7fac6f92f458a97d72e290a8a85f36ac23d3f4ab2 05:09:57 $ docker rm -f 05aef92f2d1976144fada0e7fac6f92f458a97d72e290a8a85f36ac23d3f4ab2 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:09:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:09:58 . [Pipeline] withDockerContainer 05:09:58 prd-centos7-docker-4c-2g-6561 does not seem to be running inside a container 05:09:58 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:09:58 $ docker top 8f7015144443d027bb058dbe0646be1be1c9c9368408b41c88dbc8f582b00258 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:09:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:59 [ssh-agent] Looking for ssh-agent implementation... 05:09:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:59 $ docker exec 8f7015144443d027bb058dbe0646be1be1c9c9368408b41c88dbc8f582b00258 ssh-agent 05:09:59 SSH_AUTH_SOCK=/tmp/ssh-jhCDqZZWEH2h/agent.14 05:09:59 SSH_AGENT_PID=20 05:09:59 Running ssh-add (command line suppressed) 05:09:59 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6812602847021633548.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6812602847021633548.key) 05:09:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:10:00 + git semver push 05:10:00 # -> Open(): unable to determine branch for HEAD 05:10:00 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 05:10:00 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 05:10:00 # $SEMVER_REMOTE_NAME = origin 05:10:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:10:00 # $SEMVER_USER_NAME = edgex-jenkins 05:10:00 # $SEMVER_BRANCH = master 05:10:00 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 05:10:08 $ docker exec --env ******** --env ******** 8f7015144443d027bb058dbe0646be1be1c9c9368408b41c88dbc8f582b00258 ssh-agent -k 05:10:08 unset SSH_AUTH_SOCK; 05:10:08 unset SSH_AGENT_PID; 05:10:08 echo Agent pid 20 killed; 05:10:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:10:08 + git semver [Pipeline] } 05:10:08 $ docker stop --time=1 8f7015144443d027bb058dbe0646be1be1c9c9368408b41c88dbc8f582b00258 05:10:10 $ docker rm -f 8f7015144443d027bb058dbe0646be1be1c9c9368408b41c88dbc8f582b00258 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 05:10:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:10:11 ---> package-listing.sh 05:10:11 ++ facter osfamily 05:10:11 ++ tr '[:upper:]' '[:lower:]' 05:10:11 + OS_FAMILY=redhat 05:10:11 + workspace=/w/workspace/foundry_device-virtual-go_master 05:10:11 + START_PACKAGES=/tmp/packages_start.txt 05:10:11 + END_PACKAGES=/tmp/packages_end.txt 05:10:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:10:11 + PACKAGES=/tmp/packages_start.txt 05:10:11 + '[' /w/workspace/foundry_device-virtual-go_master ']' 05:10:11 + PACKAGES=/tmp/packages_end.txt 05:10:11 + case "${OS_FAMILY}" in 05:10:11 + rpm -qa 05:10:11 + sort 05:10:15 + '[' -f /tmp/packages_start.txt ']' 05:10:15 + '[' -f /tmp/packages_end.txt ']' 05:10:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:10:15 + '[' /w/workspace/foundry_device-virtual-go_master ']' 05:10:15 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 05:10:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 05:10:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:10:16 05:10:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:10:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:10:16 alpine: Pulling from edgex-lftools-log-publisher 05:10:16 c9b1b535fdd9: Pulling fs layer 05:10:16 2cc5ad85d9ab: Pulling fs layer 05:10:16 756a868c4378: Pulling fs layer 05:10:16 444b2fc9a129: Pulling fs layer 05:10:16 ea15f1150254: Pulling fs layer 05:10:16 41b27a9f41bf: Pulling fs layer 05:10:16 28c525ee5125: Pulling fs layer 05:10:16 094b1ea09ed8: Pulling fs layer 05:10:16 138eaada9080: Pulling fs layer 05:10:16 0622d0fa9048: Pulling fs layer 05:10:16 41b27a9f41bf: Waiting 05:10:16 444b2fc9a129: Waiting 05:10:16 28c525ee5125: Waiting 05:10:16 094b1ea09ed8: Waiting 05:10:16 138eaada9080: Waiting 05:10:16 0622d0fa9048: Waiting 05:10:16 ea15f1150254: Waiting 05:10:16 2cc5ad85d9ab: Download complete 05:10:16 444b2fc9a129: Verifying Checksum 05:10:16 444b2fc9a129: Download complete 05:10:16 c9b1b535fdd9: Verifying Checksum 05:10:16 ea15f1150254: Verifying Checksum 05:10:16 ea15f1150254: Download complete 05:10:16 28c525ee5125: Verifying Checksum 05:10:16 28c525ee5125: Download complete 05:10:17 756a868c4378: Verifying Checksum 05:10:17 756a868c4378: Download complete 05:10:17 138eaada9080: Verifying Checksum 05:10:17 138eaada9080: Download complete 05:10:17 094b1ea09ed8: Verifying Checksum 05:10:17 094b1ea09ed8: Download complete 05:10:17 0622d0fa9048: Verifying Checksum 05:10:17 0622d0fa9048: Download complete 05:10:17 41b27a9f41bf: Verifying Checksum 05:10:17 41b27a9f41bf: Download complete 05:10:18 c9b1b535fdd9: Pull complete 05:10:18 2cc5ad85d9ab: Pull complete 05:10:20 756a868c4378: Pull complete 05:10:20 444b2fc9a129: Pull complete 05:10:20 ea15f1150254: Pull complete 05:10:25 41b27a9f41bf: Pull complete 05:10:25 28c525ee5125: Pull complete 05:10:26 094b1ea09ed8: Pull complete 05:10:26 138eaada9080: Pull complete 05:10:27 0622d0fa9048: Pull complete 05:10:27 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 05:10:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:10:27 prd-centos7-docker-4c-2g-6561 does not seem to be running inside a container 05:10:27 $ 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 05:10:27 $ docker top 62e5ea8ad702f58156a613a91f8b00b60c354c21bac8b648c1cce7850ee15ca7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:10:28 provisioning config files... 05:10:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8860711404477448305tmp [Pipeline] { [Pipeline] echo 05:10:28 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:10:28 ---> create-netrc.sh [Pipeline] echo 05:10:28 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:10:28 ---> logs-deploy.sh 05:10:28 + ARCHIVE_ARTIFACTS= 05:10:28 + LOGS_SERVER=https://logs.edgexfoundry.org 05:10:28 + '[' https://logs.edgexfoundry.org == None ']' 05:10:28 + NEXUS_URL=https://nexus.edgexfoundry.org 05:10:28 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/12 05:10:28 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/12/ 05:10:28 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/12 /w/workspace/foundry_device-virtual-go_master 05:10:29 Archives upload complete. 05:10:29 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/12 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/12/