Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ad6ffe2e39edb285e4eeee4f80e60975285ca78d 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5562 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git Fetching without tags Checking out Revision ad6ffe2e39edb285e4eeee4f80e60975285ca78d (master) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f ad6ffe2e39edb285e4eeee4f80e60975285ca78d # timeout=10 Commit message: "Merge pull request #100 from hahattan/issue-99" > git rev-list --no-walk 53e4cd48e248511436dde29e28c7986960888d4a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:46:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:46:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:46:28 ========================================================= 08:46:28 EdgeX Global Pipelines Version Info 08:46:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:46:30 ------------------- 08:46:30 stable info: 08:46:30 ------------------- 08:46:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:46:30 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 08:46:30 Message: update stable to v1.0.73 08:46:30 ------------------- 08:46:30 experimental info: 08:46:30 ------------------- 08:46:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:46:30 Commit SHA: 009f18ce5b4e192ba54fce1c3905cefe13074ee2 08:46:30 Message: update experimental to v1.0.75 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 08:46:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:46:32 08:46:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:46:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:46:33 latest: Pulling from edgex-devops/git-semver 08:46:33 9123ac7c32f7: Pulling fs layer 08:46:33 b8cc5d1170e3: Pulling fs layer 08:46:33 2924cbbf6a41: Pulling fs layer 08:46:33 93b08a4f1073: Pulling fs layer 08:46:33 93b08a4f1073: Waiting 08:46:33 b8cc5d1170e3: Verifying Checksum 08:46:33 b8cc5d1170e3: Download complete 08:46:33 9123ac7c32f7: Verifying Checksum 08:46:33 9123ac7c32f7: Download complete 08:46:33 93b08a4f1073: Download complete 08:46:33 2924cbbf6a41: Verifying Checksum 08:46:33 2924cbbf6a41: Download complete 08:46:33 9123ac7c32f7: Pull complete 08:46:33 b8cc5d1170e3: Pull complete 08:46:34 2924cbbf6a41: Pull complete 08:46:34 93b08a4f1073: Pull complete 08:46:34 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 08:46:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:46:34 prd-centos7-docker-4c-2g-5562 does not seem to be running inside a container 08:46:34 $ 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 08:46:35 $ docker top 60b2dc19798e940825033232973f98fb1b863c3b252216cdc8ea1f9ed196c012 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:46:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:46:35 [ssh-agent] Looking for ssh-agent implementation... 08:46:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:46:35 $ docker exec 60b2dc19798e940825033232973f98fb1b863c3b252216cdc8ea1f9ed196c012 ssh-agent 08:46:35 SSH_AUTH_SOCK=/tmp/ssh-XjdMDGWizBRR/agent.15 08:46:35 SSH_AGENT_PID=22 08:46:35 Running ssh-add (command line suppressed) 08:46:36 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6847660723267400766.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6847660723267400766.key) 08:46:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:46:36 + git describe --exact-match --tags HEAD 08:46:36 fatal: No names found, cannot describe anything. [Pipeline] } 08:46:36 $ docker exec --env ******** --env ******** 60b2dc19798e940825033232973f98fb1b863c3b252216cdc8ea1f9ed196c012 ssh-agent -k 08:46:36 unset SSH_AUTH_SOCK; 08:46:36 unset SSH_AGENT_PID; 08:46:36 echo Agent pid 22 killed; 08:46:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:46:36 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:46:36 This usually means this commit has not been tagged. [Pipeline] sshagent 08:46:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:46:36 [ssh-agent] Looking for ssh-agent implementation... 08:46:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:46:36 $ docker exec 60b2dc19798e940825033232973f98fb1b863c3b252216cdc8ea1f9ed196c012 ssh-agent 08:46:37 SSH_AUTH_SOCK=/tmp/ssh-LSvqXs45saRR/agent.58 08:46:37 SSH_AGENT_PID=65 08:46:37 Running ssh-add (command line suppressed) 08:46:37 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1900334724152718940.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1900334724152718940.key) 08:46:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:46:37 + git semver init 08:46:37 # -> Open(): unable to determine branch for HEAD 08:46:37 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 08:46:37 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 08:46:37 # $SEMVER_REMOTE_NAME = origin 08:46:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:46:37 # $SEMVER_USER_NAME = edgex-jenkins 08:46:37 # $SEMVER_BRANCH = master 08:46:37 # $SEMVER_TEMP = /tmp/semver-597677125 08:46:37 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 08:46:37 # '/tmp/semver-597677125' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 08:46:37 # -> Force: false 08:46:37 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 08:46:37 $ docker exec --env ******** --env ******** 60b2dc19798e940825033232973f98fb1b863c3b252216cdc8ea1f9ed196c012 ssh-agent -k 08:46:38 unset SSH_AUTH_SOCK; 08:46:38 unset SSH_AGENT_PID; 08:46:38 echo Agent pid 65 killed; 08:46:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:46:38 + git semver [Pipeline] } 08:46:38 $ docker stop --time=1 60b2dc19798e940825033232973f98fb1b863c3b252216cdc8ea1f9ed196c012 08:46:39 $ docker rm -f 60b2dc19798e940825033232973f98fb1b863c3b252216cdc8ea1f9ed196c012 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:46:40 Stashed 21 file(s) [Pipeline] echo 08:46:40 [edgeXSemver] initialized semver on version 1.2.0-dev.9 [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 08:46:55 Still waiting to schedule task 08:46:55 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:46:55 Still waiting to schedule task 08:46:55 ‘prd-ubuntu18.04-docker-arm64-4c-16g-5560’ is offline 08:48:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5563 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 08:48:41 Running in /w/workspace/device-virtual-go/9 [Pipeline] { [Pipeline] checkout 08:48:47 using credential edgex-jenkins-ssh 08:48:47 Cloning the remote Git repository 08:48:47 Cloning with configured refspecs honoured and without tags 08:48:47 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:48:47 > git init /w/workspace/device-virtual-go/9 # timeout=10 08:48:47 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:48:47 > git --version # timeout=10 08:48:47 using GIT_SSH to set credentials SSH Credentials for GitHub 08:48:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:48:48 Fetching without tags 08:48:48 Checking out Revision ad6ffe2e39edb285e4eeee4f80e60975285ca78d (master) 08:48:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:48:48 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:48:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:48:48 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:48:48 using GIT_SSH to set credentials SSH Credentials for GitHub 08:48:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:48:49 > git config core.sparsecheckout # timeout=10 08:48:49 > git checkout -f ad6ffe2e39edb285e4eeee4f80e60975285ca78d # timeout=10 08:48:53 Commit message: "Merge pull request #100 from hahattan/issue-99" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:48:54 ========================================================= 08:48:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 08:48:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:48:56 + 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 . 08:48:56 Sending build context to Docker daemon 483.3kB 08:48:56 Step 1/8 : ARG BASE=golang:1.13-alpine 08:48:56 Step 2/8 : FROM ${BASE} 08:48:57 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:48:57 cde5963f3b93: Pulling fs layer 08:48:57 2a23fa8c16f7: Pulling fs layer 08:48:57 777b28850792: Pulling fs layer 08:48:57 8a11ddd9e578: Pulling fs layer 08:48:57 4cf88f913ddb: Pulling fs layer 08:48:57 1df406cf5192: Pulling fs layer 08:48:57 cd6300453558: Pulling fs layer 08:48:57 b9c365052c96: Pulling fs layer 08:48:57 a2d8cc88f415: Pulling fs layer 08:48:57 ea1d1ca13537: Pulling fs layer 08:48:57 3750a50a1c5e: Pulling fs layer 08:48:57 8a11ddd9e578: Waiting 08:48:57 4cf88f913ddb: Waiting 08:48:57 b9c365052c96: Waiting 08:48:57 cd6300453558: Waiting 08:48:57 1df406cf5192: Waiting 08:48:57 3750a50a1c5e: Waiting 08:48:57 ea1d1ca13537: Waiting 08:48:57 a2d8cc88f415: Waiting 08:48:57 777b28850792: Verifying Checksum 08:48:57 777b28850792: Download complete 08:48:57 2a23fa8c16f7: Verifying Checksum 08:48:57 2a23fa8c16f7: Download complete 08:48:57 4cf88f913ddb: Download complete 08:48:57 1df406cf5192: Verifying Checksum 08:48:57 1df406cf5192: Download complete 08:48:57 cde5963f3b93: Verifying Checksum 08:48:57 cde5963f3b93: Download complete 08:48:58 cde5963f3b93: Pull complete 08:48:59 2a23fa8c16f7: Pull complete 08:48:59 777b28850792: Pull complete 08:49:01 cd6300453558: Verifying Checksum 08:49:01 cd6300453558: Download complete 08:49:01 a2d8cc88f415: Verifying Checksum 08:49:01 a2d8cc88f415: Download complete 08:49:03 ea1d1ca13537: Verifying Checksum 08:49:03 ea1d1ca13537: Download complete 08:49:03 3750a50a1c5e: Verifying Checksum 08:49:03 3750a50a1c5e: Download complete 08:49:06 b9c365052c96: Verifying Checksum 08:49:06 b9c365052c96: Download complete 08:49:08 8a11ddd9e578: Verifying Checksum 08:49:08 8a11ddd9e578: Download complete 08:49:18 8a11ddd9e578: Pull complete 08:49:18 4cf88f913ddb: Pull complete 08:49:19 1df406cf5192: Pull complete 08:49:24 cd6300453558: Pull complete 08:49:25 Running on prd-centos7-docker-4c-2g-5564 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 08:49:25 Running in /w/workspace/device-virtual-go/9 [Pipeline] { [Pipeline] checkout 08:49:27 using credential edgex-jenkins-ssh 08:49:27 Cloning the remote Git repository 08:49:27 Cloning with configured refspecs honoured and without tags 08:49:28 Fetching without tags 08:49:28 b9c365052c96: Pull complete 08:49:28 a2d8cc88f415: Pull complete 08:49:28 Checking out Revision ad6ffe2e39edb285e4eeee4f80e60975285ca78d (master) 08:49:27 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:49:27 > git init /w/workspace/device-virtual-go/9 # timeout=10 08:49:27 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:49:27 > git --version # timeout=10 08:49:27 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:49:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:49:28 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:49:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:49:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:49:28 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:28 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:49:28 > git config core.sparsecheckout # timeout=10 08:49:28 > git checkout -f ad6ffe2e39edb285e4eeee4f80e60975285ca78d # timeout=10 08:49:30 ea1d1ca13537: Pull complete 08:49:31 3750a50a1c5e: Pull complete 08:49:31 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 08:49:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 08:49:31 ---> 78745c68409d 08:49:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:49:32 Commit message: "Merge pull request #100 from hahattan/issue-99" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:49:33 ========================================================= 08:49:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 08:49:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:49:33 + 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 . 08:49:33 Sending build context to Docker daemon 483.3kB 08:49:33 Step 1/8 : ARG BASE=golang:1.13-alpine 08:49:33 Step 2/8 : FROM ${BASE} 08:49:34 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 08:49:34 e6b0cf9c0882: Pulling fs layer 08:49:34 2848faf0eed1: Pulling fs layer 08:49:34 0f37312ad70f: Pulling fs layer 08:49:34 5788d62ee057: Pulling fs layer 08:49:34 0e6b1d234666: Pulling fs layer 08:49:34 bf5d7aec512f: Pulling fs layer 08:49:34 34c802a77dc8: Pulling fs layer 08:49:34 9eb99e56ec68: Pulling fs layer 08:49:34 27c7a5d97fbd: Pulling fs layer 08:49:34 5c102a31e300: Pulling fs layer 08:49:34 dcfb455df0a1: Pulling fs layer 08:49:34 34c802a77dc8: Waiting 08:49:34 9eb99e56ec68: Waiting 08:49:34 27c7a5d97fbd: Waiting 08:49:34 5c102a31e300: Waiting 08:49:34 5788d62ee057: Waiting 08:49:34 0e6b1d234666: Waiting 08:49:34 bf5d7aec512f: Waiting 08:49:34 0f37312ad70f: Verifying Checksum 08:49:34 0f37312ad70f: Download complete 08:49:34 2848faf0eed1: Verifying Checksum 08:49:34 2848faf0eed1: Download complete 08:49:34 0e6b1d234666: Verifying Checksum 08:49:34 0e6b1d234666: Download complete 08:49:34 bf5d7aec512f: Verifying Checksum 08:49:34 bf5d7aec512f: Download complete 08:49:34 e6b0cf9c0882: Verifying Checksum 08:49:34 e6b0cf9c0882: Download complete 08:49:34 e6b0cf9c0882: Pull complete 08:49:34 2848faf0eed1: Pull complete 08:49:35 34c802a77dc8: Verifying Checksum 08:49:35 34c802a77dc8: Download complete 08:49:35 27c7a5d97fbd: Verifying Checksum 08:49:35 27c7a5d97fbd: Download complete 08:49:35 5788d62ee057: Verifying Checksum 08:49:35 5788d62ee057: Download complete 08:49:35 5c102a31e300: Verifying Checksum 08:49:35 5c102a31e300: Download complete 08:49:35 dcfb455df0a1: Verifying Checksum 08:49:35 dcfb455df0a1: Download complete 08:49:35 ---> Running in fe1c8aae492e 08:49:35 9eb99e56ec68: Verifying Checksum 08:49:35 9eb99e56ec68: Download complete 08:49:35 Removing intermediate container fe1c8aae492e 08:49:35 ---> 1b5d612284bc 08:49:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:49:35 ---> Running in 05032c808a33 08:49:36 0f37312ad70f: Pull complete 08:49:37 Removing intermediate container 05032c808a33 08:49:37 ---> 96e40748e6c9 08:49:37 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:49:38 ---> Running in 75fcd6872075 08:49:39 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:49:41 5788d62ee057: Pull complete 08:49:41 0e6b1d234666: Pull complete 08:49:41 bf5d7aec512f: Pull complete 08:49:41 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:49:43 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 08:49:43 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 08:49:44 (3/18) Installing libmagic (5.37-r1) 08:49:45 (4/18) Installing file (5.37-r1) 08:49:45 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 08:49:45 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 08:49:45 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 08:49:48 34c802a77dc8: Pull complete 08:49:51 9eb99e56ec68: Pull complete 08:49:51 27c7a5d97fbd: Pull complete 08:49:52 5c102a31e300: Pull complete 08:49:52 dcfb455df0a1: Pull complete 08:49:52 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 08:49:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 08:49:52 ---> 7c70fe431013 08:49:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:49:52 ---> Running in 4d5f0bbed5d9 08:49:52 Removing intermediate container 4d5f0bbed5d9 08:49:52 ---> 7467f64d136c 08:49:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:49:52 ---> Running in d56f09a130a7 08:49:53 (8/18) Installing libc-dev (0.7.2-r0) 08:49:53 (9/18) Installing g++ (9.2.0-r4) 08:49:53 Removing intermediate container d56f09a130a7 08:49:53 ---> 5cf699a46e07 08:49:53 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:49:53 ---> Running in ed670fcc67eb 08:49:53 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:49:54 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:49:55 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 08:49:55 (2/17) Installing libmagic (5.37-r1) 08:49:55 (3/17) Installing file (5.37-r1) 08:49:55 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 08:49:55 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 08:49:55 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 08:49:57 (10/18) Installing fortify-headers (1.1-r0) 08:49:57 (11/18) Installing build-base (0.5-r1) 08:49:57 (12/18) Installing openssh-keygen (8.1_p1-r0) 08:49:57 (13/18) Installing libedit (20191211.3.1-r0) 08:49:57 (14/18) Installing openssh-client (8.1_p1-r0) 08:49:57 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 08:49:57 (16/18) Installing openssh-server-common (8.1_p1-r0) 08:49:57 (17/18) Installing openssh-server (8.1_p1-r0) 08:49:57 (18/18) Installing openssh (8.1_p1-r0) 08:49:57 Executing busybox-1.31.1-r8.trigger 08:49:57 OK: 203 MiB in 52 packages 08:50:04 Removing intermediate container 75fcd6872075 08:50:04 ---> eca099fc3113 08:50:04 Step 6/8 : WORKDIR /device-virtual-go 08:50:04 ---> Running in 8b57b349b265 08:50:04 Removing intermediate container 8b57b349b265 08:50:04 ---> 01df3a57d0a4 08:50:04 Step 7/8 : COPY . . 08:50:05 ---> a44a11c40570 08:50:05 Step 8/8 : RUN go mod download 08:50:05 ---> Running in 86f4d32c4f28 08:50:05 (7/17) Installing libc-dev (0.7.2-r0) 08:50:05 (8/17) Installing g++ (9.2.0-r4) 08:50:07 go: finding github.com/BurntSushi/toml v0.3.1 08:50:07 go: finding github.com/OneOfOne/xxhash v1.2.6 08:50:07 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:50:07 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:50:07 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:50:07 go: finding github.com/bgentry/speakeasy v0.1.0 08:50:07 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:50:07 go: finding github.com/davecgh/go-spew v1.1.1 08:50:07 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.33 08:50:07 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 08:50:07 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:50:07 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 08:50:07 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 08:50:07 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:50:07 go: finding github.com/edsrzf/mmap-go v1.0.0 08:50:07 go: finding github.com/fatih/color v1.7.0 08:50:07 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:50:07 go: finding github.com/go-kit/kit v0.8.0 08:50:07 go: finding github.com/go-logfmt/logfmt v0.4.0 08:50:07 go: finding github.com/go-stack/stack v1.8.0 08:50:07 go: finding github.com/golang/snappy v0.0.1 08:50:07 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:50:07 go: finding github.com/google/uuid v1.1.0 08:50:07 go: finding github.com/gorilla/mux v1.7.1 08:50:07 go: finding github.com/hashicorp/consul/api v1.1.0 08:50:07 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:50:07 go: finding github.com/hashicorp/errwrap v1.0.0 08:50:07 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:50:07 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:50:07 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:50:07 go: finding github.com/hashicorp/go-multierror v1.0.0 08:50:07 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:50:07 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:50:07 go: finding github.com/hashicorp/go-syslog v1.0.0 08:50:07 go: finding github.com/hashicorp/go-uuid v1.0.1 08:50:07 go: finding github.com/hashicorp/go.net v0.0.1 08:50:07 go: finding github.com/hashicorp/golang-lru v0.5.0 08:50:07 go: finding github.com/hashicorp/logutils v1.0.0 08:50:07 go: finding github.com/hashicorp/mdns v1.0.0 08:50:07 go: finding github.com/hashicorp/memberlist v0.1.3 08:50:07 go: finding github.com/hashicorp/serf v0.8.2 08:50:07 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:50:07 go: finding github.com/mattn/go-colorable v0.0.9 08:50:07 go: finding github.com/mattn/go-isatty v0.0.3 08:50:07 go: finding github.com/miekg/dns v1.0.14 08:50:07 go: finding github.com/mitchellh/cli v1.0.0 08:50:07 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:50:07 go: finding github.com/mitchellh/copystructure v1.0.0 08:50:07 go: finding github.com/mitchellh/go-homedir v1.0.0 08:50:07 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:50:07 go: finding github.com/mitchellh/gox v0.4.0 08:50:07 go: finding github.com/mitchellh/iochan v1.0.0 08:50:07 go: finding github.com/mitchellh/mapstructure v1.1.2 08:50:07 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:50:07 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:50:07 go: finding github.com/pelletier/go-toml v1.2.0 08:50:07 go: finding github.com/pkg/errors v0.8.1 08:50:07 go: finding github.com/pmezard/go-difflib v1.0.0 08:50:07 go: finding github.com/posener/complete v1.1.1 08:50:07 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 08:50:08 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:50:08 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:50:08 go: finding github.com/stretchr/objx v0.1.0 08:50:08 go: finding github.com/stretchr/testify v1.5.1 08:50:08 go: finding github.com/ugorji/go v1.1.4 08:50:08 go: finding github.com/x448/float16 v0.8.4 08:50:08 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:50:08 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:50:08 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:50:08 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 08:50:08 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:50:08 go: finding gopkg.in/yaml.v2 v2.2.8 08:50:08 go: finding modernc.org/b v1.0.0 08:50:08 go: finding modernc.org/db v1.0.0 08:50:08 go: finding modernc.org/file v1.0.0 08:50:08 go: finding modernc.org/fileutil v1.0.0 08:50:08 go: finding modernc.org/golex v1.0.0 08:50:08 go: finding modernc.org/internal v1.0.0 08:50:08 go: finding modernc.org/lldb v1.0.0 08:50:08 go: finding modernc.org/mathutil v1.0.0 08:50:08 go: finding modernc.org/ql v1.0.0 08:50:08 go: finding modernc.org/sortutil v1.0.0 08:50:08 go: finding modernc.org/strutil v1.0.0 08:50:08 go: finding modernc.org/zappy v1.0.0 08:50:12 (9/17) Installing fortify-headers (1.1-r0) 08:50:12 (10/17) Installing build-base (0.5-r1) 08:50:12 (11/17) Installing openssh-keygen (8.1_p1-r0) 08:50:12 (12/17) Installing libedit (20191211.3.1-r0) 08:50:12 (13/17) Installing openssh-client (8.1_p1-r0) 08:50:12 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 08:50:13 (15/17) Installing openssh-server-common (8.1_p1-r0) 08:50:13 (16/17) Installing openssh-server (8.1_p1-r0) 08:50:13 (17/17) Installing openssh (8.1_p1-r0) 08:50:13 Executing busybox-1.31.1-r8.trigger 08:50:13 OK: 214 MiB in 52 packages 08:50:17 Removing intermediate container ed670fcc67eb 08:50:17 ---> 8f8a870c7a03 08:50:17 Step 6/8 : WORKDIR /device-virtual-go 08:50:17 ---> Running in 375a10ba1094 08:50:17 Removing intermediate container 375a10ba1094 08:50:17 ---> 1c6831c540f3 08:50:17 Step 7/8 : COPY . . 08:50:17 ---> ba0fec505705 08:50:17 Step 8/8 : RUN go mod download 08:50:17 ---> Running in b10babfad02c 08:50:18 Removing intermediate container 86f4d32c4f28 08:50:18 ---> 4be536db223c 08:50:18 Successfully built 4be536db223c 08:50:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:50:18 + docker inspect -f . ci-base-image-arm64 08:50:19 . [Pipeline] withDockerContainer 08:50:19 go: finding github.com/BurntSushi/toml v0.3.1 08:50:19 go: finding github.com/OneOfOne/xxhash v1.2.6 08:50:19 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 08:50:19 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:50:19 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 08:50:19 go: finding github.com/bgentry/speakeasy v0.1.0 08:50:19 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 08:50:19 go: finding github.com/davecgh/go-spew v1.1.1 08:50:19 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.33 08:50:19 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 08:50:19 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 08:50:19 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 08:50:19 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 08:50:19 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 08:50:19 go: finding github.com/edsrzf/mmap-go v1.0.0 08:50:19 go: finding github.com/fatih/color v1.7.0 08:50:19 go: finding github.com/fxamacker/cbor/v2 v2.2.0 08:50:19 go: finding github.com/go-kit/kit v0.8.0 08:50:19 go: finding github.com/go-logfmt/logfmt v0.4.0 08:50:19 go: finding github.com/go-stack/stack v1.8.0 08:50:19 go: finding github.com/golang/snappy v0.0.1 08:50:19 prd-ubuntu18.04-docker-arm64-4c-16g-5563 does not seem to be running inside a container 08:50:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/9 -v /w/workspace/device-virtual-go/9:/w/workspace/device-virtual-go/9:rw,z -v /w/workspace/device-virtual-go/9@tmp:/w/workspace/device-virtual-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:50:19 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 08:50:19 go: finding github.com/google/uuid v1.1.0 08:50:19 go: finding github.com/gorilla/mux v1.7.1 08:50:19 go: finding github.com/hashicorp/consul/api v1.1.0 08:50:19 go: finding github.com/hashicorp/consul/sdk v0.1.1 08:50:19 go: finding github.com/hashicorp/errwrap v1.0.0 08:50:19 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 08:50:19 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 08:50:19 go: finding github.com/hashicorp/go-msgpack v0.5.3 08:50:19 go: finding github.com/hashicorp/go-multierror v1.0.0 08:50:19 go: finding github.com/hashicorp/go-rootcerts v1.0.0 08:50:19 go: finding github.com/hashicorp/go-sockaddr v1.0.0 08:50:19 go: finding github.com/hashicorp/go-syslog v1.0.0 08:50:19 go: finding github.com/hashicorp/go-uuid v1.0.1 08:50:19 go: finding github.com/hashicorp/go.net v0.0.1 08:50:19 go: finding github.com/hashicorp/golang-lru v0.5.0 08:50:19 go: finding github.com/hashicorp/logutils v1.0.0 08:50:19 go: finding github.com/hashicorp/mdns v1.0.0 08:50:19 go: finding github.com/hashicorp/memberlist v0.1.3 08:50:19 go: finding github.com/hashicorp/serf v0.8.2 08:50:19 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 08:50:19 go: finding github.com/mattn/go-colorable v0.0.9 08:50:19 go: finding github.com/mattn/go-isatty v0.0.3 08:50:19 go: finding github.com/miekg/dns v1.0.14 08:50:19 go: finding github.com/mitchellh/cli v1.0.0 08:50:19 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:50:19 go: finding github.com/mitchellh/copystructure v1.0.0 08:50:19 go: finding github.com/mitchellh/go-homedir v1.0.0 08:50:19 go: finding github.com/mitchellh/go-testing-interface v1.0.0 08:50:19 go: finding github.com/mitchellh/gox v0.4.0 08:50:19 go: finding github.com/mitchellh/iochan v1.0.0 08:50:19 go: finding github.com/mitchellh/mapstructure v1.1.2 08:50:19 go: finding github.com/mitchellh/reflectwalk v1.0.0 08:50:19 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 08:50:19 go: finding github.com/pelletier/go-toml v1.2.0 08:50:19 go: finding github.com/pkg/errors v0.8.1 08:50:19 go: finding github.com/pmezard/go-difflib v1.0.0 08:50:19 go: finding github.com/posener/complete v1.1.1 08:50:19 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 08:50:19 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 08:50:19 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 08:50:19 go: finding github.com/stretchr/objx v0.1.0 08:50:19 go: finding github.com/stretchr/testify v1.5.1 08:50:20 go: finding github.com/ugorji/go v1.1.4 08:50:20 go: finding github.com/x448/float16 v0.8.4 08:50:20 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 08:50:20 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 08:50:20 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 08:50:20 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 08:50:20 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 08:50:20 go: finding gopkg.in/yaml.v2 v2.2.8 08:50:20 go: finding modernc.org/b v1.0.0 08:50:20 go: finding modernc.org/db v1.0.0 08:50:20 go: finding modernc.org/file v1.0.0 08:50:20 go: finding modernc.org/fileutil v1.0.0 08:50:20 go: finding modernc.org/golex v1.0.0 08:50:20 go: finding modernc.org/internal v1.0.0 08:50:20 go: finding modernc.org/lldb v1.0.0 08:50:20 go: finding modernc.org/mathutil v1.0.0 08:50:20 go: finding modernc.org/ql v1.0.0 08:50:20 go: finding modernc.org/sortutil v1.0.0 08:50:20 go: finding modernc.org/strutil v1.0.0 08:50:20 go: finding modernc.org/zappy v1.0.0 08:50:21 $ docker top c6b0e1f349b6ba92598bab63f190683a47c10d87c7d9c8333903c53c3d654bec -eo pid,comm [Pipeline] { [Pipeline] sh 08:50:22 + go version 08:50:22 go version go1.13.5 linux/arm64 [Pipeline] sh 08:50:22 + make test 08:50:22 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:50:23 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:50:25 Removing intermediate container b10babfad02c 08:50:25 ---> c906a84d8d04 08:50:25 Successfully built c906a84d8d04 08:50:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:50:26 + docker inspect -f . ci-base-image-x86_64 08:50:26 . [Pipeline] withDockerContainer 08:50:26 prd-centos7-docker-4c-2g-5564 does not seem to be running inside a container 08:50:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/9 -v /w/workspace/device-virtual-go/9:/w/workspace/device-virtual-go/9:rw,z -v /w/workspace/device-virtual-go/9@tmp:/w/workspace/device-virtual-go/9@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 08:50:27 $ docker top 5abe8d9c40db394167e3061d88fb1298a9ebb95472cc5a2f34131f1a83ff5e52 -eo pid,comm [Pipeline] { [Pipeline] sh 08:50:27 + go version 08:50:27 go version go1.13.5 linux/amd64 [Pipeline] sh 08:50:28 + make test 08:50:28 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:50:31 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:50:43 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:51:02 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:51:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 43.521s coverage: 51.2% of statements 08:51:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:51:30 gofmt -l . 08:51:30 [ "`gofmt -l .`" = "" ] 08:51:30 ./bin/test-attribution-txt.sh 08:51:30 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:51:31 Stashed 1 file(s) [Pipeline] } 08:51:31 $ docker stop --time=1 5abe8d9c40db394167e3061d88fb1298a9ebb95472cc5a2f34131f1a83ff5e52 08:51:32 $ docker rm -f 5abe8d9c40db394167e3061d88fb1298a9ebb95472cc5a2f34131f1a83ff5e52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:51:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:51:34 + ls -al . 08:51:34 total 112 08:51:34 drwxrwxr-x. 8 jenkins jenkins 4096 Apr 22 08:51 . 08:51:34 drwxrwxr-x. 4 jenkins jenkins 28 Apr 22 08:49 .. 08:51:34 -rw-rw-r--. 1 jenkins jenkins 6529 Apr 22 08:49 Attribution.txt 08:51:34 drwxrwxr-x. 2 jenkins jenkins 64 Apr 22 08:49 bin 08:51:34 drwxrwxr-x. 3 jenkins jenkins 32 Apr 22 08:49 cmd 08:51:34 -rw-r--r--. 1 jenkins jenkins 32181 Apr 22 08:51 coverage.out 08:51:34 -rw-rw-r--. 1 jenkins jenkins 1826 Apr 22 08:49 Dockerfile 08:51:34 -rw-rw-r--. 1 jenkins jenkins 957 Apr 22 08:49 Dockerfile.build 08:51:34 drwxrwxr-x. 8 jenkins jenkins 162 Apr 22 08:49 .git 08:51:34 drwxrwxr-x. 2 jenkins jenkins 38 Apr 22 08:49 .github 08:51:34 -rw-rw-r--. 1 jenkins jenkins 258 Apr 22 08:49 .gitignore 08:51:34 -rw-r--r--. 1 jenkins jenkins 862 Apr 22 08:51 go.mod 08:51:34 -rw-r--r--. 1 jenkins jenkins 14805 Apr 22 08:51 go.sum 08:51:34 drwxrwxr-x. 3 jenkins jenkins 20 Apr 22 08:49 internal 08:51:34 -rw-rw-r--. 1 jenkins jenkins 683 Apr 22 08:49 Jenkinsfile 08:51:34 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 22 08:49 LICENSE 08:51:34 -rw-rw-r--. 1 jenkins jenkins 873 Apr 22 08:49 Makefile 08:51:34 -rw-rw-r--. 1 jenkins jenkins 4413 Apr 22 08:49 README.md 08:51:34 drwxrwxr-x. 3 jenkins jenkins 44 Apr 22 08:49 .semver 08:51:34 -rw-rw-r--. 1 jenkins jenkins 11 Apr 22 08:46 VERSION 08:51:34 -rw-rw-r--. 1 jenkins jenkins 235 Apr 22 08:49 version.go [Pipeline] isUnix [Pipeline] sh 08:51:34 + 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=ad6ffe2e39edb285e4eeee4f80e60975285ca78d --label arch=amd64 --label version=1.2.0-dev.9 . 08:51:34 Sending build context to Docker daemon 34.1MB 08:51:34 Step 1/21 : ARG BASE=golang:1.13-alpine 08:51:34 Step 2/21 : FROM ${BASE} AS builder 08:51:34 ---> c906a84d8d04 08:51:34 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:51:34 ---> Running in 082d21bc4e2a 08:51:35 Removing intermediate container 082d21bc4e2a 08:51:35 ---> d8e305ff717e 08:51:35 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 08:51:35 ---> Running in fcccba393f71 08:51:35 Removing intermediate container fcccba393f71 08:51:35 ---> ea661f839a2f 08:51:35 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 08:51:35 ---> Running in 97ba7610dbb8 08:51:35 Removing intermediate container 97ba7610dbb8 08:51:35 ---> 9947f42b3d21 08:51:35 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:51:35 ---> Running in 45564240b508 08:51:36 Removing intermediate container 45564240b508 08:51:36 ---> 5788f70922b0 08:51:36 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:51:36 ---> Running in 1199d9605f4a 08:51:36 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 08:51:37 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 08:51:38 OK: 214 MiB in 52 packages 08:51:38 Removing intermediate container 1199d9605f4a 08:51:38 ---> 182f79107541 08:51:38 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 08:51:38 ---> Running in 2881a6bb72dd 08:51:38 Removing intermediate container 2881a6bb72dd 08:51:38 ---> 8e926af56873 08:51:38 Step 9/21 : COPY . . 08:51:39 ---> be589628eac8 08:51:39 Step 10/21 : ARG MAKE='make build' 08:51:39 ---> Running in 000cce8c461d 08:51:39 Removing intermediate container 000cce8c461d 08:51:39 ---> f2ac977e0bb5 08:51:39 Step 11/21 : RUN $MAKE 08:51:39 ---> Running in 9ea700eed6ef 08:51:39 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.0-dev.9" -o cmd/device-virtual ./cmd 08:51:51 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:51:53 Removing intermediate container 9ea700eed6ef 08:51:53 ---> bc4b5db8aa36 08:51:53 Step 12/21 : FROM alpine 08:51:54 latest: Pulling from library/alpine 08:51:54 aad63a933944: Pulling fs layer 08:51:54 aad63a933944: Verifying Checksum 08:51:54 aad63a933944: Download complete 08:51:54 aad63a933944: Pull complete 08:51:54 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 08:51:54 Status: Downloaded newer image for alpine:latest 08:51:54 ---> a187dde48cd2 08:51:54 Step 13/21 : ENV APP_PORT=49990 08:51:54 ---> Running in 122b6c82e1dc 08:51:54 Removing intermediate container 122b6c82e1dc 08:51:54 ---> b0908b83cc87 08:51:54 Step 14/21 : EXPOSE $APP_PORT 08:51:54 ---> Running in b2f1343d9bbb 08:51:54 Removing intermediate container b2f1343d9bbb 08:51:54 ---> 2d8e81cefde3 08:51:54 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 08:51:55 ---> 3ab4162d6fe4 08:51:55 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 08:51:55 ---> 8ca22045b2cb 08:51:55 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 08:51:55 ---> acabc9e057d9 08:51:55 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 08:51:55 ---> Running in 3deb81a0f787 08:51:56 Removing intermediate container 3deb81a0f787 08:51:56 ---> 886cf7a6e3c2 08:51:56 Step 19/21 : LABEL arch=amd64 08:51:56 ---> Running in 8897c7600b9a 08:51:56 Removing intermediate container 8897c7600b9a 08:51:56 ---> f404a96f6b7a 08:51:56 Step 20/21 : LABEL git_sha=ad6ffe2e39edb285e4eeee4f80e60975285ca78d 08:51:56 ---> Running in f33743f70738 08:51:56 Removing intermediate container f33743f70738 08:51:56 ---> bdb781345a8a 08:51:56 Step 21/21 : LABEL version=1.2.0-dev.9 08:51:56 ---> Running in fabcd5c128bc 08:51:56 Removing intermediate container fabcd5c128bc 08:51:56 ---> 9f0a134db7ad 08:51:56 [Warning] One or more build-args [ARCH] were not consumed 08:51:56 Successfully built 9f0a134db7ad 08:51:56 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 08:51:56 provisioning config files... 08:51:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/9@tmp/config4557958732338297166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:51:57 nexus3.edgexfoundry.org:10001 08:51:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:57 Configure a credential helper to remove this warning. See 08:51:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:57 08:51:57 Login Succeeded 08:51:57 nexus3.edgexfoundry.org:10002 08:51:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:57 Configure a credential helper to remove this warning. See 08:51:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:57 08:51:57 Login Succeeded 08:51:57 nexus3.edgexfoundry.org:10003 08:51:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:57 Configure a credential helper to remove this warning. See 08:51:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:57 08:51:57 Login Succeeded 08:51:57 nexus3.edgexfoundry.org:10004 08:51:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:58 Configure a credential helper to remove this warning. See 08:51:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:58 08:51:58 Login Succeeded 08:51:58 docker.io 08:51:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:58 Configure a credential helper to remove this warning. See 08:51:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:58 08:51:58 Login Succeeded [Pipeline] } 08:51:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:51:58 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 08:51:58 ad6ffe2e39edb285e4eeee4f80e60975285ca78d 08:51:58 latest 08:51:58 1.2.0-dev.9 08:51:58 ad6ffe2e39edb285e4eeee4f80e60975285ca78d-1.2.0-dev.9 08:51:58 master 08:51:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:51:59 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:ad6ffe2e39edb285e4eeee4f80e60975285ca78d [Pipeline] isUnix [Pipeline] sh 08:51:59 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:ad6ffe2e39edb285e4eeee4f80e60975285ca78d 08:51:59 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 08:51:59 11b907a89ba3: Preparing 08:51:59 0a109b08168a: Preparing 08:51:59 f1ba63cfd7e1: Preparing 08:51:59 beee9f30bc1f: Preparing 08:51:59 beee9f30bc1f: Layer already exists 08:51:59 11b907a89ba3: Pushed 08:51:59 0a109b08168a: Pushed 08:52:00 f1ba63cfd7e1: Pushed 08:52:01 ad6ffe2e39edb285e4eeee4f80e60975285ca78d: digest: sha256:aa9a9a1e16d57d09ef40a26c81c670f146889d2fb203e7573e5f75da982d9361 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:52:01 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 08:52:01 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 08:52:01 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 08:52:01 11b907a89ba3: Preparing 08:52:01 0a109b08168a: Preparing 08:52:01 f1ba63cfd7e1: Preparing 08:52:01 beee9f30bc1f: Preparing 08:52:01 f1ba63cfd7e1: Layer already exists 08:52:01 11b907a89ba3: Layer already exists 08:52:01 0a109b08168a: Layer already exists 08:52:01 beee9f30bc1f: Layer already exists 08:52:01 latest: digest: sha256:aa9a9a1e16d57d09ef40a26c81c670f146889d2fb203e7573e5f75da982d9361 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:52:01 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 08:52:02 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.0-dev.9 08:52:02 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 08:52:02 11b907a89ba3: Preparing 08:52:02 0a109b08168a: Preparing 08:52:02 f1ba63cfd7e1: Preparing 08:52:02 beee9f30bc1f: Preparing 08:52:02 0a109b08168a: Layer already exists 08:52:02 beee9f30bc1f: Layer already exists 08:52:02 11b907a89ba3: Layer already exists 08:52:02 f1ba63cfd7e1: Layer already exists 08:52:02 1.2.0-dev.9: digest: sha256:aa9a9a1e16d57d09ef40a26c81c670f146889d2fb203e7573e5f75da982d9361 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:52:02 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:ad6ffe2e39edb285e4eeee4f80e60975285ca78d-1.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 08:52:02 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:ad6ffe2e39edb285e4eeee4f80e60975285ca78d-1.2.0-dev.9 08:52:02 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 08:52:02 11b907a89ba3: Preparing 08:52:02 0a109b08168a: Preparing 08:52:02 f1ba63cfd7e1: Preparing 08:52:02 beee9f30bc1f: Preparing 08:52:02 11b907a89ba3: Layer already exists 08:52:02 0a109b08168a: Layer already exists 08:52:02 f1ba63cfd7e1: Layer already exists 08:52:02 beee9f30bc1f: Layer already exists 08:52:02 ad6ffe2e39edb285e4eeee4f80e60975285ca78d-1.2.0-dev.9: digest: sha256:aa9a9a1e16d57d09ef40a26c81c670f146889d2fb203e7573e5f75da982d9361 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:52:03 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 08:52:03 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 08:52:03 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 08:52:03 11b907a89ba3: Preparing 08:52:03 0a109b08168a: Preparing 08:52:03 f1ba63cfd7e1: Preparing 08:52:03 beee9f30bc1f: Preparing 08:52:03 11b907a89ba3: Layer already exists 08:52:03 beee9f30bc1f: Layer already exists 08:52:03 0a109b08168a: Layer already exists 08:52:03 f1ba63cfd7e1: Layer already exists 08:52:03 master: digest: sha256:aa9a9a1e16d57d09ef40a26c81c670f146889d2fb203e7573e5f75da982d9361 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] } 08:54:24 ok github.com/edgexfoundry/device-virtual-go/internal/driver 196.068s coverage: 51.2% of statements 08:54:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:54:27 gofmt -l . 08:54:27 [ "`gofmt -l .`" = "" ] 08:54:27 ./bin/test-attribution-txt.sh 08:54:29 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:54:29 Warning: overwriting stash ‘coverage-report’ 08:54:30 Stashed 1 file(s) [Pipeline] } 08:54:30 $ docker stop --time=1 c6b0e1f349b6ba92598bab63f190683a47c10d87c7d9c8333903c53c3d654bec 08:54:32 $ docker rm -f c6b0e1f349b6ba92598bab63f190683a47c10d87c7d9c8333903c53c3d654bec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:54:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:54:33 + ls -al . 08:54:33 total 140 08:54:33 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 08:54 . 08:54:33 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:48 .. 08:54:33 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 08:48 .git 08:54:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:48 .github 08:54:33 -rw-rw-r-- 1 jenkins jenkins 258 Apr 22 08:48 .gitignore 08:54:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:48 .semver 08:54:33 -rw-rw-r-- 1 jenkins jenkins 6529 Apr 22 08:48 Attribution.txt 08:54:33 -rw-rw-r-- 1 jenkins jenkins 1826 Apr 22 08:48 Dockerfile 08:54:33 -rw-rw-r-- 1 jenkins jenkins 957 Apr 22 08:48 Dockerfile.build 08:54:33 -rw-rw-r-- 1 jenkins jenkins 683 Apr 22 08:48 Jenkinsfile 08:54:33 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 22 08:48 LICENSE 08:54:33 -rw-rw-r-- 1 jenkins jenkins 873 Apr 22 08:48 Makefile 08:54:33 -rw-rw-r-- 1 jenkins jenkins 4413 Apr 22 08:48 README.md 08:54:33 -rw-rw-r-- 1 jenkins jenkins 11 Apr 22 08:46 VERSION 08:54:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:48 bin 08:54:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:48 cmd 08:54:33 -rw-r--r-- 1 jenkins jenkins 32181 Apr 22 08:54 coverage.out 08:54:33 -rw-r--r-- 1 jenkins jenkins 862 Apr 22 08:54 go.mod 08:54:33 -rw-r--r-- 1 jenkins jenkins 14805 Apr 22 08:54 go.sum 08:54:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:48 internal 08:54:33 -rw-rw-r-- 1 jenkins jenkins 235 Apr 22 08:48 version.go [Pipeline] isUnix [Pipeline] sh 08:54:34 + 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=ad6ffe2e39edb285e4eeee4f80e60975285ca78d --label arch=arm64 --label version=1.2.0-dev.9 . 08:54:34 Sending build context to Docker daemon 34.1MB 08:54:34 Step 1/21 : ARG BASE=golang:1.13-alpine 08:54:34 Step 2/21 : FROM ${BASE} AS builder 08:54:34 ---> 4be536db223c 08:54:34 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:54:35 ---> Running in 9a302323fc45 08:54:35 Removing intermediate container 9a302323fc45 08:54:35 ---> da601a926a13 08:54:35 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 08:54:35 ---> Running in 5c92511b0c48 08:54:35 Removing intermediate container 5c92511b0c48 08:54:35 ---> be8043ceb8ad 08:54:35 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 08:54:36 ---> Running in 19a533a1f4fb 08:54:36 Removing intermediate container 19a533a1f4fb 08:54:36 ---> 16bede000712 08:54:36 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:54:36 ---> Running in 69d57a5794b4 08:54:38 Removing intermediate container 69d57a5794b4 08:54:38 ---> b89681dfcdf5 08:54:38 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:54:38 ---> Running in 3b4987e0ff83 08:54:39 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 08:54:40 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 08:54:41 OK: 203 MiB in 52 packages 08:54:42 Removing intermediate container 3b4987e0ff83 08:54:42 ---> 780062f15225 08:54:42 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 08:54:42 ---> Running in e9d583f124f4 08:54:42 Removing intermediate container e9d583f124f4 08:54:42 ---> 2af14429ab8c 08:54:42 Step 9/21 : COPY . . 08:54:44 ---> 0025ecfb87f4 08:54:44 Step 10/21 : ARG MAKE='make build' 08:54:44 ---> Running in 4b33effa8dee 08:54:44 Removing intermediate container 4b33effa8dee 08:54:44 ---> ce6d8a549893 08:54:44 Step 11/21 : RUN $MAKE 08:54:45 ---> Running in 99973e4b526c 08:54:46 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.0-dev.9" -o cmd/device-virtual ./cmd 08:55:25 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:55:28 Removing intermediate container 99973e4b526c 08:55:28 ---> 727dca98b3b6 08:55:28 Step 12/21 : FROM alpine 08:55:28 latest: Pulling from library/alpine 08:55:28 8a0637ca1ac9: Pulling fs layer 08:55:29 8a0637ca1ac9: Verifying Checksum 08:55:29 8a0637ca1ac9: Download complete 08:55:29 8a0637ca1ac9: Pull complete 08:55:29 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 08:55:29 Status: Downloaded newer image for alpine:latest 08:55:29 ---> 2ee122dcc32d 08:55:29 Step 13/21 : ENV APP_PORT=49990 08:55:29 ---> Running in 7ee5c5ebbe13 08:55:30 Removing intermediate container 7ee5c5ebbe13 08:55:30 ---> 609895227771 08:55:30 Step 14/21 : EXPOSE $APP_PORT 08:55:30 ---> Running in 12d95c920e26 08:55:30 Removing intermediate container 12d95c920e26 08:55:30 ---> 35c7dc5ac86d 08:55:30 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 08:55:31 ---> fa551ddf6075 08:55:31 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 08:55:32 ---> 15536eca510a 08:55:32 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 08:55:32 ---> 7473d963fb14 08:55:32 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 08:55:33 ---> Running in d1d3e51a12d7 08:55:33 Removing intermediate container d1d3e51a12d7 08:55:33 ---> 17d462c3c658 08:55:33 Step 19/21 : LABEL arch=arm64 08:55:33 ---> Running in af0d388caf39 08:55:33 Removing intermediate container af0d388caf39 08:55:33 ---> 4852112baffe 08:55:33 Step 20/21 : LABEL git_sha=ad6ffe2e39edb285e4eeee4f80e60975285ca78d 08:55:33 ---> Running in d0b7845666d7 08:55:34 Removing intermediate container d0b7845666d7 08:55:34 ---> dcc547a86b64 08:55:34 Step 21/21 : LABEL version=1.2.0-dev.9 08:55:34 ---> Running in 209ee63714fe 08:55:34 Removing intermediate container 209ee63714fe 08:55:34 ---> 41b3e61c8e0d 08:55:34 [Warning] One or more build-args [ARCH] were not consumed 08:55:34 Successfully built 41b3e61c8e0d 08:55:34 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 08:55:35 provisioning config files... 08:55:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/9@tmp/config3137397446007271219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:55:35 nexus3.edgexfoundry.org:10001 08:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:55:36 Configure a credential helper to remove this warning. See 08:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:55:36 08:55:36 Login Succeeded 08:55:36 nexus3.edgexfoundry.org:10002 08:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:55:36 Configure a credential helper to remove this warning. See 08:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:55:36 08:55:36 Login Succeeded 08:55:36 nexus3.edgexfoundry.org:10003 08:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:55:37 Configure a credential helper to remove this warning. See 08:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:55:37 08:55:37 Login Succeeded 08:55:37 nexus3.edgexfoundry.org:10004 08:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:55:38 Configure a credential helper to remove this warning. See 08:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:55:38 08:55:38 Login Succeeded 08:55:38 docker.io 08:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:55:39 Configure a credential helper to remove this warning. See 08:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:55:39 08:55:39 Login Succeeded [Pipeline] } 08:55:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:55:39 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 08:55:39 ad6ffe2e39edb285e4eeee4f80e60975285ca78d 08:55:39 latest 08:55:39 1.2.0-dev.9 08:55:39 ad6ffe2e39edb285e4eeee4f80e60975285ca78d-1.2.0-dev.9 08:55:39 master 08:55:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:55:39 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:ad6ffe2e39edb285e4eeee4f80e60975285ca78d [Pipeline] isUnix [Pipeline] sh 08:55:40 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:ad6ffe2e39edb285e4eeee4f80e60975285ca78d 08:55:40 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 08:55:40 17f3e64c0bcb: Preparing 08:55:40 e2cd4d45b5f3: Preparing 08:55:40 976cd0298f25: Preparing 08:55:40 294ac687b5fc: Preparing 08:55:40 294ac687b5fc: Layer already exists 08:55:40 17f3e64c0bcb: Pushed 08:55:40 e2cd4d45b5f3: Pushed 08:55:43 976cd0298f25: Pushed 08:55:44 ad6ffe2e39edb285e4eeee4f80e60975285ca78d: digest: sha256:4dff6948081cd8f093309d9ee3bb574daca72acb327c78840617a0af4c061b71 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:55:44 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:55:45 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 08:55:45 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 08:55:45 17f3e64c0bcb: Preparing 08:55:45 e2cd4d45b5f3: Preparing 08:55:45 976cd0298f25: Preparing 08:55:45 294ac687b5fc: Preparing 08:55:45 294ac687b5fc: Layer already exists 08:55:45 976cd0298f25: Layer already exists 08:55:45 17f3e64c0bcb: Layer already exists 08:55:45 e2cd4d45b5f3: Layer already exists 08:55:45 latest: digest: sha256:4dff6948081cd8f093309d9ee3bb574daca72acb327c78840617a0af4c061b71 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:55:45 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 08:55:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.0-dev.9 08:55:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 08:55:46 17f3e64c0bcb: Preparing 08:55:46 e2cd4d45b5f3: Preparing 08:55:46 976cd0298f25: Preparing 08:55:46 294ac687b5fc: Preparing 08:55:46 976cd0298f25: Layer already exists 08:55:46 17f3e64c0bcb: Layer already exists 08:55:46 e2cd4d45b5f3: Layer already exists 08:55:46 294ac687b5fc: Layer already exists 08:55:46 1.2.0-dev.9: digest: sha256:4dff6948081cd8f093309d9ee3bb574daca72acb327c78840617a0af4c061b71 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:55:46 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:ad6ffe2e39edb285e4eeee4f80e60975285ca78d-1.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 08:55:47 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:ad6ffe2e39edb285e4eeee4f80e60975285ca78d-1.2.0-dev.9 08:55:47 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 08:55:47 17f3e64c0bcb: Preparing 08:55:47 e2cd4d45b5f3: Preparing 08:55:47 976cd0298f25: Preparing 08:55:47 294ac687b5fc: Preparing 08:55:47 17f3e64c0bcb: Layer already exists 08:55:47 e2cd4d45b5f3: Layer already exists 08:55:47 294ac687b5fc: Layer already exists 08:55:47 976cd0298f25: Layer already exists 08:55:47 ad6ffe2e39edb285e4eeee4f80e60975285ca78d-1.2.0-dev.9: digest: sha256:4dff6948081cd8f093309d9ee3bb574daca72acb327c78840617a0af4c061b71 size: 1155 [Pipeline] isUnix [Pipeline] sh 08:55:48 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 08:55:48 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 08:55:48 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 08:55:48 17f3e64c0bcb: Preparing 08:55:48 e2cd4d45b5f3: Preparing 08:55:48 976cd0298f25: Preparing 08:55:48 294ac687b5fc: Preparing 08:55:48 17f3e64c0bcb: Layer already exists 08:55:48 e2cd4d45b5f3: Layer already exists 08:55:48 976cd0298f25: Layer already exists 08:55:48 294ac687b5fc: Layer already exists 08:55:48 master: digest: sha256:4dff6948081cd8f093309d9ee3bb574daca72acb327c78840617a0af4c061b71 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 08:55:50 provisioning config files... 08:55:50 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3684867868453909214tmp [Pipeline] { [Pipeline] sh 08:55:50 + curl -s https://codecov.io/bash 08:55:50 + bash -s - -t @/w/workspace/foundry_device-virtual-go_master@tmp/config3684867868453909214tmp 08:55:50 08:55:50 _____ _ 08:55:50 / ____| | | 08:55:50 | | ___ __| | ___ ___ _____ __ 08:55:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:55:50 | |___| (_) | (_| | __/ (_| (_) \ V / 08:55:50 \_____\___/ \__,_|\___|\___\___/ \_/ 08:55:50 Bash-tbd 08:55:50 08:55:50 08:55:50 ==> Jenkins CI detected. 08:55:50 project root: . 08:55:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:55:50 ==> Running gcov in . (disable via -X gcov) 08:55:50 ==> Python coveragepy not found 08:55:50 ==> Searching for coverage reports in: 08:55:50 + . 08:55:50 -> Found 1 reports 08:55:50 ==> Detecting git/mercurial file structure 08:55:50 ==> Reading reports 08:55:50 + ./coverage.out bytes=32181 08:55:50 ==> Appending adjustments 08:55:50 http://docs.codecov.io/docs/fixing-reports 08:55:50 + Found adjustments 08:55:50 ==> Gzipping contents 08:55:50 ==> Uploading reports 08:55:50 url: https://codecov.io 08:55:50 query: branch=master&commit=ad6ffe2e39edb285e4eeee4f80e60975285ca78d&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job= 08:55:50 -> Pinging Codecov 08:55:50 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=ad6ffe2e39edb285e4eeee4f80e60975285ca78d&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job= 08:55:51 -> Uploading 08:55:51 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/ad6ffe2e39edb285e4eeee4f80e60975285ca78d [Pipeline] } 08:55:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 08:55:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 08:55:52 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 08:55:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:55:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 08:55:52 08:55:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 08:55:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 08:55:52 1.217.3: Pulling from edgex-devops/edgex-snyk-go 08:55:52 e6b0cf9c0882: Pulling fs layer 08:55:52 2848faf0eed1: Pulling fs layer 08:55:52 0f37312ad70f: Pulling fs layer 08:55:52 7d08f2745646: Pulling fs layer 08:55:52 4c9f31393084: Pulling fs layer 08:55:52 eb21ddb83652: Pulling fs layer 08:55:52 345998794f6b: Pulling fs layer 08:55:52 97a711d68925: Pulling fs layer 08:55:52 7c8476c1cb00: Pulling fs layer 08:55:52 7d08f2745646: Waiting 08:55:52 4c9f31393084: Waiting 08:55:52 345998794f6b: Waiting 08:55:52 eb21ddb83652: Waiting 08:55:52 7c8476c1cb00: Waiting 08:55:52 97a711d68925: Waiting 08:55:52 0f37312ad70f: Verifying Checksum 08:55:52 0f37312ad70f: Download complete 08:55:52 2848faf0eed1: Download complete 08:55:52 4c9f31393084: Verifying Checksum 08:55:52 4c9f31393084: Download complete 08:55:52 eb21ddb83652: Verifying Checksum 08:55:52 eb21ddb83652: Download complete 08:55:52 e6b0cf9c0882: Verifying Checksum 08:55:52 e6b0cf9c0882: Download complete 08:55:53 e6b0cf9c0882: Pull complete 08:55:53 2848faf0eed1: Pull complete 08:55:53 0f37312ad70f: Pull complete 08:55:53 345998794f6b: Verifying Checksum 08:55:53 345998794f6b: Download complete 08:55:53 97a711d68925: Verifying Checksum 08:55:53 97a711d68925: Download complete 08:55:54 7c8476c1cb00: Verifying Checksum 08:55:54 7c8476c1cb00: Download complete 08:55:55 7d08f2745646: Verifying Checksum 08:55:55 7d08f2745646: Download complete 08:56:00 7d08f2745646: Pull complete 08:56:00 4c9f31393084: Pull complete 08:56:00 eb21ddb83652: Pull complete 08:56:01 345998794f6b: Pull complete 08:56:06 97a711d68925: Pull complete 08:56:06 7c8476c1cb00: Pull complete 08:56:06 Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 08:56:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 08:56:06 prd-centos7-docker-4c-2g-5562 does not seem to be running inside a container 08:56:06 $ 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 08:56:07 $ docker top 2a2608272919e8b830c1d2252aff5ed002e690688bbc8336087c31af48bed55c -eo pid,comm [Pipeline] { [Pipeline] sh 08:56:07 + snyk monitor '--org=edgex-jenkins' 08:56:34 08:56:34 Monitoring /w/workspace/foundry_device-virtual-go_master... 08:56:34 08:56:34 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/5fd5d42b-1a94-4c3c-8ea7-0f8bc2a1dd6b 08:56:34 08:56:34 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:56:34 08:56:34 [Pipeline] } 08:56:34 $ docker stop --time=1 2a2608272919e8b830c1d2252aff5ed002e690688bbc8336087c31af48bed55c 08:56:35 $ docker rm -f 2a2608272919e8b830c1d2252aff5ed002e690688bbc8336087c31af48bed55c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:56:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:56:36 08:56:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 08:56:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:56:36 latest: Pulling from edgex-devops/edgex-klar 08:56:36 e7c96db7181b: Pulling fs layer 08:56:36 1868ca2cb446: Pulling fs layer 08:56:36 136be5d0fe8e: Pulling fs layer 08:56:36 894bfe63afcb: Pulling fs layer 08:56:36 894bfe63afcb: Waiting 08:56:36 1868ca2cb446: Verifying Checksum 08:56:36 1868ca2cb446: Download complete 08:56:36 136be5d0fe8e: Download complete 08:56:36 e7c96db7181b: Verifying Checksum 08:56:36 e7c96db7181b: Download complete 08:56:37 894bfe63afcb: Verifying Checksum 08:56:37 894bfe63afcb: Download complete 08:56:37 e7c96db7181b: Pull complete 08:56:37 1868ca2cb446: Pull complete 08:56:37 136be5d0fe8e: Pull complete 08:56:37 894bfe63afcb: Pull complete 08:56:37 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 08:56:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 08:56:37 prd-centos7-docker-4c-2g-5562 does not seem to be running inside a container 08:56:37 $ 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 08:56:38 $ docker top 24fb649fb4726f5daa991c690675f33f30eba3183a6fec64f5ef4b403f396fb5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:39 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:ad6ffe2e39edb285e4eeee4f80e60975285ca78d 08:56:39 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:56:43 $ docker stop --time=1 24fb649fb4726f5daa991c690675f33f30eba3183a6fec64f5ef4b403f396fb5 08:56:44 $ docker rm -f 24fb649fb4726f5daa991c690675f33f30eba3183a6fec64f5ef4b403f396fb5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:56:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:56:45 . [Pipeline] withDockerContainer 08:56:45 prd-centos7-docker-4c-2g-5562 does not seem to be running inside a container 08:56:45 $ 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 08:56:45 $ docker top 54384ab7aa40bd42a135026c6b0ecaa40e75d7fd9e4607b0a3d3093dba0924e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:46 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:ad6ffe2e39edb285e4eeee4f80e60975285ca78d 08:56:46 + tee 08:56:46 clair timeout 1m0s 08:56:46 docker timeout: 1m0s 08:56:46 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:56:46 $ docker stop --time=1 54384ab7aa40bd42a135026c6b0ecaa40e75d7fd9e4607b0a3d3093dba0924e0 08:56:48 $ docker rm -f 54384ab7aa40bd42a135026c6b0ecaa40e75d7fd9e4607b0a3d3093dba0924e0 [Pipeline] // withDockerContainer [Pipeline] sh 08:56:48 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 08:56:48 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go_ad6ffe2e39edb285e4eeee4f80e60975285ca78d.html [Pipeline] writeFile [Pipeline] step 08:56:48 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 08:56:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:56:49 . [Pipeline] withDockerContainer 08:56:49 prd-centos7-docker-4c-2g-5562 does not seem to be running inside a container 08:56:49 $ 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 08:56:49 $ docker top ec1b177a7e9fe27746aef2bef296d6c0cc75c2b6a9038060a19a42ce46d5580f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:50 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:ad6ffe2e39edb285e4eeee4f80e60975285ca78d 08:56:50 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:56:53 $ docker stop --time=1 ec1b177a7e9fe27746aef2bef296d6c0cc75c2b6a9038060a19a42ce46d5580f 08:56:55 $ docker rm -f ec1b177a7e9fe27746aef2bef296d6c0cc75c2b6a9038060a19a42ce46d5580f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:56:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 08:56:55 . [Pipeline] withDockerContainer 08:56:55 prd-centos7-docker-4c-2g-5562 does not seem to be running inside a container 08:56:55 $ 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 08:56:56 $ docker top 3834ff595fd408efaaf611bbbd5f7cec230fd35adb8d771b6283d065cfc326af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:56 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:ad6ffe2e39edb285e4eeee4f80e60975285ca78d 08:56:56 + tee 08:56:56 clair timeout 1m0s 08:56:56 docker timeout: 1m0s 08:56:56 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:56:57 $ docker stop --time=1 3834ff595fd408efaaf611bbbd5f7cec230fd35adb8d771b6283d065cfc326af 08:56:58 $ docker rm -f 3834ff595fd408efaaf611bbbd5f7cec230fd35adb8d771b6283d065cfc326af [Pipeline] // withDockerContainer [Pipeline] sh 08:56:59 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 08:56:59 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go-arm64_ad6ffe2e39edb285e4eeee4f80e60975285ca78d.html [Pipeline] writeFile [Pipeline] step 08:56:59 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 08:56:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:56:59 . [Pipeline] withDockerContainer 08:57:00 prd-centos7-docker-4c-2g-5562 does not seem to be running inside a container 08:57:00 $ 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 08:57:00 $ docker top 825ef8933de15ecdaee1dcbda1659e6963a27ffbf1f890fab009f87bc1ba48c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:57:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:57:00 [ssh-agent] Looking for ssh-agent implementation... 08:57:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:57:01 $ docker exec 825ef8933de15ecdaee1dcbda1659e6963a27ffbf1f890fab009f87bc1ba48c6 ssh-agent 08:57:01 SSH_AUTH_SOCK=/tmp/ssh-tfGhwZXh4HlN/agent.14 08:57:01 SSH_AGENT_PID=21 08:57:01 Running ssh-add (command line suppressed) 08:57:01 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2918274433475679171.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2918274433475679171.key) 08:57:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:57:01 + git semver tag 08:57:01 # -> Open(): unable to determine branch for HEAD 08:57:01 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 08:57:01 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 08:57:01 # $SEMVER_REMOTE_NAME = origin 08:57:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:57:01 # $SEMVER_USER_NAME = edgex-jenkins 08:57:01 # $SEMVER_BRANCH = master 08:57:01 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 08:57:01 # ad6ffe2e39edb285e4eeee4f80e60975285ca78d HEAD 08:57:01 # -> Force: false 08:57:01 # 1980fe75b7beb3beb99ba458099f6e15d04d91d2 refs/tags/v1.2.0-dev.9 [Pipeline] } 08:57:01 $ docker exec --env ******** --env ******** 825ef8933de15ecdaee1dcbda1659e6963a27ffbf1f890fab009f87bc1ba48c6 ssh-agent -k 08:57:02 unset SSH_AUTH_SOCK; 08:57:02 unset SSH_AGENT_PID; 08:57:02 echo Agent pid 21 killed; 08:57:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:57:02 + git semver [Pipeline] } 08:57:02 $ docker stop --time=1 825ef8933de15ecdaee1dcbda1659e6963a27ffbf1f890fab009f87bc1ba48c6 08:57:03 $ docker rm -f 825ef8933de15ecdaee1dcbda1659e6963a27ffbf1f890fab009f87bc1ba48c6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 08:57:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:57:04 08:57:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 08:57:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:57:04 0.23.1-centos7: Pulling from edgex-lftools 08:57:04 ab5ef0e58194: Pulling fs layer 08:57:04 9712f1f96733: Pulling fs layer 08:57:04 63f879dbbcfc: Pulling fs layer 08:57:04 0d9ebad4ef96: Pulling fs layer 08:57:04 e9a5061849ea: Pulling fs layer 08:57:04 d747dcd14b5f: Pulling fs layer 08:57:04 2de7ff778b66: Pulling fs layer 08:57:04 0d9ebad4ef96: Waiting 08:57:04 e9a5061849ea: Waiting 08:57:04 d747dcd14b5f: Waiting 08:57:04 2de7ff778b66: Waiting 08:57:04 9712f1f96733: Download complete 08:57:05 63f879dbbcfc: Verifying Checksum 08:57:05 63f879dbbcfc: Download complete 08:57:05 e9a5061849ea: Verifying Checksum 08:57:05 e9a5061849ea: Download complete 08:57:05 d747dcd14b5f: Verifying Checksum 08:57:05 d747dcd14b5f: Download complete 08:57:05 2de7ff778b66: Verifying Checksum 08:57:05 2de7ff778b66: Download complete 08:57:05 0d9ebad4ef96: Verifying Checksum 08:57:05 0d9ebad4ef96: Download complete 08:57:05 ab5ef0e58194: Verifying Checksum 08:57:05 ab5ef0e58194: Download complete 08:57:11 ab5ef0e58194: Pull complete 08:57:11 9712f1f96733: Pull complete 08:57:13 63f879dbbcfc: Pull complete 08:57:19 0d9ebad4ef96: Pull complete 08:57:21 e9a5061849ea: Pull complete 08:57:21 d747dcd14b5f: Pull complete 08:57:24 2de7ff778b66: Pull complete 08:57:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:57:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 08:57:24 prd-centos7-docker-4c-2g-5562 does not seem to be running inside a container 08:57:24 $ 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 08:57:25 $ docker top dc89b074165686dc5b1c7690f7f4372da4dc16cb05678a852fcc1aaf03577a60 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:57:26 provisioning config files... 08:57:26 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3712302005011033475tmp 08:57:26 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2765649216334905392tmp 08:57:26 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config972872441926881285tmp [Pipeline] { [Pipeline] echo 08:57:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:57:26 ---> sigul-configuration.sh 08:57:26 gpg: directory `/root/.gnupg' created 08:57:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:57:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:57:26 gpg: keyring `/root/.gnupg/secring.gpg' created 08:57:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:57:26 gpg: CAST5 encrypted data 08:57:26 gpg: encrypted with 1 passphrase 08:57:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:57:27 + mkdir /home/jenkins 08:57:27 + mkdir /home/jenkins/sigul [Pipeline] sh 08:57:27 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 08:57:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:57:27 ---> sigul-install.sh 08:57:34 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 08:57:34 + git tag --list 08:57:34 v1.2.0-dev.9 [Pipeline] sh 08:57:34 + lftools sign git-tag v1.2.0-dev.9 08:57:35 Signing Git tag with Sigul... 08:57:35 Signing v1.2.0-dev.9 [Pipeline] echo 08:57:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:57:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:57:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:57:37 $ docker stop --time=1 dc89b074165686dc5b1c7690f7f4372da4dc16cb05678a852fcc1aaf03577a60 08:57:38 $ docker rm -f dc89b074165686dc5b1c7690f7f4372da4dc16cb05678a852fcc1aaf03577a60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 08:57:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:57:39 . [Pipeline] withDockerContainer 08:57:39 prd-centos7-docker-4c-2g-5562 does not seem to be running inside a container 08:57:39 $ 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 08:57:40 $ docker top a94d8bf712bddc9c761a0088551ae0ed518e6950ed54cbbdb7a23430536b2364 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:57:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:57:40 [ssh-agent] Looking for ssh-agent implementation... 08:57:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:57:40 $ docker exec a94d8bf712bddc9c761a0088551ae0ed518e6950ed54cbbdb7a23430536b2364 ssh-agent 08:57:41 SSH_AUTH_SOCK=/tmp/ssh-uOkQJ8XYXUDH/agent.14 08:57:41 SSH_AGENT_PID=21 08:57:41 Running ssh-add (command line suppressed) 08:57:41 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2598315235391374642.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2598315235391374642.key) 08:57:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:57:41 + git semver bump pre 08:57:41 # -> Open(): unable to determine branch for HEAD 08:57:41 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 08:57:41 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 08:57:41 # $SEMVER_REMOTE_NAME = origin 08:57:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:57:41 # $SEMVER_USER_NAME = edgex-jenkins 08:57:41 # $SEMVER_BRANCH = master 08:57:41 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 08:57:41 1.2.0-dev.10 [Pipeline] } 08:57:41 $ docker exec --env ******** --env ******** a94d8bf712bddc9c761a0088551ae0ed518e6950ed54cbbdb7a23430536b2364 ssh-agent -k 08:57:41 unset SSH_AUTH_SOCK; 08:57:41 unset SSH_AGENT_PID; 08:57:41 echo Agent pid 21 killed; 08:57:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:57:42 + git semver [Pipeline] } 08:57:42 $ docker stop --time=1 a94d8bf712bddc9c761a0088551ae0ed518e6950ed54cbbdb7a23430536b2364 08:57:43 $ docker rm -f a94d8bf712bddc9c761a0088551ae0ed518e6950ed54cbbdb7a23430536b2364 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:57:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:57:44 . [Pipeline] withDockerContainer 08:57:44 prd-centos7-docker-4c-2g-5562 does not seem to be running inside a container 08:57:44 $ 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 08:57:44 $ docker top 713e230f81fbfaa6d1e700b7e32289b265ab418417e4c9918182d1ba959c3e06 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:57:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:57:44 [ssh-agent] Looking for ssh-agent implementation... 08:57:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:57:45 $ docker exec 713e230f81fbfaa6d1e700b7e32289b265ab418417e4c9918182d1ba959c3e06 ssh-agent 08:57:45 SSH_AUTH_SOCK=/tmp/ssh-t7Fc0zxEulfA/agent.15 08:57:45 SSH_AGENT_PID=22 08:57:45 Running ssh-add (command line suppressed) 08:57:45 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2878990568533393952.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2878990568533393952.key) 08:57:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:57:45 + git semver push 08:57:45 # -> Open(): unable to determine branch for HEAD 08:57:45 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 08:57:45 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 08:57:45 # $SEMVER_REMOTE_NAME = origin 08:57:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:57:45 # $SEMVER_USER_NAME = edgex-jenkins 08:57:45 # $SEMVER_BRANCH = master 08:57:45 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 08:57:52 $ docker exec --env ******** --env ******** 713e230f81fbfaa6d1e700b7e32289b265ab418417e4c9918182d1ba959c3e06 ssh-agent -k 08:57:52 unset SSH_AUTH_SOCK; 08:57:52 unset SSH_AGENT_PID; 08:57:52 echo Agent pid 22 killed; 08:57:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:57:53 + git semver [Pipeline] } 08:57:53 $ docker stop --time=1 713e230f81fbfaa6d1e700b7e32289b265ab418417e4c9918182d1ba959c3e06 08:57:54 $ docker rm -f 713e230f81fbfaa6d1e700b7e32289b265ab418417e4c9918182d1ba959c3e06 [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 08:57:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:57:55 ---> package-listing.sh 08:57:55 ++ facter osfamily 08:57:55 ++ tr '[:upper:]' '[:lower:]' 08:57:55 + OS_FAMILY=redhat 08:57:55 + workspace=/w/workspace/foundry_device-virtual-go_master 08:57:55 + START_PACKAGES=/tmp/packages_start.txt 08:57:55 + END_PACKAGES=/tmp/packages_end.txt 08:57:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:57:55 + PACKAGES=/tmp/packages_start.txt 08:57:55 + '[' /w/workspace/foundry_device-virtual-go_master ']' 08:57:55 + PACKAGES=/tmp/packages_end.txt 08:57:55 + case "${OS_FAMILY}" in 08:57:55 + rpm -qa 08:57:55 + sort 08:57:59 + '[' -f /tmp/packages_start.txt ']' 08:57:59 + '[' -f /tmp/packages_end.txt ']' 08:57:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:57:59 + '[' /w/workspace/foundry_device-virtual-go_master ']' 08:57:59 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 08:57:59 + 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 08:58:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:58:00 08:58:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:58:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:58:00 alpine: Pulling from edgex-lftools-log-publisher 08:58:00 c9b1b535fdd9: Pulling fs layer 08:58:00 2cc5ad85d9ab: Pulling fs layer 08:58:00 756a868c4378: Pulling fs layer 08:58:00 444b2fc9a129: Pulling fs layer 08:58:00 ea15f1150254: Pulling fs layer 08:58:00 41b27a9f41bf: Pulling fs layer 08:58:00 28c525ee5125: Pulling fs layer 08:58:00 094b1ea09ed8: Pulling fs layer 08:58:00 138eaada9080: Pulling fs layer 08:58:00 0622d0fa9048: Pulling fs layer 08:58:00 41b27a9f41bf: Waiting 08:58:00 138eaada9080: Waiting 08:58:00 28c525ee5125: Waiting 08:58:00 094b1ea09ed8: Waiting 08:58:00 0622d0fa9048: Waiting 08:58:00 ea15f1150254: Waiting 08:58:00 444b2fc9a129: Waiting 08:58:00 2cc5ad85d9ab: Verifying Checksum 08:58:00 2cc5ad85d9ab: Download complete 08:58:00 444b2fc9a129: Verifying Checksum 08:58:00 444b2fc9a129: Download complete 08:58:00 c9b1b535fdd9: Verifying Checksum 08:58:00 ea15f1150254: Verifying Checksum 08:58:00 ea15f1150254: Download complete 08:58:00 28c525ee5125: Verifying Checksum 08:58:00 28c525ee5125: Download complete 08:58:01 756a868c4378: Verifying Checksum 08:58:01 756a868c4378: Download complete 08:58:01 c9b1b535fdd9: Pull complete 08:58:01 138eaada9080: Verifying Checksum 08:58:01 138eaada9080: Download complete 08:58:01 094b1ea09ed8: Verifying Checksum 08:58:01 094b1ea09ed8: Download complete 08:58:01 0622d0fa9048: Verifying Checksum 08:58:01 0622d0fa9048: Download complete 08:58:01 41b27a9f41bf: Verifying Checksum 08:58:01 41b27a9f41bf: Download complete 08:58:02 2cc5ad85d9ab: Pull complete 08:58:04 756a868c4378: Pull complete 08:58:04 444b2fc9a129: Pull complete 08:58:04 ea15f1150254: Pull complete 08:58:07 41b27a9f41bf: Pull complete 08:58:07 28c525ee5125: Pull complete 08:58:09 094b1ea09ed8: Pull complete 08:58:09 138eaada9080: Pull complete 08:58:09 0622d0fa9048: Pull complete 08:58:10 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 08:58:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:58:10 prd-centos7-docker-4c-2g-5562 does not seem to be running inside a container 08:58:10 $ 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 08:58:11 $ docker top f35ecb19ba9cda569949e331665e320f32580061ec97cf9b806c1c96e48447a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:58:11 provisioning config files... 08:58:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4861938373394204706tmp [Pipeline] { [Pipeline] echo 08:58:11 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:58:12 ---> create-netrc.sh [Pipeline] echo 08:58:12 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:58:12 ---> logs-deploy.sh 08:58:12 + ARCHIVE_ARTIFACTS= 08:58:12 + LOGS_SERVER=https://logs.edgexfoundry.org 08:58:12 + '[' https://logs.edgexfoundry.org == None ']' 08:58:12 + NEXUS_URL=https://nexus.edgexfoundry.org 08:58:12 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/9 08:58:12 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/9/ 08:58:12 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/9 /w/workspace/foundry_device-virtual-go_master 08:58:13 Archives upload complete. 08:58:13 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/9 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/9/