Pull request #286 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 jpwhitemn for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from 33d00de26557d85565ddf191a1d3971b39057a86+9ed7be16d849faef73e281002eeec433bb10e1df (114c8382c9c4aa3e7e0611a54f52a6701299c0f2) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 --version # 'git version 2.16.6' > 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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-286/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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 > git --version # 'git version 2.16.6' 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, 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: 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-2335 in /w/workspace/dry_go-mod-core-contracts_PR-286 [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 Fetching without tags > git init /w/workspace/dry_go-mod-core-contracts_PR-286 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.16.5' 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/286/head:refs/remotes/origin/PR-286 +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 > git config --add remote.origin.fetch +refs/pull/286/head:refs/remotes/origin/PR-286 # 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/286/head:refs/remotes/origin/PR-286 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9ed7be16d849faef73e281002eeec433bb10e1df into PR head commit 33d00de26557d85565ddf191a1d3971b39057a86 Merge succeeded, producing 33d00de26557d85565ddf191a1d3971b39057a86 Checking out Revision 33d00de26557d85565ddf191a1d3971b39057a86 (PR-286) > git config core.sparsecheckout # timeout=10 > git checkout -f 33d00de26557d85565ddf191a1d3971b39057a86 # 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 9ed7be16d849faef73e281002eeec433bb10e1df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33d00de26557d85565ddf191a1d3971b39057a86 # timeout=10 Commit message: "fix(build): update to go 1.15" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:24:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:24:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:24:07 ========================================================= 21:24:07 EdgeX Global Pipelines Version Info 21:24:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:24:09 ------------------- 21:24:09 stable info: 21:24:09 ------------------- 21:24:09 Commited By: Emilio Reyes emilio.reyes@intel.com 21:24:09 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 21:24:09 Message: update stable to v1.0.119 21:24:10 ------------------- 21:24:10 experimental info: 21:24:10 ------------------- 21:24:10 Commited By: **** collab-it+edgex@linuxfoundation.org 21:24:10 Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 21:24:10 Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 21:24:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 21:24:11 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 21:24:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:24:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:24:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:24:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 21:24:11 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:24:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 21:24:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:24:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:24:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:24:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 21:24:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:24:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:24:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 21:24:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:24:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:24:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:24:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 21:24:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:24:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:24:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:24:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-286 [Pipeline] echo 21:24:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-286 [Pipeline] echo 21:24:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-286 [Pipeline] echo 21:24:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33d00de26557d85565ddf191a1d3971b39057a86 [Pipeline] echo 21:24:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 33d00de [Pipeline] echo 21:24:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:24:15 + git log --format=format:%s -1 33d00de26557d85565ddf191a1d3971b39057a86 [Pipeline] echo 21:24:15 GIT_COMMIT: 33d00de26557d85565ddf191a1d3971b39057a86, Commit Message: fix(build): update to go 1.15 [Pipeline] echo 21:24:15 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:24:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:24:16 21:24:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:24:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:24:17 latest: Pulling from edgex-devops/git-semver 21:24:17 31603596830f: Pulling fs layer 21:24:17 2a8b12db71e7: Pulling fs layer 21:24:17 6ca5941a6612: Pulling fs layer 21:24:17 ecc8261a40a4: Pulling fs layer 21:24:17 ecc8261a40a4: Waiting 21:24:17 2a8b12db71e7: Verifying Checksum 21:24:17 2a8b12db71e7: Download complete 21:24:17 31603596830f: Verifying Checksum 21:24:17 31603596830f: Download complete 21:24:17 ecc8261a40a4: Verifying Checksum 21:24:17 ecc8261a40a4: Download complete 21:24:17 6ca5941a6612: Verifying Checksum 21:24:17 6ca5941a6612: Download complete 21:24:17 31603596830f: Pull complete 21:24:17 2a8b12db71e7: Pull complete 21:24:18 6ca5941a6612: Pull complete 21:24:18 ecc8261a40a4: Pull complete 21:24:18 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 21:24:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:24:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:24:19 prd-centos7-docker-4c-2g-2335 does not seem to be running inside a container 21:24:19 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-286 -v /w/workspace/dry_go-mod-core-contracts_PR-286:/w/workspace/dry_go-mod-core-contracts_PR-286:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-286@tmp:/w/workspace/dry_go-mod-core-contracts_PR-286@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:24:21 $ docker top 0037e2bbb90c710ccd856562aa6ba40dd762d301a6d1a72f5a865e22d55fea2e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:24:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:24:21 [ssh-agent] Looking for ssh-agent implementation... 21:24:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:24:21 $ docker exec 0037e2bbb90c710ccd856562aa6ba40dd762d301a6d1a72f5a865e22d55fea2e ssh-agent 21:24:21 SSH_AUTH_SOCK=/tmp/ssh-5tHwGo9e4AKQ/agent.12 21:24:21 SSH_AGENT_PID=17 21:24:21 Running ssh-add (command line suppressed) 21:24:22 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-286@tmp/private_key_1471143171276008239.key (/w/workspace/dry_go-mod-core-contracts_PR-286@tmp/private_key_1471143171276008239.key) 21:24:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:24:22 + git describe --exact-match --tags HEAD 21:24:22 fatal: No names found, cannot describe anything. [Pipeline] } 21:24:22 $ docker exec --env ******** --env ******** 0037e2bbb90c710ccd856562aa6ba40dd762d301a6d1a72f5a865e22d55fea2e ssh-agent -k 21:24:22 unset SSH_AUTH_SOCK; 21:24:22 unset SSH_AGENT_PID; 21:24:22 echo Agent pid 17 killed; 21:24:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 21:24:22 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 21:24:22 This usually means this commit has not been tagged. [Pipeline] sshagent 21:24:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:24:23 [ssh-agent] Looking for ssh-agent implementation... 21:24:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:24:23 $ docker exec 0037e2bbb90c710ccd856562aa6ba40dd762d301a6d1a72f5a865e22d55fea2e ssh-agent 21:24:23 SSH_AUTH_SOCK=/tmp/ssh-xPtAEZCA3Zfy/agent.45 21:24:23 SSH_AGENT_PID=50 21:24:23 Running ssh-add (command line suppressed) 21:24:23 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-286@tmp/private_key_241028072985232285.key (/w/workspace/dry_go-mod-core-contracts_PR-286@tmp/private_key_241028072985232285.key) 21:24:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:24:23 + git semver init 21:24:23 # -> Open(): unable to determine branch for HEAD 21:24:23 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-286/.git 21:24:23 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-286 21:24:23 # $SEMVER_REMOTE_NAME = origin 21:24:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:24:23 # $SEMVER_USER_NAME = edgex-jenkins 21:24:23 # $SEMVER_BRANCH = PR-286 21:24:23 # $SEMVER_TEMP = /tmp/semver-920935692 21:24:23 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 21:24:24 # '/tmp/semver-920935692' -> '/w/workspace/dry_go-mod-core-contracts_PR-286/.semver' 21:24:24 # -> Force: false 21:24:24 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-286/.semver [Pipeline] } 21:24:24 $ docker exec --env ******** --env ******** 0037e2bbb90c710ccd856562aa6ba40dd762d301a6d1a72f5a865e22d55fea2e ssh-agent -k 21:24:24 unset SSH_AUTH_SOCK; 21:24:24 unset SSH_AGENT_PID; 21:24:24 echo Agent pid 50 killed; 21:24:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:24:25 + git semver [Pipeline] } 21:24:25 $ docker stop --time=1 0037e2bbb90c710ccd856562aa6ba40dd762d301a6d1a72f5a865e22d55fea2e 21:24:26 $ docker rm -f 0037e2bbb90c710ccd856562aa6ba40dd762d301a6d1a72f5a865e22d55fea2e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 21:24:27 Stashed 94 file(s) [Pipeline] echo 21:24:27 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 21:24:27 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 21:24:43 Still waiting to schedule task 21:24:43 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:24:43 Still waiting to schedule task 21:24:43 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 21:27:23 Running on prd-centos7-docker-4c-2g-2336 in /w/workspace/dry_go-mod-core-contracts_PR-286 [Pipeline] { [Pipeline] ws 21:27:23 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 21:27:26 using credential edgex-jenkins-ssh 21:27:26 Cloning the remote Git repository 21:27:26 Cloning with configured refspecs honoured and without tags 21:27:26 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 21:27:26 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 21:27:26 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 21:27:26 > git --version # timeout=10 21:27:26 > git --version # 'git version 2.16.5' 21:27:26 using GIT_SSH to set credentials SSH Credentials for GitHub 21:27:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/286/head:refs/remotes/origin/PR-286 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:27:27 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 21:27:27 Fetching without tags 21:27:27 Merging remotes/origin/master commit 9ed7be16d849faef73e281002eeec433bb10e1df into PR head commit 33d00de26557d85565ddf191a1d3971b39057a86 21:27:27 Merge succeeded, producing 33d00de26557d85565ddf191a1d3971b39057a86 21:27:27 Checking out Revision 33d00de26557d85565ddf191a1d3971b39057a86 (PR-286) 21:27:27 > git config --add remote.origin.fetch +refs/pull/286/head:refs/remotes/origin/PR-286 # timeout=10 21:27:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:27:27 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 21:27:27 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 21:27:27 using GIT_SSH to set credentials SSH Credentials for GitHub 21:27:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/286/head:refs/remotes/origin/PR-286 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:27:27 > git config core.sparsecheckout # timeout=10 21:27:27 > git checkout -f 33d00de26557d85565ddf191a1d3971b39057a86 # timeout=10 21:27:27 > git remote # timeout=10 21:27:27 > git config --get remote.origin.url # timeout=10 21:27:27 using GIT_SSH to set credentials SSH Credentials for GitHub 21:27:27 > git merge 9ed7be16d849faef73e281002eeec433bb10e1df # timeout=10 21:27:27 > git rev-parse HEAD^{commit} # timeout=10 21:27:27 > git config core.sparsecheckout # timeout=10 21:27:27 > git checkout -f 33d00de26557d85565ddf191a1d3971b39057a86 # timeout=10 21:27:31 Commit message: "fix(build): update to go 1.15" 21:27:31 > git --version # timeout=10 21:27:31 > git --version # 'git version 2.16.5' 21:27:31 fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:27:32 ========================================================= 21:27:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 21:27:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:27:32 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 21:27:33 Sending build context to Docker daemon 2.256MB 21:27:34 Step 1/7 : ARG BASE=golang:1.15-alpine 21:27:34 Step 2/7 : FROM ${BASE} 21:27:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 21:27:34 df20fa9351a1: Pulling fs layer 21:27:34 ed8968b2872e: Pulling fs layer 21:27:34 a92cc7c5fd73: Pulling fs layer 21:27:34 e871e8e8d7a9: Pulling fs layer 21:27:34 e73272ec9a57: Pulling fs layer 21:27:34 1e910a182e73: Pulling fs layer 21:27:34 4e634b169226: Pulling fs layer 21:27:34 e73272ec9a57: Waiting 21:27:34 1e910a182e73: Waiting 21:27:34 4e634b169226: Waiting 21:27:34 e871e8e8d7a9: Waiting 21:27:34 a92cc7c5fd73: Verifying Checksum 21:27:34 a92cc7c5fd73: Download complete 21:27:34 ed8968b2872e: Verifying Checksum 21:27:34 ed8968b2872e: Download complete 21:27:34 e73272ec9a57: Verifying Checksum 21:27:34 e73272ec9a57: Download complete 21:27:34 1e910a182e73: Verifying Checksum 21:27:34 1e910a182e73: Download complete 21:27:34 df20fa9351a1: Verifying Checksum 21:27:34 df20fa9351a1: Download complete 21:27:35 df20fa9351a1: Pull complete 21:27:35 ed8968b2872e: Pull complete 21:27:35 a92cc7c5fd73: Pull complete 21:27:36 4e634b169226: Verifying Checksum 21:27:36 4e634b169226: Download complete 21:27:37 e871e8e8d7a9: Verifying Checksum 21:27:37 e871e8e8d7a9: Download complete 21:27:42 e871e8e8d7a9: Pull complete 21:27:42 e73272ec9a57: Pull complete 21:27:43 1e910a182e73: Pull complete 21:27:47 4e634b169226: Pull complete 21:27:47 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 21:27:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 21:27:47 ---> f7629b54cfaa 21:27:47 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:27:47 ---> Running in f2c7b794a8e1 21:27:47 Removing intermediate container f2c7b794a8e1 21:27:47 ---> a3a4b4da39f3 21:27:47 Step 4/7 : RUN apk add bash 21:27:47 ---> Running in ded3329ee2d9 21:27:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:27:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:27:51 OK: 166 MiB in 39 packages 21:27:51 Removing intermediate container ded3329ee2d9 21:27:51 ---> 73226b57abe5 21:27:51 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 21:27:51 ---> Running in 79f1e9ba442a 21:27:51 Removing intermediate container 79f1e9ba442a 21:27:51 ---> b46b0d6dae36 21:27:51 Step 6/7 : COPY go.mod . 21:27:52 ---> 0cdf9da04b01 21:27:52 Step 7/7 : RUN go mod download 21:27:52 ---> Running in 9da715e1b3fa 21:28:04 Removing intermediate container 9da715e1b3fa 21:28:04 ---> 4e485bffe9af 21:28:04 Successfully built 4e485bffe9af 21:28:04 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 21:28:05 + docker inspect -f . ci-base-image-x86_64 21:28:05 . [Pipeline] withDockerContainer 21:28:05 prd-centos7-docker-4c-2g-2336 does not seem to be running inside a container 21:28:05 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:28:06 $ docker top de4317a8eeccd2e0eefb3a4dfd8539b9e0a5020961fb3de89155ec04cd0cafc1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:07 + go version 21:28:07 go version go1.15.2 linux/amd64 [Pipeline] sh 21:28:07 + make test 21:28:07 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:28:14 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 21:28:14 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.017s coverage: 85.7% of statements 21:28:14 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.010s coverage: 100.0% of statements 21:28:14 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.013s coverage: 45.4% of statements 21:28:14 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.016s coverage: 77.8% of statements 21:28:14 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 21:28:14 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.016s coverage: 6.4% of statements 21:28:15 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.053s coverage: 14.7% of statements 21:28:15 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.027s coverage: 100.0% of statements 21:28:15 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.029s coverage: 91.8% of statements 21:28:15 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 21:28:15 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 21:28:15 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.012s coverage: 100.0% of statements 21:28:15 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.004s coverage: 45.9% of statements 21:28:17 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.016s coverage: 63.0% of statements 21:28:17 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.011s coverage: 26.3% of statements 21:28:17 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.013s coverage: 15.4% of statements 21:28:17 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.005s coverage: 15.4% of statements 21:28:17 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.013s coverage: 14.3% of statements 21:28:17 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 21:28:17 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.016s coverage: 31.7% of statements 21:28:17 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.016s coverage: 100.0% of statements 21:28:17 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.016s coverage: 95.1% of statements 21:28:18 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.007s coverage: 100.0% of statements 21:28:18 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 21:28:18 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:28:19 gofmt -l . 21:28:19 [ "`gofmt -l .`" = "" ] [Pipeline] stash 21:28:20 Stashed 1 file(s) [Pipeline] } 21:28:20 $ docker stop --time=1 de4317a8eeccd2e0eefb3a4dfd8539b9e0a5020961fb3de89155ec04cd0cafc1 21:28:22 $ docker rm -f de4317a8eeccd2e0eefb3a4dfd8539b9e0a5020961fb3de89155ec04cd0cafc1 [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] } 21:28:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2337 in /w/workspace/dry_go-mod-core-contracts_PR-286 [Pipeline] { [Pipeline] ws 21:28:41 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 21:28:46 using credential edgex-jenkins-ssh 21:28:46 Cloning the remote Git repository 21:28:46 Cloning with configured refspecs honoured and without tags 21:28:46 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 21:28:46 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 21:28:46 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 21:28:46 > git --version # timeout=10 21:28:47 Fetching without tags 21:28:46 > git --version # 'git version 2.17.1' 21:28:46 using GIT_SSH to set credentials SSH Credentials for GitHub 21:28:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/286/head:refs/remotes/origin/PR-286 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:28:47 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 21:28:47 > git config --add remote.origin.fetch +refs/pull/286/head:refs/remotes/origin/PR-286 # timeout=10 21:28:47 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:28:47 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 21:28:47 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 21:28:47 using GIT_SSH to set credentials SSH Credentials for GitHub 21:28:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/286/head:refs/remotes/origin/PR-286 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:28:48 Merging remotes/origin/master commit 9ed7be16d849faef73e281002eeec433bb10e1df into PR head commit 33d00de26557d85565ddf191a1d3971b39057a86 21:28:48 Merge succeeded, producing 33d00de26557d85565ddf191a1d3971b39057a86 21:28:48 Checking out Revision 33d00de26557d85565ddf191a1d3971b39057a86 (PR-286) 21:28:48 > git config core.sparsecheckout # timeout=10 21:28:48 > git checkout -f 33d00de26557d85565ddf191a1d3971b39057a86 # timeout=10 21:28:48 > git remote # timeout=10 21:28:48 > git config --get remote.origin.url # timeout=10 21:28:48 using GIT_SSH to set credentials SSH Credentials for GitHub 21:28:48 > git merge 9ed7be16d849faef73e281002eeec433bb10e1df # timeout=10 21:28:48 > git rev-parse HEAD^{commit} # timeout=10 21:28:48 > git config core.sparsecheckout # timeout=10 21:28:48 > git checkout -f 33d00de26557d85565ddf191a1d3971b39057a86 # timeout=10 21:28:52 Commit message: "fix(build): update to go 1.15" 21:28:52 > git --version # timeout=10 21:28:52 > git --version # 'git version 2.17.1' 21:28:52 fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:28:54 ========================================================= 21:28:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 21:28:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:28:55 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 21:28:56 Sending build context to Docker daemon 2.256MB 21:28:56 Step 1/7 : ARG BASE=golang:1.15-alpine 21:28:56 Step 2/7 : FROM ${BASE} 21:28:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:28:56 b538f80385f9: Pulling fs layer 21:28:56 74f711af9a0d: Pulling fs layer 21:28:56 99f96fe45779: Pulling fs layer 21:28:56 8529a6b9a6be: Pulling fs layer 21:28:56 45590311c82a: Pulling fs layer 21:28:56 69ca0ff8b7b3: Pulling fs layer 21:28:56 209524e5b208: Pulling fs layer 21:28:56 8529a6b9a6be: Waiting 21:28:56 45590311c82a: Waiting 21:28:56 69ca0ff8b7b3: Waiting 21:28:56 209524e5b208: Waiting 21:28:56 99f96fe45779: Verifying Checksum 21:28:56 99f96fe45779: Download complete 21:28:56 74f711af9a0d: Verifying Checksum 21:28:56 74f711af9a0d: Download complete 21:28:57 45590311c82a: Verifying Checksum 21:28:57 45590311c82a: Download complete 21:28:57 69ca0ff8b7b3: Download complete 21:28:57 b538f80385f9: Verifying Checksum 21:28:57 b538f80385f9: Download complete 21:28:58 b538f80385f9: Pull complete 21:28:58 74f711af9a0d: Pull complete 21:28:58 99f96fe45779: Pull complete 21:28:59 209524e5b208: Verifying Checksum 21:28:59 209524e5b208: Download complete 21:29:00 8529a6b9a6be: Verifying Checksum 21:29:00 8529a6b9a6be: Download complete 21:29:10 8529a6b9a6be: Pull complete 21:29:11 45590311c82a: Pull complete 21:29:11 69ca0ff8b7b3: Pull complete 21:29:15 209524e5b208: Pull complete 21:29:15 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 21:29:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 21:29:15 ---> 5bddaf1c2fca 21:29:15 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:29:17 ---> Running in 7ce3195a576e 21:29:18 Removing intermediate container 7ce3195a576e 21:29:18 ---> ee963acdf279 21:29:18 Step 4/7 : RUN apk add bash 21:29:18 ---> Running in cb5f5db2fc39 21:29:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:29:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:29:22 OK: 142 MiB in 39 packages 21:29:23 Removing intermediate container cb5f5db2fc39 21:29:23 ---> 34e29cc5fec1 21:29:23 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 21:29:23 ---> Running in 1c2c4b303713 21:29:24 Removing intermediate container 1c2c4b303713 21:29:24 ---> 6a12898700ed 21:29:24 Step 6/7 : COPY go.mod . 21:29:25 ---> ba1e35114f95 21:29:25 Step 7/7 : RUN go mod download 21:29:25 ---> Running in 329501f9aa96 21:29:40 Removing intermediate container 329501f9aa96 21:29:40 ---> 7c7a307b34d1 21:29:40 Successfully built 7c7a307b34d1 21:29:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:29:41 + docker inspect -f . ci-base-image-arm64 21:29:41 . [Pipeline] withDockerContainer 21:29:41 prd-ubuntu18.04-docker-arm64-4c-16g-2337 does not seem to be running inside a container 21:29:41 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:29:43 $ docker top 8828fb015f605d85c8ba1d3d1820b79e1ffd88e9268483ab63d4dcdb799669a2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:29:45 + go version 21:29:45 go version go1.15.2 linux/arm64 [Pipeline] sh 21:29:46 + make test 21:29:46 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:30:08 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 21:30:08 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.035s coverage: 85.7% of statements 21:30:08 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.050s coverage: 100.0% of statements 21:30:09 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.035s coverage: 45.4% of statements 21:30:09 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.069s coverage: 77.8% of statements 21:30:09 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 21:30:09 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.026s coverage: 6.4% of statements 21:30:12 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.078s coverage: 14.7% of statements 21:30:12 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.036s coverage: 100.0% of statements 21:30:12 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.082s coverage: 91.8% of statements 21:30:12 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 21:30:12 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 21:30:12 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.019s coverage: 100.0% of statements 21:30:14 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.044s coverage: 45.9% of statements 21:30:20 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.110s coverage: 63.0% of statements 21:30:20 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.018s coverage: 26.3% of statements 21:30:20 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.056s coverage: 15.4% of statements 21:30:20 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.084s coverage: 15.4% of statements 21:30:20 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.033s coverage: 14.3% of statements 21:30:20 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 21:30:20 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.044s coverage: 31.7% of statements 21:30:20 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.033s coverage: 100.0% of statements 21:30:22 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.064s coverage: 95.1% of statements 21:30:22 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.023s coverage: 100.0% of statements 21:30:22 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 21:30:22 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:30:26 gofmt -l . 21:30:26 [ "`gofmt -l .`" = "" ] [Pipeline] stash 21:30:27 Warning: overwriting stash ‘coverage-report’ 21:30:27 Stashed 1 file(s) [Pipeline] } 21:30:27 $ docker stop --time=1 8828fb015f605d85c8ba1d3d1820b79e1ffd88e9268483ab63d4dcdb799669a2 21:30:30 $ docker rm -f 8828fb015f605d85c8ba1d3d1820b79e1ffd88e9268483ab63d4dcdb799669a2 [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 21:30:33 provisioning config files... 21:30:33 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-286@tmp/config6800494809204476047tmp [Pipeline] { [Pipeline] sh 21:30:34 + curl -s https://codecov.io/bash 21:30:34 + bash -s - -t @/w/workspace/dry_go-mod-core-contracts_PR-286@tmp/config6800494809204476047tmp [Pipeline] } 21:30:34 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 21:30:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:30:38 ---> package-listing.sh 21:30:38 ++ facter osfamily 21:30:38 ++ tr '[:upper:]' '[:lower:]' 21:30:38 + OS_FAMILY=redhat 21:30:38 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-286 21:30:38 + START_PACKAGES=/tmp/packages_start.txt 21:30:38 + END_PACKAGES=/tmp/packages_end.txt 21:30:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:30:38 + PACKAGES=/tmp/packages_start.txt 21:30:38 + '[' /w/workspace/dry_go-mod-core-contracts_PR-286 ']' 21:30:38 + PACKAGES=/tmp/packages_end.txt 21:30:38 + case "${OS_FAMILY}" in 21:30:38 + rpm -qa 21:30:38 + sort 21:30:42 + '[' -f /tmp/packages_start.txt ']' 21:30:42 + '[' -f /tmp/packages_end.txt ']' 21:30:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:30:42 + '[' /w/workspace/dry_go-mod-core-contracts_PR-286 ']' 21:30:42 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-286/archives/ 21:30:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-286/archives/ [Pipeline] isUnix [Pipeline] sh 21:30:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:30:43 21:30:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:30:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:30:43 alpine: Pulling from edgex-lftools-log-publisher 21:30:43 df20fa9351a1: Pulling fs layer 21:30:43 36b3adc4ff6f: Pulling fs layer 21:30:43 8ad3a11d3b57: Pulling fs layer 21:30:43 46f8f816bc3b: Pulling fs layer 21:30:43 0dadc02b9964: Pulling fs layer 21:30:43 ce6a7cf60c04: Pulling fs layer 21:30:43 7a184a31f384: Pulling fs layer 21:30:43 0879bd2ef858: Pulling fs layer 21:30:43 0dadc02b9964: Waiting 21:30:43 ce6a7cf60c04: Waiting 21:30:43 46f8f816bc3b: Waiting 21:30:43 7a184a31f384: Waiting 21:30:43 0879bd2ef858: Waiting 21:30:43 36b3adc4ff6f: Download complete 21:30:43 46f8f816bc3b: Verifying Checksum 21:30:43 46f8f816bc3b: Download complete 21:30:43 df20fa9351a1: Verifying Checksum 21:30:43 df20fa9351a1: Download complete 21:30:43 ce6a7cf60c04: Verifying Checksum 21:30:43 ce6a7cf60c04: Download complete 21:30:43 0dadc02b9964: Verifying Checksum 21:30:43 0dadc02b9964: Download complete 21:30:43 7a184a31f384: Verifying Checksum 21:30:43 7a184a31f384: Download complete 21:30:43 8ad3a11d3b57: Verifying Checksum 21:30:43 8ad3a11d3b57: Download complete 21:30:44 df20fa9351a1: Pull complete 21:30:44 36b3adc4ff6f: Pull complete 21:30:44 0879bd2ef858: Verifying Checksum 21:30:44 0879bd2ef858: Download complete 21:30:44 8ad3a11d3b57: Pull complete 21:30:45 46f8f816bc3b: Pull complete 21:30:45 0dadc02b9964: Pull complete 21:30:45 ce6a7cf60c04: Pull complete 21:30:45 7a184a31f384: Pull complete 21:30:48 0879bd2ef858: Pull complete 21:30:48 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 21:30:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:30:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:30:48 prd-centos7-docker-4c-2g-2335 does not seem to be running inside a container 21:30:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dry_go-mod-core-contracts_PR-286 -v /w/workspace/dry_go-mod-core-contracts_PR-286:/w/workspace/dry_go-mod-core-contracts_PR-286:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-286@tmp:/w/workspace/dry_go-mod-core-contracts_PR-286@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:30:53 $ docker top b9aed73a9a5bc2c87e107d1f6d87613c17d2043a8cc9f78f4f8f7a07beb45d94 -eo pid,comm [Pipeline] { [Pipeline] sh 21:30:53 + mkdir -p /var/log/sa [Pipeline] sh 21:30:53 + ls /var/log/sa-host 21:30:53 + sadf -c /var/log/sa-host/sa05 21:30:53 file_magic: OK 21:30:53 HZ: Using current value: 100 21:30:53 file_header: OK 21:30:53 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 21:30:53 Statistics: 21:30:53 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:30:53 File successfully converted to sysstat format version 12.2.1 21:30:53 + sadf -c /var/log/sa-host/sa11 21:30:53 file_magic: OK 21:30:53 HZ: Using current value: 100 21:30:53 file_header: OK 21:30:53 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 21:30:53 Statistics: 21:30:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:30:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:30:54 provisioning config files... 21:30:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-286@tmp/config8260062851681168147tmp [Pipeline] { [Pipeline] echo 21:30:54 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:30:54 ---> create-netrc.sh [Pipeline] echo 21:30:54 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:30:54 ---> logs-deploy.sh 21:30:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-286/1 21:30:54 INFO: archiving workspace using pattern(s): 21:30:56 Archives upload complete. 21:30:56 INFO: archiving logs to Nexus