Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 488a5d2dcec9569b6e1f549f208990667ea6f792 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-core-contracts, buildImage:false, pushImage:false, semverBump:patch] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-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: patch BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-12807 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.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 488a5d2dcec9569b6e1f549f208990667ea6f792 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 488a5d2dcec9569b6e1f549f208990667ea6f792 # timeout=10 Commit message: "Merge pull request #369 from lenny-intel/logger" > git rev-list --no-walk 08a8892da109e9ec3659fe77bff0cce72e0f9542 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-19T18:50:07.396Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-19T18:50:07.674Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-19T18:50:07.767Z] ========================================================= [2020-11-19T18:50:07.767Z] EdgeX Global Pipelines Version Info [2020-11-19T18:50:07.767Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-19T18:50:09.752Z] ------------------- [2020-11-19T18:50:09.752Z] stable info: [2020-11-19T18:50:09.752Z] ------------------- [2020-11-19T18:50:09.752Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-19T18:50:09.752Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-19T18:50:09.752Z] Message: update stable to v1.0.167 [2020-11-19T18:50:10.328Z] ------------------- [2020-11-19T18:50:10.328Z] experimental info: [2020-11-19T18:50:10.328Z] ------------------- [2020-11-19T18:50:10.328Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-19T18:50:10.328Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-19T18:50:10.328Z] Message: update experimental to v1.0.167 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-19T18:50:10.803Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-11-19T18:50:10.895Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-11-19T18:50:10.992Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-19T18:50:11.089Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-19T18:50:11.200Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-19T18:50:11.292Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-19T18:50:11.382Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-19T18:50:11.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-19T18:50:11.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-19T18:50:11.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-19T18:50:11.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-19T18:50:11.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-11-19T18:50:11.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-19T18:50:12.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-19T18:50:12.187Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-11-19T18:50:12.275Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-11-19T18:50:12.364Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-19T18:50:12.456Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-19T18:50:12.543Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-11-19T18:50:12.629Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-19T18:50:12.719Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-19T18:50:12.847Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-19T18:50:12.936Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-19T18:50:13.042Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-19T18:50:13.129Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-11-19T18:50:13.218Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-19T18:50:13.339Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-11-19T18:50:13.426Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-11-19T18:50:13.515Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-11-19T18:50:13.603Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 488a5d2dcec9569b6e1f549f208990667ea6f792 [Pipeline] echo [2020-11-19T18:50:13.691Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 488a5d2 [Pipeline] echo [2020-11-19T18:50:13.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-19T18:50:14.007Z] provisioning config files... [2020-11-19T18:50:14.068Z] copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/dry_go-mod-core-contracts_master@tmp/config8149561183685632627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-19T18:50:14.486Z] ---> docker-login.sh [2020-11-19T18:50:14.486Z] nexus3.edgexfoundry.org:10001 [2020-11-19T18:50:14.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-19T18:50:15.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-19T18:50:15.365Z] Configure a credential helper to remove this warning. See [2020-11-19T18:50:15.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-19T18:50:15.365Z] [2020-11-19T18:50:15.365Z] Login Succeeded [2020-11-19T18:50:15.365Z] nexus3.edgexfoundry.org:10002 [2020-11-19T18:50:15.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-19T18:50:15.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-19T18:50:15.642Z] Configure a credential helper to remove this warning. See [2020-11-19T18:50:15.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-19T18:50:15.642Z] [2020-11-19T18:50:15.642Z] Login Succeeded [2020-11-19T18:50:15.642Z] nexus3.edgexfoundry.org:10003 [2020-11-19T18:50:15.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-19T18:50:15.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-19T18:50:15.912Z] Configure a credential helper to remove this warning. See [2020-11-19T18:50:15.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-19T18:50:15.912Z] [2020-11-19T18:50:15.912Z] Login Succeeded [2020-11-19T18:50:15.912Z] nexus3.edgexfoundry.org:10004 [2020-11-19T18:50:15.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-19T18:50:16.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-19T18:50:16.187Z] Configure a credential helper to remove this warning. See [2020-11-19T18:50:16.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-19T18:50:16.187Z] [2020-11-19T18:50:16.187Z] Login Succeeded [2020-11-19T18:50:16.187Z] docker.io [2020-11-19T18:50:16.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-19T18:50:16.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-19T18:50:16.452Z] Configure a credential helper to remove this warning. See [2020-11-19T18:50:16.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-19T18:50:16.452Z] [2020-11-19T18:50:16.452Z] Login Succeeded [2020-11-19T18:50:16.452Z] ---> docker-login.sh ends [Pipeline] } [2020-11-19T18:50:16.464Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-19T18:50:17.458Z] + git log --format=format:%s -1 488a5d2dcec9569b6e1f549f208990667ea6f792 [Pipeline] echo [2020-11-19T18:50:17.553Z] GIT_COMMIT: 488a5d2dcec9569b6e1f549f208990667ea6f792, Commit Message: Merge pull request #369 from lenny-intel/logger [Pipeline] echo [2020-11-19T18:50:17.604Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:50:18.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-19T18:50:18.657Z] [2020-11-19T18:50:18.657Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:50:19.139Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-19T18:50:19.139Z] latest: Pulling from edgex-devops/git-semver [2020-11-19T18:50:19.139Z] 31603596830f: Pulling fs layer [2020-11-19T18:50:19.139Z] 2a8b12db71e7: Pulling fs layer [2020-11-19T18:50:19.139Z] 6ca5941a6612: Pulling fs layer [2020-11-19T18:50:19.139Z] ecc8261a40a4: Pulling fs layer [2020-11-19T18:50:19.139Z] ecc8261a40a4: Waiting [2020-11-19T18:50:19.139Z] 2a8b12db71e7: Verifying Checksum [2020-11-19T18:50:19.139Z] 2a8b12db71e7: Download complete [2020-11-19T18:50:19.413Z] 31603596830f: Verifying Checksum [2020-11-19T18:50:19.414Z] 31603596830f: Download complete [2020-11-19T18:50:19.680Z] ecc8261a40a4: Verifying Checksum [2020-11-19T18:50:19.680Z] ecc8261a40a4: Download complete [2020-11-19T18:50:19.680Z] 6ca5941a6612: Verifying Checksum [2020-11-19T18:50:19.680Z] 6ca5941a6612: Download complete [2020-11-19T18:50:20.262Z] 31603596830f: Pull complete [2020-11-19T18:50:20.262Z] 2a8b12db71e7: Pull complete [2020-11-19T18:50:21.668Z] 6ca5941a6612: Pull complete [2020-11-19T18:50:21.668Z] ecc8261a40a4: Pull complete [2020-11-19T18:50:21.668Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-19T18:50:21.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-19T18:50:21.668Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-19T18:50:21.884Z] prd-centos7-docker-4c-2g-12807 does not seem to be running inside a container [2020-11-19T18:50:21.945Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-19T18:50:24.361Z] $ docker top b8c59e443f78b1af7e2c8677f6e492476e708a7305a2a81035851a12c6ef731b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-19T18:50:24.742Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-19T18:50:24.742Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-19T18:50:25.072Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-19T18:50:25.080Z] $ docker exec b8c59e443f78b1af7e2c8677f6e492476e708a7305a2a81035851a12c6ef731b ssh-agent [2020-11-19T18:50:25.297Z] SSH_AUTH_SOCK=/tmp/ssh-CNT21mO9gjZb/agent.12 [2020-11-19T18:50:25.297Z] SSH_AGENT_PID=18 [2020-11-19T18:50:25.401Z] Running ssh-add (command line suppressed) [2020-11-19T18:50:25.561Z] Identity added: /w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_7612937978966667687.key (/w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_7612937978966667687.key) [2020-11-19T18:50:25.658Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-19T18:50:26.055Z] + git tag --points-at HEAD [Pipeline] } [2020-11-19T18:50:26.082Z] $ docker exec --env ******** --env ******** b8c59e443f78b1af7e2c8677f6e492476e708a7305a2a81035851a12c6ef731b ssh-agent -k [2020-11-19T18:50:26.263Z] unset SSH_AUTH_SOCK; [2020-11-19T18:50:26.263Z] unset SSH_AGENT_PID; [2020-11-19T18:50:26.263Z] echo Agent pid 18 killed; [2020-11-19T18:50:26.320Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-19T18:50:26.478Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-19T18:50:26.478Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-19T18:50:26.698Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-19T18:50:26.714Z] $ docker exec b8c59e443f78b1af7e2c8677f6e492476e708a7305a2a81035851a12c6ef731b ssh-agent [2020-11-19T18:50:26.964Z] SSH_AUTH_SOCK=/tmp/ssh-yXt0qZvQQBL2/agent.47 [2020-11-19T18:50:26.964Z] SSH_AGENT_PID=52 [2020-11-19T18:50:26.973Z] Running ssh-add (command line suppressed) [2020-11-19T18:50:27.146Z] Identity added: /w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_5411552547588899245.key (/w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_5411552547588899245.key) [2020-11-19T18:50:27.240Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-19T18:50:27.613Z] + git semver init [2020-11-19T18:50:27.613Z] # -> Open(): unable to determine branch for HEAD [2020-11-19T18:50:27.613Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_master/.git [2020-11-19T18:50:27.613Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_master [2020-11-19T18:50:27.613Z] # $SEMVER_REMOTE_NAME = origin [2020-11-19T18:50:27.613Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-19T18:50:27.613Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-19T18:50:27.613Z] # $SEMVER_BRANCH = master [2020-11-19T18:50:27.613Z] # $SEMVER_TEMP = /tmp/semver-247413681 [2020-11-19T18:50:27.614Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-11-19T18:50:28.191Z] # '/tmp/semver-247413681' -> '/w/workspace/dry_go-mod-core-contracts_master/.semver' [2020-11-19T18:50:28.455Z] # -> Force: false [2020-11-19T18:50:28.456Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_master/.semver [Pipeline] } [2020-11-19T18:50:28.475Z] $ docker exec --env ******** --env ******** b8c59e443f78b1af7e2c8677f6e492476e708a7305a2a81035851a12c6ef731b ssh-agent -k [2020-11-19T18:50:28.615Z] unset SSH_AUTH_SOCK; [2020-11-19T18:50:28.616Z] unset SSH_AGENT_PID; [2020-11-19T18:50:28.616Z] echo Agent pid 52 killed; [2020-11-19T18:50:28.667Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-19T18:50:29.161Z] + git semver [Pipeline] } [2020-11-19T18:50:29.185Z] $ docker stop --time=1 b8c59e443f78b1af7e2c8677f6e492476e708a7305a2a81035851a12c6ef731b [2020-11-19T18:50:30.984Z] $ docker rm -f b8c59e443f78b1af7e2c8677f6e492476e708a7305a2a81035851a12c6ef731b [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-19T18:50:31.523Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-19T18:50:31.973Z] Stashed 1 file(s) [Pipeline] echo [2020-11-19T18:50:31.976Z] [edgeXSemver]: initialized semver on version 0.1.114 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-11-19T18:50:47.587Z] Still waiting to schedule task [2020-11-19T18:50:47.587Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-11-19T18:50:47.589Z] Still waiting to schedule task [2020-11-19T18:50:47.589Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-11-19T18:54:26.768Z] Running on prd-centos7-docker-4c-2g-12809 in /w/workspace/dry_go-mod-core-contracts_master [Pipeline] { [Pipeline] ws [2020-11-19T18:54:26.843Z] Running in /w/workspace/go-mod-core-contracts/80 [Pipeline] { [Pipeline] checkout [2020-11-19T18:54:29.430Z] using credential edgex-jenkins-ssh [2020-11-19T18:54:29.515Z] Cloning the remote Git repository [2020-11-19T18:54:29.543Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-11-19T18:54:29.615Z] > git init /w/workspace/go-mod-core-contracts/80 # timeout=10 [2020-11-19T18:54:29.663Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-11-19T18:54:29.664Z] > git --version # timeout=10 [2020-11-19T18:54:29.671Z] > git --version # 'git version 2.16.5' [2020-11-19T18:54:29.671Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-19T18:54:29.701Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-19T18:54:30.355Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-11-19T18:54:30.362Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-19T18:54:30.374Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-11-19T18:54:30.387Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-11-19T18:54:30.388Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-19T18:54:30.392Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-19T18:54:30.818Z] Checking out Revision 488a5d2dcec9569b6e1f549f208990667ea6f792 (master) [2020-11-19T18:54:30.839Z] > git config core.sparsecheckout # timeout=10 [2020-11-19T18:54:30.848Z] > git checkout -f 488a5d2dcec9569b6e1f549f208990667ea6f792 # timeout=10 [2020-11-19T18:54:34.607Z] Commit message: "Merge pull request #369 from lenny-intel/logger" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-19T18:54:35.773Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-11-19T18:54:36.105Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-19T18:54:36.404Z] + sudo service docker restart [2020-11-19T18:54:36.404Z] + true [2020-11-19T18:54:36.404Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-19T18:54:38.413Z] provisioning config files... [2020-11-19T18:54:38.441Z] copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/go-mod-core-contracts/80@tmp/config1371659057228526436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-19T18:54:38.840Z] ---> docker-login.sh [2020-11-19T18:54:38.840Z] nexus3.edgexfoundry.org:10001 [2020-11-19T18:54:39.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-19T18:54:39.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-19T18:54:39.104Z] Configure a credential helper to remove this warning. See [2020-11-19T18:54:39.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-19T18:54:39.104Z] [2020-11-19T18:54:39.104Z] Login Succeeded [2020-11-19T18:54:39.104Z] nexus3.edgexfoundry.org:10002 [2020-11-19T18:54:39.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-19T18:54:39.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-19T18:54:39.367Z] Configure a credential helper to remove this warning. See [2020-11-19T18:54:39.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-19T18:54:39.367Z] [2020-11-19T18:54:39.367Z] Login Succeeded [2020-11-19T18:54:39.367Z] nexus3.edgexfoundry.org:10003 [2020-11-19T18:54:39.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-19T18:54:39.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-19T18:54:39.630Z] Configure a credential helper to remove this warning. See [2020-11-19T18:54:39.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-19T18:54:39.630Z] [2020-11-19T18:54:39.630Z] Login Succeeded [2020-11-19T18:54:39.630Z] nexus3.edgexfoundry.org:10004 [2020-11-19T18:54:39.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-19T18:54:39.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-19T18:54:39.630Z] Configure a credential helper to remove this warning. See [2020-11-19T18:54:39.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-19T18:54:39.630Z] [2020-11-19T18:54:39.630Z] Login Succeeded [2020-11-19T18:54:39.630Z] docker.io [2020-11-19T18:54:39.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-19T18:54:40.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-19T18:54:40.154Z] Configure a credential helper to remove this warning. See [2020-11-19T18:54:40.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-19T18:54:40.154Z] [2020-11-19T18:54:40.154Z] Login Succeeded [2020-11-19T18:54:40.154Z] ---> docker-login.sh ends [Pipeline] } [2020-11-19T18:54:40.164Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-19T18:54:40.494Z] ========================================================= [2020-11-19T18:54:40.495Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-19T18:54:40.495Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:54:40.862Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-11-19T18:54:40.862Z] Sending build context to Docker daemon 1.832MB [2020-11-19T18:54:40.862Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-11-19T18:54:40.862Z] Step 2/7 : FROM ${BASE} [2020-11-19T18:54:41.125Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-19T18:54:41.125Z] df20fa9351a1: Pulling fs layer [2020-11-19T18:54:41.125Z] ed8968b2872e: Pulling fs layer [2020-11-19T18:54:41.125Z] a92cc7c5fd73: Pulling fs layer [2020-11-19T18:54:41.125Z] e871e8e8d7a9: Pulling fs layer [2020-11-19T18:54:41.125Z] e73272ec9a57: Pulling fs layer [2020-11-19T18:54:41.125Z] 1e910a182e73: Pulling fs layer [2020-11-19T18:54:41.125Z] 4e634b169226: Pulling fs layer [2020-11-19T18:54:41.125Z] e73272ec9a57: Waiting [2020-11-19T18:54:41.125Z] e871e8e8d7a9: Waiting [2020-11-19T18:54:41.125Z] 1e910a182e73: Waiting [2020-11-19T18:54:41.125Z] 4e634b169226: Waiting [2020-11-19T18:54:41.125Z] a92cc7c5fd73: Verifying Checksum [2020-11-19T18:54:41.125Z] a92cc7c5fd73: Download complete [2020-11-19T18:54:41.125Z] ed8968b2872e: Download complete [2020-11-19T18:54:41.125Z] e73272ec9a57: Verifying Checksum [2020-11-19T18:54:41.125Z] e73272ec9a57: Download complete [2020-11-19T18:54:41.125Z] 1e910a182e73: Verifying Checksum [2020-11-19T18:54:41.125Z] 1e910a182e73: Download complete [2020-11-19T18:54:41.388Z] df20fa9351a1: Verifying Checksum [2020-11-19T18:54:41.388Z] df20fa9351a1: Download complete [2020-11-19T18:54:41.650Z] df20fa9351a1: Pull complete [2020-11-19T18:54:41.650Z] ed8968b2872e: Pull complete [2020-11-19T18:54:41.913Z] a92cc7c5fd73: Pull complete [2020-11-19T18:54:43.306Z] 4e634b169226: Verifying Checksum [2020-11-19T18:54:43.885Z] e871e8e8d7a9: Download complete [2020-11-19T18:54:50.527Z] e871e8e8d7a9: Pull complete [2020-11-19T18:54:50.527Z] e73272ec9a57: Pull complete [2020-11-19T18:54:50.527Z] 1e910a182e73: Pull complete [2020-11-19T18:54:54.768Z] 4e634b169226: Pull complete [2020-11-19T18:54:54.768Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-19T18:54:54.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-19T18:54:54.768Z] ---> f7629b54cfaa [2020-11-19T18:54:54.768Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-19T18:54:54.768Z] ---> Running in c8f3500589ef [2020-11-19T18:54:54.768Z] Removing intermediate container c8f3500589ef [2020-11-19T18:54:54.768Z] ---> 302c8b1a0807 [2020-11-19T18:54:54.768Z] Step 4/7 : RUN apk add bash [2020-11-19T18:54:54.768Z] ---> Running in fa9440b2a154 [2020-11-19T18:54:55.341Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-19T18:54:55.916Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-19T18:54:56.490Z] OK: 166 MiB in 39 packages [2020-11-19T18:54:57.068Z] Removing intermediate container fa9440b2a154 [2020-11-19T18:54:57.068Z] ---> 5c4891536730 [2020-11-19T18:54:57.068Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-11-19T18:54:57.068Z] ---> Running in b622d80765ff [2020-11-19T18:54:57.332Z] Removing intermediate container b622d80765ff [2020-11-19T18:54:57.332Z] ---> b70d0914cdc7 [2020-11-19T18:54:57.332Z] Step 6/7 : COPY go.mod . [2020-11-19T18:54:57.332Z] ---> b7d8949eb2bd [2020-11-19T18:54:57.332Z] Step 7/7 : RUN go mod download [2020-11-19T18:54:57.594Z] ---> Running in 5362814e0028 [2020-11-19T18:55:09.869Z] Removing intermediate container 5362814e0028 [2020-11-19T18:55:09.869Z] ---> 62a5814ad210 [2020-11-19T18:55:09.869Z] Successfully built 62a5814ad210 [2020-11-19T18:55:09.869Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:55:10.217Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-19T18:55:10.217Z] . [Pipeline] withDockerContainer [2020-11-19T18:55:10.338Z] prd-centos7-docker-4c-2g-12809 does not seem to be running inside a container [2020-11-19T18:55:10.398Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/80 -v /w/workspace/go-mod-core-contracts/80:/w/workspace/go-mod-core-contracts/80:rw,z -v /w/workspace/go-mod-core-contracts/80@tmp:/w/workspace/go-mod-core-contracts/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-19T18:55:11.236Z] $ docker top 45ead1d09e03baec6aa36e9939c05e8d71d252c600a580ddd23995124b35c603 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-19T18:55:11.748Z] + go version [2020-11-19T18:55:11.748Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-19T18:55:11.764Z] $ docker stop --time=1 45ead1d09e03baec6aa36e9939c05e8d71d252c600a580ddd23995124b35c603 [2020-11-19T18:55:13.095Z] $ docker rm -f 45ead1d09e03baec6aa36e9939c05e8d71d252c600a580ddd23995124b35c603 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:55:14.117Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-19T18:55:14.117Z] . [Pipeline] withDockerContainer [2020-11-19T18:55:14.217Z] prd-centos7-docker-4c-2g-12809 does not seem to be running inside a container [2020-11-19T18:55:14.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/80 -v /w/workspace/go-mod-core-contracts/80:/w/workspace/go-mod-core-contracts/80:rw,z -v /w/workspace/go-mod-core-contracts/80@tmp:/w/workspace/go-mod-core-contracts/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-19T18:55:14.851Z] $ docker top 42cb2ff1338977900e35025f372965c22e63079a1333ee8ebefd4b14c8ff5de4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-19T18:55:15.337Z] + make test [2020-11-19T18:55:15.337Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-11-19T18:55:22.039Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-11-19T18:55:22.039Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.012s coverage: 85.7% of statements [2020-11-19T18:55:22.039Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.018s coverage: 100.0% of statements [2020-11-19T18:55:22.629Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.018s coverage: 45.4% of statements [2020-11-19T18:55:22.629Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.013s coverage: 77.8% of statements [2020-11-19T18:55:22.629Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-11-19T18:55:22.629Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.010s coverage: 6.6% of statements [2020-11-19T18:55:22.903Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.016s coverage: 14.7% of statements [2020-11-19T18:55:22.904Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12810 in /w/workspace/dry_go-mod-core-contracts_master [Pipeline] { [Pipeline] ws [2020-11-19T18:55:22.989Z] Running in /w/workspace/go-mod-core-contracts/80 [Pipeline] { [Pipeline] checkout [2020-11-19T18:55:23.179Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.053s coverage: 100.0% of statements [2020-11-19T18:55:23.469Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.031s coverage: 91.8% of statements [2020-11-19T18:55:23.469Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-11-19T18:55:23.469Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-11-19T18:55:23.469Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.024s coverage: 100.0% of statements [2020-11-19T18:55:24.430Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.007s coverage: 47.8% of statements [2020-11-19T18:55:26.404Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.025s coverage: 63.0% of statements [2020-11-19T18:55:26.404Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.004s coverage: 26.3% of statements [2020-11-19T18:55:26.404Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.005s coverage: 15.4% of statements [2020-11-19T18:55:26.404Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.013s coverage: 15.4% of statements [2020-11-19T18:55:26.404Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.006s coverage: 14.3% of statements [2020-11-19T18:55:26.404Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-11-19T18:55:26.404Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.036s coverage: 81.0% of statements [2020-11-19T18:55:26.404Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-11-19T18:55:26.404Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-11-19T18:55:26.404Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.016s coverage: 29.1% of statements [2020-11-19T18:55:26.404Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.025s coverage: 100.0% of statements [2020-11-19T18:55:26.667Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.015s coverage: 94.4% of statements [2020-11-19T18:55:26.667Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.007s coverage: 100.0% of statements [2020-11-19T18:55:26.667Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-11-19T18:55:26.929Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-19T18:55:27.865Z] using credential edgex-jenkins-ssh [2020-11-19T18:55:27.994Z] Cloning the remote Git repository [2020-11-19T18:55:28.056Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-11-19T18:55:28.348Z] gofmt -l . [2020-11-19T18:55:28.348Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-11-19T18:55:28.626Z] $ docker stop --time=1 42cb2ff1338977900e35025f372965c22e63079a1333ee8ebefd4b14c8ff5de4 [2020-11-19T18:55:28.188Z] > git init /w/workspace/go-mod-core-contracts/80 # timeout=10 [2020-11-19T18:55:28.258Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-11-19T18:55:28.259Z] > git --version # timeout=10 [2020-11-19T18:55:28.273Z] > git --version # 'git version 2.17.1' [2020-11-19T18:55:28.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-19T18:55:28.325Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-19T18:55:29.238Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-11-19T18:55:29.260Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-19T18:55:29.298Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-11-19T18:55:29.857Z] Checking out Revision 488a5d2dcec9569b6e1f549f208990667ea6f792 (master) [2020-11-19T18:55:29.332Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-11-19T18:55:29.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-19T18:55:29.345Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-19T18:55:29.877Z] > git config core.sparsecheckout # timeout=10 [2020-11-19T18:55:29.890Z] > git checkout -f 488a5d2dcec9569b6e1f549f208990667ea6f792 # timeout=10 [2020-11-19T18:55:30.813Z] $ docker rm -f 42cb2ff1338977900e35025f372965c22e63079a1333ee8ebefd4b14c8ff5de4 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-19T18:55:31.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-19T18:55:31.739Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-19T18:55:34.352Z] Commit message: "Merge pull request #369 from lenny-intel/logger" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-19T18:55:35.896Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-11-19T18:55:36.348Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-19T18:55:36.697Z] + sudo service docker restart [2020-11-19T18:55:36.697Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-19T18:55:39.459Z] provisioning config files... [2020-11-19T18:55:39.500Z] copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/go-mod-core-contracts/80@tmp/config5612968234286989351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-19T18:55:39.908Z] ---> docker-login.sh [2020-11-19T18:55:39.908Z] nexus3.edgexfoundry.org:10001 [2020-11-19T18:55:40.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-19T18:55:41.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-19T18:55:41.164Z] Configure a credential helper to remove this warning. See [2020-11-19T18:55:41.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-19T18:55:41.164Z] [2020-11-19T18:55:41.164Z] Login Succeeded [2020-11-19T18:55:41.164Z] nexus3.edgexfoundry.org:10002 [2020-11-19T18:55:41.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-19T18:55:41.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-19T18:55:41.711Z] Configure a credential helper to remove this warning. See [2020-11-19T18:55:41.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-19T18:55:41.711Z] [2020-11-19T18:55:41.711Z] Login Succeeded [2020-11-19T18:55:41.711Z] nexus3.edgexfoundry.org:10003 [2020-11-19T18:55:41.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-19T18:55:42.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-19T18:55:42.259Z] Configure a credential helper to remove this warning. See [2020-11-19T18:55:42.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-19T18:55:42.259Z] [2020-11-19T18:55:42.259Z] Login Succeeded [2020-11-19T18:55:42.259Z] nexus3.edgexfoundry.org:10004 [2020-11-19T18:55:42.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-19T18:55:42.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-19T18:55:42.855Z] Configure a credential helper to remove this warning. See [2020-11-19T18:55:42.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-19T18:55:42.855Z] [2020-11-19T18:55:42.855Z] Login Succeeded [2020-11-19T18:55:42.855Z] docker.io [2020-11-19T18:55:43.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-19T18:55:43.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-19T18:55:43.723Z] Configure a credential helper to remove this warning. See [2020-11-19T18:55:43.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-19T18:55:43.723Z] [2020-11-19T18:55:43.723Z] Login Succeeded [2020-11-19T18:55:43.723Z] ---> docker-login.sh ends [Pipeline] } [2020-11-19T18:55:43.739Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-19T18:55:44.242Z] ========================================================= [2020-11-19T18:55:44.242Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-19T18:55:44.242Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:55:44.624Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-11-19T18:55:45.228Z] Sending build context to Docker daemon 1.832MB [2020-11-19T18:55:45.228Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2020-11-19T18:55:45.228Z] Step 2/7 : FROM ${BASE} [2020-11-19T18:55:45.228Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-19T18:55:45.228Z] b538f80385f9: Pulling fs layer [2020-11-19T18:55:45.228Z] 74f711af9a0d: Pulling fs layer [2020-11-19T18:55:45.228Z] 99f96fe45779: Pulling fs layer [2020-11-19T18:55:45.228Z] 8529a6b9a6be: Pulling fs layer [2020-11-19T18:55:45.228Z] 45590311c82a: Pulling fs layer [2020-11-19T18:55:45.228Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-19T18:55:45.228Z] 209524e5b208: Pulling fs layer [2020-11-19T18:55:45.228Z] 8529a6b9a6be: Waiting [2020-11-19T18:55:45.228Z] 45590311c82a: Waiting [2020-11-19T18:55:45.228Z] 69ca0ff8b7b3: Waiting [2020-11-19T18:55:45.228Z] 209524e5b208: Waiting [2020-11-19T18:55:45.228Z] 99f96fe45779: Download complete [2020-11-19T18:55:45.228Z] 74f711af9a0d: Download complete [2020-11-19T18:55:45.228Z] 45590311c82a: Verifying Checksum [2020-11-19T18:55:45.228Z] 45590311c82a: Download complete [2020-11-19T18:55:45.503Z] b538f80385f9: Verifying Checksum [2020-11-19T18:55:45.503Z] b538f80385f9: Download complete [2020-11-19T18:55:45.503Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-19T18:55:45.503Z] 69ca0ff8b7b3: Download complete [2020-11-19T18:55:46.114Z] b538f80385f9: Pull complete [2020-11-19T18:55:46.731Z] 74f711af9a0d: Pull complete [2020-11-19T18:55:47.007Z] 99f96fe45779: Pull complete [2020-11-19T18:55:47.609Z] 209524e5b208: Verifying Checksum [2020-11-19T18:55:47.609Z] 209524e5b208: Download complete [2020-11-19T18:55:49.042Z] 8529a6b9a6be: Verifying Checksum [2020-11-19T18:55:49.042Z] 8529a6b9a6be: Download complete [2020-11-19T18:55:59.209Z] 8529a6b9a6be: Pull complete [2020-11-19T18:55:59.483Z] 45590311c82a: Pull complete [2020-11-19T18:56:00.084Z] 69ca0ff8b7b3: Pull complete [2020-11-19T18:56:03.483Z] 209524e5b208: Pull complete [2020-11-19T18:56:03.756Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-19T18:56:03.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-19T18:56:03.756Z] ---> 5bddaf1c2fca [2020-11-19T18:56:03.756Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-11-19T18:56:07.157Z] ---> Running in b2158c8af41e [2020-11-19T18:56:07.157Z] Removing intermediate container b2158c8af41e [2020-11-19T18:56:07.157Z] ---> 35d2f5840441 [2020-11-19T18:56:07.157Z] Step 4/7 : RUN apk add bash [2020-11-19T18:56:07.157Z] ---> Running in 6dfaf1d7cc5f [2020-11-19T18:56:08.595Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-19T18:56:09.572Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-19T18:56:10.181Z] OK: 142 MiB in 39 packages [2020-11-19T18:56:11.644Z] Removing intermediate container 6dfaf1d7cc5f [2020-11-19T18:56:11.644Z] ---> a2c8e723d74d [2020-11-19T18:56:11.644Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-11-19T18:56:11.644Z] ---> Running in 148eaad24d37 [2020-11-19T18:56:12.239Z] Removing intermediate container 148eaad24d37 [2020-11-19T18:56:12.239Z] ---> 41ff50aeb603 [2020-11-19T18:56:12.239Z] Step 6/7 : COPY go.mod . [2020-11-19T18:56:12.835Z] ---> 294dc10c3cc6 [2020-11-19T18:56:12.835Z] Step 7/7 : RUN go mod download [2020-11-19T18:56:12.835Z] ---> Running in fc939a1fb3b0 [2020-11-19T18:56:27.927Z] Removing intermediate container fc939a1fb3b0 [2020-11-19T18:56:27.927Z] ---> a5ecf5aeccc8 [2020-11-19T18:56:27.927Z] Successfully built a5ecf5aeccc8 [2020-11-19T18:56:27.927Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:56:28.272Z] + docker inspect -f . ci-base-image-arm64 [2020-11-19T18:56:28.272Z] . [Pipeline] withDockerContainer [2020-11-19T18:56:28.548Z] prd-ubuntu18.04-docker-arm64-4c-16g-12810 does not seem to be running inside a container [2020-11-19T18:56:28.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/80 -v /w/workspace/go-mod-core-contracts/80:/w/workspace/go-mod-core-contracts/80:rw,z -v /w/workspace/go-mod-core-contracts/80@tmp:/w/workspace/go-mod-core-contracts/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-19T18:56:30.500Z] $ docker top 294cbc4fee7e1f374c11365251fa6c0a4fc793695949717f46d73fb6f4330c7c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-19T18:56:32.036Z] + go version [2020-11-19T18:56:32.036Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-19T18:56:32.104Z] $ docker stop --time=1 294cbc4fee7e1f374c11365251fa6c0a4fc793695949717f46d73fb6f4330c7c [2020-11-19T18:56:34.112Z] $ docker rm -f 294cbc4fee7e1f374c11365251fa6c0a4fc793695949717f46d73fb6f4330c7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:56:35.149Z] + docker inspect -f . ci-base-image-arm64 [2020-11-19T18:56:35.150Z] . [Pipeline] withDockerContainer [2020-11-19T18:56:35.417Z] prd-ubuntu18.04-docker-arm64-4c-16g-12810 does not seem to be running inside a container [2020-11-19T18:56:35.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/80 -v /w/workspace/go-mod-core-contracts/80:/w/workspace/go-mod-core-contracts/80:rw,z -v /w/workspace/go-mod-core-contracts/80@tmp:/w/workspace/go-mod-core-contracts/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-19T18:56:37.462Z] $ docker top 04eb90c6ab14bbbf8fac9e8ab3d7d4d2da9dfeea4008eb437311065cd144c223 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-19T18:56:38.885Z] + make test [2020-11-19T18:56:38.885Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-11-19T18:57:01.074Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-11-19T18:57:01.074Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.037s coverage: 85.7% of statements [2020-11-19T18:57:01.074Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.051s coverage: 100.0% of statements [2020-11-19T18:57:03.053Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.040s coverage: 45.4% of statements [2020-11-19T18:57:03.053Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.036s coverage: 77.8% of statements [2020-11-19T18:57:03.053Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-11-19T18:57:03.053Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.013s coverage: 6.6% of statements [2020-11-19T18:57:04.497Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.056s coverage: 14.7% of statements [2020-11-19T18:57:04.497Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.041s coverage: 100.0% of statements [2020-11-19T18:57:05.945Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.075s coverage: 91.8% of statements [2020-11-19T18:57:05.945Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-11-19T18:57:05.945Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-11-19T18:57:05.945Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.027s coverage: 100.0% of statements [2020-11-19T18:57:06.543Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.014s coverage: 47.8% of statements [2020-11-19T18:57:11.961Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.094s coverage: 63.0% of statements [2020-11-19T18:57:11.961Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.009s coverage: 26.3% of statements [2020-11-19T18:57:11.961Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.054s coverage: 15.4% of statements [2020-11-19T18:57:11.961Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.026s coverage: 15.4% of statements [2020-11-19T18:57:11.961Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.036s coverage: 14.3% of statements [2020-11-19T18:57:11.961Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-11-19T18:57:12.235Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.071s coverage: 81.0% of statements [2020-11-19T18:57:12.236Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2020-11-19T18:57:12.236Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2020-11-19T18:57:13.224Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.054s coverage: 29.1% of statements [2020-11-19T18:57:13.224Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.088s coverage: 100.0% of statements [2020-11-19T18:57:14.662Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.056s coverage: 94.4% of statements [2020-11-19T18:57:14.662Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.022s coverage: 100.0% of statements [2020-11-19T18:57:14.662Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-11-19T18:57:14.662Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-19T18:57:18.999Z] gofmt -l . [2020-11-19T18:57:19.275Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2020-11-19T18:57:19.903Z] $ docker stop --time=1 04eb90c6ab14bbbf8fac9e8ab3d7d4d2da9dfeea4008eb437311065cd144c223 [2020-11-19T18:57:22.158Z] $ docker rm -f 04eb90c6ab14bbbf8fac9e8ab3d7d4d2da9dfeea4008eb437311065cd144c223 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-19T18:57:23.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-19T18:57:23.128Z] Warning: overwriting stash ‘coverage-report’ [2020-11-19T18:57:24.220Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-11-19T18:57:26.291Z] provisioning config files... [2020-11-19T18:57:26.305Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_master@tmp/config6041903305290357683tmp [Pipeline] { [Pipeline] sh [2020-11-19T18:57:26.707Z] + set +x [2020-11-19T18:57:26.707Z] + curl -s https://codecov.io/bash [2020-11-19T18:57:26.707Z] + bash -s -- [2020-11-19T18:57:26.969Z] [2020-11-19T18:57:26.969Z] _____ _ [2020-11-19T18:57:26.969Z] / ____| | | [2020-11-19T18:57:26.969Z] | | ___ __| | ___ ___ _____ __ [2020-11-19T18:57:26.969Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-19T18:57:26.969Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-19T18:57:26.969Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-19T18:57:26.969Z] Bash-20201116-eea08d9 [2020-11-19T18:57:26.969Z] [2020-11-19T18:57:26.969Z] [2020-11-19T18:57:26.969Z] ==> Jenkins CI detected. [2020-11-19T18:57:26.969Z] project root: . [2020-11-19T18:57:26.969Z] --> token set from env [2020-11-19T18:57:26.969Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-19T18:57:26.969Z] ==> Running gcov in . (disable via -X gcov) [2020-11-19T18:57:26.969Z] ==> Python coveragepy not found [2020-11-19T18:57:26.969Z] ==> Searching for coverage reports in: [2020-11-19T18:57:26.969Z] + . [2020-11-19T18:57:26.969Z] -> Found 1 reports [2020-11-19T18:57:26.969Z] ==> Detecting git/mercurial file structure [2020-11-19T18:57:26.969Z] ==> Reading reports [2020-11-19T18:57:26.969Z] + ./coverage.out bytes=106870 [2020-11-19T18:57:26.969Z] ==> Appending adjustments [2020-11-19T18:57:26.969Z] https://docs.codecov.io/docs/fixing-reports [2020-11-19T18:57:27.931Z] + Found adjustments [2020-11-19T18:57:27.931Z] ==> Gzipping contents [2020-11-19T18:57:27.931Z] ==> Uploading reports [2020-11-19T18:57:27.931Z] url: https://codecov.io [2020-11-19T18:57:27.931Z] query: branch=master&commit=488a5d2dcec9569b6e1f549f208990667ea6f792&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2Fmaster%2F80%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-19T18:57:27.931Z] -> Pinging Codecov [2020-11-19T18:57:27.931Z] https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=master&commit=488a5d2dcec9569b6e1f549f208990667ea6f792&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2Fmaster%2F80%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-19T18:57:28.880Z] -> Uploading to [2020-11-19T18:57:28.881Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-19/71470A77251A30514AAF9C0BB2E5B6CE/488a5d2dcec9569b6e1f549f208990667ea6f792/82ef1dfb-5a76-457e-8a62-45f0efbed582.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201119T185728Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3b4c34ad110532152cc26fbe348af6d72faff09c21f0f6e9db9fdf869e15ab8 [2020-11-19T18:57:28.881Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-19T18:57:28.881Z] Dload Upload Total Spent Left Speed [2020-11-19T18:57:29.143Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17252 0 0 100 17252 0 38445 --:--:-- --:--:-- --:--:-- 38508 [2020-11-19T18:57:29.143Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/488a5d2dcec9569b6e1f549f208990667ea6f792 [Pipeline] } [2020-11-19T18:57:29.154Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-11-19T18:57:31.226Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-11-19T18:57:31.277Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:57:31.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-19T18:57:31.635Z] [2020-11-19T18:57:31.635Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:57:31.995Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-19T18:57:31.995Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-11-19T18:57:31.995Z] 188c0c94c7c5: Pulling fs layer [2020-11-19T18:57:31.995Z] 0ef7d3d256c8: Pulling fs layer [2020-11-19T18:57:31.995Z] de9db76c5a1d: Pulling fs layer [2020-11-19T18:57:31.995Z] 0eba1c9be4d2: Pulling fs layer [2020-11-19T18:57:31.995Z] 0d57e429df01: Pulling fs layer [2020-11-19T18:57:31.995Z] 4e4be7b47b0d: Pulling fs layer [2020-11-19T18:57:31.995Z] e1f770b5df2f: Pulling fs layer [2020-11-19T18:57:31.995Z] 85a0685a4137: Pulling fs layer [2020-11-19T18:57:31.995Z] 4e4be7b47b0d: Waiting [2020-11-19T18:57:31.995Z] e1f770b5df2f: Waiting [2020-11-19T18:57:31.995Z] 85a0685a4137: Waiting [2020-11-19T18:57:31.995Z] 0d57e429df01: Waiting [2020-11-19T18:57:31.995Z] 0eba1c9be4d2: Waiting [2020-11-19T18:57:31.995Z] de9db76c5a1d: Verifying Checksum [2020-11-19T18:57:31.995Z] de9db76c5a1d: Download complete [2020-11-19T18:57:31.995Z] 0ef7d3d256c8: Verifying Checksum [2020-11-19T18:57:31.995Z] 0ef7d3d256c8: Download complete [2020-11-19T18:57:31.995Z] 4e4be7b47b0d: Verifying Checksum [2020-11-19T18:57:31.995Z] 4e4be7b47b0d: Download complete [2020-11-19T18:57:32.261Z] 188c0c94c7c5: Download complete [2020-11-19T18:57:32.525Z] 188c0c94c7c5: Pull complete [2020-11-19T18:57:32.791Z] 0ef7d3d256c8: Pull complete [2020-11-19T18:57:32.791Z] de9db76c5a1d: Pull complete [2020-11-19T18:57:33.742Z] e1f770b5df2f: Verifying Checksum [2020-11-19T18:57:33.742Z] e1f770b5df2f: Download complete [2020-11-19T18:57:35.696Z] 0eba1c9be4d2: Verifying Checksum [2020-11-19T18:57:35.696Z] 0eba1c9be4d2: Download complete [2020-11-19T18:57:36.289Z] 85a0685a4137: Verifying Checksum [2020-11-19T18:57:36.289Z] 85a0685a4137: Download complete [2020-11-19T18:57:42.996Z] 0eba1c9be4d2: Pull complete [2020-11-19T18:57:42.996Z] 0d57e429df01: Pull complete [2020-11-19T18:57:42.996Z] 4e4be7b47b0d: Pull complete [2020-11-19T18:57:44.931Z] e1f770b5df2f: Pull complete [2020-11-19T18:57:53.184Z] 85a0685a4137: Pull complete [2020-11-19T18:57:53.184Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-11-19T18:57:53.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-19T18:57:53.184Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-11-19T18:57:53.506Z] prd-centos7-docker-4c-2g-12807 does not seem to be running inside a container [2020-11-19T18:57:53.569Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-19T18:57:54.645Z] $ docker top f66fa43d6f7b88a9ae9f85835b8ee116b3991ce2177c0a0df914b6eb7b2be283 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-11-19T18:57:54.897Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-11-19T18:57:55.193Z] + set -o pipefail [2020-11-19T18:57:55.193Z] + snyk monitor '--org=edgex-jenkins' [2020-11-19T18:58:10.148Z] [2020-11-19T18:58:10.148Z] Monitoring /w/workspace/dry_go-mod-core-contracts_master (github.com/edgexfoundry/go-mod-core-contracts)... [2020-11-19T18:58:10.148Z] [2020-11-19T18:58:10.148Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/243e2960-7ed5-4b5f-91e0-06a7d6b193d0/history/a8c0c7bf-e0af-430f-8aca-3615ebfccd93 [2020-11-19T18:58:10.148Z] [2020-11-19T18:58:10.148Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-11-19T18:58:10.148Z] [2020-11-19T18:58:10.148Z] [2020-11-19T18:58:10.148Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2020-11-19T18:58:10.148Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-11-19T18:58:10.180Z] $ docker stop --time=1 f66fa43d6f7b88a9ae9f85835b8ee116b3991ce2177c0a0df914b6eb7b2be283 [2020-11-19T18:58:12.957Z] $ docker rm -f f66fa43d6f7b88a9ae9f85835b8ee116b3991ce2177c0a0df914b6eb7b2be283 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2020-11-19T18:58:14.810Z] + git log --format=format:%s -1 488a5d2dcec9569b6e1f549f208990667ea6f792 [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:58:15.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-19T18:58:15.123Z] . [Pipeline] withDockerContainer [2020-11-19T18:58:15.228Z] prd-centos7-docker-4c-2g-12807 does not seem to be running inside a container [2020-11-19T18:58:15.280Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-19T18:58:16.210Z] $ docker top c20342635d10695d032c1e37880a96367d97cf11d805fff210cde6c5122aa337 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-19T18:58:16.581Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-19T18:58:16.581Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-19T18:58:16.858Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-19T18:58:16.863Z] $ docker exec c20342635d10695d032c1e37880a96367d97cf11d805fff210cde6c5122aa337 ssh-agent [2020-11-19T18:58:17.051Z] SSH_AUTH_SOCK=/tmp/ssh-byavnmRyk4L9/agent.11 [2020-11-19T18:58:17.051Z] SSH_AGENT_PID=17 [2020-11-19T18:58:17.060Z] Running ssh-add (command line suppressed) [2020-11-19T18:58:17.205Z] Identity added: /w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_7054434612003946967.key (/w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_7054434612003946967.key) [2020-11-19T18:58:17.260Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-19T18:58:17.630Z] + git semver tag [2020-11-19T18:58:17.630Z] # -> Open(): unable to determine branch for HEAD [2020-11-19T18:58:17.630Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_master/.git [2020-11-19T18:58:17.630Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_master [2020-11-19T18:58:17.630Z] # $SEMVER_REMOTE_NAME = origin [2020-11-19T18:58:17.630Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-19T18:58:17.630Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-19T18:58:17.630Z] # $SEMVER_BRANCH = master [2020-11-19T18:58:17.630Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_master/.semver [2020-11-19T18:58:17.630Z] # 488a5d2dcec9569b6e1f549f208990667ea6f792 HEAD [2020-11-19T18:58:17.893Z] # -> Force: false [2020-11-19T18:58:17.893Z] # bc7f6c067061bdc5c9283b622e635f14fd804bd4 refs/tags/v0.1.114 [Pipeline] } [2020-11-19T18:58:17.908Z] $ docker exec --env ******** --env ******** c20342635d10695d032c1e37880a96367d97cf11d805fff210cde6c5122aa337 ssh-agent -k [2020-11-19T18:58:18.063Z] unset SSH_AUTH_SOCK; [2020-11-19T18:58:18.063Z] unset SSH_AGENT_PID; [2020-11-19T18:58:18.063Z] echo Agent pid 17 killed; [2020-11-19T18:58:18.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-19T18:58:18.616Z] + git semver [Pipeline] } [2020-11-19T18:58:18.635Z] $ docker stop --time=1 c20342635d10695d032c1e37880a96367d97cf11d805fff210cde6c5122aa337 [2020-11-19T18:58:20.013Z] $ docker rm -f c20342635d10695d032c1e37880a96367d97cf11d805fff210cde6c5122aa337 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:58:20.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-19T18:58:20.760Z] [2020-11-19T18:58:20.761Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:58:21.125Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-19T18:58:21.125Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-11-19T18:58:21.125Z] ab5ef0e58194: Pulling fs layer [2020-11-19T18:58:21.125Z] 9712f1f96733: Pulling fs layer [2020-11-19T18:58:21.125Z] 63f879dbbcfc: Pulling fs layer [2020-11-19T18:58:21.125Z] 0d9ebad4ef96: Pulling fs layer [2020-11-19T18:58:21.125Z] e9a5061849ea: Pulling fs layer [2020-11-19T18:58:21.125Z] d747dcd14b5f: Pulling fs layer [2020-11-19T18:58:21.125Z] 2de7ff778b66: Pulling fs layer [2020-11-19T18:58:21.125Z] 0d9ebad4ef96: Waiting [2020-11-19T18:58:21.125Z] e9a5061849ea: Waiting [2020-11-19T18:58:21.125Z] d747dcd14b5f: Waiting [2020-11-19T18:58:21.125Z] 2de7ff778b66: Waiting [2020-11-19T18:58:21.125Z] 9712f1f96733: Verifying Checksum [2020-11-19T18:58:21.125Z] 9712f1f96733: Download complete [2020-11-19T18:58:23.062Z] 63f879dbbcfc: Verifying Checksum [2020-11-19T18:58:23.062Z] 63f879dbbcfc: Download complete [2020-11-19T18:58:23.062Z] e9a5061849ea: Verifying Checksum [2020-11-19T18:58:23.062Z] e9a5061849ea: Download complete [2020-11-19T18:58:23.062Z] d747dcd14b5f: Verifying Checksum [2020-11-19T18:58:23.062Z] d747dcd14b5f: Download complete [2020-11-19T18:58:23.650Z] 2de7ff778b66: Verifying Checksum [2020-11-19T18:58:23.650Z] 2de7ff778b66: Download complete [2020-11-19T18:58:23.917Z] 0d9ebad4ef96: Verifying Checksum [2020-11-19T18:58:23.917Z] 0d9ebad4ef96: Download complete [2020-11-19T18:58:24.187Z] ab5ef0e58194: Verifying Checksum [2020-11-19T18:58:24.187Z] ab5ef0e58194: Download complete [2020-11-19T18:58:28.463Z] ab5ef0e58194: Pull complete [2020-11-19T18:58:28.730Z] 9712f1f96733: Pull complete [2020-11-19T18:58:32.069Z] 63f879dbbcfc: Pull complete [2020-11-19T18:58:38.981Z] 0d9ebad4ef96: Pull complete [2020-11-19T18:58:40.390Z] e9a5061849ea: Pull complete [2020-11-19T18:58:40.390Z] d747dcd14b5f: Pull complete [2020-11-19T18:58:44.672Z] 2de7ff778b66: Pull complete [2020-11-19T18:58:44.672Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-11-19T18:58:44.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-19T18:58:44.672Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-11-19T18:58:44.919Z] prd-centos7-docker-4c-2g-12807 does not seem to be running inside a container [2020-11-19T18:58:44.977Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-11-19T18:58:48.143Z] $ docker top 61449e85f8c2cdd7d1037ea5945ba23a5a37428a08706156f4de2e4fb85579e3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-11-19T18:58:48.462Z] provisioning config files... [2020-11-19T18:58:48.473Z] copy managed file [sigul-config] to file:/w/workspace/dry_go-mod-core-contracts_master@tmp/config5432334491664128769tmp [2020-11-19T18:58:48.491Z] copy managed file [sigul-password] to file:/w/workspace/dry_go-mod-core-contracts_master@tmp/config8764465934254416465tmp [2020-11-19T18:58:48.509Z] copy managed file [sigul-pki] to file:/w/workspace/dry_go-mod-core-contracts_master@tmp/config8807996716072252040tmp [Pipeline] { [Pipeline] echo [2020-11-19T18:58:48.577Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-19T18:58:48.891Z] ---> sigul-configuration.sh [2020-11-19T18:58:48.891Z] gpg: directory `/root/.gnupg' created [2020-11-19T18:58:48.891Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-11-19T18:58:48.891Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-11-19T18:58:48.891Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-11-19T18:58:48.891Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-11-19T18:58:48.891Z] gpg: CAST5 encrypted data [2020-11-19T18:58:49.157Z] gpg: encrypted with 1 passphrase [2020-11-19T18:58:49.157Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-11-19T18:58:49.471Z] + mkdir /home/jenkins [2020-11-19T18:58:49.471Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-11-19T18:58:49.775Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2020-11-19T18:58:49.787Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-19T18:58:50.088Z] ---> sigul-install.sh [2020-11-19T18:58:55.400Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-11-19T18:58:55.708Z] + git tag --list [2020-11-19T18:58:55.970Z] v0.0.0 [2020-11-19T18:58:55.970Z] v0.0.1 [2020-11-19T18:58:55.970Z] v0.1.0 [2020-11-19T18:58:55.970Z] v0.1.1 [2020-11-19T18:58:55.970Z] v0.1.10 [2020-11-19T18:58:55.970Z] v0.1.100 [2020-11-19T18:58:55.970Z] v0.1.101 [2020-11-19T18:58:55.970Z] v0.1.102 [2020-11-19T18:58:55.970Z] v0.1.103 [2020-11-19T18:58:55.970Z] v0.1.104 [2020-11-19T18:58:55.970Z] v0.1.105 [2020-11-19T18:58:55.970Z] v0.1.106 [2020-11-19T18:58:55.970Z] v0.1.107 [2020-11-19T18:58:55.970Z] v0.1.108 [2020-11-19T18:58:55.970Z] v0.1.109 [2020-11-19T18:58:55.970Z] v0.1.11 [2020-11-19T18:58:55.970Z] v0.1.110 [2020-11-19T18:58:55.970Z] v0.1.111 [2020-11-19T18:58:55.970Z] v0.1.112 [2020-11-19T18:58:55.970Z] v0.1.113 [2020-11-19T18:58:55.970Z] v0.1.114 [2020-11-19T18:58:55.970Z] v0.1.12 [2020-11-19T18:58:55.970Z] v0.1.13 [2020-11-19T18:58:55.970Z] v0.1.14 [2020-11-19T18:58:55.970Z] v0.1.15 [2020-11-19T18:58:55.970Z] v0.1.16 [2020-11-19T18:58:55.970Z] v0.1.17 [2020-11-19T18:58:55.970Z] v0.1.18 [2020-11-19T18:58:55.970Z] v0.1.19 [2020-11-19T18:58:55.970Z] v0.1.2 [2020-11-19T18:58:55.970Z] v0.1.20 [2020-11-19T18:58:55.970Z] v0.1.21 [2020-11-19T18:58:55.970Z] v0.1.22 [2020-11-19T18:58:55.970Z] v0.1.23 [2020-11-19T18:58:55.970Z] v0.1.24 [2020-11-19T18:58:55.970Z] v0.1.25 [2020-11-19T18:58:55.970Z] v0.1.26 [2020-11-19T18:58:55.971Z] v0.1.27 [2020-11-19T18:58:55.971Z] v0.1.28 [2020-11-19T18:58:55.971Z] v0.1.29 [2020-11-19T18:58:55.971Z] v0.1.3 [2020-11-19T18:58:55.971Z] v0.1.30 [2020-11-19T18:58:55.971Z] v0.1.31 [2020-11-19T18:58:55.971Z] v0.1.32 [2020-11-19T18:58:55.971Z] v0.1.33 [2020-11-19T18:58:55.971Z] v0.1.34 [2020-11-19T18:58:55.971Z] v0.1.35 [2020-11-19T18:58:55.971Z] v0.1.36 [2020-11-19T18:58:55.971Z] v0.1.37 [2020-11-19T18:58:55.971Z] v0.1.38 [2020-11-19T18:58:55.971Z] v0.1.39 [2020-11-19T18:58:55.971Z] v0.1.4 [2020-11-19T18:58:55.971Z] v0.1.40 [2020-11-19T18:58:55.971Z] v0.1.41 [2020-11-19T18:58:55.971Z] v0.1.42 [2020-11-19T18:58:55.971Z] v0.1.43 [2020-11-19T18:58:55.971Z] v0.1.44 [2020-11-19T18:58:55.971Z] v0.1.45 [2020-11-19T18:58:55.971Z] v0.1.46 [2020-11-19T18:58:55.971Z] v0.1.47 [2020-11-19T18:58:55.971Z] v0.1.48 [2020-11-19T18:58:55.971Z] v0.1.49 [2020-11-19T18:58:55.971Z] v0.1.5 [2020-11-19T18:58:55.971Z] v0.1.50 [2020-11-19T18:58:55.971Z] v0.1.51 [2020-11-19T18:58:55.971Z] v0.1.52 [2020-11-19T18:58:55.971Z] v0.1.53 [2020-11-19T18:58:55.971Z] v0.1.54 [2020-11-19T18:58:55.971Z] v0.1.55 [2020-11-19T18:58:55.971Z] v0.1.56 [2020-11-19T18:58:55.971Z] v0.1.57 [2020-11-19T18:58:55.971Z] v0.1.58 [2020-11-19T18:58:55.971Z] v0.1.59 [2020-11-19T18:58:55.971Z] v0.1.6 [2020-11-19T18:58:55.971Z] v0.1.60 [2020-11-19T18:58:55.971Z] v0.1.61 [2020-11-19T18:58:55.971Z] v0.1.62 [2020-11-19T18:58:55.971Z] v0.1.63 [2020-11-19T18:58:55.971Z] v0.1.64 [2020-11-19T18:58:55.971Z] v0.1.65 [2020-11-19T18:58:55.971Z] v0.1.66 [2020-11-19T18:58:55.971Z] v0.1.67 [2020-11-19T18:58:55.971Z] v0.1.68 [2020-11-19T18:58:55.971Z] v0.1.69 [2020-11-19T18:58:55.971Z] v0.1.7 [2020-11-19T18:58:55.971Z] v0.1.70 [2020-11-19T18:58:55.971Z] v0.1.71 [2020-11-19T18:58:55.971Z] v0.1.72 [2020-11-19T18:58:55.971Z] v0.1.73 [2020-11-19T18:58:55.971Z] v0.1.74 [2020-11-19T18:58:55.971Z] v0.1.75 [2020-11-19T18:58:55.971Z] v0.1.76 [2020-11-19T18:58:55.971Z] v0.1.77 [2020-11-19T18:58:55.971Z] v0.1.78 [2020-11-19T18:58:55.971Z] v0.1.79 [2020-11-19T18:58:55.971Z] v0.1.8 [2020-11-19T18:58:55.971Z] v0.1.80 [2020-11-19T18:58:55.971Z] v0.1.81 [2020-11-19T18:58:55.971Z] v0.1.82 [2020-11-19T18:58:55.971Z] v0.1.83 [2020-11-19T18:58:55.971Z] v0.1.84 [2020-11-19T18:58:55.971Z] v0.1.85 [2020-11-19T18:58:55.971Z] v0.1.86 [2020-11-19T18:58:55.971Z] v0.1.87 [2020-11-19T18:58:55.971Z] v0.1.88 [2020-11-19T18:58:55.971Z] v0.1.89 [2020-11-19T18:58:55.971Z] v0.1.9 [2020-11-19T18:58:55.971Z] v0.1.90 [2020-11-19T18:58:55.971Z] v0.1.91 [2020-11-19T18:58:55.971Z] v0.1.92 [2020-11-19T18:58:55.971Z] v0.1.93 [2020-11-19T18:58:55.971Z] v0.1.94 [2020-11-19T18:58:55.971Z] v0.1.95 [2020-11-19T18:58:55.971Z] v0.1.96 [2020-11-19T18:58:55.971Z] v0.1.97 [2020-11-19T18:58:55.971Z] v0.1.98 [2020-11-19T18:58:55.971Z] v0.1.99 [Pipeline] sh [2020-11-19T18:58:56.274Z] + lftools sign git-tag v0.1.114 [2020-11-19T18:58:57.671Z] Signing Git tag with Sigul... [2020-11-19T18:58:57.671Z] Signing v0.1.114 [Pipeline] echo [2020-11-19T18:58:58.631Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-19T18:58:58.932Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-11-19T18:58:58.943Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-11-19T18:58:59.110Z] $ docker stop --time=1 61449e85f8c2cdd7d1037ea5945ba23a5a37428a08706156f4de2e4fb85579e3 [2020-11-19T18:59:01.073Z] $ docker rm -f 61449e85f8c2cdd7d1037ea5945ba23a5a37428a08706156f4de2e4fb85579e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:59:02.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-19T18:59:02.574Z] . [Pipeline] withDockerContainer [2020-11-19T18:59:02.696Z] prd-centos7-docker-4c-2g-12807 does not seem to be running inside a container [2020-11-19T18:59:02.752Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-19T18:59:03.598Z] $ docker top 643b031a15d80ebca5ce43cc8ffbf5ee91f231348182015d2369e94f63dae64a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-19T18:59:03.969Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-19T18:59:03.969Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-19T18:59:04.195Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-19T18:59:04.200Z] $ docker exec 643b031a15d80ebca5ce43cc8ffbf5ee91f231348182015d2369e94f63dae64a ssh-agent [2020-11-19T18:59:04.393Z] SSH_AUTH_SOCK=/tmp/ssh-ACigxLHPsXik/agent.12 [2020-11-19T18:59:04.393Z] SSH_AGENT_PID=17 [2020-11-19T18:59:04.400Z] Running ssh-add (command line suppressed) [2020-11-19T18:59:04.551Z] Identity added: /w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_1464759492894646623.key (/w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_1464759492894646623.key) [2020-11-19T18:59:04.609Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-19T18:59:04.978Z] + git semver bump patch [2020-11-19T18:59:04.978Z] # -> Open(): unable to determine branch for HEAD [2020-11-19T18:59:04.978Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_master/.git [2020-11-19T18:59:04.978Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_master [2020-11-19T18:59:04.978Z] # $SEMVER_REMOTE_NAME = origin [2020-11-19T18:59:04.978Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-19T18:59:04.978Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-19T18:59:04.978Z] # $SEMVER_BRANCH = master [2020-11-19T18:59:04.978Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_master/.semver [2020-11-19T18:59:04.978Z] 0.1.115 [Pipeline] } [2020-11-19T18:59:04.992Z] $ docker exec --env ******** --env ******** 643b031a15d80ebca5ce43cc8ffbf5ee91f231348182015d2369e94f63dae64a ssh-agent -k [2020-11-19T18:59:05.120Z] unset SSH_AUTH_SOCK; [2020-11-19T18:59:05.121Z] unset SSH_AGENT_PID; [2020-11-19T18:59:05.121Z] echo Agent pid 17 killed; [2020-11-19T18:59:05.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-19T18:59:05.718Z] + git semver [Pipeline] } [2020-11-19T18:59:05.744Z] $ docker stop --time=1 643b031a15d80ebca5ce43cc8ffbf5ee91f231348182015d2369e94f63dae64a [2020-11-19T18:59:07.260Z] $ docker rm -f 643b031a15d80ebca5ce43cc8ffbf5ee91f231348182015d2369e94f63dae64a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:59:07.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-19T18:59:07.843Z] . [Pipeline] withDockerContainer [2020-11-19T18:59:07.963Z] prd-centos7-docker-4c-2g-12807 does not seem to be running inside a container [2020-11-19T18:59:08.017Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-19T18:59:08.878Z] $ docker top 9a6611f0a33fe017efadc88531d35faf433023d17aa4a7a259f950b44629e5ed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-19T18:59:09.217Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-19T18:59:09.217Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-19T18:59:09.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-19T18:59:09.462Z] $ docker exec 9a6611f0a33fe017efadc88531d35faf433023d17aa4a7a259f950b44629e5ed ssh-agent [2020-11-19T18:59:09.661Z] SSH_AUTH_SOCK=/tmp/ssh-z7Efj9l3RChm/agent.12 [2020-11-19T18:59:09.661Z] SSH_AGENT_PID=17 [2020-11-19T18:59:09.669Z] Running ssh-add (command line suppressed) [2020-11-19T18:59:09.822Z] Identity added: /w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_5542434582848805997.key (/w/workspace/dry_go-mod-core-contracts_master@tmp/private_key_5542434582848805997.key) [2020-11-19T18:59:09.884Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-19T18:59:10.286Z] + git semver push [2020-11-19T18:59:10.287Z] # -> Open(): unable to determine branch for HEAD [2020-11-19T18:59:10.287Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_master/.git [2020-11-19T18:59:10.287Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_master [2020-11-19T18:59:10.287Z] # $SEMVER_REMOTE_NAME = origin [2020-11-19T18:59:10.287Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-19T18:59:10.287Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-19T18:59:10.287Z] # $SEMVER_BRANCH = master [2020-11-19T18:59:10.287Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_master/.semver [Pipeline] } [2020-11-19T18:59:20.323Z] $ docker exec --env ******** --env ******** 9a6611f0a33fe017efadc88531d35faf433023d17aa4a7a259f950b44629e5ed ssh-agent -k [2020-11-19T18:59:20.473Z] unset SSH_AUTH_SOCK; [2020-11-19T18:59:20.478Z] unset SSH_AGENT_PID; [2020-11-19T18:59:20.479Z] echo Agent pid 17 killed; [2020-11-19T18:59:20.524Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-19T18:59:21.092Z] + git semver [Pipeline] } [2020-11-19T18:59:21.113Z] $ docker stop --time=1 9a6611f0a33fe017efadc88531d35faf433023d17aa4a7a259f950b44629e5ed [2020-11-19T18:59:22.523Z] $ docker rm -f 9a6611f0a33fe017efadc88531d35faf433023d17aa4a7a259f950b44629e5ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-11-19T18:59:24.637Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-19T18:59:25.211Z] ---> package-listing.sh [2020-11-19T18:59:25.211Z] ++ facter osfamily [2020-11-19T18:59:25.211Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-19T18:59:25.211Z] + OS_FAMILY=redhat [2020-11-19T18:59:25.212Z] + workspace=/w/workspace/dry_go-mod-core-contracts_master [2020-11-19T18:59:25.212Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-19T18:59:25.212Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-19T18:59:25.212Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-19T18:59:25.212Z] + PACKAGES=/tmp/packages_start.txt [2020-11-19T18:59:25.212Z] + '[' /w/workspace/dry_go-mod-core-contracts_master ']' [2020-11-19T18:59:25.212Z] + PACKAGES=/tmp/packages_end.txt [2020-11-19T18:59:25.212Z] + case "${OS_FAMILY}" in [2020-11-19T18:59:25.212Z] + rpm -qa [2020-11-19T18:59:25.212Z] + sort [2020-11-19T18:59:29.444Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-19T18:59:29.444Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-19T18:59:29.444Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-19T18:59:29.444Z] + '[' /w/workspace/dry_go-mod-core-contracts_master ']' [2020-11-19T18:59:29.444Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_master/archives/ [2020-11-19T18:59:29.444Z] + 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 [2020-11-19T18:59:29.467Z] 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 [2020-11-19T18:59:29.765Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:59:30.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-19T18:59:30.085Z] [2020-11-19T18:59:30.085Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-19T18:59:30.454Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-19T18:59:30.454Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-19T18:59:30.454Z] df20fa9351a1: Pulling fs layer [2020-11-19T18:59:30.454Z] 36b3adc4ff6f: Pulling fs layer [2020-11-19T18:59:30.454Z] 8ad3a11d3b57: Pulling fs layer [2020-11-19T18:59:30.454Z] 46f8f816bc3b: Pulling fs layer [2020-11-19T18:59:30.454Z] 93b61091891f: Pulling fs layer [2020-11-19T18:59:30.454Z] 93b9cdb0e59b: Pulling fs layer [2020-11-19T18:59:30.454Z] 5e14af77c1be: Pulling fs layer [2020-11-19T18:59:30.454Z] 01666e4c0597: Pulling fs layer [2020-11-19T18:59:30.454Z] aa168da1d23b: Pulling fs layer [2020-11-19T18:59:30.454Z] 5e14af77c1be: Waiting [2020-11-19T18:59:30.454Z] 46f8f816bc3b: Waiting [2020-11-19T18:59:30.454Z] 93b9cdb0e59b: Waiting [2020-11-19T18:59:30.454Z] 93b61091891f: Waiting [2020-11-19T18:59:30.454Z] 01666e4c0597: Waiting [2020-11-19T18:59:30.454Z] aa168da1d23b: Waiting [2020-11-19T18:59:30.454Z] 36b3adc4ff6f: Verifying Checksum [2020-11-19T18:59:30.454Z] 36b3adc4ff6f: Download complete [2020-11-19T18:59:30.721Z] 46f8f816bc3b: Verifying Checksum [2020-11-19T18:59:30.721Z] 46f8f816bc3b: Download complete [2020-11-19T18:59:30.721Z] df20fa9351a1: Verifying Checksum [2020-11-19T18:59:30.721Z] df20fa9351a1: Download complete [2020-11-19T18:59:30.721Z] 93b9cdb0e59b: Verifying Checksum [2020-11-19T18:59:30.721Z] 93b9cdb0e59b: Download complete [2020-11-19T18:59:30.721Z] 5e14af77c1be: Download complete [2020-11-19T18:59:30.721Z] 93b61091891f: Verifying Checksum [2020-11-19T18:59:30.721Z] 93b61091891f: Download complete [2020-11-19T18:59:30.721Z] 01666e4c0597: Verifying Checksum [2020-11-19T18:59:30.721Z] 01666e4c0597: Download complete [2020-11-19T18:59:30.721Z] 8ad3a11d3b57: Verifying Checksum [2020-11-19T18:59:30.721Z] 8ad3a11d3b57: Download complete [2020-11-19T18:59:31.319Z] df20fa9351a1: Pull complete [2020-11-19T18:59:31.319Z] 36b3adc4ff6f: Pull complete [2020-11-19T18:59:32.726Z] 8ad3a11d3b57: Pull complete [2020-11-19T18:59:33.000Z] 46f8f816bc3b: Pull complete [2020-11-19T18:59:33.000Z] aa168da1d23b: Verifying Checksum [2020-11-19T18:59:33.000Z] aa168da1d23b: Download complete [2020-11-19T18:59:33.266Z] 93b61091891f: Pull complete [2020-11-19T18:59:33.530Z] 93b9cdb0e59b: Pull complete [2020-11-19T18:59:33.530Z] 5e14af77c1be: Pull complete [2020-11-19T18:59:33.530Z] 01666e4c0597: Pull complete [2020-11-19T18:59:41.735Z] aa168da1d23b: Pull complete [2020-11-19T18:59:41.735Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-19T18:59:41.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-19T18:59:41.735Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-19T18:59:41.942Z] prd-centos7-docker-4c-2g-12807 does not seem to be running inside a container [2020-11-19T18:59:41.998Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-19T18:59:45.078Z] $ docker top 00854b30950041ec905f43e8168d7db5bcdfffdbffd3b3950e04d51bf6515af2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-19T18:59:45.674Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-19T18:59:45.978Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-19T18:59:46.284Z] + ls /var/log/sa-host [2020-11-19T18:59:46.284Z] + sadf -c /var/log/sa-host/sa05 [2020-11-19T18:59:46.284Z] file_magic: OK [2020-11-19T18:59:46.284Z] HZ: Using current value: 100 [2020-11-19T18:59:46.284Z] file_header: OK [2020-11-19T18:59:46.284Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-19T18:59:46.284Z] Statistics: [2020-11-19T18:59:46.284Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-19T18:59:46.284Z] File successfully converted to sysstat format version 12.2.1 [2020-11-19T18:59:46.284Z] + sadf -c /var/log/sa-host/sa19 [2020-11-19T18:59:46.284Z] file_magic: OK [2020-11-19T18:59:46.284Z] HZ: Using current value: 100 [2020-11-19T18:59:46.284Z] file_header: OK [2020-11-19T18:59:46.284Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-19T18:59:46.284Z] Statistics: [2020-11-19T18:59:46.284Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-19T18:59:46.284Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-19T18:59:46.915Z] provisioning config files... [2020-11-19T18:59:46.937Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_master@tmp/config678781728519816207tmp [Pipeline] { [Pipeline] echo [2020-11-19T18:59:47.015Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-19T18:59:47.325Z] ---> create-netrc.sh [Pipeline] } [2020-11-19T18:59:47.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-19T18:59:47.450Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-19T18:59:47.751Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-19T18:59:47.764Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-19T18:59:48.065Z] ---> sudo-logs.sh [2020-11-19T18:59:48.065Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-19T18:59:48.078Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-19T18:59:48.384Z] ---> job-cost.sh [2020-11-19T18:59:48.385Z] lf-activate-venv: SKIPPING [2020-11-19T18:59:48.385Z] INFO: No Stack... [2020-11-19T18:59:50.313Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-19T18:59:50.328Z] INFO: Archiving Costs [Pipeline] echo [2020-11-19T18:59:50.333Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-19T18:59:50.637Z] ---> logs-deploy.sh [2020-11-19T18:59:50.637Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/master/80 [2020-11-19T18:59:50.637Z] INFO: archiving workspace using pattern(s): [2020-11-19T18:59:52.563Z] Archives upload complete. [2020-11-19T18:59:52.563Z] INFO: archiving logs to Nexus