Push event to branch snap Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 272cbba74b5445e980adb416089d8b6fd8262e28 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 370697454611dc68c0596e0d0a50477a8de841a8 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 370697454611dc68c0596e0d0a50477a8de841a8 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 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3594 in /w/workspace/edgexfoundry_device-rest-go_snap [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/edgexfoundry_device-rest-go_snap # 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/snap:refs/remotes/origin/snap # timeout=10 Fetching without tags Checking out Revision 272cbba74b5445e980adb416089d8b6fd8262e28 (snap) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/snap:refs/remotes/origin/snap # 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/snap:refs/remotes/origin/snap # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 272cbba74b5445e980adb416089d8b6fd8262e28 # timeout=10 Commit message: "squashed" First time build. Skipping changelog. > git rev-list --no-walk 0321eff746caf521aae414dfef1a132bb590057a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-18T18:16:13.937Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-18T18:16:14.047Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-18T18:16:14.086Z] ========================================================= [2020-06-18T18:16:14.086Z] EdgeX Global Pipelines Version Info [2020-06-18T18:16:14.086Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-18T18:16:16.002Z] ------------------- [2020-06-18T18:16:16.002Z] stable info: [2020-06-18T18:16:16.002Z] ------------------- [2020-06-18T18:16:16.002Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-18T18:16:16.002Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-18T18:16:16.002Z] Message: update stable to v1.0.89 [2020-06-18T18:16:16.577Z] ------------------- [2020-06-18T18:16:16.577Z] experimental info: [2020-06-18T18:16:16.577Z] ------------------- [2020-06-18T18:16:16.577Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-18T18:16:16.577Z] Commit SHA: 16c8cae96dc596cf5e922f0da0f924f9f59267c3 [2020-06-18T18:16:16.577Z] Message: update experimental to v0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:16:17.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-18T18:16:18.028Z] [2020-06-18T18:16:18.028Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:16:18.368Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-18T18:16:18.369Z] latest: Pulling from edgex-devops/git-semver [2020-06-18T18:16:18.369Z] 9123ac7c32f7: Pulling fs layer [2020-06-18T18:16:18.369Z] b8cc5d1170e3: Pulling fs layer [2020-06-18T18:16:18.369Z] 2924cbbf6a41: Pulling fs layer [2020-06-18T18:16:18.369Z] 93b08a4f1073: Pulling fs layer [2020-06-18T18:16:18.369Z] 93b08a4f1073: Waiting [2020-06-18T18:16:18.369Z] b8cc5d1170e3: Download complete [2020-06-18T18:16:18.369Z] 9123ac7c32f7: Verifying Checksum [2020-06-18T18:16:18.369Z] 9123ac7c32f7: Download complete [2020-06-18T18:16:18.639Z] 2924cbbf6a41: Verifying Checksum [2020-06-18T18:16:18.639Z] 2924cbbf6a41: Download complete [2020-06-18T18:16:18.639Z] 93b08a4f1073: Verifying Checksum [2020-06-18T18:16:18.639Z] 93b08a4f1073: Download complete [2020-06-18T18:16:18.906Z] 9123ac7c32f7: Pull complete [2020-06-18T18:16:18.906Z] b8cc5d1170e3: Pull complete [2020-06-18T18:16:19.858Z] 2924cbbf6a41: Pull complete [2020-06-18T18:16:20.119Z] 93b08a4f1073: Pull complete [2020-06-18T18:16:20.119Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-18T18:16:20.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-18T18:16:20.119Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-18T18:16:20.231Z] prd-centos7-docker-4c-2g-3594 does not seem to be running inside a container [2020-06-18T18:16:20.284Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_snap -v /w/workspace/edgexfoundry_device-rest-go_snap:/w/workspace/edgexfoundry_device-rest-go_snap:rw,z -v /w/workspace/edgexfoundry_device-rest-go_snap@tmp:/w/workspace/edgexfoundry_device-rest-go_snap@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-18T18:16:22.439Z] $ docker top 292720a84dd18ff4d3bbe21e43bc2494475aa475efc5fa4df4701cfc2e36f619 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-18T18:16:22.633Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-18T18:16:22.633Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-18T18:16:22.838Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-18T18:16:22.847Z] $ docker exec 292720a84dd18ff4d3bbe21e43bc2494475aa475efc5fa4df4701cfc2e36f619 ssh-agent [2020-06-18T18:16:23.003Z] SSH_AUTH_SOCK=/tmp/ssh-sOTS1T1FhFTd/agent.12 [2020-06-18T18:16:23.003Z] SSH_AGENT_PID=17 [2020-06-18T18:16:23.016Z] Running ssh-add (command line suppressed) [2020-06-18T18:16:23.149Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_3800269932359986693.key (/w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_3800269932359986693.key) [2020-06-18T18:16:23.196Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-18T18:16:23.511Z] + git describe --exact-match --tags HEAD [2020-06-18T18:16:23.511Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-18T18:16:23.573Z] $ docker exec --env ******** --env ******** 292720a84dd18ff4d3bbe21e43bc2494475aa475efc5fa4df4701cfc2e36f619 ssh-agent -k [2020-06-18T18:16:23.686Z] unset SSH_AUTH_SOCK; [2020-06-18T18:16:23.686Z] unset SSH_AGENT_PID; [2020-06-18T18:16:23.686Z] echo Agent pid 17 killed; [2020-06-18T18:16:23.726Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-18T18:16:23.767Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-18T18:16:23.767Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-18T18:16:23.819Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-18T18:16:23.819Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-18T18:16:23.988Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-18T18:16:23.997Z] $ docker exec 292720a84dd18ff4d3bbe21e43bc2494475aa475efc5fa4df4701cfc2e36f619 ssh-agent [2020-06-18T18:16:24.148Z] SSH_AUTH_SOCK=/tmp/ssh-Guo8itBAOhZs/agent.47 [2020-06-18T18:16:24.148Z] SSH_AGENT_PID=52 [2020-06-18T18:16:24.154Z] Running ssh-add (command line suppressed) [2020-06-18T18:16:24.280Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_1183510397640779066.key (/w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_1183510397640779066.key) [2020-06-18T18:16:24.326Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-18T18:16:24.635Z] + git semver init [2020-06-18T18:16:24.635Z] # -> Open(): unable to determine branch for HEAD [2020-06-18T18:16:24.635Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_snap/.git [2020-06-18T18:16:24.635Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_snap [2020-06-18T18:16:24.635Z] # $SEMVER_REMOTE_NAME = origin [2020-06-18T18:16:24.635Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-18T18:16:24.635Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-18T18:16:24.635Z] # $SEMVER_BRANCH = snap [2020-06-18T18:16:24.635Z] # $SEMVER_TEMP = /tmp/semver-600318785 [2020-06-18T18:16:24.635Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-06-18T18:16:25.580Z] # '/tmp/semver-600318785' -> '/w/workspace/edgexfoundry_device-rest-go_snap/.semver' [2020-06-18T18:16:25.580Z] # -> Force: false [2020-06-18T18:16:25.580Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_snap/.semver [Pipeline] } [2020-06-18T18:16:25.598Z] $ docker exec --env ******** --env ******** 292720a84dd18ff4d3bbe21e43bc2494475aa475efc5fa4df4701cfc2e36f619 ssh-agent -k [2020-06-18T18:16:25.712Z] unset SSH_AUTH_SOCK; [2020-06-18T18:16:25.713Z] unset SSH_AGENT_PID; [2020-06-18T18:16:25.714Z] echo Agent pid 52 killed; [2020-06-18T18:16:25.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-18T18:16:26.146Z] + git semver [Pipeline] } [2020-06-18T18:16:26.167Z] $ docker stop --time=1 292720a84dd18ff4d3bbe21e43bc2494475aa475efc5fa4df4701cfc2e36f619 [2020-06-18T18:16:27.686Z] $ docker rm -f 292720a84dd18ff4d3bbe21e43bc2494475aa475efc5fa4df4701cfc2e36f619 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-18T18:16:29.245Z] Stashed 24 file(s) [Pipeline] echo [2020-06-18T18:16:29.248Z] [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-06-18T18:16:44.407Z] Still waiting to schedule task [2020-06-18T18:16:44.407Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-06-18T18:16:44.409Z] Still waiting to schedule task [2020-06-18T18:16:44.409Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-06-18T18:18:20.748Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3595 in /w/workspace/edgexfoundry_device-rest-go_snap [Pipeline] { [Pipeline] ws [2020-06-18T18:18:20.774Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2020-06-18T18:18:25.877Z] using credential edgex-jenkins-ssh [2020-06-18T18:18:25.913Z] Cloning the remote Git repository [2020-06-18T18:18:25.913Z] Cloning with configured refspecs honoured and without tags [2020-06-18T18:18:25.973Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-18T18:18:26.094Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2020-06-18T18:18:26.174Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-18T18:18:26.175Z] > git --version # timeout=10 [2020-06-18T18:18:26.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-18T18:18:26.275Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 [2020-06-18T18:18:27.741Z] Fetching without tags [2020-06-18T18:18:28.211Z] Checking out Revision 272cbba74b5445e980adb416089d8b6fd8262e28 (snap) [2020-06-18T18:18:27.680Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-18T18:18:27.703Z] > git config --add remote.origin.fetch +refs/heads/snap:refs/remotes/origin/snap # timeout=10 [2020-06-18T18:18:27.725Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-18T18:18:27.756Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-18T18:18:27.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-18T18:18:27.769Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 [2020-06-18T18:18:28.234Z] > git config core.sparsecheckout # timeout=10 [2020-06-18T18:18:28.254Z] > git checkout -f 272cbba74b5445e980adb416089d8b6fd8262e28 # timeout=10 [2020-06-18T18:18:32.788Z] Commit message: "squashed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-18T18:18:34.898Z] ========================================================= [2020-06-18T18:18:34.898Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-18T18:18:34.898Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:18:35.948Z] + 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-06-18T18:18:36.946Z] Sending build context to Docker daemon 8.029MB [2020-06-18T18:18:36.946Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-18T18:18:36.946Z] Step 2/10 : FROM ${BASE} [2020-06-18T18:18:36.946Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-18T18:18:37.218Z] cde5963f3b93: Pulling fs layer [2020-06-18T18:18:37.218Z] 2a23fa8c16f7: Pulling fs layer [2020-06-18T18:18:37.218Z] 777b28850792: Pulling fs layer [2020-06-18T18:18:37.218Z] 8a11ddd9e578: Pulling fs layer [2020-06-18T18:18:37.218Z] 4cf88f913ddb: Pulling fs layer [2020-06-18T18:18:37.218Z] 1df406cf5192: Pulling fs layer [2020-06-18T18:18:37.218Z] cd6300453558: Pulling fs layer [2020-06-18T18:18:37.218Z] b9c365052c96: Pulling fs layer [2020-06-18T18:18:37.218Z] a2d8cc88f415: Pulling fs layer [2020-06-18T18:18:37.218Z] ea1d1ca13537: Pulling fs layer [2020-06-18T18:18:37.218Z] 3750a50a1c5e: Pulling fs layer [2020-06-18T18:18:37.218Z] 8a11ddd9e578: Waiting [2020-06-18T18:18:37.218Z] 4cf88f913ddb: Waiting [2020-06-18T18:18:37.218Z] 1df406cf5192: Waiting [2020-06-18T18:18:37.218Z] cd6300453558: Waiting [2020-06-18T18:18:37.218Z] b9c365052c96: Waiting [2020-06-18T18:18:37.218Z] a2d8cc88f415: Waiting [2020-06-18T18:18:37.218Z] ea1d1ca13537: Waiting [2020-06-18T18:18:37.218Z] 3750a50a1c5e: Waiting [2020-06-18T18:18:37.218Z] 777b28850792: Download complete [2020-06-18T18:18:37.218Z] 2a23fa8c16f7: Download complete [2020-06-18T18:18:37.493Z] 4cf88f913ddb: Verifying Checksum [2020-06-18T18:18:37.493Z] 4cf88f913ddb: Download complete [2020-06-18T18:18:37.493Z] 1df406cf5192: Download complete [2020-06-18T18:18:37.493Z] cde5963f3b93: Verifying Checksum [2020-06-18T18:18:37.493Z] cde5963f3b93: Download complete [2020-06-18T18:18:38.088Z] cde5963f3b93: Pull complete [2020-06-18T18:18:38.686Z] 2a23fa8c16f7: Pull complete [2020-06-18T18:18:38.964Z] 777b28850792: Pull complete [2020-06-18T18:18:40.502Z] cd6300453558: Verifying Checksum [2020-06-18T18:18:40.502Z] cd6300453558: Download complete [2020-06-18T18:18:40.502Z] a2d8cc88f415: Verifying Checksum [2020-06-18T18:18:40.502Z] a2d8cc88f415: Download complete [2020-06-18T18:18:41.578Z] ea1d1ca13537: Verifying Checksum [2020-06-18T18:18:41.578Z] ea1d1ca13537: Download complete [2020-06-18T18:18:41.578Z] 3750a50a1c5e: Download complete [2020-06-18T18:18:42.569Z] b9c365052c96: Verifying Checksum [2020-06-18T18:18:42.569Z] b9c365052c96: Download complete [2020-06-18T18:18:42.844Z] 8a11ddd9e578: Download complete [2020-06-18T18:18:44.960Z] Running on prd-centos7-docker-4c-2g-3596 in /w/workspace/edgexfoundry_device-rest-go_snap [Pipeline] { [Pipeline] ws [2020-06-18T18:18:44.988Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2020-06-18T18:18:47.309Z] using credential edgex-jenkins-ssh [2020-06-18T18:18:47.337Z] Cloning the remote Git repository [2020-06-18T18:18:47.337Z] Cloning with configured refspecs honoured and without tags [2020-06-18T18:18:47.364Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-18T18:18:48.318Z] Fetching without tags [2020-06-18T18:18:47.427Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2020-06-18T18:18:47.469Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-18T18:18:47.470Z] > git --version # timeout=10 [2020-06-18T18:18:47.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-18T18:18:47.505Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 [2020-06-18T18:18:48.289Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-18T18:18:48.296Z] > git config --add remote.origin.fetch +refs/heads/snap:refs/remotes/origin/snap # timeout=10 [2020-06-18T18:18:48.311Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-18T18:18:48.323Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-18T18:18:48.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-18T18:18:48.327Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 [2020-06-18T18:18:48.682Z] Checking out Revision 272cbba74b5445e980adb416089d8b6fd8262e28 (snap) [2020-06-18T18:18:48.692Z] > git config core.sparsecheckout # timeout=10 [2020-06-18T18:18:48.696Z] > git checkout -f 272cbba74b5445e980adb416089d8b6fd8262e28 # timeout=10 [2020-06-18T18:18:52.280Z] Commit message: "squashed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-18T18:18:53.141Z] ========================================================= [2020-06-18T18:18:53.141Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-18T18:18:53.141Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:18:53.788Z] + 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-06-18T18:18:54.056Z] Sending build context to Docker daemon 8.029MB [2020-06-18T18:18:54.056Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-18T18:18:54.056Z] Step 2/10 : FROM ${BASE} [2020-06-18T18:18:54.056Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-18T18:18:54.056Z] e6b0cf9c0882: Pulling fs layer [2020-06-18T18:18:54.056Z] 2848faf0eed1: Pulling fs layer [2020-06-18T18:18:54.056Z] 0f37312ad70f: Pulling fs layer [2020-06-18T18:18:54.056Z] 5788d62ee057: Pulling fs layer [2020-06-18T18:18:54.056Z] 0e6b1d234666: Pulling fs layer [2020-06-18T18:18:54.056Z] bf5d7aec512f: Pulling fs layer [2020-06-18T18:18:54.056Z] 34c802a77dc8: Pulling fs layer [2020-06-18T18:18:54.056Z] 9eb99e56ec68: Pulling fs layer [2020-06-18T18:18:54.056Z] 27c7a5d97fbd: Pulling fs layer [2020-06-18T18:18:54.056Z] 5c102a31e300: Pulling fs layer [2020-06-18T18:18:54.056Z] dcfb455df0a1: Pulling fs layer [2020-06-18T18:18:54.056Z] 34c802a77dc8: Waiting [2020-06-18T18:18:54.056Z] 9eb99e56ec68: Waiting [2020-06-18T18:18:54.056Z] 27c7a5d97fbd: Waiting [2020-06-18T18:18:54.056Z] 5c102a31e300: Waiting [2020-06-18T18:18:54.056Z] dcfb455df0a1: Waiting [2020-06-18T18:18:54.056Z] 0e6b1d234666: Waiting [2020-06-18T18:18:54.056Z] bf5d7aec512f: Waiting [2020-06-18T18:18:54.056Z] 5788d62ee057: Waiting [2020-06-18T18:18:54.056Z] 0f37312ad70f: Download complete [2020-06-18T18:18:54.056Z] 2848faf0eed1: Verifying Checksum [2020-06-18T18:18:54.056Z] 2848faf0eed1: Download complete [2020-06-18T18:18:54.338Z] 0e6b1d234666: Download complete [2020-06-18T18:18:54.338Z] bf5d7aec512f: Verifying Checksum [2020-06-18T18:18:54.338Z] bf5d7aec512f: Download complete [2020-06-18T18:18:54.338Z] e6b0cf9c0882: Verifying Checksum [2020-06-18T18:18:54.338Z] e6b0cf9c0882: Download complete [2020-06-18T18:18:54.615Z] e6b0cf9c0882: Pull complete [2020-06-18T18:18:55.192Z] 34c802a77dc8: Verifying Checksum [2020-06-18T18:18:55.192Z] 34c802a77dc8: Download complete [2020-06-18T18:18:55.192Z] 27c7a5d97fbd: Verifying Checksum [2020-06-18T18:18:55.192Z] 27c7a5d97fbd: Download complete [2020-06-18T18:18:55.255Z] 8a11ddd9e578: Pull complete [2020-06-18T18:18:55.255Z] 4cf88f913ddb: Pull complete [2020-06-18T18:18:55.255Z] 1df406cf5192: Pull complete [2020-06-18T18:18:55.769Z] 5788d62ee057: Verifying Checksum [2020-06-18T18:18:55.769Z] 5788d62ee057: Download complete [2020-06-18T18:18:55.769Z] 5c102a31e300: Verifying Checksum [2020-06-18T18:18:55.769Z] 5c102a31e300: Download complete [2020-06-18T18:18:55.769Z] dcfb455df0a1: Verifying Checksum [2020-06-18T18:18:55.769Z] dcfb455df0a1: Download complete [2020-06-18T18:18:55.769Z] 9eb99e56ec68: Verifying Checksum [2020-06-18T18:18:55.769Z] 9eb99e56ec68: Download complete [2020-06-18T18:18:56.712Z] 2848faf0eed1: Pull complete [2020-06-18T18:18:56.712Z] 0f37312ad70f: Pull complete [2020-06-18T18:18:59.567Z] cd6300453558: Pull complete [2020-06-18T18:19:02.018Z] 5788d62ee057: Pull complete [2020-06-18T18:19:02.018Z] 0e6b1d234666: Pull complete [2020-06-18T18:19:02.018Z] bf5d7aec512f: Pull complete [2020-06-18T18:19:03.875Z] b9c365052c96: Pull complete [2020-06-18T18:19:03.875Z] a2d8cc88f415: Pull complete [2020-06-18T18:19:05.863Z] ea1d1ca13537: Pull complete [2020-06-18T18:19:06.138Z] 3750a50a1c5e: Pull complete [2020-06-18T18:19:06.138Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-18T18:19:06.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-18T18:19:06.138Z] ---> 78745c68409d [2020-06-18T18:19:06.138Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-18T18:19:10.175Z] 34c802a77dc8: Pull complete [2020-06-18T18:19:11.549Z] ---> Running in 6e03f68ca4e2 [2020-06-18T18:19:11.549Z] Removing intermediate container 6e03f68ca4e2 [2020-06-18T18:19:11.549Z] ---> dd7d48195d00 [2020-06-18T18:19:11.549Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-18T18:19:11.549Z] ---> Running in 26f9f902273d [2020-06-18T18:19:11.549Z] Removing intermediate container 26f9f902273d [2020-06-18T18:19:11.549Z] ---> 31c4b0515aab [2020-06-18T18:19:11.549Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-18T18:19:11.821Z] ---> Running in 35df91a32d62 [2020-06-18T18:19:12.093Z] Removing intermediate container 35df91a32d62 [2020-06-18T18:19:12.093Z] ---> b6424153fc26 [2020-06-18T18:19:12.093Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-18T18:19:12.365Z] ---> Running in 34612a25633e [2020-06-18T18:19:13.499Z] 9eb99e56ec68: Pull complete [2020-06-18T18:19:13.500Z] 27c7a5d97fbd: Pull complete [2020-06-18T18:19:14.444Z] 5c102a31e300: Pull complete [2020-06-18T18:19:14.445Z] dcfb455df0a1: Pull complete [2020-06-18T18:19:14.445Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-18T18:19:14.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-18T18:19:14.445Z] ---> 7c70fe431013 [2020-06-18T18:19:14.445Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-18T18:19:15.745Z] Removing intermediate container 34612a25633e [2020-06-18T18:19:15.745Z] ---> b1db369145e9 [2020-06-18T18:19:15.745Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-18T18:19:15.745Z] ---> Running in af3f0c3b078b [2020-06-18T18:19:15.829Z] ---> Running in 594ae8405345 [2020-06-18T18:19:16.090Z] Removing intermediate container 594ae8405345 [2020-06-18T18:19:16.090Z] ---> 1b6c75475bb4 [2020-06-18T18:19:16.090Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-18T18:19:16.090Z] ---> Running in a46987c5f875 [2020-06-18T18:19:16.090Z] Removing intermediate container a46987c5f875 [2020-06-18T18:19:16.090Z] ---> dab1afdd2be4 [2020-06-18T18:19:16.090Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-18T18:19:16.355Z] ---> Running in 05d615b2253e [2020-06-18T18:19:16.355Z] Removing intermediate container 05d615b2253e [2020-06-18T18:19:16.355Z] ---> 8c82d1234499 [2020-06-18T18:19:16.355Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-18T18:19:16.355Z] ---> Running in bec3717925c8 [2020-06-18T18:19:16.717Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-18T18:19:17.306Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-18T18:19:17.310Z] Removing intermediate container bec3717925c8 [2020-06-18T18:19:17.310Z] ---> ae26b1c45136 [2020-06-18T18:19:17.310Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-18T18:19:17.573Z] ---> Running in b30dc89c3e32 [2020-06-18T18:19:17.894Z] OK: 125 MiB in 39 packages [2020-06-18T18:19:18.148Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-18T18:19:19.096Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-18T18:19:19.326Z] Removing intermediate container af3f0c3b078b [2020-06-18T18:19:19.326Z] ---> f9b35b164c26 [2020-06-18T18:19:19.326Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-18T18:19:19.326Z] ---> Running in 5840e7630e06 [2020-06-18T18:19:19.359Z] OK: 143 MiB in 39 packages [2020-06-18T18:19:19.598Z] Removing intermediate container 5840e7630e06 [2020-06-18T18:19:19.599Z] ---> 4aac144c1088 [2020-06-18T18:19:19.599Z] Step 9/10 : COPY . . [2020-06-18T18:19:19.623Z] Removing intermediate container b30dc89c3e32 [2020-06-18T18:19:19.623Z] ---> ffde29e94300 [2020-06-18T18:19:19.623Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-18T18:19:19.623Z] ---> Running in c8ad6c137a6d [2020-06-18T18:19:19.886Z] Removing intermediate container c8ad6c137a6d [2020-06-18T18:19:19.886Z] ---> 4d82273780c2 [2020-06-18T18:19:19.886Z] Step 9/10 : COPY . . [2020-06-18T18:19:20.462Z] ---> 87cbca8bff56 [2020-06-18T18:19:20.462Z] Step 10/10 : RUN go mod download [2020-06-18T18:19:20.462Z] ---> Running in 243e84244509 [2020-06-18T18:19:20.569Z] ---> 8fdcc90a43b7 [2020-06-18T18:19:20.569Z] Step 10/10 : RUN go mod download [2020-06-18T18:19:20.839Z] ---> Running in 279391c2977f [2020-06-18T18:19:22.810Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-18T18:19:22.810Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-18T18:19:22.810Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-18T18:19:22.810Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-18T18:19:23.014Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-18T18:19:23.014Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-18T18:19:23.014Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-18T18:19:23.014Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-18T18:19:23.014Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-18T18:19:23.014Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-18T18:19:23.014Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-18T18:19:23.014Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-18T18:19:23.014Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-18T18:19:23.014Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-18T18:19:23.014Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-18T18:19:23.014Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-18T18:19:23.014Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-18T18:19:23.014Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-18T18:19:23.014Z] go: finding github.com/fatih/color v1.7.0 [2020-06-18T18:19:23.014Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-18T18:19:23.014Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-18T18:19:23.014Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-18T18:19:23.014Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-18T18:19:23.014Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-18T18:19:23.014Z] go: finding github.com/google/uuid v1.1.0 [2020-06-18T18:19:23.014Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-18T18:19:23.014Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-18T18:19:23.014Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-18T18:19:23.014Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-18T18:19:23.014Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-18T18:19:23.014Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-18T18:19:23.014Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-18T18:19:23.014Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-18T18:19:23.014Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-18T18:19:23.015Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-18T18:19:23.015Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-18T18:19:23.015Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-18T18:19:23.015Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-18T18:19:23.015Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-18T18:19:23.015Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-18T18:19:23.015Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-18T18:19:23.015Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-18T18:19:23.015Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-18T18:19:23.015Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-18T18:19:23.015Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-18T18:19:23.015Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-18T18:19:23.015Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-18T18:19:23.015Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-18T18:19:23.015Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-18T18:19:23.015Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-18T18:19:23.083Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-18T18:19:23.083Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-18T18:19:23.083Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-18T18:19:23.083Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-18T18:19:23.083Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-18T18:19:23.083Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-18T18:19:23.083Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-18T18:19:23.083Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-18T18:19:23.083Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-18T18:19:23.083Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-18T18:19:23.083Z] go: finding github.com/fatih/color v1.7.0 [2020-06-18T18:19:23.083Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-18T18:19:23.083Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-18T18:19:23.083Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-18T18:19:23.083Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-18T18:19:23.083Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-18T18:19:23.083Z] go: finding github.com/google/uuid v1.1.0 [2020-06-18T18:19:23.083Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-18T18:19:23.083Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-18T18:19:23.083Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-18T18:19:23.083Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-18T18:19:23.083Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-18T18:19:23.083Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-18T18:19:23.083Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-18T18:19:23.083Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-18T18:19:23.083Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-18T18:19:23.083Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-18T18:19:23.083Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-18T18:19:23.083Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-18T18:19:23.282Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-18T18:19:23.282Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-18T18:19:23.282Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-18T18:19:23.282Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-18T18:19:23.282Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-18T18:19:23.282Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-18T18:19:23.282Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-18T18:19:23.282Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-18T18:19:23.282Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-18T18:19:23.282Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-18T18:19:23.282Z] go: finding github.com/posener/complete v1.1.1 [2020-06-18T18:19:23.282Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-18T18:19:23.282Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-18T18:19:23.282Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-18T18:19:23.282Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-18T18:19:23.282Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-18T18:19:23.282Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-18T18:19:23.282Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-18T18:19:23.282Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-18T18:19:23.282Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-18T18:19:23.282Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-18T18:19:23.282Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-18T18:19:23.282Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-18T18:19:23.282Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-18T18:19:23.355Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-18T18:19:23.355Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-18T18:19:23.355Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-18T18:19:23.355Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-18T18:19:23.355Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-18T18:19:23.355Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-18T18:19:23.355Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-18T18:19:23.355Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-18T18:19:23.355Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-18T18:19:23.355Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-18T18:19:23.355Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-18T18:19:23.355Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-18T18:19:23.355Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-18T18:19:23.355Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-18T18:19:23.355Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-18T18:19:23.355Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-18T18:19:23.355Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-18T18:19:23.355Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-18T18:19:23.355Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-18T18:19:23.355Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-18T18:19:23.355Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-18T18:19:23.355Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-18T18:19:23.355Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-18T18:19:23.355Z] go: finding github.com/posener/complete v1.1.1 [2020-06-18T18:19:23.355Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-18T18:19:23.355Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-18T18:19:23.355Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-18T18:19:23.630Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-18T18:19:23.630Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-18T18:19:23.630Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-18T18:19:23.630Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-18T18:19:23.630Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-18T18:19:23.630Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-18T18:19:23.630Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-18T18:19:23.630Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-18T18:19:23.630Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-18T18:19:23.630Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-18T18:19:31.440Z] Removing intermediate container 243e84244509 [2020-06-18T18:19:31.440Z] ---> 411f8da2f947 [2020-06-18T18:19:31.440Z] Successfully built 411f8da2f947 [2020-06-18T18:19:31.440Z] 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-06-18T18:19:31.912Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-18T18:19:31.912Z] . [Pipeline] withDockerContainer [2020-06-18T18:19:32.098Z] prd-centos7-docker-4c-2g-3596 does not seem to be running inside a container [2020-06-18T18:19:32.239Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-x86_64 cat [2020-06-18T18:19:33.434Z] $ docker top ad844a3e356c69a4e4dd00adc86e889032fc4ef900fdbe286afb6dba3cca143a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-18T18:19:33.803Z] Removing intermediate container 279391c2977f [2020-06-18T18:19:33.803Z] ---> e59034d91bbc [2020-06-18T18:19:33.803Z] Successfully built e59034d91bbc [2020-06-18T18:19:33.803Z] Successfully tagged ci-base-image-arm64:latest [2020-06-18T18:19:33.865Z] + go version [2020-06-18T18:19:33.865Z] go version go1.13.5 linux/amd64 [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:19:34.172Z] + make test [2020-06-18T18:19:34.172Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-18T18:19:34.420Z] + docker inspect -f . ci-base-image-arm64 [2020-06-18T18:19:34.420Z] . [Pipeline] withDockerContainer [2020-06-18T18:19:34.700Z] prd-ubuntu18.04-docker-arm64-4c-16g-3595 does not seem to be running inside a container [2020-06-18T18:19:34.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-arm64 cat [2020-06-18T18:19:35.128Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-18T18:19:36.631Z] $ docker top 2d2e23c6ea54fc351e3af4357dbfad3b1befa4ffe24c40c6ec095ff22bd6ef0e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-18T18:19:38.000Z] + go version [2020-06-18T18:19:38.000Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-18T18:19:39.045Z] + make test [2020-06-18T18:19:39.045Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-18T18:19:40.039Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-18T18:19:45.272Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-18T18:19:45.272Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 56.3% of statements [2020-06-18T18:19:45.272Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-18T18:19:46.224Z] gofmt -l . [2020-06-18T18:19:46.489Z] [ "`gofmt -l .`" = "" ] [2020-06-18T18:19:46.489Z] ./bin/test-go-mod-tidy.sh [2020-06-18T18:19:46.752Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-18T18:19:47.265Z] Stashed 1 file(s) [Pipeline] } [2020-06-18T18:19:47.271Z] $ docker stop --time=1 ad844a3e356c69a4e4dd00adc86e889032fc4ef900fdbe286afb6dba3cca143a [2020-06-18T18:19:49.417Z] $ docker rm -f ad844a3e356c69a4e4dd00adc86e889032fc4ef900fdbe286afb6dba3cca143a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-18T18:19:51.484Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-18T18:19:51.777Z] + ls -al . [2020-06-18T18:19:51.777Z] total 96 [2020-06-18T18:19:51.777Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 18 18:19 . [2020-06-18T18:19:51.777Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 18 18:18 .. [2020-06-18T18:19:51.777Z] -rw-rw-r--. 1 jenkins jenkins 4802 Jun 18 18:18 Attribution.txt [2020-06-18T18:19:51.777Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 18 18:18 bin [2020-06-18T18:19:51.777Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 18 18:18 cmd [2020-06-18T18:19:51.777Z] -rw-r--r--. 1 jenkins jenkins 9369 Jun 18 18:19 coverage.out [2020-06-18T18:19:51.777Z] -rw-rw-r--. 1 jenkins jenkins 1504 Jun 18 18:18 Dockerfile [2020-06-18T18:19:51.777Z] -rw-rw-r--. 1 jenkins jenkins 989 Jun 18 18:18 Dockerfile.build [2020-06-18T18:19:51.777Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 18 18:18 .dockerignore [2020-06-18T18:19:51.777Z] drwxrwxr-x. 2 jenkins jenkins 93 Jun 18 18:19 driver [2020-06-18T18:19:51.777Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 18 18:18 .git [2020-06-18T18:19:51.777Z] -rw-rw-r--. 1 jenkins jenkins 339 Jun 18 18:18 .gitignore [2020-06-18T18:19:51.777Z] -rw-r--r--. 1 jenkins jenkins 266 Jun 18 18:19 go.mod [2020-06-18T18:19:51.777Z] -rw-r--r--. 1 jenkins jenkins 12533 Jun 18 18:19 go.sum [2020-06-18T18:19:51.777Z] -rw-rw-r--. 1 jenkins jenkins 702 Jun 18 18:18 Jenkinsfile [2020-06-18T18:19:51.777Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 18 18:18 LICENSE [2020-06-18T18:19:51.777Z] -rw-rw-r--. 1 jenkins jenkins 951 Jun 18 18:18 Makefile [2020-06-18T18:19:51.777Z] -rw-rw-r--. 1 jenkins jenkins 5716 Jun 18 18:18 README.md [2020-06-18T18:19:51.777Z] drwxrwxr-x. 3 jenkins jenkins 44 Jun 18 18:18 .semver [2020-06-18T18:19:51.777Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 18 18:16 VERSION [2020-06-18T18:19:51.777Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 18 18:18 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:19:52.078Z] + 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=272cbba74b5445e980adb416089d8b6fd8262e28 --label arch=amd64 --label version=0.0.0 . [2020-06-18T18:19:52.078Z] Sending build context to Docker daemon 8.04MB [2020-06-18T18:19:52.078Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-18T18:19:52.078Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-18T18:19:52.078Z] ---> 411f8da2f947 [2020-06-18T18:19:52.078Z] Step 3/24 : ARG MAKE='make build' [2020-06-18T18:19:52.340Z] ---> Running in 6f9963737ed7 [2020-06-18T18:19:52.340Z] Removing intermediate container 6f9963737ed7 [2020-06-18T18:19:52.340Z] ---> cf8b8a7b118e [2020-06-18T18:19:52.340Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-18T18:19:52.602Z] ---> Running in 0c8e4bd020dd [2020-06-18T18:19:52.602Z] Removing intermediate container 0c8e4bd020dd [2020-06-18T18:19:52.602Z] ---> cd1b9a1560e4 [2020-06-18T18:19:52.602Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-18T18:19:52.602Z] ---> Running in 794e6b3d2d1f [2020-06-18T18:19:52.865Z] Removing intermediate container 794e6b3d2d1f [2020-06-18T18:19:52.865Z] ---> 1e570f58b43c [2020-06-18T18:19:52.865Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-18T18:19:52.865Z] ---> Running in f299753de471 [2020-06-18T18:19:53.807Z] Removing intermediate container f299753de471 [2020-06-18T18:19:53.807Z] ---> cdf63db10d1a [2020-06-18T18:19:53.807Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-18T18:19:53.807Z] ---> Running in ab30b91199a0 [2020-06-18T18:19:54.067Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-18T18:19:54.639Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-18T18:19:55.211Z] OK: 143 MiB in 39 packages [2020-06-18T18:19:55.471Z] Removing intermediate container ab30b91199a0 [2020-06-18T18:19:55.471Z] ---> 54be48dadeee [2020-06-18T18:19:55.471Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-18T18:19:55.471Z] ---> Running in 1673169fab00 [2020-06-18T18:19:55.732Z] Removing intermediate container 1673169fab00 [2020-06-18T18:19:55.732Z] ---> 955a506b0d0c [2020-06-18T18:19:55.732Z] Step 9/24 : COPY go.mod . [2020-06-18T18:19:55.993Z] ---> e70aa3dc2925 [2020-06-18T18:19:55.993Z] Step 10/24 : COPY Makefile . [2020-06-18T18:19:55.993Z] ---> 544d102181eb [2020-06-18T18:19:55.993Z] Step 11/24 : RUN make update [2020-06-18T18:19:56.254Z] ---> Running in 0040c16acfdf [2020-06-18T18:19:56.516Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-18T18:19:57.092Z] Removing intermediate container 0040c16acfdf [2020-06-18T18:19:57.092Z] ---> 0e5371f798f4 [2020-06-18T18:19:57.092Z] Step 12/24 : COPY . . [2020-06-18T18:19:57.368Z] ---> ef21c9b4d003 [2020-06-18T18:19:57.368Z] Step 13/24 : RUN $MAKE [2020-06-18T18:19:57.368Z] ---> Running in 164fb9e08dbb [2020-06-18T18:19:57.946Z] 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-06-18T18:20:08.059Z] Removing intermediate container 164fb9e08dbb [2020-06-18T18:20:08.059Z] ---> 562626abbf83 [2020-06-18T18:20:08.059Z] Step 14/24 : FROM alpine:latest [2020-06-18T18:20:08.059Z] latest: Pulling from library/alpine [2020-06-18T18:20:08.059Z] df20fa9351a1: Pulling fs layer [2020-06-18T18:20:08.059Z] df20fa9351a1: Verifying Checksum [2020-06-18T18:20:08.059Z] df20fa9351a1: Download complete [2020-06-18T18:20:08.320Z] df20fa9351a1: Pull complete [2020-06-18T18:20:08.320Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-18T18:20:08.320Z] Status: Downloaded newer image for alpine:latest [2020-06-18T18:20:08.320Z] ---> a24bb4013296 [2020-06-18T18:20:08.320Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-18T18:20:08.581Z] ---> Running in 426f13f3cbd9 [2020-06-18T18:20:08.841Z] Removing intermediate container 426f13f3cbd9 [2020-06-18T18:20:08.841Z] ---> 1e8f62c8effa [2020-06-18T18:20:08.842Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-18T18:20:08.842Z] ---> Running in 609ba2fec9c4 [2020-06-18T18:20:08.842Z] Removing intermediate container 609ba2fec9c4 [2020-06-18T18:20:08.842Z] ---> 7672cd6e6295 [2020-06-18T18:20:08.842Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-18T18:20:09.103Z] ---> 5430f25fd04e [2020-06-18T18:20:09.103Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-18T18:20:09.364Z] ---> 6e20b819eb45 [2020-06-18T18:20:09.364Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-18T18:20:09.936Z] ---> b0d6b7560e41 [2020-06-18T18:20:09.936Z] Step 20/24 : EXPOSE 49986 [2020-06-18T18:20:09.936Z] ---> Running in c5b9f2a8d099 [2020-06-18T18:20:10.197Z] Removing intermediate container c5b9f2a8d099 [2020-06-18T18:20:10.197Z] ---> cd85b04ba19d [2020-06-18T18:20:10.197Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-18T18:20:10.197Z] ---> Running in 72c54e44fdfe [2020-06-18T18:20:10.459Z] Removing intermediate container 72c54e44fdfe [2020-06-18T18:20:10.459Z] ---> 9a2039b78dff [2020-06-18T18:20:10.459Z] Step 22/24 : LABEL arch=amd64 [2020-06-18T18:20:10.459Z] ---> Running in 9e8518de3b89 [2020-06-18T18:20:10.459Z] Removing intermediate container 9e8518de3b89 [2020-06-18T18:20:10.459Z] ---> a7eae4e3523a [2020-06-18T18:20:10.459Z] Step 23/24 : LABEL git_sha=272cbba74b5445e980adb416089d8b6fd8262e28 [2020-06-18T18:20:10.720Z] ---> Running in 665c411f7b01 [2020-06-18T18:20:10.720Z] Removing intermediate container 665c411f7b01 [2020-06-18T18:20:10.720Z] ---> cd3848858ed7 [2020-06-18T18:20:10.720Z] Step 24/24 : LABEL version=0.0.0 [2020-06-18T18:20:10.720Z] ---> Running in a7ecbbac028d [2020-06-18T18:20:10.987Z] Removing intermediate container a7ecbbac028d [2020-06-18T18:20:10.987Z] ---> a06644a31402 [2020-06-18T18:20:10.987Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-18T18:20:10.987Z] Successfully built a06644a31402 [2020-06-18T18:20:10.987Z] 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-06-18T18:20:12.455Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-18T18:20:12.455Z] ok github.com/edgexfoundry/device-rest-go/driver 0.038s coverage: 56.3% of statements [2020-06-18T18:20:12.455Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-18T18:20:15.842Z] gofmt -l . [2020-06-18T18:20:15.842Z] [ "`gofmt -l .`" = "" ] [2020-06-18T18:20:15.842Z] ./bin/test-go-mod-tidy.sh [2020-06-18T18:20:16.112Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-18T18:20:16.725Z] Warning: overwriting stash ‘coverage-report’ [2020-06-18T18:20:17.114Z] Stashed 1 file(s) [Pipeline] } [2020-06-18T18:20:17.118Z] $ docker stop --time=1 2d2e23c6ea54fc351e3af4357dbfad3b1befa4ffe24c40c6ec095ff22bd6ef0e [2020-06-18T18:20:19.557Z] $ docker rm -f 2d2e23c6ea54fc351e3af4357dbfad3b1befa4ffe24c40c6ec095ff22bd6ef0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-18T18:20:20.545Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-18T18:20:21.146Z] + ls -al . [2020-06-18T18:20:21.146Z] total 120 [2020-06-18T18:20:21.146Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 18 18:20 . [2020-06-18T18:20:21.146Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 18:18 .. [2020-06-18T18:20:21.146Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 18 18:18 .dockerignore [2020-06-18T18:20:21.146Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 18:18 .git [2020-06-18T18:20:21.146Z] -rw-rw-r-- 1 jenkins jenkins 339 Jun 18 18:18 .gitignore [2020-06-18T18:20:21.146Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 18:18 .semver [2020-06-18T18:20:21.146Z] -rw-rw-r-- 1 jenkins jenkins 4802 Jun 18 18:18 Attribution.txt [2020-06-18T18:20:21.146Z] -rw-rw-r-- 1 jenkins jenkins 1504 Jun 18 18:18 Dockerfile [2020-06-18T18:20:21.146Z] -rw-rw-r-- 1 jenkins jenkins 989 Jun 18 18:18 Dockerfile.build [2020-06-18T18:20:21.146Z] -rw-rw-r-- 1 jenkins jenkins 702 Jun 18 18:18 Jenkinsfile [2020-06-18T18:20:21.146Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 18 18:18 LICENSE [2020-06-18T18:20:21.146Z] -rw-rw-r-- 1 jenkins jenkins 951 Jun 18 18:18 Makefile [2020-06-18T18:20:21.146Z] -rw-rw-r-- 1 jenkins jenkins 5716 Jun 18 18:18 README.md [2020-06-18T18:20:21.146Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 18:16 VERSION [2020-06-18T18:20:21.146Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 18:18 bin [2020-06-18T18:20:21.146Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 18:18 cmd [2020-06-18T18:20:21.146Z] -rw-r--r-- 1 jenkins jenkins 9369 Jun 18 18:20 coverage.out [2020-06-18T18:20:21.146Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 18:20 driver [2020-06-18T18:20:21.146Z] -rw-r--r-- 1 jenkins jenkins 266 Jun 18 18:20 go.mod [2020-06-18T18:20:21.146Z] -rw-r--r-- 1 jenkins jenkins 12533 Jun 18 18:20 go.sum [2020-06-18T18:20:21.146Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 18 18:18 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:20:21.490Z] + 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=272cbba74b5445e980adb416089d8b6fd8262e28 --label arch=arm64 --label version=0.0.0 . [2020-06-18T18:20:21.763Z] Sending build context to Docker daemon 8.04MB [2020-06-18T18:20:22.037Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-18T18:20:22.037Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-18T18:20:22.037Z] ---> e59034d91bbc [2020-06-18T18:20:22.037Z] Step 3/24 : ARG MAKE='make build' [2020-06-18T18:20:22.310Z] ---> Running in b8451381c1d7 [2020-06-18T18:20:22.583Z] Removing intermediate container b8451381c1d7 [2020-06-18T18:20:22.583Z] ---> ec7acbc1e4e8 [2020-06-18T18:20:22.583Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-18T18:20:22.858Z] ---> Running in 867cf2819762 [2020-06-18T18:20:23.130Z] Removing intermediate container 867cf2819762 [2020-06-18T18:20:23.130Z] ---> 162d6ec64b0b [2020-06-18T18:20:23.130Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-18T18:20:23.402Z] ---> Running in ac26e286edcf [2020-06-18T18:20:23.684Z] Removing intermediate container ac26e286edcf [2020-06-18T18:20:23.684Z] ---> eda30a51411e [2020-06-18T18:20:23.684Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-18T18:20:23.684Z] ---> Running in 02351bffe76c [2020-06-18T18:20:26.304Z] Removing intermediate container 02351bffe76c [2020-06-18T18:20:26.304Z] ---> ff827001f8d5 [2020-06-18T18:20:26.304Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-18T18:20:26.305Z] ---> Running in 3bbd9b0cfb97 [2020-06-18T18:20:27.736Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-18T18:20:28.713Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-18T18:20:28.984Z] OK: 125 MiB in 39 packages [2020-06-18T18:20:30.423Z] Removing intermediate container 3bbd9b0cfb97 [2020-06-18T18:20:30.423Z] ---> 60dee6c18560 [2020-06-18T18:20:30.423Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-18T18:20:30.423Z] ---> Running in ad759837161a [2020-06-18T18:20:30.695Z] Removing intermediate container ad759837161a [2020-06-18T18:20:30.695Z] ---> aae93fd5051e [2020-06-18T18:20:30.695Z] Step 9/24 : COPY go.mod . [2020-06-18T18:20:31.683Z] ---> 5405e8b3e879 [2020-06-18T18:20:31.683Z] Step 10/24 : COPY Makefile . [2020-06-18T18:20:32.277Z] ---> 7522e6b2a90f [2020-06-18T18:20:32.277Z] Step 11/24 : RUN make update [2020-06-18T18:20:32.277Z] ---> Running in 0a18f68264dc [2020-06-18T18:20:33.706Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-18T18:20:35.145Z] Removing intermediate container 0a18f68264dc [2020-06-18T18:20:35.145Z] ---> e8f88a4f04d5 [2020-06-18T18:20:35.145Z] Step 12/24 : COPY . . [2020-06-18T18:20:36.127Z] ---> 1baa48f261fb [2020-06-18T18:20:36.127Z] Step 13/24 : RUN $MAKE [2020-06-18T18:20:36.127Z] ---> Running in 76318a57aa56 [2020-06-18T18:20:37.560Z] 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-06-18T18:21:04.365Z] Removing intermediate container 76318a57aa56 [2020-06-18T18:21:04.365Z] ---> 2860f3afedc1 [2020-06-18T18:21:04.365Z] Step 14/24 : FROM alpine:latest [2020-06-18T18:21:04.365Z] latest: Pulling from library/alpine [2020-06-18T18:21:04.637Z] b538f80385f9: Pulling fs layer [2020-06-18T18:21:04.911Z] b538f80385f9: Download complete [2020-06-18T18:21:05.511Z] b538f80385f9: Pull complete [2020-06-18T18:21:05.511Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-18T18:21:05.511Z] Status: Downloaded newer image for alpine:latest [2020-06-18T18:21:05.511Z] ---> 62ee0e9f8440 [2020-06-18T18:21:05.511Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-18T18:21:05.511Z] ---> Running in 4fc442fa1163 [2020-06-18T18:21:06.114Z] Removing intermediate container 4fc442fa1163 [2020-06-18T18:21:06.114Z] ---> 815e7cdd850b [2020-06-18T18:21:06.114Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-18T18:21:06.114Z] ---> Running in 92e025b4062a [2020-06-18T18:21:06.709Z] Removing intermediate container 92e025b4062a [2020-06-18T18:21:06.709Z] ---> 62e6da93a8a1 [2020-06-18T18:21:06.709Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-18T18:21:07.305Z] ---> af78625f8d96 [2020-06-18T18:21:07.305Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-18T18:21:07.905Z] ---> cba4958644d4 [2020-06-18T18:21:07.905Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-18T18:21:09.342Z] ---> 2cc5e42a183d [2020-06-18T18:21:09.342Z] Step 20/24 : EXPOSE 49986 [2020-06-18T18:21:09.622Z] ---> Running in 3493630a08ff [2020-06-18T18:21:09.895Z] Removing intermediate container 3493630a08ff [2020-06-18T18:21:09.895Z] ---> 8b1197e3789a [2020-06-18T18:21:09.895Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-18T18:21:10.171Z] ---> Running in abeb38ab911c [2020-06-18T18:21:10.445Z] Removing intermediate container abeb38ab911c [2020-06-18T18:21:10.445Z] ---> f29be2e8fe49 [2020-06-18T18:21:10.445Z] Step 22/24 : LABEL arch=arm64 [2020-06-18T18:21:10.718Z] ---> Running in 916c8f8dd0e2 [2020-06-18T18:21:10.991Z] Removing intermediate container 916c8f8dd0e2 [2020-06-18T18:21:10.991Z] ---> ed96dbe7d1d7 [2020-06-18T18:21:10.991Z] Step 23/24 : LABEL git_sha=272cbba74b5445e980adb416089d8b6fd8262e28 [2020-06-18T18:21:11.268Z] ---> Running in c52341a7c2b8 [2020-06-18T18:21:11.539Z] Removing intermediate container c52341a7c2b8 [2020-06-18T18:21:11.539Z] ---> 1fcc473c163c [2020-06-18T18:21:11.539Z] Step 24/24 : LABEL version=0.0.0 [2020-06-18T18:21:11.811Z] ---> Running in 07252eadcba7 [2020-06-18T18:21:12.082Z] Removing intermediate container 07252eadcba7 [2020-06-18T18:21:12.082Z] ---> 606f6b5e5110 [2020-06-18T18:21:12.082Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-18T18:21:12.082Z] Successfully built 606f6b5e5110 [2020-06-18T18:21:12.082Z] 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-06-18T18:21:12.800Z] provisioning config files... [2020-06-18T18:21:12.811Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config6120544694492610490tmp [Pipeline] { [Pipeline] sh [2020-06-18T18:21:13.138Z] + curl -s https://codecov.io/bash [2020-06-18T18:21:13.138Z] + bash -s - -t @/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config6120544694492610490tmp [2020-06-18T18:21:13.401Z] [2020-06-18T18:21:13.401Z] _____ _ [2020-06-18T18:21:13.401Z] / ____| | | [2020-06-18T18:21:13.401Z] | | ___ __| | ___ ___ _____ __ [2020-06-18T18:21:13.401Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-18T18:21:13.401Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-18T18:21:13.401Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-18T18:21:13.401Z] Bash-20200602-f809a24 [2020-06-18T18:21:13.401Z] [2020-06-18T18:21:13.401Z] [2020-06-18T18:21:13.401Z] ==> Jenkins CI detected. [2020-06-18T18:21:13.401Z] project root: . [2020-06-18T18:21:13.401Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-18T18:21:13.401Z] ==> Running gcov in . (disable via -X gcov) [2020-06-18T18:21:13.401Z] ==> Python coveragepy not found [2020-06-18T18:21:13.401Z] ==> Searching for coverage reports in: [2020-06-18T18:21:13.402Z] + . [2020-06-18T18:21:13.402Z] -> Found 1 reports [2020-06-18T18:21:13.402Z] ==> Detecting git/mercurial file structure [2020-06-18T18:21:13.402Z] ==> Reading reports [2020-06-18T18:21:13.402Z] + ./coverage.out bytes=9369 [2020-06-18T18:21:13.402Z] ==> Appending adjustments [2020-06-18T18:21:13.402Z] https://docs.codecov.io/docs/fixing-reports [2020-06-18T18:21:13.402Z] + Found adjustments [2020-06-18T18:21:13.402Z] ==> Gzipping contents [2020-06-18T18:21:13.402Z] ==> Uploading reports [2020-06-18T18:21:13.402Z] url: https://codecov.io [2020-06-18T18:21:13.402Z] query: branch=snap&commit=272cbba74b5445e980adb416089d8b6fd8262e28&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fsnap%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= [2020-06-18T18:21:13.402Z] -> Pinging Codecov [2020-06-18T18:21:13.402Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=snap&commit=272cbba74b5445e980adb416089d8b6fd8262e28&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fsnap%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= [2020-06-18T18:21:13.973Z] -> Uploading [2020-06-18T18:21:14.543Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/272cbba74b5445e980adb416089d8b6fd8262e28 [Pipeline] } [2020-06-18T18:21:14.552Z] 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-06-18T18:21:15.426Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-18T18:21:15.985Z] ---> package-listing.sh [2020-06-18T18:21:15.985Z] ++ facter osfamily [2020-06-18T18:21:15.985Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-18T18:21:15.985Z] + OS_FAMILY=redhat [2020-06-18T18:21:15.985Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_snap [2020-06-18T18:21:15.985Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-18T18:21:15.985Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-18T18:21:15.985Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-18T18:21:15.985Z] + PACKAGES=/tmp/packages_start.txt [2020-06-18T18:21:15.985Z] + '[' /w/workspace/edgexfoundry_device-rest-go_snap ']' [2020-06-18T18:21:15.985Z] + PACKAGES=/tmp/packages_end.txt [2020-06-18T18:21:15.985Z] + case "${OS_FAMILY}" in [2020-06-18T18:21:15.985Z] + rpm -qa [2020-06-18T18:21:15.985Z] + sort [2020-06-18T18:21:19.285Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-18T18:21:19.285Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-18T18:21:19.285Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-18T18:21:19.285Z] + '[' /w/workspace/edgexfoundry_device-rest-go_snap ']' [2020-06-18T18:21:19.285Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_snap/archives/ [2020-06-18T18:21:19.285Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_snap/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:21:19.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-18T18:21:19.906Z] [2020-06-18T18:21:19.906Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:21:20.248Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-18T18:21:20.248Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-18T18:21:20.248Z] c9b1b535fdd9: Pulling fs layer [2020-06-18T18:21:20.248Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-18T18:21:20.248Z] 756a868c4378: Pulling fs layer [2020-06-18T18:21:20.248Z] 444b2fc9a129: Pulling fs layer [2020-06-18T18:21:20.248Z] ea15f1150254: Pulling fs layer [2020-06-18T18:21:20.248Z] 41b27a9f41bf: Pulling fs layer [2020-06-18T18:21:20.248Z] 28c525ee5125: Pulling fs layer [2020-06-18T18:21:20.248Z] 094b1ea09ed8: Pulling fs layer [2020-06-18T18:21:20.248Z] 138eaada9080: Pulling fs layer [2020-06-18T18:21:20.248Z] 0622d0fa9048: Pulling fs layer [2020-06-18T18:21:20.248Z] 41b27a9f41bf: Waiting [2020-06-18T18:21:20.248Z] 28c525ee5125: Waiting [2020-06-18T18:21:20.248Z] 094b1ea09ed8: Waiting [2020-06-18T18:21:20.248Z] 138eaada9080: Waiting [2020-06-18T18:21:20.248Z] 444b2fc9a129: Waiting [2020-06-18T18:21:20.248Z] 0622d0fa9048: Waiting [2020-06-18T18:21:20.248Z] ea15f1150254: Waiting [2020-06-18T18:21:20.248Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-18T18:21:20.248Z] 2cc5ad85d9ab: Download complete [2020-06-18T18:21:20.248Z] 444b2fc9a129: Verifying Checksum [2020-06-18T18:21:20.248Z] 444b2fc9a129: Download complete [2020-06-18T18:21:20.248Z] c9b1b535fdd9: Verifying Checksum [2020-06-18T18:21:20.248Z] c9b1b535fdd9: Download complete [2020-06-18T18:21:20.528Z] ea15f1150254: Verifying Checksum [2020-06-18T18:21:20.528Z] ea15f1150254: Download complete [2020-06-18T18:21:20.528Z] 28c525ee5125: Verifying Checksum [2020-06-18T18:21:20.528Z] 28c525ee5125: Download complete [2020-06-18T18:21:20.807Z] 756a868c4378: Verifying Checksum [2020-06-18T18:21:20.807Z] 756a868c4378: Download complete [2020-06-18T18:21:20.807Z] c9b1b535fdd9: Pull complete [2020-06-18T18:21:20.807Z] 138eaada9080: Verifying Checksum [2020-06-18T18:21:20.807Z] 138eaada9080: Download complete [2020-06-18T18:21:21.092Z] 0622d0fa9048: Verifying Checksum [2020-06-18T18:21:21.092Z] 0622d0fa9048: Download complete [2020-06-18T18:21:21.092Z] 094b1ea09ed8: Verifying Checksum [2020-06-18T18:21:21.092Z] 094b1ea09ed8: Download complete [2020-06-18T18:21:21.092Z] 2cc5ad85d9ab: Pull complete [2020-06-18T18:21:21.674Z] 41b27a9f41bf: Verifying Checksum [2020-06-18T18:21:21.674Z] 41b27a9f41bf: Download complete [2020-06-18T18:21:22.625Z] 756a868c4378: Pull complete [2020-06-18T18:21:22.887Z] 444b2fc9a129: Pull complete [2020-06-18T18:21:23.148Z] ea15f1150254: Pull complete [2020-06-18T18:21:27.366Z] 41b27a9f41bf: Pull complete [2020-06-18T18:21:27.366Z] 28c525ee5125: Pull complete [2020-06-18T18:21:29.925Z] 094b1ea09ed8: Pull complete [2020-06-18T18:21:30.185Z] 138eaada9080: Pull complete [2020-06-18T18:21:30.185Z] 0622d0fa9048: Pull complete [2020-06-18T18:21:30.185Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-18T18:21:30.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-18T18:21:30.185Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-18T18:21:30.333Z] prd-centos7-docker-4c-2g-3594 does not seem to be running inside a container [2020-06-18T18:21:30.379Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/edgexfoundry_device-rest-go_snap -v /w/workspace/edgexfoundry_device-rest-go_snap:/w/workspace/edgexfoundry_device-rest-go_snap:rw,z -v /w/workspace/edgexfoundry_device-rest-go_snap@tmp:/w/workspace/edgexfoundry_device-rest-go_snap@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-18T18:21:33.761Z] $ docker top de5cc1eeebe95f292a842b40a871191a1a0fbdcada269d2e16f040761c24cbf5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-18T18:21:33.930Z] provisioning config files... [2020-06-18T18:21:33.942Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config6912025492706474272tmp [Pipeline] { [Pipeline] echo [2020-06-18T18:21:33.973Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-18T18:21:34.264Z] ---> create-netrc.sh [Pipeline] echo [2020-06-18T18:21:34.273Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-18T18:21:34.571Z] ---> logs-deploy.sh [2020-06-18T18:21:34.571Z] + ARCHIVE_ARTIFACTS= [2020-06-18T18:21:34.571Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-18T18:21:34.571Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-18T18:21:34.571Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-18T18:21:34.571Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/3 [2020-06-18T18:21:34.571Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/snap/3/ [2020-06-18T18:21:34.571Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/3 /w/workspace/edgexfoundry_device-rest-go_snap [2020-06-18T18:21:35.961Z] Archives upload complete. [2020-06-18T18:21:35.961Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/snap/3/