Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 88e27ee92e5450daa4a740072667ab51b7ce4100 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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:pre] ========================================================= [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: pre 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21331 in /w/workspace/exfoundry_go-mod-registry_master [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/exfoundry_go-mod-registry_master # 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 Checking out Revision 88e27ee92e5450daa4a740072667ab51b7ce4100 (master) > 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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88e27ee92e5450daa4a740072667ab51b7ce4100 # timeout=10 Commit message: "Merge pull request #68 from lenny-intel/v2-module" > git rev-list --no-walk 03888b01b35f22c0aa8a62f87720f38b8993b4ce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:04:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:04:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:04:32 ========================================================= 22:04:32 EdgeX Global Pipelines Version Info 22:04:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:04:33 ------------------- 22:04:33 stable info: 22:04:33 ------------------- 22:04:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:04:33 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 22:04:33 Message: update stable to v1.0.179 22:04:34 ------------------- 22:04:34 experimental info: 22:04:34 ------------------- 22:04:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:04:34 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 22:04:34 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:04:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo 22:04:35 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo 22:04:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:04:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:04:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:04:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:04:35 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:04:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-registry [Pipeline] echo 22:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:04:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:04:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:04:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:04:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:04:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:04:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:04:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:04:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:04:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:04:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:04:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:04:37 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 22:04:37 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 22:04:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 22:04:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 22:04:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 22:04:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88e27ee92e5450daa4a740072667ab51b7ce4100 [Pipeline] echo 22:04:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88e27ee [Pipeline] echo 22:04:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:04:38 + git log --format=format:%s -1 88e27ee92e5450daa4a740072667ab51b7ce4100 [Pipeline] echo 22:04:39 GIT_COMMIT: 88e27ee92e5450daa4a740072667ab51b7ce4100, Commit Message: Merge pull request #68 from lenny-intel/v2-module [Pipeline] echo 22:04:39 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:04:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:04:40 22:04:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:04:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:04:40 latest: Pulling from edgex-devops/git-semver 22:04:40 31603596830f: Pulling fs layer 22:04:40 2a8b12db71e7: Pulling fs layer 22:04:40 6ca5941a6612: Pulling fs layer 22:04:40 ecc8261a40a4: Pulling fs layer 22:04:40 ecc8261a40a4: Waiting 22:04:40 2a8b12db71e7: Verifying Checksum 22:04:40 2a8b12db71e7: Download complete 22:04:40 31603596830f: Verifying Checksum 22:04:40 31603596830f: Download complete 22:04:40 ecc8261a40a4: Verifying Checksum 22:04:40 ecc8261a40a4: Download complete 22:04:40 6ca5941a6612: Verifying Checksum 22:04:40 6ca5941a6612: Download complete 22:04:41 31603596830f: Pull complete 22:04:41 2a8b12db71e7: Pull complete 22:04:42 6ca5941a6612: Pull complete 22:04:42 ecc8261a40a4: Pull complete 22:04:42 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:04:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:04:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:04:42 prd-centos7-docker-4c-2g-21331 does not seem to be running inside a container 22:04:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_go-mod-registry_master -v /w/workspace/exfoundry_go-mod-registry_master:/w/workspace/exfoundry_go-mod-registry_master:rw,z -v /w/workspace/exfoundry_go-mod-registry_master@tmp:/w/workspace/exfoundry_go-mod-registry_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:04:45 $ docker top 44339e3cb6b788a8245d2967d95529e3a5ed52cac20a6710ebc915f93d399350 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:04:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:04:45 [ssh-agent] Looking for ssh-agent implementation... 22:04:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:04:45 $ docker exec 44339e3cb6b788a8245d2967d95529e3a5ed52cac20a6710ebc915f93d399350 ssh-agent 22:04:45 SSH_AUTH_SOCK=/tmp/ssh-yYYLFy6f1yhS/agent.12 22:04:45 SSH_AGENT_PID=17 22:04:45 Running ssh-add (command line suppressed) 22:04:46 Identity added: /w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_3621389175308388137.key (/w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_3621389175308388137.key) 22:04:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:04:46 + git tag --points-at HEAD [Pipeline] } 22:04:46 $ docker exec --env ******** --env ******** 44339e3cb6b788a8245d2967d95529e3a5ed52cac20a6710ebc915f93d399350 ssh-agent -k 22:04:46 unset SSH_AUTH_SOCK; 22:04:46 unset SSH_AGENT_PID; 22:04:46 echo Agent pid 17 killed; 22:04:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:04:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:04:47 [ssh-agent] Looking for ssh-agent implementation... 22:04:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:04:47 $ docker exec 44339e3cb6b788a8245d2967d95529e3a5ed52cac20a6710ebc915f93d399350 ssh-agent 22:04:47 SSH_AUTH_SOCK=/tmp/ssh-zq7peR6A4bSm/agent.47 22:04:47 SSH_AGENT_PID=52 22:04:47 Running ssh-add (command line suppressed) 22:04:47 Identity added: /w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_8916947560738497782.key (/w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_8916947560738497782.key) 22:04:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:04:48 + git semver init 22:04:48 # -> Open(): unable to determine branch for HEAD 22:04:48 # $GIT_DIR = /w/workspace/exfoundry_go-mod-registry_master/.git 22:04:48 # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-registry_master 22:04:48 # $SEMVER_REMOTE_NAME = origin 22:04:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:04:48 # $SEMVER_USER_NAME = edgex-jenkins 22:04:48 # $SEMVER_BRANCH = master 22:04:48 # $SEMVER_TEMP = /tmp/semver-802144916 22:04:48 # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP 22:04:48 # '/tmp/semver-802144916' -> '/w/workspace/exfoundry_go-mod-registry_master/.semver' 22:04:48 # -> Force: false 22:04:48 # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-registry_master/.semver [Pipeline] } 22:04:48 $ docker exec --env ******** --env ******** 44339e3cb6b788a8245d2967d95529e3a5ed52cac20a6710ebc915f93d399350 ssh-agent -k 22:04:48 unset SSH_AUTH_SOCK; 22:04:48 unset SSH_AGENT_PID; 22:04:48 echo Agent pid 52 killed; 22:04:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:04:49 + git semver [Pipeline] } 22:04:49 $ docker stop --time=1 44339e3cb6b788a8245d2967d95529e3a5ed52cac20a6710ebc915f93d399350 22:04:50 $ docker rm -f 44339e3cb6b788a8245d2967d95529e3a5ed52cac20a6710ebc915f93d399350 [Pipeline] // withDockerContainer [Pipeline] sh 22:04:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:04:51 Stashed 1 file(s) [Pipeline] echo 22:04:51 [edgeXSemver]: initialized semver on version 2.0.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 22:05:07 Still waiting to schedule task 22:05:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:05:07 Still waiting to schedule task 22:05:07 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 22:06:37 Running on prd-centos7-docker-4c-2g-21345 in /w/workspace/exfoundry_go-mod-registry_master [Pipeline] { [Pipeline] ws 22:06:37 Running in /w/workspace/go-mod-registry/16 [Pipeline] { [Pipeline] checkout 22:06:40 using credential edgex-jenkins-ssh 22:06:40 Cloning the remote Git repository 22:06:40 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 22:06:41 > git init /w/workspace/go-mod-registry/16 # timeout=10 22:06:41 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 22:06:41 > git --version # timeout=10 22:06:41 > git --version # 'git version 2.24.3' 22:06:41 using GIT_SSH to set credentials SSH Credentials for GitHub 22:06:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:06:41 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 22:06:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:06:41 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 22:06:41 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 22:06:41 using GIT_SSH to set credentials SSH Credentials for GitHub 22:06:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/master:refs/remotes/origin/master # timeout=10 22:06:42 Checking out Revision 88e27ee92e5450daa4a740072667ab51b7ce4100 (master) 22:06:42 > git config core.sparsecheckout # timeout=10 22:06:42 > git checkout -f 88e27ee92e5450daa4a740072667ab51b7ce4100 # timeout=10 22:06:45 Commit message: "Merge pull request #68 from lenny-intel/v2-module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:06:47 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:06:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:06:48 + sudo service docker restart 22:06:48 + true 22:06:48 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 22:06:49 ========================================================= 22:06:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:06:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:06:49 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 22:06:50 Sending build context to Docker daemon 288.3kB 22:06:50 Step 1/7 : ARG BASE=golang:1.15-alpine 22:06:50 Step 2/7 : FROM ${BASE} 22:06:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:06:50 188c0c94c7c5: Pulling fs layer 22:06:50 0ef7d3d256c8: Pulling fs layer 22:06:50 de9db76c5a1d: Pulling fs layer 22:06:50 bca2f99d35d6: Pulling fs layer 22:06:50 93359f2a8cfa: Pulling fs layer 22:06:50 7c6f9722023f: Pulling fs layer 22:06:50 a35cf1a2eb13: Pulling fs layer 22:06:50 93359f2a8cfa: Waiting 22:06:50 bca2f99d35d6: Waiting 22:06:50 7c6f9722023f: Waiting 22:06:50 a35cf1a2eb13: Waiting 22:06:50 de9db76c5a1d: Verifying Checksum 22:06:50 de9db76c5a1d: Download complete 22:06:50 0ef7d3d256c8: Download complete 22:06:50 93359f2a8cfa: Verifying Checksum 22:06:50 93359f2a8cfa: Download complete 22:06:50 7c6f9722023f: Verifying Checksum 22:06:50 7c6f9722023f: Download complete 22:06:50 188c0c94c7c5: Verifying Checksum 22:06:50 188c0c94c7c5: Download complete 22:06:51 188c0c94c7c5: Pull complete 22:06:51 0ef7d3d256c8: Pull complete 22:06:51 de9db76c5a1d: Pull complete 22:06:58 a35cf1a2eb13: Verifying Checksum 22:06:58 a35cf1a2eb13: Download complete 22:06:58 bca2f99d35d6: Verifying Checksum 22:06:58 bca2f99d35d6: Download complete 22:07:05 bca2f99d35d6: Pull complete 22:07:05 93359f2a8cfa: Pull complete 22:07:05 7c6f9722023f: Pull complete 22:07:11 a35cf1a2eb13: Pull complete 22:07:11 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:07:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:07:11 ---> a62c8e92a672 22:07:11 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:07:11 ---> Running in bb69683139fb 22:07:11 Removing intermediate container bb69683139fb 22:07:11 ---> 9903e6fd5a19 22:07:11 Step 4/7 : RUN apk add --update bash 22:07:11 ---> Running in 60c198f83051 22:07:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:07:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:07:15 OK: 166 MiB in 39 packages 22:07:16 Removing intermediate container 60c198f83051 22:07:16 ---> a8613e48e570 22:07:16 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 22:07:16 ---> Running in 6cb31ec7cb45 22:07:16 Removing intermediate container 6cb31ec7cb45 22:07:16 ---> c9a65c464616 22:07:16 Step 6/7 : COPY go.mod . 22:07:16 ---> 871352e46e12 22:07:16 Step 7/7 : RUN go mod download 22:07:16 ---> Running in 251ba08eac11 22:07:26 Removing intermediate container 251ba08eac11 22:07:26 ---> 8aefd31c57d0 22:07:26 Successfully built 8aefd31c57d0 22:07:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:07:27 + docker inspect -f . ci-base-image-x86_64 22:07:27 . [Pipeline] withDockerContainer 22:07:27 prd-centos7-docker-4c-2g-21345 does not seem to be running inside a container 22:07:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/16 -v /w/workspace/go-mod-registry/16:/w/workspace/go-mod-registry/16:rw,z -v /w/workspace/go-mod-registry/16@tmp:/w/workspace/go-mod-registry/16@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 ******** ci-base-image-x86_64 cat 22:07:28 $ docker top 5d3624e96ed7db2d41ad0fc3ca0863f0f4436ae4a6e42955da9280442b3139e6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:29 + go version 22:07:29 go version go1.15.5 linux/amd64 [Pipeline] } 22:07:29 $ docker stop --time=1 5d3624e96ed7db2d41ad0fc3ca0863f0f4436ae4a6e42955da9280442b3139e6 22:07:30 $ docker rm -f 5d3624e96ed7db2d41ad0fc3ca0863f0f4436ae4a6e42955da9280442b3139e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:07:31 + docker inspect -f . ci-base-image-x86_64 22:07:31 . [Pipeline] withDockerContainer 22:07:31 prd-centos7-docker-4c-2g-21345 does not seem to be running inside a container 22:07:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/16 -v /w/workspace/go-mod-registry/16:/w/workspace/go-mod-registry/16:rw,z -v /w/workspace/go-mod-registry/16@tmp:/w/workspace/go-mod-registry/16@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 ******** ci-base-image-x86_64 cat 22:07:32 $ docker top cdf22b9f0e47201fa1f5ea28e88850d167131b7ed565afa9534604055b6792dd -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:33 + make test 22:07:33 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:07:45 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.032s coverage: 87.9% of statements 22:07:45 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 22:07:45 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.006s coverage: 85.7% of statements 22:07:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:07:45 gofmt -l . 22:07:45 [ "`gofmt -l .`" = "" ] [Pipeline] } 22:07:45 $ docker stop --time=1 cdf22b9f0e47201fa1f5ea28e88850d167131b7ed565afa9534604055b6792dd 22:07:47 $ docker rm -f cdf22b9f0e47201fa1f5ea28e88850d167131b7ed565afa9534604055b6792dd [Pipeline] // withDockerContainer [Pipeline] sh 22:07:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:07:48 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] } 22:07:55 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21354 in /w/workspace/exfoundry_go-mod-registry_master [Pipeline] { [Pipeline] ws 22:07:56 Running in /w/workspace/go-mod-registry/16 [Pipeline] { [Pipeline] checkout 22:08:01 using credential edgex-jenkins-ssh 22:08:01 Cloning the remote Git repository 22:08:01 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 22:08:01 > git init /w/workspace/go-mod-registry/16 # timeout=10 22:08:01 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 22:08:01 > git --version # timeout=10 22:08:01 > git --version # 'git version 2.17.1' 22:08:01 using GIT_SSH to set credentials SSH Credentials for GitHub 22:08:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:08:04 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 22:08:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:08:04 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 22:08:04 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 22:08:04 using GIT_SSH to set credentials SSH Credentials for GitHub 22:08:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/master:refs/remotes/origin/master # timeout=10 22:08:05 Checking out Revision 88e27ee92e5450daa4a740072667ab51b7ce4100 (master) 22:08:05 > git config core.sparsecheckout # timeout=10 22:08:05 > git checkout -f 88e27ee92e5450daa4a740072667ab51b7ce4100 # timeout=10 22:08:09 Commit message: "Merge pull request #68 from lenny-intel/v2-module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:08:11 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:08:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:08:12 + true 22:08:12 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 22:08:15 ========================================================= 22:08:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:08:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:08:15 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 22:08:16 Sending build context to Docker daemon 287.2kB 22:08:16 Step 1/7 : ARG BASE=golang:1.15-alpine 22:08:16 Step 2/7 : FROM ${BASE} 22:08:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:08:17 5f621e34cdf4: Pulling fs layer 22:08:17 a4357932f1b6: Pulling fs layer 22:08:17 18c013af1878: Pulling fs layer 22:08:17 00ac8860ef70: Pulling fs layer 22:08:17 63d7cb157983: Pulling fs layer 22:08:17 b116817d02f9: Pulling fs layer 22:08:17 745a02a5169b: Pulling fs layer 22:08:17 00ac8860ef70: Waiting 22:08:17 63d7cb157983: Waiting 22:08:17 b116817d02f9: Waiting 22:08:17 745a02a5169b: Waiting 22:08:17 18c013af1878: Verifying Checksum 22:08:17 18c013af1878: Download complete 22:08:17 a4357932f1b6: Verifying Checksum 22:08:17 a4357932f1b6: Download complete 22:08:17 63d7cb157983: Download complete 22:08:17 b116817d02f9: Verifying Checksum 22:08:17 b116817d02f9: Download complete 22:08:17 5f621e34cdf4: Verifying Checksum 22:08:17 5f621e34cdf4: Download complete 22:08:18 5f621e34cdf4: Pull complete 22:08:19 a4357932f1b6: Pull complete 22:08:19 18c013af1878: Pull complete 22:08:19 745a02a5169b: Verifying Checksum 22:08:19 745a02a5169b: Download complete 22:08:21 00ac8860ef70: Verifying Checksum 22:08:21 00ac8860ef70: Download complete 22:08:31 00ac8860ef70: Pull complete 22:08:31 63d7cb157983: Pull complete 22:08:31 b116817d02f9: Pull complete 22:08:36 745a02a5169b: Pull complete 22:08:36 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:08:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:08:36 ---> b7e6874047d6 22:08:36 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:08:38 ---> Running in a565c8521718 22:08:38 Removing intermediate container a565c8521718 22:08:38 ---> 2854aff5e29c 22:08:38 Step 4/7 : RUN apk add --update bash 22:08:38 ---> Running in 5bb852b09a90 22:08:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:08:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:08:45 OK: 142 MiB in 39 packages 22:08:46 Removing intermediate container 5bb852b09a90 22:08:46 ---> 3d334dbdef2a 22:08:46 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 22:08:46 ---> Running in 63768f3c1be6 22:08:46 Removing intermediate container 63768f3c1be6 22:08:46 ---> dcc7e854a3b5 22:08:46 Step 6/7 : COPY go.mod . 22:08:47 ---> 5c96f6ac0f43 22:08:47 Step 7/7 : RUN go mod download 22:08:47 ---> Running in 5ac71d5c574f 22:08:57 Removing intermediate container 5ac71d5c574f 22:08:57 ---> 41bf59405bf1 22:08:57 Successfully built 41bf59405bf1 22:08:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:08:58 + docker inspect -f . ci-base-image-arm64 22:08:58 . [Pipeline] withDockerContainer 22:08:58 prd-ubuntu18.04-docker-arm64-4c-16g-21354 does not seem to be running inside a container 22:08:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/16 -v /w/workspace/go-mod-registry/16:/w/workspace/go-mod-registry/16:rw,z -v /w/workspace/go-mod-registry/16@tmp:/w/workspace/go-mod-registry/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:08:59 $ docker top 44c76d23ec558a669d2fe3a3a03833a04014849fcb2187f5d2ea269009e3f5cf -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:00 + go version 22:09:00 go version go1.15.5 linux/arm64 [Pipeline] } 22:09:00 $ docker stop --time=1 44c76d23ec558a669d2fe3a3a03833a04014849fcb2187f5d2ea269009e3f5cf 22:09:02 $ docker rm -f 44c76d23ec558a669d2fe3a3a03833a04014849fcb2187f5d2ea269009e3f5cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:09:03 + docker inspect -f . ci-base-image-arm64 22:09:03 . [Pipeline] withDockerContainer 22:09:04 prd-ubuntu18.04-docker-arm64-4c-16g-21354 does not seem to be running inside a container 22:09:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/16 -v /w/workspace/go-mod-registry/16:/w/workspace/go-mod-registry/16:rw,z -v /w/workspace/go-mod-registry/16@tmp:/w/workspace/go-mod-registry/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:09:05 $ docker top ef140046cd9bb65452ee5e44b010e98f1054a579ad3bfaa2b53e44cb3c63a8eb -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:06 + make test 22:09:06 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:09:33 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.075s coverage: 87.9% of statements 22:09:33 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 22:09:33 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.017s coverage: 85.7% of statements 22:09:33 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:09:33 gofmt -l . 22:09:33 [ "`gofmt -l .`" = "" ] [Pipeline] } 22:09:33 $ docker stop --time=1 ef140046cd9bb65452ee5e44b010e98f1054a579ad3bfaa2b53e44cb3c63a8eb 22:09:35 $ docker rm -f ef140046cd9bb65452ee5e44b010e98f1054a579ad3bfaa2b53e44cb3c63a8eb [Pipeline] // withDockerContainer [Pipeline] sh 22:09:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:09:36 Warning: overwriting stash ‘coverage-report’ 22:09:37 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 22:09:38 provisioning config files... 22:09:38 copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/exfoundry_go-mod-registry_master@tmp/config5101117946189698550tmp [Pipeline] { [Pipeline] sh 22:09:38 + set +x 22:09:38 + curl -s https://codecov.io/bash 22:09:38 + bash -s -- 22:09:39 22:09:39 _____ _ 22:09:39 / ____| | | 22:09:39 | | ___ __| | ___ ___ _____ __ 22:09:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:09:39 | |___| (_) | (_| | __/ (_| (_) \ V / 22:09:39 \_____\___/ \__,_|\___|\___\___/ \_/ 22:09:39 Bash-20210115-cec3c92 22:09:39 22:09:39 22:09:39 ==> git version 2.24.3 found 22:09:39 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 22:09:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:09:39 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:09:39 ==> Jenkins CI detected. 22:09:39 project root: . 22:09:39 --> token set from env 22:09:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:09:39 ==> Running gcov in . (disable via -X gcov) 22:09:39 ==> Python coveragepy not found 22:09:39 ==> Searching for coverage reports in: 22:09:39 + . 22:09:39 -> Found 1 reports 22:09:39 ==> Detecting git/mercurial file structure 22:09:39 ==> Reading reports 22:09:39 + ./coverage.out bytes=9269 22:09:39 ==> Appending adjustments 22:09:39 https://docs.codecov.io/docs/fixing-reports 22:09:39 + Found adjustments 22:09:39 ==> Gzipping contents 22:09:39 4.0K /tmp/codecov.hF0t45.gz 22:09:39 ==> Uploading reports 22:09:39 url: https://codecov.io 22:09:39 query: branch=master&commit=88e27ee92e5450daa4a740072667ab51b7ce4100&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmaster%2F16%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= 22:09:39 -> Pinging Codecov 22:09:39 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=master&commit=88e27ee92e5450daa4a740072667ab51b7ce4100&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmaster%2F16%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= 22:09:39 -> Uploading to 22:09:39 https://storage.googleapis.com/codecov/v4/raw/2021-01-19/05B643FFA8DEACB6C25F95B2D4D12284/88e27ee92e5450daa4a740072667ab51b7ce4100/5b26ee87-220c-4f51-a193-defd9089fc5e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T220939Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d4fac5a63b91f18e2ace87b82e368bc317335e7bc24ea5b622d4a3dc3792c666 22:09:39 % Total % Received % Xferd Average Speed Time Time Time Current 22:09:39 Dload Upload Total Spent Left Speed 22:09:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1821 0 0 100 1821 0 3795 --:--:-- --:--:-- --:--:-- 3801 22:09:40 -> View reports at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/88e27ee92e5450daa4a740072667ab51b7ce4100 [Pipeline] } 22:09:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:09:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:09:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:09:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:09:41 22:09:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 22:09:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:09:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:09:41 188c0c94c7c5: Pulling fs layer 22:09:41 0ef7d3d256c8: Pulling fs layer 22:09:41 de9db76c5a1d: Pulling fs layer 22:09:41 0eba1c9be4d2: Pulling fs layer 22:09:41 0d57e429df01: Pulling fs layer 22:09:41 4e4be7b47b0d: Pulling fs layer 22:09:41 e1f770b5df2f: Pulling fs layer 22:09:41 85a0685a4137: Pulling fs layer 22:09:41 0eba1c9be4d2: Waiting 22:09:41 0d57e429df01: Waiting 22:09:41 4e4be7b47b0d: Waiting 22:09:41 e1f770b5df2f: Waiting 22:09:41 85a0685a4137: Waiting 22:09:41 de9db76c5a1d: Verifying Checksum 22:09:41 de9db76c5a1d: Download complete 22:09:41 0ef7d3d256c8: Verifying Checksum 22:09:41 0ef7d3d256c8: Download complete 22:09:41 0d57e429df01: Verifying Checksum 22:09:41 0d57e429df01: Download complete 22:09:41 4e4be7b47b0d: Verifying Checksum 22:09:41 4e4be7b47b0d: Download complete 22:09:41 188c0c94c7c5: Verifying Checksum 22:09:41 188c0c94c7c5: Download complete 22:09:42 188c0c94c7c5: Pull complete 22:09:42 0ef7d3d256c8: Pull complete 22:09:42 de9db76c5a1d: Pull complete 22:09:43 e1f770b5df2f: Verifying Checksum 22:09:45 0eba1c9be4d2: Verifying Checksum 22:09:45 0eba1c9be4d2: Download complete 22:09:45 85a0685a4137: Verifying Checksum 22:09:45 85a0685a4137: Download complete 22:09:52 0eba1c9be4d2: Pull complete 22:09:52 0d57e429df01: Pull complete 22:09:52 4e4be7b47b0d: Pull complete 22:09:55 e1f770b5df2f: Pull complete 22:10:03 85a0685a4137: Pull complete 22:10:03 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 22:10:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:10:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 22:10:03 prd-centos7-docker-4c-2g-21331 does not seem to be running inside a container 22:10:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_go-mod-registry_master -v /w/workspace/exfoundry_go-mod-registry_master:/w/workspace/exfoundry_go-mod-registry_master:rw,z -v /w/workspace/exfoundry_go-mod-registry_master@tmp:/w/workspace/exfoundry_go-mod-registry_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:10:04 $ docker top 08879b51e1f1e3f90fcbc5d1674660747f80cf457a7efa2aad01e61d4a675d66 -eo pid,comm [Pipeline] { [Pipeline] echo 22:10:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 22:10:05 + set -o pipefail 22:10:05 + snyk monitor '--org=edgex-jenkins' 22:10:13 22:10:13 Monitoring /w/workspace/exfoundry_go-mod-registry_master (github.com/edgexfoundry/go-mod-registry/v2)... 22:10:13 22:10:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/e2dd60db-48f3-4c1d-986e-6397089a0464/history/f6e62b92-38af-4adc-b091-6b040e3bc140 22:10:13 22:10:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:10:13 22:10:13 [Pipeline] } 22:10:14 $ docker stop --time=1 08879b51e1f1e3f90fcbc5d1674660747f80cf457a7efa2aad01e61d4a675d66 22:10:15 $ docker rm -f 08879b51e1f1e3f90fcbc5d1674660747f80cf457a7efa2aad01e61d4a675d66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:10:18 + git log --format=format:%s -1 88e27ee92e5450daa4a740072667ab51b7ce4100 [Pipeline] isUnix [Pipeline] sh 22:10:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:10:18 . [Pipeline] withDockerContainer 22:10:18 prd-centos7-docker-4c-2g-21331 does not seem to be running inside a container 22:10:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_go-mod-registry_master -v /w/workspace/exfoundry_go-mod-registry_master:/w/workspace/exfoundry_go-mod-registry_master:rw,z -v /w/workspace/exfoundry_go-mod-registry_master@tmp:/w/workspace/exfoundry_go-mod-registry_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:10:19 $ docker top b101170c53dfb7d5df406597be0235b4e9843732c1da03a04e1f1c7dc577d66f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:19 [ssh-agent] Looking for ssh-agent implementation... 22:10:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:20 $ docker exec b101170c53dfb7d5df406597be0235b4e9843732c1da03a04e1f1c7dc577d66f ssh-agent 22:10:20 SSH_AUTH_SOCK=/tmp/ssh-GeRk4RVojAPU/agent.11 22:10:20 SSH_AGENT_PID=16 22:10:20 Running ssh-add (command line suppressed) 22:10:20 Identity added: /w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_8481209725228084854.key (/w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_8481209725228084854.key) 22:10:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:20 + git semver tag 22:10:20 # -> Open(): unable to determine branch for HEAD 22:10:20 # $GIT_DIR = /w/workspace/exfoundry_go-mod-registry_master/.git 22:10:20 # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-registry_master 22:10:20 # $SEMVER_REMOTE_NAME = origin 22:10:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:10:20 # $SEMVER_USER_NAME = edgex-jenkins 22:10:20 # $SEMVER_BRANCH = master 22:10:20 # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-registry_master/.semver 22:10:20 # 88e27ee92e5450daa4a740072667ab51b7ce4100 HEAD 22:10:20 # -> Force: false 22:10:20 # 54447cd937d58141e73ce47ae51247bcd5f0615b refs/tags/v2.0.0-dev.1 [Pipeline] } 22:10:20 $ docker exec --env ******** --env ******** b101170c53dfb7d5df406597be0235b4e9843732c1da03a04e1f1c7dc577d66f ssh-agent -k 22:10:21 unset SSH_AUTH_SOCK; 22:10:21 unset SSH_AGENT_PID; 22:10:21 echo Agent pid 16 killed; 22:10:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:21 + git semver [Pipeline] } 22:10:21 $ docker stop --time=1 b101170c53dfb7d5df406597be0235b4e9843732c1da03a04e1f1c7dc577d66f 22:10:22 $ docker rm -f b101170c53dfb7d5df406597be0235b4e9843732c1da03a04e1f1c7dc577d66f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 22:10:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:10:23 22:10:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 22:10:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:10:23 0.23.1-centos7: Pulling from edgex-lftools 22:10:23 ab5ef0e58194: Pulling fs layer 22:10:23 9712f1f96733: Pulling fs layer 22:10:23 63f879dbbcfc: Pulling fs layer 22:10:23 0d9ebad4ef96: Pulling fs layer 22:10:23 e9a5061849ea: Pulling fs layer 22:10:23 d747dcd14b5f: Pulling fs layer 22:10:23 2de7ff778b66: Pulling fs layer 22:10:23 0d9ebad4ef96: Waiting 22:10:23 d747dcd14b5f: Waiting 22:10:23 e9a5061849ea: Waiting 22:10:23 2de7ff778b66: Waiting 22:10:23 9712f1f96733: Download complete 22:10:26 63f879dbbcfc: Verifying Checksum 22:10:26 63f879dbbcfc: Download complete 22:10:26 e9a5061849ea: Verifying Checksum 22:10:26 e9a5061849ea: Download complete 22:10:26 d747dcd14b5f: Verifying Checksum 22:10:26 d747dcd14b5f: Download complete 22:10:27 ab5ef0e58194: Verifying Checksum 22:10:27 ab5ef0e58194: Download complete 22:10:27 2de7ff778b66: Verifying Checksum 22:10:27 2de7ff778b66: Download complete 22:10:27 0d9ebad4ef96: Verifying Checksum 22:10:27 0d9ebad4ef96: Download complete 22:10:33 ab5ef0e58194: Pull complete 22:10:33 9712f1f96733: Pull complete 22:10:36 63f879dbbcfc: Pull complete 22:10:44 0d9ebad4ef96: Pull complete 22:10:45 e9a5061849ea: Pull complete 22:10:45 d747dcd14b5f: Pull complete 22:10:48 2de7ff778b66: Pull complete 22:10:48 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:10:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:10:48 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 22:10:49 prd-centos7-docker-4c-2g-21331 does not seem to be running inside a container 22:10:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_go-mod-registry_master -v /w/workspace/exfoundry_go-mod-registry_master:/w/workspace/exfoundry_go-mod-registry_master:rw,z -v /w/workspace/exfoundry_go-mod-registry_master@tmp:/w/workspace/exfoundry_go-mod-registry_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:10:52 $ docker top edc71eee7e79ed8b8c5bd1ae36134bbfc9eb2c3a3df6b038d8f76953da20fbbd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:10:52 provisioning config files... 22:10:52 copy managed file [sigul-config] to file:/w/workspace/exfoundry_go-mod-registry_master@tmp/config5994232517573838852tmp 22:10:52 copy managed file [sigul-password] to file:/w/workspace/exfoundry_go-mod-registry_master@tmp/config225372405120544090tmp 22:10:52 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_go-mod-registry_master@tmp/config332029520185811044tmp [Pipeline] { [Pipeline] echo 22:10:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:10:52 ---> sigul-configuration.sh 22:10:52 gpg: directory `/root/.gnupg' created 22:10:52 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:10:52 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:10:52 gpg: keyring `/root/.gnupg/secring.gpg' created 22:10:52 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:10:52 gpg: CAST5 encrypted data 22:10:53 gpg: encrypted with 1 passphrase 22:10:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:10:53 + mkdir /home/jenkins 22:10:53 + mkdir /home/jenkins/sigul [Pipeline] sh 22:10:53 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:10:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:10:54 ---> sigul-install.sh 22:10:59 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 22:11:00 + git tag --list 22:11:00 v0.0.0 22:11:00 v0.1.0 22:11:00 v0.1.1 22:11:00 v0.1.10 22:11:00 v0.1.11 22:11:00 v0.1.12 22:11:00 v0.1.13 22:11:00 v0.1.14 22:11:00 v0.1.15 22:11:00 v0.1.16 22:11:00 v0.1.17 22:11:00 v0.1.18 22:11:00 v0.1.19 22:11:00 v0.1.2 22:11:00 v0.1.20 22:11:00 v0.1.21 22:11:00 v0.1.22 22:11:00 v0.1.23 22:11:00 v0.1.24 22:11:00 v0.1.25 22:11:00 v0.1.26 22:11:00 v0.1.27 22:11:00 v0.1.3 22:11:00 v0.1.4 22:11:00 v0.1.5 22:11:00 v0.1.6 22:11:00 v0.1.7 22:11:00 v0.1.8 22:11:00 v0.1.9 22:11:00 v2.0.0-dev.1 [Pipeline] sh 22:11:00 + lftools sign git-tag v2.0.0-dev.1 22:11:01 Signing Git tag with Sigul... 22:11:01 Signing v2.0.0-dev.1 [Pipeline] echo 22:11:02 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:11:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:11:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:11:03 $ docker stop --time=1 edc71eee7e79ed8b8c5bd1ae36134bbfc9eb2c3a3df6b038d8f76953da20fbbd 22:11:05 $ docker rm -f edc71eee7e79ed8b8c5bd1ae36134bbfc9eb2c3a3df6b038d8f76953da20fbbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 22:11:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:11:06 . [Pipeline] withDockerContainer 22:11:06 prd-centos7-docker-4c-2g-21331 does not seem to be running inside a container 22:11:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_go-mod-registry_master -v /w/workspace/exfoundry_go-mod-registry_master:/w/workspace/exfoundry_go-mod-registry_master:rw,z -v /w/workspace/exfoundry_go-mod-registry_master@tmp:/w/workspace/exfoundry_go-mod-registry_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:11:07 $ docker top 0972bb840773bb66c921ded384a48eb30897d16311091dfaeec428157443120e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:07 [ssh-agent] Looking for ssh-agent implementation... 22:11:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:07 $ docker exec 0972bb840773bb66c921ded384a48eb30897d16311091dfaeec428157443120e ssh-agent 22:11:07 SSH_AUTH_SOCK=/tmp/ssh-ZgMVcMs5rjhf/agent.12 22:11:07 SSH_AGENT_PID=17 22:11:07 Running ssh-add (command line suppressed) 22:11:08 Identity added: /w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_8158910357244401939.key (/w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_8158910357244401939.key) 22:11:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:08 + git semver bump pre 22:11:08 # -> Open(): unable to determine branch for HEAD 22:11:08 # $GIT_DIR = /w/workspace/exfoundry_go-mod-registry_master/.git 22:11:08 # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-registry_master 22:11:08 # $SEMVER_REMOTE_NAME = origin 22:11:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:11:08 # $SEMVER_USER_NAME = edgex-jenkins 22:11:08 # $SEMVER_BRANCH = master 22:11:08 # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-registry_master/.semver 22:11:08 2.0.0-dev.2 [Pipeline] } 22:11:08 $ docker exec --env ******** --env ******** 0972bb840773bb66c921ded384a48eb30897d16311091dfaeec428157443120e ssh-agent -k 22:11:08 unset SSH_AUTH_SOCK; 22:11:08 unset SSH_AGENT_PID; 22:11:08 echo Agent pid 17 killed; 22:11:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:09 + git semver [Pipeline] } 22:11:09 $ docker stop --time=1 0972bb840773bb66c921ded384a48eb30897d16311091dfaeec428157443120e 22:11:10 $ docker rm -f 0972bb840773bb66c921ded384a48eb30897d16311091dfaeec428157443120e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 22:11:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:11:11 . [Pipeline] withDockerContainer 22:11:11 prd-centos7-docker-4c-2g-21331 does not seem to be running inside a container 22:11:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_go-mod-registry_master -v /w/workspace/exfoundry_go-mod-registry_master:/w/workspace/exfoundry_go-mod-registry_master:rw,z -v /w/workspace/exfoundry_go-mod-registry_master@tmp:/w/workspace/exfoundry_go-mod-registry_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:11:11 $ docker top 4f82125989e0da529130dfac57e43293b973bbb29157a417df52917037586c68 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:12 [ssh-agent] Looking for ssh-agent implementation... 22:11:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:12 $ docker exec 4f82125989e0da529130dfac57e43293b973bbb29157a417df52917037586c68 ssh-agent 22:11:12 SSH_AUTH_SOCK=/tmp/ssh-9KVcmKPRuhwb/agent.11 22:11:12 SSH_AGENT_PID=17 22:11:12 Running ssh-add (command line suppressed) 22:11:12 Identity added: /w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_131027913134382675.key (/w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_131027913134382675.key) 22:11:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:13 + git semver push 22:11:13 # -> Open(): unable to determine branch for HEAD 22:11:13 # $GIT_DIR = /w/workspace/exfoundry_go-mod-registry_master/.git 22:11:13 # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-registry_master 22:11:13 # $SEMVER_REMOTE_NAME = origin 22:11:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:11:13 # $SEMVER_USER_NAME = edgex-jenkins 22:11:13 # $SEMVER_BRANCH = master 22:11:13 # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-registry_master/.semver [Pipeline] } 22:11:20 $ docker exec --env ******** --env ******** 4f82125989e0da529130dfac57e43293b973bbb29157a417df52917037586c68 ssh-agent -k 22:11:20 unset SSH_AUTH_SOCK; 22:11:20 unset SSH_AGENT_PID; 22:11:20 echo Agent pid 17 killed; 22:11:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:20 + git semver [Pipeline] } 22:11:20 $ docker stop --time=1 4f82125989e0da529130dfac57e43293b973bbb29157a417df52917037586c68 22:11:22 $ docker rm -f 4f82125989e0da529130dfac57e43293b973bbb29157a417df52917037586c68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 22:11:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:11:24 ---> package-listing.sh 22:11:24 ++ facter osfamily 22:11:24 ++ tr '[:upper:]' '[:lower:]' 22:11:24 + OS_FAMILY=redhat 22:11:24 + workspace=/w/workspace/exfoundry_go-mod-registry_master 22:11:24 + START_PACKAGES=/tmp/packages_start.txt 22:11:24 + END_PACKAGES=/tmp/packages_end.txt 22:11:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:11:24 + PACKAGES=/tmp/packages_start.txt 22:11:24 + '[' /w/workspace/exfoundry_go-mod-registry_master ']' 22:11:24 + PACKAGES=/tmp/packages_end.txt 22:11:24 + case "${OS_FAMILY}" in 22:11:24 + rpm -qa 22:11:24 + sort 22:11:29 + '[' -f /tmp/packages_start.txt ']' 22:11:29 + '[' -f /tmp/packages_end.txt ']' 22:11:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:11:29 + '[' /w/workspace/exfoundry_go-mod-registry_master ']' 22:11:29 + mkdir -p /w/workspace/exfoundry_go-mod-registry_master/archives/ 22:11:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_go-mod-registry_master/archives/ [Pipeline] echo 22:11:29 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/exfoundry_go-mod-registry_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:11:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:11:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:11:30 22:11:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:11:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:11:30 alpine: Pulling from edgex-lftools-log-publisher 22:11:30 df20fa9351a1: Pulling fs layer 22:11:30 36b3adc4ff6f: Pulling fs layer 22:11:30 8ad3a11d3b57: Pulling fs layer 22:11:30 46f8f816bc3b: Pulling fs layer 22:11:30 93b61091891f: Pulling fs layer 22:11:30 93b9cdb0e59b: Pulling fs layer 22:11:30 5e14af77c1be: Pulling fs layer 22:11:30 01666e4c0597: Pulling fs layer 22:11:30 aa168da1d23b: Pulling fs layer 22:11:30 93b9cdb0e59b: Waiting 22:11:30 01666e4c0597: Waiting 22:11:30 5e14af77c1be: Waiting 22:11:30 aa168da1d23b: Waiting 22:11:30 46f8f816bc3b: Waiting 22:11:30 93b61091891f: Waiting 22:11:30 36b3adc4ff6f: Verifying Checksum 22:11:30 36b3adc4ff6f: Download complete 22:11:30 46f8f816bc3b: Verifying Checksum 22:11:30 46f8f816bc3b: Download complete 22:11:30 df20fa9351a1: Verifying Checksum 22:11:30 df20fa9351a1: Download complete 22:11:30 93b9cdb0e59b: Verifying Checksum 22:11:30 93b9cdb0e59b: Download complete 22:11:30 5e14af77c1be: Verifying Checksum 22:11:30 5e14af77c1be: Download complete 22:11:30 93b61091891f: Verifying Checksum 22:11:30 93b61091891f: Download complete 22:11:30 01666e4c0597: Verifying Checksum 22:11:30 01666e4c0597: Download complete 22:11:30 8ad3a11d3b57: Verifying Checksum 22:11:30 8ad3a11d3b57: Download complete 22:11:31 df20fa9351a1: Pull complete 22:11:31 36b3adc4ff6f: Pull complete 22:11:32 8ad3a11d3b57: Pull complete 22:11:32 46f8f816bc3b: Pull complete 22:11:33 aa168da1d23b: Verifying Checksum 22:11:33 aa168da1d23b: Download complete 22:11:33 93b61091891f: Pull complete 22:11:33 93b9cdb0e59b: Pull complete 22:11:33 5e14af77c1be: Pull complete 22:11:33 01666e4c0597: Pull complete 22:11:42 aa168da1d23b: Pull complete 22:11:42 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:11:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:11:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:11:42 prd-centos7-docker-4c-2g-21331 does not seem to be running inside a container 22:11:42 $ 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/exfoundry_go-mod-registry_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_go-mod-registry_master -v /w/workspace/exfoundry_go-mod-registry_master:/w/workspace/exfoundry_go-mod-registry_master:rw,z -v /w/workspace/exfoundry_go-mod-registry_master@tmp:/w/workspace/exfoundry_go-mod-registry_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:11:45 $ docker top f5ffd2e88f64f03795e392354a3b60fa5ab7e8d753b21d06539497e24ecae23d -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:45 + touch /tmp/pre-build-complete [Pipeline] sh 22:11:46 + mkdir -p /var/log/sa [Pipeline] sh 22:11:46 + ls /var/log/sa-host 22:11:46 + sadf -c /var/log/sa-host/sa19 22:11:46 file_magic: OK 22:11:46 HZ: Using current value: 100 22:11:46 file_header: OK 22:11:46 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:11:46 Statistics: 22:11:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:11:46 File successfully converted to sysstat format version 12.2.1 22:11:46 + sadf -c /var/log/sa-host/sa23 22:11:46 file_magic: OK 22:11:46 HZ: Using current value: 100 22:11:46 file_header: OK 22:11:46 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:11:46 Statistics: 22:11:46 Hnuu...uuuununununu... 22:11:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:46 provisioning config files... 22:11:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_go-mod-registry_master@tmp/config542199537201836155tmp [Pipeline] { [Pipeline] echo 22:11:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:11:47 ---> create-netrc.sh [Pipeline] } 22:11:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:11:47 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:11:47 ---> python-tools-install.sh [Pipeline] echo 22:11:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:11:48 ---> sudo-logs.sh 22:11:48 Archiving 'sudo' log.. [Pipeline] echo 22:11:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:11:48 ---> job-cost.sh 22:11:48 lf-activate-venv: SKIPPING 22:11:48 INFO: No Stack... 22:11:49 INFO: Retrieving Pricing Info for: v1-standard-2 22:11:49 INFO: Archiving Costs [Pipeline] echo 22:11:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:11:50 ---> logs-deploy.sh 22:11:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/master/16 22:11:50 INFO: archiving workspace using pattern(s): 22:11:51 Archives upload complete. 22:11:51 INFO: archiving logs to Nexus