Pull request #231 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 610884874b033a4b9bf34cd028988029b0425192+3cb5917033da587cafe5cdb65fd35d8fd9b40504 (505212dacd3b41b3654f88cc190642dc28a4f8fc) 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 ‘prd-centos7-docker-4c-2g-2906’ is offline Running on prd-centos7-docker-4c-2g-2907 in /w/workspace/dry_go-mod-core-contracts_PR-231 [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-231 # 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/231/head:refs/remotes/origin/PR-231 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 3cb5917033da587cafe5cdb65fd35d8fd9b40504 into PR head commit 610884874b033a4b9bf34cd028988029b0425192 Merge succeeded, producing 610884874b033a4b9bf34cd028988029b0425192 Checking out Revision 610884874b033a4b9bf34cd028988029b0425192 (PR-231) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/231/head:refs/remotes/origin/PR-231 # 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/231/head:refs/remotes/origin/PR-231 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 610884874b033a4b9bf34cd028988029b0425192 # 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 3cb5917033da587cafe5cdb65fd35d8fd9b40504 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 610884874b033a4b9bf34cd028988029b0425192 # timeout=10 Commit message: "Move SMA client to clients/agent and add functions" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk c58b1c7d6bf3c38b89b357420921466ef8108bb7 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-08T17:24:26.291Z] 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-08T17:24:28.834Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T17:24:29.110Z] [2020-04-08T17:24:29.110Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:24:29.498Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T17:24:29.770Z] latest: Pulling from edgex-devops/git-semver [2020-04-08T17:24:29.770Z] 9123ac7c32f7: Pulling fs layer [2020-04-08T17:24:29.770Z] b8cc5d1170e3: Pulling fs layer [2020-04-08T17:24:29.770Z] 2924cbbf6a41: Pulling fs layer [2020-04-08T17:24:29.770Z] 93b08a4f1073: Pulling fs layer [2020-04-08T17:24:29.770Z] 93b08a4f1073: Waiting [2020-04-08T17:24:29.770Z] b8cc5d1170e3: Verifying Checksum [2020-04-08T17:24:29.770Z] b8cc5d1170e3: Download complete [2020-04-08T17:24:29.770Z] 9123ac7c32f7: Verifying Checksum [2020-04-08T17:24:29.770Z] 9123ac7c32f7: Download complete [2020-04-08T17:24:30.062Z] 93b08a4f1073: Verifying Checksum [2020-04-08T17:24:30.062Z] 93b08a4f1073: Download complete [2020-04-08T17:24:30.062Z] 2924cbbf6a41: Verifying Checksum [2020-04-08T17:24:30.062Z] 2924cbbf6a41: Download complete [2020-04-08T17:24:30.062Z] 9123ac7c32f7: Pull complete [2020-04-08T17:24:30.325Z] b8cc5d1170e3: Pull complete [2020-04-08T17:24:31.290Z] 2924cbbf6a41: Pull complete [2020-04-08T17:24:31.559Z] 93b08a4f1073: Pull complete [2020-04-08T17:24:31.559Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-08T17:24:31.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-08T17:24:31.777Z] prd-centos7-docker-4c-2g-2907 does not seem to be running inside a container [2020-04-08T17:24:31.938Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-231 -v /w/workspace/dry_go-mod-core-contracts_PR-231:/w/workspace/dry_go-mod-core-contracts_PR-231:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-231@tmp:/w/workspace/dry_go-mod-core-contracts_PR-231@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:10004/edgex-devops/git-semver:latest cat [2020-04-08T17:24:32.743Z] $ docker top 3e929138d8c3cab8ac711380db6b4b9e7e76da83e91ee3ab53c577d4647874cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-08T17:24:33.077Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T17:24:33.078Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T17:24:33.551Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T17:24:33.570Z] $ docker exec 3e929138d8c3cab8ac711380db6b4b9e7e76da83e91ee3ab53c577d4647874cd ssh-agent [2020-04-08T17:24:34.069Z] SSH_AUTH_SOCK=/tmp/ssh-I0jaOheIpuid/agent.15 [2020-04-08T17:24:34.069Z] SSH_AGENT_PID=21 [2020-04-08T17:24:34.080Z] Running ssh-add (command line suppressed) [2020-04-08T17:24:34.355Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-231@tmp/private_key_5835596141196966833.key (/w/workspace/dry_go-mod-core-contracts_PR-231@tmp/private_key_5835596141196966833.key) [2020-04-08T17:24:34.469Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T17:24:35.115Z] + git describe --exact-match --tags HEAD [2020-04-08T17:24:35.115Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-08T17:24:35.244Z] $ docker exec --env ******** --env ******** 3e929138d8c3cab8ac711380db6b4b9e7e76da83e91ee3ab53c577d4647874cd ssh-agent -k [2020-04-08T17:24:35.704Z] unset SSH_AUTH_SOCK; [2020-04-08T17:24:35.704Z] unset SSH_AGENT_PID; [2020-04-08T17:24:35.704Z] echo Agent pid 21 killed; [2020-04-08T17:24:35.784Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-08T17:24:35.849Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-08T17:24:35.849Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-08T17:24:35.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T17:24:35.941Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T17:24:36.542Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T17:24:36.549Z] $ docker exec 3e929138d8c3cab8ac711380db6b4b9e7e76da83e91ee3ab53c577d4647874cd ssh-agent [2020-04-08T17:24:36.995Z] SSH_AUTH_SOCK=/tmp/ssh-SPBX6bodfvPb/agent.56 [2020-04-08T17:24:36.995Z] SSH_AGENT_PID=63 [2020-04-08T17:24:37.018Z] Running ssh-add (command line suppressed) [2020-04-08T17:24:37.522Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-231@tmp/private_key_8097509161610609419.key (/w/workspace/dry_go-mod-core-contracts_PR-231@tmp/private_key_8097509161610609419.key) [2020-04-08T17:24:37.705Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T17:24:38.473Z] + git semver init [2020-04-08T17:24:38.473Z] # -> Open(): unable to determine branch for HEAD [2020-04-08T17:24:38.473Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-231/.git [2020-04-08T17:24:38.473Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-231 [2020-04-08T17:24:38.473Z] # $SEMVER_REMOTE_NAME = origin [2020-04-08T17:24:38.473Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-08T17:24:38.473Z] # $SEMVER_USER_NAME = jenkins [2020-04-08T17:24:38.473Z] # $SEMVER_BRANCH = PR-231 [2020-04-08T17:24:38.473Z] # $SEMVER_TEMP = /tmp/semver-633602912 [2020-04-08T17:24:38.473Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-04-08T17:24:39.072Z] # '/tmp/semver-633602912' -> '/w/workspace/dry_go-mod-core-contracts_PR-231/.semver' [2020-04-08T17:24:39.072Z] # -> Force: false [2020-04-08T17:24:39.072Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-231/.semver [Pipeline] } [2020-04-08T17:24:39.086Z] $ docker exec --env ******** --env ******** 3e929138d8c3cab8ac711380db6b4b9e7e76da83e91ee3ab53c577d4647874cd ssh-agent -k [2020-04-08T17:24:39.388Z] unset SSH_AUTH_SOCK; [2020-04-08T17:24:39.388Z] unset SSH_AGENT_PID; [2020-04-08T17:24:39.388Z] echo Agent pid 63 killed; [2020-04-08T17:24:39.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-08T17:24:40.254Z] + git semver [Pipeline] } [2020-04-08T17:24:40.318Z] $ docker stop --time=1 3e929138d8c3cab8ac711380db6b4b9e7e76da83e91ee3ab53c577d4647874cd [2020-04-08T17:24:42.213Z] $ docker rm -f 3e929138d8c3cab8ac711380db6b4b9e7e76da83e91ee3ab53c577d4647874cd [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-08T17:24:43.706Z] Stashed 70 file(s) [Pipeline] echo [2020-04-08T17:24:43.707Z] [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-08T17:24:58.936Z] Still waiting to schedule task [2020-04-08T17:24:58.936Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-08T17:24:58.937Z] Still waiting to schedule task [2020-04-08T17:24:58.937Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2736’ is offline [2020-04-08T17:26:24.229Z] Running on prd-centos7-docker-4c-2g-2909 in /w/workspace/dry_go-mod-core-contracts_PR-231 [Pipeline] { [Pipeline] ws [2020-04-08T17:26:24.263Z] Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout [2020-04-08T17:26:27.267Z] using credential edgex-jenkins-ssh [2020-04-08T17:26:27.305Z] Cloning the remote Git repository [2020-04-08T17:26:27.305Z] Cloning with configured refspecs honoured and without tags [2020-04-08T17:26:27.971Z] Fetching without tags [2020-04-08T17:26:27.349Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-08T17:26:27.387Z] > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 [2020-04-08T17:26:27.434Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-08T17:26:27.434Z] > git --version # timeout=10 [2020-04-08T17:26:27.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T17:26:27.465Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/231/head:refs/remotes/origin/PR-231 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T17:26:27.950Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-04-08T17:26:27.955Z] > git config --add remote.origin.fetch +refs/pull/231/head:refs/remotes/origin/PR-231 # timeout=10 [2020-04-08T17:26:27.959Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T17:26:27.969Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-04-08T17:26:27.991Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-08T17:26:27.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T17:26:27.996Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/231/head:refs/remotes/origin/PR-231 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T17:26:28.361Z] Merging remotes/origin/master commit 3cb5917033da587cafe5cdb65fd35d8fd9b40504 into PR head commit 610884874b033a4b9bf34cd028988029b0425192 [2020-04-08T17:26:28.473Z] Merge succeeded, producing 610884874b033a4b9bf34cd028988029b0425192 [2020-04-08T17:26:28.473Z] Checking out Revision 610884874b033a4b9bf34cd028988029b0425192 (PR-231) [2020-04-08T17:26:28.375Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T17:26:28.381Z] > git checkout -f 610884874b033a4b9bf34cd028988029b0425192 # timeout=10 [2020-04-08T17:26:28.439Z] > git remote # timeout=10 [2020-04-08T17:26:28.444Z] > git config --get remote.origin.url # timeout=10 [2020-04-08T17:26:28.452Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T17:26:28.457Z] > git merge 3cb5917033da587cafe5cdb65fd35d8fd9b40504 # timeout=10 [2020-04-08T17:26:28.467Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-08T17:26:28.477Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T17:26:28.481Z] > git checkout -f 610884874b033a4b9bf34cd028988029b0425192 # timeout=10 [2020-04-08T17:26:32.380Z] Commit message: "Move SMA client to clients/agent and add functions" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-08T17:26:33.336Z] ========================================================= [2020-04-08T17:26:33.336Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-08T17:26:33.336Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:26:34.007Z] + 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-08T17:26:34.272Z] Sending build context to Docker daemon 1.732MB [2020-04-08T17:26:34.272Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-04-08T17:26:34.272Z] Step 2/7 : FROM ${BASE} [2020-04-08T17:26:34.272Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-08T17:26:34.272Z] e6b0cf9c0882: Pulling fs layer [2020-04-08T17:26:34.272Z] 2848faf0eed1: Pulling fs layer [2020-04-08T17:26:34.272Z] 0f37312ad70f: Pulling fs layer [2020-04-08T17:26:34.272Z] 5788d62ee057: Pulling fs layer [2020-04-08T17:26:34.272Z] 0e6b1d234666: Pulling fs layer [2020-04-08T17:26:34.272Z] bf5d7aec512f: Pulling fs layer [2020-04-08T17:26:34.272Z] 34c802a77dc8: Pulling fs layer [2020-04-08T17:26:34.272Z] 9eb99e56ec68: Pulling fs layer [2020-04-08T17:26:34.272Z] 27c7a5d97fbd: Pulling fs layer [2020-04-08T17:26:34.272Z] 5c102a31e300: Pulling fs layer [2020-04-08T17:26:34.272Z] dcfb455df0a1: Pulling fs layer [2020-04-08T17:26:34.272Z] 0e6b1d234666: Waiting [2020-04-08T17:26:34.272Z] bf5d7aec512f: Waiting [2020-04-08T17:26:34.272Z] 34c802a77dc8: Waiting [2020-04-08T17:26:34.272Z] 9eb99e56ec68: Waiting [2020-04-08T17:26:34.272Z] 27c7a5d97fbd: Waiting [2020-04-08T17:26:34.272Z] 5c102a31e300: Waiting [2020-04-08T17:26:34.272Z] 5788d62ee057: Waiting [2020-04-08T17:26:34.272Z] dcfb455df0a1: Waiting [2020-04-08T17:26:34.272Z] 0f37312ad70f: Download complete [2020-04-08T17:26:34.272Z] 2848faf0eed1: Verifying Checksum [2020-04-08T17:26:34.272Z] 2848faf0eed1: Download complete [2020-04-08T17:26:34.272Z] 0e6b1d234666: Verifying Checksum [2020-04-08T17:26:34.272Z] 0e6b1d234666: Download complete [2020-04-08T17:26:34.272Z] bf5d7aec512f: Download complete [2020-04-08T17:26:34.533Z] e6b0cf9c0882: Verifying Checksum [2020-04-08T17:26:34.533Z] e6b0cf9c0882: Download complete [2020-04-08T17:26:34.793Z] e6b0cf9c0882: Pull complete [2020-04-08T17:26:35.058Z] 2848faf0eed1: Pull complete [2020-04-08T17:26:35.058Z] 0f37312ad70f: Pull complete [2020-04-08T17:26:35.330Z] 34c802a77dc8: Verifying Checksum [2020-04-08T17:26:35.330Z] 34c802a77dc8: Download complete [2020-04-08T17:26:35.330Z] 27c7a5d97fbd: Verifying Checksum [2020-04-08T17:26:35.330Z] 27c7a5d97fbd: Download complete [2020-04-08T17:26:35.914Z] 5c102a31e300: Verifying Checksum [2020-04-08T17:26:35.914Z] 5c102a31e300: Download complete [2020-04-08T17:26:35.914Z] dcfb455df0a1: Verifying Checksum [2020-04-08T17:26:35.914Z] dcfb455df0a1: Download complete [2020-04-08T17:26:36.484Z] 5788d62ee057: Verifying Checksum [2020-04-08T17:26:36.484Z] 5788d62ee057: Download complete [2020-04-08T17:26:36.484Z] 9eb99e56ec68: Verifying Checksum [2020-04-08T17:26:36.484Z] 9eb99e56ec68: Download complete [2020-04-08T17:26:43.056Z] 5788d62ee057: Pull complete [2020-04-08T17:26:43.056Z] 0e6b1d234666: Pull complete [2020-04-08T17:26:43.056Z] bf5d7aec512f: Pull complete [2020-04-08T17:26:47.279Z] 34c802a77dc8: Pull complete [2020-04-08T17:26:48.708Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2908 in /w/workspace/dry_go-mod-core-contracts_PR-231 [Pipeline] { [Pipeline] ws [2020-04-08T17:26:48.774Z] Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout [2020-04-08T17:26:51.508Z] 9eb99e56ec68: Pull complete [2020-04-08T17:26:51.508Z] 27c7a5d97fbd: Pull complete [2020-04-08T17:26:52.888Z] 5c102a31e300: Pull complete [2020-04-08T17:26:52.889Z] dcfb455df0a1: Pull complete [2020-04-08T17:26:52.889Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-08T17:26:52.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-08T17:26:52.889Z] ---> 7c70fe431013 [2020-04-08T17:26:52.889Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-08T17:26:53.150Z] ---> Running in 3178007aed1d [2020-04-08T17:26:53.150Z] Removing intermediate container 3178007aed1d [2020-04-08T17:26:53.150Z] ---> 287343dc7503 [2020-04-08T17:26:53.150Z] Step 4/7 : RUN apk add bash [2020-04-08T17:26:53.411Z] ---> Running in 6881ced559cb [2020-04-08T17:26:53.775Z] using credential edgex-jenkins-ssh [2020-04-08T17:26:53.821Z] Cloning the remote Git repository [2020-04-08T17:26:53.821Z] Cloning with configured refspecs honoured and without tags [2020-04-08T17:26:53.981Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-08T17:26:54.921Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-08T17:26:54.965Z] Fetching without tags [2020-04-08T17:26:53.837Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-08T17:26:53.913Z] > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 [2020-04-08T17:26:53.976Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-08T17:26:53.977Z] > git --version # timeout=10 [2020-04-08T17:26:54.000Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T17:26:54.082Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/231/head:refs/remotes/origin/PR-231 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T17:26:54.818Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-04-08T17:26:54.852Z] > git config --add remote.origin.fetch +refs/pull/231/head:refs/remotes/origin/PR-231 # timeout=10 [2020-04-08T17:26:54.864Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T17:26:54.887Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-04-08T17:26:54.947Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-04-08T17:26:54.948Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T17:26:54.976Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/231/head:refs/remotes/origin/PR-231 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T17:26:55.181Z] OK: 143 MiB in 39 packages [2020-04-08T17:26:55.432Z] Merging remotes/origin/master commit 3cb5917033da587cafe5cdb65fd35d8fd9b40504 into PR head commit 610884874b033a4b9bf34cd028988029b0425192 [2020-04-08T17:26:55.687Z] Merge succeeded, producing 610884874b033a4b9bf34cd028988029b0425192 [2020-04-08T17:26:55.687Z] Checking out Revision 610884874b033a4b9bf34cd028988029b0425192 (PR-231) [2020-04-08T17:26:55.752Z] Removing intermediate container 6881ced559cb [2020-04-08T17:26:55.752Z] ---> 65132e01568f [2020-04-08T17:26:55.752Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-04-08T17:26:55.752Z] ---> Running in 21c0a55fe251 [2020-04-08T17:26:56.019Z] Removing intermediate container 21c0a55fe251 [2020-04-08T17:26:56.019Z] ---> a4d4d7751583 [2020-04-08T17:26:56.019Z] Step 6/7 : COPY go.mod . [2020-04-08T17:26:56.019Z] ---> 76da24ec26ff [2020-04-08T17:26:56.019Z] Step 7/7 : RUN go mod download [2020-04-08T17:26:55.419Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T17:26:55.457Z] > git checkout -f 610884874b033a4b9bf34cd028988029b0425192 # timeout=10 [2020-04-08T17:26:55.554Z] > git remote # timeout=10 [2020-04-08T17:26:55.574Z] > git config --get remote.origin.url # timeout=10 [2020-04-08T17:26:55.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T17:26:55.612Z] > git merge 3cb5917033da587cafe5cdb65fd35d8fd9b40504 # timeout=10 [2020-04-08T17:26:55.632Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-08T17:26:55.666Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T17:26:55.697Z] > git checkout -f 610884874b033a4b9bf34cd028988029b0425192 # timeout=10 [2020-04-08T17:26:56.324Z] ---> Running in b1ac8a3e50a7 [2020-04-08T17:26:57.722Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-04-08T17:26:57.722Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-08T17:26:57.983Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-08T17:26:57.983Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-08T17:26:57.983Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-08T17:26:57.983Z] go: finding github.com/google/uuid v1.1.0 [2020-04-08T17:26:57.983Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-08T17:26:57.983Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-08T17:26:57.983Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-08T17:26:57.983Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-08T17:26:57.983Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-08T17:26:59.377Z] Removing intermediate container b1ac8a3e50a7 [2020-04-08T17:26:59.377Z] ---> 3acee3a67f3a [2020-04-08T17:26:59.377Z] Successfully built 3acee3a67f3a [2020-04-08T17:26:59.377Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:27:00.005Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-08T17:27:00.005Z] . [Pipeline] withDockerContainer [2020-04-08T17:27:00.156Z] prd-centos7-docker-4c-2g-2909 does not seem to be running inside a container [2020-04-08T17:27:00.265Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-08T17:27:00.402Z] Commit message: "Move SMA client to clients/agent and add functions" [2020-04-08T17:27:01.225Z] $ docker top fe1bf3a987eadc8bb368c86b00f73393f15eb9e5d148152a4d6928f1b489ddfc -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-08T17:27:01.747Z] + go version [2020-04-08T17:27:01.747Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-08T17:27:02.155Z] + make test [2020-04-08T17:27:02.155Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] echo [2020-04-08T17:27:02.352Z] ========================================================= [2020-04-08T17:27:02.352Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-08T17:27:02.352Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:27:03.377Z] + 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-08T17:27:04.362Z] Sending build context to Docker daemon 1.732MB [2020-04-08T17:27:04.362Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-04-08T17:27:04.362Z] Step 2/7 : FROM ${BASE} [2020-04-08T17:27:04.640Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-08T17:27:04.640Z] cde5963f3b93: Pulling fs layer [2020-04-08T17:27:04.640Z] 2a23fa8c16f7: Pulling fs layer [2020-04-08T17:27:04.640Z] 777b28850792: Pulling fs layer [2020-04-08T17:27:04.640Z] 8a11ddd9e578: Pulling fs layer [2020-04-08T17:27:04.640Z] 4cf88f913ddb: Pulling fs layer [2020-04-08T17:27:04.640Z] 1df406cf5192: Pulling fs layer [2020-04-08T17:27:04.640Z] cd6300453558: Pulling fs layer [2020-04-08T17:27:04.640Z] b9c365052c96: Pulling fs layer [2020-04-08T17:27:04.640Z] a2d8cc88f415: Pulling fs layer [2020-04-08T17:27:04.640Z] ea1d1ca13537: Pulling fs layer [2020-04-08T17:27:04.640Z] 3750a50a1c5e: Pulling fs layer [2020-04-08T17:27:04.640Z] 8a11ddd9e578: Waiting [2020-04-08T17:27:04.640Z] 4cf88f913ddb: Waiting [2020-04-08T17:27:04.640Z] b9c365052c96: Waiting [2020-04-08T17:27:04.640Z] 1df406cf5192: Waiting [2020-04-08T17:27:04.640Z] a2d8cc88f415: Waiting [2020-04-08T17:27:04.640Z] cd6300453558: Waiting [2020-04-08T17:27:04.640Z] ea1d1ca13537: Waiting [2020-04-08T17:27:04.640Z] 3750a50a1c5e: Waiting [2020-04-08T17:27:04.640Z] 777b28850792: Verifying Checksum [2020-04-08T17:27:04.640Z] 777b28850792: Download complete [2020-04-08T17:27:04.640Z] 2a23fa8c16f7: Download complete [2020-04-08T17:27:04.640Z] 4cf88f913ddb: Verifying Checksum [2020-04-08T17:27:04.640Z] 4cf88f913ddb: Download complete [2020-04-08T17:27:04.640Z] 1df406cf5192: Verifying Checksum [2020-04-08T17:27:04.640Z] 1df406cf5192: Download complete [2020-04-08T17:27:04.935Z] cde5963f3b93: Download complete [2020-04-08T17:27:05.525Z] cde5963f3b93: Pull complete [2020-04-08T17:27:06.115Z] 2a23fa8c16f7: Pull complete [2020-04-08T17:27:06.381Z] 777b28850792: Pull complete [2020-04-08T17:27:09.218Z] cd6300453558: Verifying Checksum [2020-04-08T17:27:09.218Z] cd6300453558: Download complete [2020-04-08T17:27:09.218Z] a2d8cc88f415: Verifying Checksum [2020-04-08T17:27:09.218Z] a2d8cc88f415: Download complete [2020-04-08T17:27:09.224Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-04-08T17:27:11.174Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.014s coverage: 85.7% of statements [2020-04-08T17:27:11.174Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.052s coverage: 100.0% of statements [2020-04-08T17:27:11.174Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.024s coverage: 45.4% of statements [2020-04-08T17:27:11.174Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-04-08T17:27:11.174Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.010s coverage: 6.4% of statements [2020-04-08T17:27:11.191Z] ea1d1ca13537: Download complete [2020-04-08T17:27:11.484Z] 3750a50a1c5e: Verifying Checksum [2020-04-08T17:27:11.484Z] 3750a50a1c5e: Download complete [2020-04-08T17:27:13.124Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.044s coverage: 14.4% of statements [2020-04-08T17:27:13.124Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.008s coverage: 100.0% of statements [2020-04-08T17:27:13.391Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.042s coverage: 100.0% of statements [2020-04-08T17:27:13.391Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-04-08T17:27:13.391Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-04-08T17:27:13.391Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.003s coverage: 100.0% of statements [2020-04-08T17:27:13.391Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/retry 1.522s coverage: 100.0% of statements [2020-04-08T17:27:14.070Z] b9c365052c96: Verifying Checksum [2020-04-08T17:27:14.070Z] b9c365052c96: Download complete [2020-04-08T17:27:15.329Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.018s coverage: 62.5% of statements [2020-04-08T17:27:15.329Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.039s coverage: 26.3% of statements [2020-04-08T17:27:15.329Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.009s coverage: 15.4% of statements [2020-04-08T17:27:15.329Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.004s coverage: 15.4% of statements [2020-04-08T17:27:15.329Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.004s coverage: 14.3% of statements [2020-04-08T17:27:15.329Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-08T17:27:15.921Z] gofmt -l . [2020-04-08T17:27:16.016Z] 8a11ddd9e578: Verifying Checksum [2020-04-08T17:27:16.016Z] 8a11ddd9e578: Download complete [2020-04-08T17:27:16.186Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-04-08T17:27:16.714Z] Stashed 1 file(s) [Pipeline] } [2020-04-08T17:27:16.720Z] $ docker stop --time=1 fe1bf3a987eadc8bb368c86b00f73393f15eb9e5d148152a4d6928f1b489ddfc [2020-04-08T17:27:18.184Z] $ docker rm -f fe1bf3a987eadc8bb368c86b00f73393f15eb9e5d148152a4d6928f1b489ddfc [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-08T17:27:26.153Z] 8a11ddd9e578: Pull complete [2020-04-08T17:27:26.427Z] 4cf88f913ddb: Pull complete [2020-04-08T17:27:26.700Z] 1df406cf5192: Pull complete [2020-04-08T17:27:32.132Z] cd6300453558: Pull complete [2020-04-08T17:27:35.557Z] b9c365052c96: Pull complete [2020-04-08T17:27:35.829Z] a2d8cc88f415: Pull complete [2020-04-08T17:27:38.442Z] ea1d1ca13537: Pull complete [2020-04-08T17:27:38.708Z] 3750a50a1c5e: Pull complete [2020-04-08T17:27:38.708Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-08T17:27:38.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-08T17:27:38.708Z] ---> 78745c68409d [2020-04-08T17:27:38.709Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-08T17:27:42.969Z] ---> Running in 6d96360d1a2c [2020-04-08T17:27:43.237Z] Removing intermediate container 6d96360d1a2c [2020-04-08T17:27:43.237Z] ---> 6a55cdfeef12 [2020-04-08T17:27:43.237Z] Step 4/7 : RUN apk add bash [2020-04-08T17:27:43.237Z] ---> Running in 2acf0a85cf36 [2020-04-08T17:27:44.198Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-08T17:27:45.153Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-08T17:27:45.734Z] OK: 125 MiB in 39 packages [2020-04-08T17:27:47.157Z] Removing intermediate container 2acf0a85cf36 [2020-04-08T17:27:47.158Z] ---> 4cae1806a2a5 [2020-04-08T17:27:47.158Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-04-08T17:27:47.158Z] ---> Running in be6a1697a54f [2020-04-08T17:27:47.428Z] Removing intermediate container be6a1697a54f [2020-04-08T17:27:47.428Z] ---> 6c3f0fae51cf [2020-04-08T17:27:47.428Z] Step 6/7 : COPY go.mod . [2020-04-08T17:27:48.015Z] ---> 0d5a06a83777 [2020-04-08T17:27:48.015Z] Step 7/7 : RUN go mod download [2020-04-08T17:27:48.289Z] ---> Running in 282250efbe17 [2020-04-08T17:27:50.235Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-04-08T17:27:50.235Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-08T17:27:50.499Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-08T17:27:50.499Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-08T17:27:50.499Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-08T17:27:50.499Z] go: finding github.com/google/uuid v1.1.0 [2020-04-08T17:27:50.499Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-08T17:27:50.499Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-08T17:27:50.499Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-08T17:27:50.499Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-08T17:27:50.499Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-08T17:27:53.844Z] Removing intermediate container 282250efbe17 [2020-04-08T17:27:53.844Z] ---> e77a2feb2bef [2020-04-08T17:27:53.844Z] Successfully built e77a2feb2bef [2020-04-08T17:27:53.844Z] 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-08T17:27:54.470Z] + docker inspect -f . ci-base-image-arm64 [2020-04-08T17:27:54.470Z] . [Pipeline] withDockerContainer [2020-04-08T17:27:55.076Z] prd-ubuntu18.04-docker-arm64-4c-16g-2908 does not seem to be running inside a container [2020-04-08T17:27:55.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-08T17:27:56.580Z] $ docker top ea57d253b14f7c3e7f7d41cd50d9cf4c7e05d2c24b8183f62277105152f76be1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-08T17:27:57.673Z] + go version [2020-04-08T17:27:57.673Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-08T17:27:58.329Z] + make test [2020-04-08T17:27:58.329Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-04-08T17:28:16.674Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-04-08T17:28:18.146Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.039s coverage: 85.7% of statements [2020-04-08T17:28:18.146Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.036s coverage: 100.0% of statements [2020-04-08T17:28:20.749Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.040s coverage: 45.4% of statements [2020-04-08T17:28:20.749Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-04-08T17:28:20.749Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.031s coverage: 6.4% of statements [2020-04-08T17:28:22.173Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.072s coverage: 14.4% of statements [2020-04-08T17:28:22.173Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.021s coverage: 100.0% of statements [2020-04-08T17:28:24.159Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.093s coverage: 100.0% of statements [2020-04-08T17:28:24.159Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-04-08T17:28:24.159Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-04-08T17:28:24.159Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.036s coverage: 100.0% of statements [2020-04-08T17:28:24.159Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/retry 1.557s coverage: 100.0% of statements [2020-04-08T17:28:24.159Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.085s coverage: 62.5% of statements [2020-04-08T17:28:25.128Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.091s coverage: 26.3% of statements [2020-04-08T17:28:25.397Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.041s coverage: 15.4% of statements [2020-04-08T17:28:26.407Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.014s coverage: 15.4% of statements [2020-04-08T17:28:26.407Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.014s coverage: 14.3% of statements [2020-04-08T17:28:26.675Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-08T17:28:29.268Z] gofmt -l . [2020-04-08T17:28:29.536Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-04-08T17:28:29.848Z] Warning: overwriting stash ‘coverage-report’ [2020-04-08T17:28:30.339Z] Stashed 1 file(s) [Pipeline] } [2020-04-08T17:28:30.353Z] $ docker stop --time=1 ea57d253b14f7c3e7f7d41cd50d9cf4c7e05d2c24b8183f62277105152f76be1 [2020-04-08T17:28:32.616Z] $ docker rm -f ea57d253b14f7c3e7f7d41cd50d9cf4c7e05d2c24b8183f62277105152f76be1 [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-08T17:28:34.386Z] provisioning config files... [2020-04-08T17:28:34.399Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-231@tmp/config5216559818723304354tmp [Pipeline] { [Pipeline] sh [2020-04-08T17:28:34.763Z] + bash -s - -t @/w/workspace/dry_go-mod-core-contracts_PR-231@tmp/config5216559818723304354tmp [2020-04-08T17:28:34.764Z] + curl -s https://codecov.io/bash [2020-04-08T17:28:35.024Z] [2020-04-08T17:28:35.025Z] _____ _ [2020-04-08T17:28:35.025Z] / ____| | | [2020-04-08T17:28:35.025Z] | | ___ __| | ___ ___ _____ __ [2020-04-08T17:28:35.025Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-08T17:28:35.025Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-08T17:28:35.025Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-08T17:28:35.025Z] Bash-tbd [2020-04-08T17:28:35.025Z] [2020-04-08T17:28:35.025Z] [2020-04-08T17:28:35.025Z] ==> Jenkins CI detected. [2020-04-08T17:28:35.025Z] project root: . [2020-04-08T17:28:35.025Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-08T17:28:35.289Z] ==> Running gcov in . (disable via -X gcov) [2020-04-08T17:28:35.289Z] ==> Python coveragepy not found [2020-04-08T17:28:35.289Z] ==> Searching for coverage reports in: [2020-04-08T17:28:35.289Z] + . [2020-04-08T17:28:35.289Z] -> Found 1 reports [2020-04-08T17:28:35.289Z] ==> Detecting git/mercurial file structure [2020-04-08T17:28:35.289Z] ==> Reading reports [2020-04-08T17:28:35.289Z] + ./coverage.out bytes=81805 [2020-04-08T17:28:35.289Z] ==> Appending adjustments [2020-04-08T17:28:35.289Z] http://docs.codecov.io/docs/fixing-reports [2020-04-08T17:28:35.862Z] + Found adjustments [2020-04-08T17:28:35.862Z] ==> Gzipping contents [2020-04-08T17:28:35.862Z] ==> Uploading reports [2020-04-08T17:28:35.862Z] url: https://codecov.io [2020-04-08T17:28:35.862Z] query: branch=PR-231&commit=610884874b033a4b9bf34cd028988029b0425192&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-231%2F5%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=231&job= [2020-04-08T17:28:35.862Z] -> Pinging Codecov [2020-04-08T17:28:35.862Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-231&commit=610884874b033a4b9bf34cd028988029b0425192&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-231%2F5%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=231&job= [2020-04-08T17:28:36.432Z] -> Uploading [2020-04-08T17:28:37.007Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/610884874b033a4b9bf34cd028988029b0425192 [Pipeline] } [2020-04-08T17:28:37.016Z] 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-08T17:28:38.278Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T17:28:38.606Z] ---> package-listing.sh [2020-04-08T17:28:38.606Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-08T17:28:38.606Z] ++ facter osfamily [2020-04-08T17:28:38.606Z] + OS_FAMILY=redhat [2020-04-08T17:28:38.606Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-231 [2020-04-08T17:28:38.606Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-08T17:28:38.606Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-08T17:28:38.606Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-08T17:28:38.606Z] + PACKAGES=/tmp/packages_start.txt [2020-04-08T17:28:38.606Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-231 ']' [2020-04-08T17:28:38.606Z] + PACKAGES=/tmp/packages_end.txt [2020-04-08T17:28:38.606Z] + case "${OS_FAMILY}" in [2020-04-08T17:28:38.606Z] + rpm -qa [2020-04-08T17:28:38.606Z] + sort [2020-04-08T17:28:44.351Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-08T17:28:44.351Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-08T17:28:44.351Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-08T17:28:44.351Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-231 ']' [2020-04-08T17:28:44.351Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-231/archives/ [2020-04-08T17:28:44.351Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-231/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:28:44.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-08T17:28:44.897Z] [2020-04-08T17:28:44.897Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-08T17:28:45.278Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-08T17:28:45.584Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-08T17:28:45.584Z] c9b1b535fdd9: Pulling fs layer [2020-04-08T17:28:45.584Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-08T17:28:45.584Z] 756a868c4378: Pulling fs layer [2020-04-08T17:28:45.584Z] 444b2fc9a129: Pulling fs layer [2020-04-08T17:28:45.584Z] ea15f1150254: Pulling fs layer [2020-04-08T17:28:45.584Z] 41b27a9f41bf: Pulling fs layer [2020-04-08T17:28:45.584Z] 28c525ee5125: Pulling fs layer [2020-04-08T17:28:45.584Z] 094b1ea09ed8: Pulling fs layer [2020-04-08T17:28:45.584Z] 138eaada9080: Pulling fs layer [2020-04-08T17:28:45.584Z] 0622d0fa9048: Pulling fs layer [2020-04-08T17:28:45.584Z] 444b2fc9a129: Waiting [2020-04-08T17:28:45.584Z] ea15f1150254: Waiting [2020-04-08T17:28:45.584Z] 41b27a9f41bf: Waiting [2020-04-08T17:28:45.584Z] 28c525ee5125: Waiting [2020-04-08T17:28:45.584Z] 094b1ea09ed8: Waiting [2020-04-08T17:28:45.584Z] 138eaada9080: Waiting [2020-04-08T17:28:45.584Z] 0622d0fa9048: Waiting [2020-04-08T17:28:45.584Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-08T17:28:45.584Z] 2cc5ad85d9ab: Download complete [2020-04-08T17:28:45.584Z] 444b2fc9a129: Verifying Checksum [2020-04-08T17:28:45.584Z] 444b2fc9a129: Download complete [2020-04-08T17:28:45.584Z] c9b1b535fdd9: Verifying Checksum [2020-04-08T17:28:45.584Z] c9b1b535fdd9: Download complete [2020-04-08T17:28:45.584Z] ea15f1150254: Download complete [2020-04-08T17:28:45.906Z] 28c525ee5125: Verifying Checksum [2020-04-08T17:28:45.906Z] 28c525ee5125: Download complete [2020-04-08T17:28:46.500Z] 756a868c4378: Verifying Checksum [2020-04-08T17:28:46.500Z] 756a868c4378: Download complete [2020-04-08T17:28:46.500Z] c9b1b535fdd9: Pull complete [2020-04-08T17:28:46.500Z] 094b1ea09ed8: Verifying Checksum [2020-04-08T17:28:46.500Z] 094b1ea09ed8: Download complete [2020-04-08T17:28:46.500Z] 138eaada9080: Verifying Checksum [2020-04-08T17:28:46.500Z] 138eaada9080: Download complete [2020-04-08T17:28:46.500Z] 0622d0fa9048: Verifying Checksum [2020-04-08T17:28:46.500Z] 0622d0fa9048: Download complete [2020-04-08T17:28:46.795Z] 2cc5ad85d9ab: Pull complete [2020-04-08T17:28:47.880Z] 41b27a9f41bf: Verifying Checksum [2020-04-08T17:28:47.880Z] 41b27a9f41bf: Download complete [2020-04-08T17:28:49.289Z] 756a868c4378: Pull complete [2020-04-08T17:28:49.289Z] 444b2fc9a129: Pull complete [2020-04-08T17:28:49.891Z] ea15f1150254: Pull complete [2020-04-08T17:28:56.608Z] 41b27a9f41bf: Pull complete [2020-04-08T17:28:56.608Z] 28c525ee5125: Pull complete [2020-04-08T17:28:59.253Z] 094b1ea09ed8: Pull complete [2020-04-08T17:28:59.253Z] 138eaada9080: Pull complete [2020-04-08T17:28:59.253Z] 0622d0fa9048: Pull complete [2020-04-08T17:28:59.253Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-08T17:28:59.253Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-08T17:28:59.507Z] prd-centos7-docker-4c-2g-2907 does not seem to be running inside a container [2020-04-08T17:28:59.604Z] $ 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-231 -v /w/workspace/dry_go-mod-core-contracts_PR-231:/w/workspace/dry_go-mod-core-contracts_PR-231:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-231@tmp:/w/workspace/dry_go-mod-core-contracts_PR-231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-08T17:29:00.918Z] $ docker top 00ccddaccdc47bae10e1077b770a93f8251ca5027b5448186ccc85e28282345b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-04-08T17:29:01.196Z] provisioning config files... [2020-04-08T17:29:01.212Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-231@tmp/config6175010704166131513tmp [Pipeline] { [Pipeline] echo [2020-04-08T17:29:01.269Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T17:29:01.911Z] ---> create-netrc.sh [Pipeline] echo [2020-04-08T17:29:01.939Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T17:29:02.635Z] ---> logs-deploy.sh [2020-04-08T17:29:02.635Z] + ARCHIVE_ARTIFACTS= [2020-04-08T17:29:02.635Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-08T17:29:02.635Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-08T17:29:02.635Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-08T17:29:02.635Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-231/5 [2020-04-08T17:29:02.635Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-231/5/ [2020-04-08T17:29:02.635Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-231/5 /w/workspace/dry_go-mod-core-contracts_PR-231 [2020-04-08T17:29:04.178Z] Archives upload complete. [2020-04-08T17:29:04.456Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-231/5 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-231/5/