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 07:08:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:08:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:08:55 ========================================================= 07:08:55 EdgeX Global Pipelines Version Info 07:08:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:08:56 ------------------- 07:08:56 stable info: 07:08:56 ------------------- 07:08:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:08:56 Commit SHA: 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 07:08:56 Message: update stable to v1.0.105 07:08:57 ------------------- 07:08:57 experimental info: 07:08:57 ------------------- 07:08:57 Commited By: **** collab-it+edgex@linuxfoundation.org 07:08:57 Commit SHA: 39e0fc7ddb98afa2fde86ea6b6bd025d242dd6b9 07:08:57 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 07:08:59 + git log --format=format:%s -1 6d1c0f28e536badcc7b7fc5c64f9c1d205908853 [Pipeline] echo 07:08:59 GIT_COMMIT: 6d1c0f28e536badcc7b7fc5c64f9c1d205908853, Commit Message: Merge commit '5644139549e3358844d35a6dfdbf7cafe4e170bd' into HEAD [Pipeline] echo 07:08:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:09:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:09:00 07:09:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:09:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:09:01 latest: Pulling from edgex-devops/git-semver 07:09:01 31603596830f: Pulling fs layer 07:09:01 2a8b12db71e7: Pulling fs layer 07:09:01 6ca5941a6612: Pulling fs layer 07:09:01 ecc8261a40a4: Pulling fs layer 07:09:01 ecc8261a40a4: Waiting 07:09:01 2a8b12db71e7: Verifying Checksum 07:09:01 2a8b12db71e7: Download complete 07:09:01 31603596830f: Download complete 07:09:01 ecc8261a40a4: Verifying Checksum 07:09:01 ecc8261a40a4: Download complete 07:09:01 6ca5941a6612: Verifying Checksum 07:09:01 6ca5941a6612: Download complete 07:09:01 31603596830f: Pull complete 07:09:01 2a8b12db71e7: Pull complete 07:09:02 6ca5941a6612: Pull complete 07:09:02 ecc8261a40a4: Pull complete 07:09:02 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:09:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:09:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:09:02 prd-centos7-docker-4c-2g-818 does not seem to be running inside a container 07:09:02 $ 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 07:09:04 $ docker top 4f4e7cc30a4d65beead1ea00f5ca24515be84a902ca98276303d85dc3bef0b21 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:09:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:09:05 [ssh-agent] Looking for ssh-agent implementation... 07:09:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:09:05 $ docker exec 4f4e7cc30a4d65beead1ea00f5ca24515be84a902ca98276303d85dc3bef0b21 ssh-agent 07:09:05 SSH_AUTH_SOCK=/tmp/ssh-EhrITnEGt86T/agent.11 07:09:05 SSH_AGENT_PID=16 07:09:05 Running ssh-add (command line suppressed) 07:09:05 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) 07:09:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:09:06 + git describe --exact-match --tags HEAD 07:09:06 fatal: No names found, cannot describe anything. [Pipeline] } 07:09:06 $ docker exec --env ******** --env ******** 4f4e7cc30a4d65beead1ea00f5ca24515be84a902ca98276303d85dc3bef0b21 ssh-agent -k 07:09:06 unset SSH_AUTH_SOCK; 07:09:06 unset SSH_AGENT_PID; 07:09:06 echo Agent pid 16 killed; 07:09:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:09:06 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 07:09:06 This usually means this commit has not been tagged. [Pipeline] sshagent 07:09:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:09:06 [ssh-agent] Looking for ssh-agent implementation... 07:09:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:09:06 $ docker exec 4f4e7cc30a4d65beead1ea00f5ca24515be84a902ca98276303d85dc3bef0b21 ssh-agent 07:09:06 SSH_AUTH_SOCK=/tmp/ssh-Z5fAk0UgZ1FW/agent.46 07:09:06 SSH_AGENT_PID=51 07:09:06 Running ssh-add (command line suppressed) 07:09:06 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) 07:09:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:09:07 + git semver init 07:09:07 # -> Open(): unable to determine branch for HEAD 07:09:07 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.git 07:09:07 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-27 07:09:07 # $SEMVER_REMOTE_NAME = origin 07:09:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:09:07 # $SEMVER_USER_NAME = edgex-jenkins 07:09:07 # $SEMVER_BRANCH = PR-27 07:09:07 # $SEMVER_TEMP = /tmp/semver-568216387 07:09:07 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 07:09:08 # '/tmp/semver-568216387' -> '/w/workspace/dgexfoundry_device-rest-go_PR-27/.semver' 07:09:08 # -> Force: false 07:09:08 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.semver [Pipeline] } 07:09:08 $ docker exec --env ******** --env ******** 4f4e7cc30a4d65beead1ea00f5ca24515be84a902ca98276303d85dc3bef0b21 ssh-agent -k 07:09:08 unset SSH_AUTH_SOCK; 07:09:08 unset SSH_AGENT_PID; 07:09:08 echo Agent pid 51 killed; 07:09:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:09:08 + git semver [Pipeline] } 07:09:08 $ docker stop --time=1 4f4e7cc30a4d65beead1ea00f5ca24515be84a902ca98276303d85dc3bef0b21 07:09:10 $ docker rm -f 4f4e7cc30a4d65beead1ea00f5ca24515be84a902ca98276303d85dc3bef0b21 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:09:11 Stashed 17 file(s) [Pipeline] echo 07:09:11 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 07:09:12 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 07:09:27 Still waiting to schedule task 07:09:27 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:09:27 Still waiting to schedule task 07:09:27 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:11:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-819 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws 07:11:07 Running in /w/workspace/device-rest-go/12 [Pipeline] { [Pipeline] checkout 07:11:12 using credential edgex-jenkins-ssh 07:11:12 Cloning the remote Git repository 07:11:12 Cloning with configured refspecs honoured and without tags 07:11:12 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 07:11:12 > git init /w/workspace/device-rest-go/12 # timeout=10 07:11:12 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:11:12 > git --version # timeout=10 07:11:12 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:12 > 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 07:11:14 Fetching without tags 07:11:14 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:11:14 > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 07:11:14 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:11:14 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:11:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:11:14 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:14 > 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 07:11:14 Merging remotes/origin/master commit 5644139549e3358844d35a6dfdbf7cafe4e170bd into PR head commit 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 07:11:15 Merge succeeded, producing c242a287d1a2c420923add0db9cfc95802685927 07:11:15 Checking out Revision c242a287d1a2c420923add0db9cfc95802685927 (PR-27) 07:11:15 Running on prd-centos7-docker-4c-2g-820 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws 07:11:15 Running in /w/workspace/device-rest-go/12 [Pipeline] { [Pipeline] checkout 07:11:14 > git config core.sparsecheckout # timeout=10 07:11:14 > git checkout -f 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 # timeout=10 07:11:14 > git remote # timeout=10 07:11:14 > git config --get remote.origin.url # timeout=10 07:11:15 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:15 > git merge 5644139549e3358844d35a6dfdbf7cafe4e170bd # timeout=10 07:11:15 > git rev-parse HEAD^{commit} # timeout=10 07:11:15 > git config core.sparsecheckout # timeout=10 07:11:15 > git checkout -f c242a287d1a2c420923add0db9cfc95802685927 # timeout=10 07:11:17 using credential edgex-jenkins-ssh 07:11:17 Cloning the remote Git repository 07:11:17 Cloning with configured refspecs honoured and without tags 07:11:18 Fetching without tags 07:11:17 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 07:11:17 > git init /w/workspace/device-rest-go/12 # timeout=10 07:11:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:11:17 > git --version # timeout=10 07:11:17 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:17 > 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 07:11:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:11:18 > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 07:11:18 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 07:11:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:11:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:11:18 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:18 > 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 07:11:19 Merging remotes/origin/master commit 5644139549e3358844d35a6dfdbf7cafe4e170bd into PR head commit 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 07:11:19 Merge succeeded, producing 7dfb402ddb73e1162628c4af5ca99f351e93b6e3 07:11:19 Checking out Revision 7dfb402ddb73e1162628c4af5ca99f351e93b6e3 (PR-27) 07:11:19 Commit message: "Merge commit '5644139549e3358844d35a6dfdbf7cafe4e170bd' into HEAD" 07:11:19 First time build. Skipping changelog. 07:11:19 > git config core.sparsecheckout # timeout=10 07:11:19 > git checkout -f 6a789b21587e08efa5f24f48d2b3dd019da7f7d4 # timeout=10 07:11:19 > git remote # timeout=10 07:11:19 > git config --get remote.origin.url # timeout=10 07:11:19 using GIT_SSH to set credentials SSH Credentials for GitHub 07:11:19 > git merge 5644139549e3358844d35a6dfdbf7cafe4e170bd # timeout=10 07:11:19 > git rev-parse HEAD^{commit} # timeout=10 07:11:19 > git config core.sparsecheckout # timeout=10 07:11:19 > git checkout -f 7dfb402ddb73e1162628c4af5ca99f351e93b6e3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 07:11:19 > git rev-list --no-walk 269da8e8797ab8b19895ebade1b65d9ef4306791 # timeout=10 [Pipeline] echo 07:11:21 ========================================================= 07:11:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 07:11:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:11:22 + 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 . 07:11:22 Commit message: "Merge commit '5644139549e3358844d35a6dfdbf7cafe4e170bd' into HEAD" 07:11:22 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 07:11:23 Sending build context to Docker daemon 8.03MB 07:11:23 Step 1/10 : ARG BASE=golang:1.13-alpine 07:11:23 Step 2/10 : FROM ${BASE} 07:11:22 > git rev-list --no-walk 269da8e8797ab8b19895ebade1b65d9ef4306791 # timeout=10 [Pipeline] echo 07:11:23 ========================================================= 07:11:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 07:11:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:11:24 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:11:24 b538f80385f9: Pulling fs layer 07:11:24 74f711af9a0d: Pulling fs layer 07:11:24 99f96fe45779: Pulling fs layer 07:11:24 fd7a069fd194: Pulling fs layer 07:11:24 66aa3694b03b: Pulling fs layer 07:11:24 170f70906a0f: Pulling fs layer 07:11:24 ad7c5574e4b9: Pulling fs layer 07:11:24 e772456be8f7: Pulling fs layer 07:11:24 c890913d741a: Pulling fs layer 07:11:24 2480fcc9aa5a: Pulling fs layer 07:11:24 09adf4765672: Pulling fs layer 07:11:24 fd7a069fd194: Waiting 07:11:24 e772456be8f7: Waiting 07:11:24 c890913d741a: Waiting 07:11:24 2480fcc9aa5a: Waiting 07:11:24 66aa3694b03b: Waiting 07:11:24 170f70906a0f: Waiting 07:11:24 09adf4765672: Waiting 07:11:24 ad7c5574e4b9: Waiting 07:11:24 99f96fe45779: Verifying Checksum 07:11:24 99f96fe45779: Download complete 07:11:24 74f711af9a0d: Verifying Checksum 07:11:24 74f711af9a0d: Download complete 07:11:24 66aa3694b03b: Verifying Checksum 07:11:24 66aa3694b03b: Download complete 07:11:24 170f70906a0f: Verifying Checksum 07:11:24 170f70906a0f: Download complete 07:11:24 b538f80385f9: Verifying Checksum 07:11:24 b538f80385f9: Download complete 07:11:24 + 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 . 07:11:24 Sending build context to Docker daemon 8.03MB 07:11:24 Step 1/10 : ARG BASE=golang:1.13-alpine 07:11:24 Step 2/10 : FROM ${BASE} 07:11:24 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 07:11:24 df20fa9351a1: Pulling fs layer 07:11:24 ed8968b2872e: Pulling fs layer 07:11:24 a92cc7c5fd73: Pulling fs layer 07:11:24 2dd03ba5bac4: Pulling fs layer 07:11:24 1e091d79d1de: Pulling fs layer 07:11:24 481702a1767f: Pulling fs layer 07:11:24 f64a6f60c768: Pulling fs layer 07:11:24 e78d2573fc39: Pulling fs layer 07:11:24 e876d2f968b6: Pulling fs layer 07:11:24 ce8a83651883: Pulling fs layer 07:11:24 07967f4d0e4b: Pulling fs layer 07:11:24 e78d2573fc39: Waiting 07:11:24 e876d2f968b6: Waiting 07:11:24 2dd03ba5bac4: Waiting 07:11:24 ce8a83651883: Waiting 07:11:24 1e091d79d1de: Waiting 07:11:24 07967f4d0e4b: Waiting 07:11:24 481702a1767f: Waiting 07:11:24 f64a6f60c768: Waiting 07:11:24 a92cc7c5fd73: Verifying Checksum 07:11:24 a92cc7c5fd73: Download complete 07:11:24 ed8968b2872e: Download complete 07:11:24 1e091d79d1de: Download complete 07:11:24 481702a1767f: Download complete 07:11:24 df20fa9351a1: Verifying Checksum 07:11:24 df20fa9351a1: Download complete 07:11:25 b538f80385f9: Pull complete 07:11:25 df20fa9351a1: Pull complete 07:11:25 74f711af9a0d: Pull complete 07:11:25 ed8968b2872e: Pull complete 07:11:25 99f96fe45779: Pull complete 07:11:26 a92cc7c5fd73: Pull complete 07:11:26 f64a6f60c768: Verifying Checksum 07:11:26 f64a6f60c768: Download complete 07:11:26 e876d2f968b6: Verifying Checksum 07:11:26 e876d2f968b6: Download complete 07:11:26 2dd03ba5bac4: Verifying Checksum 07:11:26 2dd03ba5bac4: Download complete 07:11:26 ce8a83651883: Verifying Checksum 07:11:26 ce8a83651883: Download complete 07:11:26 07967f4d0e4b: Verifying Checksum 07:11:26 07967f4d0e4b: Download complete 07:11:26 e78d2573fc39: Verifying Checksum 07:11:26 e78d2573fc39: Download complete 07:11:27 ad7c5574e4b9: Verifying Checksum 07:11:27 ad7c5574e4b9: Download complete 07:11:27 c890913d741a: Download complete 07:11:29 2480fcc9aa5a: Verifying Checksum 07:11:29 2480fcc9aa5a: Download complete 07:11:29 09adf4765672: Verifying Checksum 07:11:29 09adf4765672: Download complete 07:11:29 fd7a069fd194: Verifying Checksum 07:11:29 fd7a069fd194: Download complete 07:11:30 e772456be8f7: Verifying Checksum 07:11:30 e772456be8f7: Download complete 07:11:32 2dd03ba5bac4: Pull complete 07:11:32 1e091d79d1de: Pull complete 07:11:32 481702a1767f: Pull complete 07:11:42 f64a6f60c768: Pull complete 07:11:42 fd7a069fd194: Pull complete 07:11:42 66aa3694b03b: Pull complete 07:11:42 170f70906a0f: Pull complete 07:11:43 e78d2573fc39: Pull complete 07:11:44 e876d2f968b6: Pull complete 07:11:45 ce8a83651883: Pull complete 07:11:45 07967f4d0e4b: Pull complete 07:11:45 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 07:11:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 07:11:45 ---> 5d7c900382c6 07:11:45 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 07:11:45 ad7c5574e4b9: Pull complete 07:11:46 ---> Running in 3fc3b2de3c00 07:11:46 Removing intermediate container 3fc3b2de3c00 07:11:46 ---> b589674d248b 07:11:46 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 07:11:46 ---> Running in ff2e857ab263 07:11:46 Removing intermediate container ff2e857ab263 07:11:46 ---> e92142a0cc21 07:11:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:11:46 ---> Running in 2224bf7866b9 07:11:46 Removing intermediate container 2224bf7866b9 07:11:46 ---> a227abd220f4 07:11:46 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:11:46 ---> Running in 5a0bfaa95758 07:11:48 Removing intermediate container 5a0bfaa95758 07:11:48 ---> c309e7e03ddd 07:11:48 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:11:48 ---> Running in 40faf44c8474 07:11:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:11:49 e772456be8f7: Pull complete 07:11:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:11:49 c890913d741a: Pull complete 07:11:49 OK: 166 MiB in 39 packages 07:11:50 Removing intermediate container 40faf44c8474 07:11:50 ---> 205601c6d1b0 07:11:50 Step 8/10 : WORKDIR /device-rest-go 07:11:50 ---> Running in d63987ad6a39 07:11:50 Removing intermediate container d63987ad6a39 07:11:50 ---> 212a1f45b07b 07:11:50 Step 9/10 : COPY . . 07:11:50 ---> 413a862aab24 07:11:50 Step 10/10 : RUN go mod download 07:11:50 ---> Running in 84b792cd63d9 07:11:52 2480fcc9aa5a: Pull complete 07:11:52 09adf4765672: Pull complete 07:11:52 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 07:11:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 07:11:52 ---> 2248a725d1cf 07:11:52 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 07:11:53 go: finding github.com/BurntSushi/toml v0.3.1 07:11:53 go: finding github.com/OneOfOne/xxhash v1.2.6 07:11:53 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:11:53 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:11:53 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:11:53 go: finding github.com/bgentry/speakeasy v0.1.0 07:11:53 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:11:53 go: finding github.com/davecgh/go-spew v1.1.1 07:11:53 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 07:11:53 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 07:11:53 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:11:53 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:11:53 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:11:53 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:11:53 go: finding github.com/fatih/color v1.7.0 07:11:53 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:11:53 go: finding github.com/go-kit/kit v0.8.0 07:11:53 go: finding github.com/go-logfmt/logfmt v0.4.0 07:11:53 go: finding github.com/go-stack/stack v1.8.0 07:11:53 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:11:53 go: finding github.com/google/uuid v1.1.0 07:11:53 go: finding github.com/gorilla/mux v1.7.1 07:11:53 go: finding github.com/hashicorp/consul/api v1.1.0 07:11:53 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:11:53 go: finding github.com/hashicorp/errwrap v1.0.0 07:11:53 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:11:53 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:11:53 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:11:53 go: finding github.com/hashicorp/go-multierror v1.0.0 07:11:53 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:11:53 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:11:53 go: finding github.com/hashicorp/go-syslog v1.0.0 07:11:53 go: finding github.com/hashicorp/go-uuid v1.0.1 07:11:53 go: finding github.com/hashicorp/go.net v0.0.1 07:11:53 go: finding github.com/hashicorp/golang-lru v0.5.0 07:11:53 go: finding github.com/hashicorp/logutils v1.0.0 07:11:53 go: finding github.com/hashicorp/mdns v1.0.0 07:11:53 go: finding github.com/hashicorp/memberlist v0.1.3 07:11:53 go: finding github.com/hashicorp/serf v0.8.2 07:11:53 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:11:53 go: finding github.com/mattn/go-colorable v0.0.9 07:11:53 go: finding github.com/mattn/go-isatty v0.0.3 07:11:53 go: finding github.com/miekg/dns v1.0.14 07:11:53 go: finding github.com/mitchellh/cli v1.0.0 07:11:53 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:11:53 go: finding github.com/mitchellh/copystructure v1.0.0 07:11:53 go: finding github.com/mitchellh/go-homedir v1.0.0 07:11:53 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:11:53 go: finding github.com/mitchellh/gox v0.4.0 07:11:53 go: finding github.com/mitchellh/iochan v1.0.0 07:11:53 go: finding github.com/mitchellh/mapstructure v1.1.2 07:11:53 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:11:54 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:11:54 go: finding github.com/pelletier/go-toml v1.2.0 07:11:54 go: finding github.com/pkg/errors v0.8.1 07:11:54 go: finding github.com/pmezard/go-difflib v1.0.0 07:11:54 go: finding github.com/posener/complete v1.1.1 07:11:54 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:11:54 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:11:54 go: finding github.com/spf13/cast v1.3.0 07:11:54 go: finding github.com/stretchr/objx v0.1.0 07:11:54 go: finding github.com/stretchr/testify v1.5.1 07:11:54 go: finding github.com/ugorji/go v1.1.4 07:11:54 go: finding github.com/x448/float16 v0.8.4 07:11:54 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:11:54 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:11:54 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:11:54 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:11:54 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:11:54 go: finding gopkg.in/yaml.v2 v2.2.8 07:11:57 ---> Running in 82ece708a545 07:11:57 Removing intermediate container 82ece708a545 07:11:57 ---> 17ec5d45ee00 07:11:57 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 07:11:58 ---> Running in 0df6bb10af3c 07:11:58 Removing intermediate container 0df6bb10af3c 07:11:58 ---> 20765b928239 07:11:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:11:58 ---> Running in 011cab52dfc7 07:11:58 Removing intermediate container 011cab52dfc7 07:11:58 ---> cd2adc2c9f23 07:11:58 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:11:59 ---> Running in 7ba47155e3a8 07:12:01 Removing intermediate container 7ba47155e3a8 07:12:01 ---> 8d5d2757370c 07:12:01 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:12:01 ---> Running in db21236ff9dd 07:12:02 Removing intermediate container 84b792cd63d9 07:12:02 ---> ce8e56faefe8 07:12:02 Successfully built ce8e56faefe8 07:12:02 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 07:12:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:12:03 + docker inspect -f . ci-base-image-x86_64 07:12:03 . [Pipeline] withDockerContainer 07:12:03 prd-centos7-docker-4c-2g-820 does not seem to be running inside a container 07:12:03 $ 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 07:12:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:12:04 OK: 142 MiB in 39 packages 07:12:04 $ docker top 57965155ef186b51658b2b4b4200367662fa695dfe48a8146a862cf9e93b1fc3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:12:05 + go version 07:12:05 go version go1.13.13 linux/amd64 [Pipeline] sh 07:12:05 + make test 07:12:05 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:12:05 Removing intermediate container db21236ff9dd 07:12:05 ---> ea53c4e91ae7 07:12:05 Step 8/10 : WORKDIR /device-rest-go 07:12:05 ---> Running in 8e2a93ae8f6a 07:12:06 Removing intermediate container 8e2a93ae8f6a 07:12:06 ---> a7154f0ba7ae 07:12:06 Step 9/10 : COPY . . 07:12:06 ? github.com/edgexfoundry/device-rest-go [no test files] 07:12:07 ---> 453b1e064140 07:12:07 Step 10/10 : RUN go mod download 07:12:07 ---> Running in d4abd9225c12 07:12:10 go: finding github.com/BurntSushi/toml v0.3.1 07:12:10 go: finding github.com/OneOfOne/xxhash v1.2.6 07:12:10 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 07:12:10 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 07:12:10 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 07:12:10 go: finding github.com/bgentry/speakeasy v0.1.0 07:12:10 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 07:12:10 go: finding github.com/davecgh/go-spew v1.1.1 07:12:10 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 07:12:10 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 07:12:10 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 07:12:10 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 07:12:10 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 07:12:10 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 07:12:10 go: finding github.com/fatih/color v1.7.0 07:12:10 go: finding github.com/fxamacker/cbor/v2 v2.2.0 07:12:10 go: finding github.com/go-kit/kit v0.8.0 07:12:10 go: finding github.com/go-logfmt/logfmt v0.4.0 07:12:10 go: finding github.com/go-stack/stack v1.8.0 07:12:10 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 07:12:10 go: finding github.com/google/uuid v1.1.0 07:12:10 go: finding github.com/gorilla/mux v1.7.1 07:12:10 go: finding github.com/hashicorp/consul/api v1.1.0 07:12:10 go: finding github.com/hashicorp/consul/sdk v0.1.1 07:12:10 go: finding github.com/hashicorp/errwrap v1.0.0 07:12:10 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 07:12:10 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 07:12:10 go: finding github.com/hashicorp/go-msgpack v0.5.3 07:12:10 go: finding github.com/hashicorp/go-multierror v1.0.0 07:12:10 go: finding github.com/hashicorp/go-rootcerts v1.0.0 07:12:10 go: finding github.com/hashicorp/go-sockaddr v1.0.0 07:12:10 go: finding github.com/hashicorp/go-syslog v1.0.0 07:12:10 go: finding github.com/hashicorp/go-uuid v1.0.1 07:12:10 go: finding github.com/hashicorp/go.net v0.0.1 07:12:10 go: finding github.com/hashicorp/golang-lru v0.5.0 07:12:10 go: finding github.com/hashicorp/logutils v1.0.0 07:12:10 go: finding github.com/hashicorp/mdns v1.0.0 07:12:10 go: finding github.com/hashicorp/memberlist v0.1.3 07:12:10 go: finding github.com/hashicorp/serf v0.8.2 07:12:11 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 07:12:11 go: finding github.com/mattn/go-colorable v0.0.9 07:12:11 go: finding github.com/mattn/go-isatty v0.0.3 07:12:11 go: finding github.com/miekg/dns v1.0.14 07:12:11 go: finding github.com/mitchellh/cli v1.0.0 07:12:11 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 07:12:11 go: finding github.com/mitchellh/copystructure v1.0.0 07:12:11 go: finding github.com/mitchellh/go-homedir v1.0.0 07:12:11 go: finding github.com/mitchellh/go-testing-interface v1.0.0 07:12:11 go: finding github.com/mitchellh/gox v0.4.0 07:12:11 go: finding github.com/mitchellh/iochan v1.0.0 07:12:11 go: finding github.com/mitchellh/mapstructure v1.1.2 07:12:11 go: finding github.com/mitchellh/reflectwalk v1.0.0 07:12:11 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 07:12:11 go: finding github.com/pelletier/go-toml v1.2.0 07:12:11 go: finding github.com/pkg/errors v0.8.1 07:12:11 go: finding github.com/pmezard/go-difflib v1.0.0 07:12:11 go: finding github.com/posener/complete v1.1.1 07:12:11 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 07:12:11 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 07:12:11 go: finding github.com/spf13/cast v1.3.0 07:12:11 go: finding github.com/stretchr/objx v0.1.0 07:12:11 go: finding github.com/stretchr/testify v1.5.1 07:12:11 go: finding github.com/ugorji/go v1.1.4 07:12:11 go: finding github.com/x448/float16 v0.8.4 07:12:11 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 07:12:11 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 07:12:11 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 07:12:11 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 07:12:11 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 07:12:11 go: finding gopkg.in/yaml.v2 v2.2.8 07:12:16 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 07:12:16 ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 56.3% of statements 07:12:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:12:18 gofmt -l . 07:12:18 [ "`gofmt -l .`" = "" ] 07:12:18 ./bin/test-go-mod-tidy.sh 07:12:19 ./bin/test-attribution-txt.sh [Pipeline] stash 07:12:19 Stashed 1 file(s) [Pipeline] } 07:12:19 $ docker stop --time=1 57965155ef186b51658b2b4b4200367662fa695dfe48a8146a862cf9e93b1fc3 07:12:21 $ docker rm -f 57965155ef186b51658b2b4b4200367662fa695dfe48a8146a862cf9e93b1fc3 07:12:21 Removing intermediate container d4abd9225c12 07:12:21 ---> 9c60732e7500 07:12:21 Successfully built 9c60732e7500 07:12:21 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 07:12:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:12:24 + docker inspect -f . ci-base-image-arm64 07:12:24 . [Pipeline] withDockerContainer 07:12:24 + ls -al . 07:12:24 total 96 07:12:24 drwxrwxr-x. 9 jenkins jenkins 4096 Jul 24 07:12 . 07:12:24 drwxrwxr-x. 4 jenkins jenkins 30 Jul 24 07:11 .. 07:12:24 -rw-rw-r--. 1 jenkins jenkins 4802 Jul 24 07:11 Attribution.txt 07:12:24 drwxrwxr-x. 2 jenkins jenkins 64 Jul 24 07:11 bin 07:12:24 drwxrwxr-x. 3 jenkins jenkins 32 Jul 24 07:11 cmd 07:12:24 -rw-r--r--. 1 jenkins jenkins 9369 Jul 24 07:12 coverage.out 07:12:24 -rw-rw-r--. 1 jenkins jenkins 1504 Jul 24 07:11 Dockerfile 07:12:24 -rw-rw-r--. 1 jenkins jenkins 989 Jul 24 07:11 Dockerfile.build 07:12:24 -rw-rw-r--. 1 jenkins jenkins 151 Jul 24 07:11 .dockerignore 07:12:24 drwxrwxr-x. 2 jenkins jenkins 93 Jul 24 07:12 driver 07:12:24 drwxrwxr-x. 8 jenkins jenkins 179 Jul 24 07:11 .git 07:12:24 drwxrwxr-x. 2 jenkins jenkins 38 Jul 24 07:11 .github 07:12:24 -rw-rw-r--. 1 jenkins jenkins 339 Jul 24 07:11 .gitignore 07:12:24 -rw-r--r--. 1 jenkins jenkins 266 Jul 24 07:12 go.mod 07:12:24 -rw-r--r--. 1 jenkins jenkins 12533 Jul 24 07:12 go.sum 07:12:24 -rw-rw-r--. 1 jenkins jenkins 702 Jul 24 07:11 Jenkinsfile 07:12:24 -rw-rw-r--. 1 jenkins jenkins 11340 Jul 24 07:11 LICENSE 07:12:24 -rw-rw-r--. 1 jenkins jenkins 951 Jul 24 07:11 Makefile 07:12:24 -rw-rw-r--. 1 jenkins jenkins 5716 Jul 24 07:11 README.md 07:12:24 drwxrwxr-x. 3 jenkins jenkins 45 Jul 24 07:11 .semver 07:12:24 drwxrwxr-x. 4 jenkins jenkins 54 Jul 24 07:11 snap 07:12:24 -rw-rw-r--. 1 jenkins jenkins 5 Jul 24 07:09 VERSION 07:12:24 -rw-rw-r--. 1 jenkins jenkins 713 Jul 24 07:11 version.go 07:12:24 prd-ubuntu18.04-docker-arm64-4c-16g-819 does not seem to be running inside a container 07:12:24 $ 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 07:12:26 $ docker top 83112f023752303e8961a87986d31b417065d75529534b3ddf58920a91ea7468 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 07:12:27 + 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 . 07:12:27 Sending build context to Docker daemon 8.042MB 07:12:27 Step 1/24 : ARG BASE=golang:1.13-alpine 07:12:27 Step 2/24 : FROM ${BASE} AS builder 07:12:27 ---> ce8e56faefe8 07:12:27 Step 3/24 : ARG MAKE='make build' 07:12:27 ---> Running in 31faaf7d3b29 07:12:27 Removing intermediate container 31faaf7d3b29 07:12:27 ---> 9da2ef83d1fd 07:12:27 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 07:12:28 ---> Running in 3a7a2865c662 07:12:28 Removing intermediate container 3a7a2865c662 07:12:28 ---> cd24a6f1e2e7 07:12:28 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 07:12:28 ---> Running in eeb73d01daaa 07:12:28 + go version 07:12:28 go version go1.13.13 linux/arm64 [Pipeline] sh 07:12:28 Removing intermediate container eeb73d01daaa 07:12:28 ---> f91949f0c345 07:12:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:12:28 ---> Running in 77f954f19f59 07:12:29 + make test 07:12:29 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:12:29 Removing intermediate container 77f954f19f59 07:12:29 ---> 0933e4b0c822 07:12:29 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:12:29 ---> Running in 543c6a344461 07:12:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:12:30 ? github.com/edgexfoundry/device-rest-go [no test files] 07:12:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:12:31 OK: 166 MiB in 39 packages 07:12:31 Removing intermediate container 543c6a344461 07:12:31 ---> 7dc2043b5f8a 07:12:31 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 07:12:31 ---> Running in 7d875b786f50 07:12:31 Removing intermediate container 7d875b786f50 07:12:31 ---> 4dc2298b1fb7 07:12:31 Step 9/24 : COPY go.mod . 07:12:31 ---> 6f3f7c5d489b 07:12:31 Step 10/24 : COPY Makefile . 07:12:32 ---> 2ecf73fc7d36 07:12:32 Step 11/24 : RUN make update 07:12:32 ---> Running in b9b423e27464 07:12:32 CGO_ENABLED=0 GO111MODULE=on go mod download 07:12:32 Removing intermediate container b9b423e27464 07:12:32 ---> 7f9919cff3bb 07:12:32 Step 12/24 : COPY . . 07:12:33 ---> 989a11e0eef9 07:12:33 Step 13/24 : RUN $MAKE 07:12:33 ---> Running in c906bcb3f85a 07:12:33 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 07:12:43 Removing intermediate container c906bcb3f85a 07:12:43 ---> f774e5853713 07:12:43 Step 14/24 : FROM alpine:latest 07:12:43 latest: Pulling from library/alpine 07:12:43 df20fa9351a1: Already exists 07:12:44 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 07:12:44 Status: Downloaded newer image for alpine:latest 07:12:44 ---> a24bb4013296 07:12:44 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:12:44 ---> Running in 5b8869ca1f8f 07:12:44 Removing intermediate container 5b8869ca1f8f 07:12:44 ---> c250752baecb 07:12:44 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 07:12:44 ---> Running in abf1c934453b 07:12:44 Removing intermediate container abf1c934453b 07:12:44 ---> 944554fbe9df 07:12:44 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 07:12:44 ---> cda15ce1951b 07:12:44 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 07:12:44 ---> 41403f1c0bd6 07:12:44 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 07:12:45 ---> cc7b4f569eb3 07:12:45 Step 20/24 : EXPOSE 49986 07:12:45 ---> Running in 751eb0a15c25 07:12:45 Removing intermediate container 751eb0a15c25 07:12:45 ---> f0cddd6e8a48 07:12:45 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 07:12:45 ---> Running in 574b0329af8f 07:12:45 Removing intermediate container 574b0329af8f 07:12:45 ---> 8c7ffa0f895f 07:12:45 Step 22/24 : LABEL arch=amd64 07:12:46 ---> Running in a5a796c30f0d 07:12:46 Removing intermediate container a5a796c30f0d 07:12:46 ---> 4e1acf2db3f0 07:12:46 Step 23/24 : LABEL git_sha=6d1c0f28e536badcc7b7fc5c64f9c1d205908853 07:12:46 ---> Running in b0b395d5831b 07:12:46 Removing intermediate container b0b395d5831b 07:12:46 ---> 835076cbf52b 07:12:46 Step 24/24 : LABEL version=0.0.0 07:12:46 ---> Running in aea5bad79e65 07:12:46 Removing intermediate container aea5bad79e65 07:12:46 ---> 4e5dc6492cec 07:12:46 [Warning] One or more build-args [ARCH] were not consumed 07:12:46 Successfully built 4e5dc6492cec 07:12:46 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] } 07:13:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 07:13:02 ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 56.3% of statements 07:13:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:13:06 gofmt -l . 07:13:06 [ "`gofmt -l .`" = "" ] 07:13:06 ./bin/test-go-mod-tidy.sh 07:13:06 ./bin/test-attribution-txt.sh [Pipeline] stash 07:13:06 Warning: overwriting stash ‘coverage-report’ 07:13:07 Stashed 1 file(s) [Pipeline] } 07:13:07 $ docker stop --time=1 83112f023752303e8961a87986d31b417065d75529534b3ddf58920a91ea7468 07:13:09 $ docker rm -f 83112f023752303e8961a87986d31b417065d75529534b3ddf58920a91ea7468 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:13:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:13:11 + ls -al . 07:13:11 total 128 07:13:11 drwxrwxr-x 9 jenkins jenkins 4096 Jul 24 07:13 . 07:13:11 drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 07:11 .. 07:13:11 -rw-rw-r-- 1 jenkins jenkins 151 Jul 24 07:11 .dockerignore 07:13:11 drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 07:11 .git 07:13:11 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 07:11 .github 07:13:11 -rw-rw-r-- 1 jenkins jenkins 339 Jul 24 07:11 .gitignore 07:13:11 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 07:11 .semver 07:13:11 -rw-rw-r-- 1 jenkins jenkins 4802 Jul 24 07:11 Attribution.txt 07:13:11 -rw-rw-r-- 1 jenkins jenkins 1504 Jul 24 07:11 Dockerfile 07:13:11 -rw-rw-r-- 1 jenkins jenkins 989 Jul 24 07:11 Dockerfile.build 07:13:11 -rw-rw-r-- 1 jenkins jenkins 702 Jul 24 07:11 Jenkinsfile 07:13:11 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 24 07:11 LICENSE 07:13:11 -rw-rw-r-- 1 jenkins jenkins 951 Jul 24 07:11 Makefile 07:13:11 -rw-rw-r-- 1 jenkins jenkins 5716 Jul 24 07:11 README.md 07:13:11 -rw-rw-r-- 1 jenkins jenkins 5 Jul 24 07:09 VERSION 07:13:11 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 07:11 bin 07:13:11 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 07:11 cmd 07:13:11 -rw-r--r-- 1 jenkins jenkins 9369 Jul 24 07:12 coverage.out 07:13:11 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 07:12 driver 07:13:11 -rw-r--r-- 1 jenkins jenkins 266 Jul 24 07:13 go.mod 07:13:11 -rw-r--r-- 1 jenkins jenkins 12533 Jul 24 07:13 go.sum 07:13:11 drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 07:11 snap 07:13:11 -rw-rw-r-- 1 jenkins jenkins 713 Jul 24 07:11 version.go [Pipeline] isUnix [Pipeline] sh 07:13:12 + 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 . 07:13:12 Sending build context to Docker daemon 8.042MB 07:13:12 Step 1/24 : ARG BASE=golang:1.13-alpine 07:13:12 Step 2/24 : FROM ${BASE} AS builder 07:13:12 ---> 9c60732e7500 07:13:12 Step 3/24 : ARG MAKE='make build' 07:13:13 ---> Running in 8797ab001291 07:13:13 Removing intermediate container 8797ab001291 07:13:13 ---> 8dcaa189ed5a 07:13:13 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 07:13:13 ---> Running in 996fd6e3e67d 07:13:13 Removing intermediate container 996fd6e3e67d 07:13:13 ---> 9f8409bc71b2 07:13:13 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 07:13:14 ---> Running in 8301414771c8 07:13:14 Removing intermediate container 8301414771c8 07:13:14 ---> 827ab07a4af5 07:13:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:13:14 ---> Running in 540db6004427 07:13:17 Removing intermediate container 540db6004427 07:13:17 ---> 64c7259a5807 07:13:17 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:13:17 ---> Running in ab6b94c1ee30 07:13:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:13:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:13:20 OK: 142 MiB in 39 packages 07:13:21 Removing intermediate container ab6b94c1ee30 07:13:21 ---> 9dcaaf8381e3 07:13:21 Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 07:13:21 ---> Running in 5bf0b588a37b 07:13:21 Removing intermediate container 5bf0b588a37b 07:13:21 ---> a312ea622e29 07:13:21 Step 9/24 : COPY go.mod . 07:13:22 ---> 8981f3bbed57 07:13:22 Step 10/24 : COPY Makefile . 07:13:23 ---> f5e8e0a4cc50 07:13:23 Step 11/24 : RUN make update 07:13:23 ---> Running in c0de2d8c9f70 07:13:24 CGO_ENABLED=0 GO111MODULE=on go mod download 07:13:25 Removing intermediate container c0de2d8c9f70 07:13:25 ---> ea9225b320f9 07:13:25 Step 12/24 : COPY . . 07:13:27 ---> 3d6d961d9435 07:13:27 Step 13/24 : RUN $MAKE 07:13:27 ---> Running in 429a300def8b 07:13:28 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 07:13:55 Removing intermediate container 429a300def8b 07:13:55 ---> f6383c1a5b58 07:13:55 Step 14/24 : FROM alpine:latest 07:13:55 latest: Pulling from library/alpine 07:13:55 b538f80385f9: Already exists 07:13:55 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 07:13:55 Status: Downloaded newer image for alpine:latest 07:13:55 ---> 62ee0e9f8440 07:13:55 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:13:55 ---> Running in f2e19bacc43a 07:13:55 Removing intermediate container f2e19bacc43a 07:13:55 ---> fdbb327961b0 07:13:55 Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} 07:13:55 ---> Running in 59e45ab5bc53 07:13:55 Removing intermediate container 59e45ab5bc53 07:13:55 ---> cba436771a67 07:13:55 Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 07:13:56 ---> f882aa6861a6 07:13:56 Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 07:13:57 ---> 51434cd6051a 07:13:57 Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 07:13:58 ---> 6d1391116da5 07:13:58 Step 20/24 : EXPOSE 49986 07:13:58 ---> Running in 0bb78e4d9c08 07:13:59 Removing intermediate container 0bb78e4d9c08 07:13:59 ---> 55ee7b6b4c66 07:13:59 Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] 07:13:59 ---> Running in 51d69424f733 07:13:59 Removing intermediate container 51d69424f733 07:13:59 ---> 22f596615481 07:13:59 Step 22/24 : LABEL arch=arm64 07:13:59 ---> Running in 63b0e82f1ba6 07:14:00 Removing intermediate container 63b0e82f1ba6 07:14:00 ---> 346dca4ff769 07:14:00 Step 23/24 : LABEL git_sha=6d1c0f28e536badcc7b7fc5c64f9c1d205908853 07:14:00 ---> Running in 2b347b6879a6 07:14:00 Removing intermediate container 2b347b6879a6 07:14:00 ---> d04544bd37cf 07:14:00 Step 24/24 : LABEL version=0.0.0 07:14:00 ---> Running in 44bd3f2dd890 07:14:01 Removing intermediate container 44bd3f2dd890 07:14:01 ---> 1a15f8aa58a3 07:14:01 [Warning] One or more build-args [ARCH] were not consumed 07:14:01 Successfully built 1a15f8aa58a3 07:14:01 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 07:14:03 provisioning config files... 07:14:03 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config9005373412087268937tmp [Pipeline] { [Pipeline] sh 07:14:03 + curl -s https://codecov.io/bash 07:14:03 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config9005373412087268937tmp [Pipeline] } 07:14:03 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 07:14:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:14:05 ---> package-listing.sh 07:14:05 ++ facter osfamily 07:14:05 ++ tr '[:upper:]' '[:lower:]' 07:14:05 + OS_FAMILY=redhat 07:14:05 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-27 07:14:05 + START_PACKAGES=/tmp/packages_start.txt 07:14:05 + END_PACKAGES=/tmp/packages_end.txt 07:14:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:14:05 + PACKAGES=/tmp/packages_start.txt 07:14:05 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' 07:14:05 + PACKAGES=/tmp/packages_end.txt 07:14:05 + case "${OS_FAMILY}" in 07:14:05 + rpm -qa 07:14:05 + sort 07:14:10 + '[' -f /tmp/packages_start.txt ']' 07:14:10 + '[' -f /tmp/packages_end.txt ']' 07:14:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:14:10 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' 07:14:10 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-27/archives/ 07:14:10 + 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 07:14:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:14:10 07:14:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:14:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:14:11 alpine: Pulling from edgex-lftools-log-publisher 07:14:11 c9b1b535fdd9: Pulling fs layer 07:14:11 2cc5ad85d9ab: Pulling fs layer 07:14:11 756a868c4378: Pulling fs layer 07:14:11 444b2fc9a129: Pulling fs layer 07:14:11 ea15f1150254: Pulling fs layer 07:14:11 41b27a9f41bf: Pulling fs layer 07:14:11 28c525ee5125: Pulling fs layer 07:14:11 094b1ea09ed8: Pulling fs layer 07:14:11 138eaada9080: Pulling fs layer 07:14:11 0622d0fa9048: Pulling fs layer 07:14:11 444b2fc9a129: Waiting 07:14:11 ea15f1150254: Waiting 07:14:11 41b27a9f41bf: Waiting 07:14:11 28c525ee5125: Waiting 07:14:11 094b1ea09ed8: Waiting 07:14:11 138eaada9080: Waiting 07:14:11 0622d0fa9048: Waiting 07:14:11 2cc5ad85d9ab: Download complete 07:14:11 444b2fc9a129: Verifying Checksum 07:14:11 444b2fc9a129: Download complete 07:14:11 c9b1b535fdd9: Verifying Checksum 07:14:11 c9b1b535fdd9: Download complete 07:14:11 ea15f1150254: Verifying Checksum 07:14:11 ea15f1150254: Download complete 07:14:11 28c525ee5125: Verifying Checksum 07:14:11 28c525ee5125: Download complete 07:14:11 756a868c4378: Verifying Checksum 07:14:11 756a868c4378: Download complete 07:14:11 c9b1b535fdd9: Pull complete 07:14:11 138eaada9080: Verifying Checksum 07:14:11 138eaada9080: Download complete 07:14:11 0622d0fa9048: Verifying Checksum 07:14:11 0622d0fa9048: Download complete 07:14:11 2cc5ad85d9ab: Pull complete 07:14:11 094b1ea09ed8: Verifying Checksum 07:14:11 094b1ea09ed8: Download complete 07:14:12 41b27a9f41bf: Verifying Checksum 07:14:12 41b27a9f41bf: Download complete 07:14:13 756a868c4378: Pull complete 07:14:13 444b2fc9a129: Pull complete 07:14:13 ea15f1150254: Pull complete 07:14:17 41b27a9f41bf: Pull complete 07:14:17 28c525ee5125: Pull complete 07:14:19 094b1ea09ed8: Pull complete 07:14:20 138eaada9080: Pull complete 07:14:20 0622d0fa9048: Pull complete 07:14:20 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 07:14:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:14:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:14:20 prd-centos7-docker-4c-2g-818 does not seem to be running inside a container 07:14:20 $ 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 07:14:24 $ docker top bac6dabe5c41e65a1b9974f6ee76029202b5779139da640136a67ec2de49e4a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:14:24 provisioning config files... 07:14:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config5479239634548390605tmp [Pipeline] { [Pipeline] echo 07:14:24 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:14:25 ---> create-netrc.sh [Pipeline] echo 07:14:25 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:14:25 ---> logs-deploy.sh 07:14:25 + ARCHIVE_ARTIFACTS= 07:14:25 + LOGS_SERVER=https://logs.edgexfoundry.org 07:14:25 + '[' https://logs.edgexfoundry.org == None ']' 07:14:25 + NEXUS_URL=https://nexus.edgexfoundry.org 07:14:25 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/12 07:14:25 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/12/ 07:14:25 + 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 07:14:26 Archives upload complete. 07:14:26 + 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/