Pull request #236 updated 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 lindseysimple for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 38d0cc147a837ce191fd6fcb9b0683ab407438b4 rather than 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc Obtained Jenkinsfile from 38d0cc147a837ce191fd6fcb9b0683ab407438b4 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-core-contracts, goVersion:1.13, buildImage:false, pushImage:false, semverBump:patch] ========================================================= [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: go-mod-core-contracts-settings PROJECT: go-mod-core-contracts USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-core-contracts DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: patch GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-4592’ is offline Running on prd-centos7-docker-4c-2g-4867 in /w/workspace/dry_go-mod-core-contracts_PR-236 [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/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-236 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 38d0cc147a837ce191fd6fcb9b0683ab407438b4 into PR head commit 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/236/head:refs/remotes/origin/PR-236 # 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/go-mod-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc Checking out Revision 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc (PR-236) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 38d0cc147a837ce191fd6fcb9b0683ab407438b4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc # timeout=10 Commit message: "Create core data DTOs and models for V2 API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-20T04:13:05.442Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-20T04:13:05.696Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-20T04:13:05.777Z] ========================================================= [2020-04-20T04:13:05.777Z] EdgeX Global Pipelines Version Info [2020-04-20T04:13:05.777Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 95a1d2f0964d654e3b5f7944b9e01b0ccefd5a11 # timeout=10 [2020-04-20T04:13:09.127Z] ------------------- [2020-04-20T04:13:09.127Z] stable info: [2020-04-20T04:13:09.127Z] ------------------- [2020-04-20T04:13:09.127Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-20T04:13:09.127Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-20T04:13:09.127Z] Message: update stable to v1.0.73 [2020-04-20T04:13:10.095Z] ------------------- [2020-04-20T04:13:10.095Z] experimental info: [2020-04-20T04:13:10.095Z] ------------------- [2020-04-20T04:13:10.095Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-20T04:13:10.095Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-20T04:13:10.095Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-20T04:13:12.337Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-20T04:13:12.607Z] [2020-04-20T04:13:12.607Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-20T04:13:13.110Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-20T04:13:13.458Z] latest: Pulling from edgex-devops/git-semver [2020-04-20T04:13:13.458Z] 9123ac7c32f7: Pulling fs layer [2020-04-20T04:13:13.458Z] b8cc5d1170e3: Pulling fs layer [2020-04-20T04:13:13.458Z] 2924cbbf6a41: Pulling fs layer [2020-04-20T04:13:13.458Z] 93b08a4f1073: Pulling fs layer [2020-04-20T04:13:13.458Z] 93b08a4f1073: Waiting [2020-04-20T04:13:13.458Z] b8cc5d1170e3: Verifying Checksum [2020-04-20T04:13:13.458Z] b8cc5d1170e3: Download complete [2020-04-20T04:13:13.940Z] 9123ac7c32f7: Verifying Checksum [2020-04-20T04:13:13.940Z] 9123ac7c32f7: Download complete [2020-04-20T04:13:14.638Z] 2924cbbf6a41: Verifying Checksum [2020-04-20T04:13:14.638Z] 2924cbbf6a41: Download complete [2020-04-20T04:13:14.638Z] 93b08a4f1073: Verifying Checksum [2020-04-20T04:13:14.638Z] 93b08a4f1073: Download complete [2020-04-20T04:13:14.638Z] 9123ac7c32f7: Pull complete [2020-04-20T04:13:14.638Z] b8cc5d1170e3: Pull complete [2020-04-20T04:13:16.623Z] 2924cbbf6a41: Pull complete [2020-04-20T04:13:16.891Z] 93b08a4f1073: Pull complete [2020-04-20T04:13:16.891Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-20T04:13:16.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-20T04:13:17.113Z] prd-centos7-docker-4c-2g-4867 does not seem to be running inside a container [2020-04-20T04:13:17.188Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-236 -v /w/workspace/dry_go-mod-core-contracts_PR-236:/w/workspace/dry_go-mod-core-contracts_PR-236:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-236@tmp:/w/workspace/dry_go-mod-core-contracts_PR-236@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-20T04:13:18.845Z] $ docker top e04de90d564bae42921968531fb381b970d8239e0bef46ed947e30006639d0fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-20T04:13:19.362Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-20T04:13:19.362Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-20T04:13:19.850Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-20T04:13:19.862Z] $ docker exec e04de90d564bae42921968531fb381b970d8239e0bef46ed947e30006639d0fa ssh-agent [2020-04-20T04:13:20.493Z] SSH_AUTH_SOCK=/tmp/ssh-mp2ZdCXlBr3e/agent.15 [2020-04-20T04:13:20.493Z] SSH_AGENT_PID=22 [2020-04-20T04:13:20.575Z] Running ssh-add (command line suppressed) [2020-04-20T04:13:21.209Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-236@tmp/private_key_477938208944327991.key (/w/workspace/dry_go-mod-core-contracts_PR-236@tmp/private_key_477938208944327991.key) [2020-04-20T04:13:21.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-20T04:13:22.382Z] + git describe --exact-match --tags HEAD [2020-04-20T04:13:22.382Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-20T04:13:22.535Z] $ docker exec --env ******** --env ******** e04de90d564bae42921968531fb381b970d8239e0bef46ed947e30006639d0fa ssh-agent -k [2020-04-20T04:13:23.212Z] unset SSH_AUTH_SOCK; [2020-04-20T04:13:23.216Z] unset SSH_AGENT_PID; [2020-04-20T04:13:23.216Z] echo Agent pid 22 killed; [2020-04-20T04:13:23.329Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-20T04:13:23.401Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-20T04:13:23.401Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-20T04:13:23.477Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-20T04:13:23.477Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-20T04:13:24.445Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-20T04:13:24.452Z] $ docker exec e04de90d564bae42921968531fb381b970d8239e0bef46ed947e30006639d0fa ssh-agent [2020-04-20T04:13:24.929Z] SSH_AUTH_SOCK=/tmp/ssh-OiPcYiLIIOcf/agent.57 [2020-04-20T04:13:24.929Z] SSH_AGENT_PID=64 [2020-04-20T04:13:24.983Z] Running ssh-add (command line suppressed) [2020-04-20T04:13:25.274Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-236@tmp/private_key_8410193897571197008.key (/w/workspace/dry_go-mod-core-contracts_PR-236@tmp/private_key_8410193897571197008.key) [2020-04-20T04:13:25.355Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-20T04:13:26.130Z] + git semver init [2020-04-20T04:13:26.130Z] # -> Open(): unable to determine branch for HEAD [2020-04-20T04:13:26.130Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-236/.git [2020-04-20T04:13:26.130Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-236 [2020-04-20T04:13:26.130Z] # $SEMVER_REMOTE_NAME = origin [2020-04-20T04:13:26.130Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-20T04:13:26.130Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-20T04:13:26.130Z] # $SEMVER_BRANCH = PR-236 [2020-04-20T04:13:26.130Z] # $SEMVER_TEMP = /tmp/semver-553736863 [2020-04-20T04:13:26.130Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-04-20T04:13:26.831Z] # '/tmp/semver-553736863' -> '/w/workspace/dry_go-mod-core-contracts_PR-236/.semver' [2020-04-20T04:13:26.831Z] # -> Force: false [2020-04-20T04:13:26.831Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-236/.semver [Pipeline] } [2020-04-20T04:13:26.851Z] $ docker exec --env ******** --env ******** e04de90d564bae42921968531fb381b970d8239e0bef46ed947e30006639d0fa ssh-agent -k [2020-04-20T04:13:27.174Z] unset SSH_AUTH_SOCK; [2020-04-20T04:13:27.176Z] unset SSH_AGENT_PID; [2020-04-20T04:13:27.176Z] echo Agent pid 64 killed; [2020-04-20T04:13:27.230Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-20T04:13:28.037Z] + git semver [Pipeline] } [2020-04-20T04:13:28.063Z] $ docker stop --time=1 e04de90d564bae42921968531fb381b970d8239e0bef46ed947e30006639d0fa [2020-04-20T04:13:29.819Z] $ docker rm -f e04de90d564bae42921968531fb381b970d8239e0bef46ed947e30006639d0fa [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-20T04:13:31.618Z] Stashed 73 file(s) [Pipeline] echo [2020-04-20T04:13:31.620Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-04-20T04:13:46.864Z] Still waiting to schedule task [2020-04-20T04:13:46.864Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-20T04:13:46.866Z] Still waiting to schedule task [2020-04-20T04:13:46.866Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-20T04:15:37.863Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4868 in /w/workspace/dry_go-mod-core-contracts_PR-236 [Pipeline] { [Pipeline] ws [2020-04-20T04:15:37.968Z] Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout [2020-04-20T04:15:43.961Z] using credential edgex-jenkins-ssh [2020-04-20T04:15:44.017Z] Cloning the remote Git repository [2020-04-20T04:15:44.017Z] Cloning with configured refspecs honoured and without tags [2020-04-20T04:15:44.095Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-20T04:15:44.199Z] > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 [2020-04-20T04:15:44.302Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-20T04:15:44.305Z] > git --version # timeout=10 [2020-04-20T04:15:44.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T04:15:44.428Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T04:15:45.474Z] Fetching without tags [2020-04-20T04:15:45.338Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-04-20T04:15:45.366Z] > git config --add remote.origin.fetch +refs/pull/236/head:refs/remotes/origin/PR-236 # timeout=10 [2020-04-20T04:15:45.389Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T04:15:45.424Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-04-20T04:15:45.490Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-20T04:15:45.491Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T04:15:45.516Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T04:15:46.016Z] Merging remotes/origin/master commit 38d0cc147a837ce191fd6fcb9b0683ab407438b4 into PR head commit 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc [2020-04-20T04:15:46.478Z] Merge succeeded, producing 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc [2020-04-20T04:15:46.479Z] Checking out Revision 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc (PR-236) [2020-04-20T04:15:46.040Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T04:15:46.113Z] > git checkout -f 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc # timeout=10 [2020-04-20T04:15:46.241Z] > git remote # timeout=10 [2020-04-20T04:15:46.274Z] > git config --get remote.origin.url # timeout=10 [2020-04-20T04:15:46.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T04:15:46.374Z] > git merge 38d0cc147a837ce191fd6fcb9b0683ab407438b4 # timeout=10 [2020-04-20T04:15:46.440Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-20T04:15:46.491Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T04:15:46.555Z] > git checkout -f 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc # timeout=10 [2020-04-20T04:15:50.940Z] Commit message: "Create core data DTOs and models for V2 API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-20T04:15:52.173Z] ========================================================= [2020-04-20T04:15:52.173Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-20T04:15:52.173Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-20T04:15:53.252Z] + 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-04-20T04:15:54.227Z] Sending build context to Docker daemon 1.775MB [2020-04-20T04:15:54.227Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-04-20T04:15:54.227Z] Step 2/7 : FROM ${BASE} [2020-04-20T04:15:54.495Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-20T04:15:54.495Z] cde5963f3b93: Pulling fs layer [2020-04-20T04:15:54.495Z] 2a23fa8c16f7: Pulling fs layer [2020-04-20T04:15:54.495Z] 777b28850792: Pulling fs layer [2020-04-20T04:15:54.495Z] 8a11ddd9e578: Pulling fs layer [2020-04-20T04:15:54.495Z] 4cf88f913ddb: Pulling fs layer [2020-04-20T04:15:54.495Z] 1df406cf5192: Pulling fs layer [2020-04-20T04:15:54.495Z] cd6300453558: Pulling fs layer [2020-04-20T04:15:54.495Z] b9c365052c96: Pulling fs layer [2020-04-20T04:15:54.495Z] a2d8cc88f415: Pulling fs layer [2020-04-20T04:15:54.495Z] ea1d1ca13537: Pulling fs layer [2020-04-20T04:15:54.495Z] 3750a50a1c5e: Pulling fs layer [2020-04-20T04:15:54.495Z] 8a11ddd9e578: Waiting [2020-04-20T04:15:54.495Z] 4cf88f913ddb: Waiting [2020-04-20T04:15:54.495Z] 1df406cf5192: Waiting [2020-04-20T04:15:54.495Z] cd6300453558: Waiting [2020-04-20T04:15:54.495Z] ea1d1ca13537: Waiting [2020-04-20T04:15:54.495Z] b9c365052c96: Waiting [2020-04-20T04:15:54.495Z] a2d8cc88f415: Waiting [2020-04-20T04:15:54.495Z] 3750a50a1c5e: Waiting [2020-04-20T04:15:54.495Z] 777b28850792: Download complete [2020-04-20T04:15:54.765Z] 2a23fa8c16f7: Verifying Checksum [2020-04-20T04:15:54.765Z] 2a23fa8c16f7: Download complete [2020-04-20T04:15:54.765Z] 4cf88f913ddb: Verifying Checksum [2020-04-20T04:15:54.765Z] 4cf88f913ddb: Download complete [2020-04-20T04:15:54.765Z] 1df406cf5192: Download complete [2020-04-20T04:15:54.765Z] cde5963f3b93: Verifying Checksum [2020-04-20T04:15:54.765Z] cde5963f3b93: Download complete [2020-04-20T04:15:55.749Z] cde5963f3b93: Pull complete [2020-04-20T04:15:56.336Z] 2a23fa8c16f7: Pull complete [2020-04-20T04:15:56.926Z] 777b28850792: Pull complete [2020-04-20T04:15:58.894Z] cd6300453558: Verifying Checksum [2020-04-20T04:15:58.894Z] cd6300453558: Download complete [2020-04-20T04:15:58.894Z] a2d8cc88f415: Verifying Checksum [2020-04-20T04:15:58.894Z] a2d8cc88f415: Download complete [2020-04-20T04:16:01.498Z] ea1d1ca13537: Verifying Checksum [2020-04-20T04:16:01.498Z] ea1d1ca13537: Download complete [2020-04-20T04:16:01.498Z] 3750a50a1c5e: Verifying Checksum [2020-04-20T04:16:01.498Z] 3750a50a1c5e: Download complete [2020-04-20T04:16:04.097Z] b9c365052c96: Verifying Checksum [2020-04-20T04:16:04.097Z] b9c365052c96: Download complete [2020-04-20T04:16:06.047Z] 8a11ddd9e578: Verifying Checksum [2020-04-20T04:16:06.047Z] 8a11ddd9e578: Download complete [2020-04-20T04:16:18.371Z] 8a11ddd9e578: Pull complete [2020-04-20T04:16:18.371Z] 4cf88f913ddb: Pull complete [2020-04-20T04:16:18.371Z] 1df406cf5192: Pull complete [2020-04-20T04:16:22.638Z] cd6300453558: Pull complete [2020-04-20T04:16:28.000Z] b9c365052c96: Pull complete [2020-04-20T04:16:28.000Z] a2d8cc88f415: Pull complete [2020-04-20T04:16:29.420Z] ea1d1ca13537: Pull complete [2020-04-20T04:16:30.006Z] 3750a50a1c5e: Pull complete [2020-04-20T04:16:30.006Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-20T04:16:30.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-20T04:16:30.006Z] ---> 78745c68409d [2020-04-20T04:16:30.006Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-20T04:16:34.276Z] ---> Running in 6019e063b954 [2020-04-20T04:16:34.276Z] Removing intermediate container 6019e063b954 [2020-04-20T04:16:34.276Z] ---> 07b1f2aa6bd5 [2020-04-20T04:16:34.276Z] Step 4/7 : RUN apk add bash [2020-04-20T04:16:34.276Z] ---> Running in 56981b5d53bc [2020-04-20T04:16:35.241Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-20T04:16:36.198Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-20T04:16:37.158Z] OK: 125 MiB in 39 packages [2020-04-20T04:16:38.569Z] Removing intermediate container 56981b5d53bc [2020-04-20T04:16:38.569Z] ---> ff4b074493a8 [2020-04-20T04:16:38.569Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-04-20T04:16:38.569Z] ---> Running in c9360d362704 [2020-04-20T04:16:38.838Z] Removing intermediate container c9360d362704 [2020-04-20T04:16:38.838Z] ---> 4579255afe84 [2020-04-20T04:16:38.838Z] Step 6/7 : COPY go.mod . [2020-04-20T04:16:39.422Z] ---> 2bfcf44f7d2e [2020-04-20T04:16:39.422Z] Step 7/7 : RUN go mod download [2020-04-20T04:16:39.694Z] ---> Running in d04bdf5f63a7 [2020-04-20T04:16:41.120Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-04-20T04:16:41.120Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-20T04:16:41.120Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-20T04:16:41.120Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-20T04:16:41.120Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-20T04:16:41.120Z] go: finding github.com/google/uuid v1.1.0 [2020-04-20T04:16:41.120Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-20T04:16:41.120Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-20T04:16:41.120Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-20T04:16:41.120Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-20T04:16:41.120Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-20T04:16:41.644Z] Running on prd-centos7-docker-4c-2g-4869 in /w/workspace/dry_go-mod-core-contracts_PR-236 [Pipeline] { [Pipeline] ws [2020-04-20T04:16:41.690Z] Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout [2020-04-20T04:16:43.704Z] Removing intermediate container d04bdf5f63a7 [2020-04-20T04:16:43.704Z] ---> 5f6cc25f2802 [2020-04-20T04:16:43.704Z] Successfully built 5f6cc25f2802 [2020-04-20T04:16:43.704Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-20T04:16:44.301Z] + docker inspect -f . ci-base-image-arm64 [2020-04-20T04:16:44.569Z] . [Pipeline] withDockerContainer [2020-04-20T04:16:44.907Z] prd-ubuntu18.04-docker-arm64-4c-16g-4868 does not seem to be running inside a container [2020-04-20T04:16:44.990Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@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 ******** ci-base-image-arm64 cat [2020-04-20T04:16:46.610Z] $ docker top 0ed6e64469429e0b6c6c654fb6a9a205bcf45a2f12b7937c8a022063b722efdb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-20T04:16:47.368Z] using credential edgex-jenkins-ssh [2020-04-20T04:16:47.411Z] Cloning the remote Git repository [2020-04-20T04:16:47.411Z] Cloning with configured refspecs honoured and without tags [2020-04-20T04:16:47.682Z] + go version [2020-04-20T04:16:47.682Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-20T04:16:47.446Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-20T04:16:47.493Z] > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 [2020-04-20T04:16:47.566Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-20T04:16:47.566Z] > git --version # timeout=10 [2020-04-20T04:16:47.573Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T04:16:47.618Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T04:16:48.355Z] + make test [2020-04-20T04:16:48.355Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-04-20T04:16:48.655Z] Fetching without tags [2020-04-20T04:16:49.175Z] Merging remotes/origin/master commit 38d0cc147a837ce191fd6fcb9b0683ab407438b4 into PR head commit 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc [2020-04-20T04:16:49.465Z] Merge succeeded, producing 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc [2020-04-20T04:16:49.465Z] Checking out Revision 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc (PR-236) [2020-04-20T04:16:48.372Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-04-20T04:16:48.401Z] > git config --add remote.origin.fetch +refs/pull/236/head:refs/remotes/origin/PR-236 # timeout=10 [2020-04-20T04:16:48.536Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T04:16:48.634Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-04-20T04:16:48.710Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-20T04:16:48.710Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T04:16:48.753Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T04:16:49.194Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T04:16:49.251Z] > git checkout -f 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc # timeout=10 [2020-04-20T04:16:49.343Z] > git remote # timeout=10 [2020-04-20T04:16:49.354Z] > git config --get remote.origin.url # timeout=10 [2020-04-20T04:16:49.384Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T04:16:49.389Z] > git merge 38d0cc147a837ce191fd6fcb9b0683ab407438b4 # timeout=10 [2020-04-20T04:16:49.402Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-20T04:16:49.469Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T04:16:49.478Z] > git checkout -f 1d8cbe43980ea1dec26be50ee1d08e1a68b4eefc # timeout=10 [2020-04-20T04:16:54.646Z] Commit message: "Create core data DTOs and models for V2 API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-20T04:16:55.977Z] ========================================================= [2020-04-20T04:16:55.977Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-20T04:16:55.977Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-20T04:16:57.400Z] + 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-04-20T04:16:57.987Z] Sending build context to Docker daemon 1.775MB [2020-04-20T04:16:57.987Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-04-20T04:16:57.987Z] Step 2/7 : FROM ${BASE} [2020-04-20T04:16:57.987Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-20T04:16:57.987Z] e6b0cf9c0882: Pulling fs layer [2020-04-20T04:16:57.987Z] 2848faf0eed1: Pulling fs layer [2020-04-20T04:16:57.987Z] 0f37312ad70f: Pulling fs layer [2020-04-20T04:16:57.987Z] 5788d62ee057: Pulling fs layer [2020-04-20T04:16:57.987Z] 0e6b1d234666: Pulling fs layer [2020-04-20T04:16:57.987Z] bf5d7aec512f: Pulling fs layer [2020-04-20T04:16:57.987Z] 34c802a77dc8: Pulling fs layer [2020-04-20T04:16:57.987Z] 9eb99e56ec68: Pulling fs layer [2020-04-20T04:16:57.987Z] 27c7a5d97fbd: Pulling fs layer [2020-04-20T04:16:57.987Z] 5c102a31e300: Pulling fs layer [2020-04-20T04:16:57.987Z] dcfb455df0a1: Pulling fs layer [2020-04-20T04:16:57.987Z] 34c802a77dc8: Waiting [2020-04-20T04:16:57.987Z] 9eb99e56ec68: Waiting [2020-04-20T04:16:58.323Z] dcfb455df0a1: Waiting [2020-04-20T04:16:58.323Z] bf5d7aec512f: Waiting [2020-04-20T04:16:58.323Z] 5788d62ee057: Waiting [2020-04-20T04:16:58.323Z] 5c102a31e300: Waiting [2020-04-20T04:16:58.323Z] 0e6b1d234666: Waiting [2020-04-20T04:16:58.323Z] 0f37312ad70f: Verifying Checksum [2020-04-20T04:16:58.323Z] 0f37312ad70f: Download complete [2020-04-20T04:16:58.323Z] 2848faf0eed1: Verifying Checksum [2020-04-20T04:16:58.323Z] 2848faf0eed1: Download complete [2020-04-20T04:16:58.323Z] 0e6b1d234666: Download complete [2020-04-20T04:16:58.323Z] bf5d7aec512f: Verifying Checksum [2020-04-20T04:16:58.323Z] bf5d7aec512f: Download complete [2020-04-20T04:16:58.323Z] e6b0cf9c0882: Verifying Checksum [2020-04-20T04:16:58.323Z] e6b0cf9c0882: Download complete [2020-04-20T04:16:59.176Z] e6b0cf9c0882: Pull complete [2020-04-20T04:16:59.176Z] 2848faf0eed1: Pull complete [2020-04-20T04:16:59.527Z] 0f37312ad70f: Pull complete [2020-04-20T04:17:02.591Z] 34c802a77dc8: Verifying Checksum [2020-04-20T04:17:02.591Z] 34c802a77dc8: Download complete [2020-04-20T04:17:02.591Z] 27c7a5d97fbd: Verifying Checksum [2020-04-20T04:17:02.591Z] 27c7a5d97fbd: Download complete [2020-04-20T04:17:05.959Z] 9eb99e56ec68: Verifying Checksum [2020-04-20T04:17:05.959Z] 9eb99e56ec68: Download complete [2020-04-20T04:17:05.959Z] 5c102a31e300: Verifying Checksum [2020-04-20T04:17:05.959Z] 5c102a31e300: Download complete [2020-04-20T04:17:05.959Z] dcfb455df0a1: Verifying Checksum [2020-04-20T04:17:05.959Z] dcfb455df0a1: Download complete [2020-04-20T04:17:05.959Z] 5788d62ee057: Verifying Checksum [2020-04-20T04:17:05.959Z] 5788d62ee057: Download complete [2020-04-20T04:17:06.619Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-04-20T04:17:09.211Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.036s coverage: 85.7% of statements [2020-04-20T04:17:09.211Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.063s coverage: 100.0% of statements [2020-04-20T04:17:11.183Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.083s coverage: 45.4% of statements [2020-04-20T04:17:11.183Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.025s coverage: 77.8% of statements [2020-04-20T04:17:11.183Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-04-20T04:17:13.140Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.069s coverage: 6.4% of statements [2020-04-20T04:17:13.735Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.057s coverage: 14.4% of statements [2020-04-20T04:17:14.247Z] 5788d62ee057: Pull complete [2020-04-20T04:17:14.247Z] 0e6b1d234666: Pull complete [2020-04-20T04:17:14.247Z] bf5d7aec512f: Pull complete [2020-04-20T04:17:14.329Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.051s coverage: 100.0% of statements [2020-04-20T04:17:14.925Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.088s coverage: 100.0% of statements [2020-04-20T04:17:14.925Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-04-20T04:17:14.925Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-04-20T04:17:14.925Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.029s coverage: 100.0% of statements [2020-04-20T04:17:14.925Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/retry 1.528s coverage: 100.0% of statements [2020-04-20T04:17:16.900Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.101s coverage: 62.5% of statements [2020-04-20T04:17:17.172Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.059s coverage: 26.3% of statements [2020-04-20T04:17:17.442Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.015s coverage: 15.4% of statements [2020-04-20T04:17:17.713Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.014s coverage: 15.4% of statements [2020-04-20T04:17:19.140Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.014s coverage: 14.3% of statements [2020-04-20T04:17:19.140Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common/base [no test files] [2020-04-20T04:17:19.140Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/coredata [no test files] [2020-04-20T04:17:19.140Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models/coredata [no test files] [2020-04-20T04:17:19.408Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-20T04:17:20.876Z] 34c802a77dc8: Pull complete [2020-04-20T04:17:22.004Z] gofmt -l . [2020-04-20T04:17:22.005Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-04-20T04:17:23.056Z] Stashed 1 file(s) [Pipeline] } [2020-04-20T04:17:23.069Z] $ docker stop --time=1 0ed6e64469429e0b6c6c654fb6a9a205bcf45a2f12b7937c8a022063b722efdb [2020-04-20T04:17:25.191Z] $ docker rm -f 0ed6e64469429e0b6c6c654fb6a9a205bcf45a2f12b7937c8a022063b722efdb [2020-04-20T04:17:25.393Z] 9eb99e56ec68: Pull complete [2020-04-20T04:17:25.393Z] 27c7a5d97fbd: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [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 [2020-04-20T04:17:26.447Z] 5c102a31e300: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [2020-04-20T04:17:26.733Z] dcfb455df0a1: Pull complete [2020-04-20T04:17:26.733Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-20T04:17:26.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-20T04:17:26.733Z] ---> 7c70fe431013 [2020-04-20T04:17:26.733Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-20T04:17:27.034Z] ---> Running in 11b0db0daf3a [2020-04-20T04:17:27.313Z] Removing intermediate container 11b0db0daf3a [2020-04-20T04:17:27.313Z] ---> 5d1c8e7ea081 [2020-04-20T04:17:27.313Z] Step 4/7 : RUN apk add bash [2020-04-20T04:17:27.313Z] ---> Running in ca1acb58819c [2020-04-20T04:17:28.765Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-20T04:17:29.768Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-20T04:17:30.860Z] OK: 143 MiB in 39 packages [2020-04-20T04:17:31.444Z] Removing intermediate container ca1acb58819c [2020-04-20T04:17:31.444Z] ---> 15eab5ffd554 [2020-04-20T04:17:31.444Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-04-20T04:17:31.444Z] ---> Running in 3b3ec1912c69 [2020-04-20T04:17:31.709Z] Removing intermediate container 3b3ec1912c69 [2020-04-20T04:17:31.709Z] ---> 729fe8dd37e8 [2020-04-20T04:17:31.709Z] Step 6/7 : COPY go.mod . [2020-04-20T04:17:31.982Z] ---> f3c6a3e3e41a [2020-04-20T04:17:31.982Z] Step 7/7 : RUN go mod download [2020-04-20T04:17:31.982Z] ---> Running in d04d4b4b6038 [2020-04-20T04:17:33.949Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-04-20T04:17:33.949Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-20T04:17:33.949Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-20T04:17:33.949Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-20T04:17:33.949Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-20T04:17:33.949Z] go: finding github.com/google/uuid v1.1.0 [2020-04-20T04:17:33.949Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-20T04:17:33.949Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-20T04:17:33.949Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-20T04:17:33.949Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-20T04:17:33.949Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-20T04:17:34.943Z] Removing intermediate container d04d4b4b6038 [2020-04-20T04:17:34.943Z] ---> ddcf34e60397 [2020-04-20T04:17:35.222Z] Successfully built ddcf34e60397 [2020-04-20T04:17:35.222Z] 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-04-20T04:17:36.069Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-20T04:17:36.069Z] . [Pipeline] withDockerContainer [2020-04-20T04:17:36.457Z] prd-centos7-docker-4c-2g-4869 does not seem to be running inside a container [2020-04-20T04:17:36.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@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 ******** ci-base-image-x86_64 cat [2020-04-20T04:17:37.879Z] $ docker top 32f930d2a9ec0b200027d42c2795492e3abfd43dde8005e2c06b590e8386970f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-20T04:17:38.829Z] + go version [2020-04-20T04:17:38.829Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-20T04:17:39.687Z] + make test [2020-04-20T04:17:39.687Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-04-20T04:17:49.991Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-04-20T04:17:51.001Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.055s coverage: 85.7% of statements [2020-04-20T04:17:51.001Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.034s coverage: 100.0% of statements [2020-04-20T04:17:52.508Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.026s coverage: 45.4% of statements [2020-04-20T04:17:52.508Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.104s coverage: 77.8% of statements [2020-04-20T04:17:52.508Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-04-20T04:17:52.826Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.045s coverage: 6.4% of statements [2020-04-20T04:17:54.306Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.047s coverage: 14.4% of statements [2020-04-20T04:17:54.306Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.017s coverage: 100.0% of statements [2020-04-20T04:17:54.628Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.041s coverage: 100.0% of statements [2020-04-20T04:17:54.628Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-04-20T04:17:54.628Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-04-20T04:17:54.628Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.053s coverage: 100.0% of statements [2020-04-20T04:17:54.628Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/retry 1.042s coverage: 100.0% of statements [2020-04-20T04:17:58.413Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.076s coverage: 62.5% of statements [2020-04-20T04:17:58.413Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.027s coverage: 26.3% of statements [2020-04-20T04:17:58.413Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.016s coverage: 15.4% of statements [2020-04-20T04:17:58.413Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.013s coverage: 15.4% of statements [2020-04-20T04:17:58.413Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.009s coverage: 14.3% of statements [2020-04-20T04:17:58.413Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common/base [no test files] [2020-04-20T04:17:58.413Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/coredata [no test files] [2020-04-20T04:17:58.413Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models/coredata [no test files] [2020-04-20T04:17:58.413Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-20T04:18:00.440Z] gofmt -l . [2020-04-20T04:18:00.440Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-04-20T04:18:00.451Z] Warning: overwriting stash ‘coverage-report’ [2020-04-20T04:18:01.718Z] Stashed 1 file(s) [Pipeline] } [2020-04-20T04:18:01.737Z] $ docker stop --time=1 32f930d2a9ec0b200027d42c2795492e3abfd43dde8005e2c06b590e8386970f [2020-04-20T04:18:03.746Z] $ docker rm -f 32f930d2a9ec0b200027d42c2795492e3abfd43dde8005e2c06b590e8386970f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [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-04-20T04:18:05.410Z] provisioning config files... [2020-04-20T04:18:05.424Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-236@tmp/config6628917570466537484tmp [Pipeline] { [Pipeline] sh [2020-04-20T04:18:05.794Z] + curl -s https://codecov.io/bash [2020-04-20T04:18:05.794Z] + bash -s - -t @/w/workspace/dry_go-mod-core-contracts_PR-236@tmp/config6628917570466537484tmp [Pipeline] } [2020-04-20T04:20:27.513Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-04-20T04:20:28.923Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-20T04:20:29.734Z] ---> package-listing.sh [2020-04-20T04:20:29.734Z] ++ facter osfamily [2020-04-20T04:20:29.734Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-20T04:20:29.734Z] + OS_FAMILY=redhat [2020-04-20T04:20:29.734Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-236 [2020-04-20T04:20:29.734Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-20T04:20:29.734Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-20T04:20:29.734Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-20T04:20:29.734Z] + PACKAGES=/tmp/packages_start.txt [2020-04-20T04:20:29.734Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-236 ']' [2020-04-20T04:20:29.734Z] + PACKAGES=/tmp/packages_end.txt [2020-04-20T04:20:29.734Z] + case "${OS_FAMILY}" in [2020-04-20T04:20:29.734Z] + rpm -qa [2020-04-20T04:20:29.734Z] + sort [2020-04-20T04:20:36.544Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-20T04:20:36.544Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-20T04:20:36.544Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-20T04:20:36.544Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-236 ']' [2020-04-20T04:20:36.544Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-236/archives/ [2020-04-20T04:20:36.544Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-236/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-20T04:20:37.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-20T04:20:37.154Z] [2020-04-20T04:20:37.154Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-20T04:20:37.511Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-20T04:20:37.511Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-20T04:20:37.511Z] c9b1b535fdd9: Pulling fs layer [2020-04-20T04:20:37.511Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-20T04:20:37.511Z] 756a868c4378: Pulling fs layer [2020-04-20T04:20:37.511Z] 444b2fc9a129: Pulling fs layer [2020-04-20T04:20:37.511Z] ea15f1150254: Pulling fs layer [2020-04-20T04:20:37.511Z] 41b27a9f41bf: Pulling fs layer [2020-04-20T04:20:37.511Z] 28c525ee5125: Pulling fs layer [2020-04-20T04:20:37.511Z] 094b1ea09ed8: Pulling fs layer [2020-04-20T04:20:37.511Z] 138eaada9080: Pulling fs layer [2020-04-20T04:20:37.511Z] 0622d0fa9048: Pulling fs layer [2020-04-20T04:20:37.511Z] 444b2fc9a129: Waiting [2020-04-20T04:20:37.511Z] ea15f1150254: Waiting [2020-04-20T04:20:37.511Z] 41b27a9f41bf: Waiting [2020-04-20T04:20:37.511Z] 28c525ee5125: Waiting [2020-04-20T04:20:37.511Z] 094b1ea09ed8: Waiting [2020-04-20T04:20:37.511Z] 138eaada9080: Waiting [2020-04-20T04:20:37.511Z] 0622d0fa9048: Waiting [2020-04-20T04:20:37.511Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-20T04:20:37.511Z] 2cc5ad85d9ab: Download complete [2020-04-20T04:20:37.846Z] 444b2fc9a129: Verifying Checksum [2020-04-20T04:20:37.846Z] 444b2fc9a129: Download complete [2020-04-20T04:20:37.846Z] c9b1b535fdd9: Verifying Checksum [2020-04-20T04:20:37.846Z] c9b1b535fdd9: Download complete [2020-04-20T04:20:38.142Z] ea15f1150254: Verifying Checksum [2020-04-20T04:20:38.142Z] ea15f1150254: Download complete [2020-04-20T04:20:38.142Z] 28c525ee5125: Verifying Checksum [2020-04-20T04:20:38.142Z] 28c525ee5125: Download complete [2020-04-20T04:20:38.873Z] 756a868c4378: Download complete [2020-04-20T04:20:38.873Z] 138eaada9080: Verifying Checksum [2020-04-20T04:20:38.873Z] 138eaada9080: Download complete [2020-04-20T04:20:38.873Z] c9b1b535fdd9: Pull complete [2020-04-20T04:20:38.873Z] 0622d0fa9048: Verifying Checksum [2020-04-20T04:20:38.873Z] 0622d0fa9048: Download complete [2020-04-20T04:20:39.144Z] 094b1ea09ed8: Verifying Checksum [2020-04-20T04:20:39.144Z] 094b1ea09ed8: Download complete [2020-04-20T04:20:39.459Z] 2cc5ad85d9ab: Pull complete [2020-04-20T04:20:40.516Z] 41b27a9f41bf: Verifying Checksum [2020-04-20T04:20:40.516Z] 41b27a9f41bf: Download complete [2020-04-20T04:20:43.902Z] 756a868c4378: Pull complete [2020-04-20T04:20:43.902Z] 444b2fc9a129: Pull complete [2020-04-20T04:20:44.166Z] ea15f1150254: Pull complete [2020-04-20T04:20:48.468Z] 41b27a9f41bf: Pull complete [2020-04-20T04:20:48.468Z] 28c525ee5125: Pull complete [2020-04-20T04:20:51.218Z] 094b1ea09ed8: Pull complete [2020-04-20T04:20:51.218Z] 138eaada9080: Pull complete [2020-04-20T04:20:51.218Z] 0622d0fa9048: Pull complete [2020-04-20T04:20:51.524Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-20T04:20:51.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-20T04:20:51.873Z] prd-centos7-docker-4c-2g-4867 does not seem to be running inside a container [2020-04-20T04:20:51.938Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dry_go-mod-core-contracts_PR-236 -v /w/workspace/dry_go-mod-core-contracts_PR-236:/w/workspace/dry_go-mod-core-contracts_PR-236:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-236@tmp:/w/workspace/dry_go-mod-core-contracts_PR-236@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-20T04:20:53.230Z] $ docker top 5536d761348f8030b40fc24b97c127fe0864d463ae5be09deb18e203646f7c10 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-20T04:20:53.827Z] provisioning config files... [2020-04-20T04:20:53.844Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-236@tmp/config4137594353960859352tmp [Pipeline] { [Pipeline] echo [2020-04-20T04:20:53.912Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-20T04:20:54.311Z] ---> create-netrc.sh [Pipeline] echo [2020-04-20T04:20:54.582Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-20T04:20:54.916Z] ---> logs-deploy.sh [2020-04-20T04:20:54.916Z] + ARCHIVE_ARTIFACTS= [2020-04-20T04:20:54.916Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-20T04:20:54.916Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-20T04:20:54.916Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-20T04:20:54.916Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-236/5 [2020-04-20T04:20:54.916Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-236/5/ [2020-04-20T04:20:54.916Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-236/5 /w/workspace/dry_go-mod-core-contracts_PR-236 [2020-04-20T04:20:56.838Z] Archives upload complete. [2020-04-20T04:20:56.838Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-236/5 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-236/5/