Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cc243e81ba83bc35cdb4507b253464f4571e34cd Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh5777189353346084478.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-ssh3844075418295803401.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh33958240920494299.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 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-ssh5163161736374286768.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4997699237928670663.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1034’ Running on prd-centos7-docker-4c-2g-1036 in /w/workspace/dgexfoundry_go-mod-registry_main [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 Avoid second fetch Checking out Revision cc243e81ba83bc35cdb4507b253464f4571e34cd (main) Cloning repository git@github.com:edgexfoundry/go-mod-registry.git > git init /w/workspace/dgexfoundry_go-mod-registry_main # 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/dgexfoundry_go-mod-registry_main@tmp/jenkins-gitclient-ssh7253484888041459584.key > 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 core.sparsecheckout # timeout=10 > git checkout -f cc243e81ba83bc35cdb4507b253464f4571e34cd # timeout=10 Commit message: "Merge pull request #79 from badboy-huaqiao/issue-#77-getAllRegisterdServiceEndpoints" > git rev-list --no-walk 6345379747ac699e4a5e0c6d67ce57ad83cdd4a4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-17T16:11:31.936Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-17T16:11:32.032Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-17T16:11:32.068Z] ========================================================= [2021-08-17T16:11:32.068Z] EdgeX Global Pipelines Version Info [2021-08-17T16:11:32.068Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-17T16:11:33.555Z] ------------------- [2021-08-17T16:11:33.555Z] stable info: [2021-08-17T16:11:33.555Z] ------------------- [2021-08-17T16:11:33.555Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-17T16:11:33.555Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T16:11:33.555Z] Message: update stable to v1.0.205 [2021-08-17T16:11:33.825Z] ------------------- [2021-08-17T16:11:33.825Z] experimental info: [2021-08-17T16:11:33.825Z] ------------------- [2021-08-17T16:11:33.825Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-17T16:11:33.825Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T16:11:33.825Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-17T16:11:33.980Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo [2021-08-17T16:11:34.006Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo [2021-08-17T16:11:34.030Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-17T16:11:34.054Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-17T16:11:34.079Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-17T16:11:34.104Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-17T16:11:34.129Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-17T16:11:34.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-17T16:11:34.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-17T16:11:34.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-17T16:11:34.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-17T16:11:34.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-17T16:11:34.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo [2021-08-17T16:11:34.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-17T16:11:34.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-17T16:11:34.352Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T16:11:34.377Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T16:11:34.403Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T16:11:34.428Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T16:11:34.452Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-17T16:11:34.477Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-17T16:11:34.503Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-08-17T16:11:34.528Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-08-17T16:11:34.553Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-17T16:11:34.578Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-17T16:11:34.603Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-08-17T16:11:34.629Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-17T16:11:34.654Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-08-17T16:11:34.679Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-08-17T16:11:34.704Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-08-17T16:11:34.729Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc243e81ba83bc35cdb4507b253464f4571e34cd [Pipeline] echo [2021-08-17T16:11:34.754Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc243e8 [Pipeline] echo [2021-08-17T16:11:34.779Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-17T16:11:35.222Z] + git log --format=format:%s -1 cc243e81ba83bc35cdb4507b253464f4571e34cd [Pipeline] echo [2021-08-17T16:11:35.274Z] GIT_COMMIT: cc243e81ba83bc35cdb4507b253464f4571e34cd, Commit Message: Merge pull request #79 from badboy-huaqiao/issue-#77-getAllRegisterdServiceEndpoints [Pipeline] echo [2021-08-17T16:11:35.311Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:11:35.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T16:11:35.992Z] [2021-08-17T16:11:35.992Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:11:36.340Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T16:11:36.608Z] latest: Pulling from edgex-devops/git-semver [2021-08-17T16:11:36.608Z] 31603596830f: Pulling fs layer [2021-08-17T16:11:36.608Z] d4622e32a9a9: Pulling fs layer [2021-08-17T16:11:36.608Z] 1030fce36090: Pulling fs layer [2021-08-17T16:11:36.608Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-17T16:11:36.608Z] 6c6cb7e1b49b: Waiting [2021-08-17T16:11:36.608Z] d4622e32a9a9: Verifying Checksum [2021-08-17T16:11:36.608Z] d4622e32a9a9: Download complete [2021-08-17T16:11:36.877Z] 31603596830f: Verifying Checksum [2021-08-17T16:11:36.877Z] 31603596830f: Download complete [2021-08-17T16:11:37.146Z] 31603596830f: Pull complete [2021-08-17T16:11:37.146Z] d4622e32a9a9: Pull complete [2021-08-17T16:11:37.146Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-17T16:11:37.146Z] 6c6cb7e1b49b: Download complete [2021-08-17T16:11:37.415Z] 1030fce36090: Verifying Checksum [2021-08-17T16:11:37.415Z] 1030fce36090: Download complete [2021-08-17T16:11:38.003Z] 1030fce36090: Pull complete [2021-08-17T16:11:38.003Z] 6c6cb7e1b49b: Pull complete [2021-08-17T16:11:38.003Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-17T16:11:38.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T16:11:38.003Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-17T16:11:38.121Z] prd-centos7-docker-4c-2g-1036 does not seem to be running inside a container [2021-08-17T16:11:38.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-17T16:11:38.894Z] $ docker top 50a023c8908521fbb65a500ead1156b98b6d19891fa714b47c0a0b60ed7a484e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-17T16:11:39.019Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T16:11:39.020Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T16:11:39.124Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T16:11:39.127Z] $ docker exec 50a023c8908521fbb65a500ead1156b98b6d19891fa714b47c0a0b60ed7a484e ssh-agent [2021-08-17T16:11:39.234Z] SSH_AUTH_SOCK=/tmp/ssh-hxlPLd6zM6TK/agent.13 [2021-08-17T16:11:39.234Z] SSH_AGENT_PID=19 [2021-08-17T16:11:39.249Z] Running ssh-add (command line suppressed) [2021-08-17T16:11:39.358Z] Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_4914124749238013070.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_4914124749238013070.key) [2021-08-17T16:11:39.389Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T16:11:39.707Z] + git tag --points-at HEAD [Pipeline] } [2021-08-17T16:11:39.731Z] $ docker exec --env ******** --env ******** 50a023c8908521fbb65a500ead1156b98b6d19891fa714b47c0a0b60ed7a484e ssh-agent -k [2021-08-17T16:11:39.823Z] unset SSH_AUTH_SOCK; [2021-08-17T16:11:39.823Z] unset SSH_AGENT_PID; [2021-08-17T16:11:39.823Z] echo Agent pid 19 killed; [2021-08-17T16:11:39.846Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-17T16:11:39.886Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T16:11:39.886Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T16:11:40.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T16:11:40.007Z] $ docker exec 50a023c8908521fbb65a500ead1156b98b6d19891fa714b47c0a0b60ed7a484e ssh-agent [2021-08-17T16:11:40.116Z] SSH_AUTH_SOCK=/tmp/ssh-46FVTOQtw16X/agent.52 [2021-08-17T16:11:40.116Z] SSH_AGENT_PID=59 [2021-08-17T16:11:40.126Z] Running ssh-add (command line suppressed) [2021-08-17T16:11:40.227Z] Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_2950373739664877649.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_2950373739664877649.key) [2021-08-17T16:11:40.252Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T16:11:40.574Z] + git semver init [2021-08-17T16:11:40.574Z] # -> Open(): unable to determine branch for HEAD [2021-08-17T16:11:40.574Z] # $GIT_DIR = /w/workspace/dgexfoundry_go-mod-registry_main/.git [2021-08-17T16:11:40.574Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_go-mod-registry_main [2021-08-17T16:11:40.574Z] # $SEMVER_REMOTE_NAME = origin [2021-08-17T16:11:40.574Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-17T16:11:40.574Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-17T16:11:40.574Z] # $SEMVER_BRANCH = main [2021-08-17T16:11:40.574Z] # $SEMVER_TEMP = /tmp/semver-969296610 [2021-08-17T16:11:40.574Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP [2021-08-17T16:11:41.052Z] # '/tmp/semver-969296610' -> '/w/workspace/dgexfoundry_go-mod-registry_main/.semver' [2021-08-17T16:11:41.052Z] # -> Force: false [2021-08-17T16:11:41.052Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_go-mod-registry_main/.semver [Pipeline] } [2021-08-17T16:11:41.068Z] $ docker exec --env ******** --env ******** 50a023c8908521fbb65a500ead1156b98b6d19891fa714b47c0a0b60ed7a484e ssh-agent -k [2021-08-17T16:11:41.168Z] unset SSH_AUTH_SOCK; [2021-08-17T16:11:41.169Z] unset SSH_AGENT_PID; [2021-08-17T16:11:41.169Z] echo Agent pid 59 killed; [2021-08-17T16:11:41.196Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-17T16:11:41.570Z] + git semver [Pipeline] } [2021-08-17T16:11:41.590Z] $ docker stop --time=1 50a023c8908521fbb65a500ead1156b98b6d19891fa714b47c0a0b60ed7a484e [2021-08-17T16:11:42.803Z] $ docker rm -f 50a023c8908521fbb65a500ead1156b98b6d19891fa714b47c0a0b60ed7a484e [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T16:11:43.220Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-17T16:11:43.571Z] Stashed 1 file(s) [Pipeline] echo [2021-08-17T16:11:43.574Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.3 [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-08-17T16:11:58.795Z] Still waiting to schedule task [2021-08-17T16:11:58.796Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1036’ [2021-08-17T16:11:58.798Z] Still waiting to schedule task [2021-08-17T16:11:58.798Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline [2021-08-17T16:13:59.631Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1039 in /w/workspace/dgexfoundry_go-mod-registry_main [Pipeline] { [Pipeline] ws [2021-08-17T16:13:59.652Z] Running in /w/workspace/go-mod-registry/4 [Pipeline] { [Pipeline] checkout [2021-08-17T16:13:59.877Z] Selected Git installation does not exist. Using Default [2021-08-17T16:13:59.877Z] The recommended git tool is: NONE [2021-08-17T16:14:05.686Z] using credential edgex-jenkins-ssh [2021-08-17T16:14:05.711Z] Cloning the remote Git repository [2021-08-17T16:14:05.772Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2021-08-17T16:14:05.913Z] > git init /w/workspace/go-mod-registry/4 # timeout=10 [2021-08-17T16:14:06.027Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-08-17T16:14:06.028Z] > git --version # timeout=10 [2021-08-17T16:14:06.044Z] > git --version # 'git version 2.17.1' [2021-08-17T16:14:06.046Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T16:14:06.115Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T16:14:06.896Z] Avoid second fetch [2021-08-17T16:14:06.897Z] Checking out Revision cc243e81ba83bc35cdb4507b253464f4571e34cd (main) [2021-08-17T16:14:06.854Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-08-17T16:14:06.878Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T16:14:06.918Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T16:14:06.932Z] > git checkout -f cc243e81ba83bc35cdb4507b253464f4571e34cd # timeout=10 [2021-08-17T16:14:11.291Z] Commit message: "Merge pull request #79 from badboy-huaqiao/issue-#77-getAllRegisterdServiceEndpoints" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-17T16:14:12.139Z] ========================================================= [2021-08-17T16:14:12.139Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-17T16:14:12.139Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:14:12.695Z] + 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-08-17T16:14:13.692Z] Sending build context to Docker daemon 331.3kB [2021-08-17T16:14:13.692Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-08-17T16:14:13.692Z] Step 2/7 : FROM ${BASE} [2021-08-17T16:14:14.296Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-17T16:14:14.296Z] 595b0fe564bb: Pulling fs layer [2021-08-17T16:14:14.296Z] 24495759ef45: Pulling fs layer [2021-08-17T16:14:14.296Z] d148012ef14d: Pulling fs layer [2021-08-17T16:14:14.296Z] e90a11edd702: Pulling fs layer [2021-08-17T16:14:14.296Z] d77568369979: Pulling fs layer [2021-08-17T16:14:14.296Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-17T16:14:14.296Z] 170f2ba95c9a: Pulling fs layer [2021-08-17T16:14:14.296Z] 97ac5df62f85: Pulling fs layer [2021-08-17T16:14:14.296Z] 97ac5df62f85: Waiting [2021-08-17T16:14:14.296Z] e90a11edd702: Waiting [2021-08-17T16:14:14.296Z] d77568369979: Waiting [2021-08-17T16:14:14.296Z] 170f2ba95c9a: Waiting [2021-08-17T16:14:14.296Z] d148012ef14d: Verifying Checksum [2021-08-17T16:14:14.296Z] d148012ef14d: Download complete [2021-08-17T16:14:14.296Z] 24495759ef45: Verifying Checksum [2021-08-17T16:14:14.296Z] 24495759ef45: Download complete [2021-08-17T16:14:14.296Z] d77568369979: Download complete [2021-08-17T16:14:14.296Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-17T16:14:14.296Z] fc1c9f9a7f3b: Download complete [2021-08-17T16:14:14.296Z] 595b0fe564bb: Verifying Checksum [2021-08-17T16:14:14.296Z] 595b0fe564bb: Download complete [2021-08-17T16:14:14.574Z] 170f2ba95c9a: Download complete [2021-08-17T16:14:15.177Z] 595b0fe564bb: Pull complete [2021-08-17T16:14:15.782Z] 24495759ef45: Pull complete [2021-08-17T16:14:16.385Z] d148012ef14d: Pull complete [2021-08-17T16:14:18.374Z] 97ac5df62f85: Verifying Checksum [2021-08-17T16:14:18.374Z] 97ac5df62f85: Download complete [2021-08-17T16:14:18.969Z] e90a11edd702: Verifying Checksum [2021-08-17T16:14:18.969Z] e90a11edd702: Download complete [2021-08-17T16:14:31.473Z] e90a11edd702: Pull complete [2021-08-17T16:14:31.473Z] d77568369979: Pull complete [2021-08-17T16:14:31.473Z] fc1c9f9a7f3b: Pull complete [2021-08-17T16:14:31.473Z] 170f2ba95c9a: Pull complete [2021-08-17T16:14:36.901Z] 97ac5df62f85: Pull complete [2021-08-17T16:14:36.901Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-17T16:14:36.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-17T16:14:36.901Z] ---> 04bc70af865f [2021-08-17T16:14:36.901Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-17T16:14:41.217Z] ---> Running in 20f6f901d285 [2021-08-17T16:14:41.811Z] Removing intermediate container 20f6f901d285 [2021-08-17T16:14:41.811Z] ---> bae4f72160b4 [2021-08-17T16:14:41.811Z] Step 4/7 : RUN apk add --update bash [2021-08-17T16:14:41.811Z] ---> Running in f12a8b360708 [2021-08-17T16:14:43.263Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-17T16:14:44.705Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-17T16:14:45.305Z] OK: 218 MiB in 52 packages [2021-08-17T16:14:46.739Z] Removing intermediate container f12a8b360708 [2021-08-17T16:14:46.739Z] ---> 479a64c351ec [2021-08-17T16:14:46.739Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-08-17T16:14:47.013Z] ---> Running in c50b8950828e [2021-08-17T16:14:47.609Z] Removing intermediate container c50b8950828e [2021-08-17T16:14:47.609Z] ---> 305a3695e4d5 [2021-08-17T16:14:47.609Z] Step 6/7 : COPY go.mod . [2021-08-17T16:14:48.209Z] ---> ab6790a2eaee [2021-08-17T16:14:48.209Z] Step 7/7 : RUN go mod download [2021-08-17T16:14:48.495Z] ---> Running in f34aaa880e0a [2021-08-17T16:15:10.699Z] Removing intermediate container f34aaa880e0a [2021-08-17T16:15:10.699Z] ---> d549a5318f73 [2021-08-17T16:15:10.699Z] Successfully built d549a5318f73 [2021-08-17T16:15:10.699Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:15:11.117Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T16:15:11.117Z] . [Pipeline] withDockerContainer [2021-08-17T16:15:11.369Z] prd-ubuntu18.04-docker-arm64-4c-16g-1039 does not seem to be running inside a container [2021-08-17T16:15:11.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/4 -v /w/workspace/go-mod-registry/4:/w/workspace/go-mod-registry/4:rw,z -v /w/workspace/go-mod-registry/4@tmp:/w/workspace/go-mod-registry/4@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 ******** ci-base-image-arm64 cat [2021-08-17T16:15:13.441Z] $ docker top 8e460d0788c002017487bb83109b3a2704ba0c88ea1d3b01704aca82d6b7cd16 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T16:15:14.395Z] + go version [2021-08-17T16:15:14.395Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-17T16:15:14.420Z] $ docker stop --time=1 8e460d0788c002017487bb83109b3a2704ba0c88ea1d3b01704aca82d6b7cd16 [2021-08-17T16:15:16.355Z] $ docker rm -f 8e460d0788c002017487bb83109b3a2704ba0c88ea1d3b01704aca82d6b7cd16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:15:17.034Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T16:15:17.034Z] . [Pipeline] withDockerContainer [2021-08-17T16:15:17.267Z] prd-ubuntu18.04-docker-arm64-4c-16g-1039 does not seem to be running inside a container [2021-08-17T16:15:17.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/4 -v /w/workspace/go-mod-registry/4:/w/workspace/go-mod-registry/4:rw,z -v /w/workspace/go-mod-registry/4@tmp:/w/workspace/go-mod-registry/4@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 ******** ci-base-image-arm64 cat [2021-08-17T16:15:19.156Z] $ docker top e1ac8b4f51ecb0a63256262970bb7bd7b888eeda07de246048cf424b1d263171 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T16:15:20.155Z] + go mod tidy [Pipeline] sh [2021-08-17T16:15:21.099Z] + make test [2021-08-17T16:15:21.099Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-17T16:15:53.515Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.102s coverage: 83.6% of statements [2021-08-17T16:15:53.515Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-08-17T16:15:53.515Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.015s coverage: 85.7% of statements [2021-08-17T16:15:53.515Z] ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] [2021-08-17T16:15:53.515Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-08-17T16:16:11.857Z] gofmt -l . [2021-08-17T16:16:11.857Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-08-17T16:16:11.879Z] $ docker stop --time=1 e1ac8b4f51ecb0a63256262970bb7bd7b888eeda07de246048cf424b1d263171 [2021-08-17T16:16:14.037Z] $ docker rm -f e1ac8b4f51ecb0a63256262970bb7bd7b888eeda07de246048cf424b1d263171 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T16:16:14.763Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-17T16:16:15.710Z] 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 [2021-08-17T16:16:16.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T16:16:16.280Z] [2021-08-17T16:16:16.280Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:16:16.672Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T16:16:16.960Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-17T16:16:16.960Z] 448f6bf000e3: Pulling fs layer [2021-08-17T16:16:16.960Z] f757da607395: Pulling fs layer [2021-08-17T16:16:16.960Z] 05883995daec: Pulling fs layer [2021-08-17T16:16:16.960Z] 8603b9c90790: Pulling fs layer [2021-08-17T16:16:16.960Z] 1560dd03e051: Pulling fs layer [2021-08-17T16:16:16.960Z] 27f5ce0e4adf: Pulling fs layer [2021-08-17T16:16:16.960Z] c2d8d7efcc4b: Pulling fs layer [2021-08-17T16:16:16.960Z] 8603b9c90790: Waiting [2021-08-17T16:16:16.960Z] 1560dd03e051: Waiting [2021-08-17T16:16:16.960Z] 27f5ce0e4adf: Waiting [2021-08-17T16:16:16.960Z] c2d8d7efcc4b: Waiting [2021-08-17T16:16:17.239Z] f757da607395: Verifying Checksum [2021-08-17T16:16:17.239Z] f757da607395: Download complete [2021-08-17T16:16:17.239Z] 8603b9c90790: Verifying Checksum [2021-08-17T16:16:17.239Z] 8603b9c90790: Download complete [2021-08-17T16:16:17.513Z] 1560dd03e051: Verifying Checksum [2021-08-17T16:16:17.513Z] 27f5ce0e4adf: Verifying Checksum [2021-08-17T16:16:17.513Z] 27f5ce0e4adf: Download complete [2021-08-17T16:16:17.513Z] 05883995daec: Verifying Checksum [2021-08-17T16:16:17.513Z] 05883995daec: Download complete [2021-08-17T16:16:18.488Z] 448f6bf000e3: Verifying Checksum [2021-08-17T16:16:18.488Z] 448f6bf000e3: Download complete [2021-08-17T16:16:21.105Z] c2d8d7efcc4b: Verifying Checksum [2021-08-17T16:16:21.105Z] c2d8d7efcc4b: Download complete [2021-08-17T16:16:22.535Z] 448f6bf000e3: Pull complete [2021-08-17T16:16:23.132Z] f757da607395: Pull complete [2021-08-17T16:16:24.580Z] 05883995daec: Pull complete [2021-08-17T16:16:24.853Z] 8603b9c90790: Pull complete [2021-08-17T16:16:26.286Z] 1560dd03e051: Pull complete [2021-08-17T16:16:26.559Z] 27f5ce0e4adf: Pull complete [2021-08-17T16:16:41.649Z] c2d8d7efcc4b: Pull complete [2021-08-17T16:16:41.649Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-17T16:16:41.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T16:16:41.649Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-17T16:16:41.885Z] prd-ubuntu18.04-docker-arm64-4c-16g-1039 does not seem to be running inside a container [2021-08-17T16:16:41.987Z] $ 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/4 -v /w/workspace/go-mod-registry/4:/w/workspace/go-mod-registry/4:rw,z -v /w/workspace/go-mod-registry/4@tmp:/w/workspace/go-mod-registry/4@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-17T16:16:47.651Z] $ docker top 85719845a7435453d079451bb823c84e27919a44d0aa22203aaa74672f40c777 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T16:16:48.708Z] ---> job-cost.sh [2021-08-17T16:16:48.708Z] lf-activate-venv: SKIPPING [2021-08-17T16:16:48.708Z] INFO: No Stack... [2021-08-17T16:16:49.682Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-17T16:16:49.954Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T16:16:50.611Z] + cat /w/workspace/go-mod-registry/4/archives/cost.csv [2021-08-17T16:16:50.611Z] + cut -d, -f6 [Pipeline] lock [2021-08-17T16:16:50.669Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-main-4-stack-cost] [2021-08-17T16:16:50.677Z] Resource [jenkins-edgexfoundry-go-mod-registry-main-4-stack-cost] did not exist. Created. [2021-08-17T16:16:50.677Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T16:16:51.350Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-17T16:16:51.416Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T16:16:51.429Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-main-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T16:16:51.486Z] $ docker stop --time=1 85719845a7435453d079451bb823c84e27919a44d0aa22203aaa74672f40c777 [2021-08-17T16:16:53.206Z] $ docker rm -f 85719845a7435453d079451bb823c84e27919a44d0aa22203aaa74672f40c777 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-17T16:20:58.060Z] Running on prd-centos7-docker-4c-2g-1040 in /w/workspace/dgexfoundry_go-mod-registry_main [Pipeline] { [Pipeline] ws [2021-08-17T16:20:58.086Z] Running in /w/workspace/go-mod-registry/4 [Pipeline] { [Pipeline] checkout [2021-08-17T16:20:58.204Z] Selected Git installation does not exist. Using Default [2021-08-17T16:20:58.204Z] The recommended git tool is: NONE [2021-08-17T16:21:00.894Z] using credential edgex-jenkins-ssh [2021-08-17T16:21:00.909Z] Cloning the remote Git repository [2021-08-17T16:21:00.576Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2021-08-17T16:21:00.647Z] > git init /w/workspace/go-mod-registry/4 # timeout=10 [2021-08-17T16:21:00.680Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-08-17T16:21:00.680Z] > git --version # timeout=10 [2021-08-17T16:21:00.688Z] > git --version # 'git version 2.24.4' [2021-08-17T16:21:00.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T16:21:00.717Z] [INFO] Currently running in a labeled security context [2021-08-17T16:21:00.718Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T16:21:00.719Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/4@tmp/jenkins-gitclient-ssh4999705264122216254.key [2021-08-17T16:21:00.740Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T16:21:01.723Z] Avoid second fetch [2021-08-17T16:21:01.724Z] Checking out Revision cc243e81ba83bc35cdb4507b253464f4571e34cd (main) [2021-08-17T16:21:01.416Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-08-17T16:21:01.422Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T16:21:01.448Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T16:21:01.457Z] > git checkout -f cc243e81ba83bc35cdb4507b253464f4571e34cd # timeout=10 [2021-08-17T16:21:05.248Z] Commit message: "Merge pull request #79 from badboy-huaqiao/issue-#77-getAllRegisterdServiceEndpoints" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-17T16:21:06.069Z] ========================================================= [2021-08-17T16:21:06.069Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-17T16:21:06.069Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:21:06.498Z] + 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-08-17T16:21:06.498Z] Sending build context to Docker daemon 332.3kB [2021-08-17T16:21:06.498Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-08-17T16:21:06.498Z] Step 2/7 : FROM ${BASE} [2021-08-17T16:21:07.916Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-17T16:21:07.916Z] 540db60ca938: Pulling fs layer [2021-08-17T16:21:07.916Z] adcc1eea9eea: Pulling fs layer [2021-08-17T16:21:07.916Z] 4c4ab2625f07: Pulling fs layer [2021-08-17T16:21:07.916Z] db62176df00c: Pulling fs layer [2021-08-17T16:21:07.916Z] 3b30891b0d05: Pulling fs layer [2021-08-17T16:21:07.916Z] 06b49ca38bd5: Pulling fs layer [2021-08-17T16:21:07.916Z] c788192a36de: Pulling fs layer [2021-08-17T16:21:07.916Z] a77e37c0d609: Pulling fs layer [2021-08-17T16:21:07.916Z] c3185cebc471: Pulling fs layer [2021-08-17T16:21:07.916Z] 3b30891b0d05: Waiting [2021-08-17T16:21:07.916Z] 06b49ca38bd5: Waiting [2021-08-17T16:21:07.916Z] c788192a36de: Waiting [2021-08-17T16:21:07.916Z] a77e37c0d609: Waiting [2021-08-17T16:21:07.916Z] c3185cebc471: Waiting [2021-08-17T16:21:07.916Z] db62176df00c: Waiting [2021-08-17T16:21:07.916Z] 4c4ab2625f07: Verifying Checksum [2021-08-17T16:21:07.916Z] 4c4ab2625f07: Download complete [2021-08-17T16:21:07.916Z] adcc1eea9eea: Verifying Checksum [2021-08-17T16:21:07.916Z] adcc1eea9eea: Download complete [2021-08-17T16:21:07.916Z] 3b30891b0d05: Verifying Checksum [2021-08-17T16:21:07.916Z] 3b30891b0d05: Download complete [2021-08-17T16:21:07.916Z] 06b49ca38bd5: Verifying Checksum [2021-08-17T16:21:07.916Z] 06b49ca38bd5: Download complete [2021-08-17T16:21:07.916Z] c788192a36de: Verifying Checksum [2021-08-17T16:21:07.916Z] c788192a36de: Download complete [2021-08-17T16:21:07.916Z] 540db60ca938: Verifying Checksum [2021-08-17T16:21:07.916Z] 540db60ca938: Download complete [2021-08-17T16:21:08.184Z] 540db60ca938: Pull complete [2021-08-17T16:21:08.184Z] adcc1eea9eea: Pull complete [2021-08-17T16:21:08.184Z] 4c4ab2625f07: Pull complete [2021-08-17T16:21:09.146Z] a77e37c0d609: Verifying Checksum [2021-08-17T16:21:09.146Z] a77e37c0d609: Download complete [2021-08-17T16:21:11.730Z] c3185cebc471: Verifying Checksum [2021-08-17T16:21:11.730Z] c3185cebc471: Download complete [2021-08-17T16:21:12.013Z] db62176df00c: Verifying Checksum [2021-08-17T16:21:12.013Z] db62176df00c: Download complete [2021-08-17T16:21:15.392Z] db62176df00c: Pull complete [2021-08-17T16:21:15.392Z] 3b30891b0d05: Pull complete [2021-08-17T16:21:15.392Z] 06b49ca38bd5: Pull complete [2021-08-17T16:21:15.392Z] c788192a36de: Pull complete [2021-08-17T16:21:15.671Z] a77e37c0d609: Pull complete [2021-08-17T16:21:18.263Z] c3185cebc471: Pull complete [2021-08-17T16:21:18.263Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-17T16:21:18.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-17T16:21:18.263Z] ---> 031687cdd783 [2021-08-17T16:21:18.263Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-17T16:21:19.678Z] ---> Running in e050e1afa06b [2021-08-17T16:21:19.678Z] Removing intermediate container e050e1afa06b [2021-08-17T16:21:19.678Z] ---> 7b00033512b9 [2021-08-17T16:21:19.678Z] Step 4/7 : RUN apk add --update bash [2021-08-17T16:21:19.678Z] ---> Running in 7a7f775536b0 [2021-08-17T16:21:19.946Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-17T16:21:20.917Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-17T16:21:21.183Z] OK: 219 MiB in 52 packages [2021-08-17T16:21:21.452Z] Removing intermediate container 7a7f775536b0 [2021-08-17T16:21:21.452Z] ---> f2963845fb3c [2021-08-17T16:21:21.452Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-08-17T16:21:21.452Z] ---> Running in ae5a2ef9d83c [2021-08-17T16:21:21.723Z] Removing intermediate container ae5a2ef9d83c [2021-08-17T16:21:21.723Z] ---> 91ea79193b0a [2021-08-17T16:21:21.723Z] Step 6/7 : COPY go.mod . [2021-08-17T16:21:21.723Z] ---> 1d741edcb7ed [2021-08-17T16:21:21.723Z] Step 7/7 : RUN go mod download [2021-08-17T16:21:21.723Z] ---> Running in e97acd96da7b [2021-08-17T16:21:29.944Z] Removing intermediate container e97acd96da7b [2021-08-17T16:21:29.944Z] ---> 35d47cc0e974 [2021-08-17T16:21:29.944Z] Successfully built 35d47cc0e974 [2021-08-17T16:21:29.944Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:21:30.315Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T16:21:30.315Z] . [Pipeline] withDockerContainer [2021-08-17T16:21:30.425Z] prd-centos7-docker-4c-2g-1040 does not seem to be running inside a container [2021-08-17T16:21:30.685Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/4 -v /w/workspace/go-mod-registry/4:/w/workspace/go-mod-registry/4:rw,z -v /w/workspace/go-mod-registry/4@tmp:/w/workspace/go-mod-registry/4@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 ******** ci-base-image-x86_64 cat [2021-08-17T16:21:31.100Z] $ docker top fa4d5f8b0a9530b5a089b2f4834a2495480c0fc0f82846a84d62943cf010bb76 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T16:21:31.532Z] + go version [2021-08-17T16:21:31.532Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-17T16:21:31.547Z] $ docker stop --time=1 fa4d5f8b0a9530b5a089b2f4834a2495480c0fc0f82846a84d62943cf010bb76 [2021-08-17T16:21:32.762Z] $ docker rm -f fa4d5f8b0a9530b5a089b2f4834a2495480c0fc0f82846a84d62943cf010bb76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:21:33.279Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T16:21:33.280Z] . [Pipeline] withDockerContainer [2021-08-17T16:21:33.386Z] prd-centos7-docker-4c-2g-1040 does not seem to be running inside a container [2021-08-17T16:21:33.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/4 -v /w/workspace/go-mod-registry/4:/w/workspace/go-mod-registry/4:rw,z -v /w/workspace/go-mod-registry/4@tmp:/w/workspace/go-mod-registry/4@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 ******** ci-base-image-x86_64 cat [2021-08-17T16:21:33.829Z] $ docker top f02bbd7086cf725afe7270c79638b78bc7871714c3b51b3f8ba2a9cacd4b41b0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T16:21:34.263Z] + go mod tidy [Pipeline] sh [2021-08-17T16:21:34.582Z] + make test [2021-08-17T16:21:34.582Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-17T16:21:46.984Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.020s coverage: 83.6% of statements [2021-08-17T16:21:46.984Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-08-17T16:21:46.984Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.005s coverage: 85.7% of statements [2021-08-17T16:21:46.984Z] ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] [2021-08-17T16:21:46.984Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-08-17T16:21:49.585Z] gofmt -l . [2021-08-17T16:21:49.585Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-08-17T16:21:49.597Z] $ docker stop --time=1 f02bbd7086cf725afe7270c79638b78bc7871714c3b51b3f8ba2a9cacd4b41b0 [2021-08-17T16:21:51.024Z] $ docker rm -f f02bbd7086cf725afe7270c79638b78bc7871714c3b51b3f8ba2a9cacd4b41b0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T16:21:51.477Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-17T16:21:51.492Z] Warning: overwriting stash ‘coverage-report’ [2021-08-17T16:21:51.701Z] 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 [2021-08-17T16:21:52.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T16:21:52.261Z] [2021-08-17T16:21:52.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:21:52.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T16:21:52.612Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T16:21:52.612Z] b4d181a07f80: Pulling fs layer [2021-08-17T16:21:52.612Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T16:21:52.612Z] ed53099fbce6: Pulling fs layer [2021-08-17T16:21:52.612Z] dc539afda2c1: Pulling fs layer [2021-08-17T16:21:52.612Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T16:21:52.612Z] 9065ff56babe: Pulling fs layer [2021-08-17T16:21:52.612Z] d287ab97295c: Pulling fs layer [2021-08-17T16:21:52.612Z] 77bc0d833cb6: Waiting [2021-08-17T16:21:52.612Z] 9065ff56babe: Waiting [2021-08-17T16:21:52.612Z] d287ab97295c: Waiting [2021-08-17T16:21:52.612Z] dc539afda2c1: Waiting [2021-08-17T16:21:52.876Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T16:21:52.876Z] a1111a8f2ec3: Download complete [2021-08-17T16:21:52.876Z] dc539afda2c1: Verifying Checksum [2021-08-17T16:21:52.876Z] dc539afda2c1: Download complete [2021-08-17T16:21:53.140Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T16:21:53.140Z] 77bc0d833cb6: Download complete [2021-08-17T16:21:53.140Z] 9065ff56babe: Verifying Checksum [2021-08-17T16:21:53.140Z] 9065ff56babe: Download complete [2021-08-17T16:21:53.405Z] ed53099fbce6: Verifying Checksum [2021-08-17T16:21:53.405Z] ed53099fbce6: Download complete [2021-08-17T16:21:54.002Z] b4d181a07f80: Verifying Checksum [2021-08-17T16:21:54.002Z] b4d181a07f80: Download complete [2021-08-17T16:21:55.428Z] b4d181a07f80: Pull complete [2021-08-17T16:21:55.428Z] a1111a8f2ec3: Pull complete [2021-08-17T16:21:56.023Z] ed53099fbce6: Pull complete [2021-08-17T16:21:56.023Z] dc539afda2c1: Pull complete [2021-08-17T16:21:56.295Z] 77bc0d833cb6: Pull complete [2021-08-17T16:21:56.562Z] 9065ff56babe: Pull complete [2021-08-17T16:21:57.148Z] d287ab97295c: Verifying Checksum [2021-08-17T16:21:57.148Z] d287ab97295c: Download complete [2021-08-17T16:22:02.522Z] d287ab97295c: Pull complete [2021-08-17T16:22:02.522Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T16:22:02.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T16:22:02.522Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T16:22:02.607Z] prd-centos7-docker-4c-2g-1040 does not seem to be running inside a container [2021-08-17T16:22:02.654Z] $ 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/4 -v /w/workspace/go-mod-registry/4:/w/workspace/go-mod-registry/4:rw,z -v /w/workspace/go-mod-registry/4@tmp:/w/workspace/go-mod-registry/4@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-17T16:22:05.218Z] $ docker top 02443d8337047b2571b1c12be62a1616288a303212aa9afa3b6fc5e275d9be40 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T16:22:05.637Z] ---> job-cost.sh [2021-08-17T16:22:05.637Z] lf-activate-venv: SKIPPING [2021-08-17T16:22:05.637Z] INFO: No Stack... [2021-08-17T16:22:06.598Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T16:22:06.866Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T16:22:07.195Z] + cat /w/workspace/go-mod-registry/4/archives/cost.csv [2021-08-17T16:22:07.195Z] + cut -d, -f6 [Pipeline] lock [2021-08-17T16:22:07.356Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-main-4-stack-cost] [2021-08-17T16:22:07.367Z] Resource [jenkins-edgexfoundry-go-mod-registry-main-4-stack-cost] did not exist. Created. [2021-08-17T16:22:07.367Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T16:22:07.858Z] /w/workspace/go-mod-registry/4@tmp/durable-a6834027/script.sh: 1: /w/workspace/go-mod-registry/4@tmp/durable-a6834027/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-17T16:22:08.178Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-17T16:22:08.193Z] Warning: overwriting stash ‘stack-cost’ [2021-08-17T16:22:08.213Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T16:22:08.226Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-main-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T16:22:08.251Z] $ docker stop --time=1 02443d8337047b2571b1c12be62a1616288a303212aa9afa3b6fc5e275d9be40 [2021-08-17T16:22:09.417Z] $ docker rm -f 02443d8337047b2571b1c12be62a1616288a303212aa9afa3b6fc5e275d9be40 [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 [2021-08-17T16:22:10.144Z] provisioning config files... [2021-08-17T16:22:10.164Z] copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config413685060073108779tmp [Pipeline] { [Pipeline] sh [2021-08-17T16:22:10.506Z] + set +x [2021-08-17T16:22:10.506Z] + bash -s -- [2021-08-17T16:22:10.506Z] + curl -s https://codecov.io/bash [2021-08-17T16:22:10.506Z] [2021-08-17T16:22:10.506Z] _____ _ [2021-08-17T16:22:10.506Z] / ____| | | [2021-08-17T16:22:10.506Z] | | ___ __| | ___ ___ _____ __ [2021-08-17T16:22:10.506Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-17T16:22:10.506Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-17T16:22:10.506Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-17T16:22:10.506Z] Bash-1.0.6 [2021-08-17T16:22:10.506Z] [2021-08-17T16:22:10.506Z] [2021-08-17T16:22:10.506Z] ==> git version 2.24.4 found [2021-08-17T16:22:10.506Z] ==> 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-08-17T16:22:10.506Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-17T16:22:10.506Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-17T16:22:10.506Z] ==> Jenkins CI detected. [2021-08-17T16:22:10.506Z] current dir:  /w/workspace/dgexfoundry_go-mod-registry_main [2021-08-17T16:22:10.506Z] project root: . [2021-08-17T16:22:10.506Z] --> token set from env [2021-08-17T16:22:10.776Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-17T16:22:10.776Z] ==> Running gcov in . (disable via -X gcov) [2021-08-17T16:22:10.776Z] ==> Python coveragepy not found [2021-08-17T16:22:10.776Z] ==> Searching for coverage reports in: [2021-08-17T16:22:10.776Z] + . [2021-08-17T16:22:10.776Z] -> Found 1 reports [2021-08-17T16:22:10.776Z] ==> Detecting git/mercurial file structure [2021-08-17T16:22:10.776Z] ==> Reading reports [2021-08-17T16:22:10.776Z] + ./coverage.out bytes=10197 [2021-08-17T16:22:10.776Z] ==> Appending adjustments [2021-08-17T16:22:10.776Z] https://docs.codecov.io/docs/fixing-reports [2021-08-17T16:22:10.776Z] + Found adjustments [2021-08-17T16:22:10.776Z] ==> Gzipping contents [2021-08-17T16:22:10.776Z] 4.0K /tmp/codecov.5aeI96.gz [2021-08-17T16:22:10.776Z] ==> Uploading reports [2021-08-17T16:22:10.776Z] url: https://codecov.io [2021-08-17T16:22:10.776Z] query: branch=main&commit=cc243e81ba83bc35cdb4507b253464f4571e34cd&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-17T16:22:10.776Z] -> Pinging Codecov [2021-08-17T16:22:10.776Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=9ee36580-b4eb-4db0-b4c8-29f84f7b3278&branch=main&commit=cc243e81ba83bc35cdb4507b253464f4571e34cd&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-17T16:22:11.044Z] -> Uploading to [2021-08-17T16:22:11.044Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-17/05B643FFA8DEACB6C25F95B2D4D12284/cc243e81ba83bc35cdb4507b253464f4571e34cd/5598e54d-5374-4710-8933-c21be67226df.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210817%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210817T162210Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=accda656a183b37148b77a87deb0c749a308d4aa3e5ddede4880bd0768d13e89 [2021-08-17T16:22:11.044Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-17T16:22:11.044Z] Dload Upload Total Spent Left Speed [2021-08-17T16:22:11.626Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1978 0 0 100 1978 0 4799 --:--:-- --:--:-- --:--:-- 4789 100 1978 0 0 100 1978 0 4797 --:--:-- --:--:-- --:--:-- 4789 [2021-08-17T16:22:11.626Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/cc243e81ba83bc35cdb4507b253464f4571e34cd [Pipeline] } [2021-08-17T16:22:11.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-08-17T16:22:12.287Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-08-17T16:22:12.313Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:22:12.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-17T16:22:12.664Z] [2021-08-17T16:22:12.664Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:22:13.010Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-17T16:22:13.010Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-08-17T16:22:13.010Z] 188c0c94c7c5: Pulling fs layer [2021-08-17T16:22:13.010Z] 0ef7d3d256c8: Pulling fs layer [2021-08-17T16:22:13.010Z] de9db76c5a1d: Pulling fs layer [2021-08-17T16:22:13.010Z] 0eba1c9be4d2: Pulling fs layer [2021-08-17T16:22:13.010Z] 0d57e429df01: Pulling fs layer [2021-08-17T16:22:13.010Z] 4e4be7b47b0d: Pulling fs layer [2021-08-17T16:22:13.010Z] e1f770b5df2f: Pulling fs layer [2021-08-17T16:22:13.010Z] 85a0685a4137: Pulling fs layer [2021-08-17T16:22:13.010Z] 0d57e429df01: Waiting [2021-08-17T16:22:13.010Z] 4e4be7b47b0d: Waiting [2021-08-17T16:22:13.010Z] e1f770b5df2f: Waiting [2021-08-17T16:22:13.010Z] 85a0685a4137: Waiting [2021-08-17T16:22:13.010Z] 0eba1c9be4d2: Waiting [2021-08-17T16:22:13.010Z] de9db76c5a1d: Verifying Checksum [2021-08-17T16:22:13.010Z] de9db76c5a1d: Download complete [2021-08-17T16:22:13.010Z] 0ef7d3d256c8: Verifying Checksum [2021-08-17T16:22:13.010Z] 0ef7d3d256c8: Download complete [2021-08-17T16:22:13.010Z] 0d57e429df01: Verifying Checksum [2021-08-17T16:22:13.010Z] 0d57e429df01: Download complete [2021-08-17T16:22:13.010Z] 4e4be7b47b0d: Verifying Checksum [2021-08-17T16:22:13.010Z] 4e4be7b47b0d: Download complete [2021-08-17T16:22:13.276Z] 188c0c94c7c5: Verifying Checksum [2021-08-17T16:22:13.276Z] 188c0c94c7c5: Download complete [2021-08-17T16:22:13.544Z] 188c0c94c7c5: Pull complete [2021-08-17T16:22:13.544Z] 0ef7d3d256c8: Pull complete [2021-08-17T16:22:13.544Z] de9db76c5a1d: Pull complete [2021-08-17T16:22:14.503Z] e1f770b5df2f: Verifying Checksum [2021-08-17T16:22:14.503Z] e1f770b5df2f: Download complete [2021-08-17T16:22:19.853Z] 0eba1c9be4d2: Verifying Checksum [2021-08-17T16:22:19.853Z] 0eba1c9be4d2: Download complete [2021-08-17T16:22:19.853Z] 85a0685a4137: Verifying Checksum [2021-08-17T16:22:19.853Z] 85a0685a4137: Download complete [2021-08-17T16:22:22.475Z] 0eba1c9be4d2: Pull complete [2021-08-17T16:22:22.475Z] 0d57e429df01: Pull complete [2021-08-17T16:22:22.475Z] 4e4be7b47b0d: Pull complete [2021-08-17T16:22:22.747Z] e1f770b5df2f: Pull complete [2021-08-17T16:22:26.139Z] 85a0685a4137: Pull complete [2021-08-17T16:22:26.139Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-08-17T16:22:26.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-17T16:22:26.139Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-08-17T16:22:26.233Z] prd-centos7-docker-4c-2g-1036 does not seem to be running inside a container [2021-08-17T16:22:26.303Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-08-17T16:22:28.130Z] $ docker top 9424ca014b79ec2b82e80ab2de35cd82a0a03946dc195c8fd5f8aa0199ea1e31 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-08-17T16:22:28.230Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-08-17T16:22:28.552Z] + set -o pipefail [2021-08-17T16:22:28.552Z] + snyk monitor '--org=edgex-jenkins' [2021-08-17T16:22:34.092Z] [2021-08-17T16:22:34.092Z] Monitoring /w/workspace/dgexfoundry_go-mod-registry_main (github.com/edgexfoundry/go-mod-registry/v2)... [2021-08-17T16:22:34.092Z] [2021-08-17T16:22:34.092Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/e2dd60db-48f3-4c1d-986e-6397089a0464/history/004db6b6-d2ee-4688-9210-708a3b6bcdb4 [2021-08-17T16:22:34.092Z] [2021-08-17T16:22:34.092Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-08-17T16:22:34.092Z] [2021-08-17T16:22:34.092Z] [2021-08-17T16:22:34.092Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-08-17T16:22:34.092Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-08-17T16:22:34.110Z] $ docker stop --time=1 9424ca014b79ec2b82e80ab2de35cd82a0a03946dc195c8fd5f8aa0199ea1e31 [2021-08-17T16:22:35.642Z] $ docker rm -f 9424ca014b79ec2b82e80ab2de35cd82a0a03946dc195c8fd5f8aa0199ea1e31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T16:22:36.341Z] + git log --format=format:%s -1 cc243e81ba83bc35cdb4507b253464f4571e34cd [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:22:36.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T16:22:36.722Z] . [Pipeline] withDockerContainer [2021-08-17T16:22:36.831Z] prd-centos7-docker-4c-2g-1036 does not seem to be running inside a container [2021-08-17T16:22:36.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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-08-17T16:22:37.269Z] $ docker top c20fe4fb62a255eaba64c4c0a265b9fc1acc1a8b62e3cac5f9a32302aa47c258 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-17T16:22:37.411Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T16:22:37.411Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T16:22:37.530Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T16:22:37.533Z] $ docker exec c20fe4fb62a255eaba64c4c0a265b9fc1acc1a8b62e3cac5f9a32302aa47c258 ssh-agent [2021-08-17T16:22:37.658Z] SSH_AUTH_SOCK=/tmp/ssh-VGmKoqGREeyM/agent.13 [2021-08-17T16:22:37.658Z] SSH_AGENT_PID=20 [2021-08-17T16:22:37.669Z] Running ssh-add (command line suppressed) [2021-08-17T16:22:37.768Z] Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_7953516687914612783.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_7953516687914612783.key) [2021-08-17T16:22:37.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T16:22:38.113Z] + git semver tag [2021-08-17T16:22:38.113Z] # -> Open(): unable to determine branch for HEAD [2021-08-17T16:22:38.113Z] # $GIT_DIR = /w/workspace/dgexfoundry_go-mod-registry_main/.git [2021-08-17T16:22:38.113Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_go-mod-registry_main [2021-08-17T16:22:38.113Z] # $SEMVER_REMOTE_NAME = origin [2021-08-17T16:22:38.113Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-17T16:22:38.113Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-17T16:22:38.113Z] # $SEMVER_BRANCH = main [2021-08-17T16:22:38.114Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_go-mod-registry_main/.semver [2021-08-17T16:22:38.114Z] # cc243e81ba83bc35cdb4507b253464f4571e34cd HEAD [2021-08-17T16:22:38.114Z] # -> Force: false [2021-08-17T16:22:38.114Z] # a5ac8963ac0e19a777356484add75eea5546bb1c refs/tags/v2.0.1-dev.3 [Pipeline] } [2021-08-17T16:22:38.130Z] $ docker exec --env ******** --env ******** c20fe4fb62a255eaba64c4c0a265b9fc1acc1a8b62e3cac5f9a32302aa47c258 ssh-agent -k [2021-08-17T16:22:38.238Z] unset SSH_AUTH_SOCK; [2021-08-17T16:22:38.241Z] unset SSH_AGENT_PID; [2021-08-17T16:22:38.241Z] echo Agent pid 20 killed; [2021-08-17T16:22:38.256Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-17T16:22:38.621Z] + git semver [Pipeline] } [2021-08-17T16:22:38.642Z] $ docker stop --time=1 c20fe4fb62a255eaba64c4c0a265b9fc1acc1a8b62e3cac5f9a32302aa47c258 [2021-08-17T16:22:39.844Z] $ docker rm -f c20fe4fb62a255eaba64c4c0a265b9fc1acc1a8b62e3cac5f9a32302aa47c258 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:22:40.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-17T16:22:40.374Z] [2021-08-17T16:22:40.374Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:22:40.718Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-17T16:22:40.718Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-08-17T16:22:40.718Z] ab5ef0e58194: Pulling fs layer [2021-08-17T16:22:40.718Z] 9712f1f96733: Pulling fs layer [2021-08-17T16:22:40.718Z] 63f879dbbcfc: Pulling fs layer [2021-08-17T16:22:40.718Z] 0d9ebad4ef96: Pulling fs layer [2021-08-17T16:22:40.718Z] e9a5061849ea: Pulling fs layer [2021-08-17T16:22:40.718Z] d747dcd14b5f: Pulling fs layer [2021-08-17T16:22:40.718Z] 2de7ff778b66: Pulling fs layer [2021-08-17T16:22:40.718Z] e9a5061849ea: Waiting [2021-08-17T16:22:40.718Z] d747dcd14b5f: Waiting [2021-08-17T16:22:40.718Z] 2de7ff778b66: Waiting [2021-08-17T16:22:40.718Z] 0d9ebad4ef96: Waiting [2021-08-17T16:22:40.718Z] 9712f1f96733: Verifying Checksum [2021-08-17T16:22:40.718Z] 9712f1f96733: Download complete [2021-08-17T16:22:43.305Z] 63f879dbbcfc: Verifying Checksum [2021-08-17T16:22:43.305Z] 63f879dbbcfc: Download complete [2021-08-17T16:22:43.305Z] e9a5061849ea: Verifying Checksum [2021-08-17T16:22:43.305Z] e9a5061849ea: Download complete [2021-08-17T16:22:43.305Z] d747dcd14b5f: Verifying Checksum [2021-08-17T16:22:43.305Z] d747dcd14b5f: Download complete [2021-08-17T16:22:44.269Z] 2de7ff778b66: Verifying Checksum [2021-08-17T16:22:44.269Z] 2de7ff778b66: Download complete [2021-08-17T16:22:44.269Z] 0d9ebad4ef96: Verifying Checksum [2021-08-17T16:22:44.269Z] 0d9ebad4ef96: Download complete [2021-08-17T16:22:44.549Z] ab5ef0e58194: Verifying Checksum [2021-08-17T16:22:44.549Z] ab5ef0e58194: Download complete [2021-08-17T16:22:47.152Z] ab5ef0e58194: Pull complete [2021-08-17T16:22:47.152Z] 9712f1f96733: Pull complete [2021-08-17T16:22:47.753Z] 63f879dbbcfc: Pull complete [2021-08-17T16:22:51.139Z] 0d9ebad4ef96: Pull complete [2021-08-17T16:22:51.139Z] e9a5061849ea: Pull complete [2021-08-17T16:22:51.139Z] d747dcd14b5f: Pull complete [2021-08-17T16:22:52.116Z] 2de7ff778b66: Pull complete [2021-08-17T16:22:52.116Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-08-17T16:22:52.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-17T16:22:52.116Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-08-17T16:22:52.218Z] prd-centos7-docker-4c-2g-1036 does not seem to be running inside a container [2021-08-17T16:22:52.287Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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:10003/edgex-lftools:0.23.1-centos7 cat [2021-08-17T16:22:55.314Z] $ docker top 2fa7043c017108f7a1428a7c4f3e7f80e4b58e918e5d6c9b62232ae8161bf231 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-08-17T16:22:55.417Z] provisioning config files... [2021-08-17T16:22:55.430Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config665473063690138068tmp [2021-08-17T16:22:55.449Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config7774803735483554448tmp [2021-08-17T16:22:55.469Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config3430309080551094392tmp [Pipeline] { [Pipeline] echo [2021-08-17T16:22:55.502Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T16:22:55.821Z] ---> sigul-configuration.sh [2021-08-17T16:22:55.821Z] gpg: directory `/root/.gnupg' created [2021-08-17T16:22:55.821Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-08-17T16:22:55.821Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-08-17T16:22:55.821Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-08-17T16:22:55.821Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-08-17T16:22:55.821Z] gpg: CAST5 encrypted data [2021-08-17T16:22:55.821Z] gpg: encrypted with 1 passphrase [2021-08-17T16:22:55.821Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-08-17T16:22:56.143Z] + mkdir /home/jenkins [2021-08-17T16:22:56.143Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-08-17T16:22:56.469Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-08-17T16:22:56.484Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T16:22:56.794Z] ---> sigul-install.sh [2021-08-17T16:22:56.794Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-08-17T16:22:57.109Z] + git tag --list [2021-08-17T16:22:57.109Z] v0.0.0 [2021-08-17T16:22:57.109Z] v0.1.0 [2021-08-17T16:22:57.109Z] v0.1.1 [2021-08-17T16:22:57.109Z] v0.1.10 [2021-08-17T16:22:57.109Z] v0.1.11 [2021-08-17T16:22:57.109Z] v0.1.12 [2021-08-17T16:22:57.109Z] v0.1.13 [2021-08-17T16:22:57.109Z] v0.1.14 [2021-08-17T16:22:57.109Z] v0.1.15 [2021-08-17T16:22:57.109Z] v0.1.16 [2021-08-17T16:22:57.109Z] v0.1.17 [2021-08-17T16:22:57.109Z] v0.1.18 [2021-08-17T16:22:57.109Z] v0.1.19 [2021-08-17T16:22:57.109Z] v0.1.2 [2021-08-17T16:22:57.109Z] v0.1.20 [2021-08-17T16:22:57.109Z] v0.1.21 [2021-08-17T16:22:57.109Z] v0.1.22 [2021-08-17T16:22:57.109Z] v0.1.23 [2021-08-17T16:22:57.109Z] v0.1.24 [2021-08-17T16:22:57.109Z] v0.1.25 [2021-08-17T16:22:57.109Z] v0.1.26 [2021-08-17T16:22:57.109Z] v0.1.27 [2021-08-17T16:22:57.109Z] v0.1.3 [2021-08-17T16:22:57.109Z] v0.1.4 [2021-08-17T16:22:57.109Z] v0.1.5 [2021-08-17T16:22:57.109Z] v0.1.6 [2021-08-17T16:22:57.109Z] v0.1.7 [2021-08-17T16:22:57.109Z] v0.1.8 [2021-08-17T16:22:57.109Z] v0.1.9 [2021-08-17T16:22:57.109Z] v2.0.0 [2021-08-17T16:22:57.109Z] v2.0.0-dev.1 [2021-08-17T16:22:57.109Z] v2.0.0-dev.2 [2021-08-17T16:22:57.109Z] v2.0.0-dev.3 [2021-08-17T16:22:57.109Z] v2.0.0-dev.4 [2021-08-17T16:22:57.109Z] v2.0.0-dev.5 [2021-08-17T16:22:57.109Z] v2.0.0-dev.6 [2021-08-17T16:22:57.109Z] v2.0.0-dev.7 [2021-08-17T16:22:57.109Z] v2.0.0-dev.8 [2021-08-17T16:22:57.109Z] v2.0.1-dev.1 [2021-08-17T16:22:57.109Z] v2.0.1-dev.2 [2021-08-17T16:22:57.109Z] v2.0.1-dev.3 [Pipeline] sh [2021-08-17T16:22:57.426Z] + lftools sign git-tag v2.0.1-dev.3 [2021-08-17T16:22:58.011Z] Signing Git tag with Sigul... [2021-08-17T16:22:58.011Z] Signing v2.0.1-dev.3 [Pipeline] echo [2021-08-17T16:22:58.611Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T16:22:58.927Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-08-17T16:22:58.940Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-08-17T16:22:59.001Z] $ docker stop --time=1 2fa7043c017108f7a1428a7c4f3e7f80e4b58e918e5d6c9b62232ae8161bf231 [2021-08-17T16:23:00.199Z] $ docker rm -f 2fa7043c017108f7a1428a7c4f3e7f80e4b58e918e5d6c9b62232ae8161bf231 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:23:00.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T16:23:00.707Z] . [Pipeline] withDockerContainer [2021-08-17T16:23:00.795Z] prd-centos7-docker-4c-2g-1036 does not seem to be running inside a container [2021-08-17T16:23:00.854Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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-08-17T16:23:01.233Z] $ docker top e00088eb9c003242615cdae1e124471cdce0beb351fa9c496072a41002411c48 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-17T16:23:01.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T16:23:01.449Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T16:23:01.564Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T16:23:01.566Z] $ docker exec e00088eb9c003242615cdae1e124471cdce0beb351fa9c496072a41002411c48 ssh-agent [2021-08-17T16:23:01.702Z] SSH_AUTH_SOCK=/tmp/ssh-r8kt1ztcqa4S/agent.15 [2021-08-17T16:23:01.702Z] SSH_AGENT_PID=21 [2021-08-17T16:23:01.712Z] Running ssh-add (command line suppressed) [2021-08-17T16:23:01.808Z] Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_4634692963096358073.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_4634692963096358073.key) [2021-08-17T16:23:01.837Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T16:23:02.158Z] + git semver bump pre [2021-08-17T16:23:02.158Z] # -> Open(): unable to determine branch for HEAD [2021-08-17T16:23:02.158Z] # $GIT_DIR = /w/workspace/dgexfoundry_go-mod-registry_main/.git [2021-08-17T16:23:02.158Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_go-mod-registry_main [2021-08-17T16:23:02.158Z] # $SEMVER_REMOTE_NAME = origin [2021-08-17T16:23:02.158Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-17T16:23:02.158Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-17T16:23:02.158Z] # $SEMVER_BRANCH = main [2021-08-17T16:23:02.158Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_go-mod-registry_main/.semver [2021-08-17T16:23:02.158Z] 2.0.1-dev.4 [Pipeline] } [2021-08-17T16:23:02.172Z] $ docker exec --env ******** --env ******** e00088eb9c003242615cdae1e124471cdce0beb351fa9c496072a41002411c48 ssh-agent -k [2021-08-17T16:23:02.266Z] unset SSH_AUTH_SOCK; [2021-08-17T16:23:02.266Z] unset SSH_AGENT_PID; [2021-08-17T16:23:02.266Z] echo Agent pid 21 killed; [2021-08-17T16:23:02.282Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-17T16:23:02.628Z] + git semver [Pipeline] } [2021-08-17T16:23:02.646Z] $ docker stop --time=1 e00088eb9c003242615cdae1e124471cdce0beb351fa9c496072a41002411c48 [2021-08-17T16:23:03.835Z] $ docker rm -f e00088eb9c003242615cdae1e124471cdce0beb351fa9c496072a41002411c48 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:23:04.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T16:23:04.240Z] . [Pipeline] withDockerContainer [2021-08-17T16:23:04.329Z] prd-centos7-docker-4c-2g-1036 does not seem to be running inside a container [2021-08-17T16:23:04.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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-08-17T16:23:04.746Z] $ docker top 43dc7b6edc2e1aba9fe2f8da7fb38ddec533863523ab9af360379e13f7fb920e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-17T16:23:04.871Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T16:23:04.871Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T16:23:04.990Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T16:23:04.992Z] $ docker exec 43dc7b6edc2e1aba9fe2f8da7fb38ddec533863523ab9af360379e13f7fb920e ssh-agent [2021-08-17T16:23:05.119Z] SSH_AUTH_SOCK=/tmp/ssh-XAqBFnBPWMOR/agent.14 [2021-08-17T16:23:05.119Z] SSH_AGENT_PID=20 [2021-08-17T16:23:05.130Z] Running ssh-add (command line suppressed) [2021-08-17T16:23:05.230Z] Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_3431545769323572703.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_3431545769323572703.key) [2021-08-17T16:23:05.253Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T16:23:05.576Z] + git semver push [2021-08-17T16:23:05.576Z] # -> Open(): unable to determine branch for HEAD [2021-08-17T16:23:05.577Z] # $GIT_DIR = /w/workspace/dgexfoundry_go-mod-registry_main/.git [2021-08-17T16:23:05.577Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_go-mod-registry_main [2021-08-17T16:23:05.577Z] # $SEMVER_REMOTE_NAME = origin [2021-08-17T16:23:05.577Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-17T16:23:05.577Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-17T16:23:05.577Z] # $SEMVER_BRANCH = main [2021-08-17T16:23:05.577Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_go-mod-registry_main/.semver [Pipeline] } [2021-08-17T16:23:06.997Z] $ docker exec --env ******** --env ******** 43dc7b6edc2e1aba9fe2f8da7fb38ddec533863523ab9af360379e13f7fb920e ssh-agent -k [2021-08-17T16:23:07.091Z] unset SSH_AUTH_SOCK; [2021-08-17T16:23:07.091Z] unset SSH_AGENT_PID; [2021-08-17T16:23:07.091Z] echo Agent pid 20 killed; [2021-08-17T16:23:07.108Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-17T16:23:07.472Z] + git semver [Pipeline] } [2021-08-17T16:23:07.495Z] $ docker stop --time=1 43dc7b6edc2e1aba9fe2f8da7fb38ddec533863523ab9af360379e13f7fb920e [2021-08-17T16:23:08.683Z] $ docker rm -f 43dc7b6edc2e1aba9fe2f8da7fb38ddec533863523ab9af360379e13f7fb920e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 [2021-08-17T16:23:11.707Z] + '[' -d /w/workspace/dgexfoundry_go-mod-registry_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-17T16:23:12.043Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T16:23:12.661Z] ---> package-listing.sh [2021-08-17T16:23:12.661Z] ++ facter osfamily [2021-08-17T16:23:12.661Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-17T16:23:12.931Z] + OS_FAMILY=redhat [2021-08-17T16:23:12.931Z] + workspace=/w/workspace/dgexfoundry_go-mod-registry_main [2021-08-17T16:23:12.931Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-17T16:23:12.931Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-17T16:23:12.931Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-17T16:23:12.931Z] + PACKAGES=/tmp/packages_start.txt [2021-08-17T16:23:12.931Z] + '[' /w/workspace/dgexfoundry_go-mod-registry_main ']' [2021-08-17T16:23:12.931Z] + PACKAGES=/tmp/packages_end.txt [2021-08-17T16:23:12.931Z] + case "${OS_FAMILY}" in [2021-08-17T16:23:12.931Z] + sort [2021-08-17T16:23:12.931Z] + rpm -qa [2021-08-17T16:23:13.516Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-17T16:23:13.516Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-17T16:23:13.516Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-17T16:23:13.516Z] + '[' /w/workspace/dgexfoundry_go-mod-registry_main ']' [2021-08-17T16:23:13.516Z] + mkdir -p /w/workspace/dgexfoundry_go-mod-registry_main/archives/ [2021-08-17T16:23:13.516Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_go-mod-registry_main/archives/ [Pipeline] echo [2021-08-17T16:23:13.533Z] 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/dgexfoundry_go-mod-registry_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-17T16:23:13.843Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:23:14.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T16:23:14.436Z] [2021-08-17T16:23:14.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T16:23:14.773Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T16:23:14.773Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T16:23:14.773Z] b4d181a07f80: Pulling fs layer [2021-08-17T16:23:14.773Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T16:23:14.773Z] ed53099fbce6: Pulling fs layer [2021-08-17T16:23:14.773Z] dc539afda2c1: Pulling fs layer [2021-08-17T16:23:14.773Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T16:23:14.773Z] 9065ff56babe: Pulling fs layer [2021-08-17T16:23:14.773Z] d287ab97295c: Pulling fs layer [2021-08-17T16:23:14.773Z] 77bc0d833cb6: Waiting [2021-08-17T16:23:14.773Z] 9065ff56babe: Waiting [2021-08-17T16:23:14.773Z] d287ab97295c: Waiting [2021-08-17T16:23:14.773Z] dc539afda2c1: Waiting [2021-08-17T16:23:15.051Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T16:23:15.051Z] a1111a8f2ec3: Download complete [2021-08-17T16:23:15.051Z] dc539afda2c1: Verifying Checksum [2021-08-17T16:23:15.051Z] dc539afda2c1: Download complete [2021-08-17T16:23:15.316Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T16:23:15.316Z] 77bc0d833cb6: Download complete [2021-08-17T16:23:15.316Z] 9065ff56babe: Verifying Checksum [2021-08-17T16:23:15.316Z] 9065ff56babe: Download complete [2021-08-17T16:23:15.583Z] ed53099fbce6: Verifying Checksum [2021-08-17T16:23:15.583Z] ed53099fbce6: Download complete [2021-08-17T16:23:16.546Z] b4d181a07f80: Verifying Checksum [2021-08-17T16:23:16.546Z] b4d181a07f80: Download complete [2021-08-17T16:23:17.517Z] b4d181a07f80: Pull complete [2021-08-17T16:23:17.517Z] a1111a8f2ec3: Pull complete [2021-08-17T16:23:18.107Z] ed53099fbce6: Pull complete [2021-08-17T16:23:18.107Z] dc539afda2c1: Pull complete [2021-08-17T16:23:18.107Z] 77bc0d833cb6: Pull complete [2021-08-17T16:23:18.374Z] 9065ff56babe: Pull complete [2021-08-17T16:23:23.745Z] d287ab97295c: Verifying Checksum [2021-08-17T16:23:23.745Z] d287ab97295c: Download complete [2021-08-17T16:23:28.027Z] d287ab97295c: Pull complete [2021-08-17T16:23:28.027Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T16:23:28.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T16:23:28.027Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T16:23:28.133Z] prd-centos7-docker-4c-2g-1036 does not seem to be running inside a container [2021-08-17T16:23:28.205Z] $ 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/dgexfoundry_go-mod-registry_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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:10003/edgex-lftools-log-publisher:latest cat [2021-08-17T16:23:30.016Z] $ docker top cf748c5fd0489b36a09ce9087523198957ec4fb100bc53cb0bc0b124975aa411 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T16:23:30.434Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-17T16:23:30.777Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-17T16:23:31.110Z] + ls /var/log/sa-host [2021-08-17T16:23:31.110Z] + sadf -c /var/log/sa-host/sa05 [2021-08-17T16:23:31.110Z] file_magic: OK [2021-08-17T16:23:31.110Z] HZ: Using current value: 100 [2021-08-17T16:23:31.110Z] file_header: OK [2021-08-17T16:23:31.110Z] 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-08-17T16:23:31.110Z] Statistics: [2021-08-17T16:23:31.110Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T16:23:31.110Z] File successfully converted to sysstat format version 12.0.3 [2021-08-17T16:23:31.110Z] + sadf -c /var/log/sa-host/sa17 [2021-08-17T16:23:31.110Z] file_magic: OK [2021-08-17T16:23:31.110Z] HZ: Using current value: 100 [2021-08-17T16:23:31.110Z] file_header: OK [2021-08-17T16:23:31.110Z] 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-08-17T16:23:31.110Z] Statistics: [2021-08-17T16:23:31.110Z] 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-08-17T16:23:31.110Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T16:23:31.663Z] provisioning config files... [2021-08-17T16:23:31.682Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config8707742704081161316tmp [Pipeline] { [Pipeline] echo [2021-08-17T16:23:31.709Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T16:23:32.359Z] ---> create-netrc.sh [Pipeline] } [2021-08-17T16:23:32.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-17T16:23:32.826Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-17T16:23:32.839Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T16:23:33.149Z] ---> sudo-logs.sh [2021-08-17T16:23:33.149Z] Archiving 'sudo' log.. [2021-08-17T16:23:33.149Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1036.vexxhost.local: Name or service not known [2021-08-17T16:23:33.149Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1036.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-17T16:23:33.189Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T16:23:33.503Z] ---> job-cost.sh [2021-08-17T16:23:33.503Z] lf-activate-venv: SKIPPING [2021-08-17T16:23:33.503Z] DEBUG: total: 0.05999999865889549 [2021-08-17T16:23:33.503Z] INFO: Retrieving Stack Cost... [2021-08-17T16:23:34.293Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T16:23:34.559Z] INFO: Archiving Costs [Pipeline] echo [2021-08-17T16:23:34.576Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T16:23:34.888Z] ---> logs-deploy.sh [2021-08-17T16:23:34.889Z] lf-activate-venv: SKIPPING [2021-08-17T16:23:34.889Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/main/4 [2021-08-17T16:23:34.889Z] INFO: archiving workspace using pattern(s): [2021-08-17T16:23:35.854Z] Archives upload complete. [2021-08-17T16:23:35.854Z] INFO: archiving logs to Nexus