Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0c916c4185adf107904cc5ed059ff8b8803c6a63 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 1d71b05254bfc0fbe0fb6584ed6821814debb2bc using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 1d71b05254bfc0fbe0fb6584ed6821814debb2bc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1d71b05254bfc0fbe0fb6584ed6821814debb2bc # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > 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 [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/ [Pipeline] node Running on prd-centos7-docker-4c-2g-2423 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 0c916c4185adf107904cc5ed059ff8b8803c6a63 (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 0c916c4185adf107904cc5ed059ff8b8803c6a63 # timeout=10 Commit message: "Merge pull request #13 from lenny-intel/go1.13" > git rev-list --no-walk 51ed22c70609a403673ae47a74ccb46e9796c47b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-05T15:10:05.929Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:10:07.655Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-05T15:10:07.655Z] [2020-03-05T15:10:07.655Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:10:07.993Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-05T15:10:07.993Z] latest: Pulling from edgex-devops/git-semver [2020-03-05T15:10:07.993Z] 9123ac7c32f7: Pulling fs layer [2020-03-05T15:10:07.993Z] b8cc5d1170e3: Pulling fs layer [2020-03-05T15:10:07.993Z] 2924cbbf6a41: Pulling fs layer [2020-03-05T15:10:07.993Z] 93b08a4f1073: Pulling fs layer [2020-03-05T15:10:07.993Z] 93b08a4f1073: Waiting [2020-03-05T15:10:07.993Z] b8cc5d1170e3: Verifying Checksum [2020-03-05T15:10:08.262Z] 9123ac7c32f7: Download complete [2020-03-05T15:10:08.262Z] 93b08a4f1073: Verifying Checksum [2020-03-05T15:10:08.262Z] 93b08a4f1073: Download complete [2020-03-05T15:10:08.262Z] 2924cbbf6a41: Verifying Checksum [2020-03-05T15:10:08.262Z] 2924cbbf6a41: Download complete [2020-03-05T15:10:08.521Z] 9123ac7c32f7: Pull complete [2020-03-05T15:10:08.521Z] b8cc5d1170e3: Pull complete [2020-03-05T15:10:09.458Z] 2924cbbf6a41: Pull complete [2020-03-05T15:10:09.458Z] 93b08a4f1073: Pull complete [2020-03-05T15:10:09.458Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-05T15:10:09.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-05T15:10:09.586Z] prd-centos7-docker-4c-2g-2423 does not seem to be running inside a container [2020-03-05T15:10:09.633Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-05T15:10:10.250Z] $ docker top 02779f734cf528b89063e1ba768aa6209ce120d02057f6f42d37f4cd123ce4b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-05T15:10:10.802Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-05T15:10:10.802Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-05T15:10:11.032Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-05T15:10:11.038Z] $ docker exec 02779f734cf528b89063e1ba768aa6209ce120d02057f6f42d37f4cd123ce4b1 ssh-agent [2020-03-05T15:10:11.222Z] SSH_AUTH_SOCK=/tmp/ssh-rbCvRJ9fq89f/agent.15 [2020-03-05T15:10:11.222Z] SSH_AGENT_PID=22 [2020-03-05T15:10:11.235Z] Running ssh-add (command line suppressed) [2020-03-05T15:10:11.378Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5853396776286567152.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_5853396776286567152.key) [2020-03-05T15:10:11.425Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-05T15:10:11.720Z] + git describe --exact-match --tags HEAD [2020-03-05T15:10:11.720Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-05T15:10:11.787Z] $ docker exec --env ******** --env ******** 02779f734cf528b89063e1ba768aa6209ce120d02057f6f42d37f4cd123ce4b1 ssh-agent -k [2020-03-05T15:10:11.940Z] unset SSH_AUTH_SOCK; [2020-03-05T15:10:11.941Z] unset SSH_AGENT_PID; [2020-03-05T15:10:11.941Z] echo Agent pid 22 killed; [2020-03-05T15:10:11.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-05T15:10:12.001Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-05T15:10:12.001Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-05T15:10:12.046Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-05T15:10:12.046Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-05T15:10:12.248Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-05T15:10:12.254Z] $ docker exec 02779f734cf528b89063e1ba768aa6209ce120d02057f6f42d37f4cd123ce4b1 ssh-agent [2020-03-05T15:10:12.438Z] SSH_AUTH_SOCK=/tmp/ssh-VnXwmf3IAeZs/agent.56 [2020-03-05T15:10:12.438Z] SSH_AGENT_PID=62 [2020-03-05T15:10:12.443Z] Running ssh-add (command line suppressed) [2020-03-05T15:10:12.590Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3706268509204478009.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3706268509204478009.key) [2020-03-05T15:10:12.638Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-05T15:10:12.936Z] + git semver init [2020-03-05T15:10:12.936Z] # -> Open(): unable to determine branch for HEAD [2020-03-05T15:10:12.936Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-03-05T15:10:12.936Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-03-05T15:10:12.936Z] # $SEMVER_REMOTE_NAME = origin [2020-03-05T15:10:12.936Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-05T15:10:12.936Z] # $SEMVER_USER_NAME = jenkins [2020-03-05T15:10:12.936Z] # $SEMVER_BRANCH = master [2020-03-05T15:10:12.936Z] # $SEMVER_TEMP = /tmp/semver-010656146 [2020-03-05T15:10:12.936Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-03-05T15:10:13.871Z] # '/tmp/semver-010656146' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2020-03-05T15:10:13.871Z] # -> Force: false [2020-03-05T15:10:13.871Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-03-05T15:10:13.884Z] $ docker exec --env ******** --env ******** 02779f734cf528b89063e1ba768aa6209ce120d02057f6f42d37f4cd123ce4b1 ssh-agent -k [2020-03-05T15:10:14.020Z] unset SSH_AUTH_SOCK; [2020-03-05T15:10:14.021Z] unset SSH_AGENT_PID; [2020-03-05T15:10:14.021Z] echo Agent pid 62 killed; [2020-03-05T15:10:14.053Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-05T15:10:14.370Z] + git semver [Pipeline] } [2020-03-05T15:10:14.385Z] $ docker stop --time=1 02779f734cf528b89063e1ba768aa6209ce120d02057f6f42d37f4cd123ce4b1 [2020-03-05T15:10:16.192Z] $ docker rm -f 02779f734cf528b89063e1ba768aa6209ce120d02057f6f42d37f4cd123ce4b1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-05T15:10:17.402Z] Stashed 12 file(s) [Pipeline] echo [2020-03-05T15:10:17.404Z] [edgeXSemver] initialized semver on version 1.0.1-dev.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-03-05T15:10:17.673Z] Running on prd-centos7-docker-4c-2g-2424 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-03-05T15:10:17.686Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2020-03-05T15:10:19.679Z] using credential edgex-jenkins-ssh [2020-03-05T15:10:19.700Z] Cloning the remote Git repository [2020-03-05T15:10:19.700Z] Cloning with configured refspecs honoured and without tags [2020-03-05T15:10:19.727Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-03-05T15:10:19.767Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2020-03-05T15:10:19.823Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-03-05T15:10:19.823Z] > git --version # timeout=10 [2020-03-05T15:10:19.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-05T15:10:19.859Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-05T15:10:20.756Z] Fetching without tags [2020-03-05T15:10:21.109Z] Checking out Revision 0c916c4185adf107904cc5ed059ff8b8803c6a63 (master) [2020-03-05T15:10:20.733Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-03-05T15:10:20.739Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-05T15:10:20.749Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-03-05T15:10:20.759Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-03-05T15:10:20.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-05T15:10:20.764Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-05T15:10:21.116Z] > git config core.sparsecheckout # timeout=10 [2020-03-05T15:10:21.123Z] > git checkout -f 0c916c4185adf107904cc5ed059ff8b8803c6a63 # timeout=10 [2020-03-05T15:10:25.756Z] Commit message: "Merge pull request #13 from lenny-intel/go1.13" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-05T15:10:26.988Z] ========================================================= [2020-03-05T15:10:26.988Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-05T15:10:26.988Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:10:27.561Z] + 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 . [2020-03-05T15:10:27.823Z] Sending build context to Docker daemon 8MB [2020-03-05T15:10:27.823Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-03-05T15:10:27.823Z] Step 2/10 : FROM ${BASE} [2020-03-05T15:10:27.823Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-05T15:10:27.823Z] e6b0cf9c0882: Pulling fs layer [2020-03-05T15:10:27.823Z] 2848faf0eed1: Pulling fs layer [2020-03-05T15:10:27.824Z] 0f37312ad70f: Pulling fs layer [2020-03-05T15:10:27.824Z] 5788d62ee057: Pulling fs layer [2020-03-05T15:10:27.824Z] 0e6b1d234666: Pulling fs layer [2020-03-05T15:10:27.824Z] bf5d7aec512f: Pulling fs layer [2020-03-05T15:10:27.824Z] 34c802a77dc8: Pulling fs layer [2020-03-05T15:10:27.824Z] 9eb99e56ec68: Pulling fs layer [2020-03-05T15:10:27.824Z] 27c7a5d97fbd: Pulling fs layer [2020-03-05T15:10:27.824Z] 5c102a31e300: Pulling fs layer [2020-03-05T15:10:27.824Z] dcfb455df0a1: Pulling fs layer [2020-03-05T15:10:27.824Z] 5788d62ee057: Waiting [2020-03-05T15:10:27.824Z] 34c802a77dc8: Waiting [2020-03-05T15:10:27.824Z] 9eb99e56ec68: Waiting [2020-03-05T15:10:27.824Z] 27c7a5d97fbd: Waiting [2020-03-05T15:10:27.824Z] 0e6b1d234666: Waiting [2020-03-05T15:10:27.824Z] bf5d7aec512f: Waiting [2020-03-05T15:10:27.824Z] 5c102a31e300: Waiting [2020-03-05T15:10:27.824Z] dcfb455df0a1: Waiting [2020-03-05T15:10:27.824Z] 0f37312ad70f: Verifying Checksum [2020-03-05T15:10:27.824Z] 0f37312ad70f: Download complete [2020-03-05T15:10:27.824Z] 2848faf0eed1: Verifying Checksum [2020-03-05T15:10:27.824Z] 2848faf0eed1: Download complete [2020-03-05T15:10:27.824Z] 0e6b1d234666: Verifying Checksum [2020-03-05T15:10:27.824Z] 0e6b1d234666: Download complete [2020-03-05T15:10:27.824Z] bf5d7aec512f: Verifying Checksum [2020-03-05T15:10:27.824Z] bf5d7aec512f: Download complete [2020-03-05T15:10:28.096Z] e6b0cf9c0882: Verifying Checksum [2020-03-05T15:10:28.096Z] e6b0cf9c0882: Download complete [2020-03-05T15:10:28.370Z] e6b0cf9c0882: Pull complete [2020-03-05T15:10:28.959Z] 34c802a77dc8: Verifying Checksum [2020-03-05T15:10:28.959Z] 34c802a77dc8: Download complete [2020-03-05T15:10:28.959Z] 27c7a5d97fbd: Verifying Checksum [2020-03-05T15:10:28.959Z] 27c7a5d97fbd: Download complete [2020-03-05T15:10:29.547Z] 5c102a31e300: Verifying Checksum [2020-03-05T15:10:29.547Z] 5c102a31e300: Download complete [2020-03-05T15:10:29.547Z] dcfb455df0a1: Verifying Checksum [2020-03-05T15:10:29.547Z] dcfb455df0a1: Download complete [2020-03-05T15:10:30.114Z] 9eb99e56ec68: Verifying Checksum [2020-03-05T15:10:30.114Z] 9eb99e56ec68: Download complete [2020-03-05T15:10:30.114Z] 5788d62ee057: Verifying Checksum [2020-03-05T15:10:30.114Z] 5788d62ee057: Download complete [2020-03-05T15:10:30.680Z] 2848faf0eed1: Pull complete [2020-03-05T15:10:30.680Z] 0f37312ad70f: Pull complete [2020-03-05T15:10:32.536Z] Still waiting to schedule task [2020-03-05T15:10:32.536Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2421’ [2020-03-05T15:10:37.243Z] 5788d62ee057: Pull complete [2020-03-05T15:10:37.243Z] 0e6b1d234666: Pull complete [2020-03-05T15:10:37.243Z] bf5d7aec512f: Pull complete [2020-03-05T15:10:41.436Z] 34c802a77dc8: Pull complete [2020-03-05T15:10:44.729Z] 9eb99e56ec68: Pull complete [2020-03-05T15:10:44.729Z] 27c7a5d97fbd: Pull complete [2020-03-05T15:10:45.300Z] 5c102a31e300: Pull complete [2020-03-05T15:10:45.558Z] dcfb455df0a1: Pull complete [2020-03-05T15:10:45.558Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-05T15:10:45.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-05T15:10:45.558Z] ---> 7c70fe431013 [2020-03-05T15:10:45.558Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-03-05T15:10:45.558Z] ---> Running in f2fe27f9ab32 [2020-03-05T15:10:45.816Z] Removing intermediate container f2fe27f9ab32 [2020-03-05T15:10:45.816Z] ---> 1dfbca7cb479 [2020-03-05T15:10:45.816Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-03-05T15:10:45.816Z] ---> Running in baa667454488 [2020-03-05T15:10:45.816Z] Removing intermediate container baa667454488 [2020-03-05T15:10:45.816Z] ---> cdb5e2b41dd4 [2020-03-05T15:10:45.817Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-05T15:10:46.075Z] ---> Running in c3b522809e65 [2020-03-05T15:10:46.075Z] Removing intermediate container c3b522809e65 [2020-03-05T15:10:46.075Z] ---> f8fe8d154479 [2020-03-05T15:10:46.075Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-05T15:10:46.075Z] ---> Running in d15788bf510f [2020-03-05T15:10:47.008Z] Removing intermediate container d15788bf510f [2020-03-05T15:10:47.008Z] ---> 2df5fe4c089c [2020-03-05T15:10:47.008Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-03-05T15:10:47.008Z] ---> Running in 6f558d489194 [2020-03-05T15:10:47.944Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-05T15:10:48.881Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-05T15:10:49.448Z] OK: 143 MiB in 39 packages [2020-03-05T15:10:49.706Z] Removing intermediate container 6f558d489194 [2020-03-05T15:10:49.706Z] ---> a835bd6beac1 [2020-03-05T15:10:49.706Z] Step 8/10 : WORKDIR /device-rest-go [2020-03-05T15:10:49.965Z] ---> Running in 19fdcc7c5b49 [2020-03-05T15:10:49.965Z] Removing intermediate container 19fdcc7c5b49 [2020-03-05T15:10:49.965Z] ---> 87bf2b740389 [2020-03-05T15:10:49.965Z] Step 9/10 : COPY . . [2020-03-05T15:10:50.535Z] ---> 38d58c6d749c [2020-03-05T15:10:50.535Z] Step 10/10 : RUN go mod download [2020-03-05T15:10:50.535Z] ---> Running in 14516577a923 [2020-03-05T15:10:52.440Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-05T15:10:52.440Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-05T15:10:52.440Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-05T15:10:52.440Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-05T15:10:52.440Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-05T15:10:52.440Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-05T15:10:52.440Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-05T15:10:52.440Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-05T15:10:52.440Z] go: finding github.com/edgexfoundry/device-sdk-go v1.1.2 [2020-03-05T15:10:52.440Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-05T15:10:52.440Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-05T15:10:52.440Z] go: finding github.com/fatih/color v1.7.0 [2020-03-05T15:10:52.440Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-05T15:10:52.440Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-05T15:10:52.440Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-05T15:10:52.440Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-05T15:10:52.440Z] go: finding github.com/google/uuid v1.1.0 [2020-03-05T15:10:52.440Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-05T15:10:52.698Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-05T15:10:52.698Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-05T15:10:52.698Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-05T15:10:52.698Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-05T15:10:52.698Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-05T15:10:52.698Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-05T15:10:52.698Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-05T15:10:52.698Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-05T15:10:52.698Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-05T15:10:52.698Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-05T15:10:52.698Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-05T15:10:52.698Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-05T15:10:52.698Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-05T15:10:52.698Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-05T15:10:52.698Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-05T15:10:52.698Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-05T15:10:52.698Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-05T15:10:52.698Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-05T15:10:52.698Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-05T15:10:52.961Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-05T15:10:52.961Z] go: finding github.com/posener/complete v1.1.1 [2020-03-05T15:10:52.961Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-05T15:10:52.961Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-05T15:10:52.961Z] go: finding github.com/spf13/cast v1.3.0 [2020-03-05T15:10:52.961Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-05T15:10:52.961Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-05T15:10:52.961Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-05T15:10:52.961Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-05T15:10:52.961Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-05T15:10:52.961Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-05T15:10:52.961Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-05T15:10:52.961Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-05T15:10:52.961Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-05T15:11:01.082Z] Removing intermediate container 14516577a923 [2020-03-05T15:11:01.082Z] ---> 9e0247ea59f8 [2020-03-05T15:11:01.082Z] Successfully built 9e0247ea59f8 [2020-03-05T15:11:01.082Z] 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 [2020-03-05T15:11:01.490Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-05T15:11:01.490Z] . [Pipeline] withDockerContainer [2020-03-05T15:11:01.612Z] prd-centos7-docker-4c-2g-2424 does not seem to be running inside a container [2020-03-05T15:11:01.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** ci-base-image-x86_64 cat [2020-03-05T15:11:02.235Z] $ docker top 8b30735e37f96458be80a7e5385190af08d9a7c5dade46fb8c657fffc7537ea1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-05T15:11:03.090Z] + go version [2020-03-05T15:11:03.090Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-05T15:11:03.387Z] + make test [2020-03-05T15:11:03.387Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-05T15:11:06.679Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-03-05T15:11:18.983Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-03-05T15:11:19.550Z] ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 56.3% of statements [2020-03-05T15:11:19.812Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-05T15:11:22.382Z] gofmt -l . [2020-03-05T15:11:22.382Z] [ "`gofmt -l .`" = "" ] [2020-03-05T15:11:22.382Z] ./bin/test-go-mod-tidy.sh [2020-03-05T15:11:22.382Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-03-05T15:11:23.116Z] Stashed 1 file(s) [Pipeline] } [2020-03-05T15:11:23.121Z] $ docker stop --time=1 8b30735e37f96458be80a7e5385190af08d9a7c5dade46fb8c657fffc7537ea1 [2020-03-05T15:11:24.537Z] $ docker rm -f 8b30735e37f96458be80a7e5385190af08d9a7c5dade46fb8c657fffc7537ea1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-05T15:11:25.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-05T15:11:25.821Z] + ls -al . [2020-03-05T15:11:25.821Z] total 88 [2020-03-05T15:11:25.821Z] drwxrwxr-x. 7 jenkins jenkins 4096 Mar 5 15:11 . [2020-03-05T15:11:25.821Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 5 15:10 .. [2020-03-05T15:11:25.821Z] -rw-rw-r--. 1 jenkins jenkins 4073 Mar 5 15:10 Attribution.txt [2020-03-05T15:11:25.821Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 5 15:10 bin [2020-03-05T15:11:25.821Z] drwxrwxr-x. 3 jenkins jenkins 32 Mar 5 15:10 cmd [2020-03-05T15:11:25.821Z] -rw-r--r--. 1 jenkins jenkins 9369 Mar 5 15:11 coverage.out [2020-03-05T15:11:25.821Z] -rw-rw-r--. 1 jenkins jenkins 1516 Mar 5 15:10 Dockerfile [2020-03-05T15:11:25.821Z] -rw-rw-r--. 1 jenkins jenkins 989 Mar 5 15:10 Dockerfile.build [2020-03-05T15:11:25.821Z] -rw-rw-r--. 1 jenkins jenkins 151 Mar 5 15:10 .dockerignore [2020-03-05T15:11:25.821Z] drwxrwxr-x. 2 jenkins jenkins 93 Mar 5 15:11 driver [2020-03-05T15:11:25.821Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 5 15:10 .git [2020-03-05T15:11:25.821Z] -rw-rw-r--. 1 jenkins jenkins 339 Mar 5 15:10 .gitignore [2020-03-05T15:11:25.821Z] -rw-r--r--. 1 jenkins jenkins 266 Mar 5 15:11 go.mod [2020-03-05T15:11:25.821Z] -rw-r--r--. 1 jenkins jenkins 11494 Mar 5 15:11 go.sum [2020-03-05T15:11:25.821Z] -rw-rw-r--. 1 jenkins jenkins 702 Mar 5 15:10 Jenkinsfile [2020-03-05T15:11:25.821Z] -rw-rw-r--. 1 jenkins jenkins 11340 Mar 5 15:10 LICENSE [2020-03-05T15:11:25.821Z] -rw-rw-r--. 1 jenkins jenkins 951 Mar 5 15:10 Makefile [2020-03-05T15:11:25.821Z] -rw-rw-r--. 1 jenkins jenkins 5716 Mar 5 15:10 README.md [2020-03-05T15:11:25.821Z] drwxrwxr-x. 3 jenkins jenkins 32 Mar 5 15:10 .semver [2020-03-05T15:11:25.821Z] -rw-rw-r--. 1 jenkins jenkins 11 Mar 5 15:10 VERSION [2020-03-05T15:11:25.821Z] -rw-rw-r--. 1 jenkins jenkins 713 Mar 5 15:10 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:11:26.114Z] + 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=0c916c4185adf107904cc5ed059ff8b8803c6a63 --label arch=amd64 --label version=1.0.1-dev.1 . [2020-03-05T15:11:26.373Z] Sending build context to Docker daemon 8.012MB [2020-03-05T15:11:26.373Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-03-05T15:11:26.373Z] Step 2/24 : FROM ${BASE} AS builder [2020-03-05T15:11:26.373Z] ---> 9e0247ea59f8 [2020-03-05T15:11:26.373Z] Step 3/24 : ARG MAKE='make build' [2020-03-05T15:11:26.373Z] ---> Running in 30f6c0026272 [2020-03-05T15:11:26.373Z] Removing intermediate container 30f6c0026272 [2020-03-05T15:11:26.373Z] ---> 4e4f4f2afcf6 [2020-03-05T15:11:26.373Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-03-05T15:11:26.632Z] ---> Running in 0203b5161a7b [2020-03-05T15:11:26.632Z] Removing intermediate container 0203b5161a7b [2020-03-05T15:11:26.632Z] ---> 7367482f24d2 [2020-03-05T15:11:26.632Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-03-05T15:11:26.632Z] ---> Running in 6cb8792bd8a5 [2020-03-05T15:11:26.893Z] Removing intermediate container 6cb8792bd8a5 [2020-03-05T15:11:26.893Z] ---> 823bebdb7639 [2020-03-05T15:11:26.893Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-05T15:11:26.893Z] ---> Running in 54e93368737a [2020-03-05T15:11:27.834Z] Removing intermediate container 54e93368737a [2020-03-05T15:11:27.834Z] ---> 13873c17b730 [2020-03-05T15:11:27.834Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-03-05T15:11:27.834Z] ---> Running in dd2583c24652 [2020-03-05T15:11:28.095Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-05T15:11:29.031Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-05T15:11:29.968Z] OK: 143 MiB in 39 packages [2020-03-05T15:11:30.534Z] Removing intermediate container dd2583c24652 [2020-03-05T15:11:30.534Z] ---> c15762d6bf4a [2020-03-05T15:11:30.534Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-03-05T15:11:31.099Z] ---> Running in 8612f462740c [2020-03-05T15:11:31.099Z] Removing intermediate container 8612f462740c [2020-03-05T15:11:31.099Z] ---> c3b1ae6cf225 [2020-03-05T15:11:31.099Z] Step 9/24 : COPY go.mod . [2020-03-05T15:11:31.357Z] ---> cb1dc261c116 [2020-03-05T15:11:31.357Z] Step 10/24 : COPY Makefile . [2020-03-05T15:11:31.357Z] ---> 60e58221356e [2020-03-05T15:11:31.357Z] Step 11/24 : RUN make update [2020-03-05T15:11:31.357Z] ---> Running in f962c381388b [2020-03-05T15:11:31.927Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-03-05T15:11:32.186Z] Removing intermediate container f962c381388b [2020-03-05T15:11:32.186Z] ---> a542cac387a8 [2020-03-05T15:11:32.186Z] Step 12/24 : COPY . . [2020-03-05T15:11:32.447Z] ---> eca9f1f7a9da [2020-03-05T15:11:32.447Z] Step 13/24 : RUN $MAKE [2020-03-05T15:11:32.447Z] ---> Running in 473ab8b69275 [2020-03-05T15:11:33.017Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.0.1-dev.1" -o cmd/device-rest-go ./cmd [2020-03-05T15:11:47.976Z] Removing intermediate container 473ab8b69275 [2020-03-05T15:11:47.976Z] ---> 62e5a5e26fc9 [2020-03-05T15:11:47.976Z] Step 14/24 : FROM alpine:latest [2020-03-05T15:11:47.976Z] latest: Pulling from library/alpine [2020-03-05T15:11:47.976Z] c9b1b535fdd9: Pulling fs layer [2020-03-05T15:11:47.976Z] c9b1b535fdd9: Verifying Checksum [2020-03-05T15:11:47.976Z] c9b1b535fdd9: Download complete [2020-03-05T15:11:47.976Z] c9b1b535fdd9: Pull complete [2020-03-05T15:11:47.976Z] Digest: sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d [2020-03-05T15:11:47.976Z] Status: Downloaded newer image for alpine:latest [2020-03-05T15:11:47.976Z] ---> e7d92cdc71fe [2020-03-05T15:11:47.976Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-05T15:11:47.976Z] ---> Running in c6c583e78c37 [2020-03-05T15:11:47.976Z] Removing intermediate container c6c583e78c37 [2020-03-05T15:11:47.976Z] ---> adc2674a2b55 [2020-03-05T15:11:47.976Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-03-05T15:11:47.976Z] ---> Running in b9876807d05b [2020-03-05T15:11:47.976Z] Removing intermediate container b9876807d05b [2020-03-05T15:11:47.976Z] ---> 3fe53c798318 [2020-03-05T15:11:47.976Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-03-05T15:11:47.976Z] ---> 19604d750ef9 [2020-03-05T15:11:47.976Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-03-05T15:11:47.976Z] ---> e78d18f532cc [2020-03-05T15:11:47.976Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-03-05T15:11:47.976Z] ---> 2896366edcbe [2020-03-05T15:11:47.976Z] Step 20/24 : EXPOSE 49986 [2020-03-05T15:11:48.234Z] ---> Running in 309e4f3a8a78 [2020-03-05T15:11:48.234Z] Removing intermediate container 309e4f3a8a78 [2020-03-05T15:11:48.234Z] ---> 3a1089c28869 [2020-03-05T15:11:48.234Z] Step 21/24 : CMD ["/device-rest-go","--registry=consul://edgex-core-consul:8500","--profile=docker","--confdir=/res"] [2020-03-05T15:11:48.234Z] ---> Running in 074f11225970 [2020-03-05T15:11:48.493Z] Removing intermediate container 074f11225970 [2020-03-05T15:11:48.494Z] ---> 8856bda39ac0 [2020-03-05T15:11:48.494Z] Step 22/24 : LABEL arch=amd64 [2020-03-05T15:11:48.494Z] ---> Running in 0a4b9de50828 [2020-03-05T15:11:48.494Z] Removing intermediate container 0a4b9de50828 [2020-03-05T15:11:48.494Z] ---> 2529a9f4677a [2020-03-05T15:11:48.494Z] Step 23/24 : LABEL git_sha=0c916c4185adf107904cc5ed059ff8b8803c6a63 [2020-03-05T15:11:48.494Z] ---> Running in 65273b0d2e1a [2020-03-05T15:11:48.755Z] Removing intermediate container 65273b0d2e1a [2020-03-05T15:11:48.755Z] ---> 43b6d36e5f9f [2020-03-05T15:11:48.755Z] Step 24/24 : LABEL version=1.0.1-dev.1 [2020-03-05T15:11:48.755Z] ---> Running in 1f811a4be3c2 [2020-03-05T15:11:49.014Z] Removing intermediate container 1f811a4be3c2 [2020-03-05T15:11:49.014Z] ---> 2e080168498c [2020-03-05T15:11:49.014Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-05T15:11:49.014Z] Successfully built 2e080168498c [2020-03-05T15:11:49.014Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-05T15:11:49.146Z] provisioning config files... [2020-03-05T15:11:49.172Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config7079369749331699788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-03-05T15:11:49.500Z] nexus3.edgexfoundry.org:10001 [2020-03-05T15:11:49.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-03-05T15:11:49.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-03-05T15:11:49.759Z] Configure a credential helper to remove this warning. See [2020-03-05T15:11:49.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-03-05T15:11:49.759Z] [2020-03-05T15:11:49.759Z] Login Succeeded [2020-03-05T15:11:49.759Z] nexus3.edgexfoundry.org:10002 [2020-03-05T15:11:49.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-03-05T15:11:50.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-03-05T15:11:50.019Z] Configure a credential helper to remove this warning. See [2020-03-05T15:11:50.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-03-05T15:11:50.019Z] [2020-03-05T15:11:50.019Z] Login Succeeded [2020-03-05T15:11:50.019Z] nexus3.edgexfoundry.org:10003 [2020-03-05T15:11:50.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-03-05T15:11:50.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-03-05T15:11:50.277Z] Configure a credential helper to remove this warning. See [2020-03-05T15:11:50.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-03-05T15:11:50.277Z] [2020-03-05T15:11:50.277Z] Login Succeeded [2020-03-05T15:11:50.277Z] nexus3.edgexfoundry.org:10004 [2020-03-05T15:11:50.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-03-05T15:11:50.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-03-05T15:11:50.277Z] Configure a credential helper to remove this warning. See [2020-03-05T15:11:50.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-03-05T15:11:50.277Z] [2020-03-05T15:11:50.277Z] Login Succeeded [2020-03-05T15:11:50.277Z] docker.io [2020-03-05T15:11:50.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-03-05T15:11:50.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-03-05T15:11:50.794Z] Configure a credential helper to remove this warning. See [2020-03-05T15:11:50.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-03-05T15:11:50.794Z] [2020-03-05T15:11:50.794Z] Login Succeeded [Pipeline] } [2020-03-05T15:11:50.800Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-03-05T15:11:50.842Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2020-03-05T15:11:50.842Z] 0c916c4185adf107904cc5ed059ff8b8803c6a63 [2020-03-05T15:11:50.842Z] latest [2020-03-05T15:11:50.842Z] 1.0.1-dev.1 [2020-03-05T15:11:50.842Z] 0c916c4185adf107904cc5ed059ff8b8803c6a63-1.0.1-dev.1 [2020-03-05T15:11:50.842Z] master [2020-03-05T15:11:50.842Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:11:51.170Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:0c916c4185adf107904cc5ed059ff8b8803c6a63 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:11:51.458Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:0c916c4185adf107904cc5ed059ff8b8803c6a63 [2020-03-05T15:11:51.458Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-03-05T15:11:51.458Z] 723ae13b72c2: Preparing [2020-03-05T15:11:51.458Z] 095d69daf06f: Preparing [2020-03-05T15:11:51.458Z] e79e6cce7c37: Preparing [2020-03-05T15:11:51.458Z] 5216338b40a7: Preparing [2020-03-05T15:11:51.458Z] 5216338b40a7: Layer already exists [2020-03-05T15:11:51.716Z] e79e6cce7c37: Pushed [2020-03-05T15:11:51.716Z] 095d69daf06f: Pushed [2020-03-05T15:11:53.093Z] 723ae13b72c2: Pushed [2020-03-05T15:11:53.093Z] 0c916c4185adf107904cc5ed059ff8b8803c6a63: digest: sha256:331ea36d7f406742cb22460daf12b73f44780c4b2258d6c883680c7e37f18025 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:11:53.401Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:11:53.697Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-03-05T15:11:53.697Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-03-05T15:11:53.697Z] 723ae13b72c2: Preparing [2020-03-05T15:11:53.697Z] 095d69daf06f: Preparing [2020-03-05T15:11:53.697Z] e79e6cce7c37: Preparing [2020-03-05T15:11:53.697Z] 5216338b40a7: Preparing [2020-03-05T15:11:53.697Z] 5216338b40a7: Layer already exists [2020-03-05T15:11:53.697Z] 723ae13b72c2: Layer already exists [2020-03-05T15:11:53.697Z] e79e6cce7c37: Layer already exists [2020-03-05T15:11:53.697Z] 095d69daf06f: Layer already exists [2020-03-05T15:11:53.697Z] latest: digest: sha256:331ea36d7f406742cb22460daf12b73f44780c4b2258d6c883680c7e37f18025 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:11:53.991Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:11:54.281Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.0.1-dev.1 [2020-03-05T15:11:54.281Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-03-05T15:11:54.281Z] 723ae13b72c2: Preparing [2020-03-05T15:11:54.281Z] 095d69daf06f: Preparing [2020-03-05T15:11:54.281Z] e79e6cce7c37: Preparing [2020-03-05T15:11:54.281Z] 5216338b40a7: Preparing [2020-03-05T15:11:54.281Z] e79e6cce7c37: Layer already exists [2020-03-05T15:11:54.281Z] 723ae13b72c2: Layer already exists [2020-03-05T15:11:54.281Z] 095d69daf06f: Layer already exists [2020-03-05T15:11:54.281Z] 5216338b40a7: Layer already exists [2020-03-05T15:11:54.281Z] 1.0.1-dev.1: digest: sha256:331ea36d7f406742cb22460daf12b73f44780c4b2258d6c883680c7e37f18025 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:11:54.578Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:0c916c4185adf107904cc5ed059ff8b8803c6a63-1.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:11:54.870Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:0c916c4185adf107904cc5ed059ff8b8803c6a63-1.0.1-dev.1 [2020-03-05T15:11:54.870Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-03-05T15:11:54.870Z] 723ae13b72c2: Preparing [2020-03-05T15:11:54.870Z] 095d69daf06f: Preparing [2020-03-05T15:11:54.870Z] e79e6cce7c37: Preparing [2020-03-05T15:11:54.870Z] 5216338b40a7: Preparing [2020-03-05T15:11:54.870Z] 095d69daf06f: Layer already exists [2020-03-05T15:11:54.870Z] e79e6cce7c37: Layer already exists [2020-03-05T15:11:54.870Z] 723ae13b72c2: Layer already exists [2020-03-05T15:11:54.870Z] 5216338b40a7: Layer already exists [2020-03-05T15:11:54.870Z] 0c916c4185adf107904cc5ed059ff8b8803c6a63-1.0.1-dev.1: digest: sha256:331ea36d7f406742cb22460daf12b73f44780c4b2258d6c883680c7e37f18025 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:11:55.164Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:11:55.457Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2020-03-05T15:11:55.457Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-03-05T15:11:55.457Z] 723ae13b72c2: Preparing [2020-03-05T15:11:55.457Z] 095d69daf06f: Preparing [2020-03-05T15:11:55.457Z] e79e6cce7c37: Preparing [2020-03-05T15:11:55.457Z] 5216338b40a7: Preparing [2020-03-05T15:11:55.457Z] e79e6cce7c37: Layer already exists [2020-03-05T15:11:55.457Z] 5216338b40a7: Layer already exists [2020-03-05T15:11:55.457Z] 723ae13b72c2: Layer already exists [2020-03-05T15:11:55.457Z] 095d69daf06f: Layer already exists [2020-03-05T15:11:55.457Z] master: digest: sha256:331ea36d7f406742cb22460daf12b73f44780c4b2258d6c883680c7e37f18025 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-05T15:14:10.908Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2427 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-03-05T15:14:10.921Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2020-03-05T15:14:16.633Z] using credential edgex-jenkins-ssh [2020-03-05T15:14:16.658Z] Cloning the remote Git repository [2020-03-05T15:14:16.658Z] Cloning with configured refspecs honoured and without tags [2020-03-05T15:14:16.715Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-03-05T15:14:16.797Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2020-03-05T15:14:16.857Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-03-05T15:14:16.858Z] > git --version # timeout=10 [2020-03-05T15:14:16.889Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-05T15:14:16.965Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-05T15:14:18.468Z] Fetching without tags [2020-03-05T15:14:18.377Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-03-05T15:14:18.419Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-05T15:14:18.444Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-03-05T15:14:18.483Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-03-05T15:14:18.485Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-05T15:14:18.509Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-05T15:14:18.963Z] Checking out Revision 0c916c4185adf107904cc5ed059ff8b8803c6a63 (master) [2020-03-05T15:14:18.987Z] > git config core.sparsecheckout # timeout=10 [2020-03-05T15:14:19.011Z] > git checkout -f 0c916c4185adf107904cc5ed059ff8b8803c6a63 # timeout=10 [2020-03-05T15:14:23.417Z] Commit message: "Merge pull request #13 from lenny-intel/go1.13" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-05T15:14:25.099Z] ========================================================= [2020-03-05T15:14:25.099Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-05T15:14:25.099Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:14:26.099Z] + 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 . [2020-03-05T15:14:27.067Z] Sending build context to Docker daemon 8MB [2020-03-05T15:14:27.067Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-03-05T15:14:27.067Z] Step 2/10 : FROM ${BASE} [2020-03-05T15:14:27.337Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-05T15:14:27.337Z] cde5963f3b93: Pulling fs layer [2020-03-05T15:14:27.337Z] 2a23fa8c16f7: Pulling fs layer [2020-03-05T15:14:27.337Z] 777b28850792: Pulling fs layer [2020-03-05T15:14:27.337Z] 8a11ddd9e578: Pulling fs layer [2020-03-05T15:14:27.337Z] 4cf88f913ddb: Pulling fs layer [2020-03-05T15:14:27.337Z] 1df406cf5192: Pulling fs layer [2020-03-05T15:14:27.337Z] cd6300453558: Pulling fs layer [2020-03-05T15:14:27.337Z] b9c365052c96: Pulling fs layer [2020-03-05T15:14:27.337Z] a2d8cc88f415: Pulling fs layer [2020-03-05T15:14:27.337Z] ea1d1ca13537: Pulling fs layer [2020-03-05T15:14:27.337Z] 3750a50a1c5e: Pulling fs layer [2020-03-05T15:14:27.337Z] 1df406cf5192: Waiting [2020-03-05T15:14:27.337Z] cd6300453558: Waiting [2020-03-05T15:14:27.337Z] b9c365052c96: Waiting [2020-03-05T15:14:27.337Z] a2d8cc88f415: Waiting [2020-03-05T15:14:27.337Z] ea1d1ca13537: Waiting [2020-03-05T15:14:27.337Z] 3750a50a1c5e: Waiting [2020-03-05T15:14:27.337Z] 4cf88f913ddb: Waiting [2020-03-05T15:14:27.337Z] 8a11ddd9e578: Waiting [2020-03-05T15:14:27.337Z] 777b28850792: Verifying Checksum [2020-03-05T15:14:27.337Z] 777b28850792: Download complete [2020-03-05T15:14:27.607Z] 2a23fa8c16f7: Verifying Checksum [2020-03-05T15:14:27.607Z] 2a23fa8c16f7: Download complete [2020-03-05T15:14:27.607Z] 4cf88f913ddb: Verifying Checksum [2020-03-05T15:14:27.607Z] 4cf88f913ddb: Download complete [2020-03-05T15:14:27.607Z] 1df406cf5192: Verifying Checksum [2020-03-05T15:14:27.607Z] 1df406cf5192: Download complete [2020-03-05T15:14:27.607Z] cde5963f3b93: Verifying Checksum [2020-03-05T15:14:27.607Z] cde5963f3b93: Download complete [2020-03-05T15:14:28.583Z] cde5963f3b93: Pull complete [2020-03-05T15:14:29.184Z] 2a23fa8c16f7: Pull complete [2020-03-05T15:14:29.456Z] 777b28850792: Pull complete [2020-03-05T15:14:32.822Z] cd6300453558: Verifying Checksum [2020-03-05T15:14:32.822Z] cd6300453558: Download complete [2020-03-05T15:14:32.822Z] a2d8cc88f415: Verifying Checksum [2020-03-05T15:14:32.822Z] a2d8cc88f415: Download complete [2020-03-05T15:14:34.773Z] ea1d1ca13537: Verifying Checksum [2020-03-05T15:14:34.773Z] ea1d1ca13537: Download complete [2020-03-05T15:14:34.773Z] 3750a50a1c5e: Verifying Checksum [2020-03-05T15:14:34.773Z] 3750a50a1c5e: Download complete [2020-03-05T15:14:37.380Z] b9c365052c96: Verifying Checksum [2020-03-05T15:14:37.380Z] b9c365052c96: Download complete [2020-03-05T15:14:39.324Z] 8a11ddd9e578: Verifying Checksum [2020-03-05T15:14:39.324Z] 8a11ddd9e578: Download complete [2020-03-05T15:14:51.667Z] 8a11ddd9e578: Pull complete [2020-03-05T15:14:51.667Z] 4cf88f913ddb: Pull complete [2020-03-05T15:14:51.667Z] 1df406cf5192: Pull complete [2020-03-05T15:14:55.941Z] cd6300453558: Pull complete [2020-03-05T15:15:01.307Z] b9c365052c96: Pull complete [2020-03-05T15:15:01.307Z] a2d8cc88f415: Pull complete [2020-03-05T15:15:03.272Z] ea1d1ca13537: Pull complete [2020-03-05T15:15:03.542Z] 3750a50a1c5e: Pull complete [2020-03-05T15:15:03.543Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-05T15:15:03.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-05T15:15:03.543Z] ---> 78745c68409d [2020-03-05T15:15:03.543Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-03-05T15:15:07.810Z] ---> Running in 173c77697d57 [2020-03-05T15:15:07.810Z] Removing intermediate container 173c77697d57 [2020-03-05T15:15:07.810Z] ---> 72cf8a2b03e4 [2020-03-05T15:15:07.810Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-03-05T15:15:07.810Z] ---> Running in 65a40d049bc3 [2020-03-05T15:15:07.810Z] Removing intermediate container 65a40d049bc3 [2020-03-05T15:15:07.810Z] ---> 40d2be4408eb [2020-03-05T15:15:07.810Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-05T15:15:08.079Z] ---> Running in fa3652bfdcb1 [2020-03-05T15:15:08.346Z] Removing intermediate container fa3652bfdcb1 [2020-03-05T15:15:08.346Z] ---> 454b60233dc1 [2020-03-05T15:15:08.346Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-05T15:15:08.614Z] ---> Running in 8cd965d1f662 [2020-03-05T15:15:10.561Z] Removing intermediate container 8cd965d1f662 [2020-03-05T15:15:10.561Z] ---> 52c04ec8ae53 [2020-03-05T15:15:10.561Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-03-05T15:15:10.833Z] ---> Running in 80dcc7664847 [2020-03-05T15:15:11.795Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-05T15:15:12.753Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-05T15:15:13.337Z] OK: 125 MiB in 39 packages [2020-03-05T15:15:14.748Z] Removing intermediate container 80dcc7664847 [2020-03-05T15:15:14.748Z] ---> fa364cd099fd [2020-03-05T15:15:14.748Z] Step 8/10 : WORKDIR /device-rest-go [2020-03-05T15:15:14.748Z] ---> Running in ed8e20297693 [2020-03-05T15:15:15.027Z] Removing intermediate container ed8e20297693 [2020-03-05T15:15:15.027Z] ---> 641be191a755 [2020-03-05T15:15:15.027Z] Step 9/10 : COPY . . [2020-03-05T15:15:16.003Z] ---> 4a588e6dd0f4 [2020-03-05T15:15:16.003Z] Step 10/10 : RUN go mod download [2020-03-05T15:15:16.003Z] ---> Running in a65c731fff9e [2020-03-05T15:15:17.954Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-05T15:15:17.954Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-05T15:15:17.954Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-05T15:15:17.954Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-05T15:15:17.954Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-05T15:15:17.954Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-05T15:15:18.222Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-05T15:15:18.222Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-05T15:15:18.222Z] go: finding github.com/edgexfoundry/device-sdk-go v1.1.2 [2020-03-05T15:15:18.222Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-05T15:15:18.222Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-05T15:15:18.222Z] go: finding github.com/fatih/color v1.7.0 [2020-03-05T15:15:18.222Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-05T15:15:18.222Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-05T15:15:18.222Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-05T15:15:18.222Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-05T15:15:18.222Z] go: finding github.com/google/uuid v1.1.0 [2020-03-05T15:15:18.222Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-05T15:15:18.222Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-05T15:15:18.222Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-05T15:15:18.222Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-05T15:15:18.222Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-05T15:15:18.222Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-05T15:15:18.222Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-05T15:15:18.222Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-05T15:15:18.223Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-05T15:15:18.223Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-05T15:15:18.223Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-05T15:15:18.223Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-05T15:15:18.223Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-05T15:15:18.223Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-05T15:15:18.489Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-05T15:15:18.489Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-05T15:15:18.489Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-05T15:15:18.489Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-05T15:15:18.489Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-05T15:15:18.489Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-05T15:15:18.489Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-05T15:15:18.489Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-05T15:15:18.489Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-05T15:15:18.489Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-05T15:15:18.489Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-05T15:15:18.489Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-05T15:15:18.489Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-05T15:15:18.489Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-05T15:15:18.489Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-05T15:15:18.489Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-05T15:15:18.489Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-05T15:15:18.489Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-05T15:15:18.489Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-05T15:15:18.489Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-05T15:15:18.489Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-05T15:15:18.489Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-05T15:15:18.489Z] go: finding github.com/posener/complete v1.1.1 [2020-03-05T15:15:18.757Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-05T15:15:18.757Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-05T15:15:18.757Z] go: finding github.com/spf13/cast v1.3.0 [2020-03-05T15:15:18.757Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-05T15:15:18.757Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-05T15:15:18.757Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-05T15:15:18.757Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-05T15:15:18.757Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-05T15:15:18.757Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-05T15:15:18.757Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-05T15:15:18.757Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-05T15:15:18.757Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-05T15:15:36.985Z] Removing intermediate container a65c731fff9e [2020-03-05T15:15:36.985Z] ---> 0b7c87fb0892 [2020-03-05T15:15:36.985Z] Successfully built 0b7c87fb0892 [2020-03-05T15:15:36.985Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:15:37.465Z] + docker inspect -f . ci-base-image-arm64 [2020-03-05T15:15:37.465Z] . [Pipeline] withDockerContainer [2020-03-05T15:15:38.073Z] prd-ubuntu18.04-docker-arm64-4c-16g-2427 does not seem to be running inside a container [2020-03-05T15:15:38.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** ci-base-image-arm64 cat [2020-03-05T15:15:39.661Z] $ docker top f8e68c59490ff7a2ad40c723c456f91e436e42dcda6aa73448a3734202ccb3c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-05T15:15:41.869Z] + go version [2020-03-05T15:15:41.869Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-05T15:15:42.519Z] + make test [2020-03-05T15:15:42.519Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-05T15:15:43.485Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-03-05T15:16:22.428Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-03-05T15:16:22.428Z] ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 56.3% of statements [2020-03-05T15:16:23.016Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-05T15:16:29.703Z] gofmt -l . [2020-03-05T15:16:29.703Z] [ "`gofmt -l .`" = "" ] [2020-03-05T15:16:29.703Z] ./bin/test-go-mod-tidy.sh [2020-03-05T15:16:30.293Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-03-05T15:16:30.902Z] Warning: overwriting stash ‘coverage-report’ [2020-03-05T15:16:31.305Z] Stashed 1 file(s) [Pipeline] } [2020-03-05T15:16:31.313Z] $ docker stop --time=1 f8e68c59490ff7a2ad40c723c456f91e436e42dcda6aa73448a3734202ccb3c7 [2020-03-05T15:16:33.615Z] $ docker rm -f f8e68c59490ff7a2ad40c723c456f91e436e42dcda6aa73448a3734202ccb3c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-05T15:16:34.614Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-05T15:16:34.942Z] + ls -al . [2020-03-05T15:16:34.942Z] total 112 [2020-03-05T15:16:34.942Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 5 15:16 . [2020-03-05T15:16:34.942Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 15:14 .. [2020-03-05T15:16:34.942Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 5 15:14 .dockerignore [2020-03-05T15:16:34.943Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 15:14 .git [2020-03-05T15:16:34.943Z] -rw-rw-r-- 1 jenkins jenkins 339 Mar 5 15:14 .gitignore [2020-03-05T15:16:34.943Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 15:14 .semver [2020-03-05T15:16:34.943Z] -rw-rw-r-- 1 jenkins jenkins 4073 Mar 5 15:14 Attribution.txt [2020-03-05T15:16:34.943Z] -rw-rw-r-- 1 jenkins jenkins 1516 Mar 5 15:14 Dockerfile [2020-03-05T15:16:34.943Z] -rw-rw-r-- 1 jenkins jenkins 989 Mar 5 15:14 Dockerfile.build [2020-03-05T15:16:34.943Z] -rw-rw-r-- 1 jenkins jenkins 702 Mar 5 15:14 Jenkinsfile [2020-03-05T15:16:34.943Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 5 15:14 LICENSE [2020-03-05T15:16:34.943Z] -rw-rw-r-- 1 jenkins jenkins 951 Mar 5 15:14 Makefile [2020-03-05T15:16:34.943Z] -rw-rw-r-- 1 jenkins jenkins 5716 Mar 5 15:14 README.md [2020-03-05T15:16:34.943Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 5 15:10 VERSION [2020-03-05T15:16:34.943Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 15:14 bin [2020-03-05T15:16:34.943Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 15:14 cmd [2020-03-05T15:16:34.943Z] -rw-r--r-- 1 jenkins jenkins 9369 Mar 5 15:16 coverage.out [2020-03-05T15:16:34.943Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 15:16 driver [2020-03-05T15:16:34.943Z] -rw-r--r-- 1 jenkins jenkins 266 Mar 5 15:16 go.mod [2020-03-05T15:16:34.943Z] -rw-r--r-- 1 jenkins jenkins 11494 Mar 5 15:16 go.sum [2020-03-05T15:16:34.943Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 5 15:14 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:16:35.275Z] + 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=0c916c4185adf107904cc5ed059ff8b8803c6a63 --label arch=arm64 --label version=1.0.1-dev.1 . [2020-03-05T15:16:35.862Z] Sending build context to Docker daemon 8.012MB [2020-03-05T15:16:35.862Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-03-05T15:16:35.862Z] Step 2/24 : FROM ${BASE} AS builder [2020-03-05T15:16:35.862Z] ---> 0b7c87fb0892 [2020-03-05T15:16:35.862Z] Step 3/24 : ARG MAKE='make build' [2020-03-05T15:16:36.130Z] ---> Running in 0299e1e153df [2020-03-05T15:16:36.399Z] Removing intermediate container 0299e1e153df [2020-03-05T15:16:36.399Z] ---> 7851b4157d6c [2020-03-05T15:16:36.399Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-03-05T15:16:36.399Z] ---> Running in 7d4d82894965 [2020-03-05T15:16:36.668Z] Removing intermediate container 7d4d82894965 [2020-03-05T15:16:36.668Z] ---> b02cb70bdc36 [2020-03-05T15:16:36.668Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-03-05T15:16:36.937Z] ---> Running in 183428d2511f [2020-03-05T15:16:37.204Z] Removing intermediate container 183428d2511f [2020-03-05T15:16:37.204Z] ---> c0c1fda6cdc6 [2020-03-05T15:16:37.204Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-05T15:16:37.473Z] ---> Running in 178947b3513e [2020-03-05T15:16:39.429Z] Removing intermediate container 178947b3513e [2020-03-05T15:16:39.429Z] ---> aae74d740b72 [2020-03-05T15:16:39.430Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-03-05T15:16:39.430Z] ---> Running in 0c5a903535df [2020-03-05T15:16:40.012Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-05T15:16:40.968Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-05T15:16:41.930Z] OK: 125 MiB in 39 packages [2020-03-05T15:16:42.892Z] Removing intermediate container 0c5a903535df [2020-03-05T15:16:42.892Z] ---> f8af3d7f89fb [2020-03-05T15:16:42.892Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-03-05T15:16:42.892Z] ---> Running in 1af510b27413 [2020-03-05T15:16:43.159Z] Removing intermediate container 1af510b27413 [2020-03-05T15:16:43.159Z] ---> 37f7edd44c4d [2020-03-05T15:16:43.159Z] Step 9/24 : COPY go.mod . [2020-03-05T15:16:43.747Z] ---> d3079533fb5b [2020-03-05T15:16:43.747Z] Step 10/24 : COPY Makefile . [2020-03-05T15:16:44.336Z] ---> 6184c6dcaf90 [2020-03-05T15:16:44.336Z] Step 11/24 : RUN make update [2020-03-05T15:16:44.607Z] ---> Running in daeb4d5bd646 [2020-03-05T15:16:45.194Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-03-05T15:16:46.613Z] Removing intermediate container daeb4d5bd646 [2020-03-05T15:16:46.613Z] ---> bf4ccae6c232 [2020-03-05T15:16:46.613Z] Step 12/24 : COPY . . [2020-03-05T15:16:47.577Z] ---> 4772000c5ae8 [2020-03-05T15:16:47.577Z] Step 13/24 : RUN $MAKE [2020-03-05T15:16:47.577Z] ---> Running in ef51017225af [2020-03-05T15:16:48.541Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.0.1-dev.1" -o cmd/device-rest-go ./cmd [2020-03-05T15:17:27.466Z] Removing intermediate container ef51017225af [2020-03-05T15:17:27.466Z] ---> 627252c8aa88 [2020-03-05T15:17:27.466Z] Step 14/24 : FROM alpine:latest [2020-03-05T15:17:27.466Z] latest: Pulling from library/alpine [2020-03-05T15:17:27.466Z] 8fa90b21c985: Pulling fs layer [2020-03-05T15:17:27.466Z] 8fa90b21c985: Download complete [2020-03-05T15:17:27.466Z] 8fa90b21c985: Pull complete [2020-03-05T15:17:27.466Z] Digest: sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d [2020-03-05T15:17:27.466Z] Status: Downloaded newer image for alpine:latest [2020-03-05T15:17:27.466Z] ---> 6e4716cdcf7a [2020-03-05T15:17:27.466Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-05T15:17:27.466Z] ---> Running in 2cb0e377e0c9 [2020-03-05T15:17:27.466Z] Removing intermediate container 2cb0e377e0c9 [2020-03-05T15:17:27.466Z] ---> e4140ddd1045 [2020-03-05T15:17:27.466Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-03-05T15:17:27.466Z] ---> Running in 9b47c618975f [2020-03-05T15:17:27.466Z] Removing intermediate container 9b47c618975f [2020-03-05T15:17:27.466Z] ---> bb30c0323c9b [2020-03-05T15:17:27.466Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-03-05T15:17:27.466Z] ---> 1e9f7665a641 [2020-03-05T15:17:27.466Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-03-05T15:17:28.050Z] ---> 045fc4f5a55b [2020-03-05T15:17:28.050Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-03-05T15:17:29.484Z] ---> ef8568f47847 [2020-03-05T15:17:29.484Z] Step 20/24 : EXPOSE 49986 [2020-03-05T15:17:29.484Z] ---> Running in a9482154a35f [2020-03-05T15:17:29.753Z] Removing intermediate container a9482154a35f [2020-03-05T15:17:29.753Z] ---> b0fff00b6daa [2020-03-05T15:17:29.753Z] Step 21/24 : CMD ["/device-rest-go","--registry=consul://edgex-core-consul:8500","--profile=docker","--confdir=/res"] [2020-03-05T15:17:30.025Z] ---> Running in b68c64c6a83b [2020-03-05T15:17:30.292Z] Removing intermediate container b68c64c6a83b [2020-03-05T15:17:30.292Z] ---> b79082420b57 [2020-03-05T15:17:30.292Z] Step 22/24 : LABEL arch=arm64 [2020-03-05T15:17:30.560Z] ---> Running in aa35b7ca1e0d [2020-03-05T15:17:30.829Z] Removing intermediate container aa35b7ca1e0d [2020-03-05T15:17:30.829Z] ---> f45668bf4a39 [2020-03-05T15:17:30.829Z] Step 23/24 : LABEL git_sha=0c916c4185adf107904cc5ed059ff8b8803c6a63 [2020-03-05T15:17:31.097Z] ---> Running in 788761c8833b [2020-03-05T15:17:31.364Z] Removing intermediate container 788761c8833b [2020-03-05T15:17:31.364Z] ---> bf490e062b3a [2020-03-05T15:17:31.364Z] Step 24/24 : LABEL version=1.0.1-dev.1 [2020-03-05T15:17:31.632Z] ---> Running in aab2d93a50be [2020-03-05T15:17:31.901Z] Removing intermediate container aab2d93a50be [2020-03-05T15:17:31.901Z] ---> f0244e02a79e [2020-03-05T15:17:31.901Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-05T15:17:31.901Z] Successfully built f0244e02a79e [2020-03-05T15:17:31.901Z] 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 [2020-03-05T15:17:32.003Z] provisioning config files... [2020-03-05T15:17:32.043Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config266881859133085844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-03-05T15:17:32.405Z] nexus3.edgexfoundry.org:10001 [2020-03-05T15:17:32.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-03-05T15:17:32.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-03-05T15:17:32.988Z] Configure a credential helper to remove this warning. See [2020-03-05T15:17:32.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-03-05T15:17:32.988Z] [2020-03-05T15:17:32.988Z] Login Succeeded [2020-03-05T15:17:32.988Z] nexus3.edgexfoundry.org:10002 [2020-03-05T15:17:33.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-03-05T15:17:33.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-03-05T15:17:33.840Z] Configure a credential helper to remove this warning. See [2020-03-05T15:17:33.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-03-05T15:17:33.840Z] [2020-03-05T15:17:33.840Z] Login Succeeded [2020-03-05T15:17:33.840Z] nexus3.edgexfoundry.org:10003 [2020-03-05T15:17:34.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-03-05T15:17:34.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-03-05T15:17:34.426Z] Configure a credential helper to remove this warning. See [2020-03-05T15:17:34.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-03-05T15:17:34.426Z] [2020-03-05T15:17:34.426Z] Login Succeeded [2020-03-05T15:17:34.426Z] nexus3.edgexfoundry.org:10004 [2020-03-05T15:17:35.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-03-05T15:17:35.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-03-05T15:17:35.279Z] Configure a credential helper to remove this warning. See [2020-03-05T15:17:35.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-03-05T15:17:35.279Z] [2020-03-05T15:17:35.279Z] Login Succeeded [2020-03-05T15:17:35.279Z] docker.io [2020-03-05T15:17:35.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-03-05T15:17:36.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-03-05T15:17:36.132Z] Configure a credential helper to remove this warning. See [2020-03-05T15:17:36.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-03-05T15:17:36.132Z] [2020-03-05T15:17:36.132Z] Login Succeeded [Pipeline] } [2020-03-05T15:17:36.146Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-03-05T15:17:36.202Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2020-03-05T15:17:36.202Z] 0c916c4185adf107904cc5ed059ff8b8803c6a63 [2020-03-05T15:17:36.202Z] latest [2020-03-05T15:17:36.202Z] 1.0.1-dev.1 [2020-03-05T15:17:36.202Z] 0c916c4185adf107904cc5ed059ff8b8803c6a63-1.0.1-dev.1 [2020-03-05T15:17:36.202Z] master [2020-03-05T15:17:36.202Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:17:36.567Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0c916c4185adf107904cc5ed059ff8b8803c6a63 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:17:37.168Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0c916c4185adf107904cc5ed059ff8b8803c6a63 [2020-03-05T15:17:37.436Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-03-05T15:17:37.436Z] 45cd155fb202: Preparing [2020-03-05T15:17:37.436Z] 319f9e3e8523: Preparing [2020-03-05T15:17:37.436Z] dd7473091e73: Preparing [2020-03-05T15:17:37.436Z] 53745f29fdbf: Preparing [2020-03-05T15:17:37.436Z] 53745f29fdbf: Layer already exists [2020-03-05T15:17:37.704Z] 319f9e3e8523: Pushed [2020-03-05T15:17:37.704Z] dd7473091e73: Pushed [2020-03-05T15:17:41.954Z] 45cd155fb202: Pushed [2020-03-05T15:17:41.954Z] 0c916c4185adf107904cc5ed059ff8b8803c6a63: digest: sha256:335d1a80ed6efa685f6e0bb2a8e57a6f336a8a6e94db679b8321324cd9357de6 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:17:42.304Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:17:42.907Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-03-05T15:17:42.907Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-03-05T15:17:43.174Z] 45cd155fb202: Preparing [2020-03-05T15:17:43.174Z] 319f9e3e8523: Preparing [2020-03-05T15:17:43.174Z] dd7473091e73: Preparing [2020-03-05T15:17:43.174Z] 53745f29fdbf: Preparing [2020-03-05T15:17:43.174Z] 53745f29fdbf: Layer already exists [2020-03-05T15:17:43.174Z] 319f9e3e8523: Layer already exists [2020-03-05T15:17:43.174Z] 45cd155fb202: Layer already exists [2020-03-05T15:17:43.174Z] dd7473091e73: Layer already exists [2020-03-05T15:17:43.174Z] latest: digest: sha256:335d1a80ed6efa685f6e0bb2a8e57a6f336a8a6e94db679b8321324cd9357de6 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:17:43.506Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:17:44.107Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.0.1-dev.1 [2020-03-05T15:17:44.107Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-03-05T15:17:44.372Z] 45cd155fb202: Preparing [2020-03-05T15:17:44.372Z] 319f9e3e8523: Preparing [2020-03-05T15:17:44.372Z] dd7473091e73: Preparing [2020-03-05T15:17:44.372Z] 53745f29fdbf: Preparing [2020-03-05T15:17:44.372Z] 53745f29fdbf: Layer already exists [2020-03-05T15:17:44.372Z] 45cd155fb202: Layer already exists [2020-03-05T15:17:44.372Z] dd7473091e73: Layer already exists [2020-03-05T15:17:44.372Z] 319f9e3e8523: Layer already exists [2020-03-05T15:17:44.372Z] 1.0.1-dev.1: digest: sha256:335d1a80ed6efa685f6e0bb2a8e57a6f336a8a6e94db679b8321324cd9357de6 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:17:44.704Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0c916c4185adf107904cc5ed059ff8b8803c6a63-1.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:17:45.303Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0c916c4185adf107904cc5ed059ff8b8803c6a63-1.0.1-dev.1 [2020-03-05T15:17:45.303Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-03-05T15:17:45.570Z] 45cd155fb202: Preparing [2020-03-05T15:17:45.570Z] 319f9e3e8523: Preparing [2020-03-05T15:17:45.570Z] dd7473091e73: Preparing [2020-03-05T15:17:45.570Z] 53745f29fdbf: Preparing [2020-03-05T15:17:45.570Z] 53745f29fdbf: Layer already exists [2020-03-05T15:17:45.570Z] dd7473091e73: Layer already exists [2020-03-05T15:17:45.570Z] 319f9e3e8523: Layer already exists [2020-03-05T15:17:45.570Z] 45cd155fb202: Layer already exists [2020-03-05T15:17:45.570Z] 0c916c4185adf107904cc5ed059ff8b8803c6a63-1.0.1-dev.1: digest: sha256:335d1a80ed6efa685f6e0bb2a8e57a6f336a8a6e94db679b8321324cd9357de6 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:17:45.906Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:17:46.234Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2020-03-05T15:17:46.234Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-03-05T15:17:46.500Z] 45cd155fb202: Preparing [2020-03-05T15:17:46.500Z] 319f9e3e8523: Preparing [2020-03-05T15:17:46.500Z] dd7473091e73: Preparing [2020-03-05T15:17:46.500Z] 53745f29fdbf: Preparing [2020-03-05T15:17:46.500Z] 45cd155fb202: Layer already exists [2020-03-05T15:17:46.500Z] dd7473091e73: Layer already exists [2020-03-05T15:17:46.500Z] 319f9e3e8523: Layer already exists [2020-03-05T15:17:46.500Z] 53745f29fdbf: Layer already exists [2020-03-05T15:17:46.500Z] master: digest: sha256:335d1a80ed6efa685f6e0bb2a8e57a6f336a8a6e94db679b8321324cd9357de6 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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 [2020-03-05T15:17:46.855Z] provisioning config files... [2020-03-05T15:17:46.871Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5438005243769351108tmp [Pipeline] { [Pipeline] sh [2020-03-05T15:17:47.175Z] + curl -s https://codecov.io/bash [2020-03-05T15:17:47.175Z] + bash -s - -t @/w/workspace/gexfoundry_device-rest-go_master@tmp/config5438005243769351108tmp [2020-03-05T15:17:47.434Z] [2020-03-05T15:17:47.434Z] _____ _ [2020-03-05T15:17:47.434Z] / ____| | | [2020-03-05T15:17:47.434Z] | | ___ __| | ___ ___ _____ __ [2020-03-05T15:17:47.434Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-05T15:17:47.434Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-05T15:17:47.434Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-05T15:17:47.434Z] Bash-20200303-bc4d7e6 [2020-03-05T15:17:47.434Z] [2020-03-05T15:17:47.434Z] [2020-03-05T15:17:47.434Z] ==> Jenkins CI detected. [2020-03-05T15:17:47.434Z] project root: . [2020-03-05T15:17:47.434Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-05T15:17:47.434Z] ==> Running gcov in . (disable via -X gcov) [2020-03-05T15:17:47.434Z] ==> Python coveragepy not found [2020-03-05T15:17:47.434Z] ==> Searching for coverage reports in: [2020-03-05T15:17:47.434Z] + . [2020-03-05T15:17:47.434Z] -> Found 1 reports [2020-03-05T15:17:47.434Z] ==> Detecting git/mercurial file structure [2020-03-05T15:17:47.434Z] ==> Reading reports [2020-03-05T15:17:47.434Z] + ./coverage.out bytes=9369 [2020-03-05T15:17:47.434Z] ==> Appending adjustments [2020-03-05T15:17:47.434Z] http://docs.codecov.io/docs/fixing-reports [2020-03-05T15:17:47.434Z] + Found adjustments [2020-03-05T15:17:47.434Z] ==> Gzipping contents [2020-03-05T15:17:47.697Z] ==> Uploading reports [2020-03-05T15:17:47.697Z] url: https://codecov.io [2020-03-05T15:17:47.697Z] query: branch=master&commit=0c916c4185adf107904cc5ed059ff8b8803c6a63&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= [2020-03-05T15:17:47.697Z] -> Pinging Codecov [2020-03-05T15:17:47.697Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=master&commit=0c916c4185adf107904cc5ed059ff8b8803c6a63&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= [2020-03-05T15:17:47.962Z] -> Uploading [2020-03-05T15:18:00.165Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/0c916c4185adf107904cc5ed059ff8b8803c6a63 [Pipeline] } [2020-03-05T15:18:00.172Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-03-05T15:18:00.702Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-03-05T15:18:00.703Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-03-05T15:18:00.718Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:18:01.084Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-03-05T15:18:01.084Z] [2020-03-05T15:18:01.084Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:18:01.392Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-03-05T15:18:01.392Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-03-05T15:18:01.392Z] e6b0cf9c0882: Pulling fs layer [2020-03-05T15:18:01.392Z] 2848faf0eed1: Pulling fs layer [2020-03-05T15:18:01.392Z] 0f37312ad70f: Pulling fs layer [2020-03-05T15:18:01.392Z] 7d08f2745646: Pulling fs layer [2020-03-05T15:18:01.392Z] 4c9f31393084: Pulling fs layer [2020-03-05T15:18:01.392Z] eb21ddb83652: Pulling fs layer [2020-03-05T15:18:01.392Z] 345998794f6b: Pulling fs layer [2020-03-05T15:18:01.392Z] 97a711d68925: Pulling fs layer [2020-03-05T15:18:01.392Z] 7c8476c1cb00: Pulling fs layer [2020-03-05T15:18:01.392Z] 345998794f6b: Waiting [2020-03-05T15:18:01.392Z] 7d08f2745646: Waiting [2020-03-05T15:18:01.392Z] 4c9f31393084: Waiting [2020-03-05T15:18:01.392Z] eb21ddb83652: Waiting [2020-03-05T15:18:01.392Z] 7c8476c1cb00: Waiting [2020-03-05T15:18:01.392Z] 97a711d68925: Waiting [2020-03-05T15:18:01.392Z] 0f37312ad70f: Verifying Checksum [2020-03-05T15:18:01.392Z] 0f37312ad70f: Download complete [2020-03-05T15:18:01.392Z] 2848faf0eed1: Verifying Checksum [2020-03-05T15:18:01.392Z] 2848faf0eed1: Download complete [2020-03-05T15:18:01.392Z] 4c9f31393084: Verifying Checksum [2020-03-05T15:18:01.392Z] 4c9f31393084: Download complete [2020-03-05T15:18:01.392Z] eb21ddb83652: Download complete [2020-03-05T15:18:01.392Z] e6b0cf9c0882: Verifying Checksum [2020-03-05T15:18:01.392Z] e6b0cf9c0882: Download complete [2020-03-05T15:18:01.655Z] 345998794f6b: Verifying Checksum [2020-03-05T15:18:01.655Z] 345998794f6b: Download complete [2020-03-05T15:18:01.927Z] e6b0cf9c0882: Pull complete [2020-03-05T15:18:02.201Z] 2848faf0eed1: Pull complete [2020-03-05T15:18:02.201Z] 7c8476c1cb00: Verifying Checksum [2020-03-05T15:18:02.201Z] 7c8476c1cb00: Download complete [2020-03-05T15:18:02.462Z] 97a711d68925: Download complete [2020-03-05T15:18:02.462Z] 0f37312ad70f: Pull complete [2020-03-05T15:18:03.037Z] 7d08f2745646: Download complete [2020-03-05T15:18:08.309Z] 7d08f2745646: Pull complete [2020-03-05T15:18:08.309Z] 4c9f31393084: Pull complete [2020-03-05T15:18:08.309Z] eb21ddb83652: Pull complete [2020-03-05T15:18:10.851Z] 345998794f6b: Pull complete [2020-03-05T15:18:14.136Z] 97a711d68925: Pull complete [2020-03-05T15:18:14.704Z] 7c8476c1cb00: Pull complete [2020-03-05T15:18:14.704Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-03-05T15:18:14.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-03-05T15:18:14.845Z] prd-centos7-docker-4c-2g-2423 does not seem to be running inside a container [2020-03-05T15:18:14.890Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-03-05T15:18:15.457Z] $ docker top e3ccc258aa2aab376fb2cdd924358ea748be33896a23acbec1e7b046234995c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-05T15:18:16.275Z] + snyk monitor '--org=edgex-jenkins' [2020-03-05T15:18:24.393Z] [2020-03-05T15:18:24.393Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master... [2020-03-05T15:18:24.393Z] [2020-03-05T15:18:24.393Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/ae6ebccb-0f48-47f1-aec3-5e307d457e4f [2020-03-05T15:18:24.393Z] [2020-03-05T15:18:24.393Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-03-05T15:18:24.393Z] [2020-03-05T15:18:24.393Z] [Pipeline] } [2020-03-05T15:18:24.408Z] $ docker stop --time=1 e3ccc258aa2aab376fb2cdd924358ea748be33896a23acbec1e7b046234995c4 [2020-03-05T15:18:26.864Z] $ docker rm -f e3ccc258aa2aab376fb2cdd924358ea748be33896a23acbec1e7b046234995c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:18:27.687Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-03-05T15:18:27.687Z] [2020-03-05T15:18:27.687Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:18:27.992Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-03-05T15:18:27.992Z] latest: Pulling from edgex-devops/edgex-klar [2020-03-05T15:18:27.992Z] e7c96db7181b: Pulling fs layer [2020-03-05T15:18:27.992Z] 1868ca2cb446: Pulling fs layer [2020-03-05T15:18:27.992Z] 136be5d0fe8e: Pulling fs layer [2020-03-05T15:18:27.992Z] 894bfe63afcb: Pulling fs layer [2020-03-05T15:18:27.992Z] 894bfe63afcb: Waiting [2020-03-05T15:18:27.992Z] 1868ca2cb446: Verifying Checksum [2020-03-05T15:18:27.992Z] 1868ca2cb446: Download complete [2020-03-05T15:18:27.992Z] 136be5d0fe8e: Download complete [2020-03-05T15:18:27.992Z] e7c96db7181b: Verifying Checksum [2020-03-05T15:18:27.992Z] e7c96db7181b: Download complete [2020-03-05T15:18:28.257Z] 894bfe63afcb: Verifying Checksum [2020-03-05T15:18:28.257Z] 894bfe63afcb: Download complete [2020-03-05T15:18:28.257Z] e7c96db7181b: Pull complete [2020-03-05T15:18:28.517Z] 1868ca2cb446: Pull complete [2020-03-05T15:18:28.517Z] 136be5d0fe8e: Pull complete [2020-03-05T15:18:28.775Z] 894bfe63afcb: Pull complete [2020-03-05T15:18:28.775Z] Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 [2020-03-05T15:18:28.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer [2020-03-05T15:18:28.908Z] prd-centos7-docker-4c-2g-2423 does not seem to be running inside a container [2020-03-05T15:18:28.951Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-03-05T15:18:29.537Z] $ docker top 40f07b3595f15c91f5b92b89a25eec70627b5cff274869ecf228aa63e8140a66 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-03-05T15:18:30.378Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:0c916c4185adf107904cc5ed059ff8b8803c6a63 [2020-03-05T15:18:30.378Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-03-05T15:18:34.614Z] $ docker stop --time=1 40f07b3595f15c91f5b92b89a25eec70627b5cff274869ecf228aa63e8140a66 [2020-03-05T15:18:35.959Z] $ docker rm -f 40f07b3595f15c91f5b92b89a25eec70627b5cff274869ecf228aa63e8140a66 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:18:36.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-03-05T15:18:36.367Z] . [Pipeline] withDockerContainer [2020-03-05T15:18:36.476Z] prd-centos7-docker-4c-2g-2423 does not seem to be running inside a container [2020-03-05T15:18:36.518Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-03-05T15:18:37.079Z] $ docker top b2bbabafd6cc3607f1af6fa7c73156b94dcd2396e7698ad440dbd053c8278724 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-03-05T15:18:37.882Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:0c916c4185adf107904cc5ed059ff8b8803c6a63 [2020-03-05T15:18:37.882Z] + tee [2020-03-05T15:18:37.882Z] clair timeout 1m0s [2020-03-05T15:18:37.882Z] docker timeout: 1m0s [2020-03-05T15:18:37.882Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-03-05T15:18:38.485Z] $ docker stop --time=1 b2bbabafd6cc3607f1af6fa7c73156b94dcd2396e7698ad440dbd053c8278724 [2020-03-05T15:18:39.843Z] $ docker rm -f b2bbabafd6cc3607f1af6fa7c73156b94dcd2396e7698ad440dbd053c8278724 [Pipeline] // withDockerContainer [Pipeline] sh [2020-03-05T15:18:40.255Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo [2020-03-05T15:18:40.263Z] Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go_0c916c4185adf107904cc5ed059ff8b8803c6a63.html [Pipeline] writeFile [Pipeline] step [2020-03-05T15:18:40.279Z] Archiving artifacts [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:18:40.596Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-03-05T15:18:40.596Z] . [Pipeline] withDockerContainer [2020-03-05T15:18:40.707Z] prd-centos7-docker-4c-2g-2423 does not seem to be running inside a container [2020-03-05T15:18:40.752Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-03-05T15:18:41.379Z] $ docker top c828c5779bd8d4bc28d8839d36fa97bad575d4cee3754104dbc2bdc75b85d961 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-03-05T15:18:42.175Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0c916c4185adf107904cc5ed059ff8b8803c6a63 [2020-03-05T15:18:42.175Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-03-05T15:18:45.506Z] $ docker stop --time=1 c828c5779bd8d4bc28d8839d36fa97bad575d4cee3754104dbc2bdc75b85d961 [2020-03-05T15:18:46.833Z] $ docker rm -f c828c5779bd8d4bc28d8839d36fa97bad575d4cee3754104dbc2bdc75b85d961 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:18:47.235Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-03-05T15:18:47.235Z] . [Pipeline] withDockerContainer [2020-03-05T15:18:47.347Z] prd-centos7-docker-4c-2g-2423 does not seem to be running inside a container [2020-03-05T15:18:47.395Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-03-05T15:18:47.915Z] $ docker top d905ba045768fbec92dc7b6622f3eef36ce8ebd7bbb86d22842147491925cdc5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-03-05T15:18:48.740Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:0c916c4185adf107904cc5ed059ff8b8803c6a63 [2020-03-05T15:18:48.740Z] + tee [2020-03-05T15:18:48.740Z] clair timeout 1m0s [2020-03-05T15:18:48.740Z] docker timeout: 1m0s [2020-03-05T15:18:48.740Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-03-05T15:18:49.343Z] $ docker stop --time=1 d905ba045768fbec92dc7b6622f3eef36ce8ebd7bbb86d22842147491925cdc5 [2020-03-05T15:18:50.673Z] $ docker rm -f d905ba045768fbec92dc7b6622f3eef36ce8ebd7bbb86d22842147491925cdc5 [Pipeline] // withDockerContainer [Pipeline] sh [2020-03-05T15:18:51.069Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo [2020-03-05T15:18:51.077Z] Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go-arm64_0c916c4185adf107904cc5ed059ff8b8803c6a63.html [Pipeline] writeFile [Pipeline] step [2020-03-05T15:18:51.093Z] Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:18:51.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-05T15:18:51.945Z] . [Pipeline] withDockerContainer [2020-03-05T15:18:52.051Z] prd-centos7-docker-4c-2g-2423 does not seem to be running inside a container [2020-03-05T15:18:52.087Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-05T15:18:52.649Z] $ docker top 0baaaa5112e04bdef2a0c0f10302517ea71de84a2cf1422de9202df8220db956 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-05T15:18:53.170Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-05T15:18:53.170Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-05T15:18:53.372Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-05T15:18:53.378Z] $ docker exec 0baaaa5112e04bdef2a0c0f10302517ea71de84a2cf1422de9202df8220db956 ssh-agent [2020-03-05T15:18:53.558Z] SSH_AUTH_SOCK=/tmp/ssh-SzQB5446aDEd/agent.14 [2020-03-05T15:18:53.558Z] SSH_AGENT_PID=21 [2020-03-05T15:18:53.564Z] Running ssh-add (command line suppressed) [2020-03-05T15:18:53.717Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1508822385202278100.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1508822385202278100.key) [2020-03-05T15:18:53.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-05T15:18:54.051Z] + git semver tag [2020-03-05T15:18:54.051Z] # -> Open(): unable to determine branch for HEAD [2020-03-05T15:18:54.051Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-03-05T15:18:54.051Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-03-05T15:18:54.051Z] # $SEMVER_REMOTE_NAME = origin [2020-03-05T15:18:54.051Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-05T15:18:54.051Z] # $SEMVER_USER_NAME = jenkins [2020-03-05T15:18:54.051Z] # $SEMVER_BRANCH = master [2020-03-05T15:18:54.051Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2020-03-05T15:18:54.051Z] # 0c916c4185adf107904cc5ed059ff8b8803c6a63 HEAD [2020-03-05T15:18:54.051Z] # -> Force: false [2020-03-05T15:18:54.051Z] # a02a5f658054669f92158b614f53a7d434dfd511 refs/tags/v1.0.1-dev.1 [Pipeline] } [2020-03-05T15:18:54.062Z] $ docker exec --env ******** --env ******** 0baaaa5112e04bdef2a0c0f10302517ea71de84a2cf1422de9202df8220db956 ssh-agent -k [2020-03-05T15:18:54.207Z] unset SSH_AUTH_SOCK; [2020-03-05T15:18:54.207Z] unset SSH_AGENT_PID; [2020-03-05T15:18:54.207Z] echo Agent pid 21 killed; [2020-03-05T15:18:54.252Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-05T15:18:54.582Z] + git semver [Pipeline] } [2020-03-05T15:18:54.597Z] $ docker stop --time=1 0baaaa5112e04bdef2a0c0f10302517ea71de84a2cf1422de9202df8220db956 [2020-03-05T15:18:55.960Z] $ docker rm -f 0baaaa5112e04bdef2a0c0f10302517ea71de84a2cf1422de9202df8220db956 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:18:56.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-lftools:0.23.1-centos7 [2020-03-05T15:18:56.413Z] [2020-03-05T15:18:56.413Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:18:56.713Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-lftools:0.23.1-centos7 [2020-03-05T15:18:56.713Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-03-05T15:18:56.713Z] 8ba884070f61: Pulling fs layer [2020-03-05T15:18:56.713Z] 78d65bd6cf10: Pulling fs layer [2020-03-05T15:18:56.713Z] 5573da4c1a9d: Pulling fs layer [2020-03-05T15:18:56.713Z] 4493e11b668a: Pulling fs layer [2020-03-05T15:18:56.713Z] 2e4ad32216ba: Pulling fs layer [2020-03-05T15:18:56.713Z] 14bc7892088f: Pulling fs layer [2020-03-05T15:18:56.713Z] 4493e11b668a: Waiting [2020-03-05T15:18:56.713Z] 2e4ad32216ba: Waiting [2020-03-05T15:18:56.713Z] 14bc7892088f: Waiting [2020-03-05T15:18:56.713Z] 78d65bd6cf10: Verifying Checksum [2020-03-05T15:18:56.713Z] 78d65bd6cf10: Download complete [2020-03-05T15:18:56.972Z] 4493e11b668a: Verifying Checksum [2020-03-05T15:18:56.972Z] 4493e11b668a: Download complete [2020-03-05T15:18:56.972Z] 2e4ad32216ba: Verifying Checksum [2020-03-05T15:18:56.972Z] 2e4ad32216ba: Download complete [2020-03-05T15:18:57.551Z] 14bc7892088f: Verifying Checksum [2020-03-05T15:18:57.551Z] 14bc7892088f: Download complete [2020-03-05T15:18:58.125Z] 8ba884070f61: Verifying Checksum [2020-03-05T15:18:58.125Z] 8ba884070f61: Download complete [2020-03-05T15:18:58.384Z] 5573da4c1a9d: Verifying Checksum [2020-03-05T15:18:58.384Z] 5573da4c1a9d: Download complete [2020-03-05T15:19:03.660Z] 8ba884070f61: Pull complete [2020-03-05T15:19:03.660Z] 78d65bd6cf10: Pull complete [2020-03-05T15:19:15.880Z] 5573da4c1a9d: Pull complete [2020-03-05T15:19:15.880Z] 4493e11b668a: Pull complete [2020-03-05T15:19:15.880Z] 2e4ad32216ba: Pull complete [2020-03-05T15:19:18.420Z] 14bc7892088f: Pull complete [2020-03-05T15:19:18.420Z] Digest: sha256:d6004a4377c0936d28e977567e7ee784baaf6af585b07dc8541bedd134509ec7 [2020-03-05T15:19:18.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-03-05T15:19:18.550Z] prd-centos7-docker-4c-2g-2423 does not seem to be running inside a container [2020-03-05T15:19:18.634Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-lftools:0.23.1-centos7 cat [2020-03-05T15:19:19.177Z] $ docker top 08b243804871c8d3e70d5413ea66925d20c17b0e04307bff6fe49e826c874c8d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-03-05T15:19:19.736Z] provisioning config files... [2020-03-05T15:19:19.744Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4803428579402144689tmp [2020-03-05T15:19:19.758Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config537487328991949609tmp [2020-03-05T15:19:19.771Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config5580046600316331075tmp [Pipeline] { [Pipeline] echo [2020-03-05T15:19:19.789Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-05T15:19:20.079Z] ---> sigul-configuration.sh [2020-03-05T15:19:20.079Z] gpg: directory `/root/.gnupg' created [2020-03-05T15:19:20.079Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-03-05T15:19:20.079Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-03-05T15:19:20.079Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-03-05T15:19:20.079Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-03-05T15:19:20.079Z] gpg: CAST5 encrypted data [2020-03-05T15:19:20.338Z] gpg: encrypted with 1 passphrase [2020-03-05T15:19:20.338Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-03-05T15:19:20.629Z] + mkdir /home/jenkins [2020-03-05T15:19:20.629Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-03-05T15:19:20.920Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo [2020-03-05T15:19:20.928Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-05T15:19:21.221Z] ---> sigul-install.sh [2020-03-05T15:19:27.796Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-03-05T15:19:28.087Z] + git tag --list [2020-03-05T15:19:28.087Z] v1.0.1-dev.1 [Pipeline] sh [2020-03-05T15:19:28.376Z] + lftools sign git-tag v1.0.1-dev.1 [2020-03-05T15:19:29.751Z] Signing Git tag with Sigul... [2020-03-05T15:19:29.751Z] Signing v1.0.1-dev.1 [Pipeline] echo [2020-03-05T15:19:30.693Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-05T15:19:30.989Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-03-05T15:19:30.994Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-03-05T15:19:31.023Z] $ docker stop --time=1 08b243804871c8d3e70d5413ea66925d20c17b0e04307bff6fe49e826c874c8d [2020-03-05T15:19:32.405Z] $ docker rm -f 08b243804871c8d3e70d5413ea66925d20c17b0e04307bff6fe49e826c874c8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:19:32.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-05T15:19:32.895Z] . [Pipeline] withDockerContainer [2020-03-05T15:19:33.001Z] prd-centos7-docker-4c-2g-2423 does not seem to be running inside a container [2020-03-05T15:19:33.044Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-05T15:19:33.610Z] $ docker top f39b0f80fb7c9d32cdec4ece94d95857fb49100a6c5f0a132dd7842468320a6c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-05T15:19:34.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-05T15:19:34.178Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-05T15:19:34.397Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-05T15:19:34.403Z] $ docker exec f39b0f80fb7c9d32cdec4ece94d95857fb49100a6c5f0a132dd7842468320a6c ssh-agent [2020-03-05T15:19:34.581Z] SSH_AUTH_SOCK=/tmp/ssh-BTvO4mLlLKa6/agent.14 [2020-03-05T15:19:34.581Z] SSH_AGENT_PID=20 [2020-03-05T15:19:34.588Z] Running ssh-add (command line suppressed) [2020-03-05T15:19:34.734Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_581546048432861063.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_581546048432861063.key) [2020-03-05T15:19:34.780Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-05T15:19:35.085Z] + git semver bump pre [2020-03-05T15:19:35.085Z] # -> Open(): unable to determine branch for HEAD [2020-03-05T15:19:35.085Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-03-05T15:19:35.085Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-03-05T15:19:35.085Z] # $SEMVER_REMOTE_NAME = origin [2020-03-05T15:19:35.085Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-05T15:19:35.085Z] # $SEMVER_USER_NAME = jenkins [2020-03-05T15:19:35.085Z] # $SEMVER_BRANCH = master [2020-03-05T15:19:35.086Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2020-03-05T15:19:35.086Z] 1.0.1-dev.2 [Pipeline] } [2020-03-05T15:19:35.097Z] $ docker exec --env ******** --env ******** f39b0f80fb7c9d32cdec4ece94d95857fb49100a6c5f0a132dd7842468320a6c ssh-agent -k [2020-03-05T15:19:35.238Z] unset SSH_AUTH_SOCK; [2020-03-05T15:19:35.238Z] unset SSH_AGENT_PID; [2020-03-05T15:19:35.238Z] echo Agent pid 20 killed; [2020-03-05T15:19:35.281Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-05T15:19:35.600Z] + git semver [Pipeline] } [2020-03-05T15:19:35.617Z] $ docker stop --time=1 f39b0f80fb7c9d32cdec4ece94d95857fb49100a6c5f0a132dd7842468320a6c [2020-03-05T15:19:36.991Z] $ docker rm -f f39b0f80fb7c9d32cdec4ece94d95857fb49100a6c5f0a132dd7842468320a6c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:19:37.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-05T15:19:37.420Z] . [Pipeline] withDockerContainer [2020-03-05T15:19:37.540Z] prd-centos7-docker-4c-2g-2423 does not seem to be running inside a container [2020-03-05T15:19:37.584Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-05T15:19:38.162Z] $ docker top 576d1dd772cbac098f2846bd75d47ad0eccbf261fd88adcbff9fa48dbf74400f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-05T15:19:38.691Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-05T15:19:38.691Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-05T15:19:38.880Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-05T15:19:38.886Z] $ docker exec 576d1dd772cbac098f2846bd75d47ad0eccbf261fd88adcbff9fa48dbf74400f ssh-agent [2020-03-05T15:19:39.074Z] SSH_AUTH_SOCK=/tmp/ssh-KxBc64HWAtuI/agent.14 [2020-03-05T15:19:39.074Z] SSH_AGENT_PID=21 [2020-03-05T15:19:39.080Z] Running ssh-add (command line suppressed) [2020-03-05T15:19:39.229Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1573511610510706004.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1573511610510706004.key) [2020-03-05T15:19:39.277Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-05T15:19:39.570Z] + git semver push [2020-03-05T15:19:39.570Z] # -> Open(): unable to determine branch for HEAD [2020-03-05T15:19:39.570Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-03-05T15:19:39.570Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-03-05T15:19:39.570Z] # $SEMVER_REMOTE_NAME = origin [2020-03-05T15:19:39.570Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-05T15:19:39.570Z] # $SEMVER_USER_NAME = jenkins [2020-03-05T15:19:39.570Z] # $SEMVER_BRANCH = master [2020-03-05T15:19:39.570Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-03-05T15:19:44.850Z] $ docker exec --env ******** --env ******** 576d1dd772cbac098f2846bd75d47ad0eccbf261fd88adcbff9fa48dbf74400f ssh-agent -k [2020-03-05T15:19:44.986Z] unset SSH_AUTH_SOCK; [2020-03-05T15:19:44.986Z] unset SSH_AGENT_PID; [2020-03-05T15:19:44.986Z] echo Agent pid 21 killed; [2020-03-05T15:19:45.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-05T15:19:45.339Z] + git semver [Pipeline] } [2020-03-05T15:19:45.355Z] $ docker stop --time=1 576d1dd772cbac098f2846bd75d47ad0eccbf261fd88adcbff9fa48dbf74400f [2020-03-05T15:19:46.690Z] $ docker rm -f 576d1dd772cbac098f2846bd75d47ad0eccbf261fd88adcbff9fa48dbf74400f [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 [2020-03-05T15:19:47.275Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-05T15:19:47.829Z] ---> package-listing.sh [2020-03-05T15:19:47.829Z] ++ facter osfamily [2020-03-05T15:19:47.829Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-05T15:19:47.829Z] + OS_FAMILY=redhat [2020-03-05T15:19:47.829Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2020-03-05T15:19:47.829Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-05T15:19:47.829Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-05T15:19:47.829Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-05T15:19:47.829Z] + PACKAGES=/tmp/packages_start.txt [2020-03-05T15:19:47.829Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-03-05T15:19:47.829Z] + PACKAGES=/tmp/packages_end.txt [2020-03-05T15:19:47.829Z] + case "${OS_FAMILY}" in [2020-03-05T15:19:47.829Z] + rpm -qa [2020-03-05T15:19:47.829Z] + sort [2020-03-05T15:19:52.019Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-05T15:19:52.019Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-05T15:19:52.019Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-05T15:19:52.019Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-03-05T15:19:52.019Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2020-03-05T15:19:52.019Z] + 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 [2020-03-05T15:19:52.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-05T15:19:52.482Z] [2020-03-05T15:19:52.482Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-05T15:19:52.782Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-05T15:19:52.782Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-05T15:19:52.782Z] c9b1b535fdd9: Pulling fs layer [2020-03-05T15:19:52.782Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-05T15:19:52.782Z] 756a868c4378: Pulling fs layer [2020-03-05T15:19:52.782Z] 444b2fc9a129: Pulling fs layer [2020-03-05T15:19:52.782Z] ea15f1150254: Pulling fs layer [2020-03-05T15:19:52.782Z] aff0b1468e3f: Pulling fs layer [2020-03-05T15:19:52.782Z] 24ec7e4c2f34: Pulling fs layer [2020-03-05T15:19:52.782Z] 2c8d4456eed3: Pulling fs layer [2020-03-05T15:19:52.782Z] a7efe2bd1cbe: Pulling fs layer [2020-03-05T15:19:52.782Z] b796e8c79dde: Pulling fs layer [2020-03-05T15:19:52.782Z] 24ec7e4c2f34: Waiting [2020-03-05T15:19:52.782Z] a7efe2bd1cbe: Waiting [2020-03-05T15:19:52.782Z] b796e8c79dde: Waiting [2020-03-05T15:19:52.782Z] 2c8d4456eed3: Waiting [2020-03-05T15:19:52.782Z] aff0b1468e3f: Waiting [2020-03-05T15:19:52.782Z] 444b2fc9a129: Waiting [2020-03-05T15:19:52.782Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-05T15:19:52.782Z] 2cc5ad85d9ab: Download complete [2020-03-05T15:19:52.782Z] 444b2fc9a129: Verifying Checksum [2020-03-05T15:19:52.782Z] 444b2fc9a129: Download complete [2020-03-05T15:19:52.782Z] c9b1b535fdd9: Download complete [2020-03-05T15:19:52.782Z] ea15f1150254: Verifying Checksum [2020-03-05T15:19:52.782Z] ea15f1150254: Download complete [2020-03-05T15:19:53.042Z] 24ec7e4c2f34: Verifying Checksum [2020-03-05T15:19:53.042Z] 24ec7e4c2f34: Download complete [2020-03-05T15:19:53.042Z] c9b1b535fdd9: Pull complete [2020-03-05T15:19:53.305Z] 756a868c4378: Verifying Checksum [2020-03-05T15:19:53.305Z] 756a868c4378: Download complete [2020-03-05T15:19:53.305Z] 2c8d4456eed3: Verifying Checksum [2020-03-05T15:19:53.305Z] 2c8d4456eed3: Download complete [2020-03-05T15:19:53.305Z] b796e8c79dde: Verifying Checksum [2020-03-05T15:19:53.305Z] b796e8c79dde: Download complete [2020-03-05T15:19:53.570Z] a7efe2bd1cbe: Verifying Checksum [2020-03-05T15:19:53.570Z] a7efe2bd1cbe: Download complete [2020-03-05T15:19:54.138Z] aff0b1468e3f: Verifying Checksum [2020-03-05T15:19:54.138Z] aff0b1468e3f: Download complete [2020-03-05T15:19:54.704Z] 2cc5ad85d9ab: Pull complete [2020-03-05T15:19:56.080Z] 756a868c4378: Pull complete [2020-03-05T15:19:56.339Z] 444b2fc9a129: Pull complete [2020-03-05T15:19:56.598Z] ea15f1150254: Pull complete [2020-03-05T15:19:59.891Z] aff0b1468e3f: Pull complete [2020-03-05T15:19:59.891Z] 24ec7e4c2f34: Pull complete [2020-03-05T15:20:02.422Z] 2c8d4456eed3: Pull complete [2020-03-05T15:20:02.422Z] a7efe2bd1cbe: Pull complete [2020-03-05T15:20:02.422Z] b796e8c79dde: Pull complete [2020-03-05T15:20:02.422Z] Digest: sha256:e31ec4acf9eeeaa3d9023c2bc411d5a0ff3d692474b571289b8a5b5fbf95746d [2020-03-05T15:20:02.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-05T15:20:02.558Z] prd-centos7-docker-4c-2g-2423 does not seem to be running inside a container [2020-03-05T15:20:02.600Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-05T15:20:03.143Z] $ docker top 34d907eb38d1bc51f758025da4870cd22000fef14bc2142973bb9f4a151400b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-05T15:20:03.687Z] provisioning config files... [2020-03-05T15:20:03.699Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3237575990645021109tmp [Pipeline] { [Pipeline] echo [2020-03-05T15:20:03.716Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-05T15:20:04.001Z] ---> create-netrc.sh [Pipeline] echo [2020-03-05T15:20:04.008Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-05T15:20:04.303Z] ---> logs-deploy.sh [2020-03-05T15:20:04.303Z] + ARCHIVE_ARTIFACTS= [2020-03-05T15:20:04.303Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-05T15:20:04.303Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-05T15:20:04.303Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-05T15:20:04.303Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/4 [2020-03-05T15:20:04.303Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/4/ [2020-03-05T15:20:04.303Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/4 /w/workspace/gexfoundry_device-rest-go_master [2020-03-05T15:20:05.238Z] Archives upload complete. [2020-03-05T15:20:05.496Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/4/