Pull request #410 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 lenny-intel for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from 5220a5bb56e1b2341959b66cebbecc32bafe21d5+2bd89ab3e4066cad80ccb3641c8ec0d3b0be50de (dce2cf7fedcf36fee4b0d5a2a28b1db9971e3e94) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-410/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-410/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Excluding src/test/ from checkout of git git@github.com:lfit/releng-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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Running on prd-centos7-docker-4c-2g-17628 in /w/workspace/dry_go-mod-core-contracts_PR-410 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-410 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # 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/heads/*:refs/remotes/origin/* # 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 --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/410/head:refs/remotes/origin/PR-410 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2bd89ab3e4066cad80ccb3641c8ec0d3b0be50de into PR head commit 5220a5bb56e1b2341959b66cebbecc32bafe21d5 Merge succeeded, producing 439b4f69bae43b46da852d0155f00c66530eb583 Checking out Revision 439b4f69bae43b46da852d0155f00c66530eb583 (PR-410) > git config core.sparsecheckout # timeout=10 > git checkout -f 5220a5bb56e1b2341959b66cebbecc32bafe21d5 # 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 2bd89ab3e4066cad80ccb3641c8ec0d3b0be50de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 439b4f69bae43b46da852d0155f00c66530eb583 # timeout=10 Commit message: "Merge commit '2bd89ab3e4066cad80ccb3641c8ec0d3b0be50de' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-29T18:37:48.932Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-29T18:37:49.306Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-29T18:37:49.519Z] ========================================================= [2020-12-29T18:37:49.519Z] EdgeX Global Pipelines Version Info [2020-12-29T18:37:49.519Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-29T18:37:51.105Z] ------------------- [2020-12-29T18:37:51.105Z] stable info: [2020-12-29T18:37:51.105Z] ------------------- [2020-12-29T18:37:51.105Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-29T18:37:51.105Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-29T18:37:51.105Z] Message: update stable to v1.0.173 [2020-12-29T18:37:52.075Z] ------------------- [2020-12-29T18:37:52.075Z] experimental info: [2020-12-29T18:37:52.075Z] ------------------- [2020-12-29T18:37:52.075Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-29T18:37:52.075Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-29T18:37:52.075Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-29T18:37:52.437Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-12-29T18:37:52.567Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-12-29T18:37:52.703Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-29T18:37:52.840Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-29T18:37:52.981Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-29T18:37:53.128Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-29T18:37:53.257Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-29T18:37:53.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-29T18:37:53.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-29T18:37:53.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-29T18:37:53.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-29T18:37:53.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-12-29T18:37:54.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-29T18:37:54.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-29T18:37:54.354Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-29T18:37:54.482Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-29T18:37:54.667Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-29T18:37:54.808Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-29T18:37:54.937Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-12-29T18:37:55.075Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-29T18:37:55.214Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-29T18:37:55.372Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-29T18:37:55.508Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-29T18:37:55.636Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-29T18:37:55.761Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-29T18:37:55.894Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-29T18:37:56.028Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-29T18:37:56.195Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-410 [Pipeline] echo [2020-12-29T18:37:56.325Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-410 [Pipeline] echo [2020-12-29T18:37:56.454Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-410 [Pipeline] echo [2020-12-29T18:37:56.582Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 439b4f69bae43b46da852d0155f00c66530eb583 [Pipeline] echo [2020-12-29T18:37:56.707Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 439b4f6 [Pipeline] echo [2020-12-29T18:37:56.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-29T18:37:57.672Z] + git log --format=format:%s -1 439b4f69bae43b46da852d0155f00c66530eb583 [Pipeline] echo [2020-12-29T18:37:57.746Z] GIT_COMMIT: 439b4f69bae43b46da852d0155f00c66530eb583, Commit Message: Merge commit '2bd89ab3e4066cad80ccb3641c8ec0d3b0be50de' into HEAD [Pipeline] echo [2020-12-29T18:37:57.816Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-29T18:37:58.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-29T18:37:59.128Z] [2020-12-29T18:37:59.128Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-29T18:37:59.505Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-29T18:37:59.505Z] latest: Pulling from edgex-devops/git-semver [2020-12-29T18:37:59.505Z] 31603596830f: Pulling fs layer [2020-12-29T18:37:59.505Z] 2a8b12db71e7: Pulling fs layer [2020-12-29T18:37:59.505Z] 6ca5941a6612: Pulling fs layer [2020-12-29T18:37:59.505Z] ecc8261a40a4: Pulling fs layer [2020-12-29T18:37:59.505Z] ecc8261a40a4: Waiting [2020-12-29T18:37:59.505Z] 2a8b12db71e7: Verifying Checksum [2020-12-29T18:37:59.505Z] 2a8b12db71e7: Download complete [2020-12-29T18:37:59.770Z] 31603596830f: Verifying Checksum [2020-12-29T18:37:59.770Z] 31603596830f: Download complete [2020-12-29T18:37:59.770Z] ecc8261a40a4: Verifying Checksum [2020-12-29T18:37:59.770Z] ecc8261a40a4: Download complete [2020-12-29T18:38:00.032Z] 6ca5941a6612: Verifying Checksum [2020-12-29T18:38:00.032Z] 6ca5941a6612: Download complete [2020-12-29T18:38:00.032Z] 31603596830f: Pull complete [2020-12-29T18:38:00.294Z] 2a8b12db71e7: Pull complete [2020-12-29T18:38:00.874Z] 6ca5941a6612: Pull complete [2020-12-29T18:38:01.136Z] ecc8261a40a4: Pull complete [2020-12-29T18:38:01.136Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-29T18:38:01.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-29T18:38:01.405Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-29T18:38:01.694Z] prd-centos7-docker-4c-2g-17628 does not seem to be running inside a container [2020-12-29T18:38:01.743Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-410 -v /w/workspace/dry_go-mod-core-contracts_PR-410:/w/workspace/dry_go-mod-core-contracts_PR-410:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-410@tmp:/w/workspace/dry_go-mod-core-contracts_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-29T18:38:04.381Z] $ docker top 9b6c1cae51dd99cee31eb12f9ca9bba1fbe2f5db02a48fef164894ea1b291945 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-29T18:38:04.975Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-29T18:38:04.975Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-29T18:38:05.201Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-29T18:38:05.204Z] $ docker exec 9b6c1cae51dd99cee31eb12f9ca9bba1fbe2f5db02a48fef164894ea1b291945 ssh-agent [2020-12-29T18:38:05.363Z] SSH_AUTH_SOCK=/tmp/ssh-EEXAoxbGODUw/agent.11 [2020-12-29T18:38:05.363Z] SSH_AGENT_PID=16 [2020-12-29T18:38:05.378Z] Running ssh-add (command line suppressed) [2020-12-29T18:38:05.501Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-410@tmp/private_key_1587657110003988441.key (/w/workspace/dry_go-mod-core-contracts_PR-410@tmp/private_key_1587657110003988441.key) [2020-12-29T18:38:05.553Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-29T18:38:05.940Z] + git tag --points-at HEAD [Pipeline] } [2020-12-29T18:38:05.973Z] $ docker exec --env ******** --env ******** 9b6c1cae51dd99cee31eb12f9ca9bba1fbe2f5db02a48fef164894ea1b291945 ssh-agent -k [2020-12-29T18:38:06.087Z] unset SSH_AUTH_SOCK; [2020-12-29T18:38:06.088Z] unset SSH_AGENT_PID; [2020-12-29T18:38:06.088Z] echo Agent pid 16 killed; [2020-12-29T18:38:06.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-29T18:38:06.346Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-29T18:38:06.346Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-29T18:38:06.507Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-29T18:38:06.511Z] $ docker exec 9b6c1cae51dd99cee31eb12f9ca9bba1fbe2f5db02a48fef164894ea1b291945 ssh-agent [2020-12-29T18:38:06.667Z] SSH_AUTH_SOCK=/tmp/ssh-zwSiBg7AVeGS/agent.45 [2020-12-29T18:38:06.667Z] SSH_AGENT_PID=50 [2020-12-29T18:38:06.674Z] Running ssh-add (command line suppressed) [2020-12-29T18:38:06.787Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-410@tmp/private_key_1082556235818514371.key (/w/workspace/dry_go-mod-core-contracts_PR-410@tmp/private_key_1082556235818514371.key) [2020-12-29T18:38:06.842Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-29T18:38:07.268Z] + git semver init [2020-12-29T18:38:07.268Z] # -> Open(): unable to determine branch for HEAD [2020-12-29T18:38:07.268Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-410/.git [2020-12-29T18:38:07.268Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-410 [2020-12-29T18:38:07.268Z] # $SEMVER_REMOTE_NAME = origin [2020-12-29T18:38:07.268Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-29T18:38:07.268Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-29T18:38:07.268Z] # $SEMVER_BRANCH = PR-410 [2020-12-29T18:38:07.268Z] # $SEMVER_TEMP = /tmp/semver-126861614 [2020-12-29T18:38:07.268Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-12-29T18:38:07.843Z] # '/tmp/semver-126861614' -> '/w/workspace/dry_go-mod-core-contracts_PR-410/.semver' [2020-12-29T18:38:07.844Z] # -> Force: false [2020-12-29T18:38:07.844Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-410/.semver [Pipeline] } [2020-12-29T18:38:07.865Z] $ docker exec --env ******** --env ******** 9b6c1cae51dd99cee31eb12f9ca9bba1fbe2f5db02a48fef164894ea1b291945 ssh-agent -k [2020-12-29T18:38:07.975Z] unset SSH_AUTH_SOCK; [2020-12-29T18:38:07.976Z] unset SSH_AGENT_PID; [2020-12-29T18:38:07.976Z] echo Agent pid 50 killed; [2020-12-29T18:38:08.022Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-29T18:38:08.644Z] + git semver [Pipeline] } [2020-12-29T18:38:08.675Z] $ docker stop --time=1 9b6c1cae51dd99cee31eb12f9ca9bba1fbe2f5db02a48fef164894ea1b291945 [2020-12-29T18:38:10.464Z] $ docker rm -f 9b6c1cae51dd99cee31eb12f9ca9bba1fbe2f5db02a48fef164894ea1b291945 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-29T18:38:11.006Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-29T18:38:11.494Z] Stashed 1 file(s) [Pipeline] echo [2020-12-29T18:38:11.515Z] [edgeXSemver]: initialized semver on 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 [2020-12-29T18:38:27.395Z] Still waiting to schedule task [2020-12-29T18:38:27.395Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-29T18:38:27.422Z] Still waiting to schedule task [2020-12-29T18:38:27.422Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-29T18:40:18.496Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17629 in /w/workspace/dry_go-mod-core-contracts_PR-410 [Pipeline] { [Pipeline] ws [2020-12-29T18:40:18.658Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2020-12-29T18:40:23.499Z] using credential edgex-jenkins-ssh [2020-12-29T18:40:23.556Z] Cloning the remote Git repository [2020-12-29T18:40:23.614Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-29T18:40:23.725Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2020-12-29T18:40:23.797Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-29T18:40:23.798Z] > git --version # timeout=10 [2020-12-29T18:40:23.838Z] > git --version # 'git version 2.17.1' [2020-12-29T18:40:23.839Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T18:40:23.920Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T18:40:25.018Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-29T18:40:25.034Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T18:40:25.065Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-29T18:40:25.104Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-29T18:40:25.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T18:40:25.117Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/410/head:refs/remotes/origin/PR-410 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-29T18:40:25.785Z] Merging remotes/origin/master commit 2bd89ab3e4066cad80ccb3641c8ec0d3b0be50de into PR head commit 5220a5bb56e1b2341959b66cebbecc32bafe21d5 [2020-12-29T18:40:26.066Z] Merge succeeded, producing 6e85e075078c5f46fad1e8c5ec1b249331bfcc67 [2020-12-29T18:40:26.067Z] Checking out Revision 6e85e075078c5f46fad1e8c5ec1b249331bfcc67 (PR-410) [2020-12-29T18:40:25.811Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T18:40:25.823Z] > git checkout -f 5220a5bb56e1b2341959b66cebbecc32bafe21d5 # timeout=10 [2020-12-29T18:40:25.957Z] > git remote # timeout=10 [2020-12-29T18:40:25.974Z] > git config --get remote.origin.url # timeout=10 [2020-12-29T18:40:25.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T18:40:26.000Z] > git merge 2bd89ab3e4066cad80ccb3641c8ec0d3b0be50de # timeout=10 [2020-12-29T18:40:26.056Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-29T18:40:26.077Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T18:40:26.094Z] > git checkout -f 6e85e075078c5f46fad1e8c5ec1b249331bfcc67 # timeout=10 [2020-12-29T18:40:30.520Z] Commit message: "Merge commit '2bd89ab3e4066cad80ccb3641c8ec0d3b0be50de' into HEAD" [2020-12-29T18:40:30.520Z] First time build. Skipping changelog. [2020-12-29T18:40:30.574Z] > git --version # timeout=10 [2020-12-29T18:40:30.583Z] > git --version # 'git version 2.17.1' [2020-12-29T18:40:30.595Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-29T18:40:32.558Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-29T18:40:32.976Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-29T18:40:33.335Z] + sudo service+ docker restart [2020-12-29T18:40:33.335Z] true [Pipeline] unstash [Pipeline] echo [2020-12-29T18:40:36.344Z] ========================================================= [2020-12-29T18:40:36.344Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-29T18:40:36.344Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-29T18:40:36.765Z] + 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 . [2020-12-29T18:40:37.749Z] Sending build context to Docker daemon 2.07MB [2020-12-29T18:40:37.749Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-29T18:40:37.749Z] Step 2/7 : FROM ${BASE} [2020-12-29T18:40:38.344Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-29T18:40:38.344Z] 5f621e34cdf4: Pulling fs layer [2020-12-29T18:40:38.344Z] a4357932f1b6: Pulling fs layer [2020-12-29T18:40:38.344Z] 18c013af1878: Pulling fs layer [2020-12-29T18:40:38.344Z] 00ac8860ef70: Pulling fs layer [2020-12-29T18:40:38.344Z] 63d7cb157983: Pulling fs layer [2020-12-29T18:40:38.344Z] b116817d02f9: Pulling fs layer [2020-12-29T18:40:38.344Z] 745a02a5169b: Pulling fs layer [2020-12-29T18:40:38.344Z] 63d7cb157983: Waiting [2020-12-29T18:40:38.344Z] b116817d02f9: Waiting [2020-12-29T18:40:38.344Z] 745a02a5169b: Waiting [2020-12-29T18:40:38.344Z] 00ac8860ef70: Waiting [2020-12-29T18:40:38.344Z] 18c013af1878: Download complete [2020-12-29T18:40:38.344Z] a4357932f1b6: Verifying Checksum [2020-12-29T18:40:38.344Z] a4357932f1b6: Download complete [2020-12-29T18:40:38.344Z] 63d7cb157983: Download complete [2020-12-29T18:40:38.344Z] 5f621e34cdf4: Verifying Checksum [2020-12-29T18:40:38.344Z] 5f621e34cdf4: Download complete [2020-12-29T18:40:38.344Z] b116817d02f9: Verifying Checksum [2020-12-29T18:40:38.344Z] b116817d02f9: Download complete [2020-12-29T18:40:38.943Z] 5f621e34cdf4: Pull complete [2020-12-29T18:40:39.550Z] a4357932f1b6: Pull complete [2020-12-29T18:40:39.832Z] 18c013af1878: Pull complete [2020-12-29T18:40:41.272Z] 745a02a5169b: Download complete [2020-12-29T18:40:42.723Z] 00ac8860ef70: Verifying Checksum [2020-12-29T18:40:42.723Z] 00ac8860ef70: Download complete [2020-12-29T18:40:52.908Z] 00ac8860ef70: Pull complete [2020-12-29T18:40:53.183Z] 63d7cb157983: Pull complete [2020-12-29T18:40:53.466Z] b116817d02f9: Pull complete [2020-12-29T18:40:57.787Z] 745a02a5169b: Pull complete [2020-12-29T18:40:57.787Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-29T18:40:57.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-29T18:40:57.787Z] ---> b7e6874047d6 [2020-12-29T18:40:57.787Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-29T18:41:00.393Z] ---> Running in d3d272919f2f [2020-12-29T18:41:00.667Z] Removing intermediate container d3d272919f2f [2020-12-29T18:41:00.667Z] ---> 989972be8d64 [2020-12-29T18:41:00.667Z] Step 4/7 : RUN apk add bash [2020-12-29T18:41:00.941Z] ---> Running in 215ba854bcd1 [2020-12-29T18:41:02.372Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-29T18:41:02.971Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-29T18:41:03.946Z] OK: 142 MiB in 39 packages [2020-12-29T18:41:04.924Z] Removing intermediate container 215ba854bcd1 [2020-12-29T18:41:04.924Z] ---> 4b3bab0d1827 [2020-12-29T18:41:04.924Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-29T18:41:04.924Z] ---> Running in a30231719fe1 [2020-12-29T18:41:05.517Z] Removing intermediate container a30231719fe1 [2020-12-29T18:41:05.517Z] ---> 2de755d24544 [2020-12-29T18:41:05.517Z] Step 6/7 : COPY go.mod . [2020-12-29T18:41:06.113Z] ---> b1c43865ee61 [2020-12-29T18:41:06.113Z] Step 7/7 : RUN go mod download [2020-12-29T18:41:06.386Z] ---> Running in aba86a4eec6d [2020-12-29T18:41:21.495Z] Removing intermediate container aba86a4eec6d [2020-12-29T18:41:21.495Z] ---> 6adaf3fd9654 [2020-12-29T18:41:21.495Z] Successfully built 6adaf3fd9654 [2020-12-29T18:41:21.495Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-29T18:41:21.876Z] + docker inspect -f . ci-base-image-arm64 [2020-12-29T18:41:21.876Z] . [Pipeline] withDockerContainer [2020-12-29T18:41:22.140Z] prd-ubuntu18.04-docker-arm64-4c-16g-17629 does not seem to be running inside a container [2020-12-29T18:41:22.226Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-29T18:41:23.787Z] $ docker top bc91a949bd913f4f3559d585fa82be792b6bb52f811ec377d0472d28a50e0200 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-29T18:41:24.900Z] + go version [2020-12-29T18:41:24.900Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-29T18:41:24.945Z] $ docker stop --time=1 bc91a949bd913f4f3559d585fa82be792b6bb52f811ec377d0472d28a50e0200 [2020-12-29T18:41:26.814Z] $ docker rm -f bc91a949bd913f4f3559d585fa82be792b6bb52f811ec377d0472d28a50e0200 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-29T18:41:28.113Z] + docker inspect -f . ci-base-image-arm64 [2020-12-29T18:41:28.114Z] . [Pipeline] withDockerContainer [2020-12-29T18:41:28.398Z] prd-ubuntu18.04-docker-arm64-4c-16g-17629 does not seem to be running inside a container [2020-12-29T18:41:28.482Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-29T18:41:30.193Z] $ docker top a2ec5263cdf3f2cdc419dfb2de5608cc48ef18d8adc22f329aedffca7394eb5d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-29T18:41:31.290Z] + make test [2020-12-29T18:41:31.290Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-29T18:41:53.502Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-29T18:41:54.488Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.038s coverage: 85.7% of statements [2020-12-29T18:41:54.488Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.062s coverage: 100.0% of statements [2020-12-29T18:41:55.945Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.036s coverage: 45.4% of statements [2020-12-29T18:41:55.945Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.027s coverage: 77.8% of statements [2020-12-29T18:41:55.945Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-29T18:41:56.548Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.043s coverage: 26.3% of statements [2020-12-29T18:41:57.991Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.039s coverage: 14.7% of statements [2020-12-29T18:41:58.268Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.033s coverage: 100.0% of statements [2020-12-29T18:41:59.254Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.092s coverage: 91.8% of statements [2020-12-29T18:41:59.254Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-29T18:41:59.254Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-29T18:41:59.254Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.026s coverage: 100.0% of statements [2020-12-29T18:41:59.254Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.046s coverage: 47.8% of statements [2020-12-29T18:42:05.991Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.088s coverage: 63.0% of statements [2020-12-29T18:42:05.991Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.036s coverage: 26.3% of statements [2020-12-29T18:42:05.991Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.038s coverage: 15.4% of statements [2020-12-29T18:42:05.991Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.028s coverage: 15.4% of statements [2020-12-29T18:42:05.991Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.042s coverage: 14.3% of statements [2020-12-29T18:42:05.991Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-29T18:42:05.991Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.125s coverage: 84.8% of statements [2020-12-29T18:42:05.991Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-29T18:42:05.991Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-29T18:42:06.266Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.054s coverage: 44.6% of statements [2020-12-29T18:42:06.266Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.031s coverage: 100.0% of statements [2020-12-29T18:42:07.708Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.109s coverage: 93.6% of statements [2020-12-29T18:42:07.708Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.021s coverage: 100.0% of statements [2020-12-29T18:42:07.709Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-29T18:42:07.979Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-29T18:42:13.377Z] gofmt -l . [2020-12-29T18:42:13.377Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-29T18:42:13.686Z] $ docker stop --time=1 a2ec5263cdf3f2cdc419dfb2de5608cc48ef18d8adc22f329aedffca7394eb5d [2020-12-29T18:42:15.927Z] $ docker rm -f a2ec5263cdf3f2cdc419dfb2de5608cc48ef18d8adc22f329aedffca7394eb5d [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-29T18:42:16.939Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-29T18:42:18.075Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-29T18:42:53.741Z] Running on prd-centos7-docker-4c-2g-17631 in /w/workspace/dry_go-mod-core-contracts_PR-410 [Pipeline] { [Pipeline] ws [2020-12-29T18:42:53.911Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2020-12-29T18:43:00.658Z] using credential edgex-jenkins-ssh [2020-12-29T18:43:00.744Z] Cloning the remote Git repository [2020-12-29T18:43:00.805Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-29T18:43:00.894Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2020-12-29T18:43:01.042Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-29T18:43:01.042Z] > git --version # timeout=10 [2020-12-29T18:43:01.094Z] > git --version # 'git version 2.24.3' [2020-12-29T18:43:01.095Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T18:43:01.211Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T18:43:02.149Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-29T18:43:02.212Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-29T18:43:02.284Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-29T18:43:02.312Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-29T18:43:02.313Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T18:43:02.322Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/410/head:refs/remotes/origin/PR-410 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-29T18:43:02.881Z] Merging remotes/origin/master commit 2bd89ab3e4066cad80ccb3641c8ec0d3b0be50de into PR head commit 5220a5bb56e1b2341959b66cebbecc32bafe21d5 [2020-12-29T18:43:03.092Z] Merge succeeded, producing 9500ffacfe1e9872c17b4dc849f2177b75d13691 [2020-12-29T18:43:03.092Z] Checking out Revision 9500ffacfe1e9872c17b4dc849f2177b75d13691 (PR-410) [2020-12-29T18:43:02.895Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T18:43:02.911Z] > git checkout -f 5220a5bb56e1b2341959b66cebbecc32bafe21d5 # timeout=10 [2020-12-29T18:43:02.995Z] > git remote # timeout=10 [2020-12-29T18:43:03.024Z] > git config --get remote.origin.url # timeout=10 [2020-12-29T18:43:03.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-29T18:43:03.038Z] > git merge 2bd89ab3e4066cad80ccb3641c8ec0d3b0be50de # timeout=10 [2020-12-29T18:43:03.076Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-29T18:43:03.102Z] > git config core.sparsecheckout # timeout=10 [2020-12-29T18:43:03.113Z] > git checkout -f 9500ffacfe1e9872c17b4dc849f2177b75d13691 # timeout=10 [2020-12-29T18:43:07.186Z] Commit message: "Merge commit '2bd89ab3e4066cad80ccb3641c8ec0d3b0be50de' into HEAD" [2020-12-29T18:43:07.186Z] First time build. Skipping changelog. [2020-12-29T18:43:07.264Z] > git --version # timeout=10 [2020-12-29T18:43:07.295Z] > git --version # 'git version 2.24.3' [2020-12-29T18:43:07.335Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-29T18:43:09.827Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-29T18:43:10.330Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-29T18:43:10.847Z] + true [2020-12-29T18:43:10.847Z] + sudo service docker restart [2020-12-29T18:43:10.847Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-29T18:43:13.179Z] ========================================================= [2020-12-29T18:43:13.179Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-29T18:43:13.179Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-29T18:43:13.825Z] + 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 . [2020-12-29T18:43:14.443Z] Sending build context to Docker daemon 2.071MB [2020-12-29T18:43:14.443Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-29T18:43:14.443Z] Step 2/7 : FROM ${BASE} [2020-12-29T18:43:14.714Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-29T18:43:14.714Z] 188c0c94c7c5: Pulling fs layer [2020-12-29T18:43:14.714Z] 0ef7d3d256c8: Pulling fs layer [2020-12-29T18:43:14.714Z] de9db76c5a1d: Pulling fs layer [2020-12-29T18:43:14.714Z] bca2f99d35d6: Pulling fs layer [2020-12-29T18:43:14.714Z] 93359f2a8cfa: Pulling fs layer [2020-12-29T18:43:14.714Z] 7c6f9722023f: Pulling fs layer [2020-12-29T18:43:14.714Z] a35cf1a2eb13: Pulling fs layer [2020-12-29T18:43:14.714Z] 93359f2a8cfa: Waiting [2020-12-29T18:43:14.714Z] 7c6f9722023f: Waiting [2020-12-29T18:43:14.714Z] a35cf1a2eb13: Waiting [2020-12-29T18:43:14.714Z] bca2f99d35d6: Waiting [2020-12-29T18:43:14.714Z] de9db76c5a1d: Verifying Checksum [2020-12-29T18:43:14.714Z] de9db76c5a1d: Download complete [2020-12-29T18:43:14.714Z] 0ef7d3d256c8: Download complete [2020-12-29T18:43:14.714Z] 93359f2a8cfa: Verifying Checksum [2020-12-29T18:43:14.714Z] 93359f2a8cfa: Download complete [2020-12-29T18:43:14.714Z] 7c6f9722023f: Verifying Checksum [2020-12-29T18:43:14.714Z] 7c6f9722023f: Download complete [2020-12-29T18:43:14.714Z] 188c0c94c7c5: Verifying Checksum [2020-12-29T18:43:14.714Z] 188c0c94c7c5: Download complete [2020-12-29T18:43:15.318Z] 188c0c94c7c5: Pull complete [2020-12-29T18:43:15.621Z] 0ef7d3d256c8: Pull complete [2020-12-29T18:43:15.890Z] de9db76c5a1d: Pull complete [2020-12-29T18:43:19.289Z] a35cf1a2eb13: Verifying Checksum [2020-12-29T18:43:19.289Z] a35cf1a2eb13: Download complete [2020-12-29T18:43:19.922Z] bca2f99d35d6: Verifying Checksum [2020-12-29T18:43:19.922Z] bca2f99d35d6: Download complete [2020-12-29T18:43:30.199Z] bca2f99d35d6: Pull complete [2020-12-29T18:43:30.199Z] 93359f2a8cfa: Pull complete [2020-12-29T18:43:30.482Z] 7c6f9722023f: Pull complete [2020-12-29T18:43:34.782Z] a35cf1a2eb13: Pull complete [2020-12-29T18:43:34.782Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-29T18:43:35.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-29T18:43:35.059Z] ---> a62c8e92a672 [2020-12-29T18:43:35.059Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-29T18:43:35.342Z] ---> Running in dad923e1f493 [2020-12-29T18:43:35.628Z] Removing intermediate container dad923e1f493 [2020-12-29T18:43:35.628Z] ---> b301f36ecec2 [2020-12-29T18:43:35.628Z] Step 4/7 : RUN apk add bash [2020-12-29T18:43:35.628Z] ---> Running in 5cea95565505 [2020-12-29T18:43:37.136Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-29T18:43:37.416Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-29T18:43:38.022Z] OK: 166 MiB in 39 packages [2020-12-29T18:43:39.023Z] Removing intermediate container 5cea95565505 [2020-12-29T18:43:39.023Z] ---> 3876c56815e3 [2020-12-29T18:43:39.023Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-29T18:43:39.023Z] ---> Running in 56607e70a955 [2020-12-29T18:43:39.288Z] Removing intermediate container 56607e70a955 [2020-12-29T18:43:39.288Z] ---> 15a4c852e891 [2020-12-29T18:43:39.288Z] Step 6/7 : COPY go.mod . [2020-12-29T18:43:39.559Z] ---> ed29bacff303 [2020-12-29T18:43:39.559Z] Step 7/7 : RUN go mod download [2020-12-29T18:43:39.559Z] ---> Running in 559f8aaa7d54 [2020-12-29T18:43:54.656Z] Removing intermediate container 559f8aaa7d54 [2020-12-29T18:43:54.656Z] ---> f5ecd6f143f6 [2020-12-29T18:43:54.656Z] Successfully built f5ecd6f143f6 [2020-12-29T18:43:54.656Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-29T18:43:55.060Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-29T18:43:55.060Z] . [Pipeline] withDockerContainer [2020-12-29T18:43:55.324Z] prd-centos7-docker-4c-2g-17631 does not seem to be running inside a container [2020-12-29T18:43:55.477Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-29T18:43:56.644Z] $ docker top c8839905b23f9fc3628c9bc727501d259e62e033247abca77094fcd986643357 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-29T18:43:57.385Z] + go version [2020-12-29T18:43:57.385Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-29T18:43:57.435Z] $ docker stop --time=1 c8839905b23f9fc3628c9bc727501d259e62e033247abca77094fcd986643357 [2020-12-29T18:43:59.421Z] $ docker rm -f c8839905b23f9fc3628c9bc727501d259e62e033247abca77094fcd986643357 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-29T18:44:00.825Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-29T18:44:00.826Z] . [Pipeline] withDockerContainer [2020-12-29T18:44:01.037Z] prd-centos7-docker-4c-2g-17631 does not seem to be running inside a container [2020-12-29T18:44:01.149Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-29T18:44:02.200Z] $ docker top f38aeea779a9f93cd5219b983510e81d15da8c42810c67fa89f0eade4939b0e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-29T18:44:02.907Z] + make test [2020-12-29T18:44:02.907Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-29T18:44:15.547Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-29T18:44:16.247Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.035s coverage: 85.7% of statements [2020-12-29T18:44:16.247Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.023s coverage: 100.0% of statements [2020-12-29T18:44:17.350Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.060s coverage: 45.4% of statements [2020-12-29T18:44:17.350Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.027s coverage: 77.8% of statements [2020-12-29T18:44:17.350Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-29T18:44:18.012Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.038s coverage: 26.3% of statements [2020-12-29T18:44:19.483Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.028s coverage: 14.7% of statements [2020-12-29T18:44:19.483Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.022s coverage: 100.0% of statements [2020-12-29T18:44:19.483Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.056s coverage: 91.8% of statements [2020-12-29T18:44:19.483Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-29T18:44:19.483Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-29T18:44:19.483Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.027s coverage: 100.0% of statements [2020-12-29T18:44:19.767Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.032s coverage: 47.8% of statements [2020-12-29T18:44:23.353Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.067s coverage: 63.0% of statements [2020-12-29T18:44:23.353Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.026s coverage: 26.3% of statements [2020-12-29T18:44:23.353Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.026s coverage: 15.4% of statements [2020-12-29T18:44:23.353Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.049s coverage: 15.4% of statements [2020-12-29T18:44:23.353Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.022s coverage: 14.3% of statements [2020-12-29T18:44:23.353Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-29T18:44:25.474Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.054s coverage: 84.8% of statements [2020-12-29T18:44:25.474Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-29T18:44:25.474Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-29T18:44:25.474Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.025s coverage: 44.6% of statements [2020-12-29T18:44:25.474Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.015s coverage: 100.0% of statements [2020-12-29T18:44:25.745Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.094s coverage: 93.6% of statements [2020-12-29T18:44:26.360Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.015s coverage: 100.0% of statements [2020-12-29T18:44:26.360Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-29T18:44:26.360Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-29T18:44:30.863Z] gofmt -l . [2020-12-29T18:44:31.134Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-29T18:44:31.456Z] $ docker stop --time=1 f38aeea779a9f93cd5219b983510e81d15da8c42810c67fa89f0eade4939b0e3 [2020-12-29T18:44:33.815Z] $ docker rm -f f38aeea779a9f93cd5219b983510e81d15da8c42810c67fa89f0eade4939b0e3 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-29T18:44:34.720Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-29T18:44:34.755Z] Warning: overwriting stash ‘coverage-report’ [2020-12-29T18:44:35.596Z] Stashed 1 file(s) [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 [2020-12-29T18:44:38.724Z] provisioning config files... [2020-12-29T18:44:38.747Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-410@tmp/config8524041407841781767tmp [Pipeline] { [Pipeline] sh [2020-12-29T18:44:39.197Z] + set +x [2020-12-29T18:44:39.197Z] + curl -s https://codecov.io/bash [2020-12-29T18:44:39.197Z] + bash -s -- [2020-12-29T18:44:39.461Z] [2020-12-29T18:44:39.461Z] _____ _ [2020-12-29T18:44:39.461Z] / ____| | | [2020-12-29T18:44:39.461Z] | | ___ __| | ___ ___ _____ __ [2020-12-29T18:44:39.461Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-29T18:44:39.461Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-29T18:44:39.461Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-29T18:44:39.461Z] Bash-20201223-5ad85e3 [2020-12-29T18:44:39.461Z] [2020-12-29T18:44:39.461Z] [2020-12-29T18:44:39.461Z] ==> git version 2.24.3 found [2020-12-29T18:44:39.461Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2020-12-29T18:44:39.461Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-29T18:44:39.461Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2020-12-29T18:44:39.461Z] ==> Jenkins CI detected. [2020-12-29T18:44:39.461Z] project root: . [2020-12-29T18:44:39.461Z] --> token set from env [2020-12-29T18:44:39.461Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-29T18:44:39.461Z] ==> Running gcov in . (disable via -X gcov) [2020-12-29T18:44:39.461Z] ==> Python coveragepy not found [2020-12-29T18:44:39.461Z] ==> Searching for coverage reports in: [2020-12-29T18:44:39.461Z] + . [2020-12-29T18:44:39.461Z] -> Found 1 reports [2020-12-29T18:44:39.461Z] ==> Detecting git/mercurial file structure [2020-12-29T18:44:39.461Z] ==> Reading reports [2020-12-29T18:44:39.461Z] + ./coverage.out bytes=114401 [2020-12-29T18:44:39.461Z] ==> Appending adjustments [2020-12-29T18:44:39.461Z] https://docs.codecov.io/docs/fixing-reports [2020-12-29T18:44:40.419Z] + Found adjustments [2020-12-29T18:44:40.419Z] ==> Gzipping contents [2020-12-29T18:44:40.419Z] 20K /tmp/codecov.w4YznX.gz [2020-12-29T18:44:40.419Z] ==> Uploading reports [2020-12-29T18:44:40.419Z] url: https://codecov.io [2020-12-29T18:44:40.419Z] query: branch=PR-410&commit=439b4f69bae43b46da852d0155f00c66530eb583&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-410%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=410&job=&cmd_args= [2020-12-29T18:44:40.419Z] -> Pinging Codecov [2020-12-29T18:44:40.419Z] https://codecov.io/upload/v4?package=bash-20201223-5ad85e3&token=secret&branch=PR-410&commit=439b4f69bae43b46da852d0155f00c66530eb583&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-410%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=410&job=&cmd_args= [2020-12-29T18:44:40.684Z] -> Uploading to [2020-12-29T18:44:40.684Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-29/71470A77251A30514AAF9C0BB2E5B6CE/439b4f69bae43b46da852d0155f00c66530eb583/f48e6423-022d-4c4b-9218-9a1ea4247557.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201229%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201229T184440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=458bb20387355b32b0f0c30fe8d321522b4728548fa588748c02db5ad1c7a43c [2020-12-29T18:44:40.684Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-29T18:44:40.684Z] Dload Upload Total Spent Left Speed [2020-12-29T18:44:41.537Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18416 0 0 100 18416 0 29768 --:--:-- --:--:-- --:--:-- 29751 [2020-12-29T18:44:41.537Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/439b4f69bae43b46da852d0155f00c66530eb583 [Pipeline] } [2020-12-29T18:44:41.572Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" 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 [2020-12-29T18:44:45.390Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T18:44:46.000Z] ---> package-listing.sh [2020-12-29T18:44:46.000Z] ++ facter osfamily [2020-12-29T18:44:46.000Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-29T18:44:46.000Z] + OS_FAMILY=redhat [2020-12-29T18:44:46.000Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-410 [2020-12-29T18:44:46.000Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-29T18:44:46.000Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-29T18:44:46.000Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-29T18:44:46.000Z] + PACKAGES=/tmp/packages_start.txt [2020-12-29T18:44:46.000Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-410 ']' [2020-12-29T18:44:46.000Z] + PACKAGES=/tmp/packages_end.txt [2020-12-29T18:44:46.000Z] + case "${OS_FAMILY}" in [2020-12-29T18:44:46.000Z] + rpm -qa [2020-12-29T18:44:46.000Z] + sort [2020-12-29T18:44:51.315Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-29T18:44:51.315Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-29T18:44:51.315Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-29T18:44:51.315Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-410 ']' [2020-12-29T18:44:51.315Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-410/archives/ [2020-12-29T18:44:51.315Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-410/archives/ [Pipeline] echo [2020-12-29T18:44:51.352Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-410/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-29T18:44:51.664Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-29T18:44:52.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-29T18:44:52.004Z] [2020-12-29T18:44:52.004Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-29T18:44:52.406Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-29T18:44:52.406Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-29T18:44:52.406Z] df20fa9351a1: Pulling fs layer [2020-12-29T18:44:52.406Z] 36b3adc4ff6f: Pulling fs layer [2020-12-29T18:44:52.406Z] 8ad3a11d3b57: Pulling fs layer [2020-12-29T18:44:52.406Z] 46f8f816bc3b: Pulling fs layer [2020-12-29T18:44:52.406Z] 93b61091891f: Pulling fs layer [2020-12-29T18:44:52.406Z] 93b9cdb0e59b: Pulling fs layer [2020-12-29T18:44:52.406Z] 5e14af77c1be: Pulling fs layer [2020-12-29T18:44:52.406Z] 01666e4c0597: Pulling fs layer [2020-12-29T18:44:52.406Z] aa168da1d23b: Pulling fs layer [2020-12-29T18:44:52.406Z] 93b9cdb0e59b: Waiting [2020-12-29T18:44:52.406Z] 5e14af77c1be: Waiting [2020-12-29T18:44:52.406Z] aa168da1d23b: Waiting [2020-12-29T18:44:52.406Z] 01666e4c0597: Waiting [2020-12-29T18:44:52.406Z] 46f8f816bc3b: Waiting [2020-12-29T18:44:52.406Z] 93b61091891f: Waiting [2020-12-29T18:44:52.406Z] 36b3adc4ff6f: Verifying Checksum [2020-12-29T18:44:52.406Z] 36b3adc4ff6f: Download complete [2020-12-29T18:44:52.406Z] 46f8f816bc3b: Verifying Checksum [2020-12-29T18:44:52.406Z] 46f8f816bc3b: Download complete [2020-12-29T18:44:52.681Z] df20fa9351a1: Verifying Checksum [2020-12-29T18:44:52.681Z] df20fa9351a1: Download complete [2020-12-29T18:44:52.681Z] 93b61091891f: Verifying Checksum [2020-12-29T18:44:52.681Z] 93b61091891f: Download complete [2020-12-29T18:44:52.681Z] 93b9cdb0e59b: Download complete [2020-12-29T18:44:52.681Z] 5e14af77c1be: Verifying Checksum [2020-12-29T18:44:52.681Z] 5e14af77c1be: Download complete [2020-12-29T18:44:52.681Z] 01666e4c0597: Verifying Checksum [2020-12-29T18:44:52.681Z] 01666e4c0597: Download complete [2020-12-29T18:44:52.947Z] df20fa9351a1: Pull complete [2020-12-29T18:44:52.947Z] 8ad3a11d3b57: Verifying Checksum [2020-12-29T18:44:52.947Z] 8ad3a11d3b57: Download complete [2020-12-29T18:44:53.211Z] 36b3adc4ff6f: Pull complete [2020-12-29T18:44:54.168Z] 8ad3a11d3b57: Pull complete [2020-12-29T18:44:54.168Z] 46f8f816bc3b: Pull complete [2020-12-29T18:44:54.747Z] 93b61091891f: Pull complete [2020-12-29T18:44:54.747Z] 93b9cdb0e59b: Pull complete [2020-12-29T18:44:55.017Z] aa168da1d23b: Verifying Checksum [2020-12-29T18:44:55.017Z] aa168da1d23b: Download complete [2020-12-29T18:44:55.017Z] 5e14af77c1be: Pull complete [2020-12-29T18:44:55.017Z] 01666e4c0597: Pull complete [2020-12-29T18:45:03.216Z] aa168da1d23b: Pull complete [2020-12-29T18:45:03.216Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-29T18:45:03.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-29T18:45:03.216Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-29T18:45:03.470Z] prd-centos7-docker-4c-2g-17628 does not seem to be running inside a container [2020-12-29T18:45:03.523Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-410/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-410 -v /w/workspace/dry_go-mod-core-contracts_PR-410:/w/workspace/dry_go-mod-core-contracts_PR-410:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-410@tmp:/w/workspace/dry_go-mod-core-contracts_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-29T18:45:06.899Z] $ docker top 9057d7294f7143e16cf8e9ca2c93adec3c9aecc3d330dcf28f2681772d4a7045 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-29T18:45:07.441Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-29T18:45:07.759Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-29T18:45:08.079Z] + ls /var/log/sa-host [2020-12-29T18:45:08.079Z] + sadf -c /var/log/sa-host/sa23 [2020-12-29T18:45:08.079Z] file_magic: OK [2020-12-29T18:45:08.079Z] HZ: Using current value: 100 [2020-12-29T18:45:08.079Z] file_header: OK [2020-12-29T18:45:08.079Z] 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 [2020-12-29T18:45:08.079Z] Statistics: [2020-12-29T18:45:08.079Z] Hnuu...uuuununununu... [2020-12-29T18:45:08.079Z] File successfully converted to sysstat format version 12.2.1 [2020-12-29T18:45:08.079Z] + sadf -c /var/log/sa-host/sa29 [2020-12-29T18:45:08.079Z] file_magic: OK [2020-12-29T18:45:08.079Z] HZ: Using current value: 100 [2020-12-29T18:45:08.079Z] file_header: OK [2020-12-29T18:45:08.079Z] 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 [2020-12-29T18:45:08.079Z] Statistics: [2020-12-29T18:45:08.079Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-29T18:45:08.079Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-29T18:45:08.741Z] provisioning config files... [2020-12-29T18:45:08.757Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-410@tmp/config3306122904913893993tmp [Pipeline] { [Pipeline] echo [2020-12-29T18:45:08.894Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T18:45:09.228Z] ---> create-netrc.sh [Pipeline] } [2020-12-29T18:45:09.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-29T18:45:09.471Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T18:45:09.815Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-29T18:45:09.846Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T18:45:10.180Z] ---> sudo-logs.sh [2020-12-29T18:45:10.180Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-29T18:45:10.209Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T18:45:10.567Z] ---> job-cost.sh [2020-12-29T18:45:10.567Z] lf-activate-venv: SKIPPING [2020-12-29T18:45:10.567Z] INFO: No Stack... [2020-12-29T18:45:12.496Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-29T18:45:12.761Z] INFO: Archiving Costs [Pipeline] echo [2020-12-29T18:45:12.797Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-29T18:45:13.144Z] ---> logs-deploy.sh [2020-12-29T18:45:13.144Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-410/1 [2020-12-29T18:45:13.144Z] INFO: archiving workspace using pattern(s): [2020-12-29T18:45:15.064Z] Archives upload complete. [2020-12-29T18:45:15.064Z] INFO: archiving logs to Nexus