Pull request #50 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 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb+1046cccd4841a3fd011f4d5cde55378f39b67fd6 (70b20addd48716925963f221f11190265c6dfcad) 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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-50/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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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. [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2322 in /w/workspace/gexfoundry_go-mod-registry_PR-50 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/go-mod-registry.git > git init /w/workspace/gexfoundry_go-mod-registry_PR-50 # 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 --no-tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/50/head:refs/remotes/origin/PR-50 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1046cccd4841a3fd011f4d5cde55378f39b67fd6 into PR head commit 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb Merge succeeded, producing 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb Checking out Revision 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb (PR-50) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb # 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 1046cccd4841a3fd011f4d5cde55378f39b67fd6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb # timeout=10 Commit message: "fix(build): update to go 1.15" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-11T21:04:07.618Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-11T21:04:08.000Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-11T21:04:08.222Z] ========================================================= [2020-09-11T21:04:08.222Z] EdgeX Global Pipelines Version Info [2020-09-11T21:04:08.222Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-11T21:04:10.687Z] ------------------- [2020-09-11T21:04:10.687Z] stable info: [2020-09-11T21:04:10.687Z] ------------------- [2020-09-11T21:04:10.687Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-09-11T21:04:10.687Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-11T21:04:10.687Z] Message: update stable to v1.0.119 [2020-09-11T21:04:11.717Z] ------------------- [2020-09-11T21:04:11.717Z] experimental info: [2020-09-11T21:04:11.717Z] ------------------- [2020-09-11T21:04:11.717Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-11T21:04:11.717Z] Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 [2020-09-11T21:04:11.717Z] Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-11T21:04:12.456Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo [2020-09-11T21:04:12.601Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo [2020-09-11T21:04:12.740Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-11T21:04:12.878Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-11T21:04:13.017Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-11T21:04:13.154Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-11T21:04:13.338Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-11T21:04:13.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-11T21:04:13.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-11T21:04:13.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-11T21:04:13.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-11T21:04:14.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-registry [Pipeline] echo [2020-09-11T21:04:14.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-11T21:04:14.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-11T21:04:14.476Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T21:04:14.675Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T21:04:14.809Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T21:04:14.956Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T21:04:15.089Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-09-11T21:04:15.226Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-11T21:04:15.392Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-11T21:04:15.525Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-11T21:04:15.657Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-50 [Pipeline] echo [2020-09-11T21:04:15.779Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-50 [Pipeline] echo [2020-09-11T21:04:15.909Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-50 [Pipeline] echo [2020-09-11T21:04:16.043Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb [Pipeline] echo [2020-09-11T21:04:16.165Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a0c964 [Pipeline] echo [2020-09-11T21:04:16.293Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-11T21:04:17.192Z] + git log --format=format:%s -1 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb [Pipeline] echo [2020-09-11T21:04:17.329Z] GIT_COMMIT: 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb, Commit Message: fix(build): update to go 1.15 [Pipeline] echo [2020-09-11T21:04:17.402Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-11T21:04:18.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-11T21:04:18.363Z] [2020-09-11T21:04:18.363Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-11T21:04:18.773Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-11T21:04:19.065Z] latest: Pulling from edgex-devops/git-semver [2020-09-11T21:04:19.065Z] 31603596830f: Pulling fs layer [2020-09-11T21:04:19.065Z] 2a8b12db71e7: Pulling fs layer [2020-09-11T21:04:19.065Z] 6ca5941a6612: Pulling fs layer [2020-09-11T21:04:19.065Z] ecc8261a40a4: Pulling fs layer [2020-09-11T21:04:19.065Z] ecc8261a40a4: Waiting [2020-09-11T21:04:19.065Z] 2a8b12db71e7: Verifying Checksum [2020-09-11T21:04:19.065Z] 2a8b12db71e7: Download complete [2020-09-11T21:04:19.353Z] 31603596830f: Verifying Checksum [2020-09-11T21:04:19.353Z] 31603596830f: Download complete [2020-09-11T21:04:19.353Z] ecc8261a40a4: Verifying Checksum [2020-09-11T21:04:19.353Z] ecc8261a40a4: Download complete [2020-09-11T21:04:19.635Z] 6ca5941a6612: Verifying Checksum [2020-09-11T21:04:19.635Z] 6ca5941a6612: Download complete [2020-09-11T21:04:19.917Z] 31603596830f: Pull complete [2020-09-11T21:04:19.917Z] 2a8b12db71e7: Pull complete [2020-09-11T21:04:22.694Z] 6ca5941a6612: Pull complete [2020-09-11T21:04:22.694Z] ecc8261a40a4: Pull complete [2020-09-11T21:04:22.694Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-11T21:04:22.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-11T21:04:22.694Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-11T21:04:22.866Z] prd-centos7-docker-4c-2g-2322 does not seem to be running inside a container [2020-09-11T21:04:23.290Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-registry_PR-50 -v /w/workspace/gexfoundry_go-mod-registry_PR-50:/w/workspace/gexfoundry_go-mod-registry_PR-50:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-50@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-50@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-11T21:04:25.696Z] $ docker top d304db141f8c36d9b73a7928c1e826005dcb0d8458fbfbe99c2c68c80197a2da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-11T21:04:26.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-11T21:04:26.530Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-11T21:04:27.313Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-11T21:04:27.367Z] $ docker exec d304db141f8c36d9b73a7928c1e826005dcb0d8458fbfbe99c2c68c80197a2da ssh-agent [2020-09-11T21:04:27.590Z] SSH_AUTH_SOCK=/tmp/ssh-4Tc0yAfZi4fb/agent.11 [2020-09-11T21:04:27.590Z] SSH_AGENT_PID=16 [2020-09-11T21:04:27.635Z] Running ssh-add (command line suppressed) [2020-09-11T21:04:27.897Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-50@tmp/private_key_773796491558654911.key (/w/workspace/gexfoundry_go-mod-registry_PR-50@tmp/private_key_773796491558654911.key) [2020-09-11T21:04:28.067Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-11T21:04:28.470Z] + git describe --exact-match --tags HEAD [2020-09-11T21:04:28.470Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-11T21:04:28.521Z] $ docker exec --env ******** --env ******** d304db141f8c36d9b73a7928c1e826005dcb0d8458fbfbe99c2c68c80197a2da ssh-agent -k [2020-09-11T21:04:28.654Z] unset SSH_AUTH_SOCK; [2020-09-11T21:04:28.654Z] unset SSH_AGENT_PID; [2020-09-11T21:04:28.654Z] echo Agent pid 16 killed; [2020-09-11T21:04:28.710Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-11T21:04:28.889Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-11T21:04:28.889Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-11T21:04:29.013Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-11T21:04:29.013Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-11T21:04:29.338Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-11T21:04:29.346Z] $ docker exec d304db141f8c36d9b73a7928c1e826005dcb0d8458fbfbe99c2c68c80197a2da ssh-agent [2020-09-11T21:04:29.600Z] SSH_AUTH_SOCK=/tmp/ssh-mb82iF8NmEib/agent.46 [2020-09-11T21:04:29.600Z] SSH_AGENT_PID=51 [2020-09-11T21:04:29.609Z] Running ssh-add (command line suppressed) [2020-09-11T21:04:29.883Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-50@tmp/private_key_4633226670585768059.key (/w/workspace/gexfoundry_go-mod-registry_PR-50@tmp/private_key_4633226670585768059.key) [2020-09-11T21:04:29.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-11T21:04:30.436Z] + git semver init [2020-09-11T21:04:30.436Z] # -> Open(): unable to determine branch for HEAD [2020-09-11T21:04:30.436Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-50/.git [2020-09-11T21:04:30.436Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-50 [2020-09-11T21:04:30.436Z] # $SEMVER_REMOTE_NAME = origin [2020-09-11T21:04:30.436Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-11T21:04:30.436Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-11T21:04:30.436Z] # $SEMVER_BRANCH = PR-50 [2020-09-11T21:04:30.436Z] # $SEMVER_TEMP = /tmp/semver-548029963 [2020-09-11T21:04:30.436Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP [2020-09-11T21:04:31.030Z] # '/tmp/semver-548029963' -> '/w/workspace/gexfoundry_go-mod-registry_PR-50/.semver' [2020-09-11T21:04:31.030Z] # -> Force: false [2020-09-11T21:04:31.030Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-50/.semver [Pipeline] } [2020-09-11T21:04:31.068Z] $ docker exec --env ******** --env ******** d304db141f8c36d9b73a7928c1e826005dcb0d8458fbfbe99c2c68c80197a2da ssh-agent -k [2020-09-11T21:04:31.236Z] unset SSH_AUTH_SOCK; [2020-09-11T21:04:31.238Z] unset SSH_AGENT_PID; [2020-09-11T21:04:31.238Z] echo Agent pid 51 killed; [2020-09-11T21:04:31.315Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-11T21:04:31.928Z] + git semver [Pipeline] } [2020-09-11T21:04:31.962Z] $ docker stop --time=1 d304db141f8c36d9b73a7928c1e826005dcb0d8458fbfbe99c2c68c80197a2da [2020-09-11T21:04:33.475Z] $ docker rm -f d304db141f8c36d9b73a7928c1e826005dcb0d8458fbfbe99c2c68c80197a2da [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-11T21:04:34.494Z] Stashed 36 file(s) [Pipeline] echo [2020-09-11T21:04:34.515Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-11T21:04:34.646Z] 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 [2020-09-11T21:04:50.453Z] Still waiting to schedule task [2020-09-11T21:04:50.453Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-11T21:04:50.482Z] Still waiting to schedule task [2020-09-11T21:04:50.482Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2321’ is offline [2020-09-11T21:06:47.416Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2324 in /w/workspace/gexfoundry_go-mod-registry_PR-50 [Pipeline] { [Pipeline] ws [2020-09-11T21:06:47.523Z] Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout [2020-09-11T21:06:52.372Z] using credential edgex-jenkins-ssh [2020-09-11T21:06:52.428Z] Cloning the remote Git repository [2020-09-11T21:06:52.428Z] Cloning with configured refspecs honoured and without tags [2020-09-11T21:06:52.506Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2020-09-11T21:06:52.608Z] > git init /w/workspace/go-mod-registry/1 # timeout=10 [2020-09-11T21:06:52.671Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2020-09-11T21:06:52.671Z] > git --version # timeout=10 [2020-09-11T21:06:52.695Z] > git --version # 'git version 2.17.1' [2020-09-11T21:06:52.697Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T21:06:52.780Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T21:06:53.455Z] Fetching without tags [2020-09-11T21:06:53.979Z] Merging remotes/origin/master commit 1046cccd4841a3fd011f4d5cde55378f39b67fd6 into PR head commit 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb [2020-09-11T21:06:53.371Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2020-09-11T21:06:53.391Z] > git config --add remote.origin.fetch +refs/pull/50/head:refs/remotes/origin/PR-50 # timeout=10 [2020-09-11T21:06:53.412Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T21:06:53.447Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2020-09-11T21:06:53.476Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2020-09-11T21:06:53.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T21:06:53.494Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T21:06:54.011Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T21:06:54.170Z] Merge succeeded, producing 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb [2020-09-11T21:06:54.171Z] Checking out Revision 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb (PR-50) [2020-09-11T21:06:54.043Z] > git checkout -f 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb # timeout=10 [2020-09-11T21:06:54.103Z] > git remote # timeout=10 [2020-09-11T21:06:54.126Z] > git config --get remote.origin.url # timeout=10 [2020-09-11T21:06:54.140Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T21:06:54.150Z] > git merge 1046cccd4841a3fd011f4d5cde55378f39b67fd6 # timeout=10 [2020-09-11T21:06:54.168Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-11T21:06:54.187Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T21:06:54.210Z] > git checkout -f 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb # timeout=10 [2020-09-11T21:06:58.405Z] Commit message: "fix(build): update to go 1.15" [2020-09-11T21:06:58.472Z] > git --version # timeout=10 [2020-09-11T21:06:58.485Z] > git --version # 'git version 2.17.1' [2020-09-11T21:06:58.498Z] fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-11T21:06:59.654Z] ========================================================= [2020-09-11T21:06:59.654Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-11T21:06:59.654Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-11T21:07:00.689Z] + 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 . [2020-09-11T21:07:01.677Z] Sending build context to Docker daemon 324.1kB [2020-09-11T21:07:01.677Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-09-11T21:07:01.677Z] Step 2/7 : FROM ${BASE} [2020-09-11T21:07:01.956Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-11T21:07:01.956Z] b538f80385f9: Pulling fs layer [2020-09-11T21:07:01.956Z] 74f711af9a0d: Pulling fs layer [2020-09-11T21:07:01.956Z] 99f96fe45779: Pulling fs layer [2020-09-11T21:07:01.956Z] 8529a6b9a6be: Pulling fs layer [2020-09-11T21:07:01.956Z] 45590311c82a: Pulling fs layer [2020-09-11T21:07:01.956Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-11T21:07:01.956Z] 209524e5b208: Pulling fs layer [2020-09-11T21:07:01.956Z] 8529a6b9a6be: Waiting [2020-09-11T21:07:01.956Z] 45590311c82a: Waiting [2020-09-11T21:07:01.956Z] 69ca0ff8b7b3: Waiting [2020-09-11T21:07:01.956Z] 209524e5b208: Waiting [2020-09-11T21:07:01.956Z] 99f96fe45779: Verifying Checksum [2020-09-11T21:07:01.956Z] 99f96fe45779: Download complete [2020-09-11T21:07:01.956Z] 74f711af9a0d: Verifying Checksum [2020-09-11T21:07:01.956Z] 74f711af9a0d: Download complete [2020-09-11T21:07:01.956Z] 45590311c82a: Verifying Checksum [2020-09-11T21:07:01.956Z] 45590311c82a: Download complete [2020-09-11T21:07:02.232Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-11T21:07:02.232Z] 69ca0ff8b7b3: Download complete [2020-09-11T21:07:02.232Z] b538f80385f9: Verifying Checksum [2020-09-11T21:07:02.232Z] b538f80385f9: Download complete [2020-09-11T21:07:02.859Z] b538f80385f9: Pull complete [2020-09-11T21:07:03.469Z] 74f711af9a0d: Pull complete [2020-09-11T21:07:04.071Z] 99f96fe45779: Pull complete [2020-09-11T21:07:04.674Z] 209524e5b208: Verifying Checksum [2020-09-11T21:07:04.674Z] 209524e5b208: Download complete [2020-09-11T21:07:06.122Z] 8529a6b9a6be: Verifying Checksum [2020-09-11T21:07:06.122Z] 8529a6b9a6be: Download complete [2020-09-11T21:07:16.293Z] 8529a6b9a6be: Pull complete [2020-09-11T21:07:16.293Z] 45590311c82a: Pull complete [2020-09-11T21:07:16.293Z] 69ca0ff8b7b3: Pull complete [2020-09-11T21:07:19.710Z] 209524e5b208: Pull complete [2020-09-11T21:07:19.710Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-11T21:07:19.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-11T21:07:19.710Z] ---> 5bddaf1c2fca [2020-09-11T21:07:19.710Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-11T21:07:22.335Z] ---> Running in c781586ac62a [2020-09-11T21:07:22.335Z] Removing intermediate container c781586ac62a [2020-09-11T21:07:22.335Z] ---> 8206ac485fb6 [2020-09-11T21:07:22.335Z] Step 4/7 : RUN apk add --update bash [2020-09-11T21:07:22.606Z] ---> Running in 31105db73c3e [2020-09-11T21:07:24.050Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-11T21:07:24.871Z] Running on prd-centos7-docker-4c-2g-2326 in /w/workspace/gexfoundry_go-mod-registry_PR-50 [Pipeline] { [Pipeline] ws [2020-09-11T21:07:24.967Z] Running in /w/workspace/go-mod-registry/1 [Pipeline] { [2020-09-11T21:07:25.026Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] checkout [2020-09-11T21:07:26.458Z] OK: 142 MiB in 39 packages [2020-09-11T21:07:27.439Z] Removing intermediate container 31105db73c3e [2020-09-11T21:07:27.439Z] ---> 1704fb393361 [2020-09-11T21:07:27.439Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-09-11T21:07:27.713Z] ---> Running in 426b5a36fe5f [2020-09-11T21:07:27.974Z] using credential edgex-jenkins-ssh [2020-09-11T21:07:28.000Z] Removing intermediate container 426b5a36fe5f [2020-09-11T21:07:28.000Z] ---> 35d80ccc23a8 [2020-09-11T21:07:28.000Z] Step 6/7 : COPY go.mod . [2020-09-11T21:07:28.024Z] Cloning the remote Git repository [2020-09-11T21:07:28.024Z] Cloning with configured refspecs honoured and without tags [2020-09-11T21:07:28.051Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2020-09-11T21:07:28.123Z] > git init /w/workspace/go-mod-registry/1 # timeout=10 [2020-09-11T21:07:28.166Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2020-09-11T21:07:28.167Z] > git --version # timeout=10 [2020-09-11T21:07:28.173Z] > git --version # 'git version 2.16.5' [2020-09-11T21:07:28.173Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T21:07:28.200Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T21:07:28.754Z] Fetching without tags [2020-09-11T21:07:28.982Z] ---> ffe662996378 [2020-09-11T21:07:28.982Z] Step 7/7 : RUN go mod download [2020-09-11T21:07:28.982Z] ---> Running in e0d6493ae818 [2020-09-11T21:07:29.184Z] Merging remotes/origin/master commit 1046cccd4841a3fd011f4d5cde55378f39b67fd6 into PR head commit 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb [2020-09-11T21:07:29.253Z] Merge succeeded, producing 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb [2020-09-11T21:07:29.253Z] Checking out Revision 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb (PR-50) [2020-09-11T21:07:28.711Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2020-09-11T21:07:28.718Z] > git config --add remote.origin.fetch +refs/pull/50/head:refs/remotes/origin/PR-50 # timeout=10 [2020-09-11T21:07:28.723Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T21:07:28.745Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2020-09-11T21:07:28.760Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2020-09-11T21:07:28.760Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T21:07:28.770Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T21:07:29.194Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T21:07:29.198Z] > git checkout -f 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb # timeout=10 [2020-09-11T21:07:29.226Z] > git remote # timeout=10 [2020-09-11T21:07:29.230Z] > git config --get remote.origin.url # timeout=10 [2020-09-11T21:07:29.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T21:07:29.238Z] > git merge 1046cccd4841a3fd011f4d5cde55378f39b67fd6 # timeout=10 [2020-09-11T21:07:29.246Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-11T21:07:29.259Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T21:07:29.264Z] > git checkout -f 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb # timeout=10 [2020-09-11T21:07:32.925Z] Commit message: "fix(build): update to go 1.15" [2020-09-11T21:07:32.950Z] > git --version # timeout=10 [2020-09-11T21:07:32.956Z] > git --version # 'git version 2.16.5' [2020-09-11T21:07:32.960Z] fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-11T21:07:34.382Z] ========================================================= [2020-09-11T21:07:34.382Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-11T21:07:34.382Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-11T21:07:35.190Z] + 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 . [2020-09-11T21:07:35.458Z] Sending build context to Docker daemon 324.1kB [2020-09-11T21:07:35.458Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-09-11T21:07:35.458Z] Step 2/7 : FROM ${BASE} [2020-09-11T21:07:35.458Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-11T21:07:35.458Z] df20fa9351a1: Pulling fs layer [2020-09-11T21:07:35.458Z] ed8968b2872e: Pulling fs layer [2020-09-11T21:07:35.458Z] a92cc7c5fd73: Pulling fs layer [2020-09-11T21:07:35.458Z] e871e8e8d7a9: Pulling fs layer [2020-09-11T21:07:35.458Z] e73272ec9a57: Pulling fs layer [2020-09-11T21:07:35.458Z] 1e910a182e73: Pulling fs layer [2020-09-11T21:07:35.458Z] 4e634b169226: Pulling fs layer [2020-09-11T21:07:35.458Z] e871e8e8d7a9: Waiting [2020-09-11T21:07:35.458Z] e73272ec9a57: Waiting [2020-09-11T21:07:35.458Z] 1e910a182e73: Waiting [2020-09-11T21:07:35.458Z] 4e634b169226: Waiting [2020-09-11T21:07:35.458Z] a92cc7c5fd73: Download complete [2020-09-11T21:07:35.458Z] ed8968b2872e: Verifying Checksum [2020-09-11T21:07:35.458Z] ed8968b2872e: Download complete [2020-09-11T21:07:35.730Z] e73272ec9a57: Verifying Checksum [2020-09-11T21:07:35.730Z] e73272ec9a57: Download complete [2020-09-11T21:07:35.730Z] 1e910a182e73: Verifying Checksum [2020-09-11T21:07:35.730Z] 1e910a182e73: Download complete [2020-09-11T21:07:35.730Z] df20fa9351a1: Download complete [2020-09-11T21:07:36.000Z] df20fa9351a1: Pull complete [2020-09-11T21:07:36.000Z] ed8968b2872e: Pull complete [2020-09-11T21:07:36.264Z] a92cc7c5fd73: Pull complete [2020-09-11T21:07:37.220Z] 4e634b169226: Verifying Checksum [2020-09-11T21:07:38.174Z] e871e8e8d7a9: Download complete [2020-09-11T21:07:39.195Z] Removing intermediate container e0d6493ae818 [2020-09-11T21:07:39.195Z] ---> 95627f6e5b1f [2020-09-11T21:07:39.195Z] Successfully built 95627f6e5b1f [2020-09-11T21:07:39.195Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-11T21:07:40.189Z] + docker inspect -f . ci-base-image-arm64 [2020-09-11T21:07:40.189Z] . [Pipeline] withDockerContainer [2020-09-11T21:07:40.487Z] prd-ubuntu18.04-docker-arm64-4c-16g-2324 does not seem to be running inside a container [2020-09-11T21:07:40.583Z] $ 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 ******** ci-base-image-arm64 cat [2020-09-11T21:07:42.503Z] $ docker top 717bab2da7a9cde500a94aa6caba591a02bb5949a1074c0b73e183ad13d7eafa -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-11T21:07:43.532Z] e871e8e8d7a9: Pull complete [2020-09-11T21:07:43.532Z] e73272ec9a57: Pull complete [2020-09-11T21:07:43.532Z] 1e910a182e73: Pull complete [2020-09-11T21:07:43.976Z] + go version [2020-09-11T21:07:43.976Z] go version go1.15.2 linux/arm64 [Pipeline] sh [2020-09-11T21:07:45.068Z] + make test [2020-09-11T21:07:45.068Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-11T21:07:48.851Z] 4e634b169226: Pull complete [2020-09-11T21:07:48.852Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-11T21:07:48.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-11T21:07:48.852Z] ---> f7629b54cfaa [2020-09-11T21:07:48.852Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-11T21:07:48.852Z] ---> Running in c9f3b35d0892 [2020-09-11T21:07:48.852Z] Removing intermediate container c9f3b35d0892 [2020-09-11T21:07:48.852Z] ---> 153b56af5c13 [2020-09-11T21:07:48.852Z] Step 4/7 : RUN apk add --update bash [2020-09-11T21:07:48.852Z] ---> Running in 98b523c5c67c [2020-09-11T21:07:50.251Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-11T21:07:50.825Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-11T21:07:51.402Z] OK: 166 MiB in 39 packages [2020-09-11T21:07:51.977Z] Removing intermediate container 98b523c5c67c [2020-09-11T21:07:51.977Z] ---> c29eb4d36ac4 [2020-09-11T21:07:51.977Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-09-11T21:07:51.977Z] ---> Running in 12132536473d [2020-09-11T21:07:52.240Z] Removing intermediate container 12132536473d [2020-09-11T21:07:52.240Z] ---> 423c0601e823 [2020-09-11T21:07:52.240Z] Step 6/7 : COPY go.mod . [2020-09-11T21:07:52.504Z] ---> abd5fcc43cce [2020-09-11T21:07:52.504Z] Step 7/7 : RUN go mod download [2020-09-11T21:07:52.504Z] ---> Running in 025f1a7e22b6 [2020-09-11T21:08:00.673Z] Removing intermediate container 025f1a7e22b6 [2020-09-11T21:08:00.673Z] ---> 20e9c76df501 [2020-09-11T21:08:00.673Z] Successfully built 20e9c76df501 [2020-09-11T21:08:00.673Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-11T21:08:01.758Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-11T21:08:01.758Z] . [Pipeline] withDockerContainer [2020-09-11T21:08:01.884Z] prd-centos7-docker-4c-2g-2326 does not seem to be running inside a container [2020-09-11T21:08:01.936Z] $ 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 ******** ci-base-image-x86_64 cat [2020-09-11T21:08:03.083Z] $ docker top 7a5ecce146b5ae012a5ff552491b824beb271e9db25039038023e7b9b92e10b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-11T21:08:03.626Z] + go version [2020-09-11T21:08:03.626Z] go version go1.15.2 linux/amd64 [Pipeline] sh [2020-09-11T21:08:03.961Z] + make test [2020-09-11T21:08:03.961Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-11T21:08:11.908Z] ok github.com/edgexfoundry/go-mod-registry/internal/pkg/consul 2.060s coverage: 87.2% of statements [2020-09-11T21:08:11.908Z] ? github.com/edgexfoundry/go-mod-registry/pkg/types [no test files] [2020-09-11T21:08:11.908Z] ok github.com/edgexfoundry/go-mod-registry/registry 0.015s coverage: 85.7% of statements [2020-09-11T21:08:11.908Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-11T21:08:11.908Z] gofmt -l . [2020-09-11T21:08:11.908Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-09-11T21:08:12.553Z] Stashed 1 file(s) [Pipeline] } [2020-09-11T21:08:12.578Z] $ docker stop --time=1 717bab2da7a9cde500a94aa6caba591a02bb5949a1074c0b73e183ad13d7eafa [2020-09-11T21:08:14.047Z] ok github.com/edgexfoundry/go-mod-registry/internal/pkg/consul 2.023s coverage: 87.2% of statements [2020-09-11T21:08:14.048Z] ? github.com/edgexfoundry/go-mod-registry/pkg/types [no test files] [2020-09-11T21:08:14.048Z] ok github.com/edgexfoundry/go-mod-registry/registry 0.008s coverage: 85.7% of statements [2020-09-11T21:08:14.048Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-11T21:08:14.048Z] gofmt -l . [2020-09-11T21:08:14.048Z] [ "`gofmt -l .`" = "" ] [2020-09-11T21:08:14.639Z] $ docker rm -f 717bab2da7a9cde500a94aa6caba591a02bb5949a1074c0b73e183ad13d7eafa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash [2020-09-11T21:08:15.143Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-09-11T21:08:15.424Z] Stashed 1 file(s) [Pipeline] } [2020-09-11T21:08:15.519Z] $ docker stop --time=1 7a5ecce146b5ae012a5ff552491b824beb271e9db25039038023e7b9b92e10b2 [2020-09-11T21:08:17.524Z] $ docker rm -f 7a5ecce146b5ae012a5ff552491b824beb271e9db25039038023e7b9b92e10b2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (Build) [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 "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 "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] } Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-11T21:08:21.813Z] provisioning config files... [2020-09-11T21:08:21.832Z] copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-50@tmp/config6682009648408643320tmp [Pipeline] { [Pipeline] sh [2020-09-11T21:08:22.318Z] + bash -s - -t @/w/workspace/gexfoundry_go-mod-registry_PR-50@tmp/config6682009648408643320tmp [2020-09-11T21:08:22.318Z] + curl -s https://codecov.io/bash [Pipeline] } [2020-09-11T21:08:22.611Z] 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] { (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 [2020-09-11T21:08:25.715Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-11T21:08:26.362Z] ---> package-listing.sh [2020-09-11T21:08:26.362Z] ++ facter osfamily [2020-09-11T21:08:26.362Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-11T21:08:26.631Z] + OS_FAMILY=redhat [2020-09-11T21:08:26.631Z] + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-50 [2020-09-11T21:08:26.631Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-11T21:08:26.631Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-11T21:08:26.631Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-11T21:08:26.631Z] + PACKAGES=/tmp/packages_start.txt [2020-09-11T21:08:26.631Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-50 ']' [2020-09-11T21:08:26.631Z] + PACKAGES=/tmp/packages_end.txt [2020-09-11T21:08:26.631Z] + case "${OS_FAMILY}" in [2020-09-11T21:08:26.631Z] + rpm -qa [2020-09-11T21:08:26.631Z] + sort [2020-09-11T21:08:30.975Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-11T21:08:30.975Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-11T21:08:30.975Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-11T21:08:30.975Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-50 ']' [2020-09-11T21:08:30.975Z] + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-50/archives/ [2020-09-11T21:08:30.975Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-registry_PR-50/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-11T21:08:31.569Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-11T21:08:31.569Z] [2020-09-11T21:08:31.569Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-11T21:08:32.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-11T21:08:32.000Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-11T21:08:32.000Z] df20fa9351a1: Pulling fs layer [2020-09-11T21:08:32.000Z] 36b3adc4ff6f: Pulling fs layer [2020-09-11T21:08:32.000Z] 8ad3a11d3b57: Pulling fs layer [2020-09-11T21:08:32.000Z] 46f8f816bc3b: Pulling fs layer [2020-09-11T21:08:32.000Z] 0dadc02b9964: Pulling fs layer [2020-09-11T21:08:32.000Z] ce6a7cf60c04: Pulling fs layer [2020-09-11T21:08:32.000Z] 7a184a31f384: Pulling fs layer [2020-09-11T21:08:32.000Z] 0879bd2ef858: Pulling fs layer [2020-09-11T21:08:32.000Z] 46f8f816bc3b: Waiting [2020-09-11T21:08:32.000Z] 0dadc02b9964: Waiting [2020-09-11T21:08:32.000Z] ce6a7cf60c04: Waiting [2020-09-11T21:08:32.000Z] 0879bd2ef858: Waiting [2020-09-11T21:08:32.000Z] 7a184a31f384: Waiting [2020-09-11T21:08:32.271Z] 36b3adc4ff6f: Verifying Checksum [2020-09-11T21:08:32.271Z] 36b3adc4ff6f: Download complete [2020-09-11T21:08:32.271Z] 46f8f816bc3b: Verifying Checksum [2020-09-11T21:08:32.271Z] 46f8f816bc3b: Download complete [2020-09-11T21:08:32.271Z] df20fa9351a1: Verifying Checksum [2020-09-11T21:08:32.271Z] df20fa9351a1: Download complete [2020-09-11T21:08:32.271Z] ce6a7cf60c04: Verifying Checksum [2020-09-11T21:08:32.271Z] ce6a7cf60c04: Download complete [2020-09-11T21:08:32.556Z] 7a184a31f384: Verifying Checksum [2020-09-11T21:08:32.556Z] 7a184a31f384: Download complete [2020-09-11T21:08:32.556Z] 0dadc02b9964: Verifying Checksum [2020-09-11T21:08:32.556Z] 0dadc02b9964: Download complete [2020-09-11T21:08:32.878Z] df20fa9351a1: Pull complete [2020-09-11T21:08:33.193Z] 36b3adc4ff6f: Pull complete [2020-09-11T21:08:33.193Z] 8ad3a11d3b57: Download complete [2020-09-11T21:08:34.245Z] 8ad3a11d3b57: Pull complete [2020-09-11T21:08:34.533Z] 0879bd2ef858: Verifying Checksum [2020-09-11T21:08:34.533Z] 0879bd2ef858: Download complete [2020-09-11T21:08:34.533Z] 46f8f816bc3b: Pull complete [2020-09-11T21:08:34.843Z] 0dadc02b9964: Pull complete [2020-09-11T21:08:35.120Z] ce6a7cf60c04: Pull complete [2020-09-11T21:08:35.120Z] 7a184a31f384: Pull complete [2020-09-11T21:08:39.467Z] 0879bd2ef858: Pull complete [2020-09-11T21:08:39.467Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-11T21:08:39.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-11T21:08:39.467Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-11T21:08:39.697Z] prd-centos7-docker-4c-2g-2322 does not seem to be running inside a container [2020-09-11T21:08:39.770Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/gexfoundry_go-mod-registry_PR-50 -v /w/workspace/gexfoundry_go-mod-registry_PR-50:/w/workspace/gexfoundry_go-mod-registry_PR-50:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-50@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-50@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:10003/edgex-lftools-log-publisher:alpine cat [2020-09-11T21:08:43.056Z] $ docker top d9bbd41b78382800811cbf3e1f5dc19515cc54436b9ed82fde6cf8ec322a5ae2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-11T21:08:43.642Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-11T21:08:43.990Z] + ls /var/log/sa-host [2020-09-11T21:08:43.991Z] + sadf -c /var/log/sa-host/sa05 [2020-09-11T21:08:43.991Z] file_magic: OK [2020-09-11T21:08:43.991Z] HZ: Using current value: 100 [2020-09-11T21:08:43.991Z] file_header: OK [2020-09-11T21:08:43.991Z] 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 [2020-09-11T21:08:43.991Z] Statistics: [2020-09-11T21:08:43.991Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-11T21:08:43.991Z] File successfully converted to sysstat format version 12.2.1 [2020-09-11T21:08:43.991Z] + sadf -c /var/log/sa-host/sa11 [2020-09-11T21:08:43.991Z] file_magic: OK [2020-09-11T21:08:43.991Z] HZ: Using current value: 100 [2020-09-11T21:08:43.991Z] file_header: OK [2020-09-11T21:08:43.991Z] 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 [2020-09-11T21:08:43.991Z] Statistics: [2020-09-11T21:08:43.991Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-11T21:08:43.991Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-11T21:08:44.110Z] provisioning config files... [2020-09-11T21:08:44.132Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-50@tmp/config3281411187323824204tmp [Pipeline] { [Pipeline] echo [2020-09-11T21:08:44.269Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-11T21:08:44.630Z] ---> create-netrc.sh [Pipeline] echo [2020-09-11T21:08:44.660Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-11T21:08:45.041Z] ---> logs-deploy.sh [2020-09-11T21:08:45.041Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-50/1 [2020-09-11T21:08:45.041Z] INFO: archiving workspace using pattern(s): [2020-09-11T21:08:47.061Z] Archives upload complete. [2020-09-11T21:08:47.061Z] INFO: archiving logs to Nexus