Pull request #27 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6a789b21587e08efa5f24f48d2b3dd019da7f7d4+b106d00ae92e946d2103bc6c1464522635373c7b (40d56fcc7855ba29cdbea188808d79b914678328) 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > 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 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-492’ Running on prd-centos7-docker-4c-2g-495 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [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/dgexfoundry_device-rest-go_PR-27 # 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/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 Merge succeeded, producing 269da8e8797ab8b19895ebade1b65d9ef4306791 Checking out Revision 269da8e8797ab8b19895ebade1b65d9ef4306791 (PR-27) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # 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/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 269da8e8797ab8b19895ebade1b65d9ef4306791 # timeout=10 Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-21T23:59:13.469Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk a4275b3cc164e182c50d114cf33921416678f49f # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-21T23:59:13.686Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-21T23:59:13.760Z] ========================================================= [2020-07-21T23:59:13.760Z] EdgeX Global Pipelines Version Info [2020-07-21T23:59:13.760Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-21T23:59:15.127Z] ------------------- [2020-07-21T23:59:15.127Z] stable info: [2020-07-21T23:59:15.127Z] ------------------- [2020-07-21T23:59:15.127Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-21T23:59:15.127Z] Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 [2020-07-21T23:59:15.127Z] Message: update stable to v1.0.99 [2020-07-21T23:59:16.068Z] ------------------- [2020-07-21T23:59:16.068Z] experimental info: [2020-07-21T23:59:16.068Z] ------------------- [2020-07-21T23:59:16.068Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-21T23:59:16.068Z] Commit SHA: 78d567e8c35819a45e10bd2b75e1138b16507148 [2020-07-21T23:59:16.068Z] Message: update experimental to v1.0.101 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-07-21T23:59:18.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-21T23:59:18.014Z] [2020-07-21T23:59:18.014Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-21T23:59:18.354Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-21T23:59:18.354Z] latest: Pulling from edgex-devops/git-semver [2020-07-21T23:59:18.354Z] 31603596830f: Pulling fs layer [2020-07-21T23:59:18.354Z] 2a8b12db71e7: Pulling fs layer [2020-07-21T23:59:18.354Z] 6ca5941a6612: Pulling fs layer [2020-07-21T23:59:18.354Z] ecc8261a40a4: Pulling fs layer [2020-07-21T23:59:18.354Z] ecc8261a40a4: Waiting [2020-07-21T23:59:18.354Z] 2a8b12db71e7: Verifying Checksum [2020-07-21T23:59:18.354Z] 2a8b12db71e7: Download complete [2020-07-21T23:59:18.354Z] 31603596830f: Download complete [2020-07-21T23:59:18.617Z] ecc8261a40a4: Verifying Checksum [2020-07-21T23:59:18.617Z] ecc8261a40a4: Download complete [2020-07-21T23:59:18.617Z] 6ca5941a6612: Verifying Checksum [2020-07-21T23:59:18.617Z] 6ca5941a6612: Download complete [2020-07-21T23:59:18.617Z] 31603596830f: Pull complete [2020-07-21T23:59:18.878Z] 2a8b12db71e7: Pull complete [2020-07-21T23:59:19.821Z] 6ca5941a6612: Pull complete [2020-07-21T23:59:19.821Z] ecc8261a40a4: Pull complete [2020-07-21T23:59:19.821Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-21T23:59:19.821Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-21T23:59:19.821Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-21T23:59:19.922Z] prd-centos7-docker-4c-2g-495 does not seem to be running inside a container [2020-07-21T23:59:19.956Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-27 -v /w/workspace/dgexfoundry_device-rest-go_PR-27:/w/workspace/dgexfoundry_device-rest-go_PR-27:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-21T23:59:22.005Z] $ docker top fb12e4692a299a2105751d11d46386a8ab8d293468fd70a56b40c19dfdcf17ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-21T23:59:22.266Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-21T23:59:22.266Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-21T23:59:22.458Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-21T23:59:22.455Z] $ docker exec fb12e4692a299a2105751d11d46386a8ab8d293468fd70a56b40c19dfdcf17ba ssh-agent [2020-07-21T23:59:22.616Z] SSH_AUTH_SOCK=/tmp/ssh-unMFp2uUUv1h/agent.12 [2020-07-21T23:59:22.616Z] SSH_AGENT_PID=17 [2020-07-21T23:59:22.626Z] Running ssh-add (command line suppressed) [2020-07-21T23:59:22.734Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_6653393071659810131.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_6653393071659810131.key) [2020-07-21T23:59:22.788Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-21T23:59:23.115Z] + git describe --exact-match --tags HEAD [2020-07-21T23:59:23.116Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-21T23:59:23.164Z] $ docker exec --env ******** --env ******** fb12e4692a299a2105751d11d46386a8ab8d293468fd70a56b40c19dfdcf17ba ssh-agent -k [2020-07-21T23:59:23.282Z] unset SSH_AUTH_SOCK; [2020-07-21T23:59:23.283Z] unset SSH_AGENT_PID; [2020-07-21T23:59:23.283Z] echo Agent pid 17 killed; [2020-07-21T23:59:23.334Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-21T23:59:23.428Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-21T23:59:23.428Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-21T23:59:23.502Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-21T23:59:23.502Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-21T23:59:23.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-21T23:59:23.658Z] $ docker exec fb12e4692a299a2105751d11d46386a8ab8d293468fd70a56b40c19dfdcf17ba ssh-agent [2020-07-21T23:59:23.818Z] SSH_AUTH_SOCK=/tmp/ssh-E9MsYNkVirlj/agent.46 [2020-07-21T23:59:23.818Z] SSH_AGENT_PID=51 [2020-07-21T23:59:23.824Z] Running ssh-add (command line suppressed) [2020-07-21T23:59:23.930Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_839234599075994700.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_839234599075994700.key) [2020-07-21T23:59:23.982Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-21T23:59:24.302Z] + git semver init [2020-07-21T23:59:24.302Z] # -> Open(): unable to determine branch for HEAD [2020-07-21T23:59:24.302Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.git [2020-07-21T23:59:24.302Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-27 [2020-07-21T23:59:24.302Z] # $SEMVER_REMOTE_NAME = origin [2020-07-21T23:59:24.302Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-21T23:59:24.302Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-21T23:59:24.302Z] # $SEMVER_BRANCH = PR-27 [2020-07-21T23:59:24.302Z] # $SEMVER_TEMP = /tmp/semver-262230358 [2020-07-21T23:59:24.302Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-07-21T23:59:25.246Z] # '/tmp/semver-262230358' -> '/w/workspace/dgexfoundry_device-rest-go_PR-27/.semver' [2020-07-21T23:59:25.247Z] # -> Force: false [2020-07-21T23:59:25.247Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.semver [Pipeline] } [2020-07-21T23:59:25.251Z] $ docker exec --env ******** --env ******** fb12e4692a299a2105751d11d46386a8ab8d293468fd70a56b40c19dfdcf17ba ssh-agent -k [2020-07-21T23:59:25.361Z] unset SSH_AUTH_SOCK; [2020-07-21T23:59:25.361Z] unset SSH_AGENT_PID; [2020-07-21T23:59:25.362Z] echo Agent pid 51 killed; [2020-07-21T23:59:25.409Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-21T23:59:25.874Z] + git semver [Pipeline] } [2020-07-21T23:59:25.884Z] $ docker stop --time=1 fb12e4692a299a2105751d11d46386a8ab8d293468fd70a56b40c19dfdcf17ba [2020-07-21T23:59:27.249Z] $ docker rm -f fb12e4692a299a2105751d11d46386a8ab8d293468fd70a56b40c19dfdcf17ba [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-21T23:59:28.671Z] Stashed 17 file(s) [Pipeline] echo [2020-07-21T23:59:28.673Z] [edgeXSemver] initialized semver on version 0.0.0 [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-21T23:59:43.899Z] Still waiting to schedule task [2020-07-21T23:59:43.899Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-07-21T23:59:43.900Z] Still waiting to schedule task [2020-07-21T23:59:43.901Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-493’ is offline [2020-07-22T00:01:13.510Z] Running on prd-centos7-docker-4c-2g-497 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws [2020-07-22T00:01:13.586Z] Running in /w/workspace/device-rest-go/11 [Pipeline] { [Pipeline] checkout [2020-07-22T00:01:13.693Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-496 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws [2020-07-22T00:01:13.734Z] Running in /w/workspace/device-rest-go/11 [Pipeline] { [Pipeline] checkout [2020-07-22T00:01:16.533Z] using credential edgex-jenkins-ssh [2020-07-22T00:01:16.578Z] Cloning the remote Git repository [2020-07-22T00:01:16.578Z] Cloning with configured refspecs honoured and without tags [2020-07-22T00:01:16.599Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-07-22T00:01:16.661Z] > git init /w/workspace/device-rest-go/11 # timeout=10 [2020-07-22T00:01:16.704Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-22T00:01:16.705Z] > git --version # timeout=10 [2020-07-22T00:01:16.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T00:01:16.739Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T00:01:17.684Z] Fetching without tags [2020-07-22T00:01:18.063Z] Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 [2020-07-22T00:01:18.146Z] Merge succeeded, producing d63707b02dacb34c2b9bc23db1a8e194f4dd3371 [2020-07-22T00:01:18.147Z] Checking out Revision d63707b02dacb34c2b9bc23db1a8e194f4dd3371 (PR-27) [2020-07-22T00:01:17.653Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-22T00:01:17.660Z] > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 [2020-07-22T00:01:17.665Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T00:01:17.675Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-22T00:01:17.685Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-22T00:01:17.685Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T00:01:17.689Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T00:01:18.068Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T00:01:18.072Z] > git checkout -f 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 # timeout=10 [2020-07-22T00:01:18.102Z] > git remote # timeout=10 [2020-07-22T00:01:18.107Z] > git config --get remote.origin.url # timeout=10 [2020-07-22T00:01:18.118Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T00:01:18.121Z] > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 [2020-07-22T00:01:18.137Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-22T00:01:18.147Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T00:01:18.154Z] > git checkout -f d63707b02dacb34c2b9bc23db1a8e194f4dd3371 # timeout=10 [2020-07-22T00:01:18.674Z] using credential edgex-jenkins-ssh [2020-07-22T00:01:18.723Z] Cloning the remote Git repository [2020-07-22T00:01:18.723Z] Cloning with configured refspecs honoured and without tags [2020-07-22T00:01:18.780Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-07-22T00:01:18.882Z] > git init /w/workspace/device-rest-go/11 # timeout=10 [2020-07-22T00:01:18.943Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-22T00:01:18.944Z] > git --version # timeout=10 [2020-07-22T00:01:18.970Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T00:01:19.017Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T00:01:20.590Z] Fetching without tags [2020-07-22T00:01:21.085Z] Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 [2020-07-22T00:01:21.401Z] Merge succeeded, producing 7b9ef4242e72135a412d86d56b5e517e72598b56 [2020-07-22T00:01:21.402Z] Checking out Revision 7b9ef4242e72135a412d86d56b5e517e72598b56 (PR-27) [2020-07-22T00:01:20.504Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-22T00:01:20.519Z] > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 [2020-07-22T00:01:20.539Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T00:01:20.564Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-22T00:01:20.599Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-22T00:01:20.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T00:01:20.619Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T00:01:21.102Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T00:01:21.119Z] > git checkout -f 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 # timeout=10 [2020-07-22T00:01:21.192Z] > git remote # timeout=10 [2020-07-22T00:01:21.254Z] > git config --get remote.origin.url # timeout=10 [2020-07-22T00:01:21.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T00:01:21.306Z] > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 [2020-07-22T00:01:21.367Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-22T00:01:21.406Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T00:01:21.456Z] > git checkout -f 7b9ef4242e72135a412d86d56b5e517e72598b56 # timeout=10 [2020-07-22T00:01:21.760Z] Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" [2020-07-22T00:01:21.769Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-07-22T00:01:21.760Z] > git rev-list --no-walk a4275b3cc164e182c50d114cf33921416678f49f # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-22T00:01:22.829Z] ========================================================= [2020-07-22T00:01:22.829Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-22T00:01:22.829Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-22T00:01:23.724Z] + 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-22T00:01:23.989Z] Sending build context to Docker daemon 8.03MB [2020-07-22T00:01:23.989Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-07-22T00:01:23.989Z] Step 2/10 : FROM ${BASE} [2020-07-22T00:01:24.257Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-22T00:01:24.257Z] df20fa9351a1: Pulling fs layer [2020-07-22T00:01:24.257Z] ed8968b2872e: Pulling fs layer [2020-07-22T00:01:24.257Z] a92cc7c5fd73: Pulling fs layer [2020-07-22T00:01:24.257Z] 2dd03ba5bac4: Pulling fs layer [2020-07-22T00:01:24.257Z] 1e091d79d1de: Pulling fs layer [2020-07-22T00:01:24.257Z] 481702a1767f: Pulling fs layer [2020-07-22T00:01:24.257Z] f64a6f60c768: Pulling fs layer [2020-07-22T00:01:24.257Z] e78d2573fc39: Pulling fs layer [2020-07-22T00:01:24.257Z] e876d2f968b6: Pulling fs layer [2020-07-22T00:01:24.257Z] ce8a83651883: Pulling fs layer [2020-07-22T00:01:24.257Z] 07967f4d0e4b: Pulling fs layer [2020-07-22T00:01:24.257Z] f64a6f60c768: Waiting [2020-07-22T00:01:24.257Z] e78d2573fc39: Waiting [2020-07-22T00:01:24.257Z] e876d2f968b6: Waiting [2020-07-22T00:01:24.257Z] 1e091d79d1de: Waiting [2020-07-22T00:01:24.257Z] ce8a83651883: Waiting [2020-07-22T00:01:24.257Z] 481702a1767f: Waiting [2020-07-22T00:01:24.257Z] 07967f4d0e4b: Waiting [2020-07-22T00:01:24.257Z] 2dd03ba5bac4: Waiting [2020-07-22T00:01:24.257Z] a92cc7c5fd73: Download complete [2020-07-22T00:01:24.257Z] ed8968b2872e: Verifying Checksum [2020-07-22T00:01:24.257Z] ed8968b2872e: Download complete [2020-07-22T00:01:24.257Z] 1e091d79d1de: Verifying Checksum [2020-07-22T00:01:24.257Z] 1e091d79d1de: Download complete [2020-07-22T00:01:24.257Z] 481702a1767f: Download complete [2020-07-22T00:01:24.257Z] df20fa9351a1: Verifying Checksum [2020-07-22T00:01:24.257Z] df20fa9351a1: Download complete [2020-07-22T00:01:24.854Z] df20fa9351a1: Pull complete [2020-07-22T00:01:25.450Z] f64a6f60c768: Verifying Checksum [2020-07-22T00:01:25.450Z] f64a6f60c768: Download complete [2020-07-22T00:01:25.450Z] e876d2f968b6: Verifying Checksum [2020-07-22T00:01:25.450Z] e876d2f968b6: Download complete [2020-07-22T00:01:25.627Z] Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" [2020-07-22T00:01:25.655Z] First time build. Skipping changelog. [2020-07-22T00:01:25.634Z] > git rev-list --no-walk a4275b3cc164e182c50d114cf33921416678f49f # timeout=10 [Pipeline] withEnv [Pipeline] { [2020-07-22T00:01:26.025Z] e78d2573fc39: Verifying Checksum [2020-07-22T00:01:26.025Z] e78d2573fc39: Download complete [2020-07-22T00:01:26.025Z] 07967f4d0e4b: Verifying Checksum [2020-07-22T00:01:26.025Z] 07967f4d0e4b: Download complete [2020-07-22T00:01:26.025Z] ce8a83651883: Verifying Checksum [2020-07-22T00:01:26.025Z] ce8a83651883: Download complete [2020-07-22T00:01:26.025Z] 2dd03ba5bac4: Verifying Checksum [2020-07-22T00:01:26.025Z] 2dd03ba5bac4: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-07-22T00:01:26.604Z] ed8968b2872e: Pull complete [2020-07-22T00:01:26.866Z] a92cc7c5fd73: Pull complete [Pipeline] echo [2020-07-22T00:01:27.587Z] ========================================================= [2020-07-22T00:01:27.587Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-22T00:01:27.587Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-22T00:01:28.655Z] + 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-22T00:01:29.651Z] Sending build context to Docker daemon 8.03MB [2020-07-22T00:01:29.651Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-07-22T00:01:29.651Z] Step 2/10 : FROM ${BASE} [2020-07-22T00:01:29.925Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-22T00:01:29.925Z] b538f80385f9: Pulling fs layer [2020-07-22T00:01:29.925Z] 74f711af9a0d: Pulling fs layer [2020-07-22T00:01:29.925Z] 99f96fe45779: Pulling fs layer [2020-07-22T00:01:29.925Z] fd7a069fd194: Pulling fs layer [2020-07-22T00:01:29.925Z] 66aa3694b03b: Pulling fs layer [2020-07-22T00:01:29.925Z] 170f70906a0f: Pulling fs layer [2020-07-22T00:01:29.925Z] ad7c5574e4b9: Pulling fs layer [2020-07-22T00:01:29.925Z] e772456be8f7: Pulling fs layer [2020-07-22T00:01:29.925Z] c890913d741a: Pulling fs layer [2020-07-22T00:01:29.925Z] 2480fcc9aa5a: Pulling fs layer [2020-07-22T00:01:29.925Z] 09adf4765672: Pulling fs layer [2020-07-22T00:01:29.925Z] fd7a069fd194: Waiting [2020-07-22T00:01:29.925Z] ad7c5574e4b9: Waiting [2020-07-22T00:01:29.925Z] e772456be8f7: Waiting [2020-07-22T00:01:29.925Z] 66aa3694b03b: Waiting [2020-07-22T00:01:29.925Z] 170f70906a0f: Waiting [2020-07-22T00:01:29.925Z] c890913d741a: Waiting [2020-07-22T00:01:29.925Z] 2480fcc9aa5a: Waiting [2020-07-22T00:01:29.925Z] 09adf4765672: Waiting [2020-07-22T00:01:29.925Z] 99f96fe45779: Verifying Checksum [2020-07-22T00:01:29.925Z] 99f96fe45779: Download complete [2020-07-22T00:01:29.925Z] 74f711af9a0d: Verifying Checksum [2020-07-22T00:01:29.925Z] 74f711af9a0d: Download complete [2020-07-22T00:01:29.925Z] 66aa3694b03b: Download complete [2020-07-22T00:01:29.925Z] 170f70906a0f: Verifying Checksum [2020-07-22T00:01:29.925Z] 170f70906a0f: Download complete [2020-07-22T00:01:29.925Z] b538f80385f9: Verifying Checksum [2020-07-22T00:01:29.925Z] b538f80385f9: Download complete [2020-07-22T00:01:30.936Z] b538f80385f9: Pull complete [2020-07-22T00:01:31.542Z] 74f711af9a0d: Pull complete [2020-07-22T00:01:31.818Z] 99f96fe45779: Pull complete [2020-07-22T00:01:32.186Z] 2dd03ba5bac4: Pull complete [2020-07-22T00:01:32.417Z] ad7c5574e4b9: Verifying Checksum [2020-07-22T00:01:32.417Z] ad7c5574e4b9: Download complete [2020-07-22T00:01:32.447Z] 1e091d79d1de: Pull complete [2020-07-22T00:01:32.447Z] 481702a1767f: Pull complete [2020-07-22T00:01:32.693Z] c890913d741a: Verifying Checksum [2020-07-22T00:01:32.693Z] c890913d741a: Download complete [2020-07-22T00:01:34.133Z] 2480fcc9aa5a: Verifying Checksum [2020-07-22T00:01:34.133Z] 2480fcc9aa5a: Download complete [2020-07-22T00:01:34.133Z] 09adf4765672: Verifying Checksum [2020-07-22T00:01:34.133Z] 09adf4765672: Download complete [2020-07-22T00:01:35.117Z] e772456be8f7: Verifying Checksum [2020-07-22T00:01:35.117Z] e772456be8f7: Download complete [2020-07-22T00:01:35.390Z] fd7a069fd194: Verifying Checksum [2020-07-22T00:01:35.390Z] fd7a069fd194: Download complete [2020-07-22T00:01:39.063Z] f64a6f60c768: Pull complete [2020-07-22T00:01:42.397Z] e78d2573fc39: Pull complete [2020-07-22T00:01:42.397Z] e876d2f968b6: Pull complete [2020-07-22T00:01:43.344Z] ce8a83651883: Pull complete [2020-07-22T00:01:43.606Z] 07967f4d0e4b: Pull complete [2020-07-22T00:01:43.606Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-07-22T00:01:43.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-22T00:01:43.606Z] ---> 5d7c900382c6 [2020-07-22T00:01:43.606Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-07-22T00:01:45.529Z] ---> Running in 0cc2490165f8 [2020-07-22T00:01:45.529Z] Removing intermediate container 0cc2490165f8 [2020-07-22T00:01:45.529Z] ---> 36467f5c0a2a [2020-07-22T00:01:45.529Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-07-22T00:01:45.529Z] ---> Running in bd83aa92e72a [2020-07-22T00:01:45.529Z] Removing intermediate container bd83aa92e72a [2020-07-22T00:01:45.529Z] ---> c10a04abf25f [2020-07-22T00:01:45.529Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-22T00:01:45.529Z] ---> Running in 305bb5c0ad1c [2020-07-22T00:01:45.792Z] Removing intermediate container 305bb5c0ad1c [2020-07-22T00:01:45.792Z] ---> deeeef3b0221 [2020-07-22T00:01:45.792Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T00:01:45.792Z] ---> Running in 8dba48e30e89 [2020-07-22T00:01:47.185Z] Removing intermediate container 8dba48e30e89 [2020-07-22T00:01:47.185Z] ---> 5b74d79a86ea [2020-07-22T00:01:47.185Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-22T00:01:47.185Z] ---> Running in fe5f9576f0f2 [2020-07-22T00:01:47.761Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-22T00:01:47.794Z] fd7a069fd194: Pull complete [2020-07-22T00:01:47.794Z] 66aa3694b03b: Pull complete [2020-07-22T00:01:47.794Z] 170f70906a0f: Pull complete [2020-07-22T00:01:48.333Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-22T00:01:48.595Z] OK: 166 MiB in 39 packages [2020-07-22T00:01:48.855Z] Removing intermediate container fe5f9576f0f2 [2020-07-22T00:01:48.855Z] ---> 91557b190cb5 [2020-07-22T00:01:48.856Z] Step 8/10 : WORKDIR /device-rest-go [2020-07-22T00:01:48.856Z] ---> Running in 2f6e460b34a7 [2020-07-22T00:01:49.118Z] Removing intermediate container 2f6e460b34a7 [2020-07-22T00:01:49.118Z] ---> 386587f14cbb [2020-07-22T00:01:49.118Z] Step 9/10 : COPY . . [2020-07-22T00:01:49.691Z] ---> 0ce9c7542621 [2020-07-22T00:01:49.691Z] Step 10/10 : RUN go mod download [2020-07-22T00:01:49.691Z] ---> Running in 6124c8c1caa2 [2020-07-22T00:01:51.187Z] ad7c5574e4b9: Pull complete [2020-07-22T00:01:52.235Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-22T00:01:52.235Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-22T00:01:52.235Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-22T00:01:52.235Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-22T00:01:52.235Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-22T00:01:52.235Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-22T00:01:52.235Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-22T00:01:52.235Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-22T00:01:52.235Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-07-22T00:01:52.235Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-07-22T00:01:52.235Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-22T00:01:52.235Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-22T00:01:52.235Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-22T00:01:52.235Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-22T00:01:52.235Z] go: finding github.com/fatih/color v1.7.0 [2020-07-22T00:01:52.235Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-22T00:01:52.235Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-22T00:01:52.235Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-22T00:01:52.235Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-22T00:01:52.235Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-22T00:01:52.496Z] go: finding github.com/google/uuid v1.1.0 [2020-07-22T00:01:52.496Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-22T00:01:52.496Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-22T00:01:52.496Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-22T00:01:52.496Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-22T00:01:52.496Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-22T00:01:52.496Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-22T00:01:52.496Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-22T00:01:52.496Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-22T00:01:52.496Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-22T00:01:52.758Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-22T00:01:52.758Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-22T00:01:52.758Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-22T00:01:52.758Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-22T00:01:52.758Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-22T00:01:52.758Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-22T00:01:52.758Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-22T00:01:52.758Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-22T00:01:52.758Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-22T00:01:52.758Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-22T00:01:52.758Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-22T00:01:53.018Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-22T00:01:53.018Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-22T00:01:53.018Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-22T00:01:53.018Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-22T00:01:53.018Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-22T00:01:53.018Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-22T00:01:53.018Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-22T00:01:53.018Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-22T00:01:53.018Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-22T00:01:53.018Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-22T00:01:53.285Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-22T00:01:53.285Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-22T00:01:53.285Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-22T00:01:53.285Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-22T00:01:53.285Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-22T00:01:53.285Z] go: finding github.com/posener/complete v1.1.1 [2020-07-22T00:01:53.286Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-22T00:01:53.286Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-22T00:01:53.286Z] go: finding github.com/spf13/cast v1.3.0 [2020-07-22T00:01:53.286Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-22T00:01:53.286Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-22T00:01:53.286Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-22T00:01:53.547Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-22T00:01:53.547Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-22T00:01:53.547Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-22T00:01:53.547Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-22T00:01:53.547Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-22T00:01:53.547Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-22T00:01:53.547Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-22T00:01:55.505Z] e772456be8f7: Pull complete [2020-07-22T00:01:55.505Z] c890913d741a: Pull complete [2020-07-22T00:01:58.142Z] 2480fcc9aa5a: Pull complete [2020-07-22T00:01:58.417Z] 09adf4765672: Pull complete [2020-07-22T00:01:58.417Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-07-22T00:01:58.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-22T00:01:58.417Z] ---> 2248a725d1cf [2020-07-22T00:01:58.417Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-07-22T00:02:01.705Z] Removing intermediate container 6124c8c1caa2 [2020-07-22T00:02:01.705Z] ---> bf911044c1d6 [2020-07-22T00:02:01.705Z] Successfully built bf911044c1d6 [2020-07-22T00:02:01.705Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-22T00:02:02.464Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-22T00:02:02.464Z] . [Pipeline] withDockerContainer [2020-07-22T00:02:02.570Z] prd-centos7-docker-4c-2g-497 does not seem to be running inside a container [2020-07-22T00:02:02.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/11 -v /w/workspace/device-rest-go/11:/w/workspace/device-rest-go/11:rw,z -v /w/workspace/device-rest-go/11@tmp:/w/workspace/device-rest-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-07-22T00:02:03.653Z] $ docker top b55d9d13c0238a08ccbe206769d13d30f72d5f5e04001217eede82a31bb65ae9 -eo pid,comm [Pipeline] { [2020-07-22T00:02:03.824Z] ---> Running in 174261d0dc34 [Pipeline] sh [2020-07-22T00:02:04.096Z] Removing intermediate container 174261d0dc34 [2020-07-22T00:02:04.096Z] ---> 98d310491996 [2020-07-22T00:02:04.096Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-07-22T00:02:04.096Z] ---> Running in 3017d4342dba [2020-07-22T00:02:04.136Z] + go version [2020-07-22T00:02:04.136Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-07-22T00:02:04.434Z] + make test [2020-07-22T00:02:04.434Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-22T00:02:04.691Z] Removing intermediate container 3017d4342dba [2020-07-22T00:02:04.691Z] ---> 6f6d4edd80d7 [2020-07-22T00:02:04.691Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-22T00:02:04.691Z] ---> Running in c9a2d3529372 [2020-07-22T00:02:05.286Z] Removing intermediate container c9a2d3529372 [2020-07-22T00:02:05.286Z] ---> 598d5d2a3dde [2020-07-22T00:02:05.286Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T00:02:05.286Z] ---> Running in 3f66b6f6d4c5 [2020-07-22T00:02:05.394Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-07-22T00:02:07.911Z] Removing intermediate container 3f66b6f6d4c5 [2020-07-22T00:02:07.911Z] ---> 3a3a7d5de3a8 [2020-07-22T00:02:07.911Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-22T00:02:07.911Z] ---> Running in 445868d20710 [2020-07-22T00:02:09.344Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-22T00:02:10.322Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-22T00:02:10.916Z] OK: 142 MiB in 39 packages [2020-07-22T00:02:11.892Z] Removing intermediate container 445868d20710 [2020-07-22T00:02:11.892Z] ---> c949b3f693ea [2020-07-22T00:02:11.892Z] Step 8/10 : WORKDIR /device-rest-go [2020-07-22T00:02:12.164Z] ---> Running in 35c56f7f70e9 [2020-07-22T00:02:12.449Z] Removing intermediate container 35c56f7f70e9 [2020-07-22T00:02:12.449Z] ---> d4aaa6eda0f5 [2020-07-22T00:02:12.449Z] Step 9/10 : COPY . . [2020-07-22T00:02:13.884Z] ---> fd057c5d7169 [2020-07-22T00:02:13.885Z] Step 10/10 : RUN go mod download [2020-07-22T00:02:13.885Z] ---> Running in 25c8cfc992e6 [2020-07-22T00:02:15.498Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-07-22T00:02:15.759Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 56.3% of statements [2020-07-22T00:02:16.019Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-22T00:02:16.492Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-22T00:02:16.492Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-22T00:02:16.492Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-22T00:02:16.492Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-22T00:02:16.492Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-22T00:02:16.492Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-22T00:02:16.763Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-22T00:02:16.763Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-22T00:02:16.763Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-07-22T00:02:16.763Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-07-22T00:02:16.763Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-22T00:02:16.763Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-22T00:02:16.763Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-22T00:02:16.763Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-22T00:02:16.763Z] go: finding github.com/fatih/color v1.7.0 [2020-07-22T00:02:16.763Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-22T00:02:16.763Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-22T00:02:17.033Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-22T00:02:17.033Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-22T00:02:17.033Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-22T00:02:17.033Z] go: finding github.com/google/uuid v1.1.0 [2020-07-22T00:02:17.033Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-22T00:02:17.033Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-22T00:02:17.033Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-22T00:02:17.033Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-22T00:02:17.033Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-22T00:02:17.033Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-22T00:02:17.033Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-22T00:02:17.033Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-22T00:02:17.304Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-22T00:02:17.304Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-22T00:02:17.304Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-22T00:02:17.304Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-22T00:02:17.304Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-22T00:02:17.304Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-22T00:02:17.304Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-22T00:02:17.304Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-22T00:02:17.304Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-22T00:02:17.304Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-22T00:02:17.304Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-22T00:02:17.573Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-22T00:02:17.574Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-22T00:02:17.574Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-22T00:02:17.574Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-22T00:02:17.574Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-22T00:02:17.574Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-22T00:02:17.574Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-22T00:02:17.574Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-22T00:02:17.574Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-22T00:02:17.574Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-22T00:02:17.574Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-22T00:02:17.574Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-22T00:02:17.844Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-22T00:02:17.844Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-22T00:02:17.844Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-22T00:02:17.844Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-22T00:02:17.844Z] go: finding github.com/posener/complete v1.1.1 [2020-07-22T00:02:17.844Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-22T00:02:17.844Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-22T00:02:17.844Z] go: finding github.com/spf13/cast v1.3.0 [2020-07-22T00:02:17.844Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-22T00:02:17.844Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-22T00:02:17.844Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-22T00:02:17.844Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-22T00:02:17.963Z] gofmt -l . [2020-07-22T00:02:17.963Z] [ "`gofmt -l .`" = "" ] [2020-07-22T00:02:17.963Z] ./bin/test-go-mod-tidy.sh [2020-07-22T00:02:18.119Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-22T00:02:18.119Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-22T00:02:18.119Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-22T00:02:18.119Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-22T00:02:18.119Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-22T00:02:18.119Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-22T00:02:18.224Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-07-22T00:02:19.076Z] Stashed 1 file(s) [Pipeline] } [2020-07-22T00:02:19.078Z] $ docker stop --time=1 b55d9d13c0238a08ccbe206769d13d30f72d5f5e04001217eede82a31bb65ae9 [2020-07-22T00:02:21.131Z] $ docker rm -f b55d9d13c0238a08ccbe206769d13d30f72d5f5e04001217eede82a31bb65ae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-22T00:02:24.134Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-22T00:02:24.425Z] + ls -al . [2020-07-22T00:02:24.426Z] total 96 [2020-07-22T00:02:24.426Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jul 22 00:02 . [2020-07-22T00:02:24.426Z] drwxrwxr-x. 4 jenkins jenkins 30 Jul 22 00:01 .. [2020-07-22T00:02:24.426Z] -rw-rw-r--. 1 jenkins jenkins 4802 Jul 22 00:01 Attribution.txt [2020-07-22T00:02:24.426Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 22 00:01 bin [2020-07-22T00:02:24.426Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 22 00:01 cmd [2020-07-22T00:02:24.426Z] -rw-r--r--. 1 jenkins jenkins 9369 Jul 22 00:02 coverage.out [2020-07-22T00:02:24.426Z] -rw-rw-r--. 1 jenkins jenkins 1504 Jul 22 00:01 Dockerfile [2020-07-22T00:02:24.426Z] -rw-rw-r--. 1 jenkins jenkins 989 Jul 22 00:01 Dockerfile.build [2020-07-22T00:02:24.426Z] -rw-rw-r--. 1 jenkins jenkins 151 Jul 22 00:01 .dockerignore [2020-07-22T00:02:24.426Z] drwxrwxr-x. 2 jenkins jenkins 93 Jul 22 00:02 driver [2020-07-22T00:02:24.426Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 22 00:01 .git [2020-07-22T00:02:24.426Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 22 00:01 .github [2020-07-22T00:02:24.426Z] -rw-rw-r--. 1 jenkins jenkins 339 Jul 22 00:01 .gitignore [2020-07-22T00:02:24.426Z] -rw-r--r--. 1 jenkins jenkins 266 Jul 22 00:02 go.mod [2020-07-22T00:02:24.426Z] -rw-r--r--. 1 jenkins jenkins 12533 Jul 22 00:02 go.sum [2020-07-22T00:02:24.426Z] -rw-rw-r--. 1 jenkins jenkins 702 Jul 22 00:01 Jenkinsfile [2020-07-22T00:02:24.426Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 22 00:01 LICENSE [2020-07-22T00:02:24.426Z] -rw-rw-r--. 1 jenkins jenkins 951 Jul 22 00:01 Makefile [2020-07-22T00:02:24.426Z] -rw-rw-r--. 1 jenkins jenkins 5716 Jul 22 00:01 README.md [2020-07-22T00:02:24.426Z] drwxrwxr-x. 3 jenkins jenkins 45 Jul 22 00:01 .semver [2020-07-22T00:02:24.426Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 22 00:01 snap [2020-07-22T00:02:24.426Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 21 23:59 VERSION [2020-07-22T00:02:24.426Z] -rw-rw-r--. 1 jenkins jenkins 713 Jul 22 00:01 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-22T00:02:24.724Z] + 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=269da8e8797ab8b19895ebade1b65d9ef4306791 --label arch=amd64 --label version=0.0.0 . [2020-07-22T00:02:24.724Z] Sending build context to Docker daemon 8.042MB [2020-07-22T00:02:24.724Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-07-22T00:02:24.724Z] Step 2/24 : FROM ${BASE} AS builder [2020-07-22T00:02:24.724Z] ---> bf911044c1d6 [2020-07-22T00:02:24.724Z] Step 3/24 : ARG MAKE='make build' [2020-07-22T00:02:24.986Z] ---> Running in 1bde5090a4d5 [2020-07-22T00:02:24.986Z] Removing intermediate container 1bde5090a4d5 [2020-07-22T00:02:24.986Z] ---> 2a292dbdc258 [2020-07-22T00:02:24.986Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-07-22T00:02:25.248Z] ---> Running in e01658c545c7 [2020-07-22T00:02:25.248Z] Removing intermediate container e01658c545c7 [2020-07-22T00:02:25.248Z] ---> 9ae29b506d70 [2020-07-22T00:02:25.248Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-07-22T00:02:25.508Z] ---> Running in 3dd99f2f76c8 [2020-07-22T00:02:25.508Z] Removing intermediate container 3dd99f2f76c8 [2020-07-22T00:02:25.508Z] ---> ddbd3fe3da88 [2020-07-22T00:02:25.508Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T00:02:25.508Z] ---> Running in aeed9e89e27e [2020-07-22T00:02:26.454Z] Removing intermediate container aeed9e89e27e [2020-07-22T00:02:26.454Z] ---> 546a0adaa680 [2020-07-22T00:02:26.454Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-22T00:02:26.454Z] ---> Running in a0b0f60b01b4 [2020-07-22T00:02:27.031Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-22T00:02:27.603Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-22T00:02:27.865Z] OK: 166 MiB in 39 packages [2020-07-22T00:02:28.281Z] Removing intermediate container 25c8cfc992e6 [2020-07-22T00:02:28.281Z] ---> 4bd4085eec0d [2020-07-22T00:02:28.281Z] Successfully built 4bd4085eec0d [2020-07-22T00:02:28.281Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-07-22T00:02:28.441Z] Removing intermediate container a0b0f60b01b4 [2020-07-22T00:02:28.441Z] ---> 9510abbd9af0 [2020-07-22T00:02:28.441Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-07-22T00:02:28.441Z] ---> Running in 5a2ec571d6fa [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-22T00:02:28.702Z] Removing intermediate container 5a2ec571d6fa [2020-07-22T00:02:28.702Z] ---> d902456dfcc5 [2020-07-22T00:02:28.702Z] Step 9/24 : COPY go.mod . [2020-07-22T00:02:28.702Z] ---> be6d92004b38 [2020-07-22T00:02:28.702Z] Step 10/24 : COPY Makefile . [2020-07-22T00:02:28.922Z] + docker inspect -f . ci-base-image-arm64 [2020-07-22T00:02:28.922Z] . [Pipeline] withDockerContainer [2020-07-22T00:02:28.977Z] ---> f15466cd5652 [2020-07-22T00:02:28.977Z] Step 11/24 : RUN make update [2020-07-22T00:02:28.977Z] ---> Running in 1731f71558a4 [2020-07-22T00:02:29.205Z] prd-ubuntu18.04-docker-arm64-4c-16g-496 does not seem to be running inside a container [2020-07-22T00:02:29.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/11 -v /w/workspace/device-rest-go/11:/w/workspace/device-rest-go/11:rw,z -v /w/workspace/device-rest-go/11@tmp:/w/workspace/device-rest-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-07-22T00:02:29.554Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-07-22T00:02:30.135Z] Removing intermediate container 1731f71558a4 [2020-07-22T00:02:30.135Z] ---> f4ee257d43fe [2020-07-22T00:02:30.135Z] Step 12/24 : COPY . . [2020-07-22T00:02:31.082Z] ---> d958b0c01562 [2020-07-22T00:02:31.082Z] Step 13/24 : RUN $MAKE [2020-07-22T00:02:31.082Z] ---> Running in 77079c10fc30 [2020-07-22T00:02:31.209Z] $ docker top 376442f83b9fda8f9d8bbb23ce9e5e79205ccc1c8562703622283c1c3ef204de -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-22T00:02:31.660Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-07-22T00:02:32.624Z] + go version [2020-07-22T00:02:32.624Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-07-22T00:02:33.679Z] + make test [2020-07-22T00:02:33.679Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-22T00:02:34.665Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-07-22T00:02:44.016Z] Removing intermediate container 77079c10fc30 [2020-07-22T00:02:44.016Z] ---> fbc58cdf5c3c [2020-07-22T00:02:44.016Z] Step 14/24 : FROM alpine:latest [2020-07-22T00:02:44.016Z] latest: Pulling from library/alpine [2020-07-22T00:02:44.016Z] df20fa9351a1: Already exists [2020-07-22T00:02:44.016Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-07-22T00:02:44.016Z] Status: Downloaded newer image for alpine:latest [2020-07-22T00:02:44.016Z] ---> a24bb4013296 [2020-07-22T00:02:44.016Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-22T00:02:44.016Z] ---> Running in 040c31399d2c [2020-07-22T00:02:44.016Z] Removing intermediate container 040c31399d2c [2020-07-22T00:02:44.016Z] ---> fa9263fc1e07 [2020-07-22T00:02:44.016Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-07-22T00:02:44.016Z] ---> Running in aa172346f216 [2020-07-22T00:02:44.016Z] Removing intermediate container aa172346f216 [2020-07-22T00:02:44.016Z] ---> b999e1ceeb01 [2020-07-22T00:02:44.016Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-07-22T00:02:44.016Z] ---> 27293432f1d8 [2020-07-22T00:02:44.016Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-07-22T00:02:44.016Z] ---> 0823cfd4ac82 [2020-07-22T00:02:44.016Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-07-22T00:02:44.588Z] ---> ecff7bebf82a [2020-07-22T00:02:44.588Z] Step 20/24 : EXPOSE 49986 [2020-07-22T00:02:44.588Z] ---> Running in 481484173eec [2020-07-22T00:02:44.588Z] Removing intermediate container 481484173eec [2020-07-22T00:02:44.588Z] ---> b3731c2b2bb2 [2020-07-22T00:02:44.588Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-07-22T00:02:44.588Z] ---> Running in cab40065be0d [2020-07-22T00:02:44.849Z] Removing intermediate container cab40065be0d [2020-07-22T00:02:44.849Z] ---> a89ebf4709cb [2020-07-22T00:02:44.849Z] Step 22/24 : LABEL arch=amd64 [2020-07-22T00:02:44.849Z] ---> Running in de97ff25c541 [2020-07-22T00:02:45.110Z] Removing intermediate container de97ff25c541 [2020-07-22T00:02:45.110Z] ---> 446f050f7754 [2020-07-22T00:02:45.110Z] Step 23/24 : LABEL git_sha=269da8e8797ab8b19895ebade1b65d9ef4306791 [2020-07-22T00:02:45.110Z] ---> Running in cb0181b7e710 [2020-07-22T00:02:45.110Z] Removing intermediate container cb0181b7e710 [2020-07-22T00:02:45.110Z] ---> 41045a532ed5 [2020-07-22T00:02:45.110Z] Step 24/24 : LABEL version=0.0.0 [2020-07-22T00:02:45.371Z] ---> Running in e7eb4844d658 [2020-07-22T00:02:45.371Z] Removing intermediate container e7eb4844d658 [2020-07-22T00:02:45.371Z] ---> 5000d540bb02 [2020-07-22T00:02:45.371Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-22T00:02:45.371Z] Successfully built 5000d540bb02 [2020-07-22T00:02:45.371Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-07-22T00:03:07.059Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-07-22T00:03:07.059Z] ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 56.3% of statements [2020-07-22T00:03:07.059Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-22T00:03:10.457Z] gofmt -l . [2020-07-22T00:03:10.457Z] [ "`gofmt -l .`" = "" ] [2020-07-22T00:03:10.457Z] ./bin/test-go-mod-tidy.sh [2020-07-22T00:03:10.731Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-07-22T00:03:11.346Z] Warning: overwriting stash ‘coverage-report’ [2020-07-22T00:03:11.852Z] Stashed 1 file(s) [Pipeline] } [2020-07-22T00:03:11.853Z] $ docker stop --time=1 376442f83b9fda8f9d8bbb23ce9e5e79205ccc1c8562703622283c1c3ef204de [2020-07-22T00:03:14.174Z] $ docker rm -f 376442f83b9fda8f9d8bbb23ce9e5e79205ccc1c8562703622283c1c3ef204de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-22T00:03:15.445Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-22T00:03:15.814Z] + ls -al . [2020-07-22T00:03:15.814Z] total 128 [2020-07-22T00:03:15.814Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 22 00:03 . [2020-07-22T00:03:15.814Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:01 .. [2020-07-22T00:03:15.814Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 22 00:01 .dockerignore [2020-07-22T00:03:15.814Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 00:01 .git [2020-07-22T00:03:15.814Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 00:01 .github [2020-07-22T00:03:15.814Z] -rw-rw-r-- 1 jenkins jenkins 339 Jul 22 00:01 .gitignore [2020-07-22T00:03:15.814Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 00:01 .semver [2020-07-22T00:03:15.814Z] -rw-rw-r-- 1 jenkins jenkins 4802 Jul 22 00:01 Attribution.txt [2020-07-22T00:03:15.814Z] -rw-rw-r-- 1 jenkins jenkins 1504 Jul 22 00:01 Dockerfile [2020-07-22T00:03:15.814Z] -rw-rw-r-- 1 jenkins jenkins 989 Jul 22 00:01 Dockerfile.build [2020-07-22T00:03:15.814Z] -rw-rw-r-- 1 jenkins jenkins 702 Jul 22 00:01 Jenkinsfile [2020-07-22T00:03:15.814Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 22 00:01 LICENSE [2020-07-22T00:03:15.814Z] -rw-rw-r-- 1 jenkins jenkins 951 Jul 22 00:01 Makefile [2020-07-22T00:03:15.814Z] -rw-rw-r-- 1 jenkins jenkins 5716 Jul 22 00:01 README.md [2020-07-22T00:03:15.814Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 23:59 VERSION [2020-07-22T00:03:15.814Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 00:01 bin [2020-07-22T00:03:15.814Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 00:01 cmd [2020-07-22T00:03:15.814Z] -rw-r--r-- 1 jenkins jenkins 9369 Jul 22 00:03 coverage.out [2020-07-22T00:03:15.814Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 00:03 driver [2020-07-22T00:03:15.814Z] -rw-r--r-- 1 jenkins jenkins 266 Jul 22 00:03 go.mod [2020-07-22T00:03:15.814Z] -rw-r--r-- 1 jenkins jenkins 12533 Jul 22 00:03 go.sum [2020-07-22T00:03:15.814Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:01 snap [2020-07-22T00:03:15.814Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 22 00:01 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-22T00:03:16.174Z] + 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=269da8e8797ab8b19895ebade1b65d9ef4306791 --label arch=arm64 --label version=0.0.0 . [2020-07-22T00:03:16.793Z] Sending build context to Docker daemon 8.042MB [2020-07-22T00:03:16.793Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-07-22T00:03:16.793Z] Step 2/24 : FROM ${BASE} AS builder [2020-07-22T00:03:16.793Z] ---> 4bd4085eec0d [2020-07-22T00:03:16.793Z] Step 3/24 : ARG MAKE='make build' [2020-07-22T00:03:16.793Z] ---> Running in 044a7a34bbb4 [2020-07-22T00:03:17.391Z] Removing intermediate container 044a7a34bbb4 [2020-07-22T00:03:17.391Z] ---> be0f1470905f [2020-07-22T00:03:17.391Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-07-22T00:03:17.391Z] ---> Running in 2fba523087e9 [2020-07-22T00:03:17.986Z] Removing intermediate container 2fba523087e9 [2020-07-22T00:03:17.986Z] ---> 39f41c05dde0 [2020-07-22T00:03:17.986Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-07-22T00:03:17.986Z] ---> Running in abac4c74948a [2020-07-22T00:03:18.584Z] Removing intermediate container abac4c74948a [2020-07-22T00:03:18.584Z] ---> e6542faddbe9 [2020-07-22T00:03:18.584Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T00:03:18.584Z] ---> Running in 3735b1cb7295 [2020-07-22T00:03:21.205Z] Removing intermediate container 3735b1cb7295 [2020-07-22T00:03:21.205Z] ---> 9bdf78f565db [2020-07-22T00:03:21.205Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-22T00:03:21.205Z] ---> Running in 7c3732f52c05 [2020-07-22T00:03:22.632Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-22T00:03:23.229Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-22T00:03:23.835Z] OK: 142 MiB in 39 packages [2020-07-22T00:03:24.814Z] Removing intermediate container 7c3732f52c05 [2020-07-22T00:03:24.815Z] ---> 89b4e24d729b [2020-07-22T00:03:24.815Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-07-22T00:03:25.086Z] ---> Running in 4d9d187e2467 [2020-07-22T00:03:25.359Z] Removing intermediate container 4d9d187e2467 [2020-07-22T00:03:25.359Z] ---> c8c50a94d549 [2020-07-22T00:03:25.359Z] Step 9/24 : COPY go.mod . [2020-07-22T00:03:26.337Z] ---> f0905c3ac02d [2020-07-22T00:03:26.338Z] Step 10/24 : COPY Makefile . [2020-07-22T00:03:26.933Z] ---> 408a3895e290 [2020-07-22T00:03:26.933Z] Step 11/24 : RUN make update [2020-07-22T00:03:26.933Z] ---> Running in 21794786007a [2020-07-22T00:03:28.368Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-07-22T00:03:29.801Z] Removing intermediate container 21794786007a [2020-07-22T00:03:29.801Z] ---> 7858a5d3ddf3 [2020-07-22T00:03:29.801Z] Step 12/24 : COPY . . [2020-07-22T00:03:30.789Z] ---> 27376fd133c2 [2020-07-22T00:03:30.789Z] Step 13/24 : RUN $MAKE [2020-07-22T00:03:30.789Z] ---> Running in 1a3cfc2d09ab [2020-07-22T00:03:32.226Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-07-22T00:03:59.033Z] Removing intermediate container 1a3cfc2d09ab [2020-07-22T00:03:59.034Z] ---> b41203bcd232 [2020-07-22T00:03:59.034Z] Step 14/24 : FROM alpine:latest [2020-07-22T00:03:59.034Z] latest: Pulling from library/alpine [2020-07-22T00:03:59.034Z] b538f80385f9: Already exists [2020-07-22T00:03:59.305Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-07-22T00:03:59.305Z] Status: Downloaded newer image for alpine:latest [2020-07-22T00:03:59.305Z] ---> 62ee0e9f8440 [2020-07-22T00:03:59.305Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-22T00:03:59.578Z] ---> Running in 51c312c2d58a [2020-07-22T00:03:59.849Z] Removing intermediate container 51c312c2d58a [2020-07-22T00:03:59.849Z] ---> 7f308d28acb6 [2020-07-22T00:03:59.849Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-07-22T00:04:00.120Z] ---> Running in 09746ded8642 [2020-07-22T00:04:00.393Z] Removing intermediate container 09746ded8642 [2020-07-22T00:04:00.393Z] ---> 85654432679c [2020-07-22T00:04:00.393Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-07-22T00:04:01.373Z] ---> 9175dd58b916 [2020-07-22T00:04:01.373Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-07-22T00:04:01.977Z] ---> b7604ce55795 [2020-07-22T00:04:01.977Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-07-22T00:04:02.958Z] ---> 12334230f26c [2020-07-22T00:04:02.958Z] Step 20/24 : EXPOSE 49986 [2020-07-22T00:04:03.229Z] ---> Running in f57eb0a5b77a [2020-07-22T00:04:03.504Z] Removing intermediate container f57eb0a5b77a [2020-07-22T00:04:03.504Z] ---> a454b46ed12c [2020-07-22T00:04:03.504Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-07-22T00:04:03.777Z] ---> Running in 7f6cff66fb2b [2020-07-22T00:04:04.052Z] Removing intermediate container 7f6cff66fb2b [2020-07-22T00:04:04.052Z] ---> f8f2231d5cde [2020-07-22T00:04:04.052Z] Step 22/24 : LABEL arch=arm64 [2020-07-22T00:04:04.323Z] ---> Running in 679af276ccb9 [2020-07-22T00:04:04.919Z] Removing intermediate container 679af276ccb9 [2020-07-22T00:04:04.919Z] ---> b3ea9a13ab81 [2020-07-22T00:04:04.919Z] Step 23/24 : LABEL git_sha=269da8e8797ab8b19895ebade1b65d9ef4306791 [2020-07-22T00:04:04.919Z] ---> Running in adeb5d61df49 [2020-07-22T00:04:05.514Z] Removing intermediate container adeb5d61df49 [2020-07-22T00:04:05.514Z] ---> 99883e703482 [2020-07-22T00:04:05.514Z] Step 24/24 : LABEL version=0.0.0 [2020-07-22T00:04:05.514Z] ---> Running in c63908d4deef [2020-07-22T00:04:06.107Z] Removing intermediate container c63908d4deef [2020-07-22T00:04:06.107Z] ---> 5851b381c199 [2020-07-22T00:04:06.107Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-22T00:04:06.107Z] Successfully built 5851b381c199 [2020-07-22T00:04:06.107Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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] wrap [2020-07-22T00:04:07.539Z] provisioning config files... [2020-07-22T00:04:07.549Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config3012060686430639390tmp [Pipeline] { [Pipeline] sh [2020-07-22T00:04:07.906Z] + curl -s https://codecov.io/bash [2020-07-22T00:04:07.906Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config3012060686430639390tmp [Pipeline] } [2020-07-22T00:04:09.827Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-07-22T00:04:11.132Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T00:04:11.689Z] ---> package-listing.sh [2020-07-22T00:04:11.689Z] ++ facter osfamily [2020-07-22T00:04:11.689Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-22T00:04:11.689Z] + OS_FAMILY=redhat [2020-07-22T00:04:11.689Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-27 [2020-07-22T00:04:11.689Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-22T00:04:11.689Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-22T00:04:11.689Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-22T00:04:11.689Z] + PACKAGES=/tmp/packages_start.txt [2020-07-22T00:04:11.689Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' [2020-07-22T00:04:11.689Z] + PACKAGES=/tmp/packages_end.txt [2020-07-22T00:04:11.689Z] + case "${OS_FAMILY}" in [2020-07-22T00:04:11.689Z] + rpm -qa [2020-07-22T00:04:11.689Z] + sort [2020-07-22T00:04:15.890Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-22T00:04:15.890Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-22T00:04:15.890Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-22T00:04:15.890Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' [2020-07-22T00:04:15.890Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-27/archives/ [2020-07-22T00:04:15.890Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-27/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-22T00:04:16.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T00:04:16.266Z] [2020-07-22T00:04:16.266Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-22T00:04:16.606Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T00:04:16.606Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-22T00:04:16.606Z] c9b1b535fdd9: Pulling fs layer [2020-07-22T00:04:16.606Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-22T00:04:16.606Z] 756a868c4378: Pulling fs layer [2020-07-22T00:04:16.606Z] 444b2fc9a129: Pulling fs layer [2020-07-22T00:04:16.606Z] ea15f1150254: Pulling fs layer [2020-07-22T00:04:16.606Z] 41b27a9f41bf: Pulling fs layer [2020-07-22T00:04:16.606Z] 28c525ee5125: Pulling fs layer [2020-07-22T00:04:16.606Z] 094b1ea09ed8: Pulling fs layer [2020-07-22T00:04:16.606Z] 138eaada9080: Pulling fs layer [2020-07-22T00:04:16.606Z] 0622d0fa9048: Pulling fs layer [2020-07-22T00:04:16.606Z] 41b27a9f41bf: Waiting [2020-07-22T00:04:16.606Z] 28c525ee5125: Waiting [2020-07-22T00:04:16.606Z] 094b1ea09ed8: Waiting [2020-07-22T00:04:16.606Z] 138eaada9080: Waiting [2020-07-22T00:04:16.606Z] 0622d0fa9048: Waiting [2020-07-22T00:04:16.606Z] 444b2fc9a129: Waiting [2020-07-22T00:04:16.606Z] ea15f1150254: Waiting [2020-07-22T00:04:16.606Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-22T00:04:16.606Z] 2cc5ad85d9ab: Download complete [2020-07-22T00:04:16.606Z] 444b2fc9a129: Verifying Checksum [2020-07-22T00:04:16.606Z] 444b2fc9a129: Download complete [2020-07-22T00:04:16.606Z] c9b1b535fdd9: Verifying Checksum [2020-07-22T00:04:16.606Z] c9b1b535fdd9: Download complete [2020-07-22T00:04:16.606Z] ea15f1150254: Verifying Checksum [2020-07-22T00:04:16.606Z] ea15f1150254: Download complete [2020-07-22T00:04:16.606Z] 28c525ee5125: Verifying Checksum [2020-07-22T00:04:16.606Z] 28c525ee5125: Download complete [2020-07-22T00:04:16.876Z] c9b1b535fdd9: Pull complete [2020-07-22T00:04:17.148Z] 756a868c4378: Verifying Checksum [2020-07-22T00:04:17.148Z] 756a868c4378: Download complete [2020-07-22T00:04:17.418Z] 138eaada9080: Verifying Checksum [2020-07-22T00:04:17.418Z] 138eaada9080: Download complete [2020-07-22T00:04:17.418Z] 2cc5ad85d9ab: Pull complete [2020-07-22T00:04:17.418Z] 0622d0fa9048: Verifying Checksum [2020-07-22T00:04:17.418Z] 0622d0fa9048: Download complete [2020-07-22T00:04:17.418Z] 094b1ea09ed8: Verifying Checksum [2020-07-22T00:04:17.418Z] 094b1ea09ed8: Download complete [2020-07-22T00:04:17.996Z] 41b27a9f41bf: Verifying Checksum [2020-07-22T00:04:17.996Z] 41b27a9f41bf: Download complete [2020-07-22T00:04:18.944Z] 756a868c4378: Pull complete [2020-07-22T00:04:18.944Z] 444b2fc9a129: Pull complete [2020-07-22T00:04:19.205Z] ea15f1150254: Pull complete [2020-07-22T00:04:23.443Z] 41b27a9f41bf: Pull complete [2020-07-22T00:04:23.443Z] 28c525ee5125: Pull complete [2020-07-22T00:04:26.763Z] 094b1ea09ed8: Pull complete [2020-07-22T00:04:26.763Z] 138eaada9080: Pull complete [2020-07-22T00:04:26.763Z] 0622d0fa9048: Pull complete [2020-07-22T00:04:26.763Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-22T00:04:26.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T00:04:26.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-22T00:04:26.925Z] prd-centos7-docker-4c-2g-495 does not seem to be running inside a container [2020-07-22T00:04:26.957Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-rest-go_PR-27 -v /w/workspace/dgexfoundry_device-rest-go_PR-27:/w/workspace/dgexfoundry_device-rest-go_PR-27:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-22T00:04:29.610Z] $ docker top e3f1726453ed8cffd36f12f790cc2388eb9abc97d1c1fa9e13ece353921e8469 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-22T00:04:29.828Z] provisioning config files... [2020-07-22T00:04:29.840Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config2120403773058696660tmp [Pipeline] { [Pipeline] echo [2020-07-22T00:04:29.915Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T00:04:30.208Z] ---> create-netrc.sh [Pipeline] echo [2020-07-22T00:04:30.217Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T00:04:30.509Z] ---> logs-deploy.sh [2020-07-22T00:04:30.509Z] + ARCHIVE_ARTIFACTS= [2020-07-22T00:04:30.509Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-22T00:04:30.509Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-22T00:04:30.509Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-22T00:04:30.509Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/11 [2020-07-22T00:04:30.509Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/11/ [2020-07-22T00:04:30.509Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/11 /w/workspace/dgexfoundry_device-rest-go_PR-27 [2020-07-22T00:04:31.898Z] Archives upload complete. [2020-07-22T00:04:31.898Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/11 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/11/