Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf+bef9f17e4058aad7307e794a3117d9f660d9fe75 (999837e96f0426e93ded73dd2856feea398a6002) 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4327820922820462529.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8062161241424105898.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 144eb70ba3d470a427e699408e811d3f535e987a 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-76/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-76/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7152627471463196730.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh312651244945176214.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-76/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-76/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8759507457956942480.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-registry, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-registry-settings PROJECT: go-mod-registry USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: go-mod-registry DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2079 in /w/workspace/gexfoundry_go-mod-registry_PR-76 [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-76 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_go-mod-registry_PR-76@tmp/jenkins-gitclient-ssh7093407498785969084.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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_go-mod-registry_PR-76@tmp/jenkins-gitclient-ssh6091554367202241346.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bef9f17e4058aad7307e794a3117d9f660d9fe75 into PR head commit 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf Merge succeeded, producing 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf Checking out Revision 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf (PR-76) > git config core.sparsecheckout # timeout=10 > git checkout -f 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_go-mod-registry_PR-76@tmp/jenkins-gitclient-ssh9068400753690375544.key > git merge bef9f17e4058aad7307e794a3117d9f660d9fe75 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf # timeout=10 Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.8.1 to 1.9.1" > git rev-list --no-walk 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-07T10:55:46.234Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-07T10:55:46.330Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-07T10:55:46.359Z] ========================================================= [2021-07-07T10:55:46.359Z] EdgeX Global Pipelines Version Info [2021-07-07T10:55:46.359Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-07T10:55:47.884Z] ------------------- [2021-07-07T10:55:47.884Z] stable info: [2021-07-07T10:55:47.885Z] ------------------- [2021-07-07T10:55:47.885Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-07T10:55:47.885Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T10:55:47.885Z] Message: update stable to v1.0.196 [2021-07-07T10:55:48.460Z] ------------------- [2021-07-07T10:55:48.460Z] experimental info: [2021-07-07T10:55:48.460Z] ------------------- [2021-07-07T10:55:48.460Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-07T10:55:48.460Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T10:55:48.460Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-07T10:55:48.665Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo [2021-07-07T10:55:48.691Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo [2021-07-07T10:55:48.716Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-07T10:55:48.742Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-07T10:55:48.767Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-07T10:55:48.792Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-07T10:55:48.815Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-07T10:55:48.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-07T10:55:48.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-07T10:55:48.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-07T10:55:48.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-07T10:55:48.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo [2021-07-07T10:55:48.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-07T10:55:48.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-07T10:55:49.002Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T10:55:49.026Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T10:55:49.049Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T10:55:49.085Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T10:55:49.132Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-07T10:55:49.160Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-07T10:55:49.195Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-07T10:55:49.221Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-07T10:55:49.247Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-07T10:55:49.274Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-07T10:55:49.308Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-07-07T10:55:49.334Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-07T10:55:49.359Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-76 [Pipeline] echo [2021-07-07T10:55:49.386Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-76 [Pipeline] echo [2021-07-07T10:55:49.414Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-76 [Pipeline] echo [2021-07-07T10:55:49.439Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf [Pipeline] echo [2021-07-07T10:55:49.466Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4963c8d [Pipeline] echo [2021-07-07T10:55:49.492Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T10:55:49.976Z] + git log --format=format:%s -1 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf [Pipeline] echo [2021-07-07T10:55:50.018Z] GIT_COMMIT: 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf, Commit Message: build(deps): Bump github.com/hashicorp/consul/api from 1.8.1 to 1.9.1 [Pipeline] echo [2021-07-07T10:55:50.033Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:55:51.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T10:55:51.351Z] [2021-07-07T10:55:51.351Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:55:51.681Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T10:55:51.681Z] latest: Pulling from edgex-devops/git-semver [2021-07-07T10:55:51.681Z] 31603596830f: Pulling fs layer [2021-07-07T10:55:51.681Z] b6dc333f4379: Pulling fs layer [2021-07-07T10:55:51.681Z] 3d9ef1400e77: Pulling fs layer [2021-07-07T10:55:51.681Z] fd332fbdc1db: Pulling fs layer [2021-07-07T10:55:51.681Z] fd332fbdc1db: Waiting [2021-07-07T10:55:51.681Z] b6dc333f4379: Verifying Checksum [2021-07-07T10:55:51.681Z] b6dc333f4379: Download complete [2021-07-07T10:55:51.942Z] 31603596830f: Verifying Checksum [2021-07-07T10:55:51.942Z] 31603596830f: Download complete [2021-07-07T10:55:52.207Z] fd332fbdc1db: Verifying Checksum [2021-07-07T10:55:52.207Z] fd332fbdc1db: Download complete [2021-07-07T10:55:52.207Z] 3d9ef1400e77: Verifying Checksum [2021-07-07T10:55:52.207Z] 3d9ef1400e77: Download complete [2021-07-07T10:55:52.207Z] 31603596830f: Pull complete [2021-07-07T10:55:52.207Z] b6dc333f4379: Pull complete [2021-07-07T10:55:52.795Z] 3d9ef1400e77: Pull complete [2021-07-07T10:55:53.057Z] fd332fbdc1db: Pull complete [2021-07-07T10:55:53.057Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-07T10:55:53.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T10:55:53.057Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-07T10:55:53.136Z] prd-centos7-docker-4c-2g-2079 does not seem to be running inside a container [2021-07-07T10:55:53.174Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-registry_PR-76 -v /w/workspace/gexfoundry_go-mod-registry_PR-76:/w/workspace/gexfoundry_go-mod-registry_PR-76:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-76@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-07T10:55:54.223Z] $ docker top 16766de14d32d467725efb224b3416557ace8661695bdfffcd3b584ed3254eb7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-07T10:55:54.373Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T10:55:54.374Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T10:55:54.495Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T10:55:54.493Z] $ docker exec 16766de14d32d467725efb224b3416557ace8661695bdfffcd3b584ed3254eb7 ssh-agent [2021-07-07T10:55:54.611Z] SSH_AUTH_SOCK=/tmp/ssh-00c2XGS3B2Yu/agent.15 [2021-07-07T10:55:54.611Z] SSH_AGENT_PID=21 [2021-07-07T10:55:54.619Z] Running ssh-add (command line suppressed) [2021-07-07T10:55:54.721Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-76@tmp/private_key_2499642732171790254.key (/w/workspace/gexfoundry_go-mod-registry_PR-76@tmp/private_key_2499642732171790254.key) [2021-07-07T10:55:54.743Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T10:55:55.049Z] + git tag --points-at HEAD [Pipeline] } [2021-07-07T10:55:55.059Z] $ docker exec --env ******** --env ******** 16766de14d32d467725efb224b3416557ace8661695bdfffcd3b584ed3254eb7 ssh-agent -k [2021-07-07T10:55:55.159Z] unset SSH_AUTH_SOCK; [2021-07-07T10:55:55.159Z] unset SSH_AGENT_PID; [2021-07-07T10:55:55.160Z] echo Agent pid 21 killed; [2021-07-07T10:55:55.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-07T10:55:55.214Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T10:55:55.214Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T10:55:55.324Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T10:55:55.322Z] $ docker exec 16766de14d32d467725efb224b3416557ace8661695bdfffcd3b584ed3254eb7 ssh-agent [2021-07-07T10:55:55.428Z] SSH_AUTH_SOCK=/tmp/ssh-sSnTind8Hmtb/agent.53 [2021-07-07T10:55:55.428Z] SSH_AGENT_PID=59 [2021-07-07T10:55:55.435Z] Running ssh-add (command line suppressed) [2021-07-07T10:55:55.528Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-76@tmp/private_key_4440596030883536801.key (/w/workspace/gexfoundry_go-mod-registry_PR-76@tmp/private_key_4440596030883536801.key) [2021-07-07T10:55:55.549Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T10:55:55.851Z] + git semver init [2021-07-07T10:55:55.851Z] # -> Open(): unable to determine branch for HEAD [2021-07-07T10:55:55.851Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-76/.git [2021-07-07T10:55:55.851Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-76 [2021-07-07T10:55:55.851Z] # $SEMVER_REMOTE_NAME = origin [2021-07-07T10:55:55.851Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-07T10:55:55.851Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-07T10:55:55.851Z] # $SEMVER_BRANCH = PR-76 [2021-07-07T10:55:55.851Z] # $SEMVER_TEMP = /tmp/semver-864267539 [2021-07-07T10:55:55.851Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP [2021-07-07T10:55:56.112Z] # '/tmp/semver-864267539' -> '/w/workspace/gexfoundry_go-mod-registry_PR-76/.semver' [2021-07-07T10:55:56.112Z] # -> Force: false [2021-07-07T10:55:56.112Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-76/.semver [Pipeline] } [2021-07-07T10:55:56.118Z] $ docker exec --env ******** --env ******** 16766de14d32d467725efb224b3416557ace8661695bdfffcd3b584ed3254eb7 ssh-agent -k [2021-07-07T10:55:56.217Z] unset SSH_AUTH_SOCK; [2021-07-07T10:55:56.217Z] unset SSH_AGENT_PID; [2021-07-07T10:55:56.217Z] echo Agent pid 59 killed; [2021-07-07T10:55:56.235Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-07T10:55:56.567Z] + git semver [Pipeline] } [2021-07-07T10:55:56.580Z] $ docker stop --time=1 16766de14d32d467725efb224b3416557ace8661695bdfffcd3b584ed3254eb7 [2021-07-07T10:55:58.006Z] $ docker rm -f 16766de14d32d467725efb224b3416557ace8661695bdfffcd3b584ed3254eb7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T10:55:58.423Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-07T10:55:58.729Z] Stashed 1 file(s) [Pipeline] echo [2021-07-07T10:55:58.733Z] [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-07-07T10:56:13.992Z] Still waiting to schedule task [2021-07-07T10:56:13.993Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-07T10:56:13.995Z] Still waiting to schedule task [2021-07-07T10:56:13.996Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2077’ is offline [2021-07-07T10:58:24.040Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2080 in /w/workspace/gexfoundry_go-mod-registry_PR-76 [Pipeline] { [Pipeline] ws [2021-07-07T10:58:24.062Z] Running in /w/workspace/go-mod-registry/2 [Pipeline] { [Pipeline] checkout [2021-07-07T10:58:24.283Z] Selected Git installation does not exist. Using Default [2021-07-07T10:58:24.283Z] The recommended git tool is: NONE [2021-07-07T10:58:29.899Z] using credential edgex-jenkins-ssh [2021-07-07T10:58:29.917Z] Cloning the remote Git repository [2021-07-07T10:58:29.956Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2021-07-07T10:58:30.061Z] > git init /w/workspace/go-mod-registry/2 # timeout=10 [2021-07-07T10:58:30.130Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-07-07T10:58:30.131Z] > git --version # timeout=10 [2021-07-07T10:58:30.151Z] > git --version # 'git version 2.17.1' [2021-07-07T10:58:30.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T10:58:30.230Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T10:58:31.039Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-07-07T10:58:31.058Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T10:58:31.097Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-07-07T10:58:31.133Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-07-07T10:58:31.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T10:58:31.146Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-07T10:58:31.642Z] Merging remotes/origin/main commit bef9f17e4058aad7307e794a3117d9f660d9fe75 into PR head commit 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf [2021-07-07T10:58:31.856Z] Merge succeeded, producing 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf [2021-07-07T10:58:31.857Z] Checking out Revision 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf (PR-76) [2021-07-07T10:58:31.655Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T10:58:31.676Z] > git checkout -f 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf # timeout=10 [2021-07-07T10:58:31.754Z] > git remote # timeout=10 [2021-07-07T10:58:31.775Z] > git config --get remote.origin.url # timeout=10 [2021-07-07T10:58:31.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T10:58:31.810Z] > git merge bef9f17e4058aad7307e794a3117d9f660d9fe75 # timeout=10 [2021-07-07T10:58:31.834Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-07T10:58:31.856Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T10:58:31.865Z] > git checkout -f 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf # timeout=10 [2021-07-07T10:58:36.161Z] Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.8.1 to 1.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T10:58:37.770Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-07T10:58:38.203Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T10:58:38.553Z] + sudo service docker restart [2021-07-07T10:58:38.553Z] + true [Pipeline] unstash [Pipeline] echo [2021-07-07T10:58:57.141Z] ========================================================= [2021-07-07T10:58:57.141Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-07T10:58:57.141Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:58:57.495Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-07T10:58:58.479Z] Sending build context to Docker daemon 332.3kB [2021-07-07T10:58:58.479Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-07-07T10:58:58.479Z] Step 2/7 : FROM ${BASE} [2021-07-07T10:58:58.753Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-07T10:58:58.753Z] 595b0fe564bb: Pulling fs layer [2021-07-07T10:58:58.753Z] 3088b5b3c5c0: Pulling fs layer [2021-07-07T10:58:58.753Z] 5b7225fbf94c: Pulling fs layer [2021-07-07T10:58:58.753Z] ba82ee9f976e: Pulling fs layer [2021-07-07T10:58:58.753Z] 506bd15cee9f: Pulling fs layer [2021-07-07T10:58:58.753Z] 75a0a4a0db45: Pulling fs layer [2021-07-07T10:58:58.753Z] 618dc40b7e24: Pulling fs layer [2021-07-07T10:58:58.753Z] ba82ee9f976e: Waiting [2021-07-07T10:58:58.753Z] 75a0a4a0db45: Waiting [2021-07-07T10:58:58.753Z] 618dc40b7e24: Waiting [2021-07-07T10:58:58.753Z] 506bd15cee9f: Waiting [2021-07-07T10:58:58.753Z] 5b7225fbf94c: Verifying Checksum [2021-07-07T10:58:58.753Z] 5b7225fbf94c: Download complete [2021-07-07T10:58:58.753Z] 3088b5b3c5c0: Download complete [2021-07-07T10:58:59.029Z] 506bd15cee9f: Verifying Checksum [2021-07-07T10:58:59.029Z] 506bd15cee9f: Download complete [2021-07-07T10:58:59.029Z] 75a0a4a0db45: Verifying Checksum [2021-07-07T10:58:59.029Z] 75a0a4a0db45: Download complete [2021-07-07T10:58:59.029Z] 595b0fe564bb: Verifying Checksum [2021-07-07T10:58:59.029Z] 595b0fe564bb: Download complete [2021-07-07T10:58:59.631Z] 595b0fe564bb: Pull complete [2021-07-07T10:59:00.236Z] 3088b5b3c5c0: Pull complete [2021-07-07T10:59:00.524Z] 5b7225fbf94c: Pull complete [2021-07-07T10:59:01.504Z] 618dc40b7e24: Verifying Checksum [2021-07-07T10:59:01.504Z] 618dc40b7e24: Download complete [2021-07-07T10:59:02.939Z] ba82ee9f976e: Verifying Checksum [2021-07-07T10:59:02.939Z] ba82ee9f976e: Download complete [2021-07-07T10:59:13.127Z] ba82ee9f976e: Pull complete [2021-07-07T10:59:13.127Z] 506bd15cee9f: Pull complete [2021-07-07T10:59:13.127Z] 75a0a4a0db45: Pull complete [2021-07-07T10:59:17.446Z] 618dc40b7e24: Pull complete [2021-07-07T10:59:17.446Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-07T10:59:17.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-07T10:59:17.446Z] ---> a36622ca3599 [2021-07-07T10:59:17.446Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-07T10:59:18.884Z] ---> Running in 5ccfafa5edcf [2021-07-07T10:59:19.483Z] Removing intermediate container 5ccfafa5edcf [2021-07-07T10:59:19.483Z] ---> 15e3a3f1c8cc [2021-07-07T10:59:19.483Z] Step 4/7 : RUN apk add --update bash [2021-07-07T10:59:19.483Z] ---> Running in 6cb11db793de [2021-07-07T10:59:20.923Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-07T10:59:21.900Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-07T10:59:23.517Z] Running on prd-centos7-docker-4c-2g-2081 in /w/workspace/gexfoundry_go-mod-registry_PR-76 [Pipeline] { [Pipeline] ws [2021-07-07T10:59:23.543Z] Running in /w/workspace/go-mod-registry/2 [Pipeline] { [Pipeline] checkout [2021-07-07T10:59:23.651Z] Selected Git installation does not exist. Using Default [2021-07-07T10:59:23.651Z] The recommended git tool is: NONE [2021-07-07T10:59:23.881Z] OK: 138 MiB in 40 packages [2021-07-07T10:59:24.491Z] Removing intermediate container 6cb11db793de [2021-07-07T10:59:24.491Z] ---> 54d74f6b66c5 [2021-07-07T10:59:24.491Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-07-07T10:59:24.765Z] ---> Running in c50925a2ae6c [2021-07-07T10:59:25.464Z] Removing intermediate container c50925a2ae6c [2021-07-07T10:59:25.464Z] ---> 826cc57d3099 [2021-07-07T10:59:25.464Z] Step 6/7 : COPY go.mod . [2021-07-07T10:59:26.010Z] using credential edgex-jenkins-ssh [2021-07-07T10:59:26.028Z] Cloning the remote Git repository [2021-07-07T10:59:26.063Z] ---> bbfcfcdb188e [2021-07-07T10:59:26.064Z] Step 7/7 : RUN go mod download [2021-07-07T10:59:26.344Z] ---> Running in 009a2f08472e [2021-07-07T10:59:26.050Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2021-07-07T10:59:26.122Z] > git init /w/workspace/go-mod-registry/2 # timeout=10 [2021-07-07T10:59:26.151Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-07-07T10:59:26.151Z] > git --version # timeout=10 [2021-07-07T10:59:26.161Z] > git --version # 'git version 2.24.4' [2021-07-07T10:59:26.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T10:59:26.220Z] [INFO] Currently running in a labeled security context [2021-07-07T10:59:26.220Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T10:59:26.220Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/2@tmp/jenkins-gitclient-ssh6189284511618426091.key [2021-07-07T10:59:26.281Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T10:59:26.819Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-07-07T10:59:26.833Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T10:59:26.848Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-07-07T10:59:26.861Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-07-07T10:59:26.861Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T10:59:26.862Z] [INFO] Currently running in a labeled security context [2021-07-07T10:59:26.862Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T10:59:26.862Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/2@tmp/jenkins-gitclient-ssh5964198749452899340.key [2021-07-07T10:59:26.872Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-07T10:59:27.270Z] Merging remotes/origin/main commit bef9f17e4058aad7307e794a3117d9f660d9fe75 into PR head commit 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf [2021-07-07T10:59:27.363Z] Merge succeeded, producing 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf [2021-07-07T10:59:27.364Z] Checking out Revision 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf (PR-76) [2021-07-07T10:59:27.277Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T10:59:27.282Z] > git checkout -f 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf # timeout=10 [2021-07-07T10:59:27.311Z] > git remote # timeout=10 [2021-07-07T10:59:27.317Z] > git config --get remote.origin.url # timeout=10 [2021-07-07T10:59:27.329Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T10:59:27.330Z] [INFO] Currently running in a labeled security context [2021-07-07T10:59:27.330Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T10:59:27.330Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-registry/2@tmp/jenkins-gitclient-ssh4716985612250134111.key [2021-07-07T10:59:27.339Z] > git merge bef9f17e4058aad7307e794a3117d9f660d9fe75 # timeout=10 [2021-07-07T10:59:27.349Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-07T10:59:27.365Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T10:59:27.371Z] > git checkout -f 4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf # timeout=10 [2021-07-07T10:59:31.061Z] Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.8.1 to 1.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T10:59:32.020Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-07T10:59:32.343Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T10:59:32.652Z] + sudo service docker restart [2021-07-07T10:59:32.652Z] + true [2021-07-07T10:59:32.652Z] Redirecting to /bin/systemctl restart docker.service [2021-07-07T10:59:44.659Z] Removing intermediate container 009a2f08472e [2021-07-07T10:59:44.659Z] ---> 5aeb55a0e32f [2021-07-07T10:59:44.659Z] Successfully built 5aeb55a0e32f [2021-07-07T10:59:44.659Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:59:45.006Z] + docker inspect -f . ci-base-image-arm64 [2021-07-07T10:59:45.006Z] . [Pipeline] withDockerContainer [2021-07-07T10:59:45.276Z] prd-ubuntu18.04-docker-arm64-4c-16g-2080 does not seem to be running inside a container [2021-07-07T10:59:45.364Z] $ 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 ******** ci-base-image-arm64 cat [2021-07-07T10:59:46.985Z] $ docker top a27e389edb909030f49e2e2bbba539ff169946e3470c051d8f16ae11524e0dd2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T10:59:47.969Z] + go version [2021-07-07T10:59:47.969Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-07T10:59:48.009Z] $ docker stop --time=1 a27e389edb909030f49e2e2bbba539ff169946e3470c051d8f16ae11524e0dd2 [2021-07-07T10:59:49.820Z] $ docker rm -f a27e389edb909030f49e2e2bbba539ff169946e3470c051d8f16ae11524e0dd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:59:50.705Z] + docker inspect -f . ci-base-image-arm64 [2021-07-07T10:59:50.705Z] . [Pipeline] withDockerContainer [2021-07-07T10:59:50.964Z] prd-ubuntu18.04-docker-arm64-4c-16g-2080 does not seem to be running inside a container [2021-07-07T10:59:51.059Z] $ 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 ******** ci-base-image-arm64 cat [2021-07-07T10:59:52.717Z] $ docker top ae0a9f38cab43dd9091cf136032366253b26fddfdcd1afc41d4a66504ca057a1 -eo pid,comm [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] echo [2021-07-07T10:59:53.173Z] ========================================================= [2021-07-07T10:59:53.174Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-07T10:59:53.174Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T10:59:53.543Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-07T10:59:53.722Z] + go mod tidy [Pipeline] sh [2021-07-07T10:59:54.661Z] + make test [2021-07-07T10:59:54.662Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-07T10:59:54.885Z] Sending build context to Docker daemon 333.3kB [2021-07-07T10:59:54.885Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-07-07T10:59:54.885Z] Step 2/7 : FROM ${BASE} [2021-07-07T10:59:54.885Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-07T10:59:54.885Z] 540db60ca938: Pulling fs layer [2021-07-07T10:59:54.885Z] adcc1eea9eea: Pulling fs layer [2021-07-07T10:59:54.885Z] 4c4ab2625f07: Pulling fs layer [2021-07-07T10:59:54.885Z] 0510c868ecb4: Pulling fs layer [2021-07-07T10:59:54.885Z] afea3b2eda06: Pulling fs layer [2021-07-07T10:59:54.885Z] 7809a108b3ef: Pulling fs layer [2021-07-07T10:59:54.885Z] f706445af74f: Pulling fs layer [2021-07-07T10:59:54.885Z] afea3b2eda06: Waiting [2021-07-07T10:59:54.885Z] 7809a108b3ef: Waiting [2021-07-07T10:59:54.885Z] f706445af74f: Waiting [2021-07-07T10:59:54.885Z] 0510c868ecb4: Waiting [2021-07-07T10:59:54.885Z] 4c4ab2625f07: Download complete [2021-07-07T10:59:54.885Z] adcc1eea9eea: Verifying Checksum [2021-07-07T10:59:54.885Z] adcc1eea9eea: Download complete [2021-07-07T10:59:54.885Z] afea3b2eda06: Verifying Checksum [2021-07-07T10:59:54.885Z] afea3b2eda06: Download complete [2021-07-07T10:59:54.885Z] 7809a108b3ef: Verifying Checksum [2021-07-07T10:59:54.885Z] 7809a108b3ef: Download complete [2021-07-07T10:59:54.885Z] 540db60ca938: Verifying Checksum [2021-07-07T10:59:54.885Z] 540db60ca938: Download complete [2021-07-07T10:59:55.833Z] 540db60ca938: Pull complete [2021-07-07T10:59:56.099Z] adcc1eea9eea: Pull complete [2021-07-07T10:59:56.362Z] 4c4ab2625f07: Pull complete [2021-07-07T10:59:57.312Z] f706445af74f: Verifying Checksum [2021-07-07T10:59:57.313Z] f706445af74f: Download complete [2021-07-07T10:59:58.703Z] 0510c868ecb4: Download complete [2021-07-07T11:00:05.493Z] 0510c868ecb4: Pull complete [2021-07-07T11:00:05.494Z] afea3b2eda06: Pull complete [2021-07-07T11:00:05.759Z] 7809a108b3ef: Pull complete [2021-07-07T11:00:07.689Z] f706445af74f: Pull complete [2021-07-07T11:00:07.689Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-07T11:00:07.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-07T11:00:07.951Z] ---> b068be0155e3 [2021-07-07T11:00:07.951Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-07T11:00:27.043Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.129s coverage: 88.8% of statements [2021-07-07T11:00:27.044Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-07-07T11:00:27.044Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.021s coverage: 85.7% of statements [2021-07-07T11:00:27.044Z] ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] [2021-07-07T11:00:27.044Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-07T11:00:29.946Z] ---> Running in 481e5fa77453 [2021-07-07T11:00:29.946Z] Removing intermediate container 481e5fa77453 [2021-07-07T11:00:29.946Z] ---> 9073fb03bfff [2021-07-07T11:00:29.946Z] Step 4/7 : RUN apk add --update bash [2021-07-07T11:00:29.946Z] ---> Running in fcc333c7d8fb [2021-07-07T11:00:29.946Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-07T11:00:30.518Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-07T11:00:31.092Z] OK: 149 MiB in 40 packages [2021-07-07T11:00:32.034Z] Removing intermediate container fcc333c7d8fb [2021-07-07T11:00:32.034Z] ---> 2306b69d6d98 [2021-07-07T11:00:32.034Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-07-07T11:00:32.300Z] ---> Running in 1a5a4dace621 [2021-07-07T11:00:32.562Z] Removing intermediate container 1a5a4dace621 [2021-07-07T11:00:32.562Z] ---> aea5927abce7 [2021-07-07T11:00:32.562Z] Step 6/7 : COPY go.mod . [2021-07-07T11:00:32.824Z] ---> 78ec1625ddfa [2021-07-07T11:00:32.825Z] Step 7/7 : RUN go mod download [2021-07-07T11:00:33.085Z] ---> Running in 862867bb6468 [2021-07-07T11:00:45.366Z] gofmt -l . [2021-07-07T11:00:45.366Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-07T11:00:45.394Z] $ docker stop --time=1 ae0a9f38cab43dd9091cf136032366253b26fddfdcd1afc41d4a66504ca057a1 [2021-07-07T11:00:47.315Z] $ docker rm -f ae0a9f38cab43dd9091cf136032366253b26fddfdcd1afc41d4a66504ca057a1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T11:00:48.069Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-07T11:00:48.605Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-07T11:00:49.456Z] ---> job-cost.sh [2021-07-07T11:00:49.456Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-g4q6 [2021-07-07T11:00:55.073Z] Removing intermediate container 862867bb6468 [2021-07-07T11:00:55.073Z] ---> 69a3c56b60b6 [2021-07-07T11:00:55.073Z] Successfully built 69a3c56b60b6 [2021-07-07T11:00:55.073Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T11:00:55.411Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-07T11:00:55.411Z] . [Pipeline] withDockerContainer [2021-07-07T11:00:55.499Z] prd-centos7-docker-4c-2g-2081 does not seem to be running inside a container [2021-07-07T11:00:55.544Z] $ 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 ******** ci-base-image-x86_64 cat [2021-07-07T11:00:56.497Z] $ docker top a384380f1fbf84532a762e73a8d2bc5f8e3787a897233c7afe2087dabf10454f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T11:00:56.953Z] + go version [2021-07-07T11:00:56.953Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-07T11:00:56.961Z] $ docker stop --time=1 a384380f1fbf84532a762e73a8d2bc5f8e3787a897233c7afe2087dabf10454f [2021-07-07T11:00:58.443Z] $ docker rm -f a384380f1fbf84532a762e73a8d2bc5f8e3787a897233c7afe2087dabf10454f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-07T11:01:00.407Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-07T11:01:00.407Z] . [Pipeline] withDockerContainer [2021-07-07T11:01:00.491Z] prd-centos7-docker-4c-2g-2081 does not seem to be running inside a container [2021-07-07T11:01:00.532Z] $ 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 ******** ci-base-image-x86_64 cat [2021-07-07T11:01:01.421Z] $ docker top a9e5f1f43f0748f2d34c98ab834444bf8c79e8dc371c10f59637d2498fdcb929 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T11:01:01.819Z] + go mod tidy [Pipeline] sh [2021-07-07T11:01:02.679Z] + make test [2021-07-07T11:01:02.679Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-07T11:01:18.171Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.016s coverage: 88.8% of statements [2021-07-07T11:01:18.171Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-07-07T11:01:18.171Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.005s coverage: 85.7% of statements [2021-07-07T11:01:18.171Z] ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] [2021-07-07T11:01:18.171Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-07T11:01:24.815Z] gofmt -l . [2021-07-07T11:01:24.815Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-07T11:01:24.826Z] $ docker stop --time=1 a9e5f1f43f0748f2d34c98ab834444bf8c79e8dc371c10f59637d2498fdcb929 [2021-07-07T11:01:28.459Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-07T11:01:30.213Z] $ docker rm -f a9e5f1f43f0748f2d34c98ab834444bf8c79e8dc371c10f59637d2498fdcb929 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T11:01:30.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-07T11:01:30.669Z] Warning: overwriting stash ‘coverage-report’ [2021-07-07T11:01:30.846Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-07T11:01:31.810Z] ---> job-cost.sh [2021-07-07T11:01:31.811Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-R8Ca [2021-07-07T11:01:49.960Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-07T11:02:22.142Z] lf-activate-venv(): INFO: Adding /tmp/venv-R8Ca/bin to PATH [2021-07-07T11:02:22.142Z] INFO: No Stack... [2021-07-07T11:02:22.142Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-07T11:02:22.142Z] INFO: Archiving Costs [Pipeline] sh [2021-07-07T11:02:22.628Z] + cut -d, -f6 [2021-07-07T11:02:22.628Z] + cat /w/workspace/go-mod-registry/2/archives/cost.csv [Pipeline] lock [2021-07-07T11:02:22.662Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-76-2-stack-cost] [2021-07-07T11:02:22.671Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-76-2-stack-cost] did not exist. Created. [2021-07-07T11:02:22.671Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-76-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-07T11:02:23.034Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-07T11:02:23.118Z] Stashed 1 file(s) [Pipeline] } [2021-07-07T11:02:23.136Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-76-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-07T11:02:50.214Z] lf-activate-venv(): INFO: Adding /tmp/venv-g4q6/bin to PATH [2021-07-07T11:02:50.214Z] INFO: No Stack... [2021-07-07T11:02:50.214Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-07T11:02:50.214Z] INFO: Archiving Costs [Pipeline] sh [2021-07-07T11:02:50.558Z] + + cutcat -d, /w/workspace/go-mod-registry/2/archives/cost.csv -f6 [2021-07-07T11:02:50.558Z] [Pipeline] lock [2021-07-07T11:02:50.623Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-76-2-stack-cost] [2021-07-07T11:02:50.630Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-76-2-stack-cost] did not exist. Created. [2021-07-07T11:02:50.630Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-76-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-07T11:02:51.001Z] /w/workspace/go-mod-registry/2@tmp/durable-1adca3f7/script.sh: 1: /w/workspace/go-mod-registry/2@tmp/durable-1adca3f7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-07T11:02:51.348Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-07T11:02:51.368Z] Warning: overwriting stash ‘stack-cost’ [2021-07-07T11:02:51.512Z] Stashed 1 file(s) [Pipeline] } [2021-07-07T11:02:51.527Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-76-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-07-07T11:02:52.091Z] provisioning config files... [2021-07-07T11:02:52.108Z] copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-76@tmp/config4808707338896665600tmp [Pipeline] { [Pipeline] sh [2021-07-07T11:02:52.448Z] + set +x [2021-07-07T11:02:52.448Z] + bash -s -- [2021-07-07T11:02:52.448Z] + curl -s https://codecov.io/bash [2021-07-07T11:02:52.448Z] [2021-07-07T11:02:52.448Z] _____ _ [2021-07-07T11:02:52.448Z] / ____| | | [2021-07-07T11:02:52.448Z] | | ___ __| | ___ ___ _____ __ [2021-07-07T11:02:52.448Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-07T11:02:52.448Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-07T11:02:52.448Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-07T11:02:52.448Z] Bash-1.0.3 [2021-07-07T11:02:52.448Z] [2021-07-07T11:02:52.448Z] [2021-07-07T11:02:52.448Z] ==> git version 2.24.4 found [2021-07-07T11:02:52.448Z] ==> 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-07-07T11:02:52.448Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-07T11:02:52.448Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-07T11:02:52.448Z] ==> Jenkins CI detected. [2021-07-07T11:02:52.448Z] project root: . [2021-07-07T11:02:52.448Z] --> token set from env [2021-07-07T11:02:52.448Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-07T11:02:52.714Z] ==> Running gcov in . (disable via -X gcov) [2021-07-07T11:02:52.714Z] ==> Python coveragepy not found [2021-07-07T11:02:52.714Z] ==> Searching for coverage reports in: [2021-07-07T11:02:52.714Z] + . [2021-07-07T11:02:52.714Z] -> Found 1 reports [2021-07-07T11:02:52.714Z] ==> Detecting git/mercurial file structure [2021-07-07T11:02:52.714Z] ==> Reading reports [2021-07-07T11:02:52.714Z] + ./coverage.out bytes=9746 [2021-07-07T11:02:52.714Z] ==> Appending adjustments [2021-07-07T11:02:52.714Z] https://docs.codecov.io/docs/fixing-reports [2021-07-07T11:02:52.714Z] + Found adjustments [2021-07-07T11:02:52.714Z] ==> Gzipping contents [2021-07-07T11:02:52.714Z] 4.0K /tmp/codecov.4NfgPc.gz [2021-07-07T11:02:52.714Z] ==> Uploading reports [2021-07-07T11:02:52.714Z] url: https://codecov.io [2021-07-07T11:02:52.714Z] query: branch=PR-76&commit=4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-76%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=76&job=&cmd_args= [2021-07-07T11:02:52.714Z] -> Pinging Codecov [2021-07-07T11:02:52.714Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-76&commit=4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-76%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=76&job=&cmd_args= [2021-07-07T11:02:53.288Z] -> Uploading to [2021-07-07T11:02:53.288Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-07/05B643FFA8DEACB6C25F95B2D4D12284/4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf/627286b2-de69-4902-b92b-99420be8408e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210707T110252Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e397c8f87b78d3ae7bfb74c9c7461d0d2fdae1e21cdd14fa4e2040034b439a03 [2021-07-07T11:02:53.288Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-07T11:02:53.288Z] Dload Upload Total Spent Left Speed [2021-07-07T11:02:53.549Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1975 0 0 100 1975 0 4599 --:--:-- --:--:-- --:--:-- 4593 100 1975 0 0 100 1975 0 4597 --:--:-- --:--:-- --:--:-- 4593 [2021-07-07T11:02:53.549Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/4963c8d49f486ae43e566a1f538bf3f0f0cd6ccf [Pipeline] } [2021-07-07T11:02:53.558Z] 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] libraryResource [Pipeline] sh [2021-07-07T11:02:55.090Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T11:02:55.661Z] ---> package-listing.sh [2021-07-07T11:02:55.661Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-07T11:02:55.661Z] ++ facter osfamily [2021-07-07T11:02:55.929Z] + OS_FAMILY=redhat [2021-07-07T11:02:55.929Z] + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-76 [2021-07-07T11:02:55.929Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-07T11:02:55.929Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-07T11:02:55.929Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-07T11:02:55.929Z] + PACKAGES=/tmp/packages_start.txt [2021-07-07T11:02:55.929Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-76 ']' [2021-07-07T11:02:55.929Z] + PACKAGES=/tmp/packages_end.txt [2021-07-07T11:02:55.929Z] + case "${OS_FAMILY}" in [2021-07-07T11:02:55.929Z] + rpm -qa [2021-07-07T11:02:55.929Z] + sort [2021-07-07T11:02:56.501Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-07T11:02:56.501Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-07T11:02:56.501Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-07T11:02:56.501Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-76 ']' [2021-07-07T11:02:56.501Z] + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-76/archives/ [2021-07-07T11:02:56.501Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-registry_PR-76/archives/ [Pipeline] echo [2021-07-07T11:02:56.514Z] 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-76/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-07T11:02:56.812Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-07T11:02:57.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T11:02:57.378Z] [2021-07-07T11:02:57.378Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-07T11:02:57.692Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T11:02:57.693Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-07T11:02:57.693Z] df20fa9351a1: Pulling fs layer [2021-07-07T11:02:57.693Z] 36b3adc4ff6f: Pulling fs layer [2021-07-07T11:02:57.693Z] 8ad3a11d3b57: Pulling fs layer [2021-07-07T11:02:57.693Z] 46f8f816bc3b: Pulling fs layer [2021-07-07T11:02:57.693Z] 93b61091891f: Pulling fs layer [2021-07-07T11:02:57.693Z] 93b9cdb0e59b: Pulling fs layer [2021-07-07T11:02:57.693Z] 5e14af77c1be: Pulling fs layer [2021-07-07T11:02:57.693Z] 01666e4c0597: Pulling fs layer [2021-07-07T11:02:57.693Z] aa168da1d23b: Pulling fs layer [2021-07-07T11:02:57.693Z] 46f8f816bc3b: Waiting [2021-07-07T11:02:57.693Z] 93b61091891f: Waiting [2021-07-07T11:02:57.693Z] 93b9cdb0e59b: Waiting [2021-07-07T11:02:57.693Z] aa168da1d23b: Waiting [2021-07-07T11:02:57.693Z] 5e14af77c1be: Waiting [2021-07-07T11:02:57.693Z] 01666e4c0597: Waiting [2021-07-07T11:02:57.693Z] 36b3adc4ff6f: Verifying Checksum [2021-07-07T11:02:57.693Z] 36b3adc4ff6f: Download complete [2021-07-07T11:02:57.693Z] 46f8f816bc3b: Verifying Checksum [2021-07-07T11:02:57.693Z] 46f8f816bc3b: Download complete [2021-07-07T11:02:57.956Z] df20fa9351a1: Verifying Checksum [2021-07-07T11:02:57.956Z] df20fa9351a1: Download complete [2021-07-07T11:02:57.956Z] 93b9cdb0e59b: Verifying Checksum [2021-07-07T11:02:57.956Z] 93b9cdb0e59b: Download complete [2021-07-07T11:02:57.956Z] 93b61091891f: Verifying Checksum [2021-07-07T11:02:57.956Z] 93b61091891f: Download complete [2021-07-07T11:02:57.956Z] 5e14af77c1be: Verifying Checksum [2021-07-07T11:02:57.956Z] 5e14af77c1be: Download complete [2021-07-07T11:02:57.956Z] 01666e4c0597: Verifying Checksum [2021-07-07T11:02:57.956Z] 01666e4c0597: Download complete [2021-07-07T11:02:57.956Z] 8ad3a11d3b57: Verifying Checksum [2021-07-07T11:02:57.956Z] 8ad3a11d3b57: Download complete [2021-07-07T11:02:58.220Z] df20fa9351a1: Pull complete [2021-07-07T11:02:58.220Z] 36b3adc4ff6f: Pull complete [2021-07-07T11:02:59.170Z] 8ad3a11d3b57: Pull complete [2021-07-07T11:02:59.432Z] 46f8f816bc3b: Pull complete [2021-07-07T11:02:59.694Z] 93b61091891f: Pull complete [2021-07-07T11:02:59.694Z] aa168da1d23b: Verifying Checksum [2021-07-07T11:02:59.694Z] aa168da1d23b: Download complete [2021-07-07T11:02:59.960Z] 93b9cdb0e59b: Pull complete [2021-07-07T11:02:59.960Z] 5e14af77c1be: Pull complete [2021-07-07T11:03:00.223Z] 01666e4c0597: Pull complete [2021-07-07T11:03:04.483Z] aa168da1d23b: Pull complete [2021-07-07T11:03:04.483Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-07T11:03:04.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T11:03:04.483Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-07T11:03:04.565Z] prd-centos7-docker-4c-2g-2079 does not seem to be running inside a container [2021-07-07T11:03:04.603Z] $ 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-76/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-76 -v /w/workspace/gexfoundry_go-mod-registry_PR-76:/w/workspace/gexfoundry_go-mod-registry_PR-76:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-76@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-76@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-07T11:03:06.947Z] $ docker top e8939c72ee3c8718306c53cbc57a0323fd249cc30093c4e03c129533fc208916 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T11:03:07.334Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-07T11:03:07.645Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-07T11:03:07.937Z] + ls /var/log/sa-host [2021-07-07T11:03:07.937Z] + sadf -c /var/log/sa-host/sa05 [2021-07-07T11:03:07.937Z] file_magic: OK [2021-07-07T11:03:07.937Z] HZ: Using current value: 100 [2021-07-07T11:03:07.937Z] file_header: OK [2021-07-07T11:03:07.938Z] 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-07-07T11:03:07.938Z] Statistics: [2021-07-07T11:03:07.938Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-07T11:03:07.938Z] File successfully converted to sysstat format version 12.2.1 [2021-07-07T11:03:07.938Z] + sadf -c /var/log/sa-host/sa07 [2021-07-07T11:03:07.938Z] file_magic: OK [2021-07-07T11:03:07.938Z] HZ: Using current value: 100 [2021-07-07T11:03:07.938Z] file_header: OK [2021-07-07T11:03:07.938Z] 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-07-07T11:03:07.938Z] Statistics: [2021-07-07T11:03:07.938Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-07T11:03:07.938Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T11:03:08.136Z] provisioning config files... [2021-07-07T11:03:08.154Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-76@tmp/config2151103686969327254tmp [Pipeline] { [Pipeline] echo [2021-07-07T11:03:08.177Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T11:03:08.484Z] ---> create-netrc.sh [Pipeline] } [2021-07-07T11:03:08.493Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-07T11:03:08.912Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-07T11:03:08.924Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T11:03:09.217Z] ---> sudo-logs.sh [2021-07-07T11:03:09.218Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-07T11:03:09.251Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T11:03:09.545Z] ---> job-cost.sh [2021-07-07T11:03:09.545Z] lf-activate-venv: SKIPPING [2021-07-07T11:03:09.545Z] DEBUG: total: 0.18000000715255737 [2021-07-07T11:03:09.545Z] INFO: Retrieving Stack Cost... [2021-07-07T11:03:10.488Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-07T11:03:10.750Z] INFO: Archiving Costs [Pipeline] echo [2021-07-07T11:03:10.767Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T11:03:11.076Z] ---> logs-deploy.sh [2021-07-07T11:03:11.076Z] lf-activate-venv: SKIPPING [2021-07-07T11:03:11.076Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-76/2 [2021-07-07T11:03:11.076Z] INFO: archiving workspace using pattern(s): [2021-07-07T11:03:12.021Z] Archives upload complete. [2021-07-07T11:03:12.021Z] INFO: archiving logs to Nexus