Pull request #68 opened Connecting to https://api.github.com using edgex-jenkins/****** (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 8aa7894719ecdfbaa1cf3d5bc1870b8855708099+03888b01b35f22c0aa8a62f87720f38b8993b4ce (be8918c7cf1a3e7d7adc567e841f184da2c1f198) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f82e9360b4159668f7e3e090307a6179e9a8e48d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 f82e9360b4159668f7e3e090307a6179e9a8e48d using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-68/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-68/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d 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:patch] ========================================================= [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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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: patch BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-20581 in /w/workspace/gexfoundry_go-mod-registry_PR-68 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-68 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 Merging remotes/origin/master commit 03888b01b35f22c0aa8a62f87720f38b8993b4ce into PR head commit 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 Merge succeeded, producing 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 Checking out Revision 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 (PR-68) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 03888b01b35f22c0aa8a62f87720f38b8993b4ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 # timeout=10 Commit message: "refactor: Make module a V2 Go module" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:58:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:58:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:58:01 ========================================================= 18:58:01 EdgeX Global Pipelines Version Info 18:58:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:58:03 ------------------- 18:58:03 stable info: 18:58:03 ------------------- 18:58:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:58:03 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 18:58:03 Message: update stable to v1.0.177 18:58:04 ------------------- 18:58:04 experimental info: 18:58:04 ------------------- 18:58:04 Commited By: **** collab-it+edgex@linuxfoundation.org 18:58:04 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 18:58:04 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:58:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo 18:58:04 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo 18:58:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:58:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:58:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:58:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:58:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:58:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:58:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-registry [Pipeline] echo 18:58:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:58:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:58:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 18:58:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:58:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:58:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:58:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 18:58:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:58:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:58:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:58:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:58:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:58:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 18:58:07 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 18:58:08 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 18:58:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-68 [Pipeline] echo 18:58:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-68 [Pipeline] echo 18:58:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-68 [Pipeline] echo 18:58:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 [Pipeline] echo 18:58:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8aa7894 [Pipeline] echo 18:58:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:58:09 + git log --format=format:%s -1 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 [Pipeline] echo 18:58:09 GIT_COMMIT: 8aa7894719ecdfbaa1cf3d5bc1870b8855708099, Commit Message: refactor: Make module a V2 Go module [Pipeline] echo 18:58:09 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:58:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:58:11 18:58:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:58:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:58:11 latest: Pulling from edgex-devops/git-semver 18:58:11 31603596830f: Pulling fs layer 18:58:11 2a8b12db71e7: Pulling fs layer 18:58:11 6ca5941a6612: Pulling fs layer 18:58:11 ecc8261a40a4: Pulling fs layer 18:58:11 ecc8261a40a4: Waiting 18:58:11 2a8b12db71e7: Verifying Checksum 18:58:11 2a8b12db71e7: Download complete 18:58:11 31603596830f: Verifying Checksum 18:58:11 31603596830f: Download complete 18:58:11 ecc8261a40a4: Verifying Checksum 18:58:11 ecc8261a40a4: Download complete 18:58:11 6ca5941a6612: Verifying Checksum 18:58:11 6ca5941a6612: Download complete 18:58:12 31603596830f: Pull complete 18:58:12 2a8b12db71e7: Pull complete 18:58:12 6ca5941a6612: Pull complete 18:58:13 ecc8261a40a4: Pull complete 18:58:13 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:58:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:58:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:58:13 prd-centos7-docker-4c-2g-20581 does not seem to be running inside a container 18:58:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-registry_PR-68 -v /w/workspace/gexfoundry_go-mod-registry_PR-68:/w/workspace/gexfoundry_go-mod-registry_PR-68:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-68@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-68@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 18:58:15 $ docker top 107897f9d497e402c7a1363a2d66e08c09644fad5f0f67a9ea4757dc85347971 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:58:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:58:15 [ssh-agent] Looking for ssh-agent implementation... 18:58:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:58:15 $ docker exec 107897f9d497e402c7a1363a2d66e08c09644fad5f0f67a9ea4757dc85347971 ssh-agent 18:58:15 SSH_AUTH_SOCK=/tmp/ssh-r0HlfRxZmROW/agent.13 18:58:15 SSH_AGENT_PID=18 18:58:15 Running ssh-add (command line suppressed) 18:58:16 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-68@tmp/private_key_3345090949658274734.key (/w/workspace/gexfoundry_go-mod-registry_PR-68@tmp/private_key_3345090949658274734.key) 18:58:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:58:16 + git tag --points-at HEAD [Pipeline] } 18:58:16 $ docker exec --env ******** --env ******** 107897f9d497e402c7a1363a2d66e08c09644fad5f0f67a9ea4757dc85347971 ssh-agent -k 18:58:16 unset SSH_AUTH_SOCK; 18:58:16 unset SSH_AGENT_PID; 18:58:16 echo Agent pid 18 killed; 18:58:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:58:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:58:16 [ssh-agent] Looking for ssh-agent implementation... 18:58:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:58:17 $ docker exec 107897f9d497e402c7a1363a2d66e08c09644fad5f0f67a9ea4757dc85347971 ssh-agent 18:58:17 SSH_AUTH_SOCK=/tmp/ssh-ZN5G1dA9SmB8/agent.47 18:58:17 SSH_AGENT_PID=52 18:58:17 Running ssh-add (command line suppressed) 18:58:17 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-68@tmp/private_key_8234063247969893738.key (/w/workspace/gexfoundry_go-mod-registry_PR-68@tmp/private_key_8234063247969893738.key) 18:58:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:58:17 + git semver init 18:58:17 # -> Open(): unable to determine branch for HEAD 18:58:17 # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-68/.git 18:58:17 # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-68 18:58:17 # $SEMVER_REMOTE_NAME = origin 18:58:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:58:17 # $SEMVER_USER_NAME = edgex-jenkins 18:58:17 # $SEMVER_BRANCH = PR-68 18:58:17 # $SEMVER_TEMP = /tmp/semver-554095357 18:58:17 # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP 18:58:18 # '/tmp/semver-554095357' -> '/w/workspace/gexfoundry_go-mod-registry_PR-68/.semver' 18:58:18 # -> Force: false 18:58:18 # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-68/.semver [Pipeline] } 18:58:18 $ docker exec --env ******** --env ******** 107897f9d497e402c7a1363a2d66e08c09644fad5f0f67a9ea4757dc85347971 ssh-agent -k 18:58:18 unset SSH_AUTH_SOCK; 18:58:18 unset SSH_AGENT_PID; 18:58:18 echo Agent pid 52 killed; 18:58:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:58:19 + git semver [Pipeline] } 18:58:19 $ docker stop --time=1 107897f9d497e402c7a1363a2d66e08c09644fad5f0f67a9ea4757dc85347971 18:58:20 $ docker rm -f 107897f9d497e402c7a1363a2d66e08c09644fad5f0f67a9ea4757dc85347971 [Pipeline] // withDockerContainer [Pipeline] sh 18:58:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:58:21 Stashed 1 file(s) [Pipeline] echo 18:58:21 [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 18:58:37 Still waiting to schedule task 18:58:37 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:58:37 Still waiting to schedule task 18:58:37 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 19:00:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20582 in /w/workspace/gexfoundry_go-mod-registry_PR-68 [Pipeline] { [Pipeline] ws 19:00:18 Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout 19:00:24 using credential edgex-jenkins-ssh 19:00:24 Cloning the remote Git repository 19:00:24 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 19:00:24 > git init /w/workspace/go-mod-registry/1 # timeout=10 19:00:24 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 19:00:24 > git --version # timeout=10 19:00:24 > git --version # 'git version 2.17.1' 19:00:24 using GIT_SSH to set credentials SSH Credentials for GitHub 19:00:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:00:26 Merging remotes/origin/master commit 03888b01b35f22c0aa8a62f87720f38b8993b4ce into PR head commit 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 19:00:25 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 19:00:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:00:25 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 19:00:25 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 19:00:25 using GIT_SSH to set credentials SSH Credentials for GitHub 19:00:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:00:26 > git config core.sparsecheckout # timeout=10 19:00:26 > git checkout -f 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 # timeout=10 19:00:26 > git remote # timeout=10 19:00:26 > git config --get remote.origin.url # timeout=10 19:00:26 using GIT_SSH to set credentials SSH Credentials for GitHub 19:00:26 > git merge 03888b01b35f22c0aa8a62f87720f38b8993b4ce # timeout=10 19:00:26 Merge succeeded, producing 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 19:00:26 Checking out Revision 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 (PR-68) 19:00:26 > git rev-parse HEAD^{commit} # timeout=10 19:00:26 > git config core.sparsecheckout # timeout=10 19:00:26 > git checkout -f 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 # timeout=10 19:00:31 Commit message: "refactor: Make module a V2 Go module" 19:00:31 > git --version # timeout=10 19:00:31 > git --version # 'git version 2.17.1' 19:00:31 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:00:33 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 19:00:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:00:34 + sudo service docker restart 19:00:34 + true [Pipeline] unstash [Pipeline] echo 19:00:36 ========================================================= 19:00:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 19:00:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:00:37 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 19:00:38 Sending build context to Docker daemon 302.1kB 19:00:38 Step 1/7 : ARG BASE=golang:1.15-alpine 19:00:38 Step 2/7 : FROM ${BASE} 19:00:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:00:38 5f621e34cdf4: Pulling fs layer 19:00:38 a4357932f1b6: Pulling fs layer 19:00:38 18c013af1878: Pulling fs layer 19:00:38 00ac8860ef70: Pulling fs layer 19:00:38 63d7cb157983: Pulling fs layer 19:00:38 b116817d02f9: Pulling fs layer 19:00:38 00ac8860ef70: Waiting 19:00:38 63d7cb157983: Waiting 19:00:38 745a02a5169b: Pulling fs layer 19:00:38 b116817d02f9: Waiting 19:00:38 745a02a5169b: Waiting 19:00:38 18c013af1878: Verifying Checksum 19:00:38 18c013af1878: Download complete 19:00:38 a4357932f1b6: Download complete 19:00:38 63d7cb157983: Download complete 19:00:38 b116817d02f9: Verifying Checksum 19:00:38 b116817d02f9: Download complete 19:00:38 5f621e34cdf4: Verifying Checksum 19:00:38 5f621e34cdf4: Download complete 19:00:39 5f621e34cdf4: Pull complete 19:00:40 a4357932f1b6: Pull complete 19:00:40 18c013af1878: Pull complete 19:00:41 745a02a5169b: Verifying Checksum 19:00:41 745a02a5169b: Download complete 19:00:42 00ac8860ef70: Verifying Checksum 19:00:42 00ac8860ef70: Download complete 19:00:52 00ac8860ef70: Pull complete 19:00:53 63d7cb157983: Pull complete 19:00:53 b116817d02f9: Pull complete 19:00:57 745a02a5169b: Pull complete 19:00:57 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 19:00:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 19:00:57 ---> b7e6874047d6 19:00:57 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:01:00 ---> Running in be7f02eca141 19:01:00 Removing intermediate container be7f02eca141 19:01:00 ---> 82468e3a6a92 19:01:00 Step 4/7 : RUN apk add --update bash 19:01:00 ---> Running in d3e11673df6f 19:01:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:01:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:01:03 OK: 142 MiB in 39 packages 19:01:05 Removing intermediate container d3e11673df6f 19:01:05 ---> a77aab5dbec9 19:01:05 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 19:01:05 ---> Running in 7abd6d42f2e7 19:01:05 Removing intermediate container 7abd6d42f2e7 19:01:05 ---> cec423196697 19:01:05 Step 6/7 : COPY go.mod . 19:01:06 ---> f7230c2b67f5 19:01:06 Step 7/7 : RUN go mod download 19:01:06 ---> Running in 7185390cebbf 19:01:15 Running on prd-centos7-docker-4c-2g-20583 in /w/workspace/gexfoundry_go-mod-registry_PR-68 [Pipeline] { [Pipeline] ws 19:01:15 Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout 19:01:16 Removing intermediate container 7185390cebbf 19:01:16 ---> 9bc43be065f9 19:01:16 Successfully built 9bc43be065f9 19:01:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:01:16 + docker inspect -f . ci-base-image-arm64 19:01:16 . [Pipeline] withDockerContainer 19:01:17 prd-ubuntu18.04-docker-arm64-4c-16g-20582 does not seem to be running inside a container 19:01:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:01:18 using credential edgex-jenkins-ssh 19:01:18 Cloning the remote Git repository 19:01:18 $ docker top abf849fd3996ffd607530511f30d80c235a909c852905674f7eff912ac0855e8 -eo pid,comm 19:01:18 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 19:01:18 > git init /w/workspace/go-mod-registry/1 # timeout=10 19:01:18 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 19:01:18 > git --version # timeout=10 19:01:18 > git --version # 'git version 2.24.3' 19:01:18 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { [Pipeline] sh 19:01:19 Merging remotes/origin/master commit 03888b01b35f22c0aa8a62f87720f38b8993b4ce into PR head commit 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 19:01:19 Merge succeeded, producing 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 19:01:19 Checking out Revision 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 (PR-68) 19:01:19 + go version 19:01:19 go version go1.15.5 linux/arm64 [Pipeline] } 19:01:19 $ docker stop --time=1 abf849fd3996ffd607530511f30d80c235a909c852905674f7eff912ac0855e8 19:01:18 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 19:01:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:01:18 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 19:01:18 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 19:01:18 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:01:19 > git config core.sparsecheckout # timeout=10 19:01:19 > git checkout -f 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 # timeout=10 19:01:19 > git remote # timeout=10 19:01:19 > git config --get remote.origin.url # timeout=10 19:01:19 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:19 > git merge 03888b01b35f22c0aa8a62f87720f38b8993b4ce # timeout=10 19:01:19 > git rev-parse HEAD^{commit} # timeout=10 19:01:19 > git config core.sparsecheckout # timeout=10 19:01:19 > git checkout -f 8aa7894719ecdfbaa1cf3d5bc1870b8855708099 # timeout=10 19:01:21 $ docker rm -f abf849fd3996ffd607530511f30d80c235a909c852905674f7eff912ac0855e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:01:22 + docker inspect -f . ci-base-image-arm64 19:01:22 . [Pipeline] withDockerContainer 19:01:23 Commit message: "refactor: Make module a V2 Go module" 19:01:23 > git --version # timeout=10 19:01:23 > git --version # 'git version 2.24.3' 19:01:23 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d 19:01:23 prd-ubuntu18.04-docker-arm64-4c-16g-20582 does not seem to be running inside a container 19:01:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:01:24 $ docker top 57c4ae37aead3a9cbd020ad50325c0ff5a9c397257f05ed4ca321f81c86a0647 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:25 + make test 19:01:25 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:01:26 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 19:01:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:01:27 + sudo service docker restart 19:01:27 + true 19:01:27 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 19:01:28 ========================================================= 19:01:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 19:01:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:01:28 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 19:01:28 Sending build context to Docker daemon 303.1kB 19:01:28 Step 1/7 : ARG BASE=golang:1.15-alpine 19:01:28 Step 2/7 : FROM ${BASE} 19:01:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 19:01:29 188c0c94c7c5: Pulling fs layer 19:01:29 0ef7d3d256c8: Pulling fs layer 19:01:29 de9db76c5a1d: Pulling fs layer 19:01:29 bca2f99d35d6: Pulling fs layer 19:01:29 93359f2a8cfa: Pulling fs layer 19:01:29 7c6f9722023f: Pulling fs layer 19:01:29 a35cf1a2eb13: Pulling fs layer 19:01:29 7c6f9722023f: Waiting 19:01:29 93359f2a8cfa: Waiting 19:01:29 bca2f99d35d6: Waiting 19:01:29 a35cf1a2eb13: Waiting 19:01:29 de9db76c5a1d: Verifying Checksum 19:01:29 de9db76c5a1d: Download complete 19:01:29 0ef7d3d256c8: Verifying Checksum 19:01:29 0ef7d3d256c8: Download complete 19:01:29 93359f2a8cfa: Verifying Checksum 19:01:29 93359f2a8cfa: Download complete 19:01:29 7c6f9722023f: Verifying Checksum 19:01:29 7c6f9722023f: Download complete 19:01:29 188c0c94c7c5: Verifying Checksum 19:01:29 188c0c94c7c5: Download complete 19:01:30 188c0c94c7c5: Pull complete 19:01:30 0ef7d3d256c8: Pull complete 19:01:30 de9db76c5a1d: Pull complete 19:01:31 a35cf1a2eb13: Verifying Checksum 19:01:31 a35cf1a2eb13: Download complete 19:01:32 bca2f99d35d6: Verifying Checksum 19:01:32 bca2f99d35d6: Download complete 19:01:39 bca2f99d35d6: Pull complete 19:01:39 93359f2a8cfa: Pull complete 19:01:39 7c6f9722023f: Pull complete 19:01:43 a35cf1a2eb13: Pull complete 19:01:43 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 19:01:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 19:01:43 ---> a62c8e92a672 19:01:43 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:01:43 ---> Running in 0148ac551d60 19:01:44 Removing intermediate container 0148ac551d60 19:01:44 ---> b247051caeef 19:01:44 Step 4/7 : RUN apk add --update bash 19:01:44 ---> Running in 7408cdbc72f4 19:01:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:01:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:01:46 OK: 166 MiB in 39 packages 19:01:46 Removing intermediate container 7408cdbc72f4 19:01:46 ---> 5240da881b58 19:01:46 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 19:01:46 ---> Running in eb8bcc189b76 19:01:46 Removing intermediate container eb8bcc189b76 19:01:46 ---> 6bc0841a488f 19:01:46 Step 6/7 : COPY go.mod . 19:01:47 ---> 8ab9dbf6fc7c 19:01:47 Step 7/7 : RUN go mod download 19:01:47 ---> Running in 6adea92dca63 19:01:52 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.074s coverage: 87.9% of statements 19:01:52 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 19:01:52 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.014s coverage: 85.7% of statements 19:01:52 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:01:52 gofmt -l . 19:01:52 [ "`gofmt -l .`" = "" ] [Pipeline] } 19:01:52 $ docker stop --time=1 57c4ae37aead3a9cbd020ad50325c0ff5a9c397257f05ed4ca321f81c86a0647 19:01:54 $ docker rm -f 57c4ae37aead3a9cbd020ad50325c0ff5a9c397257f05ed4ca321f81c86a0647 [Pipeline] // withDockerContainer [Pipeline] sh 19:01:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:01:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 19:01:57 Removing intermediate container 6adea92dca63 19:01:57 ---> a1fdcc250b8d 19:01:57 Successfully built a1fdcc250b8d 19:01:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage [Pipeline] } 19:01:58 + docker inspect -f . ci-base-image-x86_64 19:01:58 . [Pipeline] withDockerContainer 19:01:58 prd-centos7-docker-4c-2g-20583 does not seem to be running inside a container 19:01:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:01:59 $ docker top 3333a3cbab092a568ff83c3944b12129f1705a0becb624369de5a316f60f1d66 -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:00 + go version 19:02:00 go version go1.15.5 linux/amd64 [Pipeline] } 19:02:00 $ docker stop --time=1 3333a3cbab092a568ff83c3944b12129f1705a0becb624369de5a316f60f1d66 19:02:01 $ docker rm -f 3333a3cbab092a568ff83c3944b12129f1705a0becb624369de5a316f60f1d66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:02:02 + docker inspect -f . ci-base-image-x86_64 19:02:02 . [Pipeline] withDockerContainer 19:02:02 prd-centos7-docker-4c-2g-20583 does not seem to be running inside a container 19:02:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:02:03 $ docker top 81d4b3a417433985e01dee416eff68c1e8b2880c8ad579960d03bedfea4b4755 -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:04 + make test 19:02:04 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:02:14 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.030s coverage: 87.9% of statements 19:02:14 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 19:02:14 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.012s coverage: 85.7% of statements 19:02:14 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:02:14 gofmt -l . 19:02:14 [ "`gofmt -l .`" = "" ] [Pipeline] } 19:02:14 $ docker stop --time=1 81d4b3a417433985e01dee416eff68c1e8b2880c8ad579960d03bedfea4b4755 19:02:16 $ docker rm -f 81d4b3a417433985e01dee416eff68c1e8b2880c8ad579960d03bedfea4b4755 [Pipeline] // withDockerContainer [Pipeline] sh 19:02:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:02:17 Warning: overwriting stash ‘coverage-report’ 19:02:17 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 [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] wrap 19:02:20 provisioning config files... 19:02:20 copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-68@tmp/config4613684808065830917tmp [Pipeline] { [Pipeline] sh 19:02:20 + set +x 19:02:20 + curl -s https://codecov.io/bash 19:02:20 + bash -s -- 19:02:21 19:02:21 _____ _ 19:02:21 / ____| | | 19:02:21 | | ___ __| | ___ ___ _____ __ 19:02:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:02:21 | |___| (_) | (_| | __/ (_| (_) \ V / 19:02:21 \_____\___/ \__,_|\___|\___\___/ \_/ 19:02:21 Bash-20210115-cec3c92 19:02:21 19:02:21 19:02:21 ==> git version 2.24.3 found 19:02:21 ==> 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 19:02:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 19:02:21 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 19:02:21 ==> Jenkins CI detected. 19:02:21 project root: . 19:02:21 --> token set from env 19:02:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:02:21 ==> Running gcov in . (disable via -X gcov) 19:02:21 ==> Python coveragepy not found 19:02:21 ==> Searching for coverage reports in: 19:02:21 + . 19:02:21 -> Found 1 reports 19:02:21 ==> Detecting git/mercurial file structure 19:02:21 ==> Reading reports 19:02:21 + ./coverage.out bytes=9269 19:02:21 ==> Appending adjustments 19:02:21 https://docs.codecov.io/docs/fixing-reports 19:02:21 + Found adjustments 19:02:21 ==> Gzipping contents 19:02:21 4.0K /tmp/codecov.JriYnJ.gz 19:02:21 ==> Uploading reports 19:02:21 url: https://codecov.io 19:02:21 query: branch=PR-68&commit=8aa7894719ecdfbaa1cf3d5bc1870b8855708099&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-68%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=68&job=&cmd_args= 19:02:21 -> Pinging Codecov 19:02:21 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-68&commit=8aa7894719ecdfbaa1cf3d5bc1870b8855708099&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-68%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=68&job=&cmd_args= 19:02:21 -> Uploading to 19:02:21 https://storage.googleapis.com/codecov/v4/raw/2021-01-15/05B643FFA8DEACB6C25F95B2D4D12284/8aa7894719ecdfbaa1cf3d5bc1870b8855708099/c5dcce92-54d3-44d9-b5be-f28e770b766a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T190221Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bee0ee58c0a1d35b1d719ad65739befa90f05fe34451dfcfd5f72c3cc75be73f 19:02:21 % Total % Received % Xferd Average Speed Time Time Time Current 19:02:21 Dload Upload Total Spent Left Speed 19:02:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1821 0 0 100 1821 0 3982 --:--:-- --:--:-- --:--:-- 3984 19:02:22 -> View reports at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/8aa7894719ecdfbaa1cf3d5bc1870b8855708099 [Pipeline] } 19:02:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 19:02:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:02:26 ---> package-listing.sh 19:02:26 ++ facter osfamily 19:02:26 ++ tr '[:upper:]' '[:lower:]' 19:02:26 + OS_FAMILY=redhat 19:02:26 + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-68 19:02:26 + START_PACKAGES=/tmp/packages_start.txt 19:02:26 + END_PACKAGES=/tmp/packages_end.txt 19:02:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:02:26 + PACKAGES=/tmp/packages_start.txt 19:02:26 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-68 ']' 19:02:26 + PACKAGES=/tmp/packages_end.txt 19:02:26 + case "${OS_FAMILY}" in 19:02:26 + rpm -qa 19:02:26 + sort 19:02:31 + '[' -f /tmp/packages_start.txt ']' 19:02:31 + '[' -f /tmp/packages_end.txt ']' 19:02:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:02:31 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-68 ']' 19:02:31 + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-68/archives/ 19:02:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-registry_PR-68/archives/ [Pipeline] echo 19:02:31 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-68/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:02:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:02:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:02:32 19:02:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:02:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:02:32 alpine: Pulling from edgex-lftools-log-publisher 19:02:32 df20fa9351a1: Pulling fs layer 19:02:32 36b3adc4ff6f: Pulling fs layer 19:02:32 8ad3a11d3b57: Pulling fs layer 19:02:32 46f8f816bc3b: Pulling fs layer 19:02:32 93b61091891f: Pulling fs layer 19:02:32 93b9cdb0e59b: Pulling fs layer 19:02:32 5e14af77c1be: Pulling fs layer 19:02:32 01666e4c0597: Pulling fs layer 19:02:32 aa168da1d23b: Pulling fs layer 19:02:32 46f8f816bc3b: Waiting 19:02:32 93b61091891f: Waiting 19:02:32 93b9cdb0e59b: Waiting 19:02:32 5e14af77c1be: Waiting 19:02:32 01666e4c0597: Waiting 19:02:32 aa168da1d23b: Waiting 19:02:32 36b3adc4ff6f: Verifying Checksum 19:02:32 36b3adc4ff6f: Download complete 19:02:32 46f8f816bc3b: Verifying Checksum 19:02:32 46f8f816bc3b: Download complete 19:02:32 df20fa9351a1: Download complete 19:02:32 93b61091891f: Verifying Checksum 19:02:32 93b61091891f: Download complete 19:02:32 93b9cdb0e59b: Verifying Checksum 19:02:32 93b9cdb0e59b: Download complete 19:02:32 5e14af77c1be: Verifying Checksum 19:02:32 5e14af77c1be: Download complete 19:02:32 01666e4c0597: Verifying Checksum 19:02:32 01666e4c0597: Download complete 19:02:33 df20fa9351a1: Pull complete 19:02:33 8ad3a11d3b57: Verifying Checksum 19:02:33 8ad3a11d3b57: Download complete 19:02:33 36b3adc4ff6f: Pull complete 19:02:33 8ad3a11d3b57: Pull complete 19:02:33 46f8f816bc3b: Pull complete 19:02:34 93b61091891f: Pull complete 19:02:35 93b9cdb0e59b: Pull complete 19:02:35 aa168da1d23b: Verifying Checksum 19:02:35 aa168da1d23b: Download complete 19:02:35 5e14af77c1be: Pull complete 19:02:35 01666e4c0597: Pull complete 19:02:42 aa168da1d23b: Pull complete 19:02:42 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:02:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:02:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:02:42 prd-centos7-docker-4c-2g-20581 does not seem to be running inside a container 19:02:42 $ 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-68/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-68 -v /w/workspace/gexfoundry_go-mod-registry_PR-68:/w/workspace/gexfoundry_go-mod-registry_PR-68:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-68@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-68@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 19:02:46 $ docker top 67025256b554a1e915c3dda1600f7f595e0a4c38900589b3195539d1ce979248 -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:46 + touch /tmp/pre-build-complete [Pipeline] sh 19:02:47 + mkdir -p /var/log/sa [Pipeline] sh 19:02:47 + ls /var/log/sa-host 19:02:47 + sadf -c /var/log/sa-host/sa15 19:02:47 file_magic: OK 19:02:47 HZ: Using current value: 100 19:02:47 file_header: OK 19:02:47 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 19:02:47 Statistics: 19:02:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:02:47 File successfully converted to sysstat format version 12.2.1 19:02:47 + sadf -c /var/log/sa-host/sa23 19:02:47 file_magic: OK 19:02:47 HZ: Using current value: 100 19:02:47 file_header: OK 19:02:47 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 19:02:47 Statistics: 19:02:47 Hnuu...uuuununununu... 19:02:47 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:02:47 provisioning config files... 19:02:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-68@tmp/config2625483402564481695tmp [Pipeline] { [Pipeline] echo 19:02:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:02:48 ---> create-netrc.sh [Pipeline] } 19:02:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 19:02:48 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 19:02:49 ---> python-tools-install.sh [Pipeline] echo 19:02:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:02:49 ---> sudo-logs.sh 19:02:49 Archiving 'sudo' log.. [Pipeline] echo 19:02:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:02:49 ---> job-cost.sh 19:02:49 lf-activate-venv: SKIPPING 19:02:49 INFO: No Stack... 19:02:51 INFO: Retrieving Pricing Info for: v1-standard-2 19:02:51 INFO: Archiving Costs [Pipeline] echo 19:02:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:02:51 ---> logs-deploy.sh 19:02:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-68/1 19:02:51 INFO: archiving workspace using pattern(s): 19:02:53 Archives upload complete. 19:02:53 INFO: archiving logs to Nexus