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 [2020-07-23T15:14:22.933Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-23T15:14:23.139Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-23T15:14:23.255Z] ========================================================= [2020-07-23T15:14:23.256Z] EdgeX Global Pipelines Version Info [2020-07-23T15:14:23.256Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-23T15:14:25.145Z] ------------------- [2020-07-23T15:14:25.145Z] stable info: [2020-07-23T15:14:25.145Z] ------------------- [2020-07-23T15:14:25.145Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-23T15:14:25.145Z] Commit SHA: 58add5173bd5747e956b7cc86a1e88a765e134cb [2020-07-23T15:14:25.145Z] Message: update stable to v1.0.103 [2020-07-23T15:14:26.529Z] ------------------- [2020-07-23T15:14:26.529Z] experimental info: [2020-07-23T15:14:26.529Z] ------------------- [2020-07-23T15:14:26.529Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-23T15:14:26.529Z] Commit SHA: 58add5173bd5747e956b7cc86a1e88a765e134cb [2020-07-23T15:14:26.529Z] 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 [2020-07-23T15:14:28.627Z] + git log --format=format:%s -1 5644139549e3358844d35a6dfdbf7cafe4e170bd [Pipeline] echo [2020-07-23T15:14:28.689Z] GIT_COMMIT: 5644139549e3358844d35a6dfdbf7cafe4e170bd, Commit Message: Merge pull request #32 from hahattan/issue-30/31 [Pipeline] echo [2020-07-23T15:14:28.760Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:14:29.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-23T15:14:29.800Z] [2020-07-23T15:14:29.800Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:14:30.153Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-23T15:14:30.153Z] latest: Pulling from edgex-devops/git-semver [2020-07-23T15:14:30.153Z] 31603596830f: Pulling fs layer [2020-07-23T15:14:30.153Z] 2a8b12db71e7: Pulling fs layer [2020-07-23T15:14:30.153Z] 6ca5941a6612: Pulling fs layer [2020-07-23T15:14:30.153Z] ecc8261a40a4: Pulling fs layer [2020-07-23T15:14:30.153Z] ecc8261a40a4: Waiting [2020-07-23T15:14:30.153Z] 2a8b12db71e7: Verifying Checksum [2020-07-23T15:14:30.153Z] 2a8b12db71e7: Download complete [2020-07-23T15:14:30.419Z] 31603596830f: Verifying Checksum [2020-07-23T15:14:30.419Z] 31603596830f: Download complete [2020-07-23T15:14:30.419Z] ecc8261a40a4: Verifying Checksum [2020-07-23T15:14:30.419Z] ecc8261a40a4: Download complete [2020-07-23T15:14:30.419Z] 6ca5941a6612: Verifying Checksum [2020-07-23T15:14:30.419Z] 6ca5941a6612: Download complete [2020-07-23T15:14:30.679Z] 31603596830f: Pull complete [2020-07-23T15:14:30.679Z] 2a8b12db71e7: Pull complete [2020-07-23T15:14:31.630Z] 6ca5941a6612: Pull complete [2020-07-23T15:14:31.630Z] ecc8261a40a4: Pull complete [2020-07-23T15:14:31.630Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-23T15:14:31.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-23T15:14:31.630Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-23T15:14:31.751Z] prd-centos7-docker-4c-2g-726 does not seem to be running inside a container [2020-07-23T15:14:31.808Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-23T15:14:34.411Z] $ docker top e45708ca2972f29d79a475a939e54be1ad44e5c176aae5666f2ba94427623237 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-23T15:14:34.681Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-23T15:14:34.681Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-23T15:14:34.877Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-23T15:14:34.882Z] $ docker exec e45708ca2972f29d79a475a939e54be1ad44e5c176aae5666f2ba94427623237 ssh-agent [2020-07-23T15:14:35.045Z] SSH_AUTH_SOCK=/tmp/ssh-kQpePE2MVLIy/agent.12 [2020-07-23T15:14:35.045Z] SSH_AGENT_PID=17 [2020-07-23T15:14:35.055Z] Running ssh-add (command line suppressed) [2020-07-23T15:14:35.179Z] 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) [2020-07-23T15:14:35.230Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-23T15:14:35.552Z] + git describe --exact-match --tags HEAD [2020-07-23T15:14:35.552Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-23T15:14:35.574Z] $ docker exec --env ******** --env ******** e45708ca2972f29d79a475a939e54be1ad44e5c176aae5666f2ba94427623237 ssh-agent -k [2020-07-23T15:14:35.681Z] unset SSH_AUTH_SOCK; [2020-07-23T15:14:35.681Z] unset SSH_AGENT_PID; [2020-07-23T15:14:35.682Z] echo Agent pid 17 killed; [2020-07-23T15:14:35.721Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-23T15:14:35.823Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-23T15:14:35.823Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-23T15:14:35.907Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-23T15:14:35.907Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-23T15:14:36.061Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-23T15:14:36.066Z] $ docker exec e45708ca2972f29d79a475a939e54be1ad44e5c176aae5666f2ba94427623237 ssh-agent [2020-07-23T15:14:36.213Z] SSH_AUTH_SOCK=/tmp/ssh-eZlT6dSwRyHF/agent.45 [2020-07-23T15:14:36.213Z] SSH_AGENT_PID=50 [2020-07-23T15:14:36.219Z] Running ssh-add (command line suppressed) [2020-07-23T15:14:36.333Z] 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) [2020-07-23T15:14:36.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-23T15:14:36.701Z] + git semver init [2020-07-23T15:14:36.701Z] # -> Open(): unable to determine branch for HEAD [2020-07-23T15:14:36.701Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-07-23T15:14:36.701Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-07-23T15:14:36.701Z] # $SEMVER_REMOTE_NAME = origin [2020-07-23T15:14:36.701Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-23T15:14:36.701Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-23T15:14:36.701Z] # $SEMVER_BRANCH = master [2020-07-23T15:14:36.701Z] # $SEMVER_TEMP = /tmp/semver-290692116 [2020-07-23T15:14:36.701Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-07-23T15:14:38.090Z] # '/tmp/semver-290692116' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2020-07-23T15:14:38.090Z] # -> Force: false [2020-07-23T15:14:38.090Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-07-23T15:14:38.103Z] $ docker exec --env ******** --env ******** e45708ca2972f29d79a475a939e54be1ad44e5c176aae5666f2ba94427623237 ssh-agent -k [2020-07-23T15:14:38.212Z] unset SSH_AUTH_SOCK; [2020-07-23T15:14:38.213Z] unset SSH_AGENT_PID; [2020-07-23T15:14:38.213Z] echo Agent pid 50 killed; [2020-07-23T15:14:38.253Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-23T15:14:38.723Z] + git semver [Pipeline] } [2020-07-23T15:14:38.758Z] $ docker stop --time=1 e45708ca2972f29d79a475a939e54be1ad44e5c176aae5666f2ba94427623237 [2020-07-23T15:14:40.147Z] $ docker rm -f e45708ca2972f29d79a475a939e54be1ad44e5c176aae5666f2ba94427623237 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-23T15:14:41.653Z] Stashed 13 file(s) [Pipeline] echo [2020-07-23T15:14:41.655Z] [edgeXSemver] initialized semver on version 1.1.2-dev.2 [Pipeline] echo [2020-07-23T15:14:41.738Z] 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 [2020-07-23T15:14:57.099Z] Still waiting to schedule task [2020-07-23T15:14:57.099Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-07-23T15:14:57.100Z] Still waiting to schedule task [2020-07-23T15:14:57.101Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-07-23T15:16:33.011Z] Running on prd-centos7-docker-4c-2g-729 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-07-23T15:16:33.155Z] Running in /w/workspace/device-rest-go/14 [Pipeline] { [Pipeline] checkout [2020-07-23T15:16:35.313Z] using credential edgex-jenkins-ssh [2020-07-23T15:16:35.372Z] Cloning the remote Git repository [2020-07-23T15:16:35.372Z] Cloning with configured refspecs honoured and without tags [2020-07-23T15:16:35.210Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-07-23T15:16:35.287Z] > git init /w/workspace/device-rest-go/14 # timeout=10 [2020-07-23T15:16:35.332Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-23T15:16:35.333Z] > git --version # timeout=10 [2020-07-23T15:16:35.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T15:16:35.364Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T15:16:37.276Z] Fetching without tags [2020-07-23T15:16:37.217Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-23T15:16:37.224Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T15:16:37.239Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-23T15:16:37.251Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-23T15:16:37.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T15:16:37.257Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T15:16:37.971Z] Checking out Revision 5644139549e3358844d35a6dfdbf7cafe4e170bd (master) [2020-07-23T15:16:37.976Z] > git config core.sparsecheckout # timeout=10 [2020-07-23T15:16:37.982Z] > git checkout -f 5644139549e3358844d35a6dfdbf7cafe4e170bd # timeout=10 [2020-07-23T15:16:41.517Z] 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 [2020-07-23T15:16:42.884Z] ========================================================= [2020-07-23T15:16:42.884Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-23T15:16:42.884Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:16:43.468Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-07-23T15:16:43.733Z] Sending build context to Docker daemon 8.014MB [2020-07-23T15:16:43.733Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-07-23T15:16:43.733Z] Step 2/10 : FROM ${BASE} [2020-07-23T15:16:43.733Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-23T15:16:43.733Z] df20fa9351a1: Pulling fs layer [2020-07-23T15:16:43.733Z] ed8968b2872e: Pulling fs layer [2020-07-23T15:16:43.733Z] a92cc7c5fd73: Pulling fs layer [2020-07-23T15:16:43.733Z] 2dd03ba5bac4: Pulling fs layer [2020-07-23T15:16:43.733Z] 1e091d79d1de: Pulling fs layer [2020-07-23T15:16:43.733Z] 481702a1767f: Pulling fs layer [2020-07-23T15:16:43.733Z] f64a6f60c768: Pulling fs layer [2020-07-23T15:16:43.733Z] e78d2573fc39: Pulling fs layer [2020-07-23T15:16:43.733Z] e876d2f968b6: Pulling fs layer [2020-07-23T15:16:43.733Z] ce8a83651883: Pulling fs layer [2020-07-23T15:16:43.733Z] 07967f4d0e4b: Pulling fs layer [2020-07-23T15:16:43.733Z] f64a6f60c768: Waiting [2020-07-23T15:16:43.733Z] e78d2573fc39: Waiting [2020-07-23T15:16:43.733Z] e876d2f968b6: Waiting [2020-07-23T15:16:43.733Z] ce8a83651883: Waiting [2020-07-23T15:16:43.733Z] 07967f4d0e4b: Waiting [2020-07-23T15:16:43.734Z] 1e091d79d1de: Waiting [2020-07-23T15:16:43.734Z] 2dd03ba5bac4: Waiting [2020-07-23T15:16:43.734Z] 481702a1767f: Waiting [2020-07-23T15:16:43.734Z] a92cc7c5fd73: Verifying Checksum [2020-07-23T15:16:43.734Z] a92cc7c5fd73: Download complete [2020-07-23T15:16:44.008Z] ed8968b2872e: Verifying Checksum [2020-07-23T15:16:44.008Z] ed8968b2872e: Download complete [2020-07-23T15:16:44.008Z] 1e091d79d1de: Verifying Checksum [2020-07-23T15:16:44.008Z] 1e091d79d1de: Download complete [2020-07-23T15:16:44.008Z] df20fa9351a1: Verifying Checksum [2020-07-23T15:16:44.008Z] df20fa9351a1: Download complete [2020-07-23T15:16:44.008Z] 481702a1767f: Verifying Checksum [2020-07-23T15:16:44.008Z] 481702a1767f: Download complete [2020-07-23T15:16:44.281Z] df20fa9351a1: Pull complete [2020-07-23T15:16:44.888Z] f64a6f60c768: Verifying Checksum [2020-07-23T15:16:44.888Z] f64a6f60c768: Download complete [2020-07-23T15:16:44.888Z] e876d2f968b6: Verifying Checksum [2020-07-23T15:16:44.888Z] e876d2f968b6: Download complete [2020-07-23T15:16:45.151Z] e78d2573fc39: Verifying Checksum [2020-07-23T15:16:45.151Z] e78d2573fc39: Download complete [2020-07-23T15:16:45.413Z] 2dd03ba5bac4: Verifying Checksum [2020-07-23T15:16:45.413Z] 2dd03ba5bac4: Download complete [2020-07-23T15:16:45.413Z] ce8a83651883: Verifying Checksum [2020-07-23T15:16:45.413Z] ce8a83651883: Download complete [2020-07-23T15:16:45.413Z] 07967f4d0e4b: Verifying Checksum [2020-07-23T15:16:45.413Z] 07967f4d0e4b: Download complete [2020-07-23T15:16:46.355Z] ed8968b2872e: Pull complete [2020-07-23T15:16:46.355Z] a92cc7c5fd73: Pull complete [2020-07-23T15:16:47.896Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-728 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-07-23T15:16:47.940Z] Running in /w/workspace/device-rest-go/14 [Pipeline] { [Pipeline] checkout [2020-07-23T15:16:52.761Z] using credential edgex-jenkins-ssh [2020-07-23T15:16:52.814Z] Cloning the remote Git repository [2020-07-23T15:16:52.814Z] Cloning with configured refspecs honoured and without tags [2020-07-23T15:16:52.961Z] 2dd03ba5bac4: Pull complete [2020-07-23T15:16:52.962Z] 1e091d79d1de: Pull complete [2020-07-23T15:16:52.962Z] 481702a1767f: Pull complete [2020-07-23T15:16:52.873Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-07-23T15:16:53.036Z] > git init /w/workspace/device-rest-go/14 # timeout=10 [2020-07-23T15:16:53.111Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-23T15:16:53.112Z] > git --version # timeout=10 [2020-07-23T15:16:53.136Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T15:16:53.249Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T15:16:55.339Z] Fetching without tags [2020-07-23T15:16:55.270Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-23T15:16:55.294Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T15:16:55.318Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-23T15:16:55.349Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-23T15:16:55.350Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-23T15:16:55.362Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-23T15:16:55.947Z] Checking out Revision 5644139549e3358844d35a6dfdbf7cafe4e170bd (master) [2020-07-23T15:16:56.267Z] f64a6f60c768: Pull complete [2020-07-23T15:16:55.965Z] > git config core.sparsecheckout # timeout=10 [2020-07-23T15:16:55.990Z] > git checkout -f 5644139549e3358844d35a6dfdbf7cafe4e170bd # timeout=10 [2020-07-23T15:16:59.588Z] e78d2573fc39: Pull complete [2020-07-23T15:16:59.588Z] e876d2f968b6: Pull complete [2020-07-23T15:17:00.321Z] Commit message: "Merge pull request #32 from hahattan/issue-30/31" [2020-07-23T15:17:00.529Z] ce8a83651883: Pull complete [2020-07-23T15:17:00.529Z] 07967f4d0e4b: Pull complete [2020-07-23T15:17:00.529Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-07-23T15:17:00.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-23T15:17:00.529Z] ---> 5d7c900382c6 [2020-07-23T15:17:00.529Z] 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 [2020-07-23T15:17:02.123Z] ========================================================= [2020-07-23T15:17:02.124Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-23T15:17:02.124Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:17:02.440Z] ---> Running in 82b9b23ee6a7 [2020-07-23T15:17:02.440Z] Removing intermediate container 82b9b23ee6a7 [2020-07-23T15:17:02.440Z] ---> 644496bc39ac [2020-07-23T15:17:02.440Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-07-23T15:17:02.440Z] ---> Running in f74f535ddfc8 [2020-07-23T15:17:02.700Z] Removing intermediate container f74f535ddfc8 [2020-07-23T15:17:02.700Z] ---> 564e9abf12a5 [2020-07-23T15:17:02.700Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-23T15:17:02.700Z] ---> Running in 6aad068693a7 [2020-07-23T15:17:02.960Z] Removing intermediate container 6aad068693a7 [2020-07-23T15:17:02.960Z] ---> 29da0d31f35b [2020-07-23T15:17:02.960Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-23T15:17:02.960Z] ---> Running in cffb61606884 [2020-07-23T15:17:03.172Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-07-23T15:17:04.156Z] Sending build context to Docker daemon 8.014MB [2020-07-23T15:17:04.156Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-07-23T15:17:04.156Z] Step 2/10 : FROM ${BASE} [2020-07-23T15:17:04.341Z] Removing intermediate container cffb61606884 [2020-07-23T15:17:04.341Z] ---> 9f9717e0d382 [2020-07-23T15:17:04.341Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-23T15:17:04.341Z] ---> Running in b0720c6aafc1 [2020-07-23T15:17:04.760Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-23T15:17:04.760Z] b538f80385f9: Pulling fs layer [2020-07-23T15:17:04.760Z] 74f711af9a0d: Pulling fs layer [2020-07-23T15:17:04.760Z] 99f96fe45779: Pulling fs layer [2020-07-23T15:17:04.760Z] fd7a069fd194: Pulling fs layer [2020-07-23T15:17:04.760Z] 66aa3694b03b: Pulling fs layer [2020-07-23T15:17:04.760Z] 170f70906a0f: Pulling fs layer [2020-07-23T15:17:04.760Z] ad7c5574e4b9: Pulling fs layer [2020-07-23T15:17:04.760Z] e772456be8f7: Pulling fs layer [2020-07-23T15:17:04.760Z] c890913d741a: Pulling fs layer [2020-07-23T15:17:04.760Z] 2480fcc9aa5a: Pulling fs layer [2020-07-23T15:17:04.760Z] 09adf4765672: Pulling fs layer [2020-07-23T15:17:04.760Z] fd7a069fd194: Waiting [2020-07-23T15:17:04.760Z] 66aa3694b03b: Waiting [2020-07-23T15:17:04.760Z] 170f70906a0f: Waiting [2020-07-23T15:17:04.760Z] ad7c5574e4b9: Waiting [2020-07-23T15:17:04.760Z] e772456be8f7: Waiting [2020-07-23T15:17:04.760Z] c890913d741a: Waiting [2020-07-23T15:17:04.760Z] 2480fcc9aa5a: Waiting [2020-07-23T15:17:04.760Z] 09adf4765672: Waiting [2020-07-23T15:17:04.760Z] 99f96fe45779: Verifying Checksum [2020-07-23T15:17:04.760Z] 99f96fe45779: Download complete [2020-07-23T15:17:04.760Z] 74f711af9a0d: Verifying Checksum [2020-07-23T15:17:04.760Z] 74f711af9a0d: Download complete [2020-07-23T15:17:04.760Z] 66aa3694b03b: Verifying Checksum [2020-07-23T15:17:04.760Z] 66aa3694b03b: Download complete [2020-07-23T15:17:04.760Z] 170f70906a0f: Verifying Checksum [2020-07-23T15:17:04.760Z] 170f70906a0f: Download complete [2020-07-23T15:17:04.760Z] b538f80385f9: Verifying Checksum [2020-07-23T15:17:04.760Z] b538f80385f9: Download complete [2020-07-23T15:17:04.913Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-23T15:17:05.746Z] b538f80385f9: Pull complete [2020-07-23T15:17:05.856Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-23T15:17:06.353Z] 74f711af9a0d: Pull complete [2020-07-23T15:17:06.427Z] OK: 166 MiB in 39 packages [2020-07-23T15:17:06.627Z] 99f96fe45779: Pull complete [2020-07-23T15:17:07.000Z] Removing intermediate container b0720c6aafc1 [2020-07-23T15:17:07.000Z] ---> cb9ea4f94172 [2020-07-23T15:17:07.000Z] Step 8/10 : WORKDIR /device-rest-go [2020-07-23T15:17:07.000Z] ---> Running in 7a09cf3b4753 [2020-07-23T15:17:07.260Z] Removing intermediate container 7a09cf3b4753 [2020-07-23T15:17:07.260Z] ---> 3fe069d71997 [2020-07-23T15:17:07.260Z] Step 9/10 : COPY . . [2020-07-23T15:17:07.522Z] ---> 20f921302f47 [2020-07-23T15:17:07.522Z] Step 10/10 : RUN go mod download [2020-07-23T15:17:07.609Z] ad7c5574e4b9: Verifying Checksum [2020-07-23T15:17:07.609Z] ad7c5574e4b9: Download complete [2020-07-23T15:17:07.609Z] c890913d741a: Download complete [2020-07-23T15:17:07.785Z] ---> Running in 120c8c76682c [2020-07-23T15:17:10.236Z] 2480fcc9aa5a: Verifying Checksum [2020-07-23T15:17:10.237Z] 2480fcc9aa5a: Download complete [2020-07-23T15:17:10.237Z] 09adf4765672: Verifying Checksum [2020-07-23T15:17:10.237Z] 09adf4765672: Download complete [2020-07-23T15:17:10.237Z] e772456be8f7: Download complete [2020-07-23T15:17:10.333Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-23T15:17:10.333Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-23T15:17:10.333Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-23T15:17:10.333Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-23T15:17:10.333Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-23T15:17:10.333Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-23T15:17:10.333Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-23T15:17:10.333Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-23T15:17:10.333Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-23T15:17:10.333Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-23T15:17:10.333Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-23T15:17:10.333Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-23T15:17:10.333Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-23T15:17:10.333Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-23T15:17:10.333Z] go: finding github.com/fatih/color v1.7.0 [2020-07-23T15:17:10.333Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-23T15:17:10.333Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-23T15:17:10.333Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-23T15:17:10.333Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-23T15:17:10.333Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-23T15:17:10.333Z] go: finding github.com/google/uuid v1.1.0 [2020-07-23T15:17:10.333Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-23T15:17:10.333Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-23T15:17:10.508Z] fd7a069fd194: Verifying Checksum [2020-07-23T15:17:10.508Z] fd7a069fd194: Download complete [2020-07-23T15:17:10.594Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-23T15:17:10.594Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-23T15:17:10.594Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-23T15:17:10.594Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-23T15:17:10.594Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-23T15:17:10.594Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-23T15:17:10.594Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-23T15:17:10.594Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-23T15:17:10.594Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-23T15:17:10.594Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-23T15:17:10.594Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-23T15:17:10.594Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-23T15:17:10.855Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-23T15:17:10.855Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-23T15:17:10.855Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-23T15:17:10.855Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-23T15:17:10.855Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-23T15:17:10.855Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-23T15:17:10.855Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-23T15:17:10.855Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-23T15:17:10.855Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-23T15:17:10.855Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-23T15:17:10.855Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-23T15:17:10.855Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-23T15:17:11.114Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-23T15:17:11.114Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-23T15:17:11.114Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-23T15:17:11.114Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-23T15:17:11.114Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-23T15:17:11.114Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-23T15:17:11.115Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-23T15:17:11.115Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-23T15:17:11.115Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-23T15:17:11.115Z] go: finding github.com/posener/complete v1.1.1 [2020-07-23T15:17:11.115Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-23T15:17:11.115Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-23T15:17:11.375Z] go: finding github.com/spf13/cast v1.3.0 [2020-07-23T15:17:11.375Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-23T15:17:11.375Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-23T15:17:11.375Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-23T15:17:11.375Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-23T15:17:11.375Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-23T15:17:11.375Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-23T15:17:11.375Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-23T15:17:11.375Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-23T15:17:11.375Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-23T15:17:11.375Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-23T15:17:19.517Z] Removing intermediate container 120c8c76682c [2020-07-23T15:17:19.517Z] ---> 1921fb0f09e4 [2020-07-23T15:17:19.517Z] Successfully built 1921fb0f09e4 [2020-07-23T15:17:19.517Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-23T15:17:22.325Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-23T15:17:22.664Z] + ls -al . [2020-07-23T15:17:22.664Z] total 68 [2020-07-23T15:17:22.664Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jul 23 15:16 . [2020-07-23T15:17:22.664Z] drwxrwxr-x. 4 jenkins jenkins 30 Jul 23 15:16 .. [2020-07-23T15:17:22.664Z] -rw-rw-r--. 1 jenkins jenkins 4802 Jul 23 15:16 Attribution.txt [2020-07-23T15:17:22.664Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 23 15:16 bin [2020-07-23T15:17:22.664Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 23 15:16 cmd [2020-07-23T15:17:22.664Z] -rw-rw-r--. 1 jenkins jenkins 1504 Jul 23 15:16 Dockerfile [2020-07-23T15:17:22.664Z] -rw-rw-r--. 1 jenkins jenkins 989 Jul 23 15:16 Dockerfile.build [2020-07-23T15:17:22.664Z] -rw-rw-r--. 1 jenkins jenkins 151 Jul 23 15:16 .dockerignore [2020-07-23T15:17:22.664Z] drwxrwxr-x. 2 jenkins jenkins 76 Jul 23 15:16 driver [2020-07-23T15:17:22.664Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 23 15:16 .git [2020-07-23T15:17:22.664Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 23 15:16 .github [2020-07-23T15:17:22.664Z] -rw-rw-r--. 1 jenkins jenkins 339 Jul 23 15:16 .gitignore [2020-07-23T15:17:22.664Z] -rw-rw-r--. 1 jenkins jenkins 266 Jul 23 15:16 go.mod [2020-07-23T15:17:22.664Z] -rw-rw-r--. 1 jenkins jenkins 702 Jul 23 15:16 Jenkinsfile [2020-07-23T15:17:22.664Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 23 15:16 LICENSE [2020-07-23T15:17:22.664Z] -rw-rw-r--. 1 jenkins jenkins 951 Jul 23 15:16 Makefile [2020-07-23T15:17:22.664Z] -rw-rw-r--. 1 jenkins jenkins 5716 Jul 23 15:16 README.md [2020-07-23T15:17:22.664Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 23 15:16 .semver [2020-07-23T15:17:22.664Z] -rw-rw-r--. 1 jenkins jenkins 11 Jul 23 15:14 VERSION [2020-07-23T15:17:22.664Z] -rw-rw-r--. 1 jenkins jenkins 713 Jul 23 15:16 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:17:22.930Z] fd7a069fd194: Pull complete [2020-07-23T15:17:22.930Z] 66aa3694b03b: Pull complete [2020-07-23T15:17:22.930Z] 170f70906a0f: Pull complete [2020-07-23T15:17:22.965Z] + 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 . [2020-07-23T15:17:23.226Z] Sending build context to Docker daemon 8.015MB [2020-07-23T15:17:23.226Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-07-23T15:17:23.226Z] Step 2/24 : FROM ${BASE} AS builder [2020-07-23T15:17:23.226Z] ---> 1921fb0f09e4 [2020-07-23T15:17:23.226Z] Step 3/24 : ARG MAKE='make build' [2020-07-23T15:17:23.226Z] ---> Running in 76e5f08899f4 [2020-07-23T15:17:23.226Z] Removing intermediate container 76e5f08899f4 [2020-07-23T15:17:23.226Z] ---> 1c7b50181b81 [2020-07-23T15:17:23.226Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-07-23T15:17:23.487Z] ---> Running in a036aa2d09bc [2020-07-23T15:17:23.487Z] Removing intermediate container a036aa2d09bc [2020-07-23T15:17:23.487Z] ---> 26e04efa36b3 [2020-07-23T15:17:23.487Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-07-23T15:17:23.487Z] ---> Running in ac7ea8553873 [2020-07-23T15:17:23.749Z] Removing intermediate container ac7ea8553873 [2020-07-23T15:17:23.749Z] ---> e77d50fb161d [2020-07-23T15:17:23.749Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-23T15:17:23.749Z] ---> Running in 9b05eb43c13e [2020-07-23T15:17:25.144Z] Removing intermediate container 9b05eb43c13e [2020-07-23T15:17:25.144Z] ---> 6c5400496969 [2020-07-23T15:17:25.144Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-23T15:17:25.144Z] ---> Running in 7ea480040c12 [2020-07-23T15:17:25.716Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-23T15:17:26.286Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-23T15:17:26.344Z] ad7c5574e4b9: Pull complete [2020-07-23T15:17:26.548Z] OK: 166 MiB in 39 packages [2020-07-23T15:17:27.121Z] Removing intermediate container 7ea480040c12 [2020-07-23T15:17:27.121Z] ---> 0bf48cbe1ce6 [2020-07-23T15:17:27.121Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-07-23T15:17:27.121Z] ---> Running in 8f1e6c7e0f13 [2020-07-23T15:17:27.121Z] Removing intermediate container 8f1e6c7e0f13 [2020-07-23T15:17:27.121Z] ---> 34f36def1b5f [2020-07-23T15:17:27.121Z] Step 9/24 : COPY go.mod . [2020-07-23T15:17:27.382Z] ---> ecbe37e4aae1 [2020-07-23T15:17:27.382Z] Step 10/24 : COPY Makefile . [2020-07-23T15:17:27.643Z] ---> 95d775580e93 [2020-07-23T15:17:27.643Z] Step 11/24 : RUN make update [2020-07-23T15:17:27.643Z] ---> Running in 1ae7f993219c [2020-07-23T15:17:28.216Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-07-23T15:17:28.477Z] Removing intermediate container 1ae7f993219c [2020-07-23T15:17:28.477Z] ---> aa0fbe8cf1ca [2020-07-23T15:17:28.477Z] Step 12/24 : COPY . . [2020-07-23T15:17:29.048Z] ---> a4ddb4ea912e [2020-07-23T15:17:29.048Z] Step 13/24 : RUN $MAKE [2020-07-23T15:17:29.048Z] ---> Running in 08109391ef9c [2020-07-23T15:17:29.311Z] 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 [2020-07-23T15:17:30.653Z] e772456be8f7: Pull complete [2020-07-23T15:17:31.250Z] c890913d741a: Pull complete [2020-07-23T15:17:33.235Z] 2480fcc9aa5a: Pull complete [2020-07-23T15:17:33.836Z] 09adf4765672: Pull complete [2020-07-23T15:17:33.836Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-07-23T15:17:33.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-23T15:17:33.836Z] ---> 2248a725d1cf [2020-07-23T15:17:33.836Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-07-23T15:17:39.223Z] ---> Running in a628f9b4d122 [2020-07-23T15:17:39.223Z] Removing intermediate container a628f9b4d122 [2020-07-23T15:17:39.223Z] ---> ff99c1aa44be [2020-07-23T15:17:39.223Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-07-23T15:17:39.223Z] ---> Running in 95be2247c309 [2020-07-23T15:17:39.493Z] Removing intermediate container 95be2247c309 [2020-07-23T15:17:39.493Z] ---> 22c9f5ad40e2 [2020-07-23T15:17:39.493Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-23T15:17:39.764Z] ---> Running in 5bbdad0519a3 [2020-07-23T15:17:40.041Z] Removing intermediate container 5bbdad0519a3 [2020-07-23T15:17:40.041Z] ---> 082d542f5090 [2020-07-23T15:17:40.041Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-23T15:17:40.318Z] ---> Running in 33c54be0ad9e [2020-07-23T15:17:41.642Z] Removing intermediate container 08109391ef9c [2020-07-23T15:17:41.642Z] ---> f8d95ee9b046 [2020-07-23T15:17:41.642Z] Step 14/24 : FROM alpine:latest [2020-07-23T15:17:41.642Z] latest: Pulling from library/alpine [2020-07-23T15:17:41.642Z] df20fa9351a1: Already exists [2020-07-23T15:17:41.642Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-07-23T15:17:41.642Z] Status: Downloaded newer image for alpine:latest [2020-07-23T15:17:41.642Z] ---> a24bb4013296 [2020-07-23T15:17:41.642Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-23T15:17:41.642Z] ---> Running in b4347a72007f [2020-07-23T15:17:41.642Z] Removing intermediate container b4347a72007f [2020-07-23T15:17:41.642Z] ---> c7388e47033f [2020-07-23T15:17:41.642Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-07-23T15:17:41.642Z] ---> Running in 67e47c71eae0 [2020-07-23T15:17:41.642Z] Removing intermediate container 67e47c71eae0 [2020-07-23T15:17:41.642Z] ---> 162e65b64cc8 [2020-07-23T15:17:41.642Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-07-23T15:17:41.903Z] ---> 05e72bc89cf2 [2020-07-23T15:17:41.903Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-07-23T15:17:42.164Z] ---> 3a45ef84572d [2020-07-23T15:17:42.164Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-07-23T15:17:42.737Z] ---> 97aeb4a658de [2020-07-23T15:17:42.737Z] Step 20/24 : EXPOSE 49986 [2020-07-23T15:17:42.737Z] ---> Running in 8f2f1d7402b1 [2020-07-23T15:17:42.737Z] Removing intermediate container 8f2f1d7402b1 [2020-07-23T15:17:42.737Z] ---> 9342c39d5a2e [2020-07-23T15:17:42.737Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-07-23T15:17:42.938Z] Removing intermediate container 33c54be0ad9e [2020-07-23T15:17:42.938Z] ---> 8ef3bdb99edb [2020-07-23T15:17:42.938Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-23T15:17:42.938Z] ---> Running in d0aa21ff8dd4 [2020-07-23T15:17:42.998Z] ---> Running in 84dae9b23286 [2020-07-23T15:17:42.998Z] Removing intermediate container 84dae9b23286 [2020-07-23T15:17:42.998Z] ---> 1054f196f962 [2020-07-23T15:17:42.998Z] Step 22/24 : LABEL arch=amd64 [2020-07-23T15:17:43.259Z] ---> Running in dbba88386f2d [2020-07-23T15:17:43.259Z] Removing intermediate container dbba88386f2d [2020-07-23T15:17:43.259Z] ---> 1bee271d554a [2020-07-23T15:17:43.259Z] Step 23/24 : LABEL git_sha=5644139549e3358844d35a6dfdbf7cafe4e170bd [2020-07-23T15:17:43.259Z] ---> Running in 5384e55adffa [2020-07-23T15:17:43.520Z] Removing intermediate container 5384e55adffa [2020-07-23T15:17:43.520Z] ---> 167fadc19160 [2020-07-23T15:17:43.520Z] Step 24/24 : LABEL version=1.1.2-dev.2 [2020-07-23T15:17:43.520Z] ---> Running in 0734334e8f8e [2020-07-23T15:17:43.785Z] Removing intermediate container 0734334e8f8e [2020-07-23T15:17:43.785Z] ---> 71006a8b2034 [2020-07-23T15:17:43.785Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-23T15:17:43.785Z] Successfully built 71006a8b2034 [2020-07-23T15:17:43.785Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-07-23T15:17:44.241Z] provisioning config files... [2020-07-23T15:17:44.277Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/14@tmp/config3115716856955263853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-07-23T15:17:44.371Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-23T15:17:44.644Z] nexus3.edgexfoundry.org:10001 [2020-07-23T15:17:44.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-07-23T15:17:44.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-07-23T15:17:44.906Z] Configure a credential helper to remove this warning. See [2020-07-23T15:17:44.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-07-23T15:17:44.906Z] [2020-07-23T15:17:44.906Z] Login Succeeded [2020-07-23T15:17:44.906Z] nexus3.edgexfoundry.org:10002 [2020-07-23T15:17:44.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-07-23T15:17:44.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-07-23T15:17:44.906Z] Configure a credential helper to remove this warning. See [2020-07-23T15:17:44.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-07-23T15:17:44.906Z] [2020-07-23T15:17:44.906Z] Login Succeeded [2020-07-23T15:17:44.906Z] nexus3.edgexfoundry.org:10003 [2020-07-23T15:17:44.975Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-23T15:17:45.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-07-23T15:17:45.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-07-23T15:17:45.169Z] Configure a credential helper to remove this warning. See [2020-07-23T15:17:45.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-07-23T15:17:45.169Z] [2020-07-23T15:17:45.169Z] Login Succeeded [2020-07-23T15:17:45.169Z] nexus3.edgexfoundry.org:10004 [2020-07-23T15:17:45.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-07-23T15:17:45.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-07-23T15:17:45.430Z] Configure a credential helper to remove this warning. See [2020-07-23T15:17:45.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-07-23T15:17:45.430Z] [2020-07-23T15:17:45.430Z] Login Succeeded [2020-07-23T15:17:45.430Z] docker.io [2020-07-23T15:17:45.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-07-23T15:17:45.590Z] OK: 142 MiB in 39 packages [2020-07-23T15:17:45.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-07-23T15:17:45.691Z] Configure a credential helper to remove this warning. See [2020-07-23T15:17:45.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-07-23T15:17:45.691Z] [2020-07-23T15:17:45.691Z] Login Succeeded [Pipeline] } [2020-07-23T15:17:45.699Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-07-23T15:17:45.898Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2020-07-23T15:17:45.898Z] 5644139549e3358844d35a6dfdbf7cafe4e170bd [2020-07-23T15:17:45.898Z] latest [2020-07-23T15:17:45.898Z] 1.1.2-dev.2 [2020-07-23T15:17:45.898Z] 5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2 [2020-07-23T15:17:45.898Z] master [2020-07-23T15:17:45.898Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:17:46.365Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:5644139549e3358844d35a6dfdbf7cafe4e170bd [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:17:46.656Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:5644139549e3358844d35a6dfdbf7cafe4e170bd [2020-07-23T15:17:46.656Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-07-23T15:17:46.656Z] d8b708410fc1: Preparing [2020-07-23T15:17:46.656Z] 56be422c7634: Preparing [2020-07-23T15:17:46.656Z] fbbbfbf33ad3: Preparing [2020-07-23T15:17:46.656Z] 50644c29ef5a: Preparing [2020-07-23T15:17:46.656Z] 50644c29ef5a: Layer already exists [2020-07-23T15:17:46.656Z] 56be422c7634: Pushed [2020-07-23T15:17:46.656Z] fbbbfbf33ad3: Pushed [2020-07-23T15:17:47.039Z] Removing intermediate container d0aa21ff8dd4 [2020-07-23T15:17:47.039Z] ---> e6e40e708c38 [2020-07-23T15:17:47.039Z] Step 8/10 : WORKDIR /device-rest-go [2020-07-23T15:17:47.039Z] ---> Running in 3ed9b36ae38b [2020-07-23T15:17:47.630Z] Removing intermediate container 3ed9b36ae38b [2020-07-23T15:17:47.630Z] ---> cafa44ceff84 [2020-07-23T15:17:47.630Z] Step 9/10 : COPY . . [2020-07-23T15:17:48.039Z] d8b708410fc1: Pushed [2020-07-23T15:17:48.039Z] 5644139549e3358844d35a6dfdbf7cafe4e170bd: digest: sha256:d21e1bf8750cdb9702f60401e54f2bab513232d66ca1e31e8544a7d960a6cfe8 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:17:48.337Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:17:48.606Z] ---> f6ffbeac7d71 [2020-07-23T15:17:48.606Z] Step 10/10 : RUN go mod download [2020-07-23T15:17:48.629Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-07-23T15:17:48.629Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-07-23T15:17:48.629Z] d8b708410fc1: Preparing [2020-07-23T15:17:48.629Z] 56be422c7634: Preparing [2020-07-23T15:17:48.629Z] fbbbfbf33ad3: Preparing [2020-07-23T15:17:48.629Z] 50644c29ef5a: Preparing [2020-07-23T15:17:48.629Z] d8b708410fc1: Layer already exists [2020-07-23T15:17:48.629Z] 56be422c7634: Layer already exists [2020-07-23T15:17:48.629Z] 50644c29ef5a: Layer already exists [2020-07-23T15:17:48.629Z] fbbbfbf33ad3: Layer already exists [2020-07-23T15:17:48.629Z] latest: digest: sha256:d21e1bf8750cdb9702f60401e54f2bab513232d66ca1e31e8544a7d960a6cfe8 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:17:48.880Z] ---> Running in 6c19f595d33a [2020-07-23T15:17:48.935Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:17:49.230Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.2-dev.2 [2020-07-23T15:17:49.230Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-07-23T15:17:49.230Z] d8b708410fc1: Preparing [2020-07-23T15:17:49.230Z] 56be422c7634: Preparing [2020-07-23T15:17:49.230Z] fbbbfbf33ad3: Preparing [2020-07-23T15:17:49.230Z] 50644c29ef5a: Preparing [2020-07-23T15:17:49.230Z] fbbbfbf33ad3: Layer already exists [2020-07-23T15:17:49.230Z] 50644c29ef5a: Layer already exists [2020-07-23T15:17:49.230Z] d8b708410fc1: Layer already exists [2020-07-23T15:17:49.230Z] 56be422c7634: Layer already exists [2020-07-23T15:17:49.230Z] 1.1.2-dev.2: digest: sha256:d21e1bf8750cdb9702f60401e54f2bab513232d66ca1e31e8544a7d960a6cfe8 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:17:49.527Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:17:49.819Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2 [2020-07-23T15:17:49.819Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-07-23T15:17:49.819Z] d8b708410fc1: Preparing [2020-07-23T15:17:49.819Z] 56be422c7634: Preparing [2020-07-23T15:17:49.819Z] fbbbfbf33ad3: Preparing [2020-07-23T15:17:49.819Z] 50644c29ef5a: Preparing [2020-07-23T15:17:49.819Z] fbbbfbf33ad3: Layer already exists [2020-07-23T15:17:49.819Z] 50644c29ef5a: Layer already exists [2020-07-23T15:17:49.819Z] 56be422c7634: Layer already exists [2020-07-23T15:17:49.819Z] d8b708410fc1: Layer already exists [2020-07-23T15:17:49.819Z] 5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2: digest: sha256:d21e1bf8750cdb9702f60401e54f2bab513232d66ca1e31e8544a7d960a6cfe8 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:17:50.116Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:17:50.408Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2020-07-23T15:17:50.408Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-07-23T15:17:50.408Z] d8b708410fc1: Preparing [2020-07-23T15:17:50.408Z] 56be422c7634: Preparing [2020-07-23T15:17:50.408Z] fbbbfbf33ad3: Preparing [2020-07-23T15:17:50.408Z] 50644c29ef5a: Preparing [2020-07-23T15:17:50.408Z] 50644c29ef5a: Layer already exists [2020-07-23T15:17:50.408Z] fbbbfbf33ad3: Layer already exists [2020-07-23T15:17:50.408Z] 56be422c7634: Layer already exists [2020-07-23T15:17:50.408Z] d8b708410fc1: Layer already exists [2020-07-23T15:17:50.408Z] master: digest: sha256:d21e1bf8750cdb9702f60401e54f2bab513232d66ca1e31e8544a7d960a6cfe8 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-07-23T15:17:50.775Z] ===================================================== [Pipeline] echo [2020-07-23T15:17:50.821Z] taggedImages: [2020-07-23T15:17:50.821Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:5644139549e3358844d35a6dfdbf7cafe4e170bd [2020-07-23T15:17:50.821Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-07-23T15:17:50.821Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.2-dev.2 [2020-07-23T15:17:50.821Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2 [2020-07-23T15:17:50.821Z] - 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] } [2020-07-23T15:17:51.487Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-23T15:17:51.487Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-23T15:17:51.487Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-23T15:17:51.487Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-23T15:17:51.487Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-23T15:17:51.487Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-23T15:17:51.488Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-23T15:17:51.488Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-23T15:17:51.488Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [Pipeline] // stage [Pipeline] } [2020-07-23T15:17:51.758Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-23T15:17:51.758Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-23T15:17:51.758Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-23T15:17:51.758Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-23T15:17:51.758Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-23T15:17:51.758Z] go: finding github.com/fatih/color v1.7.0 [2020-07-23T15:17:51.758Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-23T15:17:51.758Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-23T15:17:51.758Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-23T15:17:51.758Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-23T15:17:51.758Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-23T15:17:51.758Z] go: finding github.com/google/uuid v1.1.0 [2020-07-23T15:17:52.032Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-23T15:17:52.032Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-23T15:17:52.032Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-23T15:17:52.032Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-23T15:17:52.032Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-23T15:17:52.032Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-23T15:17:52.032Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-23T15:17:52.032Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-23T15:17:52.032Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-23T15:17:52.032Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-23T15:17:52.032Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-23T15:17:52.032Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-23T15:17:52.303Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-23T15:17:52.303Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-23T15:17:52.303Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-23T15:17:52.303Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-23T15:17:52.303Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-23T15:17:52.303Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-23T15:17:52.303Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-23T15:17:52.303Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-23T15:17:52.303Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-23T15:17:52.303Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-23T15:17:52.303Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-23T15:17:52.303Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-23T15:17:52.573Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-23T15:17:52.573Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-23T15:17:52.573Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-23T15:17:52.573Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-23T15:17:52.573Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-23T15:17:52.573Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-23T15:17:52.573Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-23T15:17:52.573Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-23T15:17:52.573Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-23T15:17:52.573Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-23T15:17:52.573Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-23T15:17:52.573Z] go: finding github.com/posener/complete v1.1.1 [2020-07-23T15:17:52.843Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-23T15:17:52.843Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-23T15:17:52.843Z] go: finding github.com/spf13/cast v1.3.0 [2020-07-23T15:17:52.843Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-23T15:17:52.843Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-23T15:17:52.843Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-23T15:17:52.843Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-23T15:17:52.843Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-23T15:17:52.843Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-23T15:17:52.843Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-23T15:17:52.843Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-23T15:17:52.843Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-23T15:17:53.117Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-23T15:18:03.263Z] Removing intermediate container 6c19f595d33a [2020-07-23T15:18:03.263Z] ---> 07b214292b5a [2020-07-23T15:18:03.263Z] Successfully built 07b214292b5a [2020-07-23T15:18:03.263Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-23T15:18:04.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-23T15:18:04.521Z] + ls -al . [2020-07-23T15:18:04.521Z] total 96 [2020-07-23T15:18:04.521Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 23 15:17 . [2020-07-23T15:18:04.521Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 23 15:16 .. [2020-07-23T15:18:04.521Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 23 15:16 .dockerignore [2020-07-23T15:18:04.521Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 23 15:16 .git [2020-07-23T15:18:04.521Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 23 15:16 .github [2020-07-23T15:18:04.521Z] -rw-rw-r-- 1 jenkins jenkins 339 Jul 23 15:16 .gitignore [2020-07-23T15:18:04.521Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 23 15:17 .semver [2020-07-23T15:18:04.521Z] -rw-rw-r-- 1 jenkins jenkins 4802 Jul 23 15:16 Attribution.txt [2020-07-23T15:18:04.521Z] -rw-rw-r-- 1 jenkins jenkins 1504 Jul 23 15:16 Dockerfile [2020-07-23T15:18:04.521Z] -rw-rw-r-- 1 jenkins jenkins 989 Jul 23 15:16 Dockerfile.build [2020-07-23T15:18:04.521Z] -rw-rw-r-- 1 jenkins jenkins 702 Jul 23 15:16 Jenkinsfile [2020-07-23T15:18:04.521Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 23 15:16 LICENSE [2020-07-23T15:18:04.521Z] -rw-rw-r-- 1 jenkins jenkins 951 Jul 23 15:16 Makefile [2020-07-23T15:18:04.521Z] -rw-rw-r-- 1 jenkins jenkins 5716 Jul 23 15:16 README.md [2020-07-23T15:18:04.521Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 23 15:14 VERSION [2020-07-23T15:18:04.522Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 23 15:16 bin [2020-07-23T15:18:04.522Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 23 15:16 cmd [2020-07-23T15:18:04.522Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 23 15:16 driver [2020-07-23T15:18:04.522Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 23 15:16 go.mod [2020-07-23T15:18:04.522Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 23 15:16 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:18:04.875Z] + 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 . [2020-07-23T15:18:05.474Z] Sending build context to Docker daemon 8.015MB [2020-07-23T15:18:05.474Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-07-23T15:18:05.474Z] Step 2/24 : FROM ${BASE} AS builder [2020-07-23T15:18:05.474Z] ---> 07b214292b5a [2020-07-23T15:18:05.474Z] Step 3/24 : ARG MAKE='make build' [2020-07-23T15:18:05.746Z] ---> Running in a1e24d85b7eb [2020-07-23T15:18:06.018Z] Removing intermediate container a1e24d85b7eb [2020-07-23T15:18:06.018Z] ---> ead4160f95ce [2020-07-23T15:18:06.018Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-07-23T15:18:06.289Z] ---> Running in 7355ab2fa61c [2020-07-23T15:18:06.559Z] Removing intermediate container 7355ab2fa61c [2020-07-23T15:18:06.559Z] ---> e8cce397708b [2020-07-23T15:18:06.559Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-07-23T15:18:06.831Z] ---> Running in 3ff8944463a6 [2020-07-23T15:18:07.102Z] Removing intermediate container 3ff8944463a6 [2020-07-23T15:18:07.102Z] ---> 07162289ee61 [2020-07-23T15:18:07.102Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-23T15:18:07.374Z] ---> Running in e1a87acfebb5 [2020-07-23T15:18:09.983Z] Removing intermediate container e1a87acfebb5 [2020-07-23T15:18:09.983Z] ---> d2dee8114e72 [2020-07-23T15:18:09.983Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-23T15:18:09.983Z] ---> Running in 4ee4ec2e8119 [2020-07-23T15:18:11.409Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-23T15:18:12.378Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-23T15:18:12.649Z] OK: 142 MiB in 39 packages [2020-07-23T15:18:14.075Z] Removing intermediate container 4ee4ec2e8119 [2020-07-23T15:18:14.075Z] ---> c021dc721df1 [2020-07-23T15:18:14.075Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-07-23T15:18:14.075Z] ---> Running in 9a126177730d [2020-07-23T15:18:14.673Z] Removing intermediate container 9a126177730d [2020-07-23T15:18:14.673Z] ---> b58bac6cf725 [2020-07-23T15:18:14.673Z] Step 9/24 : COPY go.mod . [2020-07-23T15:18:15.273Z] ---> 3f9369522b18 [2020-07-23T15:18:15.273Z] Step 10/24 : COPY Makefile . [2020-07-23T15:18:15.869Z] ---> 2c3ee4543f0d [2020-07-23T15:18:15.869Z] Step 11/24 : RUN make update [2020-07-23T15:18:16.142Z] ---> Running in 825e5dcbbe0b [2020-07-23T15:18:17.569Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-07-23T15:18:19.015Z] Removing intermediate container 825e5dcbbe0b [2020-07-23T15:18:19.015Z] ---> deeebd3a5436 [2020-07-23T15:18:19.015Z] Step 12/24 : COPY . . [2020-07-23T15:18:19.991Z] ---> b33ce6c5fa27 [2020-07-23T15:18:19.991Z] Step 13/24 : RUN $MAKE [2020-07-23T15:18:19.991Z] ---> Running in 67706a99a0d4 [2020-07-23T15:18:21.425Z] 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 [2020-07-23T15:18:48.228Z] Removing intermediate container 67706a99a0d4 [2020-07-23T15:18:48.228Z] ---> f1572cbc450f [2020-07-23T15:18:48.228Z] Step 14/24 : FROM alpine:latest [2020-07-23T15:18:48.228Z] latest: Pulling from library/alpine [2020-07-23T15:18:48.228Z] b538f80385f9: Already exists [2020-07-23T15:18:48.499Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-07-23T15:18:48.499Z] Status: Downloaded newer image for alpine:latest [2020-07-23T15:18:48.499Z] ---> 62ee0e9f8440 [2020-07-23T15:18:48.499Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-23T15:18:48.770Z] ---> Running in ea71b31c2023 [2020-07-23T15:18:49.043Z] Removing intermediate container ea71b31c2023 [2020-07-23T15:18:49.043Z] ---> 0a2576c00253 [2020-07-23T15:18:49.043Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-07-23T15:18:49.316Z] ---> Running in 67778e392b26 [2020-07-23T15:18:49.588Z] Removing intermediate container 67778e392b26 [2020-07-23T15:18:49.588Z] ---> 9c6af83dd2c4 [2020-07-23T15:18:49.588Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-07-23T15:18:50.185Z] ---> 6933473d0221 [2020-07-23T15:18:50.185Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-07-23T15:18:51.163Z] ---> 26e459b3441c [2020-07-23T15:18:51.163Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-07-23T15:18:52.596Z] ---> d7ac0c933319 [2020-07-23T15:18:52.596Z] Step 20/24 : EXPOSE 49986 [2020-07-23T15:18:52.596Z] ---> Running in 630037a6249c [2020-07-23T15:18:52.866Z] Removing intermediate container 630037a6249c [2020-07-23T15:18:52.866Z] ---> 257488659e6f [2020-07-23T15:18:52.866Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-07-23T15:18:53.139Z] ---> Running in 4572b865dff5 [2020-07-23T15:18:53.411Z] Removing intermediate container 4572b865dff5 [2020-07-23T15:18:53.411Z] ---> 5d7d3735b324 [2020-07-23T15:18:53.411Z] Step 22/24 : LABEL arch=arm64 [2020-07-23T15:18:53.684Z] ---> Running in 39f186e0bc8b [2020-07-23T15:18:53.957Z] Removing intermediate container 39f186e0bc8b [2020-07-23T15:18:53.957Z] ---> 3859f8ac7ddb [2020-07-23T15:18:53.957Z] Step 23/24 : LABEL git_sha=5644139549e3358844d35a6dfdbf7cafe4e170bd [2020-07-23T15:18:54.229Z] ---> Running in b9994886f121 [2020-07-23T15:18:54.499Z] Removing intermediate container b9994886f121 [2020-07-23T15:18:54.499Z] ---> f23288c1fc5e [2020-07-23T15:18:54.499Z] Step 24/24 : LABEL version=1.1.2-dev.2 [2020-07-23T15:18:54.773Z] ---> Running in a712a8432c11 [2020-07-23T15:18:55.043Z] Removing intermediate container a712a8432c11 [2020-07-23T15:18:55.043Z] ---> cae016aacffb [2020-07-23T15:18:55.043Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-23T15:18:55.043Z] Successfully built cae016aacffb [2020-07-23T15:18:55.043Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-07-23T15:18:55.417Z] provisioning config files... [2020-07-23T15:18:55.453Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/14@tmp/config7363017075432968737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-07-23T15:18:55.852Z] nexus3.edgexfoundry.org:10001 [2020-07-23T15:18:56.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-07-23T15:18:56.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-07-23T15:18:56.402Z] Configure a credential helper to remove this warning. See [2020-07-23T15:18:56.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-07-23T15:18:56.402Z] [2020-07-23T15:18:56.402Z] Login Succeeded [2020-07-23T15:18:56.402Z] nexus3.edgexfoundry.org:10002 [2020-07-23T15:18:56.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-07-23T15:18:56.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-07-23T15:18:56.948Z] Configure a credential helper to remove this warning. See [2020-07-23T15:18:56.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-07-23T15:18:56.948Z] [2020-07-23T15:18:56.948Z] Login Succeeded [2020-07-23T15:18:56.948Z] nexus3.edgexfoundry.org:10003 [2020-07-23T15:18:57.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-07-23T15:18:57.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-07-23T15:18:57.495Z] Configure a credential helper to remove this warning. See [2020-07-23T15:18:57.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-07-23T15:18:57.495Z] [2020-07-23T15:18:57.495Z] Login Succeeded [2020-07-23T15:18:57.495Z] nexus3.edgexfoundry.org:10004 [2020-07-23T15:18:57.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-07-23T15:18:57.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-07-23T15:18:57.770Z] Configure a credential helper to remove this warning. See [2020-07-23T15:18:57.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-07-23T15:18:57.770Z] [2020-07-23T15:18:57.770Z] Login Succeeded [2020-07-23T15:18:57.770Z] docker.io [2020-07-23T15:18:58.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-07-23T15:18:58.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-07-23T15:18:58.638Z] Configure a credential helper to remove this warning. See [2020-07-23T15:18:58.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-07-23T15:18:58.638Z] [2020-07-23T15:18:58.638Z] Login Succeeded [Pipeline] } [2020-07-23T15:18:58.654Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-07-23T15:18:58.834Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2020-07-23T15:18:58.834Z] 5644139549e3358844d35a6dfdbf7cafe4e170bd [2020-07-23T15:18:58.834Z] latest [2020-07-23T15:18:58.834Z] 1.1.2-dev.2 [2020-07-23T15:18:58.834Z] 5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2 [2020-07-23T15:18:58.834Z] master [2020-07-23T15:18:58.834Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:18:59.332Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:5644139549e3358844d35a6dfdbf7cafe4e170bd [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:18:59.666Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:5644139549e3358844d35a6dfdbf7cafe4e170bd [2020-07-23T15:18:59.667Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-07-23T15:18:59.667Z] 236a91a87ed0: Preparing [2020-07-23T15:18:59.667Z] 85df93e8fa87: Preparing [2020-07-23T15:18:59.667Z] 18f040d1172f: Preparing [2020-07-23T15:18:59.667Z] e2f13739ad41: Preparing [2020-07-23T15:18:59.938Z] e2f13739ad41: Layer already exists [2020-07-23T15:18:59.939Z] 85df93e8fa87: Pushed [2020-07-23T15:18:59.939Z] 18f040d1172f: Pushed [2020-07-23T15:19:03.309Z] 236a91a87ed0: Pushed [2020-07-23T15:19:03.309Z] 5644139549e3358844d35a6dfdbf7cafe4e170bd: digest: sha256:37eaa06a59725183fa2e0756e372ee616e29116fbc9f3f19e9e31dd4e8493747 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:19:03.649Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:19:03.982Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-07-23T15:19:03.982Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-07-23T15:19:03.982Z] 236a91a87ed0: Preparing [2020-07-23T15:19:03.982Z] 85df93e8fa87: Preparing [2020-07-23T15:19:03.982Z] 18f040d1172f: Preparing [2020-07-23T15:19:03.982Z] e2f13739ad41: Preparing [2020-07-23T15:19:03.982Z] 236a91a87ed0: Layer already exists [2020-07-23T15:19:03.982Z] 18f040d1172f: Layer already exists [2020-07-23T15:19:03.982Z] e2f13739ad41: Layer already exists [2020-07-23T15:19:03.982Z] 85df93e8fa87: Layer already exists [2020-07-23T15:19:04.252Z] latest: digest: sha256:37eaa06a59725183fa2e0756e372ee616e29116fbc9f3f19e9e31dd4e8493747 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:19:04.588Z] + 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 [2020-07-23T15:19:04.923Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.2-dev.2 [2020-07-23T15:19:04.923Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-07-23T15:19:04.923Z] 236a91a87ed0: Preparing [2020-07-23T15:19:04.923Z] 85df93e8fa87: Preparing [2020-07-23T15:19:04.923Z] 18f040d1172f: Preparing [2020-07-23T15:19:04.923Z] e2f13739ad41: Preparing [2020-07-23T15:19:04.923Z] 85df93e8fa87: Layer already exists [2020-07-23T15:19:04.923Z] e2f13739ad41: Layer already exists [2020-07-23T15:19:04.923Z] 236a91a87ed0: Layer already exists [2020-07-23T15:19:04.923Z] 18f040d1172f: Layer already exists [2020-07-23T15:19:05.197Z] 1.1.2-dev.2: digest: sha256:37eaa06a59725183fa2e0756e372ee616e29116fbc9f3f19e9e31dd4e8493747 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:19:05.535Z] + 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 [2020-07-23T15:19:05.867Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2 [2020-07-23T15:19:05.867Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-07-23T15:19:05.867Z] 236a91a87ed0: Preparing [2020-07-23T15:19:05.867Z] 85df93e8fa87: Preparing [2020-07-23T15:19:05.867Z] 18f040d1172f: Preparing [2020-07-23T15:19:05.867Z] e2f13739ad41: Preparing [2020-07-23T15:19:05.867Z] 236a91a87ed0: Layer already exists [2020-07-23T15:19:05.867Z] 18f040d1172f: Layer already exists [2020-07-23T15:19:05.867Z] 85df93e8fa87: Layer already exists [2020-07-23T15:19:05.867Z] e2f13739ad41: Layer already exists [2020-07-23T15:19:06.137Z] 5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2: digest: sha256:37eaa06a59725183fa2e0756e372ee616e29116fbc9f3f19e9e31dd4e8493747 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:19:06.474Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:19:06.806Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2020-07-23T15:19:06.806Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-07-23T15:19:06.806Z] 236a91a87ed0: Preparing [2020-07-23T15:19:06.806Z] 85df93e8fa87: Preparing [2020-07-23T15:19:06.806Z] 18f040d1172f: Preparing [2020-07-23T15:19:06.806Z] e2f13739ad41: Preparing [2020-07-23T15:19:06.806Z] 18f040d1172f: Layer already exists [2020-07-23T15:19:06.806Z] 236a91a87ed0: Layer already exists [2020-07-23T15:19:06.806Z] e2f13739ad41: Layer already exists [2020-07-23T15:19:06.806Z] 85df93e8fa87: Layer already exists [2020-07-23T15:19:07.078Z] master: digest: sha256:37eaa06a59725183fa2e0756e372ee616e29116fbc9f3f19e9e31dd4e8493747 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-07-23T15:19:07.266Z] ===================================================== [Pipeline] echo [2020-07-23T15:19:07.306Z] taggedImages: [2020-07-23T15:19:07.306Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:5644139549e3358844d35a6dfdbf7cafe4e170bd [2020-07-23T15:19:07.306Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-07-23T15:19:07.306Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.2-dev.2 [2020-07-23T15:19:07.306Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:5644139549e3358844d35a6dfdbf7cafe4e170bd-1.1.2-dev.2 [2020-07-23T15:19:07.306Z] - 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 [2020-07-23T15:19:10.417Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-23T15:19:10.980Z] ---> package-listing.sh [2020-07-23T15:19:10.980Z] ++ facter osfamily [2020-07-23T15:19:10.980Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-23T15:19:10.980Z] + OS_FAMILY=redhat [2020-07-23T15:19:10.980Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2020-07-23T15:19:10.980Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-23T15:19:10.980Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-23T15:19:10.980Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-23T15:19:10.980Z] + PACKAGES=/tmp/packages_start.txt [2020-07-23T15:19:10.980Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-07-23T15:19:10.980Z] + PACKAGES=/tmp/packages_end.txt [2020-07-23T15:19:10.980Z] + case "${OS_FAMILY}" in [2020-07-23T15:19:10.980Z] + rpm -qa [2020-07-23T15:19:10.980Z] + sort [2020-07-23T15:19:15.192Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-23T15:19:15.192Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-23T15:19:15.192Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-23T15:19:15.192Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-07-23T15:19:15.192Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2020-07-23T15:19:15.192Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:19:15.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-23T15:19:15.885Z] [2020-07-23T15:19:15.885Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-23T15:19:16.256Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-23T15:19:16.256Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-23T15:19:16.256Z] c9b1b535fdd9: Pulling fs layer [2020-07-23T15:19:16.256Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-23T15:19:16.256Z] 756a868c4378: Pulling fs layer [2020-07-23T15:19:16.256Z] 444b2fc9a129: Pulling fs layer [2020-07-23T15:19:16.256Z] ea15f1150254: Pulling fs layer [2020-07-23T15:19:16.256Z] 41b27a9f41bf: Pulling fs layer [2020-07-23T15:19:16.256Z] 28c525ee5125: Pulling fs layer [2020-07-23T15:19:16.256Z] 094b1ea09ed8: Pulling fs layer [2020-07-23T15:19:16.256Z] 138eaada9080: Pulling fs layer [2020-07-23T15:19:16.256Z] 0622d0fa9048: Pulling fs layer [2020-07-23T15:19:16.256Z] 41b27a9f41bf: Waiting [2020-07-23T15:19:16.256Z] 28c525ee5125: Waiting [2020-07-23T15:19:16.256Z] 094b1ea09ed8: Waiting [2020-07-23T15:19:16.256Z] 138eaada9080: Waiting [2020-07-23T15:19:16.256Z] 0622d0fa9048: Waiting [2020-07-23T15:19:16.256Z] 444b2fc9a129: Waiting [2020-07-23T15:19:16.256Z] ea15f1150254: Waiting [2020-07-23T15:19:16.256Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-23T15:19:16.256Z] 2cc5ad85d9ab: Download complete [2020-07-23T15:19:16.256Z] 444b2fc9a129: Verifying Checksum [2020-07-23T15:19:16.256Z] 444b2fc9a129: Download complete [2020-07-23T15:19:16.256Z] c9b1b535fdd9: Verifying Checksum [2020-07-23T15:19:16.256Z] ea15f1150254: Verifying Checksum [2020-07-23T15:19:16.256Z] ea15f1150254: Download complete [2020-07-23T15:19:16.256Z] 28c525ee5125: Verifying Checksum [2020-07-23T15:19:16.256Z] 28c525ee5125: Download complete [2020-07-23T15:19:16.843Z] 756a868c4378: Verifying Checksum [2020-07-23T15:19:16.843Z] 756a868c4378: Download complete [2020-07-23T15:19:16.843Z] c9b1b535fdd9: Pull complete [2020-07-23T15:19:16.843Z] 138eaada9080: Verifying Checksum [2020-07-23T15:19:16.843Z] 138eaada9080: Download complete [2020-07-23T15:19:16.843Z] 0622d0fa9048: Verifying Checksum [2020-07-23T15:19:16.843Z] 0622d0fa9048: Download complete [2020-07-23T15:19:16.843Z] 094b1ea09ed8: Verifying Checksum [2020-07-23T15:19:16.843Z] 094b1ea09ed8: Download complete [2020-07-23T15:19:16.843Z] 2cc5ad85d9ab: Pull complete [2020-07-23T15:19:17.416Z] 41b27a9f41bf: Verifying Checksum [2020-07-23T15:19:17.416Z] 41b27a9f41bf: Download complete [2020-07-23T15:19:18.369Z] 756a868c4378: Pull complete [2020-07-23T15:19:18.630Z] 444b2fc9a129: Pull complete [2020-07-23T15:19:18.892Z] ea15f1150254: Pull complete [2020-07-23T15:19:23.104Z] 41b27a9f41bf: Pull complete [2020-07-23T15:19:23.104Z] 28c525ee5125: Pull complete [2020-07-23T15:19:25.652Z] 094b1ea09ed8: Pull complete [2020-07-23T15:19:25.913Z] 138eaada9080: Pull complete [2020-07-23T15:19:25.913Z] 0622d0fa9048: Pull complete [2020-07-23T15:19:26.173Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-23T15:19:26.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-23T15:19:26.173Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-23T15:19:26.313Z] prd-centos7-docker-4c-2g-726 does not seem to be running inside a container [2020-07-23T15:19:26.353Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-23T15:19:29.910Z] $ docker top c43aaecd008c39086d9327ee6d5394c7df347aea7176eb8eefaee3c3c9fcfcdb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-23T15:19:30.235Z] provisioning config files... [2020-07-23T15:19:30.251Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config674398323616475319tmp [Pipeline] { [Pipeline] echo [2020-07-23T15:19:30.416Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-23T15:19:30.708Z] ---> create-netrc.sh [Pipeline] echo [2020-07-23T15:19:30.717Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-23T15:19:31.007Z] ---> logs-deploy.sh [2020-07-23T15:19:31.007Z] + ARCHIVE_ARTIFACTS= [2020-07-23T15:19:31.007Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-23T15:19:31.007Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-23T15:19:31.007Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-23T15:19:31.007Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/14 [2020-07-23T15:19:31.007Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/14/ [2020-07-23T15:19:31.007Z] + 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 [2020-07-23T15:19:32.389Z] Archives upload complete. [2020-07-23T15:19:32.390Z] + 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/