Pull request #88 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/go-mod-registry Obtained Jenkinsfile from d344f9dc62320fea92b385733d7c229380efb573+a10bb4151d6127a91624dcd644e2a930e70f06de (70cc1476daa9fe63af81daf78bf47031d412de9f) 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-ssh4063945475587586162.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca 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-ssh5682312683410852330.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 f1d79d91c36788821211008368c3015072ca53ca 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/PR-88/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/PR-88/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh964667760139422410.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > 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-ssh360760356726027242.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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/PR-88/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/PR-88/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh720713390601785406.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-734 in /w/workspace/gexfoundry_go-mod-registry_PR-88 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-registry.git > git init /w/workspace/gexfoundry_go-mod-registry_PR-88 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_go-mod-registry_PR-88@tmp/jenkins-gitclient-ssh3399989417561770721.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 remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_go-mod-registry_PR-88@tmp/jenkins-gitclient-ssh2577371014149714105.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/88/head:refs/remotes/origin/PR-88 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a10bb4151d6127a91624dcd644e2a930e70f06de into PR head commit d344f9dc62320fea92b385733d7c229380efb573 Merge succeeded, producing d344f9dc62320fea92b385733d7c229380efb573 Checking out Revision d344f9dc62320fea92b385733d7c229380efb573 (PR-88) > git config core.sparsecheckout # timeout=10 > git checkout -f d344f9dc62320fea92b385733d7c229380efb573 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_go-mod-registry_PR-88@tmp/jenkins-gitclient-ssh8758758282040891567.key > git merge a10bb4151d6127a91624dcd644e2a930e70f06de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d344f9dc62320fea92b385733d7c229380efb573 # timeout=10 Commit message: "feat: Add Renew Access Token capability" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:04:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:04:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:04:34 ========================================================= 17:04:34 EdgeX Global Pipelines Version Info 17:04:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 66215d7f3b0a724f5b1b9f7e04f90851fa74250b # timeout=10 17:04:35 ------------------- 17:04:35 stable info: 17:04:35 ------------------- 17:04:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:04:35 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 17:04:35 Message: update stable to v1.0.209 17:04:36 ------------------- 17:04:36 experimental info: 17:04:36 ------------------- 17:04:36 Commited By: **** collab-it+edgex@linuxfoundation.org 17:04:36 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 17:04:36 Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-88 [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-88 [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-88 [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d344f9dc62320fea92b385733d7c229380efb573 [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d344f9d [Pipeline] echo 17:04:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:04:36 + git log --format=format:%s -1 d344f9dc62320fea92b385733d7c229380efb573 [Pipeline] echo 17:04:36 GIT_COMMIT: d344f9dc62320fea92b385733d7c229380efb573, Commit Message: feat: Add Renew Access Token capability [Pipeline] echo 17:04:36 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:04:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:04:37 17:04:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:04:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:04:37 latest: Pulling from edgex-devops/git-semver 17:04:37 a0d0a0d46f8b: Pulling fs layer 17:04:37 3e5f54012d9b: Pulling fs layer 17:04:37 4c7163046ea9: Pulling fs layer 17:04:37 0c2d73faf560: Pulling fs layer 17:04:37 0c2d73faf560: Waiting 17:04:37 3e5f54012d9b: Verifying Checksum 17:04:37 3e5f54012d9b: Download complete 17:04:37 a0d0a0d46f8b: Download complete 17:04:38 0c2d73faf560: Verifying Checksum 17:04:38 0c2d73faf560: Download complete 17:04:38 4c7163046ea9: Verifying Checksum 17:04:38 4c7163046ea9: Download complete 17:04:38 a0d0a0d46f8b: Pull complete 17:04:38 3e5f54012d9b: Pull complete 17:04:38 4c7163046ea9: Pull complete 17:04:38 0c2d73faf560: Pull complete 17:04:38 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 17:04:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:04:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:04:38 prd-centos7-docker-4c-2g-734 does not seem to be running inside a container 17:04:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-registry_PR-88 -v /w/workspace/gexfoundry_go-mod-registry_PR-88:/w/workspace/gexfoundry_go-mod-registry_PR-88:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-88@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-88@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:04:39 $ docker top 02b327905cdc647addb1fdb66379537341cd8bd2f27e4d21c7460fb9ff7b792f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:04:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:04:39 [ssh-agent] Looking for ssh-agent implementation... 17:04:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:04:39 $ docker exec 02b327905cdc647addb1fdb66379537341cd8bd2f27e4d21c7460fb9ff7b792f ssh-agent 17:04:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDdClBC/agent.13 17:04:39 SSH_AGENT_PID=19 17:04:39 Running ssh-add (command line suppressed) 17:04:39 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-88@tmp/private_key_6596880657563530083.key (/w/workspace/gexfoundry_go-mod-registry_PR-88@tmp/private_key_6596880657563530083.key) 17:04:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:04:40 + git tag --points-at HEAD [Pipeline] } 17:04:40 $ docker exec --env ******** --env ******** 02b327905cdc647addb1fdb66379537341cd8bd2f27e4d21c7460fb9ff7b792f ssh-agent -k 17:04:40 unset SSH_AUTH_SOCK; 17:04:40 unset SSH_AGENT_PID; 17:04:40 echo Agent pid 19 killed; 17:04:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:04:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:04:40 [ssh-agent] Looking for ssh-agent implementation... 17:04:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:04:40 $ docker exec 02b327905cdc647addb1fdb66379537341cd8bd2f27e4d21c7460fb9ff7b792f ssh-agent 17:04:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCiMcmC/agent.52 17:04:40 SSH_AGENT_PID=59 17:04:40 Running ssh-add (command line suppressed) 17:04:40 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-88@tmp/private_key_6762285463878246170.key (/w/workspace/gexfoundry_go-mod-registry_PR-88@tmp/private_key_6762285463878246170.key) 17:04:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:04:40 + git semver init 17:04:40 # -> Open(): unable to determine branch for HEAD 17:04:40 # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-88/.git 17:04:40 # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-88 17:04:40 # $SEMVER_REMOTE_NAME = origin 17:04:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:04:40 # $SEMVER_USER_NAME = edgex-jenkins 17:04:40 # $SEMVER_BRANCH = PR-88 17:04:40 # $SEMVER_TEMP = /tmp/semver-395500429 17:04:40 # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP 17:04:41 # '/tmp/semver-395500429' -> '/w/workspace/gexfoundry_go-mod-registry_PR-88/.semver' 17:04:41 # -> Force: false 17:04:41 # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-88/.semver [Pipeline] } 17:04:41 $ docker exec --env ******** --env ******** 02b327905cdc647addb1fdb66379537341cd8bd2f27e4d21c7460fb9ff7b792f ssh-agent -k 17:04:41 unset SSH_AUTH_SOCK; 17:04:41 unset SSH_AGENT_PID; 17:04:41 echo Agent pid 59 killed; 17:04:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:04:41 + git semver [Pipeline] } 17:04:41 $ docker stop --time=1 02b327905cdc647addb1fdb66379537341cd8bd2f27e4d21c7460fb9ff7b792f 17:04:43 $ docker rm -f 02b327905cdc647addb1fdb66379537341cd8bd2f27e4d21c7460fb9ff7b792f [Pipeline] // withDockerContainer [Pipeline] sh 17:04:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:04:43 Stashed 1 file(s) [Pipeline] echo 17:04:43 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 17:04:58 Still waiting to schedule task 17:04:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:04:58 Still waiting to schedule task 17:04:58 ‘prd-ubuntu18.04-docker-arm64-4c-16g-733’ is offline 17:06:51 Running on prd-centos7-docker-4c-2g-736 in /w/workspace/gexfoundry_go-mod-registry_PR-88 [Pipeline] { [Pipeline] ws 17:06:51 Running in /w/workspace/go-mod-registry/2 [Pipeline] { [Pipeline] checkout 17:06:51 Selected Git installation does not exist. Using Default 17:06:51 The recommended git tool is: NONE 17:06:53 using credential edgex-jenkins-ssh 17:06:53 Cloning the remote Git repository 17:06:53 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 17:06:53 > git init /w/workspace/go-mod-registry/2 # timeout=10 17:06:53 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 17:06:53 > git --version # timeout=10 17:06:53 > git --version # 'git version 2.24.4' 17:06:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:06:53 [INFO] Currently running in a labeled security context 17:06:53 [INFO] Currently SELinux is 'enforcing' on the host 17:06:53 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/2@tmp/jenkins-gitclient-ssh5550640039675965539.key 17:06:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:06:53 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 17:06:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:06:53 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 17:06:53 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 17:06:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:06:53 [INFO] Currently running in a labeled security context 17:06:53 [INFO] Currently SELinux is 'enforcing' on the host 17:06:53 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/2@tmp/jenkins-gitclient-ssh736260212192563007.key 17:06:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/88/head:refs/remotes/origin/PR-88 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:06:54 Merging remotes/origin/main commit a10bb4151d6127a91624dcd644e2a930e70f06de into PR head commit d344f9dc62320fea92b385733d7c229380efb573 17:06:54 Merge succeeded, producing d344f9dc62320fea92b385733d7c229380efb573 17:06:54 Checking out Revision d344f9dc62320fea92b385733d7c229380efb573 (PR-88) 17:06:54 > git config core.sparsecheckout # timeout=10 17:06:54 > git checkout -f d344f9dc62320fea92b385733d7c229380efb573 # timeout=10 17:06:54 > git remote # timeout=10 17:06:54 > git config --get remote.origin.url # timeout=10 17:06:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:06:54 [INFO] Currently running in a labeled security context 17:06:54 [INFO] Currently SELinux is 'enforcing' on the host 17:06:54 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/2@tmp/jenkins-gitclient-ssh1569847416066063460.key 17:06:54 > git merge a10bb4151d6127a91624dcd644e2a930e70f06de # timeout=10 17:06:54 > git rev-parse HEAD^{commit} # timeout=10 17:06:54 > git config core.sparsecheckout # timeout=10 17:06:54 > git checkout -f d344f9dc62320fea92b385733d7c229380efb573 # timeout=10 17:06:58 Commit message: "feat: Add Renew Access Token capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:06:58 ========================================================= 17:06:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:06:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:06:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:06:59 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:06:59 4e9f2cdf4387: Pulling fs layer 17:06:59 57d31006c564: Pulling fs layer 17:06:59 bd5ccded8296: Pulling fs layer 17:06:59 304dd3a0f381: Pulling fs layer 17:06:59 d37cda54a23b: Pulling fs layer 17:06:59 bae75c0f2455: Pulling fs layer 17:06:59 806579b3d29a: Pulling fs layer 17:06:59 c77eb801bf70: Pulling fs layer 17:06:59 6d0567d44e1a: Pulling fs layer 17:06:59 304dd3a0f381: Waiting 17:06:59 d37cda54a23b: Waiting 17:06:59 bae75c0f2455: Waiting 17:06:59 806579b3d29a: Waiting 17:06:59 c77eb801bf70: Waiting 17:06:59 6d0567d44e1a: Waiting 17:06:59 bd5ccded8296: Verifying Checksum 17:06:59 bd5ccded8296: Download complete 17:06:59 57d31006c564: Verifying Checksum 17:06:59 57d31006c564: Download complete 17:06:59 d37cda54a23b: Verifying Checksum 17:06:59 d37cda54a23b: Download complete 17:06:59 bae75c0f2455: Verifying Checksum 17:06:59 bae75c0f2455: Download complete 17:06:59 806579b3d29a: Verifying Checksum 17:06:59 806579b3d29a: Download complete 17:06:59 4e9f2cdf4387: Verifying Checksum 17:06:59 4e9f2cdf4387: Download complete 17:06:59 c77eb801bf70: Verifying Checksum 17:06:59 c77eb801bf70: Download complete 17:07:00 304dd3a0f381: Verifying Checksum 17:07:00 304dd3a0f381: Download complete 17:07:00 6d0567d44e1a: Verifying Checksum 17:07:00 6d0567d44e1a: Download complete 17:07:00 4e9f2cdf4387: Pull complete 17:07:00 57d31006c564: Pull complete 17:07:00 bd5ccded8296: Pull complete 17:07:04 304dd3a0f381: Pull complete 17:07:04 d37cda54a23b: Pull complete 17:07:04 bae75c0f2455: Pull complete 17:07:04 806579b3d29a: Pull complete 17:07:04 c77eb801bf70: Pull complete 17:07:06 6d0567d44e1a: Pull complete 17:07:06 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 17:07:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:07:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 17:07:07 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 17:07:07 + docker inspect -f . ci-base-image-x86_64 17:07:07 . [Pipeline] withDockerContainer 17:07:07 prd-centos7-docker-4c-2g-736 does not seem to be running inside a container 17:07:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/2 -v /w/workspace/go-mod-registry/2:/w/workspace/go-mod-registry/2:rw,z -v /w/workspace/go-mod-registry/2@tmp:/w/workspace/go-mod-registry/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:07:09 $ docker top 287ad0d6f7a6e96d938b8eb34abbca5727e3d5ed2537a351dd3e880bc6639670 -eo pid,comm [Pipeline] { [Pipeline] sh 17:07:09 + go version 17:07:09 go version go1.16.8 linux/amd64 [Pipeline] } 17:07:10 $ docker stop --time=1 287ad0d6f7a6e96d938b8eb34abbca5727e3d5ed2537a351dd3e880bc6639670 17:07:11 $ docker rm -f 287ad0d6f7a6e96d938b8eb34abbca5727e3d5ed2537a351dd3e880bc6639670 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:07:11 + docker inspect -f . ci-base-image-x86_64 17:07:11 . [Pipeline] withDockerContainer 17:07:11 prd-centos7-docker-4c-2g-736 does not seem to be running inside a container 17:07:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/2 -v /w/workspace/go-mod-registry/2:/w/workspace/go-mod-registry/2:rw,z -v /w/workspace/go-mod-registry/2@tmp:/w/workspace/go-mod-registry/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:07:12 $ docker top 3f5a3091dee1adf1079fa1749d5321e9c753955823e23b2193b1843b6045eb06 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:07:12 + make test 17:07:12 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:07:13 go: downloading github.com/stretchr/testify v1.7.0 17:07:13 go: downloading github.com/hashicorp/consul/api v1.9.1 17:07:13 go: downloading github.com/davecgh/go-spew v1.1.1 17:07:13 go: downloading github.com/pmezard/go-difflib v1.0.0 17:07:13 go: downloading github.com/stretchr/objx v0.1.0 17:07:13 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 17:07:13 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:07:13 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:07:13 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:07:13 go: downloading github.com/hashicorp/serf v0.9.5 17:07:13 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:07:13 go: downloading github.com/fatih/color v1.9.0 17:07:13 go: downloading github.com/mattn/go-isatty v0.0.12 17:07:13 go: downloading github.com/mattn/go-colorable v0.1.6 17:07:13 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:07:13 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 17:07:13 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:07:13 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:07:25 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.018s coverage: 89.4% of statements 17:07:25 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 17:07:25 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.005s coverage: 85.7% of statements 17:07:25 ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] 17:07:25 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:07:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:07:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 17:07:30 $ docker stop --time=1 3f5a3091dee1adf1079fa1749d5321e9c753955823e23b2193b1843b6045eb06 17:07:31 $ docker rm -f 3f5a3091dee1adf1079fa1749d5321e9c753955823e23b2193b1843b6045eb06 [Pipeline] // withDockerContainer [Pipeline] sh 17:07:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:07:32 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 17:07:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:07:33 17:07:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:07:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:07:33 latest: Pulling from edgex-lftools-log-publisher 17:07:33 b4d181a07f80: Pulling fs layer 17:07:33 a1111a8f2ec3: Pulling fs layer 17:07:33 ed53099fbce6: Pulling fs layer 17:07:33 dc539afda2c1: Pulling fs layer 17:07:33 77bc0d833cb6: Pulling fs layer 17:07:33 9065ff56babe: Pulling fs layer 17:07:33 d287ab97295c: Pulling fs layer 17:07:33 dc539afda2c1: Waiting 17:07:33 77bc0d833cb6: Waiting 17:07:33 9065ff56babe: Waiting 17:07:33 d287ab97295c: Waiting 17:07:33 a1111a8f2ec3: Verifying Checksum 17:07:33 a1111a8f2ec3: Download complete 17:07:33 dc539afda2c1: Verifying Checksum 17:07:33 dc539afda2c1: Download complete 17:07:33 ed53099fbce6: Verifying Checksum 17:07:33 ed53099fbce6: Download complete 17:07:33 9065ff56babe: Verifying Checksum 17:07:33 9065ff56babe: Download complete 17:07:33 77bc0d833cb6: Verifying Checksum 17:07:33 77bc0d833cb6: Download complete 17:07:33 b4d181a07f80: Verifying Checksum 17:07:33 b4d181a07f80: Download complete 17:07:34 d287ab97295c: Verifying Checksum 17:07:34 d287ab97295c: Download complete 17:07:35 b4d181a07f80: Pull complete 17:07:35 a1111a8f2ec3: Pull complete 17:07:35 ed53099fbce6: Pull complete 17:07:35 dc539afda2c1: Pull complete 17:07:36 77bc0d833cb6: Pull complete 17:07:36 9065ff56babe: Pull complete 17:07:41 d287ab97295c: Pull complete 17:07:41 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:07:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:07:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:07:41 prd-centos7-docker-4c-2g-736 does not seem to be running inside a container 17:07:41 $ 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/2 -v /w/workspace/go-mod-registry/2:/w/workspace/go-mod-registry/2:rw,z -v /w/workspace/go-mod-registry/2@tmp:/w/workspace/go-mod-registry/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:07:43 $ docker top 4e3a41c110c9ce41eb2c0961ffcbfb8c246d03829b207e784ef6f72000f74e04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:44 ---> job-cost.sh 17:07:44 lf-activate-venv: SKIPPING 17:07:44 INFO: No Stack... 17:07:45 INFO: Retrieving Pricing Info for: v3-standard-2 17:07:45 INFO: Archiving Costs [Pipeline] sh 17:07:45 + cat /w/workspace/go-mod-registry/2/archives/cost.csv 17:07:45 + cut -d, -f6 [Pipeline] lock 17:07:45 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] 17:07:45 Resource [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] did not exist. Created. 17:07:45 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:07:45 + echo total: 0.05999999865889549 [Pipeline] stash 17:07:45 Stashed 1 file(s) [Pipeline] } 17:07:46 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:07:46 $ docker stop --time=1 4e3a41c110c9ce41eb2c0961ffcbfb8c246d03829b207e784ef6f72000f74e04 17:07:47 $ docker rm -f 4e3a41c110c9ce41eb2c0961ffcbfb8c246d03829b207e784ef6f72000f74e04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:07:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-735 in /w/workspace/gexfoundry_go-mod-registry_PR-88 [Pipeline] { [Pipeline] ws 17:07:48 Running in /w/workspace/go-mod-registry/2 [Pipeline] { [Pipeline] checkout 17:07:49 Selected Git installation does not exist. Using Default 17:07:49 The recommended git tool is: NONE 17:07:55 using credential edgex-jenkins-ssh 17:07:55 Cloning the remote Git repository 17:07:55 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 17:07:55 > git init /w/workspace/go-mod-registry/2 # timeout=10 17:07:55 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 17:07:55 > git --version # timeout=10 17:07:55 > git --version # 'git version 2.17.1' 17:07:55 using GIT_SSH to set credentials SSH Credentials for GitHub 17:07:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:07:56 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 17:07:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:07:56 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 17:07:56 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 17:07:56 using GIT_SSH to set credentials SSH Credentials for GitHub 17:07:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/88/head:refs/remotes/origin/PR-88 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:07:57 Merging remotes/origin/main commit a10bb4151d6127a91624dcd644e2a930e70f06de into PR head commit d344f9dc62320fea92b385733d7c229380efb573 17:07:57 Merge succeeded, producing d344f9dc62320fea92b385733d7c229380efb573 17:07:57 Checking out Revision d344f9dc62320fea92b385733d7c229380efb573 (PR-88) 17:07:57 > git config core.sparsecheckout # timeout=10 17:07:57 > git checkout -f d344f9dc62320fea92b385733d7c229380efb573 # timeout=10 17:07:57 > git remote # timeout=10 17:07:57 > git config --get remote.origin.url # timeout=10 17:07:57 using GIT_SSH to set credentials SSH Credentials for GitHub 17:07:57 > git merge a10bb4151d6127a91624dcd644e2a930e70f06de # timeout=10 17:07:57 > git rev-parse HEAD^{commit} # timeout=10 17:07:57 > git config core.sparsecheckout # timeout=10 17:07:57 > git checkout -f d344f9dc62320fea92b385733d7c229380efb573 # timeout=10 17:08:01 Commit message: "feat: Add Renew Access Token capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:08:02 ========================================================= 17:08:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 17:08:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:08:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:08:04 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:08:04 bbf911997326: Pulling fs layer 17:08:04 58ec367f63d7: Pulling fs layer 17:08:04 1b4a6ffa7d45: Pulling fs layer 17:08:04 fc5181fea5dc: Pulling fs layer 17:08:04 9c418107303f: Pulling fs layer 17:08:04 284eca6f2348: Pulling fs layer 17:08:04 842844d905b1: Pulling fs layer 17:08:04 901a3a57568e: Pulling fs layer 17:08:04 284eca6f2348: Waiting 17:08:04 842844d905b1: Waiting 17:08:04 901a3a57568e: Waiting 17:08:04 fc5181fea5dc: Waiting 17:08:04 9c418107303f: Waiting 17:08:04 58ec367f63d7: Verifying Checksum 17:08:04 58ec367f63d7: Download complete 17:08:04 9c418107303f: Verifying Checksum 17:08:04 9c418107303f: Download complete 17:08:04 284eca6f2348: Verifying Checksum 17:08:04 284eca6f2348: Download complete 17:08:04 842844d905b1: Verifying Checksum 17:08:04 842844d905b1: Download complete 17:08:04 bbf911997326: Verifying Checksum 17:08:04 bbf911997326: Download complete 17:08:06 bbf911997326: Pull complete 17:08:06 58ec367f63d7: Pull complete 17:08:06 901a3a57568e: Verifying Checksum 17:08:06 901a3a57568e: Download complete 17:08:06 1b4a6ffa7d45: Pull complete 17:08:07 fc5181fea5dc: Verifying Checksum 17:08:07 fc5181fea5dc: Download complete 17:08:17 fc5181fea5dc: Pull complete 17:08:17 9c418107303f: Pull complete 17:08:17 284eca6f2348: Pull complete 17:08:18 842844d905b1: Pull complete 17:08:24 901a3a57568e: Pull complete 17:08:24 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 17:08:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:08:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 17:08:25 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 17:08:25 + docker inspect -f . ci-base-image-arm64 17:08:25 . [Pipeline] withDockerContainer 17:08:25 prd-ubuntu18.04-docker-arm64-4c-16g-735 does not seem to be running inside a container 17:08:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/2 -v /w/workspace/go-mod-registry/2:/w/workspace/go-mod-registry/2:rw,z -v /w/workspace/go-mod-registry/2@tmp:/w/workspace/go-mod-registry/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:08:32 $ docker top 66300f2d9207f0f2e862df09a5320bba8968a334fc79883893ffdf087c894f2f -eo pid,comm [Pipeline] { [Pipeline] sh 17:08:33 + go version 17:08:33 go version go1.16.8 linux/arm64 [Pipeline] } 17:08:33 $ docker stop --time=1 66300f2d9207f0f2e862df09a5320bba8968a334fc79883893ffdf087c894f2f 17:08:35 $ docker rm -f 66300f2d9207f0f2e862df09a5320bba8968a334fc79883893ffdf087c894f2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:08:36 + docker inspect -f . ci-base-image-arm64 17:08:36 . [Pipeline] withDockerContainer 17:08:36 prd-ubuntu18.04-docker-arm64-4c-16g-735 does not seem to be running inside a container 17:08:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/2 -v /w/workspace/go-mod-registry/2:/w/workspace/go-mod-registry/2:rw,z -v /w/workspace/go-mod-registry/2@tmp:/w/workspace/go-mod-registry/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:08:38 $ docker top e26fdb7488cf7c3dcce1f55a9fdbbd9350c1191890a97e1da0964e638fbb6fe8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:08:39 + make test 17:08:39 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:08:40 go: downloading github.com/stretchr/testify v1.7.0 17:08:40 go: downloading github.com/hashicorp/consul/api v1.9.1 17:08:40 go: downloading github.com/davecgh/go-spew v1.1.1 17:08:40 go: downloading github.com/pmezard/go-difflib v1.0.0 17:08:40 go: downloading github.com/stretchr/objx v0.1.0 17:08:40 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 17:08:40 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:08:40 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:08:40 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:08:40 go: downloading github.com/hashicorp/serf v0.9.5 17:08:40 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:08:40 go: downloading github.com/fatih/color v1.9.0 17:08:40 go: downloading github.com/mattn/go-isatty v0.0.12 17:08:40 go: downloading github.com/mattn/go-colorable v0.1.6 17:08:40 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 17:08:40 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:08:40 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:08:40 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:09:13 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.108s coverage: 89.4% of statements 17:09:13 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 17:09:13 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.014s coverage: 85.7% of statements 17:09:13 ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] 17:09:13 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:09:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:09:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 17:09:31 $ docker stop --time=1 e26fdb7488cf7c3dcce1f55a9fdbbd9350c1191890a97e1da0964e638fbb6fe8 17:09:33 $ docker rm -f e26fdb7488cf7c3dcce1f55a9fdbbd9350c1191890a97e1da0964e638fbb6fe8 [Pipeline] // withDockerContainer [Pipeline] sh 17:09:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:09:34 Warning: overwriting stash ‘coverage-report’ 17:09:35 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 17:09:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:09:36 17:09:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:09:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:09:37 arm64: Pulling from edgex-lftools-log-publisher 17:09:37 448f6bf000e3: Pulling fs layer 17:09:37 f757da607395: Pulling fs layer 17:09:37 05883995daec: Pulling fs layer 17:09:37 8603b9c90790: Pulling fs layer 17:09:37 1560dd03e051: Pulling fs layer 17:09:37 27f5ce0e4adf: Pulling fs layer 17:09:37 c2d8d7efcc4b: Pulling fs layer 17:09:37 27f5ce0e4adf: Waiting 17:09:37 8603b9c90790: Waiting 17:09:37 c2d8d7efcc4b: Waiting 17:09:37 1560dd03e051: Waiting 17:09:37 f757da607395: Verifying Checksum 17:09:37 f757da607395: Download complete 17:09:37 8603b9c90790: Verifying Checksum 17:09:37 8603b9c90790: Download complete 17:09:37 1560dd03e051: Verifying Checksum 17:09:37 1560dd03e051: Download complete 17:09:37 27f5ce0e4adf: Download complete 17:09:37 05883995daec: Download complete 17:09:37 448f6bf000e3: Verifying Checksum 17:09:37 448f6bf000e3: Download complete 17:09:40 c2d8d7efcc4b: Verifying Checksum 17:09:40 c2d8d7efcc4b: Download complete 17:09:41 448f6bf000e3: Pull complete 17:09:42 f757da607395: Pull complete 17:09:43 05883995daec: Pull complete 17:09:44 8603b9c90790: Pull complete 17:09:45 1560dd03e051: Pull complete 17:09:45 27f5ce0e4adf: Pull complete 17:10:00 c2d8d7efcc4b: Pull complete 17:10:00 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 17:10:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:10:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:10:01 prd-ubuntu18.04-docker-arm64-4c-16g-735 does not seem to be running inside a container 17:10:01 $ 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/2 -v /w/workspace/go-mod-registry/2:/w/workspace/go-mod-registry/2:rw,z -v /w/workspace/go-mod-registry/2@tmp:/w/workspace/go-mod-registry/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:10:06 $ docker top 4ffbe282be6127bfdd453633a1b054292290779c78b5b83c056fccc5b16312fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:10:07 ---> job-cost.sh 17:10:07 lf-activate-venv: SKIPPING 17:10:07 INFO: No Stack... 17:10:07 INFO: Retrieving Pricing Info for: v3-standard-4 17:10:08 INFO: Archiving Costs [Pipeline] sh 17:10:09 + cat /w/workspace/go-mod-registry/2/archives/cost.csv 17:10:09 + cut -d, -f6 [Pipeline] lock 17:10:09 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] 17:10:09 Resource [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] did not exist. Created. 17:10:09 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:10:10 /w/workspace/go-mod-registry/2@tmp/durable-3060b6d3/script.sh: 1: /w/workspace/go-mod-registry/2@tmp/durable-3060b6d3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:10:10 + echo total: 0.10999999940395355 [Pipeline] stash 17:10:10 Warning: overwriting stash ‘stack-cost’ 17:10:10 Stashed 1 file(s) [Pipeline] } 17:10:10 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:10:10 $ docker stop --time=1 4ffbe282be6127bfdd453633a1b054292290779c78b5b83c056fccc5b16312fb 17:10:12 $ docker rm -f 4ffbe282be6127bfdd453633a1b054292290779c78b5b83c056fccc5b16312fb [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 17:10:13 provisioning config files... 17:10:13 copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-88@tmp/config4305550650193948164tmp [Pipeline] { [Pipeline] sh 17:10:13 + set +x 17:10:13 + curl -s https://codecov.io/bash 17:10:13 + bash -s -- 17:10:13 17:10:13 _____ _ 17:10:13 / ____| | | 17:10:13 | | ___ __| | ___ ___ _____ __ 17:10:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:10:13 | |___| (_) | (_| | __/ (_| (_) \ V / 17:10:13 \_____\___/ \__,_|\___|\___\___/ \_/ 17:10:13 Bash-1.0.6 17:10:13 17:10:13 17:10:13 ==> git version 2.24.4 found 17:10:13 ==> 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 17:10:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 17:10:13 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 17:10:13 ==> Jenkins CI detected. 17:10:13 current dir:  /w/workspace/gexfoundry_go-mod-registry_PR-88 17:10:13 project root: . 17:10:13 --> token set from env 17:10:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:10:13 ==> Running gcov in . (disable via -X gcov) 17:10:13 ==> Python coveragepy not found 17:10:13 ==> Searching for coverage reports in: 17:10:13 + . 17:10:13 -> Found 1 reports 17:10:13 ==> Detecting git/mercurial file structure 17:10:13 ==> Reading reports 17:10:13 + ./coverage.out bytes=12273 17:10:13 ==> Appending adjustments 17:10:13 https://docs.codecov.io/docs/fixing-reports 17:10:13 + Found adjustments 17:10:13 ==> Gzipping contents 17:10:13 4.0K /tmp/codecov.iNMmvM.gz 17:10:13 ==> Uploading reports 17:10:13 url: https://codecov.io 17:10:13 query: branch=PR-88&commit=d344f9dc62320fea92b385733d7c229380efb573&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-88%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=88&job=&cmd_args= 17:10:13 -> Pinging Codecov 17:10:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=9ee36580-b4eb-4db0-b4c8-29f84f7b3278&branch=PR-88&commit=d344f9dc62320fea92b385733d7c229380efb573&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-88%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=88&job=&cmd_args= 17:10:14 -> Uploading to 17:10:14 https://storage.googleapis.com/codecov/v4/raw/2021-10-12/05B643FFA8DEACB6C25F95B2D4D12284/d344f9dc62320fea92b385733d7c229380efb573/5f54a079-2fb2-4a15-960a-347a19a10f55.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211012T171014Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1f3c795d8cef80e27c97044400e3838c534807c143aa380a4b03e623dd0fd596 17:10:14 % Total % Received % Xferd Average Speed Time Time Time Current 17:10:14 Dload Upload Total Spent Left Speed 17:10:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2268 0 0 100 2268 0 7642 --:--:-- --:--:-- --:--:-- 7636 100 2268 0 0 100 2268 0 7638 --:--:-- --:--:-- --:--:-- 7636 17:10:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/d344f9dc62320fea92b385733d7c229380efb573 [Pipeline] } 17:10:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:10:16 + '[' -d /w/workspace/gexfoundry_go-mod-registry_PR-88/archives ']' [Pipeline] libraryResource [Pipeline] sh 17:10:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:10:16 ---> package-listing.sh 17:10:16 ++ facter osfamily 17:10:16 ++ tr '[:upper:]' '[:lower:]' 17:10:17 + OS_FAMILY=redhat 17:10:17 + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-88 17:10:17 + START_PACKAGES=/tmp/packages_start.txt 17:10:17 + END_PACKAGES=/tmp/packages_end.txt 17:10:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:10:17 + PACKAGES=/tmp/packages_start.txt 17:10:17 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-88 ']' 17:10:17 + PACKAGES=/tmp/packages_end.txt 17:10:17 + case "${OS_FAMILY}" in 17:10:17 + rpm -qa 17:10:17 + sort 17:10:17 + '[' -f /tmp/packages_start.txt ']' 17:10:17 + '[' -f /tmp/packages_end.txt ']' 17:10:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:10:17 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-88 ']' 17:10:17 + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-88/archives/ 17:10:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-registry_PR-88/archives/ [Pipeline] echo 17:10:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_go-mod-registry_PR-88/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:10:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:10:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:10:18 17:10:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:10:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:10:19 latest: Pulling from edgex-lftools-log-publisher 17:10:19 b4d181a07f80: Pulling fs layer 17:10:19 a1111a8f2ec3: Pulling fs layer 17:10:19 ed53099fbce6: Pulling fs layer 17:10:19 dc539afda2c1: Pulling fs layer 17:10:19 77bc0d833cb6: Pulling fs layer 17:10:19 9065ff56babe: Pulling fs layer 17:10:19 d287ab97295c: Pulling fs layer 17:10:19 77bc0d833cb6: Waiting 17:10:19 9065ff56babe: Waiting 17:10:19 dc539afda2c1: Waiting 17:10:19 d287ab97295c: Waiting 17:10:19 a1111a8f2ec3: Download complete 17:10:19 dc539afda2c1: Verifying Checksum 17:10:19 dc539afda2c1: Download complete 17:10:19 ed53099fbce6: Verifying Checksum 17:10:19 ed53099fbce6: Download complete 17:10:19 9065ff56babe: Verifying Checksum 17:10:19 9065ff56babe: Download complete 17:10:19 77bc0d833cb6: Verifying Checksum 17:10:19 77bc0d833cb6: Download complete 17:10:19 b4d181a07f80: Verifying Checksum 17:10:19 b4d181a07f80: Download complete 17:10:19 d287ab97295c: Verifying Checksum 17:10:19 d287ab97295c: Download complete 17:10:20 b4d181a07f80: Pull complete 17:10:21 a1111a8f2ec3: Pull complete 17:10:21 ed53099fbce6: Pull complete 17:10:21 dc539afda2c1: Pull complete 17:10:21 77bc0d833cb6: Pull complete 17:10:22 9065ff56babe: Pull complete 17:10:27 d287ab97295c: Pull complete 17:10:27 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:10:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:10:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:10:27 prd-centos7-docker-4c-2g-734 does not seem to be running inside a container 17:10:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_go-mod-registry_PR-88/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-registry_PR-88 -v /w/workspace/gexfoundry_go-mod-registry_PR-88:/w/workspace/gexfoundry_go-mod-registry_PR-88:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-88@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-88@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:10:30 $ docker top 36eeb8d3d4449fccd649bb4b2efa9670ddf5a818ed338a7fc2428135400c7668 -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:30 + touch /tmp/pre-build-complete [Pipeline] sh 17:10:31 + mkdir -p /var/log/sysstat [Pipeline] sh 17:10:31 + ls /var/log/sa-host 17:10:31 + sadf -c /var/log/sa-host/sa12 17:10:31 file_magic: OK 17:10:31 HZ: Using current value: 100 17:10:31 file_header: OK 17:10:31 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 17:10:31 Statistics: 17:10:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:10:31 File successfully converted to sysstat format version 12.0.3 17:10:31 + sadf -c /var/log/sa-host/sa30 17:10:31 file_magic: OK 17:10:31 HZ: Using current value: 100 17:10:31 file_header: OK 17:10:31 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 17:10:31 Statistics: 17:10:31 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:10:31 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:10:31 provisioning config files... 17:10:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-88@tmp/config6942863171796866823tmp [Pipeline] { [Pipeline] echo 17:10:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:10:31 ---> create-netrc.sh [Pipeline] } 17:10:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:10:32 ---> python-tools-install.sh [Pipeline] echo 17:10:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:10:32 ---> sudo-logs.sh 17:10:32 Archiving 'sudo' log.. 17:10:32 sudo: unable to resolve host prd-centos7-docker-4c-2g-734.novalocal: Name or service not known 17:10:32 sudo: unable to resolve host prd-centos7-docker-4c-2g-734.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 17:10:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:10:32 ---> job-cost.sh 17:10:32 lf-activate-venv: SKIPPING 17:10:32 DEBUG: total: 0.10999999940395355 17:10:32 INFO: Retrieving Stack Cost... 17:10:33 INFO: Retrieving Pricing Info for: v3-standard-2 17:10:33 INFO: Archiving Costs [Pipeline] echo 17:10:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:10:33 ---> logs-deploy.sh 17:10:33 lf-activate-venv: SKIPPING 17:10:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-88/2 17:10:33 INFO: archiving workspace using pattern(s): 17:10:34 Archives upload complete. 17:10:34 INFO: archiving logs to Nexus 17:10:35 ---> uname -a: 17:10:35 Linux prd-centos7-docker-4c-2g-734.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 17:10:35 17:10:35 17:10:35 ---> lscpu: 17:10:35 Architecture: x86_64 17:10:35 CPU op-mode(s): 32-bit, 64-bit 17:10:35 Byte Order: Little Endian 17:10:35 Address sizes: 40 bits physical, 48 bits virtual 17:10:35 CPU(s): 2 17:10:35 On-line CPU(s) list: 0,1 17:10:35 Thread(s) per core: 1 17:10:35 Core(s) per socket: 1 17:10:35 Socket(s): 2 17:10:35 NUMA node(s): 1 17:10:35 Vendor ID: AuthenticAMD 17:10:35 CPU family: 23 17:10:35 Model: 49 17:10:35 Model name: AMD EPYC-Rome Processor 17:10:35 Stepping: 0 17:10:35 CPU MHz: 2799.998 17:10:35 BogoMIPS: 5599.99 17:10:35 Virtualization: AMD-V 17:10:35 Hypervisor vendor: KVM 17:10:35 Virtualization type: full 17:10:35 L1d cache: 32K 17:10:35 L1i cache: 32K 17:10:35 L2 cache: 512K 17:10:35 L3 cache: 16384K 17:10:35 NUMA node0 CPU(s): 0,1 17:10:35 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 17:10:35 17:10:35 17:10:35 ---> nproc: 17:10:35 2 17:10:35 17:10:35 17:10:35 ---> df -h: 17:10:35 Filesystem Size Used Avail Use% Mounted on 17:10:35 overlay 40G 7.7G 33G 20% / 17:10:35 tmpfs 64M 0 64M 0% /dev 17:10:35 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 17:10:35 shm 64M 0 64M 0% /dev/shm 17:10:35 /dev/vda1 40G 7.7G 33G 20% /facter-os 17:10:35 17:10:35 17:10:35 ---> sar -b -r -n DEV: 17:10:35 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/12/21 _x86_64_ (2 CPU) 17:10:35 17:10:35 17:03:59 LINUX RESTART (2 CPU) 17:10:35 17:10:35 17:05:01 tps rtps wtps bread/s bwrtn/s 17:10:35 17:06:01 1.93 0.00 1.93 0.00 39.85 17:10:35 17:07:01 0.22 0.00 0.22 0.00 2.96 17:10:35 17:08:01 0.27 0.00 0.27 0.00 3.33 17:10:35 17:09:01 0.20 0.00 0.20 0.00 2.70 17:10:35 17:10:01 0.38 0.00 0.38 0.00 5.20 17:10:35 Average: 0.60 0.00 0.60 0.00 10.81 17:10:35 17:10:35 17:05:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:10:35 17:06:01 5694132 0 618164 7.72 2620 1694016 1232764 13.61 560204 1521184 20 17:10:35 17:07:01 5699984 0 612304 7.65 2620 1694024 1163064 12.84 555436 1521420 20 17:10:35 17:08:01 5696148 0 616140 7.69 2620 1694024 1163148 12.84 559304 1521420 20 17:10:35 17:09:01 5698144 0 614136 7.67 2620 1694032 1162860 12.84 556724 1522404 20 17:10:35 17:10:01 5700264 0 612012 7.64 2620 1694036 1162956 12.84 555000 1522404 8 17:10:35 Average: 5697734 0 614551 7.67 2620 1694026 1176958 12.99 557334 1521766 18 17:10:35 17:10:35 17:05:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:10:35 17:06:01 eth0 0.90 0.58 0.61 0.24 0.00 0.00 0.00 0.00 17:10:35 17:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:35 17:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:35 17:07:01 eth0 1.63 0.30 0.37 0.17 0.00 0.00 0.00 0.00 17:10:35 17:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:35 17:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:35 17:08:01 eth0 0.52 0.28 0.27 0.23 0.00 0.00 0.00 0.00 17:10:35 17:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:35 17:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:35 17:09:01 eth0 0.15 0.10 0.01 0.01 0.00 0.00 0.00 0.00 17:10:35 17:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:35 17:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:35 17:10:01 eth0 0.23 0.17 0.08 0.07 0.00 0.00 0.00 0.00 17:10:35 17:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:35 17:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:35 Average: eth0 0.69 0.29 0.27 0.14 0.00 0.00 0.00 0.00 17:10:35 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:35 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:35 17:10:35 17:10:35 ---> sar -P ALL: 17:10:35 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/12/21 _x86_64_ (2 CPU) 17:10:35 17:10:35 17:03:59 LINUX RESTART (2 CPU) 17:10:35 17:10:35 17:05:01 CPU %user %nice %system %iowait %steal %idle 17:10:35 17:06:01 all 0.33 0.00 0.10 0.00 0.01 99.56 17:10:35 17:06:01 0 0.18 0.00 0.13 0.00 0.02 99.67 17:10:35 17:06:01 1 0.48 0.00 0.07 0.00 0.00 99.45 17:10:35 17:07:01 all 0.24 0.00 0.07 0.00 0.02 99.67 17:10:35 17:07:01 0 0.10 0.00 0.08 0.00 0.02 99.80 17:10:35 17:07:01 1 0.38 0.00 0.05 0.00 0.02 99.55 17:10:35 17:08:01 all 0.24 0.00 0.07 0.00 0.02 99.67 17:10:35 17:08:01 0 0.05 0.00 0.05 0.00 0.02 99.88 17:10:35 17:08:01 1 0.43 0.00 0.08 0.00 0.02 99.46 17:10:35 17:09:01 all 0.09 0.00 0.07 0.00 0.02 99.82 17:10:35 17:09:01 0 0.10 0.00 0.07 0.00 0.02 99.82 17:10:35 17:09:01 1 0.08 0.00 0.07 0.00 0.02 99.83 17:10:35 17:10:01 all 0.22 0.00 0.08 0.00 0.01 99.70 17:10:35 17:10:01 0 0.05 0.00 0.07 0.00 0.00 99.88 17:10:35 17:10:01 1 0.38 0.00 0.08 0.00 0.02 99.51 17:10:35 Average: all 0.23 0.00 0.08 0.00 0.01 99.69 17:10:35 Average: 0 0.10 0.00 0.08 0.00 0.01 99.81 17:10:35 Average: 1 0.35 0.00 0.07 0.00 0.01 99.56 17:10:35 17:10:35 17:10:35