Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 03888b01b35f22c0aa8a62f87720f38b8993b4ce 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-15584 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 03888b01b35f22c0aa8a62f87720f38b8993b4ce (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 03888b01b35f22c0aa8a62f87720f38b8993b4ce # timeout=10 Commit message: "Merge pull request #65 from AlexCuse/register-additional-checks" > git rev-list --no-walk e06c261707d41b90e25a1dfdd5a5d662f7c4f831 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-11T16:16:53.346Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-11T16:16:53.595Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-11T16:16:53.694Z] ========================================================= [2020-12-11T16:16:53.694Z] EdgeX Global Pipelines Version Info [2020-12-11T16:16:53.694Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-11T16:16:56.132Z] ------------------- [2020-12-11T16:16:56.132Z] stable info: [2020-12-11T16:16:56.132Z] ------------------- [2020-12-11T16:16:56.132Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-11T16:16:56.132Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-11T16:16:56.132Z] Message: update stable to v1.0.172 [2020-12-11T16:16:57.120Z] ------------------- [2020-12-11T16:16:57.120Z] experimental info: [2020-12-11T16:16:57.120Z] ------------------- [2020-12-11T16:16:57.120Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-11T16:16:57.120Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-11T16:16:57.120Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-11T16:16:57.466Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo [2020-12-11T16:16:57.554Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo [2020-12-11T16:16:57.642Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-11T16:16:57.736Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-11T16:16:57.838Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-11T16:16:57.925Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-11T16:16:58.012Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-11T16:16:58.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-11T16:16:58.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-11T16:16:58.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-11T16:16:58.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-11T16:16:58.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-registry [Pipeline] echo [2020-12-11T16:16:58.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-11T16:16:58.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-11T16:16:58.766Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T16:16:58.853Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T16:16:58.976Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T16:16:59.062Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T16:16:59.149Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-12-11T16:16:59.242Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-11T16:16:59.329Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-11T16:16:59.418Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-11T16:16:59.504Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-11T16:16:59.616Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-11T16:16:59.706Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-11T16:16:59.852Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-11T16:16:59.941Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-12-11T16:17:00.045Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-12-11T16:17:00.179Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-12-11T16:17:00.273Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03888b01b35f22c0aa8a62f87720f38b8993b4ce [Pipeline] echo [2020-12-11T16:17:00.429Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03888b0 [Pipeline] echo [2020-12-11T16:17:00.572Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T16:17:01.413Z] + git log --format=format:%s -1 03888b01b35f22c0aa8a62f87720f38b8993b4ce [Pipeline] echo [2020-12-11T16:17:01.584Z] GIT_COMMIT: 03888b01b35f22c0aa8a62f87720f38b8993b4ce, Commit Message: Merge pull request #65 from AlexCuse/register-additional-checks [Pipeline] echo [2020-12-11T16:17:01.657Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:17:02.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T16:17:03.119Z] [2020-12-11T16:17:03.119Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:17:03.676Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T16:17:03.963Z] latest: Pulling from edgex-devops/git-semver [2020-12-11T16:17:03.963Z] 31603596830f: Pulling fs layer [2020-12-11T16:17:03.963Z] 2a8b12db71e7: Pulling fs layer [2020-12-11T16:17:03.963Z] 6ca5941a6612: Pulling fs layer [2020-12-11T16:17:03.963Z] ecc8261a40a4: Pulling fs layer [2020-12-11T16:17:03.963Z] ecc8261a40a4: Waiting [2020-12-11T16:17:03.963Z] 2a8b12db71e7: Download complete [2020-12-11T16:17:03.963Z] 31603596830f: Verifying Checksum [2020-12-11T16:17:03.963Z] 31603596830f: Download complete [2020-12-11T16:17:04.255Z] ecc8261a40a4: Verifying Checksum [2020-12-11T16:17:04.255Z] ecc8261a40a4: Download complete [2020-12-11T16:17:04.521Z] 6ca5941a6612: Verifying Checksum [2020-12-11T16:17:04.521Z] 6ca5941a6612: Download complete [2020-12-11T16:17:04.798Z] 31603596830f: Pull complete [2020-12-11T16:17:04.798Z] 2a8b12db71e7: Pull complete [2020-12-11T16:17:06.804Z] 6ca5941a6612: Pull complete [2020-12-11T16:17:06.804Z] ecc8261a40a4: Pull complete [2020-12-11T16:17:06.804Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-11T16:17:07.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T16:17:07.077Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-11T16:17:07.252Z] prd-centos7-docker-4c-2g-15584 does not seem to be running inside a container [2020-12-11T16:17:07.480Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-11T16:17:10.387Z] $ docker top 5ed7c730b61b04f1cc4d503b080ebe5b6352011b48a1dd725dd28fae8ec868a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-11T16:17:10.916Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T16:17:10.916Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T16:17:11.298Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T16:17:11.302Z] $ docker exec 5ed7c730b61b04f1cc4d503b080ebe5b6352011b48a1dd725dd28fae8ec868a5 ssh-agent [2020-12-11T16:17:11.633Z] SSH_AUTH_SOCK=/tmp/ssh-teduOqEmneM9/agent.11 [2020-12-11T16:17:11.633Z] SSH_AGENT_PID=16 [2020-12-11T16:17:11.650Z] Running ssh-add (command line suppressed) [2020-12-11T16:17:11.828Z] Identity added: /w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_8048386811157981824.key (/w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_8048386811157981824.key) [2020-12-11T16:17:11.915Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T16:17:12.609Z] + git tag --points-at HEAD [Pipeline] } [2020-12-11T16:17:12.647Z] $ docker exec --env ******** --env ******** 5ed7c730b61b04f1cc4d503b080ebe5b6352011b48a1dd725dd28fae8ec868a5 ssh-agent -k [2020-12-11T16:17:12.810Z] unset SSH_AUTH_SOCK; [2020-12-11T16:17:12.811Z] unset SSH_AGENT_PID; [2020-12-11T16:17:12.811Z] echo Agent pid 16 killed; [2020-12-11T16:17:12.887Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-11T16:17:13.224Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T16:17:13.224Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T16:17:13.641Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T16:17:13.646Z] $ docker exec 5ed7c730b61b04f1cc4d503b080ebe5b6352011b48a1dd725dd28fae8ec868a5 ssh-agent [2020-12-11T16:17:14.005Z] SSH_AUTH_SOCK=/tmp/ssh-s7Qw0gX0SOS4/agent.48 [2020-12-11T16:17:14.005Z] SSH_AGENT_PID=54 [2020-12-11T16:17:14.030Z] Running ssh-add (command line suppressed) [2020-12-11T16:17:14.295Z] Identity added: /w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_7583648445641676758.key (/w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_7583648445641676758.key) [2020-12-11T16:17:14.382Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T16:17:14.758Z] + git semver init [2020-12-11T16:17:14.758Z] # -> Open(): unable to determine branch for HEAD [2020-12-11T16:17:14.758Z] # $GIT_DIR = /w/workspace/exfoundry_go-mod-registry_master/.git [2020-12-11T16:17:14.758Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-registry_master [2020-12-11T16:17:14.758Z] # $SEMVER_REMOTE_NAME = origin [2020-12-11T16:17:14.758Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-11T16:17:14.758Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-11T16:17:14.758Z] # $SEMVER_BRANCH = master [2020-12-11T16:17:14.758Z] # $SEMVER_TEMP = /tmp/semver-042484263 [2020-12-11T16:17:14.758Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP [2020-12-11T16:17:15.366Z] # '/tmp/semver-042484263' -> '/w/workspace/exfoundry_go-mod-registry_master/.semver' [2020-12-11T16:17:15.366Z] # -> Force: false [2020-12-11T16:17:15.366Z] # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-registry_master/.semver [Pipeline] } [2020-12-11T16:17:15.390Z] $ docker exec --env ******** --env ******** 5ed7c730b61b04f1cc4d503b080ebe5b6352011b48a1dd725dd28fae8ec868a5 ssh-agent -k [2020-12-11T16:17:15.607Z] unset SSH_AUTH_SOCK; [2020-12-11T16:17:15.607Z] unset SSH_AGENT_PID; [2020-12-11T16:17:15.608Z] echo Agent pid 54 killed; [2020-12-11T16:17:15.692Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-11T16:17:16.198Z] + git semver [Pipeline] } [2020-12-11T16:17:16.234Z] $ docker stop --time=1 5ed7c730b61b04f1cc4d503b080ebe5b6352011b48a1dd725dd28fae8ec868a5 [2020-12-11T16:17:17.858Z] $ docker rm -f 5ed7c730b61b04f1cc4d503b080ebe5b6352011b48a1dd725dd28fae8ec868a5 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T16:17:18.639Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-11T16:17:19.497Z] Stashed 1 file(s) [Pipeline] echo [2020-12-11T16:17:19.499Z] [edgeXSemver]: initialized semver on version 0.1.27 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-11T16:17:35.126Z] Still waiting to schedule task [2020-12-11T16:17:35.126Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-11T16:17:35.129Z] Still waiting to schedule task [2020-12-11T16:17:35.129Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-11T16:20:20.166Z] Running on prd-centos7-docker-4c-2g-15586 in /w/workspace/exfoundry_go-mod-registry_master [Pipeline] { [Pipeline] ws [2020-12-11T16:20:20.234Z] Running in /w/workspace/go-mod-registry/15 [Pipeline] { [Pipeline] checkout [2020-12-11T16:20:24.565Z] using credential edgex-jenkins-ssh [2020-12-11T16:20:24.623Z] Cloning the remote Git repository [2020-12-11T16:20:24.655Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2020-12-11T16:20:24.749Z] > git init /w/workspace/go-mod-registry/15 # timeout=10 [2020-12-11T16:20:24.814Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2020-12-11T16:20:24.814Z] > git --version # timeout=10 [2020-12-11T16:20:24.821Z] > git --version # 'git version 2.24.3' [2020-12-11T16:20:24.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T16:20:24.851Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T16:20:25.881Z] Checking out Revision 03888b01b35f22c0aa8a62f87720f38b8993b4ce (master) [2020-12-11T16:20:25.376Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2020-12-11T16:20:25.386Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T16:20:25.398Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2020-12-11T16:20:25.412Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2020-12-11T16:20:25.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T16:20:25.433Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-11T16:20:25.890Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T16:20:25.903Z] > git checkout -f 03888b01b35f22c0aa8a62f87720f38b8993b4ce # timeout=10 [2020-12-11T16:20:29.553Z] Commit message: "Merge pull request #65 from AlexCuse/register-additional-checks" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T16:20:30.999Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-11T16:20:31.344Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-11T16:20:31.652Z] + true [2020-12-11T16:20:31.652Z] + sudo service docker restart [2020-12-11T16:20:31.652Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-11T16:20:32.811Z] ========================================================= [2020-12-11T16:20:32.811Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-11T16:20:32.811Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:20:33.177Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-11T16:20:33.771Z] Sending build context to Docker daemon 279.6kB [2020-12-11T16:20:33.771Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-11T16:20:33.771Z] Step 2/7 : FROM ${BASE} [2020-12-11T16:20:33.771Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-11T16:20:33.771Z] 188c0c94c7c5: Pulling fs layer [2020-12-11T16:20:33.771Z] 0ef7d3d256c8: Pulling fs layer [2020-12-11T16:20:33.771Z] de9db76c5a1d: Pulling fs layer [2020-12-11T16:20:33.771Z] bca2f99d35d6: Pulling fs layer [2020-12-11T16:20:33.771Z] 93359f2a8cfa: Pulling fs layer [2020-12-11T16:20:33.771Z] 7c6f9722023f: Pulling fs layer [2020-12-11T16:20:33.771Z] a35cf1a2eb13: Pulling fs layer [2020-12-11T16:20:33.771Z] bca2f99d35d6: Waiting [2020-12-11T16:20:33.771Z] 93359f2a8cfa: Waiting [2020-12-11T16:20:33.771Z] 7c6f9722023f: Waiting [2020-12-11T16:20:33.771Z] a35cf1a2eb13: Waiting [2020-12-11T16:20:33.771Z] de9db76c5a1d: Download complete [2020-12-11T16:20:33.771Z] 0ef7d3d256c8: Verifying Checksum [2020-12-11T16:20:33.771Z] 0ef7d3d256c8: Download complete [2020-12-11T16:20:33.771Z] 93359f2a8cfa: Verifying Checksum [2020-12-11T16:20:33.771Z] 93359f2a8cfa: Download complete [2020-12-11T16:20:33.771Z] 7c6f9722023f: Verifying Checksum [2020-12-11T16:20:33.771Z] 7c6f9722023f: Download complete [2020-12-11T16:20:34.037Z] 188c0c94c7c5: Verifying Checksum [2020-12-11T16:20:34.037Z] 188c0c94c7c5: Download complete [2020-12-11T16:20:34.324Z] 188c0c94c7c5: Pull complete [2020-12-11T16:20:34.324Z] 0ef7d3d256c8: Pull complete [2020-12-11T16:20:34.600Z] de9db76c5a1d: Pull complete [2020-12-11T16:20:36.641Z] a35cf1a2eb13: Verifying Checksum [2020-12-11T16:20:36.641Z] a35cf1a2eb13: Download complete [2020-12-11T16:20:37.248Z] bca2f99d35d6: Download complete [2020-12-11T16:20:45.506Z] bca2f99d35d6: Pull complete [2020-12-11T16:20:45.506Z] 93359f2a8cfa: Pull complete [2020-12-11T16:20:45.506Z] 7c6f9722023f: Pull complete [2020-12-11T16:20:49.783Z] a35cf1a2eb13: Pull complete [2020-12-11T16:20:49.783Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-11T16:20:49.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-11T16:20:49.783Z] ---> a62c8e92a672 [2020-12-11T16:20:49.783Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-11T16:20:49.783Z] ---> Running in e0fa7497aab0 [2020-12-11T16:20:50.055Z] Removing intermediate container e0fa7497aab0 [2020-12-11T16:20:50.055Z] ---> 90463b5ae393 [2020-12-11T16:20:50.055Z] Step 4/7 : RUN apk add --update bash [2020-12-11T16:20:50.322Z] ---> Running in 9e5b4c5f69b5 [2020-12-11T16:20:50.911Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-11T16:20:51.488Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-11T16:20:52.067Z] OK: 166 MiB in 39 packages [2020-12-11T16:20:52.655Z] Removing intermediate container 9e5b4c5f69b5 [2020-12-11T16:20:52.655Z] ---> 76b804ef9d0f [2020-12-11T16:20:52.655Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-11T16:20:52.926Z] ---> Running in fd19f3b08ced [2020-12-11T16:20:52.926Z] Removing intermediate container fd19f3b08ced [2020-12-11T16:20:52.926Z] ---> a52a5dad98fb [2020-12-11T16:20:52.926Z] Step 6/7 : COPY go.mod . [2020-12-11T16:20:53.203Z] ---> 6d94a6cc7c33 [2020-12-11T16:20:53.203Z] Step 7/7 : RUN go mod download [2020-12-11T16:20:53.203Z] ---> Running in d9c94ecd10f9 [2020-12-11T16:21:03.287Z] Removing intermediate container d9c94ecd10f9 [2020-12-11T16:21:03.287Z] ---> c4dd92db5de3 [2020-12-11T16:21:03.287Z] Successfully built c4dd92db5de3 [2020-12-11T16:21:03.287Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:21:03.614Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-11T16:21:03.614Z] . [Pipeline] withDockerContainer [2020-12-11T16:21:03.746Z] prd-centos7-docker-4c-2g-15586 does not seem to be running inside a container [2020-12-11T16:21:03.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/15 -v /w/workspace/go-mod-registry/15:/w/workspace/go-mod-registry/15:rw,z -v /w/workspace/go-mod-registry/15@tmp:/w/workspace/go-mod-registry/15@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 ******** ci-base-image-x86_64 cat [2020-12-11T16:21:04.992Z] $ docker top 3d2aea92bc243eeb49aac0677f85693708873c76a2855254b55cf2d01f8a1ae0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T16:21:05.538Z] + go version [2020-12-11T16:21:05.538Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-11T16:21:05.555Z] $ docker stop --time=1 3d2aea92bc243eeb49aac0677f85693708873c76a2855254b55cf2d01f8a1ae0 [2020-12-11T16:21:06.971Z] $ docker rm -f 3d2aea92bc243eeb49aac0677f85693708873c76a2855254b55cf2d01f8a1ae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:21:08.030Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-11T16:21:08.030Z] . [Pipeline] withDockerContainer [2020-12-11T16:21:08.172Z] prd-centos7-docker-4c-2g-15586 does not seem to be running inside a container [2020-12-11T16:21:08.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/15 -v /w/workspace/go-mod-registry/15:/w/workspace/go-mod-registry/15:rw,z -v /w/workspace/go-mod-registry/15@tmp:/w/workspace/go-mod-registry/15@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 ******** ci-base-image-x86_64 cat [2020-12-11T16:21:09.118Z] $ docker top 555bcd0bb23e5fd4ddece0daa52c19e8244b386e183f18932df13ddab2e08fed -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T16:21:09.715Z] + make test [2020-12-11T16:21:09.715Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-11T16:21:22.167Z] ok github.com/edgexfoundry/go-mod-registry/internal/pkg/consul 2.039s coverage: 87.9% of statements [2020-12-11T16:21:22.167Z] ? github.com/edgexfoundry/go-mod-registry/pkg/types [no test files] [2020-12-11T16:21:22.167Z] ok github.com/edgexfoundry/go-mod-registry/registry 0.012s coverage: 85.7% of statements [2020-12-11T16:21:22.167Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-11T16:21:22.167Z] gofmt -l . [2020-12-11T16:21:22.167Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-11T16:21:22.182Z] $ docker stop --time=1 555bcd0bb23e5fd4ddece0daa52c19e8244b386e183f18932df13ddab2e08fed [2020-12-11T16:21:24.194Z] $ docker rm -f 555bcd0bb23e5fd4ddece0daa52c19e8244b386e183f18932df13ddab2e08fed [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T16:21:24.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-11T16:21:25.197Z] 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] } [2020-12-11T16:26:21.618Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15588 in /w/workspace/exfoundry_go-mod-registry_master [Pipeline] { [Pipeline] ws [2020-12-11T16:26:21.681Z] Running in /w/workspace/go-mod-registry/15 [Pipeline] { [Pipeline] checkout [2020-12-11T16:26:26.527Z] using credential edgex-jenkins-ssh [2020-12-11T16:26:26.639Z] Cloning the remote Git repository [2020-12-11T16:26:26.711Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2020-12-11T16:26:26.834Z] > git init /w/workspace/go-mod-registry/15 # timeout=10 [2020-12-11T16:26:26.940Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2020-12-11T16:26:26.941Z] > git --version # timeout=10 [2020-12-11T16:26:26.960Z] > git --version # 'git version 2.17.1' [2020-12-11T16:26:26.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T16:26:27.023Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T16:26:27.820Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2020-12-11T16:26:27.835Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T16:26:27.860Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2020-12-11T16:26:27.896Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2020-12-11T16:26:27.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T16:26:27.908Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-11T16:26:28.441Z] Checking out Revision 03888b01b35f22c0aa8a62f87720f38b8993b4ce (master) [2020-12-11T16:26:28.469Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T16:26:28.488Z] > git checkout -f 03888b01b35f22c0aa8a62f87720f38b8993b4ce # timeout=10 [2020-12-11T16:26:33.004Z] Commit message: "Merge pull request #65 from AlexCuse/register-additional-checks" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T16:26:34.722Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-11T16:26:35.133Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-11T16:26:35.473Z] + true [2020-12-11T16:26:35.473Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2020-12-11T16:26:37.759Z] ========================================================= [2020-12-11T16:26:37.759Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-11T16:26:37.759Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:26:38.152Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-11T16:26:38.748Z] Sending build context to Docker daemon 278.5kB [2020-12-11T16:26:39.026Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-12-11T16:26:39.026Z] Step 2/7 : FROM ${BASE} [2020-12-11T16:26:39.307Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-11T16:26:39.307Z] 5f621e34cdf4: Pulling fs layer [2020-12-11T16:26:39.307Z] a4357932f1b6: Pulling fs layer [2020-12-11T16:26:39.307Z] 18c013af1878: Pulling fs layer [2020-12-11T16:26:39.307Z] 00ac8860ef70: Pulling fs layer [2020-12-11T16:26:39.307Z] 63d7cb157983: Pulling fs layer [2020-12-11T16:26:39.307Z] b116817d02f9: Pulling fs layer [2020-12-11T16:26:39.307Z] 745a02a5169b: Pulling fs layer [2020-12-11T16:26:39.307Z] 00ac8860ef70: Waiting [2020-12-11T16:26:39.307Z] 63d7cb157983: Waiting [2020-12-11T16:26:39.307Z] b116817d02f9: Waiting [2020-12-11T16:26:39.307Z] 18c013af1878: Download complete [2020-12-11T16:26:39.307Z] a4357932f1b6: Verifying Checksum [2020-12-11T16:26:39.307Z] a4357932f1b6: Download complete [2020-12-11T16:26:39.307Z] 63d7cb157983: Verifying Checksum [2020-12-11T16:26:39.307Z] 63d7cb157983: Download complete [2020-12-11T16:26:39.579Z] b116817d02f9: Verifying Checksum [2020-12-11T16:26:39.579Z] b116817d02f9: Download complete [2020-12-11T16:26:40.178Z] 5f621e34cdf4: Verifying Checksum [2020-12-11T16:26:40.178Z] 5f621e34cdf4: Download complete [2020-12-11T16:26:40.781Z] 5f621e34cdf4: Pull complete [2020-12-11T16:26:41.074Z] a4357932f1b6: Pull complete [2020-12-11T16:26:41.677Z] 18c013af1878: Pull complete [2020-12-11T16:26:42.275Z] 745a02a5169b: Verifying Checksum [2020-12-11T16:26:42.275Z] 745a02a5169b: Download complete [2020-12-11T16:26:43.718Z] 00ac8860ef70: Verifying Checksum [2020-12-11T16:26:43.718Z] 00ac8860ef70: Download complete [2020-12-11T16:26:53.915Z] 00ac8860ef70: Pull complete [2020-12-11T16:26:53.915Z] 63d7cb157983: Pull complete [2020-12-11T16:26:54.187Z] b116817d02f9: Pull complete [2020-12-11T16:26:58.504Z] 745a02a5169b: Pull complete [2020-12-11T16:26:58.504Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-11T16:26:58.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-11T16:26:58.504Z] ---> b7e6874047d6 [2020-12-11T16:26:58.504Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-11T16:27:01.122Z] ---> Running in db8a996ada32 [2020-12-11T16:27:01.397Z] Removing intermediate container db8a996ada32 [2020-12-11T16:27:01.397Z] ---> cfa5c31b9616 [2020-12-11T16:27:01.397Z] Step 4/7 : RUN apk add --update bash [2020-12-11T16:27:01.672Z] ---> Running in 3e138e29e596 [2020-12-11T16:27:03.114Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-11T16:27:03.707Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-11T16:27:04.685Z] OK: 142 MiB in 39 packages [2020-12-11T16:27:05.663Z] Removing intermediate container 3e138e29e596 [2020-12-11T16:27:05.663Z] ---> 644e651cf185 [2020-12-11T16:27:05.663Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-12-11T16:27:05.937Z] ---> Running in 964e5377b02f [2020-12-11T16:27:06.531Z] Removing intermediate container 964e5377b02f [2020-12-11T16:27:06.531Z] ---> 7f1c472982e3 [2020-12-11T16:27:06.531Z] Step 6/7 : COPY go.mod . [2020-12-11T16:27:07.145Z] ---> 5980df4392f4 [2020-12-11T16:27:07.145Z] Step 7/7 : RUN go mod download [2020-12-11T16:27:07.145Z] ---> Running in 7e0cfc8d25b0 [2020-12-11T16:27:17.343Z] Removing intermediate container 7e0cfc8d25b0 [2020-12-11T16:27:17.343Z] ---> 75ff16ba87bb [2020-12-11T16:27:17.343Z] Successfully built 75ff16ba87bb [2020-12-11T16:27:17.344Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:27:17.690Z] + docker inspect -f . ci-base-image-arm64 [2020-12-11T16:27:17.690Z] . [Pipeline] withDockerContainer [2020-12-11T16:27:17.972Z] prd-ubuntu18.04-docker-arm64-4c-16g-15588 does not seem to be running inside a container [2020-12-11T16:27:18.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/15 -v /w/workspace/go-mod-registry/15:/w/workspace/go-mod-registry/15:rw,z -v /w/workspace/go-mod-registry/15@tmp:/w/workspace/go-mod-registry/15@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 ******** ci-base-image-arm64 cat [2020-12-11T16:27:19.581Z] $ docker top 8231b0ab9fbe6a7d4b18534ab00c47d9ea6becb1a9fccc51e73e22395f2eae16 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T16:27:20.646Z] + go version [2020-12-11T16:27:20.646Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-11T16:27:20.669Z] $ docker stop --time=1 8231b0ab9fbe6a7d4b18534ab00c47d9ea6becb1a9fccc51e73e22395f2eae16 [2020-12-11T16:27:22.600Z] $ docker rm -f 8231b0ab9fbe6a7d4b18534ab00c47d9ea6becb1a9fccc51e73e22395f2eae16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:27:23.680Z] + docker inspect -f . ci-base-image-arm64 [2020-12-11T16:27:23.680Z] . [Pipeline] withDockerContainer [2020-12-11T16:27:23.958Z] prd-ubuntu18.04-docker-arm64-4c-16g-15588 does not seem to be running inside a container [2020-12-11T16:27:24.041Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/15 -v /w/workspace/go-mod-registry/15:/w/workspace/go-mod-registry/15:rw,z -v /w/workspace/go-mod-registry/15@tmp:/w/workspace/go-mod-registry/15@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 ******** ci-base-image-arm64 cat [2020-12-11T16:27:25.541Z] $ docker top 3da982927126b42fe707791d58599a369eaee8302d6a4a481e564b08356256ff -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T16:27:26.634Z] + make test [2020-12-11T16:27:26.634Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-11T16:27:53.498Z] ok github.com/edgexfoundry/go-mod-registry/internal/pkg/consul 2.074s coverage: 87.9% of statements [2020-12-11T16:27:53.498Z] ? github.com/edgexfoundry/go-mod-registry/pkg/types [no test files] [2020-12-11T16:27:53.498Z] ok github.com/edgexfoundry/go-mod-registry/registry 0.014s coverage: 85.7% of statements [2020-12-11T16:27:53.498Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-11T16:27:53.498Z] gofmt -l . [2020-12-11T16:27:53.498Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-12-11T16:27:53.523Z] $ docker stop --time=1 3da982927126b42fe707791d58599a369eaee8302d6a4a481e564b08356256ff [2020-12-11T16:27:55.654Z] $ docker rm -f 3da982927126b42fe707791d58599a369eaee8302d6a4a481e564b08356256ff [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T16:27:56.551Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-11T16:27:56.572Z] Warning: overwriting stash ‘coverage-report’ [2020-12-11T16:27:57.301Z] 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 [2020-12-11T16:27:59.261Z] provisioning config files... [2020-12-11T16:27:59.283Z] copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/exfoundry_go-mod-registry_master@tmp/config8967006966251214002tmp [Pipeline] { [Pipeline] sh [2020-12-11T16:27:59.744Z] + set +x [2020-12-11T16:27:59.744Z] + curl -s https://codecov.io/bash [2020-12-11T16:27:59.744Z] + bash -s -- [2020-12-11T16:28:00.059Z] [2020-12-11T16:28:00.059Z] _____ _ [2020-12-11T16:28:00.059Z] / ____| | | [2020-12-11T16:28:00.059Z] | | ___ __| | ___ ___ _____ __ [2020-12-11T16:28:00.059Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-11T16:28:00.059Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-11T16:28:00.059Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-11T16:28:00.059Z] Bash-20201130-cc6d3fe [2020-12-11T16:28:00.059Z] [2020-12-11T16:28:00.059Z] [2020-12-11T16:28:00.059Z] ==> Jenkins CI detected. [2020-12-11T16:28:00.059Z] project root: . [2020-12-11T16:28:00.060Z] --> token set from env [2020-12-11T16:28:00.060Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-11T16:28:00.335Z] ==> Running gcov in . (disable via -X gcov) [2020-12-11T16:28:00.335Z] ==> Python coveragepy not found [2020-12-11T16:28:00.335Z] ==> Searching for coverage reports in: [2020-12-11T16:28:00.335Z] + . [2020-12-11T16:28:00.335Z] -> Found 1 reports [2020-12-11T16:28:00.335Z] ==> Detecting git/mercurial file structure [2020-12-11T16:28:00.335Z] ==> Reading reports [2020-12-11T16:28:00.335Z] + ./coverage.out bytes=8966 [2020-12-11T16:28:00.335Z] ==> Appending adjustments [2020-12-11T16:28:00.335Z] https://docs.codecov.io/docs/fixing-reports [2020-12-11T16:28:00.608Z] + Found adjustments [2020-12-11T16:28:00.608Z] ==> Gzipping contents [2020-12-11T16:28:00.608Z] 4.0K /tmp/codecov.9mfNjY.gz [2020-12-11T16:28:00.608Z] ==> Uploading reports [2020-12-11T16:28:00.608Z] url: https://codecov.io [2020-12-11T16:28:00.608Z] query: branch=master&commit=03888b01b35f22c0aa8a62f87720f38b8993b4ce&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmaster%2F15%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-11T16:28:00.608Z] -> Pinging Codecov [2020-12-11T16:28:00.608Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=03888b01b35f22c0aa8a62f87720f38b8993b4ce&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmaster%2F15%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-11T16:28:01.210Z] -> Uploading to [2020-12-11T16:28:01.210Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-11/05B643FFA8DEACB6C25F95B2D4D12284/03888b01b35f22c0aa8a62f87720f38b8993b4ce/7bf5f4b2-f4c4-43fa-8a86-8e0b82d3605f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201211%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201211T162800Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aa98d01abfd75665938f71bed321f2f56df539e4d55ecc75c25c2aa4c6e40467 [2020-12-11T16:28:01.210Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-11T16:28:01.210Z] Dload Upload Total Spent Left Speed [2020-12-11T16:28:01.870Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1819 0 0 100 1819 0 3064 --:--:-- --:--:-- --:--:-- 3067 [2020-12-11T16:28:01.870Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/03888b01b35f22c0aa8a62f87720f38b8993b4ce [Pipeline] } [2020-12-11T16:28:01.881Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-12-11T16:28:02.902Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-12-11T16:28:02.953Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:28:03.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-11T16:28:03.650Z] [2020-12-11T16:28:03.650Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:28:04.138Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-11T16:28:04.408Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-12-11T16:28:04.408Z] 188c0c94c7c5: Pulling fs layer [2020-12-11T16:28:04.408Z] 0ef7d3d256c8: Pulling fs layer [2020-12-11T16:28:04.408Z] de9db76c5a1d: Pulling fs layer [2020-12-11T16:28:04.408Z] 0eba1c9be4d2: Pulling fs layer [2020-12-11T16:28:04.408Z] 0d57e429df01: Pulling fs layer [2020-12-11T16:28:04.408Z] 4e4be7b47b0d: Pulling fs layer [2020-12-11T16:28:04.408Z] e1f770b5df2f: Pulling fs layer [2020-12-11T16:28:04.408Z] 85a0685a4137: Pulling fs layer [2020-12-11T16:28:04.408Z] 0eba1c9be4d2: Waiting [2020-12-11T16:28:04.408Z] 0d57e429df01: Waiting [2020-12-11T16:28:04.408Z] 4e4be7b47b0d: Waiting [2020-12-11T16:28:04.408Z] e1f770b5df2f: Waiting [2020-12-11T16:28:04.408Z] 85a0685a4137: Waiting [2020-12-11T16:28:04.408Z] de9db76c5a1d: Verifying Checksum [2020-12-11T16:28:04.408Z] de9db76c5a1d: Download complete [2020-12-11T16:28:04.408Z] 0ef7d3d256c8: Download complete [2020-12-11T16:28:04.408Z] 0d57e429df01: Download complete [2020-12-11T16:28:04.408Z] 4e4be7b47b0d: Verifying Checksum [2020-12-11T16:28:04.408Z] 4e4be7b47b0d: Download complete [2020-12-11T16:28:04.408Z] 188c0c94c7c5: Download complete [2020-12-11T16:28:05.007Z] 188c0c94c7c5: Pull complete [2020-12-11T16:28:05.274Z] 0ef7d3d256c8: Pull complete [2020-12-11T16:28:05.546Z] de9db76c5a1d: Pull complete [2020-12-11T16:28:07.051Z] e1f770b5df2f: Verifying Checksum [2020-12-11T16:28:07.051Z] e1f770b5df2f: Download complete [2020-12-11T16:28:10.520Z] 0eba1c9be4d2: Verifying Checksum [2020-12-11T16:28:10.520Z] 0eba1c9be4d2: Download complete [2020-12-11T16:28:13.261Z] 85a0685a4137: Verifying Checksum [2020-12-11T16:28:13.261Z] 85a0685a4137: Download complete [2020-12-11T16:28:21.874Z] 0eba1c9be4d2: Pull complete [2020-12-11T16:28:22.145Z] 0d57e429df01: Pull complete [2020-12-11T16:28:22.472Z] 4e4be7b47b0d: Pull complete [2020-12-11T16:28:25.277Z] e1f770b5df2f: Pull complete [2020-12-11T16:28:37.833Z] 85a0685a4137: Pull complete [2020-12-11T16:28:37.833Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-12-11T16:28:37.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-11T16:28:37.833Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-12-11T16:28:38.190Z] prd-centos7-docker-4c-2g-15584 does not seem to be running inside a container [2020-12-11T16:28:38.284Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-11T16:28:39.647Z] $ docker top 03c714093af463b473a2d43b6981b0eb8ee08e74d3670a2f1fceddee0f6e5f76 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-11T16:28:39.965Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-12-11T16:28:40.341Z] + set -o pipefail [2020-12-11T16:28:40.341Z] + snyk monitor '--org=edgex-jenkins' [2020-12-11T16:28:45.734Z] [2020-12-11T16:28:45.735Z] Monitoring /w/workspace/exfoundry_go-mod-registry_master (github.com/edgexfoundry/go-mod-registry)... [2020-12-11T16:28:45.735Z] [2020-12-11T16:28:45.735Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/27af0ee6-349e-4e1a-9947-de111205d3a1/history/fbcc7882-88eb-4992-ace8-c4a45dfa3bf3 [2020-12-11T16:28:45.735Z] [2020-12-11T16:28:45.735Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-12-11T16:28:45.735Z] [2020-12-11T16:28:46.339Z] [2020-12-11T16:28:46.339Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2020-12-11T16:28:46.339Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-12-11T16:28:46.380Z] $ docker stop --time=1 03c714093af463b473a2d43b6981b0eb8ee08e74d3670a2f1fceddee0f6e5f76 [2020-12-11T16:28:49.289Z] $ docker rm -f 03c714093af463b473a2d43b6981b0eb8ee08e74d3670a2f1fceddee0f6e5f76 [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 [2020-12-11T16:28:52.091Z] + git log --format=format:%s -1 03888b01b35f22c0aa8a62f87720f38b8993b4ce [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:28:52.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T16:28:52.444Z] . [Pipeline] withDockerContainer [2020-12-11T16:28:52.593Z] prd-centos7-docker-4c-2g-15584 does not seem to be running inside a container [2020-12-11T16:28:52.663Z] $ 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 [2020-12-11T16:28:53.800Z] $ docker top ae7e241b2fbaa1fd946410b512d83b7eaf6239448e9deeda28dd01a693def8e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-11T16:28:54.438Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T16:28:54.438Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T16:28:55.166Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T16:28:55.171Z] $ docker exec ae7e241b2fbaa1fd946410b512d83b7eaf6239448e9deeda28dd01a693def8e8 ssh-agent [2020-12-11T16:28:55.875Z] SSH_AUTH_SOCK=/tmp/ssh-Ak90IBz9kp0q/agent.13 [2020-12-11T16:28:55.875Z] SSH_AGENT_PID=18 [2020-12-11T16:28:55.906Z] Running ssh-add (command line suppressed) [2020-12-11T16:28:56.173Z] Identity added: /w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_1759153231563285904.key (/w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_1759153231563285904.key) [2020-12-11T16:28:56.256Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T16:28:56.674Z] + git semver tag [2020-12-11T16:28:56.942Z] # -> Open(): unable to determine branch for HEAD [2020-12-11T16:28:56.942Z] # $GIT_DIR = /w/workspace/exfoundry_go-mod-registry_master/.git [2020-12-11T16:28:56.942Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-registry_master [2020-12-11T16:28:56.942Z] # $SEMVER_REMOTE_NAME = origin [2020-12-11T16:28:56.942Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-11T16:28:56.942Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-11T16:28:56.942Z] # $SEMVER_BRANCH = master [2020-12-11T16:28:56.942Z] # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-registry_master/.semver [2020-12-11T16:28:56.942Z] # 03888b01b35f22c0aa8a62f87720f38b8993b4ce HEAD [2020-12-11T16:28:56.942Z] # -> Force: false [2020-12-11T16:28:56.942Z] # 3e60693bcc24fe3ec66bf7d25064b908558b9450 refs/tags/v0.1.27 [Pipeline] } [2020-12-11T16:28:56.969Z] $ docker exec --env ******** --env ******** ae7e241b2fbaa1fd946410b512d83b7eaf6239448e9deeda28dd01a693def8e8 ssh-agent -k [2020-12-11T16:28:57.242Z] unset SSH_AUTH_SOCK; [2020-12-11T16:28:57.243Z] unset SSH_AGENT_PID; [2020-12-11T16:28:57.243Z] echo Agent pid 18 killed; [2020-12-11T16:28:57.330Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-11T16:28:57.848Z] + git semver [Pipeline] } [2020-12-11T16:28:57.874Z] $ docker stop --time=1 ae7e241b2fbaa1fd946410b512d83b7eaf6239448e9deeda28dd01a693def8e8 [2020-12-11T16:28:59.375Z] $ docker rm -f ae7e241b2fbaa1fd946410b512d83b7eaf6239448e9deeda28dd01a693def8e8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:29:00.331Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-11T16:29:00.331Z] [2020-12-11T16:29:00.331Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:29:00.744Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-11T16:29:01.012Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-12-11T16:29:01.012Z] ab5ef0e58194: Pulling fs layer [2020-12-11T16:29:01.012Z] 9712f1f96733: Pulling fs layer [2020-12-11T16:29:01.012Z] 63f879dbbcfc: Pulling fs layer [2020-12-11T16:29:01.012Z] 0d9ebad4ef96: Pulling fs layer [2020-12-11T16:29:01.012Z] e9a5061849ea: Pulling fs layer [2020-12-11T16:29:01.012Z] d747dcd14b5f: Pulling fs layer [2020-12-11T16:29:01.012Z] 2de7ff778b66: Pulling fs layer [2020-12-11T16:29:01.012Z] 0d9ebad4ef96: Waiting [2020-12-11T16:29:01.012Z] e9a5061849ea: Waiting [2020-12-11T16:29:01.012Z] d747dcd14b5f: Waiting [2020-12-11T16:29:01.012Z] 2de7ff778b66: Waiting [2020-12-11T16:29:01.012Z] 9712f1f96733: Verifying Checksum [2020-12-11T16:29:01.013Z] 9712f1f96733: Download complete [2020-12-11T16:29:03.695Z] 63f879dbbcfc: Verifying Checksum [2020-12-11T16:29:03.695Z] 63f879dbbcfc: Download complete [2020-12-11T16:29:03.695Z] e9a5061849ea: Verifying Checksum [2020-12-11T16:29:03.695Z] e9a5061849ea: Download complete [2020-12-11T16:29:03.695Z] d747dcd14b5f: Verifying Checksum [2020-12-11T16:29:03.695Z] d747dcd14b5f: Download complete [2020-12-11T16:29:04.694Z] 2de7ff778b66: Verifying Checksum [2020-12-11T16:29:04.694Z] 2de7ff778b66: Download complete [2020-12-11T16:29:05.316Z] ab5ef0e58194: Verifying Checksum [2020-12-11T16:29:05.316Z] ab5ef0e58194: Download complete [2020-12-11T16:29:05.933Z] 0d9ebad4ef96: Verifying Checksum [2020-12-11T16:29:05.933Z] 0d9ebad4ef96: Download complete [2020-12-11T16:29:14.330Z] ab5ef0e58194: Pull complete [2020-12-11T16:29:14.330Z] 9712f1f96733: Pull complete [2020-12-11T16:29:16.424Z] 63f879dbbcfc: Pull complete [2020-12-11T16:29:26.685Z] 0d9ebad4ef96: Pull complete [2020-12-11T16:29:27.304Z] e9a5061849ea: Pull complete [2020-12-11T16:29:27.579Z] d747dcd14b5f: Pull complete [2020-12-11T16:29:33.157Z] 2de7ff778b66: Pull complete [2020-12-11T16:29:33.157Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-12-11T16:29:33.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-11T16:29:33.157Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-12-11T16:29:33.604Z] prd-centos7-docker-4c-2g-15584 does not seem to be running inside a container [2020-12-11T16:29:33.900Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-12-11T16:29:36.530Z] $ docker top cce87ec6bf2362fb11ba5db8e8621f621d21481312c60108ebe01670380051b4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-12-11T16:29:37.064Z] provisioning config files... [2020-12-11T16:29:37.081Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_go-mod-registry_master@tmp/config3672563998192606938tmp [2020-12-11T16:29:37.122Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_go-mod-registry_master@tmp/config6752406253936894096tmp [2020-12-11T16:29:37.158Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_go-mod-registry_master@tmp/config3081806085052263165tmp [Pipeline] { [Pipeline] echo [2020-12-11T16:29:37.222Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T16:29:37.898Z] ---> sigul-configuration.sh [2020-12-11T16:29:37.898Z] gpg: directory `/root/.gnupg' created [2020-12-11T16:29:37.898Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-12-11T16:29:37.898Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-12-11T16:29:37.898Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-12-11T16:29:37.898Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-12-11T16:29:37.898Z] gpg: CAST5 encrypted data [2020-12-11T16:29:37.898Z] gpg: encrypted with 1 passphrase [2020-12-11T16:29:37.898Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-12-11T16:29:38.830Z] + mkdir /home/jenkins [2020-12-11T16:29:38.830Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-12-11T16:29:39.149Z] + 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 [2020-12-11T16:29:39.429Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T16:29:40.083Z] ---> sigul-install.sh [2020-12-11T16:29:46.782Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-12-11T16:29:47.812Z] + git tag --list [2020-12-11T16:29:47.812Z] v0.0.0 [2020-12-11T16:29:47.812Z] v0.1.0 [2020-12-11T16:29:47.812Z] v0.1.1 [2020-12-11T16:29:47.812Z] v0.1.10 [2020-12-11T16:29:47.812Z] v0.1.11 [2020-12-11T16:29:47.812Z] v0.1.12 [2020-12-11T16:29:47.812Z] v0.1.13 [2020-12-11T16:29:47.812Z] v0.1.14 [2020-12-11T16:29:47.812Z] v0.1.15 [2020-12-11T16:29:47.812Z] v0.1.16 [2020-12-11T16:29:47.812Z] v0.1.17 [2020-12-11T16:29:47.812Z] v0.1.18 [2020-12-11T16:29:47.812Z] v0.1.19 [2020-12-11T16:29:47.812Z] v0.1.2 [2020-12-11T16:29:47.812Z] v0.1.20 [2020-12-11T16:29:47.812Z] v0.1.21 [2020-12-11T16:29:47.812Z] v0.1.22 [2020-12-11T16:29:47.812Z] v0.1.23 [2020-12-11T16:29:47.812Z] v0.1.24 [2020-12-11T16:29:47.812Z] v0.1.25 [2020-12-11T16:29:47.812Z] v0.1.26 [2020-12-11T16:29:47.812Z] v0.1.27 [2020-12-11T16:29:47.812Z] v0.1.3 [2020-12-11T16:29:47.812Z] v0.1.4 [2020-12-11T16:29:47.812Z] v0.1.5 [2020-12-11T16:29:47.812Z] v0.1.6 [2020-12-11T16:29:47.812Z] v0.1.7 [2020-12-11T16:29:47.812Z] v0.1.8 [2020-12-11T16:29:47.812Z] v0.1.9 [Pipeline] sh [2020-12-11T16:29:48.461Z] + lftools sign git-tag v0.1.27 [2020-12-11T16:29:50.436Z] Signing Git tag with Sigul... [2020-12-11T16:29:50.436Z] Signing v0.1.27 [Pipeline] echo [2020-12-11T16:29:51.408Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T16:29:52.046Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-12-11T16:29:52.058Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-12-11T16:29:52.182Z] $ docker stop --time=1 cce87ec6bf2362fb11ba5db8e8621f621d21481312c60108ebe01670380051b4 [2020-12-11T16:29:54.452Z] $ docker rm -f cce87ec6bf2362fb11ba5db8e8621f621d21481312c60108ebe01670380051b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:29:55.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T16:29:55.580Z] . [Pipeline] withDockerContainer [2020-12-11T16:29:55.741Z] prd-centos7-docker-4c-2g-15584 does not seem to be running inside a container [2020-12-11T16:29:55.827Z] $ 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 [2020-12-11T16:29:57.035Z] $ docker top 2526765057d419726525f6220d060be30e84d238dc7bc4ef9bfc4ab305e52b4e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-11T16:29:57.524Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T16:29:57.524Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T16:29:57.878Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T16:29:57.883Z] $ docker exec 2526765057d419726525f6220d060be30e84d238dc7bc4ef9bfc4ab305e52b4e ssh-agent [2020-12-11T16:29:58.286Z] SSH_AUTH_SOCK=/tmp/ssh-MgbnJT1RE8N9/agent.12 [2020-12-11T16:29:58.286Z] SSH_AGENT_PID=17 [2020-12-11T16:29:58.297Z] Running ssh-add (command line suppressed) [2020-12-11T16:29:58.618Z] Identity added: /w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_5735464221166318016.key (/w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_5735464221166318016.key) [2020-12-11T16:29:58.772Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T16:29:59.192Z] + git semver bump patch [2020-12-11T16:29:59.456Z] # -> Open(): unable to determine branch for HEAD [2020-12-11T16:29:59.456Z] # $GIT_DIR = /w/workspace/exfoundry_go-mod-registry_master/.git [2020-12-11T16:29:59.456Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-registry_master [2020-12-11T16:29:59.456Z] # $SEMVER_REMOTE_NAME = origin [2020-12-11T16:29:59.456Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-11T16:29:59.456Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-11T16:29:59.456Z] # $SEMVER_BRANCH = master [2020-12-11T16:29:59.456Z] # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-registry_master/.semver [2020-12-11T16:29:59.456Z] 0.1.28 [Pipeline] } [2020-12-11T16:29:59.472Z] $ docker exec --env ******** --env ******** 2526765057d419726525f6220d060be30e84d238dc7bc4ef9bfc4ab305e52b4e ssh-agent -k [2020-12-11T16:29:59.652Z] unset SSH_AUTH_SOCK; [2020-12-11T16:29:59.653Z] unset SSH_AGENT_PID; [2020-12-11T16:29:59.653Z] echo Agent pid 17 killed; [2020-12-11T16:29:59.759Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-11T16:30:00.668Z] + git semver [Pipeline] } [2020-12-11T16:30:00.725Z] $ docker stop --time=1 2526765057d419726525f6220d060be30e84d238dc7bc4ef9bfc4ab305e52b4e [2020-12-11T16:30:02.565Z] $ docker rm -f 2526765057d419726525f6220d060be30e84d238dc7bc4ef9bfc4ab305e52b4e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:30:03.550Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T16:30:03.550Z] . [Pipeline] withDockerContainer [2020-12-11T16:30:03.783Z] prd-centos7-docker-4c-2g-15584 does not seem to be running inside a container [2020-12-11T16:30:04.079Z] $ 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 [2020-12-11T16:30:05.206Z] $ docker top 2a4444d89a1bb4a14695f5b38843946e1035db9c9fe935aa2f8aa0d1a0bf5b70 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-11T16:30:06.239Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T16:30:06.239Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T16:30:06.954Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T16:30:06.964Z] $ docker exec 2a4444d89a1bb4a14695f5b38843946e1035db9c9fe935aa2f8aa0d1a0bf5b70 ssh-agent [2020-12-11T16:30:07.471Z] SSH_AUTH_SOCK=/tmp/ssh-ArSB6fa8nuwq/agent.11 [2020-12-11T16:30:07.471Z] SSH_AGENT_PID=16 [2020-12-11T16:30:07.481Z] Running ssh-add (command line suppressed) [2020-12-11T16:30:07.920Z] Identity added: /w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_3972493455154910195.key (/w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_3972493455154910195.key) [2020-12-11T16:30:08.215Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T16:30:08.588Z] + git semver push [2020-12-11T16:30:08.588Z] # -> Open(): unable to determine branch for HEAD [2020-12-11T16:30:08.588Z] # $GIT_DIR = /w/workspace/exfoundry_go-mod-registry_master/.git [2020-12-11T16:30:08.588Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-registry_master [2020-12-11T16:30:08.588Z] # $SEMVER_REMOTE_NAME = origin [2020-12-11T16:30:08.588Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-11T16:30:08.588Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-11T16:30:08.589Z] # $SEMVER_BRANCH = master [2020-12-11T16:30:08.589Z] # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-registry_master/.semver [Pipeline] } [2020-12-11T16:30:15.295Z] $ docker exec --env ******** --env ******** 2a4444d89a1bb4a14695f5b38843946e1035db9c9fe935aa2f8aa0d1a0bf5b70 ssh-agent -k [2020-12-11T16:30:15.496Z] unset SSH_AUTH_SOCK; [2020-12-11T16:30:15.502Z] unset SSH_AGENT_PID; [2020-12-11T16:30:15.502Z] echo Agent pid 16 killed; [2020-12-11T16:30:15.580Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-11T16:30:16.087Z] + git semver [Pipeline] } [2020-12-11T16:30:16.123Z] $ docker stop --time=1 2a4444d89a1bb4a14695f5b38843946e1035db9c9fe935aa2f8aa0d1a0bf5b70 [2020-12-11T16:30:17.831Z] $ docker rm -f 2a4444d89a1bb4a14695f5b38843946e1035db9c9fe935aa2f8aa0d1a0bf5b70 [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 [2020-12-11T16:30:19.885Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T16:30:20.809Z] ---> package-listing.sh [2020-12-11T16:30:20.809Z] ++ facter osfamily [2020-12-11T16:30:20.809Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-11T16:30:21.081Z] + OS_FAMILY=redhat [2020-12-11T16:30:21.081Z] + workspace=/w/workspace/exfoundry_go-mod-registry_master [2020-12-11T16:30:21.081Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-11T16:30:21.081Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-11T16:30:21.081Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-11T16:30:21.081Z] + PACKAGES=/tmp/packages_start.txt [2020-12-11T16:30:21.081Z] + '[' /w/workspace/exfoundry_go-mod-registry_master ']' [2020-12-11T16:30:21.081Z] + PACKAGES=/tmp/packages_end.txt [2020-12-11T16:30:21.081Z] + case "${OS_FAMILY}" in [2020-12-11T16:30:21.081Z] + sort [2020-12-11T16:30:21.081Z] + rpm -qa [2020-12-11T16:30:26.422Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-11T16:30:26.422Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-11T16:30:26.422Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-11T16:30:26.422Z] + '[' /w/workspace/exfoundry_go-mod-registry_master ']' [2020-12-11T16:30:26.422Z] + mkdir -p /w/workspace/exfoundry_go-mod-registry_master/archives/ [2020-12-11T16:30:26.422Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_go-mod-registry_master/archives/ [Pipeline] echo [2020-12-11T16:30:26.438Z] 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 [2020-12-11T16:30:26.850Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:30:27.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T16:30:27.727Z] [2020-12-11T16:30:27.727Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-11T16:30:28.170Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T16:30:28.170Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-11T16:30:28.170Z] df20fa9351a1: Pulling fs layer [2020-12-11T16:30:28.170Z] 36b3adc4ff6f: Pulling fs layer [2020-12-11T16:30:28.170Z] 8ad3a11d3b57: Pulling fs layer [2020-12-11T16:30:28.170Z] 46f8f816bc3b: Pulling fs layer [2020-12-11T16:30:28.170Z] 93b61091891f: Pulling fs layer [2020-12-11T16:30:28.170Z] 93b9cdb0e59b: Pulling fs layer [2020-12-11T16:30:28.170Z] 5e14af77c1be: Pulling fs layer [2020-12-11T16:30:28.170Z] 01666e4c0597: Pulling fs layer [2020-12-11T16:30:28.170Z] aa168da1d23b: Pulling fs layer [2020-12-11T16:30:28.170Z] 93b9cdb0e59b: Waiting [2020-12-11T16:30:28.170Z] 5e14af77c1be: Waiting [2020-12-11T16:30:28.170Z] 46f8f816bc3b: Waiting [2020-12-11T16:30:28.170Z] 01666e4c0597: Waiting [2020-12-11T16:30:28.170Z] 93b61091891f: Waiting [2020-12-11T16:30:28.170Z] aa168da1d23b: Waiting [2020-12-11T16:30:28.170Z] 36b3adc4ff6f: Download complete [2020-12-11T16:30:28.451Z] 46f8f816bc3b: Verifying Checksum [2020-12-11T16:30:28.451Z] 46f8f816bc3b: Download complete [2020-12-11T16:30:28.451Z] df20fa9351a1: Verifying Checksum [2020-12-11T16:30:28.451Z] 93b61091891f: Verifying Checksum [2020-12-11T16:30:28.451Z] 93b61091891f: Download complete [2020-12-11T16:30:28.451Z] 93b9cdb0e59b: Verifying Checksum [2020-12-11T16:30:28.451Z] 93b9cdb0e59b: Download complete [2020-12-11T16:30:28.451Z] 5e14af77c1be: Download complete [2020-12-11T16:30:28.451Z] 01666e4c0597: Verifying Checksum [2020-12-11T16:30:28.451Z] 01666e4c0597: Download complete [2020-12-11T16:30:28.731Z] 8ad3a11d3b57: Verifying Checksum [2020-12-11T16:30:28.731Z] 8ad3a11d3b57: Download complete [2020-12-11T16:30:29.366Z] df20fa9351a1: Pull complete [2020-12-11T16:30:29.663Z] 36b3adc4ff6f: Pull complete [2020-12-11T16:30:31.734Z] 8ad3a11d3b57: Pull complete [2020-12-11T16:30:32.015Z] 46f8f816bc3b: Pull complete [2020-12-11T16:30:32.639Z] 93b61091891f: Pull complete [2020-12-11T16:30:32.914Z] 93b9cdb0e59b: Pull complete [2020-12-11T16:30:33.204Z] 5e14af77c1be: Pull complete [2020-12-11T16:30:33.483Z] aa168da1d23b: Verifying Checksum [2020-12-11T16:30:33.483Z] aa168da1d23b: Download complete [2020-12-11T16:30:33.483Z] 01666e4c0597: Pull complete [2020-12-11T16:30:45.953Z] aa168da1d23b: Pull complete [2020-12-11T16:30:45.953Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-11T16:30:45.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T16:30:45.953Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-11T16:30:46.233Z] prd-centos7-docker-4c-2g-15584 does not seem to be running inside a container [2020-12-11T16:30:46.404Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-11T16:30:49.472Z] $ docker top ce63ab48121ac680ed9bcff80024c7cecb1dc3230a7f2720ea74140886da7342 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T16:30:50.558Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-11T16:30:51.304Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-11T16:30:51.998Z] + ls /var/log/sa-host [2020-12-11T16:30:51.999Z] + sadf -c /var/log/sa-host/sa11 [2020-12-11T16:30:51.999Z] file_magic: OK [2020-12-11T16:30:51.999Z] HZ: Using current value: 100 [2020-12-11T16:30:51.999Z] file_header: OK [2020-12-11T16:30:51.999Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-11T16:30:51.999Z] Statistics: [2020-12-11T16:30:51.999Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-11T16:30:51.999Z] File successfully converted to sysstat format version 12.2.1 [2020-12-11T16:30:51.999Z] + sadf -c /var/log/sa-host/sa23 [2020-12-11T16:30:51.999Z] file_magic: OK [2020-12-11T16:30:51.999Z] HZ: Using current value: 100 [2020-12-11T16:30:51.999Z] file_header: OK [2020-12-11T16:30:51.999Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-11T16:30:51.999Z] Statistics: [2020-12-11T16:30:51.999Z] Hnuu...uuuununununu... [2020-12-11T16:30:51.999Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-11T16:30:52.639Z] provisioning config files... [2020-12-11T16:30:52.679Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_go-mod-registry_master@tmp/config6448796933881128811tmp [Pipeline] { [Pipeline] echo [2020-12-11T16:30:52.766Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T16:30:53.078Z] ---> create-netrc.sh [Pipeline] } [2020-12-11T16:30:53.089Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-11T16:30:53.206Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T16:30:53.853Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-11T16:30:53.867Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T16:30:54.295Z] ---> sudo-logs.sh [2020-12-11T16:30:54.295Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-11T16:30:54.609Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T16:30:54.944Z] ---> job-cost.sh [2020-12-11T16:30:54.944Z] lf-activate-venv: SKIPPING [2020-12-11T16:30:54.944Z] INFO: No Stack... [2020-12-11T16:30:55.535Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-11T16:30:56.120Z] INFO: Archiving Costs [Pipeline] echo [2020-12-11T16:30:56.137Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T16:30:56.802Z] ---> logs-deploy.sh [2020-12-11T16:30:56.802Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/master/15 [2020-12-11T16:30:56.802Z] INFO: archiving workspace using pattern(s): [2020-12-11T16:30:58.753Z] Archives upload complete. [2020-12-11T16:30:59.048Z] INFO: archiving logs to Nexus