Pull request #79 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of badboy-huaqiao for edgexfoundry/go-mod-registry Loading trusted files from base branch main at 6345379747ac699e4a5e0c6d67ce57ad83cdd4a4 rather than d798a439af0e17d0b8383fdb44dd46add6c57545 Obtained Jenkinsfile from 6345379747ac699e4a5e0c6d67ce57ad83cdd4a4 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5820324847040503240.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5846383165979025076.key > 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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git 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-79/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-79/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh92275478141459447.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-79/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7340577506972622315.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4353666621468832857.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE 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-79/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-79/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3911960793359304394.key > 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 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-967 in /w/workspace/gexfoundry_go-mod-registry_PR-79 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-79 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_go-mod-registry_PR-79@tmp/jenkins-gitclient-ssh8564178368586155507.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6345379747ac699e4a5e0c6d67ce57ad83cdd4a4 into PR head commit d798a439af0e17d0b8383fdb44dd46add6c57545 Merge succeeded, producing d798a439af0e17d0b8383fdb44dd46add6c57545 Checking out Revision d798a439af0e17d0b8383fdb44dd46add6c57545 (PR-79) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_go-mod-registry_PR-79@tmp/jenkins-gitclient-ssh1762374214290526799.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d798a439af0e17d0b8383fdb44dd46add6c57545 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_go-mod-registry_PR-79@tmp/jenkins-gitclient-ssh7910029872737501312.key > git merge 6345379747ac699e4a5e0c6d67ce57ad83cdd4a4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d798a439af0e17d0b8383fdb44dd46add6c57545 # timeout=10 Commit message: "feat: add new methods to retrieve all registered service endpoints from consul" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:14:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:14:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:14:36 ========================================================= 08:14:36 EdgeX Global Pipelines Version Info 08:14:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:14:38 ------------------- 08:14:38 stable info: 08:14:38 ------------------- 08:14:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:14:38 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 08:14:38 Message: update stable to v1.0.205 08:14:38 ------------------- 08:14:38 experimental info: 08:14:38 ------------------- 08:14:38 Commited By: **** collab-it+edgex@linuxfoundation.org 08:14:38 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 08:14:38 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:14:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:14:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:14:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:14:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:14:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:14:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:14:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:14:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:14:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:14:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 08:14:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:14:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-79 [Pipeline] echo 08:14:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-79 [Pipeline] echo 08:14:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-79 [Pipeline] echo 08:14:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d798a439af0e17d0b8383fdb44dd46add6c57545 [Pipeline] echo 08:14:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d798a43 [Pipeline] echo 08:14:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:14:41 + git log --format=format:%s -1 d798a439af0e17d0b8383fdb44dd46add6c57545 [Pipeline] echo 08:14:41 GIT_COMMIT: d798a439af0e17d0b8383fdb44dd46add6c57545, Commit Message: feat: add new methods to retrieve all registered service endpoints from consul [Pipeline] echo 08:14:41 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:14:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:14:42 08:14:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:14:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:14:43 latest: Pulling from edgex-devops/git-semver 08:14:43 31603596830f: Pulling fs layer 08:14:43 d4622e32a9a9: Pulling fs layer 08:14:43 1030fce36090: Pulling fs layer 08:14:43 6c6cb7e1b49b: Pulling fs layer 08:14:43 6c6cb7e1b49b: Waiting 08:14:43 d4622e32a9a9: Verifying Checksum 08:14:43 d4622e32a9a9: Download complete 08:14:43 31603596830f: Verifying Checksum 08:14:43 31603596830f: Download complete 08:14:43 31603596830f: Pull complete 08:14:43 d4622e32a9a9: Pull complete 08:14:43 6c6cb7e1b49b: Verifying Checksum 08:14:43 6c6cb7e1b49b: Download complete 08:14:44 1030fce36090: Verifying Checksum 08:14:44 1030fce36090: Download complete 08:14:44 1030fce36090: Pull complete 08:14:44 6c6cb7e1b49b: Pull complete 08:14:44 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 08:14:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:14:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:14:44 prd-centos7-docker-4c-2g-967 does not seem to be running inside a container 08:14:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-registry_PR-79 -v /w/workspace/gexfoundry_go-mod-registry_PR-79:/w/workspace/gexfoundry_go-mod-registry_PR-79:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-79@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-79@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:10004/edgex-devops/git-semver:latest cat 08:14:45 $ docker top 0794cb8ac1b59fec2633ff9067a2a28c5163e94512d3ba64b2a1bef0955f1b8c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:14:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:14:45 [ssh-agent] Looking for ssh-agent implementation... 08:14:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:14:45 $ docker exec 0794cb8ac1b59fec2633ff9067a2a28c5163e94512d3ba64b2a1bef0955f1b8c ssh-agent 08:14:46 SSH_AUTH_SOCK=/tmp/ssh-UDooVTY4QXJ3/agent.13 08:14:46 SSH_AGENT_PID=20 08:14:46 Running ssh-add (command line suppressed) 08:14:46 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-79@tmp/private_key_3411750448150877722.key (/w/workspace/gexfoundry_go-mod-registry_PR-79@tmp/private_key_3411750448150877722.key) 08:14:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:14:46 + git tag --points-at HEAD [Pipeline] } 08:14:46 $ docker exec --env ******** --env ******** 0794cb8ac1b59fec2633ff9067a2a28c5163e94512d3ba64b2a1bef0955f1b8c ssh-agent -k 08:14:46 unset SSH_AUTH_SOCK; 08:14:46 unset SSH_AGENT_PID; 08:14:46 echo Agent pid 20 killed; 08:14:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:14:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:14:46 [ssh-agent] Looking for ssh-agent implementation... 08:14:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:14:46 $ docker exec 0794cb8ac1b59fec2633ff9067a2a28c5163e94512d3ba64b2a1bef0955f1b8c ssh-agent 08:14:47 SSH_AUTH_SOCK=/tmp/ssh-v2nmiVR2aAeA/agent.52 08:14:47 SSH_AGENT_PID=59 08:14:47 Running ssh-add (command line suppressed) 08:14:47 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-79@tmp/private_key_642326404846252067.key (/w/workspace/gexfoundry_go-mod-registry_PR-79@tmp/private_key_642326404846252067.key) 08:14:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:14:47 + git semver init 08:14:47 # -> Open(): unable to determine branch for HEAD 08:14:47 # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-79/.git 08:14:47 # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-79 08:14:47 # $SEMVER_REMOTE_NAME = origin 08:14:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:14:47 # $SEMVER_USER_NAME = edgex-jenkins 08:14:47 # $SEMVER_BRANCH = PR-79 08:14:47 # $SEMVER_TEMP = /tmp/semver-371551026 08:14:47 # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP 08:14:47 # '/tmp/semver-371551026' -> '/w/workspace/gexfoundry_go-mod-registry_PR-79/.semver' 08:14:47 # -> Force: false 08:14:47 # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-79/.semver [Pipeline] } 08:14:47 $ docker exec --env ******** --env ******** 0794cb8ac1b59fec2633ff9067a2a28c5163e94512d3ba64b2a1bef0955f1b8c ssh-agent -k 08:14:47 unset SSH_AUTH_SOCK; 08:14:47 unset SSH_AGENT_PID; 08:14:47 echo Agent pid 59 killed; 08:14:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:14:48 + git semver [Pipeline] } 08:14:48 $ docker stop --time=1 0794cb8ac1b59fec2633ff9067a2a28c5163e94512d3ba64b2a1bef0955f1b8c 08:14:49 $ docker rm -f 0794cb8ac1b59fec2633ff9067a2a28c5163e94512d3ba64b2a1bef0955f1b8c [Pipeline] // withDockerContainer [Pipeline] sh 08:14:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:14:50 Stashed 1 file(s) [Pipeline] echo 08:14:50 [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 08:14:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-958 in /w/workspace/gexfoundry_go-mod-registry_PR-79 [Pipeline] { [Pipeline] ws 08:14:51 Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout 08:14:51 Selected Git installation does not exist. Using Default 08:14:51 The recommended git tool is: NONE 08:14:56 using credential edgex-jenkins-ssh 08:14:56 Cloning the remote Git repository 08:14:56 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 08:14:56 > git init /w/workspace/go-mod-registry/1 # timeout=10 08:14:57 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 08:14:57 > git --version # timeout=10 08:14:57 > git --version # 'git version 2.17.1' 08:14:57 using GIT_SSH to set credentials SSH Credentials for GitHub 08:14:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:14:58 Merging remotes/origin/main commit 6345379747ac699e4a5e0c6d67ce57ad83cdd4a4 into PR head commit d798a439af0e17d0b8383fdb44dd46add6c57545 08:14:58 Merge succeeded, producing d798a439af0e17d0b8383fdb44dd46add6c57545 08:14:58 Checking out Revision d798a439af0e17d0b8383fdb44dd46add6c57545 (PR-79) 08:14:58 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 08:14:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:14:58 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 08:14:58 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 08:14:58 using GIT_SSH to set credentials SSH Credentials for GitHub 08:14:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:14:58 > git config core.sparsecheckout # timeout=10 08:14:58 > git checkout -f d798a439af0e17d0b8383fdb44dd46add6c57545 # timeout=10 08:14:58 > git remote # timeout=10 08:14:58 > git config --get remote.origin.url # timeout=10 08:14:58 using GIT_SSH to set credentials SSH Credentials for GitHub 08:14:58 > git merge 6345379747ac699e4a5e0c6d67ce57ad83cdd4a4 # timeout=10 08:14:58 > git rev-parse HEAD^{commit} # timeout=10 08:14:58 > git config core.sparsecheckout # timeout=10 08:14:58 > git checkout -f d798a439af0e17d0b8383fdb44dd46add6c57545 # timeout=10 08:15:03 Commit message: "feat: add new methods to retrieve all registered service endpoints from consul" 08:15:03 > git --version # timeout=10 08:15:03 > git --version # 'git version 2.17.1' 08:15:03 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:15:04 ========================================================= 08:15:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 08:15:04 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:15:05 + 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 . 08:15:06 Still waiting to schedule task 08:15:06 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-967’ 08:15:06 Sending build context to Docker daemon 344.1kB 08:15:06 Step 1/7 : ARG BASE=golang:1.16-alpine 08:15:06 Step 2/7 : FROM ${BASE} 08:15:06 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:15:06 595b0fe564bb: Pulling fs layer 08:15:06 24495759ef45: Pulling fs layer 08:15:06 d148012ef14d: Pulling fs layer 08:15:06 e90a11edd702: Pulling fs layer 08:15:06 d77568369979: Pulling fs layer 08:15:06 fc1c9f9a7f3b: Pulling fs layer 08:15:06 170f2ba95c9a: Pulling fs layer 08:15:06 97ac5df62f85: Pulling fs layer 08:15:06 e90a11edd702: Waiting 08:15:06 fc1c9f9a7f3b: Waiting 08:15:06 d77568369979: Waiting 08:15:06 170f2ba95c9a: Waiting 08:15:06 97ac5df62f85: Waiting 08:15:06 d148012ef14d: Verifying Checksum 08:15:06 d148012ef14d: Download complete 08:15:06 24495759ef45: Verifying Checksum 08:15:06 24495759ef45: Download complete 08:15:06 d77568369979: Download complete 08:15:06 fc1c9f9a7f3b: Verifying Checksum 08:15:06 fc1c9f9a7f3b: Download complete 08:15:06 170f2ba95c9a: Verifying Checksum 08:15:06 170f2ba95c9a: Download complete 08:15:06 595b0fe564bb: Verifying Checksum 08:15:06 595b0fe564bb: Download complete 08:15:07 595b0fe564bb: Pull complete 08:15:07 24495759ef45: Pull complete 08:15:08 d148012ef14d: Pull complete 08:15:10 97ac5df62f85: Verifying Checksum 08:15:10 97ac5df62f85: Download complete 08:15:10 e90a11edd702: Verifying Checksum 08:15:10 e90a11edd702: Download complete 08:15:20 e90a11edd702: Pull complete 08:15:20 d77568369979: Pull complete 08:15:20 fc1c9f9a7f3b: Pull complete 08:15:21 170f2ba95c9a: Pull complete 08:15:27 97ac5df62f85: Pull complete 08:15:27 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 08:15:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 08:15:27 ---> 04bc70af865f 08:15:27 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:15:29 ---> Running in 95b96bbc8e6a 08:15:30 Removing intermediate container 95b96bbc8e6a 08:15:30 ---> 4550ef3e9ead 08:15:30 Step 4/7 : RUN apk add --update bash 08:15:30 ---> Running in b2faea3c749a 08:15:31 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 08:15:32 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 08:15:33 OK: 218 MiB in 52 packages 08:15:34 Removing intermediate container b2faea3c749a 08:15:34 ---> b90f4a629cbb 08:15:34 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 08:15:34 ---> Running in fe2a0137ca47 08:15:35 Removing intermediate container fe2a0137ca47 08:15:35 ---> c1d88e915589 08:15:35 Step 6/7 : COPY go.mod . 08:15:36 ---> a6e74c4d049c 08:15:36 Step 7/7 : RUN go mod download 08:15:36 ---> Running in 07bc97b44ca3 08:15:54 Removing intermediate container 07bc97b44ca3 08:15:54 ---> 18adc94374e3 08:15:54 Successfully built 18adc94374e3 08:15:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:15:55 + docker inspect -f . ci-base-image-arm64 08:15:55 . [Pipeline] withDockerContainer 08:15:55 prd-ubuntu18.04-docker-arm64-4c-16g-958 does not seem to be running inside a container 08:15:55 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 08:15:56 $ docker top 62ef2229ba41c4a5951428b77225067e18d58ec4386a46d213a715820888fdbb -eo pid,comm [Pipeline] { [Pipeline] sh 08:15:58 + go version 08:15:58 go version go1.16.6 linux/arm64 [Pipeline] } 08:15:58 $ docker stop --time=1 62ef2229ba41c4a5951428b77225067e18d58ec4386a46d213a715820888fdbb 08:15:59 $ docker rm -f 62ef2229ba41c4a5951428b77225067e18d58ec4386a46d213a715820888fdbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:16:00 + docker inspect -f . ci-base-image-arm64 08:16:01 . [Pipeline] withDockerContainer 08:16:01 prd-ubuntu18.04-docker-arm64-4c-16g-958 does not seem to be running inside a container 08:16:01 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 08:16:03 $ docker top 8d88d1a96e8d3920ca1f99c05a604ff2fbd4c3929507a49a6dd2ec377fc7de79 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:16:04 + go mod tidy [Pipeline] sh 08:16:05 + make test 08:16:05 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:16:37 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.088s coverage: 83.6% of statements 08:16:37 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 08:16:37 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.014s coverage: 85.7% of statements 08:16:37 ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] 08:16:37 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:16:52 gofmt -l . 08:16:52 [ "`gofmt -l .`" = "" ] [Pipeline] } 08:16:52 $ docker stop --time=1 8d88d1a96e8d3920ca1f99c05a604ff2fbd4c3929507a49a6dd2ec377fc7de79 08:16:54 $ docker rm -f 8d88d1a96e8d3920ca1f99c05a604ff2fbd4c3929507a49a6dd2ec377fc7de79 [Pipeline] // withDockerContainer [Pipeline] sh 08:16:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:16:56 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:16:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:16:57 08:16:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:16:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:16:57 arm64: Pulling from edgex-lftools-log-publisher 08:16:57 448f6bf000e3: Pulling fs layer 08:16:57 f757da607395: Pulling fs layer 08:16:57 05883995daec: Pulling fs layer 08:16:57 8603b9c90790: Pulling fs layer 08:16:57 1560dd03e051: Pulling fs layer 08:16:57 27f5ce0e4adf: Pulling fs layer 08:16:57 c2d8d7efcc4b: Pulling fs layer 08:16:57 1560dd03e051: Waiting 08:16:57 27f5ce0e4adf: Waiting 08:16:57 c2d8d7efcc4b: Waiting 08:16:57 8603b9c90790: Waiting 08:16:58 f757da607395: Verifying Checksum 08:16:58 f757da607395: Download complete 08:16:58 8603b9c90790: Verifying Checksum 08:16:58 8603b9c90790: Download complete 08:16:58 1560dd03e051: Verifying Checksum 08:16:58 1560dd03e051: Download complete 08:16:58 05883995daec: Verifying Checksum 08:16:58 05883995daec: Download complete 08:16:58 27f5ce0e4adf: Verifying Checksum 08:16:58 27f5ce0e4adf: Download complete 08:16:59 448f6bf000e3: Verifying Checksum 08:16:59 448f6bf000e3: Download complete 08:17:02 c2d8d7efcc4b: Verifying Checksum 08:17:02 c2d8d7efcc4b: Download complete 08:17:03 448f6bf000e3: Pull complete 08:17:03 f757da607395: Pull complete 08:17:05 05883995daec: Pull complete 08:17:05 8603b9c90790: Pull complete 08:17:06 1560dd03e051: Pull complete 08:17:06 27f5ce0e4adf: Pull complete 08:17:21 c2d8d7efcc4b: Pull complete 08:17:21 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 08:17:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:17:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:17:22 prd-ubuntu18.04-docker-arm64-4c-16g-958 does not seem to be running inside a container 08:17:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:17:25 $ docker top a58f54ea9365bd918a3eb3464690c29a187f43a9176f08834ee97ead7772bf99 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:17:26 ---> job-cost.sh 08:17:26 lf-activate-venv: SKIPPING 08:17:26 INFO: No Stack... 08:17:27 INFO: Retrieving Pricing Info for: v2-standard-4 08:17:27 INFO: Archiving Costs [Pipeline] sh 08:17:28 + cat /w/workspace/go-mod-registry/1/archives/cost.csv 08:17:28 + cut -d, -f6 [Pipeline] lock 08:17:28 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-79-1-stack-cost] 08:17:28 Resource [jenkins-edgexfoundry-go-mod-registry-PR-79-1-stack-cost] did not exist. Created. 08:17:28 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-79-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:17:29 + echo total: 1.2599999904632568 [Pipeline] stash 08:17:29 Stashed 1 file(s) [Pipeline] } 08:17:29 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-79-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:17:29 $ docker stop --time=1 a58f54ea9365bd918a3eb3464690c29a187f43a9176f08834ee97ead7772bf99 08:17:31 $ docker rm -f a58f54ea9365bd918a3eb3464690c29a187f43a9176f08834ee97ead7772bf99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:17:44 Running on prd-centos7-docker-4c-2g-968 in /w/workspace/gexfoundry_go-mod-registry_PR-79 [Pipeline] { [Pipeline] ws 08:17:44 Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout 08:17:44 Selected Git installation does not exist. Using Default 08:17:44 The recommended git tool is: NONE 08:17:47 using credential edgex-jenkins-ssh 08:17:47 Cloning the remote Git repository 08:17:47 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 08:17:47 > git init /w/workspace/go-mod-registry/1 # timeout=10 08:17:47 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 08:17:47 > git --version # timeout=10 08:17:47 > git --version # 'git version 2.24.4' 08:17:47 using GIT_SSH to set credentials SSH Credentials for GitHub 08:17:47 [INFO] Currently running in a labeled security context 08:17:47 [INFO] Currently SELinux is 'enforcing' on the host 08:17:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/1@tmp/jenkins-gitclient-ssh6429971088996034314.key 08:17:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:17:48 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 08:17:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:17:48 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 08:17:48 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 08:17:48 using GIT_SSH to set credentials SSH Credentials for GitHub 08:17:48 [INFO] Currently running in a labeled security context 08:17:48 [INFO] Currently SELinux is 'enforcing' on the host 08:17:48 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/1@tmp/jenkins-gitclient-ssh7712296012016276298.key 08:17:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:17:49 Merging remotes/origin/main commit 6345379747ac699e4a5e0c6d67ce57ad83cdd4a4 into PR head commit d798a439af0e17d0b8383fdb44dd46add6c57545 08:17:49 Merge succeeded, producing d798a439af0e17d0b8383fdb44dd46add6c57545 08:17:49 Checking out Revision d798a439af0e17d0b8383fdb44dd46add6c57545 (PR-79) 08:17:49 > git config core.sparsecheckout # timeout=10 08:17:49 > git checkout -f d798a439af0e17d0b8383fdb44dd46add6c57545 # timeout=10 08:17:49 > git remote # timeout=10 08:17:49 > git config --get remote.origin.url # timeout=10 08:17:49 using GIT_SSH to set credentials SSH Credentials for GitHub 08:17:49 [INFO] Currently running in a labeled security context 08:17:49 [INFO] Currently SELinux is 'enforcing' on the host 08:17:49 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/1@tmp/jenkins-gitclient-ssh626147749366836736.key 08:17:49 > git merge 6345379747ac699e4a5e0c6d67ce57ad83cdd4a4 # timeout=10 08:17:49 > git rev-parse HEAD^{commit} # timeout=10 08:17:49 > git config core.sparsecheckout # timeout=10 08:17:49 > git checkout -f d798a439af0e17d0b8383fdb44dd46add6c57545 # timeout=10 08:17:53 Commit message: "feat: add new methods to retrieve all registered service endpoints from consul" 08:17:53 > git --version # timeout=10 08:17:53 > git --version # 'git version 2.24.4' 08:17:53 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:17:54 ========================================================= 08:17:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 08:17:54 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:17:54 + 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 . 08:17:54 Sending build context to Docker daemon 345.1kB 08:17:54 Step 1/7 : ARG BASE=golang:1.16-alpine 08:17:54 Step 2/7 : FROM ${BASE} 08:17:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 08:17:54 540db60ca938: Pulling fs layer 08:17:54 adcc1eea9eea: Pulling fs layer 08:17:54 4c4ab2625f07: Pulling fs layer 08:17:54 db62176df00c: Pulling fs layer 08:17:54 3b30891b0d05: Pulling fs layer 08:17:54 06b49ca38bd5: Pulling fs layer 08:17:54 c788192a36de: Pulling fs layer 08:17:54 a77e37c0d609: Pulling fs layer 08:17:54 c3185cebc471: Pulling fs layer 08:17:54 db62176df00c: Waiting 08:17:54 3b30891b0d05: Waiting 08:17:54 06b49ca38bd5: Waiting 08:17:54 c788192a36de: Waiting 08:17:54 a77e37c0d609: Waiting 08:17:54 c3185cebc471: Waiting 08:17:54 4c4ab2625f07: Verifying Checksum 08:17:54 4c4ab2625f07: Download complete 08:17:54 adcc1eea9eea: Verifying Checksum 08:17:54 adcc1eea9eea: Download complete 08:17:54 3b30891b0d05: Verifying Checksum 08:17:54 3b30891b0d05: Download complete 08:17:54 06b49ca38bd5: Verifying Checksum 08:17:54 06b49ca38bd5: Download complete 08:17:54 c788192a36de: Verifying Checksum 08:17:54 c788192a36de: Download complete 08:17:54 540db60ca938: Verifying Checksum 08:17:54 540db60ca938: Download complete 08:17:55 540db60ca938: Pull complete 08:17:55 adcc1eea9eea: Pull complete 08:17:55 4c4ab2625f07: Pull complete 08:17:55 a77e37c0d609: Verifying Checksum 08:17:55 a77e37c0d609: Download complete 08:17:59 c3185cebc471: Verifying Checksum 08:17:59 c3185cebc471: Download complete 08:18:00 db62176df00c: Verifying Checksum 08:18:00 db62176df00c: Download complete 08:18:03 db62176df00c: Pull complete 08:18:03 3b30891b0d05: Pull complete 08:18:03 06b49ca38bd5: Pull complete 08:18:03 c788192a36de: Pull complete 08:18:03 a77e37c0d609: Pull complete 08:18:06 c3185cebc471: Pull complete 08:18:06 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 08:18:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 08:18:06 ---> 031687cdd783 08:18:06 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:18:07 ---> Running in 6c5c295d323a 08:18:07 Removing intermediate container 6c5c295d323a 08:18:07 ---> 1de045655de1 08:18:07 Step 4/7 : RUN apk add --update bash 08:18:08 ---> Running in 9693e671bf9a 08:18:08 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:18:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:18:09 OK: 219 MiB in 52 packages 08:18:09 Removing intermediate container 9693e671bf9a 08:18:09 ---> ec98f2cb5d76 08:18:09 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 08:18:09 ---> Running in 199369f954ca 08:18:09 Removing intermediate container 199369f954ca 08:18:09 ---> 1057c6e1dd25 08:18:09 Step 6/7 : COPY go.mod . 08:18:10 ---> 4194611ce9eb 08:18:10 Step 7/7 : RUN go mod download 08:18:10 ---> Running in b77e0e14352b 08:18:16 Removing intermediate container b77e0e14352b 08:18:16 ---> 862a4caaed79 08:18:16 Successfully built 862a4caaed79 08:18:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:18:17 + docker inspect -f . ci-base-image-x86_64 08:18:17 . [Pipeline] withDockerContainer 08:18:17 prd-centos7-docker-4c-2g-968 does not seem to be running inside a container 08:18:17 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:18:17 $ docker top d382f9b8ea39bdb6f6ef2f2c30c65250306be2fa1c48709d0f72103cdcd40228 -eo pid,comm [Pipeline] { [Pipeline] sh 08:18:18 + go version 08:18:18 go version go1.16.6 linux/amd64 [Pipeline] } 08:18:18 $ docker stop --time=1 d382f9b8ea39bdb6f6ef2f2c30c65250306be2fa1c48709d0f72103cdcd40228 08:18:19 $ docker rm -f d382f9b8ea39bdb6f6ef2f2c30c65250306be2fa1c48709d0f72103cdcd40228 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:18:20 + docker inspect -f . ci-base-image-x86_64 08:18:20 . [Pipeline] withDockerContainer 08:18:20 prd-centos7-docker-4c-2g-968 does not seem to be running inside a container 08:18:20 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:18:20 $ docker top 9dff80c11bcee112b391b77b299774b0e764670b9418439e254ae80c637c894f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:18:21 + go mod tidy [Pipeline] sh 08:18:21 + make test 08:18:21 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:18:33 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.022s coverage: 83.6% of statements 08:18:33 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 08:18:33 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.004s coverage: 85.7% of statements 08:18:33 ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] 08:18:33 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:18:36 gofmt -l . 08:18:36 [ "`gofmt -l .`" = "" ] [Pipeline] } 08:18:36 $ docker stop --time=1 9dff80c11bcee112b391b77b299774b0e764670b9418439e254ae80c637c894f 08:18:37 $ docker rm -f 9dff80c11bcee112b391b77b299774b0e764670b9418439e254ae80c637c894f [Pipeline] // withDockerContainer [Pipeline] sh 08:18:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:18:38 Warning: overwriting stash ‘coverage-report’ 08:18:38 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:18:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:18:39 08:18:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:18:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:18:40 latest: Pulling from edgex-lftools-log-publisher 08:18:40 b4d181a07f80: Pulling fs layer 08:18:40 a1111a8f2ec3: Pulling fs layer 08:18:40 ed53099fbce6: Pulling fs layer 08:18:40 dc539afda2c1: Pulling fs layer 08:18:40 77bc0d833cb6: Pulling fs layer 08:18:40 9065ff56babe: Pulling fs layer 08:18:40 d287ab97295c: Pulling fs layer 08:18:40 dc539afda2c1: Waiting 08:18:40 77bc0d833cb6: Waiting 08:18:40 9065ff56babe: Waiting 08:18:40 d287ab97295c: Waiting 08:18:40 a1111a8f2ec3: Verifying Checksum 08:18:40 a1111a8f2ec3: Download complete 08:18:40 dc539afda2c1: Verifying Checksum 08:18:40 dc539afda2c1: Download complete 08:18:40 77bc0d833cb6: Verifying Checksum 08:18:40 77bc0d833cb6: Download complete 08:18:40 9065ff56babe: Verifying Checksum 08:18:40 9065ff56babe: Download complete 08:18:40 ed53099fbce6: Verifying Checksum 08:18:40 ed53099fbce6: Download complete 08:18:41 b4d181a07f80: Verifying Checksum 08:18:41 b4d181a07f80: Download complete 08:18:42 b4d181a07f80: Pull complete 08:18:42 a1111a8f2ec3: Pull complete 08:18:43 ed53099fbce6: Pull complete 08:18:43 dc539afda2c1: Pull complete 08:18:43 77bc0d833cb6: Pull complete 08:18:43 9065ff56babe: Pull complete 08:18:43 d287ab97295c: Verifying Checksum 08:18:43 d287ab97295c: Download complete 08:18:48 d287ab97295c: Pull complete 08:18:48 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 08:18:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:18:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:18:48 prd-centos7-docker-4c-2g-968 does not seem to be running inside a container 08:18:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:18:50 $ docker top 09cc807e97bc0ad7e167e16ef019fffa25b473f5785078d43e805272e753b86f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:18:51 ---> job-cost.sh 08:18:51 lf-activate-venv: SKIPPING 08:18:51 INFO: No Stack... 08:18:51 INFO: Retrieving Pricing Info for: v3-standard-2 08:18:51 INFO: Archiving Costs [Pipeline] sh 08:18:52 + cat /w/workspace/go-mod-registry/1/archives/cost.csv 08:18:52 + cut -d, -f6 [Pipeline] lock 08:18:52 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-79-1-stack-cost] 08:18:52 Resource [jenkins-edgexfoundry-go-mod-registry-PR-79-1-stack-cost] did not exist. Created. 08:18:52 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-79-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:18:52 /w/workspace/go-mod-registry/1@tmp/durable-a15c2196/script.sh: 1: /w/workspace/go-mod-registry/1@tmp/durable-a15c2196/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 08:18:53 + echo total: 0.05999999865889549 [Pipeline] stash 08:18:53 Warning: overwriting stash ‘stack-cost’ 08:18:53 Stashed 1 file(s) [Pipeline] } 08:18:53 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-79-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:18:53 $ docker stop --time=1 09cc807e97bc0ad7e167e16ef019fffa25b473f5785078d43e805272e753b86f 08:18:54 $ docker rm -f 09cc807e97bc0ad7e167e16ef019fffa25b473f5785078d43e805272e753b86f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] configFileProvider 08:18:55 provisioning config files... 08:18:55 copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-79@tmp/config4533104386737737429tmp [Pipeline] { [Pipeline] sh 08:18:56 + set +x 08:18:56 + curl -s https://codecov.io/bash 08:18:56 + bash -s -- 08:18:56 08:18:56 _____ _ 08:18:56 / ____| | | 08:18:56 | | ___ __| | ___ ___ _____ __ 08:18:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:18:56 | |___| (_) | (_| | __/ (_| (_) \ V / 08:18:56 \_____\___/ \__,_|\___|\___\___/ \_/ 08:18:56 Bash-1.0.6 08:18:56 08:18:56 08:18:56 ==> git version 2.24.4 found 08:18:56 ==> 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 08:18:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:18:56 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:18:56 ==> Jenkins CI detected. 08:18:56 current dir:  /w/workspace/gexfoundry_go-mod-registry_PR-79 08:18:56 project root: . 08:18:56 --> token set from env 08:18:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:18:56 ==> Running gcov in . (disable via -X gcov) 08:18:56 ==> Python coveragepy not found 08:18:56 ==> Searching for coverage reports in: 08:18:56 + . 08:18:56 -> Found 1 reports 08:18:56 ==> Detecting git/mercurial file structure 08:18:56 ==> Reading reports 08:18:56 + ./coverage.out bytes=10197 08:18:56 ==> Appending adjustments 08:18:56 https://docs.codecov.io/docs/fixing-reports 08:18:56 + Found adjustments 08:18:56 ==> Gzipping contents 08:18:56 4.0K /tmp/codecov.3EydRA.gz 08:18:56 ==> Uploading reports 08:18:56 url: https://codecov.io 08:18:56 query: branch=PR-79&commit=d798a439af0e17d0b8383fdb44dd46add6c57545&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-79%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=79&job=&cmd_args= 08:18:56 -> Pinging Codecov 08:18:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=9ee36580-b4eb-4db0-b4c8-29f84f7b3278&branch=PR-79&commit=d798a439af0e17d0b8383fdb44dd46add6c57545&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-79%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=79&job=&cmd_args= 08:18:56 -> Uploading to 08:18:56 https://storage.googleapis.com/codecov/v4/raw/2021-08-16/05B643FFA8DEACB6C25F95B2D4D12284/d798a439af0e17d0b8383fdb44dd46add6c57545/2ec24d81-64e9-4def-a188-abb79589f5de.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210816%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210816T081856Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=da1603d8b002b750becaa4d95b75b5ef3b08934a89236f4acf16f8dfb51f8718 08:18:56 % Total % Received % Xferd Average Speed Time Time Time Current 08:18:56 Dload Upload Total Spent Left Speed 08:18:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1975 0 0 100 1975 0 3647 --:--:-- --:--:-- --:--:-- 3650 08:18:57 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/d798a439af0e17d0b8383fdb44dd46add6c57545 [Pipeline] } 08:18:57 Deleting 1 temporary files [Pipeline] // configFileProvider [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] sh 08:18:59 + '[' -d /w/workspace/gexfoundry_go-mod-registry_PR-79/archives ']' [Pipeline] libraryResource [Pipeline] sh 08:18:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:19:00 ---> package-listing.sh 08:19:00 ++ tr '[:upper:]' '[:lower:]' 08:19:00 ++ facter osfamily 08:19:00 + OS_FAMILY=redhat 08:19:00 + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-79 08:19:00 + START_PACKAGES=/tmp/packages_start.txt 08:19:00 + END_PACKAGES=/tmp/packages_end.txt 08:19:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:19:00 + PACKAGES=/tmp/packages_start.txt 08:19:00 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-79 ']' 08:19:00 + PACKAGES=/tmp/packages_end.txt 08:19:00 + case "${OS_FAMILY}" in 08:19:00 + rpm -qa 08:19:00 + sort 08:19:01 + '[' -f /tmp/packages_start.txt ']' 08:19:01 + '[' -f /tmp/packages_end.txt ']' 08:19:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:19:01 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-79 ']' 08:19:01 + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-79/archives/ 08:19:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-registry_PR-79/archives/ [Pipeline] echo 08:19:01 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-79/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:19:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:19:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:19:02 08:19:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:19:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:19:02 latest: Pulling from edgex-lftools-log-publisher 08:19:02 b4d181a07f80: Pulling fs layer 08:19:02 a1111a8f2ec3: Pulling fs layer 08:19:02 ed53099fbce6: Pulling fs layer 08:19:02 dc539afda2c1: Pulling fs layer 08:19:02 77bc0d833cb6: Pulling fs layer 08:19:02 9065ff56babe: Pulling fs layer 08:19:02 d287ab97295c: Pulling fs layer 08:19:02 dc539afda2c1: Waiting 08:19:02 77bc0d833cb6: Waiting 08:19:02 9065ff56babe: Waiting 08:19:02 d287ab97295c: Waiting 08:19:02 a1111a8f2ec3: Verifying Checksum 08:19:02 a1111a8f2ec3: Download complete 08:19:02 dc539afda2c1: Download complete 08:19:03 77bc0d833cb6: Verifying Checksum 08:19:03 77bc0d833cb6: Download complete 08:19:03 9065ff56babe: Verifying Checksum 08:19:03 9065ff56babe: Download complete 08:19:03 ed53099fbce6: Verifying Checksum 08:19:03 ed53099fbce6: Download complete 08:19:04 b4d181a07f80: Verifying Checksum 08:19:04 b4d181a07f80: Download complete 08:19:05 b4d181a07f80: Pull complete 08:19:05 a1111a8f2ec3: Pull complete 08:19:06 ed53099fbce6: Pull complete 08:19:06 dc539afda2c1: Pull complete 08:19:06 77bc0d833cb6: Pull complete 08:19:06 9065ff56babe: Pull complete 08:19:07 d287ab97295c: Verifying Checksum 08:19:07 d287ab97295c: Download complete 08:19:11 d287ab97295c: Pull complete 08:19:11 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 08:19:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:19:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:19:11 prd-centos7-docker-4c-2g-967 does not seem to be running inside a container 08:19:11 $ 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-79/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-79 -v /w/workspace/gexfoundry_go-mod-registry_PR-79:/w/workspace/gexfoundry_go-mod-registry_PR-79:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-79@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-79@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:19:14 $ docker top c67e87c6bb171ab0e06af31590ca672de43054effc7266cd59dd44361bbd2797 -eo pid,comm [Pipeline] { [Pipeline] sh 08:19:15 + touch /tmp/pre-build-complete [Pipeline] sh 08:19:15 + mkdir -p /var/log/sysstat [Pipeline] sh 08:19:16 + ls /var/log/sa-host 08:19:16 + sadf -c /var/log/sa-host/sa05 08:19:16 file_magic: OK 08:19:16 HZ: Using current value: 100 08:19:16 file_header: OK 08:19:16 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 08:19:16 Statistics: 08:19:16 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:19:16 File successfully converted to sysstat format version 12.0.3 08:19:16 + sadf -c /var/log/sa-host/sa16 08:19:16 file_magic: OK 08:19:16 HZ: Using current value: 100 08:19:16 file_header: OK 08:19:16 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 08:19:16 Statistics: 08:19:16 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:19:16 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:19:16 provisioning config files... 08:19:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-79@tmp/config7532501756376642009tmp [Pipeline] { [Pipeline] echo 08:19:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:19:17 ---> create-netrc.sh [Pipeline] } 08:19:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:19:17 ---> python-tools-install.sh [Pipeline] echo 08:19:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:19:18 ---> sudo-logs.sh 08:19:18 Archiving 'sudo' log.. 08:19:18 sudo: unable to resolve host prd-centos7-docker-4c-2g-967.vexxhost.local: Name or service not known 08:19:18 sudo: unable to resolve host prd-centos7-docker-4c-2g-967.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 08:19:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:19:18 ---> job-cost.sh 08:19:18 lf-activate-venv: SKIPPING 08:19:18 DEBUG: total: 0.05999999865889549 08:19:18 INFO: Retrieving Stack Cost... 08:19:19 INFO: Retrieving Pricing Info for: v3-standard-2 08:19:19 INFO: Archiving Costs [Pipeline] echo 08:19:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:19:20 ---> logs-deploy.sh 08:19:20 lf-activate-venv: SKIPPING 08:19:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-79/1 08:19:20 INFO: archiving workspace using pattern(s): 08:19:20 Archives upload complete. 08:19:20 INFO: archiving logs to Nexus 08:19:21 ---> uname -a: 08:19:21 Linux prd-centos7-docker-4c-2g-967.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 08:19:21 08:19:21 08:19:21 ---> lscpu: 08:19:21 Architecture: x86_64 08:19:21 CPU op-mode(s): 32-bit, 64-bit 08:19:21 Byte Order: Little Endian 08:19:21 Address sizes: 40 bits physical, 48 bits virtual 08:19:21 CPU(s): 2 08:19:21 On-line CPU(s) list: 0,1 08:19:21 Thread(s) per core: 1 08:19:21 Core(s) per socket: 1 08:19:21 Socket(s): 2 08:19:21 NUMA node(s): 1 08:19:21 Vendor ID: AuthenticAMD 08:19:21 CPU family: 23 08:19:21 Model: 49 08:19:21 Model name: AMD EPYC-Rome Processor 08:19:21 Stepping: 0 08:19:21 CPU MHz: 2799.998 08:19:21 BogoMIPS: 5599.99 08:19:21 Virtualization: AMD-V 08:19:21 Hypervisor vendor: KVM 08:19:21 Virtualization type: full 08:19:21 L1d cache: 32K 08:19:21 L1i cache: 32K 08:19:21 L2 cache: 512K 08:19:21 L3 cache: 16384K 08:19:21 NUMA node0 CPU(s): 0,1 08:19:21 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 08:19:21 08:19:21 08:19:21 ---> nproc: 08:19:21 2 08:19:21 08:19:21 08:19:21 ---> df -h: 08:19:21 Filesystem Size Used Avail Use% Mounted on 08:19:21 overlay 40G 7.7G 33G 20% / 08:19:21 tmpfs 64M 0 64M 0% /dev 08:19:21 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 08:19:21 shm 64M 0 64M 0% /dev/shm 08:19:21 /dev/vda1 40G 7.7G 33G 20% /facter-os 08:19:21 08:19:21 08:19:21 ---> sar -b -r -n DEV: 08:19:21 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/16/21 _x86_64_ (2 CPU) 08:19:21 08:19:21 08:13:57 LINUX RESTART (2 CPU) 08:19:21 08:19:21 08:15:02 tps rtps wtps bread/s bwrtn/s 08:19:21 08:16:01 2.00 0.00 2.00 0.00 43.24 08:19:21 08:17:01 0.32 0.00 0.32 0.00 4.58 08:19:21 08:18:01 0.27 0.00 0.27 0.00 3.22 08:19:21 08:19:01 0.43 0.15 0.28 13.99 6.20 08:19:21 Average: 0.75 0.04 0.71 3.51 14.19 08:19:21 08:19:21 08:15:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:19:21 08:16:01 5483880 0 791024 9.88 2620 1731408 1203116 13.28 565940 1562508 16 08:19:21 08:17:01 5482056 0 792840 9.90 2620 1731416 1203116 13.28 572808 1557448 8 08:19:21 08:18:01 5478596 0 796300 9.94 2620 1731416 1203380 13.29 576164 1557448 8 08:19:21 08:19:01 5466812 0 807512 10.08 2620 1731988 1275024 14.08 689924 1453520 104 08:19:21 Average: 5477836 0 796919 9.95 2620 1731557 1221159 13.48 601209 1532731 34 08:19:21 08:19:21 08:15:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:19:21 08:16:01 eth0 0.08 0.08 0.01 0.02 0.00 0.00 0.00 0.00 08:19:21 08:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:19:21 08:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:19:21 08:17:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:19:21 08:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:19:21 08:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:19:21 08:18:01 eth0 0.97 0.33 0.37 0.20 0.00 0.00 0.00 0.00 08:19:21 08:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:19:21 08:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:19:21 08:19:01 eth0 12.16 7.50 10.85 3.64 0.00 0.00 0.00 0.00 08:19:21 08:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:19:21 08:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:19:21 Average: eth0 3.34 2.01 2.82 0.97 0.00 0.00 0.00 0.00 08:19:21 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:19:21 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:19:21 08:19:21 08:19:21 ---> sar -P ALL: 08:19:21 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/16/21 _x86_64_ (2 CPU) 08:19:21 08:19:21 08:13:57 LINUX RESTART (2 CPU) 08:19:21 08:19:21 08:15:02 CPU %user %nice %system %iowait %steal %idle 08:19:21 08:16:01 all 0.22 0.00 0.07 0.00 0.02 99.69 08:19:21 08:16:01 0 0.08 0.00 0.05 0.00 0.02 99.85 08:19:21 08:16:01 1 0.36 0.00 0.09 0.00 0.02 99.54 08:19:21 08:17:01 all 0.22 0.00 0.07 0.00 0.02 99.70 08:19:21 08:17:01 0 0.07 0.00 0.07 0.00 0.02 99.85 08:19:21 08:17:01 1 0.37 0.00 0.07 0.00 0.02 99.55 08:19:21 08:18:01 all 0.21 0.00 0.05 0.00 0.01 99.73 08:19:21 08:18:01 0 0.05 0.00 0.07 0.00 0.00 99.88 08:19:21 08:18:01 1 0.37 0.00 0.03 0.00 0.02 99.58 08:19:21 08:19:01 all 1.67 0.00 0.93 0.00 0.03 97.37 08:19:21 08:19:01 0 1.20 0.00 0.85 0.00 0.03 97.92 08:19:21 08:19:01 1 2.13 0.00 1.02 0.00 0.03 96.82 08:19:21 Average: all 0.58 0.00 0.28 0.00 0.02 99.12 08:19:21 Average: 0 0.35 0.00 0.26 0.00 0.02 99.37 08:19:21 Average: 1 0.81 0.00 0.30 0.00 0.02 98.87 08:19:21 08:19:21 08:19:21