Pull request #365 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 50f8fedab1372e8285aeb5547e99c837232bdd34 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-12190’ Running on prd-centos7-docker-4c-2g-12196 in /w/workspace/dry_go-mod-core-contracts_PR-365 [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-365 # 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/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit af8aa216260df0556b394ae78b2a31d110cb53a2 into PR head commit 50f8fedab1372e8285aeb5547e99c837232bdd34 Merge succeeded, producing 50f8fedab1372e8285aeb5547e99c837232bdd34 Checking out Revision 50f8fedab1372e8285aeb5547e99c837232bdd34 (PR-365) > git config core.sparsecheckout # timeout=10 > git checkout -f 50f8fedab1372e8285aeb5547e99c837232bdd34 # 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 50f8fedab1372e8285aeb5547e99c837232bdd34 # timeout=10 Commit message: "feat(clients): Add V2 CommonClient" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:19:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk ced15efac2d1085b65b772f7f7e984098936bee5 # timeout=10 01:19:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:19:00 ========================================================= 01:19:00 EdgeX Global Pipelines Version Info 01:19:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:19:02 ------------------- 01:19:02 stable info: 01:19:02 ------------------- 01:19:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:19:02 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 01:19:02 Message: update stable to v1.0.162 01:19:03 ------------------- 01:19:03 experimental info: 01:19:03 ------------------- 01:19:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:19:03 Commit SHA: 6f2ee81cce8ce978e0d8ebd6865d4103bdd6920b 01:19:03 Message: update experimental to v1.0.164 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 01:19:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 01:19:04 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 01:19:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:19:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:19:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:19:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 01:19:04 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 01:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 01:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:19:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:19:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 01:19:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:19:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:19:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:19:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 01:19:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:19:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:19:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:19:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:19:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:19:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 01:19:07 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 01:19:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo 01:19:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo 01:19:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo 01:19:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50f8fedab1372e8285aeb5547e99c837232bdd34 [Pipeline] echo 01:19:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 50f8fed [Pipeline] echo 01:19:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:19:08 provisioning config files... 01:19:08 copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/config3853748226944988634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:19:08 ---> docker-login.sh 01:19:08 nexus3.edgexfoundry.org:10001 01:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:08 Configure a credential helper to remove this warning. See 01:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:08 01:19:08 Login Succeeded 01:19:08 nexus3.edgexfoundry.org:10002 01:19:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:09 Configure a credential helper to remove this warning. See 01:19:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:09 01:19:09 Login Succeeded 01:19:09 nexus3.edgexfoundry.org:10003 01:19:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:09 Configure a credential helper to remove this warning. See 01:19:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:09 01:19:09 Login Succeeded 01:19:09 nexus3.edgexfoundry.org:10004 01:19:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:10 Configure a credential helper to remove this warning. See 01:19:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:10 01:19:10 Login Succeeded 01:19:10 docker.io 01:19:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:10 Configure a credential helper to remove this warning. See 01:19:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:10 01:19:10 Login Succeeded 01:19:10 ---> docker-login.sh ends [Pipeline] } 01:19:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:19:11 + git log --format=format:%s -1 50f8fedab1372e8285aeb5547e99c837232bdd34 [Pipeline] echo 01:19:11 GIT_COMMIT: 50f8fedab1372e8285aeb5547e99c837232bdd34, Commit Message: feat(clients): Add V2 CommonClient [Pipeline] echo 01:19:11 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:19:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:19:12 01:19:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:19:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:19:13 latest: Pulling from edgex-devops/git-semver 01:19:13 31603596830f: Pulling fs layer 01:19:13 2a8b12db71e7: Pulling fs layer 01:19:13 6ca5941a6612: Pulling fs layer 01:19:13 ecc8261a40a4: Pulling fs layer 01:19:13 ecc8261a40a4: Waiting 01:19:13 2a8b12db71e7: Download complete 01:19:13 31603596830f: Verifying Checksum 01:19:13 31603596830f: Download complete 01:19:13 ecc8261a40a4: Verifying Checksum 01:19:13 ecc8261a40a4: Download complete 01:19:13 6ca5941a6612: Verifying Checksum 01:19:13 6ca5941a6612: Download complete 01:19:14 31603596830f: Pull complete 01:19:14 2a8b12db71e7: Pull complete 01:19:15 6ca5941a6612: Pull complete 01:19:16 ecc8261a40a4: Pull complete 01:19:16 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 01:19:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:19:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:19:16 prd-centos7-docker-4c-2g-12196 does not seem to be running inside a container 01:19:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-365 -v /w/workspace/dry_go-mod-core-contracts_PR-365:/w/workspace/dry_go-mod-core-contracts_PR-365:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-365@tmp:/w/workspace/dry_go-mod-core-contracts_PR-365@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 01:19:18 $ docker top e50f1ff73fe25292060ef1607664b76f591a9ba110a8827df6474535998d2d39 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:19:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:19:18 [ssh-agent] Looking for ssh-agent implementation... 01:19:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:19:19 $ docker exec e50f1ff73fe25292060ef1607664b76f591a9ba110a8827df6474535998d2d39 ssh-agent 01:19:19 SSH_AUTH_SOCK=/tmp/ssh-gRJkoUc8MQEg/agent.12 01:19:19 SSH_AGENT_PID=17 01:19:19 Running ssh-add (command line suppressed) 01:19:19 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_4638104755781213113.key (/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_4638104755781213113.key) 01:19:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:19:20 + git tag --points-at HEAD [Pipeline] } 01:19:20 $ docker exec --env ******** --env ******** e50f1ff73fe25292060ef1607664b76f591a9ba110a8827df6474535998d2d39 ssh-agent -k 01:19:20 unset SSH_AUTH_SOCK; 01:19:20 unset SSH_AGENT_PID; 01:19:20 echo Agent pid 17 killed; 01:19:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:19:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:19:20 [ssh-agent] Looking for ssh-agent implementation... 01:19:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:19:20 $ docker exec e50f1ff73fe25292060ef1607664b76f591a9ba110a8827df6474535998d2d39 ssh-agent 01:19:21 SSH_AUTH_SOCK=/tmp/ssh-EegPPLufO9Zd/agent.47 01:19:21 SSH_AGENT_PID=52 01:19:21 Running ssh-add (command line suppressed) 01:19:21 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_2224301004685825159.key (/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_2224301004685825159.key) 01:19:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:19:21 + git semver init 01:19:22 # -> Open(): unable to determine branch for HEAD 01:19:22 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-365/.git 01:19:22 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-365 01:19:22 # $SEMVER_REMOTE_NAME = origin 01:19:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:19:22 # $SEMVER_USER_NAME = edgex-jenkins 01:19:22 # $SEMVER_BRANCH = PR-365 01:19:22 # $SEMVER_TEMP = /tmp/semver-932669067 01:19:22 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 01:19:22 # '/tmp/semver-932669067' -> '/w/workspace/dry_go-mod-core-contracts_PR-365/.semver' 01:19:23 # -> Force: false 01:19:23 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-365/.semver [Pipeline] } 01:19:23 $ docker exec --env ******** --env ******** e50f1ff73fe25292060ef1607664b76f591a9ba110a8827df6474535998d2d39 ssh-agent -k 01:19:23 unset SSH_AUTH_SOCK; 01:19:23 unset SSH_AGENT_PID; 01:19:23 echo Agent pid 52 killed; 01:19:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:19:23 + git semver [Pipeline] } 01:19:23 $ docker stop --time=1 e50f1ff73fe25292060ef1607664b76f591a9ba110a8827df6474535998d2d39 01:19:25 $ docker rm -f e50f1ff73fe25292060ef1607664b76f591a9ba110a8827df6474535998d2d39 [Pipeline] // withDockerContainer [Pipeline] sh 01:19:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:19:27 Stashed 1 file(s) [Pipeline] echo 01:19:27 [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 01:19:42 Still waiting to schedule task 01:19:42 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:19:42 Still waiting to schedule task 01:19:42 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 01:22:02 Running on prd-centos7-docker-4c-2g-12197 in /w/workspace/dry_go-mod-core-contracts_PR-365 [Pipeline] { [Pipeline] ws 01:22:02 Running in /w/workspace/go-mod-core-contracts/26 [Pipeline] { [Pipeline] checkout 01:22:05 using credential edgex-jenkins-ssh 01:22:05 Cloning the remote Git repository 01:22:05 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 01:22:05 > git init /w/workspace/go-mod-core-contracts/26 # timeout=10 01:22:05 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 01:22:05 > git --version # timeout=10 01:22:05 > git --version # 'git version 2.16.5' 01:22:05 using GIT_SSH to set credentials SSH Credentials for GitHub 01:22:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:22:06 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 01:22:07 Merging remotes/origin/master commit af8aa216260df0556b394ae78b2a31d110cb53a2 into PR head commit 50f8fedab1372e8285aeb5547e99c837232bdd34 01:22:07 Merge succeeded, producing 50f8fedab1372e8285aeb5547e99c837232bdd34 01:22:07 Checking out Revision 50f8fedab1372e8285aeb5547e99c837232bdd34 (PR-365) 01:22:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:22:06 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 01:22:06 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 01:22:06 using GIT_SSH to set credentials SSH Credentials for GitHub 01:22:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:22:07 > git config core.sparsecheckout # timeout=10 01:22:07 > git checkout -f 50f8fedab1372e8285aeb5547e99c837232bdd34 # timeout=10 01:22:07 > git remote # timeout=10 01:22:07 > git config --get remote.origin.url # timeout=10 01:22:07 using GIT_SSH to set credentials SSH Credentials for GitHub 01:22:07 > git merge af8aa216260df0556b394ae78b2a31d110cb53a2 # timeout=10 01:22:07 > git rev-parse HEAD^{commit} # timeout=10 01:22:07 > git config core.sparsecheckout # timeout=10 01:22:07 > git checkout -f 50f8fedab1372e8285aeb5547e99c837232bdd34 # timeout=10 01:22:10 Commit message: "feat(clients): Add V2 CommonClient" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:22:11 provisioning config files... 01:22:11 copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/go-mod-core-contracts/26@tmp/config8382180865450188861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:22:12 ---> docker-login.sh 01:22:12 nexus3.edgexfoundry.org:10001 01:22:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:12 Configure a credential helper to remove this warning. See 01:22:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:12 01:22:12 Login Succeeded 01:22:12 nexus3.edgexfoundry.org:10002 01:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:13 Configure a credential helper to remove this warning. See 01:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:13 01:22:13 Login Succeeded 01:22:13 nexus3.edgexfoundry.org:10003 01:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:13 Configure a credential helper to remove this warning. See 01:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:13 01:22:13 Login Succeeded 01:22:13 nexus3.edgexfoundry.org:10004 01:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:13 Configure a credential helper to remove this warning. See 01:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:13 01:22:13 Login Succeeded 01:22:13 docker.io 01:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:22:13 Configure a credential helper to remove this warning. See 01:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:22:13 01:22:13 Login Succeeded 01:22:13 ---> docker-login.sh ends [Pipeline] } 01:22:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:22:14 ========================================================= 01:22:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 01:22:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:22:14 + 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 . 01:22:15 Sending build context to Docker daemon 1.847MB 01:22:15 Step 1/7 : ARG BASE=golang:1.15-alpine 01:22:15 Step 2/7 : FROM ${BASE} 01:22:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 01:22:15 df20fa9351a1: Pulling fs layer 01:22:15 ed8968b2872e: Pulling fs layer 01:22:15 a92cc7c5fd73: Pulling fs layer 01:22:15 e871e8e8d7a9: Pulling fs layer 01:22:15 e73272ec9a57: Pulling fs layer 01:22:15 1e910a182e73: Pulling fs layer 01:22:15 4e634b169226: Pulling fs layer 01:22:15 1e910a182e73: Waiting 01:22:15 e73272ec9a57: Waiting 01:22:15 4e634b169226: Waiting 01:22:15 e871e8e8d7a9: Waiting 01:22:15 a92cc7c5fd73: Verifying Checksum 01:22:15 a92cc7c5fd73: Download complete 01:22:15 ed8968b2872e: Verifying Checksum 01:22:15 ed8968b2872e: Download complete 01:22:15 e73272ec9a57: Verifying Checksum 01:22:15 e73272ec9a57: Download complete 01:22:15 1e910a182e73: Verifying Checksum 01:22:15 1e910a182e73: Download complete 01:22:15 df20fa9351a1: Verifying Checksum 01:22:15 df20fa9351a1: Download complete 01:22:15 df20fa9351a1: Pull complete 01:22:15 ed8968b2872e: Pull complete 01:22:15 a92cc7c5fd73: Pull complete 01:22:17 4e634b169226: Verifying Checksum 01:22:17 4e634b169226: Download complete 01:22:18 e871e8e8d7a9: Verifying Checksum 01:22:18 e871e8e8d7a9: Download complete 01:22:23 e871e8e8d7a9: Pull complete 01:22:23 e73272ec9a57: Pull complete 01:22:23 1e910a182e73: Pull complete 01:22:30 4e634b169226: Pull complete 01:22:30 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 01:22:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 01:22:30 ---> f7629b54cfaa 01:22:30 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:22:30 ---> Running in 9654347363d9 01:22:30 Removing intermediate container 9654347363d9 01:22:30 ---> 414b0c590c12 01:22:30 Step 4/7 : RUN apk add bash 01:22:30 ---> Running in 34895c7e3b95 01:22:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:22:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:22:33 OK: 166 MiB in 39 packages 01:22:33 Removing intermediate container 34895c7e3b95 01:22:33 ---> 40927fe9dd49 01:22:33 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 01:22:33 ---> Running in fc6262245a8b 01:22:33 Removing intermediate container fc6262245a8b 01:22:33 ---> a510ba073a33 01:22:33 Step 6/7 : COPY go.mod . 01:22:33 ---> e2cef2a73758 01:22:33 Step 7/7 : RUN go mod download 01:22:33 ---> Running in 4e459feea4aa 01:22:46 Removing intermediate container 4e459feea4aa 01:22:46 ---> 2bc5339839c4 01:22:46 Successfully built 2bc5339839c4 01:22:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:22:46 + docker inspect -f . ci-base-image-x86_64 01:22:46 . [Pipeline] withDockerContainer 01:22:46 prd-centos7-docker-4c-2g-12197 does not seem to be running inside a container 01:22:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/26 -v /w/workspace/go-mod-core-contracts/26:/w/workspace/go-mod-core-contracts/26:rw,z -v /w/workspace/go-mod-core-contracts/26@tmp:/w/workspace/go-mod-core-contracts/26@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 ******** ci-base-image-x86_64 cat 01:22:47 $ docker top b29fcf069fc447d7038b9345b24673dc124b2c8b48bab447905df8e9b4b0b350 -eo pid,comm [Pipeline] { [Pipeline] sh 01:22:48 + go version 01:22:48 go version go1.15.2 linux/amd64 [Pipeline] } 01:22:48 $ docker stop --time=1 b29fcf069fc447d7038b9345b24673dc124b2c8b48bab447905df8e9b4b0b350 01:22:50 $ docker rm -f b29fcf069fc447d7038b9345b24673dc124b2c8b48bab447905df8e9b4b0b350 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:22:51 + docker inspect -f . ci-base-image-x86_64 01:22:51 . [Pipeline] withDockerContainer 01:22:51 prd-centos7-docker-4c-2g-12197 does not seem to be running inside a container 01:22:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/26 -v /w/workspace/go-mod-core-contracts/26:/w/workspace/go-mod-core-contracts/26:rw,z -v /w/workspace/go-mod-core-contracts/26@tmp:/w/workspace/go-mod-core-contracts/26@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 ******** ci-base-image-x86_64 cat 01:22:51 $ docker top 2942c09300919835914d0c323ec95da67c0e9569c4236b9a48a93ae5536a7ebb -eo pid,comm [Pipeline] { [Pipeline] sh 01:22:52 + make test 01:22:52 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:23:00 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 01:23:00 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.017s coverage: 85.7% of statements 01:23:00 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.019s coverage: 100.0% of statements 01:23:00 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.022s coverage: 45.4% of statements 01:23:00 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.009s coverage: 77.8% of statements 01:23:00 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 01:23:00 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.006s coverage: 6.4% of statements 01:23:01 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.017s coverage: 14.7% of statements 01:23:01 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.035s coverage: 100.0% of statements 01:23:01 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.049s coverage: 91.8% of statements 01:23:01 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 01:23:01 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 01:23:01 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.007s coverage: 100.0% of statements 01:23:01 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.005s coverage: 47.8% of statements 01:23:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-12198 in /w/workspace/dry_go-mod-core-contracts_PR-365 [Pipeline] { [Pipeline] ws 01:23:01 Running in /w/workspace/go-mod-core-contracts/26 [Pipeline] { [Pipeline] checkout 01:23:03 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.029s coverage: 63.0% of statements 01:23:03 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.004s coverage: 26.3% of statements 01:23:03 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.008s coverage: 15.4% of statements 01:23:03 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.019s coverage: 15.4% of statements 01:23:03 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.061s coverage: 14.3% of statements 01:23:03 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 01:23:03 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.014s coverage: 81.0% of statements 01:23:03 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 01:23:03 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 01:23:03 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.011s coverage: 29.1% of statements 01:23:03 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.012s coverage: 100.0% of statements 01:23:03 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.015s coverage: 94.4% of statements 01:23:03 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.007s coverage: 100.0% of statements 01:23:03 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 01:23:03 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:23:05 gofmt -l . 01:23:05 [ "`gofmt -l .`" = "" ] [Pipeline] } 01:23:05 $ docker stop --time=1 2942c09300919835914d0c323ec95da67c0e9569c4236b9a48a93ae5536a7ebb 01:23:06 using credential edgex-jenkins-ssh 01:23:06 Cloning the remote Git repository 01:23:06 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 01:23:06 > git init /w/workspace/go-mod-core-contracts/26 # timeout=10 01:23:06 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 01:23:06 > git --version # timeout=10 01:23:06 > git --version # 'git version 2.17.1' 01:23:06 using GIT_SSH to set credentials SSH Credentials for GitHub 01:23:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:23:08 $ docker rm -f 2942c09300919835914d0c323ec95da67c0e9569c4236b9a48a93ae5536a7ebb [Pipeline] // withDockerContainer [Pipeline] sh 01:23:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:23:08 Merging remotes/origin/master commit af8aa216260df0556b394ae78b2a31d110cb53a2 into PR head commit 50f8fedab1372e8285aeb5547e99c837232bdd34 01:23:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 01:23:09 Merge succeeded, producing 50f8fedab1372e8285aeb5547e99c837232bdd34 01:23:09 Checking out Revision 50f8fedab1372e8285aeb5547e99c837232bdd34 (PR-365) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 01:23:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 01:23:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:23:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 01:23:08 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 01:23:08 using GIT_SSH to set credentials SSH Credentials for GitHub 01:23:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:23:08 > git config core.sparsecheckout # timeout=10 01:23:08 > git checkout -f 50f8fedab1372e8285aeb5547e99c837232bdd34 # timeout=10 01:23:08 > git remote # timeout=10 01:23:08 > git config --get remote.origin.url # timeout=10 01:23:09 using GIT_SSH to set credentials SSH Credentials for GitHub 01:23:09 > git merge af8aa216260df0556b394ae78b2a31d110cb53a2 # timeout=10 01:23:09 > git rev-parse HEAD^{commit} # timeout=10 01:23:09 > git config core.sparsecheckout # timeout=10 01:23:09 > git checkout -f 50f8fedab1372e8285aeb5547e99c837232bdd34 # timeout=10 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] } 01:23:13 Commit message: "feat(clients): Add V2 CommonClient" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:23:14 provisioning config files... 01:23:14 copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/go-mod-core-contracts/26@tmp/config6555663574888067241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:23:15 ---> docker-login.sh 01:23:15 nexus3.edgexfoundry.org:10001 01:23:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:16 Configure a credential helper to remove this warning. See 01:23:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:16 01:23:16 Login Succeeded 01:23:16 nexus3.edgexfoundry.org:10002 01:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:17 Configure a credential helper to remove this warning. See 01:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:17 01:23:17 Login Succeeded 01:23:17 nexus3.edgexfoundry.org:10003 01:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:17 Configure a credential helper to remove this warning. See 01:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:17 01:23:17 Login Succeeded 01:23:17 nexus3.edgexfoundry.org:10004 01:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:18 Configure a credential helper to remove this warning. See 01:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:18 01:23:18 Login Succeeded 01:23:18 docker.io 01:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:23:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:23:19 Configure a credential helper to remove this warning. See 01:23:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:23:19 01:23:19 Login Succeeded 01:23:19 ---> docker-login.sh ends [Pipeline] } 01:23:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:23:19 ========================================================= 01:23:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 01:23:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:23:19 + 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 . 01:23:20 Sending build context to Docker daemon 1.847MB 01:23:20 Step 1/7 : ARG BASE=golang:1.15-alpine 01:23:20 Step 2/7 : FROM ${BASE} 01:23:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:23:20 b538f80385f9: Pulling fs layer 01:23:20 74f711af9a0d: Pulling fs layer 01:23:20 99f96fe45779: Pulling fs layer 01:23:20 8529a6b9a6be: Pulling fs layer 01:23:20 45590311c82a: Pulling fs layer 01:23:20 69ca0ff8b7b3: Pulling fs layer 01:23:20 209524e5b208: Pulling fs layer 01:23:20 45590311c82a: Waiting 01:23:20 8529a6b9a6be: Waiting 01:23:20 209524e5b208: Waiting 01:23:20 69ca0ff8b7b3: Waiting 01:23:20 99f96fe45779: Download complete 01:23:20 74f711af9a0d: Verifying Checksum 01:23:20 74f711af9a0d: Download complete 01:23:20 45590311c82a: Verifying Checksum 01:23:20 45590311c82a: Download complete 01:23:20 69ca0ff8b7b3: Verifying Checksum 01:23:20 69ca0ff8b7b3: Download complete 01:23:20 b538f80385f9: Verifying Checksum 01:23:20 b538f80385f9: Download complete 01:23:21 b538f80385f9: Pull complete 01:23:22 74f711af9a0d: Pull complete 01:23:22 99f96fe45779: Pull complete 01:23:23 209524e5b208: Verifying Checksum 01:23:23 209524e5b208: Download complete 01:23:24 8529a6b9a6be: Download complete 01:23:34 8529a6b9a6be: Pull complete 01:23:34 45590311c82a: Pull complete 01:23:34 69ca0ff8b7b3: Pull complete 01:23:37 209524e5b208: Pull complete 01:23:37 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 01:23:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 01:23:37 ---> 5bddaf1c2fca 01:23:37 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:23:41 ---> Running in 2152d44716d7 01:23:41 Removing intermediate container 2152d44716d7 01:23:41 ---> 5ffb23602216 01:23:41 Step 4/7 : RUN apk add bash 01:23:41 ---> Running in 0a24f97d6f94 01:23:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:23:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:23:44 OK: 142 MiB in 39 packages 01:23:46 Removing intermediate container 0a24f97d6f94 01:23:46 ---> 07a5b48f7d8b 01:23:46 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 01:23:46 ---> Running in e7bc52eff199 01:23:46 Removing intermediate container e7bc52eff199 01:23:46 ---> d257d2f161dd 01:23:46 Step 6/7 : COPY go.mod . 01:23:47 ---> 48293e340898 01:23:47 Step 7/7 : RUN go mod download 01:23:47 ---> Running in 0f17b82c6dc7 01:24:02 Removing intermediate container 0f17b82c6dc7 01:24:02 ---> 6bdf2ee28074 01:24:02 Successfully built 6bdf2ee28074 01:24:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:24:02 + docker inspect -f . ci-base-image-arm64 01:24:02 . [Pipeline] withDockerContainer 01:24:03 prd-ubuntu18.04-docker-arm64-4c-16g-12198 does not seem to be running inside a container 01:24:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/26 -v /w/workspace/go-mod-core-contracts/26:/w/workspace/go-mod-core-contracts/26:rw,z -v /w/workspace/go-mod-core-contracts/26@tmp:/w/workspace/go-mod-core-contracts/26@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 ******** ci-base-image-arm64 cat 01:24:05 $ docker top f9674d85dc20462b231734059827c30f186d7cb2af39a3de920a552de72b2bd1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:24:06 + go version 01:24:06 go version go1.15.2 linux/arm64 [Pipeline] } 01:24:06 $ docker stop --time=1 f9674d85dc20462b231734059827c30f186d7cb2af39a3de920a552de72b2bd1 01:24:08 $ docker rm -f f9674d85dc20462b231734059827c30f186d7cb2af39a3de920a552de72b2bd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:24:09 + docker inspect -f . ci-base-image-arm64 01:24:09 . [Pipeline] withDockerContainer 01:24:09 prd-ubuntu18.04-docker-arm64-4c-16g-12198 does not seem to be running inside a container 01:24:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/26 -v /w/workspace/go-mod-core-contracts/26:/w/workspace/go-mod-core-contracts/26:rw,z -v /w/workspace/go-mod-core-contracts/26@tmp:/w/workspace/go-mod-core-contracts/26@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 ******** ci-base-image-arm64 cat 01:24:11 $ docker top 21cf918e42ad3eabe9fea30393ad1e96e3466bb0350dea1ebdfc04164456f7ad -eo pid,comm [Pipeline] { [Pipeline] sh 01:24:13 + make test 01:24:13 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:24:35 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 01:24:35 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.062s coverage: 85.7% of statements 01:24:35 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.035s coverage: 100.0% of statements 01:24:37 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.037s coverage: 45.4% of statements 01:24:37 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.043s coverage: 77.8% of statements 01:24:37 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 01:24:37 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.010s coverage: 6.4% of statements 01:24:38 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.073s coverage: 14.7% of statements 01:24:39 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.016s coverage: 100.0% of statements 01:24:40 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.072s coverage: 91.8% of statements 01:24:40 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 01:24:40 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 01:24:40 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.020s coverage: 100.0% of statements 01:24:41 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.012s coverage: 47.8% of statements 01:24:46 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.097s coverage: 63.0% of statements 01:24:46 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.011s coverage: 26.3% of statements 01:24:46 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.043s coverage: 15.4% of statements 01:24:46 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.036s coverage: 15.4% of statements 01:24:46 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.011s coverage: 14.3% of statements 01:24:46 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 01:24:46 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.038s coverage: 81.0% of statements 01:24:46 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 01:24:46 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 01:24:46 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.031s coverage: 29.1% of statements 01:24:47 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.039s coverage: 100.0% of statements 01:24:48 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.056s coverage: 94.4% of statements 01:24:48 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.024s coverage: 100.0% of statements 01:24:48 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 01:24:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:24:53 gofmt -l . 01:24:53 [ "`gofmt -l .`" = "" ] [Pipeline] } 01:24:54 $ docker stop --time=1 21cf918e42ad3eabe9fea30393ad1e96e3466bb0350dea1ebdfc04164456f7ad 01:24:56 $ docker rm -f 21cf918e42ad3eabe9fea30393ad1e96e3466bb0350dea1ebdfc04164456f7ad [Pipeline] // withDockerContainer [Pipeline] sh 01:24:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:24:57 Warning: overwriting stash ‘coverage-report’ 01:24:58 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 01:25:00 provisioning config files... 01:25:00 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/config3446982571271127773tmp [Pipeline] { [Pipeline] sh 01:25:00 + set +x 01:25:00 + curl -s https://codecov.io/bash 01:25:00 + bash -s -- 01:25:00 01:25:00 _____ _ 01:25:00 / ____| | | 01:25:00 | | ___ __| | ___ ___ _____ __ 01:25:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:25:00 | |___| (_) | (_| | __/ (_| (_) \ V / 01:25:00 \_____\___/ \__,_|\___|\___\___/ \_/ 01:25:00 Bash-20201106-81372f2 01:25:00 01:25:00 01:25:00 ==> Jenkins CI detected. 01:25:00 project root: . 01:25:00 --> token set from env 01:25:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:25:00 ==> Running gcov in . (disable via -X gcov) 01:25:00 ==> Python coveragepy not found 01:25:00 ==> Searching for coverage reports in: 01:25:00 + . 01:25:00 -> Found 1 reports 01:25:00 ==> Detecting git/mercurial file structure 01:25:00 ==> Reading reports 01:25:00 + ./coverage.out bytes=107045 01:25:01 ==> Appending adjustments 01:25:01 https://docs.codecov.io/docs/fixing-reports 01:25:02 + Found adjustments 01:25:02 ==> Gzipping contents 01:25:02 ==> Uploading reports 01:25:02 url: https://codecov.io 01:25:02 query: branch=PR-365&commit=50f8fedab1372e8285aeb5547e99c837232bdd34&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-365%2F26%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=365&job=&cmd_args= 01:25:02 -> Pinging Codecov 01:25:02 https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=PR-365&commit=50f8fedab1372e8285aeb5547e99c837232bdd34&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-365%2F26%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=365&job=&cmd_args= 01:25:02 -> Uploading to 01:25:02 https://storage.googleapis.com/codecov/v4/raw/2020-11-16/71470A77251A30514AAF9C0BB2E5B6CE/50f8fedab1372e8285aeb5547e99c837232bdd34/658c4893-c294-4499-88f9-16ef2c7421eb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201116T012502Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3cbf99c17ed54b76a71206e43753be966e59ba0cca33a0d863237f5e025c1d91 01:25:02 % Total % Received % Xferd Average Speed Time Time Time Current 01:25:02 Dload Upload Total Spent Left Speed 01:25:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17316 0 0 100 17316 0 36745 --:--:-- --:--:-- --:--:-- 36764 01:25:03 -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/50f8fedab1372e8285aeb5547e99c837232bdd34 [Pipeline] } 01:25:03 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 01:25:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:25:06 ---> package-listing.sh 01:25:06 ++ facter osfamily 01:25:06 ++ tr '[:upper:]' '[:lower:]' 01:25:06 + OS_FAMILY=redhat 01:25:06 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-365 01:25:06 + START_PACKAGES=/tmp/packages_start.txt 01:25:06 + END_PACKAGES=/tmp/packages_end.txt 01:25:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:25:06 + PACKAGES=/tmp/packages_start.txt 01:25:06 + '[' /w/workspace/dry_go-mod-core-contracts_PR-365 ']' 01:25:06 + PACKAGES=/tmp/packages_end.txt 01:25:06 + case "${OS_FAMILY}" in 01:25:06 + rpm -qa 01:25:06 + sort 01:25:11 + '[' -f /tmp/packages_start.txt ']' 01:25:11 + '[' -f /tmp/packages_end.txt ']' 01:25:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:25:11 + '[' /w/workspace/dry_go-mod-core-contracts_PR-365 ']' 01:25:11 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-365/archives/ 01:25:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-365/archives/ [Pipeline] echo 01:25:11 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-365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:25:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:25:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:25:12 01:25:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:25:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:25:12 alpine: Pulling from edgex-lftools-log-publisher 01:25:12 df20fa9351a1: Pulling fs layer 01:25:12 36b3adc4ff6f: Pulling fs layer 01:25:12 8ad3a11d3b57: Pulling fs layer 01:25:12 46f8f816bc3b: Pulling fs layer 01:25:12 93b61091891f: Pulling fs layer 01:25:12 93b9cdb0e59b: Pulling fs layer 01:25:12 5e14af77c1be: Pulling fs layer 01:25:12 01666e4c0597: Pulling fs layer 01:25:12 aa168da1d23b: Pulling fs layer 01:25:12 93b9cdb0e59b: Waiting 01:25:12 5e14af77c1be: Waiting 01:25:12 01666e4c0597: Waiting 01:25:12 46f8f816bc3b: Waiting 01:25:12 93b61091891f: Waiting 01:25:12 36b3adc4ff6f: Verifying Checksum 01:25:12 36b3adc4ff6f: Download complete 01:25:12 46f8f816bc3b: Verifying Checksum 01:25:12 46f8f816bc3b: Download complete 01:25:12 df20fa9351a1: Verifying Checksum 01:25:12 df20fa9351a1: Download complete 01:25:12 93b9cdb0e59b: Verifying Checksum 01:25:12 93b9cdb0e59b: Download complete 01:25:12 5e14af77c1be: Download complete 01:25:12 93b61091891f: Download complete 01:25:12 01666e4c0597: Verifying Checksum 01:25:12 01666e4c0597: Download complete 01:25:12 8ad3a11d3b57: Verifying Checksum 01:25:12 8ad3a11d3b57: Download complete 01:25:13 df20fa9351a1: Pull complete 01:25:13 36b3adc4ff6f: Pull complete 01:25:14 8ad3a11d3b57: Pull complete 01:25:14 46f8f816bc3b: Pull complete 01:25:15 93b61091891f: Pull complete 01:25:15 93b9cdb0e59b: Pull complete 01:25:15 5e14af77c1be: Pull complete 01:25:15 01666e4c0597: Pull complete 01:25:17 aa168da1d23b: Verifying Checksum 01:25:17 aa168da1d23b: Download complete 01:25:25 aa168da1d23b: Pull complete 01:25:25 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 01:25:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:25:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:25:25 prd-centos7-docker-4c-2g-12196 does not seem to be running inside a container 01:25:25 $ 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-365/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-365 -v /w/workspace/dry_go-mod-core-contracts_PR-365:/w/workspace/dry_go-mod-core-contracts_PR-365:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-365@tmp:/w/workspace/dry_go-mod-core-contracts_PR-365@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 01:25:29 $ docker top 087eb71eadc40799fd9473074e2d548f761a24ed297afb0cc597c41a7605201b -eo pid,comm [Pipeline] { [Pipeline] sh 01:25:30 + touch /tmp/pre-build-complete [Pipeline] sh 01:25:30 + mkdir -p /var/log/sa [Pipeline] sh 01:25:31 + ls /var/log/sa-host 01:25:31 + sadf -c /var/log/sa-host/sa05 01:25:31 file_magic: OK 01:25:31 HZ: Using current value: 100 01:25:31 file_header: OK 01:25:31 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 01:25:31 Statistics: 01:25:31 Hnuu...uuuununununu...Hnuu...uuuununununu... 01:25:31 File successfully converted to sysstat format version 12.2.1 01:25:31 + sadf -c /var/log/sa-host/sa16 01:25:31 file_magic: OK 01:25:31 HZ: Using current value: 100 01:25:31 file_header: OK 01:25:31 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 01:25:31 Statistics: 01:25:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:25:31 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:25:32 provisioning config files... 01:25:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/config1852177711719223416tmp [Pipeline] { [Pipeline] echo 01:25:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:25:32 ---> create-netrc.sh [Pipeline] } 01:25:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:25:32 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:25:32 ---> python-tools-install.sh [Pipeline] echo 01:25:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:25:33 ---> sudo-logs.sh 01:25:33 Archiving 'sudo' log.. [Pipeline] echo 01:25:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:25:33 ---> job-cost.sh 01:25:33 lf-activate-venv: SKIPPING 01:25:33 INFO: No Stack... 01:25:34 INFO: Retrieving Pricing Info for: v1-standard-2 01:25:35 INFO: Archiving Costs [Pipeline] echo 01:25:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:25:35 ---> logs-deploy.sh 01:25:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-365/26 01:25:35 INFO: archiving workspace using pattern(s): 01:25:37 Archives upload complete. 01:25:37 INFO: archiving logs to Nexus