Pull request #367 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at af8aa216260df0556b394ae78b2a31d110cb53a2 rather than 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa Obtained Jenkinsfile from af8aa216260df0556b394ae78b2a31d110cb53a2 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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 ‘prd-centos7-docker-4c-2g-12023’ is offline Running on prd-centos7-docker-4c-2g-12026 in /w/workspace/dry_go-mod-core-contracts_PR-367 [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_PR-367 # 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 Merging remotes/origin/master commit af8aa216260df0556b394ae78b2a31d110cb53a2 into PR head commit 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa Merge succeeded, producing 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa Checking out Revision 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa (PR-367) > 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/pull/367/head:refs/remotes/origin/PR-367 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge af8aa216260df0556b394ae78b2a31d110cb53a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa # timeout=10 Commit message: "feat(clients): Implement Add method for V2 EventClient" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:47:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk e1d70e92bac247a60139e7ef99aa1ccce68bd122 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:47:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:47:02 ========================================================= 07:47:02 EdgeX Global Pipelines Version Info 07:47:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:47:04 ------------------- 07:47:04 stable info: 07:47:04 ------------------- 07:47:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:47:04 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 07:47:04 Message: update stable to v1.0.162 07:47:05 ------------------- 07:47:05 experimental info: 07:47:05 ------------------- 07:47:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:47:05 Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b 07:47:05 Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 07:47:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 07:47:05 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 07:47:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:47:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:47:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:47:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:47:06 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 07:47:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:47:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:47:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 07:47:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:47:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:47:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:47:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 07:47:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:47:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:47:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:47:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:47:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:47:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 07:47:08 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:47:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-367 [Pipeline] echo 07:47:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-367 [Pipeline] echo 07:47:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-367 [Pipeline] echo 07:47:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa [Pipeline] echo 07:47:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 91ff763 [Pipeline] echo 07:47:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:47:09 provisioning config files... 07:47:09 copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-367@tmp/config3837744802455480236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:09 ---> docker-login.sh 07:47:09 nexus3.edgexfoundry.org:10001 07:47:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:10 Configure a credential helper to remove this warning. See 07:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:10 07:47:10 Login Succeeded 07:47:10 nexus3.edgexfoundry.org:10002 07:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:10 Configure a credential helper to remove this warning. See 07:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:10 07:47:10 Login Succeeded 07:47:10 nexus3.edgexfoundry.org:10003 07:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:10 Configure a credential helper to remove this warning. See 07:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:10 07:47:10 Login Succeeded 07:47:10 nexus3.edgexfoundry.org:10004 07:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:10 Configure a credential helper to remove this warning. See 07:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:10 07:47:10 Login Succeeded 07:47:10 docker.io 07:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:10 Configure a credential helper to remove this warning. See 07:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:10 07:47:10 Login Succeeded 07:47:10 ---> docker-login.sh ends [Pipeline] } 07:47:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:47:11 + git log --format=format:%s -1 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa [Pipeline] echo 07:47:11 GIT_COMMIT: 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa, Commit Message: feat(clients): Implement Add method for V2 EventClient [Pipeline] echo 07:47:11 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:47:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:47:12 07:47:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:47:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:47:12 latest: Pulling from edgex-devops/git-semver 07:47:12 31603596830f: Pulling fs layer 07:47:12 2a8b12db71e7: Pulling fs layer 07:47:12 6ca5941a6612: Pulling fs layer 07:47:12 ecc8261a40a4: Pulling fs layer 07:47:12 ecc8261a40a4: Waiting 07:47:12 2a8b12db71e7: Verifying Checksum 07:47:12 2a8b12db71e7: Download complete 07:47:12 31603596830f: Verifying Checksum 07:47:12 31603596830f: Download complete 07:47:13 ecc8261a40a4: Verifying Checksum 07:47:13 ecc8261a40a4: Download complete 07:47:13 6ca5941a6612: Verifying Checksum 07:47:13 6ca5941a6612: Download complete 07:47:13 31603596830f: Pull complete 07:47:13 2a8b12db71e7: Pull complete 07:47:14 6ca5941a6612: Pull complete 07:47:14 ecc8261a40a4: Pull complete 07:47:14 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:47:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:47:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:47:14 prd-centos7-docker-4c-2g-12026 does not seem to be running inside a container 07:47:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-367 -v /w/workspace/dry_go-mod-core-contracts_PR-367:/w/workspace/dry_go-mod-core-contracts_PR-367:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-367@tmp:/w/workspace/dry_go-mod-core-contracts_PR-367@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:47:16 $ docker top 6a6f78f56bb54f3d16ca11df173bb457f390b8a3c4c64c464695c7f5a550e166 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:47:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:47:17 [ssh-agent] Looking for ssh-agent implementation... 07:47:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:47:17 $ docker exec 6a6f78f56bb54f3d16ca11df173bb457f390b8a3c4c64c464695c7f5a550e166 ssh-agent 07:47:17 SSH_AUTH_SOCK=/tmp/ssh-pLFmQOUNI0Ps/agent.12 07:47:17 SSH_AGENT_PID=18 07:47:17 Running ssh-add (command line suppressed) 07:47:17 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-367@tmp/private_key_730749758368383620.key (/w/workspace/dry_go-mod-core-contracts_PR-367@tmp/private_key_730749758368383620.key) 07:47:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:47:18 + git tag --points-at HEAD [Pipeline] } 07:47:18 $ docker exec --env ******** --env ******** 6a6f78f56bb54f3d16ca11df173bb457f390b8a3c4c64c464695c7f5a550e166 ssh-agent -k 07:47:18 unset SSH_AUTH_SOCK; 07:47:18 unset SSH_AGENT_PID; 07:47:18 echo Agent pid 18 killed; 07:47:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:47:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:47:18 [ssh-agent] Looking for ssh-agent implementation... 07:47:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:47:18 $ docker exec 6a6f78f56bb54f3d16ca11df173bb457f390b8a3c4c64c464695c7f5a550e166 ssh-agent 07:47:18 SSH_AUTH_SOCK=/tmp/ssh-LTgAng6m8HJR/agent.49 07:47:18 SSH_AGENT_PID=54 07:47:18 Running ssh-add (command line suppressed) 07:47:19 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-367@tmp/private_key_6949422301013146912.key (/w/workspace/dry_go-mod-core-contracts_PR-367@tmp/private_key_6949422301013146912.key) 07:47:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:47:19 + git semver init 07:47:19 # -> Open(): unable to determine branch for HEAD 07:47:19 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-367/.git 07:47:19 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-367 07:47:19 # $SEMVER_REMOTE_NAME = origin 07:47:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:47:19 # $SEMVER_USER_NAME = edgex-jenkins 07:47:19 # $SEMVER_BRANCH = PR-367 07:47:19 # $SEMVER_TEMP = /tmp/semver-036304255 07:47:19 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 07:47:19 # '/tmp/semver-036304255' -> '/w/workspace/dry_go-mod-core-contracts_PR-367/.semver' 07:47:19 # -> Force: false 07:47:19 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-367/.semver [Pipeline] } 07:47:19 $ docker exec --env ******** --env ******** 6a6f78f56bb54f3d16ca11df173bb457f390b8a3c4c64c464695c7f5a550e166 ssh-agent -k 07:47:20 unset SSH_AUTH_SOCK; 07:47:20 unset SSH_AGENT_PID; 07:47:20 echo Agent pid 54 killed; 07:47:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:47:20 + git semver [Pipeline] } 07:47:20 $ docker stop --time=1 6a6f78f56bb54f3d16ca11df173bb457f390b8a3c4c64c464695c7f5a550e166 07:47:22 $ docker rm -f 6a6f78f56bb54f3d16ca11df173bb457f390b8a3c4c64c464695c7f5a550e166 [Pipeline] // withDockerContainer [Pipeline] sh 07:47:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:47:23 Stashed 1 file(s) [Pipeline] echo 07:47:23 [edgeXSemver]: initialized semver on version 0.0.0 [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 07:47:39 Still waiting to schedule task 07:47:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:47:39 Still waiting to schedule task 07:47:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:49:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-12027 in /w/workspace/dry_go-mod-core-contracts_PR-367 [Pipeline] { [Pipeline] ws 07:49:27 Running in /w/workspace/go-mod-core-contracts/6 [Pipeline] { [Pipeline] checkout 07:49:32 using credential edgex-jenkins-ssh 07:49:32 Cloning the remote Git repository 07:49:32 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 07:49:32 > git init /w/workspace/go-mod-core-contracts/6 # timeout=10 07:49:32 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 07:49:32 > git --version # timeout=10 07:49:32 > git --version # 'git version 2.17.1' 07:49:32 using GIT_SSH to set credentials SSH Credentials for GitHub 07:49:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:49:34 Merging remotes/origin/master commit af8aa216260df0556b394ae78b2a31d110cb53a2 into PR head commit 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa 07:49:34 Merge succeeded, producing 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa 07:49:34 Checking out Revision 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa (PR-367) 07:49:33 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 07:49:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:49:33 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 07:49:33 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 07:49:33 using GIT_SSH to set credentials SSH Credentials for GitHub 07:49:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/367/head:refs/remotes/origin/PR-367 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:49:34 > git config core.sparsecheckout # timeout=10 07:49:34 > git checkout -f 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa # timeout=10 07:49:34 > git remote # timeout=10 07:49:34 > git config --get remote.origin.url # timeout=10 07:49:34 using GIT_SSH to set credentials SSH Credentials for GitHub 07:49:34 > git merge af8aa216260df0556b394ae78b2a31d110cb53a2 # timeout=10 07:49:34 > git rev-parse HEAD^{commit} # timeout=10 07:49:34 > git config core.sparsecheckout # timeout=10 07:49:34 > git checkout -f 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa # timeout=10 07:49:39 Commit message: "feat(clients): Implement Add method for V2 EventClient" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:49:40 provisioning config files... 07:49:40 copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/go-mod-core-contracts/6@tmp/config5130599232492091457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:49:41 ---> docker-login.sh 07:49:41 nexus3.edgexfoundry.org:10001 07:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:42 Configure a credential helper to remove this warning. See 07:49:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:42 07:49:42 Login Succeeded 07:49:42 nexus3.edgexfoundry.org:10002 07:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:42 Configure a credential helper to remove this warning. See 07:49:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:42 07:49:42 Login Succeeded 07:49:42 nexus3.edgexfoundry.org:10003 07:49:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:43 Configure a credential helper to remove this warning. See 07:49:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:43 07:49:43 Login Succeeded 07:49:43 nexus3.edgexfoundry.org:10004 07:49:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:43 Configure a credential helper to remove this warning. See 07:49:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:43 07:49:43 Login Succeeded 07:49:43 docker.io 07:49:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:44 Configure a credential helper to remove this warning. See 07:49:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:44 07:49:44 Login Succeeded 07:49:44 ---> docker-login.sh ends [Pipeline] } 07:49:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:49:45 ========================================================= 07:49:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:49:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:49:45 + 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 . 07:49:46 Sending build context to Docker daemon 1.849MB 07:49:46 Step 1/7 : ARG BASE=golang:1.15-alpine 07:49:46 Step 2/7 : FROM ${BASE} 07:49:46 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:49:46 b538f80385f9: Pulling fs layer 07:49:46 74f711af9a0d: Pulling fs layer 07:49:46 99f96fe45779: Pulling fs layer 07:49:46 8529a6b9a6be: Pulling fs layer 07:49:46 45590311c82a: Pulling fs layer 07:49:46 69ca0ff8b7b3: Pulling fs layer 07:49:46 209524e5b208: Pulling fs layer 07:49:46 45590311c82a: Waiting 07:49:46 209524e5b208: Waiting 07:49:46 69ca0ff8b7b3: Waiting 07:49:46 8529a6b9a6be: Waiting 07:49:46 99f96fe45779: Verifying Checksum 07:49:46 99f96fe45779: Download complete 07:49:46 74f711af9a0d: Verifying Checksum 07:49:46 74f711af9a0d: Download complete 07:49:46 45590311c82a: Verifying Checksum 07:49:46 45590311c82a: Download complete 07:49:47 69ca0ff8b7b3: Verifying Checksum 07:49:47 69ca0ff8b7b3: Download complete 07:49:47 b538f80385f9: Verifying Checksum 07:49:47 b538f80385f9: Download complete 07:49:47 b538f80385f9: Pull complete 07:49:48 74f711af9a0d: Pull complete 07:49:48 99f96fe45779: Pull complete 07:49:49 209524e5b208: Verifying Checksum 07:49:49 209524e5b208: Download complete 07:49:50 8529a6b9a6be: Verifying Checksum 07:49:50 8529a6b9a6be: Download complete 07:50:01 8529a6b9a6be: Pull complete 07:50:01 45590311c82a: Pull complete 07:50:01 69ca0ff8b7b3: Pull complete 07:50:05 209524e5b208: Pull complete 07:50:05 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 07:50:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:50:05 ---> 5bddaf1c2fca 07:50:05 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:50:07 ---> Running in 5ccd4008b82a 07:50:08 Removing intermediate container 5ccd4008b82a 07:50:08 ---> 7aab1c635d6e 07:50:08 Step 4/7 : RUN apk add bash 07:50:08 ---> Running in 4d5b0de5a08e 07:50:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:50:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:50:11 OK: 142 MiB in 39 packages 07:50:13 Removing intermediate container 4d5b0de5a08e 07:50:13 ---> ce44441bf554 07:50:13 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 07:50:13 ---> Running in d820ab260903 07:50:13 Removing intermediate container d820ab260903 07:50:13 ---> db69dff9f2a3 07:50:13 Step 6/7 : COPY go.mod . 07:50:14 ---> 6c28a41d4adb 07:50:14 Step 7/7 : RUN go mod download 07:50:14 ---> Running in 756bbec6fd0f 07:50:27 Running on prd-centos7-docker-4c-2g-12028 in /w/workspace/dry_go-mod-core-contracts_PR-367 [Pipeline] { [Pipeline] ws 07:50:27 Running in /w/workspace/go-mod-core-contracts/6 [Pipeline] { [Pipeline] checkout 07:50:29 Removing intermediate container 756bbec6fd0f 07:50:29 ---> 86e4d87c4fc8 07:50:29 Successfully built 86e4d87c4fc8 07:50:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:50:29 + docker inspect -f . ci-base-image-arm64 07:50:29 . [Pipeline] withDockerContainer 07:50:30 prd-ubuntu18.04-docker-arm64-4c-16g-12027 does not seem to be running inside a container 07:50:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:50:32 $ docker top 655bab967f822663d16bf5537a972c31b086a30921ac096879e17e80d5fcdd98 -eo pid,comm [Pipeline] { [Pipeline] sh 07:50:33 using credential edgex-jenkins-ssh 07:50:33 Cloning the remote Git repository 07:50:33 + go version 07:50:33 go version go1.15.2 linux/arm64 [Pipeline] } 07:50:33 $ docker stop --time=1 655bab967f822663d16bf5537a972c31b086a30921ac096879e17e80d5fcdd98 07:50:33 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 07:50:33 > git init /w/workspace/go-mod-core-contracts/6 # timeout=10 07:50:33 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 07:50:33 > git --version # timeout=10 07:50:33 > git --version # 'git version 2.16.5' 07:50:33 using GIT_SSH to set credentials SSH Credentials for GitHub 07:50:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:50:35 Merging remotes/origin/master commit af8aa216260df0556b394ae78b2a31d110cb53a2 into PR head commit 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa 07:50:34 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 07:50:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:50:34 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 07:50:34 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 07:50:34 using GIT_SSH to set credentials SSH Credentials for GitHub 07:50:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/367/head:refs/remotes/origin/PR-367 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:50:35 > git config core.sparsecheckout # timeout=10 07:50:35 > git checkout -f 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa # timeout=10 07:50:35 Merge succeeded, producing 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa 07:50:35 Checking out Revision 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa (PR-367) 07:50:35 $ docker rm -f 655bab967f822663d16bf5537a972c31b086a30921ac096879e17e80d5fcdd98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:50:36 + docker inspect -f . ci-base-image-arm64 07:50:36 . 07:50:35 > git remote # timeout=10 07:50:35 > git config --get remote.origin.url # timeout=10 07:50:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:50:35 > git merge af8aa216260df0556b394ae78b2a31d110cb53a2 # timeout=10 07:50:35 > git rev-parse HEAD^{commit} # timeout=10 07:50:35 > git config core.sparsecheckout # timeout=10 07:50:35 > git checkout -f 91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa # timeout=10 [Pipeline] withDockerContainer 07:50:36 prd-ubuntu18.04-docker-arm64-4c-16g-12027 does not seem to be running inside a container 07:50:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:50:38 $ docker top 007013f6fb34c11a42a5821fcaf687231116679b2d40174364e4c9b32acbd7a9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:50:39 Commit message: "feat(clients): Implement Add method for V2 EventClient" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 07:50:40 + make test 07:50:40 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:50:40 provisioning config files... 07:50:40 copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/go-mod-core-contracts/6@tmp/config6851236615979117069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:41 ---> docker-login.sh 07:50:41 nexus3.edgexfoundry.org:10001 07:50:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:41 Configure a credential helper to remove this warning. See 07:50:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:41 07:50:41 Login Succeeded 07:50:41 nexus3.edgexfoundry.org:10002 07:50:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:41 Configure a credential helper to remove this warning. See 07:50:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:41 07:50:41 Login Succeeded 07:50:41 nexus3.edgexfoundry.org:10003 07:50:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:42 Configure a credential helper to remove this warning. See 07:50:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:42 07:50:42 Login Succeeded 07:50:42 nexus3.edgexfoundry.org:10004 07:50:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:42 Configure a credential helper to remove this warning. See 07:50:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:42 07:50:42 Login Succeeded 07:50:42 docker.io 07:50:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:43 Configure a credential helper to remove this warning. See 07:50:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:43 07:50:43 Login Succeeded 07:50:43 ---> docker-login.sh ends [Pipeline] } 07:50:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:50:43 ========================================================= 07:50:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:50:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:50:44 + 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 . 07:50:44 Sending build context to Docker daemon 1.849MB 07:50:44 Step 1/7 : ARG BASE=golang:1.15-alpine 07:50:44 Step 2/7 : FROM ${BASE} 07:50:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:50:44 df20fa9351a1: Pulling fs layer 07:50:44 ed8968b2872e: Pulling fs layer 07:50:44 a92cc7c5fd73: Pulling fs layer 07:50:44 e871e8e8d7a9: Pulling fs layer 07:50:44 e73272ec9a57: Pulling fs layer 07:50:44 1e910a182e73: Pulling fs layer 07:50:44 4e634b169226: Pulling fs layer 07:50:44 e73272ec9a57: Waiting 07:50:44 1e910a182e73: Waiting 07:50:44 4e634b169226: Waiting 07:50:44 e871e8e8d7a9: Waiting 07:50:44 a92cc7c5fd73: Verifying Checksum 07:50:44 a92cc7c5fd73: Download complete 07:50:44 ed8968b2872e: Verifying Checksum 07:50:44 ed8968b2872e: Download complete 07:50:44 e73272ec9a57: Download complete 07:50:44 1e910a182e73: Verifying Checksum 07:50:44 1e910a182e73: Download complete 07:50:44 df20fa9351a1: Verifying Checksum 07:50:44 df20fa9351a1: Download complete 07:50:45 df20fa9351a1: Pull complete 07:50:45 ed8968b2872e: Pull complete 07:50:45 a92cc7c5fd73: Pull complete 07:50:49 4e634b169226: Verifying Checksum 07:50:49 4e634b169226: Download complete 07:50:50 e871e8e8d7a9: Verifying Checksum 07:50:50 e871e8e8d7a9: Download complete 07:50:58 e871e8e8d7a9: Pull complete 07:50:59 e73272ec9a57: Pull complete 07:50:59 1e910a182e73: Pull complete 07:51:02 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 07:51:03 4e634b169226: Pull complete 07:51:03 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 07:51:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:51:03 ---> f7629b54cfaa 07:51:03 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:51:03 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.042s coverage: 85.7% of statements 07:51:03 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.037s coverage: 100.0% of statements 07:51:04 ---> Running in 8a0b069ce7c7 07:51:04 Removing intermediate container 8a0b069ce7c7 07:51:04 ---> 323a978040e0 07:51:04 Step 4/7 : RUN apk add bash 07:51:04 ---> Running in b0cad2b47f9e 07:51:04 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.045s coverage: 45.4% of statements 07:51:04 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.032s coverage: 77.8% of statements 07:51:04 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 07:51:04 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.022s coverage: 6.4% of statements 07:51:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:51:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:51:06 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.061s coverage: 14.7% of statements 07:51:06 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.044s coverage: 100.0% of statements 07:51:06 OK: 166 MiB in 39 packages 07:51:07 Removing intermediate container b0cad2b47f9e 07:51:07 ---> 65fbc9766caf 07:51:07 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 07:51:07 ---> Running in 44d38e4e8c28 07:51:07 Removing intermediate container 44d38e4e8c28 07:51:07 ---> 7b081367959a 07:51:07 Step 6/7 : COPY go.mod . 07:51:08 ---> bde0849331eb 07:51:08 Step 7/7 : RUN go mod download 07:51:08 ---> Running in f64b35c1cc9d 07:51:08 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.085s coverage: 91.8% of statements 07:51:08 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 07:51:08 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 07:51:08 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.022s coverage: 100.0% of statements 07:51:08 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.028s coverage: 47.8% of statements 07:51:14 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.107s coverage: 63.0% of statements 07:51:14 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.019s coverage: 26.3% of statements 07:51:14 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.019s coverage: 15.4% of statements 07:51:14 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.051s coverage: 15.4% of statements 07:51:14 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.013s coverage: 14.3% of statements 07:51:14 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 07:51:15 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.066s coverage: 88.9% of statements 07:51:15 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 07:51:15 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 07:51:15 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.025s coverage: 29.1% of statements 07:51:15 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.030s coverage: 100.0% of statements 07:51:16 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.054s coverage: 94.4% of statements 07:51:17 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.021s coverage: 100.0% of statements 07:51:17 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 07:51:17 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:51:22 gofmt -l . 07:51:22 [ "`gofmt -l .`" = "" ] [Pipeline] } 07:51:22 $ docker stop --time=1 007013f6fb34c11a42a5821fcaf687231116679b2d40174364e4c9b32acbd7a9 07:51:23 Removing intermediate container f64b35c1cc9d 07:51:23 ---> 97f2f839eb37 07:51:23 Successfully built 97f2f839eb37 07:51:23 Successfully tagged ci-base-image-x86_64:latest 07:51:24 $ docker rm -f 007013f6fb34c11a42a5821fcaf687231116679b2d40174364e4c9b32acbd7a9 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 07:51:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:51:25 + docker inspect -f . ci-base-image-x86_64 07:51:25 . [Pipeline] withDockerContainer 07:51:26 prd-centos7-docker-4c-2g-12028 does not seem to be running inside a container 07:51:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:51:26 Stashed 1 file(s) 07:51:27 $ docker top b88d44fb21066f287ba1ab3a2d2f59da53de95afcb98a7c9a5659f0fa3cb5689 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } 07:51:28 + go version [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 07:51:29 go version go1.15.2 linux/amd64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } 07:51:29 $ docker stop --time=1 b88d44fb21066f287ba1ab3a2d2f59da53de95afcb98a7c9a5659f0fa3cb5689 07:51:30 $ docker rm -f b88d44fb21066f287ba1ab3a2d2f59da53de95afcb98a7c9a5659f0fa3cb5689 [Pipeline] // withEnv [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // ws [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:51:32 + docker inspect -f . ci-base-image-x86_64 07:51:32 . [Pipeline] withDockerContainer 07:51:32 prd-centos7-docker-4c-2g-12028 does not seem to be running inside a container 07:51:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/6 -v /w/workspace/go-mod-core-contracts/6:/w/workspace/go-mod-core-contracts/6:rw,z -v /w/workspace/go-mod-core-contracts/6@tmp:/w/workspace/go-mod-core-contracts/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:51:33 $ docker top 24af21d9752c91afb2fbfeb9a58692d02a233c47693e3bc877bba8b354c0b53c -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:34 + make test 07:51:34 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:51:47 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 07:51:47 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.022s coverage: 85.7% of statements 07:51:47 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.045s coverage: 100.0% of statements 07:51:47 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.080s coverage: 45.4% of statements 07:51:48 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.078s coverage: 77.8% of statements 07:51:48 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 07:51:48 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.020s coverage: 6.4% of statements 07:51:50 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.063s coverage: 14.7% of statements 07:51:50 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.072s coverage: 100.0% of statements 07:51:51 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.076s coverage: 91.8% of statements 07:51:51 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 07:51:51 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 07:51:51 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.060s coverage: 100.0% of statements 07:51:53 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.024s coverage: 47.8% of statements 07:51:56 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.059s coverage: 63.0% of statements 07:51:56 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.024s coverage: 26.3% of statements 07:51:56 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.033s coverage: 15.4% of statements 07:51:56 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.018s coverage: 15.4% of statements 07:51:56 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.059s coverage: 14.3% of statements 07:51:56 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 07:51:57 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.025s coverage: 88.9% of statements 07:51:57 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 07:51:57 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 07:51:57 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.029s coverage: 29.1% of statements 07:51:57 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.026s coverage: 100.0% of statements 07:51:57 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.025s coverage: 94.4% of statements 07:51:58 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.017s coverage: 100.0% of statements 07:51:58 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 07:51:58 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:52:01 gofmt -l . 07:52:01 [ "`gofmt -l .`" = "" ] [Pipeline] } 07:52:01 $ docker stop --time=1 24af21d9752c91afb2fbfeb9a58692d02a233c47693e3bc877bba8b354c0b53c 07:52:03 $ docker rm -f 24af21d9752c91afb2fbfeb9a58692d02a233c47693e3bc877bba8b354c0b53c [Pipeline] // withDockerContainer [Pipeline] sh 07:52:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:52:04 Warning: overwriting stash ‘coverage-report’ 07:52:04 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 07:52:07 provisioning config files... 07:52:07 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-367@tmp/config3958983974509845863tmp [Pipeline] { [Pipeline] sh 07:52:07 + set +x 07:52:07 + curl -s https://codecov.io/bash 07:52:07 + bash -s -- 07:52:07 07:52:07 _____ _ 07:52:07 / ____| | | 07:52:07 | | ___ __| | ___ ___ _____ __ 07:52:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:52:07 | |___| (_) | (_| | __/ (_| (_) \ V / 07:52:07 \_____\___/ \__,_|\___|\___\___/ \_/ 07:52:07 Bash-20201106-81372f2 07:52:07 07:52:07 07:52:07 ==> Jenkins CI detected. 07:52:07 project root: . 07:52:07 --> token set from env 07:52:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:52:07 ==> Running gcov in . (disable via -X gcov) 07:52:07 ==> Python coveragepy not found 07:52:07 ==> Searching for coverage reports in: 07:52:07 + . 07:52:07 -> Found 1 reports 07:52:07 ==> Detecting git/mercurial file structure 07:52:07 ==> Reading reports 07:52:07 + ./coverage.out bytes=106428 07:52:07 ==> Appending adjustments 07:52:07 https://docs.codecov.io/docs/fixing-reports 07:52:08 + Found adjustments 07:52:08 ==> Gzipping contents 07:52:08 ==> Uploading reports 07:52:08 url: https://codecov.io 07:52:08 query: branch=PR-367&commit=91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-367%2F6%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=367&job=&cmd_args= 07:52:08 -> Pinging Codecov 07:52:08 https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=PR-367&commit=91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-367%2F6%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=367&job=&cmd_args= 07:52:09 -> Uploading to 07:52:09 https://storage.googleapis.com/codecov/v4/raw/2020-11-13/71470A77251A30514AAF9C0BB2E5B6CE/91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa/640bfa03-3e94-4275-9b00-54635e86f7f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201113%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201113T075209Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=20187c8d0c927709da05c4c58da746897d5dc6c348c3314d77333c23dc0cd46e 07:52:09 % Total % Received % Xferd Average Speed Time Time Time Current 07:52:09 Dload Upload Total Spent Left Speed 07:52:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17245 0 0 100 17245 0 40120 --:--:-- --:--:-- --:--:-- 40198 07:52:09 -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/91ff763ae09fba18f5ff66de1fdcf0af91bbb0fa [Pipeline] } 07:52:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 07:52:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:52:13 ---> package-listing.sh 07:52:13 ++ facter osfamily 07:52:13 ++ tr '[:upper:]' '[:lower:]' 07:52:13 + OS_FAMILY=redhat 07:52:13 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-367 07:52:13 + START_PACKAGES=/tmp/packages_start.txt 07:52:13 + END_PACKAGES=/tmp/packages_end.txt 07:52:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:52:13 + PACKAGES=/tmp/packages_start.txt 07:52:13 + '[' /w/workspace/dry_go-mod-core-contracts_PR-367 ']' 07:52:13 + PACKAGES=/tmp/packages_end.txt 07:52:13 + case "${OS_FAMILY}" in 07:52:13 + rpm -qa 07:52:13 + sort 07:52:17 + '[' -f /tmp/packages_start.txt ']' 07:52:17 + '[' -f /tmp/packages_end.txt ']' 07:52:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:52:17 + '[' /w/workspace/dry_go-mod-core-contracts_PR-367 ']' 07:52:17 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-367/archives/ 07:52:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-367/archives/ [Pipeline] echo 07:52:17 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_PR-367/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:52:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:52:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:52:18 07:52:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:52:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:52:18 alpine: Pulling from edgex-lftools-log-publisher 07:52:18 df20fa9351a1: Pulling fs layer 07:52:18 36b3adc4ff6f: Pulling fs layer 07:52:18 8ad3a11d3b57: Pulling fs layer 07:52:18 46f8f816bc3b: Pulling fs layer 07:52:18 93b61091891f: Pulling fs layer 07:52:18 93b9cdb0e59b: Pulling fs layer 07:52:18 5e14af77c1be: Pulling fs layer 07:52:18 01666e4c0597: Pulling fs layer 07:52:18 aa168da1d23b: Pulling fs layer 07:52:18 93b9cdb0e59b: Waiting 07:52:18 5e14af77c1be: Waiting 07:52:18 01666e4c0597: Waiting 07:52:18 46f8f816bc3b: Waiting 07:52:18 aa168da1d23b: Waiting 07:52:18 93b61091891f: Waiting 07:52:18 36b3adc4ff6f: Verifying Checksum 07:52:18 36b3adc4ff6f: Download complete 07:52:18 46f8f816bc3b: Download complete 07:52:18 df20fa9351a1: Verifying Checksum 07:52:18 93b9cdb0e59b: Verifying Checksum 07:52:18 93b9cdb0e59b: Download complete 07:52:18 5e14af77c1be: Verifying Checksum 07:52:18 5e14af77c1be: Download complete 07:52:18 93b61091891f: Verifying Checksum 07:52:18 93b61091891f: Download complete 07:52:18 01666e4c0597: Verifying Checksum 07:52:18 01666e4c0597: Download complete 07:52:18 8ad3a11d3b57: Verifying Checksum 07:52:18 8ad3a11d3b57: Download complete 07:52:19 df20fa9351a1: Pull complete 07:52:19 36b3adc4ff6f: Pull complete 07:52:19 8ad3a11d3b57: Pull complete 07:52:19 46f8f816bc3b: Pull complete 07:52:20 93b61091891f: Pull complete 07:52:20 93b9cdb0e59b: Pull complete 07:52:20 5e14af77c1be: Pull complete 07:52:21 01666e4c0597: Pull complete 07:52:21 aa168da1d23b: Verifying Checksum 07:52:21 aa168da1d23b: Download complete 07:52:27 aa168da1d23b: Pull complete 07:52:27 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:52:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:52:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:52:27 prd-centos7-docker-4c-2g-12026 does not seem to be running inside a container 07:52:27 $ 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_PR-367/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_PR-367 -v /w/workspace/dry_go-mod-core-contracts_PR-367:/w/workspace/dry_go-mod-core-contracts_PR-367:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-367@tmp:/w/workspace/dry_go-mod-core-contracts_PR-367@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:52:33 $ docker top 60998935cdd0d06acb180df8d1b20b04f6e978aea532264d74ea28e2e26406c7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:52:34 + touch /tmp/pre-build-complete [Pipeline] sh 07:52:34 + mkdir -p /var/log/sa [Pipeline] sh 07:52:34 + ls /var/log/sa-host 07:52:34 + sadf -c /var/log/sa-host/sa05 07:52:34 file_magic: OK 07:52:34 HZ: Using current value: 100 07:52:34 file_header: OK 07:52:34 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 07:52:34 Statistics: 07:52:34 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:52:34 File successfully converted to sysstat format version 12.2.1 07:52:34 + sadf -c /var/log/sa-host/sa13 07:52:34 file_magic: OK 07:52:34 HZ: Using current value: 100 07:52:34 file_header: OK 07:52:34 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 07:52:34 Statistics: 07:52:34 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:52:34 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:52:35 provisioning config files... 07:52:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-367@tmp/config501761902831676934tmp [Pipeline] { [Pipeline] echo 07:52:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:52:35 ---> create-netrc.sh [Pipeline] } 07:52:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:52:35 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:52:36 ---> python-tools-install.sh [Pipeline] echo 07:52:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:52:36 ---> sudo-logs.sh 07:52:36 Archiving 'sudo' log.. [Pipeline] echo 07:52:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:52:36 ---> job-cost.sh 07:52:36 lf-activate-venv: SKIPPING 07:52:36 INFO: No Stack... 07:52:38 INFO: Retrieving Pricing Info for: v1-standard-2 07:52:38 INFO: Archiving Costs [Pipeline] echo 07:52:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:52:38 ---> logs-deploy.sh 07:52:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-367/6 07:52:38 INFO: archiving workspace using pattern(s): 07:52:40 Archives upload complete. 07:52:40 INFO: archiving logs to Nexus 07:52:41 ---> uname -a: 07:52:41 Linux prd-centos7-docker-4c-2g-12026.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 07:52:41 07:52:41 07:52:41 ---> lscpu: 07:52:41 Architecture: x86_64 07:52:41 CPU op-mode(s): 32-bit, 64-bit 07:52:41 Byte Order: Little Endian 07:52:41 Address sizes: 40 bits physical, 48 bits virtual 07:52:41 CPU(s): 4 07:52:41 On-line CPU(s) list: 0-3 07:52:41 Thread(s) per core: 1 07:52:41 Core(s) per socket: 1 07:52:41 Socket(s): 4 07:52:41 NUMA node(s): 1 07:52:41 Vendor ID: GenuineIntel 07:52:41 CPU family: 6 07:52:41 Model: 44 07:52:41 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:52:41 Stepping: 1 07:52:41 CPU MHz: 2933.438 07:52:41 BogoMIPS: 5866.87 07:52:41 Virtualization: VT-x 07:52:41 Hypervisor vendor: KVM 07:52:41 Virtualization type: full 07:52:41 L1d cache: 128 KiB 07:52:41 L1i cache: 128 KiB 07:52:41 L2 cache: 16 MiB 07:52:41 L3 cache: 64 MiB 07:52:41 NUMA node0 CPU(s): 0-3 07:52:41 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:52:41 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:52:41 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:52:41 Vulnerability Meltdown: Mitigation; PTI 07:52:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:52:41 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:52:41 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:52:41 Vulnerability Tsx async abort: Not affected 07:52:41 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 07:52:41 07:52:41 07:52:41 ---> nproc: 07:52:41 4 07:52:41 07:52:41 07:52:41 ---> df -h: 07:52:41 Filesystem Size Used Available Use% Mounted on 07:52:41 overlay 50.0G 7.2G 42.8G 14% / 07:52:41 tmpfs 64.0M 0 64.0M 0% /dev 07:52:41 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:52:41 shm 64.0M 0 64.0M 0% /dev/shm 07:52:41 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 07:52:41 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 07:52:41 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 07:52:41 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 07:52:41 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 07:52:41 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dry_go-mod-core-contracts_PR-367 07:52:41 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dry_go-mod-core-contracts_PR-367@tmp 07:52:41 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 07:52:41 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 07:52:41 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 07:52:41 07:52:41 07:52:41 ---> free -m: 07:52:41 total used free shared buff/cache available 07:52:41 Mem: 1837 694 109 0 1033 1040 07:52:41 Swap: 1023 1 1022 07:52:41 07:52:41 07:52:41 ---> ip addr: 07:52:41 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:52:41 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:52:41 inet 127.0.0.1/8 scope host lo 07:52:41 valid_lft forever preferred_lft forever 07:52:41 inet6 ::1/128 scope host 07:52:41 valid_lft forever preferred_lft forever 07:52:41 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:52:41 link/ether fa:16:3e:36:cf:03 brd ff:ff:ff:ff:ff:ff 07:52:41 inet 10.30.123.139/23 brd 10.30.123.255 scope global dynamic eth0 07:52:41 valid_lft 86028sec preferred_lft 86028sec 07:52:41 inet6 fe80::f816:3eff:fe36:cf03/64 scope link 07:52:41 valid_lft forever preferred_lft forever 07:52:41 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:52:41 link/ether 02:42:4f:57:84:57 brd ff:ff:ff:ff:ff:ff 07:52:41 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:52:41 valid_lft forever preferred_lft forever 07:52:41 inet6 fe80::42:4fff:fe57:8457/64 scope link 07:52:41 valid_lft forever preferred_lft forever 07:52:41 07:52:41 07:52:41 ---> sar -b -r -n DEV: 07:52:41 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/13/20 _x86_64_ (4 CPU) 07:52:41 07:52:41 07:46:12 LINUX RESTART (4 CPU) 07:52:41 07:52:41 07:47:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:52:41 07:48:01 32.26 11.72 20.54 0.00 4512.20 2244.56 0.00 07:52:41 07:49:01 0.93 0.00 0.93 0.00 0.00 20.93 0.00 07:52:41 07:50:01 0.30 0.00 0.30 0.00 0.00 4.05 0.00 07:52:41 07:51:01 0.25 0.00 0.25 0.00 0.00 2.57 0.00 07:52:41 07:52:01 0.15 0.00 0.15 0.00 0.00 2.10 0.00 07:52:41 Average: 6.78 2.34 4.44 0.00 902.74 454.99 0.00 07:52:41 07:52:41 07:47:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:52:41 07:48:01 152260 0 592848 31.51 2620 1133828 1111736 37.94 436668 1131728 20 07:52:41 07:49:01 156932 0 588168 31.26 2620 1133836 1080248 36.87 436112 1128140 12 07:52:41 07:50:01 156140 0 588952 31.30 2620 1133844 1080464 36.87 437128 1128136 8 07:52:41 07:51:01 154964 0 590128 31.36 2620 1133844 1080380 36.87 438752 1127540 8 07:52:41 07:52:01 155524 0 589560 31.33 2620 1133852 1080308 36.87 458728 1107156 8 07:52:41 Average: 155164 0 589931 31.35 2620 1133841 1086627 37.08 441478 1124540 11 07:52:41 07:52:41 07:47:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:52:41 07:48:01 eth0 175.18 131.50 464.20 47.35 0.00 0.00 0.00 0.00 07:52:41 07:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:52:41 07:48:01 docker0 4.59 3.23 1.15 12.84 0.00 0.00 0.00 0.00 07:52:41 07:49:01 eth0 0.82 0.08 0.07 0.01 0.00 0.00 0.00 0.00 07:52:41 07:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:52:41 07:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:52:41 07:50:01 eth0 1.02 0.42 0.32 0.20 0.00 0.00 0.00 0.00 07:52:41 07:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:52:41 07:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:52:41 07:51:01 eth0 0.52 0.35 0.27 0.20 0.00 0.00 0.00 0.00 07:52:41 07:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:52:41 07:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:52:41 07:52:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 07:52:41 07:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:52:41 07:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:52:41 Average: eth0 35.56 26.51 93.02 9.57 0.00 0.00 0.00 0.00 07:52:41 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:52:41 Average: docker0 0.92 0.65 0.23 2.57 0.00 0.00 0.00 0.00 07:52:41 07:52:41 07:52:41 ---> sar -P ALL: 07:52:41 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/13/20 _x86_64_ (4 CPU) 07:52:41 07:52:41 07:46:12 LINUX RESTART (4 CPU) 07:52:41 07:52:41 07:47:01 CPU %user %nice %system %iowait %steal %idle 07:52:41 07:48:01 all 3.18 0.00 2.12 0.93 0.01 93.75 07:52:41 07:48:01 0 2.88 0.00 2.11 0.67 0.00 94.33 07:52:41 07:48:01 1 3.04 0.00 1.92 0.45 0.02 94.57 07:52:41 07:48:01 2 3.62 0.00 1.76 1.66 0.02 92.95 07:52:41 07:48:01 3 3.18 0.00 2.70 0.95 0.00 93.17 07:52:41 07:49:01 all 0.12 0.00 0.06 0.00 0.00 99.82 07:52:41 07:49:01 0 0.03 0.00 0.05 0.00 0.00 99.92 07:52:41 07:49:01 1 0.07 0.00 0.07 0.00 0.00 99.87 07:52:41 07:49:01 2 0.35 0.00 0.07 0.00 0.00 99.58 07:52:41 07:49:01 3 0.03 0.00 0.05 0.00 0.00 99.92 07:52:41 07:50:01 all 0.17 0.00 0.04 0.00 0.00 99.79 07:52:41 07:50:01 0 0.03 0.00 0.02 0.00 0.02 99.93 07:52:41 07:50:01 1 0.10 0.00 0.03 0.00 0.00 99.87 07:52:41 07:50:01 2 0.50 0.00 0.07 0.00 0.00 99.43 07:52:41 07:50:01 3 0.05 0.00 0.03 0.00 0.00 99.92 07:52:41 07:51:01 all 0.15 0.00 0.03 0.00 0.00 99.81 07:52:41 07:51:01 0 0.03 0.00 0.02 0.00 0.00 99.95 07:52:41 07:51:01 1 0.02 0.00 0.03 0.00 0.00 99.95 07:52:41 07:51:01 2 0.53 0.00 0.03 0.00 0.02 99.42 07:52:41 07:51:01 3 0.03 0.00 0.03 0.00 0.00 99.93 07:52:41 07:52:01 all 0.16 0.00 0.06 0.00 0.00 99.78 07:52:41 07:52:01 0 0.03 0.00 0.03 0.00 0.00 99.93 07:52:41 07:52:01 1 0.03 0.00 0.15 0.00 0.00 99.82 07:52:41 07:52:01 2 0.53 0.00 0.03 0.00 0.00 99.43 07:52:41 07:52:01 3 0.03 0.00 0.03 0.00 0.00 99.93 07:52:41 Average: all 0.75 0.00 0.46 0.19 0.00 98.60 07:52:41 Average: 0 0.60 0.00 0.44 0.13 0.00 98.82 07:52:41 Average: 1 0.65 0.00 0.44 0.09 0.00 98.82 07:52:41 Average: 2 1.11 0.00 0.39 0.33 0.01 98.17 07:52:41 Average: 3 0.66 0.00 0.57 0.19 0.00 98.58 07:52:41 07:52:41 07:52:41