Started by user Lisa Rashidi-Ranjbar Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 765a8ae72530510c4ebab34c81f831f56123a77d Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3034 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 765a8ae72530510c4ebab34c81f831f56123a77d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 765a8ae72530510c4ebab34c81f831f56123a77d # timeout=10 Commit message: "Merge pull request #113 from tonyespy/update-sdk-122" > git rev-list --no-walk 765a8ae72530510c4ebab34c81f831f56123a77d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:39:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:39:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:39:56 ========================================================= 15:39:56 EdgeX Global Pipelines Version Info 15:39:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:39:58 ------------------- 15:39:58 stable info: 15:39:58 ------------------- 15:39:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:39:58 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 15:39:58 Message: update stable to v1.0.89 15:39:59 ------------------- 15:39:59 experimental info: 15:39:59 ------------------- 15:39:59 Commited By: **** collab-it+edgex@linuxfoundation.org 15:39:59 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 15:39:59 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 15:40:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:40:01 15:40:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:40:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:40:01 latest: Pulling from edgex-devops/git-semver 15:40:01 9123ac7c32f7: Pulling fs layer 15:40:01 b8cc5d1170e3: Pulling fs layer 15:40:01 2924cbbf6a41: Pulling fs layer 15:40:01 93b08a4f1073: Pulling fs layer 15:40:01 93b08a4f1073: Waiting 15:40:01 b8cc5d1170e3: Verifying Checksum 15:40:01 b8cc5d1170e3: Download complete 15:40:01 9123ac7c32f7: Verifying Checksum 15:40:01 9123ac7c32f7: Download complete 15:40:02 93b08a4f1073: Verifying Checksum 15:40:02 93b08a4f1073: Download complete 15:40:02 2924cbbf6a41: Verifying Checksum 15:40:02 2924cbbf6a41: Download complete 15:40:02 9123ac7c32f7: Pull complete 15:40:02 b8cc5d1170e3: Pull complete 15:40:03 2924cbbf6a41: Pull complete 15:40:03 93b08a4f1073: Pull complete 15:40:03 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 15:40:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:40:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:40:03 prd-centos7-docker-4c-2g-3034 does not seem to be running inside a container 15:40:03 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:40:06 $ docker top 38ba1f17035dbe1677a341725ce1b5f6db67adc7f86fcd78db0d3ce375808a6c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:40:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:40:06 [ssh-agent] Looking for ssh-agent implementation... 15:40:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:40:06 $ docker exec 38ba1f17035dbe1677a341725ce1b5f6db67adc7f86fcd78db0d3ce375808a6c ssh-agent 15:40:06 SSH_AUTH_SOCK=/tmp/ssh-mTBWHvVtzT9s/agent.11 15:40:06 SSH_AGENT_PID=16 15:40:06 Running ssh-add (command line suppressed) 15:40:06 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4255308696370997112.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4255308696370997112.key) 15:40:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:40:07 + git describe --exact-match --tags HEAD 15:40:07 fatal: No names found, cannot describe anything. [Pipeline] } 15:40:07 $ docker exec --env ******** --env ******** 38ba1f17035dbe1677a341725ce1b5f6db67adc7f86fcd78db0d3ce375808a6c ssh-agent -k 15:40:07 unset SSH_AUTH_SOCK; 15:40:07 unset SSH_AGENT_PID; 15:40:07 echo Agent pid 16 killed; 15:40:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:40:07 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:40:07 This usually means this commit has not been tagged. [Pipeline] sshagent 15:40:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:40:07 [ssh-agent] Looking for ssh-agent implementation... 15:40:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:40:07 $ docker exec 38ba1f17035dbe1677a341725ce1b5f6db67adc7f86fcd78db0d3ce375808a6c ssh-agent 15:40:08 SSH_AUTH_SOCK=/tmp/ssh-salTaccSoKQE/agent.44 15:40:08 SSH_AGENT_PID=50 15:40:08 Running ssh-add (command line suppressed) 15:40:08 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_913540543524866050.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_913540543524866050.key) 15:40:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:40:08 + git semver init 15:40:08 # -> Open(): unable to determine branch for HEAD 15:40:08 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 15:40:08 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 15:40:08 # $SEMVER_REMOTE_NAME = origin 15:40:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:40:08 # $SEMVER_USER_NAME = edgex-jenkins 15:40:08 # $SEMVER_BRANCH = master 15:40:08 # $SEMVER_TEMP = /tmp/semver-762026664 15:40:08 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 15:40:09 # '/tmp/semver-762026664' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 15:40:09 # -> Force: false 15:40:09 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 15:40:09 $ docker exec --env ******** --env ******** 38ba1f17035dbe1677a341725ce1b5f6db67adc7f86fcd78db0d3ce375808a6c ssh-agent -k 15:40:09 unset SSH_AUTH_SOCK; 15:40:09 unset SSH_AGENT_PID; 15:40:09 echo Agent pid 50 killed; 15:40:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:40:09 + git semver [Pipeline] } 15:40:09 $ docker stop --time=1 38ba1f17035dbe1677a341725ce1b5f6db67adc7f86fcd78db0d3ce375808a6c 15:40:11 $ docker rm -f 38ba1f17035dbe1677a341725ce1b5f6db67adc7f86fcd78db0d3ce375808a6c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:40:11 Stashed 29 file(s) [Pipeline] echo 15:40:11 [edgeXSemver] initialized semver on version 1.2.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 15:40:26 Still waiting to schedule task 15:40:26 ‘prd-centos7-blackbox-4c-2g-2990’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3038’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3036’ doesn’t have label ‘centos7-docker-4c-2g’ 15:40:26 Still waiting to schedule task 15:40:26 ‘prd-centos7-blackbox-4c-2g-2990’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3038’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3036’ is offline 15:41:40 Running on prd-centos7-docker-4c-2g-3043 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 15:41:40 Running in /w/workspace/device-virtual-go/15 [Pipeline] { [Pipeline] checkout 15:41:42 using credential edgex-jenkins-ssh 15:41:42 Cloning the remote Git repository 15:41:42 Cloning with configured refspecs honoured and without tags 15:41:42 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 15:41:42 > git init /w/workspace/device-virtual-go/15 # timeout=10 15:41:43 Fetching without tags 15:41:43 Checking out Revision 765a8ae72530510c4ebab34c81f831f56123a77d (master) 15:41:42 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:41:42 > git --version # timeout=10 15:41:42 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41:42 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:41:43 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:41:43 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:41:43 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:41:43 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:41:43 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41:43 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:41:43 > git config core.sparsecheckout # timeout=10 15:41:43 > git checkout -f 765a8ae72530510c4ebab34c81f831f56123a77d # timeout=10 15:41:47 Commit message: "Merge pull request #113 from tonyespy/update-sdk-122" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:41:48 ========================================================= 15:41:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 15:41:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:41:48 + 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 . 15:41:49 Sending build context to Docker daemon 510kB 15:41:49 Step 1/8 : ARG BASE=golang:1.13-alpine 15:41:49 Step 2/8 : FROM ${BASE} 15:41:49 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 15:41:49 e6b0cf9c0882: Pulling fs layer 15:41:49 2848faf0eed1: Pulling fs layer 15:41:49 0f37312ad70f: Pulling fs layer 15:41:49 5788d62ee057: Pulling fs layer 15:41:49 0e6b1d234666: Pulling fs layer 15:41:49 bf5d7aec512f: Pulling fs layer 15:41:49 34c802a77dc8: Pulling fs layer 15:41:49 9eb99e56ec68: Pulling fs layer 15:41:49 27c7a5d97fbd: Pulling fs layer 15:41:49 5c102a31e300: Pulling fs layer 15:41:49 dcfb455df0a1: Pulling fs layer 15:41:49 34c802a77dc8: Waiting 15:41:49 9eb99e56ec68: Waiting 15:41:49 27c7a5d97fbd: Waiting 15:41:49 5c102a31e300: Waiting 15:41:49 dcfb455df0a1: Waiting 15:41:49 5788d62ee057: Waiting 15:41:49 0e6b1d234666: Waiting 15:41:49 bf5d7aec512f: Waiting 15:41:49 0f37312ad70f: Verifying Checksum 15:41:49 0f37312ad70f: Download complete 15:41:49 2848faf0eed1: Download complete 15:41:49 0e6b1d234666: Download complete 15:41:49 bf5d7aec512f: Verifying Checksum 15:41:49 bf5d7aec512f: Download complete 15:41:49 e6b0cf9c0882: Verifying Checksum 15:41:49 e6b0cf9c0882: Download complete 15:41:49 e6b0cf9c0882: Pull complete 15:41:49 2848faf0eed1: Pull complete 15:41:49 0f37312ad70f: Pull complete 15:41:50 34c802a77dc8: Verifying Checksum 15:41:50 34c802a77dc8: Download complete 15:41:50 27c7a5d97fbd: Verifying Checksum 15:41:50 27c7a5d97fbd: Download complete 15:41:51 5788d62ee057: Verifying Checksum 15:41:51 5788d62ee057: Download complete 15:41:51 dcfb455df0a1: Verifying Checksum 15:41:51 dcfb455df0a1: Download complete 15:41:51 9eb99e56ec68: Verifying Checksum 15:41:51 9eb99e56ec68: Download complete 15:41:52 5c102a31e300: Verifying Checksum 15:41:59 5788d62ee057: Pull complete 15:41:59 0e6b1d234666: Pull complete 15:41:59 bf5d7aec512f: Pull complete 15:42:03 34c802a77dc8: Pull complete 15:42:06 9eb99e56ec68: Pull complete 15:42:06 27c7a5d97fbd: Pull complete 15:42:07 5c102a31e300: Pull complete 15:42:07 dcfb455df0a1: Pull complete 15:42:07 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 15:42:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 15:42:07 ---> 7c70fe431013 15:42:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 15:42:09 ---> Running in 79a2d875f45f 15:42:09 Removing intermediate container 79a2d875f45f 15:42:09 ---> 977af60d179f 15:42:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:42:09 ---> Running in af604005771c 15:42:10 Removing intermediate container af604005771c 15:42:10 ---> 4fc767453857 15:42:10 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 15:42:10 ---> Running in fe5e40f93c45 15:42:11 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:42:12 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:42:13 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 15:42:13 (2/17) Installing libmagic (5.37-r1) 15:42:13 (3/17) Installing file (5.37-r1) 15:42:13 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 15:42:13 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 15:42:13 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 15:42:31 (7/17) Installing libc-dev (0.7.2-r0) 15:42:31 (8/17) Installing g++ (9.2.0-r4) 15:42:39 (9/17) Installing fortify-headers (1.1-r0) 15:42:40 (10/17) Installing build-base (0.5-r1) 15:42:40 (11/17) Installing openssh-keygen (8.1_p1-r0) 15:42:40 (12/17) Installing libedit (20191211.3.1-r0) 15:42:40 (13/17) Installing openssh-client (8.1_p1-r0) 15:42:41 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 15:42:41 (15/17) Installing openssh-server-common (8.1_p1-r0) 15:42:41 (16/17) Installing openssh-server (8.1_p1-r0) 15:42:41 (17/17) Installing openssh (8.1_p1-r0) 15:42:41 Executing busybox-1.31.1-r8.trigger 15:42:41 OK: 214 MiB in 52 packages 15:42:45 Removing intermediate container fe5e40f93c45 15:42:45 ---> 6e73310684c1 15:42:45 Step 6/8 : WORKDIR /device-virtual-go 15:42:45 ---> Running in a927f0e8f192 15:42:45 Removing intermediate container a927f0e8f192 15:42:45 ---> 3117a791c7ec 15:42:45 Step 7/8 : COPY . . 15:42:45 ---> 927ef2201ad8 15:42:45 Step 8/8 : RUN go mod download 15:42:46 ---> Running in 797e9a05770e 15:42:47 go: finding github.com/BurntSushi/toml v0.3.1 15:42:47 go: finding github.com/OneOfOne/xxhash v1.2.6 15:42:47 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:42:47 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:42:47 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:42:47 go: finding github.com/bgentry/speakeasy v0.1.0 15:42:47 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:42:47 go: finding github.com/davecgh/go-spew v1.1.1 15:42:47 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 15:42:47 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 15:42:47 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:42:47 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:42:47 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:42:47 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:42:47 go: finding github.com/edsrzf/mmap-go v1.0.0 15:42:48 go: finding github.com/fatih/color v1.7.0 15:42:48 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:42:48 go: finding github.com/go-kit/kit v0.8.0 15:42:48 go: finding github.com/go-logfmt/logfmt v0.4.0 15:42:48 go: finding github.com/go-stack/stack v1.8.0 15:42:48 go: finding github.com/golang/snappy v0.0.1 15:42:48 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:42:48 go: finding github.com/google/uuid v1.1.0 15:42:48 go: finding github.com/gorilla/mux v1.7.1 15:42:48 go: finding github.com/hashicorp/consul/api v1.1.0 15:42:48 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:42:48 go: finding github.com/hashicorp/errwrap v1.0.0 15:42:48 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:42:48 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:42:48 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:42:48 go: finding github.com/hashicorp/go-multierror v1.0.0 15:42:48 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:42:48 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:42:48 go: finding github.com/hashicorp/go-syslog v1.0.0 15:42:48 go: finding github.com/hashicorp/go-uuid v1.0.1 15:42:48 go: finding github.com/hashicorp/go.net v0.0.1 15:42:48 go: finding github.com/hashicorp/golang-lru v0.5.0 15:42:48 go: finding github.com/hashicorp/logutils v1.0.0 15:42:48 go: finding github.com/hashicorp/mdns v1.0.0 15:42:48 go: finding github.com/hashicorp/memberlist v0.1.3 15:42:48 go: finding github.com/hashicorp/serf v0.8.2 15:42:48 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:42:48 go: finding github.com/mattn/go-colorable v0.0.9 15:42:48 go: finding github.com/mattn/go-isatty v0.0.3 15:42:48 go: finding github.com/miekg/dns v1.0.14 15:42:48 go: finding github.com/mitchellh/cli v1.0.0 15:42:48 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:42:48 go: finding github.com/mitchellh/copystructure v1.0.0 15:42:48 go: finding github.com/mitchellh/go-homedir v1.0.0 15:42:48 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:42:48 go: finding github.com/mitchellh/gox v0.4.0 15:42:48 go: finding github.com/mitchellh/iochan v1.0.0 15:42:48 go: finding github.com/mitchellh/mapstructure v1.1.2 15:42:48 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:42:48 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:42:48 go: finding github.com/pelletier/go-toml v1.2.0 15:42:48 go: finding github.com/pkg/errors v0.8.1 15:42:48 go: finding github.com/pmezard/go-difflib v1.0.0 15:42:48 go: finding github.com/posener/complete v1.1.1 15:42:48 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 15:42:48 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:42:48 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:42:48 go: finding github.com/stretchr/objx v0.1.0 15:42:48 go: finding github.com/stretchr/testify v1.5.1 15:42:48 go: finding github.com/ugorji/go v1.1.4 15:42:48 go: finding github.com/x448/float16 v0.8.4 15:42:48 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:42:48 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:42:48 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:42:48 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 15:42:48 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:42:48 go: finding gopkg.in/yaml.v2 v2.2.8 15:42:48 go: finding modernc.org/b v1.0.0 15:42:48 go: finding modernc.org/db v1.0.0 15:42:48 go: finding modernc.org/file v1.0.0 15:42:48 go: finding modernc.org/fileutil v1.0.0 15:42:48 go: finding modernc.org/golex v1.0.0 15:42:48 go: finding modernc.org/internal v1.0.0 15:42:48 go: finding modernc.org/lldb v1.0.0 15:42:48 go: finding modernc.org/mathutil v1.0.0 15:42:48 go: finding modernc.org/ql v1.0.0 15:42:48 go: finding modernc.org/sortutil v1.0.0 15:42:48 go: finding modernc.org/strutil v1.0.0 15:42:49 go: finding modernc.org/zappy v1.0.0 15:42:59 Removing intermediate container 797e9a05770e 15:42:59 ---> d23233119a91 15:42:59 Successfully built d23233119a91 15:42:59 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 15:42:59 + docker inspect -f . ci-base-image-x86_64 15:42:59 . [Pipeline] withDockerContainer 15:42:59 prd-centos7-docker-4c-2g-3043 does not seem to be running inside a container 15:43:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/15 -v /w/workspace/device-virtual-go/15:/w/workspace/device-virtual-go/15:rw,z -v /w/workspace/device-virtual-go/15@tmp:/w/workspace/device-virtual-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:43:01 $ docker top 441cd6cec4bb8c9a4cdb859e45d731864d045e59230595a22c995208a51f7861 -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:01 + go version 15:43:01 go version go1.13.5 linux/amd64 [Pipeline] sh 15:43:01 + make test 15:43:01 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:43:03 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:43:18 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:43:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3047 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 15:43:25 Running in /w/workspace/device-virtual-go/15 [Pipeline] { [Pipeline] checkout 15:43:31 using credential edgex-jenkins-ssh 15:43:31 Cloning the remote Git repository 15:43:31 Cloning with configured refspecs honoured and without tags 15:43:31 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 15:43:31 > git init /w/workspace/device-virtual-go/15 # timeout=10 15:43:31 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:43:31 > git --version # timeout=10 15:43:31 using GIT_SSH to set credentials SSH Credentials for GitHub 15:43:31 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:43:32 Fetching without tags 15:43:32 Checking out Revision 765a8ae72530510c4ebab34c81f831f56123a77d (master) 15:43:32 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:43:32 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:43:32 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:43:32 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:43:32 using GIT_SSH to set credentials SSH Credentials for GitHub 15:43:32 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:43:32 > git config core.sparsecheckout # timeout=10 15:43:32 > git checkout -f 765a8ae72530510c4ebab34c81f831f56123a77d # timeout=10 15:43:37 Commit message: "Merge pull request #113 from tonyespy/update-sdk-122" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:43:38 ========================================================= 15:43:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 15:43:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:43:39 + 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 . 15:43:40 Sending build context to Docker daemon 510kB 15:43:40 Step 1/8 : ARG BASE=golang:1.13-alpine 15:43:40 Step 2/8 : FROM ${BASE} 15:43:40 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:43:40 cde5963f3b93: Pulling fs layer 15:43:40 2a23fa8c16f7: Pulling fs layer 15:43:40 777b28850792: Pulling fs layer 15:43:40 8a11ddd9e578: Pulling fs layer 15:43:40 4cf88f913ddb: Pulling fs layer 15:43:40 1df406cf5192: Pulling fs layer 15:43:40 cd6300453558: Pulling fs layer 15:43:40 b9c365052c96: Pulling fs layer 15:43:40 a2d8cc88f415: Pulling fs layer 15:43:40 ea1d1ca13537: Pulling fs layer 15:43:40 3750a50a1c5e: Pulling fs layer 15:43:40 8a11ddd9e578: Waiting 15:43:40 4cf88f913ddb: Waiting 15:43:40 1df406cf5192: Waiting 15:43:40 cd6300453558: Waiting 15:43:40 b9c365052c96: Waiting 15:43:40 a2d8cc88f415: Waiting 15:43:40 ea1d1ca13537: Waiting 15:43:40 3750a50a1c5e: Waiting 15:43:40 777b28850792: Verifying Checksum 15:43:40 777b28850792: Download complete 15:43:40 2a23fa8c16f7: Verifying Checksum 15:43:40 2a23fa8c16f7: Download complete 15:43:40 4cf88f913ddb: Verifying Checksum 15:43:40 4cf88f913ddb: Download complete 15:43:40 1df406cf5192: Verifying Checksum 15:43:40 1df406cf5192: Download complete 15:43:40 cde5963f3b93: Verifying Checksum 15:43:40 cde5963f3b93: Download complete 15:43:41 cde5963f3b93: Pull complete 15:43:41 2a23fa8c16f7: Pull complete 15:43:42 777b28850792: Pull complete 15:43:43 cd6300453558: Verifying Checksum 15:43:43 cd6300453558: Download complete 15:43:43 a2d8cc88f415: Download complete 15:43:44 ea1d1ca13537: Verifying Checksum 15:43:44 ea1d1ca13537: Download complete 15:43:45 3750a50a1c5e: Download complete 15:43:46 b9c365052c96: Verifying Checksum 15:43:46 b9c365052c96: Download complete 15:43:46 8a11ddd9e578: Verifying Checksum 15:43:46 8a11ddd9e578: Download complete 15:43:59 8a11ddd9e578: Pull complete 15:43:59 4cf88f913ddb: Pull complete 15:43:59 1df406cf5192: Pull complete 15:44:01 cd6300453558: Pull complete 15:44:06 b9c365052c96: Pull complete 15:44:06 a2d8cc88f415: Pull complete 15:44:08 ea1d1ca13537: Pull complete 15:44:09 3750a50a1c5e: Pull complete 15:44:09 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 15:44:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 15:44:09 ---> 78745c68409d 15:44:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 15:44:14 ---> Running in 63b74e77e1c7 15:44:14 Removing intermediate container 63b74e77e1c7 15:44:14 ---> f8ab0a274046 15:44:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:44:14 ---> Running in ca54f8e7b8d2 15:44:14 ok github.com/edgexfoundry/device-virtual-go/internal/driver 51.271s coverage: 52.7% of statements 15:44:14 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:44:14 gofmt -l . 15:44:14 [ "`gofmt -l .`" = "" ] 15:44:14 ./bin/test-attribution-txt.sh 15:44:14 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:44:15 Stashed 1 file(s) [Pipeline] } 15:44:15 $ docker stop --time=1 441cd6cec4bb8c9a4cdb859e45d731864d045e59230595a22c995208a51f7861 15:44:16 $ docker rm -f 441cd6cec4bb8c9a4cdb859e45d731864d045e59230595a22c995208a51f7861 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:44:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:44:17 Removing intermediate container ca54f8e7b8d2 15:44:17 ---> 1aca83cc883b 15:44:17 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 15:44:17 ---> Running in da7594b2d095 15:44:18 + ls -al . 15:44:18 total 112 15:44:18 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 15 15:44 . 15:44:18 drwxrwxr-x. 4 jenkins jenkins 30 Jun 15 15:41 .. 15:44:18 -rw-rw-r--. 1 jenkins jenkins 6432 Jun 15 15:41 Attribution.txt 15:44:18 drwxrwxr-x. 2 jenkins jenkins 64 Jun 15 15:41 bin 15:44:18 drwxrwxr-x. 3 jenkins jenkins 32 Jun 15 15:41 cmd 15:44:18 -rw-r--r--. 1 jenkins jenkins 32181 Jun 15 15:44 coverage.out 15:44:18 -rw-rw-r--. 1 jenkins jenkins 1826 Jun 15 15:41 Dockerfile 15:44:18 -rw-rw-r--. 1 jenkins jenkins 957 Jun 15 15:41 Dockerfile.build 15:44:18 drwxrwxr-x. 8 jenkins jenkins 162 Jun 15 15:41 .git 15:44:18 drwxrwxr-x. 2 jenkins jenkins 38 Jun 15 15:41 .github 15:44:18 -rw-rw-r--. 1 jenkins jenkins 258 Jun 15 15:41 .gitignore 15:44:18 -rw-r--r--. 1 jenkins jenkins 855 Jun 15 15:44 go.mod 15:44:18 -rw-r--r--. 1 jenkins jenkins 14894 Jun 15 15:44 go.sum 15:44:18 drwxrwxr-x. 3 jenkins jenkins 20 Jun 15 15:41 internal 15:44:18 -rw-rw-r--. 1 jenkins jenkins 683 Jun 15 15:41 Jenkinsfile 15:44:18 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 15 15:41 LICENSE 15:44:18 -rw-rw-r--. 1 jenkins jenkins 873 Jun 15 15:41 Makefile 15:44:18 -rw-rw-r--. 1 jenkins jenkins 4413 Jun 15 15:41 README.md 15:44:18 drwxrwxr-x. 3 jenkins jenkins 44 Jun 15 15:41 .semver 15:44:18 -rw-rw-r--. 1 jenkins jenkins 5 Jun 15 15:40 VERSION 15:44:18 -rw-rw-r--. 1 jenkins jenkins 235 Jun 15 15:41 version.go [Pipeline] isUnix [Pipeline] sh 15:44:18 + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=765a8ae72530510c4ebab34c81f831f56123a77d --label arch=amd64 --label version=1.2.1 . 15:44:18 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:44:19 Sending build context to Docker daemon 34.13MB 15:44:19 Step 1/21 : ARG BASE=golang:1.13-alpine 15:44:19 Step 2/21 : FROM ${BASE} AS builder 15:44:19 ---> d23233119a91 15:44:19 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 15:44:19 ---> Running in 35d38d960c04 15:44:19 Removing intermediate container 35d38d960c04 15:44:19 ---> 8d08256a20e4 15:44:19 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 15:44:19 ---> Running in e2cc3c4cfad6 15:44:19 Removing intermediate container e2cc3c4cfad6 15:44:19 ---> 8e0534067be4 15:44:19 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 15:44:19 ---> Running in c4be431e6f64 15:44:19 Removing intermediate container c4be431e6f64 15:44:19 ---> 40e95ae43a22 15:44:19 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:44:19 ---> Running in 028ef823b193 15:44:19 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:44:20 Removing intermediate container 028ef823b193 15:44:20 ---> 70bb688532df 15:44:20 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:44:20 ---> Running in 482e22d21406 15:44:20 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 15:44:20 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 15:44:21 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:44:21 (3/18) Installing libmagic (5.37-r1) 15:44:21 (4/18) Installing file (5.37-r1) 15:44:21 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 15:44:22 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:44:22 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 15:44:22 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 15:44:22 OK: 214 MiB in 52 packages 15:44:22 Removing intermediate container 482e22d21406 15:44:22 ---> 54b0ee84c4a6 15:44:22 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 15:44:22 ---> Running in 69b8dd05dc15 15:44:22 Removing intermediate container 69b8dd05dc15 15:44:22 ---> 23fd801fcf5c 15:44:22 Step 9/21 : COPY . . 15:44:24 ---> 8ae3c3802f53 15:44:24 Step 10/21 : ARG MAKE='make build' 15:44:24 ---> Running in 666c1e83fab2 15:44:24 Removing intermediate container 666c1e83fab2 15:44:24 ---> 180a33222b9e 15:44:24 Step 11/21 : RUN $MAKE 15:44:24 ---> Running in 4fb46c6f6416 15:44:25 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.1" -o cmd/device-virtual ./cmd 15:44:35 CGO_ENABLED=0 GO111MODULE=on go build ./... 15:44:39 Removing intermediate container 4fb46c6f6416 15:44:39 ---> 7de4eeb2b730 15:44:39 Step 12/21 : FROM alpine 15:44:39 latest: Pulling from library/alpine 15:44:39 df20fa9351a1: Pulling fs layer 15:44:39 df20fa9351a1: Verifying Checksum 15:44:39 df20fa9351a1: Download complete 15:44:39 df20fa9351a1: Pull complete 15:44:39 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:44:39 Status: Downloaded newer image for alpine:latest 15:44:39 ---> a24bb4013296 15:44:39 Step 13/21 : ENV APP_PORT=49990 15:44:39 ---> Running in 0144798762dc 15:44:39 Removing intermediate container 0144798762dc 15:44:39 ---> 5f5adbe9c231 15:44:39 Step 14/21 : EXPOSE $APP_PORT 15:44:39 ---> Running in 6f948dbaab1c 15:44:40 Removing intermediate container 6f948dbaab1c 15:44:40 ---> 0ebc81b133ce 15:44:40 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 15:44:40 (8/18) Installing libc-dev (0.7.2-r0) 15:44:40 (9/18) Installing g++ (9.2.0-r4) 15:44:40 ---> 643e4d560364 15:44:40 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 15:44:41 ---> d44246ce72ad 15:44:41 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 15:44:41 ---> 2580431f2d15 15:44:41 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 15:44:41 ---> Running in 0aa368811f9f 15:44:41 Removing intermediate container 0aa368811f9f 15:44:41 ---> fa48dadcd7de 15:44:41 Step 19/21 : LABEL arch=amd64 15:44:41 ---> Running in 3fa863ba0534 15:44:41 Removing intermediate container 3fa863ba0534 15:44:41 ---> 82b88193fe5b 15:44:41 Step 20/21 : LABEL git_sha=765a8ae72530510c4ebab34c81f831f56123a77d 15:44:41 ---> Running in 57af41d9b3a3 15:44:41 Removing intermediate container 57af41d9b3a3 15:44:41 ---> f1d6b5ef0ffc 15:44:41 Step 21/21 : LABEL version=1.2.1 15:44:42 ---> Running in d42fe490250a 15:44:42 Removing intermediate container d42fe490250a 15:44:42 ---> fd511370750b 15:44:42 [Warning] One or more build-args [ARCH] were not consumed 15:44:42 Successfully built fd511370750b 15:44:42 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 15:44:42 provisioning config files... 15:44:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/15@tmp/config3797669812884572483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:42 nexus3.edgexfoundry.org:10001 15:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:43 Configure a credential helper to remove this warning. See 15:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:43 15:44:43 Login Succeeded 15:44:43 nexus3.edgexfoundry.org:10002 15:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:43 Configure a credential helper to remove this warning. See 15:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:43 15:44:43 Login Succeeded 15:44:43 nexus3.edgexfoundry.org:10003 15:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:43 Configure a credential helper to remove this warning. See 15:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:43 15:44:43 Login Succeeded 15:44:43 nexus3.edgexfoundry.org:10004 15:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:43 Configure a credential helper to remove this warning. See 15:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:43 15:44:43 Login Succeeded 15:44:43 docker.io 15:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:43 Configure a credential helper to remove this warning. See 15:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:43 15:44:43 Login Succeeded [Pipeline] } 15:44:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:44:43 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 15:44:43 765a8ae72530510c4ebab34c81f831f56123a77d 15:44:43 latest 15:44:43 1.2.1 15:44:43 765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1 15:44:43 master 15:44:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:44:44 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:765a8ae72530510c4ebab34c81f831f56123a77d [Pipeline] isUnix [Pipeline] sh 15:44:44 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:765a8ae72530510c4ebab34c81f831f56123a77d 15:44:44 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 15:44:44 8e93b2d3660e: Preparing 15:44:44 1d4635345a2b: Preparing 15:44:44 5e7d0eb2a085: Preparing 15:44:44 50644c29ef5a: Preparing 15:44:44 50644c29ef5a: Layer already exists 15:44:44 8e93b2d3660e: Pushed 15:44:44 1d4635345a2b: Pushed 15:44:45 5e7d0eb2a085: Pushed 15:44:46 765a8ae72530510c4ebab34c81f831f56123a77d: digest: sha256:fd575eacfccb228ad18a000dc03f8fcccbfb37877b766da5a2c1787bbca0b667 size: 1155 [Pipeline] isUnix [Pipeline] sh 15:44:46 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 15:44:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 15:44:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 15:44:46 8e93b2d3660e: Preparing 15:44:46 1d4635345a2b: Preparing 15:44:46 5e7d0eb2a085: Preparing 15:44:46 50644c29ef5a: Preparing 15:44:46 50644c29ef5a: Layer already exists 15:44:46 8e93b2d3660e: Layer already exists 15:44:46 5e7d0eb2a085: Layer already exists 15:44:46 1d4635345a2b: Layer already exists 15:44:46 latest: digest: sha256:fd575eacfccb228ad18a000dc03f8fcccbfb37877b766da5a2c1787bbca0b667 size: 1155 [Pipeline] isUnix [Pipeline] sh 15:44:47 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.1 [Pipeline] isUnix [Pipeline] sh 15:44:47 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.1 15:44:47 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 15:44:47 8e93b2d3660e: Preparing 15:44:47 1d4635345a2b: Preparing 15:44:47 5e7d0eb2a085: Preparing 15:44:47 50644c29ef5a: Preparing 15:44:47 8e93b2d3660e: Layer already exists 15:44:47 5e7d0eb2a085: Layer already exists 15:44:47 1d4635345a2b: Layer already exists 15:44:47 50644c29ef5a: Layer already exists 15:44:47 1.2.1: digest: sha256:fd575eacfccb228ad18a000dc03f8fcccbfb37877b766da5a2c1787bbca0b667 size: 1155 [Pipeline] isUnix [Pipeline] sh 15:44:47 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1 [Pipeline] isUnix [Pipeline] sh 15:44:48 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1 15:44:48 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 15:44:48 8e93b2d3660e: Preparing 15:44:48 1d4635345a2b: Preparing 15:44:48 5e7d0eb2a085: Preparing 15:44:48 50644c29ef5a: Preparing 15:44:48 1d4635345a2b: Layer already exists 15:44:48 5e7d0eb2a085: Layer already exists 15:44:48 50644c29ef5a: Layer already exists 15:44:48 8e93b2d3660e: Layer already exists 15:44:48 765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1: digest: sha256:fd575eacfccb228ad18a000dc03f8fcccbfb37877b766da5a2c1787bbca0b667 size: 1155 [Pipeline] isUnix [Pipeline] sh 15:44:48 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 15:44:48 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 15:44:48 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 15:44:48 8e93b2d3660e: Preparing 15:44:48 1d4635345a2b: Preparing 15:44:48 5e7d0eb2a085: Preparing 15:44:48 50644c29ef5a: Preparing 15:44:48 5e7d0eb2a085: Layer already exists 15:44:48 50644c29ef5a: Layer already exists 15:44:48 1d4635345a2b: Layer already exists 15:44:48 8e93b2d3660e: Layer already exists 15:44:48 master: digest: sha256:fd575eacfccb228ad18a000dc03f8fcccbfb37877b766da5a2c1787bbca0b667 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] } 15:44:55 (10/18) Installing fortify-headers (1.1-r0) 15:44:55 (11/18) Installing build-base (0.5-r1) 15:44:55 (12/18) Installing openssh-keygen (8.1_p1-r0) 15:44:55 (13/18) Installing libedit (20191211.3.1-r0) 15:44:55 (14/18) Installing openssh-client (8.1_p1-r0) 15:44:57 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 15:44:58 (16/18) Installing openssh-server-common (8.1_p1-r0) 15:44:58 (17/18) Installing openssh-server (8.1_p1-r0) 15:44:58 (18/18) Installing openssh (8.1_p1-r0) 15:44:58 Executing busybox-1.31.1-r8.trigger 15:44:58 OK: 203 MiB in 52 packages 15:45:05 Removing intermediate container da7594b2d095 15:45:05 ---> 84802b2bb22c 15:45:05 Step 6/8 : WORKDIR /device-virtual-go 15:45:05 ---> Running in 2a1077af804b 15:45:05 Removing intermediate container 2a1077af804b 15:45:05 ---> 487e374bcef3 15:45:05 Step 7/8 : COPY . . 15:45:06 ---> 5ae3b13866d9 15:45:06 Step 8/8 : RUN go mod download 15:45:06 ---> Running in eea490473eaf 15:45:10 go: finding github.com/BurntSushi/toml v0.3.1 15:45:10 go: finding github.com/OneOfOne/xxhash v1.2.6 15:45:10 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:45:10 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:45:10 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:45:10 go: finding github.com/bgentry/speakeasy v0.1.0 15:45:10 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:45:10 go: finding github.com/davecgh/go-spew v1.1.1 15:45:10 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 15:45:10 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 15:45:10 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:45:10 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:45:10 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:45:10 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:45:10 go: finding github.com/edsrzf/mmap-go v1.0.0 15:45:10 go: finding github.com/fatih/color v1.7.0 15:45:10 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:45:10 go: finding github.com/go-kit/kit v0.8.0 15:45:10 go: finding github.com/go-logfmt/logfmt v0.4.0 15:45:10 go: finding github.com/go-stack/stack v1.8.0 15:45:10 go: finding github.com/golang/snappy v0.0.1 15:45:10 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:45:10 go: finding github.com/google/uuid v1.1.0 15:45:10 go: finding github.com/gorilla/mux v1.7.1 15:45:10 go: finding github.com/hashicorp/consul/api v1.1.0 15:45:10 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:45:10 go: finding github.com/hashicorp/errwrap v1.0.0 15:45:10 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:45:10 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:45:10 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:45:10 go: finding github.com/hashicorp/go-multierror v1.0.0 15:45:10 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:45:10 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:45:10 go: finding github.com/hashicorp/go-syslog v1.0.0 15:45:10 go: finding github.com/hashicorp/go-uuid v1.0.1 15:45:10 go: finding github.com/hashicorp/go.net v0.0.1 15:45:10 go: finding github.com/hashicorp/golang-lru v0.5.0 15:45:10 go: finding github.com/hashicorp/logutils v1.0.0 15:45:10 go: finding github.com/hashicorp/mdns v1.0.0 15:45:10 go: finding github.com/hashicorp/memberlist v0.1.3 15:45:10 go: finding github.com/hashicorp/serf v0.8.2 15:45:10 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:45:10 go: finding github.com/mattn/go-colorable v0.0.9 15:45:10 go: finding github.com/mattn/go-isatty v0.0.3 15:45:10 go: finding github.com/miekg/dns v1.0.14 15:45:10 go: finding github.com/mitchellh/cli v1.0.0 15:45:10 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:45:10 go: finding github.com/mitchellh/copystructure v1.0.0 15:45:10 go: finding github.com/mitchellh/go-homedir v1.0.0 15:45:10 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:45:10 go: finding github.com/mitchellh/gox v0.4.0 15:45:10 go: finding github.com/mitchellh/iochan v1.0.0 15:45:10 go: finding github.com/mitchellh/mapstructure v1.1.2 15:45:10 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:45:10 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:45:10 go: finding github.com/pelletier/go-toml v1.2.0 15:45:10 go: finding github.com/pkg/errors v0.8.1 15:45:10 go: finding github.com/pmezard/go-difflib v1.0.0 15:45:10 go: finding github.com/posener/complete v1.1.1 15:45:10 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 15:45:10 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:45:10 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:45:10 go: finding github.com/stretchr/objx v0.1.0 15:45:10 go: finding github.com/stretchr/testify v1.5.1 15:45:10 go: finding github.com/ugorji/go v1.1.4 15:45:10 go: finding github.com/x448/float16 v0.8.4 15:45:10 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:45:10 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:45:10 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:45:10 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 15:45:10 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:45:10 go: finding gopkg.in/yaml.v2 v2.2.8 15:45:10 go: finding modernc.org/b v1.0.0 15:45:10 go: finding modernc.org/db v1.0.0 15:45:10 go: finding modernc.org/file v1.0.0 15:45:10 go: finding modernc.org/fileutil v1.0.0 15:45:10 go: finding modernc.org/golex v1.0.0 15:45:10 go: finding modernc.org/internal v1.0.0 15:45:10 go: finding modernc.org/lldb v1.0.0 15:45:10 go: finding modernc.org/mathutil v1.0.0 15:45:10 go: finding modernc.org/ql v1.0.0 15:45:10 go: finding modernc.org/sortutil v1.0.0 15:45:10 go: finding modernc.org/strutil v1.0.0 15:45:10 go: finding modernc.org/zappy v1.0.0 15:45:23 Removing intermediate container eea490473eaf 15:45:23 ---> 08fcb1719b7f 15:45:23 Successfully built 08fcb1719b7f 15:45:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:45:24 + docker inspect -f . ci-base-image-arm64 15:45:24 . [Pipeline] withDockerContainer 15:45:24 prd-ubuntu18.04-docker-arm64-4c-16g-3047 does not seem to be running inside a container 15:45:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/15 -v /w/workspace/device-virtual-go/15:/w/workspace/device-virtual-go/15:rw,z -v /w/workspace/device-virtual-go/15@tmp:/w/workspace/device-virtual-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:45:26 $ docker top 51927b5a53edc97d289cccfc339a6d59480925737defcec21f305e6141e2c8fa -eo pid,comm [Pipeline] { [Pipeline] sh 15:45:27 + go version 15:45:27 go version go1.13.5 linux/arm64 [Pipeline] sh 15:45:28 + make test 15:45:28 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:45:30 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:46:10 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:49:31 ok github.com/edgexfoundry/device-virtual-go/internal/driver 190.418s coverage: 52.7% of statements 15:49:31 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:49:31 gofmt -l . 15:49:31 [ "`gofmt -l .`" = "" ] 15:49:31 ./bin/test-attribution-txt.sh 15:49:31 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:49:32 Warning: overwriting stash ‘coverage-report’ 15:49:32 Stashed 1 file(s) [Pipeline] } 15:49:32 $ docker stop --time=1 51927b5a53edc97d289cccfc339a6d59480925737defcec21f305e6141e2c8fa 15:49:34 $ docker rm -f 51927b5a53edc97d289cccfc339a6d59480925737defcec21f305e6141e2c8fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:49:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:49:35 + ls -al . 15:49:35 total 140 15:49:35 drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 15:49 . 15:49:35 drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 15:43 .. 15:49:35 drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 15:43 .git 15:49:35 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 15:43 .github 15:49:35 -rw-rw-r-- 1 jenkins jenkins 258 Jun 15 15:43 .gitignore 15:49:35 drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 15:43 .semver 15:49:35 -rw-rw-r-- 1 jenkins jenkins 6432 Jun 15 15:43 Attribution.txt 15:49:35 -rw-rw-r-- 1 jenkins jenkins 1826 Jun 15 15:43 Dockerfile 15:49:35 -rw-rw-r-- 1 jenkins jenkins 957 Jun 15 15:43 Dockerfile.build 15:49:35 -rw-rw-r-- 1 jenkins jenkins 683 Jun 15 15:43 Jenkinsfile 15:49:35 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 15 15:43 LICENSE 15:49:35 -rw-rw-r-- 1 jenkins jenkins 873 Jun 15 15:43 Makefile 15:49:35 -rw-rw-r-- 1 jenkins jenkins 4413 Jun 15 15:43 README.md 15:49:35 -rw-rw-r-- 1 jenkins jenkins 5 Jun 15 15:40 VERSION 15:49:35 drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 15:43 bin 15:49:35 drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 15:43 cmd 15:49:35 -rw-r--r-- 1 jenkins jenkins 32181 Jun 15 15:49 coverage.out 15:49:35 -rw-r--r-- 1 jenkins jenkins 855 Jun 15 15:49 go.mod 15:49:35 -rw-r--r-- 1 jenkins jenkins 14894 Jun 15 15:49 go.sum 15:49:35 drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 15:43 internal 15:49:35 -rw-rw-r-- 1 jenkins jenkins 235 Jun 15 15:43 version.go [Pipeline] isUnix [Pipeline] sh 15:49:36 + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=765a8ae72530510c4ebab34c81f831f56123a77d --label arch=arm64 --label version=1.2.1 . 15:49:36 Sending build context to Docker daemon 34.13MB 15:49:36 Step 1/21 : ARG BASE=golang:1.13-alpine 15:49:36 Step 2/21 : FROM ${BASE} AS builder 15:49:36 ---> 08fcb1719b7f 15:49:36 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 15:49:37 ---> Running in 42b6d5213a3d 15:49:37 Removing intermediate container 42b6d5213a3d 15:49:37 ---> 65b211fc1f39 15:49:37 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 15:49:37 ---> Running in 23db18d3a8eb 15:49:38 Removing intermediate container 23db18d3a8eb 15:49:38 ---> 74c2c7c13f98 15:49:38 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 15:49:38 ---> Running in b9e4dfe78170 15:49:38 Removing intermediate container b9e4dfe78170 15:49:38 ---> 617bdcc67a5f 15:49:38 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:49:38 ---> Running in 1648ffc54303 15:49:41 Removing intermediate container 1648ffc54303 15:49:41 ---> 7db751c4a0ef 15:49:41 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:49:41 ---> Running in 44cbac13d57e 15:49:42 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:49:44 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:49:44 OK: 203 MiB in 52 packages 15:49:45 Removing intermediate container 44cbac13d57e 15:49:45 ---> b182e9623977 15:49:45 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 15:49:45 ---> Running in 56f23d6a92a7 15:49:46 Removing intermediate container 56f23d6a92a7 15:49:46 ---> b23c9c1d9f5c 15:49:46 Step 9/21 : COPY . . 15:49:48 ---> ce74bf303177 15:49:48 Step 10/21 : ARG MAKE='make build' 15:49:48 ---> Running in ca7c79cdf494 15:49:48 Removing intermediate container ca7c79cdf494 15:49:48 ---> 04017b09654b 15:49:48 Step 11/21 : RUN $MAKE 15:49:49 ---> Running in 9d747864e48d 15:49:50 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.1" -o cmd/device-virtual ./cmd 15:50:22 CGO_ENABLED=0 GO111MODULE=on go build ./... 15:50:33 Removing intermediate container 9d747864e48d 15:50:33 ---> 220a33ba65ab 15:50:33 Step 12/21 : FROM alpine 15:50:33 latest: Pulling from library/alpine 15:50:33 b538f80385f9: Pulling fs layer 15:50:33 b538f80385f9: Verifying Checksum 15:50:33 b538f80385f9: Pull complete 15:50:33 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:50:33 Status: Downloaded newer image for alpine:latest 15:50:33 ---> 62ee0e9f8440 15:50:33 Step 13/21 : ENV APP_PORT=49990 15:50:33 ---> Running in 7e14a1b4d592 15:50:33 Removing intermediate container 7e14a1b4d592 15:50:33 ---> 6f13776e479c 15:50:33 Step 14/21 : EXPOSE $APP_PORT 15:50:34 ---> Running in d4ee9ad453ad 15:50:34 Removing intermediate container d4ee9ad453ad 15:50:34 ---> 780d50efcdd8 15:50:34 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 15:50:36 ---> 35c6decf97e9 15:50:36 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 15:50:36 ---> 62501aba01f5 15:50:36 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 15:50:37 ---> 36fd8b935f05 15:50:37 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 15:50:37 ---> Running in 606d8b0e6325 15:50:37 Removing intermediate container 606d8b0e6325 15:50:37 ---> e7c0cf99c604 15:50:37 Step 19/21 : LABEL arch=arm64 15:50:38 ---> Running in cb666c8dd67d 15:50:38 Removing intermediate container cb666c8dd67d 15:50:38 ---> 169ce84343e9 15:50:38 Step 20/21 : LABEL git_sha=765a8ae72530510c4ebab34c81f831f56123a77d 15:50:38 ---> Running in 2487b14f6025 15:50:38 Removing intermediate container 2487b14f6025 15:50:38 ---> 089809e050c4 15:50:38 Step 21/21 : LABEL version=1.2.1 15:50:39 ---> Running in b47178ce592c 15:50:39 Removing intermediate container b47178ce592c 15:50:39 ---> 43ef1fc43a81 15:50:39 [Warning] One or more build-args [ARCH] were not consumed 15:50:39 Successfully built 43ef1fc43a81 15:50:39 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 15:50:39 provisioning config files... 15:50:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/15@tmp/config5623803131339341162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:40 nexus3.edgexfoundry.org:10001 15:50:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:40 Configure a credential helper to remove this warning. See 15:50:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:40 15:50:40 Login Succeeded 15:50:40 nexus3.edgexfoundry.org:10002 15:50:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:41 Configure a credential helper to remove this warning. See 15:50:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:41 15:50:41 Login Succeeded 15:50:41 nexus3.edgexfoundry.org:10003 15:50:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:41 Configure a credential helper to remove this warning. See 15:50:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:41 15:50:41 Login Succeeded 15:50:41 nexus3.edgexfoundry.org:10004 15:50:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:42 Configure a credential helper to remove this warning. See 15:50:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:42 15:50:42 Login Succeeded 15:50:42 docker.io 15:50:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:43 Configure a credential helper to remove this warning. See 15:50:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:43 15:50:43 Login Succeeded [Pipeline] } 15:50:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:50:43 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 15:50:43 765a8ae72530510c4ebab34c81f831f56123a77d 15:50:43 latest 15:50:43 1.2.1 15:50:43 765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1 15:50:43 master 15:50:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:50:43 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:765a8ae72530510c4ebab34c81f831f56123a77d [Pipeline] isUnix [Pipeline] sh 15:50:44 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:765a8ae72530510c4ebab34c81f831f56123a77d 15:50:44 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 15:50:44 b84971bcc222: Preparing 15:50:44 cd4f74c92af2: Preparing 15:50:44 d6a3fb20d3dc: Preparing 15:50:44 e2f13739ad41: Preparing 15:50:44 e2f13739ad41: Layer already exists 15:50:44 b84971bcc222: Pushed 15:50:44 cd4f74c92af2: Pushed 15:50:47 d6a3fb20d3dc: Pushed 15:50:48 765a8ae72530510c4ebab34c81f831f56123a77d: digest: sha256:c9c58a0284788027d80a6e90dee77e1c7e279806ea5fb8615f4430f2f1d96a50 size: 1155 [Pipeline] isUnix [Pipeline] sh 15:50:48 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:50:49 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 15:50:49 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 15:50:49 b84971bcc222: Preparing 15:50:49 cd4f74c92af2: Preparing 15:50:49 d6a3fb20d3dc: Preparing 15:50:49 e2f13739ad41: Preparing 15:50:49 e2f13739ad41: Layer already exists 15:50:49 b84971bcc222: Layer already exists 15:50:49 cd4f74c92af2: Layer already exists 15:50:49 d6a3fb20d3dc: Layer already exists 15:50:49 latest: digest: sha256:c9c58a0284788027d80a6e90dee77e1c7e279806ea5fb8615f4430f2f1d96a50 size: 1155 [Pipeline] isUnix [Pipeline] sh 15:50:49 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.1 [Pipeline] isUnix [Pipeline] sh 15:50:50 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.1 15:50:50 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 15:50:50 b84971bcc222: Preparing 15:50:50 cd4f74c92af2: Preparing 15:50:50 d6a3fb20d3dc: Preparing 15:50:50 e2f13739ad41: Preparing 15:50:50 cd4f74c92af2: Layer already exists 15:50:50 b84971bcc222: Layer already exists 15:50:50 d6a3fb20d3dc: Layer already exists 15:50:50 e2f13739ad41: Layer already exists 15:50:50 1.2.1: digest: sha256:c9c58a0284788027d80a6e90dee77e1c7e279806ea5fb8615f4430f2f1d96a50 size: 1155 [Pipeline] isUnix [Pipeline] sh 15:50:50 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1 [Pipeline] isUnix [Pipeline] sh 15:50:51 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1 15:50:51 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 15:50:51 b84971bcc222: Preparing 15:50:51 cd4f74c92af2: Preparing 15:50:51 d6a3fb20d3dc: Preparing 15:50:51 e2f13739ad41: Preparing 15:50:51 cd4f74c92af2: Layer already exists 15:50:51 d6a3fb20d3dc: Layer already exists 15:50:51 b84971bcc222: Layer already exists 15:50:51 e2f13739ad41: Layer already exists 15:50:51 765a8ae72530510c4ebab34c81f831f56123a77d-1.2.1: digest: sha256:c9c58a0284788027d80a6e90dee77e1c7e279806ea5fb8615f4430f2f1d96a50 size: 1155 [Pipeline] isUnix [Pipeline] sh 15:50:51 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 15:50:52 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 15:50:52 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 15:50:52 b84971bcc222: Preparing 15:50:52 cd4f74c92af2: Preparing 15:50:52 d6a3fb20d3dc: Preparing 15:50:52 e2f13739ad41: Preparing 15:50:52 cd4f74c92af2: Layer already exists 15:50:52 e2f13739ad41: Layer already exists 15:50:52 d6a3fb20d3dc: Layer already exists 15:50:52 b84971bcc222: Layer already exists 15:50:52 master: digest: sha256:c9c58a0284788027d80a6e90dee77e1c7e279806ea5fb8615f4430f2f1d96a50 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 15:50:53 provisioning config files... 15:50:53 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4010161085690759792tmp [Pipeline] { [Pipeline] sh 15:50:53 + curl -s https://codecov.io/bash 15:50:53 + bash -s - -t @/w/workspace/foundry_device-virtual-go_master@tmp/config4010161085690759792tmp 15:50:54 15:50:54 _____ _ 15:50:54 / ____| | | 15:50:54 | | ___ __| | ___ ___ _____ __ 15:50:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:50:54 | |___| (_) | (_| | __/ (_| (_) \ V / 15:50:54 \_____\___/ \__,_|\___|\___\___/ \_/ 15:50:54 Bash-20200602-f809a24 15:50:54 15:50:54 15:50:54 ==> Jenkins CI detected. 15:50:54 project root: . 15:50:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:50:54 ==> Running gcov in . (disable via -X gcov) 15:50:54 ==> Python coveragepy not found 15:50:54 ==> Searching for coverage reports in: 15:50:54 + . 15:50:54 -> Found 1 reports 15:50:54 ==> Detecting git/mercurial file structure 15:50:54 ==> Reading reports 15:50:54 + ./coverage.out bytes=32181 15:50:54 ==> Appending adjustments 15:50:54 https://docs.codecov.io/docs/fixing-reports 15:50:54 + Found adjustments 15:50:54 ==> Gzipping contents 15:50:54 ==> Uploading reports 15:50:54 url: https://codecov.io 15:50:54 query: branch=master&commit=765a8ae72530510c4ebab34c81f831f56123a77d&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job= 15:50:54 -> Pinging Codecov 15:50:54 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=master&commit=765a8ae72530510c4ebab34c81f831f56123a77d&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job= 15:50:55 -> Uploading 15:50:56 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/765a8ae72530510c4ebab34c81f831f56123a77d [Pipeline] } 15:50:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 15:50:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 15:50:56 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 15:50:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:50:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:50:56 15:50:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 15:50:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:50:56 1.317.0: Pulling from edgex-devops/edgex-snyk-go 15:50:56 cbdbe7a5bc2a: Pulling fs layer 15:50:56 408f87550127: Pulling fs layer 15:50:56 fe522b08c979: Pulling fs layer 15:50:56 221eaa008020: Pulling fs layer 15:50:56 2a4607e5d6b9: Pulling fs layer 15:50:56 8f79b27c4fd2: Pulling fs layer 15:50:56 e5c8dbe1645b: Pulling fs layer 15:50:56 23e8b3b47431: Pulling fs layer 15:50:56 5c568d65a230: Pulling fs layer 15:50:56 e5c8dbe1645b: Waiting 15:50:56 8f79b27c4fd2: Waiting 15:50:56 23e8b3b47431: Waiting 15:50:56 5c568d65a230: Waiting 15:50:56 2a4607e5d6b9: Waiting 15:50:56 fe522b08c979: Verifying Checksum 15:50:56 fe522b08c979: Download complete 15:50:56 408f87550127: Verifying Checksum 15:50:56 408f87550127: Download complete 15:50:56 2a4607e5d6b9: Verifying Checksum 15:50:56 2a4607e5d6b9: Download complete 15:50:56 8f79b27c4fd2: Verifying Checksum 15:50:56 8f79b27c4fd2: Download complete 15:50:56 cbdbe7a5bc2a: Download complete 15:50:57 e5c8dbe1645b: Verifying Checksum 15:50:57 e5c8dbe1645b: Download complete 15:50:57 cbdbe7a5bc2a: Pull complete 15:50:58 23e8b3b47431: Verifying Checksum 15:50:58 23e8b3b47431: Download complete 15:50:58 408f87550127: Pull complete 15:50:58 5c568d65a230: Verifying Checksum 15:50:58 5c568d65a230: Download complete 15:50:58 fe522b08c979: Pull complete 15:50:58 221eaa008020: Verifying Checksum 15:50:58 221eaa008020: Download complete 15:51:05 221eaa008020: Pull complete 15:51:05 2a4607e5d6b9: Pull complete 15:51:05 8f79b27c4fd2: Pull complete 15:51:07 e5c8dbe1645b: Pull complete 15:51:10 23e8b3b47431: Pull complete 15:51:11 5c568d65a230: Pull complete 15:51:11 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 15:51:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:51:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 15:51:11 prd-centos7-docker-4c-2g-3034 does not seem to be running inside a container 15:51:11 $ 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.317.0 cat 15:51:12 $ docker top 9e6dcd84d20d920bf7600eb1ceb382e237b2b252939af194e20abd18e32f4df2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:12 + snyk monitor '--org=edgex-jenkins' 15:51:22 15:51:22 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 15:51:22 15:51:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/d9bfec3d-8cac-4635-98c9-182ab9f4abe2 15:51:22 15:51:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:51:22 15:51:22 [Pipeline] } 15:51:22 $ docker stop --time=1 9e6dcd84d20d920bf7600eb1ceb382e237b2b252939af194e20abd18e32f4df2 15:51:25 $ docker rm -f 9e6dcd84d20d920bf7600eb1ceb382e237b2b252939af194e20abd18e32f4df2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:51:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:51:26 15:51:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 15:51:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:51:26 latest: Pulling from edgex-devops/edgex-klar 15:51:26 e7c96db7181b: Pulling fs layer 15:51:26 1868ca2cb446: Pulling fs layer 15:51:26 136be5d0fe8e: Pulling fs layer 15:51:26 894bfe63afcb: Pulling fs layer 15:51:26 894bfe63afcb: Waiting 15:51:26 1868ca2cb446: Verifying Checksum 15:51:26 1868ca2cb446: Download complete 15:51:26 136be5d0fe8e: Verifying Checksum 15:51:26 136be5d0fe8e: Download complete 15:51:26 e7c96db7181b: Verifying Checksum 15:51:26 e7c96db7181b: Download complete 15:51:26 894bfe63afcb: Verifying Checksum 15:51:26 894bfe63afcb: Download complete 15:51:27 e7c96db7181b: Pull complete 15:51:27 1868ca2cb446: Pull complete 15:51:27 136be5d0fe8e: Pull complete 15:51:27 894bfe63afcb: Pull complete 15:51:28 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 15:51:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:51:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 15:51:28 prd-centos7-docker-4c-2g-3034 does not seem to be running inside a container 15:51:28 $ 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 15:51:29 $ docker top 1ef6fc2705004944f0c55e0cb747f79ba9ffa53a82606aaa815306ce12470e52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:29 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:765a8ae72530510c4ebab34c81f831f56123a77d 15:51:29 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:51:33 $ docker stop --time=1 1ef6fc2705004944f0c55e0cb747f79ba9ffa53a82606aaa815306ce12470e52 15:51:34 $ docker rm -f 1ef6fc2705004944f0c55e0cb747f79ba9ffa53a82606aaa815306ce12470e52 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:51:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:51:34 . [Pipeline] withDockerContainer 15:51:35 prd-centos7-docker-4c-2g-3034 does not seem to be running inside a container 15:51:35 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 15:51:35 $ docker top fd2cef7507ecbdb2a5c4397058a6952dce225bfd0a00fdaf20dfcb451b4c7e10 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:36 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:765a8ae72530510c4ebab34c81f831f56123a77d 15:51:36 + tee 15:51:36 clair timeout 1m0s 15:51:36 docker timeout: 1m0s 15:51:36 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:51:36 $ docker stop --time=1 fd2cef7507ecbdb2a5c4397058a6952dce225bfd0a00fdaf20dfcb451b4c7e10 15:51:38 $ docker rm -f fd2cef7507ecbdb2a5c4397058a6952dce225bfd0a00fdaf20dfcb451b4c7e10 [Pipeline] // withDockerContainer [Pipeline] sh 15:51:38 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 15:51:38 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go_765a8ae72530510c4ebab34c81f831f56123a77d.html [Pipeline] writeFile [Pipeline] step 15:51:38 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 15:51:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:51:38 . [Pipeline] withDockerContainer 15:51:39 prd-centos7-docker-4c-2g-3034 does not seem to be running inside a container 15:51:39 $ 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 15:51:39 $ docker top cb0c3cd2225399fe269dcd867df9bc78bc09bb3b52d18f6d704c3e15e402ce2c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:40 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:765a8ae72530510c4ebab34c81f831f56123a77d 15:51:40 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:51:43 $ docker stop --time=1 cb0c3cd2225399fe269dcd867df9bc78bc09bb3b52d18f6d704c3e15e402ce2c 15:51:44 $ docker rm -f cb0c3cd2225399fe269dcd867df9bc78bc09bb3b52d18f6d704c3e15e402ce2c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:51:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:51:45 . [Pipeline] withDockerContainer 15:51:45 prd-centos7-docker-4c-2g-3034 does not seem to be running inside a container 15:51: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 15:51:46 $ docker top 7c78198e39aea0659576ae22090f238caf8e622779049494ac0b1f308bd2f710 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:46 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:765a8ae72530510c4ebab34c81f831f56123a77d 15:51:46 + tee 15:51:46 clair timeout 1m0s 15:51:46 docker timeout: 1m0s 15:51:46 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:51:47 $ docker stop --time=1 7c78198e39aea0659576ae22090f238caf8e622779049494ac0b1f308bd2f710 15:51:48 $ docker rm -f 7c78198e39aea0659576ae22090f238caf8e622779049494ac0b1f308bd2f710 [Pipeline] // withDockerContainer [Pipeline] sh 15:51:49 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 15:51:49 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go-arm64_765a8ae72530510c4ebab34c81f831f56123a77d.html [Pipeline] writeFile [Pipeline] step 15:51:49 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 15:51:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:51:49 . [Pipeline] withDockerContainer 15:51:49 prd-centos7-docker-4c-2g-3034 does not seem to be running inside a container 15:51:49 $ 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 15:51:50 $ docker top 6c10c1e1e46b606bc6475077d6e10866860e7c972293d7d407fd02f1ababfbfa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:51:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:51:50 [ssh-agent] Looking for ssh-agent implementation... 15:51:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:51:50 $ docker exec 6c10c1e1e46b606bc6475077d6e10866860e7c972293d7d407fd02f1ababfbfa ssh-agent 15:51:51 SSH_AUTH_SOCK=/tmp/ssh-3eWSRtY53CQI/agent.11 15:51:51 SSH_AGENT_PID=16 15:51:51 Running ssh-add (command line suppressed) 15:51:51 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1021826434736478861.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1021826434736478861.key) 15:51:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:51:51 + git semver tag 15:51:51 # -> Open(): unable to determine branch for HEAD 15:51:51 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 15:51:51 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 15:51:51 # $SEMVER_REMOTE_NAME = origin 15:51:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:51:51 # $SEMVER_USER_NAME = edgex-jenkins 15:51:51 # $SEMVER_BRANCH = master 15:51:51 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 15:51:51 # 765a8ae72530510c4ebab34c81f831f56123a77d HEAD 15:51:51 # -> Force: false 15:51:51 # fc6488881ec2fb592e44a9b076cb6327821b24b8 refs/tags/v1.2.1 [Pipeline] } 15:51:51 $ docker exec --env ******** --env ******** 6c10c1e1e46b606bc6475077d6e10866860e7c972293d7d407fd02f1ababfbfa ssh-agent -k 15:51:51 unset SSH_AUTH_SOCK; 15:51:51 unset SSH_AGENT_PID; 15:51:51 echo Agent pid 16 killed; 15:51:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:51:52 + git semver [Pipeline] } 15:51:52 $ docker stop --time=1 6c10c1e1e46b606bc6475077d6e10866860e7c972293d7d407fd02f1ababfbfa 15:51:53 $ docker rm -f 6c10c1e1e46b606bc6475077d6e10866860e7c972293d7d407fd02f1ababfbfa [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:51:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:51:54 15:51:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:51:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:51:54 0.23.1-centos7: Pulling from edgex-lftools 15:51:54 ab5ef0e58194: Pulling fs layer 15:51:54 9712f1f96733: Pulling fs layer 15:51:54 63f879dbbcfc: Pulling fs layer 15:51:54 0d9ebad4ef96: Pulling fs layer 15:51:54 e9a5061849ea: Pulling fs layer 15:51:54 d747dcd14b5f: Pulling fs layer 15:51:54 2de7ff778b66: Pulling fs layer 15:51:54 2de7ff778b66: Waiting 15:51:54 d747dcd14b5f: Waiting 15:51:54 0d9ebad4ef96: Waiting 15:51:54 9712f1f96733: Download complete 15:51:55 63f879dbbcfc: Verifying Checksum 15:51:55 63f879dbbcfc: Download complete 15:51:55 e9a5061849ea: Verifying Checksum 15:51:55 e9a5061849ea: Download complete 15:51:55 d747dcd14b5f: Verifying Checksum 15:51:55 d747dcd14b5f: Download complete 15:51:55 2de7ff778b66: Verifying Checksum 15:51:55 2de7ff778b66: Download complete 15:51:55 0d9ebad4ef96: Verifying Checksum 15:51:55 0d9ebad4ef96: Download complete 15:51:55 ab5ef0e58194: Download complete 15:51:59 ab5ef0e58194: Pull complete 15:52:00 9712f1f96733: Pull complete 15:52:03 63f879dbbcfc: Pull complete 15:52:09 0d9ebad4ef96: Pull complete 15:52:10 e9a5061849ea: Pull complete 15:52:10 d747dcd14b5f: Pull complete 15:52:14 2de7ff778b66: Pull complete 15:52:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:52:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:52:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:52:14 prd-centos7-docker-4c-2g-3034 does not seem to be running inside a container 15:52:14 $ 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 15:52:18 $ docker top 86bc3a16b3306a6dbbf5a7aa1a2df8385b62d996aff73f742173a1d6a5ed1c7e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:52:18 provisioning config files... 15:52:18 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7316532954315378845tmp 15:52:18 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3318028601493880244tmp 15:52:18 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7339494361095692801tmp [Pipeline] { [Pipeline] echo 15:52:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:52:19 ---> sigul-configuration.sh 15:52:19 gpg: directory `/root/.gnupg' created 15:52:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:52:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:52:19 gpg: keyring `/root/.gnupg/secring.gpg' created 15:52:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:52:19 gpg: CAST5 encrypted data 15:52:19 gpg: encrypted with 1 passphrase 15:52:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:52:19 + mkdir /home/jenkins 15:52:19 + mkdir /home/jenkins/sigul [Pipeline] sh 15:52:19 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 15:52:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:52:20 ---> sigul-install.sh 15:52:24 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 15:52:24 + git tag --list 15:52:24 v1.2.1 [Pipeline] sh 15:52:25 + lftools sign git-tag v1.2.1 15:52:26 Signing Git tag with Sigul... 15:52:26 Signing v1.2.1 [Pipeline] echo 15:52:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:52:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:52:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:52:27 $ docker stop --time=1 86bc3a16b3306a6dbbf5a7aa1a2df8385b62d996aff73f742173a1d6a5ed1c7e 15:52:29 $ docker rm -f 86bc3a16b3306a6dbbf5a7aa1a2df8385b62d996aff73f742173a1d6a5ed1c7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 15:52:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:52:30 . [Pipeline] withDockerContainer 15:52:30 prd-centos7-docker-4c-2g-3034 does not seem to be running inside a container 15:52:30 $ 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 15:52:30 $ docker top 11aab987359d06957966a0e5e387b77bf067a424eb53c72b2401fae2cba430af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:52:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:52:30 [ssh-agent] Looking for ssh-agent implementation... 15:52:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:52:31 $ docker exec 11aab987359d06957966a0e5e387b77bf067a424eb53c72b2401fae2cba430af ssh-agent 15:52:31 SSH_AUTH_SOCK=/tmp/ssh-U2rX6asfY1ga/agent.13 15:52:31 SSH_AGENT_PID=18 15:52:31 Running ssh-add (command line suppressed) 15:52:31 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5419966469778285371.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5419966469778285371.key) 15:52:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:52:31 + git semver bump pre 15:52:31 # -> Open(): unable to determine branch for HEAD 15:52:31 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 15:52:31 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 15:52:31 # $SEMVER_REMOTE_NAME = origin 15:52:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:52:31 # $SEMVER_USER_NAME = edgex-jenkins 15:52:31 # $SEMVER_BRANCH = master 15:52:31 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 15:52:31 1.2.2-dev.1 [Pipeline] } 15:52:31 $ docker exec --env ******** --env ******** 11aab987359d06957966a0e5e387b77bf067a424eb53c72b2401fae2cba430af ssh-agent -k 15:52:32 unset SSH_AUTH_SOCK; 15:52:32 unset SSH_AGENT_PID; 15:52:32 echo Agent pid 18 killed; 15:52:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:52:32 + git semver [Pipeline] } 15:52:32 $ docker stop --time=1 11aab987359d06957966a0e5e387b77bf067a424eb53c72b2401fae2cba430af 15:52:33 $ docker rm -f 11aab987359d06957966a0e5e387b77bf067a424eb53c72b2401fae2cba430af [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:52:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:52:34 . [Pipeline] withDockerContainer 15:52:34 prd-centos7-docker-4c-2g-3034 does not seem to be running inside a container 15:52: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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:52:35 $ docker top 2f5d8fafe4ef71554dd53708bc72754cbbba943d4bac9d0dd12fdb559f27445c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:52:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:52:35 [ssh-agent] Looking for ssh-agent implementation... 15:52:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:52:35 $ docker exec 2f5d8fafe4ef71554dd53708bc72754cbbba943d4bac9d0dd12fdb559f27445c ssh-agent 15:52:35 SSH_AUTH_SOCK=/tmp/ssh-0JiKoV9qbx00/agent.12 15:52:35 SSH_AGENT_PID=17 15:52:35 Running ssh-add (command line suppressed) 15:52:36 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4446543177173978667.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4446543177173978667.key) 15:52:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:52:36 + git semver push 15:52:36 # -> Open(): unable to determine branch for HEAD 15:52:36 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 15:52:36 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 15:52:36 # $SEMVER_REMOTE_NAME = origin 15:52:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:52:36 # $SEMVER_USER_NAME = edgex-jenkins 15:52:36 # $SEMVER_BRANCH = master 15:52:36 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 15:52:40 git-semver-push: object not found [Pipeline] } 15:52:40 $ docker exec --env ******** --env ******** 2f5d8fafe4ef71554dd53708bc72754cbbba943d4bac9d0dd12fdb559f27445c ssh-agent -k 15:52:40 unset SSH_AUTH_SOCK; 15:52:40 unset SSH_AGENT_PID; 15:52:40 echo Agent pid 17 killed; 15:52:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:52:40 $ docker stop --time=1 2f5d8fafe4ef71554dd53708bc72754cbbba943d4bac9d0dd12fdb559f27445c 15:52:42 $ docker rm -f 2f5d8fafe4ef71554dd53708bc72754cbbba943d4bac9d0dd12fdb559f27445c [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 15:52:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:52:43 ---> package-listing.sh 15:52:43 ++ facter osfamily 15:52:43 ++ tr '[:upper:]' '[:lower:]' 15:52:43 + OS_FAMILY=redhat 15:52:43 + workspace=/w/workspace/foundry_device-virtual-go_master 15:52:43 + START_PACKAGES=/tmp/packages_start.txt 15:52:43 + END_PACKAGES=/tmp/packages_end.txt 15:52:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:52:43 + PACKAGES=/tmp/packages_start.txt 15:52:43 + '[' /w/workspace/foundry_device-virtual-go_master ']' 15:52:43 + PACKAGES=/tmp/packages_end.txt 15:52:43 + case "${OS_FAMILY}" in 15:52:43 + rpm -qa 15:52:43 + sort 15:52:46 + '[' -f /tmp/packages_start.txt ']' 15:52:46 + '[' -f /tmp/packages_end.txt ']' 15:52:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:52:46 + '[' /w/workspace/foundry_device-virtual-go_master ']' 15:52:46 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 15:52:46 + 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 15:52:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:52:47 15:52:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:52:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:52:47 alpine: Pulling from edgex-lftools-log-publisher 15:52:47 c9b1b535fdd9: Pulling fs layer 15:52:47 2cc5ad85d9ab: Pulling fs layer 15:52:47 756a868c4378: Pulling fs layer 15:52:47 444b2fc9a129: Pulling fs layer 15:52:47 ea15f1150254: Pulling fs layer 15:52:47 41b27a9f41bf: Pulling fs layer 15:52:47 28c525ee5125: Pulling fs layer 15:52:47 094b1ea09ed8: Pulling fs layer 15:52:47 138eaada9080: Pulling fs layer 15:52:47 0622d0fa9048: Pulling fs layer 15:52:47 41b27a9f41bf: Waiting 15:52:47 28c525ee5125: Waiting 15:52:47 094b1ea09ed8: Waiting 15:52:47 138eaada9080: Waiting 15:52:47 0622d0fa9048: Waiting 15:52:47 444b2fc9a129: Waiting 15:52:47 ea15f1150254: Waiting 15:52:47 2cc5ad85d9ab: Verifying Checksum 15:52:47 2cc5ad85d9ab: Download complete 15:52:47 444b2fc9a129: Verifying Checksum 15:52:47 444b2fc9a129: Download complete 15:52:47 c9b1b535fdd9: Download complete 15:52:47 ea15f1150254: Verifying Checksum 15:52:47 ea15f1150254: Download complete 15:52:47 28c525ee5125: Verifying Checksum 15:52:47 28c525ee5125: Download complete 15:52:47 756a868c4378: Verifying Checksum 15:52:47 756a868c4378: Download complete 15:52:48 138eaada9080: Verifying Checksum 15:52:48 138eaada9080: Download complete 15:52:48 0622d0fa9048: Verifying Checksum 15:52:48 0622d0fa9048: Download complete 15:52:48 094b1ea09ed8: Verifying Checksum 15:52:48 094b1ea09ed8: Download complete 15:52:48 c9b1b535fdd9: Pull complete 15:52:48 2cc5ad85d9ab: Pull complete 15:52:48 41b27a9f41bf: Verifying Checksum 15:52:48 41b27a9f41bf: Download complete 15:52:50 756a868c4378: Pull complete 15:52:50 444b2fc9a129: Pull complete 15:52:50 ea15f1150254: Pull complete 15:52:53 41b27a9f41bf: Pull complete 15:52:54 28c525ee5125: Pull complete 15:52:56 094b1ea09ed8: Pull complete 15:52:57 138eaada9080: Pull complete 15:52:57 0622d0fa9048: Pull complete 15:52:57 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 15:52:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:52:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:52:57 prd-centos7-docker-4c-2g-3034 does not seem to be running inside a container 15:52:57 $ 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 15:52:59 $ docker top 575fd172156e4c3d13878a4695c5a0ea89715531d062a7e6a27186b1f9e814d9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:59 provisioning config files... 15:52:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config465390821211363512tmp [Pipeline] { [Pipeline] echo 15:53:00 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:53:00 ---> create-netrc.sh [Pipeline] echo 15:53:00 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:53:00 ---> logs-deploy.sh 15:53:00 + ARCHIVE_ARTIFACTS= 15:53:00 + LOGS_SERVER=https://logs.edgexfoundry.org 15:53:00 + '[' https://logs.edgexfoundry.org == None ']' 15:53:00 + NEXUS_URL=https://nexus.edgexfoundry.org 15:53:00 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/15 15:53:00 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/15/ 15:53:00 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/15 /w/workspace/foundry_device-virtual-go_master 15:53:02 Archives upload complete. 15:53:02 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/15 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/15/