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 20:42:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:42:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:42:49 ========================================================= 20:42:49 EdgeX Global Pipelines Version Info 20:42:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:42:51 ------------------- 20:42:51 stable info: 20:42:51 ------------------- 20:42:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:42:51 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 20:42:51 Message: update stable to v1.0.106 20:42:52 ------------------- 20:42:52 experimental info: 20:42:52 ------------------- 20:42:52 Commited By: **** collab-it+edgex@linuxfoundation.org 20:42:52 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 20:42:52 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 20:42:54 + git log --format=format:%s -1 ecc710d5197e59ae7f4883e76f8aa49dbd120517 [Pipeline] echo 20:42:54 GIT_COMMIT: ecc710d5197e59ae7f4883e76f8aa49dbd120517, Commit Message: Merge pull request #27 from edgexfoundry/snap [Pipeline] echo 20:42:54 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:42:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:42:55 20:42:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:42:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:42:55 latest: Pulling from edgex-devops/git-semver 20:42:55 31603596830f: Pulling fs layer 20:42:55 2a8b12db71e7: Pulling fs layer 20:42:55 6ca5941a6612: Pulling fs layer 20:42:55 ecc8261a40a4: Pulling fs layer 20:42:55 ecc8261a40a4: Waiting 20:42:55 2a8b12db71e7: Verifying Checksum 20:42:55 2a8b12db71e7: Download complete 20:42:55 31603596830f: Verifying Checksum 20:42:55 31603596830f: Download complete 20:42:56 ecc8261a40a4: Verifying Checksum 20:42:56 ecc8261a40a4: Download complete 20:42:56 6ca5941a6612: Verifying Checksum 20:42:56 6ca5941a6612: Download complete 20:42:56 31603596830f: Pull complete 20:42:56 2a8b12db71e7: Pull complete 20:42:57 6ca5941a6612: Pull complete 20:42:57 ecc8261a40a4: Pull complete 20:42:57 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:42:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:42:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:42:57 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 20:42:57 $ 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 20:42:59 $ docker top 6bebefd0ab413bec304efb23b2c9d3f1d00e4438c9b25d7257532f9a45c64eff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:42:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:42:59 [ssh-agent] Looking for ssh-agent implementation... 20:43:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:00 $ docker exec 6bebefd0ab413bec304efb23b2c9d3f1d00e4438c9b25d7257532f9a45c64eff ssh-agent 20:43:00 SSH_AUTH_SOCK=/tmp/ssh-B2jnm7TFAyXP/agent.12 20:43:00 SSH_AGENT_PID=18 20:43:00 Running ssh-add (command line suppressed) 20:43:00 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) 20:43:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:00 + git describe --exact-match --tags HEAD 20:43:00 fatal: No names found, cannot describe anything. [Pipeline] } 20:43:00 $ docker exec --env ******** --env ******** 6bebefd0ab413bec304efb23b2c9d3f1d00e4438c9b25d7257532f9a45c64eff ssh-agent -k 20:43:00 unset SSH_AUTH_SOCK; 20:43:00 unset SSH_AGENT_PID; 20:43:00 echo Agent pid 18 killed; 20:43:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:43:01 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 20:43:01 This usually means this commit has not been tagged. [Pipeline] sshagent 20:43:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:01 [ssh-agent] Looking for ssh-agent implementation... 20:43:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:01 $ docker exec 6bebefd0ab413bec304efb23b2c9d3f1d00e4438c9b25d7257532f9a45c64eff ssh-agent 20:43:01 SSH_AUTH_SOCK=/tmp/ssh-NSSdfph5s4EN/agent.47 20:43:01 SSH_AGENT_PID=52 20:43:01 Running ssh-add (command line suppressed) 20:43:01 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) 20:43:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:02 + git semver init 20:43:02 # -> Open(): unable to determine branch for HEAD 20:43:02 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 20:43:02 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 20:43:02 # $SEMVER_REMOTE_NAME = origin 20:43:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:43:02 # $SEMVER_USER_NAME = edgex-jenkins 20:43:02 # $SEMVER_BRANCH = master 20:43:02 # $SEMVER_TEMP = /tmp/semver-986781348 20:43:02 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:43:04 # '/tmp/semver-986781348' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 20:43:04 # -> Force: false 20:43:04 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 20:43:04 $ docker exec --env ******** --env ******** 6bebefd0ab413bec304efb23b2c9d3f1d00e4438c9b25d7257532f9a45c64eff ssh-agent -k 20:43:04 unset SSH_AUTH_SOCK; 20:43:04 unset SSH_AGENT_PID; 20:43:04 echo Agent pid 52 killed; 20:43:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:43:04 + git semver [Pipeline] } 20:43:04 $ docker stop --time=1 6bebefd0ab413bec304efb23b2c9d3f1d00e4438c9b25d7257532f9a45c64eff 20:43:06 $ docker rm -f 6bebefd0ab413bec304efb23b2c9d3f1d00e4438c9b25d7257532f9a45c64eff [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:43:07 Stashed 14 file(s) [Pipeline] echo 20:43:07 [edgeXSemver] initialized semver on version 1.1.2 [Pipeline] echo 20:43:07 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 20:43:22 Still waiting to schedule task 20:43:22 ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-507’ is offline; ‘prd-centos7-docker-4c-2g-517’ is offline 20:43:22 Still waiting to schedule task 20:43:22 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-513’ 20:44:58 Running on prd-centos7-docker-4c-2g-522 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 20:44:58 Running in /w/workspace/device-rest-go/16 [Pipeline] { [Pipeline] checkout 20:45:02 using credential edgex-jenkins-ssh 20:45:02 Cloning the remote Git repository 20:45:02 Cloning with configured refspecs honoured and without tags 20:45:02 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:45:02 > git init /w/workspace/device-rest-go/16 # timeout=10 20:45:02 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:45:02 > git --version # timeout=10 20:45:02 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:02 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:45:05 Fetching without tags 20:45:05 Checking out Revision ecc710d5197e59ae7f4883e76f8aa49dbd120517 (master) 20:45:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:45:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:45:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:45:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:45:05 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:45:05 > git config core.sparsecheckout # timeout=10 20:45:05 > git checkout -f ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 20:45:09 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 20:45:10 ========================================================= 20:45:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 20:45:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:45:11 + 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 . 20:45:12 Sending build context to Docker daemon 8.033MB 20:45:12 Step 1/10 : ARG BASE=golang:1.13-alpine 20:45:12 Step 2/10 : FROM ${BASE} 20:45:12 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 20:45:12 df20fa9351a1: Pulling fs layer 20:45:12 ed8968b2872e: Pulling fs layer 20:45:12 a92cc7c5fd73: Pulling fs layer 20:45:12 2dd03ba5bac4: Pulling fs layer 20:45:12 1e091d79d1de: Pulling fs layer 20:45:12 481702a1767f: Pulling fs layer 20:45:12 f64a6f60c768: Pulling fs layer 20:45:12 e78d2573fc39: Pulling fs layer 20:45:12 e876d2f968b6: Pulling fs layer 20:45:12 ce8a83651883: Pulling fs layer 20:45:12 07967f4d0e4b: Pulling fs layer 20:45:12 e876d2f968b6: Waiting 20:45:12 f64a6f60c768: Waiting 20:45:12 e78d2573fc39: Waiting 20:45:12 2dd03ba5bac4: Waiting 20:45:12 1e091d79d1de: Waiting 20:45:12 ce8a83651883: Waiting 20:45:12 481702a1767f: Waiting 20:45:12 07967f4d0e4b: Waiting 20:45:12 a92cc7c5fd73: Verifying Checksum 20:45:12 a92cc7c5fd73: Download complete 20:45:12 ed8968b2872e: Download complete 20:45:12 1e091d79d1de: Verifying Checksum 20:45:12 1e091d79d1de: Download complete 20:45:12 481702a1767f: Verifying Checksum 20:45:12 481702a1767f: Download complete 20:45:12 df20fa9351a1: Verifying Checksum 20:45:12 df20fa9351a1: Download complete 20:45:12 df20fa9351a1: Pull complete 20:45:12 f64a6f60c768: Verifying Checksum 20:45:12 f64a6f60c768: Download complete 20:45:13 e876d2f968b6: Verifying Checksum 20:45:13 e876d2f968b6: Download complete 20:45:13 2dd03ba5bac4: Verifying Checksum 20:45:13 2dd03ba5bac4: Download complete 20:45:13 e78d2573fc39: Verifying Checksum 20:45:13 e78d2573fc39: Download complete 20:45:13 ce8a83651883: Verifying Checksum 20:45:13 ce8a83651883: Download complete 20:45:13 07967f4d0e4b: Verifying Checksum 20:45:13 07967f4d0e4b: Download complete 20:45:14 ed8968b2872e: Pull complete 20:45:14 a92cc7c5fd73: Pull complete 20:45:20 2dd03ba5bac4: Pull complete 20:45:20 1e091d79d1de: Pull complete 20:45:20 481702a1767f: Pull complete 20:45:29 f64a6f60c768: Pull complete 20:45:30 e78d2573fc39: Pull complete 20:45:31 e876d2f968b6: Pull complete 20:45:32 ce8a83651883: Pull complete 20:45:32 07967f4d0e4b: Pull complete 20:45:32 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 20:45:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 20:45:32 ---> 5d7c900382c6 20:45:32 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 20:45:34 ---> Running in d02c80be9ea1 20:45:34 Removing intermediate container d02c80be9ea1 20:45:34 ---> 3189a503f6ff 20:45:34 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:45:34 ---> Running in 2ec72a21ef68 20:45:34 Removing intermediate container 2ec72a21ef68 20:45:34 ---> 8f557a49d1c7 20:45:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:45:34 ---> Running in 1cc7b56f286b 20:45:34 Removing intermediate container 1cc7b56f286b 20:45:34 ---> 6caca89ee06a 20:45:34 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:45:35 ---> Running in 545bf745bbed 20:45:36 Removing intermediate container 545bf745bbed 20:45:36 ---> ec1f0a472b35 20:45:36 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:45:36 ---> Running in 798780ad0bae 20:45:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:45:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:45:38 OK: 166 MiB in 39 packages 20:45:38 Removing intermediate container 798780ad0bae 20:45:38 ---> 750f4c4123c1 20:45:38 Step 8/10 : WORKDIR /device-rest-go 20:45:38 ---> Running in e155a351f40e 20:45:38 Removing intermediate container e155a351f40e 20:45:38 ---> fec8619ab894 20:45:38 Step 9/10 : COPY . . 20:45:39 ---> f7e569aebcb3 20:45:39 Step 10/10 : RUN go mod download 20:45:39 ---> Running in 4c31b778f65e 20:45:42 go: finding github.com/BurntSushi/toml v0.3.1 20:45:42 go: finding github.com/OneOfOne/xxhash v1.2.6 20:45:42 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:45:42 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:45:42 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:45:42 go: finding github.com/bgentry/speakeasy v0.1.0 20:45:42 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:45:42 go: finding github.com/davecgh/go-spew v1.1.1 20:45:42 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 20:45:42 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 20:45:42 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:45:42 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:45:42 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:45:42 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:45:42 go: finding github.com/fatih/color v1.7.0 20:45:42 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:45:42 go: finding github.com/go-kit/kit v0.8.0 20:45:42 go: finding github.com/go-logfmt/logfmt v0.4.0 20:45:42 go: finding github.com/go-stack/stack v1.8.0 20:45:42 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:45:42 go: finding github.com/google/uuid v1.1.0 20:45:42 go: finding github.com/gorilla/mux v1.7.1 20:45:42 go: finding github.com/hashicorp/consul/api v1.1.0 20:45:42 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:45:42 go: finding github.com/hashicorp/errwrap v1.0.0 20:45:42 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:45:42 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:45:43 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:45:43 go: finding github.com/hashicorp/go-multierror v1.0.0 20:45:43 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:45:43 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:45:43 go: finding github.com/hashicorp/go-syslog v1.0.0 20:45:43 go: finding github.com/hashicorp/go-uuid v1.0.1 20:45:43 go: finding github.com/hashicorp/go.net v0.0.1 20:45:43 go: finding github.com/hashicorp/golang-lru v0.5.0 20:45:43 go: finding github.com/hashicorp/logutils v1.0.0 20:45:43 go: finding github.com/hashicorp/mdns v1.0.0 20:45:43 go: finding github.com/hashicorp/memberlist v0.1.3 20:45:43 go: finding github.com/hashicorp/serf v0.8.2 20:45:43 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:45:43 go: finding github.com/mattn/go-colorable v0.0.9 20:45:43 go: finding github.com/mattn/go-isatty v0.0.3 20:45:43 go: finding github.com/miekg/dns v1.0.14 20:45:43 go: finding github.com/mitchellh/cli v1.0.0 20:45:43 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:45:43 go: finding github.com/mitchellh/copystructure v1.0.0 20:45:43 go: finding github.com/mitchellh/go-homedir v1.0.0 20:45:43 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:45:43 go: finding github.com/mitchellh/gox v0.4.0 20:45:43 go: finding github.com/mitchellh/iochan v1.0.0 20:45:43 go: finding github.com/mitchellh/mapstructure v1.1.2 20:45:43 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:45:43 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:45:43 go: finding github.com/pelletier/go-toml v1.2.0 20:45:44 go: finding github.com/pkg/errors v0.8.1 20:45:44 go: finding github.com/pmezard/go-difflib v1.0.0 20:45:44 go: finding github.com/posener/complete v1.1.1 20:45:44 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:45:44 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:45:44 go: finding github.com/spf13/cast v1.3.0 20:45:44 go: finding github.com/stretchr/objx v0.1.0 20:45:44 go: finding github.com/stretchr/testify v1.5.1 20:45:44 go: finding github.com/ugorji/go v1.1.4 20:45:44 go: finding github.com/x448/float16 v0.8.4 20:45:44 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:45:44 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 20:45:44 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:45:44 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:45:44 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:45:44 go: finding gopkg.in/yaml.v2 v2.2.8 20:45:52 Removing intermediate container 4c31b778f65e 20:45:52 ---> e9a9983e3dff 20:45:52 Successfully built e9a9983e3dff 20:45:52 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 20:45:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:45:54 + ls -al . 20:45:54 total 68 20:45:54 drwxrwxr-x. 9 jenkins jenkins 4096 Aug 19 20:45 . 20:45:54 drwxrwxr-x. 4 jenkins jenkins 30 Aug 19 20:45 .. 20:45:54 -rw-rw-r--. 1 jenkins jenkins 4802 Aug 19 20:45 Attribution.txt 20:45:54 drwxrwxr-x. 2 jenkins jenkins 64 Aug 19 20:45 bin 20:45:54 drwxrwxr-x. 3 jenkins jenkins 32 Aug 19 20:45 cmd 20:45:54 -rw-rw-r--. 1 jenkins jenkins 1504 Aug 19 20:45 Dockerfile 20:45:54 -rw-rw-r--. 1 jenkins jenkins 989 Aug 19 20:45 Dockerfile.build 20:45:54 -rw-rw-r--. 1 jenkins jenkins 151 Aug 19 20:45 .dockerignore 20:45:54 drwxrwxr-x. 2 jenkins jenkins 76 Aug 19 20:45 driver 20:45:54 drwxrwxr-x. 8 jenkins jenkins 162 Aug 19 20:45 .git 20:45:54 drwxrwxr-x. 2 jenkins jenkins 38 Aug 19 20:45 .github 20:45:54 -rw-rw-r--. 1 jenkins jenkins 339 Aug 19 20:45 .gitignore 20:45:54 -rw-rw-r--. 1 jenkins jenkins 266 Aug 19 20:45 go.mod 20:45:54 -rw-rw-r--. 1 jenkins jenkins 702 Aug 19 20:45 Jenkinsfile 20:45:54 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 19 20:45 LICENSE 20:45:54 -rw-rw-r--. 1 jenkins jenkins 951 Aug 19 20:45 Makefile 20:45:54 -rw-rw-r--. 1 jenkins jenkins 5716 Aug 19 20:45 README.md 20:45:54 drwxrwxr-x. 3 jenkins jenkins 32 Aug 19 20:45 .semver 20:45:54 drwxrwxr-x. 4 jenkins jenkins 54 Aug 19 20:45 snap 20:45:54 -rw-rw-r--. 1 jenkins jenkins 5 Aug 19 20:43 VERSION 20:45:54 -rw-rw-r--. 1 jenkins jenkins 713 Aug 19 20:45 version.go [Pipeline] isUnix [Pipeline] sh 20:45:54 + 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 . 20:45:54 Sending build context to Docker daemon 8.033MB 20:45:54 Step 1/24 : ARG BASE=golang:1.13-alpine 20:45:54 Step 2/24 : FROM ${BASE} AS builder 20:45:54 ---> e9a9983e3dff 20:45:54 Step 3/24 : ARG MAKE='make build' 20:45:54 ---> Running in 07a430704d11 20:45:55 Removing intermediate container 07a430704d11 20:45:55 ---> 08b4bcfa1391 20:45:55 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 20:45:55 ---> Running in ec7c9ecefab7 20:45:55 Removing intermediate container ec7c9ecefab7 20:45:55 ---> 3db6742a61e0 20:45:55 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 20:45:55 ---> Running in 2a5ac0b52e94 20:45:55 Removing intermediate container 2a5ac0b52e94 20:45:55 ---> e246eded062d 20:45:55 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:45:55 ---> Running in 1a42751d6204 20:45:57 Removing intermediate container 1a42751d6204 20:45:57 ---> 70049a92320a 20:45:57 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:45:57 ---> Running in 5ee1b75f31cd 20:45:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:45:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:46:01 OK: 166 MiB in 39 packages 20:46:01 Removing intermediate container 5ee1b75f31cd 20:46:01 ---> b4eba7a8340d 20:46:01 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 20:46:01 ---> Running in 2f4fed85f02c 20:46:01 Removing intermediate container 2f4fed85f02c 20:46:01 ---> 5cd27f8dd9f1 20:46:01 Step 9/24 : COPY go.mod . 20:46:01 ---> ede7f018888b 20:46:01 Step 10/24 : COPY Makefile . 20:46:01 ---> 27bbd5f4bca1 20:46:01 Step 11/24 : RUN make update 20:46:01 ---> Running in 1e6b28e2072e 20:46:02 CGO_ENABLED=0 GO111MODULE=on go mod download 20:46:03 Removing intermediate container 1e6b28e2072e 20:46:03 ---> e25965415d19 20:46:03 Step 12/24 : COPY . . 20:46:03 ---> 2f1df48a962b 20:46:03 Step 13/24 : RUN $MAKE 20:46:03 ---> Running in fd0ef1902c19 20:46:03 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 20:46:16 Removing intermediate container fd0ef1902c19 20:46:16 ---> bd52b48ae1a6 20:46:16 Step 14/24 : FROM alpine:latest 20:46:16 latest: Pulling from library/alpine 20:46:16 df20fa9351a1: Already exists 20:46:16 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 20:46:16 Status: Downloaded newer image for alpine:latest 20:46:16 ---> a24bb4013296 20:46:16 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:46:16 ---> Running in 06977844f923 20:46:16 Removing intermediate container 06977844f923 20:46:16 ---> a40961978549 20:46:16 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 20:46:16 ---> Running in de7dc84da916 20:46:16 Removing intermediate container de7dc84da916 20:46:16 ---> 3af566574522 20:46:16 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 20:46:16 ---> 080f885e76fd 20:46:16 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 20:46:16 ---> d298ef4d7bad 20:46:16 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 20:46:17 ---> c2ea4691643f 20:46:17 Step 20/24 : EXPOSE 49986 20:46:17 ---> Running in d43a5cc0a9ea 20:46:17 Removing intermediate container d43a5cc0a9ea 20:46:17 ---> cafc861ca2be 20:46:17 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 20:46:17 ---> Running in 4bfb06c629e0 20:46:17 Removing intermediate container 4bfb06c629e0 20:46:17 ---> 85f960d11b7e 20:46:17 Step 22/24 : LABEL arch=amd64 20:46:17 ---> Running in e196ef01b320 20:46:17 Removing intermediate container e196ef01b320 20:46:17 ---> 4843c1ccf36f 20:46:17 Step 23/24 : LABEL git_sha=ecc710d5197e59ae7f4883e76f8aa49dbd120517 20:46:17 ---> Running in 2c32088ef66d 20:46:18 Removing intermediate container 2c32088ef66d 20:46:18 ---> 6d9ee91ebf38 20:46:18 Step 24/24 : LABEL version=1.1.2 20:46:18 ---> Running in 8e09d49b1832 20:46:18 Removing intermediate container 8e09d49b1832 20:46:18 ---> 082a86b1d01c 20:46:18 [Warning] One or more build-args [ARCH] were not consumed 20:46:18 Successfully built 082a86b1d01c 20:46:18 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 20:46:18 provisioning config files... 20:46:18 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/16@tmp/config6327721601012092527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:19 nexus3.edgexfoundry.org:10001 20:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:19 Configure a credential helper to remove this warning. See 20:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:19 20:46:19 Login Succeeded 20:46:19 nexus3.edgexfoundry.org:10002 20:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:19 Configure a credential helper to remove this warning. See 20:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:19 20:46:19 Login Succeeded 20:46:19 nexus3.edgexfoundry.org:10003 20:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:19 Configure a credential helper to remove this warning. See 20:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:19 20:46:19 Login Succeeded 20:46:19 nexus3.edgexfoundry.org:10004 20:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:20 Configure a credential helper to remove this warning. See 20:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:20 20:46:20 Login Succeeded 20:46:20 docker.io 20:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:20 Configure a credential helper to remove this warning. See 20:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:20 20:46:20 Login Succeeded [Pipeline] } 20:46:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:46:20 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 20:46:20 ecc710d5197e59ae7f4883e76f8aa49dbd120517 20:46:20 latest 20:46:20 1.1.2 20:46:20 ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 20:46:20 master 20:46:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:46:21 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517 [Pipeline] isUnix [Pipeline] sh 20:46:21 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517 20:46:21 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 20:46:21 03d4b2ee512b: Preparing 20:46:21 b3c7451a9293: Preparing 20:46:21 d20a7e0969e2: Preparing 20:46:21 50644c29ef5a: Preparing 20:46:21 50644c29ef5a: Layer already exists 20:46:21 b3c7451a9293: Pushed 20:46:21 d20a7e0969e2: Pushed 20:46:22 03d4b2ee512b: Pushed 20:46:22 ecc710d5197e59ae7f4883e76f8aa49dbd120517: digest: sha256:de5778904648da819d1e2f76565e68cfa9a10421b3667ca2e95a79fd9721c4ac size: 1154 [Pipeline] isUnix [Pipeline] sh 20:46:23 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 20:46:23 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 20:46:23 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 20:46:23 03d4b2ee512b: Preparing 20:46:23 b3c7451a9293: Preparing 20:46:23 d20a7e0969e2: Preparing 20:46:23 50644c29ef5a: Preparing 20:46:23 03d4b2ee512b: Layer already exists 20:46:23 b3c7451a9293: Layer already exists 20:46:23 d20a7e0969e2: Layer already exists 20:46:23 50644c29ef5a: Layer already exists 20:46:23 latest: digest: sha256:de5778904648da819d1e2f76565e68cfa9a10421b3667ca2e95a79fd9721c4ac size: 1154 [Pipeline] isUnix [Pipeline] sh 20:46:23 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.2 [Pipeline] isUnix [Pipeline] sh 20:46:24 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.2 20:46:24 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 20:46:24 03d4b2ee512b: Preparing 20:46:24 b3c7451a9293: Preparing 20:46:24 d20a7e0969e2: Preparing 20:46:24 50644c29ef5a: Preparing 20:46:24 03d4b2ee512b: Layer already exists 20:46:24 50644c29ef5a: Layer already exists 20:46:24 b3c7451a9293: Layer already exists 20:46:24 d20a7e0969e2: Layer already exists 20:46:24 1.1.2: digest: sha256:de5778904648da819d1e2f76565e68cfa9a10421b3667ca2e95a79fd9721c4ac size: 1154 [Pipeline] isUnix [Pipeline] sh 20:46:24 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 [Pipeline] isUnix [Pipeline] sh 20:46:24 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 20:46:24 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 20:46:24 03d4b2ee512b: Preparing 20:46:24 b3c7451a9293: Preparing 20:46:24 d20a7e0969e2: Preparing 20:46:24 50644c29ef5a: Preparing 20:46:24 d20a7e0969e2: Layer already exists 20:46:24 50644c29ef5a: Layer already exists 20:46:24 b3c7451a9293: Layer already exists 20:46:24 03d4b2ee512b: Layer already exists 20:46:24 ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2: digest: sha256:de5778904648da819d1e2f76565e68cfa9a10421b3667ca2e95a79fd9721c4ac size: 1154 [Pipeline] isUnix [Pipeline] sh 20:46:24 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 20:46:25 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 20:46:25 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 20:46:25 03d4b2ee512b: Preparing 20:46:25 b3c7451a9293: Preparing 20:46:25 d20a7e0969e2: Preparing 20:46:25 50644c29ef5a: Preparing 20:46:25 03d4b2ee512b: Layer already exists 20:46:25 d20a7e0969e2: Layer already exists 20:46:25 b3c7451a9293: Layer already exists 20:46:25 50644c29ef5a: Layer already exists 20:46:25 master: digest: sha256:de5778904648da819d1e2f76565e68cfa9a10421b3667ca2e95a79fd9721c4ac size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:46:25 ===================================================== [Pipeline] echo 20:46:25 taggedImages: 20:46:25 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517 20:46:25 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 20:46:25 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.2 20:46:25 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 20:46:25 - 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] } 20:46:34 Running on prd-ubuntu18.04-docker-arm64-4c-16g-525 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 20:46:35 Running in /w/workspace/device-rest-go/16 [Pipeline] { [Pipeline] checkout 20:46:39 using credential edgex-jenkins-ssh 20:46:39 Cloning the remote Git repository 20:46:39 Cloning with configured refspecs honoured and without tags 20:46:39 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:46:40 > git init /w/workspace/device-rest-go/16 # timeout=10 20:46:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:46:40 > git --version # timeout=10 20:46:40 using GIT_SSH to set credentials SSH Credentials for GitHub 20:46:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:46:41 Fetching without tags 20:46:42 Checking out Revision ecc710d5197e59ae7f4883e76f8aa49dbd120517 (master) 20:46:41 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:46:41 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:46:41 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:46:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:46:41 using GIT_SSH to set credentials SSH Credentials for GitHub 20:46:41 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:46:42 > git config core.sparsecheckout # timeout=10 20:46:42 > git checkout -f ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 20:46:46 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 20:46:48 ========================================================= 20:46:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 20:46:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:46:49 + 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 . 20:46:50 Sending build context to Docker daemon 8.033MB 20:46:50 Step 1/10 : ARG BASE=golang:1.13-alpine 20:46:50 Step 2/10 : FROM ${BASE} 20:46:50 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:46:50 b538f80385f9: Pulling fs layer 20:46:50 74f711af9a0d: Pulling fs layer 20:46:50 99f96fe45779: Pulling fs layer 20:46:50 fd7a069fd194: Pulling fs layer 20:46:50 66aa3694b03b: Pulling fs layer 20:46:50 170f70906a0f: Pulling fs layer 20:46:50 ad7c5574e4b9: Pulling fs layer 20:46:50 e772456be8f7: Pulling fs layer 20:46:50 c890913d741a: Pulling fs layer 20:46:50 2480fcc9aa5a: Pulling fs layer 20:46:50 09adf4765672: Pulling fs layer 20:46:50 fd7a069fd194: Waiting 20:46:50 66aa3694b03b: Waiting 20:46:50 170f70906a0f: Waiting 20:46:50 ad7c5574e4b9: Waiting 20:46:50 e772456be8f7: Waiting 20:46:50 c890913d741a: Waiting 20:46:50 2480fcc9aa5a: Waiting 20:46:50 09adf4765672: Waiting 20:46:50 99f96fe45779: Verifying Checksum 20:46:50 99f96fe45779: Download complete 20:46:50 74f711af9a0d: Verifying Checksum 20:46:50 74f711af9a0d: Download complete 20:46:50 66aa3694b03b: Download complete 20:46:50 170f70906a0f: Verifying Checksum 20:46:50 170f70906a0f: Download complete 20:46:50 b538f80385f9: Verifying Checksum 20:46:50 b538f80385f9: Download complete 20:46:51 b538f80385f9: Pull complete 20:46:52 74f711af9a0d: Pull complete 20:46:52 99f96fe45779: Pull complete 20:46:53 ad7c5574e4b9: Verifying Checksum 20:46:53 ad7c5574e4b9: Download complete 20:46:53 c890913d741a: Verifying Checksum 20:46:53 c890913d741a: Download complete 20:46:55 2480fcc9aa5a: Verifying Checksum 20:46:55 2480fcc9aa5a: Download complete 20:46:55 09adf4765672: Verifying Checksum 20:46:56 e772456be8f7: Verifying Checksum 20:46:56 e772456be8f7: Download complete 20:46:56 fd7a069fd194: Verifying Checksum 20:46:56 fd7a069fd194: Download complete 20:47:08 fd7a069fd194: Pull complete 20:47:08 66aa3694b03b: Pull complete 20:47:08 170f70906a0f: Pull complete 20:47:12 ad7c5574e4b9: Pull complete 20:47:16 e772456be8f7: Pull complete 20:47:16 c890913d741a: Pull complete 20:47:19 2480fcc9aa5a: Pull complete 20:47:19 09adf4765672: Pull complete 20:47:19 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 20:47:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 20:47:19 ---> 2248a725d1cf 20:47:19 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 20:47:23 ---> Running in 8c2a70b54583 20:47:24 Removing intermediate container 8c2a70b54583 20:47:24 ---> 0a4c87cfdcbb 20:47:24 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:47:24 ---> Running in ba59502f02d7 20:47:24 Removing intermediate container ba59502f02d7 20:47:24 ---> f72c69e26dc5 20:47:24 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:47:25 ---> Running in e22e7ea976a8 20:47:25 Removing intermediate container e22e7ea976a8 20:47:25 ---> d846ee7e16d1 20:47:25 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:47:25 ---> Running in 312032a452b5 20:47:28 Removing intermediate container 312032a452b5 20:47:28 ---> 8b65ff822329 20:47:28 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:47:28 ---> Running in b565a3c16022 20:47:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:47:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:47:33 OK: 142 MiB in 39 packages 20:47:34 Removing intermediate container b565a3c16022 20:47:34 ---> f5e76ae2112a 20:47:34 Step 8/10 : WORKDIR /device-rest-go 20:47:34 ---> Running in 4d3aa0a919fe 20:47:34 Removing intermediate container 4d3aa0a919fe 20:47:34 ---> 746fa817a31e 20:47:34 Step 9/10 : COPY . . 20:47:35 ---> ebd2c2dc4e62 20:47:35 Step 10/10 : RUN go mod download 20:47:36 ---> Running in 5df6b52a73f6 20:47:39 go: finding github.com/BurntSushi/toml v0.3.1 20:47:39 go: finding github.com/OneOfOne/xxhash v1.2.6 20:47:39 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:47:39 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:47:39 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:47:39 go: finding github.com/bgentry/speakeasy v0.1.0 20:47:39 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:47:39 go: finding github.com/davecgh/go-spew v1.1.1 20:47:39 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 20:47:39 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 20:47:39 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:47:39 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:47:39 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:47:39 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:47:39 go: finding github.com/fatih/color v1.7.0 20:47:39 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:47:39 go: finding github.com/go-kit/kit v0.8.0 20:47:39 go: finding github.com/go-logfmt/logfmt v0.4.0 20:47:39 go: finding github.com/go-stack/stack v1.8.0 20:47:39 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:47:39 go: finding github.com/google/uuid v1.1.0 20:47:39 go: finding github.com/gorilla/mux v1.7.1 20:47:39 go: finding github.com/hashicorp/consul/api v1.1.0 20:47:39 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:47:39 go: finding github.com/hashicorp/errwrap v1.0.0 20:47:39 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:47:39 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:47:40 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:47:40 go: finding github.com/hashicorp/go-multierror v1.0.0 20:47:40 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:47:40 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:47:40 go: finding github.com/hashicorp/go-syslog v1.0.0 20:47:40 go: finding github.com/hashicorp/go-uuid v1.0.1 20:47:40 go: finding github.com/hashicorp/go.net v0.0.1 20:47:40 go: finding github.com/hashicorp/golang-lru v0.5.0 20:47:40 go: finding github.com/hashicorp/logutils v1.0.0 20:47:40 go: finding github.com/hashicorp/mdns v1.0.0 20:47:40 go: finding github.com/hashicorp/memberlist v0.1.3 20:47:40 go: finding github.com/hashicorp/serf v0.8.2 20:47:40 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:47:40 go: finding github.com/mattn/go-colorable v0.0.9 20:47:40 go: finding github.com/mattn/go-isatty v0.0.3 20:47:40 go: finding github.com/miekg/dns v1.0.14 20:47:40 go: finding github.com/mitchellh/cli v1.0.0 20:47:40 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:47:40 go: finding github.com/mitchellh/copystructure v1.0.0 20:47:40 go: finding github.com/mitchellh/go-homedir v1.0.0 20:47:40 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:47:41 go: finding github.com/mitchellh/gox v0.4.0 20:47:41 go: finding github.com/mitchellh/iochan v1.0.0 20:47:41 go: finding github.com/mitchellh/mapstructure v1.1.2 20:47:41 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:47:41 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:47:41 go: finding github.com/pelletier/go-toml v1.2.0 20:47:41 go: finding github.com/pkg/errors v0.8.1 20:47:41 go: finding github.com/pmezard/go-difflib v1.0.0 20:47:41 go: finding github.com/posener/complete v1.1.1 20:47:41 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:47:41 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:47:41 go: finding github.com/spf13/cast v1.3.0 20:47:41 go: finding github.com/stretchr/objx v0.1.0 20:47:41 go: finding github.com/stretchr/testify v1.5.1 20:47:41 go: finding github.com/ugorji/go v1.1.4 20:47:41 go: finding github.com/x448/float16 v0.8.4 20:47:41 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:47:41 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 20:47:41 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:47:41 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:47:41 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:47:41 go: finding gopkg.in/yaml.v2 v2.2.8 20:47:52 Removing intermediate container 5df6b52a73f6 20:47:52 ---> 13bef1e669e7 20:47:52 Successfully built 13bef1e669e7 20:47:52 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 20:47:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:47:53 + ls -al . 20:47:53 total 100 20:47:53 drwxrwxr-x 9 jenkins jenkins 4096 Aug 19 20:46 . 20:47:53 drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 20:46 .. 20:47:53 -rw-rw-r-- 1 jenkins jenkins 151 Aug 19 20:46 .dockerignore 20:47:53 drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 20:46 .git 20:47:53 drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 20:46 .github 20:47:53 -rw-rw-r-- 1 jenkins jenkins 339 Aug 19 20:46 .gitignore 20:47:53 drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 20:46 .semver 20:47:53 -rw-rw-r-- 1 jenkins jenkins 4802 Aug 19 20:46 Attribution.txt 20:47:53 -rw-rw-r-- 1 jenkins jenkins 1504 Aug 19 20:46 Dockerfile 20:47:53 -rw-rw-r-- 1 jenkins jenkins 989 Aug 19 20:46 Dockerfile.build 20:47:53 -rw-rw-r-- 1 jenkins jenkins 702 Aug 19 20:46 Jenkinsfile 20:47:53 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 19 20:46 LICENSE 20:47:53 -rw-rw-r-- 1 jenkins jenkins 951 Aug 19 20:46 Makefile 20:47:53 -rw-rw-r-- 1 jenkins jenkins 5716 Aug 19 20:46 README.md 20:47:53 -rw-rw-r-- 1 jenkins jenkins 5 Aug 19 20:43 VERSION 20:47:53 drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 20:46 bin 20:47:53 drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 20:46 cmd 20:47:53 drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 20:46 driver 20:47:53 -rw-rw-r-- 1 jenkins jenkins 266 Aug 19 20:46 go.mod 20:47:53 drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 20:46 snap 20:47:53 -rw-rw-r-- 1 jenkins jenkins 713 Aug 19 20:46 version.go [Pipeline] isUnix [Pipeline] sh 20:47:53 + 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 . 20:47:53 Sending build context to Docker daemon 8.033MB 20:47:53 Step 1/24 : ARG BASE=golang:1.13-alpine 20:47:53 Step 2/24 : FROM ${BASE} AS builder 20:47:54 ---> 13bef1e669e7 20:47:54 Step 3/24 : ARG MAKE='make build' 20:47:54 ---> Running in 67b82668f632 20:47:54 Removing intermediate container 67b82668f632 20:47:54 ---> 9cac4ce69e27 20:47:54 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 20:47:54 ---> Running in 73506eb83acd 20:47:55 Removing intermediate container 73506eb83acd 20:47:55 ---> 5f9262133242 20:47:55 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 20:47:55 ---> Running in 6f7387f1729b 20:47:56 Removing intermediate container 6f7387f1729b 20:47:56 ---> d3802f0038a3 20:47:56 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:47:56 ---> Running in 491c210202aa 20:47:58 Removing intermediate container 491c210202aa 20:47:58 ---> 3a6a90abc11c 20:47:58 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:47:58 ---> Running in 01793e8d50a9 20:48:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:48:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:48:02 OK: 142 MiB in 39 packages 20:48:03 Removing intermediate container 01793e8d50a9 20:48:03 ---> bb56c38a937a 20:48:03 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 20:48:03 ---> Running in d444c5f97c8f 20:48:03 Removing intermediate container d444c5f97c8f 20:48:03 ---> e68cbc676bfb 20:48:03 Step 9/24 : COPY go.mod . 20:48:04 ---> 385a72ce80a6 20:48:04 Step 10/24 : COPY Makefile . 20:48:05 ---> 6ebb881a4bf1 20:48:05 Step 11/24 : RUN make update 20:48:05 ---> Running in c043c01a791b 20:48:06 CGO_ENABLED=0 GO111MODULE=on go mod download 20:48:07 Removing intermediate container c043c01a791b 20:48:07 ---> 91883f48c7e0 20:48:07 Step 12/24 : COPY . . 20:48:09 ---> db7dde5ac75a 20:48:09 Step 13/24 : RUN $MAKE 20:48:09 ---> Running in c5656a6ddb38 20:48:10 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 20:48:37 Removing intermediate container c5656a6ddb38 20:48:37 ---> afdf91ac3457 20:48:37 Step 14/24 : FROM alpine:latest 20:48:37 latest: Pulling from library/alpine 20:48:37 b538f80385f9: Already exists 20:48:37 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 20:48:37 Status: Downloaded newer image for alpine:latest 20:48:37 ---> 62ee0e9f8440 20:48:37 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:48:37 ---> Running in c70a5d523edc 20:48:38 Removing intermediate container c70a5d523edc 20:48:38 ---> 523a3ae5324d 20:48:38 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 20:48:38 ---> Running in 989a5161900c 20:48:38 Removing intermediate container 989a5161900c 20:48:38 ---> 0c6c343a1216 20:48:38 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 20:48:39 ---> 672912354be2 20:48:39 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 20:48:40 ---> a621f85967e9 20:48:40 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 20:48:41 ---> 3eddf6f35400 20:48:41 Step 20/24 : EXPOSE 49986 20:48:41 ---> Running in e9a56204a73c 20:48:41 Removing intermediate container e9a56204a73c 20:48:41 ---> 7461b403c663 20:48:41 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 20:48:42 ---> Running in 68e45a2160ee 20:48:42 Removing intermediate container 68e45a2160ee 20:48:42 ---> b1cf744f8263 20:48:42 Step 22/24 : LABEL arch=arm64 20:48:42 ---> Running in 279003a3506f 20:48:43 Removing intermediate container 279003a3506f 20:48:43 ---> c5131a29f61a 20:48:43 Step 23/24 : LABEL git_sha=ecc710d5197e59ae7f4883e76f8aa49dbd120517 20:48:43 ---> Running in c5c32e99f87a 20:48:43 Removing intermediate container c5c32e99f87a 20:48:43 ---> 21e5fd49cd6d 20:48:43 Step 24/24 : LABEL version=1.1.2 20:48:43 ---> Running in 8681b469d037 20:48:44 Removing intermediate container 8681b469d037 20:48:44 ---> 93f63e4c1fa0 20:48:44 [Warning] One or more build-args [ARCH] were not consumed 20:48:44 Successfully built 93f63e4c1fa0 20:48:44 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 20:48:44 provisioning config files... 20:48:44 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/16@tmp/config5379924099226142579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:48:45 nexus3.edgexfoundry.org:10001 20:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:45 Configure a credential helper to remove this warning. See 20:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:45 20:48:45 Login Succeeded 20:48:45 nexus3.edgexfoundry.org:10002 20:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:46 Configure a credential helper to remove this warning. See 20:48:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:46 20:48:46 Login Succeeded 20:48:46 nexus3.edgexfoundry.org:10003 20:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:46 Configure a credential helper to remove this warning. See 20:48:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:46 20:48:46 Login Succeeded 20:48:46 nexus3.edgexfoundry.org:10004 20:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:47 Configure a credential helper to remove this warning. See 20:48:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:47 20:48:47 Login Succeeded 20:48:47 docker.io 20:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:48 Configure a credential helper to remove this warning. See 20:48:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:48 20:48:48 Login Succeeded [Pipeline] } 20:48:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:48:48 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 20:48:48 ecc710d5197e59ae7f4883e76f8aa49dbd120517 20:48:48 latest 20:48:48 1.1.2 20:48:48 ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 20:48:48 master 20:48:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:48:48 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517 [Pipeline] isUnix [Pipeline] sh 20:48:49 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517 20:48:49 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 20:48:49 1d1b03195a8a: Preparing 20:48:49 216436c71e8d: Preparing 20:48:49 2afcc942220c: Preparing 20:48:49 e2f13739ad41: Preparing 20:48:49 e2f13739ad41: Layer already exists 20:48:49 216436c71e8d: Pushed 20:48:49 2afcc942220c: Pushed 20:48:52 1d1b03195a8a: Pushed 20:48:52 ecc710d5197e59ae7f4883e76f8aa49dbd120517: digest: sha256:071d35899585fa3d33cfe4df86a88cafe34f20bd7aa908c89248865df8a8a5c2 size: 1154 [Pipeline] isUnix [Pipeline] sh 20:48:53 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:48:53 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 20:48:53 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 20:48:53 1d1b03195a8a: Preparing 20:48:53 216436c71e8d: Preparing 20:48:53 2afcc942220c: Preparing 20:48:53 e2f13739ad41: Preparing 20:48:53 216436c71e8d: Layer already exists 20:48:53 e2f13739ad41: Layer already exists 20:48:53 2afcc942220c: Layer already exists 20:48:53 1d1b03195a8a: Layer already exists 20:48:53 latest: digest: sha256:071d35899585fa3d33cfe4df86a88cafe34f20bd7aa908c89248865df8a8a5c2 size: 1154 [Pipeline] isUnix [Pipeline] sh 20:48:54 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.2 [Pipeline] isUnix [Pipeline] sh 20:48:54 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.2 20:48:54 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 20:48:54 1d1b03195a8a: Preparing 20:48:54 216436c71e8d: Preparing 20:48:54 2afcc942220c: Preparing 20:48:54 e2f13739ad41: Preparing 20:48:54 2afcc942220c: Layer already exists 20:48:54 e2f13739ad41: Layer already exists 20:48:54 216436c71e8d: Layer already exists 20:48:54 1d1b03195a8a: Layer already exists 20:48:54 1.1.2: digest: sha256:071d35899585fa3d33cfe4df86a88cafe34f20bd7aa908c89248865df8a8a5c2 size: 1154 [Pipeline] isUnix [Pipeline] sh 20:48:55 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 [Pipeline] isUnix [Pipeline] sh 20:48:55 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 20:48:55 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 20:48:55 1d1b03195a8a: Preparing 20:48:55 216436c71e8d: Preparing 20:48:55 2afcc942220c: Preparing 20:48:55 e2f13739ad41: Preparing 20:48:55 216436c71e8d: Layer already exists 20:48:55 e2f13739ad41: Layer already exists 20:48:55 1d1b03195a8a: Layer already exists 20:48:55 2afcc942220c: Layer already exists 20:48:55 ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2: digest: sha256:071d35899585fa3d33cfe4df86a88cafe34f20bd7aa908c89248865df8a8a5c2 size: 1154 [Pipeline] isUnix [Pipeline] sh 20:48:56 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 20:48:56 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 20:48:56 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 20:48:56 1d1b03195a8a: Preparing 20:48:56 216436c71e8d: Preparing 20:48:56 2afcc942220c: Preparing 20:48:56 e2f13739ad41: Preparing 20:48:56 216436c71e8d: Layer already exists 20:48:56 e2f13739ad41: Layer already exists 20:48:56 2afcc942220c: Layer already exists 20:48:56 1d1b03195a8a: Layer already exists 20:48:57 master: digest: sha256:071d35899585fa3d33cfe4df86a88cafe34f20bd7aa908c89248865df8a8a5c2 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:48:57 ===================================================== [Pipeline] echo 20:48:57 taggedImages: 20:48:57 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517 20:48:57 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 20:48:57 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.2 20:48:57 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517-1.1.2 20:48:57 - 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 20:48:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 20:48:58 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 20:48:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:48:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 20:48:58 20:48:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 20:48:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 20:48:59 1.317.0: Pulling from edgex-devops/edgex-snyk-go 20:48:59 cbdbe7a5bc2a: Pulling fs layer 20:48:59 408f87550127: Pulling fs layer 20:48:59 fe522b08c979: Pulling fs layer 20:48:59 221eaa008020: Pulling fs layer 20:48:59 2a4607e5d6b9: Pulling fs layer 20:48:59 8f79b27c4fd2: Pulling fs layer 20:48:59 e5c8dbe1645b: Pulling fs layer 20:48:59 23e8b3b47431: Pulling fs layer 20:48:59 5c568d65a230: Pulling fs layer 20:48:59 8f79b27c4fd2: Waiting 20:48:59 e5c8dbe1645b: Waiting 20:48:59 23e8b3b47431: Waiting 20:48:59 5c568d65a230: Waiting 20:48:59 221eaa008020: Waiting 20:48:59 2a4607e5d6b9: Waiting 20:48:59 fe522b08c979: Verifying Checksum 20:48:59 fe522b08c979: Download complete 20:48:59 408f87550127: Download complete 20:48:59 2a4607e5d6b9: Verifying Checksum 20:48:59 2a4607e5d6b9: Download complete 20:48:59 8f79b27c4fd2: Verifying Checksum 20:48:59 8f79b27c4fd2: Download complete 20:48:59 cbdbe7a5bc2a: Verifying Checksum 20:48:59 cbdbe7a5bc2a: Download complete 20:48:59 e5c8dbe1645b: Verifying Checksum 20:48:59 e5c8dbe1645b: Download complete 20:48:59 cbdbe7a5bc2a: Pull complete 20:49:00 23e8b3b47431: Verifying Checksum 20:49:00 23e8b3b47431: Download complete 20:49:00 408f87550127: Pull complete 20:49:00 5c568d65a230: Verifying Checksum 20:49:00 5c568d65a230: Download complete 20:49:00 fe522b08c979: Pull complete 20:49:00 221eaa008020: Verifying Checksum 20:49:00 221eaa008020: Download complete 20:49:07 221eaa008020: Pull complete 20:49:07 2a4607e5d6b9: Pull complete 20:49:07 8f79b27c4fd2: Pull complete 20:49:09 e5c8dbe1645b: Pull complete 20:49:11 23e8b3b47431: Pull complete 20:49:13 5c568d65a230: Pull complete 20:49:13 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 20:49:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 20:49:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 20:49:14 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 20:49:14 $ 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 20:49:15 $ docker top 02dda5c719bfff99c67a4ed78dbaa0bf5a3fac702627392cfcb295c7e61e00db -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:15 + snyk monitor '--org=edgex-jenkins' 20:49:25 20:49:25 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 20:49:25 20:49:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/c0ed9f3d-9660-4675-a000-1df962d10a77 20:49:25 20:49:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:49:25 20:49:25 20:49:25 Snyk CLI supports Node.js 8 and higher. 20:49:25 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 20:49:25 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 20:49:25 20:49:25 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 20:49:25 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [Pipeline] } 20:49:25 $ docker stop --time=1 02dda5c719bfff99c67a4ed78dbaa0bf5a3fac702627392cfcb295c7e61e00db 20:49:27 $ docker rm -f 02dda5c719bfff99c67a4ed78dbaa0bf5a3fac702627392cfcb295c7e61e00db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:49:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:49:28 20:49:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 20:49:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:49:29 latest: Pulling from edgex-devops/edgex-klar 20:49:29 e7c96db7181b: Pulling fs layer 20:49:29 1868ca2cb446: Pulling fs layer 20:49:29 136be5d0fe8e: Pulling fs layer 20:49:29 894bfe63afcb: Pulling fs layer 20:49:29 894bfe63afcb: Waiting 20:49:29 1868ca2cb446: Verifying Checksum 20:49:29 1868ca2cb446: Download complete 20:49:29 136be5d0fe8e: Verifying Checksum 20:49:29 136be5d0fe8e: Download complete 20:49:29 e7c96db7181b: Verifying Checksum 20:49:29 e7c96db7181b: Download complete 20:49:29 894bfe63afcb: Verifying Checksum 20:49:29 894bfe63afcb: Download complete 20:49:29 e7c96db7181b: Pull complete 20:49:29 1868ca2cb446: Pull complete 20:49:29 136be5d0fe8e: Pull complete 20:49:29 894bfe63afcb: Pull complete 20:49:29 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 20:49:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:49:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 20:49:30 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 20:49:30 $ 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 20:49:31 $ docker top b7a4d19e34e4a4bc8c242dce5aa79748f6b44520d66cf3f0e576f562dcfc5593 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:32 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517 20:49:32 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:49:36 $ docker stop --time=1 b7a4d19e34e4a4bc8c242dce5aa79748f6b44520d66cf3f0e576f562dcfc5593 20:49:38 $ docker rm -f b7a4d19e34e4a4bc8c242dce5aa79748f6b44520d66cf3f0e576f562dcfc5593 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:49:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:49:38 . [Pipeline] withDockerContainer 20:49:38 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 20:49:38 $ 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 20:49:39 $ docker top 4c49e3989d696d41faf3e719357e597312a5ad96c7b4d369c318b969c5a6cfa3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:39 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:ecc710d5197e59ae7f4883e76f8aa49dbd120517 20:49:39 + tee 20:49:39 clair timeout 1m0s 20:49:39 docker timeout: 1m0s 20:49:39 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:49:40 $ docker stop --time=1 4c49e3989d696d41faf3e719357e597312a5ad96c7b4d369c318b969c5a6cfa3 20:49:42 $ docker rm -f 4c49e3989d696d41faf3e719357e597312a5ad96c7b4d369c318b969c5a6cfa3 [Pipeline] // withDockerContainer [Pipeline] sh 20:49:42 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 20:49:42 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 20:49:42 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 20:49:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:49:42 . [Pipeline] withDockerContainer 20:49:42 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 20:49:43 $ 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 20:49:43 $ docker top 37224268a2ad8f0169730479dfa126f62147eeb5e92f6cf30ca432b743c418f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:44 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517 20:49:44 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:49:47 $ docker stop --time=1 37224268a2ad8f0169730479dfa126f62147eeb5e92f6cf30ca432b743c418f4 20:49:49 $ docker rm -f 37224268a2ad8f0169730479dfa126f62147eeb5e92f6cf30ca432b743c418f4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:49:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 20:49:49 . [Pipeline] withDockerContainer 20:49:49 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 20:49:50 $ 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 20:49:50 $ docker top 060fcacc5d07d0eb5c0bf4c581a6be947384d00e5022cae16c64153608864b25 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:51 + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:ecc710d5197e59ae7f4883e76f8aa49dbd120517 20:49:51 + tee 20:49:51 clair timeout 1m0s 20:49:51 docker timeout: 1m0s 20:49:51 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:49:52 $ docker stop --time=1 060fcacc5d07d0eb5c0bf4c581a6be947384d00e5022cae16c64153608864b25 20:49:53 $ docker rm -f 060fcacc5d07d0eb5c0bf4c581a6be947384d00e5022cae16c64153608864b25 [Pipeline] // withDockerContainer [Pipeline] sh 20:49:54 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo 20:49:54 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 20:49:54 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 20:49:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:49:56 . [Pipeline] withDockerContainer 20:49:56 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 20:49:56 $ 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 20:49:57 $ docker top 8b23e5a5fe7fbf8a249f27b7126a7d8df3b881b09e99192b5f46f279716c4098 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:49:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:49:57 [ssh-agent] Looking for ssh-agent implementation... 20:49:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:49:58 $ docker exec 8b23e5a5fe7fbf8a249f27b7126a7d8df3b881b09e99192b5f46f279716c4098 ssh-agent 20:49:58 SSH_AUTH_SOCK=/tmp/ssh-r855vQiYheoq/agent.12 20:49:58 SSH_AGENT_PID=17 20:49:58 Running ssh-add (command line suppressed) 20:49:58 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) 20:49:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:49:58 + git semver tag 20:49:58 # -> Open(): unable to determine branch for HEAD 20:49:58 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 20:49:58 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 20:49:58 # $SEMVER_REMOTE_NAME = origin 20:49:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:49:58 # $SEMVER_USER_NAME = edgex-jenkins 20:49:58 # $SEMVER_BRANCH = master 20:49:58 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 20:49:58 # ecc710d5197e59ae7f4883e76f8aa49dbd120517 HEAD 20:49:58 # -> Force: false 20:49:58 # 2df2fd2bb459146c8d344e61a845634cb7668283 refs/tags/v1.1.2 [Pipeline] } 20:49:58 $ docker exec --env ******** --env ******** 8b23e5a5fe7fbf8a249f27b7126a7d8df3b881b09e99192b5f46f279716c4098 ssh-agent -k 20:49:58 unset SSH_AUTH_SOCK; 20:49:58 unset SSH_AGENT_PID; 20:49:58 echo Agent pid 17 killed; 20:49:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:49:59 + git semver [Pipeline] } 20:49:59 $ docker stop --time=1 8b23e5a5fe7fbf8a249f27b7126a7d8df3b881b09e99192b5f46f279716c4098 20:50:00 $ docker rm -f 8b23e5a5fe7fbf8a249f27b7126a7d8df3b881b09e99192b5f46f279716c4098 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:50:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:50:01 20:50:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:50:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:50:02 0.23.1-centos7: Pulling from edgex-lftools 20:50:02 ab5ef0e58194: Pulling fs layer 20:50:02 9712f1f96733: Pulling fs layer 20:50:02 63f879dbbcfc: Pulling fs layer 20:50:02 0d9ebad4ef96: Pulling fs layer 20:50:02 e9a5061849ea: Pulling fs layer 20:50:02 d747dcd14b5f: Pulling fs layer 20:50:02 2de7ff778b66: Pulling fs layer 20:50:02 e9a5061849ea: Waiting 20:50:02 d747dcd14b5f: Waiting 20:50:02 2de7ff778b66: Waiting 20:50:02 0d9ebad4ef96: Waiting 20:50:02 9712f1f96733: Verifying Checksum 20:50:02 9712f1f96733: Download complete 20:50:03 63f879dbbcfc: Verifying Checksum 20:50:03 63f879dbbcfc: Download complete 20:50:03 0d9ebad4ef96: Verifying Checksum 20:50:03 0d9ebad4ef96: Download complete 20:50:03 d747dcd14b5f: Verifying Checksum 20:50:03 d747dcd14b5f: Download complete 20:50:03 e9a5061849ea: Verifying Checksum 20:50:03 e9a5061849ea: Download complete 20:50:03 ab5ef0e58194: Verifying Checksum 20:50:03 ab5ef0e58194: Download complete 20:50:03 2de7ff778b66: Verifying Checksum 20:50:03 2de7ff778b66: Download complete 20:50:07 ab5ef0e58194: Pull complete 20:50:07 9712f1f96733: Pull complete 20:50:10 63f879dbbcfc: Pull complete 20:50:17 0d9ebad4ef96: Pull complete 20:50:18 e9a5061849ea: Pull complete 20:50:18 d747dcd14b5f: Pull complete 20:50:21 2de7ff778b66: Pull complete 20:50:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:50:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:50:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:50:21 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 20:50:21 $ 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 20:50:25 $ docker top 6e5606e4f185ea69e70318bd09721844bf5b0cc7074b86cd2e968247919479c9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:50:26 provisioning config files... 20:50:26 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3631008147969025337tmp 20:50:26 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6378983309176133389tmp 20:50:26 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4964468087564689403tmp [Pipeline] { [Pipeline] echo 20:50:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:50:26 ---> sigul-configuration.sh 20:50:26 gpg: directory `/root/.gnupg' created 20:50:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:50:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:50:26 gpg: keyring `/root/.gnupg/secring.gpg' created 20:50:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:50:26 gpg: CAST5 encrypted data 20:50:26 gpg: encrypted with 1 passphrase 20:50:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:50:27 + mkdir /home/jenkins 20:50:27 + mkdir /home/jenkins/sigul [Pipeline] sh 20:50:27 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 20:50:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:50:27 ---> sigul-install.sh 20:50:34 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 20:50:34 + git tag --list 20:50:34 v1.1.2 [Pipeline] sh 20:50:34 + lftools sign git-tag v1.1.2 20:50:36 Signing Git tag with Sigul... 20:50:36 Signing v1.1.2 [Pipeline] echo 20:50:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:50:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:50:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:50:37 $ docker stop --time=1 6e5606e4f185ea69e70318bd09721844bf5b0cc7074b86cd2e968247919479c9 20:50:39 $ docker rm -f 6e5606e4f185ea69e70318bd09721844bf5b0cc7074b86cd2e968247919479c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 20:50:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:50:40 . [Pipeline] withDockerContainer 20:50:40 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 20:50:40 $ 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 20:50:41 $ docker top fc298a8c84e47af27fe6f9c106f30c5a25c32892e056f9fce580dfc5309adedb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:50:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:50:41 [ssh-agent] Looking for ssh-agent implementation... 20:50:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:50:41 $ docker exec fc298a8c84e47af27fe6f9c106f30c5a25c32892e056f9fce580dfc5309adedb ssh-agent 20:50:41 SSH_AUTH_SOCK=/tmp/ssh-5grryWmho4b2/agent.11 20:50:41 SSH_AGENT_PID=16 20:50:41 Running ssh-add (command line suppressed) 20:50:42 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) 20:50:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:50:42 + git semver bump pre 20:50:42 # -> Open(): unable to determine branch for HEAD 20:50:42 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 20:50:42 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 20:50:42 # $SEMVER_REMOTE_NAME = origin 20:50:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:50:42 # $SEMVER_USER_NAME = edgex-jenkins 20:50:42 # $SEMVER_BRANCH = master 20:50:42 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 20:50:42 1.1.3-dev.1 [Pipeline] } 20:50:42 $ docker exec --env ******** --env ******** fc298a8c84e47af27fe6f9c106f30c5a25c32892e056f9fce580dfc5309adedb ssh-agent -k 20:50:42 unset SSH_AUTH_SOCK; 20:50:42 unset SSH_AGENT_PID; 20:50:42 echo Agent pid 16 killed; 20:50:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:50:43 + git semver [Pipeline] } 20:50:43 $ docker stop --time=1 fc298a8c84e47af27fe6f9c106f30c5a25c32892e056f9fce580dfc5309adedb 20:50:44 $ docker rm -f fc298a8c84e47af27fe6f9c106f30c5a25c32892e056f9fce580dfc5309adedb [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:50:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:50:45 . [Pipeline] withDockerContainer 20:50:45 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 20:50:45 $ 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 20:50:45 $ docker top e3ff45315083bac8b461b62f3e02e85055275b63ca37bd1e9f02e743f7a42113 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:50:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:50:46 [ssh-agent] Looking for ssh-agent implementation... 20:50:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:50:46 $ docker exec e3ff45315083bac8b461b62f3e02e85055275b63ca37bd1e9f02e743f7a42113 ssh-agent 20:50:46 SSH_AUTH_SOCK=/tmp/ssh-G5pPdEaczqSh/agent.11 20:50:46 SSH_AGENT_PID=17 20:50:46 Running ssh-add (command line suppressed) 20:50:46 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) 20:50:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:50:47 + git semver push 20:50:47 # -> Open(): unable to determine branch for HEAD 20:50:47 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 20:50:47 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 20:50:47 # $SEMVER_REMOTE_NAME = origin 20:50:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:50:47 # $SEMVER_USER_NAME = edgex-jenkins 20:50:47 # $SEMVER_BRANCH = master 20:50:47 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 20:50:53 $ docker exec --env ******** --env ******** e3ff45315083bac8b461b62f3e02e85055275b63ca37bd1e9f02e743f7a42113 ssh-agent -k 20:50:53 unset SSH_AUTH_SOCK; 20:50:53 unset SSH_AGENT_PID; 20:50:53 echo Agent pid 17 killed; 20:50:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:50:54 + git semver [Pipeline] } 20:50:54 $ docker stop --time=1 e3ff45315083bac8b461b62f3e02e85055275b63ca37bd1e9f02e743f7a42113 20:50:55 $ 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 20:50:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:50:57 ---> package-listing.sh 20:50:57 ++ facter osfamily 20:50:57 ++ tr '[:upper:]' '[:lower:]' 20:50:57 + OS_FAMILY=redhat 20:50:57 + workspace=/w/workspace/gexfoundry_device-rest-go_master 20:50:57 + START_PACKAGES=/tmp/packages_start.txt 20:50:57 + END_PACKAGES=/tmp/packages_end.txt 20:50:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:50:57 + PACKAGES=/tmp/packages_start.txt 20:50:57 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 20:50:57 + PACKAGES=/tmp/packages_end.txt 20:50:57 + case "${OS_FAMILY}" in 20:50:57 + rpm -qa 20:50:57 + sort 20:51:02 + '[' -f /tmp/packages_start.txt ']' 20:51:02 + '[' -f /tmp/packages_end.txt ']' 20:51:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:51:02 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 20:51:02 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 20:51:02 + 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 20:51:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:51:02 20:51:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:51:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:51:03 alpine: Pulling from edgex-lftools-log-publisher 20:51:03 c9b1b535fdd9: Pulling fs layer 20:51:03 2cc5ad85d9ab: Pulling fs layer 20:51:03 756a868c4378: Pulling fs layer 20:51:03 444b2fc9a129: Pulling fs layer 20:51:03 ea15f1150254: Pulling fs layer 20:51:03 41b27a9f41bf: Pulling fs layer 20:51:03 28c525ee5125: Pulling fs layer 20:51:03 094b1ea09ed8: Pulling fs layer 20:51:03 138eaada9080: Pulling fs layer 20:51:03 0622d0fa9048: Pulling fs layer 20:51:03 28c525ee5125: Waiting 20:51:03 094b1ea09ed8: Waiting 20:51:03 138eaada9080: Waiting 20:51:03 ea15f1150254: Waiting 20:51:03 41b27a9f41bf: Waiting 20:51:03 0622d0fa9048: Waiting 20:51:03 2cc5ad85d9ab: Verifying Checksum 20:51:03 2cc5ad85d9ab: Download complete 20:51:03 444b2fc9a129: Verifying Checksum 20:51:03 444b2fc9a129: Download complete 20:51:03 c9b1b535fdd9: Download complete 20:51:03 ea15f1150254: Verifying Checksum 20:51:03 ea15f1150254: Download complete 20:51:03 28c525ee5125: Verifying Checksum 20:51:03 28c525ee5125: Download complete 20:51:03 756a868c4378: Verifying Checksum 20:51:03 756a868c4378: Download complete 20:51:03 138eaada9080: Verifying Checksum 20:51:03 138eaada9080: Download complete 20:51:03 0622d0fa9048: Verifying Checksum 20:51:03 0622d0fa9048: Download complete 20:51:03 094b1ea09ed8: Verifying Checksum 20:51:03 094b1ea09ed8: Download complete 20:51:03 c9b1b535fdd9: Pull complete 20:51:04 41b27a9f41bf: Verifying Checksum 20:51:04 41b27a9f41bf: Download complete 20:51:04 2cc5ad85d9ab: Pull complete 20:51:05 756a868c4378: Pull complete 20:51:06 444b2fc9a129: Pull complete 20:51:06 ea15f1150254: Pull complete 20:51:10 41b27a9f41bf: Pull complete 20:51:10 28c525ee5125: Pull complete 20:51:13 094b1ea09ed8: Pull complete 20:51:13 138eaada9080: Pull complete 20:51:13 0622d0fa9048: Pull complete 20:51:13 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 20:51:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:51:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:51:13 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 20:51:13 $ 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 20:51:16 $ docker top e449410cf764e52c7e03cdb650f868d21923c59150579db2caefc0f1ab4fcbf9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:51:17 provisioning config files... 20:51:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8524101985992543742tmp [Pipeline] { [Pipeline] echo 20:51:17 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:51:17 ---> create-netrc.sh [Pipeline] echo 20:51:17 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:51:17 ---> logs-deploy.sh 20:51:17 + ARCHIVE_ARTIFACTS= 20:51:17 + LOGS_SERVER=https://logs.edgexfoundry.org 20:51:17 + '[' https://logs.edgexfoundry.org == None ']' 20:51:17 + NEXUS_URL=https://nexus.edgexfoundry.org 20:51:17 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/16 20:51:17 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/16/ 20:51:17 + 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 20:51:19 Archives upload complete. 20:51:19 + 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/