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 [2021-10-12T17:04:34.364Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-12T17:04:34.405Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-12T17:04:34.414Z] ========================================================= [2021-10-12T17:04:34.414Z] EdgeX Global Pipelines Version Info [2021-10-12T17:04:34.414Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 66215d7f3b0a724f5b1b9f7e04f90851fa74250b # timeout=10 [2021-10-12T17:04:35.561Z] ------------------- [2021-10-12T17:04:35.561Z] stable info: [2021-10-12T17:04:35.561Z] ------------------- [2021-10-12T17:04:35.561Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-12T17:04:35.561Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-12T17:04:35.561Z] Message: update stable to v1.0.209 [2021-10-12T17:04:36.134Z] ------------------- [2021-10-12T17:04:36.134Z] experimental info: [2021-10-12T17:04:36.134Z] ------------------- [2021-10-12T17:04:36.134Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-12T17:04:36.134Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-12T17:04:36.134Z] Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-12T17:04:36.219Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo [2021-10-12T17:04:36.232Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo [2021-10-12T17:04:36.245Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-12T17:04:36.256Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-12T17:04:36.266Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-12T17:04:36.277Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-12T17:04:36.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-12T17:04:36.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-12T17:04:36.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-12T17:04:36.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-12T17:04:36.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-12T17:04:36.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo [2021-10-12T17:04:36.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-12T17:04:36.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-12T17:04:36.391Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T17:04:36.401Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T17:04:36.409Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T17:04:36.417Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T17:04:36.425Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-12T17:04:36.437Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-12T17:04:36.444Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-12T17:04:36.454Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-12T17:04:36.469Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-12T17:04:36.477Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-12T17:04:36.484Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-10-12T17:04:36.492Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-12T17:04:36.499Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-88 [Pipeline] echo [2021-10-12T17:04:36.507Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-88 [Pipeline] echo [2021-10-12T17:04:36.514Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-88 [Pipeline] echo [2021-10-12T17:04:36.522Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d344f9dc62320fea92b385733d7c229380efb573 [Pipeline] echo [2021-10-12T17:04:36.531Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d344f9d [Pipeline] echo [2021-10-12T17:04:36.543Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-12T17:04:36.943Z] + git log --format=format:%s -1 d344f9dc62320fea92b385733d7c229380efb573 [Pipeline] echo [2021-10-12T17:04:36.981Z] GIT_COMMIT: d344f9dc62320fea92b385733d7c229380efb573, Commit Message: feat: Add Renew Access Token capability [Pipeline] echo [2021-10-12T17:04:36.990Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-12T17:04:37.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T17:04:37.423Z] [2021-10-12T17:04:37.423Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T17:04:37.737Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T17:04:37.737Z] latest: Pulling from edgex-devops/git-semver [2021-10-12T17:04:37.737Z] a0d0a0d46f8b: Pulling fs layer [2021-10-12T17:04:37.737Z] 3e5f54012d9b: Pulling fs layer [2021-10-12T17:04:37.737Z] 4c7163046ea9: Pulling fs layer [2021-10-12T17:04:37.737Z] 0c2d73faf560: Pulling fs layer [2021-10-12T17:04:37.737Z] 0c2d73faf560: Waiting [2021-10-12T17:04:37.737Z] 3e5f54012d9b: Verifying Checksum [2021-10-12T17:04:37.737Z] 3e5f54012d9b: Download complete [2021-10-12T17:04:37.737Z] a0d0a0d46f8b: Download complete [2021-10-12T17:04:38.004Z] 0c2d73faf560: Verifying Checksum [2021-10-12T17:04:38.004Z] 0c2d73faf560: Download complete [2021-10-12T17:04:38.004Z] 4c7163046ea9: Verifying Checksum [2021-10-12T17:04:38.004Z] 4c7163046ea9: Download complete [2021-10-12T17:04:38.004Z] a0d0a0d46f8b: Pull complete [2021-10-12T17:04:38.004Z] 3e5f54012d9b: Pull complete [2021-10-12T17:04:38.272Z] 4c7163046ea9: Pull complete [2021-10-12T17:04:38.533Z] 0c2d73faf560: Pull complete [2021-10-12T17:04:38.534Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-12T17:04:38.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T17:04:38.534Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-12T17:04:38.616Z] prd-centos7-docker-4c-2g-734 does not seem to be running inside a container [2021-10-12T17:04:38.480Z] $ 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 [2021-10-12T17:04:39.161Z] $ docker top 02b327905cdc647addb1fdb66379537341cd8bd2f27e4d21c7460fb9ff7b792f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T17:04:39.391Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T17:04:39.391Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T17:04:39.500Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T17:04:39.386Z] $ docker exec 02b327905cdc647addb1fdb66379537341cd8bd2f27e4d21c7460fb9ff7b792f ssh-agent [2021-10-12T17:04:39.617Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDdClBC/agent.13 [2021-10-12T17:04:39.617Z] SSH_AGENT_PID=19 [2021-10-12T17:04:39.627Z] Running ssh-add (command line suppressed) [2021-10-12T17:04:39.649Z] 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) [2021-10-12T17:04:39.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T17:04:40.060Z] + git tag --points-at HEAD [Pipeline] } [2021-10-12T17:04:40.009Z] $ docker exec --env ******** --env ******** 02b327905cdc647addb1fdb66379537341cd8bd2f27e4d21c7460fb9ff7b792f ssh-agent -k [2021-10-12T17:04:40.116Z] unset SSH_AUTH_SOCK; [2021-10-12T17:04:40.117Z] unset SSH_AGENT_PID; [2021-10-12T17:04:40.117Z] echo Agent pid 19 killed; [2021-10-12T17:04:40.189Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-12T17:04:40.210Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T17:04:40.210Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T17:04:40.322Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T17:04:40.276Z] $ docker exec 02b327905cdc647addb1fdb66379537341cd8bd2f27e4d21c7460fb9ff7b792f ssh-agent [2021-10-12T17:04:40.429Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCiMcmC/agent.52 [2021-10-12T17:04:40.429Z] SSH_AGENT_PID=59 [2021-10-12T17:04:40.434Z] Running ssh-add (command line suppressed) [2021-10-12T17:04:40.505Z] 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) [2021-10-12T17:04:40.550Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T17:04:40.851Z] + git semver init [2021-10-12T17:04:40.851Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T17:04:40.851Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-88/.git [2021-10-12T17:04:40.851Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-88 [2021-10-12T17:04:40.851Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T17:04:40.851Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T17:04:40.851Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T17:04:40.851Z] # $SEMVER_BRANCH = PR-88 [2021-10-12T17:04:40.851Z] # $SEMVER_TEMP = /tmp/semver-395500429 [2021-10-12T17:04:40.851Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP [2021-10-12T17:04:41.425Z] # '/tmp/semver-395500429' -> '/w/workspace/gexfoundry_go-mod-registry_PR-88/.semver' [2021-10-12T17:04:41.425Z] # -> Force: false [2021-10-12T17:04:41.425Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-88/.semver [Pipeline] } [2021-10-12T17:04:41.437Z] $ docker exec --env ******** --env ******** 02b327905cdc647addb1fdb66379537341cd8bd2f27e4d21c7460fb9ff7b792f ssh-agent -k [2021-10-12T17:04:41.551Z] unset SSH_AUTH_SOCK; [2021-10-12T17:04:41.551Z] unset SSH_AGENT_PID; [2021-10-12T17:04:41.551Z] echo Agent pid 59 killed; [2021-10-12T17:04:41.564Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T17:04:41.885Z] + git semver [Pipeline] } [2021-10-12T17:04:41.903Z] $ docker stop --time=1 02b327905cdc647addb1fdb66379537341cd8bd2f27e4d21c7460fb9ff7b792f [2021-10-12T17:04:43.115Z] $ docker rm -f 02b327905cdc647addb1fdb66379537341cd8bd2f27e4d21c7460fb9ff7b792f [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T17:04:43.465Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-12T17:04:43.746Z] Stashed 1 file(s) [Pipeline] echo [2021-10-12T17:04:43.750Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-12T17:04:58.879Z] Still waiting to schedule task [2021-10-12T17:04:58.880Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-12T17:04:58.881Z] Still waiting to schedule task [2021-10-12T17:04:58.881Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-733’ is offline [2021-10-12T17:06:51.115Z] Running on prd-centos7-docker-4c-2g-736 in /w/workspace/gexfoundry_go-mod-registry_PR-88 [Pipeline] { [Pipeline] ws [2021-10-12T17:06:51.125Z] Running in /w/workspace/go-mod-registry/2 [Pipeline] { [Pipeline] checkout [2021-10-12T17:06:51.227Z] Selected Git installation does not exist. Using Default [2021-10-12T17:06:51.227Z] The recommended git tool is: NONE [2021-10-12T17:06:53.231Z] using credential edgex-jenkins-ssh [2021-10-12T17:06:53.241Z] Cloning the remote Git repository [2021-10-12T17:06:53.025Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2021-10-12T17:06:53.085Z] > git init /w/workspace/go-mod-registry/2 # timeout=10 [2021-10-12T17:06:53.120Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-10-12T17:06:53.120Z] > git --version # timeout=10 [2021-10-12T17:06:53.127Z] > git --version # 'git version 2.24.4' [2021-10-12T17:06:53.128Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T17:06:53.151Z] [INFO] Currently running in a labeled security context [2021-10-12T17:06:53.151Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-12T17:06:53.151Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/2@tmp/jenkins-gitclient-ssh5550640039675965539.key [2021-10-12T17:06:53.176Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T17:06:53.850Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-10-12T17:06:53.861Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T17:06:53.876Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-10-12T17:06:53.891Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-10-12T17:06:53.891Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T17:06:53.892Z] [INFO] Currently running in a labeled security context [2021-10-12T17:06:53.892Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-12T17:06:53.892Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/2@tmp/jenkins-gitclient-ssh736260212192563007.key [2021-10-12T17:06:53.908Z] > 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 [2021-10-12T17:06:54.583Z] Merging remotes/origin/main commit a10bb4151d6127a91624dcd644e2a930e70f06de into PR head commit d344f9dc62320fea92b385733d7c229380efb573 [2021-10-12T17:06:54.679Z] Merge succeeded, producing d344f9dc62320fea92b385733d7c229380efb573 [2021-10-12T17:06:54.680Z] Checking out Revision d344f9dc62320fea92b385733d7c229380efb573 (PR-88) [2021-10-12T17:06:54.463Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T17:06:54.471Z] > git checkout -f d344f9dc62320fea92b385733d7c229380efb573 # timeout=10 [2021-10-12T17:06:54.512Z] > git remote # timeout=10 [2021-10-12T17:06:54.523Z] > git config --get remote.origin.url # timeout=10 [2021-10-12T17:06:54.531Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T17:06:54.532Z] [INFO] Currently running in a labeled security context [2021-10-12T17:06:54.532Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-12T17:06:54.532Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/2@tmp/jenkins-gitclient-ssh1569847416066063460.key [2021-10-12T17:06:54.539Z] > git merge a10bb4151d6127a91624dcd644e2a930e70f06de # timeout=10 [2021-10-12T17:06:54.550Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-12T17:06:54.564Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T17:06:54.571Z] > git checkout -f d344f9dc62320fea92b385733d7c229380efb573 # timeout=10 [2021-10-12T17:06:58.211Z] 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 [2021-10-12T17:06:58.780Z] ========================================================= [2021-10-12T17:06:58.780Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-12T17:06:58.780Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-12T17:06:59.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-12T17:06:59.261Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-12T17:06:59.261Z] 4e9f2cdf4387: Pulling fs layer [2021-10-12T17:06:59.261Z] 57d31006c564: Pulling fs layer [2021-10-12T17:06:59.261Z] bd5ccded8296: Pulling fs layer [2021-10-12T17:06:59.261Z] 304dd3a0f381: Pulling fs layer [2021-10-12T17:06:59.261Z] d37cda54a23b: Pulling fs layer [2021-10-12T17:06:59.261Z] bae75c0f2455: Pulling fs layer [2021-10-12T17:06:59.261Z] 806579b3d29a: Pulling fs layer [2021-10-12T17:06:59.261Z] c77eb801bf70: Pulling fs layer [2021-10-12T17:06:59.261Z] 6d0567d44e1a: Pulling fs layer [2021-10-12T17:06:59.261Z] 304dd3a0f381: Waiting [2021-10-12T17:06:59.261Z] d37cda54a23b: Waiting [2021-10-12T17:06:59.261Z] bae75c0f2455: Waiting [2021-10-12T17:06:59.261Z] 806579b3d29a: Waiting [2021-10-12T17:06:59.261Z] c77eb801bf70: Waiting [2021-10-12T17:06:59.261Z] 6d0567d44e1a: Waiting [2021-10-12T17:06:59.261Z] bd5ccded8296: Verifying Checksum [2021-10-12T17:06:59.261Z] bd5ccded8296: Download complete [2021-10-12T17:06:59.261Z] 57d31006c564: Verifying Checksum [2021-10-12T17:06:59.261Z] 57d31006c564: Download complete [2021-10-12T17:06:59.261Z] d37cda54a23b: Verifying Checksum [2021-10-12T17:06:59.261Z] d37cda54a23b: Download complete [2021-10-12T17:06:59.261Z] bae75c0f2455: Verifying Checksum [2021-10-12T17:06:59.261Z] bae75c0f2455: Download complete [2021-10-12T17:06:59.522Z] 806579b3d29a: Verifying Checksum [2021-10-12T17:06:59.522Z] 806579b3d29a: Download complete [2021-10-12T17:06:59.522Z] 4e9f2cdf4387: Verifying Checksum [2021-10-12T17:06:59.522Z] 4e9f2cdf4387: Download complete [2021-10-12T17:06:59.522Z] c77eb801bf70: Verifying Checksum [2021-10-12T17:06:59.522Z] c77eb801bf70: Download complete [2021-10-12T17:07:00.098Z] 304dd3a0f381: Verifying Checksum [2021-10-12T17:07:00.098Z] 304dd3a0f381: Download complete [2021-10-12T17:07:00.099Z] 6d0567d44e1a: Verifying Checksum [2021-10-12T17:07:00.099Z] 6d0567d44e1a: Download complete [2021-10-12T17:07:00.099Z] 4e9f2cdf4387: Pull complete [2021-10-12T17:07:00.099Z] 57d31006c564: Pull complete [2021-10-12T17:07:00.099Z] bd5ccded8296: Pull complete [2021-10-12T17:07:04.347Z] 304dd3a0f381: Pull complete [2021-10-12T17:07:04.347Z] d37cda54a23b: Pull complete [2021-10-12T17:07:04.347Z] bae75c0f2455: Pull complete [2021-10-12T17:07:04.347Z] 806579b3d29a: Pull complete [2021-10-12T17:07:04.347Z] c77eb801bf70: Pull complete [2021-10-12T17:07:06.936Z] 6d0567d44e1a: Pull complete [2021-10-12T17:07:06.936Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-12T17:07:06.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-12T17:07:06.936Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-10-12T17:07:07.257Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-10-12T17:07:07.569Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-12T17:07:07.569Z] . [Pipeline] withDockerContainer [2021-10-12T17:07:07.640Z] prd-centos7-docker-4c-2g-736 does not seem to be running inside a container [2021-10-12T17:07:07.682Z] $ 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 [2021-10-12T17:07:09.598Z] $ docker top 287ad0d6f7a6e96d938b8eb34abbca5727e3d5ed2537a351dd3e880bc6639670 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T17:07:09.993Z] + go version [2021-10-12T17:07:09.993Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-12T17:07:10.004Z] $ docker stop --time=1 287ad0d6f7a6e96d938b8eb34abbca5727e3d5ed2537a351dd3e880bc6639670 [2021-10-12T17:07:11.209Z] $ docker rm -f 287ad0d6f7a6e96d938b8eb34abbca5727e3d5ed2537a351dd3e880bc6639670 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T17:07:11.712Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-12T17:07:11.712Z] . [Pipeline] withDockerContainer [2021-10-12T17:07:11.782Z] prd-centos7-docker-4c-2g-736 does not seem to be running inside a container [2021-10-12T17:07:11.819Z] $ 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 [2021-10-12T17:07:12.228Z] $ docker top 3f5a3091dee1adf1079fa1749d5321e9c753955823e23b2193b1843b6045eb06 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-12T17:07:12.608Z] + make test [2021-10-12T17:07:12.608Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-12T17:07:13.554Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-12T17:07:13.554Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-10-12T17:07:13.554Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-12T17:07:13.554Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-12T17:07:13.554Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-10-12T17:07:13.554Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-10-12T17:07:13.554Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-12T17:07:13.554Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-12T17:07:13.554Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-12T17:07:13.554Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-12T17:07:13.554Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-12T17:07:13.554Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-12T17:07:13.554Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-12T17:07:13.554Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-12T17:07:13.554Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-12T17:07:13.554Z] go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae [2021-10-12T17:07:13.554Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-12T17:07:13.554Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-12T17:07:25.923Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.018s coverage: 89.4% of statements [2021-10-12T17:07:25.923Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-10-12T17:07:25.923Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.005s coverage: 85.7% of statements [2021-10-12T17:07:25.923Z] ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] [2021-10-12T17:07:25.923Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-10-12T17:07:30.164Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T17:07:30.164Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-10-12T17:07:30.177Z] $ docker stop --time=1 3f5a3091dee1adf1079fa1749d5321e9c753955823e23b2193b1843b6045eb06 [2021-10-12T17:07:31.589Z] $ docker rm -f 3f5a3091dee1adf1079fa1749d5321e9c753955823e23b2193b1843b6045eb06 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T17:07:31.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-12T17:07:32.191Z] 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-10-12T17:07:33.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T17:07:33.002Z] [2021-10-12T17:07:33.002Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T17:07:33.318Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T17:07:33.318Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-12T17:07:33.318Z] b4d181a07f80: Pulling fs layer [2021-10-12T17:07:33.318Z] a1111a8f2ec3: Pulling fs layer [2021-10-12T17:07:33.318Z] ed53099fbce6: Pulling fs layer [2021-10-12T17:07:33.318Z] dc539afda2c1: Pulling fs layer [2021-10-12T17:07:33.318Z] 77bc0d833cb6: Pulling fs layer [2021-10-12T17:07:33.318Z] 9065ff56babe: Pulling fs layer [2021-10-12T17:07:33.318Z] d287ab97295c: Pulling fs layer [2021-10-12T17:07:33.318Z] dc539afda2c1: Waiting [2021-10-12T17:07:33.318Z] 77bc0d833cb6: Waiting [2021-10-12T17:07:33.318Z] 9065ff56babe: Waiting [2021-10-12T17:07:33.318Z] d287ab97295c: Waiting [2021-10-12T17:07:33.318Z] a1111a8f2ec3: Verifying Checksum [2021-10-12T17:07:33.318Z] a1111a8f2ec3: Download complete [2021-10-12T17:07:33.318Z] dc539afda2c1: Verifying Checksum [2021-10-12T17:07:33.318Z] dc539afda2c1: Download complete [2021-10-12T17:07:33.585Z] ed53099fbce6: Verifying Checksum [2021-10-12T17:07:33.585Z] ed53099fbce6: Download complete [2021-10-12T17:07:33.585Z] 9065ff56babe: Verifying Checksum [2021-10-12T17:07:33.585Z] 9065ff56babe: Download complete [2021-10-12T17:07:33.585Z] 77bc0d833cb6: Verifying Checksum [2021-10-12T17:07:33.585Z] 77bc0d833cb6: Download complete [2021-10-12T17:07:33.585Z] b4d181a07f80: Verifying Checksum [2021-10-12T17:07:33.585Z] b4d181a07f80: Download complete [2021-10-12T17:07:34.166Z] d287ab97295c: Verifying Checksum [2021-10-12T17:07:34.166Z] d287ab97295c: Download complete [2021-10-12T17:07:35.115Z] b4d181a07f80: Pull complete [2021-10-12T17:07:35.115Z] a1111a8f2ec3: Pull complete [2021-10-12T17:07:35.693Z] ed53099fbce6: Pull complete [2021-10-12T17:07:35.955Z] dc539afda2c1: Pull complete [2021-10-12T17:07:36.219Z] 77bc0d833cb6: Pull complete [2021-10-12T17:07:36.219Z] 9065ff56babe: Pull complete [2021-10-12T17:07:41.569Z] d287ab97295c: Pull complete [2021-10-12T17:07:41.569Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-12T17:07:41.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T17:07:41.569Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-12T17:07:41.636Z] prd-centos7-docker-4c-2g-736 does not seem to be running inside a container [2021-10-12T17:07:41.680Z] $ 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 [2021-10-12T17:07:43.689Z] $ docker top 4e3a41c110c9ce41eb2c0961ffcbfb8c246d03829b207e784ef6f72000f74e04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T17:07:44.120Z] ---> job-cost.sh [2021-10-12T17:07:44.120Z] lf-activate-venv: SKIPPING [2021-10-12T17:07:44.120Z] INFO: No Stack... [2021-10-12T17:07:45.057Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-12T17:07:45.316Z] INFO: Archiving Costs [Pipeline] sh [2021-10-12T17:07:45.617Z] + cat /w/workspace/go-mod-registry/2/archives/cost.csv [2021-10-12T17:07:45.617Z] + cut -d, -f6 [Pipeline] lock [2021-10-12T17:07:45.647Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] [2021-10-12T17:07:45.657Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] did not exist. Created. [2021-10-12T17:07:45.657Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T17:07:45.969Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-12T17:07:45.995Z] Stashed 1 file(s) [Pipeline] } [2021-10-12T17:07:46.001Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-12T17:07:46.018Z] $ docker stop --time=1 4e3a41c110c9ce41eb2c0961ffcbfb8c246d03829b207e784ef6f72000f74e04 [2021-10-12T17:07:47.151Z] $ 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] } [2021-10-12T17:07:48.896Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-735 in /w/workspace/gexfoundry_go-mod-registry_PR-88 [Pipeline] { [Pipeline] ws [2021-10-12T17:07:48.907Z] Running in /w/workspace/go-mod-registry/2 [Pipeline] { [Pipeline] checkout [2021-10-12T17:07:49.229Z] Selected Git installation does not exist. Using Default [2021-10-12T17:07:49.229Z] The recommended git tool is: NONE [2021-10-12T17:07:55.118Z] using credential edgex-jenkins-ssh [2021-10-12T17:07:55.134Z] Cloning the remote Git repository [2021-10-12T17:07:55.187Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2021-10-12T17:07:55.306Z] > git init /w/workspace/go-mod-registry/2 # timeout=10 [2021-10-12T17:07:55.401Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-10-12T17:07:55.402Z] > git --version # timeout=10 [2021-10-12T17:07:55.422Z] > git --version # 'git version 2.17.1' [2021-10-12T17:07:55.423Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T17:07:55.513Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T17:07:56.563Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-10-12T17:07:56.586Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T17:07:56.615Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-10-12T17:07:56.655Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-10-12T17:07:56.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T17:07:56.668Z] > 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 [2021-10-12T17:07:57.364Z] Merging remotes/origin/main commit a10bb4151d6127a91624dcd644e2a930e70f06de into PR head commit d344f9dc62320fea92b385733d7c229380efb573 [2021-10-12T17:07:57.570Z] Merge succeeded, producing d344f9dc62320fea92b385733d7c229380efb573 [2021-10-12T17:07:57.570Z] Checking out Revision d344f9dc62320fea92b385733d7c229380efb573 (PR-88) [2021-10-12T17:07:57.387Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T17:07:57.406Z] > git checkout -f d344f9dc62320fea92b385733d7c229380efb573 # timeout=10 [2021-10-12T17:07:57.485Z] > git remote # timeout=10 [2021-10-12T17:07:57.507Z] > git config --get remote.origin.url # timeout=10 [2021-10-12T17:07:57.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T17:07:57.531Z] > git merge a10bb4151d6127a91624dcd644e2a930e70f06de # timeout=10 [2021-10-12T17:07:57.555Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-12T17:07:57.579Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T17:07:57.596Z] > git checkout -f d344f9dc62320fea92b385733d7c229380efb573 # timeout=10 [2021-10-12T17:08:01.940Z] 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 [2021-10-12T17:08:02.616Z] ========================================================= [2021-10-12T17:08:02.616Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-12T17:08:02.616Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-12T17:08:03.238Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-12T17:08:04.696Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-12T17:08:04.696Z] bbf911997326: Pulling fs layer [2021-10-12T17:08:04.696Z] 58ec367f63d7: Pulling fs layer [2021-10-12T17:08:04.696Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-12T17:08:04.696Z] fc5181fea5dc: Pulling fs layer [2021-10-12T17:08:04.696Z] 9c418107303f: Pulling fs layer [2021-10-12T17:08:04.696Z] 284eca6f2348: Pulling fs layer [2021-10-12T17:08:04.696Z] 842844d905b1: Pulling fs layer [2021-10-12T17:08:04.696Z] 901a3a57568e: Pulling fs layer [2021-10-12T17:08:04.696Z] 284eca6f2348: Waiting [2021-10-12T17:08:04.696Z] 842844d905b1: Waiting [2021-10-12T17:08:04.696Z] 901a3a57568e: Waiting [2021-10-12T17:08:04.696Z] fc5181fea5dc: Waiting [2021-10-12T17:08:04.696Z] 9c418107303f: Waiting [2021-10-12T17:08:04.696Z] 58ec367f63d7: Verifying Checksum [2021-10-12T17:08:04.696Z] 58ec367f63d7: Download complete [2021-10-12T17:08:04.696Z] 9c418107303f: Verifying Checksum [2021-10-12T17:08:04.696Z] 9c418107303f: Download complete [2021-10-12T17:08:04.980Z] 284eca6f2348: Verifying Checksum [2021-10-12T17:08:04.980Z] 284eca6f2348: Download complete [2021-10-12T17:08:04.980Z] 842844d905b1: Verifying Checksum [2021-10-12T17:08:04.980Z] 842844d905b1: Download complete [2021-10-12T17:08:04.980Z] bbf911997326: Verifying Checksum [2021-10-12T17:08:04.980Z] bbf911997326: Download complete [2021-10-12T17:08:06.005Z] bbf911997326: Pull complete [2021-10-12T17:08:06.627Z] 58ec367f63d7: Pull complete [2021-10-12T17:08:06.911Z] 901a3a57568e: Verifying Checksum [2021-10-12T17:08:06.911Z] 901a3a57568e: Download complete [2021-10-12T17:08:06.911Z] 1b4a6ffa7d45: Pull complete [2021-10-12T17:08:07.531Z] fc5181fea5dc: Verifying Checksum [2021-10-12T17:08:07.531Z] fc5181fea5dc: Download complete [2021-10-12T17:08:17.772Z] fc5181fea5dc: Pull complete [2021-10-12T17:08:17.772Z] 9c418107303f: Pull complete [2021-10-12T17:08:17.772Z] 284eca6f2348: Pull complete [2021-10-12T17:08:18.053Z] 842844d905b1: Pull complete [2021-10-12T17:08:24.856Z] 901a3a57568e: Pull complete [2021-10-12T17:08:24.856Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-12T17:08:24.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-12T17:08:24.856Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-10-12T17:08:25.286Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-12T17:08:25.643Z] + docker inspect -f . ci-base-image-arm64 [2021-10-12T17:08:25.643Z] . [Pipeline] withDockerContainer [2021-10-12T17:08:25.895Z] prd-ubuntu18.04-docker-arm64-4c-16g-735 does not seem to be running inside a container [2021-10-12T17:08:26.000Z] $ 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 [2021-10-12T17:08:32.108Z] $ docker top 66300f2d9207f0f2e862df09a5320bba8968a334fc79883893ffdf087c894f2f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T17:08:33.385Z] + go version [2021-10-12T17:08:33.386Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-12T17:08:33.418Z] $ docker stop --time=1 66300f2d9207f0f2e862df09a5320bba8968a334fc79883893ffdf087c894f2f [2021-10-12T17:08:35.253Z] $ docker rm -f 66300f2d9207f0f2e862df09a5320bba8968a334fc79883893ffdf087c894f2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T17:08:36.028Z] + docker inspect -f . ci-base-image-arm64 [2021-10-12T17:08:36.028Z] . [Pipeline] withDockerContainer [2021-10-12T17:08:36.296Z] prd-ubuntu18.04-docker-arm64-4c-16g-735 does not seem to be running inside a container [2021-10-12T17:08:36.397Z] $ 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 [2021-10-12T17:08:38.158Z] $ docker top e26fdb7488cf7c3dcce1f55a9fdbbd9350c1191890a97e1da0964e638fbb6fe8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-12T17:08:39.162Z] + make test [2021-10-12T17:08:39.162Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-12T17:08:40.155Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-12T17:08:40.155Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-10-12T17:08:40.155Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-12T17:08:40.155Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-12T17:08:40.155Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-10-12T17:08:40.155Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-10-12T17:08:40.441Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-12T17:08:40.442Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-12T17:08:40.442Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-12T17:08:40.442Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-12T17:08:40.442Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-12T17:08:40.442Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-12T17:08:40.442Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-12T17:08:40.442Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-12T17:08:40.442Z] go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae [2021-10-12T17:08:40.721Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-12T17:08:40.721Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-12T17:08:40.721Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-12T17:09:13.260Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.108s coverage: 89.4% of statements [2021-10-12T17:09:13.260Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-10-12T17:09:13.260Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.014s coverage: 85.7% of statements [2021-10-12T17:09:13.260Z] ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] [2021-10-12T17:09:13.260Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-10-12T17:09:31.659Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T17:09:31.659Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-10-12T17:09:31.695Z] $ docker stop --time=1 e26fdb7488cf7c3dcce1f55a9fdbbd9350c1191890a97e1da0964e638fbb6fe8 [2021-10-12T17:09:33.920Z] $ docker rm -f e26fdb7488cf7c3dcce1f55a9fdbbd9350c1191890a97e1da0964e638fbb6fe8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T17:09:34.911Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-12T17:09:34.942Z] Warning: overwriting stash ‘coverage-report’ [2021-10-12T17:09:35.518Z] 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-10-12T17:09:36.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T17:09:36.097Z] [2021-10-12T17:09:36.097Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-12T17:09:36.748Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T17:09:37.052Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-12T17:09:37.052Z] 448f6bf000e3: Pulling fs layer [2021-10-12T17:09:37.052Z] f757da607395: Pulling fs layer [2021-10-12T17:09:37.052Z] 05883995daec: Pulling fs layer [2021-10-12T17:09:37.052Z] 8603b9c90790: Pulling fs layer [2021-10-12T17:09:37.052Z] 1560dd03e051: Pulling fs layer [2021-10-12T17:09:37.052Z] 27f5ce0e4adf: Pulling fs layer [2021-10-12T17:09:37.052Z] c2d8d7efcc4b: Pulling fs layer [2021-10-12T17:09:37.052Z] 27f5ce0e4adf: Waiting [2021-10-12T17:09:37.052Z] 8603b9c90790: Waiting [2021-10-12T17:09:37.052Z] c2d8d7efcc4b: Waiting [2021-10-12T17:09:37.052Z] 1560dd03e051: Waiting [2021-10-12T17:09:37.052Z] f757da607395: Verifying Checksum [2021-10-12T17:09:37.052Z] f757da607395: Download complete [2021-10-12T17:09:37.052Z] 8603b9c90790: Verifying Checksum [2021-10-12T17:09:37.052Z] 8603b9c90790: Download complete [2021-10-12T17:09:37.347Z] 1560dd03e051: Verifying Checksum [2021-10-12T17:09:37.347Z] 1560dd03e051: Download complete [2021-10-12T17:09:37.347Z] 27f5ce0e4adf: Download complete [2021-10-12T17:09:37.347Z] 05883995daec: Download complete [2021-10-12T17:09:37.626Z] 448f6bf000e3: Verifying Checksum [2021-10-12T17:09:37.626Z] 448f6bf000e3: Download complete [2021-10-12T17:09:40.292Z] c2d8d7efcc4b: Verifying Checksum [2021-10-12T17:09:40.292Z] c2d8d7efcc4b: Download complete [2021-10-12T17:09:41.758Z] 448f6bf000e3: Pull complete [2021-10-12T17:09:42.368Z] f757da607395: Pull complete [2021-10-12T17:09:43.832Z] 05883995daec: Pull complete [2021-10-12T17:09:44.111Z] 8603b9c90790: Pull complete [2021-10-12T17:09:45.105Z] 1560dd03e051: Pull complete [2021-10-12T17:09:45.712Z] 27f5ce0e4adf: Pull complete [2021-10-12T17:10:00.877Z] c2d8d7efcc4b: Pull complete [2021-10-12T17:10:00.877Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-12T17:10:00.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T17:10:00.877Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-12T17:10:01.151Z] prd-ubuntu18.04-docker-arm64-4c-16g-735 does not seem to be running inside a container [2021-10-12T17:10:01.278Z] $ 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 [2021-10-12T17:10:06.677Z] $ docker top 4ffbe282be6127bfdd453633a1b054292290779c78b5b83c056fccc5b16312fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T17:10:07.675Z] ---> job-cost.sh [2021-10-12T17:10:07.675Z] lf-activate-venv: SKIPPING [2021-10-12T17:10:07.675Z] INFO: No Stack... [2021-10-12T17:10:07.952Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-12T17:10:08.556Z] INFO: Archiving Costs [Pipeline] sh [2021-10-12T17:10:09.236Z] + cat /w/workspace/go-mod-registry/2/archives/cost.csv [2021-10-12T17:10:09.236Z] + cut -d, -f6 [Pipeline] lock [2021-10-12T17:10:09.310Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] [2021-10-12T17:10:09.319Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] did not exist. Created. [2021-10-12T17:10:09.320Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T17:10:10.049Z] /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 [2021-10-12T17:10:10.753Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-12T17:10:10.785Z] Warning: overwriting stash ‘stack-cost’ [2021-10-12T17:10:10.823Z] Stashed 1 file(s) [Pipeline] } [2021-10-12T17:10:10.829Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-88-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-12T17:10:10.861Z] $ docker stop --time=1 4ffbe282be6127bfdd453633a1b054292290779c78b5b83c056fccc5b16312fb [2021-10-12T17:10:12.556Z] $ 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 [2021-10-12T17:10:13.389Z] provisioning config files... [2021-10-12T17:10:13.411Z] copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-88@tmp/config4305550650193948164tmp [Pipeline] { [Pipeline] sh [2021-10-12T17:10:13.721Z] + set +x [2021-10-12T17:10:13.721Z] + curl -s https://codecov.io/bash [2021-10-12T17:10:13.721Z] + bash -s -- [2021-10-12T17:10:13.721Z] [2021-10-12T17:10:13.721Z] _____ _ [2021-10-12T17:10:13.721Z] / ____| | | [2021-10-12T17:10:13.721Z] | | ___ __| | ___ ___ _____ __ [2021-10-12T17:10:13.721Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-12T17:10:13.721Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-12T17:10:13.721Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-12T17:10:13.721Z] Bash-1.0.6 [2021-10-12T17:10:13.721Z] [2021-10-12T17:10:13.721Z] [2021-10-12T17:10:13.721Z] ==> git version 2.24.4 found [2021-10-12T17:10:13.721Z] ==> 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-10-12T17:10:13.721Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-12T17:10:13.721Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-12T17:10:13.721Z] ==> Jenkins CI detected. [2021-10-12T17:10:13.721Z] current dir:  /w/workspace/gexfoundry_go-mod-registry_PR-88 [2021-10-12T17:10:13.721Z] project root: . [2021-10-12T17:10:13.721Z] --> token set from env [2021-10-12T17:10:13.721Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-12T17:10:13.983Z] ==> Running gcov in . (disable via -X gcov) [2021-10-12T17:10:13.983Z] ==> Python coveragepy not found [2021-10-12T17:10:13.983Z] ==> Searching for coverage reports in: [2021-10-12T17:10:13.983Z] + . [2021-10-12T17:10:13.983Z] -> Found 1 reports [2021-10-12T17:10:13.983Z] ==> Detecting git/mercurial file structure [2021-10-12T17:10:13.983Z] ==> Reading reports [2021-10-12T17:10:13.983Z] + ./coverage.out bytes=12273 [2021-10-12T17:10:13.983Z] ==> Appending adjustments [2021-10-12T17:10:13.983Z] https://docs.codecov.io/docs/fixing-reports [2021-10-12T17:10:13.983Z] + Found adjustments [2021-10-12T17:10:13.983Z] ==> Gzipping contents [2021-10-12T17:10:13.983Z] 4.0K /tmp/codecov.iNMmvM.gz [2021-10-12T17:10:13.983Z] ==> Uploading reports [2021-10-12T17:10:13.983Z] url: https://codecov.io [2021-10-12T17:10:13.983Z] 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= [2021-10-12T17:10:13.983Z] -> Pinging Codecov [2021-10-12T17:10:13.983Z] 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= [2021-10-12T17:10:14.558Z] -> Uploading to [2021-10-12T17:10:14.558Z] 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 [2021-10-12T17:10:14.558Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-12T17:10:14.558Z] Dload Upload Total Spent Left Speed [2021-10-12T17:10:14.821Z] 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 [2021-10-12T17:10:14.821Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/d344f9dc62320fea92b385733d7c229380efb573 [Pipeline] } [2021-10-12T17:10:14.828Z] 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 [2021-10-12T17:10:16.115Z] + '[' -d /w/workspace/gexfoundry_go-mod-registry_PR-88/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-12T17:10:16.421Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T17:10:16.990Z] ---> package-listing.sh [2021-10-12T17:10:16.990Z] ++ facter osfamily [2021-10-12T17:10:16.990Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-12T17:10:17.254Z] + OS_FAMILY=redhat [2021-10-12T17:10:17.254Z] + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-88 [2021-10-12T17:10:17.254Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-12T17:10:17.254Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-12T17:10:17.254Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-12T17:10:17.254Z] + PACKAGES=/tmp/packages_start.txt [2021-10-12T17:10:17.254Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-88 ']' [2021-10-12T17:10:17.254Z] + PACKAGES=/tmp/packages_end.txt [2021-10-12T17:10:17.254Z] + case "${OS_FAMILY}" in [2021-10-12T17:10:17.254Z] + rpm -qa [2021-10-12T17:10:17.254Z] + sort [2021-10-12T17:10:17.849Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-12T17:10:17.849Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-12T17:10:17.849Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-12T17:10:17.849Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-88 ']' [2021-10-12T17:10:17.849Z] + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-88/archives/ [2021-10-12T17:10:17.849Z] + 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 [2021-10-12T17:10:17.862Z] 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 [2021-10-12T17:10:18.149Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-12T17:10:18.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T17:10:18.735Z] [2021-10-12T17:10:18.735Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T17:10:19.057Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T17:10:19.057Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-12T17:10:19.057Z] b4d181a07f80: Pulling fs layer [2021-10-12T17:10:19.057Z] a1111a8f2ec3: Pulling fs layer [2021-10-12T17:10:19.057Z] ed53099fbce6: Pulling fs layer [2021-10-12T17:10:19.057Z] dc539afda2c1: Pulling fs layer [2021-10-12T17:10:19.057Z] 77bc0d833cb6: Pulling fs layer [2021-10-12T17:10:19.057Z] 9065ff56babe: Pulling fs layer [2021-10-12T17:10:19.057Z] d287ab97295c: Pulling fs layer [2021-10-12T17:10:19.058Z] 77bc0d833cb6: Waiting [2021-10-12T17:10:19.058Z] 9065ff56babe: Waiting [2021-10-12T17:10:19.058Z] dc539afda2c1: Waiting [2021-10-12T17:10:19.058Z] d287ab97295c: Waiting [2021-10-12T17:10:19.058Z] a1111a8f2ec3: Download complete [2021-10-12T17:10:19.058Z] dc539afda2c1: Verifying Checksum [2021-10-12T17:10:19.058Z] dc539afda2c1: Download complete [2021-10-12T17:10:19.340Z] ed53099fbce6: Verifying Checksum [2021-10-12T17:10:19.340Z] ed53099fbce6: Download complete [2021-10-12T17:10:19.340Z] 9065ff56babe: Verifying Checksum [2021-10-12T17:10:19.340Z] 9065ff56babe: Download complete [2021-10-12T17:10:19.340Z] 77bc0d833cb6: Verifying Checksum [2021-10-12T17:10:19.340Z] 77bc0d833cb6: Download complete [2021-10-12T17:10:19.340Z] b4d181a07f80: Verifying Checksum [2021-10-12T17:10:19.340Z] b4d181a07f80: Download complete [2021-10-12T17:10:19.917Z] d287ab97295c: Verifying Checksum [2021-10-12T17:10:19.917Z] d287ab97295c: Download complete [2021-10-12T17:10:20.887Z] b4d181a07f80: Pull complete [2021-10-12T17:10:21.154Z] a1111a8f2ec3: Pull complete [2021-10-12T17:10:21.737Z] ed53099fbce6: Pull complete [2021-10-12T17:10:21.737Z] dc539afda2c1: Pull complete [2021-10-12T17:10:21.998Z] 77bc0d833cb6: Pull complete [2021-10-12T17:10:22.265Z] 9065ff56babe: Pull complete [2021-10-12T17:10:27.613Z] d287ab97295c: Pull complete [2021-10-12T17:10:27.613Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-12T17:10:27.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T17:10:27.613Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-12T17:10:27.681Z] prd-centos7-docker-4c-2g-734 does not seem to be running inside a container [2021-10-12T17:10:27.716Z] $ 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 [2021-10-12T17:10:30.374Z] $ docker top 36eeb8d3d4449fccd649bb4b2efa9670ddf5a818ed338a7fc2428135400c7668 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T17:10:30.731Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-12T17:10:31.037Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-12T17:10:31.327Z] + ls /var/log/sa-host [2021-10-12T17:10:31.327Z] + sadf -c /var/log/sa-host/sa12 [2021-10-12T17:10:31.327Z] file_magic: OK [2021-10-12T17:10:31.328Z] HZ: Using current value: 100 [2021-10-12T17:10:31.328Z] file_header: OK [2021-10-12T17:10:31.328Z] 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-10-12T17:10:31.328Z] Statistics: [2021-10-12T17:10:31.328Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-12T17:10:31.328Z] File successfully converted to sysstat format version 12.0.3 [2021-10-12T17:10:31.328Z] + sadf -c /var/log/sa-host/sa30 [2021-10-12T17:10:31.328Z] file_magic: OK [2021-10-12T17:10:31.328Z] HZ: Using current value: 100 [2021-10-12T17:10:31.328Z] file_header: OK [2021-10-12T17:10:31.328Z] 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-10-12T17:10:31.328Z] Statistics: [2021-10-12T17:10:31.328Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-12T17:10:31.328Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T17:10:31.431Z] provisioning config files... [2021-10-12T17:10:31.442Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-88@tmp/config6942863171796866823tmp [Pipeline] { [Pipeline] echo [2021-10-12T17:10:31.459Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T17:10:31.747Z] ---> create-netrc.sh [Pipeline] } [2021-10-12T17:10:31.756Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-12T17:10:32.083Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-12T17:10:32.093Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T17:10:32.383Z] ---> sudo-logs.sh [2021-10-12T17:10:32.383Z] Archiving 'sudo' log.. [2021-10-12T17:10:32.383Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-734.novalocal: Name or service not known [2021-10-12T17:10:32.383Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-734.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-12T17:10:32.408Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T17:10:32.709Z] ---> job-cost.sh [2021-10-12T17:10:32.709Z] lf-activate-venv: SKIPPING [2021-10-12T17:10:32.709Z] DEBUG: total: 0.10999999940395355 [2021-10-12T17:10:32.709Z] INFO: Retrieving Stack Cost... [2021-10-12T17:10:33.281Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-12T17:10:33.541Z] INFO: Archiving Costs [Pipeline] echo [2021-10-12T17:10:33.554Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T17:10:33.848Z] ---> logs-deploy.sh [2021-10-12T17:10:33.848Z] lf-activate-venv: SKIPPING [2021-10-12T17:10:33.848Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-88/2 [2021-10-12T17:10:33.848Z] INFO: archiving workspace using pattern(s): [2021-10-12T17:10:34.418Z] Archives upload complete. [2021-10-12T17:10:34.680Z] INFO: archiving logs to Nexus