Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5644139549e3358844d35a6dfdbf7cafe4e170bd 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 58add5173bd5747e956b7cc86a1e88a765e134cb 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 58add5173bd5747e956b7cc86a1e88a765e134cb 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 58add5173bd5747e956b7cc86a1e88a765e134cb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 58add5173bd5747e956b7cc86a1e88a765e134cb # timeout=10 Commit message: "Merge pull request #215 from ernestojeda/disable-tests-on-release-stream" > 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-726 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 5644139549e3358844d35a6dfdbf7cafe4e170bd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5644139549e3358844d35a6dfdbf7cafe4e170bd # timeout=10 Commit message: "Merge pull request #32 from hahattan/issue-30/31" > git rev-list --no-walk b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:14:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:14:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:14:23 ========================================================= 15:14:23 EdgeX Global Pipelines Version Info 15:14:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:14:25 ------------------- 15:14:25 stable info: 15:14:25 ------------------- 15:14:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:14:25 Commit SHA: 58add5173bd5747e956b7cc86a1e88a765e134cb 15:14:25 Message: update stable to v1.0.103 15:14:26 ------------------- 15:14:26 experimental info: 15:14:26 ------------------- 15:14:26 Commited By: **** collab-it+edgex@linuxfoundation.org 15:14:26 Commit SHA: 58add5173bd5747e956b7cc86a1e88a765e134cb 15:14:26 Message: update experimental to v1.0.103 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:14:28 + git log --format=format:%s -1 5644139549e3358844d35a6dfdbf7cafe4e170bd [Pipeline] echo 15:14:28 GIT_COMMIT: 5644139549e3358844d35a6dfdbf7cafe4e170bd, Commit Message: Merge pull request #32 from hahattan/issue-30/31 [Pipeline] echo 15:14:28 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:14:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:14:29 15:14:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:14:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:14:30 latest: Pulling from edgex-devops/git-semver 15:14:30 31603596830f: Pulling fs layer 15:14:30 2a8b12db71e7: Pulling fs layer 15:14:30 6ca5941a6612: Pulling fs layer 15:14:30 ecc8261a40a4: Pulling fs layer 15:14:30 ecc8261a40a4: Waiting 15:14:30 2a8b12db71e7: Verifying Checksum 15:14:30 2a8b12db71e7: Download complete 15:14:30 31603596830f: Verifying Checksum 15:14:30 31603596830f: Download complete 15:14:30 ecc8261a40a4: Verifying Checksum 15:14:30 ecc8261a40a4: Download complete 15:14:30 6ca5941a6612: Verifying Checksum 15:14:30 6ca5941a6612: Download complete 15:14:30 31603596830f: Pull complete 15:14:30 2a8b12db71e7: Pull complete 15:14:31 6ca5941a6612: Pull complete 15:14:31 ecc8261a40a4: Pull complete 15:14:31 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:14:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:14:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:14:31 prd-centos7-docker-4c-2g-726 does not seem to be running inside a container 15:14:31 $ 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 15:14:34 $ docker top e45708ca2972f29d79a475a939e54be1ad44e5c176aae5666f2ba94427623237 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:14:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:14:34 [ssh-agent] Looking for ssh-agent implementation... 15:14:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:14:34 $ docker exec e45708ca2972f29d79a475a939e54be1ad44e5c176aae5666f2ba94427623237 ssh-agent 15:14:35 SSH_AUTH_SOCK=/tmp/ssh-kQpePE2MVLIy/agent.12 15:14:35 SSH_AGENT_PID=17 15:14:35 Running ssh-add (command line suppressed) 15:14:35 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2605957568140323576.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2605957568140323576.key) 15:14:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:14:35 + git describe --exact-match --tags HEAD 15:14:35 fatal: No names found, cannot describe anything. [Pipeline] } 15:14:35 $ docker exec --env ******** --env ******** e45708ca2972f29d79a475a939e54be1ad44e5c176aae5666f2ba94427623237 ssh-agent -k 15:14:35 unset SSH_AUTH_SOCK; 15:14:35 unset SSH_AGENT_PID; 15:14:35 echo Agent pid 17 killed; 15:14:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 15:14:35 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 15:14:35 This usually means this commit has not been tagged. [Pipeline] sshagent 15:14:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:14:35 [ssh-agent] Looking for ssh-agent implementation... 15:14:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:14:36 $ docker exec e45708ca2972f29d79a475a939e54be1ad44e5c176aae5666f2ba94427623237 ssh-agent 15:14:36 SSH_AUTH_SOCK=/tmp/ssh-eZlT6dSwRyHF/agent.45 15:14:36 SSH_AGENT_PID=50 15:14:36 Running ssh-add (command line suppressed) 15:14:36 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1284492302166521433.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1284492302166521433.key) 15:14:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:14:36 + git semver init 15:14:36 # -> Open(): unable to determine branch for HEAD 15:14:36 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 15:14:36 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 15:14:36 # $SEMVER_REMOTE_NAME = origin 15:14:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:14:36 # $SEMVER_USER_NAME = edgex-jenkins 15:14:36 # $SEMVER_BRANCH = master 15:14:36 # $SEMVER_TEMP = /tmp/semver-290692116 15:14:36 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 15:14:38 # '/tmp/semver-290692116' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 15:14:38 # -> Force: false 15:14:38 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 15:14:38 $ docker exec --env ******** --env ******** e45708ca2972f29d79a475a939e54be1ad44e5c176aae5666f2ba94427623237 ssh-agent -k 15:14:38 unset SSH_AUTH_SOCK; 15:14:38 unset SSH_AGENT_PID; 15:14:38 echo Agent pid 50 killed; 15:14:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:14:38 + git semver [Pipeline] } 15:14:38 $ docker stop --time=1 e45708ca2972f29d79a475a939e54be1ad44e5c176aae5666f2ba94427623237 15:14:40 $ docker rm -f e45708ca2972f29d79a475a939e54be1ad44e5c176aae5666f2ba94427623237 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 15:14:41 Stashed 13 file(s) [Pipeline] echo 15:14:41 [edgeXSemver] initialized semver on version 1.1.2-dev.2 [Pipeline] echo 15:14:41 Archived original version: [1.1.2-dev.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 15:14:57 Still waiting to schedule task 15:14:57 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:14:57 Still waiting to schedule task 15:14:57 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:16:33 Running on prd-centos7-docker-4c-2g-729 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 15:16:33 Running in /w/workspace/device-rest-go/14 [Pipeline] { [Pipeline] checkout 15:16:35 using credential edgex-jenkins-ssh 15:16:35 Cloning the remote Git repository 15:16:35 Cloning with configured refspecs honoured and without tags 15:16:35 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:16:35 > git init /w/workspace/device-rest-go/14 # timeout=10 15:16:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:16:35 > git --version # timeout=10 15:16:35 using GIT_SSH to set credentials SSH Credentials for GitHub 15:16:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:16:37 Fetching without tags 15:16:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:16:37 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:16:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:16:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:16:37 using GIT_SSH to set credentials SSH Credentials for GitHub 15:16:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:16:37 Checking out Revision 5644139549e3358844d35a6dfdbf7cafe4e170bd (master) 15:16:37 > git config core.sparsecheckout # timeout=10 15:16:37 > git checkout -f 5644139549e3358844d35a6dfdbf7cafe4e170bd # timeout=10 15:16:41 Commit message: "Merge pull request #32 from hahattan/issue-30/31" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:16:42 ========================================================= 15:16:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 15:16:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:16:43 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 15:16:43 Sending build context to Docker daemon 8.014MB 15:16:43 Step 1/10 : ARG BASE=golang:1.13-alpine 15:16:43 Step 2/10 : FROM ${BASE} 15:16:43 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 15:16:43 df20fa9351a1: Pulling fs layer 15:16:43 ed8968b2872e: Pulling fs layer 15:16:43 a92cc7c5fd73: Pulling fs layer 15:16:43 2dd03ba5bac4: Pulling fs layer 15:16:43 1e091d79d1de: Pulling fs layer 15:16:43 481702a1767f: Pulling fs layer 15:16:43 f64a6f60c768: Pulling fs layer 15:16:43 e78d2573fc39: Pulling fs layer 15:16:43 e876d2f968b6: Pulling fs layer 15:16:43 ce8a83651883: Pulling fs layer 15:16:43 07967f4d0e4b: Pulling fs layer 15:16:43 f64a6f60c768: Waiting 15:16:43 e78d2573fc39: Waiting 15:16:43 e876d2f968b6: Waiting 15:16:43 ce8a83651883: Waiting 15:16:43 07967f4d0e4b: Waiting 15:16:43 1e091d79d1de: Waiting 15:16:43 2dd03ba5bac4: Waiting 15:16:43 481702a1767f: Waiting 15:16:43 a92cc7c5fd73: Verifying Checksum 15:16:43 a92cc7c5fd73: Download complete 15:16:44 ed8968b2872e: Verifying Checksum 15:16:44 ed8968b2872e: Download complete 15:16:44 1e091d79d1de: Verifying Checksum 15:16:44 1e091d79d1de: Download complete 15:16:44 df20fa9351a1: Verifying Checksum 15:16:44 df20fa9351a1: Download complete 15:16:44 481702a1767f: Verifying Checksum 15:16:44 481702a1767f: Download complete 15:16:44 df20fa9351a1: Pull complete 15:16:44 f64a6f60c768: Verifying Checksum 15:16:44 f64a6f60c768: Download complete 15:16:44 e876d2f968b6: Verifying Checksum 15:16:44 e876d2f968b6: Download complete 15:16:45 e78d2573fc39: Verifying Checksum 15:16:45 e78d2573fc39: Download complete 15:16:45 2dd03ba5bac4: Verifying Checksum 15:16:45 2dd03ba5bac4: Download complete 15:16:45 ce8a83651883: Verifying Checksum 15:16:45 ce8a83651883: Download complete 15:16:45 07967f4d0e4b: Verifying Checksum 15:16:45 07967f4d0e4b: Download complete 15:16:46 ed8968b2872e: Pull complete 15:16:46 a92cc7c5fd73: Pull complete 15:16:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-728 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 15:16:47 Running in /w/workspace/device-rest-go/14 [Pipeline] { [Pipeline] checkout 15:16:52 using credential edgex-jenkins-ssh 15:16:52 Cloning the remote Git repository 15:16:52 Cloning with configured refspecs honoured and without tags 15:16:52 2dd03ba5bac4: Pull complete 15:16:52 1e091d79d1de: Pull complete 15:16:52 481702a1767f: Pull complete 15:16:52 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:16:53 > git init /w/workspace/device-rest-go/14 # timeout=10 15:16:53 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:16:53 > git --version # timeout=10 15:16:53 using GIT_SSH to set credentials SSH Credentials for GitHub 15:16:53 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:16:55 Fetching without tags 15:16:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:16:55 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 15:16:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:16:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:16:55 using GIT_SSH to set credentials SSH Credentials for GitHub 15:16:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:16:55 Checking out Revision 5644139549e3358844d35a6dfdbf7cafe4e170bd (master) 15:16:56 f64a6f60c768: Pull complete 15:16:55 > git config core.sparsecheckout # timeout=10 15:16:55 > git checkout -f 5644139549e3358844d35a6dfdbf7cafe4e170bd # timeout=10 15:16:59 e78d2573fc39: Pull complete 15:16:59 e876d2f968b6: Pull complete 15:17:00 Commit message: "Merge pull request #32 from hahattan/issue-30/31" 15:17:00 ce8a83651883: Pull complete 15:17:00 07967f4d0e4b: Pull complete 15:17:00 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 15:17:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 15:17:00 ---> 5d7c900382c6 15:17:00 Step 3/10 : ARG ALPINE_PKG_BASE="make git" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:17:02 ========================================================= 15:17:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 15:17:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:17:02 ---> Running in 82b9b23ee6a7 15:17:02 Removing intermediate container 82b9b23ee6a7 15:17:02 ---> 644496bc39ac 15:17:02 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:17:02 ---> Running in f74f535ddfc8 15:17:02 Removing intermediate container f74f535ddfc8 15:17:02 ---> 564e9abf12a5 15:17:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:17:02 ---> Running in 6aad068693a7 15:17:02 Removing intermediate container 6aad068693a7 15:17:02 ---> 29da0d31f35b 15:17:02 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:17:02 ---> Running in cffb61606884 15:17:03 + 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 . 15:17:04 Sending build context to Docker daemon 8.014MB 15:17:04 Step 1/10 : ARG BASE=golang:1.13-alpine 15:17:04 Step 2/10 : FROM ${BASE} 15:17:04 Removing intermediate container cffb61606884 15:17:04 ---> 9f9717e0d382 15:17:04 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:17:04 ---> Running in b0720c6aafc1 15:17:04 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:17:04 b538f80385f9: Pulling fs layer 15:17:04 74f711af9a0d: Pulling fs layer 15:17:04 99f96fe45779: Pulling fs layer 15:17:04 fd7a069fd194: Pulling fs layer 15:17:04 66aa3694b03b: Pulling fs layer 15:17:04 170f70906a0f: Pulling fs layer 15:17:04 ad7c5574e4b9: Pulling fs layer 15:17:04 e772456be8f7: Pulling fs layer 15:17:04 c890913d741a: Pulling fs layer 15:17:04 2480fcc9aa5a: Pulling fs layer 15:17:04 09adf4765672: Pulling fs layer 15:17:04 fd7a069fd194: Waiting 15:17:04 66aa3694b03b: Waiting 15:17:04 170f70906a0f: Waiting 15:17:04 ad7c5574e4b9: Waiting 15:17:04 e772456be8f7: Waiting 15:17:04 c890913d741a: Waiting 15:17:04 2480fcc9aa5a: Waiting 15:17:04 09adf4765672: Waiting 15:17:04 99f96fe45779: Verifying Checksum 15:17:04 99f96fe45779: Download complete 15:17:04 74f711af9a0d: Verifying Checksum 15:17:04 74f711af9a0d: Download complete 15:17:04 66aa3694b03b: Verifying Checksum 15:17:04 66aa3694b03b: Download complete 15:17:04 170f70906a0f: Verifying Checksum 15:17:04 170f70906a0f: Download complete 15:17:04 b538f80385f9: Verifying Checksum 15:17:04 b538f80385f9: Download complete 15:17:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:17:05 b538f80385f9: Pull complete 15:17:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:17:06 74f711af9a0d: Pull complete 15:17:06 OK: 166 MiB in 39 packages 15:17:06 99f96fe45779: Pull complete 15:17:07 Removing intermediate container b0720c6aafc1 15:17:07 ---> cb9ea4f94172 15:17:07 Step 8/10 : WORKDIR /device-rest-go 15:17:07 ---> Running in 7a09cf3b4753 15:17:07 Removing intermediate container 7a09cf3b4753 15:17:07 ---> 3fe069d71997 15:17:07 Step 9/10 : COPY . . 15:17:07 ---> 20f921302f47 15:17:07 Step 10/10 : RUN go mod download 15:17:07 ad7c5574e4b9: Verifying Checksum 15:17:07 ad7c5574e4b9: Download complete 15:17:07 c890913d741a: Download complete 15:17:07 ---> Running in 120c8c76682c 15:17:10 2480fcc9aa5a: Verifying Checksum 15:17:10 2480fcc9aa5a: Download complete 15:17:10 09adf4765672: Verifying Checksum 15:17:10 09adf4765672: Download complete 15:17:10 e772456be8f7: Download complete 15:17:10 go: finding github.com/BurntSushi/toml v0.3.1 15:17:10 go: finding github.com/OneOfOne/xxhash v1.2.6 15:17:10 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:17:10 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:17:10 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:17:10 go: finding github.com/bgentry/speakeasy v0.1.0 15:17:10 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:17:10 go: finding github.com/davecgh/go-spew v1.1.1 15:17:10 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 15:17:10 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 15:17:10 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:17:10 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:17:10 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:17:10 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:17:10 go: finding github.com/fatih/color v1.7.0 15:17:10 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:17:10 go: finding github.com/go-kit/kit v0.8.0 15:17:10 go: finding github.com/go-logfmt/logfmt v0.4.0 15:17:10 go: finding github.com/go-stack/stack v1.8.0 15:17:10 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:17:10 go: finding github.com/google/uuid v1.1.0 15:17:10 go: finding github.com/gorilla/mux v1.7.1 15:17:10 go: finding github.com/hashicorp/consul/api v1.1.0 15:17:10 fd7a069fd194: Verifying Checksum 15:17:10 fd7a069fd194: Download complete 15:17:10 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:17:10 go: finding github.com/hashicorp/errwrap v1.0.0 15:17:10 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:17:10 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:17:10 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:17:10 go: finding github.com/hashicorp/go-multierror v1.0.0 15:17:10 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:17:10 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:17:10 go: finding github.com/hashicorp/go-syslog v1.0.0 15:17:10 go: finding github.com/hashicorp/go-uuid v1.0.1 15:17:10 go: finding github.com/hashicorp/go.net v0.0.1 15:17:10 go: finding github.com/hashicorp/golang-lru v0.5.0 15:17:10 go: finding github.com/hashicorp/logutils v1.0.0 15:17:10 go: finding github.com/hashicorp/mdns v1.0.0 15:17:10 go: finding github.com/hashicorp/memberlist v0.1.3 15:17:10 go: finding github.com/hashicorp/serf v0.8.2 15:17:10 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:17:10 go: finding github.com/mattn/go-colorable v0.0.9 15:17:10 go: finding github.com/mattn/go-isatty v0.0.3 15:17:10 go: finding github.com/miekg/dns v1.0.14 15:17:10 go: finding github.com/mitchellh/cli v1.0.0 15:17:10 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:17:10 go: finding github.com/mitchellh/copystructure v1.0.0 15:17:10 go: finding github.com/mitchellh/go-homedir v1.0.0 15:17:11 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:17:11 go: finding github.com/mitchellh/gox v0.4.0 15:17:11 go: finding github.com/mitchellh/iochan v1.0.0 15:17:11 go: finding github.com/mitchellh/mapstructure v1.1.2 15:17:11 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:17:11 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:17:11 go: finding github.com/pelletier/go-toml v1.2.0 15:17:11 go: finding github.com/pkg/errors v0.8.1 15:17:11 go: finding github.com/pmezard/go-difflib v1.0.0 15:17:11 go: finding github.com/posener/complete v1.1.1 15:17:11 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:17:11 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:17:11 go: finding github.com/spf13/cast v1.3.0 15:17:11 go: finding github.com/stretchr/objx v0.1.0 15:17:11 go: finding github.com/stretchr/testify v1.5.1 15:17:11 go: finding github.com/ugorji/go v1.1.4 15:17:11 go: finding github.com/x448/float16 v0.8.4 15:17:11 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:17:11 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:17:11 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:17:11 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:17:11 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:17:11 go: finding gopkg.in/yaml.v2 v2.2.8 15:17:19 Removing intermediate container 120c8c76682c 15:17:19 ---> 1921fb0f09e4 15:17:19 Successfully built 1921fb0f09e4 15:17:19 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 15:17:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:17:22 + ls -al . 15:17:22 total 68 15:17:22 drwxrwxr-x. 8 jenkins jenkins 4096 Jul 23 15:16 . 15:17:22 drwxrwxr-x. 4 jenkins jenkins 30 Jul 23 15:16 .. 15:17:22 -rw-rw-r--. 1 jenkins jenkins 4802 Jul 23 15:16 Attribution.txt 15:17:22 drwxrwxr-x. 2 jenkins jenkins 64 Jul 23 15:16 bin 15:17:22 drwxrwxr-x. 3 jenkins jenkins 32 Jul 23 15:16 cmd 15:17:22 -rw-rw-r--. 1 jenkins jenkins 1504 Jul 23 15:16 Dockerfile 15:17:22 -rw-rw-r--. 1 jenkins jenkins 989 Jul 23 15:16 Dockerfile.build 15:17:22 -rw-rw-r--. 1 jenkins jenkins 151 Jul 23 15:16 .dockerignore 15:17:22 drwxrwxr-x. 2 jenkins jenkins 76 Jul 23 15:16 driver 15:17:22 drwxrwxr-x. 8 jenkins jenkins 162 Jul 23 15:16 .git 15:17:22 drwxrwxr-x. 2 jenkins jenkins 38 Jul 23 15:16 .github 15:17:22 -rw-rw-r--. 1 jenkins jenkins 339 Jul 23 15:16 .gitignore 15:17:22 -rw-rw-r--. 1 jenkins jenkins 266 Jul 23 15:16 go.mod 15:17:22 -rw-rw-r--. 1 jenkins jenkins 702 Jul 23 15:16 Jenkinsfile 15:17:22 -rw-rw-r--. 1 jenkins jenkins 11340 Jul 23 15:16 LICENSE 15:17:22 -rw-rw-r--. 1 jenkins jenkins 951 Jul 23 15:16 Makefile 15:17:22 -rw-rw-r--. 1 jenkins jenkins 5716 Jul 23 15:16 README.md 15:17:22 drwxrwxr-x. 3 jenkins jenkins 32 Jul 23 15:16 .semver 15:17:22 -rw-rw-r--. 1 jenkins jenkins 11 Jul 23 15:14 VERSION 15:17:22 -rw-rw-r--. 1 jenkins jenkins 713 Jul 23 15:16 version.go [Pipeline] isUnix [Pipeline] sh 15:17:22 fd7a069fd194: Pull complete 15:17:22 66aa3694b03b: Pull complete 15:17:22 170f70906a0f: Pull complete 15:17:22 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=5644139549e3358844d35a6dfdbf7cafe4e170bd --label arch=amd64 --label version=1.1.2-dev.2 . 15:17:23 Sending build context to Docker daemon 8.015MB 15:17:23 Step 1/24 : ARG BASE=golang:1.13-alpine 15:17:23 Step 2/24 : FROM ${BASE} AS builder 15:17:23 ---> 1921fb0f09e4 15:17:23 Step 3/24 : ARG MAKE='make build' 15:17:23 ---> Running in 76e5f08899f4 15:17:23 Removing intermediate container 76e5f08899f4 15:17:23 ---> 1c7b50181b81 15:17:23 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 15:17:23 ---> Running in a036aa2d09bc 15:17:23 Removing intermediate container a036aa2d09bc 15:17:23 ---> 26e04efa36b3 15:17:23 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:17:23 ---> Running in ac7ea8553873 15:17:23 Removing intermediate container ac7ea8553873 15:17:23 ---> e77d50fb161d 15:17:23 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:17:23 ---> Running in 9b05eb43c13e 15:17:25 Removing intermediate container 9b05eb43c13e 15:17:25 ---> 6c5400496969 15:17:25 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:17:25 ---> Running in 7ea480040c12 15:17:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:17:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:17:26 ad7c5574e4b9: Pull complete 15:17:26 OK: 166 MiB in 39 packages 15:17:27 Removing intermediate container 7ea480040c12 15:17:27 ---> 0bf48cbe1ce6 15:17:27 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 15:17:27 ---> Running in 8f1e6c7e0f13 15:17:27 Removing intermediate container 8f1e6c7e0f13 15:17:27 ---> 34f36def1b5f 15:17:27 Step 9/24 : COPY go.mod . 15:17:27 ---> ecbe37e4aae1 15:17:27 Step 10/24 : COPY Makefile . 15:17:27 ---> 95d775580e93 15:17:27 Step 11/24 : RUN make update 15:17:27 ---> Running in 1ae7f993219c 15:17:28 CGO_ENABLED=0 GO111MODULE=on go mod download 15:17:28 Removing intermediate container 1ae7f993219c 15:17:28 ---> aa0fbe8cf1ca 15:17:28 Step 12/24 : COPY . . 15:17:29 ---> a4ddb4ea912e 15:17:29 Step 13/24 : RUN $MAKE 15:17:29 ---> Running in 08109391ef9c 15:17:29 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.2-dev.2" -o cmd/device-rest-go ./cmd 15:17:30 e772456be8f7: Pull complete 15:17:31 c890913d741a: Pull complete 15:17:33 2480fcc9aa5a: Pull complete 15:17:33 09adf4765672: Pull complete 15:17:33 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 15:17:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 15:17:33 ---> 2248a725d1cf 15:17:33 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 15:17:39 ---> Running in a628f9b4d122 15:17:39 Removing intermediate container a628f9b4d122 15:17:39 ---> ff99c1aa44be 15:17:39 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:17:39 ---> Running in 95be2247c309 15:17:39 Removing intermediate container 95be2247c309 15:17:39 ---> 22c9f5ad40e2 15:17:39 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:17:39 ---> Running in 5bbdad0519a3 15:17:40 Removing intermediate container 5bbdad0519a3 15:17:40 ---> 082d542f5090 15:17:40 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:17:40 ---> Running in 33c54be0ad9e 15:17:41 Removing intermediate container 08109391ef9c 15:17:41 ---> f8d95ee9b046 15:17:41 Step 14/24 : FROM alpine:latest 15:17:41 latest: Pulling from library/alpine 15:17:41 df20fa9351a1: Already exists 15:17:41 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:17:41 Status: Downloaded newer image for alpine:latest 15:17:41 ---> a24bb4013296 15:17:41 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:17:41 ---> Running in b4347a72007f 15:17:41 Removing intermediate container b4347a72007f 15:17:41 ---> c7388e47033f 15:17:41 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 15:17:41 ---> Running in 67e47c71eae0 15:17:41 Removing intermediate container 67e47c71eae0 15:17:41 ---> 162e65b64cc8 15:17:41 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 15:17:41 ---> 05e72bc89cf2 15:17:41 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 15:17:42 ---> 3a45ef84572d 15:17:42 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 15:17:42 ---> 97aeb4a658de 15:17:42 Step 20/24 : EXPOSE 49986 15:17:42 ---> Running in 8f2f1d7402b1 15:17:42 Removing intermediate container 8f2f1d7402b1 15:17:42 ---> 9342c39d5a2e 15:17:42 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 15:17:42 Removing intermediate container 33c54be0ad9e 15:17:42 ---> 8ef3bdb99edb 15:17:42 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:17:42 ---> Running in d0aa21ff8dd4 15:17:42 ---> Running in 84dae9b23286 15:17:42 Removing intermediate container 84dae9b23286 15:17:42 ---> 1054f196f962 15:17:42 Step 22/24 : LABEL arch=amd64 15:17:43 ---> Running in dbba88386f2d 15:17:43 Removing intermediate container dbba88386f2d 15:17:43 ---> 1bee271d554a 15:17:43 Step 23/24 : LABEL git_sha=5644139549e3358844d35a6dfdbf7cafe4e170bd 15:17:43 ---> Running in 5384e55adffa 15:17:43 Removing intermediate container 5384e55adffa 15:17:43 ---> 167fadc19160 15:17:43 Step 24/24 : LABEL version=1.1.2-dev.2 15:17:43 ---> Running in 0734334e8f8e 15:17:43 Removing intermediate container 0734334e8f8e 15:17:43 ---> 71006a8b2034 15:17:43 [Warning] One or more build-args [ARCH] were not consumed 15:17:43 Successfully built 71006a8b2034 15:17:43 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 15:17:44 provisioning config files... 15:17:44 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/14@tmp/config3115716856955263853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:17:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:17:44 nexus3.edgexfoundry.org:10001 15:17:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:44 Configure a credential helper to remove this warning. See 15:17:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:44 15:17:44 Login Succeeded 15:17:44 nexus3.edgexfoundry.org:10002 15:17:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:44 Configure a credential helper to remove this warning. See 15:17:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:44 15:17:44 Login Succeeded 15:17:44 nexus3.edgexfoundry.org:10003 15:17:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:45 Configure a credential helper to remove this warning. See 15:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:45 15:17:45 Login Succeeded 15:17:45 nexus3.edgexfoundry.org:10004 15:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:45 Configure a credential helper to remove this warning. See 15:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:45 15:17:45 Login Succeeded 15:17:45 docker.io 15:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:45 OK: 142 MiB in 39 packages 15:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:45 Configure a credential helper to remove this warning. See 15:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:45 15:17:45 Login Succeeded [Pipeline] } 15:17:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:17:45 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 15:17:45 5644139549e3358844d35a6dfdbf7cafe4e170bd 15:17:45 latest 15:17:45 1.1.2-dev.2 15:17:45 5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2 15:17:45 master 15:17:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:17:46 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:5644139549e3358844d35a6dfdbf7cafe4e170bd [Pipeline] isUnix [Pipeline] sh 15:17:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:5644139549e3358844d35a6dfdbf7cafe4e170bd 15:17:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 15:17:46 d8b708410fc1: Preparing 15:17:46 56be422c7634: Preparing 15:17:46 fbbbfbf33ad3: Preparing 15:17:46 50644c29ef5a: Preparing 15:17:46 50644c29ef5a: Layer already exists 15:17:46 56be422c7634: Pushed 15:17:46 fbbbfbf33ad3: Pushed 15:17:47 Removing intermediate container d0aa21ff8dd4 15:17:47 ---> e6e40e708c38 15:17:47 Step 8/10 : WORKDIR /device-rest-go 15:17:47 ---> Running in 3ed9b36ae38b 15:17:47 Removing intermediate container 3ed9b36ae38b 15:17:47 ---> cafa44ceff84 15:17:47 Step 9/10 : COPY . . 15:17:48 d8b708410fc1: Pushed 15:17:48 5644139549e3358844d35a6dfdbf7cafe4e170bd: digest: sha256:d21e1bf8750cdb9702f60401e54f2bab513232d66ca1e31e8544a7d960a6cfe8 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:17:48 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 15:17:48 ---> f6ffbeac7d71 15:17:48 Step 10/10 : RUN go mod download 15:17:48 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 15:17:48 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 15:17:48 d8b708410fc1: Preparing 15:17:48 56be422c7634: Preparing 15:17:48 fbbbfbf33ad3: Preparing 15:17:48 50644c29ef5a: Preparing 15:17:48 d8b708410fc1: Layer already exists 15:17:48 56be422c7634: Layer already exists 15:17:48 50644c29ef5a: Layer already exists 15:17:48 fbbbfbf33ad3: Layer already exists 15:17:48 latest: digest: sha256:d21e1bf8750cdb9702f60401e54f2bab513232d66ca1e31e8544a7d960a6cfe8 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:17:48 ---> Running in 6c19f595d33a 15:17:48 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.2-dev.2 [Pipeline] isUnix [Pipeline] sh 15:17:49 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.2-dev.2 15:17:49 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 15:17:49 d8b708410fc1: Preparing 15:17:49 56be422c7634: Preparing 15:17:49 fbbbfbf33ad3: Preparing 15:17:49 50644c29ef5a: Preparing 15:17:49 fbbbfbf33ad3: Layer already exists 15:17:49 50644c29ef5a: Layer already exists 15:17:49 d8b708410fc1: Layer already exists 15:17:49 56be422c7634: Layer already exists 15:17:49 1.1.2-dev.2: digest: sha256:d21e1bf8750cdb9702f60401e54f2bab513232d66ca1e31e8544a7d960a6cfe8 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:17:49 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2 [Pipeline] isUnix [Pipeline] sh 15:17:49 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2 15:17:49 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 15:17:49 d8b708410fc1: Preparing 15:17:49 56be422c7634: Preparing 15:17:49 fbbbfbf33ad3: Preparing 15:17:49 50644c29ef5a: Preparing 15:17:49 fbbbfbf33ad3: Layer already exists 15:17:49 50644c29ef5a: Layer already exists 15:17:49 56be422c7634: Layer already exists 15:17:49 d8b708410fc1: Layer already exists 15:17:49 5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2: digest: sha256:d21e1bf8750cdb9702f60401e54f2bab513232d66ca1e31e8544a7d960a6cfe8 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:17:50 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 15:17:50 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 15:17:50 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 15:17:50 d8b708410fc1: Preparing 15:17:50 56be422c7634: Preparing 15:17:50 fbbbfbf33ad3: Preparing 15:17:50 50644c29ef5a: Preparing 15:17:50 50644c29ef5a: Layer already exists 15:17:50 fbbbfbf33ad3: Layer already exists 15:17:50 56be422c7634: Layer already exists 15:17:50 d8b708410fc1: Layer already exists 15:17:50 master: digest: sha256:d21e1bf8750cdb9702f60401e54f2bab513232d66ca1e31e8544a7d960a6cfe8 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:17:50 ===================================================== [Pipeline] echo 15:17:50 taggedImages: 15:17:50 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:5644139549e3358844d35a6dfdbf7cafe4e170bd 15:17:50 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 15:17:50 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.2-dev.2 15:17:50 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2 15:17:50 - 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] } 15:17:51 go: finding github.com/BurntSushi/toml v0.3.1 15:17:51 go: finding github.com/OneOfOne/xxhash v1.2.6 15:17:51 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 15:17:51 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:17:51 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 15:17:51 go: finding github.com/bgentry/speakeasy v0.1.0 15:17:51 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 15:17:51 go: finding github.com/davecgh/go-spew v1.1.1 15:17:51 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [Pipeline] // stage [Pipeline] } 15:17:51 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 15:17:51 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 15:17:51 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 15:17:51 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 15:17:51 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 15:17:51 go: finding github.com/fatih/color v1.7.0 15:17:51 go: finding github.com/fxamacker/cbor/v2 v2.2.0 15:17:51 go: finding github.com/go-kit/kit v0.8.0 15:17:51 go: finding github.com/go-logfmt/logfmt v0.4.0 15:17:51 go: finding github.com/go-stack/stack v1.8.0 15:17:51 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:17:51 go: finding github.com/google/uuid v1.1.0 15:17:52 go: finding github.com/gorilla/mux v1.7.1 15:17:52 go: finding github.com/hashicorp/consul/api v1.1.0 15:17:52 go: finding github.com/hashicorp/consul/sdk v0.1.1 15:17:52 go: finding github.com/hashicorp/errwrap v1.0.0 15:17:52 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 15:17:52 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 15:17:52 go: finding github.com/hashicorp/go-msgpack v0.5.3 15:17:52 go: finding github.com/hashicorp/go-multierror v1.0.0 15:17:52 go: finding github.com/hashicorp/go-rootcerts v1.0.0 15:17:52 go: finding github.com/hashicorp/go-sockaddr v1.0.0 15:17:52 go: finding github.com/hashicorp/go-syslog v1.0.0 15:17:52 go: finding github.com/hashicorp/go-uuid v1.0.1 15:17:52 go: finding github.com/hashicorp/go.net v0.0.1 15:17:52 go: finding github.com/hashicorp/golang-lru v0.5.0 15:17:52 go: finding github.com/hashicorp/logutils v1.0.0 15:17:52 go: finding github.com/hashicorp/mdns v1.0.0 15:17:52 go: finding github.com/hashicorp/memberlist v0.1.3 15:17:52 go: finding github.com/hashicorp/serf v0.8.2 15:17:52 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:17:52 go: finding github.com/mattn/go-colorable v0.0.9 15:17:52 go: finding github.com/mattn/go-isatty v0.0.3 15:17:52 go: finding github.com/miekg/dns v1.0.14 15:17:52 go: finding github.com/mitchellh/cli v1.0.0 15:17:52 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:17:52 go: finding github.com/mitchellh/copystructure v1.0.0 15:17:52 go: finding github.com/mitchellh/go-homedir v1.0.0 15:17:52 go: finding github.com/mitchellh/go-testing-interface v1.0.0 15:17:52 go: finding github.com/mitchellh/gox v0.4.0 15:17:52 go: finding github.com/mitchellh/iochan v1.0.0 15:17:52 go: finding github.com/mitchellh/mapstructure v1.1.2 15:17:52 go: finding github.com/mitchellh/reflectwalk v1.0.0 15:17:52 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:17:52 go: finding github.com/pelletier/go-toml v1.2.0 15:17:52 go: finding github.com/pkg/errors v0.8.1 15:17:52 go: finding github.com/pmezard/go-difflib v1.0.0 15:17:52 go: finding github.com/posener/complete v1.1.1 15:17:52 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 15:17:52 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:17:52 go: finding github.com/spf13/cast v1.3.0 15:17:52 go: finding github.com/stretchr/objx v0.1.0 15:17:52 go: finding github.com/stretchr/testify v1.5.1 15:17:52 go: finding github.com/ugorji/go v1.1.4 15:17:52 go: finding github.com/x448/float16 v0.8.4 15:17:52 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 15:17:52 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 15:17:52 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 15:17:52 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 15:17:52 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 15:17:53 go: finding gopkg.in/yaml.v2 v2.2.8 15:18:03 Removing intermediate container 6c19f595d33a 15:18:03 ---> 07b214292b5a 15:18:03 Successfully built 07b214292b5a 15:18:03 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 15:18:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:18:04 + ls -al . 15:18:04 total 96 15:18:04 drwxrwxr-x 8 jenkins jenkins 4096 Jul 23 15:17 . 15:18:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 23 15:16 .. 15:18:04 -rw-rw-r-- 1 jenkins jenkins 151 Jul 23 15:16 .dockerignore 15:18:04 drwxrwxr-x 8 jenkins jenkins 4096 Jul 23 15:16 .git 15:18:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 23 15:16 .github 15:18:04 -rw-rw-r-- 1 jenkins jenkins 339 Jul 23 15:16 .gitignore 15:18:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 23 15:17 .semver 15:18:04 -rw-rw-r-- 1 jenkins jenkins 4802 Jul 23 15:16 Attribution.txt 15:18:04 -rw-rw-r-- 1 jenkins jenkins 1504 Jul 23 15:16 Dockerfile 15:18:04 -rw-rw-r-- 1 jenkins jenkins 989 Jul 23 15:16 Dockerfile.build 15:18:04 -rw-rw-r-- 1 jenkins jenkins 702 Jul 23 15:16 Jenkinsfile 15:18:04 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 23 15:16 LICENSE 15:18:04 -rw-rw-r-- 1 jenkins jenkins 951 Jul 23 15:16 Makefile 15:18:04 -rw-rw-r-- 1 jenkins jenkins 5716 Jul 23 15:16 README.md 15:18:04 -rw-rw-r-- 1 jenkins jenkins 11 Jul 23 15:14 VERSION 15:18:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 23 15:16 bin 15:18:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 23 15:16 cmd 15:18:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 23 15:16 driver 15:18:04 -rw-rw-r-- 1 jenkins jenkins 266 Jul 23 15:16 go.mod 15:18:04 -rw-rw-r-- 1 jenkins jenkins 713 Jul 23 15:16 version.go [Pipeline] isUnix [Pipeline] sh 15:18:04 + 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=5644139549e3358844d35a6dfdbf7cafe4e170bd --label arch=arm64 --label version=1.1.2-dev.2 . 15:18:05 Sending build context to Docker daemon 8.015MB 15:18:05 Step 1/24 : ARG BASE=golang:1.13-alpine 15:18:05 Step 2/24 : FROM ${BASE} AS builder 15:18:05 ---> 07b214292b5a 15:18:05 Step 3/24 : ARG MAKE='make build' 15:18:05 ---> Running in a1e24d85b7eb 15:18:06 Removing intermediate container a1e24d85b7eb 15:18:06 ---> ead4160f95ce 15:18:06 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 15:18:06 ---> Running in 7355ab2fa61c 15:18:06 Removing intermediate container 7355ab2fa61c 15:18:06 ---> e8cce397708b 15:18:06 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:18:06 ---> Running in 3ff8944463a6 15:18:07 Removing intermediate container 3ff8944463a6 15:18:07 ---> 07162289ee61 15:18:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:18:07 ---> Running in e1a87acfebb5 15:18:09 Removing intermediate container e1a87acfebb5 15:18:09 ---> d2dee8114e72 15:18:09 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:18:09 ---> Running in 4ee4ec2e8119 15:18:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:18:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:18:12 OK: 142 MiB in 39 packages 15:18:14 Removing intermediate container 4ee4ec2e8119 15:18:14 ---> c021dc721df1 15:18:14 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 15:18:14 ---> Running in 9a126177730d 15:18:14 Removing intermediate container 9a126177730d 15:18:14 ---> b58bac6cf725 15:18:14 Step 9/24 : COPY go.mod . 15:18:15 ---> 3f9369522b18 15:18:15 Step 10/24 : COPY Makefile . 15:18:15 ---> 2c3ee4543f0d 15:18:15 Step 11/24 : RUN make update 15:18:16 ---> Running in 825e5dcbbe0b 15:18:17 CGO_ENABLED=0 GO111MODULE=on go mod download 15:18:19 Removing intermediate container 825e5dcbbe0b 15:18:19 ---> deeebd3a5436 15:18:19 Step 12/24 : COPY . . 15:18:19 ---> b33ce6c5fa27 15:18:19 Step 13/24 : RUN $MAKE 15:18:19 ---> Running in 67706a99a0d4 15:18:21 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.2-dev.2" -o cmd/device-rest-go ./cmd 15:18:48 Removing intermediate container 67706a99a0d4 15:18:48 ---> f1572cbc450f 15:18:48 Step 14/24 : FROM alpine:latest 15:18:48 latest: Pulling from library/alpine 15:18:48 b538f80385f9: Already exists 15:18:48 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 15:18:48 Status: Downloaded newer image for alpine:latest 15:18:48 ---> 62ee0e9f8440 15:18:48 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:18:48 ---> Running in ea71b31c2023 15:18:49 Removing intermediate container ea71b31c2023 15:18:49 ---> 0a2576c00253 15:18:49 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 15:18:49 ---> Running in 67778e392b26 15:18:49 Removing intermediate container 67778e392b26 15:18:49 ---> 9c6af83dd2c4 15:18:49 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 15:18:50 ---> 6933473d0221 15:18:50 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 15:18:51 ---> 26e459b3441c 15:18:51 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 15:18:52 ---> d7ac0c933319 15:18:52 Step 20/24 : EXPOSE 49986 15:18:52 ---> Running in 630037a6249c 15:18:52 Removing intermediate container 630037a6249c 15:18:52 ---> 257488659e6f 15:18:52 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 15:18:53 ---> Running in 4572b865dff5 15:18:53 Removing intermediate container 4572b865dff5 15:18:53 ---> 5d7d3735b324 15:18:53 Step 22/24 : LABEL arch=arm64 15:18:53 ---> Running in 39f186e0bc8b 15:18:53 Removing intermediate container 39f186e0bc8b 15:18:53 ---> 3859f8ac7ddb 15:18:53 Step 23/24 : LABEL git_sha=5644139549e3358844d35a6dfdbf7cafe4e170bd 15:18:54 ---> Running in b9994886f121 15:18:54 Removing intermediate container b9994886f121 15:18:54 ---> f23288c1fc5e 15:18:54 Step 24/24 : LABEL version=1.1.2-dev.2 15:18:54 ---> Running in a712a8432c11 15:18:55 Removing intermediate container a712a8432c11 15:18:55 ---> cae016aacffb 15:18:55 [Warning] One or more build-args [ARCH] were not consumed 15:18:55 Successfully built cae016aacffb 15:18:55 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 15:18:55 provisioning config files... 15:18:55 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/14@tmp/config7363017075432968737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:18:55 nexus3.edgexfoundry.org:10001 15:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:56 Configure a credential helper to remove this warning. See 15:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:56 15:18:56 Login Succeeded 15:18:56 nexus3.edgexfoundry.org:10002 15:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:56 Configure a credential helper to remove this warning. See 15:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:56 15:18:56 Login Succeeded 15:18:56 nexus3.edgexfoundry.org:10003 15:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:57 Configure a credential helper to remove this warning. See 15:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:57 15:18:57 Login Succeeded 15:18:57 nexus3.edgexfoundry.org:10004 15:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:57 Configure a credential helper to remove this warning. See 15:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:57 15:18:57 Login Succeeded 15:18:57 docker.io 15:18:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:58 Configure a credential helper to remove this warning. See 15:18:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:58 15:18:58 Login Succeeded [Pipeline] } 15:18:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:18:58 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 15:18:58 5644139549e3358844d35a6dfdbf7cafe4e170bd 15:18:58 latest 15:18:58 1.1.2-dev.2 15:18:58 5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2 15:18:58 master 15:18:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:18:59 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:5644139549e3358844d35a6dfdbf7cafe4e170bd [Pipeline] isUnix [Pipeline] sh 15:18:59 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:5644139549e3358844d35a6dfdbf7cafe4e170bd 15:18:59 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 15:18:59 236a91a87ed0: Preparing 15:18:59 85df93e8fa87: Preparing 15:18:59 18f040d1172f: Preparing 15:18:59 e2f13739ad41: Preparing 15:18:59 e2f13739ad41: Layer already exists 15:18:59 85df93e8fa87: Pushed 15:18:59 18f040d1172f: Pushed 15:19:03 236a91a87ed0: Pushed 15:19:03 5644139549e3358844d35a6dfdbf7cafe4e170bd: digest: sha256:37eaa06a59725183fa2e0756e372ee616e29116fbc9f3f19e9e31dd4e8493747 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:19:03 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:19:03 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 15:19:03 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 15:19:03 236a91a87ed0: Preparing 15:19:03 85df93e8fa87: Preparing 15:19:03 18f040d1172f: Preparing 15:19:03 e2f13739ad41: Preparing 15:19:03 236a91a87ed0: Layer already exists 15:19:03 18f040d1172f: Layer already exists 15:19:03 e2f13739ad41: Layer already exists 15:19:03 85df93e8fa87: Layer already exists 15:19:04 latest: digest: sha256:37eaa06a59725183fa2e0756e372ee616e29116fbc9f3f19e9e31dd4e8493747 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:19:04 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.2-dev.2 [Pipeline] isUnix [Pipeline] sh 15:19:04 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.2-dev.2 15:19:04 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 15:19:04 236a91a87ed0: Preparing 15:19:04 85df93e8fa87: Preparing 15:19:04 18f040d1172f: Preparing 15:19:04 e2f13739ad41: Preparing 15:19:04 85df93e8fa87: Layer already exists 15:19:04 e2f13739ad41: Layer already exists 15:19:04 236a91a87ed0: Layer already exists 15:19:04 18f040d1172f: Layer already exists 15:19:05 1.1.2-dev.2: digest: sha256:37eaa06a59725183fa2e0756e372ee616e29116fbc9f3f19e9e31dd4e8493747 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:19:05 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2 [Pipeline] isUnix [Pipeline] sh 15:19:05 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2 15:19:05 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 15:19:05 236a91a87ed0: Preparing 15:19:05 85df93e8fa87: Preparing 15:19:05 18f040d1172f: Preparing 15:19:05 e2f13739ad41: Preparing 15:19:05 236a91a87ed0: Layer already exists 15:19:05 18f040d1172f: Layer already exists 15:19:05 85df93e8fa87: Layer already exists 15:19:05 e2f13739ad41: Layer already exists 15:19:06 5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2: digest: sha256:37eaa06a59725183fa2e0756e372ee616e29116fbc9f3f19e9e31dd4e8493747 size: 1154 [Pipeline] isUnix [Pipeline] sh 15:19:06 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 15:19:06 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 15:19:06 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 15:19:06 236a91a87ed0: Preparing 15:19:06 85df93e8fa87: Preparing 15:19:06 18f040d1172f: Preparing 15:19:06 e2f13739ad41: Preparing 15:19:06 18f040d1172f: Layer already exists 15:19:06 236a91a87ed0: Layer already exists 15:19:06 e2f13739ad41: Layer already exists 15:19:06 85df93e8fa87: Layer already exists 15:19:07 master: digest: sha256:37eaa06a59725183fa2e0756e372ee616e29116fbc9f3f19e9e31dd4e8493747 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:19:07 ===================================================== [Pipeline] echo 15:19:07 taggedImages: 15:19:07 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:5644139549e3358844d35a6dfdbf7cafe4e170bd 15:19:07 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 15:19:07 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.2-dev.2 15:19:07 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2 15:19:07 - 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) [Pipeline] unstash [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 15:19:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:19:10 ---> package-listing.sh 15:19:10 ++ facter osfamily 15:19:10 ++ tr '[:upper:]' '[:lower:]' 15:19:10 + OS_FAMILY=redhat 15:19:10 + workspace=/w/workspace/gexfoundry_device-rest-go_master 15:19:10 + START_PACKAGES=/tmp/packages_start.txt 15:19:10 + END_PACKAGES=/tmp/packages_end.txt 15:19:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:19:10 + PACKAGES=/tmp/packages_start.txt 15:19:10 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 15:19:10 + PACKAGES=/tmp/packages_end.txt 15:19:10 + case "${OS_FAMILY}" in 15:19:10 + rpm -qa 15:19:10 + sort 15:19:15 + '[' -f /tmp/packages_start.txt ']' 15:19:15 + '[' -f /tmp/packages_end.txt ']' 15:19:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:19:15 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 15:19:15 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 15:19:15 + 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 15:19:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:19:15 15:19:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:19:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:19:16 alpine: Pulling from edgex-lftools-log-publisher 15:19:16 c9b1b535fdd9: Pulling fs layer 15:19:16 2cc5ad85d9ab: Pulling fs layer 15:19:16 756a868c4378: Pulling fs layer 15:19:16 444b2fc9a129: Pulling fs layer 15:19:16 ea15f1150254: Pulling fs layer 15:19:16 41b27a9f41bf: Pulling fs layer 15:19:16 28c525ee5125: Pulling fs layer 15:19:16 094b1ea09ed8: Pulling fs layer 15:19:16 138eaada9080: Pulling fs layer 15:19:16 0622d0fa9048: Pulling fs layer 15:19:16 41b27a9f41bf: Waiting 15:19:16 28c525ee5125: Waiting 15:19:16 094b1ea09ed8: Waiting 15:19:16 138eaada9080: Waiting 15:19:16 0622d0fa9048: Waiting 15:19:16 444b2fc9a129: Waiting 15:19:16 ea15f1150254: Waiting 15:19:16 2cc5ad85d9ab: Verifying Checksum 15:19:16 2cc5ad85d9ab: Download complete 15:19:16 444b2fc9a129: Verifying Checksum 15:19:16 444b2fc9a129: Download complete 15:19:16 c9b1b535fdd9: Verifying Checksum 15:19:16 ea15f1150254: Verifying Checksum 15:19:16 ea15f1150254: Download complete 15:19:16 28c525ee5125: Verifying Checksum 15:19:16 28c525ee5125: Download complete 15:19:16 756a868c4378: Verifying Checksum 15:19:16 756a868c4378: Download complete 15:19:16 c9b1b535fdd9: Pull complete 15:19:16 138eaada9080: Verifying Checksum 15:19:16 138eaada9080: Download complete 15:19:16 0622d0fa9048: Verifying Checksum 15:19:16 0622d0fa9048: Download complete 15:19:16 094b1ea09ed8: Verifying Checksum 15:19:16 094b1ea09ed8: Download complete 15:19:16 2cc5ad85d9ab: Pull complete 15:19:17 41b27a9f41bf: Verifying Checksum 15:19:17 41b27a9f41bf: Download complete 15:19:18 756a868c4378: Pull complete 15:19:18 444b2fc9a129: Pull complete 15:19:18 ea15f1150254: Pull complete 15:19:23 41b27a9f41bf: Pull complete 15:19:23 28c525ee5125: Pull complete 15:19:25 094b1ea09ed8: Pull complete 15:19:25 138eaada9080: Pull complete 15:19:25 0622d0fa9048: Pull complete 15:19:26 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 15:19:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:19:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:19:26 prd-centos7-docker-4c-2g-726 does not seem to be running inside a container 15:19:26 $ 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 15:19:29 $ docker top c43aaecd008c39086d9327ee6d5394c7df347aea7176eb8eefaee3c3c9fcfcdb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:19:30 provisioning config files... 15:19:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config674398323616475319tmp [Pipeline] { [Pipeline] echo 15:19:30 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:19:30 ---> create-netrc.sh [Pipeline] echo 15:19:30 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:19:31 ---> logs-deploy.sh 15:19:31 + ARCHIVE_ARTIFACTS= 15:19:31 + LOGS_SERVER=https://logs.edgexfoundry.org 15:19:31 + '[' https://logs.edgexfoundry.org == None ']' 15:19:31 + NEXUS_URL=https://nexus.edgexfoundry.org 15:19:31 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/14 15:19:31 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/14/ 15:19:31 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/14 /w/workspace/gexfoundry_device-rest-go_master 15:19:32 Archives upload complete. 15:19:32 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/14 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/14/