Pull request #434 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 lenny-intel for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a+4e6048057b0b81b33b2cc06fdb6a9d4ee0dd808f (81f9f14ff468eef762b2681d221508ab0ed4a07a) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-21202’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21205 in /w/workspace/dry_go-mod-core-contracts_PR-434 [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-434 # 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 Merging remotes/origin/master commit 4e6048057b0b81b33b2cc06fdb6a9d4ee0dd808f into PR head commit 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a Merge succeeded, producing 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a Checking out Revision 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a (PR-434) > 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/434/head:refs/remotes/origin/PR-434 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a # 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 4e6048057b0b81b33b2cc06fdb6a9d4ee0dd808f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a # timeout=10 Commit message: "refactor: Make module a V2 Go Module" First time build. Skipping changelog. > git rev-list --no-walk 6f370706b430178c87c2a2912871e61045998f12 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-19T15:59:51.372Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-19T15:59:51.790Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-19T15:59:52.001Z] ========================================================= [2021-01-19T15:59:52.001Z] EdgeX Global Pipelines Version Info [2021-01-19T15:59:52.001Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-19T15:59:53.573Z] ------------------- [2021-01-19T15:59:53.574Z] stable info: [2021-01-19T15:59:53.574Z] ------------------- [2021-01-19T15:59:53.574Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-19T15:59:53.574Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-19T15:59:53.574Z] Message: update stable to v1.0.177 [2021-01-19T15:59:54.552Z] ------------------- [2021-01-19T15:59:54.552Z] experimental info: [2021-01-19T15:59:54.552Z] ------------------- [2021-01-19T15:59:54.552Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-19T15:59:54.552Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-19T15:59:54.552Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-19T15:59:54.815Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-01-19T15:59:54.906Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-01-19T15:59:55.026Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-19T15:59:55.124Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-19T15:59:55.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-19T15:59:55.382Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-19T15:59:55.491Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-19T15:59:55.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-19T15:59:55.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-19T15:59:55.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-19T15:59:55.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-19T15:59:56.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-01-19T15:59:56.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-19T15:59:56.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-19T15:59:56.304Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T15:59:56.405Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T15:59:56.492Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T15:59:56.582Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-19T15:59:56.679Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2021-01-19T15:59:56.776Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-19T15:59:56.872Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-19T15:59:56.966Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-19T15:59:57.059Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-19T15:59:57.155Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-19T15:59:57.246Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-19T15:59:57.335Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-19T15:59:57.424Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-19T15:59:57.528Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-434 [Pipeline] echo [2021-01-19T15:59:57.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-434 [Pipeline] echo [2021-01-19T15:59:57.702Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-434 [Pipeline] echo [2021-01-19T15:59:57.801Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a [Pipeline] echo [2021-01-19T15:59:57.886Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 123cfd8 [Pipeline] echo [2021-01-19T15:59:57.975Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T15:59:58.694Z] + git log --format=format:%s -1 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a [Pipeline] echo [2021-01-19T15:59:58.765Z] GIT_COMMIT: 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a, Commit Message: refactor: Make module a V2 Go Module [Pipeline] echo [2021-01-19T15:59:58.816Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-19T15:59:59.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T15:59:59.677Z] [2021-01-19T15:59:59.677Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T16:00:00.036Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T16:00:00.036Z] latest: Pulling from edgex-devops/git-semver [2021-01-19T16:00:00.036Z] 31603596830f: Pulling fs layer [2021-01-19T16:00:00.036Z] 2a8b12db71e7: Pulling fs layer [2021-01-19T16:00:00.036Z] 6ca5941a6612: Pulling fs layer [2021-01-19T16:00:00.036Z] ecc8261a40a4: Pulling fs layer [2021-01-19T16:00:00.036Z] ecc8261a40a4: Waiting [2021-01-19T16:00:00.036Z] 2a8b12db71e7: Verifying Checksum [2021-01-19T16:00:00.036Z] 2a8b12db71e7: Download complete [2021-01-19T16:00:00.301Z] 31603596830f: Verifying Checksum [2021-01-19T16:00:00.301Z] 31603596830f: Download complete [2021-01-19T16:00:00.301Z] ecc8261a40a4: Verifying Checksum [2021-01-19T16:00:00.301Z] ecc8261a40a4: Download complete [2021-01-19T16:00:00.301Z] 6ca5941a6612: Verifying Checksum [2021-01-19T16:00:00.301Z] 6ca5941a6612: Download complete [2021-01-19T16:00:00.575Z] 31603596830f: Pull complete [2021-01-19T16:00:00.840Z] 2a8b12db71e7: Pull complete [2021-01-19T16:00:01.811Z] 6ca5941a6612: Pull complete [2021-01-19T16:00:02.087Z] ecc8261a40a4: Pull complete [2021-01-19T16:00:02.087Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-19T16:00:02.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-19T16:00:02.087Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-19T16:00:02.288Z] prd-centos7-docker-4c-2g-21205 does not seem to be running inside a container [2021-01-19T16:00:02.377Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-434 -v /w/workspace/dry_go-mod-core-contracts_PR-434:/w/workspace/dry_go-mod-core-contracts_PR-434:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-434@tmp:/w/workspace/dry_go-mod-core-contracts_PR-434@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 [2021-01-19T16:00:04.288Z] $ docker top eb8ff0a7fe8545d0a36d7f4a905721c633f10641303675d3a59128c0d5fd8d15 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-19T16:00:04.665Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T16:00:04.665Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T16:00:04.916Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T16:00:04.920Z] $ docker exec eb8ff0a7fe8545d0a36d7f4a905721c633f10641303675d3a59128c0d5fd8d15 ssh-agent [2021-01-19T16:00:05.115Z] SSH_AUTH_SOCK=/tmp/ssh-xP6mxUgzDak1/agent.12 [2021-01-19T16:00:05.115Z] SSH_AGENT_PID=18 [2021-01-19T16:00:05.127Z] Running ssh-add (command line suppressed) [2021-01-19T16:00:05.260Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-434@tmp/private_key_7428364508286007325.key (/w/workspace/dry_go-mod-core-contracts_PR-434@tmp/private_key_7428364508286007325.key) [2021-01-19T16:00:05.320Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T16:00:05.686Z] + git tag --points-at HEAD [Pipeline] } [2021-01-19T16:00:05.711Z] $ docker exec --env ******** --env ******** eb8ff0a7fe8545d0a36d7f4a905721c633f10641303675d3a59128c0d5fd8d15 ssh-agent -k [2021-01-19T16:00:05.835Z] unset SSH_AUTH_SOCK; [2021-01-19T16:00:05.835Z] unset SSH_AGENT_PID; [2021-01-19T16:00:05.835Z] echo Agent pid 18 killed; [2021-01-19T16:00:05.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-19T16:00:06.060Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-19T16:00:06.060Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-19T16:00:06.263Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-19T16:00:06.267Z] $ docker exec eb8ff0a7fe8545d0a36d7f4a905721c633f10641303675d3a59128c0d5fd8d15 ssh-agent [2021-01-19T16:00:06.433Z] SSH_AUTH_SOCK=/tmp/ssh-ugEdOyu4YvZ5/agent.48 [2021-01-19T16:00:06.433Z] SSH_AGENT_PID=54 [2021-01-19T16:00:06.440Z] Running ssh-add (command line suppressed) [2021-01-19T16:00:06.561Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-434@tmp/private_key_4998921959120950520.key (/w/workspace/dry_go-mod-core-contracts_PR-434@tmp/private_key_4998921959120950520.key) [2021-01-19T16:00:06.624Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-19T16:00:06.971Z] + git semver init [2021-01-19T16:00:06.971Z] # -> Open(): unable to determine branch for HEAD [2021-01-19T16:00:06.971Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-434/.git [2021-01-19T16:00:06.971Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-434 [2021-01-19T16:00:06.971Z] # $SEMVER_REMOTE_NAME = origin [2021-01-19T16:00:06.971Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-19T16:00:06.971Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-19T16:00:06.971Z] # $SEMVER_BRANCH = PR-434 [2021-01-19T16:00:06.971Z] # $SEMVER_TEMP = /tmp/semver-504431380 [2021-01-19T16:00:06.971Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-01-19T16:00:10.291Z] # '/tmp/semver-504431380' -> '/w/workspace/dry_go-mod-core-contracts_PR-434/.semver' [2021-01-19T16:00:10.291Z] # -> Force: false [2021-01-19T16:00:10.291Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-434/.semver [Pipeline] } [2021-01-19T16:00:10.305Z] $ docker exec --env ******** --env ******** eb8ff0a7fe8545d0a36d7f4a905721c633f10641303675d3a59128c0d5fd8d15 ssh-agent -k [2021-01-19T16:00:10.445Z] unset SSH_AUTH_SOCK; [2021-01-19T16:00:10.446Z] unset SSH_AGENT_PID; [2021-01-19T16:00:10.446Z] echo Agent pid 54 killed; [2021-01-19T16:00:10.505Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-19T16:00:11.084Z] + git semver [Pipeline] } [2021-01-19T16:00:11.114Z] $ docker stop --time=1 eb8ff0a7fe8545d0a36d7f4a905721c633f10641303675d3a59128c0d5fd8d15 [2021-01-19T16:00:12.927Z] $ docker rm -f eb8ff0a7fe8545d0a36d7f4a905721c633f10641303675d3a59128c0d5fd8d15 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T16:00:13.404Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-19T16:00:13.873Z] Stashed 1 file(s) [Pipeline] echo [2021-01-19T16:00:13.876Z] [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 [2021-01-19T16:00:29.440Z] Still waiting to schedule task [2021-01-19T16:00:29.440Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-19T16:00:29.443Z] Still waiting to schedule task [2021-01-19T16:00:29.443Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21206’ is offline [2021-01-19T16:01:39.460Z] Running on prd-centos7-docker-4c-2g-21210 in /w/workspace/dry_go-mod-core-contracts_PR-434 [Pipeline] { [Pipeline] ws [2021-01-19T16:01:39.514Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2021-01-19T16:01:42.219Z] using credential edgex-jenkins-ssh [2021-01-19T16:01:42.280Z] Cloning the remote Git repository [2021-01-19T16:01:42.360Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-19T16:01:42.424Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2021-01-19T16:01:42.481Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-19T16:01:42.482Z] > git --version # timeout=10 [2021-01-19T16:01:42.491Z] > git --version # 'git version 2.24.3' [2021-01-19T16:01:42.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T16:01:42.514Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T16:01:44.004Z] Merging remotes/origin/master commit 4e6048057b0b81b33b2cc06fdb6a9d4ee0dd808f into PR head commit 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a [2021-01-19T16:01:44.144Z] Merge succeeded, producing 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a [2021-01-19T16:01:44.144Z] Checking out Revision 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a (PR-434) [2021-01-19T16:01:43.409Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-19T16:01:43.419Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T16:01:43.435Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-19T16:01:43.450Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-19T16:01:43.450Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T16:01:43.456Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/434/head:refs/remotes/origin/PR-434 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T16:01:44.015Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T16:01:44.021Z] > git checkout -f 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a # timeout=10 [2021-01-19T16:01:44.101Z] > git remote # timeout=10 [2021-01-19T16:01:44.109Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T16:01:44.118Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T16:01:44.124Z] > git merge 4e6048057b0b81b33b2cc06fdb6a9d4ee0dd808f # timeout=10 [2021-01-19T16:01:44.138Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T16:01:44.149Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T16:01:44.155Z] > git checkout -f 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a # timeout=10 [2021-01-19T16:01:47.864Z] Commit message: "refactor: Make module a V2 Go Module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T16:01:49.229Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-19T16:01:49.580Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T16:01:49.877Z] + true [2021-01-19T16:01:49.877Z] + sudo service docker restart [2021-01-19T16:01:49.877Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-19T16:01:50.950Z] ========================================================= [2021-01-19T16:01:50.950Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-19T16:01:50.950Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T16:01:51.318Z] + 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 . [2021-01-19T16:01:51.893Z] Sending build context to Docker daemon 2.351MB [2021-01-19T16:01:51.893Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-19T16:01:51.893Z] Step 2/7 : FROM ${BASE} [2021-01-19T16:01:51.893Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-19T16:01:51.893Z] 188c0c94c7c5: Pulling fs layer [2021-01-19T16:01:51.893Z] 0ef7d3d256c8: Pulling fs layer [2021-01-19T16:01:51.893Z] de9db76c5a1d: Pulling fs layer [2021-01-19T16:01:51.893Z] bca2f99d35d6: Pulling fs layer [2021-01-19T16:01:51.893Z] 93359f2a8cfa: Pulling fs layer [2021-01-19T16:01:51.893Z] 7c6f9722023f: Pulling fs layer [2021-01-19T16:01:51.893Z] a35cf1a2eb13: Pulling fs layer [2021-01-19T16:01:51.893Z] 93359f2a8cfa: Waiting [2021-01-19T16:01:51.893Z] 7c6f9722023f: Waiting [2021-01-19T16:01:51.893Z] a35cf1a2eb13: Waiting [2021-01-19T16:01:51.893Z] bca2f99d35d6: Waiting [2021-01-19T16:01:51.893Z] de9db76c5a1d: Verifying Checksum [2021-01-19T16:01:51.893Z] de9db76c5a1d: Download complete [2021-01-19T16:01:51.893Z] 0ef7d3d256c8: Download complete [2021-01-19T16:01:51.893Z] 93359f2a8cfa: Download complete [2021-01-19T16:01:51.893Z] 7c6f9722023f: Verifying Checksum [2021-01-19T16:01:51.893Z] 7c6f9722023f: Download complete [2021-01-19T16:01:52.158Z] 188c0c94c7c5: Verifying Checksum [2021-01-19T16:01:52.158Z] 188c0c94c7c5: Download complete [2021-01-19T16:01:52.428Z] 188c0c94c7c5: Pull complete [2021-01-19T16:01:52.428Z] 0ef7d3d256c8: Pull complete [2021-01-19T16:01:52.695Z] de9db76c5a1d: Pull complete [2021-01-19T16:01:53.646Z] a35cf1a2eb13: Download complete [2021-01-19T16:01:54.231Z] bca2f99d35d6: Verifying Checksum [2021-01-19T16:01:54.231Z] bca2f99d35d6: Download complete [2021-01-19T16:01:59.595Z] bca2f99d35d6: Pull complete [2021-01-19T16:01:59.595Z] 93359f2a8cfa: Pull complete [2021-01-19T16:01:59.859Z] 7c6f9722023f: Pull complete [2021-01-19T16:02:06.578Z] a35cf1a2eb13: Pull complete [2021-01-19T16:02:06.578Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-19T16:02:06.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-19T16:02:06.578Z] ---> a62c8e92a672 [2021-01-19T16:02:06.578Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-19T16:02:06.578Z] ---> Running in 8094abdeffe5 [2021-01-19T16:02:06.848Z] Removing intermediate container 8094abdeffe5 [2021-01-19T16:02:06.848Z] ---> 0351283f1cf1 [2021-01-19T16:02:06.848Z] Step 4/7 : RUN apk add bash [2021-01-19T16:02:06.848Z] ---> Running in c0d9b95875ac [2021-01-19T16:02:07.435Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-19T16:02:08.408Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-19T16:02:08.986Z] OK: 166 MiB in 39 packages [2021-01-19T16:02:09.567Z] Removing intermediate container c0d9b95875ac [2021-01-19T16:02:09.567Z] ---> 8c58c7e5f63c [2021-01-19T16:02:09.567Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-19T16:02:09.567Z] ---> Running in b109537b0489 [2021-01-19T16:02:09.567Z] Removing intermediate container b109537b0489 [2021-01-19T16:02:09.567Z] ---> a996e9c06419 [2021-01-19T16:02:09.567Z] Step 6/7 : COPY go.mod . [2021-01-19T16:02:09.830Z] ---> 0f0704ada5e9 [2021-01-19T16:02:09.830Z] Step 7/7 : RUN go mod download [2021-01-19T16:02:09.830Z] ---> Running in acf9616b7689 [2021-01-19T16:02:22.137Z] Removing intermediate container acf9616b7689 [2021-01-19T16:02:22.137Z] ---> 7fc1f6b1b3a4 [2021-01-19T16:02:22.137Z] Successfully built 7fc1f6b1b3a4 [2021-01-19T16:02:22.137Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T16:02:22.451Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T16:02:22.451Z] . [Pipeline] withDockerContainer [2021-01-19T16:02:22.563Z] prd-centos7-docker-4c-2g-21210 does not seem to be running inside a container [2021-01-19T16:02:22.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-x86_64 cat [2021-01-19T16:02:23.340Z] $ docker top ff9fa8a1c8a0b5d23ba935e752b2ac08d32b50599b892ff4b9df0597518b3f82 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T16:02:23.954Z] + go version [2021-01-19T16:02:23.954Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-19T16:02:23.974Z] $ docker stop --time=1 ff9fa8a1c8a0b5d23ba935e752b2ac08d32b50599b892ff4b9df0597518b3f82 [2021-01-19T16:02:25.388Z] $ docker rm -f ff9fa8a1c8a0b5d23ba935e752b2ac08d32b50599b892ff4b9df0597518b3f82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T16:02:26.191Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-19T16:02:26.191Z] . [Pipeline] withDockerContainer [2021-01-19T16:02:26.290Z] prd-centos7-docker-4c-2g-21210 does not seem to be running inside a container [2021-01-19T16:02:26.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-x86_64 cat [2021-01-19T16:02:27.076Z] $ docker top b8a528dc9844b1daecbfdcdaacbda2f0a9e8645bce3a01f8860d6f3370d72b54 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T16:02:27.544Z] + make test [2021-01-19T16:02:27.544Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-19T16:02:34.237Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-01-19T16:02:34.237Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.028s coverage: 85.7% of statements [2021-01-19T16:02:34.237Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.038s coverage: 100.0% of statements [2021-01-19T16:02:35.238Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.021s coverage: 45.4% of statements [2021-01-19T16:02:35.238Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.017s coverage: 77.8% of statements [2021-01-19T16:02:35.238Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-19T16:02:35.512Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.017s coverage: 26.3% of statements [2021-01-19T16:02:36.100Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.013s coverage: 14.7% of statements [2021-01-19T16:02:36.100Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.008s coverage: 100.0% of statements [2021-01-19T16:02:36.368Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.021s coverage: 91.8% of statements [2021-01-19T16:02:36.368Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-01-19T16:02:36.368Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-01-19T16:02:36.368Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.017s coverage: 100.0% of statements [2021-01-19T16:02:36.368Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.009s coverage: 47.8% of statements [2021-01-19T16:02:38.341Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.026s coverage: 63.0% of statements [2021-01-19T16:02:38.341Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.004s coverage: 26.3% of statements [2021-01-19T16:02:38.341Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.016s coverage: 15.4% of statements [2021-01-19T16:02:38.341Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.008s coverage: 15.4% of statements [2021-01-19T16:02:38.341Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.034s coverage: 14.3% of statements [2021-01-19T16:02:38.341Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-01-19T16:02:39.310Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.047s coverage: 85.2% of statements [2021-01-19T16:02:39.310Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-01-19T16:02:39.310Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-01-19T16:02:39.310Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.017s coverage: 44.1% of statements [2021-01-19T16:02:39.310Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.016s coverage: 94.4% of statements [2021-01-19T16:02:39.310Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.030s coverage: 92.9% of statements [2021-01-19T16:02:39.572Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.007s coverage: 100.0% of statements [2021-01-19T16:02:39.572Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-01-19T16:02:39.833Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-19T16:02:41.247Z] gofmt -l . [2021-01-19T16:02:41.511Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-19T16:02:41.528Z] $ docker stop --time=1 b8a528dc9844b1daecbfdcdaacbda2f0a9e8645bce3a01f8860d6f3370d72b54 [2021-01-19T16:02:43.725Z] $ docker rm -f b8a528dc9844b1daecbfdcdaacbda2f0a9e8645bce3a01f8860d6f3370d72b54 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T16:02:44.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T16:02:44.752Z] 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] } [2021-01-19T16:03:20.492Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21212 in /w/workspace/dry_go-mod-core-contracts_PR-434 [Pipeline] { [Pipeline] ws [2021-01-19T16:03:20.569Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2021-01-19T16:03:25.728Z] using credential edgex-jenkins-ssh [2021-01-19T16:03:25.793Z] Cloning the remote Git repository [2021-01-19T16:03:25.865Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-19T16:03:25.984Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2021-01-19T16:03:26.078Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-19T16:03:26.079Z] > git --version # timeout=10 [2021-01-19T16:03:26.103Z] > git --version # 'git version 2.17.1' [2021-01-19T16:03:26.107Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T16:03:26.185Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T16:03:28.037Z] Merging remotes/origin/master commit 4e6048057b0b81b33b2cc06fdb6a9d4ee0dd808f into PR head commit 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a [2021-01-19T16:03:27.164Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-19T16:03:27.185Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-19T16:03:27.219Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-19T16:03:27.265Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-19T16:03:27.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T16:03:27.276Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/434/head:refs/remotes/origin/PR-434 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-19T16:03:28.061Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T16:03:28.084Z] > git checkout -f 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a # timeout=10 [2021-01-19T16:03:28.213Z] > git remote # timeout=10 [2021-01-19T16:03:28.369Z] Merge succeeded, producing 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a [2021-01-19T16:03:28.370Z] Checking out Revision 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a (PR-434) [2021-01-19T16:03:28.243Z] > git config --get remote.origin.url # timeout=10 [2021-01-19T16:03:28.264Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-19T16:03:28.276Z] > git merge 4e6048057b0b81b33b2cc06fdb6a9d4ee0dd808f # timeout=10 [2021-01-19T16:03:28.343Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-19T16:03:28.379Z] > git config core.sparsecheckout # timeout=10 [2021-01-19T16:03:28.420Z] > git checkout -f 123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a # timeout=10 [2021-01-19T16:03:32.736Z] Commit message: "refactor: Make module a V2 Go Module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-19T16:03:34.320Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-19T16:03:34.721Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-19T16:03:35.062Z] + sudo service docker restart [2021-01-19T16:03:35.062Z] + true [Pipeline] unstash [Pipeline] echo [2021-01-19T16:03:37.336Z] ========================================================= [2021-01-19T16:03:37.336Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-19T16:03:37.336Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-19T16:03:37.743Z] + 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 . [2021-01-19T16:03:38.738Z] Sending build context to Docker daemon 2.35MB [2021-01-19T16:03:38.738Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-19T16:03:38.738Z] Step 2/7 : FROM ${BASE} [2021-01-19T16:03:39.014Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-19T16:03:39.014Z] 5f621e34cdf4: Pulling fs layer [2021-01-19T16:03:39.014Z] a4357932f1b6: Pulling fs layer [2021-01-19T16:03:39.014Z] 18c013af1878: Pulling fs layer [2021-01-19T16:03:39.014Z] 00ac8860ef70: Pulling fs layer [2021-01-19T16:03:39.014Z] 63d7cb157983: Pulling fs layer [2021-01-19T16:03:39.014Z] b116817d02f9: Pulling fs layer [2021-01-19T16:03:39.014Z] 745a02a5169b: Pulling fs layer [2021-01-19T16:03:39.014Z] 00ac8860ef70: Waiting [2021-01-19T16:03:39.014Z] 63d7cb157983: Waiting [2021-01-19T16:03:39.014Z] b116817d02f9: Waiting [2021-01-19T16:03:39.014Z] 745a02a5169b: Waiting [2021-01-19T16:03:39.289Z] 18c013af1878: Verifying Checksum [2021-01-19T16:03:39.289Z] 18c013af1878: Download complete [2021-01-19T16:03:39.289Z] a4357932f1b6: Download complete [2021-01-19T16:03:39.289Z] 63d7cb157983: Verifying Checksum [2021-01-19T16:03:39.289Z] b116817d02f9: Download complete [2021-01-19T16:03:39.562Z] 5f621e34cdf4: Verifying Checksum [2021-01-19T16:03:39.562Z] 5f621e34cdf4: Download complete [2021-01-19T16:03:40.164Z] 5f621e34cdf4: Pull complete [2021-01-19T16:03:40.767Z] a4357932f1b6: Pull complete [2021-01-19T16:03:41.043Z] 18c013af1878: Pull complete [2021-01-19T16:03:42.036Z] 745a02a5169b: Verifying Checksum [2021-01-19T16:03:42.036Z] 745a02a5169b: Download complete [2021-01-19T16:03:43.476Z] 00ac8860ef70: Verifying Checksum [2021-01-19T16:03:43.476Z] 00ac8860ef70: Download complete [2021-01-19T16:03:53.668Z] 00ac8860ef70: Pull complete [2021-01-19T16:03:53.949Z] 63d7cb157983: Pull complete [2021-01-19T16:03:54.221Z] b116817d02f9: Pull complete [2021-01-19T16:03:57.622Z] 745a02a5169b: Pull complete [2021-01-19T16:03:57.622Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-19T16:03:57.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-19T16:03:57.622Z] ---> b7e6874047d6 [2021-01-19T16:03:57.622Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-19T16:04:01.005Z] ---> Running in a41266d9a82c [2021-01-19T16:04:01.005Z] Removing intermediate container a41266d9a82c [2021-01-19T16:04:01.005Z] ---> 6328006278f7 [2021-01-19T16:04:01.005Z] Step 4/7 : RUN apk add bash [2021-01-19T16:04:01.005Z] ---> Running in 8c72104224f2 [2021-01-19T16:04:02.431Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-19T16:04:03.408Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-19T16:04:04.384Z] OK: 142 MiB in 39 packages [2021-01-19T16:04:05.853Z] Removing intermediate container 8c72104224f2 [2021-01-19T16:04:05.853Z] ---> 93c6642d56f1 [2021-01-19T16:04:05.853Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-19T16:04:06.129Z] ---> Running in b083009238e7 [2021-01-19T16:04:06.411Z] Removing intermediate container b083009238e7 [2021-01-19T16:04:06.411Z] ---> a93feb4a24bb [2021-01-19T16:04:06.411Z] Step 6/7 : COPY go.mod . [2021-01-19T16:04:07.017Z] ---> 4a93267ae86c [2021-01-19T16:04:07.017Z] Step 7/7 : RUN go mod download [2021-01-19T16:04:07.292Z] ---> Running in ea69455a7872 [2021-01-19T16:04:22.393Z] Removing intermediate container ea69455a7872 [2021-01-19T16:04:22.393Z] ---> daf10978f535 [2021-01-19T16:04:22.393Z] Successfully built daf10978f535 [2021-01-19T16:04:22.393Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-19T16:04:22.736Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T16:04:22.737Z] . [Pipeline] withDockerContainer [2021-01-19T16:04:22.998Z] prd-ubuntu18.04-docker-arm64-4c-16g-21212 does not seem to be running inside a container [2021-01-19T16:04:23.089Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-arm64 cat [2021-01-19T16:04:24.630Z] $ docker top 6359dcfe12ea2ecc357dcc13d77e6144c0a04713fb6fcf84b471f30903b57ae8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T16:04:25.638Z] + go version [2021-01-19T16:04:25.638Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-19T16:04:25.660Z] $ docker stop --time=1 6359dcfe12ea2ecc357dcc13d77e6144c0a04713fb6fcf84b471f30903b57ae8 [2021-01-19T16:04:27.631Z] $ docker rm -f 6359dcfe12ea2ecc357dcc13d77e6144c0a04713fb6fcf84b471f30903b57ae8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-19T16:04:28.580Z] + docker inspect -f . ci-base-image-arm64 [2021-01-19T16:04:28.580Z] . [Pipeline] withDockerContainer [2021-01-19T16:04:28.799Z] prd-ubuntu18.04-docker-arm64-4c-16g-21212 does not seem to be running inside a container [2021-01-19T16:04:28.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-arm64 cat [2021-01-19T16:04:30.226Z] $ docker top 2b2df2c8d34bd18089c281be0cbb1e07f468631bc0f16f4863e95d6aa1e73c3d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T16:04:31.228Z] + make test [2021-01-19T16:04:31.228Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-19T16:04:54.444Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-01-19T16:04:54.444Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.048s coverage: 85.7% of statements [2021-01-19T16:04:54.444Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.042s coverage: 100.0% of statements [2021-01-19T16:04:55.054Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.071s coverage: 45.4% of statements [2021-01-19T16:04:55.054Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.023s coverage: 77.8% of statements [2021-01-19T16:04:55.054Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-19T16:04:55.335Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.021s coverage: 26.3% of statements [2021-01-19T16:04:57.988Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.043s coverage: 14.7% of statements [2021-01-19T16:04:57.988Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.041s coverage: 100.0% of statements [2021-01-19T16:04:57.988Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.084s coverage: 91.8% of statements [2021-01-19T16:04:57.988Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-01-19T16:04:57.988Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-01-19T16:04:57.988Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.041s coverage: 100.0% of statements [2021-01-19T16:04:58.265Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.019s coverage: 47.8% of statements [2021-01-19T16:05:05.007Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.117s coverage: 63.0% of statements [2021-01-19T16:05:05.007Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.018s coverage: 26.3% of statements [2021-01-19T16:05:05.007Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.009s coverage: 15.4% of statements [2021-01-19T16:05:05.007Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.009s coverage: 15.4% of statements [2021-01-19T16:05:05.007Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.038s coverage: 14.3% of statements [2021-01-19T16:05:05.007Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-01-19T16:05:05.999Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.222s coverage: 85.2% of statements [2021-01-19T16:05:05.999Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-01-19T16:05:05.999Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-01-19T16:05:05.999Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.089s coverage: 44.1% of statements [2021-01-19T16:05:05.999Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.035s coverage: 94.4% of statements [2021-01-19T16:05:07.429Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.114s coverage: 92.9% of statements [2021-01-19T16:05:07.430Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.023s coverage: 100.0% of statements [2021-01-19T16:05:07.430Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-01-19T16:05:07.701Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-19T16:05:13.142Z] gofmt -l . [2021-01-19T16:05:13.142Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-19T16:05:13.431Z] $ docker stop --time=1 2b2df2c8d34bd18089c281be0cbb1e07f468631bc0f16f4863e95d6aa1e73c3d [2021-01-19T16:05:15.761Z] $ docker rm -f 2b2df2c8d34bd18089c281be0cbb1e07f468631bc0f16f4863e95d6aa1e73c3d [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-19T16:05:16.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-19T16:05:16.694Z] Warning: overwriting stash ‘coverage-report’ [2021-01-19T16:05:17.665Z] 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 [2021-01-19T16:05:19.205Z] provisioning config files... [2021-01-19T16:05:19.218Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-434@tmp/config665584689491772541tmp [Pipeline] { [Pipeline] sh [2021-01-19T16:05:19.596Z] + set +x [2021-01-19T16:05:19.596Z] + curl -s https://codecov.io/bash [2021-01-19T16:05:19.596Z] + bash -s -- [2021-01-19T16:05:19.859Z] [2021-01-19T16:05:19.859Z] _____ _ [2021-01-19T16:05:19.859Z] / ____| | | [2021-01-19T16:05:19.859Z] | | ___ __| | ___ ___ _____ __ [2021-01-19T16:05:19.859Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-19T16:05:19.859Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-19T16:05:19.859Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-19T16:05:19.859Z] Bash-20210115-cec3c92 [2021-01-19T16:05:19.859Z] [2021-01-19T16:05:19.859Z] [2021-01-19T16:05:19.859Z] ==> git version 2.24.3 found [2021-01-19T16:05:19.859Z] ==> 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 [2021-01-19T16:05:19.859Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-19T16:05:19.859Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-19T16:05:19.859Z] ==> Jenkins CI detected. [2021-01-19T16:05:19.859Z] project root: . [2021-01-19T16:05:19.859Z] --> token set from env [2021-01-19T16:05:19.859Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-19T16:05:19.859Z] ==> Running gcov in . (disable via -X gcov) [2021-01-19T16:05:19.859Z] ==> Python coveragepy not found [2021-01-19T16:05:19.859Z] ==> Searching for coverage reports in: [2021-01-19T16:05:19.859Z] + . [2021-01-19T16:05:19.859Z] -> Found 1 reports [2021-01-19T16:05:19.859Z] ==> Detecting git/mercurial file structure [2021-01-19T16:05:19.859Z] ==> Reading reports [2021-01-19T16:05:19.859Z] + ./coverage.out bytes=127405 [2021-01-19T16:05:19.859Z] ==> Appending adjustments [2021-01-19T16:05:19.859Z] https://docs.codecov.io/docs/fixing-reports [2021-01-19T16:05:20.807Z] + Found adjustments [2021-01-19T16:05:20.807Z] ==> Gzipping contents [2021-01-19T16:05:20.807Z] 20K /tmp/codecov.RqR5b0.gz [2021-01-19T16:05:20.807Z] ==> Uploading reports [2021-01-19T16:05:20.807Z] url: https://codecov.io [2021-01-19T16:05:20.807Z] query: branch=PR-434&commit=123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-434%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=434&job=&cmd_args= [2021-01-19T16:05:20.807Z] -> Pinging Codecov [2021-01-19T16:05:20.807Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-434&commit=123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-434%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=434&job=&cmd_args= [2021-01-19T16:05:21.071Z] -> Uploading to [2021-01-19T16:05:21.071Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-19/71470A77251A30514AAF9C0BB2E5B6CE/123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a/97f4334f-64e1-4f7b-a5f8-b30a7bbb0c04.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T160521Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f5c091741c7fa6a804d9e73d13895f9029e62e307f58dc7ab80daadb87efd70f [2021-01-19T16:05:21.071Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-19T16:05:21.071Z] Dload Upload Total Spent Left Speed [2021-01-19T16:05:21.647Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19567 0 0 100 19567 0 36880 --:--:-- --:--:-- --:--:-- 36849 100 19567 0 0 100 19567 0 36869 --:--:-- --:--:-- --:--:-- 36849 [2021-01-19T16:05:21.647Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/123cfd87b561e9c2a672fa9a8fc9a3fa17aa700a [Pipeline] } [2021-01-19T16:05:21.657Z] 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 [2021-01-19T16:05:24.001Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T16:05:24.312Z] ---> package-listing.sh [2021-01-19T16:05:24.312Z] ++ facter osfamily [2021-01-19T16:05:24.312Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-19T16:05:24.312Z] + OS_FAMILY=redhat [2021-01-19T16:05:24.312Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-434 [2021-01-19T16:05:24.312Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-19T16:05:24.312Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-19T16:05:24.312Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-19T16:05:24.312Z] + PACKAGES=/tmp/packages_start.txt [2021-01-19T16:05:24.312Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-434 ']' [2021-01-19T16:05:24.312Z] + PACKAGES=/tmp/packages_end.txt [2021-01-19T16:05:24.312Z] + case "${OS_FAMILY}" in [2021-01-19T16:05:24.312Z] + rpm -qa [2021-01-19T16:05:24.312Z] + sort [2021-01-19T16:05:29.615Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-19T16:05:29.615Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-19T16:05:29.615Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-19T16:05:29.615Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-434 ']' [2021-01-19T16:05:29.615Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-434/archives/ [2021-01-19T16:05:29.615Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-434/archives/ [Pipeline] echo [2021-01-19T16:05:29.629Z] 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-434/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-19T16:05:29.917Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-19T16:05:30.223Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T16:05:30.223Z] [2021-01-19T16:05:30.223Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-19T16:05:30.580Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T16:05:30.581Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-19T16:05:30.581Z] df20fa9351a1: Pulling fs layer [2021-01-19T16:05:30.581Z] 36b3adc4ff6f: Pulling fs layer [2021-01-19T16:05:30.581Z] 8ad3a11d3b57: Pulling fs layer [2021-01-19T16:05:30.581Z] 46f8f816bc3b: Pulling fs layer [2021-01-19T16:05:30.581Z] 93b61091891f: Pulling fs layer [2021-01-19T16:05:30.581Z] 93b9cdb0e59b: Pulling fs layer [2021-01-19T16:05:30.581Z] 5e14af77c1be: Pulling fs layer [2021-01-19T16:05:30.581Z] 01666e4c0597: Pulling fs layer [2021-01-19T16:05:30.581Z] aa168da1d23b: Pulling fs layer [2021-01-19T16:05:30.581Z] 93b9cdb0e59b: Waiting [2021-01-19T16:05:30.581Z] 46f8f816bc3b: Waiting [2021-01-19T16:05:30.581Z] 93b61091891f: Waiting [2021-01-19T16:05:30.581Z] 5e14af77c1be: Waiting [2021-01-19T16:05:30.581Z] 01666e4c0597: Waiting [2021-01-19T16:05:30.581Z] aa168da1d23b: Waiting [2021-01-19T16:05:30.581Z] 36b3adc4ff6f: Verifying Checksum [2021-01-19T16:05:30.581Z] 36b3adc4ff6f: Download complete [2021-01-19T16:05:30.581Z] 46f8f816bc3b: Verifying Checksum [2021-01-19T16:05:30.581Z] 46f8f816bc3b: Download complete [2021-01-19T16:05:30.581Z] df20fa9351a1: Verifying Checksum [2021-01-19T16:05:30.581Z] 93b9cdb0e59b: Verifying Checksum [2021-01-19T16:05:30.581Z] 93b9cdb0e59b: Download complete [2021-01-19T16:05:30.857Z] 5e14af77c1be: Verifying Checksum [2021-01-19T16:05:30.857Z] 5e14af77c1be: Download complete [2021-01-19T16:05:30.857Z] 01666e4c0597: Verifying Checksum [2021-01-19T16:05:30.857Z] 01666e4c0597: Download complete [2021-01-19T16:05:30.857Z] 93b61091891f: Download complete [2021-01-19T16:05:30.857Z] 8ad3a11d3b57: Download complete [2021-01-19T16:05:31.120Z] df20fa9351a1: Pull complete [2021-01-19T16:05:31.383Z] 36b3adc4ff6f: Pull complete [2021-01-19T16:05:32.376Z] 8ad3a11d3b57: Pull complete [2021-01-19T16:05:32.648Z] aa168da1d23b: Verifying Checksum [2021-01-19T16:05:32.648Z] aa168da1d23b: Download complete [2021-01-19T16:05:32.918Z] 46f8f816bc3b: Pull complete [2021-01-19T16:05:33.182Z] 93b61091891f: Pull complete [2021-01-19T16:05:33.445Z] 93b9cdb0e59b: Pull complete [2021-01-19T16:05:33.445Z] 5e14af77c1be: Pull complete [2021-01-19T16:05:33.708Z] 01666e4c0597: Pull complete [2021-01-19T16:05:40.343Z] aa168da1d23b: Pull complete [2021-01-19T16:05:40.343Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-19T16:05:40.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-19T16:05:40.343Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-19T16:05:40.547Z] prd-centos7-docker-4c-2g-21205 does not seem to be running inside a container [2021-01-19T16:05:40.597Z] $ 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-434/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-434 -v /w/workspace/dry_go-mod-core-contracts_PR-434:/w/workspace/dry_go-mod-core-contracts_PR-434:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-434@tmp:/w/workspace/dry_go-mod-core-contracts_PR-434@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 [2021-01-19T16:05:44.754Z] $ docker top ba16e82a6a41d310ad860a546b5edd25f10948e16983c3c469e0507b0605f5cd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-19T16:05:45.302Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-19T16:05:45.602Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-19T16:05:45.902Z] + ls /var/log/sa-host [2021-01-19T16:05:45.902Z] + sadf -c /var/log/sa-host/sa19 [2021-01-19T16:05:45.902Z] file_magic: OK [2021-01-19T16:05:45.902Z] HZ: Using current value: 100 [2021-01-19T16:05:45.902Z] file_header: OK [2021-01-19T16:05:45.902Z] 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 [2021-01-19T16:05:45.902Z] Statistics: [2021-01-19T16:05:45.902Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-19T16:05:45.902Z] File successfully converted to sysstat format version 12.2.1 [2021-01-19T16:05:45.902Z] + sadf -c /var/log/sa-host/sa23 [2021-01-19T16:05:45.902Z] file_magic: OK [2021-01-19T16:05:45.902Z] HZ: Using current value: 100 [2021-01-19T16:05:45.902Z] file_header: OK [2021-01-19T16:05:45.902Z] 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 [2021-01-19T16:05:45.902Z] Statistics: [2021-01-19T16:05:45.902Z] Hnuu...uuuununununu... [2021-01-19T16:05:45.902Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-19T16:05:46.121Z] provisioning config files... [2021-01-19T16:05:46.135Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-434@tmp/config3677849254251913026tmp [Pipeline] { [Pipeline] echo [2021-01-19T16:05:46.208Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T16:05:46.510Z] ---> create-netrc.sh [Pipeline] } [2021-01-19T16:05:46.520Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-19T16:05:46.608Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T16:05:46.908Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-19T16:05:46.919Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T16:05:47.219Z] ---> sudo-logs.sh [2021-01-19T16:05:47.219Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-19T16:05:47.232Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T16:05:47.527Z] ---> job-cost.sh [2021-01-19T16:05:47.527Z] lf-activate-venv: SKIPPING [2021-01-19T16:05:47.527Z] INFO: No Stack... [2021-01-19T16:05:48.915Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-19T16:05:49.176Z] INFO: Archiving Costs [Pipeline] echo [2021-01-19T16:05:49.191Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-19T16:05:49.493Z] ---> logs-deploy.sh [2021-01-19T16:05:49.493Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-434/2 [2021-01-19T16:05:49.493Z] INFO: archiving workspace using pattern(s): [2021-01-19T16:05:51.419Z] Archives upload complete. [2021-01-19T16:05:51.419Z] INFO: archiving logs to Nexus