Pull request #238 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 jdharms for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from 627903ac4af721a42f194c3294ffbe24d3a649e5+9132f554263fd61cb848f5b965b4d1aa9442ed97 (bde4a09ce03558ed49756b601ff24a0588823430) 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > 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/ [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3326 in /w/workspace/dry_go-mod-core-contracts_PR-238 [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-238 # 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/238/head:refs/remotes/origin/PR-238 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 9132f554263fd61cb848f5b965b4d1aa9442ed97 into PR head commit 627903ac4af721a42f194c3294ffbe24d3a649e5 Merge succeeded, producing 627903ac4af721a42f194c3294ffbe24d3a649e5 Checking out Revision 627903ac4af721a42f194c3294ffbe24d3a649e5 (PR-238) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/238/head:refs/remotes/origin/PR-238 # 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/238/head:refs/remotes/origin/PR-238 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 627903ac4af721a42f194c3294ffbe24d3a649e5 # 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 9132f554263fd61cb848f5b965b4d1aa9442ed97 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 627903ac4af721a42f194c3294ffbe24d3a649e5 # timeout=10 Commit message: "Restore clients/general directory" First time build. Skipping changelog. > git rev-list --no-walk cd4907f7b84d68d168b6a919ee16e87c5054e267 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-10T19:29:21.279Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-10T19:29:23.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T19:29:23.439Z] [2020-04-10T19:29:23.439Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-10T19:29:23.790Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T19:29:23.791Z] latest: Pulling from edgex-devops/git-semver [2020-04-10T19:29:23.791Z] 9123ac7c32f7: Pulling fs layer [2020-04-10T19:29:23.791Z] b8cc5d1170e3: Pulling fs layer [2020-04-10T19:29:23.791Z] 2924cbbf6a41: Pulling fs layer [2020-04-10T19:29:23.791Z] 93b08a4f1073: Pulling fs layer [2020-04-10T19:29:23.791Z] 93b08a4f1073: Waiting [2020-04-10T19:29:23.791Z] b8cc5d1170e3: Verifying Checksum [2020-04-10T19:29:23.791Z] b8cc5d1170e3: Download complete [2020-04-10T19:29:24.054Z] 9123ac7c32f7: Verifying Checksum [2020-04-10T19:29:24.054Z] 9123ac7c32f7: Download complete [2020-04-10T19:29:24.054Z] 93b08a4f1073: Verifying Checksum [2020-04-10T19:29:24.054Z] 93b08a4f1073: Download complete [2020-04-10T19:29:24.054Z] 2924cbbf6a41: Verifying Checksum [2020-04-10T19:29:24.054Z] 2924cbbf6a41: Download complete [2020-04-10T19:29:24.313Z] 9123ac7c32f7: Pull complete [2020-04-10T19:29:24.313Z] b8cc5d1170e3: Pull complete [2020-04-10T19:29:24.885Z] 2924cbbf6a41: Pull complete [2020-04-10T19:29:25.144Z] 93b08a4f1073: Pull complete [2020-04-10T19:29:25.144Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-10T19:29:25.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-10T19:29:25.266Z] prd-centos7-docker-4c-2g-3326 does not seem to be running inside a container [2020-04-10T19:29:25.132Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-238 -v /w/workspace/dry_go-mod-core-contracts_PR-238:/w/workspace/dry_go-mod-core-contracts_PR-238:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-238@tmp:/w/workspace/dry_go-mod-core-contracts_PR-238@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-10T19:29:25.821Z] $ docker top ddc93dd37aff5b4750558114e39d3e1f87acc5284314312cd3a1b2e8e5dc1f64 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-10T19:29:26.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T19:29:26.178Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T19:29:26.359Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T19:29:26.275Z] $ docker exec ddc93dd37aff5b4750558114e39d3e1f87acc5284314312cd3a1b2e8e5dc1f64 ssh-agent [2020-04-10T19:29:26.539Z] SSH_AUTH_SOCK=/tmp/ssh-1aHGjJf53bLo/agent.14 [2020-04-10T19:29:26.539Z] SSH_AGENT_PID=21 [2020-04-10T19:29:26.550Z] Running ssh-add (command line suppressed) [2020-04-10T19:29:26.623Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-238@tmp/private_key_8323188073099267913.key (/w/workspace/dry_go-mod-core-contracts_PR-238@tmp/private_key_8323188073099267913.key) [2020-04-10T19:29:26.728Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T19:29:27.040Z] + git describe --exact-match --tags HEAD [2020-04-10T19:29:27.040Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-10T19:29:27.063Z] $ docker exec --env ******** --env ******** ddc93dd37aff5b4750558114e39d3e1f87acc5284314312cd3a1b2e8e5dc1f64 ssh-agent -k [2020-04-10T19:29:27.210Z] unset SSH_AUTH_SOCK; [2020-04-10T19:29:27.210Z] unset SSH_AGENT_PID; [2020-04-10T19:29:27.210Z] echo Agent pid 21 killed; [2020-04-10T19:29:27.268Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-10T19:29:27.329Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-10T19:29:27.329Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-10T19:29:27.399Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T19:29:27.399Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T19:29:27.573Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T19:29:27.576Z] $ docker exec ddc93dd37aff5b4750558114e39d3e1f87acc5284314312cd3a1b2e8e5dc1f64 ssh-agent [2020-04-10T19:29:27.749Z] SSH_AUTH_SOCK=/tmp/ssh-PYvbRUWTilkY/agent.57 [2020-04-10T19:29:27.749Z] SSH_AGENT_PID=63 [2020-04-10T19:29:27.755Z] Running ssh-add (command line suppressed) [2020-04-10T19:29:27.889Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-238@tmp/private_key_5949685875652279404.key (/w/workspace/dry_go-mod-core-contracts_PR-238@tmp/private_key_5949685875652279404.key) [2020-04-10T19:29:27.937Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T19:29:28.297Z] + git semver init [2020-04-10T19:29:28.297Z] # -> Open(): unable to determine branch for HEAD [2020-04-10T19:29:28.297Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-238/.git [2020-04-10T19:29:28.297Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-238 [2020-04-10T19:29:28.297Z] # $SEMVER_REMOTE_NAME = origin [2020-04-10T19:29:28.297Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-10T19:29:28.297Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-10T19:29:28.297Z] # $SEMVER_BRANCH = PR-238 [2020-04-10T19:29:28.297Z] # $SEMVER_TEMP = /tmp/semver-216545912 [2020-04-10T19:29:28.297Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-04-10T19:29:28.864Z] # '/tmp/semver-216545912' -> '/w/workspace/dry_go-mod-core-contracts_PR-238/.semver' [2020-04-10T19:29:28.864Z] # -> Force: false [2020-04-10T19:29:28.864Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-238/.semver [Pipeline] } [2020-04-10T19:29:28.872Z] $ docker exec --env ******** --env ******** ddc93dd37aff5b4750558114e39d3e1f87acc5284314312cd3a1b2e8e5dc1f64 ssh-agent -k [2020-04-10T19:29:28.998Z] unset SSH_AUTH_SOCK; [2020-04-10T19:29:28.999Z] unset SSH_AGENT_PID; [2020-04-10T19:29:28.999Z] echo Agent pid 63 killed; [2020-04-10T19:29:29.042Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-10T19:29:29.462Z] + git semver [Pipeline] } [2020-04-10T19:29:29.474Z] $ docker stop --time=1 ddc93dd37aff5b4750558114e39d3e1f87acc5284314312cd3a1b2e8e5dc1f64 [2020-04-10T19:29:30.786Z] $ docker rm -f ddc93dd37aff5b4750558114e39d3e1f87acc5284314312cd3a1b2e8e5dc1f64 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-10T19:29:31.443Z] Stashed 72 file(s) [Pipeline] echo [2020-04-10T19:29:31.445Z] [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-10T19:29:46.711Z] Still waiting to schedule task [2020-04-10T19:29:46.712Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3326’ [2020-04-10T19:29:46.713Z] Still waiting to schedule task [2020-04-10T19:29:46.713Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2736’ is offline [2020-04-10T19:31:35.832Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3327 in /w/workspace/dry_go-mod-core-contracts_PR-238 [Pipeline] { [Pipeline] ws [2020-04-10T19:31:35.867Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2020-04-10T19:31:41.505Z] using credential edgex-jenkins-ssh [2020-04-10T19:31:41.587Z] Cloning the remote Git repository [2020-04-10T19:31:41.587Z] Cloning with configured refspecs honoured and without tags [2020-04-10T19:31:41.713Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-10T19:31:41.809Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2020-04-10T19:31:41.895Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-10T19:31:41.897Z] > git --version # timeout=10 [2020-04-10T19:31:41.943Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T19:31:42.007Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/238/head:refs/remotes/origin/PR-238 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T19:31:42.862Z] Fetching without tags [2020-04-10T19:31:43.360Z] Merging remotes/origin/master commit 9132f554263fd61cb848f5b965b4d1aa9442ed97 into PR head commit 627903ac4af721a42f194c3294ffbe24d3a649e5 [2020-04-10T19:31:42.785Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-04-10T19:31:42.808Z] > git config --add remote.origin.fetch +refs/pull/238/head:refs/remotes/origin/PR-238 # timeout=10 [2020-04-10T19:31:42.839Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T19:31:42.875Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-04-10T19:31:42.916Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-10T19:31:42.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T19:31:42.930Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/238/head:refs/remotes/origin/PR-238 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T19:31:43.423Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T19:31:43.457Z] > git checkout -f 627903ac4af721a42f194c3294ffbe24d3a649e5 # timeout=10 [2020-04-10T19:31:43.620Z] > git remote # timeout=10 [2020-04-10T19:31:43.672Z] > git config --get remote.origin.url # timeout=10 [2020-04-10T19:31:43.780Z] Merge succeeded, producing 627903ac4af721a42f194c3294ffbe24d3a649e5 [2020-04-10T19:31:43.781Z] Checking out Revision 627903ac4af721a42f194c3294ffbe24d3a649e5 (PR-238) [2020-04-10T19:31:43.703Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T19:31:43.731Z] > git merge 9132f554263fd61cb848f5b965b4d1aa9442ed97 # timeout=10 [2020-04-10T19:31:43.768Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-10T19:31:43.823Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T19:31:43.861Z] > git checkout -f 627903ac4af721a42f194c3294ffbe24d3a649e5 # timeout=10 [2020-04-10T19:31:48.311Z] Commit message: "Restore clients/general directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-10T19:31:49.561Z] ========================================================= [2020-04-10T19:31:49.561Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-10T19:31:49.562Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-10T19:31:50.708Z] + 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-10T19:31:51.680Z] Sending build context to Docker daemon 1.75MB [2020-04-10T19:31:51.681Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-04-10T19:31:51.681Z] Step 2/7 : FROM ${BASE} [2020-04-10T19:31:51.953Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-10T19:31:51.953Z] cde5963f3b93: Pulling fs layer [2020-04-10T19:31:51.953Z] 2a23fa8c16f7: Pulling fs layer [2020-04-10T19:31:51.953Z] 777b28850792: Pulling fs layer [2020-04-10T19:31:51.953Z] 8a11ddd9e578: Pulling fs layer [2020-04-10T19:31:51.953Z] 4cf88f913ddb: Pulling fs layer [2020-04-10T19:31:51.953Z] 1df406cf5192: Pulling fs layer [2020-04-10T19:31:51.953Z] cd6300453558: Pulling fs layer [2020-04-10T19:31:51.953Z] b9c365052c96: Pulling fs layer [2020-04-10T19:31:51.953Z] a2d8cc88f415: Pulling fs layer [2020-04-10T19:31:51.953Z] ea1d1ca13537: Pulling fs layer [2020-04-10T19:31:51.953Z] 3750a50a1c5e: Pulling fs layer [2020-04-10T19:31:51.953Z] 8a11ddd9e578: Waiting [2020-04-10T19:31:51.953Z] 4cf88f913ddb: Waiting [2020-04-10T19:31:51.953Z] 1df406cf5192: Waiting [2020-04-10T19:31:51.953Z] ea1d1ca13537: Waiting [2020-04-10T19:31:51.953Z] cd6300453558: Waiting [2020-04-10T19:31:51.953Z] 3750a50a1c5e: Waiting [2020-04-10T19:31:51.953Z] b9c365052c96: Waiting [2020-04-10T19:31:51.953Z] a2d8cc88f415: Waiting [2020-04-10T19:31:51.953Z] 777b28850792: Download complete [2020-04-10T19:31:51.953Z] 2a23fa8c16f7: Download complete [2020-04-10T19:31:51.953Z] 4cf88f913ddb: Verifying Checksum [2020-04-10T19:31:51.953Z] 4cf88f913ddb: Download complete [2020-04-10T19:31:51.953Z] 1df406cf5192: Verifying Checksum [2020-04-10T19:31:51.953Z] 1df406cf5192: Download complete [2020-04-10T19:31:52.222Z] cde5963f3b93: Download complete [2020-04-10T19:31:53.212Z] cde5963f3b93: Pull complete [2020-04-10T19:31:53.481Z] 2a23fa8c16f7: Pull complete [2020-04-10T19:31:54.071Z] 777b28850792: Pull complete [2020-04-10T19:31:56.040Z] cd6300453558: Verifying Checksum [2020-04-10T19:31:56.040Z] cd6300453558: Download complete [2020-04-10T19:31:56.040Z] a2d8cc88f415: Verifying Checksum [2020-04-10T19:31:56.040Z] a2d8cc88f415: Download complete [2020-04-10T19:31:58.643Z] ea1d1ca13537: Verifying Checksum [2020-04-10T19:31:58.643Z] ea1d1ca13537: Download complete [2020-04-10T19:31:58.643Z] 3750a50a1c5e: Verifying Checksum [2020-04-10T19:31:58.643Z] 3750a50a1c5e: Download complete [2020-04-10T19:32:01.259Z] b9c365052c96: Verifying Checksum [2020-04-10T19:32:01.259Z] b9c365052c96: Download complete [2020-04-10T19:32:03.211Z] 8a11ddd9e578: Download complete [2020-04-10T19:32:13.331Z] 8a11ddd9e578: Pull complete [2020-04-10T19:32:13.601Z] 4cf88f913ddb: Pull complete [2020-04-10T19:32:13.870Z] 1df406cf5192: Pull complete [2020-04-10T19:32:13.969Z] Running on prd-centos7-docker-4c-2g-3329 in /w/workspace/dry_go-mod-core-contracts_PR-238 [Pipeline] { [Pipeline] ws [2020-04-10T19:32:14.007Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2020-04-10T19:32:16.798Z] using credential edgex-jenkins-ssh [2020-04-10T19:32:16.843Z] Cloning the remote Git repository [2020-04-10T19:32:16.843Z] Cloning with configured refspecs honoured and without tags [2020-04-10T19:32:17.739Z] Fetching without tags [2020-04-10T19:32:16.883Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-10T19:32:16.934Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2020-04-10T19:32:16.990Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-10T19:32:16.990Z] > git --version # timeout=10 [2020-04-10T19:32:17.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T19:32:17.081Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/238/head:refs/remotes/origin/PR-238 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T19:32:17.698Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-04-10T19:32:17.707Z] > git config --add remote.origin.fetch +refs/pull/238/head:refs/remotes/origin/PR-238 # timeout=10 [2020-04-10T19:32:17.714Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T19:32:17.732Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-04-10T19:32:17.745Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-10T19:32:17.745Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T19:32:17.751Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/238/head:refs/remotes/origin/PR-238 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T19:32:18.147Z] Merging remotes/origin/master commit 9132f554263fd61cb848f5b965b4d1aa9442ed97 into PR head commit 627903ac4af721a42f194c3294ffbe24d3a649e5 [2020-04-10T19:32:18.156Z] cd6300453558: Pull complete [2020-04-10T19:32:18.245Z] Merge succeeded, producing 627903ac4af721a42f194c3294ffbe24d3a649e5 [2020-04-10T19:32:18.245Z] Checking out Revision 627903ac4af721a42f194c3294ffbe24d3a649e5 (PR-238) [2020-04-10T19:32:18.155Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T19:32:18.161Z] > git checkout -f 627903ac4af721a42f194c3294ffbe24d3a649e5 # timeout=10 [2020-04-10T19:32:18.213Z] > git remote # timeout=10 [2020-04-10T19:32:18.219Z] > git config --get remote.origin.url # timeout=10 [2020-04-10T19:32:18.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T19:32:18.229Z] > git merge 9132f554263fd61cb848f5b965b4d1aa9442ed97 # timeout=10 [2020-04-10T19:32:18.239Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-10T19:32:18.248Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T19:32:18.253Z] > git checkout -f 627903ac4af721a42f194c3294ffbe24d3a649e5 # timeout=10 [2020-04-10T19:32:22.364Z] Commit message: "Restore clients/general directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-10T19:32:23.087Z] ========================================================= [2020-04-10T19:32:23.087Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-10T19:32:23.087Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-10T19:32:23.526Z] b9c365052c96: Pull complete [2020-04-10T19:32:23.527Z] a2d8cc88f415: Pull complete [2020-04-10T19:32:23.739Z] + 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-10T19:32:24.006Z] Sending build context to Docker daemon 1.75MB [2020-04-10T19:32:24.006Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-04-10T19:32:24.006Z] Step 2/7 : FROM ${BASE} [2020-04-10T19:32:24.272Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-10T19:32:24.272Z] e6b0cf9c0882: Pulling fs layer [2020-04-10T19:32:24.272Z] 2848faf0eed1: Pulling fs layer [2020-04-10T19:32:24.272Z] 0f37312ad70f: Pulling fs layer [2020-04-10T19:32:24.272Z] 5788d62ee057: Pulling fs layer [2020-04-10T19:32:24.272Z] 0e6b1d234666: Pulling fs layer [2020-04-10T19:32:24.272Z] bf5d7aec512f: Pulling fs layer [2020-04-10T19:32:24.272Z] 34c802a77dc8: Pulling fs layer [2020-04-10T19:32:24.272Z] 9eb99e56ec68: Pulling fs layer [2020-04-10T19:32:24.272Z] 27c7a5d97fbd: Pulling fs layer [2020-04-10T19:32:24.272Z] 5c102a31e300: Pulling fs layer [2020-04-10T19:32:24.272Z] dcfb455df0a1: Pulling fs layer [2020-04-10T19:32:24.272Z] 34c802a77dc8: Waiting [2020-04-10T19:32:24.272Z] 9eb99e56ec68: Waiting [2020-04-10T19:32:24.272Z] 27c7a5d97fbd: Waiting [2020-04-10T19:32:24.272Z] 5c102a31e300: Waiting [2020-04-10T19:32:24.272Z] dcfb455df0a1: Waiting [2020-04-10T19:32:24.272Z] 5788d62ee057: Waiting [2020-04-10T19:32:24.272Z] bf5d7aec512f: Waiting [2020-04-10T19:32:24.272Z] 0f37312ad70f: Verifying Checksum [2020-04-10T19:32:24.272Z] 0f37312ad70f: Download complete [2020-04-10T19:32:24.272Z] 2848faf0eed1: Verifying Checksum [2020-04-10T19:32:24.272Z] 2848faf0eed1: Download complete [2020-04-10T19:32:24.273Z] 0e6b1d234666: Download complete [2020-04-10T19:32:24.273Z] bf5d7aec512f: Download complete [2020-04-10T19:32:24.273Z] e6b0cf9c0882: Verifying Checksum [2020-04-10T19:32:24.273Z] e6b0cf9c0882: Download complete [2020-04-10T19:32:24.858Z] e6b0cf9c0882: Pull complete [2020-04-10T19:32:24.858Z] 34c802a77dc8: Verifying Checksum [2020-04-10T19:32:24.858Z] 34c802a77dc8: Download complete [2020-04-10T19:32:24.858Z] 27c7a5d97fbd: Verifying Checksum [2020-04-10T19:32:24.858Z] 27c7a5d97fbd: Download complete [2020-04-10T19:32:24.946Z] ea1d1ca13537: Pull complete [2020-04-10T19:32:25.214Z] 3750a50a1c5e: Pull complete [2020-04-10T19:32:25.214Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-10T19:32:25.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-10T19:32:25.214Z] ---> 78745c68409d [2020-04-10T19:32:25.214Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-10T19:32:25.447Z] 5c102a31e300: Verifying Checksum [2020-04-10T19:32:25.447Z] 5c102a31e300: Download complete [2020-04-10T19:32:25.708Z] dcfb455df0a1: Verifying Checksum [2020-04-10T19:32:25.708Z] dcfb455df0a1: Download complete [2020-04-10T19:32:25.708Z] 9eb99e56ec68: Verifying Checksum [2020-04-10T19:32:25.708Z] 9eb99e56ec68: Download complete [2020-04-10T19:32:26.280Z] 5788d62ee057: Verifying Checksum [2020-04-10T19:32:26.280Z] 5788d62ee057: Download complete [2020-04-10T19:32:26.849Z] 2848faf0eed1: Pull complete [2020-04-10T19:32:27.109Z] 0f37312ad70f: Pull complete [2020-04-10T19:32:30.581Z] ---> Running in a81e254f37cc [2020-04-10T19:32:30.581Z] Removing intermediate container a81e254f37cc [2020-04-10T19:32:30.581Z] ---> 957fe7aa5f9f [2020-04-10T19:32:30.581Z] Step 4/7 : RUN apk add bash [2020-04-10T19:32:30.581Z] ---> Running in 93d8708668e9 [2020-04-10T19:32:31.168Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-10T19:32:32.125Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-10T19:32:33.087Z] OK: 125 MiB in 39 packages [2020-04-10T19:32:33.685Z] 5788d62ee057: Pull complete [2020-04-10T19:32:33.685Z] 0e6b1d234666: Pull complete [2020-04-10T19:32:33.685Z] bf5d7aec512f: Pull complete [2020-04-10T19:32:34.052Z] Removing intermediate container 93d8708668e9 [2020-04-10T19:32:34.052Z] ---> bb8ea90717a3 [2020-04-10T19:32:34.052Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-04-10T19:32:34.319Z] ---> Running in e6e56428a929 [2020-04-10T19:32:34.591Z] Removing intermediate container e6e56428a929 [2020-04-10T19:32:34.591Z] ---> d9ac1ae854ca [2020-04-10T19:32:34.591Z] Step 6/7 : COPY go.mod . [2020-04-10T19:32:35.177Z] ---> 05146961de8b [2020-04-10T19:32:35.177Z] Step 7/7 : RUN go mod download [2020-04-10T19:32:35.447Z] ---> Running in 5063dc89a996 [2020-04-10T19:32:36.983Z] 34c802a77dc8: Pull complete [2020-04-10T19:32:38.035Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-04-10T19:32:38.035Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-10T19:32:38.035Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-10T19:32:38.035Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-10T19:32:38.035Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-10T19:32:38.035Z] go: finding github.com/google/uuid v1.1.0 [2020-04-10T19:32:38.302Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-10T19:32:38.302Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-10T19:32:38.302Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-10T19:32:38.569Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-10T19:32:38.569Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-10T19:32:40.286Z] 9eb99e56ec68: Pull complete [2020-04-10T19:32:40.286Z] 27c7a5d97fbd: Pull complete [2020-04-10T19:32:41.273Z] 5c102a31e300: Pull complete [2020-04-10T19:32:41.538Z] dcfb455df0a1: Pull complete [2020-04-10T19:32:41.538Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-10T19:32:41.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-10T19:32:41.538Z] ---> 7c70fe431013 [2020-04-10T19:32:41.538Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-10T19:32:41.538Z] ---> Running in 89b120663ed9 [2020-04-10T19:32:41.807Z] Removing intermediate container 89b120663ed9 [2020-04-10T19:32:41.807Z] ---> a80e6252ab7d [2020-04-10T19:32:41.807Z] Step 4/7 : RUN apk add bash [2020-04-10T19:32:41.807Z] ---> Running in 5bd19970c62f [2020-04-10T19:32:41.938Z] Removing intermediate container 5063dc89a996 [2020-04-10T19:32:41.938Z] ---> edf3f7f16739 [2020-04-10T19:32:41.938Z] Successfully built edf3f7f16739 [2020-04-10T19:32:41.938Z] 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-10T19:32:42.386Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-10T19:32:42.711Z] + docker inspect -f . ci-base-image-arm64 [2020-04-10T19:32:42.711Z] . [Pipeline] withDockerContainer [2020-04-10T19:32:43.323Z] prd-ubuntu18.04-docker-arm64-4c-16g-3327 does not seem to be running inside a container [2020-04-10T19:32:43.330Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-10T19:32:43.331Z] OK: 143 MiB in 39 packages [2020-04-10T19:32:43.412Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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 ******** ci-base-image-arm64 cat [2020-04-10T19:32:43.903Z] Removing intermediate container 5bd19970c62f [2020-04-10T19:32:43.903Z] ---> b3f6859780da [2020-04-10T19:32:43.903Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-04-10T19:32:43.903Z] ---> Running in 10433a12d4e3 [2020-04-10T19:32:43.903Z] Removing intermediate container 10433a12d4e3 [2020-04-10T19:32:43.903Z] ---> 42574a21033a [2020-04-10T19:32:43.903Z] Step 6/7 : COPY go.mod . [2020-04-10T19:32:44.166Z] ---> d90c5892f0f1 [2020-04-10T19:32:44.166Z] Step 7/7 : RUN go mod download [2020-04-10T19:32:44.166Z] ---> Running in 817f9d456693 [2020-04-10T19:32:44.860Z] $ docker top 35958107fb965e81c8bdc17e826d4add962334e0a28fd991c390b19fd5ba6e2b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T19:32:45.547Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-04-10T19:32:45.547Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-10T19:32:45.547Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-10T19:32:45.547Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-10T19:32:45.547Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-10T19:32:45.547Z] go: finding github.com/google/uuid v1.1.0 [2020-04-10T19:32:45.547Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-10T19:32:45.547Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-10T19:32:45.547Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-10T19:32:45.547Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-10T19:32:45.547Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-10T19:32:45.925Z] + go version [2020-04-10T19:32:45.925Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-10T19:32:46.489Z] Removing intermediate container 817f9d456693 [2020-04-10T19:32:46.489Z] ---> 3bdc1f0de521 [2020-04-10T19:32:46.489Z] Successfully built 3bdc1f0de521 [2020-04-10T19:32:46.489Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [2020-04-10T19:32:46.606Z] + make test [2020-04-10T19:32:46.606Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-10T19:32:47.061Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-10T19:32:47.061Z] . [Pipeline] withDockerContainer [2020-04-10T19:32:47.185Z] prd-centos7-docker-4c-2g-3329 does not seem to be running inside a container [2020-04-10T19:32:47.236Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-10T19:32:48.187Z] $ docker top c87c5e70493cc048c4fc3c90f7f32f76a57f24f49feb068128a31d6eb62ba639 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T19:32:48.680Z] + go version [2020-04-10T19:32:48.680Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-10T19:32:48.977Z] + make test [2020-04-10T19:32:48.977Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-04-10T19:32:55.603Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-04-10T19:32:55.869Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.010s coverage: 85.7% of statements [2020-04-10T19:32:55.869Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.013s coverage: 100.0% of statements [2020-04-10T19:32:56.465Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.020s coverage: 45.4% of statements [2020-04-10T19:32:57.048Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.043s coverage: 77.8% of statements [2020-04-10T19:32:57.048Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-04-10T19:32:57.048Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.037s coverage: 6.4% of statements [2020-04-10T19:32:57.048Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.020s coverage: 14.4% of statements [2020-04-10T19:32:57.624Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.021s coverage: 100.0% of statements [2020-04-10T19:32:58.312Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.043s coverage: 100.0% of statements [2020-04-10T19:32:58.312Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-04-10T19:32:58.312Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-04-10T19:32:58.312Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.033s coverage: 100.0% of statements [2020-04-10T19:32:58.312Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/retry 1.523s coverage: 100.0% of statements [2020-04-10T19:32:59.704Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.018s coverage: 62.5% of statements [2020-04-10T19:32:59.704Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.006s coverage: 26.3% of statements [2020-04-10T19:32:59.704Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.004s coverage: 15.4% of statements [2020-04-10T19:32:59.704Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.009s coverage: 15.4% of statements [2020-04-10T19:32:59.704Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.004s coverage: 14.3% of statements [2020-04-10T19:32:59.704Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-10T19:33:00.659Z] gofmt -l . [2020-04-10T19:33:00.659Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-04-10T19:33:01.096Z] Stashed 1 file(s) [Pipeline] } [2020-04-10T19:33:01.101Z] $ docker stop --time=1 c87c5e70493cc048c4fc3c90f7f32f76a57f24f49feb068128a31d6eb62ba639 [2020-04-10T19:33:02.568Z] $ docker rm -f c87c5e70493cc048c4fc3c90f7f32f76a57f24f49feb068128a31d6eb62ba639 [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-10T19:33:04.871Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-04-10T19:33:07.476Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.047s coverage: 85.7% of statements [2020-04-10T19:33:07.476Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.072s coverage: 100.0% of statements [2020-04-10T19:33:09.438Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.048s coverage: 45.4% of statements [2020-04-10T19:33:09.438Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.022s coverage: 77.8% of statements [2020-04-10T19:33:09.438Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-04-10T19:33:10.406Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.034s coverage: 6.4% of statements [2020-04-10T19:33:11.825Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.047s coverage: 14.4% of statements [2020-04-10T19:33:12.093Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.022s coverage: 100.0% of statements [2020-04-10T19:33:13.058Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.099s coverage: 100.0% of statements [2020-04-10T19:33:13.058Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-04-10T19:33:13.058Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-04-10T19:33:13.058Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.035s coverage: 100.0% of statements [2020-04-10T19:33:13.058Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/retry 1.034s coverage: 100.0% of statements [2020-04-10T19:33:13.648Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.095s coverage: 62.5% of statements [2020-04-10T19:33:15.063Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.051s coverage: 26.3% of statements [2020-04-10T19:33:15.331Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.012s coverage: 15.4% of statements [2020-04-10T19:33:15.924Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.015s coverage: 15.4% of statements [2020-04-10T19:33:16.194Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.015s coverage: 14.3% of statements [2020-04-10T19:33:16.462Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-10T19:33:19.073Z] gofmt -l . [2020-04-10T19:33:19.340Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-04-10T19:33:19.620Z] Warning: overwriting stash ‘coverage-report’ [2020-04-10T19:33:20.071Z] Stashed 1 file(s) [Pipeline] } [2020-04-10T19:33:20.076Z] $ docker stop --time=1 35958107fb965e81c8bdc17e826d4add962334e0a28fd991c390b19fd5ba6e2b [2020-04-10T19:33:22.266Z] $ docker rm -f 35958107fb965e81c8bdc17e826d4add962334e0a28fd991c390b19fd5ba6e2b [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] } [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-10T19:33:24.065Z] provisioning config files... [2020-04-10T19:33:24.075Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-238@tmp/config5154160851494612628tmp [Pipeline] { [Pipeline] sh [2020-04-10T19:33:24.423Z] + curl -s https://codecov.io/bash [2020-04-10T19:33:24.423Z] + bash -s - -t @/w/workspace/dry_go-mod-core-contracts_PR-238@tmp/config5154160851494612628tmp [2020-04-10T19:33:24.685Z] [2020-04-10T19:33:24.685Z] _____ _ [2020-04-10T19:33:24.685Z] / ____| | | [2020-04-10T19:33:24.685Z] | | ___ __| | ___ ___ _____ __ [2020-04-10T19:33:24.685Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-10T19:33:24.685Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-10T19:33:24.685Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-10T19:33:24.685Z] Bash-20200410-0786dee [2020-04-10T19:33:24.685Z] [2020-04-10T19:33:24.685Z] [2020-04-10T19:33:24.685Z] ==> Jenkins CI detected. [2020-04-10T19:33:24.685Z] project root: . [2020-04-10T19:33:24.685Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-10T19:33:24.685Z] ==> Running gcov in . (disable via -X gcov) [2020-04-10T19:33:24.685Z] ==> Python coveragepy not found [2020-04-10T19:33:24.685Z] ==> Searching for coverage reports in: [2020-04-10T19:33:24.685Z] + . [2020-04-10T19:33:24.685Z] -> Found 1 reports [2020-04-10T19:33:24.685Z] ==> Detecting git/mercurial file structure [2020-04-10T19:33:24.685Z] ==> Reading reports [2020-04-10T19:33:24.685Z] + ./coverage.out bytes=82416 [2020-04-10T19:33:24.685Z] ==> Appending adjustments [2020-04-10T19:33:24.685Z] http://docs.codecov.io/docs/fixing-reports [2020-04-10T19:33:25.252Z] + Found adjustments [2020-04-10T19:33:25.252Z] ==> Gzipping contents [2020-04-10T19:33:25.252Z] ==> Uploading reports [2020-04-10T19:33:25.252Z] url: https://codecov.io [2020-04-10T19:33:25.252Z] query: branch=PR-238&commit=627903ac4af721a42f194c3294ffbe24d3a649e5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-238%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=238&job= [2020-04-10T19:33:25.252Z] -> Pinging Codecov [2020-04-10T19:33:25.252Z] https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-238&commit=627903ac4af721a42f194c3294ffbe24d3a649e5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-238%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=238&job= [2020-04-10T19:33:25.513Z] -> Uploading [2020-04-10T19:33:26.080Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/627903ac4af721a42f194c3294ffbe24d3a649e5 [Pipeline] } [2020-04-10T19:33:26.089Z] 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-10T19:33:27.251Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T19:33:27.554Z] ---> package-listing.sh [2020-04-10T19:33:27.554Z] ++ facter osfamily [2020-04-10T19:33:27.554Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-10T19:33:27.554Z] + OS_FAMILY=redhat [2020-04-10T19:33:27.554Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-238 [2020-04-10T19:33:27.554Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-10T19:33:27.554Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-10T19:33:27.554Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-10T19:33:27.554Z] + PACKAGES=/tmp/packages_start.txt [2020-04-10T19:33:27.554Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-238 ']' [2020-04-10T19:33:27.554Z] + PACKAGES=/tmp/packages_end.txt [2020-04-10T19:33:27.554Z] + case "${OS_FAMILY}" in [2020-04-10T19:33:27.554Z] + rpm -qa [2020-04-10T19:33:27.554Z] + sort [2020-04-10T19:33:31.744Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-10T19:33:31.744Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-10T19:33:31.744Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-10T19:33:31.744Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-238 ']' [2020-04-10T19:33:31.744Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-238/archives/ [2020-04-10T19:33:31.744Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-238/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-10T19:33:32.218Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-10T19:33:32.218Z] [2020-04-10T19:33:32.218Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-10T19:33:32.561Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-10T19:33:32.561Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-10T19:33:32.561Z] c9b1b535fdd9: Pulling fs layer [2020-04-10T19:33:32.561Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-10T19:33:32.561Z] 756a868c4378: Pulling fs layer [2020-04-10T19:33:32.561Z] 444b2fc9a129: Pulling fs layer [2020-04-10T19:33:32.561Z] ea15f1150254: Pulling fs layer [2020-04-10T19:33:32.561Z] 41b27a9f41bf: Pulling fs layer [2020-04-10T19:33:32.561Z] 28c525ee5125: Pulling fs layer [2020-04-10T19:33:32.561Z] 094b1ea09ed8: Pulling fs layer [2020-04-10T19:33:32.561Z] 138eaada9080: Pulling fs layer [2020-04-10T19:33:32.561Z] 0622d0fa9048: Pulling fs layer [2020-04-10T19:33:32.561Z] 444b2fc9a129: Waiting [2020-04-10T19:33:32.561Z] ea15f1150254: Waiting [2020-04-10T19:33:32.561Z] 41b27a9f41bf: Waiting [2020-04-10T19:33:32.561Z] 094b1ea09ed8: Waiting [2020-04-10T19:33:32.561Z] 138eaada9080: Waiting [2020-04-10T19:33:32.561Z] 0622d0fa9048: Waiting [2020-04-10T19:33:32.561Z] 2cc5ad85d9ab: Download complete [2020-04-10T19:33:32.561Z] 444b2fc9a129: Verifying Checksum [2020-04-10T19:33:32.561Z] 444b2fc9a129: Download complete [2020-04-10T19:33:32.561Z] c9b1b535fdd9: Verifying Checksum [2020-04-10T19:33:32.561Z] c9b1b535fdd9: Download complete [2020-04-10T19:33:32.561Z] ea15f1150254: Verifying Checksum [2020-04-10T19:33:32.561Z] ea15f1150254: Download complete [2020-04-10T19:33:32.832Z] 28c525ee5125: Verifying Checksum [2020-04-10T19:33:32.832Z] 28c525ee5125: Download complete [2020-04-10T19:33:33.098Z] 756a868c4378: Verifying Checksum [2020-04-10T19:33:33.098Z] 756a868c4378: Download complete [2020-04-10T19:33:33.098Z] c9b1b535fdd9: Pull complete [2020-04-10T19:33:33.098Z] 138eaada9080: Verifying Checksum [2020-04-10T19:33:33.098Z] 138eaada9080: Download complete [2020-04-10T19:33:33.098Z] 0622d0fa9048: Download complete [2020-04-10T19:33:33.098Z] 094b1ea09ed8: Verifying Checksum [2020-04-10T19:33:33.098Z] 094b1ea09ed8: Download complete [2020-04-10T19:33:33.098Z] 2cc5ad85d9ab: Pull complete [2020-04-10T19:33:33.668Z] 41b27a9f41bf: Verifying Checksum [2020-04-10T19:33:33.668Z] 41b27a9f41bf: Download complete [2020-04-10T19:33:34.604Z] 756a868c4378: Pull complete [2020-04-10T19:33:34.604Z] 444b2fc9a129: Pull complete [2020-04-10T19:33:35.170Z] ea15f1150254: Pull complete [2020-04-10T19:33:38.463Z] 41b27a9f41bf: Pull complete [2020-04-10T19:33:38.464Z] 28c525ee5125: Pull complete [2020-04-10T19:33:40.370Z] 094b1ea09ed8: Pull complete [2020-04-10T19:33:40.370Z] 138eaada9080: Pull complete [2020-04-10T19:33:40.370Z] 0622d0fa9048: Pull complete [2020-04-10T19:33:40.370Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-10T19:33:40.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-10T19:33:40.513Z] prd-centos7-docker-4c-2g-3326 does not seem to be running inside a container [2020-04-10T19:33:40.553Z] $ 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-238 -v /w/workspace/dry_go-mod-core-contracts_PR-238:/w/workspace/dry_go-mod-core-contracts_PR-238:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-238@tmp:/w/workspace/dry_go-mod-core-contracts_PR-238@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-10T19:33:41.690Z] $ docker top e90cea2d4ebc7de7d2f22ea17909e9ebefccf7ca9b796ee590f5f3a004faa581 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-10T19:33:41.957Z] provisioning config files... [2020-04-10T19:33:41.969Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-238@tmp/config290114232133268971tmp [Pipeline] { [Pipeline] echo [2020-04-10T19:33:42.021Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T19:33:42.316Z] ---> create-netrc.sh [Pipeline] echo [2020-04-10T19:33:42.322Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T19:33:42.609Z] ---> logs-deploy.sh [2020-04-10T19:33:42.609Z] + ARCHIVE_ARTIFACTS= [2020-04-10T19:33:42.609Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-10T19:33:42.609Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-10T19:33:42.609Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-10T19:33:42.609Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-238/2 [2020-04-10T19:33:42.609Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-238/2/ [2020-04-10T19:33:42.609Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-238/2 /w/workspace/dry_go-mod-core-contracts_PR-238 [2020-04-10T19:33:43.546Z] Archives upload complete. [2020-04-10T19:33:43.805Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-238/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-238/2/