Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6a789b21587e08efa5f24f48d2b3dd019da7f7d4+5644139549e3358844d35a6dfdbf7cafe4e170bd (e96fa57d964ab1c7ba8102d9b43fe31e9e6144b2) 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 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 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 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 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 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 # timeout=10 Commit message: "Merge pull request #218 from ernestojeda/add-geneva-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-818 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 5644139549e3358844d35a6dfdbf7cafe4e170bd into PR head commit 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 Merge succeeded, producing 6d1c0f28e536badcc7b7fc5c64f9c1d205908853 Checking out Revision 6d1c0f28e536badcc7b7fc5c64f9c1d205908853 (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 5644139549e3358844d35a6dfdbf7cafe4e170bd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d1c0f28e536badcc7b7fc5c64f9c1d205908853 # timeout=10 Commit message: "Merge commit '5644139549e3358844d35a6dfdbf7cafe4e170bd' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 269da8e8797ab8b19895ebade1b65d9ef4306791 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-24T07:08:55.038Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-24T07:08:55.281Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-24T07:08:55.358Z] ========================================================= [2020-07-24T07:08:55.358Z] EdgeX Global Pipelines Version Info [2020-07-24T07:08:55.358Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-24T07:08:56.751Z] ------------------- [2020-07-24T07:08:56.751Z] stable info: [2020-07-24T07:08:56.751Z] ------------------- [2020-07-24T07:08:56.751Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-24T07:08:56.751Z] Commit SHA: 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 [2020-07-24T07:08:56.751Z] Message: update stable to v1.0.105 [2020-07-24T07:08:57.690Z] ------------------- [2020-07-24T07:08:57.690Z] experimental info: [2020-07-24T07:08:57.690Z] ------------------- [2020-07-24T07:08:57.690Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-24T07:08:57.690Z] Commit SHA: 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 [2020-07-24T07:08:57.690Z] Message: update experimental to v1.0.105 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-24T07:08:59.733Z] + git log --format=format:%s -1 6d1c0f28e536badcc7b7fc5c64f9c1d205908853 [Pipeline] echo [2020-07-24T07:08:59.785Z] GIT_COMMIT: 6d1c0f28e536badcc7b7fc5c64f9c1d205908853, Commit Message: Merge commit '5644139549e3358844d35a6dfdbf7cafe4e170bd' into HEAD [Pipeline] echo [2020-07-24T07:08:59.824Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-07-24T07:09:00.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-24T07:09:00.665Z] [2020-07-24T07:09:00.665Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-24T07:09:01.001Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-24T07:09:01.002Z] latest: Pulling from edgex-devops/git-semver [2020-07-24T07:09:01.002Z] 31603596830f: Pulling fs layer [2020-07-24T07:09:01.002Z] 2a8b12db71e7: Pulling fs layer [2020-07-24T07:09:01.002Z] 6ca5941a6612: Pulling fs layer [2020-07-24T07:09:01.002Z] ecc8261a40a4: Pulling fs layer [2020-07-24T07:09:01.002Z] ecc8261a40a4: Waiting [2020-07-24T07:09:01.002Z] 2a8b12db71e7: Verifying Checksum [2020-07-24T07:09:01.002Z] 2a8b12db71e7: Download complete [2020-07-24T07:09:01.002Z] 31603596830f: Download complete [2020-07-24T07:09:01.264Z] ecc8261a40a4: Verifying Checksum [2020-07-24T07:09:01.264Z] ecc8261a40a4: Download complete [2020-07-24T07:09:01.264Z] 6ca5941a6612: Verifying Checksum [2020-07-24T07:09:01.264Z] 6ca5941a6612: Download complete [2020-07-24T07:09:01.528Z] 31603596830f: Pull complete [2020-07-24T07:09:01.528Z] 2a8b12db71e7: Pull complete [2020-07-24T07:09:02.099Z] 6ca5941a6612: Pull complete [2020-07-24T07:09:02.360Z] ecc8261a40a4: Pull complete [2020-07-24T07:09:02.360Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-24T07:09:02.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-24T07:09:02.360Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-24T07:09:02.455Z] prd-centos7-docker-4c-2g-818 does not seem to be running inside a container [2020-07-24T07:09:02.494Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-24T07:09:04.772Z] $ docker top 4f4e7cc30a4d65beead1ea00f5ca24515be84a902ca98276303d85dc3bef0b21 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-24T07:09:05.187Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-24T07:09:05.187Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-24T07:09:05.370Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-24T07:09:05.369Z] $ docker exec 4f4e7cc30a4d65beead1ea00f5ca24515be84a902ca98276303d85dc3bef0b21 ssh-agent [2020-07-24T07:09:05.530Z] SSH_AUTH_SOCK=/tmp/ssh-EhrITnEGt86T/agent.11 [2020-07-24T07:09:05.530Z] SSH_AGENT_PID=16 [2020-07-24T07:09:05.540Z] Running ssh-add (command line suppressed) [2020-07-24T07:09:05.646Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_404298142130347806.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_404298142130347806.key) [2020-07-24T07:09:05.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-24T07:09:06.017Z] + git describe --exact-match --tags HEAD [2020-07-24T07:09:06.017Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-24T07:09:06.032Z] $ docker exec --env ******** --env ******** 4f4e7cc30a4d65beead1ea00f5ca24515be84a902ca98276303d85dc3bef0b21 ssh-agent -k [2020-07-24T07:09:06.140Z] unset SSH_AUTH_SOCK; [2020-07-24T07:09:06.140Z] unset SSH_AGENT_PID; [2020-07-24T07:09:06.140Z] echo Agent pid 16 killed; [2020-07-24T07:09:06.184Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-24T07:09:06.282Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-24T07:09:06.282Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-24T07:09:06.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-24T07:09:06.372Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-24T07:09:06.530Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-24T07:09:06.529Z] $ docker exec 4f4e7cc30a4d65beead1ea00f5ca24515be84a902ca98276303d85dc3bef0b21 ssh-agent [2020-07-24T07:09:06.685Z] SSH_AUTH_SOCK=/tmp/ssh-Z5fAk0UgZ1FW/agent.46 [2020-07-24T07:09:06.685Z] SSH_AGENT_PID=51 [2020-07-24T07:09:06.691Z] Running ssh-add (command line suppressed) [2020-07-24T07:09:06.800Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_8548045713719483748.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_8548045713719483748.key) [2020-07-24T07:09:06.850Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-24T07:09:07.175Z] + git semver init [2020-07-24T07:09:07.175Z] # -> Open(): unable to determine branch for HEAD [2020-07-24T07:09:07.175Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.git [2020-07-24T07:09:07.175Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-27 [2020-07-24T07:09:07.175Z] # $SEMVER_REMOTE_NAME = origin [2020-07-24T07:09:07.175Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-24T07:09:07.175Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-24T07:09:07.175Z] # $SEMVER_BRANCH = PR-27 [2020-07-24T07:09:07.175Z] # $SEMVER_TEMP = /tmp/semver-568216387 [2020-07-24T07:09:07.175Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-07-24T07:09:08.117Z] # '/tmp/semver-568216387' -> '/w/workspace/dgexfoundry_device-rest-go_PR-27/.semver' [2020-07-24T07:09:08.379Z] # -> Force: false [2020-07-24T07:09:08.379Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.semver [Pipeline] } [2020-07-24T07:09:08.386Z] $ docker exec --env ******** --env ******** 4f4e7cc30a4d65beead1ea00f5ca24515be84a902ca98276303d85dc3bef0b21 ssh-agent -k [2020-07-24T07:09:08.494Z] unset SSH_AUTH_SOCK; [2020-07-24T07:09:08.495Z] unset SSH_AGENT_PID; [2020-07-24T07:09:08.495Z] echo Agent pid 51 killed; [2020-07-24T07:09:08.538Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-24T07:09:08.975Z] + git semver [Pipeline] } [2020-07-24T07:09:08.985Z] $ docker stop --time=1 4f4e7cc30a4d65beead1ea00f5ca24515be84a902ca98276303d85dc3bef0b21 [2020-07-24T07:09:10.381Z] $ docker rm -f 4f4e7cc30a4d65beead1ea00f5ca24515be84a902ca98276303d85dc3bef0b21 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-24T07:09:11.958Z] Stashed 17 file(s) [Pipeline] echo [2020-07-24T07:09:11.960Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo [2020-07-24T07:09:12.038Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-07-24T07:09:27.368Z] Still waiting to schedule task [2020-07-24T07:09:27.368Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-07-24T07:09:27.370Z] Still waiting to schedule task [2020-07-24T07:09:27.370Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-07-24T07:11:07.160Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-819 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws [2020-07-24T07:11:07.201Z] Running in /w/workspace/device-rest-go/12 [Pipeline] { [Pipeline] checkout [2020-07-24T07:11:12.272Z] using credential edgex-jenkins-ssh [2020-07-24T07:11:12.343Z] Cloning the remote Git repository [2020-07-24T07:11:12.343Z] Cloning with configured refspecs honoured and without tags [2020-07-24T07:11:12.404Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-07-24T07:11:12.516Z] > git init /w/workspace/device-rest-go/12 # timeout=10 [2020-07-24T07:11:12.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-24T07:11:12.582Z] > git --version # timeout=10 [2020-07-24T07:11:12.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-24T07:11:12.675Z] > 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-24T07:11:14.328Z] Fetching without tags [2020-07-24T07:11:14.170Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-24T07:11:14.191Z] > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 [2020-07-24T07:11:14.213Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-24T07:11:14.246Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-24T07:11:14.339Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-24T07:11:14.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-24T07:11:14.354Z] > 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-24T07:11:14.849Z] Merging remotes/origin/master commit 5644139549e3358844d35a6dfdbf7cafe4e170bd into PR head commit 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 [2020-07-24T07:11:15.075Z] Merge succeeded, producing c242a287d1a2c420923add0db9cfc95802685927 [2020-07-24T07:11:15.075Z] Checking out Revision c242a287d1a2c420923add0db9cfc95802685927 (PR-27) [2020-07-24T07:11:15.479Z] Running on prd-centos7-docker-4c-2g-820 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws [2020-07-24T07:11:15.522Z] Running in /w/workspace/device-rest-go/12 [Pipeline] { [Pipeline] checkout [2020-07-24T07:11:14.874Z] > git config core.sparsecheckout # timeout=10 [2020-07-24T07:11:14.889Z] > git checkout -f 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 # timeout=10 [2020-07-24T07:11:14.966Z] > git remote # timeout=10 [2020-07-24T07:11:14.982Z] > git config --get remote.origin.url # timeout=10 [2020-07-24T07:11:15.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-24T07:11:15.015Z] > git merge 5644139549e3358844d35a6dfdbf7cafe4e170bd # timeout=10 [2020-07-24T07:11:15.052Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-24T07:11:15.080Z] > git config core.sparsecheckout # timeout=10 [2020-07-24T07:11:15.109Z] > git checkout -f c242a287d1a2c420923add0db9cfc95802685927 # timeout=10 [2020-07-24T07:11:17.723Z] using credential edgex-jenkins-ssh [2020-07-24T07:11:17.764Z] Cloning the remote Git repository [2020-07-24T07:11:17.764Z] Cloning with configured refspecs honoured and without tags [2020-07-24T07:11:18.739Z] Fetching without tags [2020-07-24T07:11:17.590Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-07-24T07:11:17.661Z] > git init /w/workspace/device-rest-go/12 # timeout=10 [2020-07-24T07:11:17.707Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-24T07:11:17.707Z] > git --version # timeout=10 [2020-07-24T07:11:17.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-24T07:11:17.745Z] > 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-24T07:11:18.596Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-24T07:11:18.603Z] > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 [2020-07-24T07:11:18.608Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-24T07:11:18.616Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-24T07:11:18.626Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-24T07:11:18.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-24T07:11:18.639Z] > 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-24T07:11:19.135Z] Merging remotes/origin/master commit 5644139549e3358844d35a6dfdbf7cafe4e170bd into PR head commit 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 [2020-07-24T07:11:19.219Z] Merge succeeded, producing 7dfb402ddb73e1162628c4af5ca99f351e93b6e3 [2020-07-24T07:11:19.220Z] Checking out Revision 7dfb402ddb73e1162628c4af5ca99f351e93b6e3 (PR-27) [2020-07-24T07:11:19.257Z] Commit message: "Merge commit '5644139549e3358844d35a6dfdbf7cafe4e170bd' into HEAD" [2020-07-24T07:11:19.282Z] First time build. Skipping changelog. [2020-07-24T07:11:19.061Z] > git config core.sparsecheckout # timeout=10 [2020-07-24T07:11:19.067Z] > git checkout -f 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 # timeout=10 [2020-07-24T07:11:19.098Z] > git remote # timeout=10 [2020-07-24T07:11:19.103Z] > git config --get remote.origin.url # timeout=10 [2020-07-24T07:11:19.111Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-24T07:11:19.115Z] > git merge 5644139549e3358844d35a6dfdbf7cafe4e170bd # timeout=10 [2020-07-24T07:11:19.137Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-24T07:11:19.146Z] > git config core.sparsecheckout # timeout=10 [2020-07-24T07:11:19.151Z] > git checkout -f 7dfb402ddb73e1162628c4af5ca99f351e93b6e3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-07-24T07:11:19.264Z] > git rev-list --no-walk 269da8e8797ab8b19895ebade1b65d9ef4306791 # timeout=10 [Pipeline] echo [2020-07-24T07:11:21.431Z] ========================================================= [2020-07-24T07:11:21.431Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-24T07:11:21.431Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-24T07:11:22.443Z] + 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-24T07:11:22.691Z] Commit message: "Merge commit '5644139549e3358844d35a6dfdbf7cafe4e170bd' into HEAD" [2020-07-24T07:11:22.702Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-07-24T07:11:23.424Z] Sending build context to Docker daemon 8.03MB [2020-07-24T07:11:23.424Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-07-24T07:11:23.424Z] Step 2/10 : FROM ${BASE} [2020-07-24T07:11:22.691Z] > git rev-list --no-walk 269da8e8797ab8b19895ebade1b65d9ef4306791 # timeout=10 [Pipeline] echo [2020-07-24T07:11:23.717Z] ========================================================= [2020-07-24T07:11:23.717Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-24T07:11:23.717Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-24T07:11:24.021Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-24T07:11:24.021Z] b538f80385f9: Pulling fs layer [2020-07-24T07:11:24.021Z] 74f711af9a0d: Pulling fs layer [2020-07-24T07:11:24.021Z] 99f96fe45779: Pulling fs layer [2020-07-24T07:11:24.021Z] fd7a069fd194: Pulling fs layer [2020-07-24T07:11:24.021Z] 66aa3694b03b: Pulling fs layer [2020-07-24T07:11:24.021Z] 170f70906a0f: Pulling fs layer [2020-07-24T07:11:24.021Z] ad7c5574e4b9: Pulling fs layer [2020-07-24T07:11:24.021Z] e772456be8f7: Pulling fs layer [2020-07-24T07:11:24.021Z] c890913d741a: Pulling fs layer [2020-07-24T07:11:24.021Z] 2480fcc9aa5a: Pulling fs layer [2020-07-24T07:11:24.021Z] 09adf4765672: Pulling fs layer [2020-07-24T07:11:24.021Z] fd7a069fd194: Waiting [2020-07-24T07:11:24.021Z] e772456be8f7: Waiting [2020-07-24T07:11:24.021Z] c890913d741a: Waiting [2020-07-24T07:11:24.021Z] 2480fcc9aa5a: Waiting [2020-07-24T07:11:24.021Z] 66aa3694b03b: Waiting [2020-07-24T07:11:24.021Z] 170f70906a0f: Waiting [2020-07-24T07:11:24.021Z] 09adf4765672: Waiting [2020-07-24T07:11:24.021Z] ad7c5574e4b9: Waiting [2020-07-24T07:11:24.021Z] 99f96fe45779: Verifying Checksum [2020-07-24T07:11:24.021Z] 99f96fe45779: Download complete [2020-07-24T07:11:24.021Z] 74f711af9a0d: Verifying Checksum [2020-07-24T07:11:24.021Z] 74f711af9a0d: Download complete [2020-07-24T07:11:24.021Z] 66aa3694b03b: Verifying Checksum [2020-07-24T07:11:24.021Z] 66aa3694b03b: Download complete [2020-07-24T07:11:24.021Z] 170f70906a0f: Verifying Checksum [2020-07-24T07:11:24.021Z] 170f70906a0f: Download complete [2020-07-24T07:11:24.021Z] b538f80385f9: Verifying Checksum [2020-07-24T07:11:24.021Z] b538f80385f9: Download complete [2020-07-24T07:11:24.353Z] + 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-24T07:11:24.614Z] Sending build context to Docker daemon 8.03MB [2020-07-24T07:11:24.614Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-07-24T07:11:24.614Z] Step 2/10 : FROM ${BASE} [2020-07-24T07:11:24.883Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-24T07:11:24.883Z] df20fa9351a1: Pulling fs layer [2020-07-24T07:11:24.883Z] ed8968b2872e: Pulling fs layer [2020-07-24T07:11:24.883Z] a92cc7c5fd73: Pulling fs layer [2020-07-24T07:11:24.883Z] 2dd03ba5bac4: Pulling fs layer [2020-07-24T07:11:24.883Z] 1e091d79d1de: Pulling fs layer [2020-07-24T07:11:24.883Z] 481702a1767f: Pulling fs layer [2020-07-24T07:11:24.883Z] f64a6f60c768: Pulling fs layer [2020-07-24T07:11:24.883Z] e78d2573fc39: Pulling fs layer [2020-07-24T07:11:24.883Z] e876d2f968b6: Pulling fs layer [2020-07-24T07:11:24.883Z] ce8a83651883: Pulling fs layer [2020-07-24T07:11:24.883Z] 07967f4d0e4b: Pulling fs layer [2020-07-24T07:11:24.883Z] e78d2573fc39: Waiting [2020-07-24T07:11:24.883Z] e876d2f968b6: Waiting [2020-07-24T07:11:24.883Z] 2dd03ba5bac4: Waiting [2020-07-24T07:11:24.883Z] ce8a83651883: Waiting [2020-07-24T07:11:24.883Z] 1e091d79d1de: Waiting [2020-07-24T07:11:24.883Z] 07967f4d0e4b: Waiting [2020-07-24T07:11:24.883Z] 481702a1767f: Waiting [2020-07-24T07:11:24.883Z] f64a6f60c768: Waiting [2020-07-24T07:11:24.883Z] a92cc7c5fd73: Verifying Checksum [2020-07-24T07:11:24.883Z] a92cc7c5fd73: Download complete [2020-07-24T07:11:24.883Z] ed8968b2872e: Download complete [2020-07-24T07:11:24.883Z] 1e091d79d1de: Download complete [2020-07-24T07:11:24.883Z] 481702a1767f: Download complete [2020-07-24T07:11:24.883Z] df20fa9351a1: Verifying Checksum [2020-07-24T07:11:24.883Z] df20fa9351a1: Download complete [2020-07-24T07:11:25.003Z] b538f80385f9: Pull complete [2020-07-24T07:11:25.149Z] df20fa9351a1: Pull complete [2020-07-24T07:11:25.279Z] 74f711af9a0d: Pull complete [2020-07-24T07:11:25.415Z] ed8968b2872e: Pull complete [2020-07-24T07:11:25.890Z] 99f96fe45779: Pull complete [2020-07-24T07:11:26.015Z] a92cc7c5fd73: Pull complete [2020-07-24T07:11:26.015Z] f64a6f60c768: Verifying Checksum [2020-07-24T07:11:26.015Z] f64a6f60c768: Download complete [2020-07-24T07:11:26.015Z] e876d2f968b6: Verifying Checksum [2020-07-24T07:11:26.015Z] e876d2f968b6: Download complete [2020-07-24T07:11:26.596Z] 2dd03ba5bac4: Verifying Checksum [2020-07-24T07:11:26.596Z] 2dd03ba5bac4: Download complete [2020-07-24T07:11:26.596Z] ce8a83651883: Verifying Checksum [2020-07-24T07:11:26.596Z] ce8a83651883: Download complete [2020-07-24T07:11:26.861Z] 07967f4d0e4b: Verifying Checksum [2020-07-24T07:11:26.861Z] 07967f4d0e4b: Download complete [2020-07-24T07:11:26.861Z] e78d2573fc39: Verifying Checksum [2020-07-24T07:11:26.861Z] e78d2573fc39: Download complete [2020-07-24T07:11:27.315Z] ad7c5574e4b9: Verifying Checksum [2020-07-24T07:11:27.315Z] ad7c5574e4b9: Download complete [2020-07-24T07:11:27.315Z] c890913d741a: Download complete [2020-07-24T07:11:29.294Z] 2480fcc9aa5a: Verifying Checksum [2020-07-24T07:11:29.295Z] 2480fcc9aa5a: Download complete [2020-07-24T07:11:29.295Z] 09adf4765672: Verifying Checksum [2020-07-24T07:11:29.295Z] 09adf4765672: Download complete [2020-07-24T07:11:29.890Z] fd7a069fd194: Verifying Checksum [2020-07-24T07:11:29.890Z] fd7a069fd194: Download complete [2020-07-24T07:11:30.162Z] e772456be8f7: Verifying Checksum [2020-07-24T07:11:30.162Z] e772456be8f7: Download complete [2020-07-24T07:11:32.164Z] 2dd03ba5bac4: Pull complete [2020-07-24T07:11:32.425Z] 1e091d79d1de: Pull complete [2020-07-24T07:11:32.425Z] 481702a1767f: Pull complete [2020-07-24T07:11:42.429Z] f64a6f60c768: Pull complete [2020-07-24T07:11:42.560Z] fd7a069fd194: Pull complete [2020-07-24T07:11:42.560Z] 66aa3694b03b: Pull complete [2020-07-24T07:11:42.560Z] 170f70906a0f: Pull complete [2020-07-24T07:11:43.844Z] e78d2573fc39: Pull complete [2020-07-24T07:11:44.104Z] e876d2f968b6: Pull complete [2020-07-24T07:11:45.049Z] ce8a83651883: Pull complete [2020-07-24T07:11:45.049Z] 07967f4d0e4b: Pull complete [2020-07-24T07:11:45.049Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-07-24T07:11:45.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-24T07:11:45.049Z] ---> 5d7c900382c6 [2020-07-24T07:11:45.049Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-07-24T07:11:45.180Z] ad7c5574e4b9: Pull complete [2020-07-24T07:11:46.433Z] ---> Running in 3fc3b2de3c00 [2020-07-24T07:11:46.433Z] Removing intermediate container 3fc3b2de3c00 [2020-07-24T07:11:46.433Z] ---> b589674d248b [2020-07-24T07:11:46.433Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-07-24T07:11:46.433Z] ---> Running in ff2e857ab263 [2020-07-24T07:11:46.693Z] Removing intermediate container ff2e857ab263 [2020-07-24T07:11:46.693Z] ---> e92142a0cc21 [2020-07-24T07:11:46.693Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-24T07:11:46.693Z] ---> Running in 2224bf7866b9 [2020-07-24T07:11:46.959Z] Removing intermediate container 2224bf7866b9 [2020-07-24T07:11:46.960Z] ---> a227abd220f4 [2020-07-24T07:11:46.960Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-24T07:11:46.960Z] ---> Running in 5a0bfaa95758 [2020-07-24T07:11:48.353Z] Removing intermediate container 5a0bfaa95758 [2020-07-24T07:11:48.353Z] ---> c309e7e03ddd [2020-07-24T07:11:48.353Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-24T07:11:48.353Z] ---> Running in 40faf44c8474 [2020-07-24T07:11:48.927Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-24T07:11:49.482Z] e772456be8f7: Pull complete [2020-07-24T07:11:49.503Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-24T07:11:49.756Z] c890913d741a: Pull complete [2020-07-24T07:11:49.768Z] OK: 166 MiB in 39 packages [2020-07-24T07:11:50.343Z] Removing intermediate container 40faf44c8474 [2020-07-24T07:11:50.343Z] ---> 205601c6d1b0 [2020-07-24T07:11:50.343Z] Step 8/10 : WORKDIR /device-rest-go [2020-07-24T07:11:50.343Z] ---> Running in d63987ad6a39 [2020-07-24T07:11:50.343Z] Removing intermediate container d63987ad6a39 [2020-07-24T07:11:50.343Z] ---> 212a1f45b07b [2020-07-24T07:11:50.343Z] Step 9/10 : COPY . . [2020-07-24T07:11:50.915Z] ---> 413a862aab24 [2020-07-24T07:11:50.915Z] Step 10/10 : RUN go mod download [2020-07-24T07:11:50.915Z] ---> Running in 84b792cd63d9 [2020-07-24T07:11:52.371Z] 2480fcc9aa5a: Pull complete [2020-07-24T07:11:52.371Z] 09adf4765672: Pull complete [2020-07-24T07:11:52.371Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-07-24T07:11:52.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-24T07:11:52.371Z] ---> 2248a725d1cf [2020-07-24T07:11:52.371Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-07-24T07:11:53.469Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-24T07:11:53.469Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-24T07:11:53.469Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-24T07:11:53.469Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-24T07:11:53.469Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-24T07:11:53.469Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-24T07:11:53.469Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-24T07:11:53.469Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-24T07:11:53.469Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-24T07:11:53.469Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-24T07:11:53.469Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-24T07:11:53.469Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-24T07:11:53.469Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-24T07:11:53.469Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-24T07:11:53.469Z] go: finding github.com/fatih/color v1.7.0 [2020-07-24T07:11:53.469Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-24T07:11:53.469Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-24T07:11:53.469Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-24T07:11:53.469Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-24T07:11:53.469Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-24T07:11:53.469Z] go: finding github.com/google/uuid v1.1.0 [2020-07-24T07:11:53.469Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-24T07:11:53.469Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-24T07:11:53.469Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-24T07:11:53.469Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-24T07:11:53.469Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-24T07:11:53.469Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-24T07:11:53.731Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-24T07:11:53.731Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-24T07:11:53.731Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-24T07:11:53.731Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-24T07:11:53.731Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-24T07:11:53.731Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-24T07:11:53.731Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-24T07:11:53.731Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-24T07:11:53.731Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-24T07:11:53.731Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-24T07:11:53.731Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-24T07:11:53.731Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-24T07:11:53.731Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-24T07:11:53.992Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-24T07:11:53.992Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-24T07:11:53.992Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-24T07:11:53.992Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-24T07:11:53.992Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-24T07:11:53.992Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-24T07:11:53.992Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-24T07:11:53.992Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-24T07:11:53.992Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-24T07:11:53.992Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-24T07:11:53.992Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-24T07:11:53.992Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-24T07:11:54.259Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-24T07:11:54.259Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-24T07:11:54.259Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-24T07:11:54.259Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-24T07:11:54.259Z] go: finding github.com/posener/complete v1.1.1 [2020-07-24T07:11:54.259Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-24T07:11:54.259Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-24T07:11:54.259Z] go: finding github.com/spf13/cast v1.3.0 [2020-07-24T07:11:54.259Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-24T07:11:54.259Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-24T07:11:54.259Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-24T07:11:54.259Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-24T07:11:54.521Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-24T07:11:54.521Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-24T07:11:54.521Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-24T07:11:54.521Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-24T07:11:54.521Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-24T07:11:54.521Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-24T07:11:57.765Z] ---> Running in 82ece708a545 [2020-07-24T07:11:57.765Z] Removing intermediate container 82ece708a545 [2020-07-24T07:11:57.765Z] ---> 17ec5d45ee00 [2020-07-24T07:11:57.765Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-07-24T07:11:58.034Z] ---> Running in 0df6bb10af3c [2020-07-24T07:11:58.305Z] Removing intermediate container 0df6bb10af3c [2020-07-24T07:11:58.305Z] ---> 20765b928239 [2020-07-24T07:11:58.305Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-24T07:11:58.573Z] ---> Running in 011cab52dfc7 [2020-07-24T07:11:58.842Z] Removing intermediate container 011cab52dfc7 [2020-07-24T07:11:58.842Z] ---> cd2adc2c9f23 [2020-07-24T07:11:58.842Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-24T07:11:59.111Z] ---> Running in 7ba47155e3a8 [2020-07-24T07:12:01.724Z] Removing intermediate container 7ba47155e3a8 [2020-07-24T07:12:01.724Z] ---> 8d5d2757370c [2020-07-24T07:12:01.724Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-24T07:12:01.724Z] ---> Running in db21236ff9dd [2020-07-24T07:12:02.681Z] Removing intermediate container 84b792cd63d9 [2020-07-24T07:12:02.681Z] ---> ce8e56faefe8 [2020-07-24T07:12:02.681Z] Successfully built ce8e56faefe8 [2020-07-24T07:12:02.681Z] 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-24T07:12:03.159Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-24T07:12:03.302Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-24T07:12:03.302Z] . [Pipeline] withDockerContainer [2020-07-24T07:12:03.509Z] prd-centos7-docker-4c-2g-820 does not seem to be running inside a container [2020-07-24T07:12:03.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/12 -v /w/workspace/device-rest-go/12:/w/workspace/device-rest-go/12:rw,z -v /w/workspace/device-rest-go/12@tmp:/w/workspace/device-rest-go/12@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-07-24T07:12:04.139Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-24T07:12:04.411Z] OK: 142 MiB in 39 packages [2020-07-24T07:12:04.790Z] $ docker top 57965155ef186b51658b2b4b4200367662fa695dfe48a8146a862cf9e93b1fc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-24T07:12:05.269Z] + go version [2020-07-24T07:12:05.269Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-07-24T07:12:05.569Z] + make test [2020-07-24T07:12:05.569Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-24T07:12:05.840Z] Removing intermediate container db21236ff9dd [2020-07-24T07:12:05.840Z] ---> ea53c4e91ae7 [2020-07-24T07:12:05.840Z] Step 8/10 : WORKDIR /device-rest-go [2020-07-24T07:12:05.840Z] ---> Running in 8e2a93ae8f6a [2020-07-24T07:12:06.433Z] Removing intermediate container 8e2a93ae8f6a [2020-07-24T07:12:06.433Z] ---> a7154f0ba7ae [2020-07-24T07:12:06.433Z] Step 9/10 : COPY . . [2020-07-24T07:12:06.531Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-07-24T07:12:07.408Z] ---> 453b1e064140 [2020-07-24T07:12:07.408Z] Step 10/10 : RUN go mod download [2020-07-24T07:12:07.686Z] ---> Running in d4abd9225c12 [2020-07-24T07:12:10.310Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-24T07:12:10.310Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-24T07:12:10.310Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-24T07:12:10.310Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-24T07:12:10.310Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-24T07:12:10.310Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-24T07:12:10.310Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-24T07:12:10.310Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-24T07:12:10.310Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-24T07:12:10.310Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-24T07:12:10.310Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-24T07:12:10.310Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-24T07:12:10.310Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-24T07:12:10.310Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-24T07:12:10.580Z] go: finding github.com/fatih/color v1.7.0 [2020-07-24T07:12:10.580Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-24T07:12:10.580Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-24T07:12:10.580Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-24T07:12:10.580Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-24T07:12:10.580Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-24T07:12:10.580Z] go: finding github.com/google/uuid v1.1.0 [2020-07-24T07:12:10.580Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-24T07:12:10.580Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-24T07:12:10.580Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-24T07:12:10.580Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-24T07:12:10.580Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-24T07:12:10.848Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-24T07:12:10.848Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-24T07:12:10.848Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-24T07:12:10.848Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-24T07:12:10.848Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-24T07:12:10.848Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-24T07:12:10.848Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-24T07:12:10.848Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-24T07:12:10.848Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-24T07:12:10.848Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-24T07:12:10.848Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-24T07:12:10.848Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-24T07:12:10.848Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-24T07:12:11.118Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-24T07:12:11.118Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-24T07:12:11.118Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-24T07:12:11.118Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-24T07:12:11.118Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-24T07:12:11.118Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-24T07:12:11.118Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-24T07:12:11.118Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-24T07:12:11.118Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-24T07:12:11.118Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-24T07:12:11.118Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-24T07:12:11.118Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-24T07:12:11.387Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-24T07:12:11.387Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-24T07:12:11.387Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-24T07:12:11.387Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-24T07:12:11.387Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-24T07:12:11.387Z] go: finding github.com/posener/complete v1.1.1 [2020-07-24T07:12:11.387Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-24T07:12:11.387Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-24T07:12:11.387Z] go: finding github.com/spf13/cast v1.3.0 [2020-07-24T07:12:11.387Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-24T07:12:11.387Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-24T07:12:11.387Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-24T07:12:11.662Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-24T07:12:11.662Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-24T07:12:11.662Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-24T07:12:11.662Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-24T07:12:11.662Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-24T07:12:11.662Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-24T07:12:11.662Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-24T07:12:16.713Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-07-24T07:12:16.713Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 56.3% of statements [2020-07-24T07:12:16.713Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-24T07:12:18.671Z] gofmt -l . [2020-07-24T07:12:18.671Z] [ "`gofmt -l .`" = "" ] [2020-07-24T07:12:18.671Z] ./bin/test-go-mod-tidy.sh [2020-07-24T07:12:19.244Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-07-24T07:12:19.536Z] Stashed 1 file(s) [Pipeline] } [2020-07-24T07:12:19.539Z] $ docker stop --time=1 57965155ef186b51658b2b4b4200367662fa695dfe48a8146a862cf9e93b1fc3 [2020-07-24T07:12:21.682Z] $ docker rm -f 57965155ef186b51658b2b4b4200367662fa695dfe48a8146a862cf9e93b1fc3 [2020-07-24T07:12:21.834Z] Removing intermediate container d4abd9225c12 [2020-07-24T07:12:21.834Z] ---> 9c60732e7500 [2020-07-24T07:12:21.834Z] Successfully built 9c60732e7500 [2020-07-24T07:12:21.834Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-24T07:12:24.422Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-24T07:12:24.575Z] + docker inspect -f . ci-base-image-arm64 [2020-07-24T07:12:24.575Z] . [Pipeline] withDockerContainer [2020-07-24T07:12:24.717Z] + ls -al . [2020-07-24T07:12:24.717Z] total 96 [2020-07-24T07:12:24.717Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jul 24 07:12 . [2020-07-24T07:12:24.717Z] drwxrwxr-x. 4 jenkins jenkins 30 Jul 24 07:11 .. [2020-07-24T07:12:24.717Z] -rw-rw-r--. 1 jenkins jenkins 4802 Jul 24 07:11 Attribution.txt [2020-07-24T07:12:24.717Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 24 07:11 bin [2020-07-24T07:12:24.717Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 24 07:11 cmd [2020-07-24T07:12:24.717Z] -rw-r--r--. 1 jenkins jenkins 9369 Jul 24 07:12 coverage.out [2020-07-24T07:12:24.717Z] -rw-rw-r--. 1 jenkins jenkins 1504 Jul 24 07:11 Dockerfile [2020-07-24T07:12:24.717Z] -rw-rw-r--. 1 jenkins jenkins 989 Jul 24 07:11 Dockerfile.build [2020-07-24T07:12:24.717Z] -rw-rw-r--. 1 jenkins jenkins 151 Jul 24 07:11 .dockerignore [2020-07-24T07:12:24.717Z] drwxrwxr-x. 2 jenkins jenkins 93 Jul 24 07:12 driver [2020-07-24T07:12:24.717Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 24 07:11 .git [2020-07-24T07:12:24.717Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 24 07:11 .github [2020-07-24T07:12:24.717Z] -rw-rw-r--. 1 jenkins jenkins 339 Jul 24 07:11 .gitignore [2020-07-24T07:12:24.717Z] -rw-r--r--. 1 jenkins jenkins 266 Jul 24 07:12 go.mod [2020-07-24T07:12:24.717Z] -rw-r--r--. 1 jenkins jenkins 12533 Jul 24 07:12 go.sum [2020-07-24T07:12:24.717Z] -rw-rw-r--. 1 jenkins jenkins 702 Jul 24 07:11 Jenkinsfile [2020-07-24T07:12:24.717Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 24 07:11 LICENSE [2020-07-24T07:12:24.717Z] -rw-rw-r--. 1 jenkins jenkins 951 Jul 24 07:11 Makefile [2020-07-24T07:12:24.717Z] -rw-rw-r--. 1 jenkins jenkins 5716 Jul 24 07:11 README.md [2020-07-24T07:12:24.717Z] drwxrwxr-x. 3 jenkins jenkins 45 Jul 24 07:11 .semver [2020-07-24T07:12:24.717Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 24 07:11 snap [2020-07-24T07:12:24.717Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 24 07:09 VERSION [2020-07-24T07:12:24.717Z] -rw-rw-r--. 1 jenkins jenkins 713 Jul 24 07:11 version.go [2020-07-24T07:12:24.856Z] prd-ubuntu18.04-docker-arm64-4c-16g-819 does not seem to be running inside a container [2020-07-24T07:12:24.952Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/12 -v /w/workspace/device-rest-go/12:/w/workspace/device-rest-go/12:rw,z -v /w/workspace/device-rest-go/12@tmp:/w/workspace/device-rest-go/12@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-07-24T07:12:26.703Z] $ docker top 83112f023752303e8961a87986d31b417065d75529534b3ddf58920a91ea7468 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-07-24T07:12:27.519Z] + 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=6d1c0f28e536badcc7b7fc5c64f9c1d205908853 --label arch=amd64 --label version=0.0.0 . [2020-07-24T07:12:27.519Z] Sending build context to Docker daemon 8.042MB [2020-07-24T07:12:27.519Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-07-24T07:12:27.519Z] Step 2/24 : FROM ${BASE} AS builder [2020-07-24T07:12:27.519Z] ---> ce8e56faefe8 [2020-07-24T07:12:27.519Z] Step 3/24 : ARG MAKE='make build' [2020-07-24T07:12:27.779Z] ---> Running in 31faaf7d3b29 [2020-07-24T07:12:27.779Z] Removing intermediate container 31faaf7d3b29 [2020-07-24T07:12:27.779Z] ---> 9da2ef83d1fd [2020-07-24T07:12:27.779Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-07-24T07:12:28.044Z] ---> Running in 3a7a2865c662 [2020-07-24T07:12:28.044Z] Removing intermediate container 3a7a2865c662 [2020-07-24T07:12:28.044Z] ---> cd24a6f1e2e7 [2020-07-24T07:12:28.044Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-07-24T07:12:28.044Z] ---> Running in eeb73d01daaa [2020-07-24T07:12:28.149Z] + go version [2020-07-24T07:12:28.149Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-07-24T07:12:28.306Z] Removing intermediate container eeb73d01daaa [2020-07-24T07:12:28.306Z] ---> f91949f0c345 [2020-07-24T07:12:28.306Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-24T07:12:28.306Z] ---> Running in 77f954f19f59 [2020-07-24T07:12:29.197Z] + make test [2020-07-24T07:12:29.197Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-24T07:12:29.257Z] Removing intermediate container 77f954f19f59 [2020-07-24T07:12:29.257Z] ---> 0933e4b0c822 [2020-07-24T07:12:29.257Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-24T07:12:29.257Z] ---> Running in 543c6a344461 [2020-07-24T07:12:29.517Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-24T07:12:30.181Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-07-24T07:12:30.460Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-24T07:12:31.031Z] OK: 166 MiB in 39 packages [2020-07-24T07:12:31.292Z] Removing intermediate container 543c6a344461 [2020-07-24T07:12:31.292Z] ---> 7dc2043b5f8a [2020-07-24T07:12:31.292Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-07-24T07:12:31.554Z] ---> Running in 7d875b786f50 [2020-07-24T07:12:31.554Z] Removing intermediate container 7d875b786f50 [2020-07-24T07:12:31.554Z] ---> 4dc2298b1fb7 [2020-07-24T07:12:31.554Z] Step 9/24 : COPY go.mod . [2020-07-24T07:12:31.814Z] ---> 6f3f7c5d489b [2020-07-24T07:12:31.814Z] Step 10/24 : COPY Makefile . [2020-07-24T07:12:32.075Z] ---> 2ecf73fc7d36 [2020-07-24T07:12:32.075Z] Step 11/24 : RUN make update [2020-07-24T07:12:32.075Z] ---> Running in b9b423e27464 [2020-07-24T07:12:32.337Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-07-24T07:12:32.910Z] Removing intermediate container b9b423e27464 [2020-07-24T07:12:32.910Z] ---> 7f9919cff3bb [2020-07-24T07:12:32.910Z] Step 12/24 : COPY . . [2020-07-24T07:12:33.481Z] ---> 989a11e0eef9 [2020-07-24T07:12:33.481Z] Step 13/24 : RUN $MAKE [2020-07-24T07:12:33.481Z] ---> Running in c906bcb3f85a [2020-07-24T07:12:33.746Z] 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-24T07:12:43.847Z] Removing intermediate container c906bcb3f85a [2020-07-24T07:12:43.847Z] ---> f774e5853713 [2020-07-24T07:12:43.847Z] Step 14/24 : FROM alpine:latest [2020-07-24T07:12:43.847Z] latest: Pulling from library/alpine [2020-07-24T07:12:43.847Z] df20fa9351a1: Already exists [2020-07-24T07:12:44.108Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-07-24T07:12:44.108Z] Status: Downloaded newer image for alpine:latest [2020-07-24T07:12:44.108Z] ---> a24bb4013296 [2020-07-24T07:12:44.108Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-24T07:12:44.108Z] ---> Running in 5b8869ca1f8f [2020-07-24T07:12:44.368Z] Removing intermediate container 5b8869ca1f8f [2020-07-24T07:12:44.369Z] ---> c250752baecb [2020-07-24T07:12:44.369Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-07-24T07:12:44.369Z] ---> Running in abf1c934453b [2020-07-24T07:12:44.369Z] Removing intermediate container abf1c934453b [2020-07-24T07:12:44.369Z] ---> 944554fbe9df [2020-07-24T07:12:44.369Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-07-24T07:12:44.629Z] ---> cda15ce1951b [2020-07-24T07:12:44.629Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-07-24T07:12:44.893Z] ---> 41403f1c0bd6 [2020-07-24T07:12:44.893Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-07-24T07:12:45.464Z] ---> cc7b4f569eb3 [2020-07-24T07:12:45.464Z] Step 20/24 : EXPOSE 49986 [2020-07-24T07:12:45.464Z] ---> Running in 751eb0a15c25 [2020-07-24T07:12:45.740Z] Removing intermediate container 751eb0a15c25 [2020-07-24T07:12:45.740Z] ---> f0cddd6e8a48 [2020-07-24T07:12:45.740Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-07-24T07:12:45.740Z] ---> Running in 574b0329af8f [2020-07-24T07:12:45.740Z] Removing intermediate container 574b0329af8f [2020-07-24T07:12:45.740Z] ---> 8c7ffa0f895f [2020-07-24T07:12:45.740Z] Step 22/24 : LABEL arch=amd64 [2020-07-24T07:12:46.000Z] ---> Running in a5a796c30f0d [2020-07-24T07:12:46.000Z] Removing intermediate container a5a796c30f0d [2020-07-24T07:12:46.000Z] ---> 4e1acf2db3f0 [2020-07-24T07:12:46.000Z] Step 23/24 : LABEL git_sha=6d1c0f28e536badcc7b7fc5c64f9c1d205908853 [2020-07-24T07:12:46.000Z] ---> Running in b0b395d5831b [2020-07-24T07:12:46.261Z] Removing intermediate container b0b395d5831b [2020-07-24T07:12:46.261Z] ---> 835076cbf52b [2020-07-24T07:12:46.261Z] Step 24/24 : LABEL version=0.0.0 [2020-07-24T07:12:46.261Z] ---> Running in aea5bad79e65 [2020-07-24T07:12:46.522Z] Removing intermediate container aea5bad79e65 [2020-07-24T07:12:46.522Z] ---> 4e5dc6492cec [2020-07-24T07:12:46.522Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-24T07:12:46.522Z] Successfully built 4e5dc6492cec [2020-07-24T07:12:46.522Z] 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-24T07:13:02.582Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-07-24T07:13:02.582Z] ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 56.3% of statements [2020-07-24T07:13:02.582Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-24T07:13:06.003Z] gofmt -l . [2020-07-24T07:13:06.003Z] [ "`gofmt -l .`" = "" ] [2020-07-24T07:13:06.003Z] ./bin/test-go-mod-tidy.sh [2020-07-24T07:13:06.276Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-07-24T07:13:06.968Z] Warning: overwriting stash ‘coverage-report’ [2020-07-24T07:13:07.628Z] Stashed 1 file(s) [Pipeline] } [2020-07-24T07:13:07.632Z] $ docker stop --time=1 83112f023752303e8961a87986d31b417065d75529534b3ddf58920a91ea7468 [2020-07-24T07:13:09.846Z] $ docker rm -f 83112f023752303e8961a87986d31b417065d75529534b3ddf58920a91ea7468 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-24T07:13:11.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-24T07:13:11.785Z] + ls -al . [2020-07-24T07:13:11.785Z] total 128 [2020-07-24T07:13:11.785Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 24 07:13 . [2020-07-24T07:13:11.785Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 07:11 .. [2020-07-24T07:13:11.785Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 24 07:11 .dockerignore [2020-07-24T07:13:11.785Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 07:11 .git [2020-07-24T07:13:11.785Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 07:11 .github [2020-07-24T07:13:11.785Z] -rw-rw-r-- 1 jenkins jenkins 339 Jul 24 07:11 .gitignore [2020-07-24T07:13:11.785Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 07:11 .semver [2020-07-24T07:13:11.785Z] -rw-rw-r-- 1 jenkins jenkins 4802 Jul 24 07:11 Attribution.txt [2020-07-24T07:13:11.785Z] -rw-rw-r-- 1 jenkins jenkins 1504 Jul 24 07:11 Dockerfile [2020-07-24T07:13:11.785Z] -rw-rw-r-- 1 jenkins jenkins 989 Jul 24 07:11 Dockerfile.build [2020-07-24T07:13:11.785Z] -rw-rw-r-- 1 jenkins jenkins 702 Jul 24 07:11 Jenkinsfile [2020-07-24T07:13:11.785Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 24 07:11 LICENSE [2020-07-24T07:13:11.785Z] -rw-rw-r-- 1 jenkins jenkins 951 Jul 24 07:11 Makefile [2020-07-24T07:13:11.785Z] -rw-rw-r-- 1 jenkins jenkins 5716 Jul 24 07:11 README.md [2020-07-24T07:13:11.785Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 24 07:09 VERSION [2020-07-24T07:13:11.785Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 07:11 bin [2020-07-24T07:13:11.785Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 07:11 cmd [2020-07-24T07:13:11.785Z] -rw-r--r-- 1 jenkins jenkins 9369 Jul 24 07:12 coverage.out [2020-07-24T07:13:11.785Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 07:12 driver [2020-07-24T07:13:11.785Z] -rw-r--r-- 1 jenkins jenkins 266 Jul 24 07:13 go.mod [2020-07-24T07:13:11.785Z] -rw-r--r-- 1 jenkins jenkins 12533 Jul 24 07:13 go.sum [2020-07-24T07:13:11.785Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 07:11 snap [2020-07-24T07:13:11.785Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 24 07:11 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-24T07:13:12.177Z] + 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=6d1c0f28e536badcc7b7fc5c64f9c1d205908853 --label arch=arm64 --label version=0.0.0 . [2020-07-24T07:13:12.795Z] Sending build context to Docker daemon 8.042MB [2020-07-24T07:13:12.795Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-07-24T07:13:12.795Z] Step 2/24 : FROM ${BASE} AS builder [2020-07-24T07:13:12.795Z] ---> 9c60732e7500 [2020-07-24T07:13:12.795Z] Step 3/24 : ARG MAKE='make build' [2020-07-24T07:13:13.070Z] ---> Running in 8797ab001291 [2020-07-24T07:13:13.342Z] Removing intermediate container 8797ab001291 [2020-07-24T07:13:13.342Z] ---> 8dcaa189ed5a [2020-07-24T07:13:13.342Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-07-24T07:13:13.640Z] ---> Running in 996fd6e3e67d [2020-07-24T07:13:13.910Z] Removing intermediate container 996fd6e3e67d [2020-07-24T07:13:13.910Z] ---> 9f8409bc71b2 [2020-07-24T07:13:13.910Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-07-24T07:13:14.180Z] ---> Running in 8301414771c8 [2020-07-24T07:13:14.451Z] Removing intermediate container 8301414771c8 [2020-07-24T07:13:14.451Z] ---> 827ab07a4af5 [2020-07-24T07:13:14.451Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-24T07:13:14.722Z] ---> Running in 540db6004427 [2020-07-24T07:13:17.347Z] Removing intermediate container 540db6004427 [2020-07-24T07:13:17.347Z] ---> 64c7259a5807 [2020-07-24T07:13:17.347Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-24T07:13:17.347Z] ---> Running in ab6b94c1ee30 [2020-07-24T07:13:18.775Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-24T07:13:19.364Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-24T07:13:20.338Z] OK: 142 MiB in 39 packages [2020-07-24T07:13:21.315Z] Removing intermediate container ab6b94c1ee30 [2020-07-24T07:13:21.315Z] ---> 9dcaaf8381e3 [2020-07-24T07:13:21.315Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-07-24T07:13:21.315Z] ---> Running in 5bf0b588a37b [2020-07-24T07:13:21.909Z] Removing intermediate container 5bf0b588a37b [2020-07-24T07:13:21.909Z] ---> a312ea622e29 [2020-07-24T07:13:21.909Z] Step 9/24 : COPY go.mod . [2020-07-24T07:13:22.508Z] ---> 8981f3bbed57 [2020-07-24T07:13:22.508Z] Step 10/24 : COPY Makefile . [2020-07-24T07:13:23.496Z] ---> f5e8e0a4cc50 [2020-07-24T07:13:23.496Z] Step 11/24 : RUN make update [2020-07-24T07:13:23.496Z] ---> Running in c0de2d8c9f70 [2020-07-24T07:13:24.934Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-07-24T07:13:25.910Z] Removing intermediate container c0de2d8c9f70 [2020-07-24T07:13:25.910Z] ---> ea9225b320f9 [2020-07-24T07:13:25.910Z] Step 12/24 : COPY . . [2020-07-24T07:13:27.338Z] ---> 3d6d961d9435 [2020-07-24T07:13:27.338Z] Step 13/24 : RUN $MAKE [2020-07-24T07:13:27.338Z] ---> Running in 429a300def8b [2020-07-24T07:13:28.762Z] 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-24T07:13:55.554Z] Removing intermediate container 429a300def8b [2020-07-24T07:13:55.554Z] ---> f6383c1a5b58 [2020-07-24T07:13:55.554Z] Step 14/24 : FROM alpine:latest [2020-07-24T07:13:55.554Z] latest: Pulling from library/alpine [2020-07-24T07:13:55.554Z] b538f80385f9: Already exists [2020-07-24T07:13:55.554Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-07-24T07:13:55.554Z] Status: Downloaded newer image for alpine:latest [2020-07-24T07:13:55.554Z] ---> 62ee0e9f8440 [2020-07-24T07:13:55.554Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-24T07:13:55.554Z] ---> Running in f2e19bacc43a [2020-07-24T07:13:55.554Z] Removing intermediate container f2e19bacc43a [2020-07-24T07:13:55.554Z] ---> fdbb327961b0 [2020-07-24T07:13:55.554Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-07-24T07:13:55.554Z] ---> Running in 59e45ab5bc53 [2020-07-24T07:13:55.825Z] Removing intermediate container 59e45ab5bc53 [2020-07-24T07:13:55.825Z] ---> cba436771a67 [2020-07-24T07:13:55.825Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-07-24T07:13:56.797Z] ---> f882aa6861a6 [2020-07-24T07:13:56.797Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-07-24T07:13:57.389Z] ---> 51434cd6051a [2020-07-24T07:13:57.389Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-07-24T07:13:58.814Z] ---> 6d1391116da5 [2020-07-24T07:13:58.814Z] Step 20/24 : EXPOSE 49986 [2020-07-24T07:13:58.814Z] ---> Running in 0bb78e4d9c08 [2020-07-24T07:13:59.084Z] Removing intermediate container 0bb78e4d9c08 [2020-07-24T07:13:59.084Z] ---> 55ee7b6b4c66 [2020-07-24T07:13:59.084Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-07-24T07:13:59.358Z] ---> Running in 51d69424f733 [2020-07-24T07:13:59.629Z] Removing intermediate container 51d69424f733 [2020-07-24T07:13:59.629Z] ---> 22f596615481 [2020-07-24T07:13:59.629Z] Step 22/24 : LABEL arch=arm64 [2020-07-24T07:13:59.906Z] ---> Running in 63b0e82f1ba6 [2020-07-24T07:14:00.178Z] Removing intermediate container 63b0e82f1ba6 [2020-07-24T07:14:00.178Z] ---> 346dca4ff769 [2020-07-24T07:14:00.178Z] Step 23/24 : LABEL git_sha=6d1c0f28e536badcc7b7fc5c64f9c1d205908853 [2020-07-24T07:14:00.452Z] ---> Running in 2b347b6879a6 [2020-07-24T07:14:00.723Z] Removing intermediate container 2b347b6879a6 [2020-07-24T07:14:00.723Z] ---> d04544bd37cf [2020-07-24T07:14:00.723Z] Step 24/24 : LABEL version=0.0.0 [2020-07-24T07:14:00.995Z] ---> Running in 44bd3f2dd890 [2020-07-24T07:14:01.586Z] Removing intermediate container 44bd3f2dd890 [2020-07-24T07:14:01.587Z] ---> 1a15f8aa58a3 [2020-07-24T07:14:01.587Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-24T07:14:01.587Z] Successfully built 1a15f8aa58a3 [2020-07-24T07:14:01.587Z] 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-24T07:14:03.021Z] provisioning config files... [2020-07-24T07:14:03.032Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config9005373412087268937tmp [Pipeline] { [Pipeline] sh [2020-07-24T07:14:03.387Z] + curl -s https://codecov.io/bash [2020-07-24T07:14:03.387Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config9005373412087268937tmp [Pipeline] } [2020-07-24T07:14:03.656Z] 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] { (Publish Swagger) Stage "Publish Swagger" 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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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-24T07:14:05.370Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-24T07:14:05.927Z] ---> package-listing.sh [2020-07-24T07:14:05.927Z] ++ facter osfamily [2020-07-24T07:14:05.927Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-24T07:14:05.927Z] + OS_FAMILY=redhat [2020-07-24T07:14:05.927Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-27 [2020-07-24T07:14:05.927Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-24T07:14:05.927Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-24T07:14:05.927Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-24T07:14:05.927Z] + PACKAGES=/tmp/packages_start.txt [2020-07-24T07:14:05.927Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' [2020-07-24T07:14:05.927Z] + PACKAGES=/tmp/packages_end.txt [2020-07-24T07:14:05.927Z] + case "${OS_FAMILY}" in [2020-07-24T07:14:05.927Z] + rpm -qa [2020-07-24T07:14:05.927Z] + sort [2020-07-24T07:14:10.135Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-24T07:14:10.135Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-24T07:14:10.135Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-24T07:14:10.135Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' [2020-07-24T07:14:10.135Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-27/archives/ [2020-07-24T07:14:10.135Z] + 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-24T07:14:10.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-24T07:14:10.724Z] [2020-07-24T07:14:10.724Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-24T07:14:11.093Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-24T07:14:11.093Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-24T07:14:11.093Z] c9b1b535fdd9: Pulling fs layer [2020-07-24T07:14:11.093Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-24T07:14:11.093Z] 756a868c4378: Pulling fs layer [2020-07-24T07:14:11.093Z] 444b2fc9a129: Pulling fs layer [2020-07-24T07:14:11.093Z] ea15f1150254: Pulling fs layer [2020-07-24T07:14:11.093Z] 41b27a9f41bf: Pulling fs layer [2020-07-24T07:14:11.093Z] 28c525ee5125: Pulling fs layer [2020-07-24T07:14:11.093Z] 094b1ea09ed8: Pulling fs layer [2020-07-24T07:14:11.093Z] 138eaada9080: Pulling fs layer [2020-07-24T07:14:11.093Z] 0622d0fa9048: Pulling fs layer [2020-07-24T07:14:11.093Z] 444b2fc9a129: Waiting [2020-07-24T07:14:11.093Z] ea15f1150254: Waiting [2020-07-24T07:14:11.093Z] 41b27a9f41bf: Waiting [2020-07-24T07:14:11.093Z] 28c525ee5125: Waiting [2020-07-24T07:14:11.093Z] 094b1ea09ed8: Waiting [2020-07-24T07:14:11.093Z] 138eaada9080: Waiting [2020-07-24T07:14:11.093Z] 0622d0fa9048: Waiting [2020-07-24T07:14:11.093Z] 2cc5ad85d9ab: Download complete [2020-07-24T07:14:11.093Z] 444b2fc9a129: Verifying Checksum [2020-07-24T07:14:11.093Z] 444b2fc9a129: Download complete [2020-07-24T07:14:11.093Z] c9b1b535fdd9: Verifying Checksum [2020-07-24T07:14:11.093Z] c9b1b535fdd9: Download complete [2020-07-24T07:14:11.093Z] ea15f1150254: Verifying Checksum [2020-07-24T07:14:11.093Z] ea15f1150254: Download complete [2020-07-24T07:14:11.093Z] 28c525ee5125: Verifying Checksum [2020-07-24T07:14:11.093Z] 28c525ee5125: Download complete [2020-07-24T07:14:11.353Z] 756a868c4378: Verifying Checksum [2020-07-24T07:14:11.353Z] 756a868c4378: Download complete [2020-07-24T07:14:11.353Z] c9b1b535fdd9: Pull complete [2020-07-24T07:14:11.625Z] 138eaada9080: Verifying Checksum [2020-07-24T07:14:11.625Z] 138eaada9080: Download complete [2020-07-24T07:14:11.625Z] 0622d0fa9048: Verifying Checksum [2020-07-24T07:14:11.625Z] 0622d0fa9048: Download complete [2020-07-24T07:14:11.625Z] 2cc5ad85d9ab: Pull complete [2020-07-24T07:14:11.625Z] 094b1ea09ed8: Verifying Checksum [2020-07-24T07:14:11.625Z] 094b1ea09ed8: Download complete [2020-07-24T07:14:12.211Z] 41b27a9f41bf: Verifying Checksum [2020-07-24T07:14:12.211Z] 41b27a9f41bf: Download complete [2020-07-24T07:14:13.157Z] 756a868c4378: Pull complete [2020-07-24T07:14:13.421Z] 444b2fc9a129: Pull complete [2020-07-24T07:14:13.684Z] ea15f1150254: Pull complete [2020-07-24T07:14:17.902Z] 41b27a9f41bf: Pull complete [2020-07-24T07:14:17.902Z] 28c525ee5125: Pull complete [2020-07-24T07:14:19.816Z] 094b1ea09ed8: Pull complete [2020-07-24T07:14:20.075Z] 138eaada9080: Pull complete [2020-07-24T07:14:20.335Z] 0622d0fa9048: Pull complete [2020-07-24T07:14:20.336Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-24T07:14:20.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-24T07:14:20.336Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-24T07:14:20.475Z] prd-centos7-docker-4c-2g-818 does not seem to be running inside a container [2020-07-24T07:14:20.510Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-24T07:14:24.466Z] $ docker top bac6dabe5c41e65a1b9974f6ee76029202b5779139da640136a67ec2de49e4a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-24T07:14:24.716Z] provisioning config files... [2020-07-24T07:14:24.735Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config5479239634548390605tmp [Pipeline] { [Pipeline] echo [2020-07-24T07:14:24.805Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-24T07:14:25.101Z] ---> create-netrc.sh [Pipeline] echo [2020-07-24T07:14:25.112Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-24T07:14:25.401Z] ---> logs-deploy.sh [2020-07-24T07:14:25.401Z] + ARCHIVE_ARTIFACTS= [2020-07-24T07:14:25.401Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-24T07:14:25.401Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-24T07:14:25.401Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-24T07:14:25.401Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/12 [2020-07-24T07:14:25.401Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/12/ [2020-07-24T07:14:25.401Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/12 /w/workspace/dgexfoundry_device-rest-go_PR-27 [2020-07-24T07:14:26.790Z] Archives upload complete. [2020-07-24T07:14:26.790Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/12 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/12/