Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 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 ‘prd-centos7-docker-4c-2g-3344’ Running on prd-centos7-docker-4c-2g-3348 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Fetching without tags Checking out Revision 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 (master) > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 # timeout=10 Commit message: "Merge pull request #114 from jamesrgregg/update-pr-template" > git rev-list --no-walk 765a8ae72530510c4ebab34c81f831f56123a77d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:15:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:15:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:15:19 ========================================================= 15:15:19 EdgeX Global Pipelines Version Info 15:15:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:15:21 ------------------- 15:15:21 stable info: 15:15:21 ------------------- 15:15:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:15:21 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 15:15:21 Message: update stable to v1.0.89 15:15:22 ------------------- 15:15:22 experimental info: 15:15:22 ------------------- 15:15:22 Commited By: **** collab-it+edgex@linuxfoundation.org 15:15:22 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 15:15:22 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:15:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:15:24 15:15:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:15:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:15:24 latest: Pulling from edgex-devops/git-semver 15:15:24 9123ac7c32f7: Pulling fs layer 15:15:24 b8cc5d1170e3: Pulling fs layer 15:15:24 2924cbbf6a41: Pulling fs layer 15:15:24 93b08a4f1073: Pulling fs layer 15:15:24 93b08a4f1073: Waiting 15:15:24 b8cc5d1170e3: Download complete 15:15:24 9123ac7c32f7: Verifying Checksum 15:15:24 9123ac7c32f7: Download complete 15:15:24 93b08a4f1073: Verifying Checksum 15:15:24 93b08a4f1073: Download complete 15:15:24 2924cbbf6a41: Verifying Checksum 15:15:24 2924cbbf6a41: Download complete 15:15:25 9123ac7c32f7: Pull complete 15:15:25 b8cc5d1170e3: Pull complete 15:15:25 2924cbbf6a41: Pull complete 15:15:26 93b08a4f1073: Pull complete 15:15:26 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 15:15:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:15:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:15:26 prd-centos7-docker-4c-2g-3348 does not seem to be running inside a container 15:15:26 $ 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:15:28 $ docker top 8eb47eb5e4edf958d8a3a359e9417cc4527fe911661d18c87e79499c7a5d71f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:15:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:15:28 [ssh-agent] Looking for ssh-agent implementation... 15:15:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:15:28 $ docker exec 8eb47eb5e4edf958d8a3a359e9417cc4527fe911661d18c87e79499c7a5d71f8 ssh-agent 15:15:28 SSH_AUTH_SOCK=/tmp/ssh-7aGHN3fNY8xt/agent.11 15:15:28 SSH_AGENT_PID=16 15:15:28 Running ssh-add (command line suppressed) 15:15:28 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1659868212105085253.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1659868212105085253.key) 15:15:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:15:29 + git describe --exact-match --tags HEAD 15:15:29 fatal: No names found, cannot describe anything. [Pipeline] } 15:15:29 $ docker exec --env ******** --env ******** 8eb47eb5e4edf958d8a3a359e9417cc4527fe911661d18c87e79499c7a5d71f8 ssh-agent -k 15:15:29 unset SSH_AUTH_SOCK; 15:15:29 unset SSH_AGENT_PID; 15:15:29 echo Agent pid 16 killed; 15:15:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:15:29 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:15:29 This usually means this commit has not been tagged. [Pipeline] sshagent 15:15:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:15:29 [ssh-agent] Looking for ssh-agent implementation... 15:15:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:15:29 $ docker exec 8eb47eb5e4edf958d8a3a359e9417cc4527fe911661d18c87e79499c7a5d71f8 ssh-agent 15:15:29 SSH_AUTH_SOCK=/tmp/ssh-wKUpvglcxhKJ/agent.44 15:15:29 SSH_AGENT_PID=49 15:15:29 Running ssh-add (command line suppressed) 15:15:30 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5430126310922686817.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5430126310922686817.key) 15:15:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:15:30 + git semver init 15:15:30 # -> Open(): unable to determine branch for HEAD 15:15:30 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 15:15:30 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 15:15:30 # $SEMVER_REMOTE_NAME = origin 15:15:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:15:30 # $SEMVER_USER_NAME = edgex-jenkins 15:15:30 # $SEMVER_BRANCH = master 15:15:30 # $SEMVER_TEMP = /tmp/semver-475196508 15:15:30 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 15:15:31 # '/tmp/semver-475196508' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 15:15:31 # -> Force: false 15:15:31 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 15:15:31 $ docker exec --env ******** --env ******** 8eb47eb5e4edf958d8a3a359e9417cc4527fe911661d18c87e79499c7a5d71f8 ssh-agent -k 15:15:31 unset SSH_AUTH_SOCK; 15:15:31 unset SSH_AGENT_PID; 15:15:31 echo Agent pid 49 killed; 15:15:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:15:31 + git semver [Pipeline] } 15:15:31 $ docker stop --time=1 8eb47eb5e4edf958d8a3a359e9417cc4527fe911661d18c87e79499c7a5d71f8 15:15:32 $ docker rm -f 8eb47eb5e4edf958d8a3a359e9417cc4527fe911661d18c87e79499c7a5d71f8 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:15:33 Stashed 29 file(s) [Pipeline] echo 15:15:33 [edgeXSemver] initialized semver on version 1.2.2-dev.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 15:15:48 Still waiting to schedule task 15:15:48 ‘prd-centos7-builder-2c-1g-3343’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3350’ 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-3317’ doesn’t have label ‘centos7-docker-4c-2g’ 15:15:48 Still waiting to schedule task 15:15:48 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 15:15:54 Running on prd-centos7-docker-4c-2g-3350 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 15:15:55 Running in /w/workspace/device-virtual-go/16 [Pipeline] { [Pipeline] checkout 15:15:57 using credential edgex-jenkins-ssh 15:15:57 Cloning the remote Git repository 15:15:57 Cloning with configured refspecs honoured and without tags 15:15:57 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 15:15:57 > git init /w/workspace/device-virtual-go/16 # timeout=10 15:15:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:15:57 > git --version # timeout=10 15:15:57 using GIT_SSH to set credentials SSH Credentials for GitHub 15:15:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:15:58 Fetching without tags 15:15:59 Checking out Revision 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 (master) 15:15:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:15:58 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:15:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:15:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:15:58 using GIT_SSH to set credentials SSH Credentials for GitHub 15:15:58 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:15:59 > git config core.sparsecheckout # timeout=10 15:15:59 > git checkout -f 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 # timeout=10 15:16:02 Commit message: "Merge pull request #114 from jamesrgregg/update-pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:16:03 ========================================================= 15:16:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 15:16:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:16:04 + 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:16:04 Sending build context to Docker daemon 511.5kB 15:16:04 Step 1/8 : ARG BASE=golang:1.13-alpine 15:16:04 Step 2/8 : FROM ${BASE} 15:16:04 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 15:16:04 e6b0cf9c0882: Pulling fs layer 15:16:04 2848faf0eed1: Pulling fs layer 15:16:04 0f37312ad70f: Pulling fs layer 15:16:04 5788d62ee057: Pulling fs layer 15:16:04 0e6b1d234666: Pulling fs layer 15:16:04 bf5d7aec512f: Pulling fs layer 15:16:04 34c802a77dc8: Pulling fs layer 15:16:04 9eb99e56ec68: Pulling fs layer 15:16:04 27c7a5d97fbd: Pulling fs layer 15:16:04 5c102a31e300: Pulling fs layer 15:16:04 dcfb455df0a1: Pulling fs layer 15:16:04 34c802a77dc8: Waiting 15:16:04 9eb99e56ec68: Waiting 15:16:04 5c102a31e300: Waiting 15:16:04 5788d62ee057: Waiting 15:16:04 0e6b1d234666: Waiting 15:16:04 dcfb455df0a1: Waiting 15:16:04 bf5d7aec512f: Waiting 15:16:04 27c7a5d97fbd: Waiting 15:16:04 0f37312ad70f: Verifying Checksum 15:16:04 0f37312ad70f: Download complete 15:16:04 2848faf0eed1: Download complete 15:16:04 0e6b1d234666: Verifying Checksum 15:16:04 0e6b1d234666: Download complete 15:16:04 bf5d7aec512f: Verifying Checksum 15:16:04 bf5d7aec512f: Download complete 15:16:04 e6b0cf9c0882: Verifying Checksum 15:16:04 e6b0cf9c0882: Download complete 15:16:05 e6b0cf9c0882: Pull complete 15:16:05 34c802a77dc8: Verifying Checksum 15:16:05 34c802a77dc8: Download complete 15:16:05 27c7a5d97fbd: Verifying Checksum 15:16:05 27c7a5d97fbd: Download complete 15:16:06 5788d62ee057: Verifying Checksum 15:16:06 5788d62ee057: Download complete 15:16:06 9eb99e56ec68: Verifying Checksum 15:16:06 9eb99e56ec68: Download complete 15:16:06 5c102a31e300: Verifying Checksum 15:16:06 5c102a31e300: Download complete 15:16:06 dcfb455df0a1: Verifying Checksum 15:16:06 dcfb455df0a1: Download complete 15:16:07 2848faf0eed1: Pull complete 15:16:07 0f37312ad70f: Pull complete 15:16:12 5788d62ee057: Pull complete 15:16:12 0e6b1d234666: Pull complete 15:16:12 bf5d7aec512f: Pull complete 15:16:21 34c802a77dc8: Pull complete 15:16:23 9eb99e56ec68: Pull complete 15:16:23 27c7a5d97fbd: Pull complete 15:16:24 5c102a31e300: Pull complete 15:16:24 dcfb455df0a1: Pull complete 15:16:24 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 15:16:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 15:16:24 ---> 7c70fe431013 15:16:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 15:16:25 ---> Running in e2be5c332d7a 15:16:25 Removing intermediate container e2be5c332d7a 15:16:25 ---> 7875f528e7e7 15:16:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:16:25 ---> Running in a19082664d97 15:16:27 Removing intermediate container a19082664d97 15:16:27 ---> bc9f095719c4 15:16:27 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 15:16:27 ---> Running in 1bb1c266f296 15:16:28 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:16:29 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 15:16:29 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 15:16:29 (2/17) Installing libmagic (5.37-r1) 15:16:30 (3/17) Installing file (5.37-r1) 15:16:30 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 15:16:30 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 15:16:30 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 15:16:45 (7/17) Installing libc-dev (0.7.2-r0) 15:16:45 (8/17) Installing g++ (9.2.0-r4) 15:16:53 (9/17) Installing fortify-headers (1.1-r0) 15:16:53 (10/17) Installing build-base (0.5-r1) 15:16:53 (11/17) Installing openssh-keygen (8.1_p1-r0) 15:16:53 (12/17) Installing libedit (20191211.3.1-r0) 15:16:53 (13/17) Installing openssh-client (8.1_p1-r0) 15:16:53 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 15:16:53 (15/17) Installing openssh-server-common (8.1_p1-r0) 15:16:53 (16/17) Installing openssh-server (8.1_p1-r0) 15:16:53 (17/17) Installing openssh (8.1_p1-r0) 15:16:53 Executing busybox-1.31.1-r8.trigger 15:16:53 OK: 214 MiB in 52 packages 15:16:57 Removing intermediate container 1bb1c266f296 15:16:57 ---> 1decbc57a1d7 15:16:57 Step 6/8 : WORKDIR /device-virtual-go 15:16:57 ---> Running in 3fd69f2958f3 15:16:57 Removing intermediate container 3fd69f2958f3 15:16:57 ---> d2bc7260c52f 15:16:57 Step 7/8 : COPY . . 15:16:58 ---> cf5bd8d3c55a 15:16:58 Step 8/8 : RUN go mod download 15:16:58 ---> Running in 1af311c90b3d 15:17:00 go: finding github.com/BurntSushi/toml v0.3.1 15:17:00 go: finding github.com/OneOfOne/xxhash v1.2.6 15:17:00 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:17:00 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:17:00 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:17:00 go: finding github.com/bgentry/speakeasy v0.1.0 15:17:00 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:17:00 go: finding github.com/davecgh/go-spew v1.1.1 15:17:00 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 15:17:00 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 15:17:00 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:17:00 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:17:00 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:17:00 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:17:00 go: finding github.com/edsrzf/mmap-go v1.0.0 15:17:00 go: finding github.com/fatih/color v1.7.0 15:17:00 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:17:00 go: finding github.com/go-kit/kit v0.8.0 15:17:00 go: finding github.com/go-logfmt/logfmt v0.4.0 15:17:00 go: finding github.com/go-stack/stack v1.8.0 15:17:00 go: finding github.com/golang/snappy v0.0.1 15:17:00 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:17:00 go: finding github.com/google/uuid v1.1.0 15:17:00 go: finding github.com/gorilla/mux v1.7.1 15:17:00 go: finding github.com/hashicorp/consul/api v1.1.0 15:17:00 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:17:00 go: finding github.com/hashicorp/errwrap v1.0.0 15:17:00 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:17:00 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:17:00 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:17:00 go: finding github.com/hashicorp/go-multierror v1.0.0 15:17:00 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:17:00 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:17:00 go: finding github.com/hashicorp/go-syslog v1.0.0 15:17:00 go: finding github.com/hashicorp/go-uuid v1.0.1 15:17:00 go: finding github.com/hashicorp/go.net v0.0.1 15:17:00 go: finding github.com/hashicorp/golang-lru v0.5.0 15:17:00 go: finding github.com/hashicorp/logutils v1.0.0 15:17:00 go: finding github.com/hashicorp/mdns v1.0.0 15:17:00 go: finding github.com/hashicorp/memberlist v0.1.3 15:17:00 go: finding github.com/hashicorp/serf v0.8.2 15:17:00 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:17:00 go: finding github.com/mattn/go-colorable v0.0.9 15:17:00 go: finding github.com/mattn/go-isatty v0.0.3 15:17:00 go: finding github.com/miekg/dns v1.0.14 15:17:00 go: finding github.com/mitchellh/cli v1.0.0 15:17:00 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:17:00 go: finding github.com/mitchellh/copystructure v1.0.0 15:17:00 go: finding github.com/mitchellh/go-homedir v1.0.0 15:17:00 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:17:00 go: finding github.com/mitchellh/gox v0.4.0 15:17:00 go: finding github.com/mitchellh/iochan v1.0.0 15:17:00 go: finding github.com/mitchellh/mapstructure v1.1.2 15:17:00 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:17:00 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:17:00 go: finding github.com/pelletier/go-toml v1.2.0 15:17:00 go: finding github.com/pkg/errors v0.8.1 15:17:00 go: finding github.com/pmezard/go-difflib v1.0.0 15:17:00 go: finding github.com/posener/complete v1.1.1 15:17:00 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 15:17:00 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:17:00 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:17:00 go: finding github.com/stretchr/objx v0.1.0 15:17:00 go: finding github.com/stretchr/testify v1.5.1 15:17:00 go: finding github.com/ugorji/go v1.1.4 15:17:00 go: finding github.com/x448/float16 v0.8.4 15:17:00 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:17:00 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:17:00 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:17:00 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 15:17:01 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:17:01 go: finding gopkg.in/yaml.v2 v2.2.8 15:17:01 go: finding modernc.org/b v1.0.0 15:17:01 go: finding modernc.org/db v1.0.0 15:17:01 go: finding modernc.org/file v1.0.0 15:17:01 go: finding modernc.org/fileutil v1.0.0 15:17:01 go: finding modernc.org/golex v1.0.0 15:17:01 go: finding modernc.org/internal v1.0.0 15:17:01 go: finding modernc.org/lldb v1.0.0 15:17:01 go: finding modernc.org/mathutil v1.0.0 15:17:01 go: finding modernc.org/ql v1.0.0 15:17:01 go: finding modernc.org/sortutil v1.0.0 15:17:01 go: finding modernc.org/strutil v1.0.0 15:17:01 go: finding modernc.org/zappy v1.0.0 15:17:11 Removing intermediate container 1af311c90b3d 15:17:11 ---> efad40682e72 15:17:11 Successfully built efad40682e72 15:17:11 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:17:11 + docker inspect -f . ci-base-image-x86_64 15:17:11 . [Pipeline] withDockerContainer 15:17:12 prd-centos7-docker-4c-2g-3350 does not seem to be running inside a container 15:17:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/16 -v /w/workspace/device-virtual-go/16:/w/workspace/device-virtual-go/16:rw,z -v /w/workspace/device-virtual-go/16@tmp:/w/workspace/device-virtual-go/16@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:17:13 $ docker top 92b617da86735d3c7ab50cb6d0265201f6c706c2e041f8e11938e2aa520b9921 -eo pid,comm [Pipeline] { [Pipeline] sh 15:17:13 + go version 15:17:13 go version go1.13.5 linux/amd64 [Pipeline] sh 15:17:14 + make test 15:17:14 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:17:15 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:17:27 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:18:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3352 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 15:18:20 Running in /w/workspace/device-virtual-go/16 [Pipeline] { [Pipeline] checkout 15:18:23 ok github.com/edgexfoundry/device-virtual-go/internal/driver 47.953s coverage: 52.7% of statements 15:18:23 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:18:23 gofmt -l . 15:18:23 [ "`gofmt -l .`" = "" ] 15:18:23 ./bin/test-attribution-txt.sh 15:18:23 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:18:24 Stashed 1 file(s) [Pipeline] } 15:18:24 $ docker stop --time=1 92b617da86735d3c7ab50cb6d0265201f6c706c2e041f8e11938e2aa520b9921 15:18:25 using credential edgex-jenkins-ssh 15:18:25 Cloning the remote Git repository 15:18:25 Cloning with configured refspecs honoured and without tags 15:18:25 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 15:18:25 $ docker rm -f 92b617da86735d3c7ab50cb6d0265201f6c706c2e041f8e11938e2aa520b9921 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 15:18:26 Fetching without tags 15:18:25 > git init /w/workspace/device-virtual-go/16 # timeout=10 15:18:25 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:18:25 > git --version # timeout=10 15:18:25 using GIT_SSH to set credentials SSH Credentials for GitHub 15:18:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:18:26 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:18:26 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:18:26 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:18:26 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:18:26 using GIT_SSH to set credentials SSH Credentials for GitHub 15:18:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] sh 15:18:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:18:27 Checking out Revision 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 (master) 15:18:27 + ls -al . 15:18:27 total 112 15:18:27 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 17 15:18 . 15:18:27 drwxrwxr-x. 4 jenkins jenkins 30 Jun 17 15:15 .. 15:18:27 -rw-rw-r--. 1 jenkins jenkins 6432 Jun 17 15:15 Attribution.txt 15:18:27 drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 15:15 bin 15:18:27 drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 15:15 cmd 15:18:27 -rw-r--r--. 1 jenkins jenkins 32181 Jun 17 15:18 coverage.out 15:18:27 -rw-rw-r--. 1 jenkins jenkins 1826 Jun 17 15:15 Dockerfile 15:18:27 -rw-rw-r--. 1 jenkins jenkins 957 Jun 17 15:15 Dockerfile.build 15:18:27 drwxrwxr-x. 8 jenkins jenkins 162 Jun 17 15:16 .git 15:18:27 drwxrwxr-x. 2 jenkins jenkins 38 Jun 17 15:15 .github 15:18:27 -rw-rw-r--. 1 jenkins jenkins 258 Jun 17 15:15 .gitignore 15:18:27 -rw-r--r--. 1 jenkins jenkins 855 Jun 17 15:18 go.mod 15:18:27 -rw-r--r--. 1 jenkins jenkins 14894 Jun 17 15:18 go.sum 15:18:27 drwxrwxr-x. 3 jenkins jenkins 20 Jun 17 15:15 internal 15:18:27 -rw-rw-r--. 1 jenkins jenkins 683 Jun 17 15:15 Jenkinsfile 15:18:27 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 15:15 LICENSE 15:18:27 -rw-rw-r--. 1 jenkins jenkins 873 Jun 17 15:15 Makefile 15:18:27 -rw-rw-r--. 1 jenkins jenkins 4413 Jun 17 15:15 README.md 15:18:27 drwxrwxr-x. 3 jenkins jenkins 44 Jun 17 15:16 .semver 15:18:27 -rw-rw-r--. 1 jenkins jenkins 11 Jun 17 15:15 VERSION 15:18:27 -rw-rw-r--. 1 jenkins jenkins 235 Jun 17 15:15 version.go [Pipeline] isUnix [Pipeline] sh 15:18:27 + 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=7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 --label arch=amd64 --label version=1.2.2-dev.1 . 15:18:27 Sending build context to Docker daemon 34.13MB 15:18:27 Step 1/21 : ARG BASE=golang:1.13-alpine 15:18:27 Step 2/21 : FROM ${BASE} AS builder 15:18:27 ---> efad40682e72 15:18:27 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 15:18:27 > git config core.sparsecheckout # timeout=10 15:18:27 > git checkout -f 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 # timeout=10 15:18:28 ---> Running in 6f6ee30f57ce 15:18:28 Removing intermediate container 6f6ee30f57ce 15:18:28 ---> 1dbfc1c230a9 15:18:28 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 15:18:28 ---> Running in b998314600ff 15:18:28 Removing intermediate container b998314600ff 15:18:28 ---> fe766ef0b307 15:18:28 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 15:18:29 ---> Running in 3f8e5133f03f 15:18:29 Removing intermediate container 3f8e5133f03f 15:18:29 ---> dfe63b4051f1 15:18:29 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:18:29 ---> Running in adbb98a3ca16 15:18:30 Removing intermediate container adbb98a3ca16 15:18:30 ---> 190585fa375f 15:18:30 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:18:30 ---> Running in 6b4990293743 15:18:31 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 15:18:31 Commit message: "Merge pull request #114 from jamesrgregg/update-pr-template" 15:18:31 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 15:18:32 OK: 214 MiB in 52 packages [Pipeline] echo 15:18:32 ========================================================= 15:18:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 15:18:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:18:32 Removing intermediate container 6b4990293743 15:18:32 ---> f9050408cbab 15:18:32 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 15:18:32 ---> Running in 9a727917f5e7 15:18:33 Removing intermediate container 9a727917f5e7 15:18:33 ---> a275a6d1b0cb 15:18:33 Step 9/21 : COPY . . 15:18:33 + 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:18:34 Sending build context to Docker daemon 511.5kB 15:18:34 Step 1/8 : ARG BASE=golang:1.13-alpine 15:18:34 Step 2/8 : FROM ${BASE} 15:18:34 ---> e82f2cc02e3a 15:18:34 Step 10/21 : ARG MAKE='make build' 15:18:34 ---> Running in 27b63bca6f42 15:18:34 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:18:34 cde5963f3b93: Pulling fs layer 15:18:34 2a23fa8c16f7: Pulling fs layer 15:18:34 777b28850792: Pulling fs layer 15:18:34 8a11ddd9e578: Pulling fs layer 15:18:34 4cf88f913ddb: Pulling fs layer 15:18:34 1df406cf5192: Pulling fs layer 15:18:34 cd6300453558: Pulling fs layer 15:18:34 b9c365052c96: Pulling fs layer 15:18:34 a2d8cc88f415: Pulling fs layer 15:18:34 ea1d1ca13537: Pulling fs layer 15:18:34 3750a50a1c5e: Pulling fs layer 15:18:34 8a11ddd9e578: Waiting 15:18:34 4cf88f913ddb: Waiting 15:18:34 1df406cf5192: Waiting 15:18:34 cd6300453558: Waiting 15:18:34 b9c365052c96: Waiting 15:18:34 a2d8cc88f415: Waiting 15:18:34 ea1d1ca13537: Waiting 15:18:34 777b28850792: Verifying Checksum 15:18:34 777b28850792: Download complete 15:18:34 2a23fa8c16f7: Verifying Checksum 15:18:34 2a23fa8c16f7: Download complete 15:18:34 4cf88f913ddb: Verifying Checksum 15:18:34 4cf88f913ddb: Download complete 15:18:34 1df406cf5192: Verifying Checksum 15:18:34 1df406cf5192: Download complete 15:18:34 cde5963f3b93: Download complete 15:18:34 Removing intermediate container 27b63bca6f42 15:18:34 ---> 5a90b7c49482 15:18:34 Step 11/21 : RUN $MAKE 15:18:34 ---> Running in c9fefa9f74be 15:18:34 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.2-dev.1" -o cmd/device-virtual ./cmd 15:18:35 cde5963f3b93: Pull complete 15:18:36 2a23fa8c16f7: Pull complete 15:18:36 777b28850792: Pull complete 15:18:37 cd6300453558: Verifying Checksum 15:18:37 cd6300453558: Download complete 15:18:37 a2d8cc88f415: Verifying Checksum 15:18:37 a2d8cc88f415: Download complete 15:18:38 ea1d1ca13537: Verifying Checksum 15:18:38 ea1d1ca13537: Download complete 15:18:38 3750a50a1c5e: Verifying Checksum 15:18:38 3750a50a1c5e: Download complete 15:18:39 b9c365052c96: Verifying Checksum 15:18:39 b9c365052c96: Download complete 15:18:39 8a11ddd9e578: Verifying Checksum 15:18:39 8a11ddd9e578: Download complete 15:18:45 CGO_ENABLED=0 GO111MODULE=on go build ./... 15:18:50 Removing intermediate container c9fefa9f74be 15:18:50 ---> bbfea29e8612 15:18:50 Step 12/21 : FROM alpine 15:18:50 latest: Pulling from library/alpine 15:18:50 df20fa9351a1: Pulling fs layer 15:18:50 df20fa9351a1: Verifying Checksum 15:18:50 df20fa9351a1: Download complete 15:18:50 df20fa9351a1: Pull complete 15:18:50 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:18:50 Status: Downloaded newer image for alpine:latest 15:18:50 ---> a24bb4013296 15:18:50 Step 13/21 : ENV APP_PORT=49990 15:18:50 ---> Running in 059d6638dfe0 15:18:50 Removing intermediate container 059d6638dfe0 15:18:50 ---> 65a6c2ef4969 15:18:50 Step 14/21 : EXPOSE $APP_PORT 15:18:50 ---> Running in 7a806348313c 15:18:51 Removing intermediate container 7a806348313c 15:18:51 ---> 5fb479366f65 15:18:51 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 15:18:51 ---> 218464b07cf8 15:18:51 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 15:18:51 ---> 2d50bfd863f6 15:18:51 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 15:18:51 ---> 9bdc2ec532b9 15:18:51 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 15:18:52 8a11ddd9e578: Pull complete 15:18:52 4cf88f913ddb: Pull complete 15:18:52 1df406cf5192: Pull complete 15:18:52 ---> Running in e20031fbf44b 15:18:52 Removing intermediate container e20031fbf44b 15:18:52 ---> fc861211b7cd 15:18:52 Step 19/21 : LABEL arch=amd64 15:18:52 ---> Running in 515c474fc4f1 15:18:52 Removing intermediate container 515c474fc4f1 15:18:52 ---> 1bac0a558d3a 15:18:52 Step 20/21 : LABEL git_sha=7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 15:18:52 ---> Running in 55f8df782fa2 15:18:52 Removing intermediate container 55f8df782fa2 15:18:52 ---> dc0290d3f9c9 15:18:52 Step 21/21 : LABEL version=1.2.2-dev.1 15:18:52 ---> Running in e65eda53fe58 15:18:52 Removing intermediate container e65eda53fe58 15:18:52 ---> b6f8a3c44eff 15:18:52 [Warning] One or more build-args [ARCH] were not consumed 15:18:52 Successfully built b6f8a3c44eff 15:18:53 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:18:53 provisioning config files... 15:18:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/16@tmp/config3722785210292601222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:18:53 nexus3.edgexfoundry.org:10001 15:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:53 Configure a credential helper to remove this warning. See 15:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:53 15:18:53 Login Succeeded 15:18:53 nexus3.edgexfoundry.org:10002 15:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:53 Configure a credential helper to remove this warning. See 15:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:53 15:18:53 Login Succeeded 15:18:53 nexus3.edgexfoundry.org:10003 15:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:54 Configure a credential helper to remove this warning. See 15:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:54 15:18:54 Login Succeeded 15:18:54 nexus3.edgexfoundry.org:10004 15:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:54 Configure a credential helper to remove this warning. See 15:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:54 15:18:54 Login Succeeded 15:18:54 docker.io 15:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:54 Configure a credential helper to remove this warning. See 15:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:54 15:18:54 Login Succeeded [Pipeline] } 15:18:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:18:54 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 15:18:54 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 15:18:54 latest 15:18:54 1.2.2-dev.1 15:18:54 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41-1.2.2-dev.1 15:18:54 master 15:18:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:18:55 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 [Pipeline] isUnix [Pipeline] sh 15:18:55 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 15:18:55 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 15:18:55 013905450b77: Preparing 15:18:55 5205fd897a2f: Preparing 15:18:55 0422bea5e3f9: Preparing 15:18:55 50644c29ef5a: Preparing 15:18:55 50644c29ef5a: Layer already exists 15:18:55 013905450b77: Pushed 15:18:55 5205fd897a2f: Pushed 15:18:56 cd6300453558: Pull complete 15:18:56 0422bea5e3f9: Pushed 15:18:56 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41: digest: sha256:d1ff2686e23cd19e3e69343ef1931cb26ec1338e81dc68e8e760068bf2bbb8c6 size: 1155 [Pipeline] isUnix [Pipeline] sh 15:18:57 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 15:18:57 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 15:18:57 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 15:18:57 013905450b77: Preparing 15:18:57 5205fd897a2f: Preparing 15:18:57 0422bea5e3f9: Preparing 15:18:57 50644c29ef5a: Preparing 15:18:57 013905450b77: Layer already exists 15:18:57 0422bea5e3f9: Layer already exists 15:18:57 5205fd897a2f: Layer already exists 15:18:57 50644c29ef5a: Layer already exists 15:18:57 latest: digest: sha256:d1ff2686e23cd19e3e69343ef1931cb26ec1338e81dc68e8e760068bf2bbb8c6 size: 1155 [Pipeline] isUnix [Pipeline] sh 15:18:57 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh 15:18:58 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.2-dev.1 15:18:58 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 15:18:58 013905450b77: Preparing 15:18:58 5205fd897a2f: Preparing 15:18:58 0422bea5e3f9: Preparing 15:18:58 50644c29ef5a: Preparing 15:18:58 5205fd897a2f: Layer already exists 15:18:58 0422bea5e3f9: Layer already exists 15:18:58 50644c29ef5a: Layer already exists 15:18:58 013905450b77: Layer already exists 15:18:58 1.2.2-dev.1: digest: sha256:d1ff2686e23cd19e3e69343ef1931cb26ec1338e81dc68e8e760068bf2bbb8c6 size: 1155 [Pipeline] isUnix [Pipeline] sh 15:18:58 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:7ceff76bd1516c8443efe3ecccc6e09cd18c3d41-1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh 15:18:58 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:7ceff76bd1516c8443efe3ecccc6e09cd18c3d41-1.2.2-dev.1 15:18:58 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 15:18:58 013905450b77: Preparing 15:18:58 5205fd897a2f: Preparing 15:18:58 0422bea5e3f9: Preparing 15:18:58 50644c29ef5a: Preparing 15:18:58 0422bea5e3f9: Layer already exists 15:18:58 5205fd897a2f: Layer already exists 15:18:58 50644c29ef5a: Layer already exists 15:18:58 013905450b77: Layer already exists 15:18:58 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41-1.2.2-dev.1: digest: sha256:d1ff2686e23cd19e3e69343ef1931cb26ec1338e81dc68e8e760068bf2bbb8c6 size: 1155 [Pipeline] isUnix [Pipeline] sh 15:18:58 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 15:18:59 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 15:18:59 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 15:18:59 013905450b77: Preparing 15:18:59 5205fd897a2f: Preparing 15:18:59 0422bea5e3f9: Preparing 15:18:59 50644c29ef5a: Preparing 15:18:59 0422bea5e3f9: Layer already exists 15:18:59 013905450b77: Layer already exists 15:18:59 5205fd897a2f: Layer already exists 15:18:59 50644c29ef5a: Layer already exists 15:18:59 master: digest: sha256:d1ff2686e23cd19e3e69343ef1931cb26ec1338e81dc68e8e760068bf2bbb8c6 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:19:02 b9c365052c96: Pull complete 15:19:02 a2d8cc88f415: Pull complete 15:19:03 ea1d1ca13537: Pull complete 15:19:03 3750a50a1c5e: Pull complete 15:19:03 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 15:19:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 15:19:03 ---> 78745c68409d 15:19:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 15:19:09 ---> Running in d66d3407b292 15:19:09 Removing intermediate container d66d3407b292 15:19:09 ---> 9844813d4935 15:19:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:19:09 ---> Running in 6074e6279eac 15:19:11 Removing intermediate container 6074e6279eac 15:19:11 ---> 45f70e3b5453 15:19:11 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 15:19:11 ---> Running in 75ae55bf7b87 15:19:12 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:19:13 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:19:14 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 15:19:14 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 15:19:14 (3/18) Installing libmagic (5.37-r1) 15:19:14 (4/18) Installing file (5.37-r1) 15:19:14 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 15:19:14 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 15:19:14 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 15:19:23 (8/18) Installing libc-dev (0.7.2-r0) 15:19:23 (9/18) Installing g++ (9.2.0-r4) 15:19:28 (10/18) Installing fortify-headers (1.1-r0) 15:19:28 (11/18) Installing build-base (0.5-r1) 15:19:28 (12/18) Installing openssh-keygen (8.1_p1-r0) 15:19:29 (13/18) Installing libedit (20191211.3.1-r0) 15:19:29 (14/18) Installing openssh-client (8.1_p1-r0) 15:19:29 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 15:19:29 (16/18) Installing openssh-server-common (8.1_p1-r0) 15:19:29 (17/18) Installing openssh-server (8.1_p1-r0) 15:19:29 (18/18) Installing openssh (8.1_p1-r0) 15:19:29 Executing busybox-1.31.1-r8.trigger 15:19:29 OK: 203 MiB in 52 packages 15:19:36 Removing intermediate container 75ae55bf7b87 15:19:36 ---> 7c7c862d5ed6 15:19:36 Step 6/8 : WORKDIR /device-virtual-go 15:19:36 ---> Running in 6fb4cec45fed 15:19:36 Removing intermediate container 6fb4cec45fed 15:19:36 ---> 889366319f14 15:19:36 Step 7/8 : COPY . . 15:19:37 ---> 9d1fa87de58d 15:19:37 Step 8/8 : RUN go mod download 15:19:37 ---> Running in 917a4e00c063 15:19:40 go: finding github.com/BurntSushi/toml v0.3.1 15:19:40 go: finding github.com/OneOfOne/xxhash v1.2.6 15:19:40 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:19:40 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:19:40 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:19:40 go: finding github.com/bgentry/speakeasy v0.1.0 15:19:40 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:19:40 go: finding github.com/davecgh/go-spew v1.1.1 15:19:40 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 15:19:40 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 15:19:40 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:19:40 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:19:40 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:19:40 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:19:40 go: finding github.com/edsrzf/mmap-go v1.0.0 15:19:40 go: finding github.com/fatih/color v1.7.0 15:19:40 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:19:40 go: finding github.com/go-kit/kit v0.8.0 15:19:40 go: finding github.com/go-logfmt/logfmt v0.4.0 15:19:40 go: finding github.com/go-stack/stack v1.8.0 15:19:40 go: finding github.com/golang/snappy v0.0.1 15:19:40 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:19:40 go: finding github.com/google/uuid v1.1.0 15:19:40 go: finding github.com/gorilla/mux v1.7.1 15:19:40 go: finding github.com/hashicorp/consul/api v1.1.0 15:19:40 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:19:40 go: finding github.com/hashicorp/errwrap v1.0.0 15:19:40 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:19:40 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:19:40 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:19:40 go: finding github.com/hashicorp/go-multierror v1.0.0 15:19:40 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:19:40 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:19:40 go: finding github.com/hashicorp/go-syslog v1.0.0 15:19:40 go: finding github.com/hashicorp/go-uuid v1.0.1 15:19:40 go: finding github.com/hashicorp/go.net v0.0.1 15:19:40 go: finding github.com/hashicorp/golang-lru v0.5.0 15:19:40 go: finding github.com/hashicorp/logutils v1.0.0 15:19:40 go: finding github.com/hashicorp/mdns v1.0.0 15:19:40 go: finding github.com/hashicorp/memberlist v0.1.3 15:19:40 go: finding github.com/hashicorp/serf v0.8.2 15:19:40 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:19:40 go: finding github.com/mattn/go-colorable v0.0.9 15:19:40 go: finding github.com/mattn/go-isatty v0.0.3 15:19:40 go: finding github.com/miekg/dns v1.0.14 15:19:40 go: finding github.com/mitchellh/cli v1.0.0 15:19:40 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:19:40 go: finding github.com/mitchellh/copystructure v1.0.0 15:19:40 go: finding github.com/mitchellh/go-homedir v1.0.0 15:19:40 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:19:40 go: finding github.com/mitchellh/gox v0.4.0 15:19:40 go: finding github.com/mitchellh/iochan v1.0.0 15:19:40 go: finding github.com/mitchellh/mapstructure v1.1.2 15:19:40 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:19:40 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:19:40 go: finding github.com/pelletier/go-toml v1.2.0 15:19:40 go: finding github.com/pkg/errors v0.8.1 15:19:40 go: finding github.com/pmezard/go-difflib v1.0.0 15:19:40 go: finding github.com/posener/complete v1.1.1 15:19:40 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 15:19:40 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:19:40 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:19:40 go: finding github.com/stretchr/objx v0.1.0 15:19:40 go: finding github.com/stretchr/testify v1.5.1 15:19:40 go: finding github.com/ugorji/go v1.1.4 15:19:40 go: finding github.com/x448/float16 v0.8.4 15:19:40 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:19:40 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:19:40 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:19:40 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 15:19:40 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:19:40 go: finding gopkg.in/yaml.v2 v2.2.8 15:19:40 go: finding modernc.org/b v1.0.0 15:19:40 go: finding modernc.org/db v1.0.0 15:19:41 go: finding modernc.org/file v1.0.0 15:19:41 go: finding modernc.org/fileutil v1.0.0 15:19:41 go: finding modernc.org/golex v1.0.0 15:19:41 go: finding modernc.org/internal v1.0.0 15:19:41 go: finding modernc.org/lldb v1.0.0 15:19:41 go: finding modernc.org/mathutil v1.0.0 15:19:41 go: finding modernc.org/ql v1.0.0 15:19:41 go: finding modernc.org/sortutil v1.0.0 15:19:41 go: finding modernc.org/strutil v1.0.0 15:19:41 go: finding modernc.org/zappy v1.0.0 15:19:51 Removing intermediate container 917a4e00c063 15:19:51 ---> 5f924a31df17 15:19:51 Successfully built 5f924a31df17 15:19:51 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:19:51 + docker inspect -f . ci-base-image-arm64 15:19:51 . [Pipeline] withDockerContainer 15:19:52 prd-ubuntu18.04-docker-arm64-4c-16g-3352 does not seem to be running inside a container 15:19:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/16 -v /w/workspace/device-virtual-go/16:/w/workspace/device-virtual-go/16:rw,z -v /w/workspace/device-virtual-go/16@tmp:/w/workspace/device-virtual-go/16@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:19:53 $ docker top c1f06268eb6676b28a3081f2e2f99097fe0d2e744d26d3875764776517468ee1 -eo pid,comm [Pipeline] { [Pipeline] sh 15:19:55 + go version 15:19:55 go version go1.13.5 linux/arm64 [Pipeline] sh 15:19:56 + make test 15:19:56 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:19:57 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:20:36 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:23:58 ok github.com/edgexfoundry/device-virtual-go/internal/driver 198.157s coverage: 52.7% of statements 15:23:58 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:24:02 gofmt -l . 15:24:02 [ "`gofmt -l .`" = "" ] 15:24:02 ./bin/test-attribution-txt.sh 15:24:03 ./bin/test-go-mod-tidy.sh [Pipeline] stash 15:24:03 Warning: overwriting stash ‘coverage-report’ 15:24:03 Stashed 1 file(s) [Pipeline] } 15:24:03 $ docker stop --time=1 c1f06268eb6676b28a3081f2e2f99097fe0d2e744d26d3875764776517468ee1 15:24:05 $ docker rm -f c1f06268eb6676b28a3081f2e2f99097fe0d2e744d26d3875764776517468ee1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:24:07 + ls -al . 15:24:07 total 140 15:24:07 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 15:24 . 15:24:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 15:18 .. 15:24:07 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 15:18 .git 15:24:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 15:18 .github 15:24:07 -rw-rw-r-- 1 jenkins jenkins 258 Jun 17 15:18 .gitignore 15:24:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:18 .semver 15:24:07 -rw-rw-r-- 1 jenkins jenkins 6432 Jun 17 15:18 Attribution.txt 15:24:07 -rw-rw-r-- 1 jenkins jenkins 1826 Jun 17 15:18 Dockerfile 15:24:07 -rw-rw-r-- 1 jenkins jenkins 957 Jun 17 15:18 Dockerfile.build 15:24:07 -rw-rw-r-- 1 jenkins jenkins 683 Jun 17 15:18 Jenkinsfile 15:24:07 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 15:18 LICENSE 15:24:07 -rw-rw-r-- 1 jenkins jenkins 873 Jun 17 15:18 Makefile 15:24:07 -rw-rw-r-- 1 jenkins jenkins 4413 Jun 17 15:18 README.md 15:24:07 -rw-rw-r-- 1 jenkins jenkins 11 Jun 17 15:15 VERSION 15:24:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 15:18 bin 15:24:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:18 cmd 15:24:07 -rw-r--r-- 1 jenkins jenkins 32181 Jun 17 15:23 coverage.out 15:24:07 -rw-r--r-- 1 jenkins jenkins 855 Jun 17 15:24 go.mod 15:24:07 -rw-r--r-- 1 jenkins jenkins 14894 Jun 17 15:24 go.sum 15:24:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 15:18 internal 15:24:07 -rw-rw-r-- 1 jenkins jenkins 235 Jun 17 15:18 version.go [Pipeline] isUnix [Pipeline] sh 15:24:07 + 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=7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 --label arch=arm64 --label version=1.2.2-dev.1 . 15:24:08 Sending build context to Docker daemon 34.13MB 15:24:08 Step 1/21 : ARG BASE=golang:1.13-alpine 15:24:08 Step 2/21 : FROM ${BASE} AS builder 15:24:08 ---> 5f924a31df17 15:24:08 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 15:24:08 ---> Running in b8e1a93cfb43 15:24:08 Removing intermediate container b8e1a93cfb43 15:24:08 ---> e959e59f4e49 15:24:08 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 15:24:08 ---> Running in f8b95e6f4b28 15:24:09 Removing intermediate container f8b95e6f4b28 15:24:09 ---> 003fa5a94169 15:24:09 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 15:24:09 ---> Running in 65e98e95ac0e 15:24:10 Removing intermediate container 65e98e95ac0e 15:24:10 ---> f1e84a6a16f5 15:24:10 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:24:10 ---> Running in ae136fb2c23e 15:24:12 Removing intermediate container ae136fb2c23e 15:24:12 ---> f4ddadea8156 15:24:12 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:24:12 ---> Running in 506bc6e01f42 15:24:14 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 15:24:14 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 15:24:15 OK: 203 MiB in 52 packages 15:24:16 Removing intermediate container 506bc6e01f42 15:24:16 ---> 9fc34e13acb3 15:24:16 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 15:24:17 ---> Running in 35c8036911e1 15:24:17 Removing intermediate container 35c8036911e1 15:24:17 ---> bbbffacf1e2f 15:24:17 Step 9/21 : COPY . . 15:24:20 ---> b52468acba0d 15:24:20 Step 10/21 : ARG MAKE='make build' 15:24:20 ---> Running in 6055819f7926 15:24:20 Removing intermediate container 6055819f7926 15:24:20 ---> 1180a84044e7 15:24:20 Step 11/21 : RUN $MAKE 15:24:21 ---> Running in defdce2b335e 15:24:22 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.2-dev.1" -o cmd/device-virtual ./cmd 15:24:54 CGO_ENABLED=0 GO111MODULE=on go build ./... 15:25:03 Removing intermediate container defdce2b335e 15:25:03 ---> 0651734486dc 15:25:03 Step 12/21 : FROM alpine 15:25:03 latest: Pulling from library/alpine 15:25:03 b538f80385f9: Pulling fs layer 15:25:03 b538f80385f9: Verifying Checksum 15:25:04 b538f80385f9: Pull complete 15:25:04 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:25:04 Status: Downloaded newer image for alpine:latest 15:25:04 ---> 62ee0e9f8440 15:25:04 Step 13/21 : ENV APP_PORT=49990 15:25:04 ---> Running in bd3c48bb2cf2 15:25:05 Removing intermediate container bd3c48bb2cf2 15:25:05 ---> d986a3545e96 15:25:05 Step 14/21 : EXPOSE $APP_PORT 15:25:05 ---> Running in 2454a409d831 15:25:06 Removing intermediate container 2454a409d831 15:25:06 ---> b763a9324b71 15:25:06 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 15:25:07 ---> 8e546e004ffb 15:25:07 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 15:25:08 ---> 9541c82bdda1 15:25:08 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 15:25:09 ---> 919de6724c66 15:25:09 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 15:25:09 ---> Running in cf992ed65064 15:25:09 Removing intermediate container cf992ed65064 15:25:09 ---> 57f41a3bb73e 15:25:09 Step 19/21 : LABEL arch=arm64 15:25:09 ---> Running in 9a0bc53ac8a4 15:25:10 Removing intermediate container 9a0bc53ac8a4 15:25:10 ---> 186d3ba8bb5d 15:25:10 Step 20/21 : LABEL git_sha=7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 15:25:10 ---> Running in ec6e8d6a3bf3 15:25:11 Removing intermediate container ec6e8d6a3bf3 15:25:11 ---> 88f3ebdeea29 15:25:11 Step 21/21 : LABEL version=1.2.2-dev.1 15:25:11 ---> Running in 26936cf693db 15:25:12 Removing intermediate container 26936cf693db 15:25:12 ---> 720fb4709f5d 15:25:12 [Warning] One or more build-args [ARCH] were not consumed 15:25:12 Successfully built 720fb4709f5d 15:25:12 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:25:12 provisioning config files... 15:25:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/16@tmp/config8164050253127349161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:25:12 nexus3.edgexfoundry.org:10001 15:25:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:13 Configure a credential helper to remove this warning. See 15:25:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:13 15:25:13 Login Succeeded 15:25:13 nexus3.edgexfoundry.org:10002 15:25:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:13 Configure a credential helper to remove this warning. See 15:25:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:13 15:25:13 Login Succeeded 15:25:13 nexus3.edgexfoundry.org:10003 15:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:14 Configure a credential helper to remove this warning. See 15:25:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:14 15:25:14 Login Succeeded 15:25:14 nexus3.edgexfoundry.org:10004 15:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:15 Configure a credential helper to remove this warning. See 15:25:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:15 15:25:15 Login Succeeded 15:25:15 docker.io 15:25:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:15 Configure a credential helper to remove this warning. See 15:25:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:15 15:25:15 Login Succeeded [Pipeline] } 15:25:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:25:16 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 15:25:16 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 15:25:16 latest 15:25:16 1.2.2-dev.1 15:25:16 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41-1.2.2-dev.1 15:25:16 master 15:25:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:25:16 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 [Pipeline] isUnix [Pipeline] sh 15:25:16 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 15:25:16 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 15:25:16 46bf10c4db9b: Preparing 15:25:16 deba30a5a3b2: Preparing 15:25:16 a04051d7ad50: Preparing 15:25:16 e2f13739ad41: Preparing 15:25:17 e2f13739ad41: Layer already exists 15:25:17 46bf10c4db9b: Pushed 15:25:17 deba30a5a3b2: Pushed 15:25:20 a04051d7ad50: Pushed 15:25:20 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41: digest: sha256:4a969104225741084fdb1cd529026c1f0b7aff1467713b119e4998fdfc378e7a size: 1155 [Pipeline] isUnix [Pipeline] sh 15:25:21 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:25:21 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 15:25:21 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 15:25:21 46bf10c4db9b: Preparing 15:25:21 deba30a5a3b2: Preparing 15:25:21 a04051d7ad50: Preparing 15:25:21 e2f13739ad41: Preparing 15:25:21 a04051d7ad50: Layer already exists 15:25:21 deba30a5a3b2: Layer already exists 15:25:21 e2f13739ad41: Layer already exists 15:25:21 46bf10c4db9b: Layer already exists 15:25:21 latest: digest: sha256:4a969104225741084fdb1cd529026c1f0b7aff1467713b119e4998fdfc378e7a size: 1155 [Pipeline] isUnix [Pipeline] sh 15:25:21 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh 15:25:22 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.2-dev.1 15:25:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 15:25:22 46bf10c4db9b: Preparing 15:25:22 deba30a5a3b2: Preparing 15:25:22 a04051d7ad50: Preparing 15:25:22 e2f13739ad41: Preparing 15:25:22 46bf10c4db9b: Layer already exists 15:25:22 e2f13739ad41: Layer already exists 15:25:22 a04051d7ad50: Layer already exists 15:25:22 deba30a5a3b2: Layer already exists 15:25:22 1.2.2-dev.1: digest: sha256:4a969104225741084fdb1cd529026c1f0b7aff1467713b119e4998fdfc378e7a size: 1155 [Pipeline] isUnix [Pipeline] sh 15:25:22 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:7ceff76bd1516c8443efe3ecccc6e09cd18c3d41-1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh 15:25:23 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:7ceff76bd1516c8443efe3ecccc6e09cd18c3d41-1.2.2-dev.1 15:25:23 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 15:25:23 46bf10c4db9b: Preparing 15:25:23 deba30a5a3b2: Preparing 15:25:23 a04051d7ad50: Preparing 15:25:23 e2f13739ad41: Preparing 15:25:23 e2f13739ad41: Layer already exists 15:25:23 a04051d7ad50: Layer already exists 15:25:23 46bf10c4db9b: Layer already exists 15:25:23 deba30a5a3b2: Layer already exists 15:25:23 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41-1.2.2-dev.1: digest: sha256:4a969104225741084fdb1cd529026c1f0b7aff1467713b119e4998fdfc378e7a size: 1155 [Pipeline] isUnix [Pipeline] sh 15:25:23 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 15:25:24 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 15:25:24 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 15:25:24 46bf10c4db9b: Preparing 15:25:24 deba30a5a3b2: Preparing 15:25:24 a04051d7ad50: Preparing 15:25:24 e2f13739ad41: Preparing 15:25:24 a04051d7ad50: Layer already exists 15:25:24 46bf10c4db9b: Layer already exists 15:25:24 e2f13739ad41: Layer already exists 15:25:24 deba30a5a3b2: Layer already exists 15:25:24 master: digest: sha256:4a969104225741084fdb1cd529026c1f0b7aff1467713b119e4998fdfc378e7a 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:25:25 provisioning config files... 15:25:25 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2768999823439744405tmp [Pipeline] { [Pipeline] sh 15:25:25 + curl -s https://codecov.io/bash 15:25:25 + bash -s - -t @/w/workspace/foundry_device-virtual-go_master@tmp/config2768999823439744405tmp 15:25:26 15:25:26 _____ _ 15:25:26 / ____| | | 15:25:26 | | ___ __| | ___ ___ _____ __ 15:25:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:25:26 | |___| (_) | (_| | __/ (_| (_) \ V / 15:25:26 \_____\___/ \__,_|\___|\___\___/ \_/ 15:25:26 Bash-20200602-f809a24 15:25:26 15:25:26 15:25:26 ==> Jenkins CI detected. 15:25:26 project root: . 15:25:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:25:26 ==> Running gcov in . (disable via -X gcov) 15:25:26 ==> Python coveragepy not found 15:25:26 ==> Searching for coverage reports in: 15:25:26 + . 15:25:26 -> Found 1 reports 15:25:26 ==> Detecting git/mercurial file structure 15:25:26 ==> Reading reports 15:25:26 + ./coverage.out bytes=32181 15:25:26 ==> Appending adjustments 15:25:26 https://docs.codecov.io/docs/fixing-reports 15:25:26 + Found adjustments 15:25:26 ==> Gzipping contents 15:25:26 ==> Uploading reports 15:25:26 url: https://codecov.io 15:25:26 query: branch=master&commit=7ceff76bd1516c8443efe3ecccc6e09cd18c3d41&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job= 15:25:26 -> Pinging Codecov 15:25:26 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=master&commit=7ceff76bd1516c8443efe3ecccc6e09cd18c3d41&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job= 15:25:26 -> Uploading 15:25:27 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 [Pipeline] } 15:25:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 15:25:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 15:25:27 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 15:25:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:25:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:25:27 15:25:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 15:25:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:25:28 1.317.0: Pulling from edgex-devops/edgex-snyk-go 15:25:28 cbdbe7a5bc2a: Pulling fs layer 15:25:28 408f87550127: Pulling fs layer 15:25:28 fe522b08c979: Pulling fs layer 15:25:28 221eaa008020: Pulling fs layer 15:25:28 2a4607e5d6b9: Pulling fs layer 15:25:28 8f79b27c4fd2: Pulling fs layer 15:25:28 e5c8dbe1645b: Pulling fs layer 15:25:28 23e8b3b47431: Pulling fs layer 15:25:28 5c568d65a230: Pulling fs layer 15:25:28 8f79b27c4fd2: Waiting 15:25:28 e5c8dbe1645b: Waiting 15:25:28 23e8b3b47431: Waiting 15:25:28 5c568d65a230: Waiting 15:25:28 221eaa008020: Waiting 15:25:28 2a4607e5d6b9: Waiting 15:25:28 fe522b08c979: Verifying Checksum 15:25:28 fe522b08c979: Download complete 15:25:28 408f87550127: Download complete 15:25:28 2a4607e5d6b9: Download complete 15:25:28 8f79b27c4fd2: Verifying Checksum 15:25:28 8f79b27c4fd2: Download complete 15:25:28 cbdbe7a5bc2a: Verifying Checksum 15:25:28 cbdbe7a5bc2a: Download complete 15:25:28 cbdbe7a5bc2a: Pull complete 15:25:28 e5c8dbe1645b: Verifying Checksum 15:25:28 e5c8dbe1645b: Download complete 15:25:28 408f87550127: Pull complete 15:25:28 fe522b08c979: Pull complete 15:25:28 23e8b3b47431: Verifying Checksum 15:25:28 23e8b3b47431: Download complete 15:25:29 5c568d65a230: Verifying Checksum 15:25:29 5c568d65a230: Download complete 15:25:29 221eaa008020: Download complete 15:25:35 221eaa008020: Pull complete 15:25:35 2a4607e5d6b9: Pull complete 15:25:35 8f79b27c4fd2: Pull complete 15:25:37 e5c8dbe1645b: Pull complete 15:25:40 23e8b3b47431: Pull complete 15:25:41 5c568d65a230: Pull complete 15:25:41 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 15:25:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 15:25:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 15:25:41 prd-centos7-docker-4c-2g-3348 does not seem to be running inside a container 15:25:41 $ 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:25:42 $ docker top 3fc42128ec8a33df0ae54e54e5ecfcb8e3b6daec47f1929af55c0c69efa75b48 -eo pid,comm [Pipeline] { [Pipeline] sh 15:25:43 + snyk monitor '--org=edgex-jenkins' 15:25:51 15:25:51 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 15:25:51 15:25:51 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/28c43c68-0666-48ba-86e3-bf19f07ce9c0 15:25:51 15:25:51 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:25:51 15:25:52 15:25:52 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 15:25:52 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 15:25:52 $ docker stop --time=1 3fc42128ec8a33df0ae54e54e5ecfcb8e3b6daec47f1929af55c0c69efa75b48 15:25:55 $ docker rm -f 3fc42128ec8a33df0ae54e54e5ecfcb8e3b6daec47f1929af55c0c69efa75b48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:25:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:25:56 15:25:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 15:25:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:25:56 latest: Pulling from edgex-devops/edgex-klar 15:25:56 e7c96db7181b: Pulling fs layer 15:25:56 1868ca2cb446: Pulling fs layer 15:25:56 136be5d0fe8e: Pulling fs layer 15:25:56 894bfe63afcb: Pulling fs layer 15:25:56 894bfe63afcb: Waiting 15:25:56 1868ca2cb446: Download complete 15:25:56 136be5d0fe8e: Verifying Checksum 15:25:56 136be5d0fe8e: Download complete 15:25:56 e7c96db7181b: Verifying Checksum 15:25:56 e7c96db7181b: Download complete 15:25:56 894bfe63afcb: Verifying Checksum 15:25:56 894bfe63afcb: Download complete 15:25:56 e7c96db7181b: Pull complete 15:25:57 1868ca2cb446: Pull complete 15:25:57 136be5d0fe8e: Pull complete 15:25:57 894bfe63afcb: Pull complete 15:25:57 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 15:25:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:25:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 15:25:57 prd-centos7-docker-4c-2g-3348 does not seem to be running inside a container 15:25:57 $ 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:25:59 $ docker top 7e31784e0845c40459d5adde849c048c453d53808b6aa929a3617efebea7e5d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:59 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 15:25:59 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:26:02 $ docker stop --time=1 7e31784e0845c40459d5adde849c048c453d53808b6aa929a3617efebea7e5d1 15:26:04 $ docker rm -f 7e31784e0845c40459d5adde849c048c453d53808b6aa929a3617efebea7e5d1 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:26:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:26:04 . [Pipeline] withDockerContainer 15:26:04 prd-centos7-docker-4c-2g-3348 does not seem to be running inside a container 15:26:04 $ 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:26:05 $ docker top 86c36bd36f8639a98f86b7259d5f16cc7ad0e620b5c01c0fa4965759831e9eb7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:05 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 15:26:05 + tee 15:26:05 clair timeout 1m0s 15:26:05 docker timeout: 1m0s 15:26:05 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:26:06 $ docker stop --time=1 86c36bd36f8639a98f86b7259d5f16cc7ad0e620b5c01c0fa4965759831e9eb7 15:26:07 $ docker rm -f 86c36bd36f8639a98f86b7259d5f16cc7ad0e620b5c01c0fa4965759831e9eb7 [Pipeline] // withDockerContainer [Pipeline] sh 15:26:08 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 15:26:08 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go_7ceff76bd1516c8443efe3ecccc6e09cd18c3d41.html [Pipeline] writeFile [Pipeline] step 15:26:08 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 15:26:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:26:08 . [Pipeline] withDockerContainer 15:26:08 prd-centos7-docker-4c-2g-3348 does not seem to be running inside a container 15:26:08 $ 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:26:09 $ docker top 6b7ae0fd520dabea13efee96ce7c7bb145e5415f0ce08b844b4527207b6b0ef7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:09 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 15:26:09 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:26:13 $ docker stop --time=1 6b7ae0fd520dabea13efee96ce7c7bb145e5415f0ce08b844b4527207b6b0ef7 15:26:14 $ docker rm -f 6b7ae0fd520dabea13efee96ce7c7bb145e5415f0ce08b844b4527207b6b0ef7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:26:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 15:26:15 . [Pipeline] withDockerContainer 15:26:15 prd-centos7-docker-4c-2g-3348 does not seem to be running inside a container 15:26:15 $ 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:26:16 $ docker top dcfe3a2b0dbce16b43ae281e2640cda6373a7e4868791e335a7b808d3839e9c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:16 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 15:26:16 + tee 15:26:16 clair timeout 1m0s 15:26:16 docker timeout: 1m0s 15:26:16 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:26:17 $ docker stop --time=1 dcfe3a2b0dbce16b43ae281e2640cda6373a7e4868791e335a7b808d3839e9c2 15:26:18 $ docker rm -f dcfe3a2b0dbce16b43ae281e2640cda6373a7e4868791e335a7b808d3839e9c2 [Pipeline] // withDockerContainer [Pipeline] sh 15:26:18 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 15:26:18 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go-arm64_7ceff76bd1516c8443efe3ecccc6e09cd18c3d41.html [Pipeline] writeFile [Pipeline] step 15:26:18 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 15:26:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:26:19 . [Pipeline] withDockerContainer 15:26:19 prd-centos7-docker-4c-2g-3348 does not seem to be running inside a container 15:26:19 $ 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:26:20 $ docker top 7248802ea83b2f8c68f2d53078ada900a8072d4eadafe72dc8519a4e185953ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:26:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:26:20 [ssh-agent] Looking for ssh-agent implementation... 15:26:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:26:20 $ docker exec 7248802ea83b2f8c68f2d53078ada900a8072d4eadafe72dc8519a4e185953ac ssh-agent 15:26:21 SSH_AUTH_SOCK=/tmp/ssh-1kghFW3qqBpP/agent.12 15:26:21 SSH_AGENT_PID=18 15:26:21 Running ssh-add (command line suppressed) 15:26:21 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2231436615505891001.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2231436615505891001.key) 15:26:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:26:21 + git semver tag 15:26:21 # -> Open(): unable to determine branch for HEAD 15:26:21 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 15:26:21 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 15:26:21 # $SEMVER_REMOTE_NAME = origin 15:26:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:26:21 # $SEMVER_USER_NAME = edgex-jenkins 15:26:21 # $SEMVER_BRANCH = master 15:26:21 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 15:26:21 # 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 HEAD 15:26:21 # -> Force: false 15:26:21 # 45e24f21546f33ec38406c89c9e1bbf52c52ae9f refs/tags/v1.2.2-dev.1 [Pipeline] } 15:26:21 $ docker exec --env ******** --env ******** 7248802ea83b2f8c68f2d53078ada900a8072d4eadafe72dc8519a4e185953ac ssh-agent -k 15:26:21 unset SSH_AUTH_SOCK; 15:26:21 unset SSH_AGENT_PID; 15:26:21 echo Agent pid 18 killed; 15:26:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:26:22 + git semver [Pipeline] } 15:26:22 $ docker stop --time=1 7248802ea83b2f8c68f2d53078ada900a8072d4eadafe72dc8519a4e185953ac 15:26:23 $ docker rm -f 7248802ea83b2f8c68f2d53078ada900a8072d4eadafe72dc8519a4e185953ac [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:26:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:26:24 15:26:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:26:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:26:24 0.23.1-centos7: Pulling from edgex-lftools 15:26:24 ab5ef0e58194: Pulling fs layer 15:26:24 9712f1f96733: Pulling fs layer 15:26:24 63f879dbbcfc: Pulling fs layer 15:26:24 0d9ebad4ef96: Pulling fs layer 15:26:24 e9a5061849ea: Pulling fs layer 15:26:24 d747dcd14b5f: Pulling fs layer 15:26:24 2de7ff778b66: Pulling fs layer 15:26:24 e9a5061849ea: Waiting 15:26:24 d747dcd14b5f: Waiting 15:26:24 0d9ebad4ef96: Waiting 15:26:24 2de7ff778b66: Waiting 15:26:24 9712f1f96733: Verifying Checksum 15:26:24 9712f1f96733: Download complete 15:26:24 63f879dbbcfc: Verifying Checksum 15:26:24 63f879dbbcfc: Download complete 15:26:24 e9a5061849ea: Verifying Checksum 15:26:24 e9a5061849ea: Download complete 15:26:25 d747dcd14b5f: Verifying Checksum 15:26:25 d747dcd14b5f: Download complete 15:26:25 0d9ebad4ef96: Verifying Checksum 15:26:25 0d9ebad4ef96: Download complete 15:26:25 2de7ff778b66: Verifying Checksum 15:26:25 2de7ff778b66: Download complete 15:26:25 ab5ef0e58194: Verifying Checksum 15:26:25 ab5ef0e58194: Download complete 15:26:29 ab5ef0e58194: Pull complete 15:26:29 9712f1f96733: Pull complete 15:26:32 63f879dbbcfc: Pull complete 15:26:39 0d9ebad4ef96: Pull complete 15:26:39 e9a5061849ea: Pull complete 15:26:39 d747dcd14b5f: Pull complete 15:26:42 2de7ff778b66: Pull complete 15:26:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:26:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:26:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:26:42 prd-centos7-docker-4c-2g-3348 does not seem to be running inside a container 15:26:42 $ 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:26:46 $ docker top 0daa0b4847ffc29376ac31835222f994fedc5d0031f6d3c6dc62d6e992f8aaec -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:26:46 provisioning config files... 15:26:46 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3153528896193637398tmp 15:26:46 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7328620711399757159tmp 15:26:46 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2538046834018822095tmp [Pipeline] { [Pipeline] echo 15:26:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:26:47 ---> sigul-configuration.sh 15:26:47 gpg: directory `/root/.gnupg' created 15:26:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:26:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:26:47 gpg: keyring `/root/.gnupg/secring.gpg' created 15:26:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:26:47 gpg: CAST5 encrypted data 15:26:47 gpg: encrypted with 1 passphrase 15:26:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:26:47 + mkdir /home/jenkins 15:26:47 + mkdir /home/jenkins/sigul [Pipeline] sh 15:26:48 + 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:26:48 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:26:48 ---> sigul-install.sh 15:26:55 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 15:26:55 + git tag --list 15:26:55 v1.2.2-dev.1 [Pipeline] sh 15:26:55 + lftools sign git-tag v1.2.2-dev.1 15:26:57 Signing Git tag with Sigul... 15:26:57 Signing v1.2.2-dev.1 [Pipeline] echo 15:26:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:26:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:26:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:26:58 $ docker stop --time=1 0daa0b4847ffc29376ac31835222f994fedc5d0031f6d3c6dc62d6e992f8aaec 15:27:00 $ docker rm -f 0daa0b4847ffc29376ac31835222f994fedc5d0031f6d3c6dc62d6e992f8aaec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 15:27:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:27:00 . [Pipeline] withDockerContainer 15:27:00 prd-centos7-docker-4c-2g-3348 does not seem to be running inside a container 15:27:00 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:27:01 $ docker top 2d4bf77d3be4d939a07c65696d3b32f82df9e25def0cb40dc8363af5458d09c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:27:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:27:01 [ssh-agent] Looking for ssh-agent implementation... 15:27:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:27:01 $ docker exec 2d4bf77d3be4d939a07c65696d3b32f82df9e25def0cb40dc8363af5458d09c5 ssh-agent 15:27:02 SSH_AUTH_SOCK=/tmp/ssh-yNZMLmOKMqhs/agent.11 15:27:02 SSH_AGENT_PID=16 15:27:02 Running ssh-add (command line suppressed) 15:27:02 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2717780060952226961.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2717780060952226961.key) 15:27:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:27:02 + git semver bump pre 15:27:02 # -> Open(): unable to determine branch for HEAD 15:27:02 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 15:27:02 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 15:27:02 # $SEMVER_REMOTE_NAME = origin 15:27:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:27:02 # $SEMVER_USER_NAME = edgex-jenkins 15:27:02 # $SEMVER_BRANCH = master 15:27:02 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 15:27:02 1.2.2-dev.2 [Pipeline] } 15:27:02 $ docker exec --env ******** --env ******** 2d4bf77d3be4d939a07c65696d3b32f82df9e25def0cb40dc8363af5458d09c5 ssh-agent -k 15:27:02 unset SSH_AUTH_SOCK; 15:27:02 unset SSH_AGENT_PID; 15:27:02 echo Agent pid 16 killed; 15:27:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:27:03 + git semver [Pipeline] } 15:27:03 $ docker stop --time=1 2d4bf77d3be4d939a07c65696d3b32f82df9e25def0cb40dc8363af5458d09c5 15:27:04 $ docker rm -f 2d4bf77d3be4d939a07c65696d3b32f82df9e25def0cb40dc8363af5458d09c5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:27:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:27:04 . [Pipeline] withDockerContainer 15:27:05 prd-centos7-docker-4c-2g-3348 does not seem to be running inside a container 15:27:05 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:27:05 $ docker top 155c9916ac78c533f48febca0049defc72c097d0388ea845b8cb26ac463ba322 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:27:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:27:06 [ssh-agent] Looking for ssh-agent implementation... 15:27:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:27:06 $ docker exec 155c9916ac78c533f48febca0049defc72c097d0388ea845b8cb26ac463ba322 ssh-agent 15:27:06 SSH_AUTH_SOCK=/tmp/ssh-2d5ECbjJyl36/agent.11 15:27:06 SSH_AGENT_PID=16 15:27:06 Running ssh-add (command line suppressed) 15:27:06 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_7067388073273997246.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_7067388073273997246.key) 15:27:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:27:06 + git semver push 15:27:06 # -> Open(): unable to determine branch for HEAD 15:27:06 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 15:27:06 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 15:27:06 # $SEMVER_REMOTE_NAME = origin 15:27:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:27:06 # $SEMVER_USER_NAME = edgex-jenkins 15:27:06 # $SEMVER_BRANCH = master 15:27:06 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 15:27:13 $ docker exec --env ******** --env ******** 155c9916ac78c533f48febca0049defc72c097d0388ea845b8cb26ac463ba322 ssh-agent -k 15:27:13 unset SSH_AUTH_SOCK; 15:27:13 unset SSH_AGENT_PID; 15:27:13 echo Agent pid 16 killed; 15:27:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:27:13 + git semver [Pipeline] } 15:27:13 $ docker stop --time=1 155c9916ac78c533f48febca0049defc72c097d0388ea845b8cb26ac463ba322 15:27:15 $ docker rm -f 155c9916ac78c533f48febca0049defc72c097d0388ea845b8cb26ac463ba322 [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:27:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:27:16 ---> package-listing.sh 15:27:16 ++ facter osfamily 15:27:16 ++ tr '[:upper:]' '[:lower:]' 15:27:16 + OS_FAMILY=redhat 15:27:16 + workspace=/w/workspace/foundry_device-virtual-go_master 15:27:16 + START_PACKAGES=/tmp/packages_start.txt 15:27:16 + END_PACKAGES=/tmp/packages_end.txt 15:27:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:27:16 + PACKAGES=/tmp/packages_start.txt 15:27:16 + '[' /w/workspace/foundry_device-virtual-go_master ']' 15:27:16 + PACKAGES=/tmp/packages_end.txt 15:27:16 + case "${OS_FAMILY}" in 15:27:16 + rpm -qa 15:27:16 + sort 15:27:20 + '[' -f /tmp/packages_start.txt ']' 15:27:20 + '[' -f /tmp/packages_end.txt ']' 15:27:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:27:20 + '[' /w/workspace/foundry_device-virtual-go_master ']' 15:27:20 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 15:27:20 + 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:27:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:27:21 15:27:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:27:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:27:21 alpine: Pulling from edgex-lftools-log-publisher 15:27:21 c9b1b535fdd9: Pulling fs layer 15:27:21 2cc5ad85d9ab: Pulling fs layer 15:27:21 756a868c4378: Pulling fs layer 15:27:21 444b2fc9a129: Pulling fs layer 15:27:21 ea15f1150254: Pulling fs layer 15:27:21 41b27a9f41bf: Pulling fs layer 15:27:21 28c525ee5125: Pulling fs layer 15:27:21 094b1ea09ed8: Pulling fs layer 15:27:21 138eaada9080: Pulling fs layer 15:27:21 0622d0fa9048: Pulling fs layer 15:27:21 41b27a9f41bf: Waiting 15:27:21 28c525ee5125: Waiting 15:27:21 094b1ea09ed8: Waiting 15:27:21 138eaada9080: Waiting 15:27:21 0622d0fa9048: Waiting 15:27:21 444b2fc9a129: Waiting 15:27:21 ea15f1150254: Waiting 15:27:21 2cc5ad85d9ab: Verifying Checksum 15:27:21 2cc5ad85d9ab: Download complete 15:27:21 444b2fc9a129: Verifying Checksum 15:27:21 444b2fc9a129: Download complete 15:27:21 c9b1b535fdd9: Verifying Checksum 15:27:21 c9b1b535fdd9: Download complete 15:27:21 ea15f1150254: Verifying Checksum 15:27:21 ea15f1150254: Download complete 15:27:21 28c525ee5125: Verifying Checksum 15:27:21 28c525ee5125: Download complete 15:27:22 756a868c4378: Verifying Checksum 15:27:22 756a868c4378: Download complete 15:27:22 138eaada9080: Verifying Checksum 15:27:22 138eaada9080: Download complete 15:27:22 0622d0fa9048: Verifying Checksum 15:27:22 0622d0fa9048: Download complete 15:27:22 094b1ea09ed8: Verifying Checksum 15:27:22 094b1ea09ed8: Download complete 15:27:22 41b27a9f41bf: Download complete 15:27:22 c9b1b535fdd9: Pull complete 15:27:23 2cc5ad85d9ab: Pull complete 15:27:24 756a868c4378: Pull complete 15:27:24 444b2fc9a129: Pull complete 15:27:25 ea15f1150254: Pull complete 15:27:28 41b27a9f41bf: Pull complete 15:27:28 28c525ee5125: Pull complete 15:27:30 094b1ea09ed8: Pull complete 15:27:30 138eaada9080: Pull complete 15:27:31 0622d0fa9048: Pull complete 15:27:31 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 15:27:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:27:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:27:31 prd-centos7-docker-4c-2g-3348 does not seem to be running inside a container 15:27:31 $ 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:27:34 $ docker top bf243dcb2b8fb45bfc01b4e7d910b3e7e29933568ee9a0f11838e45b4b3f0c09 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:27:34 provisioning config files... 15:27:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7921875178374069684tmp [Pipeline] { [Pipeline] echo 15:27:34 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:27:34 ---> create-netrc.sh [Pipeline] echo 15:27:34 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:27:34 ---> logs-deploy.sh 15:27:34 + ARCHIVE_ARTIFACTS= 15:27:34 + LOGS_SERVER=https://logs.edgexfoundry.org 15:27:34 + '[' https://logs.edgexfoundry.org == None ']' 15:27:34 + NEXUS_URL=https://nexus.edgexfoundry.org 15:27:34 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/16 15:27:34 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/16/ 15:27:34 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/16 /w/workspace/foundry_device-virtual-go_master 15:27:35 Archives upload complete. 15:27:36 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/16 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/16/