Pull request #50 updated 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 77a2e989381ec3ea077867465751cc6132bd7c4d+1046cccd4841a3fd011f4d5cde55378f39b67fd6 (e36b5734610ec0a8ae0edde181dde44a02dccb95) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 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-2353 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 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 Fetching without tags Merging remotes/origin/master commit 1046cccd4841a3fd011f4d5cde55378f39b67fd6 into PR head commit 77a2e989381ec3ea077867465751cc6132bd7c4d Merge succeeded, producing 77a2e989381ec3ea077867465751cc6132bd7c4d Checking out Revision 77a2e989381ec3ea077867465751cc6132bd7c4d (PR-50) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 77a2e989381ec3ea077867465751cc6132bd7c4d # 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 77a2e989381ec3ea077867465751cc6132bd7c4d # timeout=10 Commit message: "build: update to go 1.15" First time build. Skipping changelog. > git rev-list --no-walk 1a0c96410e153a6cbef9b28dcaad08d32f05e0bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-11T22:06:11.870Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-11T22:06:12.168Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-11T22:06:12.278Z] ========================================================= [2020-09-11T22:06:12.278Z] EdgeX Global Pipelines Version Info [2020-09-11T22:06:12.278Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-11T22:06:13.717Z] ------------------- [2020-09-11T22:06:13.717Z] stable info: [2020-09-11T22:06:13.717Z] ------------------- [2020-09-11T22:06:13.717Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-09-11T22:06:13.717Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-11T22:06:13.717Z] Message: update stable to v1.0.119 [2020-09-11T22:06:14.662Z] ------------------- [2020-09-11T22:06:14.662Z] experimental info: [2020-09-11T22:06:14.662Z] ------------------- [2020-09-11T22:06:14.662Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-11T22:06:14.662Z] Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 [2020-09-11T22:06:14.662Z] Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-11T22:06:15.014Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo [2020-09-11T22:06:15.105Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo [2020-09-11T22:06:15.226Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-11T22:06:15.318Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-11T22:06:15.407Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-11T22:06:15.496Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-11T22:06:15.584Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-11T22:06:15.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-11T22:06:15.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-11T22:06:15.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-11T22:06:15.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-11T22:06:16.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-registry [Pipeline] echo [2020-09-11T22:06:16.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-11T22:06:16.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-11T22:06:16.387Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T22:06:16.562Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T22:06:16.657Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T22:06:16.748Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T22:06:16.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-09-11T22:06:16.928Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-11T22:06:17.020Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-11T22:06:17.129Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-11T22:06:17.219Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-50 [Pipeline] echo [2020-09-11T22:06:17.309Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-50 [Pipeline] echo [2020-09-11T22:06:17.401Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-50 [Pipeline] echo [2020-09-11T22:06:17.489Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 77a2e989381ec3ea077867465751cc6132bd7c4d [Pipeline] echo [2020-09-11T22:06:17.587Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 77a2e98 [Pipeline] echo [2020-09-11T22:06:17.685Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-11T22:06:18.358Z] + git log --format=format:%s -1 77a2e989381ec3ea077867465751cc6132bd7c4d [Pipeline] echo [2020-09-11T22:06:18.423Z] GIT_COMMIT: 77a2e989381ec3ea077867465751cc6132bd7c4d, Commit Message: build: update to go 1.15 [Pipeline] echo [2020-09-11T22:06:18.495Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-11T22:06:19.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-11T22:06:19.320Z] [2020-09-11T22:06:19.320Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-11T22:06:19.675Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-11T22:06:19.675Z] latest: Pulling from edgex-devops/git-semver [2020-09-11T22:06:19.675Z] 31603596830f: Pulling fs layer [2020-09-11T22:06:19.675Z] 2a8b12db71e7: Pulling fs layer [2020-09-11T22:06:19.675Z] 6ca5941a6612: Pulling fs layer [2020-09-11T22:06:19.675Z] ecc8261a40a4: Pulling fs layer [2020-09-11T22:06:19.675Z] ecc8261a40a4: Waiting [2020-09-11T22:06:19.675Z] 2a8b12db71e7: Download complete [2020-09-11T22:06:19.939Z] 31603596830f: Verifying Checksum [2020-09-11T22:06:19.939Z] 31603596830f: Download complete [2020-09-11T22:06:19.939Z] ecc8261a40a4: Verifying Checksum [2020-09-11T22:06:19.939Z] ecc8261a40a4: Download complete [2020-09-11T22:06:19.939Z] 6ca5941a6612: Download complete [2020-09-11T22:06:20.204Z] 31603596830f: Pull complete [2020-09-11T22:06:20.204Z] 2a8b12db71e7: Pull complete [2020-09-11T22:06:21.153Z] 6ca5941a6612: Pull complete [2020-09-11T22:06:21.415Z] ecc8261a40a4: Pull complete [2020-09-11T22:06:21.415Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-11T22:06:21.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-11T22:06:21.415Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-11T22:06:21.528Z] prd-centos7-docker-4c-2g-2353 does not seem to be running inside a container [2020-09-11T22:06:21.582Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-11T22:06:23.505Z] $ docker top 3078f7359f7f465cc3762125d332e23bd49a736fd66021056b687061c5970876 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-11T22:06:23.791Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-11T22:06:23.791Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-11T22:06:24.002Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-11T22:06:24.009Z] $ docker exec 3078f7359f7f465cc3762125d332e23bd49a736fd66021056b687061c5970876 ssh-agent [2020-09-11T22:06:24.174Z] SSH_AUTH_SOCK=/tmp/ssh-XCSAQ2mYiPh0/agent.12 [2020-09-11T22:06:24.174Z] SSH_AGENT_PID=17 [2020-09-11T22:06:24.185Z] Running ssh-add (command line suppressed) [2020-09-11T22:06:24.307Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-50@tmp/private_key_8415784774483126514.key (/w/workspace/gexfoundry_go-mod-registry_PR-50@tmp/private_key_8415784774483126514.key) [2020-09-11T22:06:24.360Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-11T22:06:24.697Z] + git describe --exact-match --tags HEAD [2020-09-11T22:06:24.697Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-11T22:06:24.722Z] $ docker exec --env ******** --env ******** 3078f7359f7f465cc3762125d332e23bd49a736fd66021056b687061c5970876 ssh-agent -k [2020-09-11T22:06:24.839Z] unset SSH_AUTH_SOCK; [2020-09-11T22:06:24.839Z] unset SSH_AGENT_PID; [2020-09-11T22:06:24.839Z] echo Agent pid 17 killed; [2020-09-11T22:06:24.880Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-11T22:06:24.967Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-11T22:06:24.967Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-11T22:06:25.063Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-11T22:06:25.063Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-11T22:06:25.226Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-11T22:06:25.233Z] $ docker exec 3078f7359f7f465cc3762125d332e23bd49a736fd66021056b687061c5970876 ssh-agent [2020-09-11T22:06:25.389Z] SSH_AUTH_SOCK=/tmp/ssh-s28Y5NxfJcEz/agent.47 [2020-09-11T22:06:25.389Z] SSH_AGENT_PID=52 [2020-09-11T22:06:25.396Z] Running ssh-add (command line suppressed) [2020-09-11T22:06:25.516Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-50@tmp/private_key_6339409250779644766.key (/w/workspace/gexfoundry_go-mod-registry_PR-50@tmp/private_key_6339409250779644766.key) [2020-09-11T22:06:25.567Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-11T22:06:25.900Z] + git semver init [2020-09-11T22:06:25.900Z] # -> Open(): unable to determine branch for HEAD [2020-09-11T22:06:25.900Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-50/.git [2020-09-11T22:06:25.900Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-50 [2020-09-11T22:06:25.900Z] # $SEMVER_REMOTE_NAME = origin [2020-09-11T22:06:25.900Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-11T22:06:25.900Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-11T22:06:25.900Z] # $SEMVER_BRANCH = PR-50 [2020-09-11T22:06:25.900Z] # $SEMVER_TEMP = /tmp/semver-183146978 [2020-09-11T22:06:25.900Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP [2020-09-11T22:06:26.162Z] # '/tmp/semver-183146978' -> '/w/workspace/gexfoundry_go-mod-registry_PR-50/.semver' [2020-09-11T22:06:26.163Z] # -> Force: false [2020-09-11T22:06:26.163Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-50/.semver [Pipeline] } [2020-09-11T22:06:26.180Z] $ docker exec --env ******** --env ******** 3078f7359f7f465cc3762125d332e23bd49a736fd66021056b687061c5970876 ssh-agent -k [2020-09-11T22:06:26.297Z] unset SSH_AUTH_SOCK; [2020-09-11T22:06:26.298Z] unset SSH_AGENT_PID; [2020-09-11T22:06:26.298Z] echo Agent pid 52 killed; [2020-09-11T22:06:26.340Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-11T22:06:26.809Z] + git semver [Pipeline] } [2020-09-11T22:06:26.829Z] $ docker stop --time=1 3078f7359f7f465cc3762125d332e23bd49a736fd66021056b687061c5970876 [2020-09-11T22:06:28.168Z] $ docker rm -f 3078f7359f7f465cc3762125d332e23bd49a736fd66021056b687061c5970876 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-11T22:06:28.966Z] Stashed 36 file(s) [Pipeline] echo [2020-09-11T22:06:28.969Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-11T22:06:29.080Z] 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-11T22:06:44.477Z] Still waiting to schedule task [2020-09-11T22:06:44.477Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-11T22:06:44.480Z] Still waiting to schedule task [2020-09-11T22:06:44.480Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-09-11T22:08:02.436Z] Running on prd-centos7-docker-4c-2g-2356 in /w/workspace/gexfoundry_go-mod-registry_PR-50 [Pipeline] { [Pipeline] ws [2020-09-11T22:08:02.494Z] Running in /w/workspace/go-mod-registry/2 [Pipeline] { [Pipeline] checkout [2020-09-11T22:08:05.165Z] using credential edgex-jenkins-ssh [2020-09-11T22:08:05.215Z] Cloning the remote Git repository [2020-09-11T22:08:05.216Z] Cloning with configured refspecs honoured and without tags [2020-09-11T22:08:06.006Z] Fetching without tags [2020-09-11T22:08:05.264Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2020-09-11T22:08:05.350Z] > git init /w/workspace/go-mod-registry/2 # timeout=10 [2020-09-11T22:08:05.488Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2020-09-11T22:08:05.489Z] > git --version # timeout=10 [2020-09-11T22:08:05.498Z] > git --version # 'git version 2.16.5' [2020-09-11T22:08:05.498Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T22:08:05.549Z] > 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-11T22:08:05.972Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2020-09-11T22:08:05.978Z] > git config --add remote.origin.fetch +refs/pull/50/head:refs/remotes/origin/PR-50 # timeout=10 [2020-09-11T22:08:05.985Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T22:08:06.002Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2020-09-11T22:08:06.013Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2020-09-11T22:08:06.013Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T22:08:06.018Z] > 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-11T22:08:06.386Z] Merging remotes/origin/master commit 1046cccd4841a3fd011f4d5cde55378f39b67fd6 into PR head commit 77a2e989381ec3ea077867465751cc6132bd7c4d [2020-09-11T22:08:06.480Z] Merge succeeded, producing 77a2e989381ec3ea077867465751cc6132bd7c4d [2020-09-11T22:08:06.481Z] Checking out Revision 77a2e989381ec3ea077867465751cc6132bd7c4d (PR-50) [2020-09-11T22:08:06.396Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T22:08:06.408Z] > git checkout -f 77a2e989381ec3ea077867465751cc6132bd7c4d # timeout=10 [2020-09-11T22:08:06.442Z] > git remote # timeout=10 [2020-09-11T22:08:06.451Z] > git config --get remote.origin.url # timeout=10 [2020-09-11T22:08:06.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T22:08:06.462Z] > git merge 1046cccd4841a3fd011f4d5cde55378f39b67fd6 # timeout=10 [2020-09-11T22:08:06.475Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-11T22:08:06.486Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T22:08:06.490Z] > git checkout -f 77a2e989381ec3ea077867465751cc6132bd7c4d # timeout=10 [2020-09-11T22:08:10.177Z] Commit message: "build: update to go 1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-11T22:08:10.989Z] ========================================================= [2020-09-11T22:08:10.989Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-11T22:08:10.989Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-11T22:08:11.611Z] + 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-11T22:08:11.883Z] Sending build context to Docker daemon 324.1kB [2020-09-11T22:08:11.883Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-09-11T22:08:11.883Z] Step 2/7 : FROM ${BASE} [2020-09-11T22:08:12.153Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-11T22:08:12.153Z] df20fa9351a1: Pulling fs layer [2020-09-11T22:08:12.153Z] ed8968b2872e: Pulling fs layer [2020-09-11T22:08:12.153Z] a92cc7c5fd73: Pulling fs layer [2020-09-11T22:08:12.153Z] e871e8e8d7a9: Pulling fs layer [2020-09-11T22:08:12.153Z] e73272ec9a57: Pulling fs layer [2020-09-11T22:08:12.153Z] 1e910a182e73: Pulling fs layer [2020-09-11T22:08:12.153Z] 4e634b169226: Pulling fs layer [2020-09-11T22:08:12.153Z] e73272ec9a57: Waiting [2020-09-11T22:08:12.153Z] 1e910a182e73: Waiting [2020-09-11T22:08:12.153Z] 4e634b169226: Waiting [2020-09-11T22:08:12.153Z] e871e8e8d7a9: Waiting [2020-09-11T22:08:12.153Z] a92cc7c5fd73: Verifying Checksum [2020-09-11T22:08:12.153Z] ed8968b2872e: Download complete [2020-09-11T22:08:12.153Z] e73272ec9a57: Verifying Checksum [2020-09-11T22:08:12.153Z] e73272ec9a57: Download complete [2020-09-11T22:08:12.153Z] 1e910a182e73: Verifying Checksum [2020-09-11T22:08:12.153Z] 1e910a182e73: Download complete [2020-09-11T22:08:12.735Z] df20fa9351a1: Verifying Checksum [2020-09-11T22:08:12.735Z] df20fa9351a1: Download complete [2020-09-11T22:08:12.998Z] df20fa9351a1: Pull complete [2020-09-11T22:08:13.260Z] ed8968b2872e: Pull complete [2020-09-11T22:08:13.260Z] a92cc7c5fd73: Pull complete [2020-09-11T22:08:14.659Z] 4e634b169226: Verifying Checksum [2020-09-11T22:08:14.659Z] 4e634b169226: Download complete [2020-09-11T22:08:16.054Z] e871e8e8d7a9: Verifying Checksum [2020-09-11T22:08:16.054Z] e871e8e8d7a9: Download complete [2020-09-11T22:08:21.381Z] e871e8e8d7a9: Pull complete [2020-09-11T22:08:21.381Z] e73272ec9a57: Pull complete [2020-09-11T22:08:21.381Z] 1e910a182e73: Pull complete [2020-09-11T22:08:26.694Z] 4e634b169226: Pull complete [2020-09-11T22:08:26.694Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-11T22:08:26.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-11T22:08:26.694Z] ---> f7629b54cfaa [2020-09-11T22:08:26.694Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-11T22:08:26.694Z] ---> Running in 101de96deed6 [2020-09-11T22:08:26.694Z] Removing intermediate container 101de96deed6 [2020-09-11T22:08:26.694Z] ---> d2ec333039ac [2020-09-11T22:08:26.694Z] Step 4/7 : RUN apk add --update bash [2020-09-11T22:08:26.694Z] ---> Running in 960c6a46d91b [2020-09-11T22:08:27.650Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-11T22:08:28.228Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-11T22:08:29.234Z] OK: 166 MiB in 39 packages [2020-09-11T22:08:29.523Z] Removing intermediate container 960c6a46d91b [2020-09-11T22:08:29.523Z] ---> 08e0a297f6b0 [2020-09-11T22:08:29.523Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-09-11T22:08:29.523Z] ---> Running in 52eeec085832 [2020-09-11T22:08:29.787Z] Removing intermediate container 52eeec085832 [2020-09-11T22:08:29.787Z] ---> 25a2aecbcccb [2020-09-11T22:08:29.787Z] Step 6/7 : COPY go.mod . [2020-09-11T22:08:30.055Z] ---> 822aa70b7921 [2020-09-11T22:08:30.055Z] Step 7/7 : RUN go mod download [2020-09-11T22:08:30.055Z] ---> Running in 0052ef03556e [2020-09-11T22:08:40.112Z] Removing intermediate container 0052ef03556e [2020-09-11T22:08:40.112Z] ---> d51d0a3625e1 [2020-09-11T22:08:40.112Z] Successfully built d51d0a3625e1 [2020-09-11T22:08:40.112Z] 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-11T22:08:40.952Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-11T22:08:40.952Z] . [Pipeline] withDockerContainer [2020-09-11T22:08:41.056Z] prd-centos7-docker-4c-2g-2356 does not seem to be running inside a container [2020-09-11T22:08:41.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/2 -v /w/workspace/go-mod-registry/2:/w/workspace/go-mod-registry/2:rw,z -v /w/workspace/go-mod-registry/2@tmp:/w/workspace/go-mod-registry/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-11T22:08:42.252Z] $ docker top 1a9fe781dc0bf060936d7be66ff0ae0bc916db08901647c7be568e7dbc08ecd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-11T22:08:42.735Z] + go version [2020-09-11T22:08:42.735Z] go version go1.15.2 linux/amd64 [Pipeline] sh [2020-09-11T22:08:43.040Z] + make test [2020-09-11T22:08:43.040Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-11T22:08:53.136Z] ok github.com/edgexfoundry/go-mod-registry/internal/pkg/consul 2.023s coverage: 87.2% of statements [2020-09-11T22:08:53.136Z] ? github.com/edgexfoundry/go-mod-registry/pkg/types [no test files] [2020-09-11T22:08:53.136Z] ok github.com/edgexfoundry/go-mod-registry/registry 0.006s coverage: 85.7% of statements [2020-09-11T22:08:53.136Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-11T22:08:53.136Z] gofmt -l . [2020-09-11T22:08:53.136Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-09-11T22:08:53.537Z] Stashed 1 file(s) [Pipeline] } [2020-09-11T22:08:53.545Z] $ docker stop --time=1 1a9fe781dc0bf060936d7be66ff0ae0bc916db08901647c7be568e7dbc08ecd7 [2020-09-11T22:08:55.557Z] $ docker rm -f 1a9fe781dc0bf060936d7be66ff0ae0bc916db08901647c7be568e7dbc08ecd7 [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] } [2020-09-11T22:10:10.803Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2360 in /w/workspace/gexfoundry_go-mod-registry_PR-50 [Pipeline] { [Pipeline] ws [2020-09-11T22:10:10.859Z] Running in /w/workspace/go-mod-registry/2 [Pipeline] { [Pipeline] checkout [2020-09-11T22:10:16.086Z] using credential edgex-jenkins-ssh [2020-09-11T22:10:16.140Z] Cloning the remote Git repository [2020-09-11T22:10:16.140Z] Cloning with configured refspecs honoured and without tags [2020-09-11T22:10:16.224Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2020-09-11T22:10:16.333Z] > git init /w/workspace/go-mod-registry/2 # timeout=10 [2020-09-11T22:10:16.408Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2020-09-11T22:10:16.408Z] > git --version # timeout=10 [2020-09-11T22:10:16.435Z] > git --version # 'git version 2.17.1' [2020-09-11T22:10:16.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T22:10:16.525Z] > 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-11T22:10:17.312Z] Fetching without tags [2020-09-11T22:10:17.790Z] Merging remotes/origin/master commit 1046cccd4841a3fd011f4d5cde55378f39b67fd6 into PR head commit 77a2e989381ec3ea077867465751cc6132bd7c4d [2020-09-11T22:10:18.055Z] Merge succeeded, producing 77a2e989381ec3ea077867465751cc6132bd7c4d [2020-09-11T22:10:18.055Z] Checking out Revision 77a2e989381ec3ea077867465751cc6132bd7c4d (PR-50) [2020-09-11T22:10:17.223Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2020-09-11T22:10:17.249Z] > git config --add remote.origin.fetch +refs/pull/50/head:refs/remotes/origin/PR-50 # timeout=10 [2020-09-11T22:10:17.264Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T22:10:17.295Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2020-09-11T22:10:17.347Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2020-09-11T22:10:17.348Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T22:10:17.359Z] > 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-11T22:10:17.822Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T22:10:17.846Z] > git checkout -f 77a2e989381ec3ea077867465751cc6132bd7c4d # timeout=10 [2020-09-11T22:10:17.924Z] > git remote # timeout=10 [2020-09-11T22:10:17.945Z] > git config --get remote.origin.url # timeout=10 [2020-09-11T22:10:17.958Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T22:10:17.971Z] > git merge 1046cccd4841a3fd011f4d5cde55378f39b67fd6 # timeout=10 [2020-09-11T22:10:18.040Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-11T22:10:18.076Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T22:10:18.108Z] > git checkout -f 77a2e989381ec3ea077867465751cc6132bd7c4d # timeout=10 [2020-09-11T22:10:22.671Z] Commit message: "build: update to go 1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-11T22:10:23.584Z] ========================================================= [2020-09-11T22:10:23.584Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-11T22:10:23.584Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-11T22:10:24.632Z] + 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-11T22:10:25.642Z] Sending build context to Docker daemon 324.1kB [2020-09-11T22:10:25.642Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-09-11T22:10:25.642Z] Step 2/7 : FROM ${BASE} [2020-09-11T22:10:25.915Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-11T22:10:25.915Z] b538f80385f9: Pulling fs layer [2020-09-11T22:10:25.915Z] 74f711af9a0d: Pulling fs layer [2020-09-11T22:10:25.915Z] 99f96fe45779: Pulling fs layer [2020-09-11T22:10:25.915Z] 8529a6b9a6be: Pulling fs layer [2020-09-11T22:10:25.915Z] 45590311c82a: Pulling fs layer [2020-09-11T22:10:25.915Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-11T22:10:25.915Z] 209524e5b208: Pulling fs layer [2020-09-11T22:10:25.915Z] 8529a6b9a6be: Waiting [2020-09-11T22:10:25.915Z] 45590311c82a: Waiting [2020-09-11T22:10:25.915Z] 69ca0ff8b7b3: Waiting [2020-09-11T22:10:25.915Z] 209524e5b208: Waiting [2020-09-11T22:10:25.915Z] 99f96fe45779: Verifying Checksum [2020-09-11T22:10:25.915Z] 99f96fe45779: Download complete [2020-09-11T22:10:25.915Z] 74f711af9a0d: Verifying Checksum [2020-09-11T22:10:25.915Z] 74f711af9a0d: Download complete [2020-09-11T22:10:26.195Z] 45590311c82a: Download complete [2020-09-11T22:10:26.195Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-11T22:10:26.195Z] 69ca0ff8b7b3: Download complete [2020-09-11T22:10:26.195Z] b538f80385f9: Verifying Checksum [2020-09-11T22:10:26.195Z] b538f80385f9: Download complete [2020-09-11T22:10:27.192Z] b538f80385f9: Pull complete [2020-09-11T22:10:27.806Z] 74f711af9a0d: Pull complete [2020-09-11T22:10:28.084Z] 99f96fe45779: Pull complete [2020-09-11T22:10:28.362Z] 209524e5b208: Verifying Checksum [2020-09-11T22:10:28.362Z] 209524e5b208: Download complete [2020-09-11T22:10:30.414Z] 8529a6b9a6be: Verifying Checksum [2020-09-11T22:10:30.414Z] 8529a6b9a6be: Download complete [2020-09-11T22:10:40.603Z] 8529a6b9a6be: Pull complete [2020-09-11T22:10:40.603Z] 45590311c82a: Pull complete [2020-09-11T22:10:40.882Z] 69ca0ff8b7b3: Pull complete [2020-09-11T22:10:45.218Z] 209524e5b208: Pull complete [2020-09-11T22:10:45.218Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-11T22:10:45.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-11T22:10:45.218Z] ---> 5bddaf1c2fca [2020-09-11T22:10:45.218Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-11T22:10:47.850Z] ---> Running in e6164a7ff1c4 [2020-09-11T22:10:47.850Z] Removing intermediate container e6164a7ff1c4 [2020-09-11T22:10:47.850Z] ---> fd762c497314 [2020-09-11T22:10:47.850Z] Step 4/7 : RUN apk add --update bash [2020-09-11T22:10:47.850Z] ---> Running in 718d8507dc86 [2020-09-11T22:10:49.828Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-11T22:10:50.421Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-11T22:10:51.394Z] OK: 142 MiB in 39 packages [2020-09-11T22:10:52.371Z] Removing intermediate container 718d8507dc86 [2020-09-11T22:10:52.371Z] ---> 6cbd4e06951b [2020-09-11T22:10:52.371Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-09-11T22:10:52.654Z] ---> Running in ea3b136bca5f [2020-09-11T22:10:53.263Z] Removing intermediate container ea3b136bca5f [2020-09-11T22:10:53.263Z] ---> 4fcde3edda77 [2020-09-11T22:10:53.263Z] Step 6/7 : COPY go.mod . [2020-09-11T22:10:53.860Z] ---> e5ba5089a816 [2020-09-11T22:10:53.860Z] Step 7/7 : RUN go mod download [2020-09-11T22:10:53.860Z] ---> Running in 1c1213ede06d [2020-09-11T22:11:06.302Z] Removing intermediate container 1c1213ede06d [2020-09-11T22:11:06.302Z] ---> b4d7ed95dec6 [2020-09-11T22:11:06.302Z] Successfully built b4d7ed95dec6 [2020-09-11T22:11:06.302Z] 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-11T22:11:07.054Z] + docker inspect -f . ci-base-image-arm64 [2020-09-11T22:11:07.054Z] . [Pipeline] withDockerContainer [2020-09-11T22:11:07.334Z] prd-ubuntu18.04-docker-arm64-4c-16g-2360 does not seem to be running inside a container [2020-09-11T22:11:07.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/2 -v /w/workspace/go-mod-registry/2:/w/workspace/go-mod-registry/2:rw,z -v /w/workspace/go-mod-registry/2@tmp:/w/workspace/go-mod-registry/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-11T22:11:09.318Z] $ docker top 1b4aeaf31b78fa53d9e0338d8c50f7f01735e0a2a8d36c7bd14bbdf54c81039a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-11T22:11:10.781Z] + go version [2020-09-11T22:11:10.781Z] go version go1.15.2 linux/arm64 [Pipeline] sh [2020-09-11T22:11:11.832Z] + make test [2020-09-11T22:11:11.832Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-11T22:11:38.652Z] ok github.com/edgexfoundry/go-mod-registry/internal/pkg/consul 2.057s coverage: 87.2% of statements [2020-09-11T22:11:38.652Z] ? github.com/edgexfoundry/go-mod-registry/pkg/types [no test files] [2020-09-11T22:11:38.652Z] ok github.com/edgexfoundry/go-mod-registry/registry 0.013s coverage: 85.7% of statements [2020-09-11T22:11:38.652Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-11T22:11:38.652Z] gofmt -l . [2020-09-11T22:11:38.652Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-09-11T22:11:38.674Z] Warning: overwriting stash ‘coverage-report’ [2020-09-11T22:11:39.182Z] Stashed 1 file(s) [Pipeline] } [2020-09-11T22:11:39.193Z] $ docker stop --time=1 1b4aeaf31b78fa53d9e0338d8c50f7f01735e0a2a8d36c7bd14bbdf54c81039a [2020-09-11T22:11:41.307Z] $ docker rm -f 1b4aeaf31b78fa53d9e0338d8c50f7f01735e0a2a8d36c7bd14bbdf54c81039a [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 [2020-09-11T22:11:43.886Z] provisioning config files... [2020-09-11T22:11:43.930Z] copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-50@tmp/config5294365705357429921tmp [Pipeline] { [Pipeline] sh [2020-09-11T22:11:44.364Z] + curl -s https://codecov.io/bash [2020-09-11T22:11:44.364Z] + bash -s - -t @/w/workspace/gexfoundry_go-mod-registry_PR-50@tmp/config5294365705357429921tmp [Pipeline] } [2020-09-11T22:11:44.642Z] 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-11T22:11:50.746Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-11T22:11:51.329Z] ---> package-listing.sh [2020-09-11T22:11:51.329Z] ++ facter osfamily [2020-09-11T22:11:51.329Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-11T22:11:51.329Z] + OS_FAMILY=redhat [2020-09-11T22:11:51.329Z] + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-50 [2020-09-11T22:11:51.329Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-11T22:11:51.329Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-11T22:11:51.329Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-11T22:11:51.329Z] + PACKAGES=/tmp/packages_start.txt [2020-09-11T22:11:51.329Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-50 ']' [2020-09-11T22:11:51.329Z] + PACKAGES=/tmp/packages_end.txt [2020-09-11T22:11:51.329Z] + case "${OS_FAMILY}" in [2020-09-11T22:11:51.329Z] + rpm -qa [2020-09-11T22:11:51.329Z] + sort [2020-09-11T22:11:56.638Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-11T22:11:56.638Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-11T22:11:56.638Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-11T22:11:56.638Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-50 ']' [2020-09-11T22:11:56.638Z] + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-50/archives/ [2020-09-11T22:11:56.638Z] + 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-11T22:11:57.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-11T22:11:57.264Z] [2020-09-11T22:11:57.264Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-11T22:11:57.637Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-11T22:11:57.637Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-11T22:11:57.637Z] df20fa9351a1: Pulling fs layer [2020-09-11T22:11:57.637Z] 36b3adc4ff6f: Pulling fs layer [2020-09-11T22:11:57.637Z] 8ad3a11d3b57: Pulling fs layer [2020-09-11T22:11:57.637Z] 46f8f816bc3b: Pulling fs layer [2020-09-11T22:11:57.637Z] 0dadc02b9964: Pulling fs layer [2020-09-11T22:11:57.637Z] ce6a7cf60c04: Pulling fs layer [2020-09-11T22:11:57.637Z] 7a184a31f384: Pulling fs layer [2020-09-11T22:11:57.637Z] 0879bd2ef858: Pulling fs layer [2020-09-11T22:11:57.637Z] 46f8f816bc3b: Waiting [2020-09-11T22:11:57.637Z] 0dadc02b9964: Waiting [2020-09-11T22:11:57.637Z] ce6a7cf60c04: Waiting [2020-09-11T22:11:57.637Z] 7a184a31f384: Waiting [2020-09-11T22:11:57.637Z] 0879bd2ef858: Waiting [2020-09-11T22:11:57.637Z] 36b3adc4ff6f: Verifying Checksum [2020-09-11T22:11:57.637Z] 36b3adc4ff6f: Download complete [2020-09-11T22:11:57.637Z] 46f8f816bc3b: Verifying Checksum [2020-09-11T22:11:57.637Z] 46f8f816bc3b: Download complete [2020-09-11T22:11:57.637Z] df20fa9351a1: Verifying Checksum [2020-09-11T22:11:57.637Z] df20fa9351a1: Download complete [2020-09-11T22:11:57.906Z] ce6a7cf60c04: Verifying Checksum [2020-09-11T22:11:57.906Z] ce6a7cf60c04: Download complete [2020-09-11T22:11:57.906Z] 7a184a31f384: Verifying Checksum [2020-09-11T22:11:57.906Z] 7a184a31f384: Download complete [2020-09-11T22:11:57.906Z] 0dadc02b9964: Verifying Checksum [2020-09-11T22:11:57.906Z] 0dadc02b9964: Download complete [2020-09-11T22:11:58.172Z] df20fa9351a1: Pull complete [2020-09-11T22:11:58.172Z] 8ad3a11d3b57: Verifying Checksum [2020-09-11T22:11:58.172Z] 8ad3a11d3b57: Download complete [2020-09-11T22:11:58.172Z] 36b3adc4ff6f: Pull complete [2020-09-11T22:11:58.751Z] 0879bd2ef858: Verifying Checksum [2020-09-11T22:11:58.751Z] 0879bd2ef858: Download complete [2020-09-11T22:11:59.013Z] 8ad3a11d3b57: Pull complete [2020-09-11T22:11:59.013Z] 46f8f816bc3b: Pull complete [2020-09-11T22:11:59.282Z] 0dadc02b9964: Pull complete [2020-09-11T22:11:59.544Z] ce6a7cf60c04: Pull complete [2020-09-11T22:11:59.544Z] 7a184a31f384: Pull complete [2020-09-11T22:12:02.121Z] 0879bd2ef858: Pull complete [2020-09-11T22:12:02.121Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-11T22:12:02.121Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-11T22:12:02.121Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-11T22:12:02.261Z] prd-centos7-docker-4c-2g-2353 does not seem to be running inside a container [2020-09-11T22:12:02.309Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-11T22:12:06.980Z] $ docker top 9b922b899101186ae70ad3e365b579e124691d75dabcea72748243f7a47d09b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-11T22:12:07.491Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-11T22:12:07.790Z] + ls /var/log/sa-host [2020-09-11T22:12:07.790Z] + sadf -c /var/log/sa-host/sa05 [2020-09-11T22:12:07.790Z] file_magic: OK [2020-09-11T22:12:07.790Z] HZ: Using current value: 100 [2020-09-11T22:12:07.790Z] file_header: OK [2020-09-11T22:12:07.790Z] 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-11T22:12:07.790Z] Statistics: [2020-09-11T22:12:07.790Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-11T22:12:07.790Z] File successfully converted to sysstat format version 12.2.1 [2020-09-11T22:12:07.790Z] + sadf -c /var/log/sa-host/sa11 [2020-09-11T22:12:07.790Z] file_magic: OK [2020-09-11T22:12:07.790Z] HZ: Using current value: 100 [2020-09-11T22:12:07.790Z] file_header: OK [2020-09-11T22:12:07.791Z] 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-11T22:12:07.791Z] Statistics: [2020-09-11T22:12:07.791Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-11T22:12:07.791Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-11T22:12:07.857Z] provisioning config files... [2020-09-11T22:12:07.881Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-50@tmp/config146315997897520622tmp [Pipeline] { [Pipeline] echo [2020-09-11T22:12:07.964Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-11T22:12:08.263Z] ---> create-netrc.sh [Pipeline] echo [2020-09-11T22:12:08.274Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-11T22:12:08.570Z] ---> logs-deploy.sh [2020-09-11T22:12:08.570Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-50/2 [2020-09-11T22:12:08.571Z] INFO: archiving workspace using pattern(s): [2020-09-11T22:12:09.956Z] Archives upload complete. [2020-09-11T22:12:09.956Z] INFO: archiving logs to Nexus