Started by user Bill Mahoney Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ecc710d5197e59ae7f4883e76f8aa49dbd120517 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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 BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-514 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 ecc710d5197e59ae7f4883e76f8aa49dbd120517 (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 ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 Commit message: "Merge pull request #27 from edgexfoundry/snap" > git rev-list --no-walk ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-08-19T20:42:49.556Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-08-19T20:42:49.800Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-08-19T20:42:49.883Z] ========================================================= [2020-08-19T20:42:49.883Z] EdgeX Global Pipelines Version Info [2020-08-19T20:42:49.883Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-08-19T20:42:51.285Z] ------------------- [2020-08-19T20:42:51.285Z] stable info: [2020-08-19T20:42:51.285Z] ------------------- [2020-08-19T20:42:51.285Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-08-19T20:42:51.285Z] Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [2020-08-19T20:42:51.285Z] Message: update stable to v1.0.106 [2020-08-19T20:42:52.236Z] ------------------- [2020-08-19T20:42:52.236Z] experimental info: [2020-08-19T20:42:52.236Z] ------------------- [2020-08-19T20:42:52.236Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-08-19T20:42:52.236Z] Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b [2020-08-19T20:42:52.236Z] Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-19T20:42:54.383Z] + git log --format=format:%s -1 ecc710d5197e59ae7f4883e76f8aa49dbd120517 [Pipeline] echo [2020-08-19T20:42:54.439Z] GIT_COMMIT: ecc710d5197e59ae7f4883e76f8aa49dbd120517, Commit Message: Merge pull request #27 from edgexfoundry/snap [Pipeline] echo [2020-08-19T20:42:54.485Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:42:54.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-19T20:42:55.562Z] [2020-08-19T20:42:55.562Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:42:55.907Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-19T20:42:55.907Z] latest: Pulling from edgex-devops/git-semver [2020-08-19T20:42:55.907Z] 31603596830f: Pulling fs layer [2020-08-19T20:42:55.907Z] 2a8b12db71e7: Pulling fs layer [2020-08-19T20:42:55.907Z] 6ca5941a6612: Pulling fs layer [2020-08-19T20:42:55.907Z] ecc8261a40a4: Pulling fs layer [2020-08-19T20:42:55.907Z] ecc8261a40a4: Waiting [2020-08-19T20:42:55.907Z] 2a8b12db71e7: Verifying Checksum [2020-08-19T20:42:55.907Z] 2a8b12db71e7: Download complete [2020-08-19T20:42:55.907Z] 31603596830f: Verifying Checksum [2020-08-19T20:42:55.907Z] 31603596830f: Download complete [2020-08-19T20:42:56.179Z] ecc8261a40a4: Verifying Checksum [2020-08-19T20:42:56.179Z] ecc8261a40a4: Download complete [2020-08-19T20:42:56.179Z] 6ca5941a6612: Verifying Checksum [2020-08-19T20:42:56.179Z] 6ca5941a6612: Download complete [2020-08-19T20:42:56.445Z] 31603596830f: Pull complete [2020-08-19T20:42:56.445Z] 2a8b12db71e7: Pull complete [2020-08-19T20:42:57.387Z] 6ca5941a6612: Pull complete [2020-08-19T20:42:57.387Z] ecc8261a40a4: Pull complete [2020-08-19T20:42:57.387Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-08-19T20:42:57.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-19T20:42:57.387Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-08-19T20:42:57.494Z] prd-centos7-docker-4c-2g-514 does not seem to be running inside a container [2020-08-19T20:42:57.534Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-08-19T20:42:59.462Z] $ docker top 6bebefd0ab413bec304efb23b2c9d3f1d00e4438c9b25d7257532f9a45c64eff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-08-19T20:42:59.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-19T20:42:59.809Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-19T20:43:00.034Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-19T20:43:00.033Z] $ docker exec 6bebefd0ab413bec304efb23b2c9d3f1d00e4438c9b25d7257532f9a45c64eff ssh-agent [2020-08-19T20:43:00.208Z] SSH_AUTH_SOCK=/tmp/ssh-B2jnm7TFAyXP/agent.12 [2020-08-19T20:43:00.208Z] SSH_AGENT_PID=18 [2020-08-19T20:43:00.223Z] Running ssh-add (command line suppressed) [2020-08-19T20:43:00.337Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6575483644913157169.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6575483644913157169.key) [2020-08-19T20:43:00.397Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-19T20:43:00.750Z] + git describe --exact-match --tags HEAD [2020-08-19T20:43:00.750Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-08-19T20:43:00.767Z] $ docker exec --env ******** --env ******** 6bebefd0ab413bec304efb23b2c9d3f1d00e4438c9b25d7257532f9a45c64eff ssh-agent -k [2020-08-19T20:43:00.880Z] unset SSH_AUTH_SOCK; [2020-08-19T20:43:00.880Z] unset SSH_AGENT_PID; [2020-08-19T20:43:00.880Z] echo Agent pid 18 killed; [2020-08-19T20:43:00.933Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-08-19T20:43:01.096Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-08-19T20:43:01.096Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-08-19T20:43:01.199Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-19T20:43:01.199Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-19T20:43:01.369Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-19T20:43:01.368Z] $ docker exec 6bebefd0ab413bec304efb23b2c9d3f1d00e4438c9b25d7257532f9a45c64eff ssh-agent [2020-08-19T20:43:01.562Z] SSH_AUTH_SOCK=/tmp/ssh-NSSdfph5s4EN/agent.47 [2020-08-19T20:43:01.562Z] SSH_AGENT_PID=52 [2020-08-19T20:43:01.570Z] Running ssh-add (command line suppressed) [2020-08-19T20:43:01.686Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3605563050610784147.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3605563050610784147.key) [2020-08-19T20:43:01.764Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-19T20:43:02.094Z] + git semver init [2020-08-19T20:43:02.094Z] # -> Open(): unable to determine branch for HEAD [2020-08-19T20:43:02.094Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-08-19T20:43:02.094Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-08-19T20:43:02.094Z] # $SEMVER_REMOTE_NAME = origin [2020-08-19T20:43:02.094Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-08-19T20:43:02.094Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-08-19T20:43:02.094Z] # $SEMVER_BRANCH = master [2020-08-19T20:43:02.094Z] # $SEMVER_TEMP = /tmp/semver-986781348 [2020-08-19T20:43:02.094Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-08-19T20:43:04.014Z] # '/tmp/semver-986781348' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2020-08-19T20:43:04.014Z] # -> Force: false [2020-08-19T20:43:04.014Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-08-19T20:43:04.021Z] $ docker exec --env ******** --env ******** 6bebefd0ab413bec304efb23b2c9d3f1d00e4438c9b25d7257532f9a45c64eff ssh-agent -k [2020-08-19T20:43:04.143Z] unset SSH_AUTH_SOCK; [2020-08-19T20:43:04.144Z] unset SSH_AGENT_PID; [2020-08-19T20:43:04.144Z] echo Agent pid 52 killed; [2020-08-19T20:43:04.200Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-08-19T20:43:04.651Z] + git semver [Pipeline] } [2020-08-19T20:43:04.663Z] $ docker stop --time=1 6bebefd0ab413bec304efb23b2c9d3f1d00e4438c9b25d7257532f9a45c64eff [2020-08-19T20:43:06.061Z] $ docker rm -f 6bebefd0ab413bec304efb23b2c9d3f1d00e4438c9b25d7257532f9a45c64eff [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-08-19T20:43:07.361Z] Stashed 14 file(s) [Pipeline] echo [2020-08-19T20:43:07.364Z] [edgeXSemver] initialized semver on version 1.1.2 [Pipeline] echo [2020-08-19T20:43:07.447Z] Archived original version: [1.1.2] [Pipeline] } [Pipeline] // script [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-08-19T20:43:22.817Z] Still waiting to schedule task [2020-08-19T20:43:22.818Z] ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-507’ is offline; ‘prd-centos7-docker-4c-2g-517’ is offline [2020-08-19T20:43:22.819Z] Still waiting to schedule task [2020-08-19T20:43:22.819Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-513’ [2020-08-19T20:44:58.810Z] Running on prd-centos7-docker-4c-2g-522 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-08-19T20:44:58.862Z] Running in /w/workspace/device-rest-go/16 [Pipeline] { [Pipeline] checkout [2020-08-19T20:45:02.217Z] using credential edgex-jenkins-ssh [2020-08-19T20:45:02.268Z] Cloning the remote Git repository [2020-08-19T20:45:02.268Z] Cloning with configured refspecs honoured and without tags [2020-08-19T20:45:02.304Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-08-19T20:45:02.390Z] > git init /w/workspace/device-rest-go/16 # timeout=10 [2020-08-19T20:45:02.455Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-08-19T20:45:02.455Z] > git --version # timeout=10 [2020-08-19T20:45:02.464Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-19T20:45:02.780Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-19T20:45:05.419Z] Fetching without tags [2020-08-19T20:45:05.834Z] Checking out Revision ecc710d5197e59ae7f4883e76f8aa49dbd120517 (master) [2020-08-19T20:45:05.383Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-08-19T20:45:05.397Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-19T20:45:05.409Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-08-19T20:45:05.424Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-08-19T20:45:05.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-19T20:45:05.430Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-19T20:45:05.851Z] > git config core.sparsecheckout # timeout=10 [2020-08-19T20:45:05.857Z] > git checkout -f ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 [2020-08-19T20:45:09.537Z] Commit message: "Merge pull request #27 from edgexfoundry/snap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-19T20:45:10.773Z] ========================================================= [2020-08-19T20:45:10.773Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-08-19T20:45:10.773Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:45:11.447Z] + 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-08-19T20:45:12.030Z] Sending build context to Docker daemon 8.033MB [2020-08-19T20:45:12.030Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-08-19T20:45:12.030Z] Step 2/10 : FROM ${BASE} [2020-08-19T20:45:12.030Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-08-19T20:45:12.030Z] df20fa9351a1: Pulling fs layer [2020-08-19T20:45:12.030Z] ed8968b2872e: Pulling fs layer [2020-08-19T20:45:12.030Z] a92cc7c5fd73: Pulling fs layer [2020-08-19T20:45:12.030Z] 2dd03ba5bac4: Pulling fs layer [2020-08-19T20:45:12.030Z] 1e091d79d1de: Pulling fs layer [2020-08-19T20:45:12.030Z] 481702a1767f: Pulling fs layer [2020-08-19T20:45:12.030Z] f64a6f60c768: Pulling fs layer [2020-08-19T20:45:12.030Z] e78d2573fc39: Pulling fs layer [2020-08-19T20:45:12.030Z] e876d2f968b6: Pulling fs layer [2020-08-19T20:45:12.030Z] ce8a83651883: Pulling fs layer [2020-08-19T20:45:12.030Z] 07967f4d0e4b: Pulling fs layer [2020-08-19T20:45:12.030Z] e876d2f968b6: Waiting [2020-08-19T20:45:12.030Z] f64a6f60c768: Waiting [2020-08-19T20:45:12.030Z] e78d2573fc39: Waiting [2020-08-19T20:45:12.030Z] 2dd03ba5bac4: Waiting [2020-08-19T20:45:12.030Z] 1e091d79d1de: Waiting [2020-08-19T20:45:12.030Z] ce8a83651883: Waiting [2020-08-19T20:45:12.030Z] 481702a1767f: Waiting [2020-08-19T20:45:12.030Z] 07967f4d0e4b: Waiting [2020-08-19T20:45:12.030Z] a92cc7c5fd73: Verifying Checksum [2020-08-19T20:45:12.030Z] a92cc7c5fd73: Download complete [2020-08-19T20:45:12.030Z] ed8968b2872e: Download complete [2020-08-19T20:45:12.030Z] 1e091d79d1de: Verifying Checksum [2020-08-19T20:45:12.030Z] 1e091d79d1de: Download complete [2020-08-19T20:45:12.030Z] 481702a1767f: Verifying Checksum [2020-08-19T20:45:12.030Z] 481702a1767f: Download complete [2020-08-19T20:45:12.030Z] df20fa9351a1: Verifying Checksum [2020-08-19T20:45:12.031Z] df20fa9351a1: Download complete [2020-08-19T20:45:12.304Z] df20fa9351a1: Pull complete [2020-08-19T20:45:12.899Z] f64a6f60c768: Verifying Checksum [2020-08-19T20:45:12.899Z] f64a6f60c768: Download complete [2020-08-19T20:45:13.173Z] e876d2f968b6: Verifying Checksum [2020-08-19T20:45:13.173Z] e876d2f968b6: Download complete [2020-08-19T20:45:13.759Z] 2dd03ba5bac4: Verifying Checksum [2020-08-19T20:45:13.759Z] 2dd03ba5bac4: Download complete [2020-08-19T20:45:13.759Z] e78d2573fc39: Verifying Checksum [2020-08-19T20:45:13.760Z] e78d2573fc39: Download complete [2020-08-19T20:45:13.760Z] ce8a83651883: Verifying Checksum [2020-08-19T20:45:13.760Z] ce8a83651883: Download complete [2020-08-19T20:45:13.760Z] 07967f4d0e4b: Verifying Checksum [2020-08-19T20:45:13.760Z] 07967f4d0e4b: Download complete [2020-08-19T20:45:14.706Z] ed8968b2872e: Pull complete [2020-08-19T20:45:14.971Z] a92cc7c5fd73: Pull complete [2020-08-19T20:45:20.307Z] 2dd03ba5bac4: Pull complete [2020-08-19T20:45:20.578Z] 1e091d79d1de: Pull complete [2020-08-19T20:45:20.845Z] 481702a1767f: Pull complete [2020-08-19T20:45:29.024Z] f64a6f60c768: Pull complete [2020-08-19T20:45:30.956Z] e78d2573fc39: Pull complete [2020-08-19T20:45:31.229Z] e876d2f968b6: Pull complete [2020-08-19T20:45:32.637Z] ce8a83651883: Pull complete [2020-08-19T20:45:32.637Z] 07967f4d0e4b: Pull complete [2020-08-19T20:45:32.637Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-08-19T20:45:32.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-08-19T20:45:32.637Z] ---> 5d7c900382c6 [2020-08-19T20:45:32.637Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-08-19T20:45:34.566Z] ---> Running in d02c80be9ea1 [2020-08-19T20:45:34.566Z] Removing intermediate container d02c80be9ea1 [2020-08-19T20:45:34.566Z] ---> 3189a503f6ff [2020-08-19T20:45:34.566Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-08-19T20:45:34.566Z] ---> Running in 2ec72a21ef68 [2020-08-19T20:45:34.566Z] Removing intermediate container 2ec72a21ef68 [2020-08-19T20:45:34.566Z] ---> 8f557a49d1c7 [2020-08-19T20:45:34.566Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-08-19T20:45:34.827Z] ---> Running in 1cc7b56f286b [2020-08-19T20:45:34.827Z] Removing intermediate container 1cc7b56f286b [2020-08-19T20:45:34.827Z] ---> 6caca89ee06a [2020-08-19T20:45:34.827Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-19T20:45:35.091Z] ---> Running in 545bf745bbed [2020-08-19T20:45:36.488Z] Removing intermediate container 545bf745bbed [2020-08-19T20:45:36.488Z] ---> ec1f0a472b35 [2020-08-19T20:45:36.488Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-08-19T20:45:36.488Z] ---> Running in 798780ad0bae [2020-08-19T20:45:37.063Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-19T20:45:38.011Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-19T20:45:38.297Z] OK: 166 MiB in 39 packages [2020-08-19T20:45:38.563Z] Removing intermediate container 798780ad0bae [2020-08-19T20:45:38.563Z] ---> 750f4c4123c1 [2020-08-19T20:45:38.563Z] Step 8/10 : WORKDIR /device-rest-go [2020-08-19T20:45:38.825Z] ---> Running in e155a351f40e [2020-08-19T20:45:38.825Z] Removing intermediate container e155a351f40e [2020-08-19T20:45:38.825Z] ---> fec8619ab894 [2020-08-19T20:45:38.825Z] Step 9/10 : COPY . . [2020-08-19T20:45:39.399Z] ---> f7e569aebcb3 [2020-08-19T20:45:39.399Z] Step 10/10 : RUN go mod download [2020-08-19T20:45:39.660Z] ---> Running in 4c31b778f65e [2020-08-19T20:45:42.217Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-19T20:45:42.217Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-19T20:45:42.217Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-19T20:45:42.217Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-19T20:45:42.217Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-19T20:45:42.217Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-19T20:45:42.217Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-19T20:45:42.217Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-19T20:45:42.217Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-19T20:45:42.217Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-19T20:45:42.217Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-19T20:45:42.217Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-19T20:45:42.217Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-19T20:45:42.217Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-19T20:45:42.217Z] go: finding github.com/fatih/color v1.7.0 [2020-08-19T20:45:42.478Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-19T20:45:42.478Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-19T20:45:42.478Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-19T20:45:42.478Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-19T20:45:42.478Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-19T20:45:42.478Z] go: finding github.com/google/uuid v1.1.0 [2020-08-19T20:45:42.739Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-19T20:45:42.739Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-19T20:45:42.739Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-19T20:45:42.739Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-19T20:45:42.739Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-19T20:45:42.739Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-19T20:45:43.001Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-19T20:45:43.001Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-19T20:45:43.001Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-19T20:45:43.001Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-19T20:45:43.001Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-19T20:45:43.001Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-19T20:45:43.001Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-19T20:45:43.263Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-19T20:45:43.263Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-19T20:45:43.263Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-19T20:45:43.263Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-19T20:45:43.263Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-19T20:45:43.263Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-19T20:45:43.263Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-19T20:45:43.525Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-19T20:45:43.525Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-19T20:45:43.525Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-19T20:45:43.525Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-19T20:45:43.525Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-19T20:45:43.525Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-19T20:45:43.786Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-19T20:45:43.786Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-19T20:45:43.786Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-19T20:45:43.786Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-19T20:45:43.786Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-19T20:45:43.786Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-19T20:45:43.786Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-19T20:45:44.048Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-19T20:45:44.048Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-19T20:45:44.048Z] go: finding github.com/posener/complete v1.1.1 [2020-08-19T20:45:44.048Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-19T20:45:44.048Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-19T20:45:44.048Z] go: finding github.com/spf13/cast v1.3.0 [2020-08-19T20:45:44.048Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-19T20:45:44.309Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-19T20:45:44.309Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-19T20:45:44.309Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-19T20:45:44.309Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-19T20:45:44.309Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-19T20:45:44.309Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-19T20:45:44.309Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-19T20:45:44.571Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-19T20:45:44.571Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-19T20:45:52.746Z] Removing intermediate container 4c31b778f65e [2020-08-19T20:45:52.746Z] ---> e9a9983e3dff [2020-08-19T20:45:52.746Z] Successfully built e9a9983e3dff [2020-08-19T20:45:52.746Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-19T20:45:53.983Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-19T20:45:54.282Z] + ls -al . [2020-08-19T20:45:54.283Z] total 68 [2020-08-19T20:45:54.283Z] drwxrwxr-x. 9 jenkins jenkins 4096 Aug 19 20:45 . [2020-08-19T20:45:54.283Z] drwxrwxr-x. 4 jenkins jenkins 30 Aug 19 20:45 .. [2020-08-19T20:45:54.283Z] -rw-rw-r--. 1 jenkins jenkins 4802 Aug 19 20:45 Attribution.txt [2020-08-19T20:45:54.283Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 19 20:45 bin [2020-08-19T20:45:54.283Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 19 20:45 cmd [2020-08-19T20:45:54.283Z] -rw-rw-r--. 1 jenkins jenkins 1504 Aug 19 20:45 Dockerfile [2020-08-19T20:45:54.283Z] -rw-rw-r--. 1 jenkins jenkins 989 Aug 19 20:45 Dockerfile.build [2020-08-19T20:45:54.283Z] -rw-rw-r--. 1 jenkins jenkins 151 Aug 19 20:45 .dockerignore [2020-08-19T20:45:54.283Z] drwxrwxr-x. 2 jenkins jenkins 76 Aug 19 20:45 driver [2020-08-19T20:45:54.283Z] drwxrwxr-x. 8 jenkins jenkins 162 Aug 19 20:45 .git [2020-08-19T20:45:54.283Z] drwxrwxr-x. 2 jenkins jenkins 38 Aug 19 20:45 .github [2020-08-19T20:45:54.283Z] -rw-rw-r--. 1 jenkins jenkins 339 Aug 19 20:45 .gitignore [2020-08-19T20:45:54.283Z] -rw-rw-r--. 1 jenkins jenkins 266 Aug 19 20:45 go.mod [2020-08-19T20:45:54.283Z] -rw-rw-r--. 1 jenkins jenkins 702 Aug 19 20:45 Jenkinsfile [2020-08-19T20:45:54.283Z] -rw-rw-r--. 1 jenkins jenkins 11340 Aug 19 20:45 LICENSE [2020-08-19T20:45:54.283Z] -rw-rw-r--. 1 jenkins jenkins 951 Aug 19 20:45 Makefile [2020-08-19T20:45:54.283Z] -rw-rw-r--. 1 jenkins jenkins 5716 Aug 19 20:45 README.md [2020-08-19T20:45:54.283Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 19 20:45 .semver [2020-08-19T20:45:54.283Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 19 20:45 snap [2020-08-19T20:45:54.283Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 19 20:43 VERSION [2020-08-19T20:45:54.283Z] -rw-rw-r--. 1 jenkins jenkins 713 Aug 19 20:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:45:54.585Z] + 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=ecc710d5197e59ae7f4883e76f8aa49dbd120517 --label arch=amd64 --label version=1.1.2 . [2020-08-19T20:45:54.847Z] Sending build context to Docker daemon 8.033MB [2020-08-19T20:45:54.847Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-08-19T20:45:54.847Z] Step 2/24 : FROM ${BASE} AS builder [2020-08-19T20:45:54.847Z] ---> e9a9983e3dff [2020-08-19T20:45:54.847Z] Step 3/24 : ARG MAKE='make build' [2020-08-19T20:45:54.847Z] ---> Running in 07a430704d11 [2020-08-19T20:45:55.108Z] Removing intermediate container 07a430704d11 [2020-08-19T20:45:55.108Z] ---> 08b4bcfa1391 [2020-08-19T20:45:55.108Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-08-19T20:45:55.108Z] ---> Running in ec7c9ecefab7 [2020-08-19T20:45:55.370Z] Removing intermediate container ec7c9ecefab7 [2020-08-19T20:45:55.370Z] ---> 3db6742a61e0 [2020-08-19T20:45:55.370Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-08-19T20:45:55.370Z] ---> Running in 2a5ac0b52e94 [2020-08-19T20:45:55.633Z] Removing intermediate container 2a5ac0b52e94 [2020-08-19T20:45:55.633Z] ---> e246eded062d [2020-08-19T20:45:55.633Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-19T20:45:55.633Z] ---> Running in 1a42751d6204 [2020-08-19T20:45:57.036Z] Removing intermediate container 1a42751d6204 [2020-08-19T20:45:57.036Z] ---> 70049a92320a [2020-08-19T20:45:57.036Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-08-19T20:45:57.036Z] ---> Running in 5ee1b75f31cd [2020-08-19T20:45:57.619Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-19T20:45:58.562Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-19T20:46:01.133Z] OK: 166 MiB in 39 packages [2020-08-19T20:46:01.133Z] Removing intermediate container 5ee1b75f31cd [2020-08-19T20:46:01.133Z] ---> b4eba7a8340d [2020-08-19T20:46:01.133Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-08-19T20:46:01.133Z] ---> Running in 2f4fed85f02c [2020-08-19T20:46:01.402Z] Removing intermediate container 2f4fed85f02c [2020-08-19T20:46:01.402Z] ---> 5cd27f8dd9f1 [2020-08-19T20:46:01.402Z] Step 9/24 : COPY go.mod . [2020-08-19T20:46:01.668Z] ---> ede7f018888b [2020-08-19T20:46:01.668Z] Step 10/24 : COPY Makefile . [2020-08-19T20:46:01.930Z] ---> 27bbd5f4bca1 [2020-08-19T20:46:01.930Z] Step 11/24 : RUN make update [2020-08-19T20:46:01.930Z] ---> Running in 1e6b28e2072e [2020-08-19T20:46:02.501Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-08-19T20:46:03.073Z] Removing intermediate container 1e6b28e2072e [2020-08-19T20:46:03.073Z] ---> e25965415d19 [2020-08-19T20:46:03.073Z] Step 12/24 : COPY . . [2020-08-19T20:46:03.334Z] ---> 2f1df48a962b [2020-08-19T20:46:03.334Z] Step 13/24 : RUN $MAKE [2020-08-19T20:46:03.334Z] ---> Running in fd0ef1902c19 [2020-08-19T20:46:03.911Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.2" -o cmd/device-rest-go ./cmd [2020-08-19T20:46:16.265Z] Removing intermediate container fd0ef1902c19 [2020-08-19T20:46:16.265Z] ---> bd52b48ae1a6 [2020-08-19T20:46:16.265Z] Step 14/24 : FROM alpine:latest [2020-08-19T20:46:16.265Z] latest: Pulling from library/alpine [2020-08-19T20:46:16.265Z] df20fa9351a1: Already exists [2020-08-19T20:46:16.265Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-08-19T20:46:16.265Z] Status: Downloaded newer image for alpine:latest [2020-08-19T20:46:16.265Z] ---> a24bb4013296 [2020-08-19T20:46:16.265Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-08-19T20:46:16.265Z] ---> Running in 06977844f923 [2020-08-19T20:46:16.265Z] Removing intermediate container 06977844f923 [2020-08-19T20:46:16.265Z] ---> a40961978549 [2020-08-19T20:46:16.265Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-08-19T20:46:16.265Z] ---> Running in de7dc84da916 [2020-08-19T20:46:16.265Z] Removing intermediate container de7dc84da916 [2020-08-19T20:46:16.265Z] ---> 3af566574522 [2020-08-19T20:46:16.265Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-08-19T20:46:16.265Z] ---> 080f885e76fd [2020-08-19T20:46:16.265Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-08-19T20:46:16.532Z] ---> d298ef4d7bad [2020-08-19T20:46:16.532Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-08-19T20:46:17.107Z] ---> c2ea4691643f [2020-08-19T20:46:17.107Z] Step 20/24 : EXPOSE 49986 [2020-08-19T20:46:17.368Z] ---> Running in d43a5cc0a9ea [2020-08-19T20:46:17.369Z] Removing intermediate container d43a5cc0a9ea [2020-08-19T20:46:17.369Z] ---> cafc861ca2be [2020-08-19T20:46:17.369Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-08-19T20:46:17.369Z] ---> Running in 4bfb06c629e0 [2020-08-19T20:46:17.630Z] Removing intermediate container 4bfb06c629e0 [2020-08-19T20:46:17.630Z] ---> 85f960d11b7e [2020-08-19T20:46:17.630Z] Step 22/24 : LABEL arch=amd64 [2020-08-19T20:46:17.630Z] ---> Running in e196ef01b320 [2020-08-19T20:46:17.896Z] Removing intermediate container e196ef01b320 [2020-08-19T20:46:17.896Z] ---> 4843c1ccf36f [2020-08-19T20:46:17.896Z] Step 23/24 : LABEL git_sha=ecc710d5197e59ae7f4883e76f8aa49dbd120517 [2020-08-19T20:46:17.896Z] ---> Running in 2c32088ef66d [2020-08-19T20:46:18.161Z] Removing intermediate container 2c32088ef66d [2020-08-19T20:46:18.161Z] ---> 6d9ee91ebf38 [2020-08-19T20:46:18.161Z] Step 24/24 : LABEL version=1.1.2 [2020-08-19T20:46:18.161Z] ---> Running in 8e09d49b1832 [2020-08-19T20:46:18.421Z] Removing intermediate container 8e09d49b1832 [2020-08-19T20:46:18.421Z] ---> 082a86b1d01c [2020-08-19T20:46:18.421Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-19T20:46:18.421Z] Successfully built 082a86b1d01c [2020-08-19T20:46:18.421Z] 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-08-19T20:46:18.781Z] provisioning config files... [2020-08-19T20:46:18.814Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/16@tmp/config6327721601012092527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-08-19T20:46:19.271Z] nexus3.edgexfoundry.org:10001 [2020-08-19T20:46:19.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-08-19T20:46:19.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-08-19T20:46:19.590Z] Configure a credential helper to remove this warning. See [2020-08-19T20:46:19.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-08-19T20:46:19.590Z] [2020-08-19T20:46:19.590Z] Login Succeeded [2020-08-19T20:46:19.590Z] nexus3.edgexfoundry.org:10002 [2020-08-19T20:46:19.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-08-19T20:46:19.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-08-19T20:46:19.590Z] Configure a credential helper to remove this warning. See [2020-08-19T20:46:19.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-08-19T20:46:19.590Z] [2020-08-19T20:46:19.590Z] Login Succeeded [2020-08-19T20:46:19.590Z] nexus3.edgexfoundry.org:10003 [2020-08-19T20:46:19.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-08-19T20:46:19.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-08-19T20:46:19.860Z] Configure a credential helper to remove this warning. See [2020-08-19T20:46:19.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-08-19T20:46:19.860Z] [2020-08-19T20:46:19.860Z] Login Succeeded [2020-08-19T20:46:19.860Z] nexus3.edgexfoundry.org:10004 [2020-08-19T20:46:19.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-08-19T20:46:20.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-08-19T20:46:20.123Z] Configure a credential helper to remove this warning. See [2020-08-19T20:46:20.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-08-19T20:46:20.123Z] [2020-08-19T20:46:20.123Z] Login Succeeded [2020-08-19T20:46:20.123Z] docker.io [2020-08-19T20:46:20.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-08-19T20:46:20.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-08-19T20:46:20.384Z] Configure a credential helper to remove this warning. See [2020-08-19T20:46:20.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-08-19T20:46:20.385Z] [2020-08-19T20:46:20.385Z] Login Succeeded [Pipeline] } [2020-08-19T20:46:20.393Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-08-19T20:46:20.603Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2020-08-19T20:46:20.603Z] ecc710d5197e59ae7f4883e76f8aa49dbd120517 [2020-08-19T20:46:20.603Z] latest [2020-08-19T20:46:20.603Z] 1.1.2 [2020-08-19T20:46:20.603Z] ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 [2020-08-19T20:46:20.603Z] master [2020-08-19T20:46:20.603Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:46:21.138Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:46:21.442Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517 [2020-08-19T20:46:21.442Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-08-19T20:46:21.442Z] 03d4b2ee512b: Preparing [2020-08-19T20:46:21.442Z] b3c7451a9293: Preparing [2020-08-19T20:46:21.442Z] d20a7e0969e2: Preparing [2020-08-19T20:46:21.442Z] 50644c29ef5a: Preparing [2020-08-19T20:46:21.442Z] 50644c29ef5a: Layer already exists [2020-08-19T20:46:21.442Z] b3c7451a9293: Pushed [2020-08-19T20:46:21.443Z] d20a7e0969e2: Pushed [2020-08-19T20:46:22.833Z] 03d4b2ee512b: Pushed [2020-08-19T20:46:22.833Z] ecc710d5197e59ae7f4883e76f8aa49dbd120517: digest: sha256:de5778904648da819d1e2f76565e68cfa9a10421b3667ca2e95a79fd9721c4ac size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:46:23.147Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:46:23.453Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-08-19T20:46:23.453Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-08-19T20:46:23.454Z] 03d4b2ee512b: Preparing [2020-08-19T20:46:23.454Z] b3c7451a9293: Preparing [2020-08-19T20:46:23.454Z] d20a7e0969e2: Preparing [2020-08-19T20:46:23.454Z] 50644c29ef5a: Preparing [2020-08-19T20:46:23.454Z] 03d4b2ee512b: Layer already exists [2020-08-19T20:46:23.454Z] b3c7451a9293: Layer already exists [2020-08-19T20:46:23.454Z] d20a7e0969e2: Layer already exists [2020-08-19T20:46:23.454Z] 50644c29ef5a: Layer already exists [2020-08-19T20:46:23.454Z] latest: digest: sha256:de5778904648da819d1e2f76565e68cfa9a10421b3667ca2e95a79fd9721c4ac size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:46:23.759Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.2 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:46:24.057Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.2 [2020-08-19T20:46:24.057Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-08-19T20:46:24.057Z] 03d4b2ee512b: Preparing [2020-08-19T20:46:24.057Z] b3c7451a9293: Preparing [2020-08-19T20:46:24.057Z] d20a7e0969e2: Preparing [2020-08-19T20:46:24.057Z] 50644c29ef5a: Preparing [2020-08-19T20:46:24.057Z] 03d4b2ee512b: Layer already exists [2020-08-19T20:46:24.057Z] 50644c29ef5a: Layer already exists [2020-08-19T20:46:24.057Z] b3c7451a9293: Layer already exists [2020-08-19T20:46:24.057Z] d20a7e0969e2: Layer already exists [2020-08-19T20:46:24.057Z] 1.1.2: digest: sha256:de5778904648da819d1e2f76565e68cfa9a10421b3667ca2e95a79fd9721c4ac size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:46:24.360Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:46:24.660Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 [2020-08-19T20:46:24.661Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-08-19T20:46:24.661Z] 03d4b2ee512b: Preparing [2020-08-19T20:46:24.661Z] b3c7451a9293: Preparing [2020-08-19T20:46:24.661Z] d20a7e0969e2: Preparing [2020-08-19T20:46:24.661Z] 50644c29ef5a: Preparing [2020-08-19T20:46:24.661Z] d20a7e0969e2: Layer already exists [2020-08-19T20:46:24.661Z] 50644c29ef5a: Layer already exists [2020-08-19T20:46:24.661Z] b3c7451a9293: Layer already exists [2020-08-19T20:46:24.661Z] 03d4b2ee512b: Layer already exists [2020-08-19T20:46:24.661Z] ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2: digest: sha256:de5778904648da819d1e2f76565e68cfa9a10421b3667ca2e95a79fd9721c4ac size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:46:24.986Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:46:25.286Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2020-08-19T20:46:25.287Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-08-19T20:46:25.287Z] 03d4b2ee512b: Preparing [2020-08-19T20:46:25.287Z] b3c7451a9293: Preparing [2020-08-19T20:46:25.287Z] d20a7e0969e2: Preparing [2020-08-19T20:46:25.287Z] 50644c29ef5a: Preparing [2020-08-19T20:46:25.287Z] 03d4b2ee512b: Layer already exists [2020-08-19T20:46:25.287Z] d20a7e0969e2: Layer already exists [2020-08-19T20:46:25.287Z] b3c7451a9293: Layer already exists [2020-08-19T20:46:25.287Z] 50644c29ef5a: Layer already exists [2020-08-19T20:46:25.287Z] master: digest: sha256:de5778904648da819d1e2f76565e68cfa9a10421b3667ca2e95a79fd9721c4ac size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-08-19T20:46:25.465Z] ===================================================== [Pipeline] echo [2020-08-19T20:46:25.508Z] taggedImages: [2020-08-19T20:46:25.508Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517 [2020-08-19T20:46:25.508Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-08-19T20:46:25.508Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.2 [2020-08-19T20:46:25.508Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 [2020-08-19T20:46:25.508Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-08-19T20:46:34.963Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-525 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-08-19T20:46:35.011Z] Running in /w/workspace/device-rest-go/16 [Pipeline] { [Pipeline] checkout [2020-08-19T20:46:39.799Z] using credential edgex-jenkins-ssh [2020-08-19T20:46:39.864Z] Cloning the remote Git repository [2020-08-19T20:46:39.864Z] Cloning with configured refspecs honoured and without tags [2020-08-19T20:46:39.915Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-08-19T20:46:40.023Z] > git init /w/workspace/device-rest-go/16 # timeout=10 [2020-08-19T20:46:40.100Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-08-19T20:46:40.102Z] > git --version # timeout=10 [2020-08-19T20:46:40.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-19T20:46:40.199Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-19T20:46:41.710Z] Fetching without tags [2020-08-19T20:46:42.230Z] Checking out Revision ecc710d5197e59ae7f4883e76f8aa49dbd120517 (master) [2020-08-19T20:46:41.631Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-08-19T20:46:41.654Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-19T20:46:41.684Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-08-19T20:46:41.718Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-08-19T20:46:41.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-19T20:46:41.730Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-19T20:46:42.246Z] > git config core.sparsecheckout # timeout=10 [2020-08-19T20:46:42.267Z] > git checkout -f ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 [2020-08-19T20:46:46.641Z] Commit message: "Merge pull request #27 from edgexfoundry/snap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-19T20:46:48.679Z] ========================================================= [2020-08-19T20:46:48.679Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-08-19T20:46:48.679Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:46:49.719Z] + 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-08-19T20:46:50.707Z] Sending build context to Docker daemon 8.033MB [2020-08-19T20:46:50.707Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-08-19T20:46:50.707Z] Step 2/10 : FROM ${BASE} [2020-08-19T20:46:50.982Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-08-19T20:46:50.982Z] b538f80385f9: Pulling fs layer [2020-08-19T20:46:50.982Z] 74f711af9a0d: Pulling fs layer [2020-08-19T20:46:50.982Z] 99f96fe45779: Pulling fs layer [2020-08-19T20:46:50.982Z] fd7a069fd194: Pulling fs layer [2020-08-19T20:46:50.982Z] 66aa3694b03b: Pulling fs layer [2020-08-19T20:46:50.982Z] 170f70906a0f: Pulling fs layer [2020-08-19T20:46:50.982Z] ad7c5574e4b9: Pulling fs layer [2020-08-19T20:46:50.982Z] e772456be8f7: Pulling fs layer [2020-08-19T20:46:50.982Z] c890913d741a: Pulling fs layer [2020-08-19T20:46:50.982Z] 2480fcc9aa5a: Pulling fs layer [2020-08-19T20:46:50.982Z] 09adf4765672: Pulling fs layer [2020-08-19T20:46:50.982Z] fd7a069fd194: Waiting [2020-08-19T20:46:50.982Z] 66aa3694b03b: Waiting [2020-08-19T20:46:50.982Z] 170f70906a0f: Waiting [2020-08-19T20:46:50.982Z] ad7c5574e4b9: Waiting [2020-08-19T20:46:50.982Z] e772456be8f7: Waiting [2020-08-19T20:46:50.982Z] c890913d741a: Waiting [2020-08-19T20:46:50.982Z] 2480fcc9aa5a: Waiting [2020-08-19T20:46:50.982Z] 09adf4765672: Waiting [2020-08-19T20:46:50.982Z] 99f96fe45779: Verifying Checksum [2020-08-19T20:46:50.982Z] 99f96fe45779: Download complete [2020-08-19T20:46:50.983Z] 74f711af9a0d: Verifying Checksum [2020-08-19T20:46:50.983Z] 74f711af9a0d: Download complete [2020-08-19T20:46:50.983Z] 66aa3694b03b: Download complete [2020-08-19T20:46:50.983Z] 170f70906a0f: Verifying Checksum [2020-08-19T20:46:50.983Z] 170f70906a0f: Download complete [2020-08-19T20:46:50.983Z] b538f80385f9: Verifying Checksum [2020-08-19T20:46:50.983Z] b538f80385f9: Download complete [2020-08-19T20:46:51.590Z] b538f80385f9: Pull complete [2020-08-19T20:46:52.204Z] 74f711af9a0d: Pull complete [2020-08-19T20:46:52.807Z] 99f96fe45779: Pull complete [2020-08-19T20:46:53.781Z] ad7c5574e4b9: Verifying Checksum [2020-08-19T20:46:53.781Z] ad7c5574e4b9: Download complete [2020-08-19T20:46:53.781Z] c890913d741a: Verifying Checksum [2020-08-19T20:46:53.781Z] c890913d741a: Download complete [2020-08-19T20:46:55.754Z] 2480fcc9aa5a: Verifying Checksum [2020-08-19T20:46:55.754Z] 2480fcc9aa5a: Download complete [2020-08-19T20:46:55.754Z] 09adf4765672: Verifying Checksum [2020-08-19T20:46:56.351Z] e772456be8f7: Verifying Checksum [2020-08-19T20:46:56.351Z] e772456be8f7: Download complete [2020-08-19T20:46:56.351Z] fd7a069fd194: Verifying Checksum [2020-08-19T20:46:56.351Z] fd7a069fd194: Download complete [2020-08-19T20:47:08.760Z] fd7a069fd194: Pull complete [2020-08-19T20:47:08.760Z] 66aa3694b03b: Pull complete [2020-08-19T20:47:08.760Z] 170f70906a0f: Pull complete [2020-08-19T20:47:12.153Z] ad7c5574e4b9: Pull complete [2020-08-19T20:47:16.456Z] e772456be8f7: Pull complete [2020-08-19T20:47:16.729Z] c890913d741a: Pull complete [2020-08-19T20:47:19.361Z] 2480fcc9aa5a: Pull complete [2020-08-19T20:47:19.634Z] 09adf4765672: Pull complete [2020-08-19T20:47:19.634Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-08-19T20:47:19.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-08-19T20:47:19.634Z] ---> 2248a725d1cf [2020-08-19T20:47:19.634Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-08-19T20:47:23.948Z] ---> Running in 8c2a70b54583 [2020-08-19T20:47:24.220Z] Removing intermediate container 8c2a70b54583 [2020-08-19T20:47:24.220Z] ---> 0a4c87cfdcbb [2020-08-19T20:47:24.220Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-08-19T20:47:24.491Z] ---> Running in ba59502f02d7 [2020-08-19T20:47:24.761Z] Removing intermediate container ba59502f02d7 [2020-08-19T20:47:24.761Z] ---> f72c69e26dc5 [2020-08-19T20:47:24.761Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-08-19T20:47:25.036Z] ---> Running in e22e7ea976a8 [2020-08-19T20:47:25.309Z] Removing intermediate container e22e7ea976a8 [2020-08-19T20:47:25.309Z] ---> d846ee7e16d1 [2020-08-19T20:47:25.309Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-19T20:47:25.580Z] ---> Running in 312032a452b5 [2020-08-19T20:47:28.214Z] Removing intermediate container 312032a452b5 [2020-08-19T20:47:28.214Z] ---> 8b65ff822329 [2020-08-19T20:47:28.214Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-08-19T20:47:28.214Z] ---> Running in b565a3c16022 [2020-08-19T20:47:29.662Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-19T20:47:30.632Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-19T20:47:33.240Z] OK: 142 MiB in 39 packages [2020-08-19T20:47:34.218Z] Removing intermediate container b565a3c16022 [2020-08-19T20:47:34.218Z] ---> f5e76ae2112a [2020-08-19T20:47:34.218Z] Step 8/10 : WORKDIR /device-rest-go [2020-08-19T20:47:34.218Z] ---> Running in 4d3aa0a919fe [2020-08-19T20:47:34.810Z] Removing intermediate container 4d3aa0a919fe [2020-08-19T20:47:34.810Z] ---> 746fa817a31e [2020-08-19T20:47:34.810Z] Step 9/10 : COPY . . [2020-08-19T20:47:35.782Z] ---> ebd2c2dc4e62 [2020-08-19T20:47:35.782Z] Step 10/10 : RUN go mod download [2020-08-19T20:47:36.052Z] ---> Running in 5df6b52a73f6 [2020-08-19T20:47:39.426Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-19T20:47:39.426Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-19T20:47:39.426Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-19T20:47:39.426Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-19T20:47:39.426Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-19T20:47:39.426Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-19T20:47:39.426Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-19T20:47:39.426Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-19T20:47:39.426Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-19T20:47:39.426Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-19T20:47:39.426Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-19T20:47:39.426Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-19T20:47:39.426Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-19T20:47:39.426Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-19T20:47:39.695Z] go: finding github.com/fatih/color v1.7.0 [2020-08-19T20:47:39.695Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-19T20:47:39.695Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-19T20:47:39.695Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-19T20:47:39.695Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-19T20:47:39.695Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-19T20:47:39.695Z] go: finding github.com/google/uuid v1.1.0 [2020-08-19T20:47:39.966Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-19T20:47:39.966Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-19T20:47:39.966Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-19T20:47:39.966Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-19T20:47:39.966Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-19T20:47:39.966Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-19T20:47:40.237Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-19T20:47:40.237Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-19T20:47:40.237Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-19T20:47:40.237Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-19T20:47:40.237Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-19T20:47:40.237Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-19T20:47:40.237Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-19T20:47:40.508Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-19T20:47:40.508Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-19T20:47:40.508Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-19T20:47:40.508Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-19T20:47:40.508Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-19T20:47:40.508Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-19T20:47:40.508Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-19T20:47:40.780Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-19T20:47:40.780Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-19T20:47:40.780Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-19T20:47:40.780Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-19T20:47:40.780Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-19T20:47:40.780Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-19T20:47:40.780Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-19T20:47:41.054Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-19T20:47:41.054Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-19T20:47:41.054Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-19T20:47:41.054Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-19T20:47:41.054Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-19T20:47:41.054Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-19T20:47:41.324Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-19T20:47:41.324Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-19T20:47:41.324Z] go: finding github.com/posener/complete v1.1.1 [2020-08-19T20:47:41.324Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-19T20:47:41.324Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-19T20:47:41.324Z] go: finding github.com/spf13/cast v1.3.0 [2020-08-19T20:47:41.603Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-19T20:47:41.603Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-19T20:47:41.603Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-19T20:47:41.603Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-19T20:47:41.603Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-19T20:47:41.603Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-19T20:47:41.873Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-19T20:47:41.873Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-19T20:47:41.873Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-19T20:47:41.873Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-19T20:47:52.035Z] Removing intermediate container 5df6b52a73f6 [2020-08-19T20:47:52.035Z] ---> 13bef1e669e7 [2020-08-19T20:47:52.035Z] Successfully built 13bef1e669e7 [2020-08-19T20:47:52.035Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-19T20:47:52.929Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-19T20:47:53.262Z] + ls -al . [2020-08-19T20:47:53.262Z] total 100 [2020-08-19T20:47:53.262Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 19 20:46 . [2020-08-19T20:47:53.262Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 20:46 .. [2020-08-19T20:47:53.262Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 19 20:46 .dockerignore [2020-08-19T20:47:53.262Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 20:46 .git [2020-08-19T20:47:53.262Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 20:46 .github [2020-08-19T20:47:53.262Z] -rw-rw-r-- 1 jenkins jenkins 339 Aug 19 20:46 .gitignore [2020-08-19T20:47:53.262Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 20:46 .semver [2020-08-19T20:47:53.262Z] -rw-rw-r-- 1 jenkins jenkins 4802 Aug 19 20:46 Attribution.txt [2020-08-19T20:47:53.262Z] -rw-rw-r-- 1 jenkins jenkins 1504 Aug 19 20:46 Dockerfile [2020-08-19T20:47:53.262Z] -rw-rw-r-- 1 jenkins jenkins 989 Aug 19 20:46 Dockerfile.build [2020-08-19T20:47:53.262Z] -rw-rw-r-- 1 jenkins jenkins 702 Aug 19 20:46 Jenkinsfile [2020-08-19T20:47:53.262Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 19 20:46 LICENSE [2020-08-19T20:47:53.262Z] -rw-rw-r-- 1 jenkins jenkins 951 Aug 19 20:46 Makefile [2020-08-19T20:47:53.262Z] -rw-rw-r-- 1 jenkins jenkins 5716 Aug 19 20:46 README.md [2020-08-19T20:47:53.262Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 19 20:43 VERSION [2020-08-19T20:47:53.262Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 20:46 bin [2020-08-19T20:47:53.262Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 20:46 cmd [2020-08-19T20:47:53.262Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 20:46 driver [2020-08-19T20:47:53.262Z] -rw-rw-r-- 1 jenkins jenkins 266 Aug 19 20:46 go.mod [2020-08-19T20:47:53.262Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 20:46 snap [2020-08-19T20:47:53.262Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 19 20:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:47:53.610Z] + 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=ecc710d5197e59ae7f4883e76f8aa49dbd120517 --label arch=arm64 --label version=1.1.2 . [2020-08-19T20:47:53.884Z] Sending build context to Docker daemon 8.033MB [2020-08-19T20:47:53.884Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-08-19T20:47:53.884Z] Step 2/24 : FROM ${BASE} AS builder [2020-08-19T20:47:54.155Z] ---> 13bef1e669e7 [2020-08-19T20:47:54.155Z] Step 3/24 : ARG MAKE='make build' [2020-08-19T20:47:54.424Z] ---> Running in 67b82668f632 [2020-08-19T20:47:54.696Z] Removing intermediate container 67b82668f632 [2020-08-19T20:47:54.696Z] ---> 9cac4ce69e27 [2020-08-19T20:47:54.696Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-08-19T20:47:54.968Z] ---> Running in 73506eb83acd [2020-08-19T20:47:55.240Z] Removing intermediate container 73506eb83acd [2020-08-19T20:47:55.240Z] ---> 5f9262133242 [2020-08-19T20:47:55.240Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-08-19T20:47:55.512Z] ---> Running in 6f7387f1729b [2020-08-19T20:47:56.103Z] Removing intermediate container 6f7387f1729b [2020-08-19T20:47:56.103Z] ---> d3802f0038a3 [2020-08-19T20:47:56.103Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-19T20:47:56.103Z] ---> Running in 491c210202aa [2020-08-19T20:47:58.719Z] Removing intermediate container 491c210202aa [2020-08-19T20:47:58.719Z] ---> 3a6a90abc11c [2020-08-19T20:47:58.719Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-08-19T20:47:58.719Z] ---> Running in 01793e8d50a9 [2020-08-19T20:48:00.151Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-19T20:48:01.121Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-19T20:48:02.093Z] OK: 142 MiB in 39 packages [2020-08-19T20:48:03.079Z] Removing intermediate container 01793e8d50a9 [2020-08-19T20:48:03.079Z] ---> bb56c38a937a [2020-08-19T20:48:03.079Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-08-19T20:48:03.351Z] ---> Running in d444c5f97c8f [2020-08-19T20:48:03.944Z] Removing intermediate container d444c5f97c8f [2020-08-19T20:48:03.944Z] ---> e68cbc676bfb [2020-08-19T20:48:03.944Z] Step 9/24 : COPY go.mod . [2020-08-19T20:48:04.544Z] ---> 385a72ce80a6 [2020-08-19T20:48:04.544Z] Step 10/24 : COPY Makefile . [2020-08-19T20:48:05.144Z] ---> 6ebb881a4bf1 [2020-08-19T20:48:05.144Z] Step 11/24 : RUN make update [2020-08-19T20:48:05.423Z] ---> Running in c043c01a791b [2020-08-19T20:48:06.855Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-08-19T20:48:07.839Z] Removing intermediate container c043c01a791b [2020-08-19T20:48:07.839Z] ---> 91883f48c7e0 [2020-08-19T20:48:07.839Z] Step 12/24 : COPY . . [2020-08-19T20:48:09.278Z] ---> db7dde5ac75a [2020-08-19T20:48:09.278Z] Step 13/24 : RUN $MAKE [2020-08-19T20:48:09.278Z] ---> Running in c5656a6ddb38 [2020-08-19T20:48:10.717Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.2" -o cmd/device-rest-go ./cmd [2020-08-19T20:48:37.600Z] Removing intermediate container c5656a6ddb38 [2020-08-19T20:48:37.600Z] ---> afdf91ac3457 [2020-08-19T20:48:37.600Z] Step 14/24 : FROM alpine:latest [2020-08-19T20:48:37.600Z] latest: Pulling from library/alpine [2020-08-19T20:48:37.600Z] b538f80385f9: Already exists [2020-08-19T20:48:37.600Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-08-19T20:48:37.600Z] Status: Downloaded newer image for alpine:latest [2020-08-19T20:48:37.600Z] ---> 62ee0e9f8440 [2020-08-19T20:48:37.600Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-08-19T20:48:37.874Z] ---> Running in c70a5d523edc [2020-08-19T20:48:38.146Z] Removing intermediate container c70a5d523edc [2020-08-19T20:48:38.146Z] ---> 523a3ae5324d [2020-08-19T20:48:38.146Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-08-19T20:48:38.425Z] ---> Running in 989a5161900c [2020-08-19T20:48:38.704Z] Removing intermediate container 989a5161900c [2020-08-19T20:48:38.704Z] ---> 0c6c343a1216 [2020-08-19T20:48:38.704Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-08-19T20:48:39.682Z] ---> 672912354be2 [2020-08-19T20:48:39.682Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-08-19T20:48:40.278Z] ---> a621f85967e9 [2020-08-19T20:48:40.278Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-08-19T20:48:41.724Z] ---> 3eddf6f35400 [2020-08-19T20:48:41.724Z] Step 20/24 : EXPOSE 49986 [2020-08-19T20:48:41.724Z] ---> Running in e9a56204a73c [2020-08-19T20:48:41.997Z] Removing intermediate container e9a56204a73c [2020-08-19T20:48:41.997Z] ---> 7461b403c663 [2020-08-19T20:48:41.997Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-08-19T20:48:42.270Z] ---> Running in 68e45a2160ee [2020-08-19T20:48:42.542Z] Removing intermediate container 68e45a2160ee [2020-08-19T20:48:42.542Z] ---> b1cf744f8263 [2020-08-19T20:48:42.542Z] Step 22/24 : LABEL arch=arm64 [2020-08-19T20:48:42.815Z] ---> Running in 279003a3506f [2020-08-19T20:48:43.409Z] Removing intermediate container 279003a3506f [2020-08-19T20:48:43.409Z] ---> c5131a29f61a [2020-08-19T20:48:43.409Z] Step 23/24 : LABEL git_sha=ecc710d5197e59ae7f4883e76f8aa49dbd120517 [2020-08-19T20:48:43.409Z] ---> Running in c5c32e99f87a [2020-08-19T20:48:43.688Z] Removing intermediate container c5c32e99f87a [2020-08-19T20:48:43.688Z] ---> 21e5fd49cd6d [2020-08-19T20:48:43.688Z] Step 24/24 : LABEL version=1.1.2 [2020-08-19T20:48:43.963Z] ---> Running in 8681b469d037 [2020-08-19T20:48:44.235Z] Removing intermediate container 8681b469d037 [2020-08-19T20:48:44.235Z] ---> 93f63e4c1fa0 [2020-08-19T20:48:44.235Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-19T20:48:44.235Z] Successfully built 93f63e4c1fa0 [2020-08-19T20:48:44.507Z] 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-08-19T20:48:44.858Z] provisioning config files... [2020-08-19T20:48:44.898Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/16@tmp/config5379924099226142579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-08-19T20:48:45.302Z] nexus3.edgexfoundry.org:10001 [2020-08-19T20:48:45.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-08-19T20:48:45.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-08-19T20:48:45.576Z] Configure a credential helper to remove this warning. See [2020-08-19T20:48:45.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-08-19T20:48:45.576Z] [2020-08-19T20:48:45.576Z] Login Succeeded [2020-08-19T20:48:45.849Z] nexus3.edgexfoundry.org:10002 [2020-08-19T20:48:46.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-08-19T20:48:46.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-08-19T20:48:46.123Z] Configure a credential helper to remove this warning. See [2020-08-19T20:48:46.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-08-19T20:48:46.123Z] [2020-08-19T20:48:46.123Z] Login Succeeded [2020-08-19T20:48:46.123Z] nexus3.edgexfoundry.org:10003 [2020-08-19T20:48:46.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-08-19T20:48:46.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-08-19T20:48:46.718Z] Configure a credential helper to remove this warning. See [2020-08-19T20:48:46.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-08-19T20:48:46.718Z] [2020-08-19T20:48:46.718Z] Login Succeeded [2020-08-19T20:48:46.718Z] nexus3.edgexfoundry.org:10004 [2020-08-19T20:48:46.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-08-19T20:48:47.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-08-19T20:48:47.267Z] Configure a credential helper to remove this warning. See [2020-08-19T20:48:47.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-08-19T20:48:47.267Z] [2020-08-19T20:48:47.267Z] Login Succeeded [2020-08-19T20:48:47.267Z] docker.io [2020-08-19T20:48:47.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-08-19T20:48:48.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-08-19T20:48:48.130Z] Configure a credential helper to remove this warning. See [2020-08-19T20:48:48.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-08-19T20:48:48.130Z] [2020-08-19T20:48:48.130Z] Login Succeeded [Pipeline] } [2020-08-19T20:48:48.164Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-08-19T20:48:48.344Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2020-08-19T20:48:48.344Z] ecc710d5197e59ae7f4883e76f8aa49dbd120517 [2020-08-19T20:48:48.344Z] latest [2020-08-19T20:48:48.344Z] 1.1.2 [2020-08-19T20:48:48.344Z] ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 [2020-08-19T20:48:48.344Z] master [2020-08-19T20:48:48.344Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:48:48.849Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:48:49.189Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517 [2020-08-19T20:48:49.189Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-08-19T20:48:49.189Z] 1d1b03195a8a: Preparing [2020-08-19T20:48:49.189Z] 216436c71e8d: Preparing [2020-08-19T20:48:49.189Z] 2afcc942220c: Preparing [2020-08-19T20:48:49.189Z] e2f13739ad41: Preparing [2020-08-19T20:48:49.463Z] e2f13739ad41: Layer already exists [2020-08-19T20:48:49.463Z] 216436c71e8d: Pushed [2020-08-19T20:48:49.463Z] 2afcc942220c: Pushed [2020-08-19T20:48:52.852Z] 1d1b03195a8a: Pushed [2020-08-19T20:48:52.852Z] ecc710d5197e59ae7f4883e76f8aa49dbd120517: digest: sha256:071d35899585fa3d33cfe4df86a88cafe34f20bd7aa908c89248865df8a8a5c2 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:48:53.252Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:48:53.596Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-08-19T20:48:53.596Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-08-19T20:48:53.596Z] 1d1b03195a8a: Preparing [2020-08-19T20:48:53.596Z] 216436c71e8d: Preparing [2020-08-19T20:48:53.596Z] 2afcc942220c: Preparing [2020-08-19T20:48:53.596Z] e2f13739ad41: Preparing [2020-08-19T20:48:53.596Z] 216436c71e8d: Layer already exists [2020-08-19T20:48:53.596Z] e2f13739ad41: Layer already exists [2020-08-19T20:48:53.596Z] 2afcc942220c: Layer already exists [2020-08-19T20:48:53.596Z] 1d1b03195a8a: Layer already exists [2020-08-19T20:48:53.868Z] latest: digest: sha256:071d35899585fa3d33cfe4df86a88cafe34f20bd7aa908c89248865df8a8a5c2 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:48:54.219Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.2 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:48:54.567Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.2 [2020-08-19T20:48:54.567Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-08-19T20:48:54.567Z] 1d1b03195a8a: Preparing [2020-08-19T20:48:54.567Z] 216436c71e8d: Preparing [2020-08-19T20:48:54.567Z] 2afcc942220c: Preparing [2020-08-19T20:48:54.567Z] e2f13739ad41: Preparing [2020-08-19T20:48:54.567Z] 2afcc942220c: Layer already exists [2020-08-19T20:48:54.567Z] e2f13739ad41: Layer already exists [2020-08-19T20:48:54.567Z] 216436c71e8d: Layer already exists [2020-08-19T20:48:54.567Z] 1d1b03195a8a: Layer already exists [2020-08-19T20:48:54.841Z] 1.1.2: digest: sha256:071d35899585fa3d33cfe4df86a88cafe34f20bd7aa908c89248865df8a8a5c2 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:48:55.202Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:48:55.549Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 [2020-08-19T20:48:55.549Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-08-19T20:48:55.549Z] 1d1b03195a8a: Preparing [2020-08-19T20:48:55.549Z] 216436c71e8d: Preparing [2020-08-19T20:48:55.549Z] 2afcc942220c: Preparing [2020-08-19T20:48:55.549Z] e2f13739ad41: Preparing [2020-08-19T20:48:55.549Z] 216436c71e8d: Layer already exists [2020-08-19T20:48:55.549Z] e2f13739ad41: Layer already exists [2020-08-19T20:48:55.549Z] 1d1b03195a8a: Layer already exists [2020-08-19T20:48:55.549Z] 2afcc942220c: Layer already exists [2020-08-19T20:48:55.549Z] ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2: digest: sha256:071d35899585fa3d33cfe4df86a88cafe34f20bd7aa908c89248865df8a8a5c2 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:48:56.387Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:48:56.731Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2020-08-19T20:48:56.731Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-08-19T20:48:56.731Z] 1d1b03195a8a: Preparing [2020-08-19T20:48:56.731Z] 216436c71e8d: Preparing [2020-08-19T20:48:56.732Z] 2afcc942220c: Preparing [2020-08-19T20:48:56.732Z] e2f13739ad41: Preparing [2020-08-19T20:48:56.732Z] 216436c71e8d: Layer already exists [2020-08-19T20:48:56.732Z] e2f13739ad41: Layer already exists [2020-08-19T20:48:56.732Z] 2afcc942220c: Layer already exists [2020-08-19T20:48:56.732Z] 1d1b03195a8a: Layer already exists [2020-08-19T20:48:57.007Z] master: digest: sha256:071d35899585fa3d33cfe4df86a88cafe34f20bd7aa908c89248865df8a8a5c2 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-08-19T20:48:57.218Z] ===================================================== [Pipeline] echo [2020-08-19T20:48:57.269Z] taggedImages: [2020-08-19T20:48:57.269Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517 [2020-08-19T20:48:57.269Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-08-19T20:48:57.269Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.2 [2020-08-19T20:48:57.269Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 [2020-08-19T20:48:57.269Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-08-19T20:48:58.480Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-08-19T20:48:58.482Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-08-19T20:48:58.542Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:48:58.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-08-19T20:48:58.894Z] [2020-08-19T20:48:58.894Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:48:59.243Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-08-19T20:48:59.243Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-08-19T20:48:59.243Z] cbdbe7a5bc2a: Pulling fs layer [2020-08-19T20:48:59.243Z] 408f87550127: Pulling fs layer [2020-08-19T20:48:59.243Z] fe522b08c979: Pulling fs layer [2020-08-19T20:48:59.243Z] 221eaa008020: Pulling fs layer [2020-08-19T20:48:59.243Z] 2a4607e5d6b9: Pulling fs layer [2020-08-19T20:48:59.243Z] 8f79b27c4fd2: Pulling fs layer [2020-08-19T20:48:59.243Z] e5c8dbe1645b: Pulling fs layer [2020-08-19T20:48:59.243Z] 23e8b3b47431: Pulling fs layer [2020-08-19T20:48:59.243Z] 5c568d65a230: Pulling fs layer [2020-08-19T20:48:59.243Z] 8f79b27c4fd2: Waiting [2020-08-19T20:48:59.243Z] e5c8dbe1645b: Waiting [2020-08-19T20:48:59.243Z] 23e8b3b47431: Waiting [2020-08-19T20:48:59.243Z] 5c568d65a230: Waiting [2020-08-19T20:48:59.243Z] 221eaa008020: Waiting [2020-08-19T20:48:59.243Z] 2a4607e5d6b9: Waiting [2020-08-19T20:48:59.243Z] fe522b08c979: Verifying Checksum [2020-08-19T20:48:59.243Z] fe522b08c979: Download complete [2020-08-19T20:48:59.243Z] 408f87550127: Download complete [2020-08-19T20:48:59.243Z] 2a4607e5d6b9: Verifying Checksum [2020-08-19T20:48:59.243Z] 2a4607e5d6b9: Download complete [2020-08-19T20:48:59.243Z] 8f79b27c4fd2: Verifying Checksum [2020-08-19T20:48:59.243Z] 8f79b27c4fd2: Download complete [2020-08-19T20:48:59.243Z] cbdbe7a5bc2a: Verifying Checksum [2020-08-19T20:48:59.243Z] cbdbe7a5bc2a: Download complete [2020-08-19T20:48:59.870Z] e5c8dbe1645b: Verifying Checksum [2020-08-19T20:48:59.870Z] e5c8dbe1645b: Download complete [2020-08-19T20:48:59.870Z] cbdbe7a5bc2a: Pull complete [2020-08-19T20:49:00.173Z] 23e8b3b47431: Verifying Checksum [2020-08-19T20:49:00.173Z] 23e8b3b47431: Download complete [2020-08-19T20:49:00.173Z] 408f87550127: Pull complete [2020-08-19T20:49:00.448Z] 5c568d65a230: Verifying Checksum [2020-08-19T20:49:00.448Z] 5c568d65a230: Download complete [2020-08-19T20:49:00.448Z] fe522b08c979: Pull complete [2020-08-19T20:49:00.719Z] 221eaa008020: Verifying Checksum [2020-08-19T20:49:00.719Z] 221eaa008020: Download complete [2020-08-19T20:49:07.354Z] 221eaa008020: Pull complete [2020-08-19T20:49:07.354Z] 2a4607e5d6b9: Pull complete [2020-08-19T20:49:07.354Z] 8f79b27c4fd2: Pull complete [2020-08-19T20:49:09.272Z] e5c8dbe1645b: Pull complete [2020-08-19T20:49:11.852Z] 23e8b3b47431: Pull complete [2020-08-19T20:49:13.783Z] 5c568d65a230: Pull complete [2020-08-19T20:49:13.783Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-08-19T20:49:13.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-08-19T20:49:13.783Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-08-19T20:49:14.035Z] prd-centos7-docker-4c-2g-514 does not seem to be running inside a container [2020-08-19T20:49:14.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/gexfoundry_device-rest-go_master:/ws -w /ws --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat [2020-08-19T20:49:15.269Z] $ docker top 02dda5c719bfff99c67a4ed78dbaa0bf5a3fac702627392cfcb295c7e61e00db -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-19T20:49:15.832Z] + snyk monitor '--org=edgex-jenkins' [2020-08-19T20:49:25.842Z] [2020-08-19T20:49:25.842Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2020-08-19T20:49:25.842Z] [2020-08-19T20:49:25.842Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/c0ed9f3d-9660-4675-a000-1df962d10a77 [2020-08-19T20:49:25.842Z] [2020-08-19T20:49:25.842Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-08-19T20:49:25.842Z] [2020-08-19T20:49:25.842Z] [2020-08-19T20:49:25.842Z] Snyk CLI supports Node.js 8 and higher. [2020-08-19T20:49:25.842Z] Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. [2020-08-19T20:49:25.842Z] Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. [2020-08-19T20:49:25.842Z] [2020-08-19T20:49:25.842Z] The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. [2020-08-19T20:49:25.842Z] The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } [2020-08-19T20:49:25.850Z] $ docker stop --time=1 02dda5c719bfff99c67a4ed78dbaa0bf5a3fac702627392cfcb295c7e61e00db [2020-08-19T20:49:27.855Z] $ docker rm -f 02dda5c719bfff99c67a4ed78dbaa0bf5a3fac702627392cfcb295c7e61e00db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:49:28.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-08-19T20:49:28.794Z] [2020-08-19T20:49:28.794Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:49:29.129Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-08-19T20:49:29.129Z] latest: Pulling from edgex-devops/edgex-klar [2020-08-19T20:49:29.129Z] e7c96db7181b: Pulling fs layer [2020-08-19T20:49:29.129Z] 1868ca2cb446: Pulling fs layer [2020-08-19T20:49:29.129Z] 136be5d0fe8e: Pulling fs layer [2020-08-19T20:49:29.129Z] 894bfe63afcb: Pulling fs layer [2020-08-19T20:49:29.129Z] 894bfe63afcb: Waiting [2020-08-19T20:49:29.129Z] 1868ca2cb446: Verifying Checksum [2020-08-19T20:49:29.129Z] 1868ca2cb446: Download complete [2020-08-19T20:49:29.129Z] 136be5d0fe8e: Verifying Checksum [2020-08-19T20:49:29.129Z] 136be5d0fe8e: Download complete [2020-08-19T20:49:29.129Z] e7c96db7181b: Verifying Checksum [2020-08-19T20:49:29.129Z] e7c96db7181b: Download complete [2020-08-19T20:49:29.129Z] 894bfe63afcb: Verifying Checksum [2020-08-19T20:49:29.129Z] 894bfe63afcb: Download complete [2020-08-19T20:49:29.391Z] e7c96db7181b: Pull complete [2020-08-19T20:49:29.651Z] 1868ca2cb446: Pull complete [2020-08-19T20:49:29.652Z] 136be5d0fe8e: Pull complete [2020-08-19T20:49:29.914Z] 894bfe63afcb: Pull complete [2020-08-19T20:49:29.914Z] Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 [2020-08-19T20:49:30.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-08-19T20:49:30.175Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer [2020-08-19T20:49:30.288Z] prd-centos7-docker-4c-2g-514 does not seem to be running inside a container [2020-08-19T20:49:30.474Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-08-19T20:49:31.785Z] $ docker top b7a4d19e34e4a4bc8c242dce5aa79748f6b44520d66cf3f0e576f562dcfc5593 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-08-19T20:49:32.355Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517 [2020-08-19T20:49:32.355Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-08-19T20:49:36.730Z] $ docker stop --time=1 b7a4d19e34e4a4bc8c242dce5aa79748f6b44520d66cf3f0e576f562dcfc5593 [2020-08-19T20:49:38.083Z] $ docker rm -f b7a4d19e34e4a4bc8c242dce5aa79748f6b44520d66cf3f0e576f562dcfc5593 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:49:38.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-08-19T20:49:38.600Z] . [Pipeline] withDockerContainer [2020-08-19T20:49:38.719Z] prd-centos7-docker-4c-2g-514 does not seem to be running inside a container [2020-08-19T20:49:38.757Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-08-19T20:49:39.370Z] $ docker top 4c49e3989d696d41faf3e719357e597312a5ad96c7b4d369c318b969c5a6cfa3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-08-19T20:49:39.882Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517 [2020-08-19T20:49:39.882Z] + tee [2020-08-19T20:49:39.882Z] clair timeout 1m0s [2020-08-19T20:49:39.882Z] docker timeout: 1m0s [2020-08-19T20:49:39.882Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-08-19T20:49:40.646Z] $ docker stop --time=1 4c49e3989d696d41faf3e719357e597312a5ad96c7b4d369c318b969c5a6cfa3 [2020-08-19T20:49:42.001Z] $ docker rm -f 4c49e3989d696d41faf3e719357e597312a5ad96c7b4d369c318b969c5a6cfa3 [Pipeline] // withDockerContainer [Pipeline] sh [2020-08-19T20:49:42.468Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo [2020-08-19T20:49:42.481Z] Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go_ecc710d5197e59ae7f4883e76f8aa49dbd120517.html [Pipeline] writeFile [Pipeline] step [2020-08-19T20:49:42.530Z] Archiving artifacts [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:49:42.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-08-19T20:49:42.871Z] . [Pipeline] withDockerContainer [2020-08-19T20:49:42.962Z] prd-centos7-docker-4c-2g-514 does not seem to be running inside a container [2020-08-19T20:49:43.000Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-08-19T20:49:43.604Z] $ docker top 37224268a2ad8f0169730479dfa126f62147eeb5e92f6cf30ca432b743c418f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-08-19T20:49:44.132Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517 [2020-08-19T20:49:44.132Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-08-19T20:49:47.656Z] $ docker stop --time=1 37224268a2ad8f0169730479dfa126f62147eeb5e92f6cf30ca432b743c418f4 [2020-08-19T20:49:49.038Z] $ docker rm -f 37224268a2ad8f0169730479dfa126f62147eeb5e92f6cf30ca432b743c418f4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:49:49.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-08-19T20:49:49.671Z] . [Pipeline] withDockerContainer [2020-08-19T20:49:49.976Z] prd-centos7-docker-4c-2g-514 does not seem to be running inside a container [2020-08-19T20:49:50.047Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-08-19T20:49:50.727Z] $ docker top 060fcacc5d07d0eb5c0bf4c581a6be947384d00e5022cae16c64153608864b25 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-08-19T20:49:51.478Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517 [2020-08-19T20:49:51.478Z] + tee [2020-08-19T20:49:51.478Z] clair timeout 1m0s [2020-08-19T20:49:51.478Z] docker timeout: 1m0s [2020-08-19T20:49:51.478Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-08-19T20:49:52.221Z] $ docker stop --time=1 060fcacc5d07d0eb5c0bf4c581a6be947384d00e5022cae16c64153608864b25 [2020-08-19T20:49:53.608Z] $ docker rm -f 060fcacc5d07d0eb5c0bf4c581a6be947384d00e5022cae16c64153608864b25 [Pipeline] // withDockerContainer [Pipeline] sh [2020-08-19T20:49:54.158Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo [2020-08-19T20:49:54.196Z] Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go-arm64_ecc710d5197e59ae7f4883e76f8aa49dbd120517.html [Pipeline] writeFile [Pipeline] step [2020-08-19T20:49:54.249Z] Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:49:56.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-19T20:49:56.579Z] . [Pipeline] withDockerContainer [2020-08-19T20:49:56.730Z] prd-centos7-docker-4c-2g-514 does not seem to be running inside a container [2020-08-19T20:49:56.826Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-08-19T20:49:57.528Z] $ docker top 8b23e5a5fe7fbf8a249f27b7126a7d8df3b881b09e99192b5f46f279716c4098 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-08-19T20:49:57.815Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-19T20:49:57.815Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-19T20:49:58.058Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-19T20:49:58.057Z] $ docker exec 8b23e5a5fe7fbf8a249f27b7126a7d8df3b881b09e99192b5f46f279716c4098 ssh-agent [2020-08-19T20:49:58.229Z] SSH_AUTH_SOCK=/tmp/ssh-r855vQiYheoq/agent.12 [2020-08-19T20:49:58.229Z] SSH_AGENT_PID=17 [2020-08-19T20:49:58.260Z] Running ssh-add (command line suppressed) [2020-08-19T20:49:58.385Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4059955515806048873.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4059955515806048873.key) [2020-08-19T20:49:58.453Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-19T20:49:58.813Z] + git semver tag [2020-08-19T20:49:58.813Z] # -> Open(): unable to determine branch for HEAD [2020-08-19T20:49:58.813Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-08-19T20:49:58.813Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-08-19T20:49:58.813Z] # $SEMVER_REMOTE_NAME = origin [2020-08-19T20:49:58.813Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-08-19T20:49:58.813Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-08-19T20:49:58.813Z] # $SEMVER_BRANCH = master [2020-08-19T20:49:58.813Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2020-08-19T20:49:58.813Z] # ecc710d5197e59ae7f4883e76f8aa49dbd120517 HEAD [2020-08-19T20:49:58.813Z] # -> Force: false [2020-08-19T20:49:58.813Z] # 2df2fd2bb459146c8d344e61a845634cb7668283 refs/tags/v1.1.2 [Pipeline] } [2020-08-19T20:49:58.844Z] $ docker exec --env ******** --env ******** 8b23e5a5fe7fbf8a249f27b7126a7d8df3b881b09e99192b5f46f279716c4098 ssh-agent -k [2020-08-19T20:49:58.964Z] unset SSH_AUTH_SOCK; [2020-08-19T20:49:58.964Z] unset SSH_AGENT_PID; [2020-08-19T20:49:58.964Z] echo Agent pid 17 killed; [2020-08-19T20:49:59.022Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-08-19T20:49:59.506Z] + git semver [Pipeline] } [2020-08-19T20:49:59.523Z] $ docker stop --time=1 8b23e5a5fe7fbf8a249f27b7126a7d8df3b881b09e99192b5f46f279716c4098 [2020-08-19T20:50:00.879Z] $ docker rm -f 8b23e5a5fe7fbf8a249f27b7126a7d8df3b881b09e99192b5f46f279716c4098 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:50:01.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-08-19T20:50:01.597Z] [2020-08-19T20:50:01.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:50:02.066Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-08-19T20:50:02.066Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-08-19T20:50:02.066Z] ab5ef0e58194: Pulling fs layer [2020-08-19T20:50:02.066Z] 9712f1f96733: Pulling fs layer [2020-08-19T20:50:02.066Z] 63f879dbbcfc: Pulling fs layer [2020-08-19T20:50:02.066Z] 0d9ebad4ef96: Pulling fs layer [2020-08-19T20:50:02.066Z] e9a5061849ea: Pulling fs layer [2020-08-19T20:50:02.066Z] d747dcd14b5f: Pulling fs layer [2020-08-19T20:50:02.066Z] 2de7ff778b66: Pulling fs layer [2020-08-19T20:50:02.066Z] e9a5061849ea: Waiting [2020-08-19T20:50:02.066Z] d747dcd14b5f: Waiting [2020-08-19T20:50:02.066Z] 2de7ff778b66: Waiting [2020-08-19T20:50:02.066Z] 0d9ebad4ef96: Waiting [2020-08-19T20:50:02.066Z] 9712f1f96733: Verifying Checksum [2020-08-19T20:50:02.066Z] 9712f1f96733: Download complete [2020-08-19T20:50:03.069Z] 63f879dbbcfc: Verifying Checksum [2020-08-19T20:50:03.069Z] 63f879dbbcfc: Download complete [2020-08-19T20:50:03.360Z] 0d9ebad4ef96: Verifying Checksum [2020-08-19T20:50:03.360Z] 0d9ebad4ef96: Download complete [2020-08-19T20:50:03.360Z] d747dcd14b5f: Verifying Checksum [2020-08-19T20:50:03.360Z] d747dcd14b5f: Download complete [2020-08-19T20:50:03.360Z] e9a5061849ea: Verifying Checksum [2020-08-19T20:50:03.360Z] e9a5061849ea: Download complete [2020-08-19T20:50:03.360Z] ab5ef0e58194: Verifying Checksum [2020-08-19T20:50:03.360Z] ab5ef0e58194: Download complete [2020-08-19T20:50:03.644Z] 2de7ff778b66: Verifying Checksum [2020-08-19T20:50:03.644Z] 2de7ff778b66: Download complete [2020-08-19T20:50:07.865Z] ab5ef0e58194: Pull complete [2020-08-19T20:50:07.865Z] 9712f1f96733: Pull complete [2020-08-19T20:50:10.429Z] 63f879dbbcfc: Pull complete [2020-08-19T20:50:17.047Z] 0d9ebad4ef96: Pull complete [2020-08-19T20:50:18.968Z] e9a5061849ea: Pull complete [2020-08-19T20:50:18.968Z] d747dcd14b5f: Pull complete [2020-08-19T20:50:21.520Z] 2de7ff778b66: Pull complete [2020-08-19T20:50:21.520Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-08-19T20:50:21.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-08-19T20:50:21.520Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-08-19T20:50:21.711Z] prd-centos7-docker-4c-2g-514 does not seem to be running inside a container [2020-08-19T20:50:21.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-08-19T20:50:25.922Z] $ docker top 6e5606e4f185ea69e70318bd09721844bf5b0cc7074b86cd2e968247919479c9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-08-19T20:50:26.157Z] provisioning config files... [2020-08-19T20:50:26.172Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3631008147969025337tmp [2020-08-19T20:50:26.191Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6378983309176133389tmp [2020-08-19T20:50:26.206Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4964468087564689403tmp [Pipeline] { [Pipeline] echo [2020-08-19T20:50:26.289Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-19T20:50:26.585Z] ---> sigul-configuration.sh [2020-08-19T20:50:26.585Z] gpg: directory `/root/.gnupg' created [2020-08-19T20:50:26.585Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-08-19T20:50:26.585Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-08-19T20:50:26.585Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-08-19T20:50:26.585Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-08-19T20:50:26.585Z] gpg: CAST5 encrypted data [2020-08-19T20:50:26.848Z] gpg: encrypted with 1 passphrase [2020-08-19T20:50:26.848Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-08-19T20:50:27.143Z] + mkdir /home/jenkins [2020-08-19T20:50:27.143Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-08-19T20:50:27.437Z] + 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-08-19T20:50:27.447Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-19T20:50:27.758Z] ---> sigul-install.sh [2020-08-19T20:50:34.347Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-08-19T20:50:34.648Z] + git tag --list [2020-08-19T20:50:34.648Z] v1.1.2 [Pipeline] sh [2020-08-19T20:50:34.952Z] + lftools sign git-tag v1.1.2 [2020-08-19T20:50:36.346Z] Signing Git tag with Sigul... [2020-08-19T20:50:36.346Z] Signing v1.1.2 [Pipeline] echo [2020-08-19T20:50:37.337Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-19T20:50:37.729Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-08-19T20:50:37.738Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-08-19T20:50:37.824Z] $ docker stop --time=1 6e5606e4f185ea69e70318bd09721844bf5b0cc7074b86cd2e968247919479c9 [2020-08-19T20:50:39.658Z] $ docker rm -f 6e5606e4f185ea69e70318bd09721844bf5b0cc7074b86cd2e968247919479c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:50:40.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-19T20:50:40.418Z] . [Pipeline] withDockerContainer [2020-08-19T20:50:40.513Z] prd-centos7-docker-4c-2g-514 does not seem to be running inside a container [2020-08-19T20:50:40.554Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-08-19T20:50:41.251Z] $ docker top fc298a8c84e47af27fe6f9c106f30c5a25c32892e056f9fce580dfc5309adedb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-08-19T20:50:41.591Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-19T20:50:41.591Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-19T20:50:41.796Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-19T20:50:41.795Z] $ docker exec fc298a8c84e47af27fe6f9c106f30c5a25c32892e056f9fce580dfc5309adedb ssh-agent [2020-08-19T20:50:41.980Z] SSH_AUTH_SOCK=/tmp/ssh-5grryWmho4b2/agent.11 [2020-08-19T20:50:41.980Z] SSH_AGENT_PID=16 [2020-08-19T20:50:41.988Z] Running ssh-add (command line suppressed) [2020-08-19T20:50:42.121Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2004503838897429195.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2004503838897429195.key) [2020-08-19T20:50:42.183Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-19T20:50:42.515Z] + git semver bump pre [2020-08-19T20:50:42.515Z] # -> Open(): unable to determine branch for HEAD [2020-08-19T20:50:42.515Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-08-19T20:50:42.515Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-08-19T20:50:42.515Z] # $SEMVER_REMOTE_NAME = origin [2020-08-19T20:50:42.515Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-08-19T20:50:42.515Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-08-19T20:50:42.515Z] # $SEMVER_BRANCH = master [2020-08-19T20:50:42.515Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2020-08-19T20:50:42.515Z] 1.1.3-dev.1 [Pipeline] } [2020-08-19T20:50:42.522Z] $ docker exec --env ******** --env ******** fc298a8c84e47af27fe6f9c106f30c5a25c32892e056f9fce580dfc5309adedb ssh-agent -k [2020-08-19T20:50:42.642Z] unset SSH_AUTH_SOCK; [2020-08-19T20:50:42.642Z] unset SSH_AGENT_PID; [2020-08-19T20:50:42.642Z] echo Agent pid 16 killed; [2020-08-19T20:50:42.695Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-08-19T20:50:43.183Z] + git semver [Pipeline] } [2020-08-19T20:50:43.195Z] $ docker stop --time=1 fc298a8c84e47af27fe6f9c106f30c5a25c32892e056f9fce580dfc5309adedb [2020-08-19T20:50:44.558Z] $ docker rm -f fc298a8c84e47af27fe6f9c106f30c5a25c32892e056f9fce580dfc5309adedb [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:50:45.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-19T20:50:45.138Z] . [Pipeline] withDockerContainer [2020-08-19T20:50:45.246Z] prd-centos7-docker-4c-2g-514 does not seem to be running inside a container [2020-08-19T20:50:45.288Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-08-19T20:50:45.969Z] $ docker top e3ff45315083bac8b461b62f3e02e85055275b63ca37bd1e9f02e743f7a42113 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-08-19T20:50:46.250Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-19T20:50:46.250Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-19T20:50:46.451Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-19T20:50:46.450Z] $ docker exec e3ff45315083bac8b461b62f3e02e85055275b63ca37bd1e9f02e743f7a42113 ssh-agent [2020-08-19T20:50:46.638Z] SSH_AUTH_SOCK=/tmp/ssh-G5pPdEaczqSh/agent.11 [2020-08-19T20:50:46.638Z] SSH_AGENT_PID=17 [2020-08-19T20:50:46.646Z] Running ssh-add (command line suppressed) [2020-08-19T20:50:46.764Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1078332628211898686.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1078332628211898686.key) [2020-08-19T20:50:46.826Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-19T20:50:47.164Z] + git semver push [2020-08-19T20:50:47.164Z] # -> Open(): unable to determine branch for HEAD [2020-08-19T20:50:47.164Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-08-19T20:50:47.164Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-08-19T20:50:47.164Z] # $SEMVER_REMOTE_NAME = origin [2020-08-19T20:50:47.164Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-08-19T20:50:47.164Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-08-19T20:50:47.164Z] # $SEMVER_BRANCH = master [2020-08-19T20:50:47.164Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-08-19T20:50:53.762Z] $ docker exec --env ******** --env ******** e3ff45315083bac8b461b62f3e02e85055275b63ca37bd1e9f02e743f7a42113 ssh-agent -k [2020-08-19T20:50:53.902Z] unset SSH_AUTH_SOCK; [2020-08-19T20:50:53.902Z] unset SSH_AGENT_PID; [2020-08-19T20:50:53.902Z] echo Agent pid 17 killed; [2020-08-19T20:50:53.968Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-08-19T20:50:54.424Z] + git semver [Pipeline] } [2020-08-19T20:50:54.436Z] $ docker stop --time=1 e3ff45315083bac8b461b62f3e02e85055275b63ca37bd1e9f02e743f7a42113 [2020-08-19T20:50:55.802Z] $ docker rm -f e3ff45315083bac8b461b62f3e02e85055275b63ca37bd1e9f02e743f7a42113 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-08-19T20:50:57.080Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-19T20:50:57.654Z] ---> package-listing.sh [2020-08-19T20:50:57.654Z] ++ facter osfamily [2020-08-19T20:50:57.654Z] ++ tr '[:upper:]' '[:lower:]' [2020-08-19T20:50:57.654Z] + OS_FAMILY=redhat [2020-08-19T20:50:57.654Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2020-08-19T20:50:57.654Z] + START_PACKAGES=/tmp/packages_start.txt [2020-08-19T20:50:57.654Z] + END_PACKAGES=/tmp/packages_end.txt [2020-08-19T20:50:57.654Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-08-19T20:50:57.654Z] + PACKAGES=/tmp/packages_start.txt [2020-08-19T20:50:57.654Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-08-19T20:50:57.654Z] + PACKAGES=/tmp/packages_end.txt [2020-08-19T20:50:57.654Z] + case "${OS_FAMILY}" in [2020-08-19T20:50:57.654Z] + rpm -qa [2020-08-19T20:50:57.654Z] + sort [2020-08-19T20:51:02.361Z] + '[' -f /tmp/packages_start.txt ']' [2020-08-19T20:51:02.361Z] + '[' -f /tmp/packages_end.txt ']' [2020-08-19T20:51:02.361Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-08-19T20:51:02.361Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-08-19T20:51:02.361Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2020-08-19T20:51:02.361Z] + 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-08-19T20:51:02.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-19T20:51:02.772Z] [2020-08-19T20:51:02.772Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-08-19T20:51:03.119Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-19T20:51:03.119Z] alpine: Pulling from edgex-lftools-log-publisher [2020-08-19T20:51:03.119Z] c9b1b535fdd9: Pulling fs layer [2020-08-19T20:51:03.119Z] 2cc5ad85d9ab: Pulling fs layer [2020-08-19T20:51:03.119Z] 756a868c4378: Pulling fs layer [2020-08-19T20:51:03.119Z] 444b2fc9a129: Pulling fs layer [2020-08-19T20:51:03.119Z] ea15f1150254: Pulling fs layer [2020-08-19T20:51:03.119Z] 41b27a9f41bf: Pulling fs layer [2020-08-19T20:51:03.119Z] 28c525ee5125: Pulling fs layer [2020-08-19T20:51:03.119Z] 094b1ea09ed8: Pulling fs layer [2020-08-19T20:51:03.119Z] 138eaada9080: Pulling fs layer [2020-08-19T20:51:03.119Z] 0622d0fa9048: Pulling fs layer [2020-08-19T20:51:03.119Z] 28c525ee5125: Waiting [2020-08-19T20:51:03.119Z] 094b1ea09ed8: Waiting [2020-08-19T20:51:03.119Z] 138eaada9080: Waiting [2020-08-19T20:51:03.119Z] ea15f1150254: Waiting [2020-08-19T20:51:03.119Z] 41b27a9f41bf: Waiting [2020-08-19T20:51:03.119Z] 0622d0fa9048: Waiting [2020-08-19T20:51:03.119Z] 2cc5ad85d9ab: Verifying Checksum [2020-08-19T20:51:03.119Z] 2cc5ad85d9ab: Download complete [2020-08-19T20:51:03.119Z] 444b2fc9a129: Verifying Checksum [2020-08-19T20:51:03.119Z] 444b2fc9a129: Download complete [2020-08-19T20:51:03.119Z] c9b1b535fdd9: Download complete [2020-08-19T20:51:03.119Z] ea15f1150254: Verifying Checksum [2020-08-19T20:51:03.119Z] ea15f1150254: Download complete [2020-08-19T20:51:03.389Z] 28c525ee5125: Verifying Checksum [2020-08-19T20:51:03.389Z] 28c525ee5125: Download complete [2020-08-19T20:51:03.654Z] 756a868c4378: Verifying Checksum [2020-08-19T20:51:03.654Z] 756a868c4378: Download complete [2020-08-19T20:51:03.654Z] 138eaada9080: Verifying Checksum [2020-08-19T20:51:03.654Z] 138eaada9080: Download complete [2020-08-19T20:51:03.654Z] 0622d0fa9048: Verifying Checksum [2020-08-19T20:51:03.654Z] 0622d0fa9048: Download complete [2020-08-19T20:51:03.926Z] 094b1ea09ed8: Verifying Checksum [2020-08-19T20:51:03.926Z] 094b1ea09ed8: Download complete [2020-08-19T20:51:03.926Z] c9b1b535fdd9: Pull complete [2020-08-19T20:51:04.191Z] 41b27a9f41bf: Verifying Checksum [2020-08-19T20:51:04.191Z] 41b27a9f41bf: Download complete [2020-08-19T20:51:04.456Z] 2cc5ad85d9ab: Pull complete [2020-08-19T20:51:05.863Z] 756a868c4378: Pull complete [2020-08-19T20:51:06.127Z] 444b2fc9a129: Pull complete [2020-08-19T20:51:06.391Z] ea15f1150254: Pull complete [2020-08-19T20:51:10.645Z] 41b27a9f41bf: Pull complete [2020-08-19T20:51:10.645Z] 28c525ee5125: Pull complete [2020-08-19T20:51:13.207Z] 094b1ea09ed8: Pull complete [2020-08-19T20:51:13.207Z] 138eaada9080: Pull complete [2020-08-19T20:51:13.469Z] 0622d0fa9048: Pull complete [2020-08-19T20:51:13.469Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-08-19T20:51:13.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-19T20:51:13.469Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-08-19T20:51:13.618Z] prd-centos7-docker-4c-2g-514 does not seem to be running inside a container [2020-08-19T20:51:13.660Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-08-19T20:51:16.889Z] $ docker top e449410cf764e52c7e03cdb650f868d21923c59150579db2caefc0f1ab4fcbf9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-19T20:51:17.156Z] provisioning config files... [2020-08-19T20:51:17.185Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8524101985992543742tmp [Pipeline] { [Pipeline] echo [2020-08-19T20:51:17.271Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-19T20:51:17.579Z] ---> create-netrc.sh [Pipeline] echo [2020-08-19T20:51:17.605Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-19T20:51:17.919Z] ---> logs-deploy.sh [2020-08-19T20:51:17.919Z] + ARCHIVE_ARTIFACTS= [2020-08-19T20:51:17.919Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-08-19T20:51:17.919Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-08-19T20:51:17.919Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-08-19T20:51:17.919Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/16 [2020-08-19T20:51:17.919Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/16/ [2020-08-19T20:51:17.919Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/16 /w/workspace/gexfoundry_device-rest-go_master [2020-08-19T20:51:19.336Z] Archives upload complete. [2020-08-19T20:51:19.336Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/16 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/16/