Started by user Lisa Rashidi-Ranjbar Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 44d29830d52e322790143f809155a22bedb1a813 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-rest-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-rest-go-settings PROJECT: device-rest-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-rest-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-2756 in /w/workspace/gexfoundry_device-rest-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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 44d29830d52e322790143f809155a22bedb1a813 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 Commit message: "Merge pull request #23 from tonyespy/update-sdk-122" > git rev-list --no-walk 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:50:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:50:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:50:40 ========================================================= 14:50:40 EdgeX Global Pipelines Version Info 14:50:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:50:42 ------------------- 14:50:42 stable info: 14:50:42 ------------------- 14:50:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:50:42 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 14:50:42 Message: update stable to v1.0.89 14:50:43 ------------------- 14:50:43 experimental info: 14:50:43 ------------------- 14:50:43 Commited By: **** collab-it+edgex@linuxfoundation.org 14:50:43 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 14:50:43 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:50:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:50:44 14:50:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:50:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:50:45 latest: Pulling from edgex-devops/git-semver 14:50:45 9123ac7c32f7: Pulling fs layer 14:50:45 b8cc5d1170e3: Pulling fs layer 14:50:45 2924cbbf6a41: Pulling fs layer 14:50:45 93b08a4f1073: Pulling fs layer 14:50:45 93b08a4f1073: Waiting 14:50:45 b8cc5d1170e3: Verifying Checksum 14:50:45 b8cc5d1170e3: Download complete 14:50:45 9123ac7c32f7: Verifying Checksum 14:50:45 9123ac7c32f7: Download complete 14:50:45 93b08a4f1073: Verifying Checksum 14:50:45 93b08a4f1073: Download complete 14:50:45 2924cbbf6a41: Verifying Checksum 14:50:45 2924cbbf6a41: Download complete 14:50:45 9123ac7c32f7: Pull complete 14:50:45 b8cc5d1170e3: Pull complete 14:50:46 2924cbbf6a41: Pull complete 14:50:46 93b08a4f1073: Pull complete 14:50:46 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:50:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:50:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:50:46 prd-centos7-docker-4c-2g-2756 does not seem to be running inside a container 14:50:46 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 14:50:48 $ docker top 628afe600fe4785db80f38636ab6f2741f401c26c32430f16d9393cd48fd76fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:50:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:50:48 [ssh-agent] Looking for ssh-agent implementation... 14:50:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:50:48 $ docker exec 628afe600fe4785db80f38636ab6f2741f401c26c32430f16d9393cd48fd76fd ssh-agent 14:50:49 SSH_AUTH_SOCK=/tmp/ssh-hbPiI4a6q9oL/agent.11 14:50:49 SSH_AGENT_PID=16 14:50:49 Running ssh-add (command line suppressed) 14:50:49 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_590094888396576230.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_590094888396576230.key) 14:50:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:50:49 + git describe --exact-match --tags HEAD 14:50:49 fatal: No names found, cannot describe anything. [Pipeline] } 14:50:49 $ docker exec --env ******** --env ******** 628afe600fe4785db80f38636ab6f2741f401c26c32430f16d9393cd48fd76fd ssh-agent -k 14:50:49 unset SSH_AUTH_SOCK; 14:50:49 unset SSH_AGENT_PID; 14:50:49 echo Agent pid 16 killed; 14:50:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:50:49 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:50:49 This usually means this commit has not been tagged. [Pipeline] sshagent 14:50:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:50:49 [ssh-agent] Looking for ssh-agent implementation... 14:50:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:50:50 $ docker exec 628afe600fe4785db80f38636ab6f2741f401c26c32430f16d9393cd48fd76fd ssh-agent 14:50:50 SSH_AUTH_SOCK=/tmp/ssh-ieMDQXTb97XX/agent.45 14:50:50 SSH_AGENT_PID=50 14:50:50 Running ssh-add (command line suppressed) 14:50:50 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_66216709459617962.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_66216709459617962.key) 14:50:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:50:50 + git semver init 14:50:50 # -> Open(): unable to determine branch for HEAD 14:50:50 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 14:50:50 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 14:50:50 # $SEMVER_REMOTE_NAME = origin 14:50:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:50:50 # $SEMVER_USER_NAME = edgex-jenkins 14:50:50 # $SEMVER_BRANCH = master 14:50:50 # $SEMVER_TEMP = /tmp/semver-976322925 14:50:50 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 14:50:51 # '/tmp/semver-976322925' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 14:50:51 # -> Force: false 14:50:51 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 14:50:51 $ docker exec --env ******** --env ******** 628afe600fe4785db80f38636ab6f2741f401c26c32430f16d9393cd48fd76fd ssh-agent -k 14:50:51 unset SSH_AUTH_SOCK; 14:50:51 unset SSH_AGENT_PID; 14:50:51 echo Agent pid 50 killed; 14:50:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:50:52 + git semver [Pipeline] } 14:50:52 $ docker stop --time=1 628afe600fe4785db80f38636ab6f2741f401c26c32430f16d9393cd48fd76fd 14:50:53 $ docker rm -f 628afe600fe4785db80f38636ab6f2741f401c26c32430f16d9393cd48fd76fd [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:50:54 Stashed 17 file(s) [Pipeline] echo 14:50:54 [edgeXSemver] initialized semver on version 1.1.1-dev.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 14:51:09 Still waiting to schedule task 14:51:09 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2756’ 14:51:09 Still waiting to schedule task 14:51:09 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline 14:52:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2757 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 14:52:49 Running in /w/workspace/device-rest-go/9 [Pipeline] { [Pipeline] checkout 14:52:54 using credential edgex-jenkins-ssh 14:52:54 Cloning the remote Git repository 14:52:54 Cloning with configured refspecs honoured and without tags 14:52:54 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:52:54 > git init /w/workspace/device-rest-go/9 # timeout=10 14:52:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:52:54 > git --version # timeout=10 14:52:54 using GIT_SSH to set credentials SSH Credentials for GitHub 14:52:54 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 14:52:56 Fetching without tags 14:52:56 Checking out Revision 44d29830d52e322790143f809155a22bedb1a813 (master) 14:52:56 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:52:56 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:52:56 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:52:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:52:56 using GIT_SSH to set credentials SSH Credentials for GitHub 14:52:56 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 14:52:56 > git config core.sparsecheckout # timeout=10 14:52:56 > git checkout -f 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 14:53:01 Commit message: "Merge pull request #23 from tonyespy/update-sdk-122" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:53:03 ========================================================= 14:53:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:53:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:53:04 + 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 . 14:53:05 Sending build context to Docker daemon 8.01MB 14:53:05 Step 1/10 : ARG BASE=golang:1.13-alpine 14:53:05 Step 2/10 : FROM ${BASE} 14:53:06 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:53:06 cde5963f3b93: Pulling fs layer 14:53:06 2a23fa8c16f7: Pulling fs layer 14:53:06 777b28850792: Pulling fs layer 14:53:06 8a11ddd9e578: Pulling fs layer 14:53:06 4cf88f913ddb: Pulling fs layer 14:53:06 1df406cf5192: Pulling fs layer 14:53:06 cd6300453558: Pulling fs layer 14:53:06 b9c365052c96: Pulling fs layer 14:53:06 a2d8cc88f415: Pulling fs layer 14:53:06 ea1d1ca13537: Pulling fs layer 14:53:06 3750a50a1c5e: Pulling fs layer 14:53:06 cd6300453558: Waiting 14:53:06 b9c365052c96: Waiting 14:53:06 a2d8cc88f415: Waiting 14:53:06 ea1d1ca13537: Waiting 14:53:06 8a11ddd9e578: Waiting 14:53:06 4cf88f913ddb: Waiting 14:53:06 3750a50a1c5e: Waiting 14:53:06 1df406cf5192: Waiting 14:53:06 777b28850792: Verifying Checksum 14:53:06 777b28850792: Download complete 14:53:06 2a23fa8c16f7: Verifying Checksum 14:53:06 2a23fa8c16f7: Download complete 14:53:06 4cf88f913ddb: Verifying Checksum 14:53:06 4cf88f913ddb: Download complete 14:53:06 1df406cf5192: Verifying Checksum 14:53:06 1df406cf5192: Download complete 14:53:06 cde5963f3b93: Verifying Checksum 14:53:06 cde5963f3b93: Download complete 14:53:07 cde5963f3b93: Pull complete 14:53:07 2a23fa8c16f7: Pull complete 14:53:08 777b28850792: Pull complete 14:53:08 cd6300453558: Verifying Checksum 14:53:08 cd6300453558: Download complete 14:53:08 a2d8cc88f415: Download complete 14:53:10 ea1d1ca13537: Verifying Checksum 14:53:10 ea1d1ca13537: Download complete 14:53:10 3750a50a1c5e: Verifying Checksum 14:53:10 3750a50a1c5e: Download complete 14:53:11 8a11ddd9e578: Verifying Checksum 14:53:11 8a11ddd9e578: Download complete 14:53:11 b9c365052c96: Verifying Checksum 14:53:11 b9c365052c96: Download complete 14:53:23 8a11ddd9e578: Pull complete 14:53:23 4cf88f913ddb: Pull complete 14:53:23 1df406cf5192: Pull complete 14:53:27 cd6300453558: Pull complete 14:53:32 b9c365052c96: Pull complete 14:53:32 a2d8cc88f415: Pull complete 14:53:33 Running on prd-centos7-docker-4c-2g-2758 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 14:53:33 Running in /w/workspace/device-rest-go/9 [Pipeline] { [Pipeline] checkout 14:53:34 ea1d1ca13537: Pull complete 14:53:35 3750a50a1c5e: Pull complete 14:53:35 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:53:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:53:35 ---> 78745c68409d 14:53:35 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 14:53:35 using credential edgex-jenkins-ssh 14:53:36 Cloning the remote Git repository 14:53:36 Cloning with configured refspecs honoured and without tags 14:53:36 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:53:36 > git init /w/workspace/device-rest-go/9 # timeout=10 14:53:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:53:36 > git --version # timeout=10 14:53:36 using GIT_SSH to set credentials SSH Credentials for GitHub 14:53:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 14:53:37 Fetching without tags 14:53:37 Checking out Revision 44d29830d52e322790143f809155a22bedb1a813 (master) 14:53:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:53:37 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:53:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:53:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:53:37 using GIT_SSH to set credentials SSH Credentials for GitHub 14:53:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 14:53:37 > git config core.sparsecheckout # timeout=10 14:53:37 > git checkout -f 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 14:53:40 ---> Running in 18fa28e52c0b 14:53:40 Removing intermediate container 18fa28e52c0b 14:53:40 ---> bf1053d5490b 14:53:40 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 14:53:40 ---> Running in c4aa7c478509 14:53:40 Removing intermediate container c4aa7c478509 14:53:40 ---> 695315df3125 14:53:40 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:53:41 ---> Running in 410031d4e718 14:53:41 Removing intermediate container 410031d4e718 14:53:41 ---> a87ec3e3d459 14:53:41 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:53:41 ---> Running in 16b91ca444ac 14:53:41 Commit message: "Merge pull request #23 from tonyespy/update-sdk-122" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:53:42 ========================================================= 14:53:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:53:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:53:43 + 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 . 14:53:43 Sending build context to Docker daemon 8.01MB 14:53:43 Step 1/10 : ARG BASE=golang:1.13-alpine 14:53:43 Step 2/10 : FROM ${BASE} 14:53:43 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:53:43 e6b0cf9c0882: Pulling fs layer 14:53:43 2848faf0eed1: Pulling fs layer 14:53:43 0f37312ad70f: Pulling fs layer 14:53:43 5788d62ee057: Pulling fs layer 14:53:43 0e6b1d234666: Pulling fs layer 14:53:43 bf5d7aec512f: Pulling fs layer 14:53:43 34c802a77dc8: Pulling fs layer 14:53:43 9eb99e56ec68: Pulling fs layer 14:53:43 27c7a5d97fbd: Pulling fs layer 14:53:43 5c102a31e300: Pulling fs layer 14:53:43 dcfb455df0a1: Pulling fs layer 14:53:43 9eb99e56ec68: Waiting 14:53:43 34c802a77dc8: Waiting 14:53:43 27c7a5d97fbd: Waiting 14:53:43 5c102a31e300: Waiting 14:53:43 dcfb455df0a1: Waiting 14:53:43 5788d62ee057: Waiting 14:53:43 0e6b1d234666: Waiting 14:53:43 bf5d7aec512f: Waiting 14:53:43 0f37312ad70f: Download complete 14:53:43 2848faf0eed1: Verifying Checksum 14:53:43 2848faf0eed1: Download complete 14:53:43 0e6b1d234666: Verifying Checksum 14:53:43 0e6b1d234666: Download complete 14:53:43 bf5d7aec512f: Download complete 14:53:43 e6b0cf9c0882: Verifying Checksum 14:53:43 Removing intermediate container 16b91ca444ac 14:53:43 ---> 84a4c3f6fb71 14:53:43 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:53:44 ---> Running in e730f42b7a51 14:53:44 e6b0cf9c0882: Pull complete 14:53:44 34c802a77dc8: Verifying Checksum 14:53:44 34c802a77dc8: Download complete 14:53:44 27c7a5d97fbd: Verifying Checksum 14:53:44 27c7a5d97fbd: Download complete 14:53:45 5c102a31e300: Verifying Checksum 14:53:45 5c102a31e300: Download complete 14:53:45 dcfb455df0a1: Verifying Checksum 14:53:45 dcfb455df0a1: Download complete 14:53:45 9eb99e56ec68: Verifying Checksum 14:53:45 9eb99e56ec68: Download complete 14:53:45 5788d62ee057: Verifying Checksum 14:53:45 5788d62ee057: Download complete 14:53:45 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:53:46 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:53:46 2848faf0eed1: Pull complete 14:53:46 0f37312ad70f: Pull complete 14:53:46 OK: 125 MiB in 39 packages 14:53:48 Removing intermediate container e730f42b7a51 14:53:48 ---> 8ea07be2eb46 14:53:48 Step 8/10 : WORKDIR /device-rest-go 14:53:48 ---> Running in eb0a31e69b94 14:53:48 Removing intermediate container eb0a31e69b94 14:53:48 ---> 3e74d9f6c17c 14:53:48 Step 9/10 : COPY . . 14:53:49 ---> 9a64a736f118 14:53:49 Step 10/10 : RUN go mod download 14:53:49 ---> Running in 962a8cf3b965 14:53:51 5788d62ee057: Pull complete 14:53:51 0e6b1d234666: Pull complete 14:53:51 bf5d7aec512f: Pull complete 14:53:52 go: finding github.com/BurntSushi/toml v0.3.1 14:53:52 go: finding github.com/OneOfOne/xxhash v1.2.6 14:53:52 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:53:52 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:53:52 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:53:52 go: finding github.com/bgentry/speakeasy v0.1.0 14:53:52 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:53:52 go: finding github.com/davecgh/go-spew v1.1.1 14:53:52 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 14:53:52 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 14:53:52 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:53:52 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 14:53:52 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 14:53:52 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:53:52 go: finding github.com/fatih/color v1.7.0 14:53:52 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:53:52 go: finding github.com/go-kit/kit v0.8.0 14:53:52 go: finding github.com/go-logfmt/logfmt v0.4.0 14:53:52 go: finding github.com/go-stack/stack v1.8.0 14:53:52 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:53:52 go: finding github.com/google/uuid v1.1.0 14:53:52 go: finding github.com/gorilla/mux v1.7.1 14:53:52 go: finding github.com/hashicorp/consul/api v1.1.0 14:53:52 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:53:52 go: finding github.com/hashicorp/errwrap v1.0.0 14:53:52 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:53:52 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:53:52 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:53:52 go: finding github.com/hashicorp/go-multierror v1.0.0 14:53:53 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:53:53 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:53:53 go: finding github.com/hashicorp/go-syslog v1.0.0 14:53:53 go: finding github.com/hashicorp/go-uuid v1.0.1 14:53:53 go: finding github.com/hashicorp/go.net v0.0.1 14:53:53 go: finding github.com/hashicorp/golang-lru v0.5.0 14:53:53 go: finding github.com/hashicorp/logutils v1.0.0 14:53:53 go: finding github.com/hashicorp/mdns v1.0.0 14:53:53 go: finding github.com/hashicorp/memberlist v0.1.3 14:53:53 go: finding github.com/hashicorp/serf v0.8.2 14:53:53 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:53:53 go: finding github.com/mattn/go-colorable v0.0.9 14:53:53 go: finding github.com/mattn/go-isatty v0.0.3 14:53:53 go: finding github.com/miekg/dns v1.0.14 14:53:53 go: finding github.com/mitchellh/cli v1.0.0 14:53:53 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:53:53 go: finding github.com/mitchellh/copystructure v1.0.0 14:53:53 go: finding github.com/mitchellh/go-homedir v1.0.0 14:53:53 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:53:53 go: finding github.com/mitchellh/gox v0.4.0 14:53:53 go: finding github.com/mitchellh/iochan v1.0.0 14:53:53 go: finding github.com/mitchellh/mapstructure v1.1.2 14:53:53 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:53:53 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:53:53 go: finding github.com/pelletier/go-toml v1.2.0 14:53:53 go: finding github.com/pkg/errors v0.8.1 14:53:53 go: finding github.com/pmezard/go-difflib v1.0.0 14:53:53 go: finding github.com/posener/complete v1.1.1 14:53:53 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:53:53 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:53:53 go: finding github.com/spf13/cast v1.3.0 14:53:53 go: finding github.com/stretchr/objx v0.1.0 14:53:53 go: finding github.com/stretchr/testify v1.5.1 14:53:53 go: finding github.com/ugorji/go v1.1.4 14:53:53 go: finding github.com/x448/float16 v0.8.4 14:53:53 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:53:53 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:53:53 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:53:53 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:53:54 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:53:54 go: finding gopkg.in/yaml.v2 v2.2.8 14:53:57 34c802a77dc8: Pull complete 14:53:59 9eb99e56ec68: Pull complete 14:53:59 27c7a5d97fbd: Pull complete 14:54:00 5c102a31e300: Pull complete 14:54:00 dcfb455df0a1: Pull complete 14:54:00 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:54:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:54:00 ---> 7c70fe431013 14:54:00 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 14:54:02 ---> Running in ec82bd10ccc2 14:54:02 Removing intermediate container ec82bd10ccc2 14:54:02 ---> bf2ff8d81b7f 14:54:02 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 14:54:02 ---> Running in e0e69f39aa53 14:54:02 Removing intermediate container e0e69f39aa53 14:54:02 ---> c59dbbaacbd5 14:54:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:54:02 ---> Running in ada58b3d7f17 14:54:02 Removing intermediate container ada58b3d7f17 14:54:02 ---> cf589eb362e8 14:54:02 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:54:02 ---> Running in 302eca34d0f3 14:54:04 Removing intermediate container 302eca34d0f3 14:54:04 ---> 2be92d1bcf2f 14:54:04 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:54:04 ---> Running in 2180ce832c2f 14:54:04 Removing intermediate container 962a8cf3b965 14:54:04 ---> ef775b60caa9 14:54:04 Successfully built ef775b60caa9 14:54:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:54:04 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:54:04 + docker inspect -f . ci-base-image-arm64 14:54:04 . [Pipeline] withDockerContainer 14:54:05 prd-ubuntu18.04-docker-arm64-4c-16g-2757 does not seem to be running inside a container 14:54:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/9 -v /w/workspace/device-rest-go/9:/w/workspace/device-rest-go/9:rw,z -v /w/workspace/device-rest-go/9@tmp:/w/workspace/device-rest-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:54:05 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:54:06 OK: 143 MiB in 39 packages 14:54:06 Removing intermediate container 2180ce832c2f 14:54:06 ---> 68f9a03ce7e6 14:54:06 Step 8/10 : WORKDIR /device-rest-go 14:54:06 ---> Running in 20c2d145ef4e 14:54:06 Removing intermediate container 20c2d145ef4e 14:54:06 ---> 54662078bfb2 14:54:06 Step 9/10 : COPY . . 14:54:06 ---> 59737cd2c22a 14:54:06 Step 10/10 : RUN go mod download 14:54:06 ---> Running in e5278c339b02 14:54:07 $ docker top 17b531bfed279f60626bfda6f88f5cf982384d600c810c80c5283e99982ef135 -eo pid,comm [Pipeline] { [Pipeline] sh 14:54:08 + go version 14:54:08 go version go1.13.5 linux/arm64 [Pipeline] sh 14:54:08 go: finding github.com/BurntSushi/toml v0.3.1 14:54:08 go: finding github.com/OneOfOne/xxhash v1.2.6 14:54:08 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:54:08 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:54:08 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:54:08 go: finding github.com/bgentry/speakeasy v0.1.0 14:54:08 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:54:08 go: finding github.com/davecgh/go-spew v1.1.1 14:54:08 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 14:54:08 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 14:54:08 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:54:08 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 14:54:08 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 14:54:09 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:54:09 go: finding github.com/fatih/color v1.7.0 14:54:09 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:54:09 go: finding github.com/go-kit/kit v0.8.0 14:54:09 go: finding github.com/go-logfmt/logfmt v0.4.0 14:54:09 go: finding github.com/go-stack/stack v1.8.0 14:54:09 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:54:09 go: finding github.com/google/uuid v1.1.0 14:54:09 go: finding github.com/gorilla/mux v1.7.1 14:54:09 go: finding github.com/hashicorp/consul/api v1.1.0 14:54:09 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:54:09 go: finding github.com/hashicorp/errwrap v1.0.0 14:54:09 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:54:09 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:54:09 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:54:09 go: finding github.com/hashicorp/go-multierror v1.0.0 14:54:09 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:54:09 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:54:09 go: finding github.com/hashicorp/go-syslog v1.0.0 14:54:09 go: finding github.com/hashicorp/go-uuid v1.0.1 14:54:09 go: finding github.com/hashicorp/go.net v0.0.1 14:54:09 go: finding github.com/hashicorp/golang-lru v0.5.0 14:54:09 go: finding github.com/hashicorp/logutils v1.0.0 14:54:09 go: finding github.com/hashicorp/mdns v1.0.0 14:54:09 go: finding github.com/hashicorp/memberlist v0.1.3 14:54:09 go: finding github.com/hashicorp/serf v0.8.2 14:54:09 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:54:09 go: finding github.com/mattn/go-colorable v0.0.9 14:54:09 go: finding github.com/mattn/go-isatty v0.0.3 14:54:09 go: finding github.com/miekg/dns v1.0.14 14:54:09 go: finding github.com/mitchellh/cli v1.0.0 14:54:09 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:54:09 go: finding github.com/mitchellh/copystructure v1.0.0 14:54:09 go: finding github.com/mitchellh/go-homedir v1.0.0 14:54:09 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:54:09 go: finding github.com/mitchellh/gox v0.4.0 14:54:09 go: finding github.com/mitchellh/iochan v1.0.0 14:54:09 go: finding github.com/mitchellh/mapstructure v1.1.2 14:54:09 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:54:09 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:54:09 go: finding github.com/pelletier/go-toml v1.2.0 14:54:09 go: finding github.com/pkg/errors v0.8.1 14:54:09 go: finding github.com/pmezard/go-difflib v1.0.0 14:54:09 go: finding github.com/posener/complete v1.1.1 14:54:09 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:54:09 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:54:09 go: finding github.com/spf13/cast v1.3.0 14:54:09 go: finding github.com/stretchr/objx v0.1.0 14:54:09 go: finding github.com/stretchr/testify v1.5.1 14:54:09 go: finding github.com/ugorji/go v1.1.4 14:54:09 go: finding github.com/x448/float16 v0.8.4 14:54:09 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:54:09 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 14:54:09 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:54:09 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:54:09 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 14:54:09 go: finding gopkg.in/yaml.v2 v2.2.8 14:54:09 + make test 14:54:09 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:54:10 ? github.com/edgexfoundry/device-rest-go [no test files] 14:54:17 Removing intermediate container e5278c339b02 14:54:17 ---> 6ac40ca58481 14:54:17 Successfully built 6ac40ca58481 14:54:17 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 14:54:18 + docker inspect -f . ci-base-image-x86_64 14:54:18 . [Pipeline] withDockerContainer 14:54:18 prd-centos7-docker-4c-2g-2758 does not seem to be running inside a container 14:54:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/9 -v /w/workspace/device-rest-go/9:/w/workspace/device-rest-go/9:rw,z -v /w/workspace/device-rest-go/9@tmp:/w/workspace/device-rest-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:54:19 $ docker top 6169e946169ed55f650f8efbad303131721444036556852c91e574175acc13c0 -eo pid,comm [Pipeline] { [Pipeline] sh 14:54:19 + go version 14:54:19 go version go1.13.5 linux/amd64 [Pipeline] sh 14:54:20 + make test 14:54:20 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:54:21 ? github.com/edgexfoundry/device-rest-go [no test files] 14:54:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:54:31 ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 56.3% of statements 14:54:31 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:54:32 gofmt -l . 14:54:32 [ "`gofmt -l .`" = "" ] 14:54:32 ./bin/test-go-mod-tidy.sh 14:54:33 ./bin/test-attribution-txt.sh [Pipeline] stash 14:54:33 Stashed 1 file(s) [Pipeline] } 14:54:33 $ docker stop --time=1 6169e946169ed55f650f8efbad303131721444036556852c91e574175acc13c0 14:54:35 $ docker rm -f 6169e946169ed55f650f8efbad303131721444036556852c91e574175acc13c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:54:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:54:38 + ls -al . 14:54:38 total 96 14:54:38 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 12 14:54 . 14:54:38 drwxrwxr-x. 4 jenkins jenkins 28 Jun 12 14:53 .. 14:54:38 -rw-rw-r--. 1 jenkins jenkins 4802 Jun 12 14:53 Attribution.txt 14:54:38 drwxrwxr-x. 2 jenkins jenkins 64 Jun 12 14:53 bin 14:54:38 drwxrwxr-x. 3 jenkins jenkins 32 Jun 12 14:53 cmd 14:54:38 -rw-r--r--. 1 jenkins jenkins 9369 Jun 12 14:54 coverage.out 14:54:38 -rw-rw-r--. 1 jenkins jenkins 1504 Jun 12 14:53 Dockerfile 14:54:38 -rw-rw-r--. 1 jenkins jenkins 989 Jun 12 14:53 Dockerfile.build 14:54:38 -rw-rw-r--. 1 jenkins jenkins 151 Jun 12 14:53 .dockerignore 14:54:38 drwxrwxr-x. 2 jenkins jenkins 93 Jun 12 14:54 driver 14:54:38 drwxrwxr-x. 8 jenkins jenkins 162 Jun 12 14:53 .git 14:54:38 -rw-rw-r--. 1 jenkins jenkins 339 Jun 12 14:53 .gitignore 14:54:38 -rw-r--r--. 1 jenkins jenkins 266 Jun 12 14:54 go.mod 14:54:38 -rw-r--r--. 1 jenkins jenkins 12533 Jun 12 14:54 go.sum 14:54:38 -rw-rw-r--. 1 jenkins jenkins 702 Jun 12 14:53 Jenkinsfile 14:54:38 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 12 14:53 LICENSE 14:54:38 -rw-rw-r--. 1 jenkins jenkins 951 Jun 12 14:53 Makefile 14:54:38 -rw-rw-r--. 1 jenkins jenkins 5716 Jun 12 14:53 README.md 14:54:38 drwxrwxr-x. 3 jenkins jenkins 32 Jun 12 14:53 .semver 14:54:38 -rw-rw-r--. 1 jenkins jenkins 11 Jun 12 14:50 VERSION 14:54:38 -rw-rw-r--. 1 jenkins jenkins 713 Jun 12 14:53 version.go [Pipeline] isUnix [Pipeline] sh 14:54:38 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=44d29830d52e322790143f809155a22bedb1a813 --label arch=amd64 --label version=1.1.1-dev.1 . 14:54:38 Sending build context to Docker daemon 8.022MB 14:54:38 Step 1/24 : ARG BASE=golang:1.13-alpine 14:54:38 Step 2/24 : FROM ${BASE} AS builder 14:54:38 ---> 6ac40ca58481 14:54:38 Step 3/24 : ARG MAKE='make build' 14:54:38 ---> Running in cb1a5a75f34c 14:54:38 Removing intermediate container cb1a5a75f34c 14:54:38 ---> 4a4e5d014fb2 14:54:38 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 14:54:39 ---> Running in 53abf94cc819 14:54:39 Removing intermediate container 53abf94cc819 14:54:39 ---> 8c568f9fd952 14:54:39 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 14:54:39 ---> Running in a4e9c26b1826 14:54:39 Removing intermediate container a4e9c26b1826 14:54:39 ---> 299c7bae2f20 14:54:39 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:54:39 ---> Running in bc4cae8030f6 14:54:40 Removing intermediate container bc4cae8030f6 14:54:40 ---> 06f2c4d93acc 14:54:40 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:54:40 ---> Running in e8bc7083249d 14:54:40 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:54:41 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:54:41 OK: 143 MiB in 39 packages 14:54:42 Removing intermediate container e8bc7083249d 14:54:42 ---> 8573f9717119 14:54:42 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 14:54:42 ---> Running in 59a598b3a60b 14:54:42 Removing intermediate container 59a598b3a60b 14:54:42 ---> 9e54be6c8feb 14:54:42 Step 9/24 : COPY go.mod . 14:54:42 ---> 797a95751bb4 14:54:42 Step 10/24 : COPY Makefile . 14:54:42 ---> a9d071350d2e 14:54:42 Step 11/24 : RUN make update 14:54:42 ---> Running in e333a149bea1 14:54:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:54:42 ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 56.3% of statements 14:54:42 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:54:43 CGO_ENABLED=0 GO111MODULE=on go mod download 14:54:43 Removing intermediate container e333a149bea1 14:54:43 ---> d5eae906ec69 14:54:43 Step 12/24 : COPY . . 14:54:44 ---> 886a75c8a028 14:54:44 Step 13/24 : RUN $MAKE 14:54:44 ---> Running in 539e3e5bed9e 14:54:44 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.1-dev.1" -o cmd/device-rest-go ./cmd 14:54:46 gofmt -l . 14:54:46 [ "`gofmt -l .`" = "" ] 14:54:46 ./bin/test-go-mod-tidy.sh 14:54:46 ./bin/test-attribution-txt.sh [Pipeline] stash 14:54:47 Warning: overwriting stash ‘coverage-report’ 14:54:47 Stashed 1 file(s) [Pipeline] } 14:54:47 $ docker stop --time=1 17b531bfed279f60626bfda6f88f5cf982384d600c810c80c5283e99982ef135 14:54:49 $ docker rm -f 17b531bfed279f60626bfda6f88f5cf982384d600c810c80c5283e99982ef135 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:54:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:54:51 + ls -al . 14:54:51 total 120 14:54:51 drwxrwxr-x 7 jenkins jenkins 4096 Jun 12 14:54 . 14:54:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 14:52 .. 14:54:51 -rw-rw-r-- 1 jenkins jenkins 151 Jun 12 14:52 .dockerignore 14:54:51 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 14:53 .git 14:54:51 -rw-rw-r-- 1 jenkins jenkins 339 Jun 12 14:52 .gitignore 14:54:51 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 14:53 .semver 14:54:51 -rw-rw-r-- 1 jenkins jenkins 4802 Jun 12 14:52 Attribution.txt 14:54:51 -rw-rw-r-- 1 jenkins jenkins 1504 Jun 12 14:52 Dockerfile 14:54:51 -rw-rw-r-- 1 jenkins jenkins 989 Jun 12 14:52 Dockerfile.build 14:54:51 -rw-rw-r-- 1 jenkins jenkins 702 Jun 12 14:52 Jenkinsfile 14:54:51 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 14:52 LICENSE 14:54:51 -rw-rw-r-- 1 jenkins jenkins 951 Jun 12 14:52 Makefile 14:54:51 -rw-rw-r-- 1 jenkins jenkins 5716 Jun 12 14:52 README.md 14:54:51 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 14:50 VERSION 14:54:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 14:52 bin 14:54:51 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 14:52 cmd 14:54:51 -rw-r--r-- 1 jenkins jenkins 9369 Jun 12 14:54 coverage.out 14:54:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 14:54 driver 14:54:51 -rw-r--r-- 1 jenkins jenkins 266 Jun 12 14:54 go.mod 14:54:51 -rw-r--r-- 1 jenkins jenkins 12533 Jun 12 14:54 go.sum 14:54:51 -rw-rw-r-- 1 jenkins jenkins 713 Jun 12 14:52 version.go [Pipeline] isUnix [Pipeline] sh 14:54:51 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=44d29830d52e322790143f809155a22bedb1a813 --label arch=arm64 --label version=1.1.1-dev.1 . 14:54:51 Sending build context to Docker daemon 8.022MB 14:54:51 Step 1/24 : ARG BASE=golang:1.13-alpine 14:54:51 Step 2/24 : FROM ${BASE} AS builder 14:54:51 ---> ef775b60caa9 14:54:51 Step 3/24 : ARG MAKE='make build' 14:54:52 ---> Running in 91890c7a3cb4 14:54:52 Removing intermediate container 91890c7a3cb4 14:54:52 ---> 7e4e25835815 14:54:52 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 14:54:52 ---> Running in 71d9006ee77f 14:54:53 Removing intermediate container 71d9006ee77f 14:54:53 ---> a3674d728cfb 14:54:53 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 14:54:53 ---> Running in 84084cd8647f 14:54:53 Removing intermediate container 84084cd8647f 14:54:53 ---> f4bc07de11b9 14:54:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:54:53 ---> Running in 793c7db06fe4 14:54:54 Removing intermediate container 539e3e5bed9e 14:54:54 ---> 7f0ccd9111ec 14:54:54 Step 14/24 : FROM alpine:latest 14:54:54 latest: Pulling from library/alpine 14:54:54 df20fa9351a1: Pulling fs layer 14:54:54 df20fa9351a1: Verifying Checksum 14:54:54 df20fa9351a1: Download complete 14:54:55 df20fa9351a1: Pull complete 14:54:55 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 14:54:55 Status: Downloaded newer image for alpine:latest 14:54:55 ---> a24bb4013296 14:54:55 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:54:55 ---> Running in b95d206d5aa1 14:54:55 Removing intermediate container b95d206d5aa1 14:54:55 ---> 8a26591d7584 14:54:55 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 14:54:55 ---> Running in f2911d7aa64f 14:54:55 Removing intermediate container f2911d7aa64f 14:54:55 ---> 794ea77042d6 14:54:55 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 14:54:55 ---> 7001cdf59e70 14:54:55 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 14:54:56 ---> 1bc731192af9 14:54:56 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 14:54:56 Removing intermediate container 793c7db06fe4 14:54:56 ---> e8abfbfa9730 14:54:56 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:54:56 ---> Running in 0a808b302f2f 14:54:57 ---> 52117ce66173 14:54:57 Step 20/24 : EXPOSE 49986 14:54:57 ---> Running in 8429d9092196 14:54:57 Removing intermediate container 8429d9092196 14:54:57 ---> 56438b97fdde 14:54:57 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 14:54:57 ---> Running in 2913fe1a3956 14:54:57 Removing intermediate container 2913fe1a3956 14:54:57 ---> 71f640e2e891 14:54:57 Step 22/24 : LABEL arch=amd64 14:54:57 ---> Running in 945ff2561195 14:54:57 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:54:57 Removing intermediate container 945ff2561195 14:54:57 ---> 7a8547438e69 14:54:57 Step 23/24 : LABEL git_sha=44d29830d52e322790143f809155a22bedb1a813 14:54:57 ---> Running in bf85b832b49c 14:54:57 Removing intermediate container bf85b832b49c 14:54:57 ---> 1dcf8b7e300e 14:54:57 Step 24/24 : LABEL version=1.1.1-dev.1 14:54:58 ---> Running in 5f66146f82a7 14:54:58 Removing intermediate container 5f66146f82a7 14:54:58 ---> bd5c804852de 14:54:58 [Warning] One or more build-args [ARCH] were not consumed 14:54:58 Successfully built bd5c804852de 14:54:58 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { 14:54:58 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:54:58 provisioning config files... 14:54:58 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/9@tmp/config710277453535083880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:54:58 nexus3.edgexfoundry.org:10001 14:54:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:54:58 OK: 125 MiB in 39 packages 14:54:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:54:58 Configure a credential helper to remove this warning. See 14:54:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:54:58 14:54:58 Login Succeeded 14:54:58 nexus3.edgexfoundry.org:10002 14:54:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:54:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:54:58 Configure a credential helper to remove this warning. See 14:54:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:54:58 14:54:58 Login Succeeded 14:54:58 nexus3.edgexfoundry.org:10003 14:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:54:59 Configure a credential helper to remove this warning. See 14:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:54:59 14:54:59 Login Succeeded 14:54:59 nexus3.edgexfoundry.org:10004 14:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:54:59 Configure a credential helper to remove this warning. See 14:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:54:59 14:54:59 Login Succeeded 14:54:59 docker.io 14:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:54:59 Configure a credential helper to remove this warning. See 14:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:54:59 14:54:59 Login Succeeded [Pipeline] } 14:54:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:54:59 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 14:54:59 44d29830d52e322790143f809155a22bedb1a813 14:54:59 latest 14:54:59 1.1.1-dev.1 14:54:59 44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 14:54:59 master 14:54:59 ===================================================== 14:54:59 Removing intermediate container 0a808b302f2f 14:54:59 ---> 40d28170af0e 14:54:59 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:55:00 ---> Running in e688f7345b59 14:55:00 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813 [Pipeline] isUnix [Pipeline] sh 14:55:00 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813 14:55:00 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 14:55:00 7399b3dcfc2d: Preparing 14:55:00 f4ead175b0f8: Preparing 14:55:00 b9dcc2337b3d: Preparing 14:55:00 50644c29ef5a: Preparing 14:55:00 50644c29ef5a: Layer already exists 14:55:00 b9dcc2337b3d: Pushed 14:55:00 f4ead175b0f8: Pushed 14:55:00 Removing intermediate container e688f7345b59 14:55:00 ---> 37be0626ce34 14:55:00 Step 9/24 : COPY go.mod . 14:55:01 ---> f9c2a5864178 14:55:01 Step 10/24 : COPY Makefile . 14:55:01 ---> 02ef45df9c70 14:55:01 Step 11/24 : RUN make update 14:55:01 7399b3dcfc2d: Pushed 14:55:02 ---> Running in c9a7bcffcfa3 14:55:02 44d29830d52e322790143f809155a22bedb1a813: digest: sha256:dc629771590066c39918c5dff8b76cc5231e40316b4627a90f20ac60e3689d32 size: 1154 [Pipeline] isUnix [Pipeline] sh 14:55:02 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 14:55:02 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 14:55:02 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 14:55:02 7399b3dcfc2d: Preparing 14:55:02 f4ead175b0f8: Preparing 14:55:02 b9dcc2337b3d: Preparing 14:55:02 50644c29ef5a: Preparing 14:55:02 f4ead175b0f8: Layer already exists 14:55:02 50644c29ef5a: Layer already exists 14:55:02 7399b3dcfc2d: Layer already exists 14:55:02 b9dcc2337b3d: Layer already exists 14:55:02 latest: digest: sha256:dc629771590066c39918c5dff8b76cc5231e40316b4627a90f20ac60e3689d32 size: 1154 [Pipeline] isUnix [Pipeline] sh 14:55:03 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.1-dev.1 [Pipeline] isUnix [Pipeline] sh 14:55:03 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.1-dev.1 14:55:03 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 14:55:03 7399b3dcfc2d: Preparing 14:55:03 f4ead175b0f8: Preparing 14:55:03 b9dcc2337b3d: Preparing 14:55:03 50644c29ef5a: Preparing 14:55:03 50644c29ef5a: Layer already exists 14:55:03 f4ead175b0f8: Layer already exists 14:55:03 7399b3dcfc2d: Layer already exists 14:55:03 b9dcc2337b3d: Layer already exists 14:55:03 1.1.1-dev.1: digest: sha256:dc629771590066c39918c5dff8b76cc5231e40316b4627a90f20ac60e3689d32 size: 1154 [Pipeline] isUnix [Pipeline] sh 14:55:03 CGO_ENABLED=0 GO111MODULE=on go mod download 14:55:03 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 [Pipeline] isUnix [Pipeline] sh 14:55:03 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 14:55:03 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 14:55:03 7399b3dcfc2d: Preparing 14:55:03 f4ead175b0f8: Preparing 14:55:03 b9dcc2337b3d: Preparing 14:55:03 50644c29ef5a: Preparing 14:55:03 f4ead175b0f8: Layer already exists 14:55:03 50644c29ef5a: Layer already exists 14:55:03 7399b3dcfc2d: Layer already exists 14:55:03 b9dcc2337b3d: Layer already exists 14:55:04 44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1: digest: sha256:dc629771590066c39918c5dff8b76cc5231e40316b4627a90f20ac60e3689d32 size: 1154 [Pipeline] isUnix [Pipeline] sh 14:55:04 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 14:55:05 Removing intermediate container c9a7bcffcfa3 14:55:05 ---> 84cdb08a32dc 14:55:05 Step 12/24 : COPY . . 14:55:05 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 14:55:05 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 14:55:05 7399b3dcfc2d: Preparing 14:55:05 f4ead175b0f8: Preparing 14:55:05 b9dcc2337b3d: Preparing 14:55:05 50644c29ef5a: Preparing 14:55:05 b9dcc2337b3d: Layer already exists 14:55:05 f4ead175b0f8: Layer already exists 14:55:05 7399b3dcfc2d: Layer already exists 14:55:05 50644c29ef5a: Layer already exists 14:55:05 master: digest: sha256:dc629771590066c39918c5dff8b76cc5231e40316b4627a90f20ac60e3689d32 size: 1154 [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] } 14:55:06 ---> 9e8a06019dec 14:55:06 Step 13/24 : RUN $MAKE 14:55:06 ---> Running in ccc25424d395 14:55:07 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.1-dev.1" -o cmd/device-rest-go ./cmd 14:55:34 Removing intermediate container ccc25424d395 14:55:34 ---> 0364f11864bd 14:55:34 Step 14/24 : FROM alpine:latest 14:55:34 latest: Pulling from library/alpine 14:55:34 b538f80385f9: Pulling fs layer 14:55:34 b538f80385f9: Verifying Checksum 14:55:34 b538f80385f9: Download complete 14:55:35 b538f80385f9: Pull complete 14:55:35 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 14:55:35 Status: Downloaded newer image for alpine:latest 14:55:35 ---> 62ee0e9f8440 14:55:35 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:55:35 ---> Running in 0497241f8204 14:55:36 Removing intermediate container 0497241f8204 14:55:36 ---> f723f192b461 14:55:36 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 14:55:36 ---> Running in f2a185dc7c73 14:55:36 Removing intermediate container f2a185dc7c73 14:55:36 ---> 0d99c48533e2 14:55:36 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 14:55:37 ---> 5962afbc86d6 14:55:37 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 14:55:37 ---> 0db730fbb4b0 14:55:37 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 14:55:39 ---> 323cdee3f9e6 14:55:39 Step 20/24 : EXPOSE 49986 14:55:39 ---> Running in dd868f90733f 14:55:39 Removing intermediate container dd868f90733f 14:55:39 ---> e9e1d11a8865 14:55:39 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 14:55:39 ---> Running in f05a834f1c59 14:55:40 Removing intermediate container f05a834f1c59 14:55:40 ---> c0e7acc71cef 14:55:40 Step 22/24 : LABEL arch=arm64 14:55:40 ---> Running in b49e88bc4883 14:55:41 Removing intermediate container b49e88bc4883 14:55:41 ---> a70d7c2b408a 14:55:41 Step 23/24 : LABEL git_sha=44d29830d52e322790143f809155a22bedb1a813 14:55:41 ---> Running in cf5adea80988 14:55:41 Removing intermediate container cf5adea80988 14:55:41 ---> 78bf32de51a9 14:55:41 Step 24/24 : LABEL version=1.1.1-dev.1 14:55:41 ---> Running in c044db56a24f 14:55:41 Removing intermediate container c044db56a24f 14:55:41 ---> 8483f350cee4 14:55:41 [Warning] One or more build-args [ARCH] were not consumed 14:55:41 Successfully built 8483f350cee4 14:55:41 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:55:42 provisioning config files... 14:55:42 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/9@tmp/config2475231722310081737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:55:42 nexus3.edgexfoundry.org:10001 14:55:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:43 Configure a credential helper to remove this warning. See 14:55:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:43 14:55:43 Login Succeeded 14:55:43 nexus3.edgexfoundry.org:10002 14:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:43 Configure a credential helper to remove this warning. See 14:55:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:43 14:55:43 Login Succeeded 14:55:43 nexus3.edgexfoundry.org:10003 14:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:44 Configure a credential helper to remove this warning. See 14:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:44 14:55:44 Login Succeeded 14:55:44 nexus3.edgexfoundry.org:10004 14:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:44 Configure a credential helper to remove this warning. See 14:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:44 14:55:44 Login Succeeded 14:55:44 docker.io 14:55:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:45 Configure a credential helper to remove this warning. See 14:55:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:45 14:55:45 Login Succeeded [Pipeline] } 14:55:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:55:45 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 14:55:45 44d29830d52e322790143f809155a22bedb1a813 14:55:45 latest 14:55:45 1.1.1-dev.1 14:55:45 44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 14:55:45 master 14:55:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:55:46 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813 [Pipeline] isUnix [Pipeline] sh 14:55:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813 14:55:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 14:55:46 997d34def5a1: Preparing 14:55:46 315ae4c5b0a1: Preparing 14:55:46 ffac788374a0: Preparing 14:55:46 e2f13739ad41: Preparing 14:55:46 e2f13739ad41: Layer already exists 14:55:46 ffac788374a0: Pushed 14:55:46 315ae4c5b0a1: Pushed 14:55:50 997d34def5a1: Pushed 14:55:50 44d29830d52e322790143f809155a22bedb1a813: digest: sha256:51da845c700d47f1e4d99662d528a53a98b2035773c28195bbdeb8ae9fe22fda size: 1154 [Pipeline] isUnix [Pipeline] sh 14:55:50 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:55:50 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 14:55:50 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 14:55:50 997d34def5a1: Preparing 14:55:50 315ae4c5b0a1: Preparing 14:55:50 ffac788374a0: Preparing 14:55:50 e2f13739ad41: Preparing 14:55:50 315ae4c5b0a1: Layer already exists 14:55:50 997d34def5a1: Layer already exists 14:55:50 e2f13739ad41: Layer already exists 14:55:50 ffac788374a0: Layer already exists 14:55:51 latest: digest: sha256:51da845c700d47f1e4d99662d528a53a98b2035773c28195bbdeb8ae9fe22fda size: 1154 [Pipeline] isUnix [Pipeline] sh 14:55:51 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.1-dev.1 [Pipeline] isUnix [Pipeline] sh 14:55:51 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.1-dev.1 14:55:51 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 14:55:51 997d34def5a1: Preparing 14:55:51 315ae4c5b0a1: Preparing 14:55:51 ffac788374a0: Preparing 14:55:51 e2f13739ad41: Preparing 14:55:51 315ae4c5b0a1: Layer already exists 14:55:51 e2f13739ad41: Layer already exists 14:55:51 997d34def5a1: Layer already exists 14:55:51 ffac788374a0: Layer already exists 14:55:52 1.1.1-dev.1: digest: sha256:51da845c700d47f1e4d99662d528a53a98b2035773c28195bbdeb8ae9fe22fda size: 1154 [Pipeline] isUnix [Pipeline] sh 14:55:52 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 [Pipeline] isUnix [Pipeline] sh 14:55:52 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 14:55:52 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 14:55:52 997d34def5a1: Preparing 14:55:52 315ae4c5b0a1: Preparing 14:55:52 ffac788374a0: Preparing 14:55:52 e2f13739ad41: Preparing 14:55:52 315ae4c5b0a1: Layer already exists 14:55:52 e2f13739ad41: Layer already exists 14:55:52 ffac788374a0: Layer already exists 14:55:52 997d34def5a1: Layer already exists 14:55:53 44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1: digest: sha256:51da845c700d47f1e4d99662d528a53a98b2035773c28195bbdeb8ae9fe22fda size: 1154 [Pipeline] isUnix [Pipeline] sh 14:55:53 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 14:55:53 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 14:55:53 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 14:55:53 997d34def5a1: Preparing 14:55:53 315ae4c5b0a1: Preparing 14:55:53 ffac788374a0: Preparing 14:55:53 e2f13739ad41: Preparing 14:55:53 e2f13739ad41: Layer already exists 14:55:53 315ae4c5b0a1: Layer already exists 14:55:53 ffac788374a0: Layer already exists 14:55:53 997d34def5a1: Layer already exists 14:55:54 master: digest: sha256:51da845c700d47f1e4d99662d528a53a98b2035773c28195bbdeb8ae9fe22fda size: 1154 [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 14:55:54 provisioning config files... 14:55:54 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2993524244381272843tmp [Pipeline] { [Pipeline] sh 14:55:55 + curl -s https://codecov.io/bash 14:55:55 + bash -s - -t @/w/workspace/gexfoundry_device-rest-go_master@tmp/config2993524244381272843tmp 14:55:55 14:55:55 _____ _ 14:55:55 / ____| | | 14:55:55 | | ___ __| | ___ ___ _____ __ 14:55:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:55:55 | |___| (_) | (_| | __/ (_| (_) \ V / 14:55:55 \_____\___/ \__,_|\___|\___\___/ \_/ 14:55:55 Bash-20200602-f809a24 14:55:55 14:55:55 14:55:55 ==> Jenkins CI detected. 14:55:55 project root: . 14:55:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:55:55 ==> Running gcov in . (disable via -X gcov) 14:55:55 ==> Python coveragepy not found 14:55:55 ==> Searching for coverage reports in: 14:55:55 + . 14:55:55 -> Found 1 reports 14:55:55 ==> Detecting git/mercurial file structure 14:55:55 ==> Reading reports 14:55:55 + ./coverage.out bytes=9369 14:55:55 ==> Appending adjustments 14:55:55 https://docs.codecov.io/docs/fixing-reports 14:55:55 + Found adjustments 14:55:55 ==> Gzipping contents 14:55:55 ==> Uploading reports 14:55:55 url: https://codecov.io 14:55:55 query: branch=master&commit=44d29830d52e322790143f809155a22bedb1a813&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 14:55:55 -> Pinging Codecov 14:55:55 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=master&commit=44d29830d52e322790143f809155a22bedb1a813&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 14:55:56 -> Uploading 14:55:56 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/44d29830d52e322790143f809155a22bedb1a813 [Pipeline] } 14:55:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 14:55:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 14:55:57 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 14:55:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:55:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 14:55:57 14:55:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 14:55:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 14:55:58 1.317.0: Pulling from edgex-devops/edgex-snyk-go 14:55:58 cbdbe7a5bc2a: Pulling fs layer 14:55:58 408f87550127: Pulling fs layer 14:55:58 fe522b08c979: Pulling fs layer 14:55:58 221eaa008020: Pulling fs layer 14:55:58 2a4607e5d6b9: Pulling fs layer 14:55:58 8f79b27c4fd2: Pulling fs layer 14:55:58 e5c8dbe1645b: Pulling fs layer 14:55:58 23e8b3b47431: Pulling fs layer 14:55:58 5c568d65a230: Pulling fs layer 14:55:58 8f79b27c4fd2: Waiting 14:55:58 e5c8dbe1645b: Waiting 14:55:58 23e8b3b47431: Waiting 14:55:58 5c568d65a230: Waiting 14:55:58 221eaa008020: Waiting 14:55:58 2a4607e5d6b9: Waiting 14:55:58 fe522b08c979: Verifying Checksum 14:55:58 fe522b08c979: Download complete 14:55:58 408f87550127: Verifying Checksum 14:55:58 408f87550127: Download complete 14:55:58 2a4607e5d6b9: Verifying Checksum 14:55:58 2a4607e5d6b9: Download complete 14:55:58 8f79b27c4fd2: Verifying Checksum 14:55:58 8f79b27c4fd2: Download complete 14:55:58 cbdbe7a5bc2a: Download complete 14:55:58 e5c8dbe1645b: Verifying Checksum 14:55:58 e5c8dbe1645b: Download complete 14:55:58 cbdbe7a5bc2a: Pull complete 14:55:58 23e8b3b47431: Verifying Checksum 14:55:58 23e8b3b47431: Download complete 14:55:58 408f87550127: Pull complete 14:55:59 5c568d65a230: Verifying Checksum 14:55:59 5c568d65a230: Download complete 14:55:59 fe522b08c979: Pull complete 14:55:59 221eaa008020: Verifying Checksum 14:55:59 221eaa008020: Download complete 14:56:04 221eaa008020: Pull complete 14:56:04 2a4607e5d6b9: Pull complete 14:56:04 8f79b27c4fd2: Pull complete 14:56:06 e5c8dbe1645b: Pull complete 14:56:09 23e8b3b47431: Pull complete 14:56:10 5c568d65a230: Pull complete 14:56:10 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 14:56:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 14:56:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 14:56:10 prd-centos7-docker-4c-2g-2756 does not seem to be running inside a container 14:56:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/gexfoundry_device-rest-go_master:/ws -w /ws --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 14:56:11 $ docker top 620c89000c66a1f9e622ddea664d2150a964466a7df3f2e97f9621dfa7f477a3 -eo pid,comm [Pipeline] { [Pipeline] sh 14:56:12 + snyk monitor '--org=edgex-jenkins' 14:56:17 14:56:17 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 14:56:17 14:56:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/e762fa92-9453-483f-a642-ac13c0ce6d02 14:56:17 14:56:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:56:17 14:56:17 [Pipeline] } 14:56:17 $ docker stop --time=1 620c89000c66a1f9e622ddea664d2150a964466a7df3f2e97f9621dfa7f477a3 14:56:19 $ docker rm -f 620c89000c66a1f9e622ddea664d2150a964466a7df3f2e97f9621dfa7f477a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:56:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 14:56:20 14:56:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 14:56:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 14:56:20 latest: Pulling from edgex-devops/edgex-klar 14:56:20 e7c96db7181b: Pulling fs layer 14:56:20 1868ca2cb446: Pulling fs layer 14:56:20 136be5d0fe8e: Pulling fs layer 14:56:20 894bfe63afcb: Pulling fs layer 14:56:20 894bfe63afcb: Waiting 14:56:20 1868ca2cb446: Verifying Checksum 14:56:20 1868ca2cb446: Download complete 14:56:20 e7c96db7181b: Verifying Checksum 14:56:20 e7c96db7181b: Download complete 14:56:20 894bfe63afcb: Verifying Checksum 14:56:20 894bfe63afcb: Download complete 14:56:21 e7c96db7181b: Pull complete 14:56:21 1868ca2cb446: Pull complete 14:56:21 136be5d0fe8e: Pull complete 14:56:21 894bfe63afcb: Pull complete 14:56:21 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 14:56:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 14:56:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 14:56:21 prd-centos7-docker-4c-2g-2756 does not seem to be running inside a container 14:56:21 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 14:56:22 $ docker top cb0826dfeec8e6a0f9369c525541342b0cc7c85e6861a09fdd161f8ec4afcbd2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:56:23 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813 14:56:23 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 14:56:26 $ docker stop --time=1 cb0826dfeec8e6a0f9369c525541342b0cc7c85e6861a09fdd161f8ec4afcbd2 14:56:28 $ docker rm -f cb0826dfeec8e6a0f9369c525541342b0cc7c85e6861a09fdd161f8ec4afcbd2 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 14:56:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 14:56:28 . [Pipeline] withDockerContainer 14:56:28 prd-centos7-docker-4c-2g-2756 does not seem to be running inside a container 14:56:28 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 14:56:29 $ docker top fcfe50bfd18e0bc67c49fb79a7360419f9fcad7fa6fba1d7c3114005aff276d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:56:29 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813 14:56:29 + tee 14:56:29 clair timeout 1m0s 14:56:29 docker timeout: 1m0s 14:56:29 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 14:56:30 $ docker stop --time=1 fcfe50bfd18e0bc67c49fb79a7360419f9fcad7fa6fba1d7c3114005aff276d0 14:56:31 $ docker rm -f fcfe50bfd18e0bc67c49fb79a7360419f9fcad7fa6fba1d7c3114005aff276d0 [Pipeline] // withDockerContainer [Pipeline] sh 14:56:32 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 14:56:32 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go_44d29830d52e322790143f809155a22bedb1a813.html [Pipeline] writeFile [Pipeline] step 14:56:32 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 14:56:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 14:56:32 . [Pipeline] withDockerContainer 14:56:32 prd-centos7-docker-4c-2g-2756 does not seem to be running inside a container 14:56:32 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 14:56:33 $ docker top c576d34f0c639a0ee0aca7e77dda350f2b47fa1384bf243edbbde3ae085747db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:56:33 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813 14:56:33 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 14:56:37 $ docker stop --time=1 c576d34f0c639a0ee0aca7e77dda350f2b47fa1384bf243edbbde3ae085747db 14:56:38 $ docker rm -f c576d34f0c639a0ee0aca7e77dda350f2b47fa1384bf243edbbde3ae085747db [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 14:56:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 14:56:39 . [Pipeline] withDockerContainer 14:56:39 prd-centos7-docker-4c-2g-2756 does not seem to be running inside a container 14:56:39 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 14:56:39 $ docker top 9a6f8d1753b3fd46bf7ed5beac4c84f374e75c481967bd26cbe07da5772d8038 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:56:40 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813 14:56:40 + tee 14:56:40 clair timeout 1m0s 14:56:40 docker timeout: 1m0s 14:56:40 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 14:56:40 $ docker stop --time=1 9a6f8d1753b3fd46bf7ed5beac4c84f374e75c481967bd26cbe07da5772d8038 14:56:42 $ docker rm -f 9a6f8d1753b3fd46bf7ed5beac4c84f374e75c481967bd26cbe07da5772d8038 [Pipeline] // withDockerContainer [Pipeline] sh 14:56:42 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 14:56:42 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go-arm64_44d29830d52e322790143f809155a22bedb1a813.html [Pipeline] writeFile [Pipeline] step 14:56:42 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 14:56:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:56:43 . [Pipeline] withDockerContainer 14:56:43 prd-centos7-docker-4c-2g-2756 does not seem to be running inside a container 14:56:43 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 14:56:44 $ docker top 2bb9d2ec13f2ec19453a32f35f1747e010be52597c51e2d09edcb9faef1698d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:56:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:56:44 [ssh-agent] Looking for ssh-agent implementation... 14:56:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:56:44 $ docker exec 2bb9d2ec13f2ec19453a32f35f1747e010be52597c51e2d09edcb9faef1698d0 ssh-agent 14:56:44 SSH_AUTH_SOCK=/tmp/ssh-zIaZy0Qn6Ezy/agent.12 14:56:44 SSH_AGENT_PID=17 14:56:44 Running ssh-add (command line suppressed) 14:56:44 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3552863154910614020.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3552863154910614020.key) 14:56:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:56:45 + git semver tag 14:56:45 # -> Open(): unable to determine branch for HEAD 14:56:45 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 14:56:45 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 14:56:45 # $SEMVER_REMOTE_NAME = origin 14:56:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:56:45 # $SEMVER_USER_NAME = edgex-jenkins 14:56:45 # $SEMVER_BRANCH = master 14:56:45 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 14:56:45 # 44d29830d52e322790143f809155a22bedb1a813 HEAD 14:56:45 # -> Force: false 14:56:45 # 0685f82c4da7de95a0a92028c0a44ea771b5cac9 refs/tags/v1.1.1-dev.1 [Pipeline] } 14:56:45 $ docker exec --env ******** --env ******** 2bb9d2ec13f2ec19453a32f35f1747e010be52597c51e2d09edcb9faef1698d0 ssh-agent -k 14:56:45 unset SSH_AUTH_SOCK; 14:56:45 unset SSH_AGENT_PID; 14:56:45 echo Agent pid 17 killed; 14:56:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:56:45 + git semver [Pipeline] } 14:56:45 $ docker stop --time=1 2bb9d2ec13f2ec19453a32f35f1747e010be52597c51e2d09edcb9faef1698d0 14:56:47 $ docker rm -f 2bb9d2ec13f2ec19453a32f35f1747e010be52597c51e2d09edcb9faef1698d0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:56:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:56:47 14:56:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:56:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:56:48 0.23.1-centos7: Pulling from edgex-lftools 14:56:48 ab5ef0e58194: Pulling fs layer 14:56:48 9712f1f96733: Pulling fs layer 14:56:48 63f879dbbcfc: Pulling fs layer 14:56:48 0d9ebad4ef96: Pulling fs layer 14:56:48 e9a5061849ea: Pulling fs layer 14:56:48 d747dcd14b5f: Pulling fs layer 14:56:48 2de7ff778b66: Pulling fs layer 14:56:48 e9a5061849ea: Waiting 14:56:48 d747dcd14b5f: Waiting 14:56:48 2de7ff778b66: Waiting 14:56:48 0d9ebad4ef96: Waiting 14:56:48 9712f1f96733: Verifying Checksum 14:56:48 9712f1f96733: Download complete 14:56:48 63f879dbbcfc: Verifying Checksum 14:56:48 63f879dbbcfc: Download complete 14:56:48 e9a5061849ea: Verifying Checksum 14:56:48 e9a5061849ea: Download complete 14:56:48 d747dcd14b5f: Verifying Checksum 14:56:48 d747dcd14b5f: Download complete 14:56:48 0d9ebad4ef96: Verifying Checksum 14:56:48 0d9ebad4ef96: Download complete 14:56:48 ab5ef0e58194: Verifying Checksum 14:56:48 ab5ef0e58194: Download complete 14:56:48 2de7ff778b66: Verifying Checksum 14:56:48 2de7ff778b66: Download complete 14:56:53 ab5ef0e58194: Pull complete 14:56:53 9712f1f96733: Pull complete 14:56:57 63f879dbbcfc: Pull complete 14:57:02 0d9ebad4ef96: Pull complete 14:57:03 e9a5061849ea: Pull complete 14:57:03 d747dcd14b5f: Pull complete 14:57:08 2de7ff778b66: Pull complete 14:57:08 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:57:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:57:08 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:57:08 prd-centos7-docker-4c-2g-2756 does not seem to be running inside a container 14:57:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 14:57:10 $ docker top 3a39fd709e5195ef24dd9b42c07076bb3500da08b77b458d5aabf9246e2fee7f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:57:10 provisioning config files... 14:57:10 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3519859752792734864tmp 14:57:10 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8468256522693512532tmp 14:57:11 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7640121923819890397tmp [Pipeline] { [Pipeline] echo 14:57:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:57:11 ---> sigul-configuration.sh 14:57:11 gpg: directory `/root/.gnupg' created 14:57:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:57:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:57:11 gpg: keyring `/root/.gnupg/secring.gpg' created 14:57:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:57:11 gpg: CAST5 encrypted data 14:57:11 gpg: encrypted with 1 passphrase 14:57:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:57:11 + mkdir /home/jenkins 14:57:11 + mkdir /home/jenkins/sigul [Pipeline] sh 14:57:12 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 14:57:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:57:12 ---> sigul-install.sh 14:57:16 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 14:57:17 + git tag --list 14:57:17 v1.1.1-dev.1 [Pipeline] sh 14:57:17 + lftools sign git-tag v1.1.1-dev.1 14:57:18 Signing Git tag with Sigul... 14:57:18 Signing v1.1.1-dev.1 [Pipeline] echo 14:57:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:57:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:57:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:57:19 $ docker stop --time=1 3a39fd709e5195ef24dd9b42c07076bb3500da08b77b458d5aabf9246e2fee7f 14:57:21 $ docker rm -f 3a39fd709e5195ef24dd9b42c07076bb3500da08b77b458d5aabf9246e2fee7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 14:57:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:57:22 . [Pipeline] withDockerContainer 14:57:22 prd-centos7-docker-4c-2g-2756 does not seem to be running inside a container 14:57:22 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 14:57:23 $ docker top da5d6bac902f28db43a1ae97da7059b38944c2471a0bb5092fd30c5a2519ade4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:57:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:57:23 [ssh-agent] Looking for ssh-agent implementation... 14:57:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:57:23 $ docker exec da5d6bac902f28db43a1ae97da7059b38944c2471a0bb5092fd30c5a2519ade4 ssh-agent 14:57:23 SSH_AUTH_SOCK=/tmp/ssh-3XmXB3szFsfF/agent.12 14:57:23 SSH_AGENT_PID=18 14:57:23 Running ssh-add (command line suppressed) 14:57:23 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1846648119852850058.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1846648119852850058.key) 14:57:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:57:24 + git semver bump pre 14:57:24 # -> Open(): unable to determine branch for HEAD 14:57:24 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 14:57:24 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 14:57:24 # $SEMVER_REMOTE_NAME = origin 14:57:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:57:24 # $SEMVER_USER_NAME = edgex-jenkins 14:57:24 # $SEMVER_BRANCH = master 14:57:24 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 14:57:24 1.1.1-dev.2 [Pipeline] } 14:57:24 $ docker exec --env ******** --env ******** da5d6bac902f28db43a1ae97da7059b38944c2471a0bb5092fd30c5a2519ade4 ssh-agent -k 14:57:24 unset SSH_AUTH_SOCK; 14:57:24 unset SSH_AGENT_PID; 14:57:24 echo Agent pid 18 killed; 14:57:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:57:24 + git semver [Pipeline] } 14:57:24 $ docker stop --time=1 da5d6bac902f28db43a1ae97da7059b38944c2471a0bb5092fd30c5a2519ade4 14:57:25 $ docker rm -f da5d6bac902f28db43a1ae97da7059b38944c2471a0bb5092fd30c5a2519ade4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 14:57:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:57:26 . [Pipeline] withDockerContainer 14:57:26 prd-centos7-docker-4c-2g-2756 does not seem to be running inside a container 14:57:26 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 14:57:27 $ docker top 4367ba7fff78808740deb987d01d09a1d19b4be5606290d1bc96fef9a09d6113 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:57:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:57:27 [ssh-agent] Looking for ssh-agent implementation... 14:57:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:57:27 $ docker exec 4367ba7fff78808740deb987d01d09a1d19b4be5606290d1bc96fef9a09d6113 ssh-agent 14:57:27 SSH_AUTH_SOCK=/tmp/ssh-7EFlzHKF2fTK/agent.11 14:57:27 SSH_AGENT_PID=16 14:57:27 Running ssh-add (command line suppressed) 14:57:27 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_351832467317316682.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_351832467317316682.key) 14:57:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:57:28 + git semver push 14:57:28 # -> Open(): unable to determine branch for HEAD 14:57:28 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 14:57:28 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 14:57:28 # $SEMVER_REMOTE_NAME = origin 14:57:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:57:28 # $SEMVER_USER_NAME = edgex-jenkins 14:57:28 # $SEMVER_BRANCH = master 14:57:28 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 14:57:34 $ docker exec --env ******** --env ******** 4367ba7fff78808740deb987d01d09a1d19b4be5606290d1bc96fef9a09d6113 ssh-agent -k 14:57:34 unset SSH_AUTH_SOCK; 14:57:34 unset SSH_AGENT_PID; 14:57:34 echo Agent pid 16 killed; 14:57:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:57:35 + git semver [Pipeline] } 14:57:35 $ docker stop --time=1 4367ba7fff78808740deb987d01d09a1d19b4be5606290d1bc96fef9a09d6113 14:57:36 $ docker rm -f 4367ba7fff78808740deb987d01d09a1d19b4be5606290d1bc96fef9a09d6113 [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 14:57:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:57:37 ---> package-listing.sh 14:57:37 ++ facter osfamily 14:57:37 ++ tr '[:upper:]' '[:lower:]' 14:57:37 + OS_FAMILY=redhat 14:57:37 + workspace=/w/workspace/gexfoundry_device-rest-go_master 14:57:37 + START_PACKAGES=/tmp/packages_start.txt 14:57:37 + END_PACKAGES=/tmp/packages_end.txt 14:57:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:57:37 + PACKAGES=/tmp/packages_start.txt 14:57:37 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 14:57:37 + PACKAGES=/tmp/packages_end.txt 14:57:37 + case "${OS_FAMILY}" in 14:57:37 + rpm -qa 14:57:37 + sort 14:57:42 + '[' -f /tmp/packages_start.txt ']' 14:57:42 + '[' -f /tmp/packages_end.txt ']' 14:57:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:57:42 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 14:57:42 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 14:57:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 14:57:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:57:42 14:57:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:57:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:57:42 alpine: Pulling from edgex-lftools-log-publisher 14:57:42 c9b1b535fdd9: Pulling fs layer 14:57:42 2cc5ad85d9ab: Pulling fs layer 14:57:42 756a868c4378: Pulling fs layer 14:57:42 444b2fc9a129: Pulling fs layer 14:57:42 ea15f1150254: Pulling fs layer 14:57:42 41b27a9f41bf: Pulling fs layer 14:57:42 28c525ee5125: Pulling fs layer 14:57:42 094b1ea09ed8: Pulling fs layer 14:57:42 138eaada9080: Pulling fs layer 14:57:42 0622d0fa9048: Pulling fs layer 14:57:42 138eaada9080: Waiting 14:57:42 41b27a9f41bf: Waiting 14:57:42 28c525ee5125: Waiting 14:57:42 094b1ea09ed8: Waiting 14:57:42 0622d0fa9048: Waiting 14:57:42 444b2fc9a129: Waiting 14:57:42 ea15f1150254: Waiting 14:57:42 2cc5ad85d9ab: Download complete 14:57:42 444b2fc9a129: Verifying Checksum 14:57:42 444b2fc9a129: Download complete 14:57:42 c9b1b535fdd9: Verifying Checksum 14:57:42 c9b1b535fdd9: Download complete 14:57:42 ea15f1150254: Verifying Checksum 14:57:42 ea15f1150254: Download complete 14:57:43 28c525ee5125: Verifying Checksum 14:57:43 28c525ee5125: Download complete 14:57:43 756a868c4378: Verifying Checksum 14:57:43 756a868c4378: Download complete 14:57:43 138eaada9080: Verifying Checksum 14:57:43 138eaada9080: Download complete 14:57:43 0622d0fa9048: Verifying Checksum 14:57:43 0622d0fa9048: Download complete 14:57:43 094b1ea09ed8: Verifying Checksum 14:57:43 094b1ea09ed8: Download complete 14:57:43 c9b1b535fdd9: Pull complete 14:57:44 2cc5ad85d9ab: Pull complete 14:57:44 41b27a9f41bf: Verifying Checksum 14:57:45 756a868c4378: Pull complete 14:57:45 444b2fc9a129: Pull complete 14:57:45 ea15f1150254: Pull complete 14:57:49 41b27a9f41bf: Pull complete 14:57:49 28c525ee5125: Pull complete 14:57:51 094b1ea09ed8: Pull complete 14:57:52 138eaada9080: Pull complete 14:57:52 0622d0fa9048: Pull complete 14:57:52 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:57:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:57:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:57:52 prd-centos7-docker-4c-2g-2756 does not seem to be running inside a container 14:57:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 14:57:55 $ docker top bcca9e92cdbf51ba86b16984d905aa53e762943f4b3d93b6dba4197135d3201f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:57:55 provisioning config files... 14:57:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3681662686650874495tmp [Pipeline] { [Pipeline] echo 14:57:55 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:57:55 ---> create-netrc.sh [Pipeline] echo 14:57:55 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:57:56 ---> logs-deploy.sh 14:57:56 + ARCHIVE_ARTIFACTS= 14:57:56 + LOGS_SERVER=https://logs.edgexfoundry.org 14:57:56 + '[' https://logs.edgexfoundry.org == None ']' 14:57:56 + NEXUS_URL=https://nexus.edgexfoundry.org 14:57:56 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/9 14:57:56 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/9/ 14:57:56 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/9 /w/workspace/gexfoundry_device-rest-go_master 14:57:57 Archives upload complete. 14:57:57 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/9 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/9/