Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b106d00ae92e946d2103bc6c1464522635373c7b 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-3394 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 Checking out Revision b106d00ae92e946d2103bc6c1464522635373c7b (master) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 Commit message: "Merge pull request #25 from edgexfoundry/update-pr-template" > git rev-list --no-walk bcdb88283644107a936668d00e74c74f1869e398 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:21:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:21:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:21:24 ========================================================= 19:21:24 EdgeX Global Pipelines Version Info 19:21:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:21:26 ------------------- 19:21:26 stable info: 19:21:26 ------------------- 19:21:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:21:26 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 19:21:26 Message: update stable to v1.0.89 19:21:27 ------------------- 19:21:27 experimental info: 19:21:27 ------------------- 19:21:27 Commited By: **** collab-it+edgex@linuxfoundation.org 19:21:27 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 19:21:27 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 19:21:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:21:28 19:21:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:21:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:21:29 latest: Pulling from edgex-devops/git-semver 19:21:29 9123ac7c32f7: Pulling fs layer 19:21:29 b8cc5d1170e3: Pulling fs layer 19:21:29 2924cbbf6a41: Pulling fs layer 19:21:29 93b08a4f1073: Pulling fs layer 19:21:29 93b08a4f1073: Waiting 19:21:29 b8cc5d1170e3: Verifying Checksum 19:21:29 b8cc5d1170e3: Download complete 19:21:29 9123ac7c32f7: Download complete 19:21:29 2924cbbf6a41: Verifying Checksum 19:21:29 2924cbbf6a41: Download complete 19:21:29 93b08a4f1073: Verifying Checksum 19:21:29 93b08a4f1073: Download complete 19:21:29 9123ac7c32f7: Pull complete 19:21:29 b8cc5d1170e3: Pull complete 19:21:30 2924cbbf6a41: Pull complete 19:21:30 93b08a4f1073: Pull complete 19:21:30 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 19:21:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:21:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:21:30 prd-centos7-docker-4c-2g-3394 does not seem to be running inside a container 19:21:30 $ 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 19:21:32 $ docker top 37b92124b535f57beaa7300e64ba00b9c07ef90674a8f9d6b282c74e23ad33bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:21:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:21:32 [ssh-agent] Looking for ssh-agent implementation... 19:21:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:21:32 $ docker exec 37b92124b535f57beaa7300e64ba00b9c07ef90674a8f9d6b282c74e23ad33bb ssh-agent 19:21:32 SSH_AUTH_SOCK=/tmp/ssh-ZELn7VTyMpdt/agent.11 19:21:32 SSH_AGENT_PID=16 19:21:32 Running ssh-add (command line suppressed) 19:21:33 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3224500214438509114.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3224500214438509114.key) 19:21:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:21:33 + git describe --exact-match --tags HEAD 19:21:33 fatal: No names found, cannot describe anything. [Pipeline] } 19:21:33 $ docker exec --env ******** --env ******** 37b92124b535f57beaa7300e64ba00b9c07ef90674a8f9d6b282c74e23ad33bb ssh-agent -k 19:21:33 unset SSH_AUTH_SOCK; 19:21:33 unset SSH_AGENT_PID; 19:21:33 echo Agent pid 16 killed; 19:21:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 19:21:33 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 19:21:33 This usually means this commit has not been tagged. [Pipeline] sshagent 19:21:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:21:33 [ssh-agent] Looking for ssh-agent implementation... 19:21:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:21:33 $ docker exec 37b92124b535f57beaa7300e64ba00b9c07ef90674a8f9d6b282c74e23ad33bb ssh-agent 19:21:34 SSH_AUTH_SOCK=/tmp/ssh-rrJmr7mEUQiS/agent.44 19:21:34 SSH_AGENT_PID=50 19:21:34 Running ssh-add (command line suppressed) 19:21:34 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4399861344689011976.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4399861344689011976.key) 19:21:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:21:34 + git semver init 19:21:34 # -> Open(): unable to determine branch for HEAD 19:21:34 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 19:21:34 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 19:21:34 # $SEMVER_REMOTE_NAME = origin 19:21:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:21:34 # $SEMVER_USER_NAME = edgex-jenkins 19:21:34 # $SEMVER_BRANCH = master 19:21:34 # $SEMVER_TEMP = /tmp/semver-731266105 19:21:34 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 19:21:35 # '/tmp/semver-731266105' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 19:21:35 # -> Force: false 19:21:35 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 19:21:35 $ docker exec --env ******** --env ******** 37b92124b535f57beaa7300e64ba00b9c07ef90674a8f9d6b282c74e23ad33bb ssh-agent -k 19:21:35 unset SSH_AUTH_SOCK; 19:21:35 unset SSH_AGENT_PID; 19:21:35 echo Agent pid 50 killed; 19:21:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:21:35 + git semver [Pipeline] } 19:21:35 $ docker stop --time=1 37b92124b535f57beaa7300e64ba00b9c07ef90674a8f9d6b282c74e23ad33bb 19:21:37 $ docker rm -f 37b92124b535f57beaa7300e64ba00b9c07ef90674a8f9d6b282c74e23ad33bb [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 19:21:38 Stashed 19 file(s) [Pipeline] echo 19:21:38 [edgeXSemver] initialized semver on version 1.1.2-dev.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 19:21:53 Still waiting to schedule task 19:21:53 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3394’ 19:21:53 Still waiting to schedule task 19:21:53 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 19:23:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3395 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 19:23:31 Running in /w/workspace/device-rest-go/13 [Pipeline] { [Pipeline] checkout 19:23:36 using credential edgex-jenkins-ssh 19:23:36 Cloning the remote Git repository 19:23:36 Cloning with configured refspecs honoured and without tags 19:23:36 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:23:36 > git init /w/workspace/device-rest-go/13 # timeout=10 19:23:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:23:36 > git --version # timeout=10 19:23:36 using GIT_SSH to set credentials SSH Credentials for GitHub 19:23:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 19:23:38 Fetching without tags 19:23:38 Checking out Revision b106d00ae92e946d2103bc6c1464522635373c7b (master) 19:23:38 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:23:38 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:23:38 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:23:38 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:23:38 using GIT_SSH to set credentials SSH Credentials for GitHub 19:23:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 19:23:38 > git config core.sparsecheckout # timeout=10 19:23:38 > git checkout -f b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 19:23:43 Commit message: "Merge pull request #25 from edgexfoundry/update-pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:23:45 ========================================================= 19:23:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 19:23:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:23:46 + 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 . 19:23:47 Sending build context to Docker daemon 8.022MB 19:23:47 Step 1/10 : ARG BASE=golang:1.13-alpine 19:23:47 Step 2/10 : FROM ${BASE} 19:23:47 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:23:47 cde5963f3b93: Pulling fs layer 19:23:47 2a23fa8c16f7: Pulling fs layer 19:23:47 777b28850792: Pulling fs layer 19:23:47 8a11ddd9e578: Pulling fs layer 19:23:47 4cf88f913ddb: Pulling fs layer 19:23:47 1df406cf5192: Pulling fs layer 19:23:47 cd6300453558: Pulling fs layer 19:23:47 b9c365052c96: Pulling fs layer 19:23:47 a2d8cc88f415: Pulling fs layer 19:23:47 ea1d1ca13537: Pulling fs layer 19:23:47 3750a50a1c5e: Pulling fs layer 19:23:47 8a11ddd9e578: Waiting 19:23:47 4cf88f913ddb: Waiting 19:23:47 1df406cf5192: Waiting 19:23:47 cd6300453558: Waiting 19:23:47 b9c365052c96: Waiting 19:23:47 a2d8cc88f415: Waiting 19:23:47 ea1d1ca13537: Waiting 19:23:47 3750a50a1c5e: Waiting 19:23:47 777b28850792: Download complete 19:23:47 2a23fa8c16f7: Download complete 19:23:47 4cf88f913ddb: Download complete 19:23:47 1df406cf5192: Verifying Checksum 19:23:47 1df406cf5192: Download complete 19:23:47 cde5963f3b93: Verifying Checksum 19:23:47 cde5963f3b93: Download complete 19:23:48 cde5963f3b93: Pull complete 19:23:49 2a23fa8c16f7: Pull complete 19:23:50 777b28850792: Pull complete 19:23:50 cd6300453558: Verifying Checksum 19:23:50 cd6300453558: Download complete 19:23:50 a2d8cc88f415: Verifying Checksum 19:23:50 a2d8cc88f415: Download complete 19:23:51 ea1d1ca13537: Verifying Checksum 19:23:51 ea1d1ca13537: Download complete 19:23:51 3750a50a1c5e: Verifying Checksum 19:23:51 3750a50a1c5e: Download complete 19:23:52 b9c365052c96: Verifying Checksum 19:23:52 b9c365052c96: Download complete 19:23:53 8a11ddd9e578: Verifying Checksum 19:23:53 8a11ddd9e578: Download complete 19:24:05 8a11ddd9e578: Pull complete 19:24:05 4cf88f913ddb: Pull complete 19:24:05 1df406cf5192: Pull complete 19:24:08 cd6300453558: Pull complete 19:24:14 b9c365052c96: Pull complete 19:24:14 a2d8cc88f415: Pull complete 19:24:16 ea1d1ca13537: Pull complete 19:24:16 3750a50a1c5e: Pull complete 19:24:16 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 19:24:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 19:24:16 ---> 78745c68409d 19:24:16 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 19:24:21 Running on prd-centos7-docker-4c-2g-3396 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 19:24:21 Running in /w/workspace/device-rest-go/13 [Pipeline] { [Pipeline] checkout 19:24:21 ---> Running in f2c6b4e03810 19:24:21 Removing intermediate container f2c6b4e03810 19:24:21 ---> dabad88cb087 19:24:21 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 19:24:21 ---> Running in 0f229cb0ba18 19:24:21 Removing intermediate container 0f229cb0ba18 19:24:21 ---> c0909ffd6496 19:24:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:24:22 ---> Running in 6b4041cf7964 19:24:22 Removing intermediate container 6b4041cf7964 19:24:22 ---> 7b1912268a86 19:24:22 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:24:22 ---> Running in d6e28d74bbcc 19:24:23 using credential edgex-jenkins-ssh 19:24:23 Cloning the remote Git repository 19:24:23 Cloning with configured refspecs honoured and without tags 19:24:23 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:24:23 > git init /w/workspace/device-rest-go/13 # timeout=10 19:24:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:24:23 > git --version # timeout=10 19:24:24 Fetching without tags 19:24:23 using GIT_SSH to set credentials SSH Credentials for GitHub 19:24:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 19:24:24 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:24:24 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:24:24 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:24:24 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:24:24 using GIT_SSH to set credentials SSH Credentials for GitHub 19:24:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 19:24:24 Checking out Revision b106d00ae92e946d2103bc6c1464522635373c7b (master) 19:24:25 Removing intermediate container d6e28d74bbcc 19:24:25 ---> 868a60ae670b 19:24:25 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:24:25 ---> Running in 9bc1536ddba2 19:24:24 > git config core.sparsecheckout # timeout=10 19:24:24 > git checkout -f b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 19:24:26 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 19:24:27 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 19:24:28 Commit message: "Merge pull request #25 from edgexfoundry/update-pr-template" 19:24:28 OK: 125 MiB in 39 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 19:24:29 ========================================================= 19:24:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 19:24:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:24:29 Removing intermediate container 9bc1536ddba2 19:24:29 ---> cd75cb6c6296 19:24:29 Step 8/10 : WORKDIR /device-rest-go 19:24:29 ---> Running in 52f0a9727dfa 19:24:29 + 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 . 19:24:30 Removing intermediate container 52f0a9727dfa 19:24:30 ---> 31f73e3334c4 19:24:30 Step 9/10 : COPY . . 19:24:30 Sending build context to Docker daemon 8.022MB 19:24:30 Step 1/10 : ARG BASE=golang:1.13-alpine 19:24:30 Step 2/10 : FROM ${BASE} 19:24:30 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 19:24:30 e6b0cf9c0882: Pulling fs layer 19:24:30 2848faf0eed1: Pulling fs layer 19:24:30 0f37312ad70f: Pulling fs layer 19:24:30 5788d62ee057: Pulling fs layer 19:24:30 0e6b1d234666: Pulling fs layer 19:24:30 bf5d7aec512f: Pulling fs layer 19:24:30 34c802a77dc8: Pulling fs layer 19:24:30 9eb99e56ec68: Pulling fs layer 19:24:30 27c7a5d97fbd: Pulling fs layer 19:24:30 5c102a31e300: Pulling fs layer 19:24:30 dcfb455df0a1: Pulling fs layer 19:24:30 bf5d7aec512f: Waiting 19:24:30 34c802a77dc8: Waiting 19:24:30 9eb99e56ec68: Waiting 19:24:30 27c7a5d97fbd: Waiting 19:24:30 5c102a31e300: Waiting 19:24:30 dcfb455df0a1: Waiting 19:24:30 5788d62ee057: Waiting 19:24:30 0e6b1d234666: Waiting 19:24:30 0f37312ad70f: Verifying Checksum 19:24:30 0f37312ad70f: Download complete 19:24:30 2848faf0eed1: Download complete 19:24:30 0e6b1d234666: Verifying Checksum 19:24:30 0e6b1d234666: Download complete 19:24:30 bf5d7aec512f: Verifying Checksum 19:24:30 bf5d7aec512f: Download complete 19:24:30 e6b0cf9c0882: Verifying Checksum 19:24:30 e6b0cf9c0882: Download complete 19:24:30 e6b0cf9c0882: Pull complete 19:24:31 34c802a77dc8: Verifying Checksum 19:24:31 34c802a77dc8: Download complete 19:24:31 27c7a5d97fbd: Verifying Checksum 19:24:31 27c7a5d97fbd: Download complete 19:24:31 ---> 4178cc724c4a 19:24:31 Step 10/10 : RUN go mod download 19:24:31 ---> Running in b6148527e057 19:24:31 5788d62ee057: Verifying Checksum 19:24:31 5788d62ee057: Download complete 19:24:31 9eb99e56ec68: Verifying Checksum 19:24:31 9eb99e56ec68: Download complete 19:24:31 5c102a31e300: Verifying Checksum 19:24:31 5c102a31e300: Download complete 19:24:31 dcfb455df0a1: Verifying Checksum 19:24:31 dcfb455df0a1: Download complete 19:24:32 2848faf0eed1: Pull complete 19:24:32 0f37312ad70f: Pull complete 19:24:34 go: finding github.com/BurntSushi/toml v0.3.1 19:24:34 go: finding github.com/OneOfOne/xxhash v1.2.6 19:24:34 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:24:34 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:24:34 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:24:34 go: finding github.com/bgentry/speakeasy v0.1.0 19:24:34 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:24:34 go: finding github.com/davecgh/go-spew v1.1.1 19:24:34 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 19:24:34 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 19:24:34 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:24:34 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:24:34 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 19:24:34 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:24:34 go: finding github.com/fatih/color v1.7.0 19:24:34 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:24:34 go: finding github.com/go-kit/kit v0.8.0 19:24:34 go: finding github.com/go-logfmt/logfmt v0.4.0 19:24:34 go: finding github.com/go-stack/stack v1.8.0 19:24:34 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:24:34 go: finding github.com/google/uuid v1.1.0 19:24:34 go: finding github.com/gorilla/mux v1.7.1 19:24:34 go: finding github.com/hashicorp/consul/api v1.1.0 19:24:34 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:24:34 go: finding github.com/hashicorp/errwrap v1.0.0 19:24:34 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:24:34 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:24:34 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:24:34 go: finding github.com/hashicorp/go-multierror v1.0.0 19:24:34 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:24:34 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:24:34 go: finding github.com/hashicorp/go-syslog v1.0.0 19:24:34 go: finding github.com/hashicorp/go-uuid v1.0.1 19:24:34 go: finding github.com/hashicorp/go.net v0.0.1 19:24:34 go: finding github.com/hashicorp/golang-lru v0.5.0 19:24:34 go: finding github.com/hashicorp/logutils v1.0.0 19:24:34 go: finding github.com/hashicorp/mdns v1.0.0 19:24:34 go: finding github.com/hashicorp/memberlist v0.1.3 19:24:34 go: finding github.com/hashicorp/serf v0.8.2 19:24:34 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:24:34 go: finding github.com/mattn/go-colorable v0.0.9 19:24:34 go: finding github.com/mattn/go-isatty v0.0.3 19:24:34 go: finding github.com/miekg/dns v1.0.14 19:24:34 go: finding github.com/mitchellh/cli v1.0.0 19:24:34 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:24:34 go: finding github.com/mitchellh/copystructure v1.0.0 19:24:34 go: finding github.com/mitchellh/go-homedir v1.0.0 19:24:34 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:24:34 go: finding github.com/mitchellh/gox v0.4.0 19:24:34 go: finding github.com/mitchellh/iochan v1.0.0 19:24:34 go: finding github.com/mitchellh/mapstructure v1.1.2 19:24:34 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:24:34 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:24:34 go: finding github.com/pelletier/go-toml v1.2.0 19:24:34 go: finding github.com/pkg/errors v0.8.1 19:24:34 go: finding github.com/pmezard/go-difflib v1.0.0 19:24:34 go: finding github.com/posener/complete v1.1.1 19:24:34 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:24:34 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:24:34 go: finding github.com/spf13/cast v1.3.0 19:24:34 go: finding github.com/stretchr/objx v0.1.0 19:24:34 go: finding github.com/stretchr/testify v1.5.1 19:24:34 go: finding github.com/ugorji/go v1.1.4 19:24:34 go: finding github.com/x448/float16 v0.8.4 19:24:34 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 19:24:34 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 19:24:34 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:24:34 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 19:24:34 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 19:24:34 go: finding gopkg.in/yaml.v2 v2.2.8 19:24:38 5788d62ee057: Pull complete 19:24:38 0e6b1d234666: Pull complete 19:24:38 bf5d7aec512f: Pull complete 19:24:44 Removing intermediate container b6148527e057 19:24:44 ---> 6fd503a0ad20 19:24:44 Successfully built 6fd503a0ad20 19:24:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script 19:24:44 34c802a77dc8: Pull complete [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:24:45 + docker inspect -f . ci-base-image-arm64 19:24:45 . [Pipeline] withDockerContainer 19:24:45 prd-ubuntu18.04-docker-arm64-4c-16g-3395 does not seem to be running inside a container 19:24:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:24:47 9eb99e56ec68: Pull complete 19:24:47 $ docker top 13523ec0171b629152409a65fff3ecb62ae8c0dc6ef47477e6aa9df78f86aa03 -eo pid,comm 19:24:47 27c7a5d97fbd: Pull complete [Pipeline] { [Pipeline] sh 19:24:48 5c102a31e300: Pull complete 19:24:48 dcfb455df0a1: Pull complete 19:24:48 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 19:24:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 19:24:48 ---> 7c70fe431013 19:24:48 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 19:24:48 + go version 19:24:48 go version go1.13.5 linux/arm64 [Pipeline] sh 19:24:49 + make test 19:24:49 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:24:50 ---> Running in 4c17d94540e0 19:24:50 Removing intermediate container 4c17d94540e0 19:24:50 ---> 8aa5011dc92d 19:24:50 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 19:24:50 ---> Running in 269cc231272b 19:24:50 Removing intermediate container 269cc231272b 19:24:50 ---> c7e1e447d063 19:24:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:24:50 ---> Running in 2277cbdc8926 19:24:50 Removing intermediate container 2277cbdc8926 19:24:50 ---> 0bec90d074f1 19:24:50 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:24:50 ---> Running in 8fc46050bb83 19:24:50 ? github.com/edgexfoundry/device-rest-go [no test files] 19:24:51 Removing intermediate container 8fc46050bb83 19:24:51 ---> 3ae2f3aab6ac 19:24:51 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:24:51 ---> Running in 613e6a076874 19:24:52 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 19:24:53 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 19:24:53 OK: 143 MiB in 39 packages 19:24:53 Removing intermediate container 613e6a076874 19:24:53 ---> fbf2b56bf362 19:24:53 Step 8/10 : WORKDIR /device-rest-go 19:24:54 ---> Running in 82f07c4ee86e 19:24:54 Removing intermediate container 82f07c4ee86e 19:24:54 ---> f6d7d8bc9f2a 19:24:54 Step 9/10 : COPY . . 19:24:54 ---> e2ef031839ac 19:24:54 Step 10/10 : RUN go mod download 19:24:54 ---> Running in fd1c17f953a3 19:24:56 go: finding github.com/BurntSushi/toml v0.3.1 19:24:56 go: finding github.com/OneOfOne/xxhash v1.2.6 19:24:56 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:24:56 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:24:56 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:24:56 go: finding github.com/bgentry/speakeasy v0.1.0 19:24:56 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:24:56 go: finding github.com/davecgh/go-spew v1.1.1 19:24:56 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 19:24:56 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 19:24:56 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:24:56 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 19:24:56 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 19:24:56 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:24:56 go: finding github.com/fatih/color v1.7.0 19:24:56 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:24:56 go: finding github.com/go-kit/kit v0.8.0 19:24:56 go: finding github.com/go-logfmt/logfmt v0.4.0 19:24:56 go: finding github.com/go-stack/stack v1.8.0 19:24:56 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:24:56 go: finding github.com/google/uuid v1.1.0 19:24:56 go: finding github.com/gorilla/mux v1.7.1 19:24:56 go: finding github.com/hashicorp/consul/api v1.1.0 19:24:56 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:24:56 go: finding github.com/hashicorp/errwrap v1.0.0 19:24:56 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:24:56 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:24:56 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:24:56 go: finding github.com/hashicorp/go-multierror v1.0.0 19:24:56 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:24:56 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:24:56 go: finding github.com/hashicorp/go-syslog v1.0.0 19:24:56 go: finding github.com/hashicorp/go-uuid v1.0.1 19:24:56 go: finding github.com/hashicorp/go.net v0.0.1 19:24:56 go: finding github.com/hashicorp/golang-lru v0.5.0 19:24:56 go: finding github.com/hashicorp/logutils v1.0.0 19:24:56 go: finding github.com/hashicorp/mdns v1.0.0 19:24:56 go: finding github.com/hashicorp/memberlist v0.1.3 19:24:56 go: finding github.com/hashicorp/serf v0.8.2 19:24:56 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:24:56 go: finding github.com/mattn/go-colorable v0.0.9 19:24:56 go: finding github.com/mattn/go-isatty v0.0.3 19:24:56 go: finding github.com/miekg/dns v1.0.14 19:24:56 go: finding github.com/mitchellh/cli v1.0.0 19:24:56 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:24:56 go: finding github.com/mitchellh/copystructure v1.0.0 19:24:56 go: finding github.com/mitchellh/go-homedir v1.0.0 19:24:56 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:24:56 go: finding github.com/mitchellh/gox v0.4.0 19:24:56 go: finding github.com/mitchellh/iochan v1.0.0 19:24:56 go: finding github.com/mitchellh/mapstructure v1.1.2 19:24:56 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:24:56 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:24:56 go: finding github.com/pelletier/go-toml v1.2.0 19:24:56 go: finding github.com/pkg/errors v0.8.1 19:24:56 go: finding github.com/pmezard/go-difflib v1.0.0 19:24:56 go: finding github.com/posener/complete v1.1.1 19:24:56 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:24:56 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:24:56 go: finding github.com/spf13/cast v1.3.0 19:24:56 go: finding github.com/stretchr/objx v0.1.0 19:24:56 go: finding github.com/stretchr/testify v1.5.1 19:24:56 go: finding github.com/ugorji/go v1.1.4 19:24:56 go: finding github.com/x448/float16 v0.8.4 19:24:56 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 19:24:56 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 19:24:56 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:24:57 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 19:24:57 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 19:24:57 go: finding gopkg.in/yaml.v2 v2.2.8 19:25:03 Removing intermediate container fd1c17f953a3 19:25:03 ---> d7f53c629c7a 19:25:03 Successfully built d7f53c629c7a 19:25:03 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 19:25:04 + docker inspect -f . ci-base-image-x86_64 19:25:04 . [Pipeline] withDockerContainer 19:25:04 prd-centos7-docker-4c-2g-3396 does not seem to be running inside a container 19:25:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:25:05 $ docker top b3234a4cb11deabe5a4be8e3f6caefc1ea989ac8edc3e50bb4551feb230c4cc8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:25:05 + go version 19:25:05 go version go1.13.5 linux/amd64 [Pipeline] sh 19:25:06 + make test 19:25:06 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:25:07 ? github.com/edgexfoundry/device-rest-go [no test files] 19:25:15 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:25:16 ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 56.3% of statements 19:25:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:25:17 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:25:17 gofmt -l . 19:25:17 [ "`gofmt -l .`" = "" ] 19:25:17 ./bin/test-go-mod-tidy.sh 19:25:18 ./bin/test-attribution-txt.sh [Pipeline] stash 19:25:18 Stashed 1 file(s) [Pipeline] } 19:25:18 $ docker stop --time=1 b3234a4cb11deabe5a4be8e3f6caefc1ea989ac8edc3e50bb4551feb230c4cc8 19:25:20 ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 56.3% of statements 19:25:20 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:25:20 $ docker rm -f b3234a4cb11deabe5a4be8e3f6caefc1ea989ac8edc3e50bb4551feb230c4cc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:25:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:25:21 + ls -al . 19:25:21 total 96 19:25:21 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 17 19:25 . 19:25:21 drwxrwxr-x. 4 jenkins jenkins 30 Jun 17 19:24 .. 19:25:21 -rw-rw-r--. 1 jenkins jenkins 4802 Jun 17 19:24 Attribution.txt 19:25:21 drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 19:24 bin 19:25:21 drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 19:24 cmd 19:25:21 -rw-r--r--. 1 jenkins jenkins 9369 Jun 17 19:25 coverage.out 19:25:21 -rw-rw-r--. 1 jenkins jenkins 1504 Jun 17 19:24 Dockerfile 19:25:21 -rw-rw-r--. 1 jenkins jenkins 989 Jun 17 19:24 Dockerfile.build 19:25:21 -rw-rw-r--. 1 jenkins jenkins 151 Jun 17 19:24 .dockerignore 19:25:21 drwxrwxr-x. 2 jenkins jenkins 93 Jun 17 19:25 driver 19:25:21 drwxrwxr-x. 8 jenkins jenkins 162 Jun 17 19:24 .git 19:25:21 drwxrwxr-x. 2 jenkins jenkins 38 Jun 17 19:24 .github 19:25:21 -rw-rw-r--. 1 jenkins jenkins 339 Jun 17 19:24 .gitignore 19:25:21 -rw-r--r--. 1 jenkins jenkins 266 Jun 17 19:25 go.mod 19:25:21 -rw-r--r--. 1 jenkins jenkins 12533 Jun 17 19:25 go.sum 19:25:21 -rw-rw-r--. 1 jenkins jenkins 702 Jun 17 19:24 Jenkinsfile 19:25:21 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 19:24 LICENSE 19:25:21 -rw-rw-r--. 1 jenkins jenkins 951 Jun 17 19:24 Makefile 19:25:21 -rw-rw-r--. 1 jenkins jenkins 5716 Jun 17 19:24 README.md 19:25:21 drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 19:24 .semver 19:25:21 -rw-rw-r--. 1 jenkins jenkins 11 Jun 17 19:21 VERSION 19:25:21 -rw-rw-r--. 1 jenkins jenkins 713 Jun 17 19:24 version.go [Pipeline] isUnix [Pipeline] sh 19:25:22 + 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=b106d00ae92e946d2103bc6c1464522635373c7b --label arch=amd64 --label version=1.1.2-dev.1 . 19:25:22 Sending build context to Docker daemon 8.033MB 19:25:22 Step 1/24 : ARG BASE=golang:1.13-alpine 19:25:22 Step 2/24 : FROM ${BASE} AS builder 19:25:22 ---> d7f53c629c7a 19:25:22 Step 3/24 : ARG MAKE='make build' 19:25:22 ---> Running in 101dfa8a33d1 19:25:22 Removing intermediate container 101dfa8a33d1 19:25:22 ---> bf0abfeab6da 19:25:22 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 19:25:22 ---> Running in fb6cef25406a 19:25:22 Removing intermediate container fb6cef25406a 19:25:22 ---> 51147fa919f1 19:25:22 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 19:25:22 ---> Running in ecd96798f296 19:25:22 Removing intermediate container ecd96798f296 19:25:22 ---> 28c2e1fe94c2 19:25:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:25:22 ---> Running in 73d149324a19 19:25:23 Removing intermediate container 73d149324a19 19:25:23 ---> 45c8a2bd7da6 19:25:23 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:25:23 ---> Running in 68a5a31b1ef2 19:25:24 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 19:25:24 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 19:25:25 OK: 143 MiB in 39 packages 19:25:25 Removing intermediate container 68a5a31b1ef2 19:25:25 ---> 2c8a5a5b9d2f 19:25:25 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 19:25:25 ---> Running in adcec913e0c5 19:25:25 Removing intermediate container adcec913e0c5 19:25:25 ---> a9bae545677a 19:25:25 Step 9/24 : COPY go.mod . 19:25:25 gofmt -l . 19:25:26 ---> 8323bd689e20 19:25:26 Step 10/24 : COPY Makefile . 19:25:26 [ "`gofmt -l .`" = "" ] 19:25:26 ./bin/test-go-mod-tidy.sh 19:25:26 ---> ab6b9556301b 19:25:26 Step 11/24 : RUN make update 19:25:26 ---> Running in 03e95f5ba73b 19:25:26 ./bin/test-attribution-txt.sh 19:25:26 CGO_ENABLED=0 GO111MODULE=on go mod download 19:25:27 Removing intermediate container 03e95f5ba73b 19:25:27 ---> 8277dd26693a 19:25:27 Step 12/24 : COPY . . 19:25:27 ---> 09301b819a89 19:25:27 Step 13/24 : RUN $MAKE [Pipeline] stash 19:25:27 Warning: overwriting stash ‘coverage-report’ 19:25:27 ---> Running in 6da025c76715 19:25:27 Stashed 1 file(s) [Pipeline] } 19:25:27 $ docker stop --time=1 13523ec0171b629152409a65fff3ecb62ae8c0dc6ef47477e6aa9df78f86aa03 19:25:27 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.2-dev.1" -o cmd/device-rest-go ./cmd 19:25:30 $ docker rm -f 13523ec0171b629152409a65fff3ecb62ae8c0dc6ef47477e6aa9df78f86aa03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:25:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:25:31 + ls -al . 19:25:31 total 124 19:25:31 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 19:25 . 19:25:31 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 19:23 .. 19:25:31 -rw-rw-r-- 1 jenkins jenkins 151 Jun 17 19:23 .dockerignore 19:25:31 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 19:23 .git 19:25:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 19:23 .github 19:25:31 -rw-rw-r-- 1 jenkins jenkins 339 Jun 17 19:23 .gitignore 19:25:31 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 19:23 .semver 19:25:31 -rw-rw-r-- 1 jenkins jenkins 4802 Jun 17 19:23 Attribution.txt 19:25:31 -rw-rw-r-- 1 jenkins jenkins 1504 Jun 17 19:23 Dockerfile 19:25:31 -rw-rw-r-- 1 jenkins jenkins 989 Jun 17 19:23 Dockerfile.build 19:25:31 -rw-rw-r-- 1 jenkins jenkins 702 Jun 17 19:23 Jenkinsfile 19:25:31 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 19:23 LICENSE 19:25:31 -rw-rw-r-- 1 jenkins jenkins 951 Jun 17 19:23 Makefile 19:25:31 -rw-rw-r-- 1 jenkins jenkins 5716 Jun 17 19:23 README.md 19:25:31 -rw-rw-r-- 1 jenkins jenkins 11 Jun 17 19:21 VERSION 19:25:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 19:23 bin 19:25:31 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 19:23 cmd 19:25:31 -rw-r--r-- 1 jenkins jenkins 9369 Jun 17 19:25 coverage.out 19:25:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 19:25 driver 19:25:31 -rw-r--r-- 1 jenkins jenkins 266 Jun 17 19:25 go.mod 19:25:31 -rw-r--r-- 1 jenkins jenkins 12533 Jun 17 19:25 go.sum 19:25:31 -rw-rw-r-- 1 jenkins jenkins 713 Jun 17 19:23 version.go [Pipeline] isUnix [Pipeline] sh 19:25:31 + 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=b106d00ae92e946d2103bc6c1464522635373c7b --label arch=arm64 --label version=1.1.2-dev.1 . 19:25:31 Sending build context to Docker daemon 8.033MB 19:25:32 Step 1/24 : ARG BASE=golang:1.13-alpine 19:25:32 Step 2/24 : FROM ${BASE} AS builder 19:25:32 ---> 6fd503a0ad20 19:25:32 Step 3/24 : ARG MAKE='make build' 19:25:32 ---> Running in 429408507c32 19:25:32 Removing intermediate container 429408507c32 19:25:32 ---> a19c8ac5ccde 19:25:32 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 19:25:33 ---> Running in da6b01a0cd69 19:25:33 Removing intermediate container da6b01a0cd69 19:25:33 ---> 5821ff3c9ebb 19:25:33 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 19:25:33 ---> Running in a942fdf7ed49 19:25:33 Removing intermediate container a942fdf7ed49 19:25:33 ---> 7d53ec0dce02 19:25:33 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:25:34 ---> Running in 979b0c9ea12e 19:25:36 Removing intermediate container 979b0c9ea12e 19:25:36 ---> 08dbff5d1274 19:25:36 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:25:36 ---> Running in d3afc5e1123b 19:25:38 Removing intermediate container 6da025c76715 19:25:38 ---> 09590ebac550 19:25:38 Step 14/24 : FROM alpine:latest 19:25:38 latest: Pulling from library/alpine 19:25:38 df20fa9351a1: Pulling fs layer 19:25:38 df20fa9351a1: Verifying Checksum 19:25:38 df20fa9351a1: Download complete 19:25:38 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 19:25:38 df20fa9351a1: Pull complete 19:25:38 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 19:25:38 Status: Downloaded newer image for alpine:latest 19:25:38 ---> a24bb4013296 19:25:38 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:25:38 ---> Running in c32e9428c364 19:25:38 Removing intermediate container c32e9428c364 19:25:38 ---> b9878472701f 19:25:38 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 19:25:38 ---> Running in 9e21015ee66c 19:25:38 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 19:25:38 Removing intermediate container 9e21015ee66c 19:25:38 ---> ae327f9a9df2 19:25:38 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 19:25:38 ---> 043a6efdf176 19:25:38 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 19:25:39 ---> 225e184be9cf 19:25:39 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 19:25:39 OK: 125 MiB in 39 packages 19:25:39 ---> 2bb922c5e158 19:25:39 Step 20/24 : EXPOSE 49986 19:25:39 ---> Running in 29d084af9f8a 19:25:39 Removing intermediate container 29d084af9f8a 19:25:39 ---> 616ff686d961 19:25:39 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 19:25:39 ---> Running in 7455a43a369f 19:25:39 Removing intermediate container 7455a43a369f 19:25:39 ---> 613b53053da2 19:25:39 Step 22/24 : LABEL arch=amd64 19:25:40 ---> Running in 5352ab76d2b2 19:25:40 Removing intermediate container 5352ab76d2b2 19:25:40 ---> a010b1c9642a 19:25:40 Step 23/24 : LABEL git_sha=b106d00ae92e946d2103bc6c1464522635373c7b 19:25:40 ---> Running in 34024e438e21 19:25:40 Removing intermediate container 34024e438e21 19:25:40 ---> 91e40e937220 19:25:40 Step 24/24 : LABEL version=1.1.2-dev.1 19:25:40 ---> Running in ef06829e41de 19:25:40 Removing intermediate container ef06829e41de 19:25:40 ---> c2b5fa0e9511 19:25:40 [Warning] One or more build-args [ARCH] were not consumed 19:25:40 Successfully built c2b5fa0e9511 19:25:40 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 19:25:40 Removing intermediate container d3afc5e1123b 19:25:40 ---> ffd27201c46e 19:25:40 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 19:25:40 ---> Running in d3dbdc9bcfb6 [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:25:40 provisioning config files... 19:25:40 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/13@tmp/config8795540171192663899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:25:41 nexus3.edgexfoundry.org:10001 19:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:41 Configure a credential helper to remove this warning. See 19:25:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:41 19:25:41 Login Succeeded 19:25:41 nexus3.edgexfoundry.org:10002 19:25:41 Removing intermediate container d3dbdc9bcfb6 19:25:41 ---> 05ad9a4d06fc 19:25:41 Step 9/24 : COPY go.mod . 19:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:41 Configure a credential helper to remove this warning. See 19:25:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:41 19:25:41 Login Succeeded 19:25:41 nexus3.edgexfoundry.org:10003 19:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:41 Configure a credential helper to remove this warning. See 19:25:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:41 19:25:41 Login Succeeded 19:25:41 nexus3.edgexfoundry.org:10004 19:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:41 Configure a credential helper to remove this warning. See 19:25:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:41 19:25:41 Login Succeeded 19:25:41 docker.io 19:25:42 ---> 0e2d0d609e2f 19:25:42 Step 10/24 : COPY Makefile . 19:25:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:42 Configure a credential helper to remove this warning. See 19:25:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:42 19:25:42 Login Succeeded [Pipeline] } 19:25:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:25:42 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 19:25:42 b106d00ae92e946d2103bc6c1464522635373c7b 19:25:42 latest 19:25:42 1.1.2-dev.1 19:25:42 b106d00ae92e946d2103bc6c1464522635373c7b-1.1.2-dev.1 19:25:42 master 19:25:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:25:42 ---> 0ac38bb306ed 19:25:42 Step 11/24 : RUN make update 19:25:42 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:b106d00ae92e946d2103bc6c1464522635373c7b [Pipeline] isUnix [Pipeline] sh 19:25:42 ---> Running in 35a1bdf0b041 19:25:43 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:b106d00ae92e946d2103bc6c1464522635373c7b 19:25:43 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 19:25:43 15fb1c095855: Preparing 19:25:43 7ccb777c5d80: Preparing 19:25:43 52bbc6e4d3c2: Preparing 19:25:43 50644c29ef5a: Preparing 19:25:43 50644c29ef5a: Layer already exists 19:25:43 7ccb777c5d80: Pushed 19:25:43 52bbc6e4d3c2: Pushed 19:25:44 CGO_ENABLED=0 GO111MODULE=on go mod download 19:25:44 15fb1c095855: Pushed 19:25:44 b106d00ae92e946d2103bc6c1464522635373c7b: digest: sha256:591ef2d97608970db68bc7488e5a20c439c7e5512074c589eee6b9973833b1be size: 1154 [Pipeline] isUnix [Pipeline] sh 19:25:45 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 19:25:45 Removing intermediate container 35a1bdf0b041 19:25:45 ---> 04b5b8d1ada9 19:25:45 Step 12/24 : COPY . . 19:25:45 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 19:25:45 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 19:25:45 15fb1c095855: Preparing 19:25:45 7ccb777c5d80: Preparing 19:25:45 52bbc6e4d3c2: Preparing 19:25:45 50644c29ef5a: Preparing 19:25:45 52bbc6e4d3c2: Layer already exists 19:25:45 50644c29ef5a: Layer already exists 19:25:45 7ccb777c5d80: Layer already exists 19:25:45 15fb1c095855: Layer already exists 19:25:45 latest: digest: sha256:591ef2d97608970db68bc7488e5a20c439c7e5512074c589eee6b9973833b1be size: 1154 [Pipeline] isUnix [Pipeline] sh 19:25:45 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.2-dev.1 [Pipeline] isUnix [Pipeline] sh 19:25:45 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.2-dev.1 19:25:45 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 19:25:45 15fb1c095855: Preparing 19:25:45 7ccb777c5d80: Preparing 19:25:45 52bbc6e4d3c2: Preparing 19:25:45 50644c29ef5a: Preparing 19:25:45 7ccb777c5d80: Layer already exists 19:25:45 50644c29ef5a: Layer already exists 19:25:45 52bbc6e4d3c2: Layer already exists 19:25:45 15fb1c095855: Layer already exists 19:25:45 1.1.2-dev.1: digest: sha256:591ef2d97608970db68bc7488e5a20c439c7e5512074c589eee6b9973833b1be size: 1154 [Pipeline] isUnix [Pipeline] sh 19:25:46 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:b106d00ae92e946d2103bc6c1464522635373c7b-1.1.2-dev.1 [Pipeline] isUnix [Pipeline] sh 19:25:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:b106d00ae92e946d2103bc6c1464522635373c7b-1.1.2-dev.1 19:25:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 19:25:46 15fb1c095855: Preparing 19:25:46 7ccb777c5d80: Preparing 19:25:46 52bbc6e4d3c2: Preparing 19:25:46 50644c29ef5a: Preparing 19:25:46 52bbc6e4d3c2: Layer already exists 19:25:46 7ccb777c5d80: Layer already exists 19:25:46 50644c29ef5a: Layer already exists 19:25:46 15fb1c095855: Layer already exists 19:25:46 b106d00ae92e946d2103bc6c1464522635373c7b-1.1.2-dev.1: digest: sha256:591ef2d97608970db68bc7488e5a20c439c7e5512074c589eee6b9973833b1be size: 1154 [Pipeline] isUnix [Pipeline] sh 19:25:46 ---> 4477ee30199f 19:25:46 Step 13/24 : RUN $MAKE 19:25:46 ---> Running in 8499b951d5bb 19:25:46 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 19:25:47 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 19:25:47 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 19:25:47 15fb1c095855: Preparing 19:25:47 7ccb777c5d80: Preparing 19:25:47 52bbc6e4d3c2: Preparing 19:25:47 50644c29ef5a: Preparing 19:25:47 15fb1c095855: Layer already exists 19:25:47 7ccb777c5d80: Layer already exists 19:25:47 50644c29ef5a: Layer already exists 19:25:47 52bbc6e4d3c2: Layer already exists 19:25:47 master: digest: sha256:591ef2d97608970db68bc7488e5a20c439c7e5512074c589eee6b9973833b1be 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] } 19:25:48 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.2-dev.1" -o cmd/device-rest-go ./cmd 19:26:14 Removing intermediate container 8499b951d5bb 19:26:14 ---> a51fe4ae5637 19:26:14 Step 14/24 : FROM alpine:latest 19:26:15 latest: Pulling from library/alpine 19:26:15 b538f80385f9: Pulling fs layer 19:26:15 b538f80385f9: Verifying Checksum 19:26:15 b538f80385f9: Download complete 19:26:16 b538f80385f9: Pull complete 19:26:16 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 19:26:16 Status: Downloaded newer image for alpine:latest 19:26:16 ---> 62ee0e9f8440 19:26:16 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:26:16 ---> Running in 506cd730a847 19:26:16 Removing intermediate container 506cd730a847 19:26:16 ---> 7001ec89e590 19:26:16 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 19:26:16 ---> Running in 43650c7b8a85 19:26:17 Removing intermediate container 43650c7b8a85 19:26:17 ---> cca2b66e520b 19:26:17 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 19:26:18 ---> df2ef0c3f98b 19:26:18 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 19:26:18 ---> a3b7fc2a5f32 19:26:18 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 19:26:20 ---> 3c7742106d46 19:26:20 Step 20/24 : EXPOSE 49986 19:26:20 ---> Running in 70928b535579 19:26:20 Removing intermediate container 70928b535579 19:26:20 ---> e9d716dd576c 19:26:20 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 19:26:20 ---> Running in 84d460a5815c 19:26:21 Removing intermediate container 84d460a5815c 19:26:21 ---> 83c379c66c84 19:26:21 Step 22/24 : LABEL arch=arm64 19:26:21 ---> Running in 8168b7488366 19:26:22 Removing intermediate container 8168b7488366 19:26:22 ---> 75217fc9279c 19:26:22 Step 23/24 : LABEL git_sha=b106d00ae92e946d2103bc6c1464522635373c7b 19:26:22 ---> Running in 7d6397f5be8b 19:26:22 Removing intermediate container 7d6397f5be8b 19:26:22 ---> aa50ee667f3b 19:26:22 Step 24/24 : LABEL version=1.1.2-dev.1 19:26:22 ---> Running in e7cc2d5e88a7 19:26:22 Removing intermediate container e7cc2d5e88a7 19:26:22 ---> 94a3ccc5a591 19:26:22 [Warning] One or more build-args [ARCH] were not consumed 19:26:23 Successfully built 94a3ccc5a591 19:26:23 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 19:26:23 provisioning config files... 19:26:23 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/13@tmp/config8979600110578162401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:26:23 nexus3.edgexfoundry.org:10001 19:26:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:26:24 Configure a credential helper to remove this warning. See 19:26:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:26:24 19:26:24 Login Succeeded 19:26:24 nexus3.edgexfoundry.org:10002 19:26:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:26:24 Configure a credential helper to remove this warning. See 19:26:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:26:24 19:26:24 Login Succeeded 19:26:24 nexus3.edgexfoundry.org:10003 19:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:26:25 Configure a credential helper to remove this warning. See 19:26:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:26:25 19:26:25 Login Succeeded 19:26:25 nexus3.edgexfoundry.org:10004 19:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:26:25 Configure a credential helper to remove this warning. See 19:26:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:26:25 19:26:25 Login Succeeded 19:26:25 docker.io 19:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:26:26 Configure a credential helper to remove this warning. See 19:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:26:26 19:26:26 Login Succeeded [Pipeline] } 19:26:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:26:26 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 19:26:26 b106d00ae92e946d2103bc6c1464522635373c7b 19:26:26 latest 19:26:26 1.1.2-dev.1 19:26:26 b106d00ae92e946d2103bc6c1464522635373c7b-1.1.2-dev.1 19:26:26 master 19:26:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:26:27 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:b106d00ae92e946d2103bc6c1464522635373c7b [Pipeline] isUnix [Pipeline] sh 19:26:27 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:b106d00ae92e946d2103bc6c1464522635373c7b 19:26:27 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 19:26:27 81cbbd3f103a: Preparing 19:26:27 d91242dd9646: Preparing 19:26:27 5ffde56fa6d3: Preparing 19:26:27 e2f13739ad41: Preparing 19:26:27 e2f13739ad41: Layer already exists 19:26:27 d91242dd9646: Pushed 19:26:27 5ffde56fa6d3: Pushed 19:26:31 81cbbd3f103a: Pushed 19:26:31 b106d00ae92e946d2103bc6c1464522635373c7b: digest: sha256:965ada4c58427c881e725515e2cb9f84f4722627ba8cc263385c67a2fb7350ec size: 1154 [Pipeline] isUnix [Pipeline] sh 19:26:31 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:26:32 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 19:26:32 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 19:26:32 81cbbd3f103a: Preparing 19:26:32 d91242dd9646: Preparing 19:26:32 5ffde56fa6d3: Preparing 19:26:32 e2f13739ad41: Preparing 19:26:32 81cbbd3f103a: Layer already exists 19:26:32 e2f13739ad41: Layer already exists 19:26:32 d91242dd9646: Layer already exists 19:26:32 5ffde56fa6d3: Layer already exists 19:26:32 latest: digest: sha256:965ada4c58427c881e725515e2cb9f84f4722627ba8cc263385c67a2fb7350ec size: 1154 [Pipeline] isUnix [Pipeline] sh 19:26:32 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.2-dev.1 [Pipeline] isUnix [Pipeline] sh 19:26:32 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.2-dev.1 19:26:32 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 19:26:32 81cbbd3f103a: Preparing 19:26:32 d91242dd9646: Preparing 19:26:32 5ffde56fa6d3: Preparing 19:26:32 e2f13739ad41: Preparing 19:26:32 5ffde56fa6d3: Layer already exists 19:26:32 d91242dd9646: Layer already exists 19:26:32 e2f13739ad41: Layer already exists 19:26:32 81cbbd3f103a: Layer already exists 19:26:33 1.1.2-dev.1: digest: sha256:965ada4c58427c881e725515e2cb9f84f4722627ba8cc263385c67a2fb7350ec size: 1154 [Pipeline] isUnix [Pipeline] sh 19:26:33 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:b106d00ae92e946d2103bc6c1464522635373c7b-1.1.2-dev.1 [Pipeline] isUnix [Pipeline] sh 19:26:33 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:b106d00ae92e946d2103bc6c1464522635373c7b-1.1.2-dev.1 19:26:33 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 19:26:33 81cbbd3f103a: Preparing 19:26:33 d91242dd9646: Preparing 19:26:33 5ffde56fa6d3: Preparing 19:26:33 e2f13739ad41: Preparing 19:26:33 81cbbd3f103a: Layer already exists 19:26:33 d91242dd9646: Layer already exists 19:26:33 5ffde56fa6d3: Layer already exists 19:26:33 e2f13739ad41: Layer already exists 19:26:34 b106d00ae92e946d2103bc6c1464522635373c7b-1.1.2-dev.1: digest: sha256:965ada4c58427c881e725515e2cb9f84f4722627ba8cc263385c67a2fb7350ec size: 1154 [Pipeline] isUnix [Pipeline] sh 19:26:34 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 19:26:34 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 19:26:34 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 19:26:34 81cbbd3f103a: Preparing 19:26:34 d91242dd9646: Preparing 19:26:34 5ffde56fa6d3: Preparing 19:26:34 e2f13739ad41: Preparing 19:26:34 81cbbd3f103a: Layer already exists 19:26:34 5ffde56fa6d3: Layer already exists 19:26:34 e2f13739ad41: Layer already exists 19:26:34 d91242dd9646: Layer already exists 19:26:35 master: digest: sha256:965ada4c58427c881e725515e2cb9f84f4722627ba8cc263385c67a2fb7350ec 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 19:26:35 provisioning config files... 19:26:35 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8291411973313909185tmp [Pipeline] { [Pipeline] sh 19:26:36 + curl -s https://codecov.io/bash 19:26:36 + bash -s - -t @/w/workspace/gexfoundry_device-rest-go_master@tmp/config8291411973313909185tmp 19:26:36 19:26:36 _____ _ 19:26:36 / ____| | | 19:26:36 | | ___ __| | ___ ___ _____ __ 19:26:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:26:36 | |___| (_) | (_| | __/ (_| (_) \ V / 19:26:36 \_____\___/ \__,_|\___|\___\___/ \_/ 19:26:36 Bash-20200602-f809a24 19:26:36 19:26:36 19:26:36 ==> Jenkins CI detected. 19:26:36 project root: . 19:26:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:26:36 ==> Running gcov in . (disable via -X gcov) 19:26:36 ==> Python coveragepy not found 19:26:36 ==> Searching for coverage reports in: 19:26:36 + . 19:26:36 -> Found 1 reports 19:26:36 ==> Detecting git/mercurial file structure 19:26:36 ==> Reading reports 19:26:36 + ./coverage.out bytes=9369 19:26:36 ==> Appending adjustments 19:26:36 https://docs.codecov.io/docs/fixing-reports 19:26:36 + Found adjustments 19:26:36 ==> Gzipping contents 19:26:36 ==> Uploading reports 19:26:36 url: https://codecov.io 19:26:36 query: branch=master&commit=b106d00ae92e946d2103bc6c1464522635373c7b&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 19:26:36 -> Pinging Codecov 19:26:36 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=master&commit=b106d00ae92e946d2103bc6c1464522635373c7b&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= 19:26:36 -> Uploading 19:26:37 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/b106d00ae92e946d2103bc6c1464522635373c7b [Pipeline] } 19:26:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 19:26:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 19:26:37 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 19:26:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:26:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 19:26:38 19:26:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 19:26:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 19:26:38 1.317.0: Pulling from edgex-devops/edgex-snyk-go 19:26:38 cbdbe7a5bc2a: Pulling fs layer 19:26:38 408f87550127: Pulling fs layer 19:26:38 fe522b08c979: Pulling fs layer 19:26:38 221eaa008020: Pulling fs layer 19:26:38 2a4607e5d6b9: Pulling fs layer 19:26:38 8f79b27c4fd2: Pulling fs layer 19:26:38 e5c8dbe1645b: Pulling fs layer 19:26:38 23e8b3b47431: Pulling fs layer 19:26:38 5c568d65a230: Pulling fs layer 19:26:38 221eaa008020: Waiting 19:26:38 2a4607e5d6b9: Waiting 19:26:38 23e8b3b47431: Waiting 19:26:38 8f79b27c4fd2: Waiting 19:26:38 5c568d65a230: Waiting 19:26:38 fe522b08c979: Verifying Checksum 19:26:38 fe522b08c979: Download complete 19:26:38 408f87550127: Download complete 19:26:38 2a4607e5d6b9: Verifying Checksum 19:26:38 2a4607e5d6b9: Download complete 19:26:38 8f79b27c4fd2: Verifying Checksum 19:26:38 8f79b27c4fd2: Download complete 19:26:38 cbdbe7a5bc2a: Verifying Checksum 19:26:38 cbdbe7a5bc2a: Download complete 19:26:38 e5c8dbe1645b: Download complete 19:26:38 cbdbe7a5bc2a: Pull complete 19:26:39 23e8b3b47431: Verifying Checksum 19:26:39 23e8b3b47431: Download complete 19:26:39 408f87550127: Pull complete 19:26:39 fe522b08c979: Pull complete 19:26:39 5c568d65a230: Verifying Checksum 19:26:39 5c568d65a230: Download complete 19:26:39 221eaa008020: Verifying Checksum 19:26:39 221eaa008020: Download complete 19:26:45 221eaa008020: Pull complete 19:26:45 2a4607e5d6b9: Pull complete 19:26:45 8f79b27c4fd2: Pull complete 19:26:47 e5c8dbe1645b: Pull complete 19:26:50 23e8b3b47431: Pull complete 19:26:51 5c568d65a230: Pull complete 19:26:51 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 19:26:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 19:26:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 19:26:51 prd-centos7-docker-4c-2g-3394 does not seem to be running inside a container 19:26:51 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 19:26:52 $ docker top 256a42f28149cfd0e6f4d85bae4fd7b98af326481e4111f01943f014de5e987e -eo pid,comm [Pipeline] { [Pipeline] sh 19:26:52 + snyk monitor '--org=edgex-jenkins' 19:26:57 19:26:57 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 19:26:57 19:26:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/5a9912f4-9e63-4fab-90b0-3f7d1efa7971 19:26:57 19:26:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:26:57 19:26:57 19:26:57 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 19:26:57 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 19:26:57 $ docker stop --time=1 256a42f28149cfd0e6f4d85bae4fd7b98af326481e4111f01943f014de5e987e 19:27:00 $ docker rm -f 256a42f28149cfd0e6f4d85bae4fd7b98af326481e4111f01943f014de5e987e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:27:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 19:27:00 19:27:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 19:27:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 19:27:01 latest: Pulling from edgex-devops/edgex-klar 19:27:01 e7c96db7181b: Pulling fs layer 19:27:01 1868ca2cb446: Pulling fs layer 19:27:01 136be5d0fe8e: Pulling fs layer 19:27:01 894bfe63afcb: Pulling fs layer 19:27:01 894bfe63afcb: Waiting 19:27:01 1868ca2cb446: Verifying Checksum 19:27:01 1868ca2cb446: Download complete 19:27:01 136be5d0fe8e: Verifying Checksum 19:27:01 136be5d0fe8e: Download complete 19:27:01 e7c96db7181b: Verifying Checksum 19:27:01 e7c96db7181b: Download complete 19:27:01 894bfe63afcb: Verifying Checksum 19:27:01 894bfe63afcb: Download complete 19:27:01 e7c96db7181b: Pull complete 19:27:01 1868ca2cb446: Pull complete 19:27:01 136be5d0fe8e: Pull complete 19:27:02 894bfe63afcb: Pull complete 19:27:02 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 19:27:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 19:27:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 19:27:02 prd-centos7-docker-4c-2g-3394 does not seem to be running inside a container 19:27:02 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 19:27:03 $ docker top d48f7e65afbe423a20796d495d1d67b419c7ad8749b025cbcf649a67edee9b98 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:03 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:b106d00ae92e946d2103bc6c1464522635373c7b 19:27:03 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 19:27:07 $ docker stop --time=1 d48f7e65afbe423a20796d495d1d67b419c7ad8749b025cbcf649a67edee9b98 19:27:08 $ docker rm -f d48f7e65afbe423a20796d495d1d67b419c7ad8749b025cbcf649a67edee9b98 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 19:27:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 19:27:08 . [Pipeline] withDockerContainer 19:27:08 prd-centos7-docker-4c-2g-3394 does not seem to be running inside a container 19:27:08 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 19:27:09 $ docker top bc26d7deca14e9a268bff17cd935267bdafd22c2c79116a163acf3dab9d4b400 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:09 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:b106d00ae92e946d2103bc6c1464522635373c7b 19:27:09 + tee 19:27:09 clair timeout 1m0s 19:27:09 docker timeout: 1m0s 19:27:09 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 19:27:10 $ docker stop --time=1 bc26d7deca14e9a268bff17cd935267bdafd22c2c79116a163acf3dab9d4b400 19:27:11 $ docker rm -f bc26d7deca14e9a268bff17cd935267bdafd22c2c79116a163acf3dab9d4b400 [Pipeline] // withDockerContainer [Pipeline] sh 19:27:12 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 19:27:12 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go_b106d00ae92e946d2103bc6c1464522635373c7b.html [Pipeline] writeFile [Pipeline] step 19:27:12 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 19:27:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 19:27:12 . [Pipeline] withDockerContainer 19:27:12 prd-centos7-docker-4c-2g-3394 does not seem to be running inside a container 19:27:12 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 19:27:13 $ docker top 85d2036fe8b56c902fdf4e0b324f271c6083fd255a4b0426c1fd41a0770fbbb8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:13 + + /klartee nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:b106d00ae92e946d2103bc6c1464522635373c7b 19:27:13 [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 19:27:17 $ docker stop --time=1 85d2036fe8b56c902fdf4e0b324f271c6083fd255a4b0426c1fd41a0770fbbb8 19:27:18 $ docker rm -f 85d2036fe8b56c902fdf4e0b324f271c6083fd255a4b0426c1fd41a0770fbbb8 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 19:27:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 19:27:18 . [Pipeline] withDockerContainer 19:27:18 prd-centos7-docker-4c-2g-3394 does not seem to be running inside a container 19:27:18 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 19:27:19 $ docker top 24fa5d706e476b1505a03cb4c46ba2f947642da3f11ff39efdb427c7c4be523a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:19 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:b106d00ae92e946d2103bc6c1464522635373c7b 19:27:19 + tee 19:27:19 clair timeout 1m0s 19:27:19 docker timeout: 1m0s 19:27:19 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 19:27:20 $ docker stop --time=1 24fa5d706e476b1505a03cb4c46ba2f947642da3f11ff39efdb427c7c4be523a 19:27:21 $ docker rm -f 24fa5d706e476b1505a03cb4c46ba2f947642da3f11ff39efdb427c7c4be523a [Pipeline] // withDockerContainer [Pipeline] sh 19:27:22 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 19:27:22 Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go-arm64_b106d00ae92e946d2103bc6c1464522635373c7b.html [Pipeline] writeFile [Pipeline] step 19:27:22 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 19:27:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:27:23 . [Pipeline] withDockerContainer 19:27:23 prd-centos7-docker-4c-2g-3394 does not seem to be running inside a container 19:27:23 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:27:23 $ docker top cb214994c1fd8fed113f5d492855a24156eb059b3ddb758bba8e105a503e9aa4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:27:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:27:24 [ssh-agent] Looking for ssh-agent implementation... 19:27:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:27:24 $ docker exec cb214994c1fd8fed113f5d492855a24156eb059b3ddb758bba8e105a503e9aa4 ssh-agent 19:27:24 SSH_AUTH_SOCK=/tmp/ssh-lrpdTde3QbkK/agent.12 19:27:24 SSH_AGENT_PID=17 19:27:24 Running ssh-add (command line suppressed) 19:27:24 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5514220969389317745.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5514220969389317745.key) 19:27:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:27:24 + git semver tag 19:27:24 # -> Open(): unable to determine branch for HEAD 19:27:24 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 19:27:24 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 19:27:24 # $SEMVER_REMOTE_NAME = origin 19:27:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:27:24 # $SEMVER_USER_NAME = edgex-jenkins 19:27:24 # $SEMVER_BRANCH = master 19:27:24 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 19:27:24 # b106d00ae92e946d2103bc6c1464522635373c7b HEAD 19:27:24 # -> Force: false 19:27:24 # 3ff316e7eceddfe34caf26b1a5234cdbec431ba7 refs/tags/v1.1.2-dev.1 [Pipeline] } 19:27:24 $ docker exec --env ******** --env ******** cb214994c1fd8fed113f5d492855a24156eb059b3ddb758bba8e105a503e9aa4 ssh-agent -k 19:27:25 unset SSH_AUTH_SOCK; 19:27:25 unset SSH_AGENT_PID; 19:27:25 echo Agent pid 17 killed; 19:27:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:27:25 + git semver [Pipeline] } 19:27:25 $ docker stop --time=1 cb214994c1fd8fed113f5d492855a24156eb059b3ddb758bba8e105a503e9aa4 19:27:26 $ docker rm -f cb214994c1fd8fed113f5d492855a24156eb059b3ddb758bba8e105a503e9aa4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 19:27:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:27:27 19:27:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 19:27:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:27:27 0.23.1-centos7: Pulling from edgex-lftools 19:27:27 ab5ef0e58194: Pulling fs layer 19:27:27 9712f1f96733: Pulling fs layer 19:27:27 63f879dbbcfc: Pulling fs layer 19:27:27 0d9ebad4ef96: Pulling fs layer 19:27:27 e9a5061849ea: Pulling fs layer 19:27:27 d747dcd14b5f: Pulling fs layer 19:27:27 2de7ff778b66: Pulling fs layer 19:27:27 e9a5061849ea: Waiting 19:27:27 d747dcd14b5f: Waiting 19:27:27 2de7ff778b66: Waiting 19:27:27 0d9ebad4ef96: Waiting 19:27:27 9712f1f96733: Verifying Checksum 19:27:27 9712f1f96733: Download complete 19:27:27 63f879dbbcfc: Verifying Checksum 19:27:27 63f879dbbcfc: Download complete 19:27:28 e9a5061849ea: Verifying Checksum 19:27:28 e9a5061849ea: Download complete 19:27:28 d747dcd14b5f: Verifying Checksum 19:27:28 d747dcd14b5f: Download complete 19:27:28 0d9ebad4ef96: Verifying Checksum 19:27:28 0d9ebad4ef96: Download complete 19:27:28 2de7ff778b66: Verifying Checksum 19:27:28 2de7ff778b66: Download complete 19:27:28 ab5ef0e58194: Verifying Checksum 19:27:28 ab5ef0e58194: Download complete 19:27:32 ab5ef0e58194: Pull complete 19:27:32 9712f1f96733: Pull complete 19:27:35 63f879dbbcfc: Pull complete 19:27:42 0d9ebad4ef96: Pull complete 19:27:43 e9a5061849ea: Pull complete 19:27:43 d747dcd14b5f: Pull complete 19:27:46 2de7ff778b66: Pull complete 19:27:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:27:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:27:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 19:27:46 prd-centos7-docker-4c-2g-3394 does not seem to be running inside a container 19:27:46 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:27:49 $ docker top f056f5f4409dccc2ad9d1a7ed8d01bd6707162ec1e52a22cb978f040c445fc21 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:27:49 provisioning config files... 19:27:49 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5010333843692365977tmp 19:27:49 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2021422764931200062tmp 19:27:49 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3662742650962254578tmp [Pipeline] { [Pipeline] echo 19:27:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:27:50 ---> sigul-configuration.sh 19:27:50 gpg: directory `/root/.gnupg' created 19:27:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:27:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:27:50 gpg: keyring `/root/.gnupg/secring.gpg' created 19:27:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:27:50 gpg: CAST5 encrypted data 19:27:50 gpg: encrypted with 1 passphrase 19:27:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:27:50 + mkdir /home/jenkins 19:27:50 + mkdir /home/jenkins/sigul [Pipeline] sh 19:27:51 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 19:27:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:27:51 ---> sigul-install.sh 19:27:56 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 19:27:56 + git tag --list 19:27:56 v1.1.2-dev.1 [Pipeline] sh 19:27:57 + lftools sign git-tag v1.1.2-dev.1 19:27:58 Signing Git tag with Sigul... 19:27:58 Signing v1.1.2-dev.1 [Pipeline] echo 19:27:59 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:27:59 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:27:59 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:27:59 $ docker stop --time=1 f056f5f4409dccc2ad9d1a7ed8d01bd6707162ec1e52a22cb978f040c445fc21 19:28:01 $ docker rm -f f056f5f4409dccc2ad9d1a7ed8d01bd6707162ec1e52a22cb978f040c445fc21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 19:28:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:28:02 . [Pipeline] withDockerContainer 19:28:02 prd-centos7-docker-4c-2g-3394 does not seem to be running inside a container 19:28:02 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:28:02 $ docker top 1bb60089445e7014c25046eb5bc2395656d1a3970dbad986ad67e9cfd7ea0a12 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:28:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:28:03 [ssh-agent] Looking for ssh-agent implementation... 19:28:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:28:03 $ docker exec 1bb60089445e7014c25046eb5bc2395656d1a3970dbad986ad67e9cfd7ea0a12 ssh-agent 19:28:03 SSH_AUTH_SOCK=/tmp/ssh-6IBkFkTs12O0/agent.12 19:28:03 SSH_AGENT_PID=17 19:28:03 Running ssh-add (command line suppressed) 19:28:03 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1387027844068812147.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1387027844068812147.key) 19:28:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:28:03 + git semver bump pre 19:28:03 # -> Open(): unable to determine branch for HEAD 19:28:03 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 19:28:03 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 19:28:03 # $SEMVER_REMOTE_NAME = origin 19:28:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:28:03 # $SEMVER_USER_NAME = edgex-jenkins 19:28:03 # $SEMVER_BRANCH = master 19:28:03 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 19:28:03 1.1.2-dev.2 [Pipeline] } 19:28:03 $ docker exec --env ******** --env ******** 1bb60089445e7014c25046eb5bc2395656d1a3970dbad986ad67e9cfd7ea0a12 ssh-agent -k 19:28:03 unset SSH_AUTH_SOCK; 19:28:03 unset SSH_AGENT_PID; 19:28:03 echo Agent pid 17 killed; 19:28:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:28:04 + git semver [Pipeline] } 19:28:04 $ docker stop --time=1 1bb60089445e7014c25046eb5bc2395656d1a3970dbad986ad67e9cfd7ea0a12 19:28:05 $ docker rm -f 1bb60089445e7014c25046eb5bc2395656d1a3970dbad986ad67e9cfd7ea0a12 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 19:28:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:28:06 . [Pipeline] withDockerContainer 19:28:06 prd-centos7-docker-4c-2g-3394 does not seem to be running inside a container 19:28:06 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:28:06 $ docker top 2d29827ef2b40943ab5a1ba1649d3a7ef958e88ca1df00f95e3eacc7dc308637 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:28:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:28:06 [ssh-agent] Looking for ssh-agent implementation... 19:28:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:28:07 $ docker exec 2d29827ef2b40943ab5a1ba1649d3a7ef958e88ca1df00f95e3eacc7dc308637 ssh-agent 19:28:07 SSH_AUTH_SOCK=/tmp/ssh-9DebXTFa45Sg/agent.11 19:28:07 SSH_AGENT_PID=16 19:28:07 Running ssh-add (command line suppressed) 19:28:07 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3725226659210699888.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3725226659210699888.key) 19:28:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:28:07 + git semver push 19:28:07 # -> Open(): unable to determine branch for HEAD 19:28:07 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 19:28:07 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 19:28:07 # $SEMVER_REMOTE_NAME = origin 19:28:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:28:07 # $SEMVER_USER_NAME = edgex-jenkins 19:28:07 # $SEMVER_BRANCH = master 19:28:07 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 19:28:14 $ docker exec --env ******** --env ******** 2d29827ef2b40943ab5a1ba1649d3a7ef958e88ca1df00f95e3eacc7dc308637 ssh-agent -k 19:28:14 unset SSH_AUTH_SOCK; 19:28:14 unset SSH_AGENT_PID; 19:28:14 echo Agent pid 16 killed; 19:28:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:28:14 + git semver [Pipeline] } 19:28:14 $ docker stop --time=1 2d29827ef2b40943ab5a1ba1649d3a7ef958e88ca1df00f95e3eacc7dc308637 19:28:16 $ docker rm -f 2d29827ef2b40943ab5a1ba1649d3a7ef958e88ca1df00f95e3eacc7dc308637 [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 19:28:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:28:17 ---> package-listing.sh 19:28:17 ++ facter osfamily 19:28:17 ++ tr '[:upper:]' '[:lower:]' 19:28:17 + OS_FAMILY=redhat 19:28:17 + workspace=/w/workspace/gexfoundry_device-rest-go_master 19:28:17 + START_PACKAGES=/tmp/packages_start.txt 19:28:17 + END_PACKAGES=/tmp/packages_end.txt 19:28:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:28:17 + PACKAGES=/tmp/packages_start.txt 19:28:17 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 19:28:17 + PACKAGES=/tmp/packages_end.txt 19:28:17 + case "${OS_FAMILY}" in 19:28:17 + rpm -qa 19:28:17 + sort 19:28:21 + '[' -f /tmp/packages_start.txt ']' 19:28:21 + '[' -f /tmp/packages_end.txt ']' 19:28:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:28:21 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 19:28:21 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 19:28:21 + 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 19:28:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:28:22 19:28:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:28:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:28:22 alpine: Pulling from edgex-lftools-log-publisher 19:28:22 c9b1b535fdd9: Pulling fs layer 19:28:22 2cc5ad85d9ab: Pulling fs layer 19:28:22 756a868c4378: Pulling fs layer 19:28:22 444b2fc9a129: Pulling fs layer 19:28:22 ea15f1150254: Pulling fs layer 19:28:22 41b27a9f41bf: Pulling fs layer 19:28:22 28c525ee5125: Pulling fs layer 19:28:22 094b1ea09ed8: Pulling fs layer 19:28:22 138eaada9080: Pulling fs layer 19:28:22 0622d0fa9048: Pulling fs layer 19:28:22 41b27a9f41bf: Waiting 19:28:22 28c525ee5125: Waiting 19:28:22 094b1ea09ed8: Waiting 19:28:22 138eaada9080: Waiting 19:28:22 0622d0fa9048: Waiting 19:28:22 444b2fc9a129: Waiting 19:28:22 ea15f1150254: Waiting 19:28:22 2cc5ad85d9ab: Verifying Checksum 19:28:22 2cc5ad85d9ab: Download complete 19:28:22 444b2fc9a129: Verifying Checksum 19:28:22 444b2fc9a129: Download complete 19:28:22 c9b1b535fdd9: Verifying Checksum 19:28:22 c9b1b535fdd9: Download complete 19:28:22 ea15f1150254: Verifying Checksum 19:28:22 ea15f1150254: Download complete 19:28:22 28c525ee5125: Verifying Checksum 19:28:22 28c525ee5125: Download complete 19:28:22 756a868c4378: Verifying Checksum 19:28:22 756a868c4378: Download complete 19:28:22 c9b1b535fdd9: Pull complete 19:28:22 138eaada9080: Verifying Checksum 19:28:22 138eaada9080: Download complete 19:28:22 0622d0fa9048: Verifying Checksum 19:28:22 0622d0fa9048: Download complete 19:28:22 094b1ea09ed8: Verifying Checksum 19:28:22 094b1ea09ed8: Download complete 19:28:23 2cc5ad85d9ab: Pull complete 19:28:23 41b27a9f41bf: Verifying Checksum 19:28:23 41b27a9f41bf: Download complete 19:28:24 756a868c4378: Pull complete 19:28:24 444b2fc9a129: Pull complete 19:28:24 ea15f1150254: Pull complete 19:28:28 41b27a9f41bf: Pull complete 19:28:28 28c525ee5125: Pull complete 19:28:30 094b1ea09ed8: Pull complete 19:28:30 138eaada9080: Pull complete 19:28:31 0622d0fa9048: Pull complete 19:28:31 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 19:28:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:28:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:28:31 prd-centos7-docker-4c-2g-3394 does not seem to be running inside a container 19:28:31 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:28:34 $ docker top 0059b349f6f64e236d91b7b304437de1e1817453fca81a77879d7f28faefece4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:28:34 provisioning config files... 19:28:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4050774938960363360tmp [Pipeline] { [Pipeline] echo 19:28:34 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:28:34 ---> create-netrc.sh [Pipeline] echo 19:28:34 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:28:34 ---> logs-deploy.sh 19:28:34 + ARCHIVE_ARTIFACTS= 19:28:34 + LOGS_SERVER=https://logs.edgexfoundry.org 19:28:34 + '[' https://logs.edgexfoundry.org == None ']' 19:28:34 + NEXUS_URL=https://nexus.edgexfoundry.org 19:28:34 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/13 19:28:34 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/13/ 19:28:34 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/13 /w/workspace/gexfoundry_device-rest-go_master 19:28:35 Archives upload complete. 19:28:36 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/13 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/13/ 19:28:36 ---> uname -a: 19:28:36 Linux 0059b349f6f6 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 19:28:36 19:28:36 19:28:36 ---> lscpu: 19:28:36 Architecture: x86_64 19:28:36 CPU op-mode(s): 32-bit, 64-bit 19:28:36 Byte Order: Little Endian 19:28:36 Address sizes: 40 bits physical, 48 bits virtual 19:28:36 CPU(s): 4 19:28:36 On-line CPU(s) list: 0-3 19:28:36 Thread(s) per core: 1 19:28:36 Core(s) per socket: 1 19:28:36 Socket(s): 4 19:28:36 NUMA node(s): 1 19:28:36 Vendor ID: GenuineIntel 19:28:36 CPU family: 6 19:28:36 Model: 44 19:28:36 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 19:28:36 Stepping: 1 19:28:36 CPU MHz: 2933.438 19:28:36 BogoMIPS: 5866.87 19:28:36 Virtualization: VT-x 19:28:36 Hypervisor vendor: KVM 19:28:36 Virtualization type: full 19:28:36 L1d cache: 128 KiB 19:28:36 L1i cache: 128 KiB 19:28:36 L2 cache: 16 MiB 19:28:36 L3 cache: 64 MiB 19:28:36 NUMA node0 CPU(s): 0-3 19:28:36 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 19:28:36 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 19:28:36 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 19:28:36 Vulnerability Meltdown: Mitigation; PTI 19:28:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:28:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 19:28:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 19:28:36 Vulnerability Tsx async abort: Not affected 19:28:36 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 19:28:36 19:28:36 19:28:36 ---> nproc: 19:28:36 4 19:28:36 19:28:36 19:28:36 ---> df -h: 19:28:36 Filesystem Size Used Available Use% Mounted on 19:28:36 overlay 50.0G 8.5G 41.5G 17% / 19:28:36 tmpfs 64.0M 0 64.0M 0% /dev 19:28:36 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 19:28:36 shm 64.0M 0 64.0M 0% /dev/shm 19:28:36 /dev/vda1 50.0G 8.5G 41.5G 17% /etc/resolv.conf 19:28:36 /dev/vda1 50.0G 8.5G 41.5G 17% /etc/hostname 19:28:36 /dev/vda1 50.0G 8.5G 41.5G 17% /etc/hosts 19:28:36 /dev/vda1 50.0G 8.5G 41.5G 17% /w/workspace/gexfoundry_device-rest-go_master 19:28:36 /dev/vda1 50.0G 8.5G 41.5G 17% /w/workspace/gexfoundry_device-rest-go_master@tmp 19:28:36 /dev/vda1 50.0G 8.5G 41.5G 17% /var/log/sa 19:28:36 19:28:36 19:28:36 ---> free -m: 19:28:36 total used free shared buff/cache available 19:28:36 Mem: 1837 768 115 0 953 1003 19:28:36 Swap: 1023 3 1020 19:28:36 19:28:36 19:28:36 ---> ip addr: 19:28:36 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 19:28:36 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:28:36 inet 127.0.0.1/8 scope host lo 19:28:36 valid_lft forever preferred_lft forever 19:28:36 24: eth0@if25: mtu 1458 qdisc noqueue state UP 19:28:36 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 19:28:36 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 19:28:36 valid_lft forever preferred_lft forever 19:28:36 19:28:36