Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 83d7a5c431fe81e17b953abf687c395c5af67887 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4954 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-virtual-go.git Fetching without tags Checking out Revision 83d7a5c431fe81e17b953abf687c395c5af67887 (master) > git init /w/workspace/foundry_device-virtual-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83d7a5c431fe81e17b953abf687c395c5af67887 # timeout=10 Commit message: "Merge pull request #116 from FelixTing/issue-115" > git rev-list --no-walk 7ceff76bd1516c8443efe3ecccc6e09cd18c3d41 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:10:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:10:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:10:00 ========================================================= 07:10:00 EdgeX Global Pipelines Version Info 07:10:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:10:02 ------------------- 07:10:02 stable info: 07:10:02 ------------------- 07:10:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:10:02 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 07:10:02 Message: update stable to v1.0.89 07:10:03 ------------------- 07:10:03 experimental info: 07:10:03 ------------------- 07:10:03 Commited By: **** collab-it+edgex@linuxfoundation.org 07:10:03 Commit SHA: 50d5b24b0ab5f81d75c339234d0e2512bee9338e 07:10:03 Message: update experimental to v1.0.91 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 07:10:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:10:05 07:10:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:10:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:10:05 latest: Pulling from edgex-devops/git-semver 07:10:05 9123ac7c32f7: Pulling fs layer 07:10:05 b8cc5d1170e3: Pulling fs layer 07:10:05 2924cbbf6a41: Pulling fs layer 07:10:05 93b08a4f1073: Pulling fs layer 07:10:05 93b08a4f1073: Waiting 07:10:05 b8cc5d1170e3: Verifying Checksum 07:10:05 b8cc5d1170e3: Download complete 07:10:05 9123ac7c32f7: Verifying Checksum 07:10:05 9123ac7c32f7: Download complete 07:10:06 93b08a4f1073: Verifying Checksum 07:10:06 93b08a4f1073: Download complete 07:10:06 2924cbbf6a41: Verifying Checksum 07:10:06 2924cbbf6a41: Download complete 07:10:06 9123ac7c32f7: Pull complete 07:10:06 b8cc5d1170e3: Pull complete 07:10:07 2924cbbf6a41: Pull complete 07:10:07 93b08a4f1073: Pull complete 07:10:07 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 07:10:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:10:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:10:07 prd-centos7-docker-4c-2g-4954 does not seem to be running inside a container 07:10:07 $ 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 07:10:09 $ docker top d1e6a7e662df63e6c4d2dcfd8b503bc45784c4bf28252d471d46cd57e3c13c14 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:10:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:10:09 [ssh-agent] Looking for ssh-agent implementation... 07:10:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:10:09 $ docker exec d1e6a7e662df63e6c4d2dcfd8b503bc45784c4bf28252d471d46cd57e3c13c14 ssh-agent 07:10:09 SSH_AUTH_SOCK=/tmp/ssh-JSl0W0Y36cYs/agent.11 07:10:09 SSH_AGENT_PID=16 07:10:09 Running ssh-add (command line suppressed) 07:10:10 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5827002971187713046.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5827002971187713046.key) 07:10:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:10:10 + git describe --exact-match --tags HEAD 07:10:10 fatal: No names found, cannot describe anything. [Pipeline] } 07:10:10 $ docker exec --env ******** --env ******** d1e6a7e662df63e6c4d2dcfd8b503bc45784c4bf28252d471d46cd57e3c13c14 ssh-agent -k 07:10:10 unset SSH_AUTH_SOCK; 07:10:10 unset SSH_AGENT_PID; 07:10:10 echo Agent pid 16 killed; 07:10:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:10:10 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:10:10 This usually means this commit has not been tagged. [Pipeline] sshagent 07:10:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:10:10 [ssh-agent] Looking for ssh-agent implementation... 07:10:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:10:10 $ docker exec d1e6a7e662df63e6c4d2dcfd8b503bc45784c4bf28252d471d46cd57e3c13c14 ssh-agent 07:10:11 SSH_AUTH_SOCK=/tmp/ssh-ASMNDwf5AmsR/agent.45 07:10:11 SSH_AGENT_PID=50 07:10:11 Running ssh-add (command line suppressed) 07:10:11 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_9114247272521041628.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_9114247272521041628.key) 07:10:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:10:11 + git semver init 07:10:11 # -> Open(): unable to determine branch for HEAD 07:10:11 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:10:11 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:10:11 # $SEMVER_REMOTE_NAME = origin 07:10:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:10:11 # $SEMVER_USER_NAME = edgex-jenkins 07:10:11 # $SEMVER_BRANCH = master 07:10:11 # $SEMVER_TEMP = /tmp/semver-741787444 07:10:11 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 07:10:11 # '/tmp/semver-741787444' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 07:10:11 # -> Force: false 07:10:11 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 07:10:11 $ docker exec --env ******** --env ******** d1e6a7e662df63e6c4d2dcfd8b503bc45784c4bf28252d471d46cd57e3c13c14 ssh-agent -k 07:10:11 unset SSH_AUTH_SOCK; 07:10:11 unset SSH_AGENT_PID; 07:10:11 echo Agent pid 50 killed; 07:10:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:10:12 + git semver [Pipeline] } 07:10:12 $ docker stop --time=1 d1e6a7e662df63e6c4d2dcfd8b503bc45784c4bf28252d471d46cd57e3c13c14 07:10:13 $ docker rm -f d1e6a7e662df63e6c4d2dcfd8b503bc45784c4bf28252d471d46cd57e3c13c14 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:10:14 Stashed 30 file(s) [Pipeline] echo 07:10:14 [edgeXSemver] initialized semver on version 1.2.2-dev.2 [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 07:10:29 Still waiting to schedule task 07:10:29 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4954’ 07:10:29 Still waiting to schedule task 07:10:29 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:12:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4955 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 07:12:17 Running in /w/workspace/device-virtual-go/17 [Pipeline] { [Pipeline] checkout 07:12:23 using credential edgex-jenkins-ssh 07:12:23 Cloning the remote Git repository 07:12:23 Cloning with configured refspecs honoured and without tags 07:12:23 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:12:23 > git init /w/workspace/device-virtual-go/17 # timeout=10 07:12:23 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:12:23 > git --version # timeout=10 07:12:23 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:12:24 Fetching without tags 07:12:24 Checking out Revision 83d7a5c431fe81e17b953abf687c395c5af67887 (master) 07:12:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:12:24 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:12:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:12:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:12:24 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:12:24 > git config core.sparsecheckout # timeout=10 07:12:24 > git checkout -f 83d7a5c431fe81e17b953abf687c395c5af67887 # timeout=10 07:12:29 Commit message: "Merge pull request #116 from FelixTing/issue-115" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:12:30 ========================================================= 07:12:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:12:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:12:31 + 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 . 07:12:32 Sending build context to Docker daemon 525.8kB 07:12:32 Step 1/8 : ARG BASE=golang:1.13-alpine 07:12:32 Step 2/8 : FROM ${BASE} 07:12:32 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:12:32 cde5963f3b93: Pulling fs layer 07:12:32 2a23fa8c16f7: Pulling fs layer 07:12:32 777b28850792: Pulling fs layer 07:12:32 8a11ddd9e578: Pulling fs layer 07:12:32 4cf88f913ddb: Pulling fs layer 07:12:32 1df406cf5192: Pulling fs layer 07:12:32 cd6300453558: Pulling fs layer 07:12:32 b9c365052c96: Pulling fs layer 07:12:32 a2d8cc88f415: Pulling fs layer 07:12:32 ea1d1ca13537: Pulling fs layer 07:12:32 3750a50a1c5e: Pulling fs layer 07:12:32 4cf88f913ddb: Waiting 07:12:32 1df406cf5192: Waiting 07:12:32 cd6300453558: Waiting 07:12:32 b9c365052c96: Waiting 07:12:32 a2d8cc88f415: Waiting 07:12:32 ea1d1ca13537: Waiting 07:12:32 3750a50a1c5e: Waiting 07:12:32 8a11ddd9e578: Waiting 07:12:32 777b28850792: Verifying Checksum 07:12:32 777b28850792: Download complete 07:12:32 2a23fa8c16f7: Verifying Checksum 07:12:32 2a23fa8c16f7: Download complete 07:12:32 4cf88f913ddb: Download complete 07:12:32 1df406cf5192: Verifying Checksum 07:12:32 1df406cf5192: Download complete 07:12:32 cde5963f3b93: Verifying Checksum 07:12:33 cde5963f3b93: Pull complete 07:12:34 2a23fa8c16f7: Pull complete 07:12:34 777b28850792: Pull complete 07:12:34 cd6300453558: Verifying Checksum 07:12:34 cd6300453558: Download complete 07:12:34 a2d8cc88f415: Verifying Checksum 07:12:34 a2d8cc88f415: Download complete 07:12:37 ea1d1ca13537: Verifying Checksum 07:12:37 ea1d1ca13537: Download complete 07:12:37 3750a50a1c5e: Download complete 07:12:38 b9c365052c96: Verifying Checksum 07:12:38 b9c365052c96: Download complete 07:12:38 8a11ddd9e578: Verifying Checksum 07:12:38 8a11ddd9e578: Download complete 07:12:48 8a11ddd9e578: Pull complete 07:12:48 4cf88f913ddb: Pull complete 07:12:49 1df406cf5192: Pull complete 07:12:52 Running on prd-centos7-docker-4c-2g-4956 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 07:12:52 Running in /w/workspace/device-virtual-go/17 [Pipeline] { [Pipeline] checkout 07:12:54 cd6300453558: Pull complete 07:12:54 using credential edgex-jenkins-ssh 07:12:54 Cloning the remote Git repository 07:12:54 Cloning with configured refspecs honoured and without tags 07:12:55 Fetching without tags 07:12:54 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:12:54 > git init /w/workspace/device-virtual-go/17 # timeout=10 07:12:54 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:12:54 > git --version # timeout=10 07:12:54 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:54 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:12:55 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:12:55 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:12:55 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:12:55 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:12:55 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:12:56 Checking out Revision 83d7a5c431fe81e17b953abf687c395c5af67887 (master) 07:12:55 > git config core.sparsecheckout # timeout=10 07:12:55 > git checkout -f 83d7a5c431fe81e17b953abf687c395c5af67887 # timeout=10 07:12:57 b9c365052c96: Pull complete 07:12:58 a2d8cc88f415: Pull complete 07:13:00 ea1d1ca13537: Pull complete 07:13:00 Commit message: "Merge pull request #116 from FelixTing/issue-115" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 07:13:00 3750a50a1c5e: Pull complete 07:13:00 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 07:13:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 07:13:00 ---> 78745c68409d 07:13:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [Pipeline] echo 07:13:00 ========================================================= 07:13:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:13:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:13:01 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 07:13:01 Sending build context to Docker daemon 525.8kB 07:13:01 Step 1/8 : ARG BASE=golang:1.13-alpine 07:13:01 Step 2/8 : FROM ${BASE} 07:13:01 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:13:01 e6b0cf9c0882: Pulling fs layer 07:13:01 2848faf0eed1: Pulling fs layer 07:13:01 0f37312ad70f: Pulling fs layer 07:13:01 5788d62ee057: Pulling fs layer 07:13:01 0e6b1d234666: Pulling fs layer 07:13:01 bf5d7aec512f: Pulling fs layer 07:13:01 34c802a77dc8: Pulling fs layer 07:13:01 9eb99e56ec68: Pulling fs layer 07:13:01 27c7a5d97fbd: Pulling fs layer 07:13:01 5c102a31e300: Pulling fs layer 07:13:01 dcfb455df0a1: Pulling fs layer 07:13:01 5788d62ee057: Waiting 07:13:01 0e6b1d234666: Waiting 07:13:01 bf5d7aec512f: Waiting 07:13:01 34c802a77dc8: Waiting 07:13:01 27c7a5d97fbd: Waiting 07:13:01 9eb99e56ec68: Waiting 07:13:01 5c102a31e300: Waiting 07:13:01 dcfb455df0a1: Waiting 07:13:01 0f37312ad70f: Verifying Checksum 07:13:01 0f37312ad70f: Download complete 07:13:01 2848faf0eed1: Verifying Checksum 07:13:01 2848faf0eed1: Download complete 07:13:01 0e6b1d234666: Verifying Checksum 07:13:01 0e6b1d234666: Download complete 07:13:01 bf5d7aec512f: Verifying Checksum 07:13:01 bf5d7aec512f: Download complete 07:13:01 e6b0cf9c0882: Verifying Checksum 07:13:01 e6b0cf9c0882: Download complete 07:13:02 e6b0cf9c0882: Pull complete 07:13:02 34c802a77dc8: Verifying Checksum 07:13:02 34c802a77dc8: Download complete 07:13:02 27c7a5d97fbd: Verifying Checksum 07:13:02 27c7a5d97fbd: Download complete 07:13:03 5788d62ee057: Download complete 07:13:03 dcfb455df0a1: Verifying Checksum 07:13:03 dcfb455df0a1: Download complete 07:13:03 5c102a31e300: Verifying Checksum 07:13:03 5c102a31e300: Download complete 07:13:03 9eb99e56ec68: Verifying Checksum 07:13:03 9eb99e56ec68: Download complete 07:13:03 2848faf0eed1: Pull complete 07:13:04 0f37312ad70f: Pull complete 07:13:06 ---> Running in 394e16f6221d 07:13:06 Removing intermediate container 394e16f6221d 07:13:06 ---> 508545d36684 07:13:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:13:06 ---> Running in d08c232584f5 07:13:08 Removing intermediate container d08c232584f5 07:13:08 ---> 650c16a8eba7 07:13:08 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 07:13:08 ---> Running in b3445c9fc8ae 07:13:09 5788d62ee057: Pull complete 07:13:09 0e6b1d234666: Pull complete 07:13:09 bf5d7aec512f: Pull complete 07:13:10 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:13:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:13:11 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 07:13:11 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 07:13:11 (3/18) Installing libmagic (5.37-r1) 07:13:12 (4/18) Installing file (5.37-r1) 07:13:12 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 07:13:12 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 07:13:12 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 07:13:17 34c802a77dc8: Pull complete 07:13:21 9eb99e56ec68: Pull complete 07:13:21 27c7a5d97fbd: Pull complete 07:13:22 5c102a31e300: Pull complete 07:13:22 (8/18) Installing libc-dev (0.7.2-r0) 07:13:22 (9/18) Installing g++ (9.2.0-r4) 07:13:22 dcfb455df0a1: Pull complete 07:13:22 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 07:13:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:13:22 ---> 7c70fe431013 07:13:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 07:13:23 ---> Running in e972636e6bba 07:13:23 Removing intermediate container e972636e6bba 07:13:23 ---> e3540ccbc0ef 07:13:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:13:23 ---> Running in ef98513a3a8c 07:13:25 Removing intermediate container ef98513a3a8c 07:13:25 ---> 98b6400b66d8 07:13:25 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 07:13:25 ---> Running in fc4232342703 07:13:25 (10/18) Installing fortify-headers (1.1-r0) 07:13:25 (11/18) Installing build-base (0.5-r1) 07:13:25 (12/18) Installing openssh-keygen (8.1_p1-r0) 07:13:25 (13/18) Installing libedit (20191211.3.1-r0) 07:13:25 (14/18) Installing openssh-client (8.1_p1-r0) 07:13:25 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:13:25 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 07:13:25 (16/18) Installing openssh-server-common (8.1_p1-r0) 07:13:26 (17/18) Installing openssh-server (8.1_p1-r0) 07:13:26 (18/18) Installing openssh (8.1_p1-r0) 07:13:26 Executing busybox-1.31.1-r8.trigger 07:13:26 OK: 203 MiB in 52 packages 07:13:26 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:13:27 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 07:13:27 (2/17) Installing libmagic (5.37-r1) 07:13:28 (3/17) Installing file (5.37-r1) 07:13:28 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 07:13:28 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 07:13:28 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 07:13:32 Removing intermediate container b3445c9fc8ae 07:13:32 ---> a5f6d08a0961 07:13:32 Step 6/8 : WORKDIR /device-virtual-go 07:13:32 ---> Running in 13e4bae2bf07 07:13:33 Removing intermediate container 13e4bae2bf07 07:13:33 ---> c444c0667193 07:13:33 Step 7/8 : COPY . . 07:13:34 ---> 02abf9411e0b 07:13:34 Step 8/8 : RUN go mod download 07:13:34 ---> Running in 9909c95b64a1 07:13:36 (7/17) Installing libc-dev (0.7.2-r0) 07:13:36 (8/17) Installing g++ (9.2.0-r4) 07:13:36 go: finding github.com/BurntSushi/toml v0.3.1 07:13:36 go: finding github.com/OneOfOne/xxhash v1.2.6 07:13:37 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:13:37 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:13:37 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:13:37 go: finding github.com/bgentry/speakeasy v0.1.0 07:13:37 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:13:37 go: finding github.com/davecgh/go-spew v1.1.1 07:13:37 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 07:13:37 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 07:13:37 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:13:37 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:13:37 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:13:37 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:13:37 go: finding github.com/edsrzf/mmap-go v1.0.0 07:13:37 go: finding github.com/fatih/color v1.7.0 07:13:37 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:13:37 go: finding github.com/go-kit/kit v0.8.0 07:13:37 go: finding github.com/go-logfmt/logfmt v0.4.0 07:13:37 go: finding github.com/go-stack/stack v1.8.0 07:13:37 go: finding github.com/golang/snappy v0.0.1 07:13:37 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:13:37 go: finding github.com/google/uuid v1.1.0 07:13:37 go: finding github.com/gorilla/mux v1.7.1 07:13:37 go: finding github.com/hashicorp/consul/api v1.1.0 07:13:37 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:13:37 go: finding github.com/hashicorp/errwrap v1.0.0 07:13:37 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:13:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:13:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:13:37 go: finding github.com/hashicorp/go-multierror v1.0.0 07:13:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:13:37 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:13:37 go: finding github.com/hashicorp/go-syslog v1.0.0 07:13:37 go: finding github.com/hashicorp/go-uuid v1.0.1 07:13:37 go: finding github.com/hashicorp/go.net v0.0.1 07:13:37 go: finding github.com/hashicorp/golang-lru v0.5.0 07:13:37 go: finding github.com/hashicorp/logutils v1.0.0 07:13:37 go: finding github.com/hashicorp/mdns v1.0.0 07:13:37 go: finding github.com/hashicorp/memberlist v0.1.3 07:13:37 go: finding github.com/hashicorp/serf v0.8.2 07:13:37 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:13:37 go: finding github.com/mattn/go-colorable v0.0.9 07:13:37 go: finding github.com/mattn/go-isatty v0.0.3 07:13:37 go: finding github.com/miekg/dns v1.0.14 07:13:37 go: finding github.com/mitchellh/cli v1.0.0 07:13:37 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:13:38 go: finding github.com/mitchellh/copystructure v1.0.0 07:13:38 go: finding github.com/mitchellh/go-homedir v1.0.0 07:13:38 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:13:38 go: finding github.com/mitchellh/gox v0.4.0 07:13:38 go: finding github.com/mitchellh/iochan v1.0.0 07:13:38 go: finding github.com/mitchellh/mapstructure v1.1.2 07:13:38 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:13:38 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:13:38 go: finding github.com/pelletier/go-toml v1.2.0 07:13:38 go: finding github.com/pkg/errors v0.8.1 07:13:38 go: finding github.com/pmezard/go-difflib v1.0.0 07:13:38 go: finding github.com/posener/complete v1.1.1 07:13:38 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 07:13:38 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:13:38 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:13:38 go: finding github.com/stretchr/objx v0.1.0 07:13:38 go: finding github.com/stretchr/testify v1.5.1 07:13:38 go: finding github.com/ugorji/go v1.1.4 07:13:38 go: finding github.com/x448/float16 v0.8.4 07:13:38 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:13:38 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:13:38 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:13:38 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 07:13:38 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:13:38 go: finding gopkg.in/yaml.v2 v2.2.8 07:13:38 go: finding modernc.org/b v1.0.0 07:13:38 go: finding modernc.org/db v1.0.0 07:13:38 go: finding modernc.org/file v1.0.0 07:13:38 go: finding modernc.org/fileutil v1.0.0 07:13:39 go: finding modernc.org/golex v1.0.0 07:13:39 go: finding modernc.org/internal v1.0.0 07:13:39 go: finding modernc.org/lldb v1.0.0 07:13:39 go: finding modernc.org/mathutil v1.0.0 07:13:39 go: finding modernc.org/ql v1.0.0 07:13:39 go: finding modernc.org/sortutil v1.0.0 07:13:39 go: finding modernc.org/strutil v1.0.0 07:13:39 go: finding modernc.org/zappy v1.0.0 07:13:44 (9/17) Installing fortify-headers (1.1-r0) 07:13:45 (10/17) Installing build-base (0.5-r1) 07:13:45 (11/17) Installing openssh-keygen (8.1_p1-r0) 07:13:45 (12/17) Installing libedit (20191211.3.1-r0) 07:13:45 (13/17) Installing openssh-client (8.1_p1-r0) 07:13:46 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 07:13:46 (15/17) Installing openssh-server-common (8.1_p1-r0) 07:13:46 (16/17) Installing openssh-server (8.1_p1-r0) 07:13:46 (17/17) Installing openssh (8.1_p1-r0) 07:13:46 Executing busybox-1.31.1-r8.trigger 07:13:46 OK: 214 MiB in 52 packages 07:13:49 Removing intermediate container 9909c95b64a1 07:13:49 ---> a1b7f42f52f8 07:13:49 Successfully built a1b7f42f52f8 07:13:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:13:49 + docker inspect -f . ci-base-image-arm64 07:13:49 . [Pipeline] withDockerContainer 07:13:49 prd-ubuntu18.04-docker-arm64-4c-16g-4955 does not seem to be running inside a container 07:13:50 Removing intermediate container fc4232342703 07:13:50 ---> c175c094db4e 07:13:50 Step 6/8 : WORKDIR /device-virtual-go 07:13:50 ---> Running in 38b9fcb73f92 07:13:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/17 -v /w/workspace/device-virtual-go/17:/w/workspace/device-virtual-go/17:rw,z -v /w/workspace/device-virtual-go/17@tmp:/w/workspace/device-virtual-go/17@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 07:13:50 Removing intermediate container 38b9fcb73f92 07:13:50 ---> ae0d88b93977 07:13:50 Step 7/8 : COPY . . 07:13:50 ---> c9772df065a7 07:13:50 Step 8/8 : RUN go mod download 07:13:51 ---> Running in 086863fd0c08 07:13:51 $ docker top 2b9891235b98174055ea1a018e8abda05910978098a7dacf0346f197d799bc91 -eo pid,comm [Pipeline] { [Pipeline] sh 07:13:53 go: finding github.com/BurntSushi/toml v0.3.1 07:13:53 go: finding github.com/OneOfOne/xxhash v1.2.6 07:13:53 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:13:53 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:13:53 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:13:53 go: finding github.com/bgentry/speakeasy v0.1.0 07:13:53 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:13:53 go: finding github.com/davecgh/go-spew v1.1.1 07:13:53 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 07:13:53 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 07:13:53 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:13:53 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:13:53 + go version 07:13:53 go version go1.13.5 linux/arm64 [Pipeline] sh 07:13:53 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:13:53 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:13:53 go: finding github.com/edsrzf/mmap-go v1.0.0 07:13:53 go: finding github.com/fatih/color v1.7.0 07:13:53 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:13:53 go: finding github.com/go-kit/kit v0.8.0 07:13:53 go: finding github.com/go-logfmt/logfmt v0.4.0 07:13:53 go: finding github.com/go-stack/stack v1.8.0 07:13:53 go: finding github.com/golang/snappy v0.0.1 07:13:53 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:13:53 go: finding github.com/google/uuid v1.1.0 07:13:53 go: finding github.com/gorilla/mux v1.7.1 07:13:53 go: finding github.com/hashicorp/consul/api v1.1.0 07:13:53 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:13:53 go: finding github.com/hashicorp/errwrap v1.0.0 07:13:53 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:13:53 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:13:53 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:13:53 go: finding github.com/hashicorp/go-multierror v1.0.0 07:13:53 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:13:53 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:13:53 go: finding github.com/hashicorp/go-syslog v1.0.0 07:13:53 go: finding github.com/hashicorp/go-uuid v1.0.1 07:13:53 go: finding github.com/hashicorp/go.net v0.0.1 07:13:53 go: finding github.com/hashicorp/golang-lru v0.5.0 07:13:53 go: finding github.com/hashicorp/logutils v1.0.0 07:13:53 go: finding github.com/hashicorp/mdns v1.0.0 07:13:53 go: finding github.com/hashicorp/memberlist v0.1.3 07:13:53 go: finding github.com/hashicorp/serf v0.8.2 07:13:53 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:13:53 go: finding github.com/mattn/go-colorable v0.0.9 07:13:53 go: finding github.com/mattn/go-isatty v0.0.3 07:13:53 go: finding github.com/miekg/dns v1.0.14 07:13:53 go: finding github.com/mitchellh/cli v1.0.0 07:13:53 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:13:53 go: finding github.com/mitchellh/copystructure v1.0.0 07:13:53 go: finding github.com/mitchellh/go-homedir v1.0.0 07:13:54 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:13:54 go: finding github.com/mitchellh/gox v0.4.0 07:13:54 go: finding github.com/mitchellh/iochan v1.0.0 07:13:54 go: finding github.com/mitchellh/mapstructure v1.1.2 07:13:54 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:13:54 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:13:54 go: finding github.com/pelletier/go-toml v1.2.0 07:13:54 go: finding github.com/pkg/errors v0.8.1 07:13:54 go: finding github.com/pmezard/go-difflib v1.0.0 07:13:54 go: finding github.com/posener/complete v1.1.1 07:13:54 go: finding github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 07:13:54 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:13:54 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:13:54 + make test 07:13:54 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:13:54 go: finding github.com/stretchr/objx v0.1.0 07:13:54 go: finding github.com/stretchr/testify v1.5.1 07:13:54 go: finding github.com/ugorji/go v1.1.4 07:13:54 go: finding github.com/x448/float16 v0.8.4 07:13:54 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:13:54 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:13:54 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:13:54 go: finding golang.org/x/sys v0.0.0-20190411185658-b44545bcd369 07:13:54 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:13:54 go: finding gopkg.in/yaml.v2 v2.2.8 07:13:54 go: finding modernc.org/b v1.0.0 07:13:54 go: finding modernc.org/db v1.0.0 07:13:54 go: finding modernc.org/file v1.0.0 07:13:54 go: finding modernc.org/fileutil v1.0.0 07:13:54 go: finding modernc.org/golex v1.0.0 07:13:54 go: finding modernc.org/internal v1.0.0 07:13:54 go: finding modernc.org/lldb v1.0.0 07:13:54 go: finding modernc.org/mathutil v1.0.0 07:13:54 go: finding modernc.org/ql v1.0.0 07:13:54 go: finding modernc.org/sortutil v1.0.0 07:13:54 go: finding modernc.org/strutil v1.0.0 07:13:54 go: finding modernc.org/zappy v1.0.0 07:13:55 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:14:04 Removing intermediate container 086863fd0c08 07:14:04 ---> 4384a93d8c93 07:14:04 Successfully built 4384a93d8c93 07:14:04 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 07:14:05 + docker inspect -f . ci-base-image-x86_64 07:14:05 . [Pipeline] withDockerContainer 07:14:05 prd-centos7-docker-4c-2g-4956 does not seem to be running inside a container 07:14:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/17 -v /w/workspace/device-virtual-go/17:/w/workspace/device-virtual-go/17:rw,z -v /w/workspace/device-virtual-go/17@tmp:/w/workspace/device-virtual-go/17@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 07:14:06 $ docker top b7bca5693e5657d96c5198b7fbc1b2f50afce9b683cd7dda7758e90d37b6747f -eo pid,comm [Pipeline] { [Pipeline] sh 07:14:07 + go version 07:14:07 go version go1.13.5 linux/amd64 [Pipeline] sh 07:14:07 + make test 07:14:07 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:14:08 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:14:21 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:14:34 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:14:39 ok github.com/edgexfoundry/device-virtual-go/internal/driver 17.663s coverage: 52.6% of statements 07:14:39 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:14:42 gofmt -l . 07:14:42 [ "`gofmt -l .`" = "" ] 07:14:42 ./bin/test-attribution-txt.sh 07:14:43 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:14:44 Stashed 1 file(s) [Pipeline] } 07:14:44 $ docker stop --time=1 b7bca5693e5657d96c5198b7fbc1b2f50afce9b683cd7dda7758e90d37b6747f 07:14:47 $ docker rm -f b7bca5693e5657d96c5198b7fbc1b2f50afce9b683cd7dda7758e90d37b6747f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:14:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:14:49 + ls -al . 07:14:49 total 112 07:14:49 drwxrwxr-x. 8 jenkins jenkins 4096 Jul 1 07:14 . 07:14:49 drwxrwxr-x. 4 jenkins jenkins 30 Jul 1 07:12 .. 07:14:49 -rw-rw-r--. 1 jenkins jenkins 6432 Jul 1 07:12 Attribution.txt 07:14:49 drwxrwxr-x. 2 jenkins jenkins 64 Jul 1 07:12 bin 07:14:49 drwxrwxr-x. 3 jenkins jenkins 32 Jul 1 07:12 cmd 07:14:49 -rw-r--r--. 1 jenkins jenkins 31362 Jul 1 07:14 coverage.out 07:14:49 -rw-rw-r--. 1 jenkins jenkins 1826 Jul 1 07:12 Dockerfile 07:14:49 -rw-rw-r--. 1 jenkins jenkins 957 Jul 1 07:12 Dockerfile.build 07:14:49 drwxrwxr-x. 8 jenkins jenkins 162 Jul 1 07:12 .git 07:14:49 drwxrwxr-x. 2 jenkins jenkins 38 Jul 1 07:12 .github 07:14:49 -rw-rw-r--. 1 jenkins jenkins 258 Jul 1 07:12 .gitignore 07:14:49 -rw-r--r--. 1 jenkins jenkins 855 Jul 1 07:14 go.mod 07:14:49 -rw-r--r--. 1 jenkins jenkins 14894 Jul 1 07:14 go.sum 07:14:49 drwxrwxr-x. 3 jenkins jenkins 20 Jul 1 07:12 internal 07:14:49 -rw-rw-r--. 1 jenkins jenkins 683 Jul 1 07:12 Jenkinsfile 07:14:49 -rw-rw-r--. 1 jenkins jenkins 11340 Jul 1 07:12 LICENSE 07:14:49 -rw-rw-r--. 1 jenkins jenkins 873 Jul 1 07:12 Makefile 07:14:49 -rw-rw-r--. 1 jenkins jenkins 4623 Jul 1 07:12 README.md 07:14:49 drwxrwxr-x. 3 jenkins jenkins 44 Jul 1 07:13 .semver 07:14:49 -rw-rw-r--. 1 jenkins jenkins 11 Jul 1 07:10 VERSION 07:14:49 -rw-rw-r--. 1 jenkins jenkins 235 Jul 1 07:12 version.go [Pipeline] isUnix [Pipeline] sh 07:14:49 + 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=83d7a5c431fe81e17b953abf687c395c5af67887 --label arch=amd64 --label version=1.2.2-dev.2 . 07:14:49 Sending build context to Docker daemon 588.3kB 07:14:49 Step 1/21 : ARG BASE=golang:1.13-alpine 07:14:49 Step 2/21 : FROM ${BASE} AS builder 07:14:49 ---> 4384a93d8c93 07:14:49 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 07:14:50 ---> Running in ec0c8191bed2 07:14:50 Removing intermediate container ec0c8191bed2 07:14:50 ---> 54e834dc04fe 07:14:50 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 07:14:50 ---> Running in 99d7e589d6ba 07:14:50 Removing intermediate container 99d7e589d6ba 07:14:50 ---> 17231464303e 07:14:50 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 07:14:50 ---> Running in baafcf4cca63 07:14:50 Removing intermediate container baafcf4cca63 07:14:50 ---> 152c63fa32e3 07:14:50 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:14:50 ---> Running in ded49ddc8c68 07:14:51 Removing intermediate container ded49ddc8c68 07:14:51 ---> f62a8479aeb0 07:14:51 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:14:51 ---> Running in b9a52302a777 07:14:52 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 07:14:53 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 07:14:53 OK: 214 MiB in 52 packages 07:14:53 Removing intermediate container b9a52302a777 07:14:53 ---> 028ec7ace7d0 07:14:53 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 07:14:53 ---> Running in 16b30003dfe7 07:14:54 Removing intermediate container 16b30003dfe7 07:14:54 ---> c559d6339bde 07:14:54 Step 9/21 : COPY . . 07:14:54 ---> 90e733e451e3 07:14:54 Step 10/21 : ARG MAKE='make build' 07:14:55 ---> Running in 23a7229a14c2 07:14:55 Removing intermediate container 23a7229a14c2 07:14:55 ---> 9be88c9e8089 07:14:55 Step 11/21 : RUN $MAKE 07:14:55 ---> Running in 9a428c73bef2 07:14:55 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.2-dev.2" -o cmd/device-virtual ./cmd 07:15:06 ok github.com/edgexfoundry/device-virtual-go/internal/driver 30.701s coverage: 52.6% of statements 07:15:06 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:15:07 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:15:11 Removing intermediate container 9a428c73bef2 07:15:11 ---> 8a3f3c4c4549 07:15:11 Step 12/21 : FROM alpine 07:15:11 latest: Pulling from library/alpine 07:15:11 df20fa9351a1: Pulling fs layer 07:15:11 df20fa9351a1: Download complete 07:15:11 df20fa9351a1: Pull complete 07:15:11 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 07:15:11 Status: Downloaded newer image for alpine:latest 07:15:11 ---> a24bb4013296 07:15:11 Step 13/21 : ENV APP_PORT=49990 07:15:12 ---> Running in d02d92e9cf69 07:15:12 Removing intermediate container d02d92e9cf69 07:15:12 ---> 0dd8685e4a10 07:15:12 Step 14/21 : EXPOSE $APP_PORT 07:15:12 ---> Running in 5b589751a2a2 07:15:12 Removing intermediate container 5b589751a2a2 07:15:12 ---> f02ffeb3918b 07:15:12 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 07:15:12 ---> 668f9e46ebe2 07:15:12 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 07:15:13 ---> 29d510f197f7 07:15:13 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 07:15:13 ---> 3c0ab6c78b25 07:15:13 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 07:15:13 ---> Running in 0d3133186941 07:15:13 gofmt -l . 07:15:13 [ "`gofmt -l .`" = "" ] 07:15:13 ./bin/test-attribution-txt.sh 07:15:13 Removing intermediate container 0d3133186941 07:15:13 ---> 6430449c488a 07:15:13 Step 19/21 : LABEL arch=amd64 07:15:13 ---> Running in ce061b6f4871 07:15:13 Removing intermediate container ce061b6f4871 07:15:13 ---> 5e512caf8d28 07:15:13 Step 20/21 : LABEL git_sha=83d7a5c431fe81e17b953abf687c395c5af67887 07:15:13 ---> Running in 07db14864c6a 07:15:13 Removing intermediate container 07db14864c6a 07:15:13 ---> 6c91b180410c 07:15:13 Step 21/21 : LABEL version=1.2.2-dev.2 07:15:13 ---> Running in e7570b5dde9c 07:15:14 ./bin/test-go-mod-tidy.sh 07:15:14 Removing intermediate container e7570b5dde9c 07:15:14 ---> f27e0916afef 07:15:14 [Warning] One or more build-args [ARCH] were not consumed 07:15:14 Successfully built f27e0916afef 07:15:14 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] stash 07:15:14 Warning: overwriting stash ‘coverage-report’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:15:14 provisioning config files... 07:15:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/17@tmp/config8550535809204576835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:14 Stashed 1 file(s) [Pipeline] } 07:15:14 $ docker stop --time=1 2b9891235b98174055ea1a018e8abda05910978098a7dacf0346f197d799bc91 07:15:14 nexus3.edgexfoundry.org:10001 07:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:15 Configure a credential helper to remove this warning. See 07:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:15 07:15:15 Login Succeeded 07:15:15 nexus3.edgexfoundry.org:10002 07:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:15 Configure a credential helper to remove this warning. See 07:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:15 07:15:15 Login Succeeded 07:15:15 nexus3.edgexfoundry.org:10003 07:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:15 Configure a credential helper to remove this warning. See 07:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:15 07:15:15 Login Succeeded 07:15:15 nexus3.edgexfoundry.org:10004 07:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:15 Configure a credential helper to remove this warning. See 07:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:15 07:15:15 Login Succeeded 07:15:15 docker.io 07:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:16 Configure a credential helper to remove this warning. See 07:15:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:16 07:15:16 Login Succeeded 07:15:16 $ docker rm -f 2b9891235b98174055ea1a018e8abda05910978098a7dacf0346f197d799bc91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 07:15:17 Deleting 1 temporary files [Pipeline] // script [Pipeline] // wrap [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] stage [Pipeline] { (Build) [Pipeline] echo 07:15:17 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 07:15:17 83d7a5c431fe81e17b953abf687c395c5af67887 07:15:17 latest 07:15:17 1.2.2-dev.2 07:15:17 83d7a5c431fe81e17b953abf687c395c5af67887-1.2.2-dev.2 07:15:17 master 07:15:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 07:15:17 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:83d7a5c431fe81e17b953abf687c395c5af67887 [Pipeline] isUnix [Pipeline] sh 07:15:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:15:18 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:83d7a5c431fe81e17b953abf687c395c5af67887 07:15:18 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:15:18 312c003a1ba4: Preparing 07:15:18 96224369194f: Preparing 07:15:18 0a7b2838f55b: Preparing 07:15:18 50644c29ef5a: Preparing 07:15:18 50644c29ef5a: Layer already exists 07:15:18 96224369194f: Pushed 07:15:18 312c003a1ba4: Pushed 07:15:18 + ls -al . 07:15:18 total 140 07:15:18 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 07:15 . 07:15:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 07:12 .. 07:15:18 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 07:12 .git 07:15:18 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 07:12 .github 07:15:18 -rw-rw-r-- 1 jenkins jenkins 258 Jul 1 07:12 .gitignore 07:15:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 07:12 .semver 07:15:18 -rw-rw-r-- 1 jenkins jenkins 6432 Jul 1 07:12 Attribution.txt 07:15:18 -rw-rw-r-- 1 jenkins jenkins 1826 Jul 1 07:12 Dockerfile 07:15:18 -rw-rw-r-- 1 jenkins jenkins 957 Jul 1 07:12 Dockerfile.build 07:15:18 -rw-rw-r-- 1 jenkins jenkins 683 Jul 1 07:12 Jenkinsfile 07:15:18 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 1 07:12 LICENSE 07:15:18 -rw-rw-r-- 1 jenkins jenkins 873 Jul 1 07:12 Makefile 07:15:18 -rw-rw-r-- 1 jenkins jenkins 4623 Jul 1 07:12 README.md 07:15:18 -rw-rw-r-- 1 jenkins jenkins 11 Jul 1 07:10 VERSION 07:15:18 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 07:12 bin 07:15:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 07:12 cmd 07:15:18 -rw-r--r-- 1 jenkins jenkins 31362 Jul 1 07:15 coverage.out 07:15:18 -rw-r--r-- 1 jenkins jenkins 855 Jul 1 07:15 go.mod 07:15:18 -rw-r--r-- 1 jenkins jenkins 14894 Jul 1 07:15 go.sum 07:15:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 07:12 internal 07:15:18 -rw-rw-r-- 1 jenkins jenkins 235 Jul 1 07:12 version.go [Pipeline] isUnix [Pipeline] sh 07:15:18 + 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=83d7a5c431fe81e17b953abf687c395c5af67887 --label arch=arm64 --label version=1.2.2-dev.2 . 07:15:18 Sending build context to Docker daemon 588.3kB 07:15:18 Step 1/21 : ARG BASE=golang:1.13-alpine 07:15:18 Step 2/21 : FROM ${BASE} AS builder 07:15:18 ---> a1b7f42f52f8 07:15:18 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 07:15:19 ---> Running in 5c1bfbb68abb 07:15:19 0a7b2838f55b: Pushed 07:15:19 83d7a5c431fe81e17b953abf687c395c5af67887: digest: sha256:df136f3984a5da7e3420d8ad91daaba616d1ae23bab51af46b85f20793d9749b size: 1155 [Pipeline] isUnix [Pipeline] sh 07:15:19 Removing intermediate container 5c1bfbb68abb 07:15:19 ---> 75193b2213a9 07:15:19 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 07:15:19 ---> Running in 6e7db7abe982 07:15:19 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 07:15:20 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 07:15:20 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:15:20 312c003a1ba4: Preparing 07:15:20 96224369194f: Preparing 07:15:20 0a7b2838f55b: Preparing 07:15:20 50644c29ef5a: Preparing 07:15:20 0a7b2838f55b: Layer already exists 07:15:20 50644c29ef5a: Layer already exists 07:15:20 96224369194f: Layer already exists 07:15:20 312c003a1ba4: Layer already exists 07:15:20 latest: digest: sha256:df136f3984a5da7e3420d8ad91daaba616d1ae23bab51af46b85f20793d9749b size: 1155 [Pipeline] isUnix [Pipeline] sh 07:15:20 Removing intermediate container 6e7db7abe982 07:15:20 ---> fcbaef0aefc9 07:15:20 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 07:15:20 ---> Running in fccc19801198 07:15:20 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.2-dev.2 [Pipeline] isUnix [Pipeline] sh 07:15:20 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.2.2-dev.2 07:15:20 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:15:20 312c003a1ba4: Preparing 07:15:20 96224369194f: Preparing 07:15:20 0a7b2838f55b: Preparing 07:15:20 50644c29ef5a: Preparing 07:15:20 96224369194f: Layer already exists 07:15:20 50644c29ef5a: Layer already exists 07:15:20 312c003a1ba4: Layer already exists 07:15:20 0a7b2838f55b: Layer already exists 07:15:20 1.2.2-dev.2: digest: sha256:df136f3984a5da7e3420d8ad91daaba616d1ae23bab51af46b85f20793d9749b size: 1155 [Pipeline] isUnix [Pipeline] sh 07:15:20 Removing intermediate container fccc19801198 07:15:20 ---> 875f96a06d51 07:15:20 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:15:20 ---> Running in c4b9630b33a3 07:15:20 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:83d7a5c431fe81e17b953abf687c395c5af67887-1.2.2-dev.2 [Pipeline] isUnix [Pipeline] sh 07:15:21 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:83d7a5c431fe81e17b953abf687c395c5af67887-1.2.2-dev.2 07:15:21 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:15:21 312c003a1ba4: Preparing 07:15:21 96224369194f: Preparing 07:15:21 0a7b2838f55b: Preparing 07:15:21 50644c29ef5a: Preparing 07:15:21 96224369194f: Layer already exists 07:15:21 312c003a1ba4: Layer already exists 07:15:21 0a7b2838f55b: Layer already exists 07:15:21 50644c29ef5a: Layer already exists 07:15:21 83d7a5c431fe81e17b953abf687c395c5af67887-1.2.2-dev.2: digest: sha256:df136f3984a5da7e3420d8ad91daaba616d1ae23bab51af46b85f20793d9749b size: 1155 [Pipeline] isUnix [Pipeline] sh 07:15:21 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 07:15:21 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 07:15:21 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 07:15:21 312c003a1ba4: Preparing 07:15:21 96224369194f: Preparing 07:15:21 0a7b2838f55b: Preparing 07:15:21 50644c29ef5a: Preparing 07:15:21 96224369194f: Layer already exists 07:15:21 312c003a1ba4: Layer already exists 07:15:21 0a7b2838f55b: Layer already exists 07:15:21 50644c29ef5a: Layer already exists 07:15:21 master: digest: sha256:df136f3984a5da7e3420d8ad91daaba616d1ae23bab51af46b85f20793d9749b 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] } 07:15:23 Removing intermediate container c4b9630b33a3 07:15:23 ---> 0f9dfb079d5f 07:15:23 Step 7/21 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:15:23 ---> Running in 0d8582edffa4 07:15:25 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 07:15:26 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 07:15:26 OK: 203 MiB in 52 packages 07:15:27 Removing intermediate container 0d8582edffa4 07:15:27 ---> 032d0de3417d 07:15:27 Step 8/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 07:15:28 ---> Running in 2328d8cd266e 07:15:28 Removing intermediate container 2328d8cd266e 07:15:28 ---> c33027296df8 07:15:28 Step 9/21 : COPY . . 07:15:29 ---> 3c4f5bfa9cf5 07:15:29 Step 10/21 : ARG MAKE='make build' 07:15:29 ---> Running in d7644d6446ef 07:15:30 Removing intermediate container d7644d6446ef 07:15:30 ---> 1e95ec4cb2c4 07:15:30 Step 11/21 : RUN $MAKE 07:15:30 ---> Running in 4b4f00af3e98 07:15:31 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.2.2-dev.2" -o cmd/device-virtual ./cmd 07:16:03 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:16:14 Removing intermediate container 4b4f00af3e98 07:16:14 ---> e3f247b2806f 07:16:14 Step 12/21 : FROM alpine 07:16:14 latest: Pulling from library/alpine 07:16:14 b538f80385f9: Pulling fs layer 07:16:14 b538f80385f9: Verifying Checksum 07:16:14 b538f80385f9: Download complete 07:16:14 b538f80385f9: Pull complete 07:16:14 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 07:16:14 Status: Downloaded newer image for alpine:latest 07:16:14 ---> 62ee0e9f8440 07:16:14 Step 13/21 : ENV APP_PORT=49990 07:16:14 ---> Running in 443edd3f7e30 07:16:14 Removing intermediate container 443edd3f7e30 07:16:14 ---> 81efab244dcc 07:16:14 Step 14/21 : EXPOSE $APP_PORT 07:16:14 ---> Running in d752f0ab0028 07:16:15 Removing intermediate container d752f0ab0028 07:16:15 ---> 3eb128e19696 07:16:15 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 07:16:16 ---> a660cd233f82 07:16:16 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 07:16:17 ---> fb86a20d082a 07:16:17 Step 17/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 07:16:18 ---> 32d9c19b5439 07:16:18 Step 18/21 : ENTRYPOINT ["/device-virtual","--cp=consul.http://edgex-core-consul:8500","--registry","--confdir=/res"] 07:16:18 ---> Running in a073f9cdbeab 07:16:18 Removing intermediate container a073f9cdbeab 07:16:18 ---> 6d037f24e1a7 07:16:18 Step 19/21 : LABEL arch=arm64 07:16:18 ---> Running in 27deb9ecc4c7 07:16:19 Removing intermediate container 27deb9ecc4c7 07:16:19 ---> cd3eeef71607 07:16:19 Step 20/21 : LABEL git_sha=83d7a5c431fe81e17b953abf687c395c5af67887 07:16:19 ---> Running in fe19a1d23ebb 07:16:19 Removing intermediate container fe19a1d23ebb 07:16:19 ---> 851ff8b0d20d 07:16:19 Step 21/21 : LABEL version=1.2.2-dev.2 07:16:19 ---> Running in 5f102efaf708 07:16:20 Removing intermediate container 5f102efaf708 07:16:20 ---> 7b1c71466bd5 07:16:20 [Warning] One or more build-args [ARCH] were not consumed 07:16:20 Successfully built 7b1c71466bd5 07:16:20 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 07:16:20 provisioning config files... 07:16:20 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/17@tmp/config4323867230023686186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:16:21 nexus3.edgexfoundry.org:10001 07:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:21 Configure a credential helper to remove this warning. See 07:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:21 07:16:21 Login Succeeded 07:16:21 nexus3.edgexfoundry.org:10002 07:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:21 Configure a credential helper to remove this warning. See 07:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:21 07:16:21 Login Succeeded 07:16:21 nexus3.edgexfoundry.org:10003 07:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:22 Configure a credential helper to remove this warning. See 07:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:22 07:16:22 Login Succeeded 07:16:22 nexus3.edgexfoundry.org:10004 07:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:23 Configure a credential helper to remove this warning. See 07:16:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:23 07:16:23 Login Succeeded 07:16:23 docker.io 07:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:23 Configure a credential helper to remove this warning. See 07:16:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:23 07:16:23 Login Succeeded [Pipeline] } 07:16:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:16:24 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 07:16:24 83d7a5c431fe81e17b953abf687c395c5af67887 07:16:24 latest 07:16:24 1.2.2-dev.2 07:16:24 83d7a5c431fe81e17b953abf687c395c5af67887-1.2.2-dev.2 07:16:24 master 07:16:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:16:24 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:83d7a5c431fe81e17b953abf687c395c5af67887 [Pipeline] isUnix [Pipeline] sh 07:16:24 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:83d7a5c431fe81e17b953abf687c395c5af67887 07:16:24 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:16:24 73b058849b5f: Preparing 07:16:24 537677ea7b64: Preparing 07:16:24 5dacd5148c9f: Preparing 07:16:24 e2f13739ad41: Preparing 07:16:25 e2f13739ad41: Layer already exists 07:16:25 73b058849b5f: Pushed 07:16:25 537677ea7b64: Pushed 07:16:28 5dacd5148c9f: Pushed 07:16:28 83d7a5c431fe81e17b953abf687c395c5af67887: digest: sha256:2ad17e123bfcaf01fe29301eb610e994305485b17316dc753e7761ba56edec85 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:16:29 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:16:29 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 07:16:29 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:16:29 73b058849b5f: Preparing 07:16:29 537677ea7b64: Preparing 07:16:29 5dacd5148c9f: Preparing 07:16:29 e2f13739ad41: Preparing 07:16:29 e2f13739ad41: Layer already exists 07:16:29 537677ea7b64: Layer already exists 07:16:29 73b058849b5f: Layer already exists 07:16:29 5dacd5148c9f: Layer already exists 07:16:29 latest: digest: sha256:2ad17e123bfcaf01fe29301eb610e994305485b17316dc753e7761ba56edec85 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:16:30 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.2-dev.2 [Pipeline] isUnix [Pipeline] sh 07:16:30 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.2.2-dev.2 07:16:30 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:16:30 73b058849b5f: Preparing 07:16:30 537677ea7b64: Preparing 07:16:30 5dacd5148c9f: Preparing 07:16:30 e2f13739ad41: Preparing 07:16:30 5dacd5148c9f: Layer already exists 07:16:30 73b058849b5f: Layer already exists 07:16:30 537677ea7b64: Layer already exists 07:16:30 e2f13739ad41: Layer already exists 07:16:30 1.2.2-dev.2: digest: sha256:2ad17e123bfcaf01fe29301eb610e994305485b17316dc753e7761ba56edec85 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:16:30 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:83d7a5c431fe81e17b953abf687c395c5af67887-1.2.2-dev.2 [Pipeline] isUnix [Pipeline] sh 07:16:31 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:83d7a5c431fe81e17b953abf687c395c5af67887-1.2.2-dev.2 07:16:31 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:16:31 73b058849b5f: Preparing 07:16:31 537677ea7b64: Preparing 07:16:31 5dacd5148c9f: Preparing 07:16:31 e2f13739ad41: Preparing 07:16:31 73b058849b5f: Layer already exists 07:16:31 5dacd5148c9f: Layer already exists 07:16:31 e2f13739ad41: Layer already exists 07:16:31 537677ea7b64: Layer already exists 07:16:31 83d7a5c431fe81e17b953abf687c395c5af67887-1.2.2-dev.2: digest: sha256:2ad17e123bfcaf01fe29301eb610e994305485b17316dc753e7761ba56edec85 size: 1155 [Pipeline] isUnix [Pipeline] sh 07:16:31 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 07:16:32 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 07:16:32 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 07:16:32 73b058849b5f: Preparing 07:16:32 537677ea7b64: Preparing 07:16:32 5dacd5148c9f: Preparing 07:16:32 e2f13739ad41: Preparing 07:16:32 537677ea7b64: Layer already exists 07:16:32 e2f13739ad41: Layer already exists 07:16:32 73b058849b5f: Layer already exists 07:16:32 5dacd5148c9f: Layer already exists 07:16:32 master: digest: sha256:2ad17e123bfcaf01fe29301eb610e994305485b17316dc753e7761ba56edec85 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 07:16:33 provisioning config files... 07:16:33 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config6341272558889721796tmp [Pipeline] { [Pipeline] sh 07:16:33 + curl -s https://codecov.io/bash 07:16:33 + bash -s - -t @/w/workspace/foundry_device-virtual-go_master@tmp/config6341272558889721796tmp [Pipeline] } 07:18:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 07:18:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 07:18:55 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 07:18:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:18:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 07:18:55 07:18:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 07:18:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 07:18:56 1.317.0: Pulling from edgex-devops/edgex-snyk-go 07:18:56 cbdbe7a5bc2a: Pulling fs layer 07:18:56 408f87550127: Pulling fs layer 07:18:56 fe522b08c979: Pulling fs layer 07:18:56 221eaa008020: Pulling fs layer 07:18:56 2a4607e5d6b9: Pulling fs layer 07:18:56 8f79b27c4fd2: Pulling fs layer 07:18:56 e5c8dbe1645b: Pulling fs layer 07:18:56 23e8b3b47431: Pulling fs layer 07:18:56 5c568d65a230: Pulling fs layer 07:18:56 8f79b27c4fd2: Waiting 07:18:56 e5c8dbe1645b: Waiting 07:18:56 23e8b3b47431: Waiting 07:18:56 221eaa008020: Waiting 07:18:56 5c568d65a230: Waiting 07:18:56 fe522b08c979: Verifying Checksum 07:18:56 fe522b08c979: Download complete 07:18:56 408f87550127: Verifying Checksum 07:18:56 408f87550127: Download complete 07:18:56 2a4607e5d6b9: Verifying Checksum 07:18:56 2a4607e5d6b9: Download complete 07:18:56 8f79b27c4fd2: Verifying Checksum 07:18:56 8f79b27c4fd2: Download complete 07:18:56 cbdbe7a5bc2a: Verifying Checksum 07:18:56 cbdbe7a5bc2a: Download complete 07:18:56 e5c8dbe1645b: Download complete 07:18:56 cbdbe7a5bc2a: Pull complete 07:18:57 23e8b3b47431: Verifying Checksum 07:18:57 23e8b3b47431: Download complete 07:18:57 408f87550127: Pull complete 07:18:57 5c568d65a230: Verifying Checksum 07:18:57 5c568d65a230: Download complete 07:18:57 fe522b08c979: Pull complete 07:18:57 221eaa008020: Verifying Checksum 07:18:57 221eaa008020: Download complete 07:19:03 221eaa008020: Pull complete 07:19:03 2a4607e5d6b9: Pull complete 07:19:03 8f79b27c4fd2: Pull complete 07:19:05 e5c8dbe1645b: Pull complete 07:19:09 23e8b3b47431: Pull complete 07:19:11 5c568d65a230: Pull complete 07:19:11 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 07:19:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 07:19:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 07:19:11 prd-centos7-docker-4c-2g-4954 does not seem to be running inside a container 07:19:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/foundry_device-virtual-go_master:/ws -w /ws --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 07:19:11 $ docker top 865fd55d0ea8eb295b53257aa8c2241df56a668c96347b0fca9729aaedcc4d43 -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:12 + snyk monitor '--org=edgex-jenkins' 07:19:22 07:19:22 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 07:19:22 07:19:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/33414cdd-a831-4cd6-a3c2-63b2c4ed3ccc 07:19:22 07:19:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:19:22 07:19:22 [Pipeline] } 07:19:22 $ docker stop --time=1 865fd55d0ea8eb295b53257aa8c2241df56a668c96347b0fca9729aaedcc4d43 07:19:24 $ docker rm -f 865fd55d0ea8eb295b53257aa8c2241df56a668c96347b0fca9729aaedcc4d43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:19:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 07:19:25 07:19:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 07:19:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 07:19:25 latest: Pulling from edgex-devops/edgex-klar 07:19:25 e7c96db7181b: Pulling fs layer 07:19:25 1868ca2cb446: Pulling fs layer 07:19:25 136be5d0fe8e: Pulling fs layer 07:19:25 894bfe63afcb: Pulling fs layer 07:19:25 894bfe63afcb: Waiting 07:19:25 1868ca2cb446: Verifying Checksum 07:19:25 1868ca2cb446: Download complete 07:19:25 136be5d0fe8e: Verifying Checksum 07:19:25 136be5d0fe8e: Download complete 07:19:25 e7c96db7181b: Verifying Checksum 07:19:25 e7c96db7181b: Download complete 07:19:25 894bfe63afcb: Verifying Checksum 07:19:25 894bfe63afcb: Download complete 07:19:25 e7c96db7181b: Pull complete 07:19:25 1868ca2cb446: Pull complete 07:19:25 136be5d0fe8e: Pull complete 07:19:26 894bfe63afcb: Pull complete 07:19:26 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 07:19:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 07:19:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 07:19:26 prd-centos7-docker-4c-2g-4954 does not seem to be running inside a container 07:19:26 $ 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 07:19:27 $ docker top 4e2ad98c98ba55ffa48d5dea0349469ed0a0f24da9465fe3cf88bced26f7fc47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:27 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:83d7a5c431fe81e17b953abf687c395c5af67887 07:19:27 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 07:19:32 $ docker stop --time=1 4e2ad98c98ba55ffa48d5dea0349469ed0a0f24da9465fe3cf88bced26f7fc47 07:19:33 $ docker rm -f 4e2ad98c98ba55ffa48d5dea0349469ed0a0f24da9465fe3cf88bced26f7fc47 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 07:19:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 07:19:33 . [Pipeline] withDockerContainer 07:19:34 prd-centos7-docker-4c-2g-4954 does not seem to be running inside a container 07:19:34 $ 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 07:19:34 $ docker top 84a6a2e990bb83f709f373c40720bfb07d6aeeea6192e917e4fc4b760232f5d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:35 + tee 07:19:35 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go:83d7a5c431fe81e17b953abf687c395c5af67887 07:19:35 clair timeout 1m0s 07:19:35 docker timeout: 1m0s 07:19:35 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 07:19:36 $ docker stop --time=1 84a6a2e990bb83f709f373c40720bfb07d6aeeea6192e917e4fc4b760232f5d5 07:19:37 $ docker rm -f 84a6a2e990bb83f709f373c40720bfb07d6aeeea6192e917e4fc4b760232f5d5 [Pipeline] // withDockerContainer [Pipeline] sh 07:19:37 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 07:19:37 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go_83d7a5c431fe81e17b953abf687c395c5af67887.html [Pipeline] writeFile [Pipeline] step 07:19:37 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 07:19:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 07:19:38 . [Pipeline] withDockerContainer 07:19:38 prd-centos7-docker-4c-2g-4954 does not seem to be running inside a container 07:19:38 $ 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 07:19:39 $ docker top 63e0211c9cdc820d64f661b936e34663b3086076e03526e73d5ec0a33da408f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:39 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:83d7a5c431fe81e17b953abf687c395c5af67887 07:19:39 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 07:19:43 $ docker stop --time=1 63e0211c9cdc820d64f661b936e34663b3086076e03526e73d5ec0a33da408f0 07:19:45 $ docker rm -f 63e0211c9cdc820d64f661b936e34663b3086076e03526e73d5ec0a33da408f0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 07:19:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 07:19:45 . [Pipeline] withDockerContainer 07:19:45 prd-centos7-docker-4c-2g-4954 does not seem to be running inside a container 07:19:45 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 07:19:46 $ docker top c6b75da7defef9b686d2d97c837e51950f513b2856359eb283c6b49a43ba7590 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:46 + /klar nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:83d7a5c431fe81e17b953abf687c395c5af67887 07:19:46 + tee 07:19:46 clair timeout 1m0s 07:19:46 docker timeout: 1m0s 07:19:46 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 07:19:47 $ docker stop --time=1 c6b75da7defef9b686d2d97c837e51950f513b2856359eb283c6b49a43ba7590 07:19:48 $ docker rm -f c6b75da7defef9b686d2d97c837e51950f513b2856359eb283c6b49a43ba7590 [Pipeline] // withDockerContainer [Pipeline] sh 07:19:49 + mkdir -p /w/workspace/foundry_device-virtual-go_master/clair-reports [Pipeline] echo 07:19:49 Generated HTML Table Report. Writing to /w/workspace/foundry_device-virtual-go_master/clair-reports/clair_results_docker-device-virtual-go-arm64_83d7a5c431fe81e17b953abf687c395c5af67887.html [Pipeline] writeFile [Pipeline] step 07:19:49 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 07:19:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:19:49 . [Pipeline] withDockerContainer 07:19:49 prd-centos7-docker-4c-2g-4954 does not seem to be running inside a container 07:19:49 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:19:50 $ docker top d64780cf60e5f4d8509356b39524bc82328e44e62915ae69f011af3f94ca5af5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:19:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:19:50 [ssh-agent] Looking for ssh-agent implementation... 07:19:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:19:51 $ docker exec d64780cf60e5f4d8509356b39524bc82328e44e62915ae69f011af3f94ca5af5 ssh-agent 07:19:51 SSH_AUTH_SOCK=/tmp/ssh-ifqe3HLcgSgn/agent.12 07:19:51 SSH_AGENT_PID=18 07:19:51 Running ssh-add (command line suppressed) 07:19:51 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1678517870783735941.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1678517870783735941.key) 07:19:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:19:51 + git semver tag 07:19:51 # -> Open(): unable to determine branch for HEAD 07:19:51 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:19:51 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:19:51 # $SEMVER_REMOTE_NAME = origin 07:19:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:19:51 # $SEMVER_USER_NAME = edgex-jenkins 07:19:51 # $SEMVER_BRANCH = master 07:19:51 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 07:19:51 # 83d7a5c431fe81e17b953abf687c395c5af67887 HEAD 07:19:51 # -> Force: false 07:19:51 # a4368a356801493d7f195f0caa6d54d442ecd670 refs/tags/v1.2.2-dev.2 [Pipeline] } 07:19:51 $ docker exec --env ******** --env ******** d64780cf60e5f4d8509356b39524bc82328e44e62915ae69f011af3f94ca5af5 ssh-agent -k 07:19:51 unset SSH_AUTH_SOCK; 07:19:51 unset SSH_AGENT_PID; 07:19:51 echo Agent pid 18 killed; 07:19:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:19:52 + git semver [Pipeline] } 07:19:52 $ docker stop --time=1 d64780cf60e5f4d8509356b39524bc82328e44e62915ae69f011af3f94ca5af5 07:19:53 $ docker rm -f d64780cf60e5f4d8509356b39524bc82328e44e62915ae69f011af3f94ca5af5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 07:19:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:19:54 07:19:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 07:19:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:19:54 0.23.1-centos7: Pulling from edgex-lftools 07:19:54 ab5ef0e58194: Pulling fs layer 07:19:54 9712f1f96733: Pulling fs layer 07:19:54 63f879dbbcfc: Pulling fs layer 07:19:54 0d9ebad4ef96: Pulling fs layer 07:19:54 e9a5061849ea: Pulling fs layer 07:19:54 d747dcd14b5f: Pulling fs layer 07:19:54 2de7ff778b66: Pulling fs layer 07:19:54 e9a5061849ea: Waiting 07:19:54 d747dcd14b5f: Waiting 07:19:54 0d9ebad4ef96: Waiting 07:19:54 2de7ff778b66: Waiting 07:19:54 9712f1f96733: Verifying Checksum 07:19:54 9712f1f96733: Download complete 07:19:54 63f879dbbcfc: Verifying Checksum 07:19:54 63f879dbbcfc: Download complete 07:19:55 e9a5061849ea: Verifying Checksum 07:19:55 e9a5061849ea: Download complete 07:19:55 d747dcd14b5f: Verifying Checksum 07:19:55 d747dcd14b5f: Download complete 07:19:55 0d9ebad4ef96: Verifying Checksum 07:19:55 0d9ebad4ef96: Download complete 07:19:55 2de7ff778b66: Verifying Checksum 07:19:55 2de7ff778b66: Download complete 07:19:55 ab5ef0e58194: Verifying Checksum 07:19:55 ab5ef0e58194: Download complete 07:20:00 ab5ef0e58194: Pull complete 07:20:00 9712f1f96733: Pull complete 07:20:02 63f879dbbcfc: Pull complete 07:20:08 0d9ebad4ef96: Pull complete 07:20:10 e9a5061849ea: Pull complete 07:20:10 d747dcd14b5f: Pull complete 07:20:14 2de7ff778b66: Pull complete 07:20:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:20:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:20:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 07:20:14 prd-centos7-docker-4c-2g-4954 does not seem to be running inside a container 07:20:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:20:17 $ docker top 37200d90d09f85524fc0f44a65e07322263a089d0c86a49db6a3f5464eff00a9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:20:17 provisioning config files... 07:20:17 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5843470688869228473tmp 07:20:17 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config1185437194969930655tmp 07:20:18 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7965549417077897141tmp [Pipeline] { [Pipeline] echo 07:20:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:20:18 ---> sigul-configuration.sh 07:20:18 gpg: directory `/root/.gnupg' created 07:20:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:20:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:20:18 gpg: keyring `/root/.gnupg/secring.gpg' created 07:20:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:20:18 gpg: CAST5 encrypted data 07:20:18 gpg: encrypted with 1 passphrase 07:20:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:20:18 + mkdir /home/jenkins 07:20:18 + mkdir /home/jenkins/sigul [Pipeline] sh 07:20:19 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 07:20:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:20:19 ---> sigul-install.sh 07:20:24 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 07:20:25 + git tag --list 07:20:25 v1.2.2-dev.2 [Pipeline] sh 07:20:25 + lftools sign git-tag v1.2.2-dev.2 07:20:26 Signing Git tag with Sigul... 07:20:26 Signing v1.2.2-dev.2 [Pipeline] echo 07:20:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:20:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:20:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:20:28 $ docker stop --time=1 37200d90d09f85524fc0f44a65e07322263a089d0c86a49db6a3f5464eff00a9 07:20:30 $ docker rm -f 37200d90d09f85524fc0f44a65e07322263a089d0c86a49db6a3f5464eff00a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 07:20:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:20:30 . [Pipeline] withDockerContainer 07:20:30 prd-centos7-docker-4c-2g-4954 does not seem to be running inside a container 07:20:30 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:20:31 $ docker top 24486b0a75213f5f5ff22a05e8a8245ad9c7ae1ffc23cef6aae35fe8f46977fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:20:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:20:31 [ssh-agent] Looking for ssh-agent implementation... 07:20:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:20:31 $ docker exec 24486b0a75213f5f5ff22a05e8a8245ad9c7ae1ffc23cef6aae35fe8f46977fa ssh-agent 07:20:32 SSH_AUTH_SOCK=/tmp/ssh-HJIN6HN78Dk1/agent.12 07:20:32 SSH_AGENT_PID=17 07:20:32 Running ssh-add (command line suppressed) 07:20:32 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4116210374705915914.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4116210374705915914.key) 07:20:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:20:32 + git semver bump pre 07:20:32 # -> Open(): unable to determine branch for HEAD 07:20:32 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:20:32 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:20:32 # $SEMVER_REMOTE_NAME = origin 07:20:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:20:32 # $SEMVER_USER_NAME = edgex-jenkins 07:20:32 # $SEMVER_BRANCH = master 07:20:32 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 07:20:32 1.2.2-dev.3 [Pipeline] } 07:20:32 $ docker exec --env ******** --env ******** 24486b0a75213f5f5ff22a05e8a8245ad9c7ae1ffc23cef6aae35fe8f46977fa ssh-agent -k 07:20:32 unset SSH_AUTH_SOCK; 07:20:32 unset SSH_AGENT_PID; 07:20:32 echo Agent pid 17 killed; 07:20:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:20:33 + git semver [Pipeline] } 07:20:33 $ docker stop --time=1 24486b0a75213f5f5ff22a05e8a8245ad9c7ae1ffc23cef6aae35fe8f46977fa 07:20:34 $ docker rm -f 24486b0a75213f5f5ff22a05e8a8245ad9c7ae1ffc23cef6aae35fe8f46977fa [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 07:20:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:20:35 . [Pipeline] withDockerContainer 07:20:35 prd-centos7-docker-4c-2g-4954 does not seem to be running inside a container 07:20:35 $ 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 07:20:35 $ docker top 4ba4a6e92e8c22e50eeed89b065efa7f946ba1acd1b7a2e491d88cb07c8d9a80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:20:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:20:36 [ssh-agent] Looking for ssh-agent implementation... 07:20:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:20:36 $ docker exec 4ba4a6e92e8c22e50eeed89b065efa7f946ba1acd1b7a2e491d88cb07c8d9a80 ssh-agent 07:20:36 SSH_AUTH_SOCK=/tmp/ssh-YYkXa0ENU8fH/agent.11 07:20:36 SSH_AGENT_PID=16 07:20:36 Running ssh-add (command line suppressed) 07:20:36 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1639934624331834004.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1639934624331834004.key) 07:20:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:20:36 + git semver push 07:20:36 # -> Open(): unable to determine branch for HEAD 07:20:36 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 07:20:36 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 07:20:36 # $SEMVER_REMOTE_NAME = origin 07:20:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:20:36 # $SEMVER_USER_NAME = edgex-jenkins 07:20:36 # $SEMVER_BRANCH = master 07:20:36 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 07:20:43 $ docker exec --env ******** --env ******** 4ba4a6e92e8c22e50eeed89b065efa7f946ba1acd1b7a2e491d88cb07c8d9a80 ssh-agent -k 07:20:43 unset SSH_AUTH_SOCK; 07:20:43 unset SSH_AGENT_PID; 07:20:43 echo Agent pid 16 killed; 07:20:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:20:44 + git semver [Pipeline] } 07:20:44 $ docker stop --time=1 4ba4a6e92e8c22e50eeed89b065efa7f946ba1acd1b7a2e491d88cb07c8d9a80 07:20:45 $ docker rm -f 4ba4a6e92e8c22e50eeed89b065efa7f946ba1acd1b7a2e491d88cb07c8d9a80 [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 07:20:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:20:46 ---> package-listing.sh 07:20:46 ++ facter osfamily 07:20:46 ++ tr '[:upper:]' '[:lower:]' 07:20:46 + OS_FAMILY=redhat 07:20:46 + workspace=/w/workspace/foundry_device-virtual-go_master 07:20:46 + START_PACKAGES=/tmp/packages_start.txt 07:20:46 + END_PACKAGES=/tmp/packages_end.txt 07:20:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:20:46 + PACKAGES=/tmp/packages_start.txt 07:20:46 + '[' /w/workspace/foundry_device-virtual-go_master ']' 07:20:46 + PACKAGES=/tmp/packages_end.txt 07:20:46 + case "${OS_FAMILY}" in 07:20:46 + rpm -qa 07:20:46 + sort 07:20:50 + '[' -f /tmp/packages_start.txt ']' 07:20:50 + '[' -f /tmp/packages_end.txt ']' 07:20:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:20:50 + '[' /w/workspace/foundry_device-virtual-go_master ']' 07:20:50 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 07:20:50 + 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 07:20:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:20:51 07:20:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:20:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:20:51 alpine: Pulling from edgex-lftools-log-publisher 07:20:51 c9b1b535fdd9: Pulling fs layer 07:20:51 2cc5ad85d9ab: Pulling fs layer 07:20:51 756a868c4378: Pulling fs layer 07:20:51 444b2fc9a129: Pulling fs layer 07:20:51 ea15f1150254: Pulling fs layer 07:20:51 41b27a9f41bf: Pulling fs layer 07:20:51 28c525ee5125: Pulling fs layer 07:20:51 094b1ea09ed8: Pulling fs layer 07:20:51 138eaada9080: Pulling fs layer 07:20:51 0622d0fa9048: Pulling fs layer 07:20:51 41b27a9f41bf: Waiting 07:20:51 28c525ee5125: Waiting 07:20:51 094b1ea09ed8: Waiting 07:20:51 138eaada9080: Waiting 07:20:51 0622d0fa9048: Waiting 07:20:51 444b2fc9a129: Waiting 07:20:51 ea15f1150254: Waiting 07:20:51 2cc5ad85d9ab: Download complete 07:20:51 444b2fc9a129: Verifying Checksum 07:20:51 444b2fc9a129: Download complete 07:20:51 c9b1b535fdd9: Verifying Checksum 07:20:51 c9b1b535fdd9: Download complete 07:20:51 ea15f1150254: Verifying Checksum 07:20:51 ea15f1150254: Download complete 07:20:51 28c525ee5125: Verifying Checksum 07:20:51 28c525ee5125: Download complete 07:20:52 756a868c4378: Verifying Checksum 07:20:52 756a868c4378: Download complete 07:20:52 094b1ea09ed8: Verifying Checksum 07:20:52 094b1ea09ed8: Download complete 07:20:52 138eaada9080: Verifying Checksum 07:20:52 138eaada9080: Download complete 07:20:52 0622d0fa9048: Verifying Checksum 07:20:52 0622d0fa9048: Download complete 07:20:52 c9b1b535fdd9: Pull complete 07:20:52 2cc5ad85d9ab: Pull complete 07:20:52 41b27a9f41bf: Verifying Checksum 07:20:52 41b27a9f41bf: Download complete 07:20:54 756a868c4378: Pull complete 07:20:54 444b2fc9a129: Pull complete 07:20:55 ea15f1150254: Pull complete 07:20:59 41b27a9f41bf: Pull complete 07:20:59 28c525ee5125: Pull complete 07:21:01 094b1ea09ed8: Pull complete 07:21:01 138eaada9080: Pull complete 07:21:01 0622d0fa9048: Pull complete 07:21:01 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 07:21:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:21:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:21:01 prd-centos7-docker-4c-2g-4954 does not seem to be running inside a container 07:21:01 $ 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 07:21:04 $ docker top 8435095facb1c835875623f9ee810c26834f61057c96cc6e1a82d8cb3d7db509 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:21:04 provisioning config files... 07:21:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5665719397322721339tmp [Pipeline] { [Pipeline] echo 07:21:04 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:21:04 ---> create-netrc.sh [Pipeline] echo 07:21:04 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:21:05 ---> logs-deploy.sh 07:21:05 + ARCHIVE_ARTIFACTS= 07:21:05 + LOGS_SERVER=https://logs.edgexfoundry.org 07:21:05 + '[' https://logs.edgexfoundry.org == None ']' 07:21:05 + NEXUS_URL=https://nexus.edgexfoundry.org 07:21:05 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/17 07:21:05 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/17/ 07:21:05 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/17 /w/workspace/foundry_device-virtual-go_master 07:21:06 Archives upload complete. 07:21:06 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/17 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-virtual-go/job/master/17/