Pull request #73 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 hahattan for edgexfoundry/go-mod-registry Loading trusted files from base branch master at 23c880232dfe79696a8daff8edae329d1d402b33 rather than 85890a916bf88fad605404f8b633b083579916c9 Obtained Jenkinsfile from 23c880232dfe79696a8daff8edae329d1d402b33 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-registry/branches/PR-73/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-registry/branches/PR-73/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-registry, 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-registry-settings PROJECT: go-mod-registry USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-registry 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3482 in /w/workspace/gexfoundry_go-mod-registry_PR-73 [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-registry.git > git init /w/workspace/gexfoundry_go-mod-registry_PR-73 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.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-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.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-registry.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/73/head:refs/remotes/origin/PR-73 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 23c880232dfe79696a8daff8edae329d1d402b33 into PR head commit 85890a916bf88fad605404f8b633b083579916c9 Merge succeeded, producing 85890a916bf88fad605404f8b633b083579916c9 Checking out Revision 85890a916bf88fad605404f8b633b083579916c9 (PR-73) > git config core.sparsecheckout # timeout=10 > git checkout -f 85890a916bf88fad605404f8b633b083579916c9 # 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 23c880232dfe79696a8daff8edae329d1d402b33 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 85890a916bf88fad605404f8b633b083579916c9 # timeout=10 Commit message: "test: add Client interface mock for unit test" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-07T05:59:55.621Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-07T05:59:55.847Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-07T05:59:55.950Z] ========================================================= [2021-05-07T05:59:55.950Z] EdgeX Global Pipelines Version Info [2021-05-07T05:59:55.950Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:59:57.521Z] ------------------- [2021-05-07T05:59:57.521Z] stable info: [2021-05-07T05:59:57.521Z] ------------------- [2021-05-07T05:59:57.521Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-07T05:59:57.521Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T05:59:57.521Z] Message: update stable to v1.0.191 [2021-05-07T05:59:58.472Z] ------------------- [2021-05-07T05:59:58.472Z] experimental info: [2021-05-07T05:59:58.472Z] ------------------- [2021-05-07T05:59:58.472Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-07T05:59:58.472Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T05:59:58.472Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-07T05:59:58.688Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo [2021-05-07T05:59:58.744Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo [2021-05-07T05:59:58.799Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-07T05:59:58.856Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-07T05:59:58.914Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-07T05:59:58.975Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-07T05:59:59.026Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-07T05:59:59.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-07T05:59:59.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-07T05:59:59.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-07T05:59:59.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-07T05:59:59.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-registry [Pipeline] echo [2021-05-07T05:59:59.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-07T05:59:59.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-07T05:59:59.480Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:59:59.538Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:59:59.610Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:59:59.671Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:59:59.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-07T05:59:59.803Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-07T05:59:59.855Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-07T05:59:59.908Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-07T05:59:59.960Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-07T06:00:00.010Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-07T06:00:00.069Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-07T06:00:00.150Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-07T06:00:00.215Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-73 [Pipeline] echo [2021-05-07T06:00:00.284Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-73 [Pipeline] echo [2021-05-07T06:00:00.346Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-73 [Pipeline] echo [2021-05-07T06:00:00.402Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 85890a916bf88fad605404f8b633b083579916c9 [Pipeline] echo [2021-05-07T06:00:00.470Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 85890a9 [Pipeline] echo [2021-05-07T06:00:00.536Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T06:00:01.153Z] + git log --format=format:%s -1 85890a916bf88fad605404f8b633b083579916c9 [Pipeline] echo [2021-05-07T06:00:01.249Z] GIT_COMMIT: 85890a916bf88fad605404f8b633b083579916c9, Commit Message: test: add Client interface mock for unit test [Pipeline] echo [2021-05-07T06:00:01.285Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:00:01.882Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T06:00:02.145Z] [2021-05-07T06:00:02.145Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:00:02.510Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T06:00:02.510Z] latest: Pulling from edgex-devops/git-semver [2021-05-07T06:00:02.510Z] 31603596830f: Pulling fs layer [2021-05-07T06:00:02.510Z] 54011a49482f: Pulling fs layer [2021-05-07T06:00:02.510Z] a6820b24f6d8: Pulling fs layer [2021-05-07T06:00:02.510Z] f581987b2513: Pulling fs layer [2021-05-07T06:00:02.510Z] f581987b2513: Waiting [2021-05-07T06:00:02.510Z] 54011a49482f: Verifying Checksum [2021-05-07T06:00:02.510Z] 54011a49482f: Download complete [2021-05-07T06:00:02.777Z] 31603596830f: Verifying Checksum [2021-05-07T06:00:02.777Z] 31603596830f: Download complete [2021-05-07T06:00:02.777Z] f581987b2513: Verifying Checksum [2021-05-07T06:00:02.777Z] f581987b2513: Download complete [2021-05-07T06:00:02.777Z] a6820b24f6d8: Verifying Checksum [2021-05-07T06:00:02.777Z] a6820b24f6d8: Download complete [2021-05-07T06:00:03.038Z] 31603596830f: Pull complete [2021-05-07T06:00:03.305Z] 54011a49482f: Pull complete [2021-05-07T06:00:03.897Z] a6820b24f6d8: Pull complete [2021-05-07T06:00:04.160Z] f581987b2513: Pull complete [2021-05-07T06:00:04.423Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-07T06:00:04.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T06:00:04.423Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-07T06:00:04.548Z] prd-centos7-docker-4c-2g-3482 does not seem to be running inside a container [2021-05-07T06:00:04.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-registry_PR-73 -v /w/workspace/gexfoundry_go-mod-registry_PR-73:/w/workspace/gexfoundry_go-mod-registry_PR-73:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-73@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-73@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-05-07T06:00:06.463Z] $ docker top 41ea7c5c3d4beb949d7a5d925e2e9bd262f5df53d1189829a95e1a5584f95314 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T06:00:06.719Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T06:00:06.719Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T06:00:06.970Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T06:00:06.973Z] $ docker exec 41ea7c5c3d4beb949d7a5d925e2e9bd262f5df53d1189829a95e1a5584f95314 ssh-agent [2021-05-07T06:00:07.143Z] SSH_AUTH_SOCK=/tmp/ssh-L8kk0yB8Mmew/agent.12 [2021-05-07T06:00:07.143Z] SSH_AGENT_PID=17 [2021-05-07T06:00:07.153Z] Running ssh-add (command line suppressed) [2021-05-07T06:00:07.276Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-73@tmp/private_key_7414083280844529026.key (/w/workspace/gexfoundry_go-mod-registry_PR-73@tmp/private_key_7414083280844529026.key) [2021-05-07T06:00:07.331Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T06:00:07.673Z] + git tag --points-at HEAD [Pipeline] } [2021-05-07T06:00:07.701Z] $ docker exec --env ******** --env ******** 41ea7c5c3d4beb949d7a5d925e2e9bd262f5df53d1189829a95e1a5584f95314 ssh-agent -k [2021-05-07T06:00:07.817Z] unset SSH_AUTH_SOCK; [2021-05-07T06:00:07.818Z] unset SSH_AGENT_PID; [2021-05-07T06:00:07.818Z] echo Agent pid 17 killed; [2021-05-07T06:00:07.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-07T06:00:07.972Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T06:00:07.972Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T06:00:08.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T06:00:08.148Z] $ docker exec 41ea7c5c3d4beb949d7a5d925e2e9bd262f5df53d1189829a95e1a5584f95314 ssh-agent [2021-05-07T06:00:08.318Z] SSH_AUTH_SOCK=/tmp/ssh-9Ti3x7wUMkAd/agent.46 [2021-05-07T06:00:08.318Z] SSH_AGENT_PID=51 [2021-05-07T06:00:08.324Z] Running ssh-add (command line suppressed) [2021-05-07T06:00:08.444Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-73@tmp/private_key_2303499605431222310.key (/w/workspace/gexfoundry_go-mod-registry_PR-73@tmp/private_key_2303499605431222310.key) [2021-05-07T06:00:08.500Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T06:00:08.849Z] + git semver init [2021-05-07T06:00:08.849Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T06:00:08.849Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-73/.git [2021-05-07T06:00:08.849Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-73 [2021-05-07T06:00:08.849Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T06:00:08.849Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T06:00:08.849Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T06:00:08.849Z] # $SEMVER_BRANCH = PR-73 [2021-05-07T06:00:08.849Z] # $SEMVER_TEMP = /tmp/semver-449644753 [2021-05-07T06:00:08.849Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP [2021-05-07T06:00:09.797Z] # '/tmp/semver-449644753' -> '/w/workspace/gexfoundry_go-mod-registry_PR-73/.semver' [2021-05-07T06:00:09.797Z] # -> Force: false [2021-05-07T06:00:09.797Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-73/.semver [Pipeline] } [2021-05-07T06:00:09.821Z] $ docker exec --env ******** --env ******** 41ea7c5c3d4beb949d7a5d925e2e9bd262f5df53d1189829a95e1a5584f95314 ssh-agent -k [2021-05-07T06:00:09.943Z] unset SSH_AUTH_SOCK; [2021-05-07T06:00:09.944Z] unset SSH_AGENT_PID; [2021-05-07T06:00:09.944Z] echo Agent pid 51 killed; [2021-05-07T06:00:09.992Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T06:00:10.463Z] + git semver [Pipeline] } [2021-05-07T06:00:10.495Z] $ docker stop --time=1 41ea7c5c3d4beb949d7a5d925e2e9bd262f5df53d1189829a95e1a5584f95314 [2021-05-07T06:00:12.338Z] $ docker rm -f 41ea7c5c3d4beb949d7a5d925e2e9bd262f5df53d1189829a95e1a5584f95314 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T06:00:12.806Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-07T06:00:13.181Z] Stashed 1 file(s) [Pipeline] echo [2021-05-07T06:00:13.204Z] [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-05-07T06:00:28.690Z] Still waiting to schedule task [2021-05-07T06:00:28.690Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-07T06:00:28.722Z] Still waiting to schedule task [2021-05-07T06:00:28.722Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-07T06:02:33.018Z] Running on prd-centos7-docker-4c-2g-3487 in /w/workspace/gexfoundry_go-mod-registry_PR-73 [Pipeline] { [Pipeline] ws [2021-05-07T06:02:33.101Z] Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout [2021-05-07T06:02:38.864Z] using credential edgex-jenkins-ssh [2021-05-07T06:02:38.879Z] Cloning the remote Git repository [2021-05-07T06:02:38.956Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2021-05-07T06:02:39.068Z] > git init /w/workspace/go-mod-registry/1 # timeout=10 [2021-05-07T06:02:39.243Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-05-07T06:02:39.244Z] > git --version # timeout=10 [2021-05-07T06:02:39.278Z] > git --version # 'git version 2.24.3' [2021-05-07T06:02:39.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T06:02:39.348Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T06:02:40.460Z] Merging remotes/origin/master commit 23c880232dfe79696a8daff8edae329d1d402b33 into PR head commit 85890a916bf88fad605404f8b633b083579916c9 [2021-05-07T06:02:40.590Z] Merge succeeded, producing 85890a916bf88fad605404f8b633b083579916c9 [2021-05-07T06:02:40.591Z] Checking out Revision 85890a916bf88fad605404f8b633b083579916c9 (PR-73) [2021-05-07T06:02:39.982Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-05-07T06:02:39.990Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T06:02:40.011Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-05-07T06:02:40.031Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-05-07T06:02:40.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T06:02:40.036Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/73/head:refs/remotes/origin/PR-73 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T06:02:40.471Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T06:02:40.482Z] > git checkout -f 85890a916bf88fad605404f8b633b083579916c9 # timeout=10 [2021-05-07T06:02:40.518Z] > git remote # timeout=10 [2021-05-07T06:02:40.529Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T06:02:40.540Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T06:02:40.545Z] > git merge 23c880232dfe79696a8daff8edae329d1d402b33 # timeout=10 [2021-05-07T06:02:40.558Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T06:02:40.595Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T06:02:40.618Z] > git checkout -f 85890a916bf88fad605404f8b633b083579916c9 # timeout=10 [2021-05-07T06:02:44.626Z] Commit message: "test: add Client interface mock for unit test" [2021-05-07T06:02:44.676Z] > git --version # timeout=10 [2021-05-07T06:02:44.684Z] > git --version # 'git version 2.24.3' [2021-05-07T06:02:44.691Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T06:02:46.413Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-07T06:02:46.822Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T06:02:47.151Z] + sudo service docker restart [2021-05-07T06:02:47.151Z] + true [2021-05-07T06:02:47.151Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-07T06:02:48.882Z] ========================================================= [2021-05-07T06:02:48.882Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-07T06:02:48.882Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:02:49.234Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-07T06:02:49.500Z] Sending build context to Docker daemon 320.5kB [2021-05-07T06:02:49.500Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-05-07T06:02:49.500Z] Step 2/7 : FROM ${BASE} [2021-05-07T06:02:49.767Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-07T06:02:49.767Z] 540db60ca938: Pulling fs layer [2021-05-07T06:02:49.767Z] adcc1eea9eea: Pulling fs layer [2021-05-07T06:02:49.767Z] 4c4ab2625f07: Pulling fs layer [2021-05-07T06:02:49.767Z] 0510c868ecb4: Pulling fs layer [2021-05-07T06:02:49.767Z] afea3b2eda06: Pulling fs layer [2021-05-07T06:02:49.767Z] 7809a108b3ef: Pulling fs layer [2021-05-07T06:02:49.767Z] f706445af74f: Pulling fs layer [2021-05-07T06:02:49.767Z] afea3b2eda06: Waiting [2021-05-07T06:02:49.767Z] 7809a108b3ef: Waiting [2021-05-07T06:02:49.767Z] f706445af74f: Waiting [2021-05-07T06:02:49.767Z] 0510c868ecb4: Waiting [2021-05-07T06:02:49.767Z] 4c4ab2625f07: Verifying Checksum [2021-05-07T06:02:49.767Z] 4c4ab2625f07: Download complete [2021-05-07T06:02:49.767Z] adcc1eea9eea: Verifying Checksum [2021-05-07T06:02:49.767Z] adcc1eea9eea: Download complete [2021-05-07T06:02:49.767Z] afea3b2eda06: Verifying Checksum [2021-05-07T06:02:49.767Z] afea3b2eda06: Download complete [2021-05-07T06:02:49.767Z] 7809a108b3ef: Download complete [2021-05-07T06:02:50.070Z] 540db60ca938: Verifying Checksum [2021-05-07T06:02:50.070Z] 540db60ca938: Download complete [2021-05-07T06:02:50.358Z] 540db60ca938: Pull complete [2021-05-07T06:02:50.651Z] adcc1eea9eea: Pull complete [2021-05-07T06:02:51.261Z] 4c4ab2625f07: Pull complete [2021-05-07T06:02:52.721Z] f706445af74f: Verifying Checksum [2021-05-07T06:02:52.721Z] f706445af74f: Download complete [2021-05-07T06:02:54.152Z] 0510c868ecb4: Verifying Checksum [2021-05-07T06:02:54.152Z] 0510c868ecb4: Download complete [2021-05-07T06:03:02.484Z] 0510c868ecb4: Pull complete [2021-05-07T06:03:02.484Z] afea3b2eda06: Pull complete [2021-05-07T06:03:02.484Z] 7809a108b3ef: Pull complete [2021-05-07T06:03:07.919Z] f706445af74f: Pull complete [2021-05-07T06:03:07.919Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-07T06:03:07.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-07T06:03:07.919Z] ---> b068be0155e3 [2021-05-07T06:03:07.919Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T06:03:07.919Z] ---> Running in 04f4c44b5b1c [2021-05-07T06:03:08.518Z] Removing intermediate container 04f4c44b5b1c [2021-05-07T06:03:08.518Z] ---> e7532e4721c8 [2021-05-07T06:03:08.518Z] Step 4/7 : RUN apk add --update bash [2021-05-07T06:03:08.518Z] ---> Running in cca4e06ec731 [2021-05-07T06:03:09.998Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T06:03:10.601Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T06:03:11.587Z] OK: 149 MiB in 40 packages [2021-05-07T06:03:12.185Z] Removing intermediate container cca4e06ec731 [2021-05-07T06:03:12.186Z] ---> 82f74c7eb8fd [2021-05-07T06:03:12.186Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-05-07T06:03:12.186Z] ---> Running in 715577a138fd [2021-05-07T06:03:12.459Z] Removing intermediate container 715577a138fd [2021-05-07T06:03:12.459Z] ---> 855f120d05d4 [2021-05-07T06:03:12.459Z] Step 6/7 : COPY go.mod . [2021-05-07T06:03:12.734Z] ---> 01abcebb9c1d [2021-05-07T06:03:12.734Z] Step 7/7 : RUN go mod download [2021-05-07T06:03:13.005Z] ---> Running in 20170e628ebf [2021-05-07T06:03:35.390Z] Removing intermediate container 20170e628ebf [2021-05-07T06:03:35.390Z] ---> 6003f9ace9a1 [2021-05-07T06:03:35.390Z] Successfully built 6003f9ace9a1 [2021-05-07T06:03:35.390Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:03:35.782Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T06:03:35.782Z] . [Pipeline] withDockerContainer [2021-05-07T06:03:35.938Z] prd-centos7-docker-4c-2g-3487 does not seem to be running inside a container [2021-05-07T06:03:36.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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-x86_64 cat [2021-05-07T06:03:37.575Z] $ docker top 682703bb60bc99f6fb684dca5bfd2d6f58887a681e8eddefa42f3020c5fb0be8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T06:03:38.224Z] + go version [2021-05-07T06:03:38.224Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-07T06:03:38.260Z] $ docker stop --time=1 682703bb60bc99f6fb684dca5bfd2d6f58887a681e8eddefa42f3020c5fb0be8 [2021-05-07T06:03:39.764Z] $ docker rm -f 682703bb60bc99f6fb684dca5bfd2d6f58887a681e8eddefa42f3020c5fb0be8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:03:40.576Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T06:03:40.576Z] . [Pipeline] withDockerContainer [2021-05-07T06:03:40.714Z] prd-centos7-docker-4c-2g-3487 does not seem to be running inside a container [2021-05-07T06:03:40.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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-x86_64 cat [2021-05-07T06:03:41.661Z] $ docker top 9c8cd79e232f2ac92caaeb26a3af76f43cc4967b3408502e698d900c64f3790d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T06:03:42.178Z] + go mod tidy [Pipeline] sh [2021-05-07T06:03:42.835Z] + make test [2021-05-07T06:03:42.835Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-07T06:04:01.236Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.059s coverage: 88.8% of statements [2021-05-07T06:04:01.236Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-05-07T06:04:01.236Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.010s coverage: 85.7% of statements [2021-05-07T06:04:01.236Z] ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] [2021-05-07T06:04:01.236Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-07T06:04:05.553Z] gofmt -l . [2021-05-07T06:04:05.553Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-07T06:04:05.602Z] $ docker stop --time=1 9c8cd79e232f2ac92caaeb26a3af76f43cc4967b3408502e698d900c64f3790d [2021-05-07T06:04:08.039Z] $ docker rm -f 9c8cd79e232f2ac92caaeb26a3af76f43cc4967b3408502e698d900c64f3790d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T06:04:08.644Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T06:04:09.522Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:04:10.538Z] ---> job-cost.sh [2021-05-07T06:04:10.538Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-c7BR [2021-05-07T06:04:28.804Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T06:05:07.819Z] lf-activate-venv(): INFO: Adding /tmp/venv-c7BR/bin to PATH [2021-05-07T06:05:07.819Z] INFO: No Stack... [2021-05-07T06:05:07.819Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T06:05:08.483Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T06:05:08.919Z] + cat /w/workspace/go-mod-registry/1/archives/cost.csv [2021-05-07T06:05:08.919Z] + cut -d, -f6 [Pipeline] lock [2021-05-07T06:05:09.115Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-73-1-stack-cost] [2021-05-07T06:05:09.122Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-73-1-stack-cost] did not exist. Created. [2021-05-07T06:05:09.122Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-73-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T06:05:09.750Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-07T06:05:10.110Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T06:05:10.134Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-73-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-07T06:05:39.456Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3491 in /w/workspace/gexfoundry_go-mod-registry_PR-73 [Pipeline] { [Pipeline] ws [2021-05-07T06:05:39.513Z] Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout [2021-05-07T06:05:46.502Z] using credential edgex-jenkins-ssh [2021-05-07T06:05:46.523Z] Cloning the remote Git repository [2021-05-07T06:05:46.576Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2021-05-07T06:05:46.685Z] > git init /w/workspace/go-mod-registry/1 # timeout=10 [2021-05-07T06:05:46.780Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-05-07T06:05:46.782Z] > git --version # timeout=10 [2021-05-07T06:05:46.808Z] > git --version # 'git version 2.17.1' [2021-05-07T06:05:46.811Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T06:05:46.906Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T06:05:48.270Z] Merging remotes/origin/master commit 23c880232dfe79696a8daff8edae329d1d402b33 into PR head commit 85890a916bf88fad605404f8b633b083579916c9 [2021-05-07T06:05:48.472Z] Merge succeeded, producing 85890a916bf88fad605404f8b633b083579916c9 [2021-05-07T06:05:48.472Z] Checking out Revision 85890a916bf88fad605404f8b633b083579916c9 (PR-73) [2021-05-07T06:05:47.602Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-05-07T06:05:47.622Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T06:05:47.650Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-05-07T06:05:47.683Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-05-07T06:05:47.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T06:05:47.697Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/73/head:refs/remotes/origin/PR-73 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T06:05:48.294Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T06:05:48.309Z] > git checkout -f 85890a916bf88fad605404f8b633b083579916c9 # timeout=10 [2021-05-07T06:05:48.388Z] > git remote # timeout=10 [2021-05-07T06:05:48.407Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T06:05:48.422Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T06:05:48.432Z] > git merge 23c880232dfe79696a8daff8edae329d1d402b33 # timeout=10 [2021-05-07T06:05:48.462Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T06:05:48.484Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T06:05:48.501Z] > git checkout -f 85890a916bf88fad605404f8b633b083579916c9 # timeout=10 [2021-05-07T06:05:52.686Z] Commit message: "test: add Client interface mock for unit test" [2021-05-07T06:05:52.745Z] > git --version # timeout=10 [2021-05-07T06:05:52.754Z] > git --version # 'git version 2.17.1' [2021-05-07T06:05:52.767Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T06:05:54.483Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-07T06:05:54.971Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T06:05:55.334Z] + sudo service docker restart [2021-05-07T06:05:55.334Z] + true [Pipeline] unstash [Pipeline] echo [2021-05-07T06:05:58.342Z] ========================================================= [2021-05-07T06:05:58.342Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-07T06:05:58.342Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:05:58.749Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-07T06:05:59.744Z] Sending build context to Docker daemon 319.5kB [2021-05-07T06:05:59.744Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-05-07T06:05:59.744Z] Step 2/7 : FROM ${BASE} [2021-05-07T06:06:00.028Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-07T06:06:00.028Z] 595b0fe564bb: Pulling fs layer [2021-05-07T06:06:00.028Z] 7186ed65a4f7: Pulling fs layer [2021-05-07T06:06:00.028Z] 316046926c0a: Pulling fs layer [2021-05-07T06:06:00.028Z] 4ebd0625c992: Pulling fs layer [2021-05-07T06:06:00.028Z] 207e8628e3a3: Pulling fs layer [2021-05-07T06:06:00.028Z] c791037a9be2: Pulling fs layer [2021-05-07T06:06:00.028Z] ffd874e62e21: Pulling fs layer [2021-05-07T06:06:00.028Z] 207e8628e3a3: Waiting [2021-05-07T06:06:00.028Z] c791037a9be2: Waiting [2021-05-07T06:06:00.028Z] 4ebd0625c992: Waiting [2021-05-07T06:06:00.028Z] ffd874e62e21: Waiting [2021-05-07T06:06:00.028Z] 316046926c0a: Verifying Checksum [2021-05-07T06:06:00.028Z] 316046926c0a: Download complete [2021-05-07T06:06:00.028Z] 7186ed65a4f7: Verifying Checksum [2021-05-07T06:06:00.028Z] 7186ed65a4f7: Download complete [2021-05-07T06:06:00.028Z] 207e8628e3a3: Verifying Checksum [2021-05-07T06:06:00.028Z] 207e8628e3a3: Download complete [2021-05-07T06:06:00.028Z] c791037a9be2: Verifying Checksum [2021-05-07T06:06:00.028Z] c791037a9be2: Download complete [2021-05-07T06:06:00.028Z] 595b0fe564bb: Verifying Checksum [2021-05-07T06:06:00.028Z] 595b0fe564bb: Download complete [2021-05-07T06:06:01.030Z] 595b0fe564bb: Pull complete [2021-05-07T06:06:01.319Z] 7186ed65a4f7: Pull complete [2021-05-07T06:06:01.916Z] ffd874e62e21: Verifying Checksum [2021-05-07T06:06:01.916Z] ffd874e62e21: Download complete [2021-05-07T06:06:01.916Z] 316046926c0a: Pull complete [2021-05-07T06:06:03.381Z] 4ebd0625c992: Verifying Checksum [2021-05-07T06:06:03.381Z] 4ebd0625c992: Download complete [2021-05-07T06:06:13.563Z] 4ebd0625c992: Pull complete [2021-05-07T06:06:13.563Z] 207e8628e3a3: Pull complete [2021-05-07T06:06:13.563Z] c791037a9be2: Pull complete [2021-05-07T06:06:16.970Z] ffd874e62e21: Pull complete [2021-05-07T06:06:16.970Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-07T06:06:16.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-07T06:06:16.970Z] ---> cfc18b08335c [2021-05-07T06:06:16.970Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T06:06:20.383Z] ---> Running in 9e8ea9440d91 [2021-05-07T06:06:20.383Z] Removing intermediate container 9e8ea9440d91 [2021-05-07T06:06:20.383Z] ---> d09c5c746556 [2021-05-07T06:06:20.383Z] Step 4/7 : RUN apk add --update bash [2021-05-07T06:06:20.383Z] ---> Running in 6d1b4ec80b82 [2021-05-07T06:06:21.818Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T06:06:22.799Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T06:06:23.775Z] OK: 138 MiB in 40 packages [2021-05-07T06:06:25.212Z] Removing intermediate container 6d1b4ec80b82 [2021-05-07T06:06:25.212Z] ---> 1294ef885d06 [2021-05-07T06:06:25.212Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-05-07T06:06:25.212Z] ---> Running in 1e9d09e9ab13 [2021-05-07T06:06:25.484Z] Removing intermediate container 1e9d09e9ab13 [2021-05-07T06:06:25.484Z] ---> f19cbf67a661 [2021-05-07T06:06:25.484Z] Step 6/7 : COPY go.mod . [2021-05-07T06:06:26.085Z] ---> 7a30dc86af1e [2021-05-07T06:06:26.085Z] Step 7/7 : RUN go mod download [2021-05-07T06:06:26.364Z] ---> Running in b64d8e40f4d5 [2021-05-07T06:06:44.698Z] Removing intermediate container b64d8e40f4d5 [2021-05-07T06:06:44.699Z] ---> 9b28240f7000 [2021-05-07T06:06:44.699Z] Successfully built 9b28240f7000 [2021-05-07T06:06:44.699Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:06:45.081Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T06:06:45.081Z] . [Pipeline] withDockerContainer [2021-05-07T06:06:45.382Z] prd-ubuntu18.04-docker-arm64-4c-16g-3491 does not seem to be running inside a container [2021-05-07T06:06:45.476Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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-05-07T06:06:47.117Z] $ docker top 9685ea0d948ca0cb949b08eaa15594f8e4aa7758a6247e9bf1d2f7acd68c3cbe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T06:06:48.216Z] + go version [2021-05-07T06:06:48.216Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-07T06:06:48.263Z] $ docker stop --time=1 9685ea0d948ca0cb949b08eaa15594f8e4aa7758a6247e9bf1d2f7acd68c3cbe [2021-05-07T06:06:50.271Z] $ docker rm -f 9685ea0d948ca0cb949b08eaa15594f8e4aa7758a6247e9bf1d2f7acd68c3cbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:06:51.254Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T06:06:51.254Z] . [Pipeline] withDockerContainer [2021-05-07T06:06:51.584Z] prd-ubuntu18.04-docker-arm64-4c-16g-3491 does not seem to be running inside a container [2021-05-07T06:06:51.677Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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-05-07T06:06:53.342Z] $ docker top 441a80faf2232bac2ce932144e944e594ebc6e028d218038620d2cf32c4f6e5d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T06:06:54.382Z] + go mod tidy [Pipeline] sh [2021-05-07T06:06:55.691Z] + make test [2021-05-07T06:06:55.691Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-07T06:07:34.772Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.131s coverage: 88.8% of statements [2021-05-07T06:07:34.772Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-05-07T06:07:34.772Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.016s coverage: 85.7% of statements [2021-05-07T06:07:34.772Z] ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] [2021-05-07T06:07:34.772Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-05-07T06:07:50.042Z] gofmt -l . [2021-05-07T06:07:50.043Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-05-07T06:07:50.103Z] $ docker stop --time=1 441a80faf2232bac2ce932144e944e594ebc6e028d218038620d2cf32c4f6e5d [2021-05-07T06:07:52.300Z] $ docker rm -f 441a80faf2232bac2ce932144e944e594ebc6e028d218038620d2cf32c4f6e5d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T06:07:53.262Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T06:07:53.309Z] Warning: overwriting stash ‘coverage-report’ [2021-05-07T06:07:54.652Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:07:55.516Z] ---> job-cost.sh [2021-05-07T06:07:55.516Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6Dei [2021-05-07T06:08:42.526Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T06:10:34.363Z] lf-activate-venv(): INFO: Adding /tmp/venv-6Dei/bin to PATH [2021-05-07T06:10:34.363Z] INFO: No Stack... [2021-05-07T06:10:34.363Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-07T06:10:34.363Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T06:10:34.812Z] + cat /w/workspace/go-mod-registry/1/archives/cost.csv [2021-05-07T06:10:34.812Z] + cut -d, -f6 [Pipeline] lock [2021-05-07T06:10:34.985Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-73-1-stack-cost] [2021-05-07T06:10:34.992Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-73-1-stack-cost] did not exist. Created. [2021-05-07T06:10:34.992Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-73-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T06:10:35.446Z] /w/workspace/go-mod-registry/1@tmp/durable-83fbd416/script.sh: 1: /w/workspace/go-mod-registry/1@tmp/durable-83fbd416/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-07T06:10:35.825Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-07T06:10:35.871Z] Warning: overwriting stash ‘stack-cost’ [2021-05-07T06:10:36.049Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T06:10:36.070Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-73-1-stack-cost] [Pipeline] // lock [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-05-07T06:10:37.112Z] provisioning config files... [2021-05-07T06:10:37.127Z] copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-73@tmp/config337882095568103272tmp [Pipeline] { [Pipeline] sh [2021-05-07T06:10:37.509Z] + set +x [2021-05-07T06:10:37.509Z] + curl -s https://codecov.io/bash [2021-05-07T06:10:37.509Z] + bash -s -- [2021-05-07T06:10:37.776Z] [2021-05-07T06:10:37.776Z] _____ _ [2021-05-07T06:10:37.776Z] / ____| | | [2021-05-07T06:10:37.776Z] | | ___ __| | ___ ___ _____ __ [2021-05-07T06:10:37.776Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-07T06:10:37.776Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-07T06:10:37.776Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-07T06:10:37.776Z] Bash-1.0.2 [2021-05-07T06:10:37.776Z] [2021-05-07T06:10:37.776Z] [2021-05-07T06:10:37.776Z] ==> git version 2.24.3 found [2021-05-07T06:10:37.776Z] ==> 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-05-07T06:10:37.776Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-07T06:10:37.776Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-07T06:10:37.776Z] ==> Jenkins CI detected. [2021-05-07T06:10:37.777Z] project root: . [2021-05-07T06:10:37.777Z] --> token set from env [2021-05-07T06:10:37.777Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-07T06:10:37.777Z] ==> Running gcov in . (disable via -X gcov) [2021-05-07T06:10:37.777Z] ==> Python coveragepy not found [2021-05-07T06:10:37.777Z] ==> Searching for coverage reports in: [2021-05-07T06:10:37.777Z] + . [2021-05-07T06:10:37.777Z] -> Found 1 reports [2021-05-07T06:10:37.777Z] ==> Detecting git/mercurial file structure [2021-05-07T06:10:37.777Z] ==> Reading reports [2021-05-07T06:10:37.777Z] + ./coverage.out bytes=9746 [2021-05-07T06:10:37.777Z] ==> Appending adjustments [2021-05-07T06:10:37.777Z] https://docs.codecov.io/docs/fixing-reports [2021-05-07T06:10:38.040Z] + Found adjustments [2021-05-07T06:10:38.040Z] ==> Gzipping contents [2021-05-07T06:10:38.040Z] 4.0K /tmp/codecov.LTEkug.gz [2021-05-07T06:10:38.040Z] ==> Uploading reports [2021-05-07T06:10:38.040Z] url: https://codecov.io [2021-05-07T06:10:38.040Z] query: branch=PR-73&commit=85890a916bf88fad605404f8b633b083579916c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-73%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=73&job=&cmd_args= [2021-05-07T06:10:38.040Z] -> Pinging Codecov [2021-05-07T06:10:38.040Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-73&commit=85890a916bf88fad605404f8b633b083579916c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-73%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=73&job=&cmd_args= [2021-05-07T06:10:38.617Z] -> Uploading to [2021-05-07T06:10:38.617Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-07/05B643FFA8DEACB6C25F95B2D4D12284/85890a916bf88fad605404f8b633b083579916c9/81e01a03-3680-4aee-9204-3c0ef75afbf2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210507T061038Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc9f50960757aed0e064538c63a45f9529e3d56cb75e3522e98471a760146a50 [2021-05-07T06:10:38.617Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-07T06:10:38.617Z] Dload Upload Total Spent Left Speed [2021-05-07T06:10:38.880Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1975 0 0 100 1975 0 4155 --:--:-- --:--:-- --:--:-- 4149 [2021-05-07T06:10:38.880Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/85890a916bf88fad605404f8b633b083579916c9 [Pipeline] } [2021-05-07T06:10:38.905Z] 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] { (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-05-07T06:10:40.924Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:10:41.364Z] ---> package-listing.sh [2021-05-07T06:10:41.364Z] ++ facter osfamily [2021-05-07T06:10:41.364Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-07T06:10:41.364Z] + OS_FAMILY=redhat [2021-05-07T06:10:41.364Z] + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-73 [2021-05-07T06:10:41.364Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-07T06:10:41.364Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-07T06:10:41.364Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-07T06:10:41.364Z] + PACKAGES=/tmp/packages_start.txt [2021-05-07T06:10:41.364Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-73 ']' [2021-05-07T06:10:41.364Z] + PACKAGES=/tmp/packages_end.txt [2021-05-07T06:10:41.364Z] + case "${OS_FAMILY}" in [2021-05-07T06:10:41.364Z] + rpm -qa [2021-05-07T06:10:41.364Z] + sort [2021-05-07T06:10:46.695Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-07T06:10:46.695Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-07T06:10:46.695Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-07T06:10:46.695Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-73 ']' [2021-05-07T06:10:46.695Z] + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-73/archives/ [2021-05-07T06:10:46.695Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-registry_PR-73/archives/ [Pipeline] echo [2021-05-07T06:10:46.739Z] 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/gexfoundry_go-mod-registry_PR-73/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-07T06:10:47.056Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:10:47.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T06:10:47.410Z] [2021-05-07T06:10:47.410Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:10:47.784Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T06:10:47.784Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-07T06:10:47.784Z] df20fa9351a1: Pulling fs layer [2021-05-07T06:10:47.784Z] 36b3adc4ff6f: Pulling fs layer [2021-05-07T06:10:47.784Z] 8ad3a11d3b57: Pulling fs layer [2021-05-07T06:10:47.784Z] 46f8f816bc3b: Pulling fs layer [2021-05-07T06:10:47.784Z] 93b61091891f: Pulling fs layer [2021-05-07T06:10:47.784Z] 93b9cdb0e59b: Pulling fs layer [2021-05-07T06:10:47.784Z] 5e14af77c1be: Pulling fs layer [2021-05-07T06:10:47.784Z] 01666e4c0597: Pulling fs layer [2021-05-07T06:10:47.784Z] aa168da1d23b: Pulling fs layer [2021-05-07T06:10:47.784Z] 93b9cdb0e59b: Waiting [2021-05-07T06:10:47.784Z] 46f8f816bc3b: Waiting [2021-05-07T06:10:47.784Z] 93b61091891f: Waiting [2021-05-07T06:10:47.784Z] 5e14af77c1be: Waiting [2021-05-07T06:10:47.784Z] aa168da1d23b: Waiting [2021-05-07T06:10:47.784Z] 01666e4c0597: Waiting [2021-05-07T06:10:47.784Z] 36b3adc4ff6f: Download complete [2021-05-07T06:10:47.784Z] 46f8f816bc3b: Verifying Checksum [2021-05-07T06:10:47.784Z] 46f8f816bc3b: Download complete [2021-05-07T06:10:47.784Z] df20fa9351a1: Verifying Checksum [2021-05-07T06:10:47.784Z] df20fa9351a1: Download complete [2021-05-07T06:10:47.784Z] 93b9cdb0e59b: Verifying Checksum [2021-05-07T06:10:47.784Z] 93b9cdb0e59b: Download complete [2021-05-07T06:10:48.050Z] 5e14af77c1be: Verifying Checksum [2021-05-07T06:10:48.050Z] 5e14af77c1be: Download complete [2021-05-07T06:10:48.050Z] 01666e4c0597: Verifying Checksum [2021-05-07T06:10:48.050Z] 01666e4c0597: Download complete [2021-05-07T06:10:48.051Z] 93b61091891f: Verifying Checksum [2021-05-07T06:10:48.051Z] 93b61091891f: Download complete [2021-05-07T06:10:48.051Z] 8ad3a11d3b57: Verifying Checksum [2021-05-07T06:10:48.051Z] 8ad3a11d3b57: Download complete [2021-05-07T06:10:48.318Z] df20fa9351a1: Pull complete [2021-05-07T06:10:48.582Z] 36b3adc4ff6f: Pull complete [2021-05-07T06:10:49.538Z] 8ad3a11d3b57: Pull complete [2021-05-07T06:10:49.538Z] 46f8f816bc3b: Pull complete [2021-05-07T06:10:50.113Z] aa168da1d23b: Verifying Checksum [2021-05-07T06:10:50.113Z] aa168da1d23b: Download complete [2021-05-07T06:10:50.375Z] 93b61091891f: Pull complete [2021-05-07T06:10:50.638Z] 93b9cdb0e59b: Pull complete [2021-05-07T06:10:50.639Z] 5e14af77c1be: Pull complete [2021-05-07T06:10:50.639Z] 01666e4c0597: Pull complete [2021-05-07T06:10:57.268Z] aa168da1d23b: Pull complete [2021-05-07T06:10:57.268Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-07T06:10:57.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T06:10:57.268Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-07T06:10:57.526Z] prd-centos7-docker-4c-2g-3482 does not seem to be running inside a container [2021-05-07T06:10:57.581Z] $ 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/gexfoundry_go-mod-registry_PR-73/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-registry_PR-73 -v /w/workspace/gexfoundry_go-mod-registry_PR-73:/w/workspace/gexfoundry_go-mod-registry_PR-73:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-73@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-73@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-05-07T06:11:01.961Z] $ docker top 045f1190be6765bbc41c63f61c0790c09ee423390b3703dff984abfb95ede801 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T06:11:02.457Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-07T06:11:02.779Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-07T06:11:03.099Z] + ls /var/log/sa-host [2021-05-07T06:11:03.099Z] + sadf -c /var/log/sa-host/sa07 [2021-05-07T06:11:03.099Z] file_magic: OK [2021-05-07T06:11:03.099Z] HZ: Using current value: 100 [2021-05-07T06:11:03.099Z] file_header: OK [2021-05-07T06:11:03.099Z] 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-05-07T06:11:03.099Z] Statistics: [2021-05-07T06:11:03.099Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-07T06:11:03.099Z] File successfully converted to sysstat format version 12.2.1 [2021-05-07T06:11:03.099Z] + sadf -c /var/log/sa-host/sa23 [2021-05-07T06:11:03.099Z] file_magic: OK [2021-05-07T06:11:03.099Z] HZ: Using current value: 100 [2021-05-07T06:11:03.099Z] file_header: OK [2021-05-07T06:11:03.099Z] 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-05-07T06:11:03.099Z] Statistics: [2021-05-07T06:11:03.099Z] Hnuu...uuuununununu... [2021-05-07T06:11:03.099Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-07T06:11:03.371Z] provisioning config files... [2021-05-07T06:11:03.396Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-73@tmp/config1327257459177103150tmp [Pipeline] { [Pipeline] echo [2021-05-07T06:11:03.455Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:11:03.795Z] ---> create-netrc.sh [Pipeline] } [2021-05-07T06:11:03.819Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-07T06:11:03.904Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:11:04.250Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-07T06:11:04.290Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:11:04.630Z] ---> sudo-logs.sh [2021-05-07T06:11:04.630Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-07T06:11:04.715Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:11:05.051Z] ---> job-cost.sh [2021-05-07T06:11:05.051Z] lf-activate-venv: SKIPPING [2021-05-07T06:11:05.051Z] DEBUG: total: 0.20999999344348907 [2021-05-07T06:11:05.051Z] INFO: Retrieving Stack Cost... [2021-05-07T06:11:06.441Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T06:11:06.702Z] INFO: Archiving Costs [Pipeline] echo [2021-05-07T06:11:06.752Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:11:07.122Z] ---> logs-deploy.sh [2021-05-07T06:11:07.122Z] lf-activate-venv: SKIPPING [2021-05-07T06:11:07.122Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-73/1 [2021-05-07T06:11:07.122Z] INFO: archiving workspace using pattern(s): [2021-05-07T06:11:09.042Z] Archives upload complete. [2021-05-07T06:11:09.042Z] INFO: archiving logs to Nexus