Pull request #61 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 jpwhitemn for edgexfoundry/go-mod-registry Obtained Jenkinsfile from 5eae245122d85ad54964768b3e6158a0e9df59d2+cb9a3e23744de8cb2499e67f5ea37873cf6d9ca1 (42009c06c1a9db0965a4b143b13c60c1e059622b) 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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-61/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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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-61/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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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; ‘prd-centos7-docker-4c-2g-6362’ is offline; ‘prd-centos7-docker-4c-2g-6365’ is offline; ‘prd-centos7-docker-4c-2g-6368’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6369 in /w/workspace/gexfoundry_go-mod-registry_PR-61 [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-61 # 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 > 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/61/head:refs/remotes/origin/PR-61 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cb9a3e23744de8cb2499e67f5ea37873cf6d9ca1 into PR head commit 5eae245122d85ad54964768b3e6158a0e9df59d2 Merge succeeded, producing 5eae245122d85ad54964768b3e6158a0e9df59d2 Checking out Revision 5eae245122d85ad54964768b3e6158a0e9df59d2 (PR-61) > git config core.sparsecheckout # timeout=10 > git checkout -f 5eae245122d85ad54964768b3e6158a0e9df59d2 # 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 cb9a3e23744de8cb2499e67f5ea37873cf6d9ca1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5eae245122d85ad54964768b3e6158a0e9df59d2 # timeout=10 Commit message: "fix: replace broken link in pull request template" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:38:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:38:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:38:07 ========================================================= 22:38:07 EdgeX Global Pipelines Version Info 22:38:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:38:08 ------------------- 22:38:08 stable info: 22:38:08 ------------------- 22:38:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:38:08 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 22:38:08 Message: update stable to v1.0.144 22:38:09 ------------------- 22:38:09 experimental info: 22:38:09 ------------------- 22:38:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:38:09 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 22:38:09 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 22:38:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo 22:38:10 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo 22:38:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:38:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:38:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:38:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:38:11 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:38:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:38:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:38:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:38:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:38:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-registry [Pipeline] echo 22:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:38:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:38:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:38:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:38:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:38:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 22:38:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:38:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:38:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:38:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:38:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:38:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:38:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-61 [Pipeline] echo 22:38:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-61 [Pipeline] echo 22:38:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-61 [Pipeline] echo 22:38:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5eae245122d85ad54964768b3e6158a0e9df59d2 [Pipeline] echo 22:38:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5eae245 [Pipeline] echo 22:38:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:38:15 + git log --format=format:%s -1 5eae245122d85ad54964768b3e6158a0e9df59d2 [Pipeline] echo 22:38:15 GIT_COMMIT: 5eae245122d85ad54964768b3e6158a0e9df59d2, Commit Message: fix: replace broken link in pull request template [Pipeline] echo 22:38:15 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:38:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:38:16 22:38:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:38:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:38:17 latest: Pulling from edgex-devops/git-semver 22:38:17 31603596830f: Pulling fs layer 22:38:17 2a8b12db71e7: Pulling fs layer 22:38:17 6ca5941a6612: Pulling fs layer 22:38:17 ecc8261a40a4: Pulling fs layer 22:38:17 ecc8261a40a4: Waiting 22:38:17 2a8b12db71e7: Verifying Checksum 22:38:17 2a8b12db71e7: Download complete 22:38:17 31603596830f: Verifying Checksum 22:38:17 31603596830f: Download complete 22:38:17 ecc8261a40a4: Verifying Checksum 22:38:17 ecc8261a40a4: Download complete 22:38:17 6ca5941a6612: Verifying Checksum 22:38:17 6ca5941a6612: Download complete 22:38:17 31603596830f: Pull complete 22:38:17 2a8b12db71e7: Pull complete 22:38:18 6ca5941a6612: Pull complete 22:38:18 ecc8261a40a4: Pull complete 22:38:18 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:38:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:38:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:38:19 prd-centos7-docker-4c-2g-6369 does not seem to be running inside a container 22:38:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-registry_PR-61 -v /w/workspace/gexfoundry_go-mod-registry_PR-61:/w/workspace/gexfoundry_go-mod-registry_PR-61:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-61@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-61@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:38:21 $ docker top 0113780475afd88beb819db405b5fbd660615baec655cb1cabcb515130c1dc33 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:38:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:38:21 [ssh-agent] Looking for ssh-agent implementation... 22:38:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:38:21 $ docker exec 0113780475afd88beb819db405b5fbd660615baec655cb1cabcb515130c1dc33 ssh-agent 22:38:22 SSH_AUTH_SOCK=/tmp/ssh-GFv5f5eMnGQp/agent.11 22:38:22 SSH_AGENT_PID=16 22:38:22 Running ssh-add (command line suppressed) 22:38:22 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-61@tmp/private_key_1535146640496483264.key (/w/workspace/gexfoundry_go-mod-registry_PR-61@tmp/private_key_1535146640496483264.key) 22:38:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:38:22 + git tag --points-at HEAD [Pipeline] } 22:38:22 $ docker exec --env ******** --env ******** 0113780475afd88beb819db405b5fbd660615baec655cb1cabcb515130c1dc33 ssh-agent -k 22:38:22 unset SSH_AUTH_SOCK; 22:38:22 unset SSH_AGENT_PID; 22:38:22 echo Agent pid 16 killed; 22:38:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:38:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:38:22 [ssh-agent] Looking for ssh-agent implementation... 22:38:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:38:23 $ docker exec 0113780475afd88beb819db405b5fbd660615baec655cb1cabcb515130c1dc33 ssh-agent 22:38:23 SSH_AUTH_SOCK=/tmp/ssh-ivHRzx8EiQEI/agent.46 22:38:23 SSH_AGENT_PID=51 22:38:23 Running ssh-add (command line suppressed) 22:38:23 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-61@tmp/private_key_1571034857697076171.key (/w/workspace/gexfoundry_go-mod-registry_PR-61@tmp/private_key_1571034857697076171.key) 22:38:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:38:23 + git semver init 22:38:23 # -> Open(): unable to determine branch for HEAD 22:38:23 # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-61/.git 22:38:23 # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-61 22:38:23 # $SEMVER_REMOTE_NAME = origin 22:38:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:38:23 # $SEMVER_USER_NAME = edgex-jenkins 22:38:23 # $SEMVER_BRANCH = PR-61 22:38:23 # $SEMVER_TEMP = /tmp/semver-912118406 22:38:23 # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP 22:38:24 # '/tmp/semver-912118406' -> '/w/workspace/gexfoundry_go-mod-registry_PR-61/.semver' 22:38:24 # -> Force: false 22:38:24 # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-61/.semver [Pipeline] } 22:38:24 $ docker exec --env ******** --env ******** 0113780475afd88beb819db405b5fbd660615baec655cb1cabcb515130c1dc33 ssh-agent -k 22:38:24 unset SSH_AUTH_SOCK; 22:38:24 unset SSH_AGENT_PID; 22:38:24 echo Agent pid 51 killed; 22:38:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:38:25 + git semver [Pipeline] } 22:38:25 $ docker stop --time=1 0113780475afd88beb819db405b5fbd660615baec655cb1cabcb515130c1dc33 22:38:26 $ docker rm -f 0113780475afd88beb819db405b5fbd660615baec655cb1cabcb515130c1dc33 [Pipeline] // withDockerContainer [Pipeline] sh 22:38:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:38:27 Stashed 1 file(s) [Pipeline] echo 22:38:27 [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 22:38:43 Still waiting to schedule task 22:38:43 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-6362’ is offline; ‘prd-centos7-docker-4c-2g-6365’ is offline; ‘prd-centos7-docker-4c-2g-6366’ is offline; ‘prd-centos7-docker-4c-2g-6368’ is offline; ‘prd-centos7-docker-4c-2g-6370’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6367’ doesn’t have label ‘centos7-docker-4c-2g’ 22:38:43 Still waiting to schedule task 22:38:43 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:40:08 Running on prd-centos7-docker-4c-2g-6372 in /w/workspace/gexfoundry_go-mod-registry_PR-61 [Pipeline] { [Pipeline] ws 22:40:09 Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout 22:40:15 using credential edgex-jenkins-ssh 22:40:15 Cloning the remote Git repository 22:40:15 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 22:40:15 > git init /w/workspace/go-mod-registry/1 # timeout=10 22:40:15 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 22:40:15 > git --version # timeout=10 22:40:15 > git --version # 'git version 2.16.5' 22:40:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:40:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:40:16 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 22:40:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:40:16 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 22:40:16 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 22:40:16 using GIT_SSH to set credentials SSH Credentials for GitHub 22:40:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:40:16 Merging remotes/origin/master commit cb9a3e23744de8cb2499e67f5ea37873cf6d9ca1 into PR head commit 5eae245122d85ad54964768b3e6158a0e9df59d2 22:40:17 Merge succeeded, producing 5eae245122d85ad54964768b3e6158a0e9df59d2 22:40:17 Checking out Revision 5eae245122d85ad54964768b3e6158a0e9df59d2 (PR-61) 22:40:16 > git config core.sparsecheckout # timeout=10 22:40:16 > git checkout -f 5eae245122d85ad54964768b3e6158a0e9df59d2 # timeout=10 22:40:17 > git remote # timeout=10 22:40:17 > git config --get remote.origin.url # timeout=10 22:40:17 using GIT_SSH to set credentials SSH Credentials for GitHub 22:40:17 > git merge cb9a3e23744de8cb2499e67f5ea37873cf6d9ca1 # timeout=10 22:40:17 > git rev-parse HEAD^{commit} # timeout=10 22:40:17 > git config core.sparsecheckout # timeout=10 22:40:17 > git checkout -f 5eae245122d85ad54964768b3e6158a0e9df59d2 # timeout=10 22:40:21 Commit message: "fix: replace broken link in pull request template" 22:40:21 > git --version # timeout=10 22:40:21 > git --version # 'git version 2.16.5' 22:40:21 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:40:22 ========================================================= 22:40:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:40:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:40:24 + 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 . 22:40:24 Sending build context to Docker daemon 263.7kB 22:40:24 Step 1/7 : ARG BASE=golang:1.15-alpine 22:40:24 Step 2/7 : FROM ${BASE} 22:40:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:40:24 df20fa9351a1: Pulling fs layer 22:40:24 ed8968b2872e: Pulling fs layer 22:40:24 a92cc7c5fd73: Pulling fs layer 22:40:24 e871e8e8d7a9: Pulling fs layer 22:40:24 e73272ec9a57: Pulling fs layer 22:40:24 1e910a182e73: Pulling fs layer 22:40:24 4e634b169226: Pulling fs layer 22:40:24 e73272ec9a57: Waiting 22:40:24 1e910a182e73: Waiting 22:40:24 4e634b169226: Waiting 22:40:24 e871e8e8d7a9: Waiting 22:40:24 a92cc7c5fd73: Verifying Checksum 22:40:24 a92cc7c5fd73: Download complete 22:40:24 ed8968b2872e: Verifying Checksum 22:40:24 ed8968b2872e: Download complete 22:40:24 e73272ec9a57: Verifying Checksum 22:40:24 e73272ec9a57: Download complete 22:40:25 1e910a182e73: Verifying Checksum 22:40:25 1e910a182e73: Download complete 22:40:25 df20fa9351a1: Verifying Checksum 22:40:25 df20fa9351a1: Download complete 22:40:26 df20fa9351a1: Pull complete 22:40:26 ed8968b2872e: Pull complete 22:40:26 a92cc7c5fd73: Pull complete 22:40:30 4e634b169226: Verifying Checksum 22:40:30 4e634b169226: Download complete 22:40:31 e871e8e8d7a9: Verifying Checksum 22:40:31 e871e8e8d7a9: Download complete 22:40:42 e871e8e8d7a9: Pull complete 22:40:42 e73272ec9a57: Pull complete 22:40:42 1e910a182e73: Pull complete 22:40:52 4e634b169226: Pull complete 22:40:52 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 22:40:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:40:52 ---> f7629b54cfaa 22:40:52 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:40:52 ---> Running in 354846f694de 22:40:52 Removing intermediate container 354846f694de 22:40:52 ---> 6f2a1784f43e 22:40:52 Step 4/7 : RUN apk add --update bash 22:40:52 ---> Running in ab926e49aea0 22:40:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:40:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:40:54 OK: 166 MiB in 39 packages 22:40:55 Removing intermediate container ab926e49aea0 22:40:55 ---> 24dcd42b6470 22:40:55 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 22:40:55 ---> Running in e862e06d8c68 22:40:55 Removing intermediate container e862e06d8c68 22:40:55 ---> ec9026fe18ab 22:40:55 Step 6/7 : COPY go.mod . 22:40:56 ---> c517e7159d49 22:40:56 Step 7/7 : RUN go mod download 22:40:56 ---> Running in 6c9bbc814fb5 22:41:06 Removing intermediate container 6c9bbc814fb5 22:41:06 ---> 830a50050c8c 22:41:06 Successfully built 830a50050c8c 22:41:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:41:07 + docker inspect -f . ci-base-image-x86_64 22:41:07 . [Pipeline] withDockerContainer 22:41:07 prd-centos7-docker-4c-2g-6372 does not seem to be running inside a container 22:41:07 $ 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 22:41:09 $ docker top fed5af4d0066b150c001e707e0ad2c43a3a7973ff7c27d0e2b92f49848ecab41 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:09 + go version 22:41:09 go version go1.15.2 linux/amd64 [Pipeline] } 22:41:09 $ docker stop --time=1 fed5af4d0066b150c001e707e0ad2c43a3a7973ff7c27d0e2b92f49848ecab41 22:41:11 $ docker rm -f fed5af4d0066b150c001e707e0ad2c43a3a7973ff7c27d0e2b92f49848ecab41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:41:12 + docker inspect -f . ci-base-image-x86_64 22:41:12 . [Pipeline] withDockerContainer 22:41:12 prd-centos7-docker-4c-2g-6372 does not seem to be running inside a container 22:41:12 $ 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 22:41:13 $ docker top 391716e6d473db16b234480b7ac751480069b4ccfafa07de5f932cb9ae63d544 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:14 + make test 22:41:14 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:41:29 ok github.com/edgexfoundry/go-mod-registry/internal/pkg/consul 2.072s coverage: 87.2% of statements 22:41:29 ? github.com/edgexfoundry/go-mod-registry/pkg/types [no test files] 22:41:29 ok github.com/edgexfoundry/go-mod-registry/registry 0.015s coverage: 85.7% of statements 22:41:29 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:41:29 gofmt -l . 22:41:29 [ "`gofmt -l .`" = "" ] [Pipeline] stash 22:41:30 Stashed 1 file(s) [Pipeline] } 22:41:30 $ docker stop --time=1 391716e6d473db16b234480b7ac751480069b4ccfafa07de5f932cb9ae63d544 22:41:32 $ docker rm -f 391716e6d473db16b234480b7ac751480069b4ccfafa07de5f932cb9ae63d544 [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] } 22:46:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6377 in /w/workspace/gexfoundry_go-mod-registry_PR-61 [Pipeline] { [Pipeline] ws 22:46:18 Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout 22:46:23 using credential edgex-jenkins-ssh 22:46:24 Cloning the remote Git repository 22:46:24 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 22:46:24 > git init /w/workspace/go-mod-registry/1 # timeout=10 22:46:24 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 22:46:24 > git --version # timeout=10 22:46:24 > git --version # 'git version 2.17.1' 22:46:24 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:46:25 Merging remotes/origin/master commit cb9a3e23744de8cb2499e67f5ea37873cf6d9ca1 into PR head commit 5eae245122d85ad54964768b3e6158a0e9df59d2 22:46:25 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 22:46:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:46:25 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 22:46:25 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 22:46:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:46:25 > git config core.sparsecheckout # timeout=10 22:46:25 > git checkout -f 5eae245122d85ad54964768b3e6158a0e9df59d2 # timeout=10 22:46:25 > git remote # timeout=10 22:46:26 Merge succeeded, producing 5eae245122d85ad54964768b3e6158a0e9df59d2 22:46:26 Checking out Revision 5eae245122d85ad54964768b3e6158a0e9df59d2 (PR-61) 22:46:25 > git config --get remote.origin.url # timeout=10 22:46:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:26 > git merge cb9a3e23744de8cb2499e67f5ea37873cf6d9ca1 # timeout=10 22:46:26 > git rev-parse HEAD^{commit} # timeout=10 22:46:26 > git config core.sparsecheckout # timeout=10 22:46:26 > git checkout -f 5eae245122d85ad54964768b3e6158a0e9df59d2 # timeout=10 22:46:30 Commit message: "fix: replace broken link in pull request template" 22:46:30 > git --version # timeout=10 22:46:30 > git --version # 'git version 2.17.1' 22:46:30 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:46:31 ========================================================= 22:46:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:46:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:46:33 + 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 . 22:46:33 Sending build context to Docker daemon 263.7kB 22:46:33 Step 1/7 : ARG BASE=golang:1.15-alpine 22:46:33 Step 2/7 : FROM ${BASE} 22:46:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:46:34 b538f80385f9: Pulling fs layer 22:46:34 74f711af9a0d: Pulling fs layer 22:46:34 99f96fe45779: Pulling fs layer 22:46:34 8529a6b9a6be: Pulling fs layer 22:46:34 45590311c82a: Pulling fs layer 22:46:34 69ca0ff8b7b3: Pulling fs layer 22:46:34 209524e5b208: Pulling fs layer 22:46:34 8529a6b9a6be: Waiting 22:46:34 45590311c82a: Waiting 22:46:34 69ca0ff8b7b3: Waiting 22:46:34 209524e5b208: Waiting 22:46:34 99f96fe45779: Verifying Checksum 22:46:34 99f96fe45779: Download complete 22:46:34 74f711af9a0d: Verifying Checksum 22:46:34 74f711af9a0d: Download complete 22:46:34 45590311c82a: Verifying Checksum 22:46:34 45590311c82a: Download complete 22:46:34 69ca0ff8b7b3: Verifying Checksum 22:46:34 69ca0ff8b7b3: Download complete 22:46:34 b538f80385f9: Verifying Checksum 22:46:34 b538f80385f9: Download complete 22:46:35 b538f80385f9: Pull complete 22:46:35 74f711af9a0d: Pull complete 22:46:35 99f96fe45779: Pull complete 22:46:45 209524e5b208: Verifying Checksum 22:46:45 209524e5b208: Download complete 22:46:52 8529a6b9a6be: Verifying Checksum 22:46:52 8529a6b9a6be: Download complete 22:47:02 8529a6b9a6be: Pull complete 22:47:02 45590311c82a: Pull complete 22:47:02 69ca0ff8b7b3: Pull complete 22:47:06 209524e5b208: Pull complete 22:47:06 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 22:47:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:47:06 ---> 5bddaf1c2fca 22:47:06 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:47:08 ---> Running in 39f0de30799d 22:47:08 Removing intermediate container 39f0de30799d 22:47:08 ---> b040430505f9 22:47:08 Step 4/7 : RUN apk add --update bash 22:47:09 ---> Running in 751ee1c62f73 22:47:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:47:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:47:13 OK: 142 MiB in 39 packages 22:47:14 Removing intermediate container 751ee1c62f73 22:47:14 ---> fee549d72666 22:47:14 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 22:47:14 ---> Running in cb0ff9aa23e3 22:47:14 Removing intermediate container cb0ff9aa23e3 22:47:14 ---> f8574db50544 22:47:14 Step 6/7 : COPY go.mod . 22:47:15 ---> 141104e37ab9 22:47:15 Step 7/7 : RUN go mod download 22:47:15 ---> Running in 5334523d2f2f 22:47:27 Removing intermediate container 5334523d2f2f 22:47:27 ---> 98a814d59576 22:47:27 Successfully built 98a814d59576 22:47:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:47:28 + docker inspect -f . ci-base-image-arm64 22:47:28 . [Pipeline] withDockerContainer 22:47:28 prd-ubuntu18.04-docker-arm64-4c-16g-6377 does not seem to be running inside a container 22:47:28 $ 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-arm64 cat 22:47:30 $ docker top 159d4d9bdd65c935ca017775723e333bbadddf1761cf4f1b4328efb9f12324f1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:32 + go version 22:47:32 go version go1.15.2 linux/arm64 [Pipeline] } 22:47:32 $ docker stop --time=1 159d4d9bdd65c935ca017775723e333bbadddf1761cf4f1b4328efb9f12324f1 22:47:34 $ docker rm -f 159d4d9bdd65c935ca017775723e333bbadddf1761cf4f1b4328efb9f12324f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:47:35 + docker inspect -f . ci-base-image-arm64 22:47:35 . [Pipeline] withDockerContainer 22:47:35 prd-ubuntu18.04-docker-arm64-4c-16g-6377 does not seem to be running inside a container 22:47:35 $ 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-arm64 cat 22:47:37 $ docker top 0f03d1683fb807dc30b05560252d54ca0a5385e8213e821f3948704440c10823 -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:38 + make test 22:47:38 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:48:05 ok github.com/edgexfoundry/go-mod-registry/internal/pkg/consul 2.057s coverage: 87.2% of statements 22:48:05 ? github.com/edgexfoundry/go-mod-registry/pkg/types [no test files] 22:48:05 ok github.com/edgexfoundry/go-mod-registry/registry 0.012s coverage: 85.7% of statements 22:48:05 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:48:05 gofmt -l . 22:48:05 [ "`gofmt -l .`" = "" ] [Pipeline] stash 22:48:05 Warning: overwriting stash ‘coverage-report’ 22:48:06 Stashed 1 file(s) [Pipeline] } 22:48:06 $ docker stop --time=1 0f03d1683fb807dc30b05560252d54ca0a5385e8213e821f3948704440c10823 22:48:08 $ docker rm -f 0f03d1683fb807dc30b05560252d54ca0a5385e8213e821f3948704440c10823 [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 22:48:12 provisioning config files... 22:48:12 copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-61@tmp/config2113154603223946159tmp [Pipeline] { [Pipeline] sh 22:48:13 + set +x 22:48:13 + curl -s https://codecov.io/bash 22:48:13 + bash -s -- 22:48:13 22:48:13 _____ _ 22:48:13 / ____| | | 22:48:13 | | ___ __| | ___ ___ _____ __ 22:48:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:48:13 | |___| (_) | (_| | __/ (_| (_) \ V / 22:48:13 \_____\___/ \__,_|\___|\___\___/ \_/ 22:48:13 Bash-20201009-048fee3 22:48:13 22:48:13 22:48:13 ==> Jenkins CI detected. 22:48:13 project root: . 22:48:13 --> token set from env 22:48:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:48:13 ==> Running gcov in . (disable via -X gcov) 22:48:13 ==> Python coveragepy not found 22:48:13 ==> Searching for coverage reports in: 22:48:13 + . 22:48:13 -> Found 1 reports 22:48:13 ==> Detecting git/mercurial file structure 22:48:13 ==> Reading reports 22:48:13 + ./coverage.out bytes=7890 22:48:13 ==> Appending adjustments 22:48:13 https://docs.codecov.io/docs/fixing-reports 22:48:13 + Found adjustments 22:48:13 ==> Gzipping contents 22:48:13 ==> Uploading reports 22:48:13 url: https://codecov.io 22:48:13 query: branch=PR-61&commit=5eae245122d85ad54964768b3e6158a0e9df59d2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-61%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=61&job=&cmd_args= 22:48:13 -> Pinging Codecov 22:48:13 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-61&commit=5eae245122d85ad54964768b3e6158a0e9df59d2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-61%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=61&job=&cmd_args= 22:48:13 -> Uploading to 22:48:13 22:48:13 % Total % Received % Xferd Average Speed Time Time Time Current 22:48:13 Dload Upload Total Spent Left Speed 22:48:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 22:48:13 X> Failed to upload 22:48:13 ==> Uploading to Codecov 22:48:13 % Total % Received % Xferd Average Speed Time Time Time Current 22:48:13 Dload Upload Total Spent Left Speed 22:48:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1757 100 112 100 1645 234 3446 --:--:-- --:--:-- --:--:-- 3441 22:48:14 View reports at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/5eae245122d85ad54964768b3e6158a0e9df59d2 [Pipeline] } 22:48:14 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 22:48:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:48:19 ---> package-listing.sh 22:48:19 ++ facter osfamily 22:48:19 ++ tr '[:upper:]' '[:lower:]' 22:48:19 + OS_FAMILY=redhat 22:48:19 + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-61 22:48:19 + START_PACKAGES=/tmp/packages_start.txt 22:48:19 + END_PACKAGES=/tmp/packages_end.txt 22:48:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:48:19 + PACKAGES=/tmp/packages_start.txt 22:48:19 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-61 ']' 22:48:19 + PACKAGES=/tmp/packages_end.txt 22:48:19 + case "${OS_FAMILY}" in 22:48:19 + rpm -qa 22:48:19 + sort 22:48:24 + '[' -f /tmp/packages_start.txt ']' 22:48:24 + '[' -f /tmp/packages_end.txt ']' 22:48:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:48:24 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-61 ']' 22:48:24 + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-61/archives/ 22:48:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-registry_PR-61/archives/ [Pipeline] echo 22:48:24 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-61/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:48:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:48:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:48:24 22:48:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:48:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:48:25 alpine: Pulling from edgex-lftools-log-publisher 22:48:25 df20fa9351a1: Pulling fs layer 22:48:25 36b3adc4ff6f: Pulling fs layer 22:48:25 8ad3a11d3b57: Pulling fs layer 22:48:25 46f8f816bc3b: Pulling fs layer 22:48:25 93b61091891f: Pulling fs layer 22:48:25 93b9cdb0e59b: Pulling fs layer 22:48:25 5e14af77c1be: Pulling fs layer 22:48:25 01666e4c0597: Pulling fs layer 22:48:25 aa168da1d23b: Pulling fs layer 22:48:25 93b9cdb0e59b: Waiting 22:48:25 5e14af77c1be: Waiting 22:48:25 46f8f816bc3b: Waiting 22:48:25 01666e4c0597: Waiting 22:48:25 aa168da1d23b: Waiting 22:48:25 93b61091891f: Waiting 22:48:25 36b3adc4ff6f: Download complete 22:48:25 46f8f816bc3b: Verifying Checksum 22:48:25 46f8f816bc3b: Download complete 22:48:25 df20fa9351a1: Verifying Checksum 22:48:25 df20fa9351a1: Download complete 22:48:25 93b9cdb0e59b: Verifying Checksum 22:48:25 93b9cdb0e59b: Download complete 22:48:25 93b61091891f: Verifying Checksum 22:48:25 93b61091891f: Download complete 22:48:25 5e14af77c1be: Verifying Checksum 22:48:25 5e14af77c1be: Download complete 22:48:25 01666e4c0597: Verifying Checksum 22:48:25 01666e4c0597: Download complete 22:48:25 df20fa9351a1: Pull complete 22:48:26 36b3adc4ff6f: Pull complete 22:48:34 8ad3a11d3b57: Verifying Checksum 22:48:34 8ad3a11d3b57: Download complete 22:48:34 8ad3a11d3b57: Pull complete 22:48:34 46f8f816bc3b: Pull complete 22:48:34 93b61091891f: Pull complete 22:48:34 93b9cdb0e59b: Pull complete 22:48:34 5e14af77c1be: Pull complete 22:48:34 01666e4c0597: Pull complete 22:48:44 aa168da1d23b: Verifying Checksum 22:48:44 aa168da1d23b: Download complete 22:48:50 aa168da1d23b: Pull complete 22:48:50 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:48:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:48:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:48:50 prd-centos7-docker-4c-2g-6369 does not seem to be running inside a container 22:48:50 $ 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-61/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-61 -v /w/workspace/gexfoundry_go-mod-registry_PR-61:/w/workspace/gexfoundry_go-mod-registry_PR-61:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-61@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-61@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:48:59 $ docker top 36fa9d917d34b4c3b9d3d32ce1b7534c49f622c35019271b94e8632a19eb3663 -eo pid,comm [Pipeline] { [Pipeline] sh 22:49:00 + touch /tmp/pre-build-complete [Pipeline] sh 22:49:00 + mkdir -p /var/log/sa [Pipeline] sh 22:49:00 + ls /var/log/sa-host 22:49:00 + sadf -c /var/log/sa-host/sa05 22:49:00 file_magic: OK 22:49:00 HZ: Using current value: 100 22:49:00 file_header: OK 22:49:00 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 22:49:00 Statistics: 22:49:00 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:49:00 File successfully converted to sysstat format version 12.2.1 22:49:00 + sadf -c /var/log/sa-host/sa19 22:49:00 file_magic: OK 22:49:00 HZ: Using current value: 100 22:49:00 file_header: OK 22:49:00 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 22:49:00 Statistics: 22:49:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:49:00 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:49:01 provisioning config files... 22:49:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-61@tmp/config3985732786930960110tmp [Pipeline] { [Pipeline] echo 22:49:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:49:01 ---> create-netrc.sh [Pipeline] } 22:49:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:49:01 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:49:02 ---> python-tools-install.sh [Pipeline] echo 22:49:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:49:02 ---> sudo-logs.sh 22:49:02 Archiving 'sudo' log.. [Pipeline] echo 22:49:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:49:02 ---> job-cost.sh 22:49:02 lf-activate-venv: SKIPPING 22:49:02 INFO: No Stack... 22:49:03 INFO: Retrieving Pricing Info for: v1-standard-2 22:49:04 INFO: Archiving Costs [Pipeline] echo 22:49:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:49:04 ---> logs-deploy.sh 22:49:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-61/1 22:49:04 INFO: archiving workspace using pattern(s): 22:49:06 Archives upload complete. 22:49:06 INFO: archiving logs to Nexus