Pull request #454 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of judehung for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from 1e8bb2918c59a593f9ea16f6556d6685202bca8b+ec144b24ced0f21853b25b0c4d467c544d57d2dd (baebe4a2a019e07a2b5329ab52bb9211d31aaccf) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-454/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-454/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 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:pre] ========================================================= [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: pre 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-22237 in /w/workspace/dry_go-mod-core-contracts_PR-454 [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-454 # 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 Merging remotes/origin/master commit ec144b24ced0f21853b25b0c4d467c544d57d2dd into PR head commit 1e8bb2918c59a593f9ea16f6556d6685202bca8b Merge succeeded, producing 1e8bb2918c59a593f9ea16f6556d6685202bca8b Checking out Revision 1e8bb2918c59a593f9ea16f6556d6685202bca8b (PR-454) 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/454/head:refs/remotes/origin/PR-454 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e8bb2918c59a593f9ea16f6556d6685202bca8b # 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 ec144b24ced0f21853b25b0c4d467c544d57d2dd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e8bb2918c59a593f9ea16f6556d6685202bca8b # timeout=10 Commit message: "feat(command): Create IssueCommandResponse DTO" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-22T07:50:50.945Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-22T07:50:51.308Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-22T07:50:51.512Z] ========================================================= [2021-01-22T07:50:51.512Z] EdgeX Global Pipelines Version Info [2021-01-22T07:50:51.512Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-22T07:50:53.042Z] ------------------- [2021-01-22T07:50:53.042Z] stable info: [2021-01-22T07:50:53.042Z] ------------------- [2021-01-22T07:50:53.042Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-22T07:50:53.042Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-22T07:50:53.042Z] Message: update stable to v1.0.179 [2021-01-22T07:50:53.992Z] ------------------- [2021-01-22T07:50:53.992Z] experimental info: [2021-01-22T07:50:53.992Z] ------------------- [2021-01-22T07:50:53.992Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-22T07:50:53.992Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-22T07:50:53.992Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-22T07:50:54.356Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-01-22T07:50:54.478Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-01-22T07:50:54.602Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-22T07:50:54.733Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-22T07:50:54.850Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-22T07:50:54.981Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-22T07:50:55.122Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-22T07:50:55.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-22T07:50:55.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-22T07:50:55.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-22T07:50:55.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-22T07:50:55.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-01-22T07:50:55.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-22T07:50:56.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-22T07:50:56.241Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T07:50:56.366Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T07:50:56.485Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T07:50:56.609Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-22T07:50:56.730Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-22T07:50:56.847Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-22T07:50:57.019Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-22T07:50:57.137Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-22T07:50:57.251Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-22T07:50:57.368Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-22T07:50:57.486Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-22T07:50:57.603Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-22T07:50:57.727Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-22T07:50:57.848Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-454 [Pipeline] echo [2021-01-22T07:50:57.964Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-454 [Pipeline] echo [2021-01-22T07:50:58.078Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-454 [Pipeline] echo [2021-01-22T07:50:58.193Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e8bb2918c59a593f9ea16f6556d6685202bca8b [Pipeline] echo [2021-01-22T07:50:58.312Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e8bb29 [Pipeline] echo [2021-01-22T07:50:58.435Z] [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-22T07:50:59.308Z] + git log --format=format:%s -1 1e8bb2918c59a593f9ea16f6556d6685202bca8b [Pipeline] echo [2021-01-22T07:50:59.408Z] GIT_COMMIT: 1e8bb2918c59a593f9ea16f6556d6685202bca8b, Commit Message: feat(command): Create IssueCommandResponse DTO [Pipeline] echo [2021-01-22T07:50:59.503Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-22T07:51:00.160Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T07:51:00.425Z] [2021-01-22T07:51:00.425Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T07:51:00.815Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T07:51:00.815Z] latest: Pulling from edgex-devops/git-semver [2021-01-22T07:51:00.815Z] 31603596830f: Pulling fs layer [2021-01-22T07:51:00.815Z] 2a8b12db71e7: Pulling fs layer [2021-01-22T07:51:00.815Z] 6ca5941a6612: Pulling fs layer [2021-01-22T07:51:00.815Z] ecc8261a40a4: Pulling fs layer [2021-01-22T07:51:00.815Z] ecc8261a40a4: Waiting [2021-01-22T07:51:00.816Z] 2a8b12db71e7: Verifying Checksum [2021-01-22T07:51:00.816Z] 2a8b12db71e7: Download complete [2021-01-22T07:51:01.080Z] 31603596830f: Verifying Checksum [2021-01-22T07:51:01.080Z] 31603596830f: Download complete [2021-01-22T07:51:01.080Z] ecc8261a40a4: Verifying Checksum [2021-01-22T07:51:01.080Z] ecc8261a40a4: Download complete [2021-01-22T07:51:01.080Z] 6ca5941a6612: Verifying Checksum [2021-01-22T07:51:01.081Z] 6ca5941a6612: Download complete [2021-01-22T07:51:01.344Z] 31603596830f: Pull complete [2021-01-22T07:51:01.608Z] 2a8b12db71e7: Pull complete [2021-01-22T07:51:02.562Z] 6ca5941a6612: Pull complete [2021-01-22T07:51:02.562Z] ecc8261a40a4: Pull complete [2021-01-22T07:51:02.562Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-22T07:51:02.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-22T07:51:02.562Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-22T07:51:02.694Z] prd-centos7-docker-4c-2g-22237 does not seem to be running inside a container [2021-01-22T07:51:02.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-454 -v /w/workspace/dry_go-mod-core-contracts_PR-454:/w/workspace/dry_go-mod-core-contracts_PR-454:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-454@tmp:/w/workspace/dry_go-mod-core-contracts_PR-454@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-22T07:51:05.022Z] $ docker top fa7f31c9df10eb4e8eab336ddeb18d3e151f88af616e944f77ee04379b99486d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-22T07:51:05.407Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T07:51:05.408Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T07:51:05.620Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T07:51:05.626Z] $ docker exec fa7f31c9df10eb4e8eab336ddeb18d3e151f88af616e944f77ee04379b99486d ssh-agent [2021-01-22T07:51:05.787Z] SSH_AUTH_SOCK=/tmp/ssh-QMb1NmGOHC57/agent.12 [2021-01-22T07:51:05.787Z] SSH_AGENT_PID=17 [2021-01-22T07:51:05.797Z] Running ssh-add (command line suppressed) [2021-01-22T07:51:05.920Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-454@tmp/private_key_7165040165878067293.key (/w/workspace/dry_go-mod-core-contracts_PR-454@tmp/private_key_7165040165878067293.key) [2021-01-22T07:51:05.969Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T07:51:06.349Z] + git tag --points-at HEAD [Pipeline] } [2021-01-22T07:51:06.444Z] $ docker exec --env ******** --env ******** fa7f31c9df10eb4e8eab336ddeb18d3e151f88af616e944f77ee04379b99486d ssh-agent -k [2021-01-22T07:51:06.583Z] unset SSH_AUTH_SOCK; [2021-01-22T07:51:06.583Z] unset SSH_AGENT_PID; [2021-01-22T07:51:06.583Z] echo Agent pid 17 killed; [2021-01-22T07:51:06.631Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-22T07:51:06.838Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-22T07:51:06.838Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-22T07:51:07.004Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-22T07:51:07.010Z] $ docker exec fa7f31c9df10eb4e8eab336ddeb18d3e151f88af616e944f77ee04379b99486d ssh-agent [2021-01-22T07:51:07.173Z] SSH_AUTH_SOCK=/tmp/ssh-r4eWQe6JBHTn/agent.47 [2021-01-22T07:51:07.173Z] SSH_AGENT_PID=52 [2021-01-22T07:51:07.180Z] Running ssh-add (command line suppressed) [2021-01-22T07:51:07.294Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-454@tmp/private_key_84010177541237524.key (/w/workspace/dry_go-mod-core-contracts_PR-454@tmp/private_key_84010177541237524.key) [2021-01-22T07:51:07.343Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-22T07:51:07.739Z] + git semver init [2021-01-22T07:51:07.739Z] # -> Open(): unable to determine branch for HEAD [2021-01-22T07:51:07.739Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-454/.git [2021-01-22T07:51:07.739Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-454 [2021-01-22T07:51:07.739Z] # $SEMVER_REMOTE_NAME = origin [2021-01-22T07:51:07.739Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-22T07:51:07.739Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-22T07:51:07.739Z] # $SEMVER_BRANCH = PR-454 [2021-01-22T07:51:07.739Z] # $SEMVER_TEMP = /tmp/semver-357247526 [2021-01-22T07:51:07.739Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-01-22T07:51:08.315Z] # '/tmp/semver-357247526' -> '/w/workspace/dry_go-mod-core-contracts_PR-454/.semver' [2021-01-22T07:51:08.315Z] # -> Force: false [2021-01-22T07:51:08.315Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-454/.semver [Pipeline] } [2021-01-22T07:51:08.337Z] $ docker exec --env ******** --env ******** fa7f31c9df10eb4e8eab336ddeb18d3e151f88af616e944f77ee04379b99486d ssh-agent -k [2021-01-22T07:51:08.451Z] unset SSH_AUTH_SOCK; [2021-01-22T07:51:08.451Z] unset SSH_AGENT_PID; [2021-01-22T07:51:08.451Z] echo Agent pid 52 killed; [2021-01-22T07:51:08.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-22T07:51:09.056Z] + git semver [Pipeline] } [2021-01-22T07:51:09.114Z] $ docker stop --time=1 fa7f31c9df10eb4e8eab336ddeb18d3e151f88af616e944f77ee04379b99486d [2021-01-22T07:51:10.952Z] $ docker rm -f fa7f31c9df10eb4e8eab336ddeb18d3e151f88af616e944f77ee04379b99486d [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T07:51:11.464Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-22T07:51:11.876Z] Stashed 1 file(s) [Pipeline] echo [2021-01-22T07:51:11.901Z] [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-22T07:51:27.719Z] Still waiting to schedule task [2021-01-22T07:51:27.719Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-22T07:51:27.751Z] Still waiting to schedule task [2021-01-22T07:51:27.751Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-22T07:53:28.125Z] Running on prd-centos7-docker-4c-2g-22239 in /w/workspace/dry_go-mod-core-contracts_PR-454 [Pipeline] { [Pipeline] ws [2021-01-22T07:53:28.235Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2021-01-22T07:53:30.708Z] using credential edgex-jenkins-ssh [2021-01-22T07:53:30.829Z] Cloning the remote Git repository [2021-01-22T07:53:30.853Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-22T07:53:30.938Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2021-01-22T07:53:30.999Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-22T07:53:30.999Z] > git --version # timeout=10 [2021-01-22T07:53:31.004Z] > git --version # 'git version 2.24.3' [2021-01-22T07:53:31.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T07:53:31.029Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T07:53:31.685Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-22T07:53:31.693Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T07:53:31.703Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-22T07:53:31.719Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-22T07:53:31.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T07:53:31.723Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/454/head:refs/remotes/origin/PR-454 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-22T07:53:32.203Z] Merging remotes/origin/master commit ec144b24ced0f21853b25b0c4d467c544d57d2dd into PR head commit 1e8bb2918c59a593f9ea16f6556d6685202bca8b [2021-01-22T07:53:32.302Z] Merge succeeded, producing 1e8bb2918c59a593f9ea16f6556d6685202bca8b [2021-01-22T07:53:32.303Z] Checking out Revision 1e8bb2918c59a593f9ea16f6556d6685202bca8b (PR-454) [2021-01-22T07:53:32.211Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T07:53:32.218Z] > git checkout -f 1e8bb2918c59a593f9ea16f6556d6685202bca8b # timeout=10 [2021-01-22T07:53:32.274Z] > git remote # timeout=10 [2021-01-22T07:53:32.279Z] > git config --get remote.origin.url # timeout=10 [2021-01-22T07:53:32.284Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T07:53:32.287Z] > git merge ec144b24ced0f21853b25b0c4d467c544d57d2dd # timeout=10 [2021-01-22T07:53:32.296Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-22T07:53:32.305Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T07:53:32.309Z] > git checkout -f 1e8bb2918c59a593f9ea16f6556d6685202bca8b # timeout=10 [2021-01-22T07:53:35.913Z] Commit message: "feat(command): Create IssueCommandResponse DTO" [2021-01-22T07:53:35.937Z] > git --version # timeout=10 [2021-01-22T07:53:35.941Z] > git --version # 'git version 2.24.3' [2021-01-22T07:53:35.953Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-22T07:53:37.303Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-22T07:53:37.665Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-22T07:53:37.983Z] + sudo service docker restart [2021-01-22T07:53:37.983Z] + true [2021-01-22T07:53:37.983Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-22T07:53:39.179Z] ========================================================= [2021-01-22T07:53:39.179Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-22T07:53:39.179Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-22T07:53:39.569Z] + 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-22T07:53:40.147Z] Sending build context to Docker daemon 2.296MB [2021-01-22T07:53:40.147Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-22T07:53:40.147Z] Step 2/7 : FROM ${BASE} [2021-01-22T07:53:40.147Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-22T07:53:40.147Z] 188c0c94c7c5: Pulling fs layer [2021-01-22T07:53:40.147Z] 0ef7d3d256c8: Pulling fs layer [2021-01-22T07:53:40.147Z] de9db76c5a1d: Pulling fs layer [2021-01-22T07:53:40.147Z] bca2f99d35d6: Pulling fs layer [2021-01-22T07:53:40.147Z] 93359f2a8cfa: Pulling fs layer [2021-01-22T07:53:40.147Z] 7c6f9722023f: Pulling fs layer [2021-01-22T07:53:40.147Z] a35cf1a2eb13: Pulling fs layer [2021-01-22T07:53:40.147Z] 93359f2a8cfa: Waiting [2021-01-22T07:53:40.147Z] 7c6f9722023f: Waiting [2021-01-22T07:53:40.147Z] a35cf1a2eb13: Waiting [2021-01-22T07:53:40.148Z] bca2f99d35d6: Waiting [2021-01-22T07:53:40.148Z] de9db76c5a1d: Verifying Checksum [2021-01-22T07:53:40.148Z] de9db76c5a1d: Download complete [2021-01-22T07:53:40.414Z] 0ef7d3d256c8: Verifying Checksum [2021-01-22T07:53:40.414Z] 0ef7d3d256c8: Download complete [2021-01-22T07:53:40.678Z] 93359f2a8cfa: Download complete [2021-01-22T07:53:40.678Z] 7c6f9722023f: Verifying Checksum [2021-01-22T07:53:40.678Z] 7c6f9722023f: Download complete [2021-01-22T07:53:40.678Z] 188c0c94c7c5: Verifying Checksum [2021-01-22T07:53:40.678Z] 188c0c94c7c5: Download complete [2021-01-22T07:53:41.254Z] 188c0c94c7c5: Pull complete [2021-01-22T07:53:41.254Z] 0ef7d3d256c8: Pull complete [2021-01-22T07:53:41.254Z] de9db76c5a1d: Pull complete [2021-01-22T07:53:43.169Z] a35cf1a2eb13: Verifying Checksum [2021-01-22T07:53:43.169Z] a35cf1a2eb13: Download complete [2021-01-22T07:53:43.752Z] bca2f99d35d6: Verifying Checksum [2021-01-22T07:53:43.752Z] bca2f99d35d6: Download complete [2021-01-22T07:53:47.973Z] bca2f99d35d6: Pull complete [2021-01-22T07:53:48.236Z] 93359f2a8cfa: Pull complete [2021-01-22T07:53:48.236Z] 7c6f9722023f: Pull complete [2021-01-22T07:53:56.405Z] a35cf1a2eb13: Pull complete [2021-01-22T07:53:56.405Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-22T07:53:56.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-22T07:53:56.405Z] ---> a62c8e92a672 [2021-01-22T07:53:56.405Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-22T07:53:56.405Z] ---> Running in 08518ed833ff [2021-01-22T07:53:56.405Z] Removing intermediate container 08518ed833ff [2021-01-22T07:53:56.405Z] ---> 8e33cf985a20 [2021-01-22T07:53:56.405Z] Step 4/7 : RUN apk add bash [2021-01-22T07:53:56.405Z] ---> Running in b80043aff18f [2021-01-22T07:53:56.405Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-22T07:53:56.981Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-22T07:53:57.555Z] OK: 166 MiB in 39 packages [2021-01-22T07:53:58.126Z] Removing intermediate container b80043aff18f [2021-01-22T07:53:58.126Z] ---> df7e0dc30bdc [2021-01-22T07:53:58.126Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-22T07:53:58.126Z] ---> Running in d5a7b18eae8d [2021-01-22T07:53:58.411Z] Removing intermediate container d5a7b18eae8d [2021-01-22T07:53:58.411Z] ---> 1b15253838fd [2021-01-22T07:53:58.411Z] Step 6/7 : COPY go.mod . [2021-01-22T07:53:58.411Z] ---> ebdf39a14d87 [2021-01-22T07:53:58.411Z] Step 7/7 : RUN go mod download [2021-01-22T07:53:58.411Z] ---> Running in 3b5553153df0 [2021-01-22T07:54:10.439Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22240 in /w/workspace/dry_go-mod-core-contracts_PR-454 [Pipeline] { [Pipeline] ws [2021-01-22T07:54:10.540Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2021-01-22T07:54:10.696Z] Removing intermediate container 3b5553153df0 [2021-01-22T07:54:10.696Z] ---> 717a4098d9f9 [2021-01-22T07:54:10.696Z] Successfully built 717a4098d9f9 [2021-01-22T07:54:10.696Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T07:54:11.119Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-22T07:54:11.120Z] . [Pipeline] withDockerContainer [2021-01-22T07:54:11.238Z] prd-centos7-docker-4c-2g-22239 does not seem to be running inside a container [2021-01-22T07:54:11.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-22T07:54:11.919Z] $ docker top 82735f075ff93fea57f60d9c152994a6726972599259b81af08888c32f7bee6d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T07:54:12.487Z] + go version [2021-01-22T07:54:12.487Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-22T07:54:12.519Z] $ docker stop --time=1 82735f075ff93fea57f60d9c152994a6726972599259b81af08888c32f7bee6d [2021-01-22T07:54:13.860Z] $ docker rm -f 82735f075ff93fea57f60d9c152994a6726972599259b81af08888c32f7bee6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-22T07:54:14.953Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-22T07:54:14.953Z] . [Pipeline] withDockerContainer [2021-01-22T07:54:15.085Z] prd-centos7-docker-4c-2g-22239 does not seem to be running inside a container [2021-01-22T07:54:15.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-22T07:54:15.677Z] $ docker top c0863b57904afbe6d207de0c0e837a96ad71406c29b72371931c697a6ad1a279 -eo pid,comm [2021-01-22T07:54:15.707Z] using credential edgex-jenkins-ssh [2021-01-22T07:54:15.771Z] Cloning the remote Git repository [Pipeline] { [Pipeline] sh [2021-01-22T07:54:16.207Z] + make test [2021-01-22T07:54:16.207Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-22T07:54:15.825Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-22T07:54:15.932Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2021-01-22T07:54:16.017Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-22T07:54:16.018Z] > git --version # timeout=10 [2021-01-22T07:54:16.035Z] > git --version # 'git version 2.17.1' [2021-01-22T07:54:16.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T07:54:16.102Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T07:54:17.822Z] Merging remotes/origin/master commit ec144b24ced0f21853b25b0c4d467c544d57d2dd into PR head commit 1e8bb2918c59a593f9ea16f6556d6685202bca8b [2021-01-22T07:54:17.117Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-22T07:54:17.135Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-22T07:54:17.164Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-22T07:54:17.198Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-22T07:54:17.199Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T07:54:17.213Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/454/head:refs/remotes/origin/PR-454 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-22T07:54:17.848Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T07:54:17.874Z] > git checkout -f 1e8bb2918c59a593f9ea16f6556d6685202bca8b # timeout=10 [2021-01-22T07:54:18.010Z] > git remote # timeout=10 [2021-01-22T07:54:18.085Z] > git config --get remote.origin.url # timeout=10 [2021-01-22T07:54:18.121Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-22T07:54:18.140Z] > git merge ec144b24ced0f21853b25b0c4d467c544d57d2dd # timeout=10 [2021-01-22T07:54:18.240Z] Merge succeeded, producing 1e8bb2918c59a593f9ea16f6556d6685202bca8b [2021-01-22T07:54:18.240Z] Checking out Revision 1e8bb2918c59a593f9ea16f6556d6685202bca8b (PR-454) [2021-01-22T07:54:18.198Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-22T07:54:18.250Z] > git config core.sparsecheckout # timeout=10 [2021-01-22T07:54:18.295Z] > git checkout -f 1e8bb2918c59a593f9ea16f6556d6685202bca8b # timeout=10 [2021-01-22T07:54:22.672Z] Commit message: "feat(command): Create IssueCommandResponse DTO" [2021-01-22T07:54:22.725Z] > git --version # timeout=10 [2021-01-22T07:54:22.736Z] > git --version # 'git version 2.17.1' [2021-01-22T07:54:22.750Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-22T07:54:22.910Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-01-22T07:54:22.910Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.013s coverage: 85.7% of statements [2021-01-22T07:54:22.910Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.008s coverage: 100.0% of statements [2021-01-22T07:54:22.910Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.010s coverage: 45.4% of statements [2021-01-22T07:54:22.910Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.011s coverage: 77.8% of statements [2021-01-22T07:54:22.910Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-01-22T07:54:23.504Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.011s coverage: 26.3% of statements [Pipeline] sh [2021-01-22T07:54:23.783Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.020s coverage: 14.7% of statements [2021-01-22T07:54:23.783Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.006s coverage: 100.0% of statements [2021-01-22T07:54:24.052Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.029s coverage: 91.8% of statements [2021-01-22T07:54:24.052Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-01-22T07:54:24.052Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-01-22T07:54:24.052Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.015s coverage: 100.0% of statements [2021-01-22T07:54:24.314Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.009s coverage: 36.7% of statements [2021-01-22T07:54:24.498Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-22T07:54:24.917Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-22T07:54:25.293Z] + sudo service docker restart [2021-01-22T07:54:25.293Z] + true [2021-01-22T07:54:25.749Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.018s coverage: 63.0% of statements [2021-01-22T07:54:25.750Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.011s coverage: 26.3% of statements [2021-01-22T07:54:25.750Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.004s coverage: 15.4% of statements [2021-01-22T07:54:25.750Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.011s coverage: 15.4% of statements [2021-01-22T07:54:25.750Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.015s coverage: 14.3% of statements [2021-01-22T07:54:25.750Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-01-22T07:54:27.155Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.055s coverage: 84.7% of statements [2021-01-22T07:54:27.155Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-01-22T07:54:27.155Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-01-22T07:54:27.155Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.024s coverage: 43.6% of statements [2021-01-22T07:54:27.155Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.008s coverage: 94.4% of statements [2021-01-22T07:54:27.155Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.044s coverage: 92.9% of statements [2021-01-22T07:54:27.155Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.008s coverage: 100.0% of statements [2021-01-22T07:54:27.155Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-01-22T07:54:27.420Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] unstash [Pipeline] echo [2021-01-22T07:54:28.222Z] ========================================================= [2021-01-22T07:54:28.222Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-22T07:54:28.222Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-22T07:54:28.637Z] + 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-22T07:54:28.838Z] gofmt -l . [2021-01-22T07:54:29.118Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-22T07:54:29.154Z] $ docker stop --time=1 c0863b57904afbe6d207de0c0e837a96ad71406c29b72371931c697a6ad1a279 [2021-01-22T07:54:29.622Z] Sending build context to Docker daemon 2.295MB [2021-01-22T07:54:29.622Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-22T07:54:29.622Z] Step 2/7 : FROM ${BASE} [2021-01-22T07:54:29.899Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-22T07:54:29.899Z] 5f621e34cdf4: Pulling fs layer [2021-01-22T07:54:29.899Z] a4357932f1b6: Pulling fs layer [2021-01-22T07:54:29.899Z] 18c013af1878: Pulling fs layer [2021-01-22T07:54:29.899Z] 00ac8860ef70: Pulling fs layer [2021-01-22T07:54:29.899Z] 63d7cb157983: Pulling fs layer [2021-01-22T07:54:29.899Z] b116817d02f9: Pulling fs layer [2021-01-22T07:54:29.899Z] 745a02a5169b: Pulling fs layer [2021-01-22T07:54:29.899Z] 63d7cb157983: Waiting [2021-01-22T07:54:29.899Z] b116817d02f9: Waiting [2021-01-22T07:54:29.899Z] 00ac8860ef70: Waiting [2021-01-22T07:54:29.899Z] 18c013af1878: Verifying Checksum [2021-01-22T07:54:29.899Z] 18c013af1878: Download complete [2021-01-22T07:54:29.899Z] a4357932f1b6: Verifying Checksum [2021-01-22T07:54:29.899Z] a4357932f1b6: Download complete [2021-01-22T07:54:29.899Z] 63d7cb157983: Verifying Checksum [2021-01-22T07:54:29.899Z] 63d7cb157983: Download complete [2021-01-22T07:54:30.175Z] b116817d02f9: Verifying Checksum [2021-01-22T07:54:30.175Z] b116817d02f9: Download complete [2021-01-22T07:54:30.451Z] 5f621e34cdf4: Verifying Checksum [2021-01-22T07:54:30.451Z] 5f621e34cdf4: Download complete [2021-01-22T07:54:31.074Z] 5f621e34cdf4: Pull complete [2021-01-22T07:54:31.461Z] $ docker rm -f c0863b57904afbe6d207de0c0e837a96ad71406c29b72371931c697a6ad1a279 [2021-01-22T07:54:31.677Z] a4357932f1b6: Pull complete [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T07:54:31.953Z] 18c013af1878: Pull complete [2021-01-22T07:54:32.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-22T07:54:32.422Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [2021-01-22T07:54:32.937Z] 745a02a5169b: Verifying Checksum [2021-01-22T07:54:32.937Z] 745a02a5169b: Download complete [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] } [2021-01-22T07:54:33.542Z] 00ac8860ef70: Verifying Checksum [2021-01-22T07:54:33.542Z] 00ac8860ef70: Download complete [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-22T07:54:43.710Z] 00ac8860ef70: Pull complete [2021-01-22T07:54:43.710Z] 63d7cb157983: Pull complete [2021-01-22T07:54:43.995Z] b116817d02f9: Pull complete [2021-01-22T07:54:48.338Z] 745a02a5169b: Pull complete [2021-01-22T07:54:48.338Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-22T07:54:48.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-22T07:54:48.338Z] ---> b7e6874047d6 [2021-01-22T07:54:48.338Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-22T07:54:50.967Z] ---> Running in 10683fc83709 [2021-01-22T07:54:51.242Z] Removing intermediate container 10683fc83709 [2021-01-22T07:54:51.242Z] ---> 2f5e6a732bd3 [2021-01-22T07:54:51.242Z] Step 4/7 : RUN apk add bash [2021-01-22T07:54:51.242Z] ---> Running in 3d40ebd759b7 [2021-01-22T07:54:52.678Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-22T07:54:53.268Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-22T07:54:54.243Z] OK: 142 MiB in 39 packages [2021-01-22T07:54:55.226Z] Removing intermediate container 3d40ebd759b7 [2021-01-22T07:54:55.226Z] ---> a8704054ac0b [2021-01-22T07:54:55.226Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-22T07:54:55.226Z] ---> Running in 16c59340cb09 [2021-01-22T07:54:55.828Z] Removing intermediate container 16c59340cb09 [2021-01-22T07:54:55.828Z] ---> 87c0783c2b3d [2021-01-22T07:54:55.828Z] Step 6/7 : COPY go.mod . [2021-01-22T07:54:56.424Z] ---> 97a05e3d54e2 [2021-01-22T07:54:56.424Z] Step 7/7 : RUN go mod download [2021-01-22T07:54:56.700Z] ---> Running in ec0a9ae09842 [2021-01-22T07:55:11.846Z] Removing intermediate container ec0a9ae09842 [2021-01-22T07:55:11.846Z] ---> efd50921f8c8 [2021-01-22T07:55:11.846Z] Successfully built efd50921f8c8 [2021-01-22T07:55:11.846Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-22T07:55:12.222Z] + docker inspect -f . ci-base-image-arm64 [2021-01-22T07:55:12.222Z] . [Pipeline] withDockerContainer [2021-01-22T07:55:12.513Z] prd-ubuntu18.04-docker-arm64-4c-16g-22240 does not seem to be running inside a container [2021-01-22T07:55:12.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-22T07:55:14.164Z] $ docker top 957a27e83a8264f713e0a41023be6c3de05dd4a1cd52719fbe57c1711f1118f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T07:55:15.213Z] + go version [2021-01-22T07:55:15.213Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-22T07:55:15.258Z] $ docker stop --time=1 957a27e83a8264f713e0a41023be6c3de05dd4a1cd52719fbe57c1711f1118f4 [2021-01-22T07:55:17.213Z] $ docker rm -f 957a27e83a8264f713e0a41023be6c3de05dd4a1cd52719fbe57c1711f1118f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-22T07:55:18.467Z] + docker inspect -f . ci-base-image-arm64 [2021-01-22T07:55:18.467Z] . [Pipeline] withDockerContainer [2021-01-22T07:55:18.712Z] prd-ubuntu18.04-docker-arm64-4c-16g-22240 does not seem to be running inside a container [2021-01-22T07:55:18.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-22T07:55:20.299Z] $ docker top b3038875923762fcc517ca326dd25d50ecd02e4f2c87db99a7578d7975d1d88a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T07:55:21.417Z] + make test [2021-01-22T07:55:21.417Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-22T07:55:43.663Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-01-22T07:55:43.940Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.062s coverage: 85.7% of statements [2021-01-22T07:55:43.940Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.044s coverage: 100.0% of statements [2021-01-22T07:55:45.946Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.044s coverage: 45.4% of statements [2021-01-22T07:55:45.946Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.034s coverage: 77.8% of statements [2021-01-22T07:55:45.946Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-22T07:55:46.227Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.051s coverage: 26.3% of statements [2021-01-22T07:55:47.219Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.056s coverage: 14.7% of statements [2021-01-22T07:55:47.822Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.017s coverage: 100.0% of statements [2021-01-22T07:55:48.424Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.059s coverage: 91.8% of statements [2021-01-22T07:55:48.424Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-01-22T07:55:48.424Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-01-22T07:55:48.424Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.033s coverage: 100.0% of statements [2021-01-22T07:55:48.701Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.029s coverage: 36.7% of statements [2021-01-22T07:55:55.443Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.111s coverage: 63.0% of statements [2021-01-22T07:55:55.443Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.032s coverage: 26.3% of statements [2021-01-22T07:55:55.443Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.017s coverage: 15.4% of statements [2021-01-22T07:55:55.443Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.022s coverage: 15.4% of statements [2021-01-22T07:55:55.443Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.034s coverage: 14.3% of statements [2021-01-22T07:55:55.443Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-01-22T07:55:56.056Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.222s coverage: 84.7% of statements [2021-01-22T07:55:56.056Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-01-22T07:55:56.056Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-01-22T07:55:56.660Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.081s coverage: 43.6% of statements [2021-01-22T07:55:56.660Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.038s coverage: 94.4% of statements [2021-01-22T07:55:58.109Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.132s coverage: 92.9% of statements [2021-01-22T07:55:58.109Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.023s coverage: 100.0% of statements [2021-01-22T07:55:58.109Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-01-22T07:55:58.109Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-22T07:56:03.530Z] gofmt -l . [2021-01-22T07:56:03.530Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-22T07:56:04.162Z] $ docker stop --time=1 b3038875923762fcc517ca326dd25d50ecd02e4f2c87db99a7578d7975d1d88a [2021-01-22T07:56:06.418Z] $ docker rm -f b3038875923762fcc517ca326dd25d50ecd02e4f2c87db99a7578d7975d1d88a [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-22T07:56:07.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-22T07:56:07.383Z] Warning: overwriting stash ‘coverage-report’ [2021-01-22T07:56:08.375Z] 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-22T07:56:11.329Z] provisioning config files... [2021-01-22T07:56:11.344Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-454@tmp/config7686077636700374906tmp [Pipeline] { [Pipeline] sh [2021-01-22T07:56:11.763Z] + set +x [2021-01-22T07:56:11.763Z] + curl -s https://codecov.io/bash [2021-01-22T07:56:11.763Z] + bash -s -- [2021-01-22T07:56:12.028Z] [2021-01-22T07:56:12.028Z] _____ _ [2021-01-22T07:56:12.028Z] / ____| | | [2021-01-22T07:56:12.028Z] | | ___ __| | ___ ___ _____ __ [2021-01-22T07:56:12.028Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-22T07:56:12.028Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-22T07:56:12.028Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-22T07:56:12.028Z] Bash-20210115-cec3c92 [2021-01-22T07:56:12.028Z] [2021-01-22T07:56:12.028Z] [2021-01-22T07:56:12.028Z] ==> git version 2.24.3 found [2021-01-22T07:56:12.028Z] ==> 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-22T07:56:12.028Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-22T07:56:12.028Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-22T07:56:12.028Z] ==> Jenkins CI detected. [2021-01-22T07:56:12.028Z] project root: . [2021-01-22T07:56:12.028Z] --> token set from env [2021-01-22T07:56:12.028Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-22T07:56:12.028Z] ==> Running gcov in . (disable via -X gcov) [2021-01-22T07:56:12.028Z] ==> Python coveragepy not found [2021-01-22T07:56:12.028Z] ==> Searching for coverage reports in: [2021-01-22T07:56:12.028Z] + . [2021-01-22T07:56:12.028Z] -> Found 1 reports [2021-01-22T07:56:12.028Z] ==> Detecting git/mercurial file structure [2021-01-22T07:56:12.028Z] ==> Reading reports [2021-01-22T07:56:12.028Z] + ./coverage.out bytes=132405 [2021-01-22T07:56:12.028Z] ==> Appending adjustments [2021-01-22T07:56:12.028Z] https://docs.codecov.io/docs/fixing-reports [2021-01-22T07:56:12.981Z] + Found adjustments [2021-01-22T07:56:12.981Z] ==> Gzipping contents [2021-01-22T07:56:12.981Z] 20K /tmp/codecov.leiA0G.gz [2021-01-22T07:56:12.981Z] ==> Uploading reports [2021-01-22T07:56:12.981Z] url: https://codecov.io [2021-01-22T07:56:12.981Z] query: branch=PR-454&commit=1e8bb2918c59a593f9ea16f6556d6685202bca8b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-454%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=454&job=&cmd_args= [2021-01-22T07:56:12.981Z] -> Pinging Codecov [2021-01-22T07:56:12.981Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-454&commit=1e8bb2918c59a593f9ea16f6556d6685202bca8b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-454%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=454&job=&cmd_args= [2021-01-22T07:56:13.562Z] -> Uploading to [2021-01-22T07:56:13.562Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-22/71470A77251A30514AAF9C0BB2E5B6CE/1e8bb2918c59a593f9ea16f6556d6685202bca8b/ac2ba985-b3ac-4c2e-a863-7fc13f5a51c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210122T075613Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8b6915b602463b154ab0867b6440d84b835c6e47948ae55add253914116de888 [2021-01-22T07:56:13.562Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-22T07:56:13.562Z] Dload Upload Total Spent Left Speed [2021-01-22T07:56:14.091Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20136 0 0 100 20136 0 43013 --:--:-- --:--:-- --:--:-- 43025 [2021-01-22T07:56:14.091Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/1e8bb2918c59a593f9ea16f6556d6685202bca8b [Pipeline] } [2021-01-22T07:56:14.124Z] 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-22T07:56:18.032Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T07:56:18.381Z] ---> package-listing.sh [2021-01-22T07:56:18.381Z] ++ facter osfamily [2021-01-22T07:56:18.381Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-22T07:56:18.381Z] + OS_FAMILY=redhat [2021-01-22T07:56:18.381Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-454 [2021-01-22T07:56:18.381Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-22T07:56:18.381Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-22T07:56:18.381Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-22T07:56:18.381Z] + PACKAGES=/tmp/packages_start.txt [2021-01-22T07:56:18.381Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-454 ']' [2021-01-22T07:56:18.381Z] + PACKAGES=/tmp/packages_end.txt [2021-01-22T07:56:18.381Z] + case "${OS_FAMILY}" in [2021-01-22T07:56:18.381Z] + rpm -qa [2021-01-22T07:56:18.381Z] + sort [2021-01-22T07:56:23.701Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-22T07:56:23.701Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-22T07:56:23.701Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-22T07:56:23.701Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-454 ']' [2021-01-22T07:56:23.701Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-454/archives/ [2021-01-22T07:56:23.701Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-454/archives/ [Pipeline] echo [2021-01-22T07:56:23.748Z] 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-454/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-22T07:56:24.063Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-22T07:56:24.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T07:56:24.403Z] [2021-01-22T07:56:24.403Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-22T07:56:24.817Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T07:56:24.817Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-22T07:56:24.817Z] df20fa9351a1: Pulling fs layer [2021-01-22T07:56:24.817Z] 36b3adc4ff6f: Pulling fs layer [2021-01-22T07:56:24.817Z] 8ad3a11d3b57: Pulling fs layer [2021-01-22T07:56:24.817Z] 46f8f816bc3b: Pulling fs layer [2021-01-22T07:56:24.817Z] 93b61091891f: Pulling fs layer [2021-01-22T07:56:24.817Z] 93b9cdb0e59b: Pulling fs layer [2021-01-22T07:56:24.817Z] 5e14af77c1be: Pulling fs layer [2021-01-22T07:56:24.817Z] 01666e4c0597: Pulling fs layer [2021-01-22T07:56:24.817Z] aa168da1d23b: Pulling fs layer [2021-01-22T07:56:24.817Z] 46f8f816bc3b: Waiting [2021-01-22T07:56:24.817Z] 5e14af77c1be: Waiting [2021-01-22T07:56:24.817Z] 93b61091891f: Waiting [2021-01-22T07:56:24.817Z] 93b9cdb0e59b: Waiting [2021-01-22T07:56:24.817Z] aa168da1d23b: Waiting [2021-01-22T07:56:24.817Z] 36b3adc4ff6f: Verifying Checksum [2021-01-22T07:56:24.817Z] 36b3adc4ff6f: Download complete [2021-01-22T07:56:25.082Z] 46f8f816bc3b: Verifying Checksum [2021-01-22T07:56:25.082Z] 46f8f816bc3b: Download complete [2021-01-22T07:56:25.082Z] df20fa9351a1: Verifying Checksum [2021-01-22T07:56:25.082Z] df20fa9351a1: Download complete [2021-01-22T07:56:25.082Z] 93b9cdb0e59b: Verifying Checksum [2021-01-22T07:56:25.082Z] 93b9cdb0e59b: Download complete [2021-01-22T07:56:25.082Z] 5e14af77c1be: Download complete [2021-01-22T07:56:25.082Z] 93b61091891f: Verifying Checksum [2021-01-22T07:56:25.082Z] 93b61091891f: Download complete [2021-01-22T07:56:25.082Z] 01666e4c0597: Verifying Checksum [2021-01-22T07:56:25.082Z] 01666e4c0597: Download complete [2021-01-22T07:56:25.344Z] df20fa9351a1: Pull complete [2021-01-22T07:56:25.612Z] 36b3adc4ff6f: Pull complete [2021-01-22T07:56:25.612Z] 8ad3a11d3b57: Verifying Checksum [2021-01-22T07:56:25.612Z] 8ad3a11d3b57: Download complete [2021-01-22T07:56:26.577Z] 8ad3a11d3b57: Pull complete [2021-01-22T07:56:26.577Z] 46f8f816bc3b: Pull complete [2021-01-22T07:56:27.541Z] 93b61091891f: Pull complete [2021-01-22T07:56:27.541Z] aa168da1d23b: Verifying Checksum [2021-01-22T07:56:27.541Z] aa168da1d23b: Download complete [2021-01-22T07:56:27.541Z] 93b9cdb0e59b: Pull complete [2021-01-22T07:56:27.541Z] 5e14af77c1be: Pull complete [2021-01-22T07:56:27.541Z] 01666e4c0597: Pull complete [2021-01-22T07:56:34.271Z] aa168da1d23b: Pull complete [2021-01-22T07:56:34.271Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-22T07:56:34.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-22T07:56:34.271Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-22T07:56:34.507Z] prd-centos7-docker-4c-2g-22237 does not seem to be running inside a container [2021-01-22T07:56:34.560Z] $ 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-454/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-454 -v /w/workspace/dry_go-mod-core-contracts_PR-454:/w/workspace/dry_go-mod-core-contracts_PR-454:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-454@tmp:/w/workspace/dry_go-mod-core-contracts_PR-454@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-22T07:56:39.403Z] $ docker top f6945f86922ead1b3459e94490cbecda1f89d8ca6ed2362300bb8b26e998087f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-22T07:56:40.043Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-22T07:56:40.367Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-22T07:56:40.685Z] + ls /var/log/sa-host [2021-01-22T07:56:40.685Z] + sadf -c /var/log/sa-host/sa22 [2021-01-22T07:56:40.685Z] file_magic: OK [2021-01-22T07:56:40.685Z] HZ: Using current value: 100 [2021-01-22T07:56:40.685Z] file_header: OK [2021-01-22T07:56:40.685Z] 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-22T07:56:40.685Z] Statistics: [2021-01-22T07:56:40.685Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-22T07:56:40.685Z] File successfully converted to sysstat format version 12.2.1 [2021-01-22T07:56:40.685Z] + sadf -c /var/log/sa-host/sa23 [2021-01-22T07:56:40.685Z] file_magic: OK [2021-01-22T07:56:40.685Z] HZ: Using current value: 100 [2021-01-22T07:56:40.685Z] file_header: OK [2021-01-22T07:56:40.685Z] 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-22T07:56:40.685Z] Statistics: [2021-01-22T07:56:40.685Z] Hnuu...uuuununununu... [2021-01-22T07:56:40.685Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-22T07:56:40.946Z] provisioning config files... [2021-01-22T07:56:40.961Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-454@tmp/config5489797198913398492tmp [Pipeline] { [Pipeline] echo [2021-01-22T07:56:41.133Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T07:56:41.468Z] ---> create-netrc.sh [Pipeline] } [2021-01-22T07:56:41.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-22T07:56:41.667Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T07:56:42.008Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-22T07:56:42.046Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T07:56:42.403Z] ---> sudo-logs.sh [2021-01-22T07:56:42.403Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-22T07:56:42.436Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T07:56:42.774Z] ---> job-cost.sh [2021-01-22T07:56:42.774Z] lf-activate-venv: SKIPPING [2021-01-22T07:56:42.774Z] INFO: No Stack... [2021-01-22T07:56:44.166Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-22T07:56:44.744Z] INFO: Archiving Costs [Pipeline] echo [2021-01-22T07:56:44.779Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-22T07:56:45.118Z] ---> logs-deploy.sh [2021-01-22T07:56:45.118Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-454/1 [2021-01-22T07:56:45.118Z] INFO: archiving workspace using pattern(s): [2021-01-22T07:56:47.043Z] Archives upload complete. [2021-01-22T07:56:47.043Z] INFO: archiving logs to Nexus