Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 19bac2f82b793b46b2bc13ac438a581299833542 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-24371’ is offline; ‘prd-centos7-docker-4c-2g-24374’ is offline; ‘prd-centos7-docker-4c-2g-24381’ is offline; ‘prd-centos7-docker-4c-2g-24385’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-24382’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24387 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 > 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 Checking out Revision 19bac2f82b793b46b2bc13ac438a581299833542 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 19bac2f82b793b46b2bc13ac438a581299833542 # timeout=10 Commit message: "Merge pull request #69 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.0" > git rev-list --no-walk 88e27ee92e5450daa4a740072667ab51b7ce4100 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-01T18:39:41.103Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-01T18:39:41.386Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-01T18:39:41.482Z] ========================================================= [2021-02-01T18:39:41.482Z] EdgeX Global Pipelines Version Info [2021-02-01T18:39:41.482Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-01T18:39:43.026Z] ------------------- [2021-02-01T18:39:43.026Z] stable info: [2021-02-01T18:39:43.026Z] ------------------- [2021-02-01T18:39:43.026Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T18:39:43.026Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T18:39:43.026Z] Message: update stable to v1.0.179 [2021-02-01T18:39:44.004Z] ------------------- [2021-02-01T18:39:44.004Z] experimental info: [2021-02-01T18:39:44.004Z] ------------------- [2021-02-01T18:39:44.004Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-01T18:39:44.004Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-01T18:39:44.004Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-01T18:39:44.427Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo [2021-02-01T18:39:44.530Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo [2021-02-01T18:39:44.633Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-01T18:39:44.738Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-01T18:39:44.849Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-01T18:39:44.963Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-01T18:39:45.080Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-01T18:39:45.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-01T18:39:45.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-01T18:39:45.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-01T18:39:45.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-01T18:39:45.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-registry [Pipeline] echo [2021-02-01T18:39:45.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-01T18:39:45.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-01T18:39:45.871Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T18:39:45.956Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T18:39:46.048Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T18:39:46.139Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-01T18:39:46.254Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-01T18:39:46.356Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-01T18:39:46.453Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-02-01T18:39:46.540Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-02-01T18:39:46.636Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-01T18:39:46.728Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-01T18:39:46.814Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-01T18:39:46.931Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-01T18:39:47.089Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-01T18:39:47.252Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-01T18:39:47.365Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-01T18:39:47.455Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-01T18:39:47.559Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 19bac2f82b793b46b2bc13ac438a581299833542 [Pipeline] echo [2021-02-01T18:39:47.647Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 19bac2f [Pipeline] echo [2021-02-01T18:39:47.764Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T18:39:48.498Z] + git log --format=format:%s -1 19bac2f82b793b46b2bc13ac438a581299833542 [Pipeline] echo [2021-02-01T18:39:48.633Z] GIT_COMMIT: 19bac2f82b793b46b2bc13ac438a581299833542, Commit Message: Merge pull request #69 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.0 [Pipeline] echo [2021-02-01T18:39:48.700Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:39:49.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T18:39:49.640Z] [2021-02-01T18:39:49.640Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:39:50.007Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T18:39:50.008Z] latest: Pulling from edgex-devops/git-semver [2021-02-01T18:39:50.008Z] 31603596830f: Pulling fs layer [2021-02-01T18:39:50.008Z] 2a8b12db71e7: Pulling fs layer [2021-02-01T18:39:50.008Z] 6ca5941a6612: Pulling fs layer [2021-02-01T18:39:50.008Z] ecc8261a40a4: Pulling fs layer [2021-02-01T18:39:50.008Z] ecc8261a40a4: Waiting [2021-02-01T18:39:50.008Z] 2a8b12db71e7: Verifying Checksum [2021-02-01T18:39:50.008Z] 2a8b12db71e7: Download complete [2021-02-01T18:39:50.271Z] 31603596830f: Verifying Checksum [2021-02-01T18:39:50.271Z] 31603596830f: Download complete [2021-02-01T18:39:50.271Z] ecc8261a40a4: Verifying Checksum [2021-02-01T18:39:50.271Z] ecc8261a40a4: Download complete [2021-02-01T18:39:50.271Z] 6ca5941a6612: Download complete [2021-02-01T18:39:50.542Z] 31603596830f: Pull complete [2021-02-01T18:39:50.542Z] 2a8b12db71e7: Pull complete [2021-02-01T18:39:51.512Z] 6ca5941a6612: Pull complete [2021-02-01T18:39:51.777Z] ecc8261a40a4: Pull complete [2021-02-01T18:39:51.777Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-01T18:39:51.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T18:39:51.777Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-01T18:39:51.907Z] prd-centos7-docker-4c-2g-24387 does not seem to be running inside a container [2021-02-01T18:39:51.964Z] $ 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 [2021-02-01T18:39:53.917Z] $ docker top 9d9df57f647947ec392dac592f66f5e5aacc70c3d4c8c8ec6a4165d49bbd1629 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-01T18:39:54.318Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T18:39:54.319Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T18:39:54.537Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T18:39:54.542Z] $ docker exec 9d9df57f647947ec392dac592f66f5e5aacc70c3d4c8c8ec6a4165d49bbd1629 ssh-agent [2021-02-01T18:39:54.704Z] SSH_AUTH_SOCK=/tmp/ssh-Oe2zIFHZIAEH/agent.12 [2021-02-01T18:39:54.704Z] SSH_AGENT_PID=18 [2021-02-01T18:39:54.717Z] Running ssh-add (command line suppressed) [2021-02-01T18:39:54.834Z] Identity added: /w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_1902447424818367436.key (/w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_1902447424818367436.key) [2021-02-01T18:39:54.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T18:39:55.235Z] + git tag --points-at HEAD [Pipeline] } [2021-02-01T18:39:55.346Z] $ docker exec --env ******** --env ******** 9d9df57f647947ec392dac592f66f5e5aacc70c3d4c8c8ec6a4165d49bbd1629 ssh-agent -k [2021-02-01T18:39:55.511Z] unset SSH_AUTH_SOCK; [2021-02-01T18:39:55.511Z] unset SSH_AGENT_PID; [2021-02-01T18:39:55.512Z] echo Agent pid 18 killed; [2021-02-01T18:39:55.558Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-01T18:39:55.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T18:39:55.724Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T18:39:55.893Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T18:39:55.898Z] $ docker exec 9d9df57f647947ec392dac592f66f5e5aacc70c3d4c8c8ec6a4165d49bbd1629 ssh-agent [2021-02-01T18:39:56.060Z] SSH_AUTH_SOCK=/tmp/ssh-H7Ni1H7K5aZz/agent.47 [2021-02-01T18:39:56.060Z] SSH_AGENT_PID=53 [2021-02-01T18:39:56.069Z] Running ssh-add (command line suppressed) [2021-02-01T18:39:56.186Z] Identity added: /w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_5710447954583241815.key (/w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_5710447954583241815.key) [2021-02-01T18:39:56.238Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T18:39:56.577Z] + git semver init [2021-02-01T18:39:56.577Z] # -> Open(): unable to determine branch for HEAD [2021-02-01T18:39:56.577Z] # $GIT_DIR = /w/workspace/exfoundry_go-mod-registry_master/.git [2021-02-01T18:39:56.577Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-registry_master [2021-02-01T18:39:56.577Z] # $SEMVER_REMOTE_NAME = origin [2021-02-01T18:39:56.577Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-01T18:39:56.577Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-01T18:39:56.577Z] # $SEMVER_BRANCH = master [2021-02-01T18:39:56.577Z] # $SEMVER_TEMP = /tmp/semver-587373575 [2021-02-01T18:39:56.577Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP [2021-02-01T18:39:56.840Z] # '/tmp/semver-587373575' -> '/w/workspace/exfoundry_go-mod-registry_master/.semver' [2021-02-01T18:39:56.840Z] # -> Force: false [2021-02-01T18:39:56.840Z] # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-registry_master/.semver [Pipeline] } [2021-02-01T18:39:56.855Z] $ docker exec --env ******** --env ******** 9d9df57f647947ec392dac592f66f5e5aacc70c3d4c8c8ec6a4165d49bbd1629 ssh-agent -k [2021-02-01T18:39:56.973Z] unset SSH_AUTH_SOCK; [2021-02-01T18:39:56.974Z] unset SSH_AGENT_PID; [2021-02-01T18:39:56.974Z] echo Agent pid 53 killed; [2021-02-01T18:39:57.020Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-01T18:39:57.494Z] + git semver [Pipeline] } [2021-02-01T18:39:57.514Z] $ docker stop --time=1 9d9df57f647947ec392dac592f66f5e5aacc70c3d4c8c8ec6a4165d49bbd1629 [2021-02-01T18:39:59.223Z] $ docker rm -f 9d9df57f647947ec392dac592f66f5e5aacc70c3d4c8c8ec6a4165d49bbd1629 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T18:39:59.940Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-01T18:40:00.369Z] Stashed 1 file(s) [Pipeline] echo [2021-02-01T18:40:00.371Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.2 [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 [2021-02-01T18:40:16.021Z] Still waiting to schedule task [2021-02-01T18:40:16.021Z] ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-24371’ is offline; ‘prd-centos7-docker-4c-2g-24374’ is offline; ‘prd-centos7-docker-4c-2g-24381’ is offline; ‘prd-centos7-docker-4c-2g-24386’ is offline; ‘prd-centos7-docker-4c-2g-24391’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-24382’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-24389’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-02-01T18:40:16.024Z] Still waiting to schedule task [2021-02-01T18:40:16.024Z] ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-24371’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-24374’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-24381’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-24386’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-24391’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-24382’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-24389’ is offline [2021-02-01T18:41:25.767Z] Running on prd-centos7-docker-4c-2g-24397 in /w/workspace/exfoundry_go-mod-registry_master [Pipeline] { [Pipeline] ws [2021-02-01T18:41:25.876Z] Running in /w/workspace/go-mod-registry/17 [Pipeline] { [Pipeline] checkout [2021-02-01T18:41:28.320Z] using credential edgex-jenkins-ssh [2021-02-01T18:41:28.377Z] Cloning the remote Git repository [2021-02-01T18:41:28.277Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2021-02-01T18:41:28.356Z] > git init /w/workspace/go-mod-registry/17 # timeout=10 [2021-02-01T18:41:28.431Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-02-01T18:41:28.431Z] > git --version # timeout=10 [2021-02-01T18:41:28.439Z] > git --version # 'git version 2.24.3' [2021-02-01T18:41:28.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T18:41:28.471Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T18:41:29.000Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-02-01T18:41:29.008Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T18:41:29.032Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-02-01T18:41:29.050Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-02-01T18:41:29.050Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T18:41:29.058Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T18:41:29.505Z] Checking out Revision 19bac2f82b793b46b2bc13ac438a581299833542 (master) [2021-02-01T18:41:29.479Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T18:41:29.486Z] > git checkout -f 19bac2f82b793b46b2bc13ac438a581299833542 # timeout=10 [2021-02-01T18:41:33.230Z] Commit message: "Merge pull request #69 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T18:41:34.608Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-01T18:41:34.941Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T18:41:35.245Z] + sudo service docker restart [2021-02-01T18:41:35.245Z] + true [2021-02-01T18:41:35.245Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-02-01T18:41:36.328Z] ========================================================= [2021-02-01T18:41:36.329Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-01T18:41:36.329Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:41:36.675Z] + 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 . [2021-02-01T18:41:36.944Z] Sending build context to Docker daemon 288.3kB [2021-02-01T18:41:37.210Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-02-01T18:41:37.210Z] Step 2/7 : FROM ${BASE} [2021-02-01T18:41:37.210Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-01T18:41:37.210Z] 188c0c94c7c5: Pulling fs layer [2021-02-01T18:41:37.210Z] 0ef7d3d256c8: Pulling fs layer [2021-02-01T18:41:37.210Z] de9db76c5a1d: Pulling fs layer [2021-02-01T18:41:37.210Z] bca2f99d35d6: Pulling fs layer [2021-02-01T18:41:37.210Z] 93359f2a8cfa: Pulling fs layer [2021-02-01T18:41:37.210Z] 7c6f9722023f: Pulling fs layer [2021-02-01T18:41:37.210Z] a35cf1a2eb13: Pulling fs layer [2021-02-01T18:41:37.210Z] 93359f2a8cfa: Waiting [2021-02-01T18:41:37.210Z] 7c6f9722023f: Waiting [2021-02-01T18:41:37.210Z] bca2f99d35d6: Waiting [2021-02-01T18:41:37.210Z] a35cf1a2eb13: Waiting [2021-02-01T18:41:37.210Z] de9db76c5a1d: Download complete [2021-02-01T18:41:37.210Z] 0ef7d3d256c8: Download complete [2021-02-01T18:41:37.210Z] 93359f2a8cfa: Verifying Checksum [2021-02-01T18:41:37.210Z] 93359f2a8cfa: Download complete [2021-02-01T18:41:37.791Z] 7c6f9722023f: Verifying Checksum [2021-02-01T18:41:37.791Z] 7c6f9722023f: Download complete [2021-02-01T18:41:38.069Z] 188c0c94c7c5: Download complete [2021-02-01T18:41:38.647Z] 188c0c94c7c5: Pull complete [2021-02-01T18:41:38.911Z] 0ef7d3d256c8: Pull complete [2021-02-01T18:41:38.911Z] de9db76c5a1d: Pull complete [2021-02-01T18:41:39.487Z] a35cf1a2eb13: Verifying Checksum [2021-02-01T18:41:39.487Z] a35cf1a2eb13: Download complete [2021-02-01T18:41:40.435Z] bca2f99d35d6: Verifying Checksum [2021-02-01T18:41:40.435Z] bca2f99d35d6: Download complete [2021-02-01T18:41:47.087Z] bca2f99d35d6: Pull complete [2021-02-01T18:41:47.087Z] 93359f2a8cfa: Pull complete [2021-02-01T18:41:47.087Z] 7c6f9722023f: Pull complete [2021-02-01T18:41:51.374Z] a35cf1a2eb13: Pull complete [2021-02-01T18:41:51.374Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-01T18:41:51.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-01T18:41:51.374Z] ---> a62c8e92a672 [2021-02-01T18:41:51.374Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T18:41:51.637Z] ---> Running in 0a847c3f832c [2021-02-01T18:41:51.902Z] Removing intermediate container 0a847c3f832c [2021-02-01T18:41:51.902Z] ---> d100de36053a [2021-02-01T18:41:51.902Z] Step 4/7 : RUN apk add --update bash [2021-02-01T18:41:51.902Z] ---> Running in 1a856b043881 [2021-02-01T18:41:52.487Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-01T18:41:53.452Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-01T18:41:54.030Z] OK: 166 MiB in 39 packages [2021-02-01T18:41:54.618Z] Removing intermediate container 1a856b043881 [2021-02-01T18:41:54.618Z] ---> 619f1b466f8c [2021-02-01T18:41:54.618Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-02-01T18:41:54.618Z] ---> Running in 79347205ddff [2021-02-01T18:41:54.898Z] Removing intermediate container 79347205ddff [2021-02-01T18:41:54.898Z] ---> 21bf21437ecf [2021-02-01T18:41:54.898Z] Step 6/7 : COPY go.mod . [2021-02-01T18:41:55.179Z] ---> 204bbcf11266 [2021-02-01T18:41:55.179Z] Step 7/7 : RUN go mod download [2021-02-01T18:41:55.179Z] ---> Running in 8594b8b56e81 [2021-02-01T18:42:05.282Z] Removing intermediate container 8594b8b56e81 [2021-02-01T18:42:05.282Z] ---> fcf26f78d4e7 [2021-02-01T18:42:05.282Z] Successfully built fcf26f78d4e7 [2021-02-01T18:42:05.282Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:42:05.605Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T18:42:05.605Z] . [Pipeline] withDockerContainer [2021-02-01T18:42:05.732Z] prd-centos7-docker-4c-2g-24397 does not seem to be running inside a container [2021-02-01T18:42:05.781Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/17 -v /w/workspace/go-mod-registry/17:/w/workspace/go-mod-registry/17:rw,z -v /w/workspace/go-mod-registry/17@tmp:/w/workspace/go-mod-registry/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-01T18:42:06.972Z] $ docker top 4f6d55c8b3f6aa0f4a9dc77ea1284a929ba43889e97ecd2707fdd49a29edf51e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T18:42:07.596Z] + go version [2021-02-01T18:42:07.596Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-01T18:42:07.612Z] $ docker stop --time=1 4f6d55c8b3f6aa0f4a9dc77ea1284a929ba43889e97ecd2707fdd49a29edf51e [2021-02-01T18:42:08.982Z] $ docker rm -f 4f6d55c8b3f6aa0f4a9dc77ea1284a929ba43889e97ecd2707fdd49a29edf51e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:42:09.943Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-01T18:42:09.943Z] . [Pipeline] withDockerContainer [2021-02-01T18:42:10.064Z] prd-centos7-docker-4c-2g-24397 does not seem to be running inside a container [2021-02-01T18:42:10.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/17 -v /w/workspace/go-mod-registry/17:/w/workspace/go-mod-registry/17:rw,z -v /w/workspace/go-mod-registry/17@tmp:/w/workspace/go-mod-registry/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-01T18:42:10.924Z] $ docker top 1dec51a090a341d82f1bee9c6f5ef474887f259d1f11a1de72634bda0a75e4a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T18:42:11.426Z] + make test [2021-02-01T18:42:11.426Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-01T18:42:21.570Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.036s coverage: 87.9% of statements [2021-02-01T18:42:21.570Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-02-01T18:42:21.570Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.008s coverage: 85.7% of statements [2021-02-01T18:42:21.570Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-01T18:42:22.151Z] gofmt -l . [2021-02-01T18:42:22.151Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-02-01T18:42:22.164Z] $ docker stop --time=1 1dec51a090a341d82f1bee9c6f5ef474887f259d1f11a1de72634bda0a75e4a7 [2021-02-01T18:42:24.388Z] $ docker rm -f 1dec51a090a341d82f1bee9c6f5ef474887f259d1f11a1de72634bda0a75e4a7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T18:42:24.963Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T18:42:25.250Z] 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] } [2021-02-01T18:43:08.269Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24399 in /w/workspace/exfoundry_go-mod-registry_master [Pipeline] { [Pipeline] ws [2021-02-01T18:43:08.324Z] Running in /w/workspace/go-mod-registry/17 [Pipeline] { [Pipeline] checkout [2021-02-01T18:43:12.933Z] using credential edgex-jenkins-ssh [2021-02-01T18:43:12.995Z] Cloning the remote Git repository [2021-02-01T18:43:13.046Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2021-02-01T18:43:13.145Z] > git init /w/workspace/go-mod-registry/17 # timeout=10 [2021-02-01T18:43:13.223Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-02-01T18:43:13.224Z] > git --version # timeout=10 [2021-02-01T18:43:13.251Z] > git --version # 'git version 2.17.1' [2021-02-01T18:43:13.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T18:43:13.300Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T18:43:14.598Z] Checking out Revision 19bac2f82b793b46b2bc13ac438a581299833542 (master) [2021-02-01T18:43:14.056Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-02-01T18:43:14.086Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-01T18:43:14.108Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2021-02-01T18:43:14.142Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2021-02-01T18:43:14.142Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-01T18:43:14.153Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-01T18:43:14.628Z] > git config core.sparsecheckout # timeout=10 [2021-02-01T18:43:14.655Z] > git checkout -f 19bac2f82b793b46b2bc13ac438a581299833542 # timeout=10 [2021-02-01T18:43:18.868Z] Commit message: "Merge pull request #69 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-01T18:43:20.291Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-01T18:43:20.743Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-01T18:43:21.113Z] + sudo service docker restart [2021-02-01T18:43:21.113Z] + true [Pipeline] unstash [Pipeline] echo [2021-02-01T18:43:24.063Z] ========================================================= [2021-02-01T18:43:24.063Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-01T18:43:24.063Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:43:24.508Z] + 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 . [2021-02-01T18:43:25.516Z] Sending build context to Docker daemon 287.2kB [2021-02-01T18:43:25.516Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-02-01T18:43:25.516Z] Step 2/7 : FROM ${BASE} [2021-02-01T18:43:25.516Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-01T18:43:25.800Z] 5f621e34cdf4: Pulling fs layer [2021-02-01T18:43:25.800Z] a4357932f1b6: Pulling fs layer [2021-02-01T18:43:25.800Z] 18c013af1878: Pulling fs layer [2021-02-01T18:43:25.800Z] 00ac8860ef70: Pulling fs layer [2021-02-01T18:43:25.800Z] 63d7cb157983: Pulling fs layer [2021-02-01T18:43:25.800Z] b116817d02f9: Pulling fs layer [2021-02-01T18:43:25.800Z] 745a02a5169b: Pulling fs layer [2021-02-01T18:43:25.800Z] 00ac8860ef70: Waiting [2021-02-01T18:43:25.800Z] 63d7cb157983: Waiting [2021-02-01T18:43:25.800Z] b116817d02f9: Waiting [2021-02-01T18:43:25.800Z] 745a02a5169b: Waiting [2021-02-01T18:43:25.800Z] 18c013af1878: Verifying Checksum [2021-02-01T18:43:25.800Z] 18c013af1878: Download complete [2021-02-01T18:43:25.800Z] a4357932f1b6: Verifying Checksum [2021-02-01T18:43:25.800Z] a4357932f1b6: Download complete [2021-02-01T18:43:25.800Z] 63d7cb157983: Verifying Checksum [2021-02-01T18:43:25.800Z] 63d7cb157983: Download complete [2021-02-01T18:43:25.800Z] b116817d02f9: Verifying Checksum [2021-02-01T18:43:25.800Z] b116817d02f9: Download complete [2021-02-01T18:43:26.074Z] 5f621e34cdf4: Verifying Checksum [2021-02-01T18:43:26.074Z] 5f621e34cdf4: Download complete [2021-02-01T18:43:27.087Z] 5f621e34cdf4: Pull complete [2021-02-01T18:43:27.366Z] a4357932f1b6: Pull complete [2021-02-01T18:43:27.980Z] 18c013af1878: Pull complete [2021-02-01T18:43:29.198Z] 745a02a5169b: Download complete [2021-02-01T18:43:30.659Z] 00ac8860ef70: Verifying Checksum [2021-02-01T18:43:30.659Z] 00ac8860ef70: Download complete [2021-02-01T18:43:40.854Z] 00ac8860ef70: Pull complete [2021-02-01T18:43:41.129Z] 63d7cb157983: Pull complete [2021-02-01T18:43:41.404Z] b116817d02f9: Pull complete [2021-02-01T18:43:45.748Z] 745a02a5169b: Pull complete [2021-02-01T18:43:45.748Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-01T18:43:45.748Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-01T18:43:45.748Z] ---> b7e6874047d6 [2021-02-01T18:43:45.748Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-01T18:43:48.376Z] ---> Running in e028bcfa0b89 [2021-02-01T18:43:48.651Z] Removing intermediate container e028bcfa0b89 [2021-02-01T18:43:48.651Z] ---> 743e862f7188 [2021-02-01T18:43:48.651Z] Step 4/7 : RUN apk add --update bash [2021-02-01T18:43:48.926Z] ---> Running in ae71f0d34022 [2021-02-01T18:43:50.381Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-01T18:43:51.372Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-01T18:43:53.989Z] OK: 142 MiB in 39 packages [2021-02-01T18:43:54.970Z] Removing intermediate container ae71f0d34022 [2021-02-01T18:43:54.970Z] ---> b2d11e86f966 [2021-02-01T18:43:54.970Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-02-01T18:43:55.248Z] ---> Running in c43e63d11ca9 [2021-02-01T18:43:55.521Z] Removing intermediate container c43e63d11ca9 [2021-02-01T18:43:55.521Z] ---> 5ed5034c591b [2021-02-01T18:43:55.521Z] Step 6/7 : COPY go.mod . [2021-02-01T18:43:56.515Z] ---> 747ce1a4a07c [2021-02-01T18:43:56.516Z] Step 7/7 : RUN go mod download [2021-02-01T18:43:56.516Z] ---> Running in 5d2dd374a6fb [2021-02-01T18:44:06.681Z] Removing intermediate container 5d2dd374a6fb [2021-02-01T18:44:06.681Z] ---> 68dfbb3c6abb [2021-02-01T18:44:06.681Z] Successfully built 68dfbb3c6abb [2021-02-01T18:44:06.681Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:44:07.024Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T18:44:07.024Z] . [Pipeline] withDockerContainer [2021-02-01T18:44:07.296Z] prd-ubuntu18.04-docker-arm64-4c-16g-24399 does not seem to be running inside a container [2021-02-01T18:44:07.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/17 -v /w/workspace/go-mod-registry/17:/w/workspace/go-mod-registry/17:rw,z -v /w/workspace/go-mod-registry/17@tmp:/w/workspace/go-mod-registry/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-01T18:44:08.907Z] $ docker top c2b9b441ca5b20f044484d4623399c781848d539cab24ff355f05aff5c3188cb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T18:44:09.886Z] + go version [2021-02-01T18:44:09.886Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-01T18:44:09.910Z] $ docker stop --time=1 c2b9b441ca5b20f044484d4623399c781848d539cab24ff355f05aff5c3188cb [2021-02-01T18:44:11.842Z] $ docker rm -f c2b9b441ca5b20f044484d4623399c781848d539cab24ff355f05aff5c3188cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:44:12.817Z] + docker inspect -f . ci-base-image-arm64 [2021-02-01T18:44:12.818Z] . [Pipeline] withDockerContainer [2021-02-01T18:44:13.087Z] prd-ubuntu18.04-docker-arm64-4c-16g-24399 does not seem to be running inside a container [2021-02-01T18:44:13.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/17 -v /w/workspace/go-mod-registry/17:/w/workspace/go-mod-registry/17:rw,z -v /w/workspace/go-mod-registry/17@tmp:/w/workspace/go-mod-registry/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-01T18:44:14.642Z] $ docker top 21643c36f0b3ad8ceed84f061fa8abae05c01f7eb01910ae9fbaba6bdab81be3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T18:44:15.647Z] + make test [2021-02-01T18:44:15.648Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-01T18:44:42.503Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.067s coverage: 87.9% of statements [2021-02-01T18:44:42.503Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2021-02-01T18:44:42.503Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.013s coverage: 85.7% of statements [2021-02-01T18:44:42.503Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-01T18:44:42.503Z] gofmt -l . [2021-02-01T18:44:42.845Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-02-01T18:44:42.871Z] $ docker stop --time=1 21643c36f0b3ad8ceed84f061fa8abae05c01f7eb01910ae9fbaba6bdab81be3 [2021-02-01T18:44:44.992Z] $ docker rm -f 21643c36f0b3ad8ceed84f061fa8abae05c01f7eb01910ae9fbaba6bdab81be3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-01T18:44:45.806Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-01T18:44:45.828Z] Warning: overwriting stash ‘coverage-report’ [2021-02-01T18:44:46.499Z] 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 [2021-02-01T18:44:48.338Z] provisioning config files... [2021-02-01T18:44:48.358Z] copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/exfoundry_go-mod-registry_master@tmp/config7275803225083197977tmp [Pipeline] { [Pipeline] sh [2021-02-01T18:44:48.747Z] + set +x [2021-02-01T18:44:48.747Z] + curl -s https://codecov.io/bash [2021-02-01T18:44:48.747Z] + bash -s -- [2021-02-01T18:44:49.014Z] [2021-02-01T18:44:49.014Z] _____ _ [2021-02-01T18:44:49.015Z] / ____| | | [2021-02-01T18:44:49.015Z] | | ___ __| | ___ ___ _____ __ [2021-02-01T18:44:49.015Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-01T18:44:49.015Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-01T18:44:49.015Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-01T18:44:49.015Z] Bash-20210129-7c25fce [2021-02-01T18:44:49.015Z] [2021-02-01T18:44:49.015Z] [2021-02-01T18:44:49.015Z] ==> git version 2.24.3 found [2021-02-01T18:44:49.015Z] ==> 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 [2021-02-01T18:44:49.015Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-01T18:44:49.015Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-01T18:44:49.015Z] ==> Jenkins CI detected. [2021-02-01T18:44:49.015Z] project root: . [2021-02-01T18:44:49.015Z] --> token set from env [2021-02-01T18:44:49.015Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-01T18:44:49.015Z] ==> Running gcov in . (disable via -X gcov) [2021-02-01T18:44:49.015Z] ==> Python coveragepy not found [2021-02-01T18:44:49.015Z] ==> Searching for coverage reports in: [2021-02-01T18:44:49.015Z] + . [2021-02-01T18:44:49.015Z] -> Found 1 reports [2021-02-01T18:44:49.015Z] ==> Detecting git/mercurial file structure [2021-02-01T18:44:49.015Z] ==> Reading reports [2021-02-01T18:44:49.015Z] + ./coverage.out bytes=9269 [2021-02-01T18:44:49.015Z] ==> Appending adjustments [2021-02-01T18:44:49.015Z] https://docs.codecov.io/docs/fixing-reports [2021-02-01T18:44:49.015Z] + Found adjustments [2021-02-01T18:44:49.015Z] ==> Gzipping contents [2021-02-01T18:44:49.015Z] 4.0K /tmp/codecov.nAk9ae.gz [2021-02-01T18:44:49.015Z] ==> Uploading reports [2021-02-01T18:44:49.015Z] url: https://codecov.io [2021-02-01T18:44:49.015Z] query: branch=master&commit=19bac2f82b793b46b2bc13ac438a581299833542&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmaster%2F17%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-01T18:44:49.015Z] -> Pinging Codecov [2021-02-01T18:44:49.015Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=19bac2f82b793b46b2bc13ac438a581299833542&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmaster%2F17%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-01T18:44:49.590Z] -> Uploading to [2021-02-01T18:44:49.590Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-01/05B643FFA8DEACB6C25F95B2D4D12284/19bac2f82b793b46b2bc13ac438a581299833542/c97dbfb0-744a-47aa-8935-86a53e7f54c8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210201T184449Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eecd4ba7671ea956ab2ce347fb70eedd3375dc2efe557c395044e03dd0c77f8c [2021-02-01T18:44:49.590Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-01T18:44:49.590Z] Dload Upload Total Spent Left Speed [2021-02-01T18:44:50.176Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1821 0 0 100 1821 0 4070 --:--:-- --:--:-- --:--:-- 4073 [2021-02-01T18:44:50.176Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/19bac2f82b793b46b2bc13ac438a581299833542 [Pipeline] } [2021-02-01T18:44:50.188Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-02-01T18:44:50.832Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-02-01T18:44:50.918Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:44:51.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-01T18:44:51.280Z] [2021-02-01T18:44:51.280Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:44:51.648Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-01T18:44:51.648Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-02-01T18:44:51.648Z] 188c0c94c7c5: Pulling fs layer [2021-02-01T18:44:51.648Z] 0ef7d3d256c8: Pulling fs layer [2021-02-01T18:44:51.648Z] de9db76c5a1d: Pulling fs layer [2021-02-01T18:44:51.648Z] 0eba1c9be4d2: Pulling fs layer [2021-02-01T18:44:51.649Z] 0d57e429df01: Pulling fs layer [2021-02-01T18:44:51.649Z] 4e4be7b47b0d: Pulling fs layer [2021-02-01T18:44:51.649Z] e1f770b5df2f: Pulling fs layer [2021-02-01T18:44:51.649Z] 85a0685a4137: Pulling fs layer [2021-02-01T18:44:51.649Z] e1f770b5df2f: Waiting [2021-02-01T18:44:51.649Z] 85a0685a4137: Waiting [2021-02-01T18:44:51.649Z] 0eba1c9be4d2: Waiting [2021-02-01T18:44:51.649Z] 0d57e429df01: Waiting [2021-02-01T18:44:51.649Z] 4e4be7b47b0d: Waiting [2021-02-01T18:44:51.649Z] de9db76c5a1d: Verifying Checksum [2021-02-01T18:44:51.649Z] de9db76c5a1d: Download complete [2021-02-01T18:44:51.649Z] 0ef7d3d256c8: Verifying Checksum [2021-02-01T18:44:51.649Z] 0ef7d3d256c8: Download complete [2021-02-01T18:44:51.649Z] 0d57e429df01: Verifying Checksum [2021-02-01T18:44:51.649Z] 0d57e429df01: Download complete [2021-02-01T18:44:51.649Z] 188c0c94c7c5: Verifying Checksum [2021-02-01T18:44:51.649Z] 188c0c94c7c5: Download complete [2021-02-01T18:44:51.649Z] 4e4be7b47b0d: Verifying Checksum [2021-02-01T18:44:51.649Z] 4e4be7b47b0d: Download complete [2021-02-01T18:44:51.915Z] 188c0c94c7c5: Pull complete [2021-02-01T18:44:52.178Z] 0ef7d3d256c8: Pull complete [2021-02-01T18:44:52.445Z] de9db76c5a1d: Pull complete [2021-02-01T18:44:53.024Z] e1f770b5df2f: Verifying Checksum [2021-02-01T18:44:53.024Z] e1f770b5df2f: Download complete [2021-02-01T18:44:57.256Z] 0eba1c9be4d2: Download complete [2021-02-01T18:44:57.833Z] 85a0685a4137: Verifying Checksum [2021-02-01T18:44:57.833Z] 85a0685a4137: Download complete [2021-02-01T18:45:02.091Z] 0eba1c9be4d2: Pull complete [2021-02-01T18:45:02.091Z] 0d57e429df01: Pull complete [2021-02-01T18:45:02.362Z] 4e4be7b47b0d: Pull complete [2021-02-01T18:45:04.319Z] e1f770b5df2f: Pull complete [2021-02-01T18:45:10.956Z] 85a0685a4137: Pull complete [2021-02-01T18:45:10.956Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-02-01T18:45:10.956Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-01T18:45:10.956Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-02-01T18:45:11.179Z] prd-centos7-docker-4c-2g-24387 does not seem to be running inside a container [2021-02-01T18:45:11.258Z] $ 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 [2021-02-01T18:45:12.260Z] $ docker top 44b296cb1bb2e1a40abded79524ffc33b3073b2411c16c8e53a778c8ab922184 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-01T18:45:12.543Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-02-01T18:45:12.844Z] + set -o pipefail [2021-02-01T18:45:12.845Z] + snyk monitor '--org=edgex-jenkins' [2021-02-01T18:45:17.073Z] [2021-02-01T18:45:17.074Z] Monitoring /w/workspace/exfoundry_go-mod-registry_master (github.com/edgexfoundry/go-mod-registry/v2)... [2021-02-01T18:45:17.074Z] [2021-02-01T18:45:17.074Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/e2dd60db-48f3-4c1d-986e-6397089a0464/history/1a58a57c-339a-4313-aede-2751e995c6e8 [2021-02-01T18:45:17.074Z] [2021-02-01T18:45:17.074Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-02-01T18:45:17.074Z] [2021-02-01T18:45:17.074Z] [Pipeline] } [2021-02-01T18:45:17.093Z] $ docker stop --time=1 44b296cb1bb2e1a40abded79524ffc33b3073b2411c16c8e53a778c8ab922184 [2021-02-01T18:45:19.027Z] $ docker rm -f 44b296cb1bb2e1a40abded79524ffc33b3073b2411c16c8e53a778c8ab922184 [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 [2021-02-01T18:45:20.705Z] + git log --format=format:%s -1 19bac2f82b793b46b2bc13ac438a581299833542 [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:45:21.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T18:45:21.023Z] . [Pipeline] withDockerContainer [2021-02-01T18:45:21.120Z] prd-centos7-docker-4c-2g-24387 does not seem to be running inside a container [2021-02-01T18:45:21.175Z] $ 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 [2021-02-01T18:45:21.912Z] $ docker top 602b75259ff3223be439dcb34f8ea637e268e2ec49f43cf14c67dfa7ef6bda69 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-01T18:45:22.224Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T18:45:22.224Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T18:45:22.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T18:45:22.499Z] $ docker exec 602b75259ff3223be439dcb34f8ea637e268e2ec49f43cf14c67dfa7ef6bda69 ssh-agent [2021-02-01T18:45:22.665Z] SSH_AUTH_SOCK=/tmp/ssh-lt6oTaTGUkTw/agent.11 [2021-02-01T18:45:22.665Z] SSH_AGENT_PID=17 [2021-02-01T18:45:22.672Z] Running ssh-add (command line suppressed) [2021-02-01T18:45:22.807Z] Identity added: /w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_1772158921864991471.key (/w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_1772158921864991471.key) [2021-02-01T18:45:22.861Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T18:45:23.201Z] + git semver tag [2021-02-01T18:45:23.201Z] # -> Open(): unable to determine branch for HEAD [2021-02-01T18:45:23.201Z] # $GIT_DIR = /w/workspace/exfoundry_go-mod-registry_master/.git [2021-02-01T18:45:23.201Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-registry_master [2021-02-01T18:45:23.201Z] # $SEMVER_REMOTE_NAME = origin [2021-02-01T18:45:23.201Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-01T18:45:23.201Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-01T18:45:23.201Z] # $SEMVER_BRANCH = master [2021-02-01T18:45:23.201Z] # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-registry_master/.semver [2021-02-01T18:45:23.201Z] # 19bac2f82b793b46b2bc13ac438a581299833542 HEAD [2021-02-01T18:45:23.201Z] # -> Force: false [2021-02-01T18:45:23.201Z] # bd1cbe4d44b6c39d022f8db9383e7fe73484c882 refs/tags/v2.0.0-dev.2 [Pipeline] } [2021-02-01T18:45:23.216Z] $ docker exec --env ******** --env ******** 602b75259ff3223be439dcb34f8ea637e268e2ec49f43cf14c67dfa7ef6bda69 ssh-agent -k [2021-02-01T18:45:23.328Z] unset SSH_AUTH_SOCK; [2021-02-01T18:45:23.328Z] unset SSH_AGENT_PID; [2021-02-01T18:45:23.329Z] echo Agent pid 17 killed; [2021-02-01T18:45:23.374Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-01T18:45:23.853Z] + git semver [Pipeline] } [2021-02-01T18:45:23.884Z] $ docker stop --time=1 602b75259ff3223be439dcb34f8ea637e268e2ec49f43cf14c67dfa7ef6bda69 [2021-02-01T18:45:25.236Z] $ docker rm -f 602b75259ff3223be439dcb34f8ea637e268e2ec49f43cf14c67dfa7ef6bda69 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:45:25.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-01T18:45:25.973Z] [2021-02-01T18:45:25.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:45:26.349Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-01T18:45:26.349Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-01T18:45:26.349Z] ab5ef0e58194: Pulling fs layer [2021-02-01T18:45:26.349Z] 9712f1f96733: Pulling fs layer [2021-02-01T18:45:26.349Z] 63f879dbbcfc: Pulling fs layer [2021-02-01T18:45:26.349Z] 0d9ebad4ef96: Pulling fs layer [2021-02-01T18:45:26.349Z] e9a5061849ea: Pulling fs layer [2021-02-01T18:45:26.349Z] d747dcd14b5f: Pulling fs layer [2021-02-01T18:45:26.349Z] 2de7ff778b66: Pulling fs layer [2021-02-01T18:45:26.349Z] e9a5061849ea: Waiting [2021-02-01T18:45:26.349Z] d747dcd14b5f: Waiting [2021-02-01T18:45:26.349Z] 2de7ff778b66: Waiting [2021-02-01T18:45:26.349Z] 0d9ebad4ef96: Waiting [2021-02-01T18:45:26.349Z] 9712f1f96733: Verifying Checksum [2021-02-01T18:45:26.349Z] 9712f1f96733: Download complete [2021-02-01T18:45:28.290Z] 63f879dbbcfc: Verifying Checksum [2021-02-01T18:45:28.290Z] 63f879dbbcfc: Download complete [2021-02-01T18:45:28.290Z] e9a5061849ea: Verifying Checksum [2021-02-01T18:45:28.290Z] e9a5061849ea: Download complete [2021-02-01T18:45:28.290Z] d747dcd14b5f: Download complete [2021-02-01T18:45:28.555Z] 0d9ebad4ef96: Verifying Checksum [2021-02-01T18:45:28.555Z] 0d9ebad4ef96: Download complete [2021-02-01T18:45:28.817Z] 2de7ff778b66: Verifying Checksum [2021-02-01T18:45:28.817Z] 2de7ff778b66: Download complete [2021-02-01T18:45:28.817Z] ab5ef0e58194: Verifying Checksum [2021-02-01T18:45:28.817Z] ab5ef0e58194: Download complete [2021-02-01T18:45:35.457Z] ab5ef0e58194: Pull complete [2021-02-01T18:45:35.457Z] 9712f1f96733: Pull complete [2021-02-01T18:45:37.411Z] 63f879dbbcfc: Pull complete [2021-02-01T18:45:44.070Z] 0d9ebad4ef96: Pull complete [2021-02-01T18:45:45.019Z] e9a5061849ea: Pull complete [2021-02-01T18:45:45.019Z] d747dcd14b5f: Pull complete [2021-02-01T18:45:47.595Z] 2de7ff778b66: Pull complete [2021-02-01T18:45:47.595Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-01T18:45:47.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-01T18:45:47.595Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-01T18:45:47.802Z] prd-centos7-docker-4c-2g-24387 does not seem to be running inside a container [2021-02-01T18:45:47.855Z] $ 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 [2021-02-01T18:45:51.871Z] $ docker top 4fb50ebdbe35908752b6793bb920ef4ab792e4b9f72c66e24d850b6e6d7cb413 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-01T18:45:52.126Z] provisioning config files... [2021-02-01T18:45:52.136Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_go-mod-registry_master@tmp/config432239566270736831tmp [2021-02-01T18:45:52.155Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_go-mod-registry_master@tmp/config8279879717814721530tmp [2021-02-01T18:45:52.172Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_go-mod-registry_master@tmp/config6994120561091459312tmp [Pipeline] { [Pipeline] echo [2021-02-01T18:45:52.230Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T18:45:52.535Z] ---> sigul-configuration.sh [2021-02-01T18:45:52.535Z] gpg: directory `/root/.gnupg' created [2021-02-01T18:45:52.535Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-01T18:45:52.535Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-01T18:45:52.535Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-01T18:45:52.535Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-01T18:45:52.535Z] gpg: CAST5 encrypted data [2021-02-01T18:45:52.797Z] gpg: encrypted with 1 passphrase [2021-02-01T18:45:52.797Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-01T18:45:53.097Z] + mkdir /home/jenkins [2021-02-01T18:45:53.097Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-01T18:45:53.397Z] + 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 [2021-02-01T18:45:53.407Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T18:45:53.717Z] ---> sigul-install.sh [2021-02-01T18:45:59.024Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-01T18:45:59.325Z] + git tag --list [2021-02-01T18:45:59.325Z] v0.0.0 [2021-02-01T18:45:59.325Z] v0.1.0 [2021-02-01T18:45:59.325Z] v0.1.1 [2021-02-01T18:45:59.325Z] v0.1.10 [2021-02-01T18:45:59.325Z] v0.1.11 [2021-02-01T18:45:59.325Z] v0.1.12 [2021-02-01T18:45:59.325Z] v0.1.13 [2021-02-01T18:45:59.325Z] v0.1.14 [2021-02-01T18:45:59.325Z] v0.1.15 [2021-02-01T18:45:59.325Z] v0.1.16 [2021-02-01T18:45:59.325Z] v0.1.17 [2021-02-01T18:45:59.325Z] v0.1.18 [2021-02-01T18:45:59.325Z] v0.1.19 [2021-02-01T18:45:59.325Z] v0.1.2 [2021-02-01T18:45:59.325Z] v0.1.20 [2021-02-01T18:45:59.325Z] v0.1.21 [2021-02-01T18:45:59.325Z] v0.1.22 [2021-02-01T18:45:59.325Z] v0.1.23 [2021-02-01T18:45:59.325Z] v0.1.24 [2021-02-01T18:45:59.325Z] v0.1.25 [2021-02-01T18:45:59.325Z] v0.1.26 [2021-02-01T18:45:59.325Z] v0.1.27 [2021-02-01T18:45:59.325Z] v0.1.3 [2021-02-01T18:45:59.325Z] v0.1.4 [2021-02-01T18:45:59.325Z] v0.1.5 [2021-02-01T18:45:59.325Z] v0.1.6 [2021-02-01T18:45:59.325Z] v0.1.7 [2021-02-01T18:45:59.325Z] v0.1.8 [2021-02-01T18:45:59.325Z] v0.1.9 [2021-02-01T18:45:59.325Z] v2.0.0-dev.1 [2021-02-01T18:45:59.325Z] v2.0.0-dev.2 [Pipeline] sh [2021-02-01T18:45:59.628Z] + lftools sign git-tag v2.0.0-dev.2 [2021-02-01T18:46:01.020Z] Signing Git tag with Sigul... [2021-02-01T18:46:01.020Z] Signing v2.0.0-dev.2 [Pipeline] echo [2021-02-01T18:46:01.980Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T18:46:02.284Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-01T18:46:02.294Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-01T18:46:02.384Z] $ docker stop --time=1 4fb50ebdbe35908752b6793bb920ef4ab792e4b9f72c66e24d850b6e6d7cb413 [2021-02-01T18:46:04.475Z] $ docker rm -f 4fb50ebdbe35908752b6793bb920ef4ab792e4b9f72c66e24d850b6e6d7cb413 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:46:05.462Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T18:46:05.462Z] . [Pipeline] withDockerContainer [2021-02-01T18:46:05.589Z] prd-centos7-docker-4c-2g-24387 does not seem to be running inside a container [2021-02-01T18:46:05.639Z] $ 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 [2021-02-01T18:46:06.342Z] $ docker top ae8c2d4c8024f9d48c8b5f3a0224fd61656703062c40b883e29bca2a365eea92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-01T18:46:06.633Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T18:46:06.633Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T18:46:06.862Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T18:46:06.868Z] $ docker exec ae8c2d4c8024f9d48c8b5f3a0224fd61656703062c40b883e29bca2a365eea92 ssh-agent [2021-02-01T18:46:07.097Z] SSH_AUTH_SOCK=/tmp/ssh-QKSUKtB3HDuc/agent.11 [2021-02-01T18:46:07.097Z] SSH_AGENT_PID=16 [2021-02-01T18:46:07.104Z] Running ssh-add (command line suppressed) [2021-02-01T18:46:07.233Z] Identity added: /w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_2779113850800979480.key (/w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_2779113850800979480.key) [2021-02-01T18:46:07.288Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T18:46:07.637Z] + git semver bump pre [2021-02-01T18:46:07.637Z] # -> Open(): unable to determine branch for HEAD [2021-02-01T18:46:07.637Z] # $GIT_DIR = /w/workspace/exfoundry_go-mod-registry_master/.git [2021-02-01T18:46:07.637Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-registry_master [2021-02-01T18:46:07.637Z] # $SEMVER_REMOTE_NAME = origin [2021-02-01T18:46:07.637Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-01T18:46:07.637Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-01T18:46:07.637Z] # $SEMVER_BRANCH = master [2021-02-01T18:46:07.637Z] # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-registry_master/.semver [2021-02-01T18:46:07.637Z] 2.0.0-dev.3 [Pipeline] } [2021-02-01T18:46:07.651Z] $ docker exec --env ******** --env ******** ae8c2d4c8024f9d48c8b5f3a0224fd61656703062c40b883e29bca2a365eea92 ssh-agent -k [2021-02-01T18:46:07.769Z] unset SSH_AUTH_SOCK; [2021-02-01T18:46:07.769Z] unset SSH_AGENT_PID; [2021-02-01T18:46:07.769Z] echo Agent pid 16 killed; [2021-02-01T18:46:07.819Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-01T18:46:08.285Z] + git semver [Pipeline] } [2021-02-01T18:46:08.305Z] $ docker stop --time=1 ae8c2d4c8024f9d48c8b5f3a0224fd61656703062c40b883e29bca2a365eea92 [2021-02-01T18:46:09.678Z] $ docker rm -f ae8c2d4c8024f9d48c8b5f3a0224fd61656703062c40b883e29bca2a365eea92 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:46:10.210Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-01T18:46:10.210Z] . [Pipeline] withDockerContainer [2021-02-01T18:46:10.311Z] prd-centos7-docker-4c-2g-24387 does not seem to be running inside a container [2021-02-01T18:46:10.393Z] $ 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 [2021-02-01T18:46:11.187Z] $ docker top c9ef030de0542f8dbd743f13693d412ade623ac07aac7169eb8904ca0c9f8360 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-01T18:46:11.466Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-01T18:46:11.466Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-01T18:46:11.674Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-01T18:46:11.679Z] $ docker exec c9ef030de0542f8dbd743f13693d412ade623ac07aac7169eb8904ca0c9f8360 ssh-agent [2021-02-01T18:46:11.864Z] SSH_AUTH_SOCK=/tmp/ssh-ZUYTinmQKfYE/agent.11 [2021-02-01T18:46:11.864Z] SSH_AGENT_PID=17 [2021-02-01T18:46:11.873Z] Running ssh-add (command line suppressed) [2021-02-01T18:46:12.008Z] Identity added: /w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_4415996782770451011.key (/w/workspace/exfoundry_go-mod-registry_master@tmp/private_key_4415996782770451011.key) [2021-02-01T18:46:12.070Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-01T18:46:12.406Z] + git semver push [2021-02-01T18:46:12.406Z] # -> Open(): unable to determine branch for HEAD [2021-02-01T18:46:12.406Z] # $GIT_DIR = /w/workspace/exfoundry_go-mod-registry_master/.git [2021-02-01T18:46:12.406Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-registry_master [2021-02-01T18:46:12.406Z] # $SEMVER_REMOTE_NAME = origin [2021-02-01T18:46:12.406Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-01T18:46:12.406Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-01T18:46:12.406Z] # $SEMVER_BRANCH = master [2021-02-01T18:46:12.406Z] # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-registry_master/.semver [Pipeline] } [2021-02-01T18:46:19.033Z] $ docker exec --env ******** --env ******** c9ef030de0542f8dbd743f13693d412ade623ac07aac7169eb8904ca0c9f8360 ssh-agent -k [2021-02-01T18:46:19.171Z] unset SSH_AUTH_SOCK; [2021-02-01T18:46:19.174Z] unset SSH_AGENT_PID; [2021-02-01T18:46:19.174Z] echo Agent pid 17 killed; [2021-02-01T18:46:19.229Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-01T18:46:19.861Z] + git semver [Pipeline] } [2021-02-01T18:46:19.880Z] $ docker stop --time=1 c9ef030de0542f8dbd743f13693d412ade623ac07aac7169eb8904ca0c9f8360 [2021-02-01T18:46:21.219Z] $ docker rm -f c9ef030de0542f8dbd743f13693d412ade623ac07aac7169eb8904ca0c9f8360 [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 [2021-02-01T18:46:22.649Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T18:46:23.226Z] ---> package-listing.sh [2021-02-01T18:46:23.226Z] ++ facter osfamily [2021-02-01T18:46:23.226Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-01T18:46:23.226Z] + OS_FAMILY=redhat [2021-02-01T18:46:23.226Z] + workspace=/w/workspace/exfoundry_go-mod-registry_master [2021-02-01T18:46:23.226Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-01T18:46:23.226Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-01T18:46:23.226Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-01T18:46:23.226Z] + PACKAGES=/tmp/packages_start.txt [2021-02-01T18:46:23.226Z] + '[' /w/workspace/exfoundry_go-mod-registry_master ']' [2021-02-01T18:46:23.226Z] + PACKAGES=/tmp/packages_end.txt [2021-02-01T18:46:23.226Z] + case "${OS_FAMILY}" in [2021-02-01T18:46:23.226Z] + rpm -qa [2021-02-01T18:46:23.226Z] + sort [2021-02-01T18:46:28.542Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-01T18:46:28.542Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-01T18:46:28.542Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-01T18:46:28.542Z] + '[' /w/workspace/exfoundry_go-mod-registry_master ']' [2021-02-01T18:46:28.542Z] + mkdir -p /w/workspace/exfoundry_go-mod-registry_master/archives/ [2021-02-01T18:46:28.542Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_go-mod-registry_master/archives/ [Pipeline] echo [2021-02-01T18:46:28.566Z] 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 [2021-02-01T18:46:28.858Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:46:29.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T18:46:29.177Z] [2021-02-01T18:46:29.177Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-01T18:46:29.559Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T18:46:29.559Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-01T18:46:29.559Z] df20fa9351a1: Pulling fs layer [2021-02-01T18:46:29.559Z] 36b3adc4ff6f: Pulling fs layer [2021-02-01T18:46:29.559Z] 8ad3a11d3b57: Pulling fs layer [2021-02-01T18:46:29.559Z] 46f8f816bc3b: Pulling fs layer [2021-02-01T18:46:29.559Z] 93b61091891f: Pulling fs layer [2021-02-01T18:46:29.559Z] 93b9cdb0e59b: Pulling fs layer [2021-02-01T18:46:29.559Z] 5e14af77c1be: Pulling fs layer [2021-02-01T18:46:29.559Z] 01666e4c0597: Pulling fs layer [2021-02-01T18:46:29.559Z] aa168da1d23b: Pulling fs layer [2021-02-01T18:46:29.560Z] 46f8f816bc3b: Waiting [2021-02-01T18:46:29.560Z] 93b61091891f: Waiting [2021-02-01T18:46:29.560Z] 93b9cdb0e59b: Waiting [2021-02-01T18:46:29.560Z] 5e14af77c1be: Waiting [2021-02-01T18:46:29.560Z] 01666e4c0597: Waiting [2021-02-01T18:46:29.560Z] aa168da1d23b: Waiting [2021-02-01T18:46:29.560Z] 36b3adc4ff6f: Download complete [2021-02-01T18:46:29.560Z] 46f8f816bc3b: Verifying Checksum [2021-02-01T18:46:29.560Z] 46f8f816bc3b: Download complete [2021-02-01T18:46:29.560Z] df20fa9351a1: Verifying Checksum [2021-02-01T18:46:29.560Z] df20fa9351a1: Download complete [2021-02-01T18:46:29.560Z] 93b9cdb0e59b: Verifying Checksum [2021-02-01T18:46:29.560Z] 93b9cdb0e59b: Download complete [2021-02-01T18:46:29.560Z] 5e14af77c1be: Verifying Checksum [2021-02-01T18:46:29.560Z] 5e14af77c1be: Download complete [2021-02-01T18:46:29.824Z] 01666e4c0597: Verifying Checksum [2021-02-01T18:46:29.824Z] 01666e4c0597: Download complete [2021-02-01T18:46:29.824Z] 93b61091891f: Verifying Checksum [2021-02-01T18:46:29.824Z] 93b61091891f: Download complete [2021-02-01T18:46:30.096Z] df20fa9351a1: Pull complete [2021-02-01T18:46:30.096Z] 8ad3a11d3b57: Verifying Checksum [2021-02-01T18:46:30.096Z] 8ad3a11d3b57: Download complete [2021-02-01T18:46:30.096Z] 36b3adc4ff6f: Pull complete [2021-02-01T18:46:31.506Z] 8ad3a11d3b57: Pull complete [2021-02-01T18:46:31.768Z] 46f8f816bc3b: Pull complete [2021-02-01T18:46:31.768Z] aa168da1d23b: Verifying Checksum [2021-02-01T18:46:31.768Z] aa168da1d23b: Download complete [2021-02-01T18:46:32.350Z] 93b61091891f: Pull complete [2021-02-01T18:46:32.350Z] 93b9cdb0e59b: Pull complete [2021-02-01T18:46:32.618Z] 5e14af77c1be: Pull complete [2021-02-01T18:46:32.618Z] 01666e4c0597: Pull complete [2021-02-01T18:46:40.820Z] aa168da1d23b: Pull complete [2021-02-01T18:46:40.820Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-01T18:46:40.820Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-01T18:46:40.820Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-01T18:46:40.969Z] prd-centos7-docker-4c-2g-24387 does not seem to be running inside a container [2021-02-01T18:46:41.026Z] $ 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 [2021-02-01T18:46:43.742Z] $ docker top c99d54e4958c93f3e90ad7f312fe9c8511cae3ea8fda86a238911464edc09e94 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-01T18:46:44.245Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-01T18:46:44.552Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-01T18:46:44.854Z] + ls /var/log/sa-host [2021-02-01T18:46:44.854Z] + sadf -c /var/log/sa-host/sa01 [2021-02-01T18:46:44.854Z] file_magic: OK [2021-02-01T18:46:44.854Z] HZ: Using current value: 100 [2021-02-01T18:46:44.854Z] file_header: OK [2021-02-01T18:46:44.854Z] 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 [2021-02-01T18:46:44.854Z] Statistics: [2021-02-01T18:46:44.854Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-01T18:46:44.854Z] File successfully converted to sysstat format version 12.2.1 [2021-02-01T18:46:44.854Z] + sadf -c /var/log/sa-host/sa23 [2021-02-01T18:46:44.854Z] file_magic: OK [2021-02-01T18:46:44.854Z] HZ: Using current value: 100 [2021-02-01T18:46:44.854Z] file_header: OK [2021-02-01T18:46:44.854Z] 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 [2021-02-01T18:46:44.854Z] Statistics: [2021-02-01T18:46:44.854Z] Hnuu...uuuununununu... [2021-02-01T18:46:44.854Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-01T18:46:45.051Z] provisioning config files... [2021-02-01T18:46:45.072Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_go-mod-registry_master@tmp/config1763463480998137655tmp [Pipeline] { [Pipeline] echo [2021-02-01T18:46:45.138Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T18:46:45.450Z] ---> create-netrc.sh [Pipeline] } [2021-02-01T18:46:45.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-01T18:46:45.555Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T18:46:45.866Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-01T18:46:45.884Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T18:46:46.197Z] ---> sudo-logs.sh [2021-02-01T18:46:46.197Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-01T18:46:46.221Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T18:46:46.522Z] ---> job-cost.sh [2021-02-01T18:46:46.522Z] lf-activate-venv: SKIPPING [2021-02-01T18:46:46.522Z] INFO: No Stack... [2021-02-01T18:46:47.478Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-01T18:46:48.055Z] INFO: Archiving Costs [Pipeline] echo [2021-02-01T18:46:48.074Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-01T18:46:48.391Z] ---> logs-deploy.sh [2021-02-01T18:46:48.392Z] lf-activate-venv: SKIPPING [2021-02-01T18:46:48.392Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/master/17 [2021-02-01T18:46:48.392Z] INFO: archiving workspace using pattern(s): [2021-02-01T18:46:50.331Z] Archives upload complete. [2021-02-01T18:46:50.331Z] INFO: archiving logs to Nexus