Pull request #65 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 AlexCuse for edgexfoundry/go-mod-registry Loading trusted files from base branch master at e06c261707d41b90e25a1dfdd5a5d662f7c4f831 rather than c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 Obtained Jenkinsfile from e06c261707d41b90e25a1dfdd5a5d662f7c4f831 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-registry, buildImage:false, pushImage:false, semverBump:patch] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-registry-settings PROJECT: go-mod-registry USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-registry DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: patch BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15557 in /w/workspace/gexfoundry_go-mod-registry_PR-65 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-registry.git > git init /w/workspace/gexfoundry_go-mod-registry_PR-65 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e06c261707d41b90e25a1dfdd5a5d662f7c4f831 into PR head commit c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 Merge succeeded, producing c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 Checking out Revision c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 (PR-65) > git config core.sparsecheckout # timeout=10 > git checkout -f c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 # 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 e06c261707d41b90e25a1dfdd5a5d662f7c4f831 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 # timeout=10 Commit message: "feat(registry): Additional Check Registration" First time build. Skipping changelog. > git rev-list --no-walk 1aa4e3a56bf87c14177335f0989f5047dadc0818 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:21:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:21:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:21:58 ========================================================= 03:21:58 EdgeX Global Pipelines Version Info 03:21:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:22:01 ------------------- 03:22:01 stable info: 03:22:01 ------------------- 03:22:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:22:01 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 03:22:01 Message: update stable to v1.0.172 03:22:02 ------------------- 03:22:02 experimental info: 03:22:02 ------------------- 03:22:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:22:02 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 03:22:02 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:22:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo 03:22:03 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo 03:22:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:22:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:22:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:22:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:22:03 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:22:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:22:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:22:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-registry [Pipeline] echo 03:22:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:22:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:22:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 03:22:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:22:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:22:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:22:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 03:22:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:22:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:22:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:22:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:22:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:22:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 03:22:05 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 03:22:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 03:22:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 03:22:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 03:22:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 [Pipeline] echo 03:22:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5c016b [Pipeline] echo 03:22:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:22:08 + git log --format=format:%s -1 c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 [Pipeline] echo 03:22:09 GIT_COMMIT: c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2, Commit Message: feat(registry): Additional Check Registration [Pipeline] echo 03:22:09 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:22:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:22:11 03:22:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:22:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:22:12 latest: Pulling from edgex-devops/git-semver 03:22:12 31603596830f: Pulling fs layer 03:22:12 2a8b12db71e7: Pulling fs layer 03:22:12 6ca5941a6612: Pulling fs layer 03:22:12 ecc8261a40a4: Pulling fs layer 03:22:12 ecc8261a40a4: Waiting 03:22:12 2a8b12db71e7: Verifying Checksum 03:22:12 2a8b12db71e7: Download complete 03:22:12 31603596830f: Verifying Checksum 03:22:12 31603596830f: Download complete 03:22:13 ecc8261a40a4: Verifying Checksum 03:22:13 ecc8261a40a4: Download complete 03:22:13 6ca5941a6612: Verifying Checksum 03:22:13 6ca5941a6612: Download complete 03:22:13 31603596830f: Pull complete 03:22:14 2a8b12db71e7: Pull complete 03:22:15 6ca5941a6612: Pull complete 03:22:16 ecc8261a40a4: Pull complete 03:22:16 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:22:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:22:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:22:16 prd-centos7-docker-4c-2g-15557 does not seem to be running inside a container 03:22:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-registry_PR-65 -v /w/workspace/gexfoundry_go-mod-registry_PR-65:/w/workspace/gexfoundry_go-mod-registry_PR-65:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-65@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:22:19 $ docker top 1d49e8ef01f30ffc3e297e765ffae16613163b27bb74d28649de42c856b70f77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:22:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:22:19 [ssh-agent] Looking for ssh-agent implementation... 03:22:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:22:20 $ docker exec 1d49e8ef01f30ffc3e297e765ffae16613163b27bb74d28649de42c856b70f77 ssh-agent 03:22:21 SSH_AUTH_SOCK=/tmp/ssh-gb7p0LYGyDeA/agent.12 03:22:21 SSH_AGENT_PID=17 03:22:21 Running ssh-add (command line suppressed) 03:22:21 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-65@tmp/private_key_72518628730948170.key (/w/workspace/gexfoundry_go-mod-registry_PR-65@tmp/private_key_72518628730948170.key) 03:22:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:22:22 + git tag --points-at HEAD [Pipeline] } 03:22:22 $ docker exec --env ******** --env ******** 1d49e8ef01f30ffc3e297e765ffae16613163b27bb74d28649de42c856b70f77 ssh-agent -k 03:22:22 unset SSH_AUTH_SOCK; 03:22:22 unset SSH_AGENT_PID; 03:22:22 echo Agent pid 17 killed; 03:22:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:22:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:22:23 [ssh-agent] Looking for ssh-agent implementation... 03:22:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:22:23 $ docker exec 1d49e8ef01f30ffc3e297e765ffae16613163b27bb74d28649de42c856b70f77 ssh-agent 03:22:24 SSH_AUTH_SOCK=/tmp/ssh-uOvH4ZwSUnuJ/agent.46 03:22:24 SSH_AGENT_PID=51 03:22:24 Running ssh-add (command line suppressed) 03:22:24 Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-65@tmp/private_key_2423368999095895251.key (/w/workspace/gexfoundry_go-mod-registry_PR-65@tmp/private_key_2423368999095895251.key) 03:22:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:22:24 + git semver init 03:22:24 # -> Open(): unable to determine branch for HEAD 03:22:24 # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-65/.git 03:22:24 # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-65 03:22:24 # $SEMVER_REMOTE_NAME = origin 03:22:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:22:24 # $SEMVER_USER_NAME = edgex-jenkins 03:22:24 # $SEMVER_BRANCH = PR-65 03:22:24 # $SEMVER_TEMP = /tmp/semver-413640520 03:22:24 # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP 03:22:25 # '/tmp/semver-413640520' -> '/w/workspace/gexfoundry_go-mod-registry_PR-65/.semver' 03:22:25 # -> Force: false 03:22:25 # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-65/.semver [Pipeline] } 03:22:25 $ docker exec --env ******** --env ******** 1d49e8ef01f30ffc3e297e765ffae16613163b27bb74d28649de42c856b70f77 ssh-agent -k 03:22:25 unset SSH_AUTH_SOCK; 03:22:25 unset SSH_AGENT_PID; 03:22:25 echo Agent pid 51 killed; 03:22:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:22:26 + git semver [Pipeline] } 03:22:26 $ docker stop --time=1 1d49e8ef01f30ffc3e297e765ffae16613163b27bb74d28649de42c856b70f77 03:22:28 $ docker rm -f 1d49e8ef01f30ffc3e297e765ffae16613163b27bb74d28649de42c856b70f77 [Pipeline] // withDockerContainer [Pipeline] sh 03:22:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:22:29 Stashed 1 file(s) [Pipeline] echo 03:22:29 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 03:22:45 Still waiting to schedule task 03:22:45 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:22:45 Still waiting to schedule task 03:22:45 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 03:24:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15558 in /w/workspace/gexfoundry_go-mod-registry_PR-65 [Pipeline] { [Pipeline] ws 03:24:46 Running in /w/workspace/go-mod-registry/2 [Pipeline] { [Pipeline] checkout 03:24:51 using credential edgex-jenkins-ssh 03:24:51 Cloning the remote Git repository 03:24:51 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 03:24:51 > git init /w/workspace/go-mod-registry/2 # timeout=10 03:24:51 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 03:24:51 > git --version # timeout=10 03:24:52 > git --version # 'git version 2.17.1' 03:24:52 using GIT_SSH to set credentials SSH Credentials for GitHub 03:24:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:24:52 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 03:24:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:24:52 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 03:24:52 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 03:24:52 using GIT_SSH to set credentials SSH Credentials for GitHub 03:24:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:24:53 Merging remotes/origin/master commit e06c261707d41b90e25a1dfdd5a5d662f7c4f831 into PR head commit c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 03:24:53 Merge succeeded, producing c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 03:24:53 Checking out Revision c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 (PR-65) 03:24:53 > git config core.sparsecheckout # timeout=10 03:24:53 > git checkout -f c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 # timeout=10 03:24:53 > git remote # timeout=10 03:24:53 > git config --get remote.origin.url # timeout=10 03:24:53 using GIT_SSH to set credentials SSH Credentials for GitHub 03:24:53 > git merge e06c261707d41b90e25a1dfdd5a5d662f7c4f831 # timeout=10 03:24:53 > git rev-parse HEAD^{commit} # timeout=10 03:24:53 > git config core.sparsecheckout # timeout=10 03:24:53 > git checkout -f c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 # timeout=10 03:24:58 Commit message: "feat(registry): Additional Check Registration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:24:59 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 03:25:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:25:00 + true 03:25:00 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 03:25:03 ========================================================= 03:25:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 03:25:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:25:03 + 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 . 03:25:04 Sending build context to Docker daemon 301.6kB 03:25:04 Step 1/7 : ARG BASE=golang:1.15-alpine 03:25:04 Step 2/7 : FROM ${BASE} 03:25:05 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:25:05 5f621e34cdf4: Pulling fs layer 03:25:05 a4357932f1b6: Pulling fs layer 03:25:05 18c013af1878: Pulling fs layer 03:25:05 00ac8860ef70: Pulling fs layer 03:25:05 63d7cb157983: Pulling fs layer 03:25:05 b116817d02f9: Pulling fs layer 03:25:05 745a02a5169b: Pulling fs layer 03:25:05 00ac8860ef70: Waiting 03:25:05 63d7cb157983: Waiting 03:25:05 b116817d02f9: Waiting 03:25:05 745a02a5169b: Waiting 03:25:05 18c013af1878: Verifying Checksum 03:25:05 18c013af1878: Download complete 03:25:05 a4357932f1b6: Download complete 03:25:05 63d7cb157983: Verifying Checksum 03:25:05 63d7cb157983: Download complete 03:25:05 b116817d02f9: Verifying Checksum 03:25:05 b116817d02f9: Download complete 03:25:05 5f621e34cdf4: Download complete 03:25:05 5f621e34cdf4: Pull complete 03:25:06 a4357932f1b6: Pull complete 03:25:06 18c013af1878: Pull complete 03:25:07 745a02a5169b: Download complete 03:25:09 00ac8860ef70: Verifying Checksum 03:25:09 00ac8860ef70: Download complete 03:25:21 00ac8860ef70: Pull complete 03:25:21 63d7cb157983: Pull complete 03:25:21 b116817d02f9: Pull complete 03:25:24 745a02a5169b: Pull complete 03:25:24 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 03:25:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 03:25:24 ---> b7e6874047d6 03:25:24 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:25:27 ---> Running in f997ef330e40 03:25:27 Removing intermediate container f997ef330e40 03:25:27 ---> 3a17b109704e 03:25:27 Step 4/7 : RUN apk add --update bash 03:25:27 ---> Running in 69e2db492f85 03:25:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:25:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:25:31 OK: 142 MiB in 39 packages 03:25:32 Removing intermediate container 69e2db492f85 03:25:32 ---> b0688a514243 03:25:32 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 03:25:32 ---> Running in 250ed76e10bd 03:25:33 Removing intermediate container 250ed76e10bd 03:25:33 ---> 8450f8d517b0 03:25:33 Step 6/7 : COPY go.mod . 03:25:34 ---> 932e2ebe0efd 03:25:34 Step 7/7 : RUN go mod download 03:25:34 ---> Running in 334e9d050ff4 03:25:44 Removing intermediate container 334e9d050ff4 03:25:44 ---> 19be526a1a69 03:25:44 Successfully built 19be526a1a69 03:25:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:25:44 + docker inspect -f . ci-base-image-arm64 03:25:44 . [Pipeline] withDockerContainer 03:25:44 prd-ubuntu18.04-docker-arm64-4c-16g-15558 does not seem to be running inside a container 03:25:45 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:25:46 $ docker top 76f9ef7cad0fede69cc68f0fb57214d5cf08a6671bcb2d130aa5f97b96d4a28c -eo pid,comm [Pipeline] { [Pipeline] sh 03:25:47 + go version 03:25:47 go version go1.15.5 linux/arm64 [Pipeline] } 03:25:47 $ docker stop --time=1 76f9ef7cad0fede69cc68f0fb57214d5cf08a6671bcb2d130aa5f97b96d4a28c 03:25:49 $ docker rm -f 76f9ef7cad0fede69cc68f0fb57214d5cf08a6671bcb2d130aa5f97b96d4a28c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:25:50 + docker inspect -f . ci-base-image-arm64 03:25:50 . [Pipeline] withDockerContainer 03:25:50 prd-ubuntu18.04-docker-arm64-4c-16g-15558 does not seem to be running inside a container 03:25:50 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:25:52 $ docker top 860eea979c4cb8b27d9450942e343cef897f2c61aaa53cbe758aa2416815572b -eo pid,comm [Pipeline] { [Pipeline] sh 03:25:53 + make test 03:25:53 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:25:56 Running on prd-centos7-docker-4c-2g-15559 in /w/workspace/gexfoundry_go-mod-registry_PR-65 [Pipeline] { [Pipeline] ws 03:25:56 Running in /w/workspace/go-mod-registry/2 [Pipeline] { [Pipeline] checkout 03:26:03 using credential edgex-jenkins-ssh 03:26:03 Cloning the remote Git repository 03:26:03 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 03:26:03 > git init /w/workspace/go-mod-registry/2 # timeout=10 03:26:03 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 03:26:03 > git --version # timeout=10 03:26:03 > git --version # 'git version 2.24.3' 03:26:03 using GIT_SSH to set credentials SSH Credentials for GitHub 03:26:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:26:04 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 03:26:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:26:04 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 03:26:04 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 03:26:04 using GIT_SSH to set credentials SSH Credentials for GitHub 03:26:05 Merging remotes/origin/master commit e06c261707d41b90e25a1dfdd5a5d662f7c4f831 into PR head commit c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 03:26:05 Merge succeeded, producing c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 03:26:05 Checking out Revision c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 (PR-65) 03:26:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:26:05 > git config core.sparsecheckout # timeout=10 03:26:05 > git checkout -f c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 # timeout=10 03:26:05 > git remote # timeout=10 03:26:05 > git config --get remote.origin.url # timeout=10 03:26:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:26:05 > git merge e06c261707d41b90e25a1dfdd5a5d662f7c4f831 # timeout=10 03:26:05 > git rev-parse HEAD^{commit} # timeout=10 03:26:05 > git config core.sparsecheckout # timeout=10 03:26:05 > git checkout -f c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 # timeout=10 03:26:10 Commit message: "feat(registry): Additional Check Registration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:26:11 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:26:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:26:12 + sudo service docker restart 03:26:12 + true 03:26:12 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 03:26:15 ========================================================= 03:26:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 03:26:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:26:15 + 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 . 03:26:16 Sending build context to Docker daemon 302.6kB 03:26:16 Step 1/7 : ARG BASE=golang:1.15-alpine 03:26:16 Step 2/7 : FROM ${BASE} 03:26:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 03:26:16 188c0c94c7c5: Pulling fs layer 03:26:16 0ef7d3d256c8: Pulling fs layer 03:26:16 de9db76c5a1d: Pulling fs layer 03:26:16 bca2f99d35d6: Pulling fs layer 03:26:16 93359f2a8cfa: Pulling fs layer 03:26:16 7c6f9722023f: Pulling fs layer 03:26:16 a35cf1a2eb13: Pulling fs layer 03:26:16 93359f2a8cfa: Waiting 03:26:16 7c6f9722023f: Waiting 03:26:16 a35cf1a2eb13: Waiting 03:26:16 bca2f99d35d6: Waiting 03:26:16 de9db76c5a1d: Download complete 03:26:16 0ef7d3d256c8: Verifying Checksum 03:26:16 0ef7d3d256c8: Download complete 03:26:16 93359f2a8cfa: Verifying Checksum 03:26:16 93359f2a8cfa: Download complete 03:26:16 7c6f9722023f: Verifying Checksum 03:26:16 7c6f9722023f: Download complete 03:26:16 188c0c94c7c5: Verifying Checksum 03:26:16 188c0c94c7c5: Download complete 03:26:17 188c0c94c7c5: Pull complete 03:26:17 0ef7d3d256c8: Pull complete 03:26:17 de9db76c5a1d: Pull complete 03:26:19 a35cf1a2eb13: Verifying Checksum 03:26:19 a35cf1a2eb13: Download complete 03:26:20 ok github.com/edgexfoundry/go-mod-registry/internal/pkg/consul 2.067s coverage: 87.9% of statements 03:26:20 ? github.com/edgexfoundry/go-mod-registry/pkg/types [no test files] 03:26:20 ok github.com/edgexfoundry/go-mod-registry/registry 0.011s coverage: 85.7% of statements 03:26:20 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:26:20 gofmt -l . 03:26:20 [ "`gofmt -l .`" = "" ] [Pipeline] } 03:26:20 $ docker stop --time=1 860eea979c4cb8b27d9450942e343cef897f2c61aaa53cbe758aa2416815572b 03:26:21 bca2f99d35d6: Verifying Checksum 03:26:21 bca2f99d35d6: Download complete 03:26:22 $ docker rm -f 860eea979c4cb8b27d9450942e343cef897f2c61aaa53cbe758aa2416815572b [Pipeline] // withDockerContainer [Pipeline] sh 03:26:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:26:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:26:31 bca2f99d35d6: Pull complete 03:26:31 93359f2a8cfa: Pull complete 03:26:31 7c6f9722023f: Pull complete 03:26:38 a35cf1a2eb13: Pull complete 03:26:38 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 03:26:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 03:26:38 ---> a62c8e92a672 03:26:38 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:26:38 ---> Running in 7c60e1f0040f 03:26:38 Removing intermediate container 7c60e1f0040f 03:26:38 ---> 6ccb432de3ba 03:26:38 Step 4/7 : RUN apk add --update bash 03:26:38 ---> Running in 9b233f776165 03:26:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:26:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:26:40 OK: 166 MiB in 39 packages 03:26:41 Removing intermediate container 9b233f776165 03:26:41 ---> 76a703c9f431 03:26:41 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 03:26:41 ---> Running in 54f9bf7f726b 03:26:42 Removing intermediate container 54f9bf7f726b 03:26:42 ---> 99b7e0961c51 03:26:42 Step 6/7 : COPY go.mod . 03:26:43 ---> 707ab1a86389 03:26:43 Step 7/7 : RUN go mod download 03:26:43 ---> Running in 83ece57b6436 03:26:55 Removing intermediate container 83ece57b6436 03:26:55 ---> 335bc87bf60e 03:26:55 Successfully built 335bc87bf60e 03:26:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:26:56 + docker inspect -f . ci-base-image-x86_64 03:26:56 . [Pipeline] withDockerContainer 03:26:57 prd-centos7-docker-4c-2g-15559 does not seem to be running inside a container 03:26:57 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:26:59 $ docker top 3aab93dc1295ab68a6468139cb9906061dacf4d36301127f7230e346fd488e9c -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:00 + go version 03:27:00 go version go1.15.5 linux/amd64 [Pipeline] } 03:27:00 $ docker stop --time=1 3aab93dc1295ab68a6468139cb9906061dacf4d36301127f7230e346fd488e9c 03:27:02 $ docker rm -f 3aab93dc1295ab68a6468139cb9906061dacf4d36301127f7230e346fd488e9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:27:03 + docker inspect -f . ci-base-image-x86_64 03:27:03 . [Pipeline] withDockerContainer 03:27:03 prd-centos7-docker-4c-2g-15559 does not seem to be running inside a container 03:27:03 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:27:04 $ docker top a8e7c15b85c779c5e8b2fa05c0ee1547a65f52dd3c90529f299165d054d76418 -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:06 + make test 03:27:06 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:27:21 ok github.com/edgexfoundry/go-mod-registry/internal/pkg/consul 2.068s coverage: 87.9% of statements 03:27:21 ? github.com/edgexfoundry/go-mod-registry/pkg/types [no test files] 03:27:21 ok github.com/edgexfoundry/go-mod-registry/registry 0.012s coverage: 85.7% of statements 03:27:21 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:27:21 gofmt -l . 03:27:21 [ "`gofmt -l .`" = "" ] [Pipeline] } 03:27:22 $ docker stop --time=1 a8e7c15b85c779c5e8b2fa05c0ee1547a65f52dd3c90529f299165d054d76418 03:27:24 $ docker rm -f a8e7c15b85c779c5e8b2fa05c0ee1547a65f52dd3c90529f299165d054d76418 [Pipeline] // withDockerContainer [Pipeline] sh 03:27:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:27:25 Warning: overwriting stash ‘coverage-report’ 03:27:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 03:27:27 provisioning config files... 03:27:27 copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-65@tmp/config8171460744337445063tmp [Pipeline] { [Pipeline] sh 03:27:28 + set +x 03:27:28 + curl -s https://codecov.io/bash 03:27:28 + bash -s -- 03:27:28 03:27:28 _____ _ 03:27:28 / ____| | | 03:27:28 | | ___ __| | ___ ___ _____ __ 03:27:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:27:28 | |___| (_) | (_| | __/ (_| (_) \ V / 03:27:28 \_____\___/ \__,_|\___|\___\___/ \_/ 03:27:28 Bash-20201130-cc6d3fe 03:27:28 03:27:28 03:27:28 ==> Jenkins CI detected. 03:27:28 project root: . 03:27:28 --> token set from env 03:27:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:27:28 ==> Running gcov in . (disable via -X gcov) 03:27:28 ==> Python coveragepy not found 03:27:28 ==> Searching for coverage reports in: 03:27:28 + . 03:27:28 -> Found 1 reports 03:27:28 ==> Detecting git/mercurial file structure 03:27:28 ==> Reading reports 03:27:28 + ./coverage.out bytes=8966 03:27:28 ==> Appending adjustments 03:27:28 https://docs.codecov.io/docs/fixing-reports 03:27:28 + Found adjustments 03:27:28 ==> Gzipping contents 03:27:28 4.0K /tmp/codecov.SNB94q.gz 03:27:28 ==> Uploading reports 03:27:28 url: https://codecov.io 03:27:28 query: branch=PR-65&commit=c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-65%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=65&job=&cmd_args= 03:27:28 -> Pinging Codecov 03:27:28 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-65&commit=c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-65%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=65&job=&cmd_args= 03:27:29 -> Uploading to 03:27:29 https://storage.googleapis.com/codecov/v4/raw/2020-12-11/05B643FFA8DEACB6C25F95B2D4D12284/c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2/58d7cb9f-e1cd-4190-a050-70f163586f0d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201211%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201211T032729Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d6d8f642231dad30e97f4513a5b5770cca5dc1e9e70dcb3fcd1bd56e9634157 03:27:29 % Total % Received % Xferd Average Speed Time Time Time Current 03:27:29 Dload Upload Total Spent Left Speed 03:27:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1819 0 0 100 1819 0 3805 --:--:-- --:--:-- --:--:-- 3813 03:27:30 -> View reports at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/c5c016bd8e2fd6d71ae98edfcec64acb9398e6a2 [Pipeline] } 03:27:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 03:27:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:27:33 ---> package-listing.sh 03:27:33 ++ tr '[:upper:]' '[:lower:]' 03:27:33 ++ facter osfamily 03:27:33 + OS_FAMILY=redhat 03:27:33 + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-65 03:27:33 + START_PACKAGES=/tmp/packages_start.txt 03:27:33 + END_PACKAGES=/tmp/packages_end.txt 03:27:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:27:33 + PACKAGES=/tmp/packages_start.txt 03:27:33 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-65 ']' 03:27:33 + PACKAGES=/tmp/packages_end.txt 03:27:33 + case "${OS_FAMILY}" in 03:27:33 + rpm -qa 03:27:33 + sort 03:27:40 + '[' -f /tmp/packages_start.txt ']' 03:27:40 + '[' -f /tmp/packages_end.txt ']' 03:27:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:27:40 + '[' /w/workspace/gexfoundry_go-mod-registry_PR-65 ']' 03:27:40 + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-65/archives/ 03:27:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-registry_PR-65/archives/ [Pipeline] echo 03:27:40 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_go-mod-registry_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:27:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:27:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:27:42 03:27:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:27:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:27:42 alpine: Pulling from edgex-lftools-log-publisher 03:27:42 df20fa9351a1: Pulling fs layer 03:27:42 36b3adc4ff6f: Pulling fs layer 03:27:42 8ad3a11d3b57: Pulling fs layer 03:27:42 46f8f816bc3b: Pulling fs layer 03:27:42 93b61091891f: Pulling fs layer 03:27:42 93b9cdb0e59b: Pulling fs layer 03:27:42 5e14af77c1be: Pulling fs layer 03:27:42 01666e4c0597: Pulling fs layer 03:27:42 aa168da1d23b: Pulling fs layer 03:27:42 5e14af77c1be: Waiting 03:27:42 46f8f816bc3b: Waiting 03:27:42 93b61091891f: Waiting 03:27:42 93b9cdb0e59b: Waiting 03:27:42 aa168da1d23b: Waiting 03:27:42 01666e4c0597: Waiting 03:27:42 df20fa9351a1: Verifying Checksum 03:27:42 df20fa9351a1: Download complete 03:27:42 36b3adc4ff6f: Verifying Checksum 03:27:42 36b3adc4ff6f: Download complete 03:27:42 46f8f816bc3b: Verifying Checksum 03:27:42 46f8f816bc3b: Download complete 03:27:42 93b9cdb0e59b: Verifying Checksum 03:27:42 93b9cdb0e59b: Download complete 03:27:42 5e14af77c1be: Verifying Checksum 03:27:42 5e14af77c1be: Download complete 03:27:43 01666e4c0597: Download complete 03:27:43 93b61091891f: Verifying Checksum 03:27:43 93b61091891f: Download complete 03:27:43 8ad3a11d3b57: Verifying Checksum 03:27:43 8ad3a11d3b57: Download complete 03:27:43 df20fa9351a1: Pull complete 03:27:43 36b3adc4ff6f: Pull complete 03:27:45 8ad3a11d3b57: Pull complete 03:27:45 46f8f816bc3b: Pull complete 03:27:46 93b61091891f: Pull complete 03:27:46 93b9cdb0e59b: Pull complete 03:27:47 5e14af77c1be: Pull complete 03:27:47 01666e4c0597: Pull complete 03:27:49 aa168da1d23b: Verifying Checksum 03:27:49 aa168da1d23b: Download complete 03:28:01 aa168da1d23b: Pull complete 03:28:01 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:28:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:28:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:28:02 prd-centos7-docker-4c-2g-15557 does not seem to be running inside a container 03:28:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_go-mod-registry_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-registry_PR-65 -v /w/workspace/gexfoundry_go-mod-registry_PR-65:/w/workspace/gexfoundry_go-mod-registry_PR-65:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-65@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:28:06 $ docker top f6eb6e3c58f5fe11b524d14adb93e1bf8f07f0c7e6013479ef4b81f690a00683 -eo pid,comm [Pipeline] { [Pipeline] sh 03:28:06 + touch /tmp/pre-build-complete [Pipeline] sh 03:28:07 + mkdir -p /var/log/sa [Pipeline] sh 03:28:07 + ls /var/log/sa-host 03:28:07 + sadf -c /var/log/sa-host/sa11 03:28:07 file_magic: OK 03:28:07 HZ: Using current value: 100 03:28:07 file_header: OK 03:28:07 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 03:28:07 Statistics: 03:28:07 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:28:07 File successfully converted to sysstat format version 12.2.1 03:28:07 + sadf -c /var/log/sa-host/sa23 03:28:07 file_magic: OK 03:28:07 HZ: Using current value: 100 03:28:07 file_header: OK 03:28:07 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 03:28:07 Statistics: 03:28:07 Hnuu...uuuununununu... 03:28:07 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:28:07 provisioning config files... 03:28:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-65@tmp/config2962258186982296353tmp [Pipeline] { [Pipeline] echo 03:28:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:28:08 ---> create-netrc.sh [Pipeline] } 03:28:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 03:28:08 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 03:28:08 ---> python-tools-install.sh [Pipeline] echo 03:28:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:28:09 ---> sudo-logs.sh 03:28:09 Archiving 'sudo' log.. [Pipeline] echo 03:28:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:28:09 ---> job-cost.sh 03:28:09 lf-activate-venv: SKIPPING 03:28:09 INFO: No Stack... 03:28:10 INFO: Retrieving Pricing Info for: v1-standard-2 03:28:11 INFO: Archiving Costs [Pipeline] echo 03:28:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:28:11 ---> logs-deploy.sh 03:28:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-65/2 03:28:11 INFO: archiving workspace using pattern(s): 03:28:14 Archives upload complete. 03:28:14 INFO: archiving logs to Nexus