Pull request #252 opened 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 508d17c29c3aeaabef0ad380d0c0a70f4f137bfd rather than 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c Obtained Jenkinsfile from 508d17c29c3aeaabef0ad380d0c0a70f4f137bfd Running in Durability level: MAX_SURVIVABILITY 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 370697454611dc68c0596e0d0a50477a8de841a8 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 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-252/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 > git --version # 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 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-core-contracts DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: patch GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-124 in /w/workspace/dry_go-mod-core-contracts_PR-252 [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-252 # 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/252/head:refs/remotes/origin/PR-252 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 508d17c29c3aeaabef0ad380d0c0a70f4f137bfd into PR head commit 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c Merge succeeded, producing 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c Checking out Revision 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c (PR-252) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/252/head:refs/remotes/origin/PR-252 # 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/252/head:refs/remotes/origin/PR-252 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c # 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 508d17c29c3aeaabef0ad380d0c0a70f4f137bfd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c # timeout=10 Commit message: "refactor: Rename device field to deviceName in V2 CoreData DTO and Model In Event and Reading, there is a device field. According to Core WG meeting on July 9th 2020, we need to rename to deviceName to make it explicit. Fix: #251" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:34:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:34:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:34:56 ========================================================= 03:34:56 EdgeX Global Pipelines Version Info 03:34:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:34:58 ------------------- 03:34:58 stable info: 03:34:58 ------------------- 03:34:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:34:58 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 03:34:58 Message: update stable to v1.0.89 03:34:59 ------------------- 03:34:59 experimental info: 03:34:59 ------------------- 03:34:59 Commited By: **** collab-it+edgex@linuxfoundation.org 03:34:59 Commit SHA: f6ab21c320c462fae7a5b8fd747aea39c3187bc7 03:34:59 Message: update experimental to v1.0.96 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 03:35:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:35:02 03:35:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:35:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:35:02 latest: Pulling from edgex-devops/git-semver 03:35:02 9123ac7c32f7: Pulling fs layer 03:35:02 b8cc5d1170e3: Pulling fs layer 03:35:02 2924cbbf6a41: Pulling fs layer 03:35:02 93b08a4f1073: Pulling fs layer 03:35:02 93b08a4f1073: Waiting 03:35:02 b8cc5d1170e3: Download complete 03:35:02 9123ac7c32f7: Verifying Checksum 03:35:02 9123ac7c32f7: Download complete 03:35:02 93b08a4f1073: Verifying Checksum 03:35:02 93b08a4f1073: Download complete 03:35:02 2924cbbf6a41: Verifying Checksum 03:35:02 2924cbbf6a41: Download complete 03:35:03 9123ac7c32f7: Pull complete 03:35:03 b8cc5d1170e3: Pull complete 03:35:04 2924cbbf6a41: Pull complete 03:35:04 93b08a4f1073: Pull complete 03:35:04 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 03:35:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:35:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:35:04 prd-centos7-docker-4c-2g-124 does not seem to be running inside a container 03:35:04 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-252 -v /w/workspace/dry_go-mod-core-contracts_PR-252:/w/workspace/dry_go-mod-core-contracts_PR-252:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-252@tmp:/w/workspace/dry_go-mod-core-contracts_PR-252@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 03:35:06 $ docker top 1896eb622ff2194463a3011b093baad83f14929ea5e5e4d43a71833cf196bb4f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:35:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:35:07 [ssh-agent] Looking for ssh-agent implementation... 03:35:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:35:07 $ docker exec 1896eb622ff2194463a3011b093baad83f14929ea5e5e4d43a71833cf196bb4f ssh-agent 03:35:07 SSH_AUTH_SOCK=/tmp/ssh-j363zmdugtpF/agent.11 03:35:07 SSH_AGENT_PID=16 03:35:07 Running ssh-add (command line suppressed) 03:35:07 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-252@tmp/private_key_3210599418704957931.key (/w/workspace/dry_go-mod-core-contracts_PR-252@tmp/private_key_3210599418704957931.key) 03:35:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:35:08 + git describe --exact-match --tags HEAD 03:35:08 fatal: No names found, cannot describe anything. [Pipeline] } 03:35:08 $ docker exec --env ******** --env ******** 1896eb622ff2194463a3011b093baad83f14929ea5e5e4d43a71833cf196bb4f ssh-agent -k 03:35:08 unset SSH_AUTH_SOCK; 03:35:08 unset SSH_AGENT_PID; 03:35:08 echo Agent pid 16 killed; 03:35:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:35:08 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:35:08 This usually means this commit has not been tagged. [Pipeline] sshagent 03:35:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:35:08 [ssh-agent] Looking for ssh-agent implementation... 03:35:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:35:09 $ docker exec 1896eb622ff2194463a3011b093baad83f14929ea5e5e4d43a71833cf196bb4f ssh-agent 03:35:09 SSH_AUTH_SOCK=/tmp/ssh-qtJbLvraWGNo/agent.45 03:35:09 SSH_AGENT_PID=51 03:35:09 Running ssh-add (command line suppressed) 03:35:09 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-252@tmp/private_key_2219965286602615547.key (/w/workspace/dry_go-mod-core-contracts_PR-252@tmp/private_key_2219965286602615547.key) 03:35:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:35:09 + git semver init 03:35:09 # -> Open(): unable to determine branch for HEAD 03:35:09 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-252/.git 03:35:09 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-252 03:35:09 # $SEMVER_REMOTE_NAME = origin 03:35:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:35:09 # $SEMVER_USER_NAME = edgex-jenkins 03:35:09 # $SEMVER_BRANCH = PR-252 03:35:09 # $SEMVER_TEMP = /tmp/semver-213161016 03:35:09 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 03:35:10 # '/tmp/semver-213161016' -> '/w/workspace/dry_go-mod-core-contracts_PR-252/.semver' 03:35:10 # -> Force: false 03:35:10 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-252/.semver [Pipeline] } 03:35:10 $ docker exec --env ******** --env ******** 1896eb622ff2194463a3011b093baad83f14929ea5e5e4d43a71833cf196bb4f ssh-agent -k 03:35:10 unset SSH_AUTH_SOCK; 03:35:10 unset SSH_AGENT_PID; 03:35:10 echo Agent pid 51 killed; 03:35:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:35:11 + git semver [Pipeline] } 03:35:11 $ docker stop --time=1 1896eb622ff2194463a3011b093baad83f14929ea5e5e4d43a71833cf196bb4f 03:35:12 $ docker rm -f 1896eb622ff2194463a3011b093baad83f14929ea5e5e4d43a71833cf196bb4f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:35:13 Stashed 79 file(s) [Pipeline] echo 03:35:13 [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 03:35:29 Still waiting to schedule task 03:35:29 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-124’ 03:35:29 Still waiting to schedule task 03:35:29 ‘prd-ubuntu18.04-docker-arm64-4c-16g-5406’ is offline 03:37:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-125 in /w/workspace/dry_go-mod-core-contracts_PR-252 [Pipeline] { [Pipeline] ws 03:37:02 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 03:37:07 using credential edgex-jenkins-ssh 03:37:07 Cloning the remote Git repository 03:37:07 Cloning with configured refspecs honoured and without tags 03:37:07 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 03:37:07 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 03:37:07 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 03:37:07 > git --version # timeout=10 03:37:07 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:37:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 03:37:08 > git config --add remote.origin.fetch +refs/pull/252/head:refs/remotes/origin/PR-252 # timeout=10 03:37:09 Fetching without tags 03:37:09 Merging remotes/origin/master commit 508d17c29c3aeaabef0ad380d0c0a70f4f137bfd into PR head commit 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c 03:37:09 Merge succeeded, producing 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c 03:37:09 Checking out Revision 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c (PR-252) 03:37:08 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:37:09 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 03:37:09 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 03:37:09 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:37:09 > git config core.sparsecheckout # timeout=10 03:37:09 > git checkout -f 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c # timeout=10 03:37:09 > git remote # timeout=10 03:37:09 > git config --get remote.origin.url # timeout=10 03:37:09 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:09 > git merge 508d17c29c3aeaabef0ad380d0c0a70f4f137bfd # timeout=10 03:37:09 > git rev-parse HEAD^{commit} # timeout=10 03:37:09 > git config core.sparsecheckout # timeout=10 03:37:09 > git checkout -f 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c # timeout=10 03:37:14 Commit message: "refactor: Rename device field to deviceName in V2 CoreData DTO and Model In Event and Reading, there is a device field. According to Core WG meeting on July 9th 2020, we need to rename to deviceName to make it explicit. Fix: #251" 03:37:14 > git --version # timeout=10 03:37:14 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:37:15 ========================================================= 03:37:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:37:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:37:17 + 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 . 03:37:18 Sending build context to Docker daemon 1.844MB 03:37:18 Step 1/7 : ARG BASE=golang:1.13-alpine 03:37:18 Step 2/7 : FROM ${BASE} 03:37:18 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:37:18 cde5963f3b93: Pulling fs layer 03:37:18 2a23fa8c16f7: Pulling fs layer 03:37:18 777b28850792: Pulling fs layer 03:37:18 8a11ddd9e578: Pulling fs layer 03:37:18 4cf88f913ddb: Pulling fs layer 03:37:18 1df406cf5192: Pulling fs layer 03:37:18 cd6300453558: Pulling fs layer 03:37:18 b9c365052c96: Pulling fs layer 03:37:18 a2d8cc88f415: Pulling fs layer 03:37:18 ea1d1ca13537: Pulling fs layer 03:37:18 3750a50a1c5e: Pulling fs layer 03:37:18 4cf88f913ddb: Waiting 03:37:18 1df406cf5192: Waiting 03:37:18 cd6300453558: Waiting 03:37:18 ea1d1ca13537: Waiting 03:37:18 3750a50a1c5e: Waiting 03:37:18 b9c365052c96: Waiting 03:37:18 a2d8cc88f415: Waiting 03:37:18 8a11ddd9e578: Waiting 03:37:18 777b28850792: Download complete 03:37:18 2a23fa8c16f7: Download complete 03:37:18 4cf88f913ddb: Download complete 03:37:18 1df406cf5192: Verifying Checksum 03:37:18 1df406cf5192: Download complete 03:37:18 cde5963f3b93: Verifying Checksum 03:37:18 cde5963f3b93: Download complete 03:37:19 cde5963f3b93: Pull complete 03:37:19 2a23fa8c16f7: Pull complete 03:37:20 777b28850792: Pull complete 03:37:20 cd6300453558: Verifying Checksum 03:37:20 cd6300453558: Download complete 03:37:20 a2d8cc88f415: Verifying Checksum 03:37:22 ea1d1ca13537: Verifying Checksum 03:37:22 ea1d1ca13537: Download complete 03:37:22 3750a50a1c5e: Verifying Checksum 03:37:22 3750a50a1c5e: Download complete 03:37:23 8a11ddd9e578: Verifying Checksum 03:37:23 8a11ddd9e578: Download complete 03:37:24 b9c365052c96: Verifying Checksum 03:37:24 b9c365052c96: Download complete 03:37:36 8a11ddd9e578: Pull complete 03:37:36 4cf88f913ddb: Pull complete 03:37:36 1df406cf5192: Pull complete 03:37:40 cd6300453558: Pull complete 03:37:44 Running on prd-centos7-docker-4c-2g-126 in /w/workspace/dry_go-mod-core-contracts_PR-252 [Pipeline] { [Pipeline] ws 03:37:45 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 03:37:45 b9c365052c96: Pull complete 03:37:45 a2d8cc88f415: Pull complete 03:37:47 using credential edgex-jenkins-ssh 03:37:47 Cloning the remote Git repository 03:37:47 Cloning with configured refspecs honoured and without tags 03:37:47 ea1d1ca13537: Pull complete 03:37:47 3750a50a1c5e: Pull complete 03:37:47 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 03:37:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:37:47 ---> 78745c68409d 03:37:47 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:37:48 Fetching without tags 03:37:47 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 03:37:47 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 03:37:47 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 03:37:47 > git --version # timeout=10 03:37:47 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:37:48 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 03:37:48 > git config --add remote.origin.fetch +refs/pull/252/head:refs/remotes/origin/PR-252 # timeout=10 03:37:48 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:37:48 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 03:37:48 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 03:37:48 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:37:48 Merging remotes/origin/master commit 508d17c29c3aeaabef0ad380d0c0a70f4f137bfd into PR head commit 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c 03:37:48 Merge succeeded, producing 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c 03:37:48 Checking out Revision 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c (PR-252) 03:37:48 > git config core.sparsecheckout # timeout=10 03:37:48 > git checkout -f 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c # timeout=10 03:37:48 > git remote # timeout=10 03:37:48 > git config --get remote.origin.url # timeout=10 03:37:48 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:48 > git merge 508d17c29c3aeaabef0ad380d0c0a70f4f137bfd # timeout=10 03:37:48 > git rev-parse HEAD^{commit} # timeout=10 03:37:48 > git config core.sparsecheckout # timeout=10 03:37:48 > git checkout -f 6fb5b16cd2cb61299c4b09c632a0b702d09d5f6c # timeout=10 03:37:52 Commit message: "refactor: Rename device field to deviceName in V2 CoreData DTO and Model In Event and Reading, there is a device field. According to Core WG meeting on July 9th 2020, we need to rename to deviceName to make it explicit. Fix: #251" 03:37:52 > git --version # timeout=10 03:37:52 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 03:37:53 ---> Running in 8c2eaacede47 03:37:53 Removing intermediate container 8c2eaacede47 03:37:53 ---> 8476d003d95a 03:37:53 Step 4/7 : RUN apk add bash 03:37:53 ---> Running in d693dfa96353 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:37:53 ========================================================= 03:37:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:37:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:37:54 + 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 . 03:37:54 Sending build context to Docker daemon 1.844MB 03:37:54 Step 1/7 : ARG BASE=golang:1.13-alpine 03:37:54 Step 2/7 : FROM ${BASE} 03:37:54 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:37:54 e6b0cf9c0882: Pulling fs layer 03:37:54 2848faf0eed1: Pulling fs layer 03:37:54 0f37312ad70f: Pulling fs layer 03:37:54 5788d62ee057: Pulling fs layer 03:37:54 0e6b1d234666: Pulling fs layer 03:37:54 bf5d7aec512f: Pulling fs layer 03:37:54 34c802a77dc8: Pulling fs layer 03:37:54 9eb99e56ec68: Pulling fs layer 03:37:54 27c7a5d97fbd: Pulling fs layer 03:37:54 5c102a31e300: Pulling fs layer 03:37:54 dcfb455df0a1: Pulling fs layer 03:37:54 5788d62ee057: Waiting 03:37:54 27c7a5d97fbd: Waiting 03:37:54 0e6b1d234666: Waiting 03:37:54 5c102a31e300: Waiting 03:37:54 dcfb455df0a1: Waiting 03:37:54 bf5d7aec512f: Waiting 03:37:54 34c802a77dc8: Waiting 03:37:54 9eb99e56ec68: Waiting 03:37:54 0f37312ad70f: Verifying Checksum 03:37:54 2848faf0eed1: Download complete 03:37:54 0e6b1d234666: Verifying Checksum 03:37:54 0e6b1d234666: Download complete 03:37:54 bf5d7aec512f: Verifying Checksum 03:37:54 bf5d7aec512f: Download complete 03:37:54 e6b0cf9c0882: Download complete 03:37:55 e6b0cf9c0882: Pull complete 03:37:55 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:37:55 34c802a77dc8: Verifying Checksum 03:37:55 34c802a77dc8: Download complete 03:37:55 27c7a5d97fbd: Verifying Checksum 03:37:55 27c7a5d97fbd: Download complete 03:37:55 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:37:55 5c102a31e300: Verifying Checksum 03:37:55 5c102a31e300: Download complete 03:37:55 dcfb455df0a1: Verifying Checksum 03:37:55 dcfb455df0a1: Download complete 03:37:55 9eb99e56ec68: Verifying Checksum 03:37:55 9eb99e56ec68: Download complete 03:37:56 5788d62ee057: Verifying Checksum 03:37:56 OK: 125 MiB in 39 packages 03:37:57 2848faf0eed1: Pull complete 03:37:57 0f37312ad70f: Pull complete 03:37:57 Removing intermediate container d693dfa96353 03:37:57 ---> 13b484e4b8e6 03:37:57 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 03:37:57 ---> Running in 9c97b8df5ca5 03:37:58 Removing intermediate container 9c97b8df5ca5 03:37:58 ---> d31d58f20199 03:37:58 Step 6/7 : COPY go.mod . 03:37:59 ---> fff5e8dd8f72 03:37:59 Step 7/7 : RUN go mod download 03:37:59 ---> Running in 576ecc039c6d 03:38:01 go: finding github.com/davecgh/go-spew v1.1.0 03:38:01 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:38:01 go: finding github.com/go-kit/kit v0.8.0 03:38:01 go: finding github.com/go-logfmt/logfmt v0.4.0 03:38:01 go: finding github.com/go-playground/assert/v2 v2.0.1 03:38:01 go: finding github.com/go-playground/locales v0.13.0 03:38:01 go: finding github.com/go-playground/universal-translator v0.17.0 03:38:01 go: finding github.com/go-playground/validator/v10 v10.3.0 03:38:01 go: finding github.com/go-stack/stack v1.8.0 03:38:01 go: finding github.com/google/uuid v1.1.0 03:38:01 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:38:01 go: finding github.com/leodido/go-urn v1.2.0 03:38:01 go: finding github.com/pmezard/go-difflib v1.0.0 03:38:01 go: finding github.com/stretchr/objx v0.1.0 03:38:01 go: finding github.com/stretchr/testify v1.5.1 03:38:01 go: finding github.com/x448/float16 v0.8.4 03:38:02 go: finding golang.org/x/text v0.3.2 03:38:02 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 03:38:02 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:38:02 go: finding gopkg.in/yaml.v2 v2.2.2 03:38:02 5788d62ee057: Pull complete 03:38:02 0e6b1d234666: Pull complete 03:38:02 bf5d7aec512f: Pull complete 03:38:09 34c802a77dc8: Pull complete 03:38:12 9eb99e56ec68: Pull complete 03:38:12 27c7a5d97fbd: Pull complete 03:38:12 5c102a31e300: Pull complete 03:38:12 dcfb455df0a1: Pull complete 03:38:12 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 03:38:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:38:12 ---> 7c70fe431013 03:38:12 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:38:14 Removing intermediate container 576ecc039c6d 03:38:14 ---> af20ffc95604 03:38:14 Successfully built af20ffc95604 03:38:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 03:38:14 ---> Running in 92681ba78702 03:38:14 Removing intermediate container 92681ba78702 03:38:14 ---> 9008529c7346 03:38:14 Step 4/7 : RUN apk add bash 03:38:14 ---> Running in 559888f1f6b9 [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:38:15 + docker inspect -f . ci-base-image-arm64 03:38:15 . [Pipeline] withDockerContainer 03:38:15 prd-ubuntu18.04-docker-arm64-4c-16g-125 does not seem to be running inside a container 03:38:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:38:15 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:38:16 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:38:16 OK: 143 MiB in 39 packages 03:38:17 Removing intermediate container 559888f1f6b9 03:38:17 ---> 529411ebed09 03:38:17 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 03:38:17 ---> Running in dfbd9fee8eb4 03:38:17 Removing intermediate container dfbd9fee8eb4 03:38:17 ---> 884331941f87 03:38:17 Step 6/7 : COPY go.mod . 03:38:17 ---> 6bab8ba84b32 03:38:17 Step 7/7 : RUN go mod download 03:38:17 ---> Running in 587ee9a5abcb 03:38:17 $ docker top f4c3fcbceb24fc41fe2e57e2895923cc353412cb31dc7c181dfaef39ebebaedc -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:18 go: finding github.com/davecgh/go-spew v1.1.0 03:38:18 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:38:18 go: finding github.com/go-kit/kit v0.8.0 03:38:18 go: finding github.com/go-logfmt/logfmt v0.4.0 03:38:18 go: finding github.com/go-playground/assert/v2 v2.0.1 03:38:18 go: finding github.com/go-playground/locales v0.13.0 03:38:19 go: finding github.com/go-playground/universal-translator v0.17.0 03:38:19 go: finding github.com/go-playground/validator/v10 v10.3.0 03:38:19 go: finding github.com/go-stack/stack v1.8.0 03:38:19 go: finding github.com/google/uuid v1.1.0 03:38:19 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:38:19 go: finding github.com/leodido/go-urn v1.2.0 03:38:19 go: finding github.com/pmezard/go-difflib v1.0.0 03:38:19 go: finding github.com/stretchr/objx v0.1.0 03:38:19 go: finding github.com/stretchr/testify v1.5.1 03:38:19 go: finding github.com/x448/float16 v0.8.4 03:38:19 go: finding golang.org/x/text v0.3.2 03:38:19 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 03:38:19 + go version 03:38:19 go version go1.13.5 linux/arm64 [Pipeline] sh 03:38:19 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:38:19 go: finding gopkg.in/yaml.v2 v2.2.2 03:38:20 + make test 03:38:20 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:38:27 Removing intermediate container 587ee9a5abcb 03:38:27 ---> 72e6f2a41190 03:38:27 Successfully built 72e6f2a41190 03:38:27 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 03:38:28 + docker inspect -f . ci-base-image-x86_64 03:38:28 . [Pipeline] withDockerContainer 03:38:28 prd-centos7-docker-4c-2g-126 does not seem to be running inside a container 03:38:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 03:38:29 $ docker top 39e4e1e831c4a18f700d06b74ec000b8ea237544f1b29cd08bf9130cfbfcb2de -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:30 + go version 03:38:30 go version go1.13.5 linux/amd64 [Pipeline] sh 03:38:30 + make test 03:38:30 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:38:37 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 03:38:38 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.023s coverage: 85.7% of statements 03:38:38 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.016s coverage: 100.0% of statements 03:38:38 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.013s coverage: 45.4% of statements 03:38:39 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.028s coverage: 77.8% of statements 03:38:39 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 03:38:39 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.020s coverage: 6.4% of statements 03:38:39 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.111s coverage: 14.4% of statements 03:38:40 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.062s coverage: 100.0% of statements 03:38:40 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.030s coverage: 91.8% of statements 03:38:40 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 03:38:40 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 03:38:40 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.044s coverage: 100.0% of statements 03:38:42 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 03:38:42 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.023s coverage: 62.6% of statements 03:38:42 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.004s coverage: 26.3% of statements 03:38:42 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.022s coverage: 15.4% of statements 03:38:42 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.063s coverage: 15.4% of statements 03:38:42 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.024s coverage: 14.3% of statements 03:38:42 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 03:38:42 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.006s coverage: 83.3% of statements 03:38:42 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common [no test files] 03:38:43 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.041s coverage: 85.7% of statements 03:38:43 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.045s coverage: 100.0% of statements 03:38:43 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.007s coverage: 90.9% of statements 03:38:43 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses [no test files] 03:38:43 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 03:38:43 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:38:44 gofmt -l . 03:38:44 [ "`gofmt -l .`" = "" ] [Pipeline] stash 03:38:44 Stashed 1 file(s) [Pipeline] } 03:38:44 $ docker stop --time=1 39e4e1e831c4a18f700d06b74ec000b8ea237544f1b29cd08bf9130cfbfcb2de 03:38:46 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.062s coverage: 45.4% of statements 03:38:46 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.043s coverage: 77.8% of statements 03:38:46 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 03:38:46 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.022s coverage: 6.4% of statements 03:38:46 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.099s coverage: 14.4% of statements 03:38:46 $ docker rm -f 39e4e1e831c4a18f700d06b74ec000b8ea237544f1b29cd08bf9130cfbfcb2de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 03:38:47 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.029s coverage: 100.0% of statements 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] } 03:38:50 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.123s coverage: 91.8% of statements 03:38:50 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 03:38:50 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 03:38:50 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.051s coverage: 100.0% of statements 03:38:55 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.102s coverage: 62.6% of statements 03:38:55 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.040s coverage: 26.3% of statements 03:38:55 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.045s coverage: 15.4% of statements 03:38:55 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.045s coverage: 15.4% of statements 03:38:55 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.042s coverage: 14.3% of statements 03:38:55 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 03:38:55 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.015s coverage: 83.3% of statements 03:38:55 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common [no test files] 03:38:56 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.028s coverage: 90.9% of statements 03:38:56 ? github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses [no test files] 03:38:56 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 03:38:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:39:00 gofmt -l . 03:39:00 [ "`gofmt -l .`" = "" ] [Pipeline] stash 03:39:01 Warning: overwriting stash ‘coverage-report’ 03:39:01 Stashed 1 file(s) [Pipeline] } 03:39:01 $ docker stop --time=1 f4c3fcbceb24fc41fe2e57e2895923cc353412cb31dc7c181dfaef39ebebaedc 03:39:03 $ docker rm -f f4c3fcbceb24fc41fe2e57e2895923cc353412cb31dc7c181dfaef39ebebaedc [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 03:39:06 provisioning config files... 03:39:06 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-252@tmp/config244498709029331377tmp [Pipeline] { [Pipeline] sh 03:39:06 + curl -s https://codecov.io/bash 03:39:06 + bash -s - -t @/w/workspace/dry_go-mod-core-contracts_PR-252@tmp/config244498709029331377tmp [Pipeline] } 03:39:07 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 03:39:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:39:09 ---> package-listing.sh 03:39:09 ++ facter osfamily 03:39:09 ++ tr '[:upper:]' '[:lower:]' 03:39:09 + OS_FAMILY=redhat 03:39:09 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-252 03:39:09 + START_PACKAGES=/tmp/packages_start.txt 03:39:09 + END_PACKAGES=/tmp/packages_end.txt 03:39:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:39:09 + PACKAGES=/tmp/packages_start.txt 03:39:09 + '[' /w/workspace/dry_go-mod-core-contracts_PR-252 ']' 03:39:09 + PACKAGES=/tmp/packages_end.txt 03:39:09 + case "${OS_FAMILY}" in 03:39:09 + rpm -qa 03:39:09 + sort 03:39:13 + '[' -f /tmp/packages_start.txt ']' 03:39:13 + '[' -f /tmp/packages_end.txt ']' 03:39:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:39:13 + '[' /w/workspace/dry_go-mod-core-contracts_PR-252 ']' 03:39:13 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-252/archives/ 03:39:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-252/archives/ [Pipeline] isUnix [Pipeline] sh 03:39:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:39:14 03:39:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:39:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:39:14 alpine: Pulling from edgex-lftools-log-publisher 03:39:14 c9b1b535fdd9: Pulling fs layer 03:39:14 2cc5ad85d9ab: Pulling fs layer 03:39:14 756a868c4378: Pulling fs layer 03:39:14 444b2fc9a129: Pulling fs layer 03:39:14 ea15f1150254: Pulling fs layer 03:39:14 41b27a9f41bf: Pulling fs layer 03:39:14 28c525ee5125: Pulling fs layer 03:39:14 094b1ea09ed8: Pulling fs layer 03:39:14 138eaada9080: Pulling fs layer 03:39:14 0622d0fa9048: Pulling fs layer 03:39:14 444b2fc9a129: Waiting 03:39:14 ea15f1150254: Waiting 03:39:14 41b27a9f41bf: Waiting 03:39:14 28c525ee5125: Waiting 03:39:14 094b1ea09ed8: Waiting 03:39:14 0622d0fa9048: Waiting 03:39:14 138eaada9080: Waiting 03:39:14 2cc5ad85d9ab: Verifying Checksum 03:39:14 2cc5ad85d9ab: Download complete 03:39:14 444b2fc9a129: Verifying Checksum 03:39:14 444b2fc9a129: Download complete 03:39:14 c9b1b535fdd9: Verifying Checksum 03:39:14 c9b1b535fdd9: Download complete 03:39:15 ea15f1150254: Verifying Checksum 03:39:15 ea15f1150254: Download complete 03:39:15 28c525ee5125: Verifying Checksum 03:39:15 28c525ee5125: Download complete 03:39:15 756a868c4378: Verifying Checksum 03:39:15 756a868c4378: Download complete 03:39:15 c9b1b535fdd9: Pull complete 03:39:15 138eaada9080: Verifying Checksum 03:39:15 138eaada9080: Download complete 03:39:15 0622d0fa9048: Verifying Checksum 03:39:15 0622d0fa9048: Download complete 03:39:15 094b1ea09ed8: Verifying Checksum 03:39:15 094b1ea09ed8: Download complete 03:39:15 2cc5ad85d9ab: Pull complete 03:39:16 41b27a9f41bf: Verifying Checksum 03:39:16 41b27a9f41bf: Download complete 03:39:17 756a868c4378: Pull complete 03:39:17 444b2fc9a129: Pull complete 03:39:17 ea15f1150254: Pull complete 03:39:21 41b27a9f41bf: Pull complete 03:39:21 28c525ee5125: Pull complete 03:39:25 094b1ea09ed8: Pull complete 03:39:25 138eaada9080: Pull complete 03:39:25 0622d0fa9048: Pull complete 03:39:25 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:39:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:39:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:39:25 prd-centos7-docker-4c-2g-124 does not seem to be running inside a container 03:39:25 $ 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-252 -v /w/workspace/dry_go-mod-core-contracts_PR-252:/w/workspace/dry_go-mod-core-contracts_PR-252:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-252@tmp:/w/workspace/dry_go-mod-core-contracts_PR-252@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 03:39:28 $ docker top bb04bba1640a1d2df5a31199c02e036b0a36fcbdd65d9652ed8a6de5f5d1994a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:39:28 provisioning config files... 03:39:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-252@tmp/config6961337057806932167tmp [Pipeline] { [Pipeline] echo 03:39:28 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:39:29 ---> create-netrc.sh [Pipeline] echo 03:39:29 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:39:29 ---> logs-deploy.sh 03:39:29 + ARCHIVE_ARTIFACTS= 03:39:29 + LOGS_SERVER=https://logs.edgexfoundry.org 03:39:29 + '[' https://logs.edgexfoundry.org == None ']' 03:39:29 + NEXUS_URL=https://nexus.edgexfoundry.org 03:39:29 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-252/1 03:39:29 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-252/1/ 03:39:29 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-252/1 /w/workspace/dry_go-mod-core-contracts_PR-252 03:39:31 Archives upload complete. 03:39:31 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-252/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-core-contracts/job/PR-252/1/