Pull request #389 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 26f7976e83e717d42c4728cdd25427477ce9fa1e rather than b03c3b561411c7e1508b29aebfd79fd891d2e6d5 Obtained Jenkinsfile from 26f7976e83e717d42c4728cdd25427477ce9fa1e Running in Durability level: PERFORMANCE_OPTIMIZED 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > 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 Checking out Revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15541 in /w/workspace/dry_go-mod-core-contracts_PR-389 [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-389 # 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 Merging remotes/origin/master commit 26f7976e83e717d42c4728cdd25427477ce9fa1e into PR head commit b03c3b561411c7e1508b29aebfd79fd891d2e6d5 Merge succeeded, producing b03c3b561411c7e1508b29aebfd79fd891d2e6d5 Checking out Revision b03c3b561411c7e1508b29aebfd79fd891d2e6d5 (PR-389) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/389/head:refs/remotes/origin/PR-389 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b03c3b561411c7e1508b29aebfd79fd891d2e6d5 # 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 26f7976e83e717d42c4728cdd25427477ce9fa1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b03c3b561411c7e1508b29aebfd79fd891d2e6d5 # timeout=10 Commit message: "refactor(meta): Remove DeleteById func" > git rev-list --no-walk 9328b9e73b43f58a461966554bee0df7f53d35b2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-11T01:47:52.009Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-11T01:47:52.302Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-11T01:47:52.415Z] ========================================================= [2020-12-11T01:47:52.415Z] EdgeX Global Pipelines Version Info [2020-12-11T01:47:52.415Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-11T01:47:54.500Z] ------------------- [2020-12-11T01:47:54.500Z] stable info: [2020-12-11T01:47:54.500Z] ------------------- [2020-12-11T01:47:54.500Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-11T01:47:54.500Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-11T01:47:54.500Z] Message: update stable to v1.0.172 [2020-12-11T01:47:55.922Z] ------------------- [2020-12-11T01:47:55.922Z] experimental info: [2020-12-11T01:47:55.922Z] ------------------- [2020-12-11T01:47:55.922Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-11T01:47:55.922Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-11T01:47:55.922Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-11T01:47:56.304Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-12-11T01:47:56.402Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-12-11T01:47:56.499Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-11T01:47:56.612Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-11T01:47:56.707Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-11T01:47:56.808Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-11T01:47:56.902Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-11T01:47:57.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-11T01:47:57.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-11T01:47:57.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-11T01:47:57.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-11T01:47:57.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-12-11T01:47:57.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-11T01:47:57.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-11T01:47:57.676Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T01:47:57.780Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T01:47:57.874Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T01:47:57.991Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T01:47:58.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-12-11T01:47:58.169Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-11T01:47:58.262Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-11T01:47:58.363Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-11T01:47:58.455Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-11T01:47:58.546Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-11T01:47:58.636Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-11T01:47:58.727Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-11T01:47:58.817Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-389 [Pipeline] echo [2020-12-11T01:47:58.953Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-389 [Pipeline] echo [2020-12-11T01:47:59.077Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-389 [Pipeline] echo [2020-12-11T01:47:59.221Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b03c3b561411c7e1508b29aebfd79fd891d2e6d5 [Pipeline] echo [2020-12-11T01:47:59.312Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b03c3b5 [Pipeline] echo [2020-12-11T01:47:59.465Z] [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-11T01:48:00.204Z] + git log --format=format:%s -1 b03c3b561411c7e1508b29aebfd79fd891d2e6d5 [Pipeline] echo [2020-12-11T01:48:00.287Z] GIT_COMMIT: b03c3b561411c7e1508b29aebfd79fd891d2e6d5, Commit Message: refactor(meta): Remove DeleteById func [Pipeline] echo [2020-12-11T01:48:00.334Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:48:01.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T01:48:01.752Z] [2020-12-11T01:48:01.752Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:48:02.271Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T01:48:02.590Z] latest: Pulling from edgex-devops/git-semver [2020-12-11T01:48:02.590Z] 31603596830f: Pulling fs layer [2020-12-11T01:48:02.590Z] 2a8b12db71e7: Pulling fs layer [2020-12-11T01:48:02.590Z] 6ca5941a6612: Pulling fs layer [2020-12-11T01:48:02.590Z] ecc8261a40a4: Pulling fs layer [2020-12-11T01:48:02.590Z] ecc8261a40a4: Waiting [2020-12-11T01:48:02.590Z] 2a8b12db71e7: Verifying Checksum [2020-12-11T01:48:02.590Z] 2a8b12db71e7: Download complete [2020-12-11T01:48:02.907Z] 31603596830f: Verifying Checksum [2020-12-11T01:48:02.907Z] 31603596830f: Download complete [2020-12-11T01:48:03.186Z] ecc8261a40a4: Verifying Checksum [2020-12-11T01:48:03.186Z] ecc8261a40a4: Download complete [2020-12-11T01:48:03.502Z] 6ca5941a6612: Verifying Checksum [2020-12-11T01:48:03.502Z] 6ca5941a6612: Download complete [2020-12-11T01:48:03.778Z] 31603596830f: Pull complete [2020-12-11T01:48:04.060Z] 2a8b12db71e7: Pull complete [2020-12-11T01:48:05.522Z] 6ca5941a6612: Pull complete [2020-12-11T01:48:05.808Z] ecc8261a40a4: Pull complete [2020-12-11T01:48:05.808Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-11T01:48:06.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T01:48:06.076Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-11T01:48:06.556Z] prd-centos7-docker-4c-2g-15541 does not seem to be running inside a container [2020-12-11T01:48:06.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-389 -v /w/workspace/dry_go-mod-core-contracts_PR-389:/w/workspace/dry_go-mod-core-contracts_PR-389:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-389@tmp:/w/workspace/dry_go-mod-core-contracts_PR-389@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-11T01:48:10.183Z] $ docker top f429f051582e14fb0d7008b3eddd5b1e2bc9e0808c3d80c7d1aa1ca3ab66c9cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-11T01:48:10.846Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T01:48:10.846Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T01:48:11.755Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T01:48:11.751Z] $ docker exec f429f051582e14fb0d7008b3eddd5b1e2bc9e0808c3d80c7d1aa1ca3ab66c9cd ssh-agent [2020-12-11T01:48:12.316Z] SSH_AUTH_SOCK=/tmp/ssh-MS3dE30puInY/agent.12 [2020-12-11T01:48:12.316Z] SSH_AGENT_PID=17 [2020-12-11T01:48:12.353Z] Running ssh-add (command line suppressed) [2020-12-11T01:48:12.778Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-389@tmp/private_key_4182312635131370195.key (/w/workspace/dry_go-mod-core-contracts_PR-389@tmp/private_key_4182312635131370195.key) [2020-12-11T01:48:12.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T01:48:13.808Z] + git tag --points-at HEAD [Pipeline] } [2020-12-11T01:48:13.989Z] $ docker exec --env ******** --env ******** f429f051582e14fb0d7008b3eddd5b1e2bc9e0808c3d80c7d1aa1ca3ab66c9cd ssh-agent -k [2020-12-11T01:48:14.211Z] unset SSH_AUTH_SOCK; [2020-12-11T01:48:14.211Z] unset SSH_AGENT_PID; [2020-12-11T01:48:14.211Z] echo Agent pid 17 killed; [2020-12-11T01:48:14.363Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-11T01:48:14.543Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T01:48:14.543Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T01:48:14.839Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T01:48:14.835Z] $ docker exec f429f051582e14fb0d7008b3eddd5b1e2bc9e0808c3d80c7d1aa1ca3ab66c9cd ssh-agent [2020-12-11T01:48:15.240Z] SSH_AUTH_SOCK=/tmp/ssh-plnkNB8nrJ6C/agent.45 [2020-12-11T01:48:15.240Z] SSH_AGENT_PID=50 [2020-12-11T01:48:15.251Z] Running ssh-add (command line suppressed) [2020-12-11T01:48:15.431Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-389@tmp/private_key_8854323729423124386.key (/w/workspace/dry_go-mod-core-contracts_PR-389@tmp/private_key_8854323729423124386.key) [2020-12-11T01:48:15.542Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T01:48:15.950Z] + git semver init [2020-12-11T01:48:15.950Z] # -> Open(): unable to determine branch for HEAD [2020-12-11T01:48:15.950Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-389/.git [2020-12-11T01:48:15.950Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-389 [2020-12-11T01:48:15.950Z] # $SEMVER_REMOTE_NAME = origin [2020-12-11T01:48:15.950Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-11T01:48:15.950Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-11T01:48:15.950Z] # $SEMVER_BRANCH = PR-389 [2020-12-11T01:48:15.950Z] # $SEMVER_TEMP = /tmp/semver-056295351 [2020-12-11T01:48:15.950Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-12-11T01:48:18.578Z] # '/tmp/semver-056295351' -> '/w/workspace/dry_go-mod-core-contracts_PR-389/.semver' [2020-12-11T01:48:18.578Z] # -> Force: false [2020-12-11T01:48:18.578Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-389/.semver [Pipeline] } [2020-12-11T01:48:18.593Z] $ docker exec --env ******** --env ******** f429f051582e14fb0d7008b3eddd5b1e2bc9e0808c3d80c7d1aa1ca3ab66c9cd ssh-agent -k [2020-12-11T01:48:18.844Z] unset SSH_AUTH_SOCK; [2020-12-11T01:48:18.846Z] unset SSH_AGENT_PID; [2020-12-11T01:48:18.847Z] echo Agent pid 50 killed; [2020-12-11T01:48:18.938Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-11T01:48:19.821Z] + git semver [Pipeline] } [2020-12-11T01:48:19.867Z] $ docker stop --time=1 f429f051582e14fb0d7008b3eddd5b1e2bc9e0808c3d80c7d1aa1ca3ab66c9cd [2020-12-11T01:48:21.752Z] $ docker rm -f f429f051582e14fb0d7008b3eddd5b1e2bc9e0808c3d80c7d1aa1ca3ab66c9cd [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T01:48:22.420Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-11T01:48:23.217Z] Stashed 1 file(s) [Pipeline] echo [2020-12-11T01:48:23.220Z] [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-11T01:48:38.837Z] Still waiting to schedule task [2020-12-11T01:48:38.837Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-11T01:48:38.840Z] Still waiting to schedule task [2020-12-11T01:48:38.840Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-15539’ [2020-12-11T01:50:41.354Z] Running on prd-centos7-docker-4c-2g-15545 in /w/workspace/dry_go-mod-core-contracts_PR-389 [Pipeline] { [Pipeline] ws [2020-12-11T01:50:41.409Z] Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout [2020-12-11T01:50:43.808Z] using credential edgex-jenkins-ssh [2020-12-11T01:50:43.877Z] Cloning the remote Git repository [2020-12-11T01:50:43.901Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-11T01:50:43.981Z] > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 [2020-12-11T01:50:44.054Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-11T01:50:44.055Z] > git --version # timeout=10 [2020-12-11T01:50:44.065Z] > git --version # 'git version 2.24.3' [2020-12-11T01:50:44.066Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T01:50:44.101Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T01:50:44.831Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-11T01:50:44.839Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T01:50:44.853Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-11T01:50:44.868Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-11T01:50:44.868Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T01:50:44.872Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/389/head:refs/remotes/origin/PR-389 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-11T01:50:45.356Z] Merging remotes/origin/master commit 26f7976e83e717d42c4728cdd25427477ce9fa1e into PR head commit b03c3b561411c7e1508b29aebfd79fd891d2e6d5 [2020-12-11T01:50:45.486Z] Merge succeeded, producing b03c3b561411c7e1508b29aebfd79fd891d2e6d5 [2020-12-11T01:50:45.487Z] Checking out Revision b03c3b561411c7e1508b29aebfd79fd891d2e6d5 (PR-389) [2020-12-11T01:50:45.359Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T01:50:45.377Z] > git checkout -f b03c3b561411c7e1508b29aebfd79fd891d2e6d5 # timeout=10 [2020-12-11T01:50:45.448Z] > git remote # timeout=10 [2020-12-11T01:50:45.454Z] > git config --get remote.origin.url # timeout=10 [2020-12-11T01:50:45.459Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T01:50:45.462Z] > git merge 26f7976e83e717d42c4728cdd25427477ce9fa1e # timeout=10 [2020-12-11T01:50:45.472Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-11T01:50:45.484Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T01:50:45.489Z] > git checkout -f b03c3b561411c7e1508b29aebfd79fd891d2e6d5 # timeout=10 [2020-12-11T01:50:49.169Z] Commit message: "refactor(meta): Remove DeleteById func" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T01:50:50.538Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-11T01:50:50.874Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-11T01:50:51.179Z] + sudo service docker restart [2020-12-11T01:50:51.179Z] + true [2020-12-11T01:50:51.179Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-11T01:50:53.313Z] ========================================================= [2020-12-11T01:50:53.313Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-11T01:50:53.313Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:50:53.665Z] + 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-11T01:50:54.252Z] Sending build context to Docker daemon 1.94MB [2020-12-11T01:50:54.252Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-11T01:50:54.252Z] Step 2/7 : FROM ${BASE} [2020-12-11T01:50:54.252Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-11T01:50:54.252Z] 188c0c94c7c5: Pulling fs layer [2020-12-11T01:50:54.252Z] 0ef7d3d256c8: Pulling fs layer [2020-12-11T01:50:54.252Z] de9db76c5a1d: Pulling fs layer [2020-12-11T01:50:54.252Z] bca2f99d35d6: Pulling fs layer [2020-12-11T01:50:54.252Z] 93359f2a8cfa: Pulling fs layer [2020-12-11T01:50:54.252Z] 7c6f9722023f: Pulling fs layer [2020-12-11T01:50:54.252Z] a35cf1a2eb13: Pulling fs layer [2020-12-11T01:50:54.252Z] bca2f99d35d6: Waiting [2020-12-11T01:50:54.252Z] 93359f2a8cfa: Waiting [2020-12-11T01:50:54.252Z] 7c6f9722023f: Waiting [2020-12-11T01:50:54.252Z] a35cf1a2eb13: Waiting [2020-12-11T01:50:54.252Z] de9db76c5a1d: Verifying Checksum [2020-12-11T01:50:54.252Z] de9db76c5a1d: Download complete [2020-12-11T01:50:54.252Z] 0ef7d3d256c8: Verifying Checksum [2020-12-11T01:50:54.252Z] 0ef7d3d256c8: Download complete [2020-12-11T01:50:54.252Z] 93359f2a8cfa: Verifying Checksum [2020-12-11T01:50:54.252Z] 93359f2a8cfa: Download complete [2020-12-11T01:50:54.252Z] 7c6f9722023f: Download complete [2020-12-11T01:50:54.518Z] 188c0c94c7c5: Download complete [2020-12-11T01:50:54.781Z] 188c0c94c7c5: Pull complete [2020-12-11T01:50:55.048Z] 0ef7d3d256c8: Pull complete [2020-12-11T01:50:55.048Z] de9db76c5a1d: Pull complete [2020-12-11T01:50:56.993Z] a35cf1a2eb13: Verifying Checksum [2020-12-11T01:50:56.993Z] a35cf1a2eb13: Download complete [2020-12-11T01:50:57.943Z] bca2f99d35d6: Verifying Checksum [2020-12-11T01:50:57.943Z] bca2f99d35d6: Download complete [2020-12-11T01:51:04.613Z] bca2f99d35d6: Pull complete [2020-12-11T01:51:04.613Z] 93359f2a8cfa: Pull complete [2020-12-11T01:51:04.613Z] 7c6f9722023f: Pull complete [2020-12-11T01:51:09.947Z] a35cf1a2eb13: Pull complete [2020-12-11T01:51:09.947Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-11T01:51:09.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-11T01:51:09.947Z] ---> a62c8e92a672 [2020-12-11T01:51:09.947Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-11T01:51:09.947Z] ---> Running in ab2a4382d872 [2020-12-11T01:51:09.947Z] Removing intermediate container ab2a4382d872 [2020-12-11T01:51:09.947Z] ---> 58b0f3912ee5 [2020-12-11T01:51:09.947Z] Step 4/7 : RUN apk add bash [2020-12-11T01:51:09.947Z] ---> Running in c424fbb8c0c1 [2020-12-11T01:51:10.213Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-11T01:51:11.607Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-11T01:51:12.560Z] OK: 166 MiB in 39 packages [2020-12-11T01:51:12.825Z] Removing intermediate container c424fbb8c0c1 [2020-12-11T01:51:12.825Z] ---> 8a7894acb126 [2020-12-11T01:51:12.825Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-11T01:51:13.099Z] ---> Running in d69a34a31ce0 [2020-12-11T01:51:13.099Z] Removing intermediate container d69a34a31ce0 [2020-12-11T01:51:13.099Z] ---> c95e0d4a7436 [2020-12-11T01:51:13.099Z] Step 6/7 : COPY go.mod . [2020-12-11T01:51:13.368Z] ---> b32541fcc419 [2020-12-11T01:51:13.368Z] Step 7/7 : RUN go mod download [2020-12-11T01:51:13.368Z] ---> Running in de7c6e81cc00 [2020-12-11T01:51:25.706Z] Removing intermediate container de7c6e81cc00 [2020-12-11T01:51:25.706Z] ---> 9d506b63de7d [2020-12-11T01:51:25.706Z] Successfully built 9d506b63de7d [2020-12-11T01:51:25.706Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:51:26.030Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-11T01:51:26.030Z] . [Pipeline] withDockerContainer [2020-12-11T01:51:26.207Z] prd-centos7-docker-4c-2g-15545 does not seem to be running inside a container [2020-12-11T01:51:26.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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 ******** -e ******** ci-base-image-x86_64 cat [2020-12-11T01:51:27.183Z] $ docker top 4401708e4a1a3fbc4d00ef5646d8544737d595fcb75e41ea613dd6a81aec65e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T01:51:27.676Z] + go version [2020-12-11T01:51:27.676Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-11T01:51:27.686Z] $ docker stop --time=1 4401708e4a1a3fbc4d00ef5646d8544737d595fcb75e41ea613dd6a81aec65e8 [2020-12-11T01:51:29.013Z] $ docker rm -f 4401708e4a1a3fbc4d00ef5646d8544737d595fcb75e41ea613dd6a81aec65e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:51:29.852Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-11T01:51:29.852Z] . [Pipeline] withDockerContainer [2020-12-11T01:51:29.950Z] prd-centos7-docker-4c-2g-15545 does not seem to be running inside a container [2020-12-11T01:51:29.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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 ******** -e ******** ci-base-image-x86_64 cat [2020-12-11T01:51:30.571Z] $ docker top a7a43708800d09cebba4aca787c55ffec18cb301dec51fa2c3d2d1546c9aa132 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T01:51:31.038Z] + make test [2020-12-11T01:51:31.038Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-11T01:51:37.702Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-11T01:51:37.974Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.022s coverage: 85.7% of statements [2020-12-11T01:51:37.974Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.024s coverage: 100.0% of statements [2020-12-11T01:51:38.574Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.018s coverage: 45.4% of statements [2020-12-11T01:51:38.574Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.009s coverage: 77.8% of statements [2020-12-11T01:51:38.574Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-11T01:51:38.574Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.016s coverage: 6.6% of statements [2020-12-11T01:51:39.542Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.013s coverage: 14.7% of statements [2020-12-11T01:51:39.542Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.021s coverage: 100.0% of statements [2020-12-11T01:51:39.542Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.021s coverage: 91.8% of statements [2020-12-11T01:51:39.542Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-11T01:51:39.542Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-11T01:51:39.542Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.005s coverage: 100.0% of statements [2020-12-11T01:51:40.966Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.020s coverage: 47.8% of statements [2020-12-11T01:51:42.944Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.024s coverage: 63.0% of statements [2020-12-11T01:51:42.944Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.015s coverage: 26.3% of statements [2020-12-11T01:51:42.944Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.032s coverage: 15.4% of statements [2020-12-11T01:51:42.944Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.009s coverage: 15.4% of statements [2020-12-11T01:51:42.944Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.018s coverage: 14.3% of statements [2020-12-11T01:51:42.944Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-11T01:51:42.944Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.015s coverage: 80.9% of statements [2020-12-11T01:51:42.944Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-11T01:51:42.944Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-11T01:51:42.944Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.025s coverage: 29.9% of statements [2020-12-11T01:51:42.944Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.025s coverage: 100.0% of statements [2020-12-11T01:51:43.207Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.015s coverage: 94.4% of statements [2020-12-11T01:51:43.207Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.008s coverage: 100.0% of statements [2020-12-11T01:51:43.207Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-11T01:51:43.473Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-11T01:51:44.895Z] gofmt -l . [2020-12-11T01:51:44.895Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-11T01:51:45.168Z] $ docker stop --time=1 a7a43708800d09cebba4aca787c55ffec18cb301dec51fa2c3d2d1546c9aa132 [2020-12-11T01:51:47.473Z] $ docker rm -f a7a43708800d09cebba4aca787c55ffec18cb301dec51fa2c3d2d1546c9aa132 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T01:51:48.076Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-11T01:51:48.409Z] 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] } [2020-12-11T01:52:14.003Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15549 in /w/workspace/dry_go-mod-core-contracts_PR-389 [Pipeline] { [Pipeline] ws [2020-12-11T01:52:14.060Z] Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout [2020-12-11T01:52:18.886Z] using credential edgex-jenkins-ssh [2020-12-11T01:52:18.948Z] Cloning the remote Git repository [2020-12-11T01:52:18.990Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-11T01:52:19.099Z] > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 [2020-12-11T01:52:19.178Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-11T01:52:19.178Z] > git --version # timeout=10 [2020-12-11T01:52:19.196Z] > git --version # 'git version 2.17.1' [2020-12-11T01:52:19.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T01:52:19.247Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T01:52:20.436Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-11T01:52:20.458Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T01:52:20.486Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-12-11T01:52:20.550Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-12-11T01:52:20.550Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T01:52:20.560Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/389/head:refs/remotes/origin/PR-389 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-11T01:52:22.318Z] Merging remotes/origin/master commit 26f7976e83e717d42c4728cdd25427477ce9fa1e into PR head commit b03c3b561411c7e1508b29aebfd79fd891d2e6d5 [2020-12-11T01:52:22.579Z] Merge succeeded, producing b03c3b561411c7e1508b29aebfd79fd891d2e6d5 [2020-12-11T01:52:22.580Z] Checking out Revision b03c3b561411c7e1508b29aebfd79fd891d2e6d5 (PR-389) [2020-12-11T01:52:22.330Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T01:52:22.351Z] > git checkout -f b03c3b561411c7e1508b29aebfd79fd891d2e6d5 # timeout=10 [2020-12-11T01:52:22.484Z] > git remote # timeout=10 [2020-12-11T01:52:22.501Z] > git config --get remote.origin.url # timeout=10 [2020-12-11T01:52:22.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T01:52:22.534Z] > git merge 26f7976e83e717d42c4728cdd25427477ce9fa1e # timeout=10 [2020-12-11T01:52:22.556Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-11T01:52:22.578Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T01:52:22.591Z] > git checkout -f b03c3b561411c7e1508b29aebfd79fd891d2e6d5 # timeout=10 [2020-12-11T01:52:27.327Z] Commit message: "refactor(meta): Remove DeleteById func" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T01:52:28.865Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-11T01:52:29.291Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-11T01:52:29.676Z] + true [2020-12-11T01:52:29.676Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2020-12-11T01:52:32.590Z] ========================================================= [2020-12-11T01:52:32.590Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-11T01:52:32.590Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:52:32.975Z] + 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-11T01:52:33.962Z] Sending build context to Docker daemon 1.939MB [2020-12-11T01:52:33.962Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-11T01:52:33.962Z] Step 2/7 : FROM ${BASE} [2020-12-11T01:52:34.239Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-11T01:52:34.239Z] 5f621e34cdf4: Pulling fs layer [2020-12-11T01:52:34.239Z] a4357932f1b6: Pulling fs layer [2020-12-11T01:52:34.239Z] 18c013af1878: Pulling fs layer [2020-12-11T01:52:34.239Z] 00ac8860ef70: Pulling fs layer [2020-12-11T01:52:34.239Z] 63d7cb157983: Pulling fs layer [2020-12-11T01:52:34.239Z] b116817d02f9: Pulling fs layer [2020-12-11T01:52:34.239Z] 745a02a5169b: Pulling fs layer [2020-12-11T01:52:34.239Z] 00ac8860ef70: Waiting [2020-12-11T01:52:34.239Z] 745a02a5169b: Waiting [2020-12-11T01:52:34.239Z] b116817d02f9: Waiting [2020-12-11T01:52:34.239Z] 63d7cb157983: Waiting [2020-12-11T01:52:34.239Z] 18c013af1878: Download complete [2020-12-11T01:52:34.239Z] a4357932f1b6: Verifying Checksum [2020-12-11T01:52:34.239Z] a4357932f1b6: Download complete [2020-12-11T01:52:34.239Z] 63d7cb157983: Verifying Checksum [2020-12-11T01:52:34.239Z] 63d7cb157983: Download complete [2020-12-11T01:52:34.515Z] b116817d02f9: Verifying Checksum [2020-12-11T01:52:34.515Z] b116817d02f9: Download complete [2020-12-11T01:52:34.515Z] 5f621e34cdf4: Verifying Checksum [2020-12-11T01:52:34.515Z] 5f621e34cdf4: Download complete [2020-12-11T01:52:35.122Z] 5f621e34cdf4: Pull complete [2020-12-11T01:52:35.731Z] a4357932f1b6: Pull complete [2020-12-11T01:52:36.011Z] 18c013af1878: Pull complete [2020-12-11T01:52:36.995Z] 745a02a5169b: Verifying Checksum [2020-12-11T01:52:37.598Z] 00ac8860ef70: Verifying Checksum [2020-12-11T01:52:37.598Z] 00ac8860ef70: Download complete [2020-12-11T01:52:47.790Z] 00ac8860ef70: Pull complete [2020-12-11T01:52:48.065Z] 63d7cb157983: Pull complete [2020-12-11T01:52:48.339Z] b116817d02f9: Pull complete [2020-12-11T01:52:52.677Z] 745a02a5169b: Pull complete [2020-12-11T01:52:52.677Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-11T01:52:52.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-11T01:52:52.677Z] ---> b7e6874047d6 [2020-12-11T01:52:52.677Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-11T01:52:55.314Z] ---> Running in d29db6a28551 [2020-12-11T01:52:55.314Z] Removing intermediate container d29db6a28551 [2020-12-11T01:52:55.314Z] ---> 338a16e41687 [2020-12-11T01:52:55.314Z] Step 4/7 : RUN apk add bash [2020-12-11T01:52:55.314Z] ---> Running in 6acc2458b8ff [2020-12-11T01:52:56.753Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-11T01:52:57.738Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-11T01:52:59.172Z] OK: 142 MiB in 39 packages [2020-12-11T01:53:00.154Z] Removing intermediate container 6acc2458b8ff [2020-12-11T01:53:00.154Z] ---> 994d72244af9 [2020-12-11T01:53:00.154Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-11T01:53:00.428Z] ---> Running in 28ba1e0bdd0b [2020-12-11T01:53:00.701Z] Removing intermediate container 28ba1e0bdd0b [2020-12-11T01:53:00.701Z] ---> 689516652dc5 [2020-12-11T01:53:00.701Z] Step 6/7 : COPY go.mod . [2020-12-11T01:53:01.691Z] ---> 0c330a693b62 [2020-12-11T01:53:01.691Z] Step 7/7 : RUN go mod download [2020-12-11T01:53:01.691Z] ---> Running in 298b1558d502 [2020-12-11T01:53:16.784Z] Removing intermediate container 298b1558d502 [2020-12-11T01:53:16.784Z] ---> 2a07888dc12c [2020-12-11T01:53:16.784Z] Successfully built 2a07888dc12c [2020-12-11T01:53:16.784Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:53:17.195Z] + docker inspect -f . ci-base-image-arm64 [2020-12-11T01:53:17.195Z] . [Pipeline] withDockerContainer [2020-12-11T01:53:17.484Z] prd-ubuntu18.04-docker-arm64-4c-16g-15549 does not seem to be running inside a container [2020-12-11T01:53:17.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-11T01:53:19.100Z] $ docker top e924fc5d8d71619405f8110f01a50146ab3c17f492e81a4a9093f3274e8d1276 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T01:53:20.140Z] + go version [2020-12-11T01:53:20.140Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-11T01:53:20.166Z] $ docker stop --time=1 e924fc5d8d71619405f8110f01a50146ab3c17f492e81a4a9093f3274e8d1276 [2020-12-11T01:53:22.137Z] $ docker rm -f e924fc5d8d71619405f8110f01a50146ab3c17f492e81a4a9093f3274e8d1276 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:53:23.232Z] + docker inspect -f . ci-base-image-arm64 [2020-12-11T01:53:23.232Z] . [Pipeline] withDockerContainer [2020-12-11T01:53:23.504Z] prd-ubuntu18.04-docker-arm64-4c-16g-15549 does not seem to be running inside a container [2020-12-11T01:53:23.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-11T01:53:25.138Z] $ docker top e3ac2ff04e6987ffac4e0bbcb92cab93764e95912712bf28adbd1a5594011b4a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T01:53:26.165Z] + make test [2020-12-11T01:53:26.165Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-11T01:53:48.388Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-12-11T01:53:48.667Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.046s coverage: 85.7% of statements [2020-12-11T01:53:48.667Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.039s coverage: 100.0% of statements [2020-12-11T01:53:51.310Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.087s coverage: 45.4% of statements [2020-12-11T01:53:51.310Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.043s coverage: 77.8% of statements [2020-12-11T01:53:51.310Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-12-11T01:53:51.310Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.010s coverage: 6.6% of statements [2020-12-11T01:53:51.918Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.065s coverage: 14.7% of statements [2020-12-11T01:53:52.522Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.021s coverage: 100.0% of statements [2020-12-11T01:53:53.512Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.092s coverage: 91.8% of statements [2020-12-11T01:53:53.512Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-12-11T01:53:53.512Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-12-11T01:53:53.512Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.015s coverage: 100.0% of statements [2020-12-11T01:53:54.499Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.026s coverage: 47.8% of statements [2020-12-11T01:53:59.942Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.105s coverage: 63.0% of statements [2020-12-11T01:53:59.942Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.019s coverage: 26.3% of statements [2020-12-11T01:53:59.942Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.025s coverage: 15.4% of statements [2020-12-11T01:53:59.942Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.054s coverage: 15.4% of statements [2020-12-11T01:53:59.942Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.031s coverage: 14.3% of statements [2020-12-11T01:53:59.942Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-12-11T01:54:01.408Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.056s coverage: 80.9% of statements [2020-12-11T01:54:01.408Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-12-11T01:54:01.408Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-12-11T01:54:01.408Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.034s coverage: 29.9% of statements [2020-12-11T01:54:01.408Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.047s coverage: 100.0% of statements [2020-12-11T01:54:02.399Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.066s coverage: 94.4% of statements [2020-12-11T01:54:02.992Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.022s coverage: 100.0% of statements [2020-12-11T01:54:02.992Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-12-11T01:54:03.265Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-11T01:54:07.581Z] gofmt -l . [2020-12-11T01:54:07.853Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-11T01:54:08.462Z] $ docker stop --time=1 e3ac2ff04e6987ffac4e0bbcb92cab93764e95912712bf28adbd1a5594011b4a [2020-12-11T01:54:10.649Z] $ docker rm -f e3ac2ff04e6987ffac4e0bbcb92cab93764e95912712bf28adbd1a5594011b4a [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T01:54:11.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-11T01:54:11.641Z] Warning: overwriting stash ‘coverage-report’ [2020-12-11T01:54:12.592Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-12-11T01:54:14.822Z] provisioning config files... [2020-12-11T01:54:14.853Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-389@tmp/config2178218893744547945tmp [Pipeline] { [Pipeline] sh [2020-12-11T01:54:15.309Z] + set +x [2020-12-11T01:54:15.309Z] + curl -s https://codecov.io/bash [2020-12-11T01:54:15.309Z] + bash -s -- [2020-12-11T01:54:15.584Z] [2020-12-11T01:54:15.585Z] _____ _ [2020-12-11T01:54:15.585Z] / ____| | | [2020-12-11T01:54:15.585Z] | | ___ __| | ___ ___ _____ __ [2020-12-11T01:54:15.585Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-11T01:54:15.585Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-11T01:54:15.585Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-11T01:54:15.585Z] Bash-20201130-cc6d3fe [2020-12-11T01:54:15.585Z] [2020-12-11T01:54:15.585Z] [2020-12-11T01:54:15.585Z] ==> Jenkins CI detected. [2020-12-11T01:54:15.585Z] project root: . [2020-12-11T01:54:15.585Z] --> token set from env [2020-12-11T01:54:15.585Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-11T01:54:15.585Z] ==> Running gcov in . (disable via -X gcov) [2020-12-11T01:54:15.585Z] ==> Python coveragepy not found [2020-12-11T01:54:15.585Z] ==> Searching for coverage reports in: [2020-12-11T01:54:15.585Z] + . [2020-12-11T01:54:15.585Z] -> Found 1 reports [2020-12-11T01:54:15.585Z] ==> Detecting git/mercurial file structure [2020-12-11T01:54:15.855Z] ==> Reading reports [2020-12-11T01:54:15.855Z] + ./coverage.out bytes=107811 [2020-12-11T01:54:15.855Z] ==> Appending adjustments [2020-12-11T01:54:15.855Z] https://docs.codecov.io/docs/fixing-reports [2020-12-11T01:54:16.835Z] + Found adjustments [2020-12-11T01:54:16.835Z] ==> Gzipping contents [2020-12-11T01:54:16.835Z] 20K /tmp/codecov.HSBVS0.gz [2020-12-11T01:54:16.835Z] ==> Uploading reports [2020-12-11T01:54:16.835Z] url: https://codecov.io [2020-12-11T01:54:16.835Z] query: branch=PR-389&commit=b03c3b561411c7e1508b29aebfd79fd891d2e6d5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-389%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=389&job=&cmd_args= [2020-12-11T01:54:17.104Z] -> Pinging Codecov [2020-12-11T01:54:17.104Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-389&commit=b03c3b561411c7e1508b29aebfd79fd891d2e6d5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-389%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=389&job=&cmd_args= [2020-12-11T01:54:17.373Z] -> Uploading to [2020-12-11T01:54:17.373Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-11/71470A77251A30514AAF9C0BB2E5B6CE/b03c3b561411c7e1508b29aebfd79fd891d2e6d5/2384e1da-c81b-41e1-9845-3367b3b92240.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201211%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201211T015417Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8fc98e4ab880e1ca72ee2937de9e7860b07dc2fa2f01442eb485d494ba3fb1af [2020-12-11T01:54:17.373Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-11T01:54:17.373Z] Dload Upload Total Spent Left Speed [2020-12-11T01:54:17.953Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17566 0 0 100 17566 0 34217 --:--:-- --:--:-- --:--:-- 34175 100 17566 0 0 100 17566 0 34201 --:--:-- --:--:-- --:--:-- 34175 [2020-12-11T01:54:17.954Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/b03c3b561411c7e1508b29aebfd79fd891d2e6d5 [Pipeline] } [2020-12-11T01:54:17.964Z] 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-11T01:54:21.584Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T01:54:22.213Z] ---> package-listing.sh [2020-12-11T01:54:22.214Z] ++ facter osfamily [2020-12-11T01:54:22.214Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-11T01:54:22.481Z] + OS_FAMILY=redhat [2020-12-11T01:54:22.481Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-389 [2020-12-11T01:54:22.481Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-11T01:54:22.481Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-11T01:54:22.481Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-11T01:54:22.481Z] + PACKAGES=/tmp/packages_start.txt [2020-12-11T01:54:22.481Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-389 ']' [2020-12-11T01:54:22.481Z] + PACKAGES=/tmp/packages_end.txt [2020-12-11T01:54:22.481Z] + case "${OS_FAMILY}" in [2020-12-11T01:54:22.481Z] + rpm -qa [2020-12-11T01:54:22.481Z] + sort [2020-12-11T01:54:29.178Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-11T01:54:29.178Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-11T01:54:29.178Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-11T01:54:29.178Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-389 ']' [2020-12-11T01:54:29.178Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-389/archives/ [2020-12-11T01:54:29.178Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-389/archives/ [Pipeline] echo [2020-12-11T01:54:29.198Z] 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-389/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-11T01:54:29.538Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:54:29.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T01:54:30.174Z] [2020-12-11T01:54:30.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:54:30.645Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T01:54:30.646Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-11T01:54:30.646Z] df20fa9351a1: Pulling fs layer [2020-12-11T01:54:30.646Z] 36b3adc4ff6f: Pulling fs layer [2020-12-11T01:54:30.646Z] 8ad3a11d3b57: Pulling fs layer [2020-12-11T01:54:30.646Z] 46f8f816bc3b: Pulling fs layer [2020-12-11T01:54:30.646Z] 93b61091891f: Pulling fs layer [2020-12-11T01:54:30.646Z] 93b9cdb0e59b: Pulling fs layer [2020-12-11T01:54:30.646Z] 5e14af77c1be: Pulling fs layer [2020-12-11T01:54:30.646Z] 01666e4c0597: Pulling fs layer [2020-12-11T01:54:30.646Z] aa168da1d23b: Pulling fs layer [2020-12-11T01:54:30.646Z] 93b9cdb0e59b: Waiting [2020-12-11T01:54:30.646Z] 5e14af77c1be: Waiting [2020-12-11T01:54:30.646Z] 46f8f816bc3b: Waiting [2020-12-11T01:54:30.646Z] 01666e4c0597: Waiting [2020-12-11T01:54:30.646Z] 93b61091891f: Waiting [2020-12-11T01:54:30.646Z] aa168da1d23b: Waiting [2020-12-11T01:54:30.646Z] 36b3adc4ff6f: Verifying Checksum [2020-12-11T01:54:30.646Z] 36b3adc4ff6f: Download complete [2020-12-11T01:54:30.913Z] 46f8f816bc3b: Verifying Checksum [2020-12-11T01:54:30.913Z] 46f8f816bc3b: Download complete [2020-12-11T01:54:30.913Z] 93b61091891f: Verifying Checksum [2020-12-11T01:54:30.913Z] 93b61091891f: Download complete [2020-12-11T01:54:30.913Z] df20fa9351a1: Verifying Checksum [2020-12-11T01:54:30.913Z] df20fa9351a1: Download complete [2020-12-11T01:54:30.913Z] 93b9cdb0e59b: Verifying Checksum [2020-12-11T01:54:30.913Z] 93b9cdb0e59b: Download complete [2020-12-11T01:54:30.913Z] 5e14af77c1be: Verifying Checksum [2020-12-11T01:54:30.913Z] 5e14af77c1be: Download complete [2020-12-11T01:54:30.913Z] 01666e4c0597: Verifying Checksum [2020-12-11T01:54:30.913Z] 01666e4c0597: Download complete [2020-12-11T01:54:31.909Z] 8ad3a11d3b57: Verifying Checksum [2020-12-11T01:54:31.909Z] 8ad3a11d3b57: Download complete [2020-12-11T01:54:31.909Z] df20fa9351a1: Pull complete [2020-12-11T01:54:32.201Z] 36b3adc4ff6f: Pull complete [2020-12-11T01:54:34.249Z] 8ad3a11d3b57: Pull complete [2020-12-11T01:54:34.249Z] 46f8f816bc3b: Pull complete [2020-12-11T01:54:35.679Z] 93b61091891f: Pull complete [2020-12-11T01:54:35.679Z] aa168da1d23b: Verifying Checksum [2020-12-11T01:54:35.679Z] aa168da1d23b: Download complete [2020-12-11T01:54:36.278Z] 93b9cdb0e59b: Pull complete [2020-12-11T01:54:36.278Z] 5e14af77c1be: Pull complete [2020-12-11T01:54:36.554Z] 01666e4c0597: Pull complete [2020-12-11T01:54:49.053Z] aa168da1d23b: Pull complete [2020-12-11T01:54:49.053Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-11T01:54:49.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T01:54:49.053Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-11T01:54:49.402Z] prd-centos7-docker-4c-2g-15541 does not seem to be running inside a container [2020-12-11T01:54:49.484Z] $ 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-389/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-389 -v /w/workspace/dry_go-mod-core-contracts_PR-389:/w/workspace/dry_go-mod-core-contracts_PR-389:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-389@tmp:/w/workspace/dry_go-mod-core-contracts_PR-389@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-11T01:54:53.547Z] $ docker top f84eb21f05974bc7d0461a092baa99914ebd757d7b5a55e453b6016065a2748b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T01:54:54.568Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-11T01:54:54.904Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-11T01:54:55.282Z] + ls /var/log/sa-host [2020-12-11T01:54:55.282Z] + sadf -c /var/log/sa-host/sa11 [2020-12-11T01:54:55.282Z] file_magic: OK [2020-12-11T01:54:55.282Z] HZ: Using current value: 100 [2020-12-11T01:54:55.282Z] file_header: OK [2020-12-11T01:54:55.282Z] 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-11T01:54:55.282Z] Statistics: [2020-12-11T01:54:55.282Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-11T01:54:55.282Z] File successfully converted to sysstat format version 12.2.1 [2020-12-11T01:54:55.282Z] + sadf -c /var/log/sa-host/sa23 [2020-12-11T01:54:55.282Z] file_magic: OK [2020-12-11T01:54:55.282Z] HZ: Using current value: 100 [2020-12-11T01:54:55.282Z] file_header: OK [2020-12-11T01:54:55.282Z] 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-11T01:54:55.282Z] Statistics: [2020-12-11T01:54:55.282Z] Hnuu...uuuununununu... [2020-12-11T01:54:55.282Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-11T01:54:55.523Z] provisioning config files... [2020-12-11T01:54:55.547Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-389@tmp/config5729120459385181561tmp [Pipeline] { [Pipeline] echo [2020-12-11T01:54:55.658Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T01:54:56.351Z] ---> create-netrc.sh [Pipeline] } [2020-12-11T01:54:56.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-11T01:54:56.468Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T01:54:56.824Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-11T01:54:56.838Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T01:54:57.297Z] ---> sudo-logs.sh [2020-12-11T01:54:57.297Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-11T01:54:57.596Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T01:54:57.928Z] ---> job-cost.sh [2020-12-11T01:54:57.929Z] lf-activate-venv: SKIPPING [2020-12-11T01:54:57.929Z] INFO: No Stack... [2020-12-11T01:54:58.915Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-11T01:54:59.526Z] INFO: Archiving Costs [Pipeline] echo [2020-12-11T01:54:59.559Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T01:54:59.928Z] ---> logs-deploy.sh [2020-12-11T01:54:59.928Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-389/3 [2020-12-11T01:54:59.928Z] INFO: archiving workspace using pattern(s): [2020-12-11T01:55:03.373Z] Archives upload complete. [2020-12-11T01:55:03.373Z] INFO: archiving logs to Nexus