Pull request #35 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9+ecc710d5197e59ae7f4883e76f8aa49dbd120517 (a9f8ee652edd9464625a0a80286bd3e19f83b36f) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 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 --version # 'git version 2.16.6' > 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-35/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 ‘prd-centos7-docker-4c-2g-160’ is offline; ‘prd-centos7-docker-4c-2g-161’ is offline; ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-164 in /w/workspace/dgexfoundry_device-rest-go_PR-35 [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-35 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' 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/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/35/head:refs/remotes/origin/PR-35 # 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/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit ecc710d5197e59ae7f4883e76f8aa49dbd120517 into PR head commit 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 Merge succeeded, producing 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 Checking out Revision 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 (PR-35) > git config core.sparsecheckout # timeout=10 > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # 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 ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 Commit message: "Remove unused attribution in Attribution.txt" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-08-24T06:50:05.602Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-08-24T06:50:05.890Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-08-24T06:50:06.113Z] ========================================================= [2020-08-24T06:50:06.113Z] EdgeX Global Pipelines Version Info [2020-08-24T06:50:06.113Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-08-24T06:50:09.138Z] ------------------- [2020-08-24T06:50:09.138Z] stable info: [2020-08-24T06:50:09.138Z] ------------------- [2020-08-24T06:50:09.138Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-08-24T06:50:09.138Z] Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [2020-08-24T06:50:09.138Z] Message: update stable to v1.0.106 [2020-08-24T06:50:10.509Z] ------------------- [2020-08-24T06:50:10.509Z] experimental info: [2020-08-24T06:50:10.509Z] ------------------- [2020-08-24T06:50:10.509Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-08-24T06:50:10.509Z] Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b [2020-08-24T06:50:10.509Z] Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-24T06:50:13.370Z] + git log --format=format:%s -1 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 [Pipeline] echo [2020-08-24T06:50:13.653Z] GIT_COMMIT: 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9, Commit Message: Remove unused attribution in Attribution.txt [Pipeline] echo [2020-08-24T06:50:13.736Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:50:14.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-24T06:50:14.995Z] [2020-08-24T06:50:14.995Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:50:15.535Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-24T06:50:15.824Z] latest: Pulling from edgex-devops/git-semver [2020-08-24T06:50:15.824Z] 31603596830f: Pulling fs layer [2020-08-24T06:50:15.824Z] 2a8b12db71e7: Pulling fs layer [2020-08-24T06:50:15.824Z] 6ca5941a6612: Pulling fs layer [2020-08-24T06:50:15.824Z] ecc8261a40a4: Pulling fs layer [2020-08-24T06:50:15.824Z] ecc8261a40a4: Waiting [2020-08-24T06:50:15.824Z] 2a8b12db71e7: Verifying Checksum [2020-08-24T06:50:15.824Z] 2a8b12db71e7: Download complete [2020-08-24T06:50:15.824Z] 31603596830f: Verifying Checksum [2020-08-24T06:50:15.824Z] 31603596830f: Download complete [2020-08-24T06:50:16.108Z] 6ca5941a6612: Verifying Checksum [2020-08-24T06:50:16.108Z] 6ca5941a6612: Download complete [2020-08-24T06:50:16.108Z] ecc8261a40a4: Verifying Checksum [2020-08-24T06:50:16.108Z] ecc8261a40a4: Download complete [2020-08-24T06:50:16.376Z] 31603596830f: Pull complete [2020-08-24T06:50:16.652Z] 2a8b12db71e7: Pull complete [2020-08-24T06:50:17.735Z] 6ca5941a6612: Pull complete [2020-08-24T06:50:18.456Z] ecc8261a40a4: Pull complete [2020-08-24T06:50:18.457Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-08-24T06:50:18.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-24T06:50:18.457Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-08-24T06:50:18.807Z] prd-centos7-docker-4c-2g-164 does not seem to be running inside a container [2020-08-24T06:50:19.013Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-35 -v /w/workspace/dgexfoundry_device-rest-go_PR-35:/w/workspace/dgexfoundry_device-rest-go_PR-35:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-35@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-08-24T06:50:21.167Z] $ docker top 9b1d21b41709fbe4ead0020d40b48b67651d574a07416d6ca8b59fe12bbdc3f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-08-24T06:50:21.688Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-24T06:50:21.688Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-24T06:50:22.187Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-24T06:50:22.197Z] $ docker exec 9b1d21b41709fbe4ead0020d40b48b67651d574a07416d6ca8b59fe12bbdc3f2 ssh-agent [2020-08-24T06:50:22.851Z] SSH_AUTH_SOCK=/tmp/ssh-nhlxJUo8ZGgM/agent.13 [2020-08-24T06:50:22.851Z] SSH_AGENT_PID=18 [2020-08-24T06:50:22.867Z] Running ssh-add (command line suppressed) [2020-08-24T06:50:23.245Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_2041781637349558787.key (/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_2041781637349558787.key) [2020-08-24T06:50:23.355Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-24T06:50:23.799Z] + git describe --exact-match --tags HEAD [2020-08-24T06:50:23.799Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-08-24T06:50:24.059Z] $ docker exec --env ******** --env ******** 9b1d21b41709fbe4ead0020d40b48b67651d574a07416d6ca8b59fe12bbdc3f2 ssh-agent -k [2020-08-24T06:50:24.480Z] unset SSH_AUTH_SOCK; [2020-08-24T06:50:24.482Z] unset SSH_AGENT_PID; [2020-08-24T06:50:24.483Z] echo Agent pid 18 killed; [2020-08-24T06:50:24.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-08-24T06:50:24.761Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-08-24T06:50:24.761Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-08-24T06:50:24.890Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-24T06:50:24.890Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-24T06:50:25.217Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-24T06:50:25.234Z] $ docker exec 9b1d21b41709fbe4ead0020d40b48b67651d574a07416d6ca8b59fe12bbdc3f2 ssh-agent [2020-08-24T06:50:25.613Z] SSH_AUTH_SOCK=/tmp/ssh-7ShQTMOnFgKG/agent.47 [2020-08-24T06:50:25.613Z] SSH_AGENT_PID=52 [2020-08-24T06:50:25.627Z] Running ssh-add (command line suppressed) [2020-08-24T06:50:25.926Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_7770508070508098957.key (/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/private_key_7770508070508098957.key) [2020-08-24T06:50:26.030Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-24T06:50:26.593Z] + git semver init [2020-08-24T06:50:26.593Z] # -> Open(): unable to determine branch for HEAD [2020-08-24T06:50:26.593Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-35/.git [2020-08-24T06:50:26.593Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-35 [2020-08-24T06:50:26.593Z] # $SEMVER_REMOTE_NAME = origin [2020-08-24T06:50:26.593Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-08-24T06:50:26.593Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-08-24T06:50:26.593Z] # $SEMVER_BRANCH = PR-35 [2020-08-24T06:50:26.593Z] # $SEMVER_TEMP = /tmp/semver-530542921 [2020-08-24T06:50:26.593Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-08-24T06:50:28.738Z] # '/tmp/semver-530542921' -> '/w/workspace/dgexfoundry_device-rest-go_PR-35/.semver' [2020-08-24T06:50:28.738Z] # -> Force: false [2020-08-24T06:50:28.738Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-35/.semver [Pipeline] } [2020-08-24T06:50:28.770Z] $ docker exec --env ******** --env ******** 9b1d21b41709fbe4ead0020d40b48b67651d574a07416d6ca8b59fe12bbdc3f2 ssh-agent -k [2020-08-24T06:50:29.089Z] unset SSH_AUTH_SOCK; [2020-08-24T06:50:29.094Z] unset SSH_AGENT_PID; [2020-08-24T06:50:29.095Z] echo Agent pid 52 killed; [2020-08-24T06:50:29.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-08-24T06:50:29.795Z] + git semver [Pipeline] } [2020-08-24T06:50:30.106Z] $ docker stop --time=1 9b1d21b41709fbe4ead0020d40b48b67651d574a07416d6ca8b59fe12bbdc3f2 [2020-08-24T06:50:31.647Z] $ docker rm -f 9b1d21b41709fbe4ead0020d40b48b67651d574a07416d6ca8b59fe12bbdc3f2 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-08-24T06:50:34.737Z] Stashed 19 file(s) [Pipeline] echo [2020-08-24T06:50:34.762Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo [2020-08-24T06:50:34.873Z] 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-08-24T06:50:50.535Z] Still waiting to schedule task [2020-08-24T06:50:50.535Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-08-24T06:50:50.560Z] Still waiting to schedule task [2020-08-24T06:50:50.560Z] ‘prd-centos7-docker-4c-2g-158’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-213’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-157’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-167’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-168’ is offline [2020-08-24T06:52:22.025Z] Running on prd-centos7-docker-4c-2g-170 in /w/workspace/dgexfoundry_device-rest-go_PR-35 [Pipeline] { [Pipeline] ws [2020-08-24T06:52:22.112Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-08-24T06:52:30.494Z] using credential edgex-jenkins-ssh [2020-08-24T06:52:30.575Z] Cloning the remote Git repository [2020-08-24T06:52:30.575Z] Cloning with configured refspecs honoured and without tags [2020-08-24T06:52:30.730Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-08-24T06:52:30.805Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-08-24T06:52:30.877Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-08-24T06:52:30.878Z] > git --version # timeout=10 [2020-08-24T06:52:30.899Z] > git --version # 'git version 2.16.5' [2020-08-24T06:52:30.900Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T06:52:30.948Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T06:52:32.447Z] Fetching without tags [2020-08-24T06:52:32.889Z] Merging remotes/origin/master commit ecc710d5197e59ae7f4883e76f8aa49dbd120517 into PR head commit 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 [2020-08-24T06:52:33.029Z] Merge succeeded, producing 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 [2020-08-24T06:52:33.029Z] Checking out Revision 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 (PR-35) [2020-08-24T06:52:32.408Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-08-24T06:52:32.420Z] > git config --add remote.origin.fetch +refs/pull/35/head:refs/remotes/origin/PR-35 # timeout=10 [2020-08-24T06:52:32.431Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T06:52:32.444Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-08-24T06:52:32.458Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-08-24T06:52:32.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T06:52:32.464Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T06:52:32.904Z] > git config core.sparsecheckout # timeout=10 [2020-08-24T06:52:32.912Z] > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 [2020-08-24T06:52:32.985Z] > git remote # timeout=10 [2020-08-24T06:52:33.001Z] > git config --get remote.origin.url # timeout=10 [2020-08-24T06:52:33.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T06:52:33.014Z] > git merge ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 [2020-08-24T06:52:33.026Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-24T06:52:33.038Z] > git config core.sparsecheckout # timeout=10 [2020-08-24T06:52:33.048Z] > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 [2020-08-24T06:52:37.206Z] Commit message: "Remove unused attribution in Attribution.txt" [2020-08-24T06:52:37.269Z] > git --version # timeout=10 [2020-08-24T06:52:37.294Z] > git --version # 'git version 2.16.5' [2020-08-24T06:52:37.311Z] fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-24T06:52:39.436Z] ========================================================= [2020-08-24T06:52:39.436Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-08-24T06:52:39.436Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:52:40.352Z] + 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-08-24T06:52:40.955Z] Sending build context to Docker daemon 8.039MB [2020-08-24T06:52:40.955Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-08-24T06:52:40.955Z] Step 2/10 : FROM ${BASE} [2020-08-24T06:52:41.127Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-171 in /w/workspace/dgexfoundry_device-rest-go_PR-35 [Pipeline] { [2020-08-24T06:52:41.243Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-08-24T06:52:41.243Z] df20fa9351a1: Pulling fs layer [2020-08-24T06:52:41.243Z] ed8968b2872e: Pulling fs layer [2020-08-24T06:52:41.243Z] a92cc7c5fd73: Pulling fs layer [2020-08-24T06:52:41.243Z] 2dd03ba5bac4: Pulling fs layer [2020-08-24T06:52:41.243Z] 1e091d79d1de: Pulling fs layer [2020-08-24T06:52:41.243Z] 481702a1767f: Pulling fs layer [2020-08-24T06:52:41.243Z] f64a6f60c768: Pulling fs layer [2020-08-24T06:52:41.243Z] e78d2573fc39: Pulling fs layer [2020-08-24T06:52:41.243Z] e876d2f968b6: Pulling fs layer [2020-08-24T06:52:41.243Z] ce8a83651883: Pulling fs layer [2020-08-24T06:52:41.243Z] 07967f4d0e4b: Pulling fs layer [2020-08-24T06:52:41.243Z] 2dd03ba5bac4: Waiting [2020-08-24T06:52:41.243Z] 1e091d79d1de: Waiting [2020-08-24T06:52:41.243Z] 481702a1767f: Waiting [2020-08-24T06:52:41.243Z] f64a6f60c768: Waiting [2020-08-24T06:52:41.243Z] e78d2573fc39: Waiting [2020-08-24T06:52:41.243Z] e876d2f968b6: Waiting [2020-08-24T06:52:41.243Z] ce8a83651883: Waiting [2020-08-24T06:52:41.243Z] 07967f4d0e4b: Waiting [2020-08-24T06:52:41.243Z] a92cc7c5fd73: Verifying Checksum [2020-08-24T06:52:41.243Z] a92cc7c5fd73: Download complete [2020-08-24T06:52:41.243Z] ed8968b2872e: Download complete [2020-08-24T06:52:41.243Z] 1e091d79d1de: Verifying Checksum [2020-08-24T06:52:41.243Z] 1e091d79d1de: Download complete [2020-08-24T06:52:41.243Z] 481702a1767f: Verifying Checksum [2020-08-24T06:52:41.243Z] 481702a1767f: Download complete [Pipeline] ws [2020-08-24T06:52:41.291Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-08-24T06:52:41.522Z] df20fa9351a1: Verifying Checksum [2020-08-24T06:52:41.523Z] df20fa9351a1: Download complete [2020-08-24T06:52:42.652Z] df20fa9351a1: Pull complete [2020-08-24T06:52:43.312Z] f64a6f60c768: Verifying Checksum [2020-08-24T06:52:43.312Z] f64a6f60c768: Download complete [2020-08-24T06:52:43.312Z] e876d2f968b6: Verifying Checksum [2020-08-24T06:52:43.312Z] e876d2f968b6: Download complete [2020-08-24T06:52:43.605Z] ed8968b2872e: Pull complete [2020-08-24T06:52:43.934Z] a92cc7c5fd73: Pull complete [2020-08-24T06:52:44.640Z] ce8a83651883: Verifying Checksum [2020-08-24T06:52:44.640Z] ce8a83651883: Download complete [2020-08-24T06:52:44.928Z] 2dd03ba5bac4: Verifying Checksum [2020-08-24T06:52:44.928Z] 2dd03ba5bac4: Download complete [2020-08-24T06:52:45.231Z] 07967f4d0e4b: Verifying Checksum [2020-08-24T06:52:45.231Z] 07967f4d0e4b: Download complete [2020-08-24T06:52:45.521Z] e78d2573fc39: Verifying Checksum [2020-08-24T06:52:45.521Z] e78d2573fc39: Download complete [2020-08-24T06:52:46.605Z] using credential edgex-jenkins-ssh [2020-08-24T06:52:46.685Z] Cloning the remote Git repository [2020-08-24T06:52:46.685Z] Cloning with configured refspecs honoured and without tags [2020-08-24T06:52:46.752Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-08-24T06:52:46.868Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-08-24T06:52:46.931Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-08-24T06:52:46.932Z] > git --version # timeout=10 [2020-08-24T06:52:46.955Z] > git --version # 'git version 2.17.1' [2020-08-24T06:52:46.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T06:52:47.052Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T06:52:49.214Z] Fetching without tags [2020-08-24T06:52:49.754Z] Merging remotes/origin/master commit ecc710d5197e59ae7f4883e76f8aa49dbd120517 into PR head commit 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 [2020-08-24T06:52:50.093Z] Merge succeeded, producing 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 [2020-08-24T06:52:50.093Z] Checking out Revision 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 (PR-35) [2020-08-24T06:52:49.108Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-08-24T06:52:49.133Z] > git config --add remote.origin.fetch +refs/pull/35/head:refs/remotes/origin/PR-35 # timeout=10 [2020-08-24T06:52:49.151Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T06:52:49.192Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-08-24T06:52:49.232Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-08-24T06:52:49.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T06:52:49.249Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T06:52:49.778Z] > git config core.sparsecheckout # timeout=10 [2020-08-24T06:52:49.797Z] > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 [2020-08-24T06:52:49.885Z] > git remote # timeout=10 [2020-08-24T06:52:49.940Z] > git config --get remote.origin.url # timeout=10 [2020-08-24T06:52:49.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T06:52:49.987Z] > git merge ecc710d5197e59ae7f4883e76f8aa49dbd120517 # timeout=10 [2020-08-24T06:52:50.037Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-24T06:52:50.107Z] > git config core.sparsecheckout # timeout=10 [2020-08-24T06:52:50.152Z] > git checkout -f 3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 # timeout=10 [2020-08-24T06:52:54.497Z] Commit message: "Remove unused attribution in Attribution.txt" [2020-08-24T06:52:54.578Z] > git --version # timeout=10 [2020-08-24T06:52:54.589Z] > git --version # 'git version 2.17.1' [2020-08-24T06:52:54.600Z] fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-08-24T06:52:55.721Z] 2dd03ba5bac4: Pull complete [2020-08-24T06:52:55.721Z] 1e091d79d1de: Pull complete [2020-08-24T06:52:55.722Z] 481702a1767f: Pull complete [Pipeline] echo [2020-08-24T06:52:56.731Z] ========================================================= [2020-08-24T06:52:56.731Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-08-24T06:52:56.731Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:52:57.837Z] + 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-08-24T06:52:58.835Z] Sending build context to Docker daemon 8.039MB [2020-08-24T06:52:58.835Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-08-24T06:52:58.835Z] Step 2/10 : FROM ${BASE} [2020-08-24T06:52:59.111Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-08-24T06:52:59.111Z] b538f80385f9: Pulling fs layer [2020-08-24T06:52:59.111Z] 74f711af9a0d: Pulling fs layer [2020-08-24T06:52:59.111Z] 99f96fe45779: Pulling fs layer [2020-08-24T06:52:59.111Z] fd7a069fd194: Pulling fs layer [2020-08-24T06:52:59.111Z] 66aa3694b03b: Pulling fs layer [2020-08-24T06:52:59.111Z] 170f70906a0f: Pulling fs layer [2020-08-24T06:52:59.111Z] ad7c5574e4b9: Pulling fs layer [2020-08-24T06:52:59.111Z] e772456be8f7: Pulling fs layer [2020-08-24T06:52:59.111Z] c890913d741a: Pulling fs layer [2020-08-24T06:52:59.111Z] 2480fcc9aa5a: Pulling fs layer [2020-08-24T06:52:59.111Z] 09adf4765672: Pulling fs layer [2020-08-24T06:52:59.111Z] fd7a069fd194: Waiting [2020-08-24T06:52:59.111Z] 66aa3694b03b: Waiting [2020-08-24T06:52:59.111Z] 170f70906a0f: Waiting [2020-08-24T06:52:59.111Z] ad7c5574e4b9: Waiting [2020-08-24T06:52:59.111Z] e772456be8f7: Waiting [2020-08-24T06:52:59.111Z] c890913d741a: Waiting [2020-08-24T06:52:59.111Z] 09adf4765672: Waiting [2020-08-24T06:52:59.111Z] 2480fcc9aa5a: Waiting [2020-08-24T06:52:59.111Z] 99f96fe45779: Verifying Checksum [2020-08-24T06:52:59.111Z] 99f96fe45779: Download complete [2020-08-24T06:52:59.111Z] 74f711af9a0d: Download complete [2020-08-24T06:52:59.111Z] 66aa3694b03b: Verifying Checksum [2020-08-24T06:52:59.111Z] 66aa3694b03b: Download complete [2020-08-24T06:52:59.111Z] 170f70906a0f: Verifying Checksum [2020-08-24T06:52:59.111Z] 170f70906a0f: Download complete [2020-08-24T06:52:59.391Z] b538f80385f9: Verifying Checksum [2020-08-24T06:52:59.997Z] b538f80385f9: Pull complete [2020-08-24T06:53:00.600Z] 74f711af9a0d: Pull complete [2020-08-24T06:53:01.192Z] f64a6f60c768: Pull complete [2020-08-24T06:53:01.207Z] 99f96fe45779: Pull complete [2020-08-24T06:53:03.215Z] ad7c5574e4b9: Verifying Checksum [2020-08-24T06:53:03.215Z] ad7c5574e4b9: Download complete [2020-08-24T06:53:03.215Z] c890913d741a: Verifying Checksum [2020-08-24T06:53:03.215Z] c890913d741a: Download complete [2020-08-24T06:53:04.677Z] 2480fcc9aa5a: Verifying Checksum [2020-08-24T06:53:04.677Z] 2480fcc9aa5a: Download complete [2020-08-24T06:53:04.964Z] 09adf4765672: Download complete [2020-08-24T06:53:05.585Z] e78d2573fc39: Pull complete [2020-08-24T06:53:05.585Z] e876d2f968b6: Pull complete [2020-08-24T06:53:05.955Z] e772456be8f7: Verifying Checksum [2020-08-24T06:53:05.955Z] e772456be8f7: Download complete [2020-08-24T06:53:06.238Z] fd7a069fd194: Verifying Checksum [2020-08-24T06:53:06.238Z] fd7a069fd194: Download complete [2020-08-24T06:53:07.631Z] ce8a83651883: Pull complete [2020-08-24T06:53:07.909Z] 07967f4d0e4b: Pull complete [2020-08-24T06:53:07.909Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-08-24T06:53:07.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-08-24T06:53:07.909Z] ---> 5d7c900382c6 [2020-08-24T06:53:07.909Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-08-24T06:53:09.431Z] ---> Running in 76bb8316ed8e [2020-08-24T06:53:09.431Z] Removing intermediate container 76bb8316ed8e [2020-08-24T06:53:09.431Z] ---> 8467b563246d [2020-08-24T06:53:09.431Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-08-24T06:53:09.723Z] ---> Running in a6595e974443 [2020-08-24T06:53:10.002Z] Removing intermediate container a6595e974443 [2020-08-24T06:53:10.002Z] ---> d562e20daed2 [2020-08-24T06:53:10.002Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-08-24T06:53:10.002Z] ---> Running in 08ea8813bd87 [2020-08-24T06:53:10.317Z] Removing intermediate container 08ea8813bd87 [2020-08-24T06:53:10.317Z] ---> 85068b11ab72 [2020-08-24T06:53:10.317Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-24T06:53:10.317Z] ---> Running in 86e9f9e8ece2 [2020-08-24T06:53:12.362Z] Removing intermediate container 86e9f9e8ece2 [2020-08-24T06:53:12.362Z] ---> c6e82a95adac [2020-08-24T06:53:12.362Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-08-24T06:53:12.362Z] ---> Running in 12a7a0206851 [2020-08-24T06:53:12.953Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-24T06:53:13.539Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-24T06:53:14.127Z] OK: 166 MiB in 39 packages [2020-08-24T06:53:14.398Z] Removing intermediate container 12a7a0206851 [2020-08-24T06:53:14.398Z] ---> f8dec9633438 [2020-08-24T06:53:14.398Z] Step 8/10 : WORKDIR /device-rest-go [2020-08-24T06:53:14.398Z] ---> Running in 7243731c94ba [2020-08-24T06:53:14.679Z] Removing intermediate container 7243731c94ba [2020-08-24T06:53:14.679Z] ---> 2e9ccc4c2238 [2020-08-24T06:53:14.679Z] Step 9/10 : COPY . . [2020-08-24T06:53:15.673Z] ---> 1e59e34a2b17 [2020-08-24T06:53:15.673Z] Step 10/10 : RUN go mod download [2020-08-24T06:53:15.673Z] ---> Running in b758451af757 [2020-08-24T06:53:18.671Z] fd7a069fd194: Pull complete [2020-08-24T06:53:18.671Z] 66aa3694b03b: Pull complete [2020-08-24T06:53:18.671Z] 170f70906a0f: Pull complete [2020-08-24T06:53:19.354Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-24T06:53:19.354Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T06:53:19.637Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-24T06:53:19.637Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T06:53:19.637Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-24T06:53:19.637Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-24T06:53:19.637Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T06:53:19.637Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-24T06:53:19.637Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T06:53:19.908Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T06:53:19.908Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T06:53:19.908Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T06:53:19.908Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T06:53:19.908Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T06:53:19.908Z] go: finding github.com/fatih/color v1.7.0 [2020-08-24T06:53:20.183Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T06:53:20.183Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-24T06:53:20.183Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T06:53:20.449Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-24T06:53:20.449Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-24T06:53:20.449Z] go: finding github.com/google/uuid v1.1.0 [2020-08-24T06:53:20.449Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-24T06:53:20.449Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-24T06:53:20.449Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-24T06:53:20.720Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-24T06:53:20.720Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T06:53:20.720Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T06:53:20.720Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-24T06:53:20.720Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-24T06:53:20.720Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T06:53:20.720Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-24T06:53:20.986Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-24T06:53:20.986Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-24T06:53:20.986Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-24T06:53:20.986Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-24T06:53:20.986Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-24T06:53:20.986Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-24T06:53:20.986Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-24T06:53:21.251Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-24T06:53:21.251Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-24T06:53:21.251Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-24T06:53:21.251Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-24T06:53:21.251Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-24T06:53:21.251Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-24T06:53:21.251Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T06:53:21.515Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-24T06:53:21.515Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-24T06:53:21.516Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-24T06:53:21.516Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-24T06:53:21.516Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-24T06:53:21.516Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T06:53:21.516Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T06:53:21.789Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-24T06:53:21.789Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-24T06:53:21.789Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-24T06:53:21.789Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-24T06:53:21.789Z] go: finding github.com/posener/complete v1.1.1 [2020-08-24T06:53:21.789Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-24T06:53:22.058Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-24T06:53:22.058Z] go: finding github.com/spf13/cast v1.3.0 [2020-08-24T06:53:22.058Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-24T06:53:22.058Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-24T06:53:22.058Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-24T06:53:22.058Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-24T06:53:22.058Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-24T06:53:22.065Z] ad7c5574e4b9: Pull complete [2020-08-24T06:53:22.341Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-24T06:53:22.342Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-24T06:53:22.342Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-24T06:53:22.342Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-24T06:53:22.342Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-24T06:53:26.402Z] e772456be8f7: Pull complete [2020-08-24T06:53:26.402Z] c890913d741a: Pull complete [2020-08-24T06:53:29.044Z] 2480fcc9aa5a: Pull complete [2020-08-24T06:53:29.324Z] 09adf4765672: Pull complete [2020-08-24T06:53:29.324Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-08-24T06:53:29.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-08-24T06:53:29.324Z] ---> 2248a725d1cf [2020-08-24T06:53:29.324Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-08-24T06:53:30.650Z] Removing intermediate container b758451af757 [2020-08-24T06:53:30.650Z] ---> 3a1ae3f6e170 [2020-08-24T06:53:30.650Z] Successfully built 3a1ae3f6e170 [2020-08-24T06:53:30.650Z] 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-08-24T06:53:31.605Z] + docker inspect -f . ci-base-image-x86_64 [2020-08-24T06:53:31.605Z] . [Pipeline] withDockerContainer [2020-08-24T06:53:31.820Z] prd-centos7-docker-4c-2g-170 does not seem to be running inside a container [2020-08-24T06:53:31.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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-x86_64 cat [2020-08-24T06:53:33.168Z] $ docker top 0e73288bf94e38a4199bb4d1818f3e403c8fe1efadc02e2b297369207550bb79 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-24T06:53:33.660Z] ---> Running in 99bc18bed360 [2020-08-24T06:53:34.057Z] + go version [2020-08-24T06:53:34.057Z] go version go1.13.13 linux/amd64 [2020-08-24T06:53:34.258Z] Removing intermediate container 99bc18bed360 [2020-08-24T06:53:34.258Z] ---> a17b5ec0d5b4 [2020-08-24T06:53:34.258Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-08-24T06:53:34.258Z] ---> Running in 2f0d2191f2e0 [Pipeline] sh [2020-08-24T06:53:34.531Z] Removing intermediate container 2f0d2191f2e0 [2020-08-24T06:53:34.531Z] ---> 346625218af0 [2020-08-24T06:53:34.531Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-08-24T06:53:34.805Z] ---> Running in 214b73a81a33 [2020-08-24T06:53:35.077Z] Removing intermediate container 214b73a81a33 [2020-08-24T06:53:35.077Z] ---> 26e552f5e772 [2020-08-24T06:53:35.077Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-24T06:53:35.230Z] + make test [2020-08-24T06:53:35.230Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-08-24T06:53:35.349Z] ---> Running in 53c8e211708f [2020-08-24T06:53:36.711Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-08-24T06:53:37.977Z] Removing intermediate container 53c8e211708f [2020-08-24T06:53:37.977Z] ---> 10e647f29e42 [2020-08-24T06:53:37.977Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-08-24T06:53:38.253Z] ---> Running in 4cf81f7e5d41 [2020-08-24T06:53:39.687Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-24T06:53:40.281Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-24T06:53:40.871Z] OK: 142 MiB in 39 packages [2020-08-24T06:53:42.408Z] Removing intermediate container 4cf81f7e5d41 [2020-08-24T06:53:42.408Z] ---> 2af91e7e97f6 [2020-08-24T06:53:42.408Z] Step 8/10 : WORKDIR /device-rest-go [2020-08-24T06:53:42.408Z] ---> Running in 193dde3eecf0 [2020-08-24T06:53:43.016Z] Removing intermediate container 193dde3eecf0 [2020-08-24T06:53:43.016Z] ---> 10a033c9eee6 [2020-08-24T06:53:43.016Z] Step 9/10 : COPY . . [2020-08-24T06:53:43.997Z] ---> ab4fbb3a48e7 [2020-08-24T06:53:43.997Z] Step 10/10 : RUN go mod download [2020-08-24T06:53:44.282Z] ---> Running in 4ed438f51efb [2020-08-24T06:53:47.661Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-24T06:53:47.661Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T06:53:47.661Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-24T06:53:47.661Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T06:53:47.661Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-24T06:53:47.661Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-24T06:53:47.661Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T06:53:47.661Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-24T06:53:47.661Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T06:53:47.661Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T06:53:47.943Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T06:53:47.943Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T06:53:47.943Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T06:53:47.943Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T06:53:47.943Z] go: finding github.com/fatih/color v1.7.0 [2020-08-24T06:53:47.943Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T06:53:47.943Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-24T06:53:48.215Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T06:53:48.215Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-24T06:53:48.215Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-24T06:53:48.215Z] go: finding github.com/google/uuid v1.1.0 [2020-08-24T06:53:48.215Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-24T06:53:48.215Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-24T06:53:48.215Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-24T06:53:48.483Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-24T06:53:48.483Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T06:53:48.483Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T06:53:48.483Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-24T06:53:48.483Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-24T06:53:48.483Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T06:53:48.483Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-08-24T06:53:48.754Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-24T06:53:48.754Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-24T06:53:48.754Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-24T06:53:48.754Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-08-24T06:53:48.754Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-24T06:53:48.754Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-24T06:53:49.029Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-24T06:53:49.029Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-24T06:53:49.029Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-24T06:53:49.029Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-24T06:53:49.029Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-24T06:53:49.029Z] go: finding github.com/miekg/dns v1.0.14 [2020-08-24T06:53:49.029Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-24T06:53:49.299Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T06:53:49.299Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-24T06:53:49.299Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-08-24T06:53:49.299Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-24T06:53:49.299Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-24T06:53:49.299Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-24T06:53:49.299Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T06:53:49.569Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T06:53:49.569Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-24T06:53:49.569Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-24T06:53:49.569Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-24T06:53:49.569Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-24T06:53:49.569Z] go: finding github.com/posener/complete v1.1.1 [2020-08-24T06:53:49.569Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-08-24T06:53:49.841Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-24T06:53:49.841Z] go: finding github.com/spf13/cast v1.3.0 [2020-08-24T06:53:49.841Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-24T06:53:49.841Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-24T06:53:49.841Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-24T06:53:49.841Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-24T06:53:49.841Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-24T06:53:50.111Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-08-24T06:53:50.111Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-24T06:53:50.111Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-24T06:53:50.111Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-24T06:53:50.111Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-24T06:53:55.594Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-08-24T06:53:55.594Z] ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 56.3% of statements [2020-08-24T06:53:55.594Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-24T06:53:58.263Z] gofmt -l . [2020-08-24T06:53:58.263Z] [ "`gofmt -l .`" = "" ] [2020-08-24T06:53:58.263Z] ./bin/test-go-mod-tidy.sh [2020-08-24T06:53:58.977Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-08-24T06:54:00.278Z] Removing intermediate container 4ed438f51efb [2020-08-24T06:54:00.278Z] ---> 8da24816cbf6 [2020-08-24T06:54:00.278Z] Successfully built 8da24816cbf6 [2020-08-24T06:54:00.278Z] Successfully tagged ci-base-image-arm64:latest [2020-08-24T06:54:00.299Z] Stashed 1 file(s) [Pipeline] } [2020-08-24T06:54:00.369Z] $ docker stop --time=1 0e73288bf94e38a4199bb4d1818f3e403c8fe1efadc02e2b297369207550bb79 [2020-08-24T06:54:02.697Z] $ docker rm -f 0e73288bf94e38a4199bb4d1818f3e403c8fe1efadc02e2b297369207550bb79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [2020-08-24T06:54:04.718Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh [2020-08-24T06:54:05.074Z] + docker inspect -f . ci-base-image-arm64 [2020-08-24T06:54:05.074Z] . [Pipeline] withDockerContainer [2020-08-24T06:54:05.229Z] + ls -al . [2020-08-24T06:54:05.229Z] total 96 [2020-08-24T06:54:05.229Z] drwxrwxr-x. 9 jenkins jenkins 4096 Aug 24 06:53 . [2020-08-24T06:54:05.229Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 24 06:52 .. [2020-08-24T06:54:05.229Z] -rw-rw-r--. 1 jenkins jenkins 4566 Aug 24 06:52 Attribution.txt [2020-08-24T06:54:05.229Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 24 06:52 bin [2020-08-24T06:54:05.229Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 24 06:52 cmd [2020-08-24T06:54:05.229Z] -rw-r--r--. 1 jenkins jenkins 9369 Aug 24 06:53 coverage.out [2020-08-24T06:54:05.229Z] -rw-rw-r--. 1 jenkins jenkins 1504 Aug 24 06:52 Dockerfile [2020-08-24T06:54:05.229Z] -rw-rw-r--. 1 jenkins jenkins 989 Aug 24 06:52 Dockerfile.build [2020-08-24T06:54:05.229Z] -rw-rw-r--. 1 jenkins jenkins 151 Aug 24 06:52 .dockerignore [2020-08-24T06:54:05.229Z] drwxrwxr-x. 2 jenkins jenkins 93 Aug 24 06:53 driver [2020-08-24T06:54:05.229Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 24 06:52 .git [2020-08-24T06:54:05.229Z] drwxrwxr-x. 2 jenkins jenkins 38 Aug 24 06:52 .github [2020-08-24T06:54:05.229Z] -rw-rw-r--. 1 jenkins jenkins 339 Aug 24 06:52 .gitignore [2020-08-24T06:54:05.229Z] -rw-r--r--. 1 jenkins jenkins 266 Aug 24 06:53 go.mod [2020-08-24T06:54:05.229Z] -rw-r--r--. 1 jenkins jenkins 12533 Aug 24 06:53 go.sum [2020-08-24T06:54:05.229Z] -rw-rw-r--. 1 jenkins jenkins 702 Aug 24 06:52 Jenkinsfile [2020-08-24T06:54:05.229Z] -rw-rw-r--. 1 jenkins jenkins 11340 Aug 24 06:52 LICENSE [2020-08-24T06:54:05.229Z] -rw-rw-r--. 1 jenkins jenkins 951 Aug 24 06:52 Makefile [2020-08-24T06:54:05.229Z] -rw-rw-r--. 1 jenkins jenkins 5716 Aug 24 06:52 README.md [2020-08-24T06:54:05.229Z] drwxrwxr-x. 3 jenkins jenkins 45 Aug 24 06:52 .semver [2020-08-24T06:54:05.229Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 24 06:52 snap [2020-08-24T06:54:05.229Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 24 06:50 VERSION [2020-08-24T06:54:05.229Z] -rw-rw-r--. 1 jenkins jenkins 713 Aug 24 06:52 version.go [2020-08-24T06:54:05.365Z] prd-ubuntu18.04-docker-arm64-4c-16g-171 does not seem to be running inside a container [2020-08-24T06:54:05.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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-08-24T06:54:07.412Z] $ docker top 34dd7ffcd4adf6e219d056e20bf12838d08d3e05ceaabdbbb6d56f3e528b4640 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:54:08.359Z] + 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=3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 --label arch=amd64 --label version=0.0.0 . [2020-08-24T06:54:08.628Z] Sending build context to Docker daemon 8.051MB [2020-08-24T06:54:08.628Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-08-24T06:54:08.628Z] Step 2/24 : FROM ${BASE} AS builder [2020-08-24T06:54:08.628Z] ---> 3a1ae3f6e170 [2020-08-24T06:54:08.628Z] Step 3/24 : ARG MAKE='make build' [2020-08-24T06:54:08.908Z] ---> Running in 3c42250d8ea3 [2020-08-24T06:54:08.908Z] Removing intermediate container 3c42250d8ea3 [2020-08-24T06:54:08.908Z] ---> 296d9bfde7c0 [2020-08-24T06:54:08.908Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-08-24T06:54:08.939Z] + go version [2020-08-24T06:54:08.939Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-08-24T06:54:09.179Z] ---> Running in 470014c37cfa [2020-08-24T06:54:09.179Z] Removing intermediate container 470014c37cfa [2020-08-24T06:54:09.179Z] ---> 0720086843be [2020-08-24T06:54:09.179Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-08-24T06:54:09.466Z] ---> Running in 2430be8aff7d [2020-08-24T06:54:09.466Z] Removing intermediate container 2430be8aff7d [2020-08-24T06:54:09.466Z] ---> 4fbe0e8d2077 [2020-08-24T06:54:09.466Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-24T06:54:09.746Z] ---> Running in b888730de57d [2020-08-24T06:54:10.029Z] + make test [2020-08-24T06:54:10.029Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-08-24T06:54:11.033Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-08-24T06:54:11.223Z] Removing intermediate container b888730de57d [2020-08-24T06:54:11.223Z] ---> cab884eef68c [2020-08-24T06:54:11.223Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-08-24T06:54:11.223Z] ---> Running in a110babbc6ae [2020-08-24T06:54:11.833Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-24T06:54:12.681Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-24T06:54:13.327Z] OK: 166 MiB in 39 packages [2020-08-24T06:54:13.632Z] Removing intermediate container a110babbc6ae [2020-08-24T06:54:13.632Z] ---> 2616246b485c [2020-08-24T06:54:13.632Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-08-24T06:54:13.998Z] ---> Running in ef4dab9f85db [2020-08-24T06:54:13.998Z] Removing intermediate container ef4dab9f85db [2020-08-24T06:54:13.998Z] ---> 478eae49c0cc [2020-08-24T06:54:13.998Z] Step 9/24 : COPY go.mod . [2020-08-24T06:54:14.684Z] ---> 8549c93b0fdb [2020-08-24T06:54:14.684Z] Step 10/24 : COPY Makefile . [2020-08-24T06:54:15.410Z] ---> f7b04079e383 [2020-08-24T06:54:15.410Z] Step 11/24 : RUN make update [2020-08-24T06:54:15.410Z] ---> Running in 56558db123b9 [2020-08-24T06:54:16.016Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-08-24T06:54:17.037Z] Removing intermediate container 56558db123b9 [2020-08-24T06:54:17.037Z] ---> 554a860e8172 [2020-08-24T06:54:17.037Z] Step 12/24 : COPY . . [2020-08-24T06:54:17.636Z] ---> 78018592b787 [2020-08-24T06:54:17.636Z] Step 13/24 : RUN $MAKE [2020-08-24T06:54:17.922Z] ---> Running in 00e84aae1de7 [2020-08-24T06:54:18.583Z] 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-08-24T06:54:41.237Z] Removing intermediate container 00e84aae1de7 [2020-08-24T06:54:41.237Z] ---> 019c0426010a [2020-08-24T06:54:41.237Z] Step 14/24 : FROM alpine:latest [2020-08-24T06:54:41.237Z] latest: Pulling from library/alpine [2020-08-24T06:54:41.237Z] df20fa9351a1: Already exists [2020-08-24T06:54:41.237Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-08-24T06:54:41.237Z] Status: Downloaded newer image for alpine:latest [2020-08-24T06:54:41.237Z] ---> a24bb4013296 [2020-08-24T06:54:41.237Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-08-24T06:54:41.237Z] ---> Running in aa1ba27e4af3 [2020-08-24T06:54:41.237Z] Removing intermediate container aa1ba27e4af3 [2020-08-24T06:54:41.237Z] ---> 3fa8c684817e [2020-08-24T06:54:41.237Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-08-24T06:54:41.237Z] ---> Running in 92fc1a91b12a [2020-08-24T06:54:41.237Z] Removing intermediate container 92fc1a91b12a [2020-08-24T06:54:41.237Z] ---> 58ffb8eddf72 [2020-08-24T06:54:41.237Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-08-24T06:54:41.237Z] ---> 28c53f0bcda2 [2020-08-24T06:54:41.237Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-08-24T06:54:41.237Z] ---> 3937b2dc0ff1 [2020-08-24T06:54:41.237Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-08-24T06:54:41.505Z] ---> a0f750fed575 [2020-08-24T06:54:41.505Z] Step 20/24 : EXPOSE 49986 [2020-08-24T06:54:41.776Z] ---> Running in d667f6f6f5eb [2020-08-24T06:54:42.050Z] Removing intermediate container d667f6f6f5eb [2020-08-24T06:54:42.050Z] ---> 61bba8245034 [2020-08-24T06:54:42.050Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-08-24T06:54:42.050Z] ---> Running in 29bd832ca99c [2020-08-24T06:54:42.412Z] Removing intermediate container 29bd832ca99c [2020-08-24T06:54:42.412Z] ---> 207e8e893d14 [2020-08-24T06:54:42.412Z] Step 22/24 : LABEL arch=amd64 [2020-08-24T06:54:42.412Z] ---> Running in 65bd42b21072 [2020-08-24T06:54:42.692Z] Removing intermediate container 65bd42b21072 [2020-08-24T06:54:42.692Z] ---> d68c06b41cf1 [2020-08-24T06:54:42.692Z] Step 23/24 : LABEL git_sha=3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 [2020-08-24T06:54:42.692Z] ---> Running in bf0a4e64b439 [2020-08-24T06:54:42.998Z] Removing intermediate container bf0a4e64b439 [2020-08-24T06:54:42.998Z] ---> cdbde44c3ea7 [2020-08-24T06:54:42.998Z] Step 24/24 : LABEL version=0.0.0 [2020-08-24T06:54:42.998Z] ---> Running in e4381aa8077b [2020-08-24T06:54:43.339Z] Removing intermediate container e4381aa8077b [2020-08-24T06:54:43.339Z] ---> 1920daf662a0 [2020-08-24T06:54:43.339Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-24T06:54:43.339Z] Successfully built 1920daf662a0 [2020-08-24T06:54:43.339Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [2020-08-24T06:54:43.410Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-08-24T06:54:43.410Z] ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 56.3% of statements [2020-08-24T06:54:43.410Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [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-08-24T06:54:48.860Z] gofmt -l . [2020-08-24T06:54:48.861Z] [ "`gofmt -l .`" = "" ] [2020-08-24T06:54:48.861Z] ./bin/test-go-mod-tidy.sh [2020-08-24T06:54:48.861Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-08-24T06:54:49.491Z] Warning: overwriting stash ‘coverage-report’ [2020-08-24T06:54:50.147Z] Stashed 1 file(s) [Pipeline] } [2020-08-24T06:54:50.176Z] $ docker stop --time=1 34dd7ffcd4adf6e219d056e20bf12838d08d3e05ceaabdbbb6d56f3e528b4640 [2020-08-24T06:54:52.370Z] $ docker rm -f 34dd7ffcd4adf6e219d056e20bf12838d08d3e05ceaabdbbb6d56f3e528b4640 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-24T06:54:53.891Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-24T06:54:54.248Z] + ls -al . [2020-08-24T06:54:54.248Z] total 128 [2020-08-24T06:54:54.248Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 24 06:54 . [2020-08-24T06:54:54.248Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 06:52 .. [2020-08-24T06:54:54.248Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 24 06:52 .dockerignore [2020-08-24T06:54:54.248Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 24 06:52 .git [2020-08-24T06:54:54.248Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 06:52 .github [2020-08-24T06:54:54.248Z] -rw-rw-r-- 1 jenkins jenkins 339 Aug 24 06:52 .gitignore [2020-08-24T06:54:54.248Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 06:52 .semver [2020-08-24T06:54:54.248Z] -rw-rw-r-- 1 jenkins jenkins 4566 Aug 24 06:52 Attribution.txt [2020-08-24T06:54:54.248Z] -rw-rw-r-- 1 jenkins jenkins 1504 Aug 24 06:52 Dockerfile [2020-08-24T06:54:54.248Z] -rw-rw-r-- 1 jenkins jenkins 989 Aug 24 06:52 Dockerfile.build [2020-08-24T06:54:54.248Z] -rw-rw-r-- 1 jenkins jenkins 702 Aug 24 06:52 Jenkinsfile [2020-08-24T06:54:54.248Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 24 06:52 LICENSE [2020-08-24T06:54:54.248Z] -rw-rw-r-- 1 jenkins jenkins 951 Aug 24 06:52 Makefile [2020-08-24T06:54:54.248Z] -rw-rw-r-- 1 jenkins jenkins 5716 Aug 24 06:52 README.md [2020-08-24T06:54:54.248Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 24 06:50 VERSION [2020-08-24T06:54:54.248Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 06:52 bin [2020-08-24T06:54:54.248Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 06:52 cmd [2020-08-24T06:54:54.248Z] -rw-r--r-- 1 jenkins jenkins 9369 Aug 24 06:54 coverage.out [2020-08-24T06:54:54.248Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 06:54 driver [2020-08-24T06:54:54.248Z] -rw-r--r-- 1 jenkins jenkins 266 Aug 24 06:54 go.mod [2020-08-24T06:54:54.248Z] -rw-r--r-- 1 jenkins jenkins 12533 Aug 24 06:54 go.sum [2020-08-24T06:54:54.248Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 06:52 snap [2020-08-24T06:54:54.248Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 24 06:52 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:54:54.620Z] + 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=3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 --label arch=arm64 --label version=0.0.0 . [2020-08-24T06:54:54.892Z] Sending build context to Docker daemon 8.051MB [2020-08-24T06:54:55.166Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-08-24T06:54:55.166Z] Step 2/24 : FROM ${BASE} AS builder [2020-08-24T06:54:55.166Z] ---> 8da24816cbf6 [2020-08-24T06:54:55.166Z] Step 3/24 : ARG MAKE='make build' [2020-08-24T06:54:55.437Z] ---> Running in 97725f3be978 [2020-08-24T06:54:55.708Z] Removing intermediate container 97725f3be978 [2020-08-24T06:54:55.708Z] ---> dca1caaae3f0 [2020-08-24T06:54:55.708Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-08-24T06:54:55.981Z] ---> Running in cacccf806af7 [2020-08-24T06:54:56.255Z] Removing intermediate container cacccf806af7 [2020-08-24T06:54:56.255Z] ---> c49ef8abb71f [2020-08-24T06:54:56.255Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-08-24T06:54:56.526Z] ---> Running in d0772119da53 [2020-08-24T06:54:57.125Z] Removing intermediate container d0772119da53 [2020-08-24T06:54:57.126Z] ---> 3510937247c9 [2020-08-24T06:54:57.126Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-24T06:54:57.126Z] ---> Running in d9c2fdbb0533 [2020-08-24T06:54:59.750Z] Removing intermediate container d9c2fdbb0533 [2020-08-24T06:54:59.750Z] ---> 0b157bf6995e [2020-08-24T06:54:59.750Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-08-24T06:54:59.750Z] ---> Running in e451bdea3b9c [2020-08-24T06:55:01.170Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-24T06:55:02.140Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-24T06:55:02.728Z] OK: 142 MiB in 39 packages [2020-08-24T06:55:03.702Z] Removing intermediate container e451bdea3b9c [2020-08-24T06:55:03.702Z] ---> 02bb8f621c94 [2020-08-24T06:55:03.702Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-08-24T06:55:03.977Z] ---> Running in 4d221fb1a110 [2020-08-24T06:55:04.570Z] Removing intermediate container 4d221fb1a110 [2020-08-24T06:55:04.570Z] ---> 839b52e238f4 [2020-08-24T06:55:04.570Z] Step 9/24 : COPY go.mod . [2020-08-24T06:55:05.167Z] ---> 96207f63247d [2020-08-24T06:55:05.167Z] Step 10/24 : COPY Makefile . [2020-08-24T06:55:05.763Z] ---> 8d80c781a74c [2020-08-24T06:55:05.763Z] Step 11/24 : RUN make update [2020-08-24T06:55:06.034Z] ---> Running in d2277c81ab97 [2020-08-24T06:55:07.475Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-08-24T06:55:08.906Z] Removing intermediate container d2277c81ab97 [2020-08-24T06:55:08.906Z] ---> e4a67985a0bd [2020-08-24T06:55:08.906Z] Step 12/24 : COPY . . [2020-08-24T06:55:09.878Z] ---> 7b9b0c205210 [2020-08-24T06:55:09.878Z] Step 13/24 : RUN $MAKE [2020-08-24T06:55:10.149Z] ---> Running in c5f2aef45008 [2020-08-24T06:55:11.576Z] 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-08-24T06:55:43.947Z] Removing intermediate container c5f2aef45008 [2020-08-24T06:55:43.947Z] ---> 21212bee0dd2 [2020-08-24T06:55:43.947Z] Step 14/24 : FROM alpine:latest [2020-08-24T06:55:43.947Z] latest: Pulling from library/alpine [2020-08-24T06:55:43.947Z] b538f80385f9: Already exists [2020-08-24T06:55:43.947Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-08-24T06:55:43.947Z] Status: Downloaded newer image for alpine:latest [2020-08-24T06:55:43.947Z] ---> 62ee0e9f8440 [2020-08-24T06:55:43.947Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-08-24T06:55:43.947Z] ---> Running in dd773ca350d7 [2020-08-24T06:55:43.947Z] Removing intermediate container dd773ca350d7 [2020-08-24T06:55:43.947Z] ---> 4b609b57c091 [2020-08-24T06:55:43.947Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-08-24T06:55:43.947Z] ---> Running in 733a53e29243 [2020-08-24T06:55:43.947Z] Removing intermediate container 733a53e29243 [2020-08-24T06:55:43.947Z] ---> 4f5b4bed2e51 [2020-08-24T06:55:43.947Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-08-24T06:55:43.947Z] ---> 8afa4654a34d [2020-08-24T06:55:43.947Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-08-24T06:55:43.947Z] ---> 4422c967b211 [2020-08-24T06:55:43.947Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-08-24T06:55:44.539Z] ---> 271c65ddd79b [2020-08-24T06:55:44.539Z] Step 20/24 : EXPOSE 49986 [2020-08-24T06:55:44.820Z] ---> Running in 024e8d60c83f [2020-08-24T06:55:45.093Z] Removing intermediate container 024e8d60c83f [2020-08-24T06:55:45.093Z] ---> 4c21eeaf3168 [2020-08-24T06:55:45.094Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-08-24T06:55:45.366Z] ---> Running in b9509943e5ec [2020-08-24T06:55:45.957Z] Removing intermediate container b9509943e5ec [2020-08-24T06:55:45.957Z] ---> 9956e0420231 [2020-08-24T06:55:45.957Z] Step 22/24 : LABEL arch=arm64 [2020-08-24T06:55:45.957Z] ---> Running in b7e64dbb16ef [2020-08-24T06:55:46.547Z] Removing intermediate container b7e64dbb16ef [2020-08-24T06:55:46.547Z] ---> abb8af28f799 [2020-08-24T06:55:46.547Z] Step 23/24 : LABEL git_sha=3e46cf85ab027f2b62af497ccbbd84e7f6b392c9 [2020-08-24T06:55:46.547Z] ---> Running in fb33d1f41d8f [2020-08-24T06:55:47.141Z] Removing intermediate container fb33d1f41d8f [2020-08-24T06:55:47.141Z] ---> 58862b2fbbab [2020-08-24T06:55:47.141Z] Step 24/24 : LABEL version=0.0.0 [2020-08-24T06:55:47.141Z] ---> Running in a8b1ee6a859b [2020-08-24T06:55:47.739Z] Removing intermediate container a8b1ee6a859b [2020-08-24T06:55:47.739Z] ---> 2df477dbecb1 [2020-08-24T06:55:47.739Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-24T06:55:47.739Z] Successfully built 2df477dbecb1 [2020-08-24T06:55:47.739Z] 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-08-24T06:55:50.070Z] provisioning config files... [2020-08-24T06:55:50.137Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/config2997307058887340096tmp [Pipeline] { [Pipeline] sh [2020-08-24T06:55:50.558Z] + curl -s https://codecov.io/bash [2020-08-24T06:55:50.558Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/config2997307058887340096tmp [Pipeline] } [2020-08-24T06:55:50.853Z] 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-08-24T06:55:54.102Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-24T06:55:55.059Z] ---> package-listing.sh [2020-08-24T06:55:55.059Z] ++ facter osfamily [2020-08-24T06:55:55.059Z] ++ tr '[:upper:]' '[:lower:]' [2020-08-24T06:55:55.326Z] + OS_FAMILY=redhat [2020-08-24T06:55:55.327Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-35 [2020-08-24T06:55:55.327Z] + START_PACKAGES=/tmp/packages_start.txt [2020-08-24T06:55:55.327Z] + END_PACKAGES=/tmp/packages_end.txt [2020-08-24T06:55:55.327Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-08-24T06:55:55.327Z] + PACKAGES=/tmp/packages_start.txt [2020-08-24T06:55:55.327Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-35 ']' [2020-08-24T06:55:55.327Z] + PACKAGES=/tmp/packages_end.txt [2020-08-24T06:55:55.327Z] + case "${OS_FAMILY}" in [2020-08-24T06:55:55.327Z] + sort [2020-08-24T06:55:55.327Z] + rpm -qa [2020-08-24T06:55:59.643Z] + '[' -f /tmp/packages_start.txt ']' [2020-08-24T06:55:59.643Z] + '[' -f /tmp/packages_end.txt ']' [2020-08-24T06:55:59.643Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-08-24T06:55:59.643Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-35 ']' [2020-08-24T06:55:59.643Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-35/archives/ [2020-08-24T06:55:59.643Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-35/archives/ [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:56:00.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-24T06:56:00.100Z] [2020-08-24T06:56:00.100Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:56:00.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-24T06:56:00.518Z] alpine: Pulling from edgex-lftools-log-publisher [2020-08-24T06:56:00.518Z] c9b1b535fdd9: Pulling fs layer [2020-08-24T06:56:00.518Z] 2cc5ad85d9ab: Pulling fs layer [2020-08-24T06:56:00.518Z] 756a868c4378: Pulling fs layer [2020-08-24T06:56:00.518Z] 444b2fc9a129: Pulling fs layer [2020-08-24T06:56:00.518Z] ea15f1150254: Pulling fs layer [2020-08-24T06:56:00.518Z] 41b27a9f41bf: Pulling fs layer [2020-08-24T06:56:00.518Z] 28c525ee5125: Pulling fs layer [2020-08-24T06:56:00.518Z] 094b1ea09ed8: Pulling fs layer [2020-08-24T06:56:00.518Z] 138eaada9080: Pulling fs layer [2020-08-24T06:56:00.518Z] 0622d0fa9048: Pulling fs layer [2020-08-24T06:56:00.518Z] 41b27a9f41bf: Waiting [2020-08-24T06:56:00.518Z] 28c525ee5125: Waiting [2020-08-24T06:56:00.518Z] 094b1ea09ed8: Waiting [2020-08-24T06:56:00.518Z] 138eaada9080: Waiting [2020-08-24T06:56:00.518Z] 0622d0fa9048: Waiting [2020-08-24T06:56:00.518Z] 444b2fc9a129: Waiting [2020-08-24T06:56:00.518Z] ea15f1150254: Waiting [2020-08-24T06:56:00.518Z] 2cc5ad85d9ab: Verifying Checksum [2020-08-24T06:56:00.518Z] 2cc5ad85d9ab: Download complete [2020-08-24T06:56:00.518Z] 444b2fc9a129: Verifying Checksum [2020-08-24T06:56:00.518Z] 444b2fc9a129: Download complete [2020-08-24T06:56:00.808Z] c9b1b535fdd9: Verifying Checksum [2020-08-24T06:56:00.808Z] c9b1b535fdd9: Download complete [2020-08-24T06:56:00.808Z] ea15f1150254: Verifying Checksum [2020-08-24T06:56:00.808Z] ea15f1150254: Download complete [2020-08-24T06:56:01.083Z] 28c525ee5125: Verifying Checksum [2020-08-24T06:56:01.083Z] 28c525ee5125: Download complete [2020-08-24T06:56:01.884Z] c9b1b535fdd9: Pull complete [2020-08-24T06:56:02.199Z] 756a868c4378: Verifying Checksum [2020-08-24T06:56:02.199Z] 756a868c4378: Download complete [2020-08-24T06:56:02.199Z] 094b1ea09ed8: Verifying Checksum [2020-08-24T06:56:02.199Z] 094b1ea09ed8: Download complete [2020-08-24T06:56:02.199Z] 138eaada9080: Verifying Checksum [2020-08-24T06:56:02.199Z] 138eaada9080: Download complete [2020-08-24T06:56:02.199Z] 0622d0fa9048: Verifying Checksum [2020-08-24T06:56:02.199Z] 0622d0fa9048: Download complete [2020-08-24T06:56:02.810Z] 2cc5ad85d9ab: Pull complete [2020-08-24T06:56:03.084Z] 41b27a9f41bf: Verifying Checksum [2020-08-24T06:56:03.084Z] 41b27a9f41bf: Download complete [2020-08-24T06:56:05.747Z] 756a868c4378: Pull complete [2020-08-24T06:56:05.747Z] 444b2fc9a129: Pull complete [2020-08-24T06:56:06.101Z] ea15f1150254: Pull complete [2020-08-24T06:56:11.888Z] 41b27a9f41bf: Pull complete [2020-08-24T06:56:11.888Z] 28c525ee5125: Pull complete [2020-08-24T06:56:16.290Z] 094b1ea09ed8: Pull complete [2020-08-24T06:56:16.290Z] 138eaada9080: Pull complete [2020-08-24T06:56:16.567Z] 0622d0fa9048: Pull complete [2020-08-24T06:56:16.568Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-08-24T06:56:16.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-24T06:56:16.568Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-08-24T06:56:17.104Z] prd-centos7-docker-4c-2g-164 does not seem to be running inside a container [2020-08-24T06:56:17.166Z] $ 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-35 -v /w/workspace/dgexfoundry_device-rest-go_PR-35:/w/workspace/dgexfoundry_device-rest-go_PR-35:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-35@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-35@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-08-24T06:56:19.233Z] $ docker top b8b6dab0f51141f35963af6b9063305a5bb3570e7ba8770f8ad580f1d00c13d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-24T06:56:19.573Z] provisioning config files... [2020-08-24T06:56:19.612Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-35@tmp/config6235974167915118602tmp [Pipeline] { [Pipeline] echo [2020-08-24T06:56:19.719Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-24T06:56:20.568Z] ---> create-netrc.sh [Pipeline] echo [2020-08-24T06:56:20.614Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-24T06:56:20.964Z] ---> logs-deploy.sh [2020-08-24T06:56:20.964Z] + ARCHIVE_ARTIFACTS= [2020-08-24T06:56:20.964Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-08-24T06:56:20.964Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-08-24T06:56:20.964Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-08-24T06:56:20.964Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-35/1 [2020-08-24T06:56:20.964Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-35/1/ [2020-08-24T06:56:20.964Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-35/1 /w/workspace/dgexfoundry_device-rest-go_PR-35 [2020-08-24T06:56:22.912Z] Archives upload complete. [2020-08-24T06:56:22.912Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-35/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-35/1/