Pull request #58 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 AlexCuse for edgexfoundry/go-mod-registry Loading trusted files from base branch master at ef49de8da9a843e75bc11b5fff5c994b5d12c89d rather than 42637f1fe7e1661f9e635588e53dbc8a153b5166 Obtained Jenkinsfile from ef49de8da9a843e75bc11b5fff5c994b5d12c89d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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-58/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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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-58/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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-3726 in /w/workspace/gexfoundry_go-mod-registry_PR-58 [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-58 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit ef49de8da9a843e75bc11b5fff5c994b5d12c89d into PR head commit 42637f1fe7e1661f9e635588e53dbc8a153b5166 Merge succeeded, producing 42637f1fe7e1661f9e635588e53dbc8a153b5166 Checking out Revision 42637f1fe7e1661f9e635588e53dbc8a153b5166 (PR-58) > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/58/head:refs/remotes/origin/PR-58 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 42637f1fe7e1661f9e635588e53dbc8a153b5166 # 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 ef49de8da9a843e75bc11b5fff5c994b5d12c89d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 42637f1fe7e1661f9e635588e53dbc8a153b5166 # timeout=10 Commit message: "fix(registry):register health check w/ service key Clean up register/deregister inconsistency discussed in #57" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:35:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:35:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:35:32 ========================================================= 10:35:32 EdgeX Global Pipelines Version Info 10:35:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:35:33 ------------------- 10:35:33 stable info: 10:35:33 ------------------- 10:35:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:35:33 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 10:35:33 Message: update stable to v1.0.131 10:35:34 ------------------- 10:35:34 experimental info: 10:35:34 ------------------- 10:35:34 Commited By: **** collab-it+edgex@linuxfoundation.org 10:35:34 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 10:35:34 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 10:35:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo 10:35:35 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo 10:35:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:35:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:35:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:35:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:35:36 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:35:36 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:35:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:35:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:35:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:35:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-registry [Pipeline] echo 10:35:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:35:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-58 [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-58 [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-58 [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 42637f1fe7e1661f9e635588e53dbc8a153b5166 [Pipeline] echo 10:35:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 42637f1 [Pipeline] echo 10:35:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:35:39 + git log --format=format:%s -1 42637f1fe7e1661f9e635588e53dbc8a153b5166 [Pipeline] echo 10:35:40 GIT_COMMIT: 42637f1fe7e1661f9e635588e53dbc8a153b5166, Commit Message: fix(registry):register health check w/ service key Clean up register/deregister inconsistency discussed in #57 [Pipeline] echo 10:35:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:35:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:35:41 10:35:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:35:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:35:41 latest: Pulling from edgex-devops/git-semver 10:35:41 31603596830f: Pulling fs layer 10:35:41 2a8b12db71e7: Pulling fs layer 10:35:41 6ca5941a6612: Pulling fs layer 10:35:41 ecc8261a40a4: Pulling fs layer 10:35:41 ecc8261a40a4: Waiting 10:35:41 2a8b12db71e7: Verifying Checksum 10:35:41 2a8b12db71e7: Download complete 10:35:41 31603596830f: Verifying Checksum 10:35:41 31603596830f: Download complete 10:35:41 ecc8261a40a4: Verifying Checksum 10:35:41 ecc8261a40a4: Download complete 10:35:41 6ca5941a6612: Verifying Checksum 10:35:41 6ca5941a6612: Download complete 10:35:41 31603596830f: Pull complete 10:35:41 2a8b12db71e7: Pull complete 10:35:42 6ca5941a6612: Pull complete 10:35:42 ecc8261a40a4: Pull complete 10:35:42 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:35:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:35:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:35:43 prd-centos7-docker-4c-2g-3726 does not seem to be running inside a container 10:35:43 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-registry_PR-58 -v /w/workspace/gexfoundry_go-mod-registry_PR-58:/w/workspace/gexfoundry_go-mod-registry_PR-58:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-58@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:35:45 $ docker top 671e31a55c385f401ce2d9fb80168bbbe8b36646134ae655df81cc6878716ea9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:35:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:35:45 [ssh-agent] Looking for ssh-agent implementation... 10:35:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:35:45 $ docker exec 671e31a55c385f401ce2d9fb80168bbbe8b36646134ae655df81cc6878716ea9 ssh-agent 10:35:46 SSH_AUTH_SOCK=/tmp/ssh-9kYs3Lc5rqTl/agent.12 10:35:46 SSH_AGENT_PID=17 10:35:46 Running ssh-add (command line suppressed) 10:35:46 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-58@tmp/private_key_946707047319775082.key (/w/workspace/gexfoundry_go-mod-registry_PR-58@tmp/private_key_946707047319775082.key) 10:35:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:35:46 + git describe --exact-match --tags HEAD 10:35:46 fatal: no tag exactly matches '42637f1fe7e1661f9e635588e53dbc8a153b5166' [Pipeline] } 10:35:46 $ docker exec --env ******** --env ******** 671e31a55c385f401ce2d9fb80168bbbe8b36646134ae655df81cc6878716ea9 ssh-agent -k 10:35:46 unset SSH_AUTH_SOCK; 10:35:46 unset SSH_AGENT_PID; 10:35:46 echo Agent pid 17 killed; 10:35:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 10:35:47 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 10:35:47 This usually means this commit has not been tagged. [Pipeline] sshagent 10:35:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:35:47 [ssh-agent] Looking for ssh-agent implementation... 10:35:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:35:47 $ docker exec 671e31a55c385f401ce2d9fb80168bbbe8b36646134ae655df81cc6878716ea9 ssh-agent 10:35:47 SSH_AUTH_SOCK=/tmp/ssh-iXaTAGdZsi5W/agent.45 10:35:47 SSH_AGENT_PID=51 10:35:47 Running ssh-add (command line suppressed) 10:35:47 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-58@tmp/private_key_5653334083754317909.key (/w/workspace/gexfoundry_go-mod-registry_PR-58@tmp/private_key_5653334083754317909.key) 10:35:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:35:47 + git semver init 10:35:47 # -> Open(): unable to determine branch for HEAD 10:35:47 # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-58/.git 10:35:47 # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-58 10:35:47 # $SEMVER_REMOTE_NAME = origin 10:35:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:35:47 # $SEMVER_USER_NAME = edgex-jenkins 10:35:47 # $SEMVER_BRANCH = PR-58 10:35:47 # $SEMVER_TEMP = /tmp/semver-632909710 10:35:47 # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP 10:35:48 # '/tmp/semver-632909710' -> '/w/workspace/gexfoundry_go-mod-registry_PR-58/.semver' 10:35:48 # -> Force: false 10:35:48 # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-58/.semver [Pipeline] } 10:35:48 $ docker exec --env ******** --env ******** 671e31a55c385f401ce2d9fb80168bbbe8b36646134ae655df81cc6878716ea9 ssh-agent -k 10:35:48 unset SSH_AUTH_SOCK; 10:35:48 unset SSH_AGENT_PID; 10:35:48 echo Agent pid 51 killed; 10:35:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:35:49 + git semver [Pipeline] } 10:35:49 $ docker stop --time=1 671e31a55c385f401ce2d9fb80168bbbe8b36646134ae655df81cc6878716ea9 10:35:50 $ docker rm -f 671e31a55c385f401ce2d9fb80168bbbe8b36646134ae655df81cc6878716ea9 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 10:35:51 Stashed 38 file(s) [Pipeline] echo 10:35:51 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 10:35:51 Archived original 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 10:36:07 Still waiting to schedule task 10:36:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ 10:36:07 Still waiting to schedule task 10:36:07 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 10:38:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3727 in /w/workspace/gexfoundry_go-mod-registry_PR-58 [Pipeline] { [Pipeline] ws 10:38:03 Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout 10:38:09 using credential edgex-jenkins-ssh 10:38:09 Cloning the remote Git repository 10:38:09 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 10:38:09 > git init /w/workspace/go-mod-registry/1 # timeout=10 10:38:09 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 10:38:09 > git --version # timeout=10 10:38:09 > git --version # 'git version 2.17.1' 10:38:09 using GIT_SSH to set credentials SSH Credentials for GitHub 10:38:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:38:10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 10:38:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:38:10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 10:38:10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 10:38:10 using GIT_SSH to set credentials SSH Credentials for GitHub 10:38:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/58/head:refs/remotes/origin/PR-58 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:38:10 Merging remotes/origin/master commit ef49de8da9a843e75bc11b5fff5c994b5d12c89d into PR head commit 42637f1fe7e1661f9e635588e53dbc8a153b5166 10:38:11 Merge succeeded, producing 42637f1fe7e1661f9e635588e53dbc8a153b5166 10:38:11 Checking out Revision 42637f1fe7e1661f9e635588e53dbc8a153b5166 (PR-58) 10:38:10 > git config core.sparsecheckout # timeout=10 10:38:10 > git checkout -f 42637f1fe7e1661f9e635588e53dbc8a153b5166 # timeout=10 10:38:11 > git remote # timeout=10 10:38:11 > git config --get remote.origin.url # timeout=10 10:38:11 using GIT_SSH to set credentials SSH Credentials for GitHub 10:38:11 > git merge ef49de8da9a843e75bc11b5fff5c994b5d12c89d # timeout=10 10:38:11 > git rev-parse HEAD^{commit} # timeout=10 10:38:11 > git config core.sparsecheckout # timeout=10 10:38:11 > git checkout -f 42637f1fe7e1661f9e635588e53dbc8a153b5166 # timeout=10 10:38:15 Commit message: "fix(registry):register health check w/ service key Clean up register/deregister inconsistency discussed in #57" 10:38:15 > git --version # timeout=10 10:38:15 > git --version # 'git version 2.17.1' 10:38:15 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:38:16 ========================================================= 10:38:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:38:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:38:18 + 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 . 10:38:19 Sending build context to Docker daemon 389.1kB 10:38:19 Step 1/7 : ARG BASE=golang:1.15-alpine 10:38:19 Step 2/7 : FROM ${BASE} 10:38:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:38:19 b538f80385f9: Pulling fs layer 10:38:19 74f711af9a0d: Pulling fs layer 10:38:19 99f96fe45779: Pulling fs layer 10:38:19 8529a6b9a6be: Pulling fs layer 10:38:19 45590311c82a: Pulling fs layer 10:38:19 69ca0ff8b7b3: Pulling fs layer 10:38:19 209524e5b208: Pulling fs layer 10:38:19 8529a6b9a6be: Waiting 10:38:19 45590311c82a: Waiting 10:38:19 69ca0ff8b7b3: Waiting 10:38:19 209524e5b208: Waiting 10:38:19 99f96fe45779: Download complete 10:38:19 74f711af9a0d: Verifying Checksum 10:38:19 74f711af9a0d: Download complete 10:38:19 45590311c82a: Verifying Checksum 10:38:19 45590311c82a: Download complete 10:38:19 69ca0ff8b7b3: Verifying Checksum 10:38:19 69ca0ff8b7b3: Download complete 10:38:19 b538f80385f9: Verifying Checksum 10:38:19 b538f80385f9: Download complete 10:38:20 b538f80385f9: Pull complete 10:38:20 74f711af9a0d: Pull complete 10:38:21 99f96fe45779: Pull complete 10:38:22 209524e5b208: Verifying Checksum 10:38:22 209524e5b208: Download complete 10:38:23 8529a6b9a6be: Verifying Checksum 10:38:23 8529a6b9a6be: Download complete 10:38:33 8529a6b9a6be: Pull complete 10:38:33 45590311c82a: Pull complete 10:38:33 69ca0ff8b7b3: Pull complete 10:38:36 209524e5b208: Pull complete 10:38:36 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 10:38:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:38:36 ---> 5bddaf1c2fca 10:38:36 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:38:40 ---> Running in c41d8f9d2db9 10:38:40 Removing intermediate container c41d8f9d2db9 10:38:40 ---> ae6943e6c0d6 10:38:40 Step 4/7 : RUN apk add --update bash 10:38:40 ---> Running in 407cfec9eaf0 10:38:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:38:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:38:43 OK: 142 MiB in 39 packages 10:38:44 Removing intermediate container 407cfec9eaf0 10:38:44 ---> 8b2196c0c7f3 10:38:44 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 10:38:44 ---> Running in 61648204d2b0 10:38:45 Removing intermediate container 61648204d2b0 10:38:45 ---> 1db2f10ead98 10:38:45 Step 6/7 : COPY go.mod . 10:38:45 ---> 6de6506ea46f 10:38:45 Step 7/7 : RUN go mod download 10:38:46 ---> Running in 4d3782c5b81e 10:38:58 Running on prd-centos7-docker-4c-2g-3728 in /w/workspace/gexfoundry_go-mod-registry_PR-58 [Pipeline] { [Pipeline] ws 10:38:58 Running in /w/workspace/go-mod-registry/1 [Pipeline] { 10:38:58 Removing intermediate container 4d3782c5b81e 10:38:58 ---> e1d08bea59d3 10:38:58 Successfully built e1d08bea59d3 10:38:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] checkout [Pipeline] isUnix [Pipeline] sh 10:38:59 + docker inspect -f . ci-base-image-arm64 10:38:59 . [Pipeline] withDockerContainer 10:38:59 prd-ubuntu18.04-docker-arm64-4c-16g-3727 does not seem to be running inside a container 10:38:59 $ 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 ******** ci-base-image-arm64 cat 10:39:01 $ docker top 3f4a58a636b556202553dba79fadf1714956272a486ce3b00f40db2b6eba8c79 -eo pid,comm [Pipeline] { [Pipeline] sh 10:39:02 + go version 10:39:02 go version go1.15.2 linux/arm64 [Pipeline] } 10:39:02 $ docker stop --time=1 3f4a58a636b556202553dba79fadf1714956272a486ce3b00f40db2b6eba8c79 10:39:04 $ docker rm -f 3f4a58a636b556202553dba79fadf1714956272a486ce3b00f40db2b6eba8c79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 10:39:05 using credential edgex-jenkins-ssh 10:39:05 Cloning the remote Git repository [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:39:06 + docker inspect -f . ci-base-image-arm64 10:39:06 . [Pipeline] withDockerContainer 10:39:06 prd-ubuntu18.04-docker-arm64-4c-16g-3727 does not seem to be running inside a container 10:39:06 $ 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 ******** ci-base-image-arm64 cat 10:39:05 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 10:39:05 > git init /w/workspace/go-mod-registry/1 # timeout=10 10:39:05 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 10:39:05 > git --version # timeout=10 10:39:05 > git --version # 'git version 2.16.5' 10:39:05 using GIT_SSH to set credentials SSH Credentials for GitHub 10:39:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:39:06 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 10:39:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:39:06 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 10:39:06 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 10:39:06 using GIT_SSH to set credentials SSH Credentials for GitHub 10:39:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/58/head:refs/remotes/origin/PR-58 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:39:07 Merging remotes/origin/master commit ef49de8da9a843e75bc11b5fff5c994b5d12c89d into PR head commit 42637f1fe7e1661f9e635588e53dbc8a153b5166 10:39:07 Merge succeeded, producing 42637f1fe7e1661f9e635588e53dbc8a153b5166 10:39:07 Checking out Revision 42637f1fe7e1661f9e635588e53dbc8a153b5166 (PR-58) 10:39:07 > git config core.sparsecheckout # timeout=10 10:39:07 > git checkout -f 42637f1fe7e1661f9e635588e53dbc8a153b5166 # timeout=10 10:39:07 > git remote # timeout=10 10:39:07 > git config --get remote.origin.url # timeout=10 10:39:07 using GIT_SSH to set credentials SSH Credentials for GitHub 10:39:07 > git merge ef49de8da9a843e75bc11b5fff5c994b5d12c89d # timeout=10 10:39:07 > git rev-parse HEAD^{commit} # timeout=10 10:39:07 > git config core.sparsecheckout # timeout=10 10:39:07 > git checkout -f 42637f1fe7e1661f9e635588e53dbc8a153b5166 # timeout=10 10:39:08 $ docker top 34676c552b086fd41d73805999e85e0f61551ab626a0129810c9c927c72c38b1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:39:09 + make test 10:39:09 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:39:12 Commit message: "fix(registry):register health check w/ service key Clean up register/deregister inconsistency discussed in #57" 10:39:12 > git --version # timeout=10 10:39:12 > git --version # 'git version 2.16.5' 10:39:12 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:39:13 ========================================================= 10:39:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:39:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:39:14 + 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 . 10:39:14 Sending build context to Docker daemon 389.1kB 10:39:14 Step 1/7 : ARG BASE=golang:1.15-alpine 10:39:14 Step 2/7 : FROM ${BASE} 10:39:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:39:15 df20fa9351a1: Pulling fs layer 10:39:15 ed8968b2872e: Pulling fs layer 10:39:15 a92cc7c5fd73: Pulling fs layer 10:39:15 e871e8e8d7a9: Pulling fs layer 10:39:15 e73272ec9a57: Pulling fs layer 10:39:15 1e910a182e73: Pulling fs layer 10:39:15 4e634b169226: Pulling fs layer 10:39:15 e871e8e8d7a9: Waiting 10:39:15 e73272ec9a57: Waiting 10:39:15 4e634b169226: Waiting 10:39:15 a92cc7c5fd73: Verifying Checksum 10:39:15 a92cc7c5fd73: Download complete 10:39:15 ed8968b2872e: Download complete 10:39:15 e73272ec9a57: Verifying Checksum 10:39:15 e73272ec9a57: Download complete 10:39:15 1e910a182e73: Verifying Checksum 10:39:15 1e910a182e73: Download complete 10:39:15 df20fa9351a1: Verifying Checksum 10:39:15 df20fa9351a1: Download complete 10:39:15 df20fa9351a1: Pull complete 10:39:15 ed8968b2872e: Pull complete 10:39:16 a92cc7c5fd73: Pull complete 10:39:18 4e634b169226: Verifying Checksum 10:39:18 4e634b169226: Download complete 10:39:20 e871e8e8d7a9: Verifying Checksum 10:39:20 e871e8e8d7a9: Download complete 10:39:28 e871e8e8d7a9: Pull complete 10:39:28 e73272ec9a57: Pull complete 10:39:28 1e910a182e73: Pull complete 10:39:34 4e634b169226: Pull complete 10:39:34 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 10:39:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:39:34 ---> f7629b54cfaa 10:39:34 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:39:34 ---> Running in 70d0e00a92c6 10:39:34 Removing intermediate container 70d0e00a92c6 10:39:34 ---> cfa72ecd37b5 10:39:34 Step 4/7 : RUN apk add --update bash 10:39:34 ---> Running in dc601ed4ae07 10:39:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:39:36 ok github.com/edgexfoundry/go-mod-registry/internal/pkg/consul 2.054s coverage: 87.2% of statements 10:39:36 ? github.com/edgexfoundry/go-mod-registry/pkg/types [no test files] 10:39:36 ok github.com/edgexfoundry/go-mod-registry/registry 0.012s coverage: 85.7% of statements 10:39:36 CGO_ENABLED=0 GO111MODULE=on go vet ./... 10:39:36 gofmt -l . 10:39:36 [ "`gofmt -l .`" = "" ] 10:39:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] stash 10:39:37 OK: 166 MiB in 39 packages 10:39:37 Stashed 1 file(s) [Pipeline] } 10:39:37 $ docker stop --time=1 34676c552b086fd41d73805999e85e0f61551ab626a0129810c9c927c72c38b1 10:39:38 Removing intermediate container dc601ed4ae07 10:39:38 ---> 2db5379d002e 10:39:38 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 10:39:38 ---> Running in 6ec9ac6a05f9 10:39:38 Removing intermediate container 6ec9ac6a05f9 10:39:38 ---> 7d16bd51663f 10:39:38 Step 6/7 : COPY go.mod . 10:39:38 ---> 82d2c32a90c3 10:39:38 Step 7/7 : RUN go mod download 10:39:39 ---> Running in 61997ae68301 10:39:39 $ docker rm -f 34676c552b086fd41d73805999e85e0f61551ab626a0129810c9c927c72c38b1 [Pipeline] // withDockerContainer [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] } 10:39:49 Removing intermediate container 61997ae68301 10:39:49 ---> ccc504119467 10:39:49 Successfully built ccc504119467 10:39:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:39:50 + docker inspect -f . ci-base-image-x86_64 10:39:50 . [Pipeline] withDockerContainer 10:39:50 prd-centos7-docker-4c-2g-3728 does not seem to be running inside a container 10:39:50 $ 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 ******** ci-base-image-x86_64 cat 10:39:51 $ docker top 72b773b21bea1826dd8392d2d9823df636a8675d358babbb568fbaf81fa7938e -eo pid,comm [Pipeline] { [Pipeline] sh 10:39:52 + go version 10:39:52 go version go1.15.2 linux/amd64 [Pipeline] } 10:39:52 $ docker stop --time=1 72b773b21bea1826dd8392d2d9823df636a8675d358babbb568fbaf81fa7938e 10:39:54 $ docker rm -f 72b773b21bea1826dd8392d2d9823df636a8675d358babbb568fbaf81fa7938e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:39:55 + docker inspect -f . ci-base-image-x86_64 10:39:55 . [Pipeline] withDockerContainer 10:39:55 prd-centos7-docker-4c-2g-3728 does not seem to be running inside a container 10:39:55 $ 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 ******** ci-base-image-x86_64 cat 10:39:56 $ docker top 4d6b92e8141eab493d630ec9b116de8060090c7921dff717be121549210aeda4 -eo pid,comm [Pipeline] { [Pipeline] sh 10:39:57 + make test 10:39:57 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:40:12 ok github.com/edgexfoundry/go-mod-registry/internal/pkg/consul 2.031s coverage: 87.2% of statements 10:40:12 ? github.com/edgexfoundry/go-mod-registry/pkg/types [no test files] 10:40:12 ok github.com/edgexfoundry/go-mod-registry/registry 0.017s coverage: 85.7% of statements 10:40:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 10:40:13 gofmt -l . 10:40:13 [ "`gofmt -l .`" = "" ] [Pipeline] stash 10:40:13 Warning: overwriting stash ‘coverage-report’ 10:40:13 Stashed 1 file(s) [Pipeline] } 10:40:13 $ docker stop --time=1 4d6b92e8141eab493d630ec9b116de8060090c7921dff717be121549210aeda4 10:40:15 $ docker rm -f 4d6b92e8141eab493d630ec9b116de8060090c7921dff717be121549210aeda4 [Pipeline] // withDockerContainer [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 10:40:19 provisioning config files... 10:40:19 copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-58@tmp/config3795275960582121447tmp [Pipeline] { [Pipeline] sh 10:40:19 + set +x 10:40:19 + curl -s https://codecov.io/bash 10:40:19 + bash -s -- [Pipeline] } 10:42:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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 10:42:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:42:46 ---> package-listing.sh 10:42:46 ++ facter osfamily 10:42:46 ++ tr '[:upper:]' '[:lower:]' 10:42:46 + OS_FAMILY=redhat 10:42:46 + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-58 10:42:46 + START_PACKAGES=/tmp/packages_start.txt 10:42:46 + END_PACKAGES=/tmp/packages_end.txt 10:42:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:42:46 + PACKAGES=/tmp/packages_start.txt 10:42:46 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-58 ']' 10:42:46 + PACKAGES=/tmp/packages_end.txt 10:42:46 + case "${OS_FAMILY}" in 10:42:46 + rpm -qa 10:42:46 + sort 10:42:50 + '[' -f /tmp/packages_start.txt ']' 10:42:50 + '[' -f /tmp/packages_end.txt ']' 10:42:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:42:50 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-58 ']' 10:42:50 + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-58/archives/ 10:42:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-registry_PR-58/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:42:51 provisioning config files... 10:42:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-58@tmp/config1134440345524145269tmp [Pipeline] { [Pipeline] echo 10:42:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:42:51 ---> create-netrc.sh [Pipeline] } 10:42:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:42:51 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:42:52 ---> python-tools-install.sh 10:42:52 Generating Requirements File 10:44:00 Python 3.6.8 10:44:00 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 10:44:00 appdirs==1.4.3 10:44:00 argcomplete==1.12.1 10:44:00 aspy.yaml==1.3.0 10:44:00 attrs==19.3.0 10:44:00 Babel==2.8.0 10:44:00 beautifulsoup4==4.8.2 10:44:00 boto3==1.11.6 10:44:00 botocore==1.14.6 10:44:00 bs4==0.0.1 10:44:00 cachetools==4.1.1 10:44:00 certifi==2019.11.28 10:44:00 cffi==1.14.3 10:44:00 cfgv==2.0.1 10:44:00 chardet==3.0.4 10:44:00 click==7.1 10:44:00 cliff==3.4.0 10:44:00 cmd2==1.3.11 10:44:00 colorama==0.4.3 10:44:00 cryptography==3.1.1 10:44:00 debtcollector==2.2.0 10:44:00 decorator==4.4.2 10:44:00 defusedxml==0.6.0 10:44:00 Deprecated==1.2.7 10:44:00 distlib==0.3.1 10:44:00 distro==1.2.0 10:44:00 dnspython==1.16.0 10:44:00 docker==4.2.0 10:44:00 docutils==0.15.2 10:44:00 dogpile.cache==1.0.2 10:44:00 email-validator==1.0.5 10:44:00 filelock==3.0.12 10:44:00 future==0.18.2 10:44:00 google-auth==1.22.1 10:44:00 httplib2==0.17.0 10:44:00 identify==1.4.11 10:44:00 idna==2.9 10:44:00 importlib-metadata==1.7.0 10:44:00 importlib-resources==1.5.0 10:44:00 iso8601==0.1.13 10:44:00 Jinja2==2.11.1 10:44:00 jmespath==0.10.0 10:44:00 jsonpatch==1.26 10:44:00 jsonpointer==2.0 10:44:00 jsonschema==3.2.0 10:44:00 keystoneauth1==4.2.1 10:44:00 kubernetes==11.0.0 10:44:00 lftools==0.34.2 10:44:00 lxml==4.5.0 10:44:00 MarkupSafe==0.23 10:44:00 msgpack==1.0.0 10:44:00 multi-key-dict==2.0.3 10:44:00 munch==2.5.0 10:44:00 netaddr==0.8.0 10:44:00 netifaces==0.10.9 10:44:00 niet==1.4.2 10:44:00 nodeenv==1.3.5 10:44:00 oauth2client==4.1.3 10:44:00 oauthlib==3.1.0 10:44:00 openstacksdk==0.50.0 10:44:00 os-client-config==2.1.0 10:44:00 os-service-types==1.7.0 10:44:00 osc-lib==2.2.1 10:44:00 oslo.config==8.3.2 10:44:00 oslo.context==3.1.1 10:44:00 oslo.i18n==5.0.1 10:44:00 oslo.log==4.4.0 10:44:00 oslo.serialization==4.0.1 10:44:00 oslo.utils==4.6.0 10:44:00 packaging==20.4 10:44:00 pbr==5.4.4 10:44:00 pluggy==0.13.1 10:44:00 prettytable==0.7.2 10:44:00 py==1.9.0 10:44:00 pyasn1==0.4.8 10:44:00 pyasn1-modules==0.2.8 10:44:00 pycparser==2.20 10:44:00 pygerrit2==2.0.10 10:44:00 PyGithub==1.46 10:44:00 pyinotify==0.9.6 10:44:00 PyJWT==1.7.1 10:44:00 pyparsing==2.4.7 10:44:00 pyperclip==1.8.0 10:44:00 pyroute2==0.4.13 10:44:00 pyrsistent==0.15.7 10:44:00 PySocks==1.6.8 10:44:00 python-cinderclient==7.2.0 10:44:00 python-dateutil==2.8.1 10:44:00 python-heatclient==2.2.1 10:44:00 python-jenkins==1.7.0 10:44:00 python-keystoneclient==4.1.1 10:44:00 python-magnumclient==3.2.1 10:44:00 python-novaclient==17.2.1 10:44:00 python-openstackclient==5.4.0 10:44:00 python-swiftclient==3.10.1 10:44:00 pytz==2020.1 10:44:00 PyYAML==5.3 10:44:00 requests==2.23.0 10:44:00 requests-oauthlib==1.3.0 10:44:00 requestsexceptions==1.4.0 10:44:00 rfc3986==1.4.0 10:44:00 rpm==4.11.3 10:44:00 rsa==4.0 10:44:00 ruamel.yaml==0.16.10 10:44:00 ruamel.yaml.clib==0.2.0 10:44:00 s3transfer==0.3.3 10:44:00 shade==1.27.2 10:44:00 simplejson==3.17.2 10:44:00 six==1.14.0 10:44:00 soupsieve==2.0 10:44:00 stevedore==3.2.2 10:44:00 tabulate==0.8.6 10:44:00 toml==0.10.0 10:44:00 tox==3.20.0 10:44:00 tqdm==4.43.0 10:44:00 urllib3==1.25.8 10:44:00 virtualenv==20.0.33 10:44:00 wcwidth==0.2.5 10:44:00 websocket-client==0.57.0 10:44:00 wrapt==1.12.1 10:44:00 xdg==3.0.2 10:44:00 xmltodict==0.12.0 10:44:00 yq==2.11.1 10:44:00 zipp==3.3.0 10:44:00 Cache entry deserialization failed, entry ignored 10:44:02 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 10:44:05 Python 2.7.5 10:44:05 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 10:44:05 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 10:44:05 ansible==2.9.7 10:44:05 Babel==0.9.6 10:44:05 backports.ssl-match-hostname==3.5.0.1 10:44:05 beautifulsoup4==4.4.1 10:44:05 bodhi==2.11.0 10:44:05 bodhi-client==2.11.0 10:44:05 CCColUtils==1.4 10:44:05 cffi==1.6.0 10:44:05 chardet==2.2.1 10:44:05 click==6.7 10:44:05 cloud-init==18.5 10:44:05 configobj==4.7.2 10:44:05 cryptography==1.7.2 10:44:05 decorator==3.4.0 10:44:05 distro==1.2.0 10:44:05 enum34==1.0.4 10:44:05 fedpkg==1.38 10:44:05 futures==3.1.1 10:44:05 gitdb==0.6.4 10:44:05 GitPython==1.0.1 10:44:05 html5lib==0.999 10:44:05 httplib2==0.9.2 10:44:05 idna==2.4 10:44:05 iniparse==0.4 10:44:05 ipaddress==1.0.16 10:44:05 IPy==0.75 10:44:05 javapackages==1.0.0 10:44:05 Jinja2==2.7.2 10:44:05 jmespath==0.9.4 10:44:05 jsonpatch==1.2 10:44:05 jsonpointer==1.9 10:44:05 kerberos==1.1 10:44:05 kitchen==1.1.1 10:44:05 langtable==0.0.31 10:44:05 lockfile==0.9.1 10:44:05 lxml==3.2.1 10:44:05 MarkupSafe==0.11 10:44:05 munch==2.0.2 10:44:05 offtrac==0.1.0 10:44:05 openidc-client==0.6.0 10:44:05 packagedb-cli==2.14.1 10:44:05 paramiko==2.1.1 10:44:05 perf==0.1 10:44:05 ply==3.4 10:44:05 policycoreutils-default-encoding==0.1 10:44:05 prettytable==0.7.2 10:44:05 pyasn1==0.1.9 10:44:05 pycparser==2.14 10:44:05 pycurl==7.19.0 10:44:05 pygobject==3.22.0 10:44:05 pygpgme==0.3 10:44:05 pyliblzma==0.5.3 10:44:05 pyOpenSSL==0.13.1 10:44:05 pyparsing==1.5.6 10:44:05 pyserial==2.6 10:44:05 python-augeas==0.5.0 10:44:05 python-bugzilla==2.3.0 10:44:05 python-dateutil==1.5 10:44:05 python-fedora==0.10.0 10:44:05 python-linux-procfs==0.4.9 10:44:05 python-yubico==1.2.3 10:44:05 pyudev==0.15 10:44:05 pyusb==1.0.0b1 10:44:05 pyxattr==0.5.1 10:44:05 PyYAML==3.10 10:44:05 requests==2.6.0 10:44:05 requests-kerberos==0.7.0 10:44:05 rpkg==1.60 10:44:05 schedutils==0.4 10:44:05 seobject==0.1 10:44:05 sepolicy==1.1 10:44:05 six==1.9.0 10:44:05 smmap==0.9.0 10:44:05 urlgrabber==3.10 10:44:05 urllib3==1.10.2 10:44:05 virtualenv==15.1.0 10:44:05 yum-langpacks==0.4.2 10:44:05 yum-metadata-parser==1.1.4 [Pipeline] echo 10:44:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:44:06 ---> sudo-logs.sh 10:44:06 Archiving 'sudo' log.. [Pipeline] echo 10:44:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:44:06 ---> job-cost.sh 10:44:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-F56J 10:44:16 Cache entry deserialization failed, entry ignored 10:44:16 Cache entry deserialization failed, entry ignored 10:44:17 Cache entry deserialization failed, entry ignored 10:44:17 Cache entry deserialization failed, entry ignored 10:44:17 Cache entry deserialization failed, entry ignored 10:44:17 Cache entry deserialization failed, entry ignored 10:44:17 Cache entry deserialization failed, entry ignored 10:44:17 Cache entry deserialization failed, entry ignored 10:44:17 Cache entry deserialization failed, entry ignored 10:44:18 Cache entry deserialization failed, entry ignored 10:44:18 Cache entry deserialization failed, entry ignored 10:44:18 Cache entry deserialization failed, entry ignored 10:44:22 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:44:48 lf-activate-venv(): INFO: Adding /tmp/venv-F56J/bin to PATH 10:44:48 INFO: No Stack... 10:44:49 INFO: Retrieving Pricing Info for: v1-standard-2 10:44:51 INFO: Archiving Costs [Pipeline] echo 10:44:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:44:51 ---> logs-deploy.sh 10:44:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-58/1 10:44:51 INFO: archiving workspace using pattern(s): 10:44:52 Archives upload complete. 10:44:53 INFO: archiving logs to Nexus 10:44:54 ---> uname -a: 10:44:54 Linux prd-centos7-docker-4c-2g-3726.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 10:44:54 10:44:54 10:44:54 ---> lscpu: 10:44:54 Architecture: x86_64 10:44:54 CPU op-mode(s): 32-bit, 64-bit 10:44:54 Byte Order: Little Endian 10:44:54 CPU(s): 4 10:44:54 On-line CPU(s) list: 0-3 10:44:54 Thread(s) per core: 1 10:44:54 Core(s) per socket: 1 10:44:54 Socket(s): 4 10:44:54 NUMA node(s): 1 10:44:54 Vendor ID: GenuineIntel 10:44:54 CPU family: 6 10:44:54 Model: 44 10:44:54 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 10:44:54 Stepping: 1 10:44:54 CPU MHz: 2933.438 10:44:54 BogoMIPS: 5866.87 10:44:54 Virtualization: VT-x 10:44:54 Hypervisor vendor: KVM 10:44:54 Virtualization type: full 10:44:54 L1d cache: 32K 10:44:54 L1i cache: 32K 10:44:54 L2 cache: 4096K 10:44:54 L3 cache: 16384K 10:44:54 NUMA node0 CPU(s): 0-3 10:44:54 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 10:44:54 10:44:54 10:44:54 ---> nproc: 10:44:54 4 10:44:54 10:44:54 10:44:54 ---> df -h: 10:44:54 Filesystem Size Used Avail Use% Mounted on 10:44:54 devtmpfs 887M 0 887M 0% /dev 10:44:54 tmpfs 919M 0 919M 0% /dev/shm 10:44:54 tmpfs 919M 17M 903M 2% /run 10:44:54 tmpfs 919M 0 919M 0% /sys/fs/cgroup 10:44:54 /dev/vda1 50G 7.3G 43G 15% / 10:44:54 tmpfs 184M 0 184M 0% /run/user/1001 10:44:54 10:44:54