Pull request #253 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 weichou1229 for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at bb23a71e0387f48b774a4c52a4064e316f42887d rather than 1b82f5caa4025e3ae21f86518d8c17e3232772c3 Obtained Jenkinsfile from bb23a71e0387f48b774a4c52a4064e316f42887d Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project: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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-core-contracts DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: patch SNAP_CHANNEL: latest/edge BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1249 in /w/workspace/dry_go-mod-core-contracts_PR-253 [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-253 # 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/253/head:refs/remotes/origin/PR-253 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit bb23a71e0387f48b774a4c52a4064e316f42887d into PR head commit 1b82f5caa4025e3ae21f86518d8c17e3232772c3 Merge succeeded, producing 1b82f5caa4025e3ae21f86518d8c17e3232772c3 Checking out Revision 1b82f5caa4025e3ae21f86518d8c17e3232772c3 (PR-253) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/253/head:refs/remotes/origin/PR-253 # 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/253/head:refs/remotes/origin/PR-253 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b82f5caa4025e3ae21f86518d8c17e3232772c3 # 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 bb23a71e0387f48b774a4c52a4064e316f42887d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b82f5caa4025e3ae21f86518d8c17e3232772c3 # timeout=10 Commit message: "feat(metadata): Create metadata DTOs and models for V2 API" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:09:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 592af97fe6d4943566a5ac757127f75f0c948cdd # timeout=10 09:09:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:09:59 ========================================================= 09:09:59 EdgeX Global Pipelines Version Info 09:09:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:10:00 ------------------- 09:10:00 stable info: 09:10:00 ------------------- 09:10:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:10:00 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 09:10:00 Message: update stable to v1.0.106 09:10:01 ------------------- 09:10:01 experimental info: 09:10:01 ------------------- 09:10:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:10:01 Commit SHA: 30a0a69b1d8223a6590fc13400a32918a7eece87 09:10:01 Message: update experimental to v1.0.107 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:10:03 + git log --format=format:%s -1 1b82f5caa4025e3ae21f86518d8c17e3232772c3 [Pipeline] echo 09:10:04 GIT_COMMIT: 1b82f5caa4025e3ae21f86518d8c17e3232772c3, Commit Message: feat(metadata): Create metadata DTOs and models for V2 API [Pipeline] echo 09:10:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:10:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:10:05 09:10:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:10:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:10:05 latest: Pulling from edgex-devops/git-semver 09:10:05 31603596830f: Pulling fs layer 09:10:05 2a8b12db71e7: Pulling fs layer 09:10:05 6ca5941a6612: Pulling fs layer 09:10:05 ecc8261a40a4: Pulling fs layer 09:10:05 ecc8261a40a4: Waiting 09:10:05 2a8b12db71e7: Download complete 09:10:05 31603596830f: Verifying Checksum 09:10:05 31603596830f: Download complete 09:10:05 ecc8261a40a4: Verifying Checksum 09:10:05 ecc8261a40a4: Download complete 09:10:05 6ca5941a6612: Verifying Checksum 09:10:05 6ca5941a6612: Download complete 09:10:05 31603596830f: Pull complete 09:10:05 2a8b12db71e7: Pull complete 09:10:06 6ca5941a6612: Pull complete 09:10:06 ecc8261a40a4: Pull complete 09:10:06 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:10:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:10:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:10:07 prd-centos7-docker-4c-2g-1249 does not seem to be running inside a container 09:10:07 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-253 -v /w/workspace/dry_go-mod-core-contracts_PR-253:/w/workspace/dry_go-mod-core-contracts_PR-253:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-253@tmp:/w/workspace/dry_go-mod-core-contracts_PR-253@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:10:09 $ docker top fe199fbf9e9564d9edd9ff385bb348043065f990a9dd98886f16e957a8b90fd5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:10:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:10:09 [ssh-agent] Looking for ssh-agent implementation... 09:10:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:10:09 $ docker exec fe199fbf9e9564d9edd9ff385bb348043065f990a9dd98886f16e957a8b90fd5 ssh-agent 09:10:09 SSH_AUTH_SOCK=/tmp/ssh-bOxaxRisATwf/agent.11 09:10:09 SSH_AGENT_PID=16 09:10:09 Running ssh-add (command line suppressed) 09:10:09 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-253@tmp/private_key_7638918564560560088.key (/w/workspace/dry_go-mod-core-contracts_PR-253@tmp/private_key_7638918564560560088.key) 09:10:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:10:10 + git describe --exact-match --tags HEAD 09:10:10 fatal: No names found, cannot describe anything. [Pipeline] } 09:10:10 $ docker exec --env ******** --env ******** fe199fbf9e9564d9edd9ff385bb348043065f990a9dd98886f16e957a8b90fd5 ssh-agent -k 09:10:10 unset SSH_AUTH_SOCK; 09:10:10 unset SSH_AGENT_PID; 09:10:10 echo Agent pid 16 killed; 09:10:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:10:10 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:10:10 This usually means this commit has not been tagged. [Pipeline] sshagent 09:10:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:10:10 [ssh-agent] Looking for ssh-agent implementation... 09:10:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:10:10 $ docker exec fe199fbf9e9564d9edd9ff385bb348043065f990a9dd98886f16e957a8b90fd5 ssh-agent 09:10:10 SSH_AUTH_SOCK=/tmp/ssh-CYfv4kCqUVNx/agent.46 09:10:10 SSH_AGENT_PID=51 09:10:11 Running ssh-add (command line suppressed) 09:10:11 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-253@tmp/private_key_6959248165799364659.key (/w/workspace/dry_go-mod-core-contracts_PR-253@tmp/private_key_6959248165799364659.key) 09:10:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:10:11 + git semver init 09:10:11 # -> Open(): unable to determine branch for HEAD 09:10:11 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-253/.git 09:10:11 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-253 09:10:11 # $SEMVER_REMOTE_NAME = origin 09:10:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:10:11 # $SEMVER_USER_NAME = edgex-jenkins 09:10:11 # $SEMVER_BRANCH = PR-253 09:10:11 # $SEMVER_TEMP = /tmp/semver-030356060 09:10:11 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 09:10:12 # '/tmp/semver-030356060' -> '/w/workspace/dry_go-mod-core-contracts_PR-253/.semver' 09:10:12 # -> Force: false 09:10:12 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-253/.semver [Pipeline] } 09:10:12 $ docker exec --env ******** --env ******** fe199fbf9e9564d9edd9ff385bb348043065f990a9dd98886f16e957a8b90fd5 ssh-agent -k 09:10:12 unset SSH_AUTH_SOCK; 09:10:12 unset SSH_AGENT_PID; 09:10:12 echo Agent pid 51 killed; 09:10:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:10:12 + git semver [Pipeline] } 09:10:12 $ docker stop --time=1 fe199fbf9e9564d9edd9ff385bb348043065f990a9dd98886f16e957a8b90fd5 09:10:14 $ docker rm -f fe199fbf9e9564d9edd9ff385bb348043065f990a9dd98886f16e957a8b90fd5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:10:15 Stashed 81 file(s) [Pipeline] echo 09:10:15 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 09:10:15 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 09:10:30 Still waiting to schedule task 09:10:30 ‘prd-centos7-builder-2c-1g-1245’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-725’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-1246’ is offline; ‘prd-centos7-docker-4c-2g-1248’ is offline; ‘prd-centos7-docker-4c-2g-1250’ is offline; ‘prd-centos7-docker-4c-2g-724’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1247’ doesn’t have label ‘centos7-docker-4c-2g’ 09:10:30 Still waiting to schedule task 09:10:30 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1247’ is offline 09:11:33 Running on prd-centos7-docker-4c-2g-1251 in /w/workspace/dry_go-mod-core-contracts_PR-253 [Pipeline] { [Pipeline] ws 09:11:33 Running in /w/workspace/go-mod-core-contracts/15 [Pipeline] { [Pipeline] checkout 09:11:37 using credential edgex-jenkins-ssh 09:11:37 Cloning the remote Git repository 09:11:37 Cloning with configured refspecs honoured and without tags 09:11:37 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 09:11:37 > git init /w/workspace/go-mod-core-contracts/15 # timeout=10 09:11:37 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 09:11:37 > git --version # timeout=10 09:11:37 using GIT_SSH to set credentials SSH Credentials for GitHub 09:11:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/253/head:refs/remotes/origin/PR-253 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:11:38 Fetching without tags 09:11:39 Merging remotes/origin/master commit bb23a71e0387f48b774a4c52a4064e316f42887d into PR head commit 1b82f5caa4025e3ae21f86518d8c17e3232772c3 09:11:39 Merge succeeded, producing 1b82f5caa4025e3ae21f86518d8c17e3232772c3 09:11:39 Checking out Revision 1b82f5caa4025e3ae21f86518d8c17e3232772c3 (PR-253) 09:11:38 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 09:11:38 > git config --add remote.origin.fetch +refs/pull/253/head:refs/remotes/origin/PR-253 # timeout=10 09:11:38 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:11:38 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 09:11:38 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 09:11:38 using GIT_SSH to set credentials SSH Credentials for GitHub 09:11:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/253/head:refs/remotes/origin/PR-253 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:11:39 > git config core.sparsecheckout # timeout=10 09:11:39 > git checkout -f 1b82f5caa4025e3ae21f86518d8c17e3232772c3 # timeout=10 09:11:39 > git remote # timeout=10 09:11:39 > git config --get remote.origin.url # timeout=10 09:11:39 using GIT_SSH to set credentials SSH Credentials for GitHub 09:11:39 > git merge bb23a71e0387f48b774a4c52a4064e316f42887d # timeout=10 09:11:39 > git rev-parse HEAD^{commit} # timeout=10 09:11:39 > git config core.sparsecheckout # timeout=10 09:11:39 > git checkout -f 1b82f5caa4025e3ae21f86518d8c17e3232772c3 # timeout=10 09:11:43 Commit message: "feat(metadata): Create metadata DTOs and models for V2 API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:11:44 ========================================================= 09:11:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 09:11:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:11:45 + 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 . 09:11:46 Sending build context to Docker daemon 2.002MB 09:11:46 Step 1/7 : ARG BASE=golang:1.13-alpine 09:11:46 Step 2/7 : FROM ${BASE} 09:11:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 09:11:46 df20fa9351a1: Pulling fs layer 09:11:46 ed8968b2872e: Pulling fs layer 09:11:46 a92cc7c5fd73: Pulling fs layer 09:11:46 2dd03ba5bac4: Pulling fs layer 09:11:46 1e091d79d1de: Pulling fs layer 09:11:46 481702a1767f: Pulling fs layer 09:11:46 f64a6f60c768: Pulling fs layer 09:11:46 e78d2573fc39: Pulling fs layer 09:11:46 e876d2f968b6: Pulling fs layer 09:11:46 ce8a83651883: Pulling fs layer 09:11:46 07967f4d0e4b: Pulling fs layer 09:11:46 f64a6f60c768: Waiting 09:11:46 ce8a83651883: Waiting 09:11:46 e78d2573fc39: Waiting 09:11:46 e876d2f968b6: Waiting 09:11:46 07967f4d0e4b: Waiting 09:11:46 2dd03ba5bac4: Waiting 09:11:46 1e091d79d1de: Waiting 09:11:46 481702a1767f: Waiting 09:11:46 a92cc7c5fd73: Verifying Checksum 09:11:46 a92cc7c5fd73: Download complete 09:11:46 ed8968b2872e: Download complete 09:11:46 1e091d79d1de: Download complete 09:11:46 481702a1767f: Verifying Checksum 09:11:46 481702a1767f: Download complete 09:11:46 df20fa9351a1: Verifying Checksum 09:11:46 df20fa9351a1: Download complete 09:11:46 df20fa9351a1: Pull complete 09:11:46 ed8968b2872e: Pull complete 09:11:48 f64a6f60c768: Verifying Checksum 09:11:48 f64a6f60c768: Download complete 09:11:48 e876d2f968b6: Verifying Checksum 09:11:48 e876d2f968b6: Download complete 09:11:48 a92cc7c5fd73: Pull complete 09:11:49 e78d2573fc39: Verifying Checksum 09:11:49 e78d2573fc39: Download complete 09:11:49 2dd03ba5bac4: Verifying Checksum 09:11:49 2dd03ba5bac4: Download complete 09:11:49 07967f4d0e4b: Verifying Checksum 09:11:49 07967f4d0e4b: Download complete 09:11:50 ce8a83651883: Verifying Checksum 09:11:50 ce8a83651883: Download complete 09:12:01 2dd03ba5bac4: Pull complete 09:12:01 1e091d79d1de: Pull complete 09:12:01 481702a1767f: Pull complete 09:12:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1252 in /w/workspace/dry_go-mod-core-contracts_PR-253 [Pipeline] { [Pipeline] ws 09:12:01 Running in /w/workspace/go-mod-core-contracts/15 [Pipeline] { [Pipeline] checkout 09:12:06 f64a6f60c768: Pull complete 09:12:06 using credential edgex-jenkins-ssh 09:12:06 Cloning the remote Git repository 09:12:06 Cloning with configured refspecs honoured and without tags 09:12:06 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 09:12:07 > git init /w/workspace/go-mod-core-contracts/15 # timeout=10 09:12:07 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 09:12:07 > git --version # timeout=10 09:12:07 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/253/head:refs/remotes/origin/PR-253 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:12:08 Fetching without tags 09:12:08 Merging remotes/origin/master commit bb23a71e0387f48b774a4c52a4064e316f42887d into PR head commit 1b82f5caa4025e3ae21f86518d8c17e3232772c3 09:12:09 Merge succeeded, producing 1b82f5caa4025e3ae21f86518d8c17e3232772c3 09:12:09 Checking out Revision 1b82f5caa4025e3ae21f86518d8c17e3232772c3 (PR-253) 09:12:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 09:12:08 > git config --add remote.origin.fetch +refs/pull/253/head:refs/remotes/origin/PR-253 # timeout=10 09:12:08 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:12:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 09:12:08 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 09:12:08 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/253/head:refs/remotes/origin/PR-253 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:12:08 > git config core.sparsecheckout # timeout=10 09:12:08 > git checkout -f 1b82f5caa4025e3ae21f86518d8c17e3232772c3 # timeout=10 09:12:08 > git remote # timeout=10 09:12:09 > git config --get remote.origin.url # timeout=10 09:12:09 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:09 > git merge bb23a71e0387f48b774a4c52a4064e316f42887d # timeout=10 09:12:09 > git rev-parse HEAD^{commit} # timeout=10 09:12:09 > git config core.sparsecheckout # timeout=10 09:12:09 > git checkout -f 1b82f5caa4025e3ae21f86518d8c17e3232772c3 # timeout=10 09:12:11 e78d2573fc39: Pull complete 09:12:11 e876d2f968b6: Pull complete 09:12:12 ce8a83651883: Pull complete 09:12:13 Commit message: "feat(metadata): Create metadata DTOs and models for V2 API" 09:12:13 07967f4d0e4b: Pull complete 09:12:13 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 09:12:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 09:12:13 ---> 5d7c900382c6 09:12:13 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:12:14 ========================================================= 09:12:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 09:12:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:12:14 ---> Running in 7384752a25c5 09:12:14 Removing intermediate container 7384752a25c5 09:12:14 ---> fbe014f9ec13 09:12:14 Step 4/7 : RUN apk add bash 09:12:14 ---> Running in 25dca581a33d 09:12:15 + 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 . 09:12:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:12:16 Sending build context to Docker daemon 2.002MB 09:12:16 Step 1/7 : ARG BASE=golang:1.13-alpine 09:12:16 Step 2/7 : FROM ${BASE} 09:12:16 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:12:16 b538f80385f9: Pulling fs layer 09:12:16 74f711af9a0d: Pulling fs layer 09:12:16 99f96fe45779: Pulling fs layer 09:12:16 fd7a069fd194: Pulling fs layer 09:12:16 66aa3694b03b: Pulling fs layer 09:12:16 170f70906a0f: Pulling fs layer 09:12:16 ad7c5574e4b9: Pulling fs layer 09:12:16 e772456be8f7: Pulling fs layer 09:12:16 c890913d741a: Pulling fs layer 09:12:16 2480fcc9aa5a: Pulling fs layer 09:12:16 09adf4765672: Pulling fs layer 09:12:16 fd7a069fd194: Waiting 09:12:16 66aa3694b03b: Waiting 09:12:16 170f70906a0f: Waiting 09:12:16 ad7c5574e4b9: Waiting 09:12:16 e772456be8f7: Waiting 09:12:16 c890913d741a: Waiting 09:12:16 2480fcc9aa5a: Waiting 09:12:16 09adf4765672: Waiting 09:12:16 99f96fe45779: Verifying Checksum 09:12:16 99f96fe45779: Download complete 09:12:16 74f711af9a0d: Verifying Checksum 09:12:16 74f711af9a0d: Download complete 09:12:16 66aa3694b03b: Verifying Checksum 09:12:16 66aa3694b03b: Download complete 09:12:16 170f70906a0f: Verifying Checksum 09:12:16 170f70906a0f: Download complete 09:12:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:12:17 b538f80385f9: Verifying Checksum 09:12:17 b538f80385f9: Pull complete 09:12:18 74f711af9a0d: Pull complete 09:12:18 99f96fe45779: Pull complete 09:12:19 OK: 166 MiB in 39 packages 09:12:19 ad7c5574e4b9: Verifying Checksum 09:12:19 ad7c5574e4b9: Download complete 09:12:19 c890913d741a: Verifying Checksum 09:12:19 c890913d741a: Download complete 09:12:19 Removing intermediate container 25dca581a33d 09:12:19 ---> 1832c54203de 09:12:19 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 09:12:19 ---> Running in 0e7ec524eb64 09:12:20 Removing intermediate container 0e7ec524eb64 09:12:20 ---> 116e6e73f377 09:12:20 Step 6/7 : COPY go.mod . 09:12:20 ---> 9108b2beed0b 09:12:20 Step 7/7 : RUN go mod download 09:12:20 ---> Running in 8b737cbb388b 09:12:21 2480fcc9aa5a: Verifying Checksum 09:12:21 2480fcc9aa5a: Download complete 09:12:21 09adf4765672: Verifying Checksum 09:12:21 09adf4765672: Download complete 09:12:21 e772456be8f7: Verifying Checksum 09:12:21 e772456be8f7: Download complete 09:12:22 fd7a069fd194: Verifying Checksum 09:12:22 fd7a069fd194: Download complete 09:12:22 go: finding github.com/davecgh/go-spew v1.1.0 09:12:22 go: finding github.com/fxamacker/cbor/v2 v2.2.0 09:12:22 go: finding github.com/go-kit/kit v0.8.0 09:12:22 go: finding github.com/go-logfmt/logfmt v0.4.0 09:12:22 go: finding github.com/go-playground/assert/v2 v2.0.1 09:12:22 go: finding github.com/go-playground/locales v0.13.0 09:12:22 go: finding github.com/go-playground/universal-translator v0.17.0 09:12:22 go: finding github.com/go-playground/validator/v10 v10.3.0 09:12:22 go: finding github.com/go-stack/stack v1.8.0 09:12:22 go: finding github.com/google/uuid v1.1.0 09:12:22 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:12:22 go: finding github.com/leodido/go-urn v1.2.0 09:12:22 go: finding github.com/pmezard/go-difflib v1.0.0 09:12:22 go: finding github.com/stretchr/objx v0.1.0 09:12:22 go: finding github.com/stretchr/testify v1.5.1 09:12:22 go: finding github.com/x448/float16 v0.8.4 09:12:22 go: finding golang.org/x/text v0.3.2 09:12:22 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 09:12:22 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:12:22 go: finding gopkg.in/yaml.v2 v2.2.8 09:12:33 Removing intermediate container 8b737cbb388b 09:12:33 ---> 5e819cf69fba 09:12:33 Successfully built 5e819cf69fba 09:12:33 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 09:12:34 + docker inspect -f . ci-base-image-x86_64 09:12:34 . [Pipeline] withDockerContainer 09:12:34 prd-centos7-docker-4c-2g-1251 does not seem to be running inside a container 09:12:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/15 -v /w/workspace/go-mod-core-contracts/15:/w/workspace/go-mod-core-contracts/15:rw,z -v /w/workspace/go-mod-core-contracts/15@tmp:/w/workspace/go-mod-core-contracts/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:12:34 fd7a069fd194: Pull complete 09:12:34 66aa3694b03b: Pull complete 09:12:34 170f70906a0f: Pull complete 09:12:36 $ docker top b2da09d1e54d13eed9a94957245fc9e40ec30b5b2b92fb3a53a57e80f5661e6c -eo pid,comm [Pipeline] { [Pipeline] sh 09:12:36 + go version 09:12:36 go version go1.13.13 linux/amd64 [Pipeline] sh 09:12:37 + make test 09:12:37 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:12:37 ad7c5574e4b9: Pull complete 09:12:42 e772456be8f7: Pull complete 09:12:42 c890913d741a: Pull complete 09:12:45 2480fcc9aa5a: Pull complete 09:12:45 09adf4765672: Pull complete 09:12:45 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 09:12:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 09:12:45 ---> 2248a725d1cf 09:12:45 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:12:50 ---> Running in 6897f0aeec32 09:12:50 Removing intermediate container 6897f0aeec32 09:12:50 ---> e652c7ab97d4 09:12:50 Step 4/7 : RUN apk add bash 09:12:50 ---> Running in f553eb720bdc 09:12:50 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 09:12:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:12:52 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.017s coverage: 85.7% of statements 09:12:52 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.065s coverage: 100.0% of statements 09:12:53 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.034s coverage: 45.4% of statements 09:12:53 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.016s coverage: 77.8% of statements 09:12:53 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 09:12:53 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.018s coverage: 6.4% of statements 09:12:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:12:55 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.039s coverage: 14.4% of statements 09:12:55 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.013s coverage: 100.0% of statements 09:12:55 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.097s coverage: 91.8% of statements 09:12:55 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 09:12:55 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 09:12:55 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.011s coverage: 100.0% of statements 09:12:55 OK: 142 MiB in 39 packages 09:12:56 Removing intermediate container f553eb720bdc 09:12:56 ---> 5436bb0ed50a 09:12:56 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 09:12:56 ---> Running in b9245e4c3091 09:12:57 Removing intermediate container b9245e4c3091 09:12:57 ---> 4ed3d9f9eb5d 09:12:57 Step 6/7 : COPY go.mod . 09:12:57 ---> 63b2ab4e64b3 09:12:57 Step 7/7 : RUN go mod download 09:12:57 ---> Running in f8ab89cd5660 09:12:59 go: finding github.com/davecgh/go-spew v1.1.0 09:13:00 go: finding github.com/fxamacker/cbor/v2 v2.2.0 09:13:00 go: finding github.com/go-kit/kit v0.8.0 09:13:00 go: finding github.com/go-logfmt/logfmt v0.4.0 09:13:00 go: finding github.com/go-playground/assert/v2 v2.0.1 09:13:00 go: finding github.com/go-playground/locales v0.13.0 09:13:00 go: finding github.com/go-playground/universal-translator v0.17.0 09:13:00 go: finding github.com/go-playground/validator/v10 v10.3.0 09:13:00 go: finding github.com/go-stack/stack v1.8.0 09:13:00 go: finding github.com/google/uuid v1.1.0 09:13:00 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:13:00 go: finding github.com/leodido/go-urn v1.2.0 09:13:00 go: finding github.com/pmezard/go-difflib v1.0.0 09:13:00 go: finding github.com/stretchr/objx v0.1.0 09:13:00 go: finding github.com/stretchr/testify v1.5.1 09:13:00 go: finding github.com/x448/float16 v0.8.4 09:13:00 go: finding golang.org/x/text v0.3.2 09:13:00 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 09:13:00 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:13:00 go: finding gopkg.in/yaml.v2 v2.2.8 09:13:01 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.058s coverage: 62.6% of statements 09:13:01 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.046s coverage: 26.3% of statements 09:13:01 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.055s coverage: 15.4% of statements 09:13:01 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.011s coverage: 15.4% of statements 09:13:01 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.060s coverage: 14.3% of statements 09:13:01 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 09:13:01 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.006s coverage: 38.7% of statements 09:13:01 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common [no test files] 09:13:01 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.154s coverage: 95.6% of statements 09:13:01 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses [no test files] 09:13:01 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 09:13:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:13:04 gofmt -l . 09:13:04 [ "`gofmt -l .`" = "" ] [Pipeline] stash 09:13:05 Stashed 1 file(s) [Pipeline] } 09:13:05 $ docker stop --time=1 b2da09d1e54d13eed9a94957245fc9e40ec30b5b2b92fb3a53a57e80f5661e6c 09:13:08 $ docker rm -f b2da09d1e54d13eed9a94957245fc9e40ec30b5b2b92fb3a53a57e80f5661e6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:13:12 Removing intermediate container f8ab89cd5660 09:13:12 ---> 378dd4a5c37e 09:13:12 Successfully built 378dd4a5c37e 09:13:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:13:13 + docker inspect -f . ci-base-image-arm64 09:13:13 . [Pipeline] withDockerContainer 09:13:13 prd-ubuntu18.04-docker-arm64-4c-16g-1252 does not seem to be running inside a container 09:13:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/15 -v /w/workspace/go-mod-core-contracts/15:/w/workspace/go-mod-core-contracts/15:rw,z -v /w/workspace/go-mod-core-contracts/15@tmp:/w/workspace/go-mod-core-contracts/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:13:15 $ docker top a9c60a34a1d7ddeb861e9022849b6d840983021882765f77567390f50e4bce40 -eo pid,comm [Pipeline] { [Pipeline] sh 09:13:17 + go version 09:13:17 go version go1.13.13 linux/arm64 [Pipeline] sh 09:13:18 + make test 09:13:18 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:13:40 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 09:13:41 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.094s coverage: 85.7% of statements 09:13:41 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.032s coverage: 100.0% of statements 09:13:43 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.060s coverage: 45.4% of statements 09:13:43 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.061s coverage: 77.8% of statements 09:13:43 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 09:13:43 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.044s coverage: 6.4% of statements 09:13:44 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.119s coverage: 14.4% of statements 09:13:45 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.019s coverage: 100.0% of statements 09:13:46 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.090s coverage: 91.8% of statements 09:13:46 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 09:13:46 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 09:13:46 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.027s coverage: 100.0% of statements 09:13:53 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.089s coverage: 62.6% of statements 09:13:53 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.047s coverage: 26.3% of statements 09:13:53 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.056s coverage: 15.4% of statements 09:13:53 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.022s coverage: 15.4% of statements 09:13:53 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.066s coverage: 14.3% of statements 09:13:53 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 09:13:53 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.013s coverage: 38.7% of statements 09:13:53 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common [no test files] 09:13:54 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.052s coverage: 95.6% of statements 09:13:54 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses [no test files] 09:13:54 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 09:13:54 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:13:58 gofmt -l . 09:13:58 [ "`gofmt -l .`" = "" ] [Pipeline] stash 09:13:59 Warning: overwriting stash ‘coverage-report’ 09:13:59 Stashed 1 file(s) [Pipeline] } 09:13:59 $ docker stop --time=1 a9c60a34a1d7ddeb861e9022849b6d840983021882765f77567390f50e4bce40 09:14:02 $ docker rm -f a9c60a34a1d7ddeb861e9022849b6d840983021882765f77567390f50e4bce40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 09:14:04 provisioning config files... 09:14:04 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-253@tmp/config1074977094300228456tmp [Pipeline] { [Pipeline] sh 09:14:04 + curl -s https://codecov.io/bash 09:14:04 + bash -s - -t @/w/workspace/dry_go-mod-core-contracts_PR-253@tmp/config1074977094300228456tmp [Pipeline] } 09:14:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:14:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:14:07 ---> package-listing.sh 09:14:07 ++ tr '[:upper:]' '[:lower:]' 09:14:07 ++ facter osfamily 09:14:07 + OS_FAMILY=redhat 09:14:07 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-253 09:14:07 + START_PACKAGES=/tmp/packages_start.txt 09:14:07 + END_PACKAGES=/tmp/packages_end.txt 09:14:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:14:07 + PACKAGES=/tmp/packages_start.txt 09:14:07 + '[' /w/workspace/dry_go-mod-core-contracts_PR-253 ']' 09:14:07 + PACKAGES=/tmp/packages_end.txt 09:14:07 + case "${OS_FAMILY}" in 09:14:07 + rpm -qa 09:14:07 + sort 09:14:11 + '[' -f /tmp/packages_start.txt ']' 09:14:11 + '[' -f /tmp/packages_end.txt ']' 09:14:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:14:11 + '[' /w/workspace/dry_go-mod-core-contracts_PR-253 ']' 09:14:11 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-253/archives/ 09:14:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-253/archives/ [Pipeline] isUnix [Pipeline] sh 09:14:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:14:11 09:14:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:14:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:14:12 alpine: Pulling from edgex-lftools-log-publisher 09:14:12 c9b1b535fdd9: Pulling fs layer 09:14:12 2cc5ad85d9ab: Pulling fs layer 09:14:12 756a868c4378: Pulling fs layer 09:14:12 444b2fc9a129: Pulling fs layer 09:14:12 ea15f1150254: Pulling fs layer 09:14:12 41b27a9f41bf: Pulling fs layer 09:14:12 28c525ee5125: Pulling fs layer 09:14:12 094b1ea09ed8: Pulling fs layer 09:14:12 138eaada9080: Pulling fs layer 09:14:12 0622d0fa9048: Pulling fs layer 09:14:12 41b27a9f41bf: Waiting 09:14:12 28c525ee5125: Waiting 09:14:12 444b2fc9a129: Waiting 09:14:12 094b1ea09ed8: Waiting 09:14:12 138eaada9080: Waiting 09:14:12 ea15f1150254: Waiting 09:14:12 0622d0fa9048: Waiting 09:14:12 2cc5ad85d9ab: Verifying Checksum 09:14:12 2cc5ad85d9ab: Download complete 09:14:12 444b2fc9a129: Verifying Checksum 09:14:12 444b2fc9a129: Download complete 09:14:12 c9b1b535fdd9: Verifying Checksum 09:14:12 c9b1b535fdd9: Download complete 09:14:12 ea15f1150254: Verifying Checksum 09:14:12 ea15f1150254: Download complete 09:14:12 28c525ee5125: Verifying Checksum 09:14:12 28c525ee5125: Download complete 09:14:12 756a868c4378: Verifying Checksum 09:14:12 756a868c4378: Download complete 09:14:12 c9b1b535fdd9: Pull complete 09:14:12 094b1ea09ed8: Verifying Checksum 09:14:12 094b1ea09ed8: Download complete 09:14:12 138eaada9080: Verifying Checksum 09:14:12 138eaada9080: Download complete 09:14:12 0622d0fa9048: Verifying Checksum 09:14:12 0622d0fa9048: Download complete 09:14:13 2cc5ad85d9ab: Pull complete 09:14:13 41b27a9f41bf: Verifying Checksum 09:14:13 41b27a9f41bf: Download complete 09:14:14 756a868c4378: Pull complete 09:14:14 444b2fc9a129: Pull complete 09:14:15 ea15f1150254: Pull complete 09:14:19 41b27a9f41bf: Pull complete 09:14:19 28c525ee5125: Pull complete 09:14:21 094b1ea09ed8: Pull complete 09:14:21 138eaada9080: Pull complete 09:14:22 0622d0fa9048: Pull complete 09:14:22 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:14:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:14:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:14:22 prd-centos7-docker-4c-2g-1249 does not seem to be running inside a container 09:14:22 $ 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-253 -v /w/workspace/dry_go-mod-core-contracts_PR-253:/w/workspace/dry_go-mod-core-contracts_PR-253:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-253@tmp:/w/workspace/dry_go-mod-core-contracts_PR-253@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:14:26 $ docker top defb9c524df4e98278117b6536451bcfd2a0d7ec6ab3ea904b568c6c9ce19526 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:14:26 provisioning config files... 09:14:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-253@tmp/config7677621526664468766tmp [Pipeline] { [Pipeline] echo 09:14:26 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:14:27 ---> create-netrc.sh [Pipeline] echo 09:14:27 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:14:27 ---> logs-deploy.sh 09:14:27 + ARCHIVE_ARTIFACTS= 09:14:27 + LOGS_SERVER=https://logs.edgexfoundry.org 09:14:27 + '[' https://logs.edgexfoundry.org == None ']' 09:14:27 + NEXUS_URL=https://nexus.edgexfoundry.org 09:14:27 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-253/15 09:14:27 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-253/15/ 09:14:27 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-253/15 /w/workspace/dry_go-mod-core-contracts_PR-253 09:14:28 Archives upload complete. 09:14:28 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-253/15 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-253/15/