Pull request #223 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 c74de0f1a37c8bcfde4207f66078dad07d548fa4+5d2c5b077c7e871d9430102b298b85b1ef4aa9ea (15d2fb3cf1c826acf268b5f93e4333e9defc9dfc) 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 1d71b05254bfc0fbe0fb6584ed6821814debb2bc 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 1d71b05254bfc0fbe0fb6584ed6821814debb2bc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1d71b05254bfc0fbe0fb6584ed6821814debb2bc # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2725 in /w/workspace/dry_go-mod-core-contracts_PR-223 [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-223 # 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/223/head:refs/remotes/origin/PR-223 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 5d2c5b077c7e871d9430102b298b85b1ef4aa9ea into PR head commit c74de0f1a37c8bcfde4207f66078dad07d548fa4 Merge succeeded, producing c74de0f1a37c8bcfde4207f66078dad07d548fa4 Checking out Revision c74de0f1a37c8bcfde4207f66078dad07d548fa4 (PR-223) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/223/head:refs/remotes/origin/PR-223 # 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/223/head:refs/remotes/origin/PR-223 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c74de0f1a37c8bcfde4207f66078dad07d548fa4 # 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 5d2c5b077c7e871d9430102b298b85b1ef4aa9ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c74de0f1a37c8bcfde4207f66078dad07d548fa4 # timeout=10 Commit message: "Validate MediaType and FloatEncoding Reading fields" > git rev-list --no-walk 01c7321b570857871c766ca704e7d83753e3bbe9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-06T14:52:49.481Z] 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-03-06T14:52:52.260Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-06T14:52:52.524Z] [2020-03-06T14:52:52.524Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-06T14:52:53.008Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-06T14:52:53.321Z] latest: Pulling from edgex-devops/git-semver [2020-03-06T14:52:53.321Z] 9123ac7c32f7: Pulling fs layer [2020-03-06T14:52:53.321Z] b8cc5d1170e3: Pulling fs layer [2020-03-06T14:52:53.321Z] 2924cbbf6a41: Pulling fs layer [2020-03-06T14:52:53.321Z] 93b08a4f1073: Pulling fs layer [2020-03-06T14:52:53.321Z] 93b08a4f1073: Waiting [2020-03-06T14:52:53.321Z] b8cc5d1170e3: Verifying Checksum [2020-03-06T14:52:53.321Z] b8cc5d1170e3: Download complete [2020-03-06T14:52:53.609Z] 9123ac7c32f7: Verifying Checksum [2020-03-06T14:52:53.609Z] 9123ac7c32f7: Download complete [2020-03-06T14:52:53.915Z] 2924cbbf6a41: Verifying Checksum [2020-03-06T14:52:53.915Z] 2924cbbf6a41: Download complete [2020-03-06T14:52:54.191Z] 93b08a4f1073: Verifying Checksum [2020-03-06T14:52:54.191Z] 93b08a4f1073: Download complete [2020-03-06T14:52:54.460Z] 9123ac7c32f7: Pull complete [2020-03-06T14:52:54.744Z] b8cc5d1170e3: Pull complete [2020-03-06T14:52:55.784Z] 2924cbbf6a41: Pull complete [2020-03-06T14:52:55.784Z] 93b08a4f1073: Pull complete [2020-03-06T14:52:55.784Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-06T14:52:55.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-06T14:52:56.065Z] prd-centos7-docker-4c-2g-2725 does not seem to be running inside a container [2020-03-06T14:52:56.238Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-223 -v /w/workspace/dry_go-mod-core-contracts_PR-223:/w/workspace/dry_go-mod-core-contracts_PR-223:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-223@tmp:/w/workspace/dry_go-mod-core-contracts_PR-223@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-03-06T14:52:57.024Z] $ docker top e4a56a56eff3c4baee61e77fa6bacec36bb6f38679f8f20ff9016176ee189f60 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-06T14:52:58.483Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-06T14:52:58.483Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-06T14:52:58.987Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-06T14:52:58.994Z] $ docker exec e4a56a56eff3c4baee61e77fa6bacec36bb6f38679f8f20ff9016176ee189f60 ssh-agent [2020-03-06T14:52:59.336Z] SSH_AUTH_SOCK=/tmp/ssh-W3C7k8D95ciF/agent.15 [2020-03-06T14:52:59.336Z] SSH_AGENT_PID=22 [2020-03-06T14:52:59.364Z] Running ssh-add (command line suppressed) [2020-03-06T14:52:59.697Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-223@tmp/private_key_803438497264008957.key (/w/workspace/dry_go-mod-core-contracts_PR-223@tmp/private_key_803438497264008957.key) [2020-03-06T14:52:59.799Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-06T14:53:00.179Z] + git describe --exact-match --tags HEAD [2020-03-06T14:53:00.179Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-06T14:53:00.416Z] $ docker exec --env ******** --env ******** e4a56a56eff3c4baee61e77fa6bacec36bb6f38679f8f20ff9016176ee189f60 ssh-agent -k [2020-03-06T14:53:00.712Z] unset SSH_AUTH_SOCK; [2020-03-06T14:53:00.713Z] unset SSH_AGENT_PID; [2020-03-06T14:53:00.713Z] echo Agent pid 22 killed; [2020-03-06T14:53:00.794Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-06T14:53:00.879Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-06T14:53:00.879Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-06T14:53:01.008Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-06T14:53:01.008Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-06T14:53:01.372Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-06T14:53:01.377Z] $ docker exec e4a56a56eff3c4baee61e77fa6bacec36bb6f38679f8f20ff9016176ee189f60 ssh-agent [2020-03-06T14:53:01.580Z] SSH_AUTH_SOCK=/tmp/ssh-FVeGudjiw5kR/agent.57 [2020-03-06T14:53:01.580Z] SSH_AGENT_PID=64 [2020-03-06T14:53:01.587Z] Running ssh-add (command line suppressed) [2020-03-06T14:53:01.752Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-223@tmp/private_key_5562313095924352216.key (/w/workspace/dry_go-mod-core-contracts_PR-223@tmp/private_key_5562313095924352216.key) [2020-03-06T14:53:01.811Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-06T14:53:02.164Z] + git semver init [2020-03-06T14:53:02.165Z] # -> Open(): unable to determine branch for HEAD [2020-03-06T14:53:02.165Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-223/.git [2020-03-06T14:53:02.165Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-223 [2020-03-06T14:53:02.165Z] # $SEMVER_REMOTE_NAME = origin [2020-03-06T14:53:02.165Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-06T14:53:02.165Z] # $SEMVER_USER_NAME = jenkins [2020-03-06T14:53:02.165Z] # $SEMVER_BRANCH = PR-223 [2020-03-06T14:53:02.165Z] # $SEMVER_TEMP = /tmp/semver-363443232 [2020-03-06T14:53:02.165Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-03-06T14:53:03.106Z] # '/tmp/semver-363443232' -> '/w/workspace/dry_go-mod-core-contracts_PR-223/.semver' [2020-03-06T14:53:03.106Z] # -> Force: false [2020-03-06T14:53:03.106Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-223/.semver [Pipeline] } [2020-03-06T14:53:03.132Z] $ docker exec --env ******** --env ******** e4a56a56eff3c4baee61e77fa6bacec36bb6f38679f8f20ff9016176ee189f60 ssh-agent -k [2020-03-06T14:53:03.523Z] unset SSH_AUTH_SOCK; [2020-03-06T14:53:03.524Z] unset SSH_AGENT_PID; [2020-03-06T14:53:03.524Z] echo Agent pid 64 killed; [2020-03-06T14:53:03.698Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-06T14:53:04.536Z] + git semver [Pipeline] } [2020-03-06T14:53:04.567Z] $ docker stop --time=1 e4a56a56eff3c4baee61e77fa6bacec36bb6f38679f8f20ff9016176ee189f60 [2020-03-06T14:53:06.287Z] $ docker rm -f e4a56a56eff3c4baee61e77fa6bacec36bb6f38679f8f20ff9016176ee189f60 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-06T14:53:07.304Z] Stashed 67 file(s) [Pipeline] echo [2020-03-06T14:53:07.306Z] [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-03-06T14:53:22.589Z] Still waiting to schedule task [2020-03-06T14:53:22.589Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-06T14:53:22.591Z] Still waiting to schedule task [2020-03-06T14:53:22.591Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-03-06T14:55:51.403Z] Running on prd-centos7-docker-4c-2g-2726 in /w/workspace/dry_go-mod-core-contracts_PR-223 [Pipeline] { [Pipeline] ws [2020-03-06T14:55:51.441Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2020-03-06T14:55:53.757Z] using credential edgex-jenkins-ssh [2020-03-06T14:55:53.798Z] Cloning the remote Git repository [2020-03-06T14:55:53.798Z] Cloning with configured refspecs honoured and without tags [2020-03-06T14:55:53.821Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-03-06T14:55:53.858Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2020-03-06T14:55:53.894Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-03-06T14:55:53.894Z] > git --version # timeout=10 [2020-03-06T14:55:53.900Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-06T14:55:53.924Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/223/head:refs/remotes/origin/PR-223 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-06T14:55:54.670Z] Fetching without tags [2020-03-06T14:55:55.039Z] Merging remotes/origin/master commit 5d2c5b077c7e871d9430102b298b85b1ef4aa9ea into PR head commit c74de0f1a37c8bcfde4207f66078dad07d548fa4 [2020-03-06T14:55:55.121Z] Merge succeeded, producing c74de0f1a37c8bcfde4207f66078dad07d548fa4 [2020-03-06T14:55:55.122Z] Checking out Revision c74de0f1a37c8bcfde4207f66078dad07d548fa4 (PR-223) [2020-03-06T14:55:54.634Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-03-06T14:55:54.643Z] > git config --add remote.origin.fetch +refs/pull/223/head:refs/remotes/origin/PR-223 # timeout=10 [2020-03-06T14:55:54.649Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-06T14:55:54.662Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-03-06T14:55:54.674Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-03-06T14:55:54.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-06T14:55:54.683Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/223/head:refs/remotes/origin/PR-223 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-06T14:55:55.047Z] > git config core.sparsecheckout # timeout=10 [2020-03-06T14:55:55.053Z] > git checkout -f c74de0f1a37c8bcfde4207f66078dad07d548fa4 # timeout=10 [2020-03-06T14:55:55.097Z] > git remote # timeout=10 [2020-03-06T14:55:55.101Z] > git config --get remote.origin.url # timeout=10 [2020-03-06T14:55:55.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-06T14:55:55.109Z] > git merge 5d2c5b077c7e871d9430102b298b85b1ef4aa9ea # timeout=10 [2020-03-06T14:55:55.117Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-06T14:55:55.125Z] > git config core.sparsecheckout # timeout=10 [2020-03-06T14:55:55.129Z] > git checkout -f c74de0f1a37c8bcfde4207f66078dad07d548fa4 # timeout=10 [2020-03-06T14:55:59.208Z] Commit message: "Validate MediaType and FloatEncoding Reading fields" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-06T14:56:00.026Z] ========================================================= [2020-03-06T14:56:00.026Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-06T14:56:00.026Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-06T14:56:00.655Z] + 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-03-06T14:56:00.655Z] Sending build context to Docker daemon 1.693MB [2020-03-06T14:56:00.921Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-03-06T14:56:00.921Z] Step 2/7 : FROM ${BASE} [2020-03-06T14:56:00.921Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-06T14:56:00.921Z] e6b0cf9c0882: Pulling fs layer [2020-03-06T14:56:00.921Z] 2848faf0eed1: Pulling fs layer [2020-03-06T14:56:00.921Z] 0f37312ad70f: Pulling fs layer [2020-03-06T14:56:00.921Z] 5788d62ee057: Pulling fs layer [2020-03-06T14:56:00.921Z] 0e6b1d234666: Pulling fs layer [2020-03-06T14:56:00.921Z] bf5d7aec512f: Pulling fs layer [2020-03-06T14:56:00.921Z] 34c802a77dc8: Pulling fs layer [2020-03-06T14:56:00.921Z] 9eb99e56ec68: Pulling fs layer [2020-03-06T14:56:00.921Z] 27c7a5d97fbd: Pulling fs layer [2020-03-06T14:56:00.921Z] 5c102a31e300: Pulling fs layer [2020-03-06T14:56:00.921Z] dcfb455df0a1: Pulling fs layer [2020-03-06T14:56:00.921Z] 9eb99e56ec68: Waiting [2020-03-06T14:56:00.921Z] 27c7a5d97fbd: Waiting [2020-03-06T14:56:00.921Z] 5c102a31e300: Waiting [2020-03-06T14:56:00.921Z] dcfb455df0a1: Waiting [2020-03-06T14:56:00.921Z] 5788d62ee057: Waiting [2020-03-06T14:56:00.921Z] 0e6b1d234666: Waiting [2020-03-06T14:56:00.921Z] bf5d7aec512f: Waiting [2020-03-06T14:56:00.921Z] 34c802a77dc8: Waiting [2020-03-06T14:56:00.921Z] 0f37312ad70f: Verifying Checksum [2020-03-06T14:56:00.921Z] 0f37312ad70f: Download complete [2020-03-06T14:56:00.921Z] 2848faf0eed1: Download complete [2020-03-06T14:56:00.921Z] 0e6b1d234666: Verifying Checksum [2020-03-06T14:56:00.921Z] 0e6b1d234666: Download complete [2020-03-06T14:56:00.921Z] bf5d7aec512f: Verifying Checksum [2020-03-06T14:56:00.921Z] bf5d7aec512f: Download complete [2020-03-06T14:56:00.921Z] e6b0cf9c0882: Download complete [2020-03-06T14:56:01.184Z] e6b0cf9c0882: Pull complete [2020-03-06T14:56:01.443Z] 2848faf0eed1: Pull complete [2020-03-06T14:56:01.443Z] 0f37312ad70f: Pull complete [2020-03-06T14:56:02.398Z] 34c802a77dc8: Verifying Checksum [2020-03-06T14:56:02.398Z] 34c802a77dc8: Download complete [2020-03-06T14:56:02.398Z] 27c7a5d97fbd: Verifying Checksum [2020-03-06T14:56:02.398Z] 27c7a5d97fbd: Download complete [2020-03-06T14:56:02.658Z] 5c102a31e300: Verifying Checksum [2020-03-06T14:56:02.659Z] 5c102a31e300: Download complete [2020-03-06T14:56:02.659Z] dcfb455df0a1: Verifying Checksum [2020-03-06T14:56:02.659Z] dcfb455df0a1: Download complete [2020-03-06T14:56:02.918Z] 9eb99e56ec68: Verifying Checksum [2020-03-06T14:56:02.918Z] 9eb99e56ec68: Download complete [2020-03-06T14:56:02.918Z] 5788d62ee057: Verifying Checksum [2020-03-06T14:56:02.918Z] 5788d62ee057: Download complete [2020-03-06T14:56:09.494Z] 5788d62ee057: Pull complete [2020-03-06T14:56:09.494Z] 0e6b1d234666: Pull complete [2020-03-06T14:56:09.494Z] bf5d7aec512f: Pull complete [2020-03-06T14:56:13.696Z] 34c802a77dc8: Pull complete [2020-03-06T14:56:16.259Z] 9eb99e56ec68: Pull complete [2020-03-06T14:56:16.547Z] 27c7a5d97fbd: Pull complete [2020-03-06T14:56:17.493Z] 5c102a31e300: Pull complete [2020-03-06T14:56:17.493Z] dcfb455df0a1: Pull complete [2020-03-06T14:56:17.493Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-06T14:56:17.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-06T14:56:17.493Z] ---> 7c70fe431013 [2020-03-06T14:56:17.493Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-06T14:56:17.767Z] ---> Running in bcf432ea5251 [2020-03-06T14:56:17.767Z] Removing intermediate container bcf432ea5251 [2020-03-06T14:56:17.767Z] ---> d13d1ac1da44 [2020-03-06T14:56:17.767Z] Step 4/7 : RUN apk add bash [2020-03-06T14:56:17.767Z] ---> Running in 8d5d3227c363 [2020-03-06T14:56:19.145Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-06T14:56:19.714Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-06T14:56:19.972Z] OK: 143 MiB in 39 packages [2020-03-06T14:56:20.539Z] Removing intermediate container 8d5d3227c363 [2020-03-06T14:56:20.539Z] ---> 619080de72e6 [2020-03-06T14:56:20.539Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-03-06T14:56:20.539Z] ---> Running in 7d35b9ed89e7 [2020-03-06T14:56:20.539Z] Removing intermediate container 7d35b9ed89e7 [2020-03-06T14:56:20.539Z] ---> e2d232ce5198 [2020-03-06T14:56:20.539Z] Step 6/7 : COPY go.mod . [2020-03-06T14:56:20.798Z] ---> 906e98d74d40 [2020-03-06T14:56:20.798Z] Step 7/7 : RUN go mod download [2020-03-06T14:56:20.798Z] ---> Running in 9a1b74a53056 [2020-03-06T14:56:21.736Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-03-06T14:56:21.996Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-06T14:56:21.996Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-06T14:56:21.996Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-06T14:56:21.996Z] go: finding github.com/google/uuid v1.1.0 [2020-03-06T14:56:21.996Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-06T14:56:21.996Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-06T14:56:21.996Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-06T14:56:21.996Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-06T14:56:21.996Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-06T14:56:22.931Z] Removing intermediate container 9a1b74a53056 [2020-03-06T14:56:22.931Z] ---> 8c3060912611 [2020-03-06T14:56:22.931Z] Successfully built 8c3060912611 [2020-03-06T14:56:22.931Z] 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-03-06T14:56:23.569Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-06T14:56:23.569Z] . [Pipeline] withDockerContainer [2020-03-06T14:56:23.683Z] prd-centos7-docker-4c-2g-2726 does not seem to be running inside a container [2020-03-06T14:56:23.725Z] $ 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-x86_64 cat [2020-03-06T14:56:24.601Z] $ docker top 60a6e8fac677eb9ca2dda2c00d4366f5c3782c1a3bad3c460c0da74260dbdf48 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-06T14:56:25.611Z] + go version [2020-03-06T14:56:25.611Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-06T14:56:25.901Z] + make test [2020-03-06T14:56:25.901Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-03-06T14:56:32.530Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-03-06T14:56:32.530Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.058s coverage: 100.0% of statements [2020-03-06T14:56:40.691Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.021s coverage: 45.4% of statements [2020-03-06T14:56:40.691Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.007s coverage: 77.8% of statements [2020-03-06T14:56:40.691Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-03-06T14:56:40.691Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.008s coverage: 6.4% of statements [2020-03-06T14:56:42.077Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.016s coverage: 14.4% of statements [2020-03-06T14:56:42.077Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.018s coverage: 100.0% of statements [2020-03-06T14:56:42.077Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.032s coverage: 100.0% of statements [2020-03-06T14:56:42.077Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-03-06T14:56:42.077Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-03-06T14:56:42.077Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.003s coverage: 100.0% of statements [2020-03-06T14:56:42.077Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/retry 1.539s coverage: 100.0% of statements [2020-03-06T14:56:42.077Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.036s coverage: 62.6% of statements [2020-03-06T14:56:42.338Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.012s coverage: 26.3% of statements [2020-03-06T14:56:43.726Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.008s coverage: 15.4% of statements [2020-03-06T14:56:43.726Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.007s coverage: 15.4% of statements [2020-03-06T14:56:43.726Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.006s coverage: 14.3% of statements [2020-03-06T14:56:43.726Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-06T14:56:45.652Z] gofmt -l . [2020-03-06T14:56:45.652Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-03-06T14:56:46.075Z] Stashed 1 file(s) [Pipeline] } [2020-03-06T14:56:46.081Z] $ docker stop --time=1 60a6e8fac677eb9ca2dda2c00d4366f5c3782c1a3bad3c460c0da74260dbdf48 [2020-03-06T14:56:47.503Z] $ docker rm -f 60a6e8fac677eb9ca2dda2c00d4366f5c3782c1a3bad3c460c0da74260dbdf48 [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-03-06T14:57:48.414Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2727 in /w/workspace/dry_go-mod-core-contracts_PR-223 [Pipeline] { [Pipeline] ws [2020-03-06T14:57:48.516Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2020-03-06T14:57:54.390Z] using credential edgex-jenkins-ssh [2020-03-06T14:57:54.437Z] Cloning the remote Git repository [2020-03-06T14:57:54.437Z] Cloning with configured refspecs honoured and without tags [2020-03-06T14:57:54.497Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-03-06T14:57:54.569Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2020-03-06T14:57:54.631Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-03-06T14:57:54.632Z] > git --version # timeout=10 [2020-03-06T14:57:54.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-06T14:57:54.750Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/223/head:refs/remotes/origin/PR-223 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-06T14:57:55.595Z] Fetching without tags [2020-03-06T14:57:56.129Z] Merging remotes/origin/master commit 5d2c5b077c7e871d9430102b298b85b1ef4aa9ea into PR head commit c74de0f1a37c8bcfde4207f66078dad07d548fa4 [2020-03-06T14:57:55.485Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-03-06T14:57:55.523Z] > git config --add remote.origin.fetch +refs/pull/223/head:refs/remotes/origin/PR-223 # timeout=10 [2020-03-06T14:57:55.543Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-06T14:57:55.571Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-03-06T14:57:55.607Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-03-06T14:57:55.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-06T14:57:55.618Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/223/head:refs/remotes/origin/PR-223 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-06T14:57:56.147Z] > git config core.sparsecheckout # timeout=10 [2020-03-06T14:57:56.177Z] > git checkout -f c74de0f1a37c8bcfde4207f66078dad07d548fa4 # timeout=10 [2020-03-06T14:57:56.425Z] Merge succeeded, producing c74de0f1a37c8bcfde4207f66078dad07d548fa4 [2020-03-06T14:57:56.426Z] Checking out Revision c74de0f1a37c8bcfde4207f66078dad07d548fa4 (PR-223) [2020-03-06T14:57:56.293Z] > git remote # timeout=10 [2020-03-06T14:57:56.328Z] > git config --get remote.origin.url # timeout=10 [2020-03-06T14:57:56.346Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-06T14:57:56.361Z] > git merge 5d2c5b077c7e871d9430102b298b85b1ef4aa9ea # timeout=10 [2020-03-06T14:57:56.393Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-06T14:57:56.435Z] > git config core.sparsecheckout # timeout=10 [2020-03-06T14:57:56.472Z] > git checkout -f c74de0f1a37c8bcfde4207f66078dad07d548fa4 # timeout=10 [2020-03-06T14:58:00.992Z] Commit message: "Validate MediaType and FloatEncoding Reading fields" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-06T14:58:02.922Z] ========================================================= [2020-03-06T14:58:02.922Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-06T14:58:02.922Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-06T14:58:03.914Z] + 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-03-06T14:58:04.898Z] Sending build context to Docker daemon 1.693MB [2020-03-06T14:58:04.898Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-03-06T14:58:04.898Z] Step 2/7 : FROM ${BASE} [2020-03-06T14:58:05.174Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-06T14:58:05.174Z] cde5963f3b93: Pulling fs layer [2020-03-06T14:58:05.174Z] 2a23fa8c16f7: Pulling fs layer [2020-03-06T14:58:05.174Z] 777b28850792: Pulling fs layer [2020-03-06T14:58:05.174Z] 8a11ddd9e578: Pulling fs layer [2020-03-06T14:58:05.174Z] 4cf88f913ddb: Pulling fs layer [2020-03-06T14:58:05.174Z] 1df406cf5192: Pulling fs layer [2020-03-06T14:58:05.174Z] cd6300453558: Pulling fs layer [2020-03-06T14:58:05.174Z] b9c365052c96: Pulling fs layer [2020-03-06T14:58:05.174Z] a2d8cc88f415: Pulling fs layer [2020-03-06T14:58:05.174Z] ea1d1ca13537: Pulling fs layer [2020-03-06T14:58:05.174Z] 3750a50a1c5e: Pulling fs layer [2020-03-06T14:58:05.174Z] 8a11ddd9e578: Waiting [2020-03-06T14:58:05.174Z] 4cf88f913ddb: Waiting [2020-03-06T14:58:05.174Z] 1df406cf5192: Waiting [2020-03-06T14:58:05.174Z] cd6300453558: Waiting [2020-03-06T14:58:05.174Z] b9c365052c96: Waiting [2020-03-06T14:58:05.174Z] a2d8cc88f415: Waiting [2020-03-06T14:58:05.174Z] ea1d1ca13537: Waiting [2020-03-06T14:58:05.174Z] 3750a50a1c5e: Waiting [2020-03-06T14:58:05.174Z] 777b28850792: Verifying Checksum [2020-03-06T14:58:05.174Z] 777b28850792: Download complete [2020-03-06T14:58:05.449Z] 2a23fa8c16f7: Verifying Checksum [2020-03-06T14:58:05.449Z] 2a23fa8c16f7: Download complete [2020-03-06T14:58:05.449Z] 4cf88f913ddb: Verifying Checksum [2020-03-06T14:58:05.449Z] 4cf88f913ddb: Download complete [2020-03-06T14:58:05.449Z] 1df406cf5192: Verifying Checksum [2020-03-06T14:58:05.449Z] 1df406cf5192: Download complete [2020-03-06T14:58:05.449Z] cde5963f3b93: Verifying Checksum [2020-03-06T14:58:05.449Z] cde5963f3b93: Download complete [2020-03-06T14:58:06.425Z] cde5963f3b93: Pull complete [2020-03-06T14:58:07.019Z] 2a23fa8c16f7: Pull complete [2020-03-06T14:58:07.290Z] 777b28850792: Pull complete [2020-03-06T14:58:09.888Z] cd6300453558: Verifying Checksum [2020-03-06T14:58:09.888Z] cd6300453558: Download complete [2020-03-06T14:58:09.888Z] a2d8cc88f415: Verifying Checksum [2020-03-06T14:58:09.888Z] a2d8cc88f415: Download complete [2020-03-06T14:58:12.507Z] ea1d1ca13537: Verifying Checksum [2020-03-06T14:58:12.507Z] ea1d1ca13537: Download complete [2020-03-06T14:58:12.507Z] 3750a50a1c5e: Verifying Checksum [2020-03-06T14:58:12.507Z] 3750a50a1c5e: Download complete [2020-03-06T14:58:15.102Z] b9c365052c96: Verifying Checksum [2020-03-06T14:58:15.102Z] b9c365052c96: Download complete [2020-03-06T14:58:16.516Z] 8a11ddd9e578: Download complete [2020-03-06T14:58:28.856Z] 8a11ddd9e578: Pull complete [2020-03-06T14:58:28.856Z] 4cf88f913ddb: Pull complete [2020-03-06T14:58:28.856Z] 1df406cf5192: Pull complete [2020-03-06T14:58:33.114Z] cd6300453558: Pull complete [2020-03-06T14:58:38.478Z] b9c365052c96: Pull complete [2020-03-06T14:58:38.478Z] a2d8cc88f415: Pull complete [2020-03-06T14:58:40.430Z] ea1d1ca13537: Pull complete [2020-03-06T14:58:40.430Z] 3750a50a1c5e: Pull complete [2020-03-06T14:58:40.430Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-06T14:58:40.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-06T14:58:40.430Z] ---> 78745c68409d [2020-03-06T14:58:40.430Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-06T14:58:45.794Z] ---> Running in 270d7358704d [2020-03-06T14:58:45.794Z] Removing intermediate container 270d7358704d [2020-03-06T14:58:45.794Z] ---> 50326dee811e [2020-03-06T14:58:45.794Z] Step 4/7 : RUN apk add bash [2020-03-06T14:58:45.794Z] ---> Running in a1023ac13656 [2020-03-06T14:58:46.765Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-06T14:58:47.348Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-06T14:58:48.312Z] OK: 125 MiB in 39 packages [2020-03-06T14:58:49.279Z] Removing intermediate container a1023ac13656 [2020-03-06T14:58:49.279Z] ---> 2e5326814784 [2020-03-06T14:58:49.279Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-03-06T14:58:49.546Z] ---> Running in 7ecaaa0eb683 [2020-03-06T14:58:50.131Z] Removing intermediate container 7ecaaa0eb683 [2020-03-06T14:58:50.131Z] ---> f47154f1946b [2020-03-06T14:58:50.131Z] Step 6/7 : COPY go.mod . [2020-03-06T14:58:50.717Z] ---> e05336cb9069 [2020-03-06T14:58:50.717Z] Step 7/7 : RUN go mod download [2020-03-06T14:58:50.717Z] ---> Running in 73644b7027e1 [2020-03-06T14:58:52.139Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-03-06T14:58:52.139Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-06T14:58:52.139Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-06T14:58:52.139Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-06T14:58:52.139Z] go: finding github.com/google/uuid v1.1.0 [2020-03-06T14:58:52.139Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-06T14:58:52.139Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-06T14:58:52.139Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-06T14:58:52.139Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-06T14:58:52.139Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-06T14:58:54.732Z] Removing intermediate container 73644b7027e1 [2020-03-06T14:58:54.732Z] ---> e08508fa8a3e [2020-03-06T14:58:54.732Z] Successfully built e08508fa8a3e [2020-03-06T14:58:55.000Z] 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-03-06T14:58:55.679Z] + docker inspect -f . ci-base-image-arm64 [2020-03-06T14:58:55.679Z] . [Pipeline] withDockerContainer [2020-03-06T14:58:56.282Z] prd-ubuntu18.04-docker-arm64-4c-16g-2727 does not seem to be running inside a container [2020-03-06T14:58:56.373Z] $ 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-arm64 cat [2020-03-06T14:58:58.046Z] $ docker top d7ff27e5f094a388a70dd386d03ec66fab4a5ab84e3ffd05259ab6a94bfbf5dd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-06T14:59:00.468Z] + go version [2020-03-06T14:59:00.468Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-06T14:59:01.147Z] + make test [2020-03-06T14:59:01.148Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-03-06T14:59:23.275Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-03-06T14:59:23.275Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.031s coverage: 100.0% of statements [2020-03-06T14:59:41.543Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.064s coverage: 45.4% of statements [2020-03-06T14:59:41.543Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.029s coverage: 77.8% of statements [2020-03-06T14:59:41.543Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-03-06T14:59:41.543Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.077s coverage: 6.4% of statements [2020-03-06T14:59:42.521Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.076s coverage: 14.4% of statements [2020-03-06T14:59:42.521Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.017s coverage: 100.0% of statements [2020-03-06T14:59:43.961Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.104s coverage: 100.0% of statements [2020-03-06T14:59:43.961Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-03-06T14:59:43.961Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-03-06T14:59:43.961Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.040s coverage: 100.0% of statements [2020-03-06T14:59:43.962Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/retry 1.534s coverage: 100.0% of statements [2020-03-06T14:59:43.962Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.155s coverage: 62.6% of statements [2020-03-06T14:59:44.934Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.035s coverage: 26.3% of statements [2020-03-06T14:59:46.897Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.022s coverage: 15.4% of statements [2020-03-06T14:59:47.873Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.023s coverage: 15.4% of statements [2020-03-06T14:59:48.458Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.021s coverage: 14.3% of statements [2020-03-06T14:59:48.725Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-06T14:59:54.085Z] gofmt -l . [2020-03-06T14:59:54.085Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-03-06T14:59:54.189Z] Warning: overwriting stash ‘coverage-report’ [2020-03-06T14:59:54.682Z] Stashed 1 file(s) [Pipeline] } [2020-03-06T14:59:54.694Z] $ docker stop --time=1 d7ff27e5f094a388a70dd386d03ec66fab4a5ab84e3ffd05259ab6a94bfbf5dd [2020-03-06T14:59:56.919Z] $ docker rm -f d7ff27e5f094a388a70dd386d03ec66fab4a5ab84e3ffd05259ab6a94bfbf5dd [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-03-06T14:59:58.689Z] provisioning config files... [2020-03-06T14:59:58.710Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-223@tmp/config5340907972675930347tmp [Pipeline] { [Pipeline] sh [2020-03-06T14:59:59.623Z] + curl -s https://codecov.io/bash [2020-03-06T14:59:59.623Z] + bash -s - -t @/w/workspace/dry_go-mod-core-contracts_PR-223@tmp/config5340907972675930347tmp [2020-03-06T14:59:59.623Z] [2020-03-06T14:59:59.623Z] _____ _ [2020-03-06T14:59:59.623Z] / ____| | | [2020-03-06T14:59:59.623Z] | | ___ __| | ___ ___ _____ __ [2020-03-06T14:59:59.623Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-06T14:59:59.623Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-06T14:59:59.623Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-06T14:59:59.623Z] Bash-20200303-bc4d7e6 [2020-03-06T14:59:59.623Z] [2020-03-06T14:59:59.623Z] [2020-03-06T14:59:59.623Z] ==> Jenkins CI detected. [2020-03-06T14:59:59.623Z] project root: . [2020-03-06T14:59:59.623Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-06T14:59:59.623Z] ==> Running gcov in . (disable via -X gcov) [2020-03-06T14:59:59.623Z] ==> Python coveragepy not found [2020-03-06T14:59:59.623Z] ==> Searching for coverage reports in: [2020-03-06T14:59:59.623Z] + . [2020-03-06T14:59:59.623Z] -> Found 1 reports [2020-03-06T14:59:59.623Z] ==> Detecting git/mercurial file structure [2020-03-06T14:59:59.623Z] ==> Reading reports [2020-03-06T14:59:59.623Z] + ./coverage.out bytes=81293 [2020-03-06T14:59:59.623Z] ==> Appending adjustments [2020-03-06T14:59:59.624Z] http://docs.codecov.io/docs/fixing-reports [2020-03-06T15:00:00.208Z] + Found adjustments [2020-03-06T15:00:00.208Z] ==> Gzipping contents [2020-03-06T15:00:00.208Z] ==> Uploading reports [2020-03-06T15:00:00.208Z] url: https://codecov.io [2020-03-06T15:00:00.208Z] query: branch=PR-223&commit=c74de0f1a37c8bcfde4207f66078dad07d548fa4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-223%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=223&job= [2020-03-06T15:00:00.208Z] -> Pinging Codecov [2020-03-06T15:00:00.208Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-223&commit=c74de0f1a37c8bcfde4207f66078dad07d548fa4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-223%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=223&job= [2020-03-06T15:00:00.801Z] -> Uploading [2020-03-06T15:00:01.749Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/c74de0f1a37c8bcfde4207f66078dad07d548fa4 [Pipeline] } [2020-03-06T15:00:01.758Z] 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-03-06T15:00:03.183Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-06T15:00:03.832Z] ---> package-listing.sh [2020-03-06T15:00:03.832Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-06T15:00:03.832Z] ++ facter osfamily [2020-03-06T15:00:03.832Z] + OS_FAMILY=redhat [2020-03-06T15:00:03.832Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-223 [2020-03-06T15:00:03.832Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-06T15:00:03.832Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-06T15:00:03.832Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-06T15:00:03.832Z] + PACKAGES=/tmp/packages_start.txt [2020-03-06T15:00:03.832Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-223 ']' [2020-03-06T15:00:03.832Z] + PACKAGES=/tmp/packages_end.txt [2020-03-06T15:00:03.832Z] + case "${OS_FAMILY}" in [2020-03-06T15:00:03.832Z] + rpm -qa [2020-03-06T15:00:03.832Z] + sort [2020-03-06T15:00:09.138Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-06T15:00:09.138Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-06T15:00:09.138Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-06T15:00:09.138Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-223 ']' [2020-03-06T15:00:09.138Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-223/archives/ [2020-03-06T15:00:09.138Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-223/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-06T15:00:09.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-06T15:00:09.953Z] [2020-03-06T15:00:09.953Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-06T15:00:10.427Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-06T15:00:10.747Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-06T15:00:10.747Z] c9b1b535fdd9: Pulling fs layer [2020-03-06T15:00:10.747Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-06T15:00:10.747Z] 756a868c4378: Pulling fs layer [2020-03-06T15:00:10.747Z] 444b2fc9a129: Pulling fs layer [2020-03-06T15:00:10.747Z] ea15f1150254: Pulling fs layer [2020-03-06T15:00:10.747Z] accf33d0a596: Pulling fs layer [2020-03-06T15:00:10.747Z] ed219e1a52c9: Pulling fs layer [2020-03-06T15:00:10.747Z] 5c51e1ca66f2: Pulling fs layer [2020-03-06T15:00:10.747Z] 35bfa29f0fbe: Pulling fs layer [2020-03-06T15:00:10.747Z] f05e5ea0dd84: Pulling fs layer [2020-03-06T15:00:10.747Z] accf33d0a596: Waiting [2020-03-06T15:00:10.747Z] ed219e1a52c9: Waiting [2020-03-06T15:00:10.747Z] 5c51e1ca66f2: Waiting [2020-03-06T15:00:10.747Z] 35bfa29f0fbe: Waiting [2020-03-06T15:00:10.747Z] f05e5ea0dd84: Waiting [2020-03-06T15:00:10.747Z] 444b2fc9a129: Waiting [2020-03-06T15:00:10.747Z] ea15f1150254: Waiting [2020-03-06T15:00:10.747Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-06T15:00:10.747Z] 2cc5ad85d9ab: Download complete [2020-03-06T15:00:10.747Z] 444b2fc9a129: Verifying Checksum [2020-03-06T15:00:10.747Z] 444b2fc9a129: Download complete [2020-03-06T15:00:10.747Z] c9b1b535fdd9: Verifying Checksum [2020-03-06T15:00:10.747Z] c9b1b535fdd9: Download complete [2020-03-06T15:00:11.430Z] ea15f1150254: Verifying Checksum [2020-03-06T15:00:11.430Z] ea15f1150254: Download complete [2020-03-06T15:00:11.430Z] ed219e1a52c9: Verifying Checksum [2020-03-06T15:00:11.430Z] ed219e1a52c9: Download complete [2020-03-06T15:00:11.835Z] c9b1b535fdd9: Pull complete [2020-03-06T15:00:11.835Z] 2cc5ad85d9ab: Pull complete [2020-03-06T15:00:12.500Z] 756a868c4378: Verifying Checksum [2020-03-06T15:00:12.500Z] 756a868c4378: Download complete [2020-03-06T15:00:12.769Z] 35bfa29f0fbe: Verifying Checksum [2020-03-06T15:00:12.769Z] 35bfa29f0fbe: Download complete [2020-03-06T15:00:12.769Z] f05e5ea0dd84: Verifying Checksum [2020-03-06T15:00:12.769Z] f05e5ea0dd84: Download complete [2020-03-06T15:00:12.769Z] 5c51e1ca66f2: Verifying Checksum [2020-03-06T15:00:12.769Z] 5c51e1ca66f2: Download complete [2020-03-06T15:00:13.931Z] accf33d0a596: Verifying Checksum [2020-03-06T15:00:13.931Z] accf33d0a596: Download complete [2020-03-06T15:00:14.509Z] 756a868c4378: Pull complete [2020-03-06T15:00:14.791Z] 444b2fc9a129: Pull complete [2020-03-06T15:00:15.063Z] ea15f1150254: Pull complete [2020-03-06T15:00:19.602Z] accf33d0a596: Pull complete [2020-03-06T15:00:19.602Z] ed219e1a52c9: Pull complete [2020-03-06T15:00:22.963Z] 5c51e1ca66f2: Pull complete [2020-03-06T15:00:22.963Z] 35bfa29f0fbe: Pull complete [2020-03-06T15:00:23.241Z] f05e5ea0dd84: Pull complete [2020-03-06T15:00:23.241Z] Digest: sha256:6b90e4c073d035f76644ecf5cbff460141a956713ac7a2cad1d47102c16691db [2020-03-06T15:00:23.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-06T15:00:23.472Z] prd-centos7-docker-4c-2g-2725 does not seem to be running inside a container [2020-03-06T15:00:23.593Z] $ 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-223 -v /w/workspace/dry_go-mod-core-contracts_PR-223:/w/workspace/dry_go-mod-core-contracts_PR-223:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-223@tmp:/w/workspace/dry_go-mod-core-contracts_PR-223@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-03-06T15:00:25.320Z] $ docker top c7b8a83f71356d092f51cf9c9026781ea04679e3d602f2234fd84c944fc7a359 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-06T15:00:26.634Z] provisioning config files... [2020-03-06T15:00:26.650Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-223@tmp/config5944252491616708103tmp [Pipeline] { [Pipeline] echo [2020-03-06T15:00:26.709Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-06T15:00:27.392Z] ---> create-netrc.sh [Pipeline] echo [2020-03-06T15:00:27.403Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-06T15:00:28.044Z] ---> logs-deploy.sh [2020-03-06T15:00:28.044Z] + ARCHIVE_ARTIFACTS= [2020-03-06T15:00:28.044Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-06T15:00:28.044Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-06T15:00:28.044Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-06T15:00:28.044Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-223/2 [2020-03-06T15:00:28.044Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-223/2/ [2020-03-06T15:00:28.044Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-223/2 /w/workspace/dry_go-mod-core-contracts_PR-223 [2020-03-06T15:00:29.463Z] Archives upload complete. [2020-03-06T15:00:29.728Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-223/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-223/2/