Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9675502d886e98cc9b362e5032cc42b972c2765c 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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-core-contracts, 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-core-contracts-settings PROJECT: go-mod-core-contracts 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-core-contracts 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-32280 in /w/workspace/dry_go-mod-core-contracts_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-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.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-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9675502d886e98cc9b362e5032cc42b972c2765c (master) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.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-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9675502d886e98cc9b362e5032cc42b972c2765c # timeout=10 Commit message: "Merge pull request #570 from weichou1229/issue-569" > git rev-list --no-walk f7e2ec18c32cf97501ba36e7d74b5d3c43a13912 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-31T16:50:24.149Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-31T16:50:24.453Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-31T16:50:24.566Z] ========================================================= [2021-03-31T16:50:24.566Z] EdgeX Global Pipelines Version Info [2021-03-31T16:50:24.566Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-31T16:50:26.096Z] ------------------- [2021-03-31T16:50:26.097Z] stable info: [2021-03-31T16:50:26.097Z] ------------------- [2021-03-31T16:50:26.097Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-31T16:50:26.097Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-31T16:50:26.097Z] Message: update stable to v1.0.186 [2021-03-31T16:50:27.054Z] ------------------- [2021-03-31T16:50:27.054Z] experimental info: [2021-03-31T16:50:27.054Z] ------------------- [2021-03-31T16:50:27.054Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-31T16:50:27.054Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-31T16:50:27.054Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-31T16:50:27.328Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-03-31T16:50:27.428Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-03-31T16:50:27.533Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-31T16:50:27.654Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-31T16:50:27.801Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-31T16:50:27.895Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-31T16:50:27.986Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-31T16:50:28.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-31T16:50:28.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-31T16:50:28.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-31T16:50:28.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-31T16:50:28.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-03-31T16:50:28.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-31T16:50:28.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-31T16:50:28.882Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T16:50:29.006Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T16:50:29.105Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T16:50:29.198Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T16:50:29.347Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-31T16:50:29.446Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-31T16:50:29.539Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-03-31T16:50:29.630Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-03-31T16:50:29.730Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-31T16:50:29.819Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-31T16:50:29.913Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-31T16:50:30.036Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-31T16:50:30.127Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-31T16:50:30.226Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-31T16:50:30.374Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-31T16:50:30.515Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9675502d886e98cc9b362e5032cc42b972c2765c [Pipeline] echo [2021-03-31T16:50:30.614Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9675502 [Pipeline] echo [2021-03-31T16:50:30.732Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T16:50:31.457Z] + git log --format=format:%s -1 9675502d886e98cc9b362e5032cc42b972c2765c [Pipeline] echo [2021-03-31T16:50:31.527Z] GIT_COMMIT: 9675502d886e98cc9b362e5032cc42b972c2765c, Commit Message: Merge pull request #570 from weichou1229/issue-569 [Pipeline] echo [2021-03-31T16:50:31.611Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-31T16:50:32.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T16:50:32.460Z] [2021-03-31T16:50:32.460Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T16:50:32.824Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T16:50:32.824Z] latest: Pulling from edgex-devops/git-semver [2021-03-31T16:50:32.824Z] 31603596830f: Pulling fs layer [2021-03-31T16:50:32.824Z] 2a8b12db71e7: Pulling fs layer [2021-03-31T16:50:32.824Z] 6ca5941a6612: Pulling fs layer [2021-03-31T16:50:32.824Z] ecc8261a40a4: Pulling fs layer [2021-03-31T16:50:32.824Z] ecc8261a40a4: Waiting [2021-03-31T16:50:32.824Z] 2a8b12db71e7: Download complete [2021-03-31T16:50:33.089Z] 31603596830f: Verifying Checksum [2021-03-31T16:50:33.089Z] 31603596830f: Download complete [2021-03-31T16:50:33.089Z] ecc8261a40a4: Verifying Checksum [2021-03-31T16:50:33.089Z] ecc8261a40a4: Download complete [2021-03-31T16:50:33.089Z] 6ca5941a6612: Verifying Checksum [2021-03-31T16:50:33.089Z] 6ca5941a6612: Download complete [2021-03-31T16:50:33.354Z] 31603596830f: Pull complete [2021-03-31T16:50:33.618Z] 2a8b12db71e7: Pull complete [2021-03-31T16:50:34.568Z] 6ca5941a6612: Pull complete [2021-03-31T16:50:34.568Z] ecc8261a40a4: Pull complete [2021-03-31T16:50:34.830Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-31T16:50:34.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T16:50:34.831Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-31T16:50:34.962Z] prd-centos7-docker-4c-2g-32280 does not seem to be running inside a container [2021-03-31T16:50:35.018Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_master -v /w/workspace/dry_go-mod-core-contracts_master:/w/workspace/dry_go-mod-core-contracts_master:rw,z -v /w/workspace/dry_go-mod-core-contracts_master@tmp:/w/workspace/dry_go-mod-core-contracts_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-03-31T16:50:37.559Z] $ docker top ee0b980c9a5c722898a987c2bd75937589c9c42ebf608f6a6f1a6bfec7b35d63 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T16:50:38.002Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T16:50:38.002Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T16:50:38.267Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T16:50:38.271Z] $ docker exec ee0b980c9a5c722898a987c2bd75937589c9c42ebf608f6a6f1a6bfec7b35d63 ssh-agent [2021-03-31T16:50:38.467Z] SSH_AUTH_SOCK=/tmp/ssh-p7LRXgoP0n42/agent.12 [2021-03-31T16:50:38.467Z] SSH_AGENT_PID=18 [2021-03-31T16:50:38.484Z] Running ssh-add (command line suppressed) [2021-03-31T16:50:38.629Z] Identity added: /w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_5725840104693231576.key (/w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_5725840104693231576.key) [2021-03-31T16:50:38.690Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T16:50:39.033Z] + git tag --points-at HEAD [Pipeline] } [2021-03-31T16:50:39.237Z] $ docker exec --env ******** --env ******** ee0b980c9a5c722898a987c2bd75937589c9c42ebf608f6a6f1a6bfec7b35d63 ssh-agent -k [2021-03-31T16:50:39.418Z] unset SSH_AUTH_SOCK; [2021-03-31T16:50:39.418Z] unset SSH_AGENT_PID; [2021-03-31T16:50:39.418Z] echo Agent pid 18 killed; [2021-03-31T16:50:39.483Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-31T16:50:39.632Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T16:50:39.632Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T16:50:39.830Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T16:50:39.835Z] $ docker exec ee0b980c9a5c722898a987c2bd75937589c9c42ebf608f6a6f1a6bfec7b35d63 ssh-agent [2021-03-31T16:50:40.035Z] SSH_AUTH_SOCK=/tmp/ssh-laiqWmHGQzeJ/agent.48 [2021-03-31T16:50:40.035Z] SSH_AGENT_PID=54 [2021-03-31T16:50:40.043Z] Running ssh-add (command line suppressed) [2021-03-31T16:50:40.189Z] Identity added: /w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_7499396624012132104.key (/w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_7499396624012132104.key) [2021-03-31T16:50:40.251Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T16:50:40.592Z] + git semver init [2021-03-31T16:50:40.592Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T16:50:40.592Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_master/.git [2021-03-31T16:50:40.592Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_master [2021-03-31T16:50:40.592Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T16:50:40.592Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T16:50:40.592Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T16:50:40.592Z] # $SEMVER_BRANCH = master [2021-03-31T16:50:40.592Z] # $SEMVER_TEMP = /tmp/semver-452375837 [2021-03-31T16:50:40.592Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-03-31T16:50:41.541Z] # '/tmp/semver-452375837' -> '/w/workspace/dry_go-mod-core-contracts_master/.semver' [2021-03-31T16:50:41.541Z] # -> Force: false [2021-03-31T16:50:41.541Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_master/.semver [Pipeline] } [2021-03-31T16:50:41.553Z] $ docker exec --env ******** --env ******** ee0b980c9a5c722898a987c2bd75937589c9c42ebf608f6a6f1a6bfec7b35d63 ssh-agent -k [2021-03-31T16:50:41.687Z] unset SSH_AUTH_SOCK; [2021-03-31T16:50:41.688Z] unset SSH_AGENT_PID; [2021-03-31T16:50:41.688Z] echo Agent pid 54 killed; [2021-03-31T16:50:41.740Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T16:50:42.239Z] + git semver [Pipeline] } [2021-03-31T16:50:42.257Z] $ docker stop --time=1 ee0b980c9a5c722898a987c2bd75937589c9c42ebf608f6a6f1a6bfec7b35d63 [2021-03-31T16:50:44.228Z] $ docker rm -f ee0b980c9a5c722898a987c2bd75937589c9c42ebf608f6a6f1a6bfec7b35d63 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T16:50:44.767Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-31T16:50:45.264Z] Stashed 1 file(s) [Pipeline] echo [2021-03-31T16:50:45.267Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.63 [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-03-31T16:51:00.818Z] Still waiting to schedule task [2021-03-31T16:51:00.818Z] ‘prd-centos7-docker-4c-2g-32281’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30485’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30654’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-32278’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-03-31T16:51:00.821Z] Still waiting to schedule task [2021-03-31T16:51:00.821Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-31T16:53:30.923Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32282 in /w/workspace/dry_go-mod-core-contracts_master [Pipeline] { [Pipeline] ws [2021-03-31T16:53:30.987Z] Running in /w/workspace/go-mod-core-contracts/182 [Pipeline] { [Pipeline] checkout [2021-03-31T16:53:37.005Z] using credential edgex-jenkins-ssh [2021-03-31T16:53:37.150Z] Cloning the remote Git repository [2021-03-31T16:53:37.215Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-31T16:53:37.345Z] > git init /w/workspace/go-mod-core-contracts/182 # timeout=10 [2021-03-31T16:53:37.433Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-31T16:53:37.434Z] > git --version # timeout=10 [2021-03-31T16:53:37.466Z] > git --version # 'git version 2.17.1' [2021-03-31T16:53:37.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T16:53:37.569Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T16:53:39.464Z] Checking out Revision 9675502d886e98cc9b362e5032cc42b972c2765c (master) [2021-03-31T16:53:38.725Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-03-31T16:53:38.753Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T16:53:38.789Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-03-31T16:53:38.850Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-31T16:53:38.853Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T16:53:38.867Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T16:53:39.489Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T16:53:39.518Z] > git checkout -f 9675502d886e98cc9b362e5032cc42b972c2765c # timeout=10 [2021-03-31T16:53:44.378Z] Commit message: "Merge pull request #570 from weichou1229/issue-569" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T16:53:45.959Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-31T16:53:46.386Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T16:53:46.745Z] + true [2021-03-31T16:53:46.745Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-03-31T16:53:49.798Z] ========================================================= [2021-03-31T16:53:49.799Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-31T16:53:49.799Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T16:53:50.288Z] + 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-03-31T16:53:51.750Z] Sending build context to Docker daemon 2.908MB [2021-03-31T16:53:51.750Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-03-31T16:53:51.750Z] Step 2/7 : FROM ${BASE} [2021-03-31T16:53:52.025Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-31T16:53:52.025Z] 5f621e34cdf4: Pulling fs layer [2021-03-31T16:53:52.025Z] a4357932f1b6: Pulling fs layer [2021-03-31T16:53:52.025Z] 18c013af1878: Pulling fs layer [2021-03-31T16:53:52.025Z] 00ac8860ef70: Pulling fs layer [2021-03-31T16:53:52.025Z] 63d7cb157983: Pulling fs layer [2021-03-31T16:53:52.025Z] b116817d02f9: Pulling fs layer [2021-03-31T16:53:52.025Z] 745a02a5169b: Pulling fs layer [2021-03-31T16:53:52.025Z] 00ac8860ef70: Waiting [2021-03-31T16:53:52.025Z] 63d7cb157983: Waiting [2021-03-31T16:53:52.025Z] b116817d02f9: Waiting [2021-03-31T16:53:52.025Z] 18c013af1878: Verifying Checksum [2021-03-31T16:53:52.025Z] 18c013af1878: Download complete [2021-03-31T16:53:52.025Z] a4357932f1b6: Verifying Checksum [2021-03-31T16:53:52.025Z] a4357932f1b6: Download complete [2021-03-31T16:53:52.025Z] 63d7cb157983: Verifying Checksum [2021-03-31T16:53:52.025Z] 63d7cb157983: Download complete [2021-03-31T16:53:52.025Z] b116817d02f9: Verifying Checksum [2021-03-31T16:53:52.025Z] b116817d02f9: Download complete [2021-03-31T16:53:52.300Z] 5f621e34cdf4: Verifying Checksum [2021-03-31T16:53:52.300Z] 5f621e34cdf4: Download complete [2021-03-31T16:53:52.903Z] 5f621e34cdf4: Pull complete [2021-03-31T16:53:53.509Z] a4357932f1b6: Pull complete [2021-03-31T16:53:54.113Z] 18c013af1878: Pull complete [2021-03-31T16:53:55.093Z] 745a02a5169b: Verifying Checksum [2021-03-31T16:53:55.093Z] 745a02a5169b: Download complete [2021-03-31T16:53:56.071Z] 00ac8860ef70: Verifying Checksum [2021-03-31T16:53:56.071Z] 00ac8860ef70: Download complete [2021-03-31T16:54:06.238Z] 00ac8860ef70: Pull complete [2021-03-31T16:54:06.238Z] 63d7cb157983: Pull complete [2021-03-31T16:54:06.238Z] b116817d02f9: Pull complete [2021-03-31T16:54:09.660Z] 745a02a5169b: Pull complete [2021-03-31T16:54:09.660Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-31T16:54:09.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-31T16:54:09.660Z] ---> b7e6874047d6 [2021-03-31T16:54:09.660Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-31T16:54:12.269Z] ---> Running in b4cbc9801ce1 [2021-03-31T16:54:12.539Z] Removing intermediate container b4cbc9801ce1 [2021-03-31T16:54:12.539Z] ---> 06ed8c959fc1 [2021-03-31T16:54:12.539Z] Step 4/7 : RUN apk add bash [2021-03-31T16:54:12.813Z] ---> Running in b2a5e65e2acc [2021-03-31T16:54:13.795Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T16:54:14.768Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T16:54:15.740Z] OK: 142 MiB in 39 packages [2021-03-31T16:54:17.182Z] Removing intermediate container b2a5e65e2acc [2021-03-31T16:54:17.182Z] ---> c178e47fefc1 [2021-03-31T16:54:17.182Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-03-31T16:54:17.182Z] ---> Running in 73d09c83cf6e [2021-03-31T16:54:17.461Z] Removing intermediate container 73d09c83cf6e [2021-03-31T16:54:17.461Z] ---> 429ed82f0194 [2021-03-31T16:54:17.461Z] Step 6/7 : COPY go.mod . [2021-03-31T16:54:18.448Z] ---> f79dddea870e [2021-03-31T16:54:18.448Z] Step 7/7 : RUN go mod download [2021-03-31T16:54:18.448Z] ---> Running in c96b98ad8692 [2021-03-31T16:54:36.799Z] Removing intermediate container c96b98ad8692 [2021-03-31T16:54:36.799Z] ---> 3be0888e7b7e [2021-03-31T16:54:36.799Z] Successfully built 3be0888e7b7e [2021-03-31T16:54:36.799Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T16:54:37.156Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T16:54:37.156Z] . [Pipeline] withDockerContainer [2021-03-31T16:54:37.443Z] prd-ubuntu18.04-docker-arm64-4c-16g-32282 does not seem to be running inside a container [2021-03-31T16:54:37.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/182 -v /w/workspace/go-mod-core-contracts/182:/w/workspace/go-mod-core-contracts/182:rw,z -v /w/workspace/go-mod-core-contracts/182@tmp:/w/workspace/go-mod-core-contracts/182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-31T16:54:39.062Z] $ docker top ef9f668224949ed268a1d9f8575acf51b6a24e41bf10f39e172842d2a802d6dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T16:54:40.077Z] + go version [2021-03-31T16:54:40.077Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-31T16:54:40.105Z] $ docker stop --time=1 ef9f668224949ed268a1d9f8575acf51b6a24e41bf10f39e172842d2a802d6dc [2021-03-31T16:54:42.037Z] $ docker rm -f ef9f668224949ed268a1d9f8575acf51b6a24e41bf10f39e172842d2a802d6dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T16:54:43.106Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T16:54:43.106Z] . [Pipeline] withDockerContainer [2021-03-31T16:54:43.384Z] prd-ubuntu18.04-docker-arm64-4c-16g-32282 does not seem to be running inside a container [2021-03-31T16:54:43.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/182 -v /w/workspace/go-mod-core-contracts/182:/w/workspace/go-mod-core-contracts/182:rw,z -v /w/workspace/go-mod-core-contracts/182@tmp:/w/workspace/go-mod-core-contracts/182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-31T16:54:45.002Z] $ docker top 0bc828e3b707126e16d7daece30d1f0797d93d5746d12043fd4952d0524d4e3f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T16:54:46.018Z] + make test [2021-03-31T16:54:46.018Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-31T16:55:12.868Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-03-31T16:55:12.868Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.061s coverage: 85.7% of statements [2021-03-31T16:55:12.868Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.035s coverage: 100.0% of statements [2021-03-31T16:55:13.862Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.075s coverage: 45.4% of statements [2021-03-31T16:55:13.862Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.023s coverage: 77.8% of statements [2021-03-31T16:55:13.862Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-03-31T16:55:14.860Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.047s coverage: 26.3% of statements [2021-03-31T16:55:16.891Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.051s coverage: 14.7% of statements [2021-03-31T16:55:16.891Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.044s coverage: 100.0% of statements [2021-03-31T16:55:17.500Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.079s coverage: 91.8% of statements [2021-03-31T16:55:17.500Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-03-31T16:55:17.500Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-03-31T16:55:17.500Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.025s coverage: 100.0% of statements [2021-03-31T16:55:17.500Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.033s coverage: 36.7% of statements [2021-03-31T16:55:24.238Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.131s coverage: 63.0% of statements [2021-03-31T16:55:24.238Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.031s coverage: 26.3% of statements [2021-03-31T16:55:24.238Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.015s coverage: 15.4% of statements [2021-03-31T16:55:24.238Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.044s coverage: 15.4% of statements [2021-03-31T16:55:24.238Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.020s coverage: 14.3% of statements [2021-03-31T16:55:24.238Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-03-31T16:55:27.658Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.261s coverage: 84.4% of statements [2021-03-31T16:55:27.658Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-03-31T16:55:27.658Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-03-31T16:55:27.658Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-03-31T16:55:27.658Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.119s coverage: 49.7% of statements [2021-03-31T16:55:28.262Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.060s coverage: 94.7% of statements [2021-03-31T16:55:30.258Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.215s coverage: 87.8% of statements [2021-03-31T16:55:30.258Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.025s coverage: 100.0% of statements [2021-03-31T16:55:30.532Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models 0.027s coverage: 69.6% of statements [2021-03-31T16:55:30.805Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-31T16:55:31.150Z] Running on prd-centos7-docker-4c-2g-32284 in /w/workspace/dry_go-mod-core-contracts_master [Pipeline] { [Pipeline] ws [2021-03-31T16:55:31.219Z] Running in /w/workspace/go-mod-core-contracts/182 [Pipeline] { [Pipeline] checkout [2021-03-31T16:55:37.541Z] gofmt -l . [2021-03-31T16:55:37.542Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-03-31T16:55:38.554Z] $ docker stop --time=1 0bc828e3b707126e16d7daece30d1f0797d93d5746d12043fd4952d0524d4e3f [2021-03-31T16:55:40.901Z] $ docker rm -f 0bc828e3b707126e16d7daece30d1f0797d93d5746d12043fd4952d0524d4e3f [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T16:55:41.805Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T16:55:42.897Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-03-31T16:55:43.217Z] using credential edgex-jenkins-ssh Stage "Build" skipped due to when conditional [Pipeline] } [2021-03-31T16:55:43.291Z] Cloning the remote Git repository [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [2021-03-31T16:55:43.356Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-31T16:55:43.449Z] > git init /w/workspace/go-mod-core-contracts/182 # timeout=10 [2021-03-31T16:55:43.562Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-31T16:55:43.562Z] > git --version # timeout=10 [2021-03-31T16:55:43.588Z] > git --version # 'git version 2.24.3' [2021-03-31T16:55:43.589Z] using GIT_SSH to set credentials SSH Credentials for GitHub [Pipeline] libraryResource [Pipeline] sh [2021-03-31T16:55:44.111Z] ---> job-cost.sh [2021-03-31T16:55:44.111Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8IpH [2021-03-31T16:55:43.708Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T16:55:46.288Z] Checking out Revision 9675502d886e98cc9b362e5032cc42b972c2765c (master) [2021-03-31T16:55:45.237Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-03-31T16:55:45.318Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T16:55:45.537Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-03-31T16:55:45.640Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-03-31T16:55:45.640Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T16:55:45.648Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T16:55:46.315Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T16:55:46.367Z] > git checkout -f 9675502d886e98cc9b362e5032cc42b972c2765c # timeout=10 [2021-03-31T16:55:51.204Z] Commit message: "Merge pull request #570 from weichou1229/issue-569" [2021-03-31T16:55:51.642Z] [2021-03-31T16:55:51.642Z] GitHub has been notified of this commit’s build result [2021-03-31T16:55:51.642Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T16:55:53.266Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-31T16:55:54.174Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T16:55:54.906Z] + sudo service docker restart [2021-03-31T16:55:54.906Z] + true [2021-03-31T16:55:54.906Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-03-31T16:55:58.840Z] ========================================================= [2021-03-31T16:55:58.840Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-31T16:55:58.840Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T16:55:59.340Z] + 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-03-31T16:56:00.869Z] Sending build context to Docker daemon 2.909MB [2021-03-31T16:56:00.869Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-03-31T16:56:00.869Z] Step 2/7 : FROM ${BASE} [2021-03-31T16:56:01.217Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-31T16:56:01.217Z] 188c0c94c7c5: Pulling fs layer [2021-03-31T16:56:01.217Z] 0ef7d3d256c8: Pulling fs layer [2021-03-31T16:56:01.217Z] de9db76c5a1d: Pulling fs layer [2021-03-31T16:56:01.217Z] bca2f99d35d6: Pulling fs layer [2021-03-31T16:56:01.217Z] 93359f2a8cfa: Pulling fs layer [2021-03-31T16:56:01.217Z] 7c6f9722023f: Pulling fs layer [2021-03-31T16:56:01.217Z] a35cf1a2eb13: Pulling fs layer [2021-03-31T16:56:01.217Z] bca2f99d35d6: Waiting [2021-03-31T16:56:01.217Z] 93359f2a8cfa: Waiting [2021-03-31T16:56:01.217Z] 7c6f9722023f: Waiting [2021-03-31T16:56:01.217Z] a35cf1a2eb13: Waiting [2021-03-31T16:56:01.217Z] de9db76c5a1d: Verifying Checksum [2021-03-31T16:56:01.217Z] de9db76c5a1d: Download complete [2021-03-31T16:56:01.217Z] 0ef7d3d256c8: Verifying Checksum [2021-03-31T16:56:01.217Z] 0ef7d3d256c8: Download complete [2021-03-31T16:56:01.217Z] 93359f2a8cfa: Verifying Checksum [2021-03-31T16:56:01.217Z] 93359f2a8cfa: Download complete [2021-03-31T16:56:01.217Z] 7c6f9722023f: Verifying Checksum [2021-03-31T16:56:01.217Z] 7c6f9722023f: Download complete [2021-03-31T16:56:01.573Z] 188c0c94c7c5: Verifying Checksum [2021-03-31T16:56:01.573Z] 188c0c94c7c5: Download complete [2021-03-31T16:56:03.270Z] 188c0c94c7c5: Pull complete [2021-03-31T16:56:04.034Z] 0ef7d3d256c8: Pull complete [2021-03-31T16:56:04.335Z] de9db76c5a1d: Pull complete [2021-03-31T16:56:10.397Z] a35cf1a2eb13: Verifying Checksum [2021-03-31T16:56:10.397Z] a35cf1a2eb13: Download complete [2021-03-31T16:56:11.992Z] bca2f99d35d6: Download complete [2021-03-31T16:56:28.409Z] bca2f99d35d6: Pull complete [2021-03-31T16:56:28.409Z] 93359f2a8cfa: Pull complete [2021-03-31T16:56:28.409Z] 7c6f9722023f: Pull complete [2021-03-31T16:56:31.060Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T16:56:37.325Z] a35cf1a2eb13: Pull complete [2021-03-31T16:56:37.325Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-31T16:56:37.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-31T16:56:37.325Z] ---> a62c8e92a672 [2021-03-31T16:56:37.325Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-31T16:56:37.325Z] ---> Running in 53d7ff44bb82 [2021-03-31T16:56:37.325Z] Removing intermediate container 53d7ff44bb82 [2021-03-31T16:56:37.325Z] ---> 65b50b4314cc [2021-03-31T16:56:37.325Z] Step 4/7 : RUN apk add bash [2021-03-31T16:56:37.325Z] ---> Running in 9fd38196e883 [2021-03-31T16:56:40.225Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T16:56:40.883Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T16:56:42.059Z] OK: 166 MiB in 39 packages [2021-03-31T16:56:43.787Z] Removing intermediate container 9fd38196e883 [2021-03-31T16:56:43.787Z] ---> cc137c1e11f9 [2021-03-31T16:56:43.787Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-03-31T16:56:43.787Z] ---> Running in 138547176b01 [2021-03-31T16:56:44.086Z] Removing intermediate container 138547176b01 [2021-03-31T16:56:44.086Z] ---> cf2d02c974f1 [2021-03-31T16:56:44.086Z] Step 6/7 : COPY go.mod . [2021-03-31T16:56:44.819Z] ---> 0f345314bb71 [2021-03-31T16:56:44.819Z] Step 7/7 : RUN go mod download [2021-03-31T16:56:44.819Z] ---> Running in e91b684995ef [2021-03-31T16:57:19.181Z] Removing intermediate container e91b684995ef [2021-03-31T16:57:19.181Z] ---> 403de1bd10c9 [2021-03-31T16:57:19.181Z] Successfully built 403de1bd10c9 [2021-03-31T16:57:19.181Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T16:57:19.663Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T16:57:20.725Z] . [Pipeline] withDockerContainer [2021-03-31T16:57:21.186Z] prd-centos7-docker-4c-2g-32284 does not seem to be running inside a container [2021-03-31T16:57:21.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/182 -v /w/workspace/go-mod-core-contracts/182:/w/workspace/go-mod-core-contracts/182:rw,z -v /w/workspace/go-mod-core-contracts/182@tmp:/w/workspace/go-mod-core-contracts/182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-31T16:57:23.463Z] $ docker top 41d0f406f09378e966a5ba2203125d6cd30f53387fe2224d6e6a768e9d73104e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T16:57:25.028Z] + go version [2021-03-31T16:57:25.029Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-31T16:57:25.192Z] $ docker stop --time=1 41d0f406f09378e966a5ba2203125d6cd30f53387fe2224d6e6a768e9d73104e [2021-03-31T16:57:27.288Z] $ docker rm -f 41d0f406f09378e966a5ba2203125d6cd30f53387fe2224d6e6a768e9d73104e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T16:57:29.876Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T16:57:29.876Z] . [Pipeline] withDockerContainer [2021-03-31T16:57:30.720Z] prd-centos7-docker-4c-2g-32284 does not seem to be running inside a container [2021-03-31T16:57:30.882Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/182 -v /w/workspace/go-mod-core-contracts/182:/w/workspace/go-mod-core-contracts/182:rw,z -v /w/workspace/go-mod-core-contracts/182@tmp:/w/workspace/go-mod-core-contracts/182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-31T16:57:32.998Z] $ docker top 1ea08ee3c031ff1cdb79970a396167c4112d34ee2f4bc4fb2ed1d9bf4df8aed0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T16:57:34.893Z] + make test [2021-03-31T16:57:34.893Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-31T16:57:53.807Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-03-31T16:57:53.807Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.071s coverage: 85.7% of statements [2021-03-31T16:57:53.807Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.044s coverage: 100.0% of statements [2021-03-31T16:57:54.098Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.021s coverage: 45.4% of statements [2021-03-31T16:57:54.098Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.056s coverage: 77.8% of statements [2021-03-31T16:57:54.098Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-03-31T16:57:55.601Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.033s coverage: 26.3% of statements [2021-03-31T16:57:57.319Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.116s coverage: 14.7% of statements [2021-03-31T16:57:57.319Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.087s coverage: 100.0% of statements [2021-03-31T16:57:57.319Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.062s coverage: 91.8% of statements [2021-03-31T16:57:57.319Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-03-31T16:57:57.319Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-03-31T16:57:57.319Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.032s coverage: 100.0% of statements [2021-03-31T16:57:58.010Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.064s coverage: 36.7% of statements [2021-03-31T16:58:07.936Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.067s coverage: 63.0% of statements [2021-03-31T16:58:07.936Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.047s coverage: 26.3% of statements [2021-03-31T16:58:07.936Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.091s coverage: 15.4% of statements [2021-03-31T16:58:07.936Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.117s coverage: 15.4% of statements [2021-03-31T16:58:07.936Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.137s coverage: 14.3% of statements [2021-03-31T16:58:07.936Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-03-31T16:58:12.934Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.272s coverage: 84.4% of statements [2021-03-31T16:58:12.935Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-03-31T16:58:12.935Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-03-31T16:58:12.935Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-03-31T16:58:14.136Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.037s coverage: 49.7% of statements [2021-03-31T16:58:14.136Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.077s coverage: 94.7% of statements [2021-03-31T16:58:14.849Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.172s coverage: 87.8% of statements [2021-03-31T16:58:15.198Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.047s coverage: 100.0% of statements [2021-03-31T16:58:15.493Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models 0.077s coverage: 69.6% of statements [2021-03-31T16:58:16.123Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-03-31T16:58:22.195Z] gofmt -l . [2021-03-31T16:58:23.302Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-03-31T16:58:23.650Z] $ docker stop --time=1 1ea08ee3c031ff1cdb79970a396167c4112d34ee2f4bc4fb2ed1d9bf4df8aed0 [2021-03-31T16:58:26.961Z] $ docker rm -f 1ea08ee3c031ff1cdb79970a396167c4112d34ee2f4bc4fb2ed1d9bf4df8aed0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T16:58:28.866Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T16:58:28.935Z] Warning: overwriting stash ‘coverage-report’ [2021-03-31T16:58:30.489Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-31T16:58:32.213Z] ---> job-cost.sh [2021-03-31T16:58:32.213Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ae5S [2021-03-31T16:58:37.923Z] lf-activate-venv(): INFO: Adding /tmp/venv-8IpH/bin to PATH [2021-03-31T16:58:37.923Z] INFO: No Stack... [2021-03-31T16:58:37.923Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-31T16:58:37.923Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T16:58:38.266Z] + cut -d, -f6 [2021-03-31T16:58:38.266Z] + cat /w/workspace/go-mod-core-contracts/182/archives/cost.csv [Pipeline] lock [2021-03-31T16:58:38.417Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-master-182-stack-cost] [2021-03-31T16:58:38.428Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-master-182-stack-cost] did not exist. Created. [2021-03-31T16:58:38.428Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-master-182-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T16:58:38.857Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-31T16:58:39.061Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T16:58:39.072Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-master-182-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-31T16:59:05.974Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T16:59:54.322Z] lf-activate-venv(): INFO: Adding /tmp/venv-Ae5S/bin to PATH [2021-03-31T16:59:54.322Z] INFO: No Stack... [2021-03-31T16:59:54.964Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T16:59:56.505Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T16:59:57.093Z] + cut -d, -f6 [2021-03-31T16:59:57.093Z] + cat /w/workspace/go-mod-core-contracts/182/archives/cost.csv [Pipeline] lock [2021-03-31T16:59:57.283Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-master-182-stack-cost] [2021-03-31T16:59:57.291Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-master-182-stack-cost] did not exist. Created. [2021-03-31T16:59:57.292Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-master-182-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T16:59:57.927Z] /w/workspace/go-mod-core-contracts/182@tmp/durable-48a93632/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-03-31T16:59:58.697Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-31T16:59:58.734Z] Warning: overwriting stash ‘stack-cost’ [2021-03-31T16:59:59.157Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T16:59:59.167Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-master-182-stack-cost] [Pipeline] // lock [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-03-31T17:00:00.695Z] provisioning config files... [2021-03-31T17:00:00.709Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_master@tmp/config7867842108575863103tmp [Pipeline] { [Pipeline] sh [2021-03-31T17:00:01.099Z] + set +x [2021-03-31T17:00:01.099Z] + curl -s https://codecov.io/bash [2021-03-31T17:00:01.099Z] + bash -s -- [2021-03-31T17:00:01.363Z] [2021-03-31T17:00:01.363Z] _____ _ [2021-03-31T17:00:01.363Z] / ____| | | [2021-03-31T17:00:01.363Z] | | ___ __| | ___ ___ _____ __ [2021-03-31T17:00:01.363Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-31T17:00:01.363Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-31T17:00:01.363Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-31T17:00:01.363Z] Bash-20210309-2b87ace [2021-03-31T17:00:01.363Z] [2021-03-31T17:00:01.363Z] [2021-03-31T17:00:01.363Z] ==> git version 2.24.3 found [2021-03-31T17:00:01.363Z] ==> 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-03-31T17:00:01.363Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-31T17:00:01.363Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-31T17:00:01.363Z] ==> Jenkins CI detected. [2021-03-31T17:00:01.363Z] project root: . [2021-03-31T17:00:01.363Z] --> token set from env [2021-03-31T17:00:01.363Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-31T17:00:01.363Z] ==> Running gcov in . (disable via -X gcov) [2021-03-31T17:00:01.363Z] ==> Python coveragepy not found [2021-03-31T17:00:01.363Z] ==> Searching for coverage reports in: [2021-03-31T17:00:01.363Z] + . [2021-03-31T17:00:01.363Z] -> Found 1 reports [2021-03-31T17:00:01.363Z] ==> Detecting git/mercurial file structure [2021-03-31T17:00:01.363Z] ==> Reading reports [2021-03-31T17:00:01.363Z] + ./coverage.out bytes=164433 [2021-03-31T17:00:01.363Z] ==> Appending adjustments [2021-03-31T17:00:01.363Z] https://docs.codecov.io/docs/fixing-reports [2021-03-31T17:00:02.789Z] + Found adjustments [2021-03-31T17:00:02.789Z] ==> Gzipping contents [2021-03-31T17:00:02.789Z] 24K /tmp/codecov.FmiuUu.gz [2021-03-31T17:00:02.789Z] ==> Uploading reports [2021-03-31T17:00:02.789Z] url: https://codecov.io [2021-03-31T17:00:02.789Z] query: branch=master&commit=9675502d886e98cc9b362e5032cc42b972c2765c&build=182&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2Fmaster%2F182%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-31T17:00:02.789Z] -> Pinging Codecov [2021-03-31T17:00:02.789Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=9675502d886e98cc9b362e5032cc42b972c2765c&build=182&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2Fmaster%2F182%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-31T17:00:03.054Z] -> Uploading to [2021-03-31T17:00:03.055Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-31/71470A77251A30514AAF9C0BB2E5B6CE/9675502d886e98cc9b362e5032cc42b972c2765c/3af0b847-e550-4090-adfc-46463d14ef26.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210331T170003Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b4681d9b094bef5275cb92d4006f8467aa98128e5660b992149d06b19d5e8947 [2021-03-31T17:00:03.055Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-31T17:00:03.055Z] Dload Upload Total Spent Left Speed [2021-03-31T17:00:03.631Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 24514 0 0 100 24514 0 44968 --:--:-- --:--:-- --:--:-- 44979 100 24514 0 0 100 24514 0 44954 --:--:-- --:--:-- --:--:-- 44897 [2021-03-31T17:00:03.631Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/9675502d886e98cc9b362e5032cc42b972c2765c [Pipeline] } [2021-03-31T17:00:03.643Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-31T17:00:04.573Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-31T17:00:04.661Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:00:05.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-31T17:00:05.279Z] [2021-03-31T17:00:05.279Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:00:05.637Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-31T17:00:05.637Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-31T17:00:05.637Z] 188c0c94c7c5: Pulling fs layer [2021-03-31T17:00:05.637Z] 0ef7d3d256c8: Pulling fs layer [2021-03-31T17:00:05.637Z] de9db76c5a1d: Pulling fs layer [2021-03-31T17:00:05.637Z] 0eba1c9be4d2: Pulling fs layer [2021-03-31T17:00:05.637Z] 0d57e429df01: Pulling fs layer [2021-03-31T17:00:05.637Z] 4e4be7b47b0d: Pulling fs layer [2021-03-31T17:00:05.637Z] e1f770b5df2f: Pulling fs layer [2021-03-31T17:00:05.637Z] 85a0685a4137: Pulling fs layer [2021-03-31T17:00:05.637Z] 0d57e429df01: Waiting [2021-03-31T17:00:05.637Z] 4e4be7b47b0d: Waiting [2021-03-31T17:00:05.637Z] e1f770b5df2f: Waiting [2021-03-31T17:00:05.637Z] 85a0685a4137: Waiting [2021-03-31T17:00:05.637Z] 0eba1c9be4d2: Waiting [2021-03-31T17:00:05.637Z] de9db76c5a1d: Verifying Checksum [2021-03-31T17:00:05.637Z] de9db76c5a1d: Download complete [2021-03-31T17:00:05.637Z] 0ef7d3d256c8: Verifying Checksum [2021-03-31T17:00:05.637Z] 0ef7d3d256c8: Download complete [2021-03-31T17:00:05.637Z] 0d57e429df01: Download complete [2021-03-31T17:00:05.637Z] 4e4be7b47b0d: Verifying Checksum [2021-03-31T17:00:05.637Z] 4e4be7b47b0d: Download complete [2021-03-31T17:00:05.904Z] 188c0c94c7c5: Download complete [2021-03-31T17:00:06.490Z] 188c0c94c7c5: Pull complete [2021-03-31T17:00:06.490Z] 0ef7d3d256c8: Pull complete [2021-03-31T17:00:06.754Z] de9db76c5a1d: Pull complete [2021-03-31T17:00:07.333Z] e1f770b5df2f: Verifying Checksum [2021-03-31T17:00:07.333Z] e1f770b5df2f: Download complete [2021-03-31T17:00:09.924Z] 85a0685a4137: Verifying Checksum [2021-03-31T17:00:09.924Z] 85a0685a4137: Download complete [2021-03-31T17:00:09.924Z] 0eba1c9be4d2: Verifying Checksum [2021-03-31T17:00:09.924Z] 0eba1c9be4d2: Download complete [2021-03-31T17:00:16.584Z] 0eba1c9be4d2: Pull complete [2021-03-31T17:00:16.584Z] 0d57e429df01: Pull complete [2021-03-31T17:00:16.584Z] 4e4be7b47b0d: Pull complete [2021-03-31T17:00:18.553Z] e1f770b5df2f: Pull complete [2021-03-31T17:00:26.793Z] 85a0685a4137: Pull complete [2021-03-31T17:00:26.793Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-31T17:00:26.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-31T17:00:26.793Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-31T17:00:27.041Z] prd-centos7-docker-4c-2g-32280 does not seem to be running inside a container [2021-03-31T17:00:27.094Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dry_go-mod-core-contracts_master -v /w/workspace/dry_go-mod-core-contracts_master:/w/workspace/dry_go-mod-core-contracts_master:rw,z -v /w/workspace/dry_go-mod-core-contracts_master@tmp:/w/workspace/dry_go-mod-core-contracts_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-03-31T17:00:28.302Z] $ docker top f807be9b0bf48c327f2ce0f0ccd3715a58252854d51cda84819b3063a5ec2b87 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-31T17:00:28.553Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-31T17:00:28.855Z] + set -o pipefail [2021-03-31T17:00:28.855Z] + snyk monitor '--org=edgex-jenkins' [2021-03-31T17:00:37.056Z] [2021-03-31T17:00:37.056Z] Monitoring /w/workspace/dry_go-mod-core-contracts_master (github.com/edgexfoundry/go-mod-core-contracts/v2)... [2021-03-31T17:00:37.056Z] [2021-03-31T17:00:37.056Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3f4394a4-4413-42ba-ada0-473d353def69/history/b169903a-5de5-4e60-8b4d-b23447a1c429 [2021-03-31T17:00:37.056Z] [2021-03-31T17:00:37.056Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-31T17:00:37.056Z] [2021-03-31T17:00:37.056Z] [2021-03-31T17:00:37.056Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2021-03-31T17:00:37.056Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-03-31T17:00:37.073Z] $ docker stop --time=1 f807be9b0bf48c327f2ce0f0ccd3715a58252854d51cda84819b3063a5ec2b87 [2021-03-31T17:00:39.527Z] $ docker rm -f f807be9b0bf48c327f2ce0f0ccd3715a58252854d51cda84819b3063a5ec2b87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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-03-31T17:00:41.395Z] + git log --format=format:%s -1 9675502d886e98cc9b362e5032cc42b972c2765c [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:00:41.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T17:00:41.712Z] . [Pipeline] withDockerContainer [2021-03-31T17:00:41.820Z] prd-centos7-docker-4c-2g-32280 does not seem to be running inside a container [2021-03-31T17:00:41.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_master -v /w/workspace/dry_go-mod-core-contracts_master:/w/workspace/dry_go-mod-core-contracts_master:rw,z -v /w/workspace/dry_go-mod-core-contracts_master@tmp:/w/workspace/dry_go-mod-core-contracts_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-03-31T17:00:42.834Z] $ docker top 33f6646297b45647b864bfe3fc142f07f51b896a642a8f3520039583aab82bd0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T17:00:43.194Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T17:00:43.194Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T17:00:43.455Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T17:00:43.459Z] $ docker exec 33f6646297b45647b864bfe3fc142f07f51b896a642a8f3520039583aab82bd0 ssh-agent [2021-03-31T17:00:43.644Z] SSH_AUTH_SOCK=/tmp/ssh-aBKQtfRjXj8s/agent.12 [2021-03-31T17:00:43.644Z] SSH_AGENT_PID=17 [2021-03-31T17:00:43.654Z] Running ssh-add (command line suppressed) [2021-03-31T17:00:43.793Z] Identity added: /w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_4036584769056012049.key (/w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_4036584769056012049.key) [2021-03-31T17:00:43.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T17:00:44.216Z] + git semver tag [2021-03-31T17:00:44.216Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T17:00:44.216Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_master/.git [2021-03-31T17:00:44.216Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_master [2021-03-31T17:00:44.216Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T17:00:44.216Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T17:00:44.216Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T17:00:44.216Z] # $SEMVER_BRANCH = master [2021-03-31T17:00:44.216Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_master/.semver [2021-03-31T17:00:44.216Z] # 9675502d886e98cc9b362e5032cc42b972c2765c HEAD [2021-03-31T17:00:44.479Z] # -> Force: false [2021-03-31T17:00:44.479Z] # 361414b6bc357cb0f50e27e981a494b86645cb3f refs/tags/v2.0.0-dev.63 [Pipeline] } [2021-03-31T17:00:44.491Z] $ docker exec --env ******** --env ******** 33f6646297b45647b864bfe3fc142f07f51b896a642a8f3520039583aab82bd0 ssh-agent -k [2021-03-31T17:00:44.617Z] unset SSH_AUTH_SOCK; [2021-03-31T17:00:44.617Z] unset SSH_AGENT_PID; [2021-03-31T17:00:44.617Z] echo Agent pid 17 killed; [2021-03-31T17:00:44.678Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T17:00:45.156Z] + git semver [Pipeline] } [2021-03-31T17:00:45.174Z] $ docker stop --time=1 33f6646297b45647b864bfe3fc142f07f51b896a642a8f3520039583aab82bd0 [2021-03-31T17:00:46.541Z] $ docker rm -f 33f6646297b45647b864bfe3fc142f07f51b896a642a8f3520039583aab82bd0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:00:47.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-31T17:00:47.199Z] [2021-03-31T17:00:47.199Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:00:47.586Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-31T17:00:47.586Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-31T17:00:47.586Z] ab5ef0e58194: Pulling fs layer [2021-03-31T17:00:47.586Z] 9712f1f96733: Pulling fs layer [2021-03-31T17:00:47.586Z] 63f879dbbcfc: Pulling fs layer [2021-03-31T17:00:47.586Z] 0d9ebad4ef96: Pulling fs layer [2021-03-31T17:00:47.586Z] e9a5061849ea: Pulling fs layer [2021-03-31T17:00:47.586Z] d747dcd14b5f: Pulling fs layer [2021-03-31T17:00:47.586Z] 2de7ff778b66: Pulling fs layer [2021-03-31T17:00:47.586Z] e9a5061849ea: Waiting [2021-03-31T17:00:47.586Z] d747dcd14b5f: Waiting [2021-03-31T17:00:47.586Z] 2de7ff778b66: Waiting [2021-03-31T17:00:47.586Z] 0d9ebad4ef96: Waiting [2021-03-31T17:00:47.586Z] 9712f1f96733: Verifying Checksum [2021-03-31T17:00:47.586Z] 9712f1f96733: Download complete [2021-03-31T17:00:48.987Z] 63f879dbbcfc: Verifying Checksum [2021-03-31T17:00:48.987Z] 63f879dbbcfc: Download complete [2021-03-31T17:00:49.254Z] e9a5061849ea: Verifying Checksum [2021-03-31T17:00:49.254Z] e9a5061849ea: Download complete [2021-03-31T17:00:49.254Z] d747dcd14b5f: Verifying Checksum [2021-03-31T17:00:49.254Z] d747dcd14b5f: Download complete [2021-03-31T17:00:49.839Z] 2de7ff778b66: Verifying Checksum [2021-03-31T17:00:49.839Z] 2de7ff778b66: Download complete [2021-03-31T17:00:49.839Z] 0d9ebad4ef96: Verifying Checksum [2021-03-31T17:00:49.839Z] 0d9ebad4ef96: Download complete [2021-03-31T17:00:50.420Z] ab5ef0e58194: Verifying Checksum [2021-03-31T17:00:50.420Z] ab5ef0e58194: Download complete [2021-03-31T17:00:55.766Z] ab5ef0e58194: Pull complete [2021-03-31T17:00:55.766Z] 9712f1f96733: Pull complete [2021-03-31T17:00:57.195Z] 63f879dbbcfc: Pull complete [2021-03-31T17:01:05.449Z] 0d9ebad4ef96: Pull complete [2021-03-31T17:01:08.810Z] e9a5061849ea: Pull complete [2021-03-31T17:01:09.091Z] d747dcd14b5f: Pull complete [2021-03-31T17:01:10.582Z] 2de7ff778b66: Pull complete [2021-03-31T17:01:10.582Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-31T17:01:10.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-31T17:01:10.845Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-31T17:01:11.077Z] prd-centos7-docker-4c-2g-32280 does not seem to be running inside a container [2021-03-31T17:01:11.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_go-mod-core-contracts_master -v /w/workspace/dry_go-mod-core-contracts_master:/w/workspace/dry_go-mod-core-contracts_master:rw,z -v /w/workspace/dry_go-mod-core-contracts_master@tmp:/w/workspace/dry_go-mod-core-contracts_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-03-31T17:01:14.642Z] $ docker top d86fd7a6837140f680e763c95ed73342d81317da0d98e052cfcbc230dea086e3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-31T17:01:14.963Z] provisioning config files... [2021-03-31T17:01:14.974Z] copy managed file [sigul-config] to file:/w/workspace/dry_go-mod-core-contracts_master@tmp/config7903311853999598816tmp [2021-03-31T17:01:14.996Z] copy managed file [sigul-password] to file:/w/workspace/dry_go-mod-core-contracts_master@tmp/config90526936219318358tmp [2021-03-31T17:01:15.015Z] copy managed file [sigul-pki] to file:/w/workspace/dry_go-mod-core-contracts_master@tmp/config2743783186393824910tmp [Pipeline] { [Pipeline] echo [2021-03-31T17:01:15.072Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:01:15.392Z] ---> sigul-configuration.sh [2021-03-31T17:01:15.657Z] gpg: directory `/root/.gnupg' created [2021-03-31T17:01:15.657Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-31T17:01:15.657Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-31T17:01:15.657Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-31T17:01:15.657Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-31T17:01:15.657Z] gpg: CAST5 encrypted data [2021-03-31T17:01:15.657Z] gpg: encrypted with 1 passphrase [2021-03-31T17:01:15.657Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-31T17:01:15.963Z] + mkdir /home/jenkins [2021-03-31T17:01:15.963Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-31T17:01:16.267Z] + 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-03-31T17:01:16.279Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:01:16.581Z] ---> sigul-install.sh [2021-03-31T17:01:23.185Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-31T17:01:23.488Z] + git tag --list [2021-03-31T17:01:23.488Z] v0.0.0 [2021-03-31T17:01:23.488Z] v0.0.1 [2021-03-31T17:01:23.488Z] v0.1.0 [2021-03-31T17:01:23.488Z] v0.1.1 [2021-03-31T17:01:23.488Z] v0.1.10 [2021-03-31T17:01:23.488Z] v0.1.100 [2021-03-31T17:01:23.488Z] v0.1.101 [2021-03-31T17:01:23.488Z] v0.1.102 [2021-03-31T17:01:23.488Z] v0.1.103 [2021-03-31T17:01:23.488Z] v0.1.104 [2021-03-31T17:01:23.488Z] v0.1.105 [2021-03-31T17:01:23.488Z] v0.1.106 [2021-03-31T17:01:23.488Z] v0.1.107 [2021-03-31T17:01:23.488Z] v0.1.108 [2021-03-31T17:01:23.488Z] v0.1.109 [2021-03-31T17:01:23.488Z] v0.1.11 [2021-03-31T17:01:23.488Z] v0.1.110 [2021-03-31T17:01:23.488Z] v0.1.111 [2021-03-31T17:01:23.488Z] v0.1.112 [2021-03-31T17:01:23.488Z] v0.1.113 [2021-03-31T17:01:23.488Z] v0.1.114 [2021-03-31T17:01:23.488Z] v0.1.115 [2021-03-31T17:01:23.488Z] v0.1.116 [2021-03-31T17:01:23.488Z] v0.1.117 [2021-03-31T17:01:23.488Z] v0.1.118 [2021-03-31T17:01:23.488Z] v0.1.119 [2021-03-31T17:01:23.488Z] v0.1.12 [2021-03-31T17:01:23.488Z] v0.1.120 [2021-03-31T17:01:23.488Z] v0.1.121 [2021-03-31T17:01:23.488Z] v0.1.122 [2021-03-31T17:01:23.488Z] v0.1.123 [2021-03-31T17:01:23.488Z] v0.1.124 [2021-03-31T17:01:23.488Z] v0.1.125 [2021-03-31T17:01:23.488Z] v0.1.126 [2021-03-31T17:01:23.488Z] v0.1.127 [2021-03-31T17:01:23.488Z] v0.1.128 [2021-03-31T17:01:23.488Z] v0.1.129 [2021-03-31T17:01:23.488Z] v0.1.13 [2021-03-31T17:01:23.488Z] v0.1.130 [2021-03-31T17:01:23.488Z] v0.1.131 [2021-03-31T17:01:23.488Z] v0.1.132 [2021-03-31T17:01:23.488Z] v0.1.133 [2021-03-31T17:01:23.488Z] v0.1.134 [2021-03-31T17:01:23.488Z] v0.1.135 [2021-03-31T17:01:23.488Z] v0.1.136 [2021-03-31T17:01:23.488Z] v0.1.137 [2021-03-31T17:01:23.488Z] v0.1.138 [2021-03-31T17:01:23.488Z] v0.1.139 [2021-03-31T17:01:23.488Z] v0.1.14 [2021-03-31T17:01:23.488Z] v0.1.140 [2021-03-31T17:01:23.488Z] v0.1.141 [2021-03-31T17:01:23.488Z] v0.1.142 [2021-03-31T17:01:23.488Z] v0.1.143 [2021-03-31T17:01:23.488Z] v0.1.144 [2021-03-31T17:01:23.488Z] v0.1.145 [2021-03-31T17:01:23.488Z] v0.1.146 [2021-03-31T17:01:23.488Z] v0.1.147 [2021-03-31T17:01:23.488Z] v0.1.148 [2021-03-31T17:01:23.488Z] v0.1.149 [2021-03-31T17:01:23.488Z] v0.1.15 [2021-03-31T17:01:23.488Z] v0.1.16 [2021-03-31T17:01:23.488Z] v0.1.17 [2021-03-31T17:01:23.488Z] v0.1.18 [2021-03-31T17:01:23.488Z] v0.1.19 [2021-03-31T17:01:23.488Z] v0.1.2 [2021-03-31T17:01:23.488Z] v0.1.20 [2021-03-31T17:01:23.488Z] v0.1.21 [2021-03-31T17:01:23.488Z] v0.1.22 [2021-03-31T17:01:23.488Z] v0.1.23 [2021-03-31T17:01:23.488Z] v0.1.24 [2021-03-31T17:01:23.488Z] v0.1.25 [2021-03-31T17:01:23.488Z] v0.1.26 [2021-03-31T17:01:23.488Z] v0.1.27 [2021-03-31T17:01:23.488Z] v0.1.28 [2021-03-31T17:01:23.488Z] v0.1.29 [2021-03-31T17:01:23.488Z] v0.1.3 [2021-03-31T17:01:23.488Z] v0.1.30 [2021-03-31T17:01:23.488Z] v0.1.31 [2021-03-31T17:01:23.488Z] v0.1.32 [2021-03-31T17:01:23.488Z] v0.1.33 [2021-03-31T17:01:23.488Z] v0.1.34 [2021-03-31T17:01:23.488Z] v0.1.35 [2021-03-31T17:01:23.488Z] v0.1.36 [2021-03-31T17:01:23.488Z] v0.1.37 [2021-03-31T17:01:23.488Z] v0.1.38 [2021-03-31T17:01:23.488Z] v0.1.39 [2021-03-31T17:01:23.488Z] v0.1.4 [2021-03-31T17:01:23.488Z] v0.1.40 [2021-03-31T17:01:23.488Z] v0.1.41 [2021-03-31T17:01:23.488Z] v0.1.42 [2021-03-31T17:01:23.488Z] v0.1.43 [2021-03-31T17:01:23.488Z] v0.1.44 [2021-03-31T17:01:23.488Z] v0.1.45 [2021-03-31T17:01:23.488Z] v0.1.46 [2021-03-31T17:01:23.488Z] v0.1.47 [2021-03-31T17:01:23.488Z] v0.1.48 [2021-03-31T17:01:23.488Z] v0.1.49 [2021-03-31T17:01:23.488Z] v0.1.5 [2021-03-31T17:01:23.488Z] v0.1.50 [2021-03-31T17:01:23.488Z] v0.1.51 [2021-03-31T17:01:23.488Z] v0.1.52 [2021-03-31T17:01:23.488Z] v0.1.53 [2021-03-31T17:01:23.488Z] v0.1.54 [2021-03-31T17:01:23.488Z] v0.1.55 [2021-03-31T17:01:23.488Z] v0.1.56 [2021-03-31T17:01:23.488Z] v0.1.57 [2021-03-31T17:01:23.488Z] v0.1.58 [2021-03-31T17:01:23.488Z] v0.1.59 [2021-03-31T17:01:23.488Z] v0.1.6 [2021-03-31T17:01:23.488Z] v0.1.60 [2021-03-31T17:01:23.488Z] v0.1.61 [2021-03-31T17:01:23.488Z] v0.1.62 [2021-03-31T17:01:23.488Z] v0.1.63 [2021-03-31T17:01:23.488Z] v0.1.64 [2021-03-31T17:01:23.488Z] v0.1.65 [2021-03-31T17:01:23.488Z] v0.1.66 [2021-03-31T17:01:23.488Z] v0.1.67 [2021-03-31T17:01:23.488Z] v0.1.68 [2021-03-31T17:01:23.488Z] v0.1.69 [2021-03-31T17:01:23.488Z] v0.1.7 [2021-03-31T17:01:23.488Z] v0.1.70 [2021-03-31T17:01:23.488Z] v0.1.71 [2021-03-31T17:01:23.488Z] v0.1.72 [2021-03-31T17:01:23.488Z] v0.1.73 [2021-03-31T17:01:23.488Z] v0.1.74 [2021-03-31T17:01:23.488Z] v0.1.75 [2021-03-31T17:01:23.488Z] v0.1.76 [2021-03-31T17:01:23.488Z] v0.1.77 [2021-03-31T17:01:23.488Z] v0.1.78 [2021-03-31T17:01:23.488Z] v0.1.79 [2021-03-31T17:01:23.488Z] v0.1.8 [2021-03-31T17:01:23.488Z] v0.1.80 [2021-03-31T17:01:23.488Z] v0.1.81 [2021-03-31T17:01:23.488Z] v0.1.82 [2021-03-31T17:01:23.488Z] v0.1.83 [2021-03-31T17:01:23.488Z] v0.1.84 [2021-03-31T17:01:23.488Z] v0.1.85 [2021-03-31T17:01:23.488Z] v0.1.86 [2021-03-31T17:01:23.488Z] v0.1.87 [2021-03-31T17:01:23.488Z] v0.1.88 [2021-03-31T17:01:23.488Z] v0.1.89 [2021-03-31T17:01:23.488Z] v0.1.9 [2021-03-31T17:01:23.488Z] v0.1.90 [2021-03-31T17:01:23.488Z] v0.1.91 [2021-03-31T17:01:23.488Z] v0.1.92 [2021-03-31T17:01:23.488Z] v0.1.93 [2021-03-31T17:01:23.488Z] v0.1.94 [2021-03-31T17:01:23.488Z] v0.1.95 [2021-03-31T17:01:23.488Z] v0.1.96 [2021-03-31T17:01:23.488Z] v0.1.97 [2021-03-31T17:01:23.488Z] v0.1.98 [2021-03-31T17:01:23.488Z] v0.1.99 [2021-03-31T17:01:23.488Z] v2.0.0-dev.1 [2021-03-31T17:01:23.488Z] v2.0.0-dev.10 [2021-03-31T17:01:23.488Z] v2.0.0-dev.11 [2021-03-31T17:01:23.488Z] v2.0.0-dev.12 [2021-03-31T17:01:23.488Z] v2.0.0-dev.13 [2021-03-31T17:01:23.488Z] v2.0.0-dev.14 [2021-03-31T17:01:23.488Z] v2.0.0-dev.15 [2021-03-31T17:01:23.488Z] v2.0.0-dev.16 [2021-03-31T17:01:23.488Z] v2.0.0-dev.17 [2021-03-31T17:01:23.488Z] v2.0.0-dev.18 [2021-03-31T17:01:23.488Z] v2.0.0-dev.19 [2021-03-31T17:01:23.488Z] v2.0.0-dev.2 [2021-03-31T17:01:23.488Z] v2.0.0-dev.20 [2021-03-31T17:01:23.488Z] v2.0.0-dev.21 [2021-03-31T17:01:23.488Z] v2.0.0-dev.22 [2021-03-31T17:01:23.488Z] v2.0.0-dev.23 [2021-03-31T17:01:23.488Z] v2.0.0-dev.24 [2021-03-31T17:01:23.488Z] v2.0.0-dev.25 [2021-03-31T17:01:23.488Z] v2.0.0-dev.26 [2021-03-31T17:01:23.488Z] v2.0.0-dev.27 [2021-03-31T17:01:23.488Z] v2.0.0-dev.28 [2021-03-31T17:01:23.488Z] v2.0.0-dev.29 [2021-03-31T17:01:23.488Z] v2.0.0-dev.3 [2021-03-31T17:01:23.488Z] v2.0.0-dev.30 [2021-03-31T17:01:23.488Z] v2.0.0-dev.31 [2021-03-31T17:01:23.488Z] v2.0.0-dev.32 [2021-03-31T17:01:23.488Z] v2.0.0-dev.33 [2021-03-31T17:01:23.488Z] v2.0.0-dev.34 [2021-03-31T17:01:23.488Z] v2.0.0-dev.35 [2021-03-31T17:01:23.488Z] v2.0.0-dev.36 [2021-03-31T17:01:23.488Z] v2.0.0-dev.37 [2021-03-31T17:01:23.488Z] v2.0.0-dev.38 [2021-03-31T17:01:23.488Z] v2.0.0-dev.39 [2021-03-31T17:01:23.488Z] v2.0.0-dev.4 [2021-03-31T17:01:23.488Z] v2.0.0-dev.40 [2021-03-31T17:01:23.488Z] v2.0.0-dev.41 [2021-03-31T17:01:23.488Z] v2.0.0-dev.42 [2021-03-31T17:01:23.488Z] v2.0.0-dev.43 [2021-03-31T17:01:23.488Z] v2.0.0-dev.44 [2021-03-31T17:01:23.488Z] v2.0.0-dev.45 [2021-03-31T17:01:23.488Z] v2.0.0-dev.46 [2021-03-31T17:01:23.488Z] v2.0.0-dev.47 [2021-03-31T17:01:23.488Z] v2.0.0-dev.48 [2021-03-31T17:01:23.488Z] v2.0.0-dev.49 [2021-03-31T17:01:23.488Z] v2.0.0-dev.5 [2021-03-31T17:01:23.488Z] v2.0.0-dev.50 [2021-03-31T17:01:23.488Z] v2.0.0-dev.51 [2021-03-31T17:01:23.488Z] v2.0.0-dev.52 [2021-03-31T17:01:23.488Z] v2.0.0-dev.53 [2021-03-31T17:01:23.488Z] v2.0.0-dev.54 [2021-03-31T17:01:23.488Z] v2.0.0-dev.55 [2021-03-31T17:01:23.488Z] v2.0.0-dev.56 [2021-03-31T17:01:23.488Z] v2.0.0-dev.57 [2021-03-31T17:01:23.488Z] v2.0.0-dev.58 [2021-03-31T17:01:23.488Z] v2.0.0-dev.59 [2021-03-31T17:01:23.488Z] v2.0.0-dev.6 [2021-03-31T17:01:23.488Z] v2.0.0-dev.60 [2021-03-31T17:01:23.488Z] v2.0.0-dev.61 [2021-03-31T17:01:23.488Z] v2.0.0-dev.62 [2021-03-31T17:01:23.488Z] v2.0.0-dev.63 [2021-03-31T17:01:23.488Z] v2.0.0-dev.7 [2021-03-31T17:01:23.488Z] v2.0.0-dev.8 [2021-03-31T17:01:23.488Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-31T17:01:23.804Z] + lftools sign git-tag v2.0.0-dev.63 [2021-03-31T17:01:25.195Z] Signing Git tag with Sigul... [2021-03-31T17:01:25.195Z] Signing v2.0.0-dev.63 [Pipeline] echo [2021-03-31T17:01:26.160Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:01:26.462Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-31T17:01:26.473Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-31T17:01:26.585Z] $ docker stop --time=1 d86fd7a6837140f680e763c95ed73342d81317da0d98e052cfcbc230dea086e3 [2021-03-31T17:01:28.757Z] $ docker rm -f d86fd7a6837140f680e763c95ed73342d81317da0d98e052cfcbc230dea086e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:01:29.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T17:01:29.702Z] . [Pipeline] withDockerContainer [2021-03-31T17:01:29.825Z] prd-centos7-docker-4c-2g-32280 does not seem to be running inside a container [2021-03-31T17:01:29.878Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_master -v /w/workspace/dry_go-mod-core-contracts_master:/w/workspace/dry_go-mod-core-contracts_master:rw,z -v /w/workspace/dry_go-mod-core-contracts_master@tmp:/w/workspace/dry_go-mod-core-contracts_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-03-31T17:01:30.765Z] $ docker top af852452b2136125781069a1fc5a182b4f053fc3842cb65c52ed40ae11b23351 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T17:01:31.155Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T17:01:31.156Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T17:01:31.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T17:01:31.448Z] $ docker exec af852452b2136125781069a1fc5a182b4f053fc3842cb65c52ed40ae11b23351 ssh-agent [2021-03-31T17:01:31.670Z] SSH_AUTH_SOCK=/tmp/ssh-JF03m1dgqOcP/agent.13 [2021-03-31T17:01:31.670Z] SSH_AGENT_PID=18 [2021-03-31T17:01:31.680Z] Running ssh-add (command line suppressed) [2021-03-31T17:01:31.837Z] Identity added: /w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_5596521715901400103.key (/w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_5596521715901400103.key) [2021-03-31T17:01:31.918Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T17:01:32.261Z] + git semver bump pre [2021-03-31T17:01:32.261Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T17:01:32.261Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_master/.git [2021-03-31T17:01:32.261Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_master [2021-03-31T17:01:32.261Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T17:01:32.261Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T17:01:32.261Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T17:01:32.261Z] # $SEMVER_BRANCH = master [2021-03-31T17:01:32.261Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_master/.semver [2021-03-31T17:01:32.524Z] 2.0.0-dev.64 [Pipeline] } [2021-03-31T17:01:32.538Z] $ docker exec --env ******** --env ******** af852452b2136125781069a1fc5a182b4f053fc3842cb65c52ed40ae11b23351 ssh-agent -k [2021-03-31T17:01:32.681Z] unset SSH_AUTH_SOCK; [2021-03-31T17:01:32.682Z] unset SSH_AGENT_PID; [2021-03-31T17:01:32.682Z] echo Agent pid 18 killed; [2021-03-31T17:01:32.739Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T17:01:33.219Z] + git semver [Pipeline] } [2021-03-31T17:01:33.237Z] $ docker stop --time=1 af852452b2136125781069a1fc5a182b4f053fc3842cb65c52ed40ae11b23351 [2021-03-31T17:01:34.630Z] $ docker rm -f af852452b2136125781069a1fc5a182b4f053fc3842cb65c52ed40ae11b23351 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:01:35.209Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T17:01:35.209Z] . [Pipeline] withDockerContainer [2021-03-31T17:01:35.320Z] prd-centos7-docker-4c-2g-32280 does not seem to be running inside a container [2021-03-31T17:01:35.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_master -v /w/workspace/dry_go-mod-core-contracts_master:/w/workspace/dry_go-mod-core-contracts_master:rw,z -v /w/workspace/dry_go-mod-core-contracts_master@tmp:/w/workspace/dry_go-mod-core-contracts_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-03-31T17:01:36.174Z] $ docker top c37e3e092cc1667bb9fd187c6e84dff719801abcc8b43771e4360189dc85bb3d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T17:01:36.534Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T17:01:36.534Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T17:01:36.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T17:01:36.770Z] $ docker exec c37e3e092cc1667bb9fd187c6e84dff719801abcc8b43771e4360189dc85bb3d ssh-agent [2021-03-31T17:01:36.971Z] SSH_AUTH_SOCK=/tmp/ssh-KpvpJCYCN19p/agent.12 [2021-03-31T17:01:36.971Z] SSH_AGENT_PID=17 [2021-03-31T17:01:36.979Z] Running ssh-add (command line suppressed) [2021-03-31T17:01:37.136Z] Identity added: /w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_3987377905996515079.key (/w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_3987377905996515079.key) [2021-03-31T17:01:37.202Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T17:01:37.543Z] + git semver push [2021-03-31T17:01:37.543Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T17:01:37.543Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_master/.git [2021-03-31T17:01:37.543Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_master [2021-03-31T17:01:37.543Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T17:01:37.543Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T17:01:37.543Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T17:01:37.543Z] # $SEMVER_BRANCH = master [2021-03-31T17:01:37.543Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_master/.semver [Pipeline] } [2021-03-31T17:01:41.779Z] $ docker exec --env ******** --env ******** c37e3e092cc1667bb9fd187c6e84dff719801abcc8b43771e4360189dc85bb3d ssh-agent -k [2021-03-31T17:01:41.907Z] unset SSH_AUTH_SOCK; [2021-03-31T17:01:41.909Z] unset SSH_AGENT_PID; [2021-03-31T17:01:41.909Z] echo Agent pid 17 killed; [2021-03-31T17:01:41.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T17:01:42.489Z] + git semver [Pipeline] } [2021-03-31T17:01:42.507Z] $ docker stop --time=1 c37e3e092cc1667bb9fd187c6e84dff719801abcc8b43771e4360189dc85bb3d [2021-03-31T17:01:43.874Z] $ docker rm -f c37e3e092cc1667bb9fd187c6e84dff719801abcc8b43771e4360189dc85bb3d [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-03-31T17:01:45.554Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:01:46.133Z] ---> package-listing.sh [2021-03-31T17:01:46.133Z] ++ facter osfamily [2021-03-31T17:01:46.133Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-31T17:01:46.133Z] + OS_FAMILY=redhat [2021-03-31T17:01:46.133Z] + workspace=/w/workspace/dry_go-mod-core-contracts_master [2021-03-31T17:01:46.133Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-31T17:01:46.133Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-31T17:01:46.133Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-31T17:01:46.133Z] + PACKAGES=/tmp/packages_start.txt [2021-03-31T17:01:46.133Z] + '[' /w/workspace/dry_go-mod-core-contracts_master ']' [2021-03-31T17:01:46.133Z] + PACKAGES=/tmp/packages_end.txt [2021-03-31T17:01:46.133Z] + case "${OS_FAMILY}" in [2021-03-31T17:01:46.133Z] + rpm -qa [2021-03-31T17:01:46.133Z] + sort [2021-03-31T17:01:51.480Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-31T17:01:51.480Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-31T17:01:51.480Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-31T17:01:51.480Z] + '[' /w/workspace/dry_go-mod-core-contracts_master ']' [2021-03-31T17:01:51.480Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_master/archives/ [2021-03-31T17:01:51.480Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_master/archives/ [Pipeline] echo [2021-03-31T17:01:51.533Z] 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/dry_go-mod-core-contracts_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-31T17:01:51.920Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:01:52.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T17:01:52.310Z] [2021-03-31T17:01:52.310Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:01:52.663Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T17:01:52.664Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-31T17:01:52.664Z] df20fa9351a1: Pulling fs layer [2021-03-31T17:01:52.664Z] 36b3adc4ff6f: Pulling fs layer [2021-03-31T17:01:52.664Z] 8ad3a11d3b57: Pulling fs layer [2021-03-31T17:01:52.664Z] 46f8f816bc3b: Pulling fs layer [2021-03-31T17:01:52.664Z] 93b61091891f: Pulling fs layer [2021-03-31T17:01:52.664Z] 93b9cdb0e59b: Pulling fs layer [2021-03-31T17:01:52.664Z] 5e14af77c1be: Pulling fs layer [2021-03-31T17:01:52.664Z] 01666e4c0597: Pulling fs layer [2021-03-31T17:01:52.664Z] aa168da1d23b: Pulling fs layer [2021-03-31T17:01:52.664Z] 46f8f816bc3b: Waiting [2021-03-31T17:01:52.664Z] 93b61091891f: Waiting [2021-03-31T17:01:52.664Z] 93b9cdb0e59b: Waiting [2021-03-31T17:01:52.664Z] 5e14af77c1be: Waiting [2021-03-31T17:01:52.664Z] 01666e4c0597: Waiting [2021-03-31T17:01:52.664Z] aa168da1d23b: Waiting [2021-03-31T17:01:52.664Z] 36b3adc4ff6f: Verifying Checksum [2021-03-31T17:01:52.664Z] 36b3adc4ff6f: Download complete [2021-03-31T17:01:52.664Z] 46f8f816bc3b: Verifying Checksum [2021-03-31T17:01:52.664Z] 46f8f816bc3b: Download complete [2021-03-31T17:01:52.664Z] df20fa9351a1: Verifying Checksum [2021-03-31T17:01:52.664Z] 93b9cdb0e59b: Verifying Checksum [2021-03-31T17:01:52.664Z] 93b9cdb0e59b: Download complete [2021-03-31T17:01:52.938Z] 5e14af77c1be: Download complete [2021-03-31T17:01:52.938Z] 01666e4c0597: Verifying Checksum [2021-03-31T17:01:52.938Z] 01666e4c0597: Download complete [2021-03-31T17:01:52.938Z] 93b61091891f: Download complete [2021-03-31T17:01:53.205Z] 8ad3a11d3b57: Verifying Checksum [2021-03-31T17:01:53.205Z] 8ad3a11d3b57: Download complete [2021-03-31T17:01:53.205Z] df20fa9351a1: Pull complete [2021-03-31T17:01:53.478Z] 36b3adc4ff6f: Pull complete [2021-03-31T17:01:54.918Z] 8ad3a11d3b57: Pull complete [2021-03-31T17:01:55.502Z] 46f8f816bc3b: Pull complete [2021-03-31T17:01:55.502Z] aa168da1d23b: Verifying Checksum [2021-03-31T17:01:55.502Z] aa168da1d23b: Download complete [2021-03-31T17:01:56.085Z] 93b61091891f: Pull complete [2021-03-31T17:01:56.085Z] 93b9cdb0e59b: Pull complete [2021-03-31T17:01:56.349Z] 5e14af77c1be: Pull complete [2021-03-31T17:01:56.349Z] 01666e4c0597: Pull complete [2021-03-31T17:02:06.447Z] aa168da1d23b: Pull complete [2021-03-31T17:02:06.447Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-31T17:02:06.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T17:02:06.447Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-31T17:02:06.653Z] prd-centos7-docker-4c-2g-32280 does not seem to be running inside a container [2021-03-31T17:02:06.706Z] $ 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/dry_go-mod-core-contracts_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_master -v /w/workspace/dry_go-mod-core-contracts_master:/w/workspace/dry_go-mod-core-contracts_master:rw,z -v /w/workspace/dry_go-mod-core-contracts_master@tmp:/w/workspace/dry_go-mod-core-contracts_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-03-31T17:02:10.321Z] $ docker top 4818e5f9e00fc364187588351f6c78f9ea611c739f90d22c051a862d3709c0b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T17:02:10.847Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-31T17:02:11.149Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-31T17:02:11.452Z] + ls /var/log/sa-host [2021-03-31T17:02:11.452Z] + sadf -c /var/log/sa-host/sa23 [2021-03-31T17:02:11.452Z] file_magic: OK [2021-03-31T17:02:11.452Z] HZ: Using current value: 100 [2021-03-31T17:02:11.452Z] file_header: OK [2021-03-31T17:02:11.452Z] 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-03-31T17:02:11.452Z] Statistics: [2021-03-31T17:02:11.452Z] Hnuu...uuuununununu... [2021-03-31T17:02:11.452Z] File successfully converted to sysstat format version 12.2.1 [2021-03-31T17:02:11.452Z] + sadf -c /var/log/sa-host/sa31 [2021-03-31T17:02:11.452Z] file_magic: OK [2021-03-31T17:02:11.452Z] HZ: Using current value: 100 [2021-03-31T17:02:11.452Z] file_header: OK [2021-03-31T17:02:11.452Z] 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-03-31T17:02:11.452Z] Statistics: [2021-03-31T17:02:11.452Z] 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... [2021-03-31T17:02:11.452Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-31T17:02:11.667Z] provisioning config files... [2021-03-31T17:02:11.681Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_master@tmp/config8679458970074440561tmp [Pipeline] { [Pipeline] echo [2021-03-31T17:02:11.752Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:02:12.054Z] ---> create-netrc.sh [Pipeline] } [2021-03-31T17:02:12.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-31T17:02:12.160Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:02:12.460Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-31T17:02:12.471Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:02:12.774Z] ---> sudo-logs.sh [2021-03-31T17:02:12.774Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-31T17:02:12.852Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:02:13.156Z] ---> job-cost.sh [2021-03-31T17:02:13.156Z] lf-activate-venv: SKIPPING [2021-03-31T17:02:13.156Z] DEBUG: total: 0.029999999329447746 [2021-03-31T17:02:13.156Z] INFO: Retrieving Stack Cost... [2021-03-31T17:02:14.161Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T17:02:14.739Z] INFO: Archiving Costs [Pipeline] echo [2021-03-31T17:02:14.764Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:02:15.069Z] ---> logs-deploy.sh [2021-03-31T17:02:15.069Z] lf-activate-venv: SKIPPING [2021-03-31T17:02:15.069Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/master/182 [2021-03-31T17:02:15.069Z] INFO: archiving workspace using pattern(s): [2021-03-31T17:02:16.996Z] Archives upload complete. [2021-03-31T17:02:16.996Z] INFO: archiving logs to Nexus