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 ba768134bdda0babf0f095d37a490f0046e43e00 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-11671’ Running on prd-centos7-docker-4c-2g-11679 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 ba768134bdda0babf0f095d37a490f0046e43e00 Merge succeeded, producing ba768134bdda0babf0f095d37a490f0046e43e00 Checking out Revision ba768134bdda0babf0f095d37a490f0046e43e00 (PR-365) > git config core.sparsecheckout # timeout=10 > git checkout -f ba768134bdda0babf0f095d37a490f0046e43e00 # 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 ba768134bdda0babf0f095d37a490f0046e43e00 # timeout=10 Commit message: "feat(clients): Add V2 CommonClient" First time build. Skipping changelog. > git rev-list --no-walk 664cdb328e44b5e60cbd0e8abef29471fb1ce935 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:37:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:37:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:37:26 ========================================================= 02:37:26 EdgeX Global Pipelines Version Info 02:37:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:37:28 ------------------- 02:37:28 stable info: 02:37:28 ------------------- 02:37:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:37:28 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 02:37:28 Message: update stable to v1.0.162 02:37:29 ------------------- 02:37:29 experimental info: 02:37:29 ------------------- 02:37:29 Commited By: **** collab-it+edgex@linuxfoundation.org 02:37:29 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 02:37:29 Message: update experimental to v1.0.162 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:37:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 02:37:29 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 02:37:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:37:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:37:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:37:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:37:30 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 02:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:37:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 02:37:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:37:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:37:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:37:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 02:37:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:37:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:37:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:37:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:37:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:37:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 02:37:32 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:37:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo 02:37:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo 02:37:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo 02:37:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba768134bdda0babf0f095d37a490f0046e43e00 [Pipeline] echo 02:37:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba76813 [Pipeline] echo 02:37:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:37:32 provisioning config files... 02:37:32 copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/config106233931422895081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:33 ---> docker-login.sh 02:37:33 nexus3.edgexfoundry.org:10001 02:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:33 Configure a credential helper to remove this warning. See 02:37:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:33 02:37:33 Login Succeeded 02:37:33 nexus3.edgexfoundry.org:10002 02:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:34 Configure a credential helper to remove this warning. See 02:37:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:34 02:37:34 Login Succeeded 02:37:34 nexus3.edgexfoundry.org:10003 02:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:34 Configure a credential helper to remove this warning. See 02:37:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:34 02:37:34 Login Succeeded 02:37:34 nexus3.edgexfoundry.org:10004 02:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:34 Configure a credential helper to remove this warning. See 02:37:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:34 02:37:34 Login Succeeded 02:37:34 docker.io 02:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:34 Configure a credential helper to remove this warning. See 02:37:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:34 02:37:34 Login Succeeded 02:37:34 ---> docker-login.sh ends [Pipeline] } 02:37:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:37:35 + git log --format=format:%s -1 ba768134bdda0babf0f095d37a490f0046e43e00 [Pipeline] echo 02:37:35 GIT_COMMIT: ba768134bdda0babf0f095d37a490f0046e43e00, Commit Message: feat(clients): Add V2 CommonClient [Pipeline] echo 02:37:35 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:37:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:37:36 02:37:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:37:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:37:37 latest: Pulling from edgex-devops/git-semver 02:37:37 31603596830f: Pulling fs layer 02:37:37 2a8b12db71e7: Pulling fs layer 02:37:37 6ca5941a6612: Pulling fs layer 02:37:37 ecc8261a40a4: Pulling fs layer 02:37:37 ecc8261a40a4: Waiting 02:37:37 2a8b12db71e7: Verifying Checksum 02:37:37 2a8b12db71e7: Download complete 02:37:37 31603596830f: Verifying Checksum 02:37:37 31603596830f: Download complete 02:37:37 ecc8261a40a4: Verifying Checksum 02:37:37 ecc8261a40a4: Download complete 02:37:37 6ca5941a6612: Verifying Checksum 02:37:37 6ca5941a6612: Download complete 02:37:37 31603596830f: Pull complete 02:37:37 2a8b12db71e7: Pull complete 02:37:38 6ca5941a6612: Pull complete 02:37:38 ecc8261a40a4: Pull complete 02:37:38 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:37:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:37:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:37:38 prd-centos7-docker-4c-2g-11679 does not seem to be running inside a container 02:37:38 $ 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 02:37:41 $ docker top d7ec22ccd44b186bd5676d99af9130d15cfa72a9d50e737be12f3c6bad9705b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:37:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:37:41 [ssh-agent] Looking for ssh-agent implementation... 02:37:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:37:41 $ docker exec d7ec22ccd44b186bd5676d99af9130d15cfa72a9d50e737be12f3c6bad9705b4 ssh-agent 02:37:41 SSH_AUTH_SOCK=/tmp/ssh-MYcmZk41f1j9/agent.11 02:37:41 SSH_AGENT_PID=16 02:37:42 Running ssh-add (command line suppressed) 02:37:42 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_1030606342521984851.key (/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_1030606342521984851.key) 02:37:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:37:42 + git tag --points-at HEAD [Pipeline] } 02:37:42 $ docker exec --env ******** --env ******** d7ec22ccd44b186bd5676d99af9130d15cfa72a9d50e737be12f3c6bad9705b4 ssh-agent -k 02:37:42 unset SSH_AUTH_SOCK; 02:37:42 unset SSH_AGENT_PID; 02:37:42 echo Agent pid 16 killed; 02:37:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:37:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:37:42 [ssh-agent] Looking for ssh-agent implementation... 02:37:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:37:43 $ docker exec d7ec22ccd44b186bd5676d99af9130d15cfa72a9d50e737be12f3c6bad9705b4 ssh-agent 02:37:43 SSH_AUTH_SOCK=/tmp/ssh-IeI4joVMSbJi/agent.44 02:37:43 SSH_AGENT_PID=50 02:37:43 Running ssh-add (command line suppressed) 02:37:43 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_8679098362161086505.key (/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_8679098362161086505.key) 02:37:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:37:43 + git semver init 02:37:43 # -> Open(): unable to determine branch for HEAD 02:37:43 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-365/.git 02:37:43 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-365 02:37:43 # $SEMVER_REMOTE_NAME = origin 02:37:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:37:43 # $SEMVER_USER_NAME = edgex-jenkins 02:37:43 # $SEMVER_BRANCH = PR-365 02:37:43 # $SEMVER_TEMP = /tmp/semver-279399028 02:37:43 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 02:37:44 # '/tmp/semver-279399028' -> '/w/workspace/dry_go-mod-core-contracts_PR-365/.semver' 02:37:44 # -> Force: false 02:37:44 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-365/.semver [Pipeline] } 02:37:44 $ docker exec --env ******** --env ******** d7ec22ccd44b186bd5676d99af9130d15cfa72a9d50e737be12f3c6bad9705b4 ssh-agent -k 02:37:44 unset SSH_AUTH_SOCK; 02:37:44 unset SSH_AGENT_PID; 02:37:44 echo Agent pid 50 killed; 02:37:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:37:44 + git semver [Pipeline] } 02:37:44 $ docker stop --time=1 d7ec22ccd44b186bd5676d99af9130d15cfa72a9d50e737be12f3c6bad9705b4 02:37:46 $ docker rm -f d7ec22ccd44b186bd5676d99af9130d15cfa72a9d50e737be12f3c6bad9705b4 [Pipeline] // withDockerContainer [Pipeline] sh 02:37:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:37:47 Stashed 1 file(s) [Pipeline] echo 02:37:47 [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 02:38:03 Still waiting to schedule task 02:38:03 ‘prd-centos7-docker-4c-2g-11671’ is offline; ‘prd-centos7-docker-4c-2g-11680’ is offline; ‘prd-centos7-docker-8c-8g-11452’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-16c-16g-10291’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10024’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-11550’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-11678’ doesn’t have label ‘centos7-docker-4c-2g’ 02:38:03 Still waiting to schedule task 02:38:03 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:38:13 Running on prd-centos7-docker-4c-2g-11680 in /w/workspace/dry_go-mod-core-contracts_PR-365 [Pipeline] { [Pipeline] ws 02:38:13 Running in /w/workspace/go-mod-core-contracts/18 [Pipeline] { [Pipeline] checkout 02:38:16 using credential edgex-jenkins-ssh 02:38:16 Cloning the remote Git repository 02:38:16 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 02:38:16 > git init /w/workspace/go-mod-core-contracts/18 # timeout=10 02:38:16 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 02:38:16 > git --version # timeout=10 02:38:16 > git --version # 'git version 2.16.5' 02:38:16 using GIT_SSH to set credentials SSH Credentials for GitHub 02:38:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:38:17 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 02:38:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:38:17 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 02:38:17 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 02:38:17 using GIT_SSH to set credentials SSH Credentials for GitHub 02:38:17 > 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 02:38:17 Merging remotes/origin/master commit af8aa216260df0556b394ae78b2a31d110cb53a2 into PR head commit ba768134bdda0babf0f095d37a490f0046e43e00 02:38:17 Merge succeeded, producing ba768134bdda0babf0f095d37a490f0046e43e00 02:38:17 Checking out Revision ba768134bdda0babf0f095d37a490f0046e43e00 (PR-365) 02:38:17 > git config core.sparsecheckout # timeout=10 02:38:17 > git checkout -f ba768134bdda0babf0f095d37a490f0046e43e00 # timeout=10 02:38:17 > git remote # timeout=10 02:38:17 > git config --get remote.origin.url # timeout=10 02:38:17 using GIT_SSH to set credentials SSH Credentials for GitHub 02:38:17 > git merge af8aa216260df0556b394ae78b2a31d110cb53a2 # timeout=10 02:38:17 > git rev-parse HEAD^{commit} # timeout=10 02:38:17 > git config core.sparsecheckout # timeout=10 02:38:17 > git checkout -f ba768134bdda0babf0f095d37a490f0046e43e00 # timeout=10 02:38:21 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 02:38:22 provisioning config files... 02:38:22 copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/go-mod-core-contracts/18@tmp/config6888563145541526043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:38:22 ---> docker-login.sh 02:38:22 nexus3.edgexfoundry.org:10001 02:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:23 Configure a credential helper to remove this warning. See 02:38:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:23 02:38:23 Login Succeeded 02:38:23 nexus3.edgexfoundry.org:10002 02:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:23 Configure a credential helper to remove this warning. See 02:38:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:23 02:38:23 Login Succeeded 02:38:23 nexus3.edgexfoundry.org:10003 02:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:23 Configure a credential helper to remove this warning. See 02:38:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:23 02:38:23 Login Succeeded 02:38:23 nexus3.edgexfoundry.org:10004 02:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:23 Configure a credential helper to remove this warning. See 02:38:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:23 02:38:23 Login Succeeded 02:38:23 docker.io 02:38:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:24 Configure a credential helper to remove this warning. See 02:38:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:24 02:38:24 Login Succeeded 02:38:24 ---> docker-login.sh ends [Pipeline] } 02:38:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:38:24 ========================================================= 02:38:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:38:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:38:25 + 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 . 02:38:25 Sending build context to Docker daemon 1.858MB 02:38:25 Step 1/7 : ARG BASE=golang:1.15-alpine 02:38:25 Step 2/7 : FROM ${BASE} 02:38:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:38:25 df20fa9351a1: Pulling fs layer 02:38:25 ed8968b2872e: Pulling fs layer 02:38:25 a92cc7c5fd73: Pulling fs layer 02:38:25 e871e8e8d7a9: Pulling fs layer 02:38:25 e73272ec9a57: Pulling fs layer 02:38:25 1e910a182e73: Pulling fs layer 02:38:25 4e634b169226: Pulling fs layer 02:38:25 e73272ec9a57: Waiting 02:38:25 1e910a182e73: Waiting 02:38:25 4e634b169226: Waiting 02:38:25 e871e8e8d7a9: Waiting 02:38:25 ed8968b2872e: Download complete 02:38:25 a92cc7c5fd73: Verifying Checksum 02:38:25 a92cc7c5fd73: Download complete 02:38:25 e73272ec9a57: Download complete 02:38:25 1e910a182e73: Verifying Checksum 02:38:25 1e910a182e73: Download complete 02:38:25 df20fa9351a1: Verifying Checksum 02:38:25 df20fa9351a1: Download complete 02:38:26 df20fa9351a1: Pull complete 02:38:26 ed8968b2872e: Pull complete 02:38:26 a92cc7c5fd73: Pull complete 02:38:28 4e634b169226: Verifying Checksum 02:38:28 4e634b169226: Download complete 02:38:28 e871e8e8d7a9: Verifying Checksum 02:38:28 e871e8e8d7a9: Download complete 02:38:33 e871e8e8d7a9: Pull complete 02:38:34 e73272ec9a57: Pull complete 02:38:34 1e910a182e73: Pull complete 02:38:39 4e634b169226: Pull complete 02:38:39 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:38:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:38:39 ---> f7629b54cfaa 02:38:39 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 02:38:39 ---> Running in cbde4189d04f 02:38:39 Removing intermediate container cbde4189d04f 02:38:39 ---> cce378f55ddb 02:38:39 Step 4/7 : RUN apk add bash 02:38:39 ---> Running in 69c3459327c2 02:38:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:38:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:38:41 OK: 166 MiB in 39 packages 02:38:42 Removing intermediate container 69c3459327c2 02:38:42 ---> fde2e6421bfa 02:38:42 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 02:38:42 ---> Running in abccea0b2f18 02:38:42 Removing intermediate container abccea0b2f18 02:38:42 ---> 5e80cd76dbbe 02:38:42 Step 6/7 : COPY go.mod . 02:38:42 ---> 686cfad5b417 02:38:42 Step 7/7 : RUN go mod download 02:38:42 ---> Running in fc126c38e568 02:38:54 Removing intermediate container fc126c38e568 02:38:54 ---> db8a057c7247 02:38:54 Successfully built db8a057c7247 02:38:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:38:55 + docker inspect -f . ci-base-image-x86_64 02:38:55 . [Pipeline] withDockerContainer 02:38:55 prd-centos7-docker-4c-2g-11680 does not seem to be running inside a container 02:38:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/18 -v /w/workspace/go-mod-core-contracts/18:/w/workspace/go-mod-core-contracts/18:rw,z -v /w/workspace/go-mod-core-contracts/18@tmp:/w/workspace/go-mod-core-contracts/18@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 02:38:56 $ docker top 79e49e4b0e91daa19cabc2ac8201c9a0507452d28c5ba9a01e63024fed595b90 -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:56 + go version 02:38:56 go version go1.15.2 linux/amd64 [Pipeline] } 02:38:56 $ docker stop --time=1 79e49e4b0e91daa19cabc2ac8201c9a0507452d28c5ba9a01e63024fed595b90 02:38:58 $ docker rm -f 79e49e4b0e91daa19cabc2ac8201c9a0507452d28c5ba9a01e63024fed595b90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:38:59 + docker inspect -f . ci-base-image-x86_64 02:38:59 . [Pipeline] withDockerContainer 02:38:59 prd-centos7-docker-4c-2g-11680 does not seem to be running inside a container 02:39:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/18 -v /w/workspace/go-mod-core-contracts/18:/w/workspace/go-mod-core-contracts/18:rw,z -v /w/workspace/go-mod-core-contracts/18@tmp:/w/workspace/go-mod-core-contracts/18@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 02:39:00 $ docker top 953b44732a18c196b148de7e6cc1b0bbefccf5645bdac10a46a6d90b74610367 -eo pid,comm [Pipeline] { [Pipeline] sh 02:39:01 + make test 02:39:01 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:39:07 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 02:39:08 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.010s coverage: 85.7% of statements 02:39:08 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.022s coverage: 100.0% of statements 02:39:08 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.013s coverage: 45.4% of statements 02:39:08 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.028s coverage: 77.8% of statements 02:39:08 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 02:39:08 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.008s coverage: 6.4% of statements 02:39:09 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.021s coverage: 14.7% of statements 02:39:09 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.006s coverage: 100.0% of statements 02:39:10 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.093s coverage: 91.8% of statements 02:39:10 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 02:39:10 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 02:39:10 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.021s coverage: 100.0% of statements 02:39:10 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.005s coverage: 46.8% of statements 02:39:12 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.026s coverage: 63.0% of statements 02:39:12 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.005s coverage: 26.3% of statements 02:39:12 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.023s coverage: 15.4% of statements 02:39:12 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.022s coverage: 15.4% of statements 02:39:12 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.018s coverage: 14.3% of statements 02:39:12 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 02:39:12 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.015s coverage: 81.0% of statements 02:39:12 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils 0.038s coverage: 4.4% of statements 02:39:12 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 02:39:12 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.023s coverage: 29.1% of statements 02:39:12 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.017s coverage: 100.0% of statements 02:39:13 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.016s coverage: 94.4% of statements 02:39:13 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.007s coverage: 100.0% of statements 02:39:13 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 02:39:13 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:39:14 gofmt -l . 02:39:15 [ "`gofmt -l .`" = "" ] [Pipeline] } 02:39:15 $ docker stop --time=1 953b44732a18c196b148de7e6cc1b0bbefccf5645bdac10a46a6d90b74610367 02:39:17 $ docker rm -f 953b44732a18c196b148de7e6cc1b0bbefccf5645bdac10a46a6d90b74610367 [Pipeline] // withDockerContainer [Pipeline] sh 02:39:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:39:18 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] } 02:39:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-11681 in /w/workspace/dry_go-mod-core-contracts_PR-365 [Pipeline] { [Pipeline] ws 02:39:40 Running in /w/workspace/go-mod-core-contracts/18 [Pipeline] { [Pipeline] checkout 02:39:45 using credential edgex-jenkins-ssh 02:39:45 Cloning the remote Git repository 02:39:45 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 02:39:45 > git init /w/workspace/go-mod-core-contracts/18 # timeout=10 02:39:45 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 02:39:45 > git --version # timeout=10 02:39:45 > git --version # 'git version 2.17.1' 02:39:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:39:45 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:39:46 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 02:39:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:39:46 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 02:39:46 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 02:39:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:39:46 > 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 02:39:47 Merging remotes/origin/master commit af8aa216260df0556b394ae78b2a31d110cb53a2 into PR head commit ba768134bdda0babf0f095d37a490f0046e43e00 02:39:47 Merge succeeded, producing ba768134bdda0babf0f095d37a490f0046e43e00 02:39:47 Checking out Revision ba768134bdda0babf0f095d37a490f0046e43e00 (PR-365) 02:39:47 > git config core.sparsecheckout # timeout=10 02:39:47 > git checkout -f ba768134bdda0babf0f095d37a490f0046e43e00 # timeout=10 02:39:47 > git remote # timeout=10 02:39:47 > git config --get remote.origin.url # timeout=10 02:39:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:39:47 > git merge af8aa216260df0556b394ae78b2a31d110cb53a2 # timeout=10 02:39:47 > git rev-parse HEAD^{commit} # timeout=10 02:39:47 > git config core.sparsecheckout # timeout=10 02:39:47 > git checkout -f ba768134bdda0babf0f095d37a490f0046e43e00 # timeout=10 02:39:51 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 02:39:52 provisioning config files... 02:39:52 copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/go-mod-core-contracts/18@tmp/config5407595668533306771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:53 ---> docker-login.sh 02:39:53 nexus3.edgexfoundry.org:10001 02:39:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:55 Configure a credential helper to remove this warning. See 02:39:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:55 02:39:55 Login Succeeded 02:39:55 nexus3.edgexfoundry.org:10002 02:39:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:55 Configure a credential helper to remove this warning. See 02:39:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:55 02:39:55 Login Succeeded 02:39:55 nexus3.edgexfoundry.org:10003 02:39:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:55 Configure a credential helper to remove this warning. See 02:39:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:55 02:39:55 Login Succeeded 02:39:55 nexus3.edgexfoundry.org:10004 02:39:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:56 Configure a credential helper to remove this warning. See 02:39:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:56 02:39:56 Login Succeeded 02:39:56 docker.io 02:39:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:57 Configure a credential helper to remove this warning. See 02:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:57 02:39:57 Login Succeeded 02:39:57 ---> docker-login.sh ends [Pipeline] } 02:39:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:39:57 ========================================================= 02:39:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:39:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:39:57 + 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 . 02:39:58 Sending build context to Docker daemon 1.858MB 02:39:58 Step 1/7 : ARG BASE=golang:1.15-alpine 02:39:58 Step 2/7 : FROM ${BASE} 02:39:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:39:58 b538f80385f9: Pulling fs layer 02:39:58 74f711af9a0d: Pulling fs layer 02:39:58 99f96fe45779: Pulling fs layer 02:39:58 8529a6b9a6be: Pulling fs layer 02:39:58 45590311c82a: Pulling fs layer 02:39:58 69ca0ff8b7b3: Pulling fs layer 02:39:58 209524e5b208: Pulling fs layer 02:39:58 8529a6b9a6be: Waiting 02:39:58 45590311c82a: Waiting 02:39:58 69ca0ff8b7b3: Waiting 02:39:58 209524e5b208: Waiting 02:39:58 99f96fe45779: Verifying Checksum 02:39:58 99f96fe45779: Download complete 02:39:58 74f711af9a0d: Verifying Checksum 02:39:58 74f711af9a0d: Download complete 02:39:58 45590311c82a: Download complete 02:39:58 69ca0ff8b7b3: Verifying Checksum 02:39:58 69ca0ff8b7b3: Download complete 02:39:58 b538f80385f9: Download complete 02:39:59 b538f80385f9: Pull complete 02:40:00 74f711af9a0d: Pull complete 02:40:00 99f96fe45779: Pull complete 02:40:01 209524e5b208: Verifying Checksum 02:40:01 209524e5b208: Download complete 02:40:02 8529a6b9a6be: Verifying Checksum 02:40:02 8529a6b9a6be: Download complete 02:40:12 8529a6b9a6be: Pull complete 02:40:13 45590311c82a: Pull complete 02:40:13 69ca0ff8b7b3: Pull complete 02:40:16 209524e5b208: Pull complete 02:40:16 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:40:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:40:16 ---> 5bddaf1c2fca 02:40:16 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 02:40:19 ---> Running in 567e1e6f521f 02:40:20 Removing intermediate container 567e1e6f521f 02:40:20 ---> b8b6acec9ca8 02:40:20 Step 4/7 : RUN apk add bash 02:40:20 ---> Running in 50c08135adc2 02:40:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:40:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:40:23 OK: 142 MiB in 39 packages 02:40:24 Removing intermediate container 50c08135adc2 02:40:24 ---> ab1c79326a2d 02:40:24 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 02:40:24 ---> Running in 6e8a592f46a8 02:40:25 Removing intermediate container 6e8a592f46a8 02:40:25 ---> a7b21820b7de 02:40:25 Step 6/7 : COPY go.mod . 02:40:25 ---> 22b3df157904 02:40:25 Step 7/7 : RUN go mod download 02:40:25 ---> Running in 4efe78deeded 02:40:40 Removing intermediate container 4efe78deeded 02:40:40 ---> 9f083104ac73 02:40:40 Successfully built 9f083104ac73 02:40:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:40:41 + docker inspect -f . ci-base-image-arm64 02:40:41 . [Pipeline] withDockerContainer 02:40:41 prd-ubuntu18.04-docker-arm64-4c-16g-11681 does not seem to be running inside a container 02:40:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/18 -v /w/workspace/go-mod-core-contracts/18:/w/workspace/go-mod-core-contracts/18:rw,z -v /w/workspace/go-mod-core-contracts/18@tmp:/w/workspace/go-mod-core-contracts/18@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 02:40:43 $ docker top 38fae32d93851c5075b1cec029ccb36e93a9bc37613d551357a4183d6f6acb26 -eo pid,comm [Pipeline] { [Pipeline] sh 02:40:44 + go version 02:40:44 go version go1.15.2 linux/arm64 [Pipeline] } 02:40:44 $ docker stop --time=1 38fae32d93851c5075b1cec029ccb36e93a9bc37613d551357a4183d6f6acb26 02:40:46 $ docker rm -f 38fae32d93851c5075b1cec029ccb36e93a9bc37613d551357a4183d6f6acb26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:40:47 + docker inspect -f . ci-base-image-arm64 02:40:47 . [Pipeline] withDockerContainer 02:40:48 prd-ubuntu18.04-docker-arm64-4c-16g-11681 does not seem to be running inside a container 02:40:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/18 -v /w/workspace/go-mod-core-contracts/18:/w/workspace/go-mod-core-contracts/18:rw,z -v /w/workspace/go-mod-core-contracts/18@tmp:/w/workspace/go-mod-core-contracts/18@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 02:40:50 $ docker top b6a1545a65fa1a3d243216eead83b10a082550e6cbc4c529f2e7ab7fd9f49ddf -eo pid,comm [Pipeline] { [Pipeline] sh 02:40:51 + make test 02:40:51 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:41:13 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 02:41:13 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.033s coverage: 85.7% of statements 02:41:13 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.018s coverage: 100.0% of statements 02:41:14 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.043s coverage: 45.4% of statements 02:41:14 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.050s coverage: 77.8% of statements 02:41:14 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 02:41:14 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.025s coverage: 6.4% of statements 02:41:17 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.052s coverage: 14.7% of statements 02:41:17 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.016s coverage: 100.0% of statements 02:41:18 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.089s coverage: 91.8% of statements 02:41:18 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 02:41:18 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 02:41:18 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.015s coverage: 100.0% of statements 02:41:19 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.051s coverage: 46.8% of statements 02:41:24 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.112s coverage: 63.0% of statements 02:41:24 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.038s coverage: 26.3% of statements 02:41:24 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.036s coverage: 15.4% of statements 02:41:24 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.015s coverage: 15.4% of statements 02:41:24 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.030s coverage: 14.3% of statements 02:41:24 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 02:41:24 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.044s coverage: 81.0% of statements 02:41:24 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils 0.031s coverage: 4.4% of statements 02:41:24 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 02:41:26 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.089s coverage: 29.1% of statements 02:41:26 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.062s coverage: 100.0% of statements 02:41:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.055s coverage: 94.4% of statements 02:41:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.022s coverage: 100.0% of statements 02:41:28 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 02:41:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:41:32 gofmt -l . 02:41:33 [ "`gofmt -l .`" = "" ] [Pipeline] } 02:41:33 $ docker stop --time=1 b6a1545a65fa1a3d243216eead83b10a082550e6cbc4c529f2e7ab7fd9f49ddf 02:41:35 $ docker rm -f b6a1545a65fa1a3d243216eead83b10a082550e6cbc4c529f2e7ab7fd9f49ddf [Pipeline] // withDockerContainer [Pipeline] sh 02:41:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:41:36 Warning: overwriting stash ‘coverage-report’ 02:41:37 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 02:41:39 provisioning config files... 02:41:39 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/config1578201922229409217tmp [Pipeline] { [Pipeline] sh 02:41:39 + set +x 02:41:39 + curl -s https://codecov.io/bash 02:41:39 + bash -s -- 02:41:40 02:41:40 _____ _ 02:41:40 / ____| | | 02:41:40 | | ___ __| | ___ ___ _____ __ 02:41:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:41:40 | |___| (_) | (_| | __/ (_| (_) \ V / 02:41:40 \_____\___/ \__,_|\___|\___\___/ \_/ 02:41:40 Bash-20201106-81372f2 02:41:40 02:41:40 02:41:40 ==> Jenkins CI detected. 02:41:40 project root: . 02:41:40 --> token set from env 02:41:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:41:40 ==> Running gcov in . (disable via -X gcov) 02:41:40 ==> Python coveragepy not found 02:41:40 ==> Searching for coverage reports in: 02:41:40 + . 02:41:40 -> Found 1 reports 02:41:40 ==> Detecting git/mercurial file structure 02:41:40 ==> Reading reports 02:41:40 + ./coverage.out bytes=109858 02:41:40 ==> Appending adjustments 02:41:40 https://docs.codecov.io/docs/fixing-reports 02:41:40 + Found adjustments 02:41:40 ==> Gzipping contents 02:41:41 ==> Uploading reports 02:41:41 url: https://codecov.io 02:41:41 query: branch=PR-365&commit=ba768134bdda0babf0f095d37a490f0046e43e00&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-365%2F18%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=365&job=&cmd_args= 02:41:41 -> Pinging Codecov 02:41:41 https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=PR-365&commit=ba768134bdda0babf0f095d37a490f0046e43e00&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-365%2F18%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=365&job=&cmd_args= 02:41:41 -> Uploading to 02:41:41 https://storage.googleapis.com/codecov/v4/raw/2020-11-10/71470A77251A30514AAF9C0BB2E5B6CE/ba768134bdda0babf0f095d37a490f0046e43e00/4c8e9e34-ea06-4489-9165-3d5e66d49cd7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201110T024141Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d7d2e0752eea81a6073d4942520ebb225183586e107f73bd8740c31500f3caa 02:41:41 % Total % Received % Xferd Average Speed Time Time Time Current 02:41:41 Dload Upload Total Spent Left Speed 02:41:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17668 0 0 100 17668 0 44227 --:--:-- --:--:-- --:--:-- 44280 02:41:41 -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/ba768134bdda0babf0f095d37a490f0046e43e00 [Pipeline] } 02:41:41 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 02:41:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:41:45 ---> package-listing.sh 02:41:45 ++ facter osfamily 02:41:45 ++ tr '[:upper:]' '[:lower:]' 02:41:45 + OS_FAMILY=redhat 02:41:45 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-365 02:41:45 + START_PACKAGES=/tmp/packages_start.txt 02:41:45 + END_PACKAGES=/tmp/packages_end.txt 02:41:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:41:45 + PACKAGES=/tmp/packages_start.txt 02:41:45 + '[' /w/workspace/dry_go-mod-core-contracts_PR-365 ']' 02:41:45 + PACKAGES=/tmp/packages_end.txt 02:41:45 + case "${OS_FAMILY}" in 02:41:45 + rpm -qa 02:41:45 + sort 02:41:48 + '[' -f /tmp/packages_start.txt ']' 02:41:48 + '[' -f /tmp/packages_end.txt ']' 02:41:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:41:48 + '[' /w/workspace/dry_go-mod-core-contracts_PR-365 ']' 02:41:48 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-365/archives/ 02:41:48 + 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 02:41:48 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 02:41:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:41:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:41:49 02:41:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:41:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:41:49 alpine: Pulling from edgex-lftools-log-publisher 02:41:49 df20fa9351a1: Pulling fs layer 02:41:49 36b3adc4ff6f: Pulling fs layer 02:41:49 8ad3a11d3b57: Pulling fs layer 02:41:49 46f8f816bc3b: Pulling fs layer 02:41:49 93b61091891f: Pulling fs layer 02:41:49 93b9cdb0e59b: Pulling fs layer 02:41:49 5e14af77c1be: Pulling fs layer 02:41:49 01666e4c0597: Pulling fs layer 02:41:49 aa168da1d23b: Pulling fs layer 02:41:49 46f8f816bc3b: Waiting 02:41:49 93b9cdb0e59b: Waiting 02:41:49 93b61091891f: Waiting 02:41:49 5e14af77c1be: Waiting 02:41:49 01666e4c0597: Waiting 02:41:49 aa168da1d23b: Waiting 02:41:49 36b3adc4ff6f: Download complete 02:41:49 46f8f816bc3b: Download complete 02:41:49 df20fa9351a1: Verifying Checksum 02:41:49 df20fa9351a1: Download complete 02:41:49 93b9cdb0e59b: Verifying Checksum 02:41:49 93b9cdb0e59b: Download complete 02:41:49 93b61091891f: Download complete 02:41:49 5e14af77c1be: Verifying Checksum 02:41:49 5e14af77c1be: Download complete 02:41:49 01666e4c0597: Verifying Checksum 02:41:49 01666e4c0597: Download complete 02:41:49 df20fa9351a1: Pull complete 02:41:50 8ad3a11d3b57: Verifying Checksum 02:41:50 8ad3a11d3b57: Download complete 02:41:50 36b3adc4ff6f: Pull complete 02:41:50 8ad3a11d3b57: Pull complete 02:41:50 46f8f816bc3b: Pull complete 02:41:51 93b61091891f: Pull complete 02:41:51 93b9cdb0e59b: Pull complete 02:41:52 5e14af77c1be: Pull complete 02:41:52 aa168da1d23b: Verifying Checksum 02:41:52 aa168da1d23b: Download complete 02:41:52 01666e4c0597: Pull complete 02:42:00 aa168da1d23b: Pull complete 02:42:00 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:42:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:42:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:42:00 prd-centos7-docker-4c-2g-11679 does not seem to be running inside a container 02:42:00 $ 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 02:42:04 $ docker top 83d0cded9fbcf117a16c22ac749f1338dc3eff6033ad40c0ca8bebc39d9a8b70 -eo pid,comm [Pipeline] { [Pipeline] sh 02:42:05 + touch /tmp/pre-build-complete [Pipeline] sh 02:42:05 + mkdir -p /var/log/sa [Pipeline] sh 02:42:05 + ls /var/log/sa-host 02:42:05 + sadf -c /var/log/sa-host/sa05 02:42:05 file_magic: OK 02:42:05 HZ: Using current value: 100 02:42:05 file_header: OK 02:42:05 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 02:42:05 Statistics: 02:42:05 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:42:05 File successfully converted to sysstat format version 12.2.1 02:42:05 + sadf -c /var/log/sa-host/sa10 02:42:05 file_magic: OK 02:42:05 HZ: Using current value: 100 02:42:05 file_header: OK 02:42:05 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 02:42:05 Statistics: 02:42:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:42:05 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:42:06 provisioning config files... 02:42:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/config2365709254581902594tmp [Pipeline] { [Pipeline] echo 02:42:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:42:06 ---> create-netrc.sh [Pipeline] } 02:42:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:42:06 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:42:07 ---> python-tools-install.sh [Pipeline] echo 02:42:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:42:07 ---> sudo-logs.sh 02:42:07 Archiving 'sudo' log.. [Pipeline] echo 02:42:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:42:08 ---> job-cost.sh 02:42:08 lf-activate-venv: SKIPPING 02:42:08 INFO: No Stack... 02:42:09 INFO: Retrieving Pricing Info for: v1-standard-2 02:42:09 INFO: Archiving Costs [Pipeline] echo 02:42:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:42:09 ---> logs-deploy.sh 02:42:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-365/18 02:42:09 INFO: archiving workspace using pattern(s): 02:42:11 Archives upload complete. 02:42:11 INFO: archiving logs to Nexus 02:42:12 ---> uname -a: 02:42:12 Linux prd-centos7-docker-4c-2g-11679.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 02:42:12 02:42:12 02:42:12 ---> lscpu: 02:42:12 Architecture: x86_64 02:42:12 CPU op-mode(s): 32-bit, 64-bit 02:42:12 Byte Order: Little Endian 02:42:12 Address sizes: 40 bits physical, 48 bits virtual 02:42:12 CPU(s): 4 02:42:12 On-line CPU(s) list: 0-3 02:42:12 Thread(s) per core: 1 02:42:12 Core(s) per socket: 1 02:42:12 Socket(s): 4 02:42:12 NUMA node(s): 1 02:42:12 Vendor ID: GenuineIntel 02:42:12 CPU family: 6 02:42:12 Model: 44 02:42:12 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:42:12 Stepping: 1 02:42:12 CPU MHz: 2933.438 02:42:12 BogoMIPS: 5866.87 02:42:12 Virtualization: VT-x 02:42:12 Hypervisor vendor: KVM 02:42:12 Virtualization type: full 02:42:12 L1d cache: 128 KiB 02:42:12 L1i cache: 128 KiB 02:42:12 L2 cache: 16 MiB 02:42:12 L3 cache: 64 MiB 02:42:12 NUMA node0 CPU(s): 0-3 02:42:12 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:42:12 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:42:12 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:42:12 Vulnerability Meltdown: Mitigation; PTI 02:42:12 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:42:12 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:42:12 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:42:12 Vulnerability Tsx async abort: Not affected 02:42:12 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 02:42:12 02:42:12 02:42:12 ---> nproc: 02:42:12 4 02:42:12 02:42:12 02:42:12 ---> df -h: 02:42:12 Filesystem Size Used Available Use% Mounted on 02:42:12 overlay 50.0G 7.2G 42.8G 14% / 02:42:12 tmpfs 64.0M 0 64.0M 0% /dev 02:42:12 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:42:12 shm 64.0M 0 64.0M 0% /dev/shm 02:42:12 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 02:42:12 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 02:42:12 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 02:42:12 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 02:42:12 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dry_go-mod-core-contracts_PR-365 02:42:12 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dry_go-mod-core-contracts_PR-365@tmp 02:42:12 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 02:42:12 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 02:42:12 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 02:42:12 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 02:42:12 02:42:12 02:42:12 ---> free -m: 02:42:12 total used free shared buff/cache available 02:42:12 Mem: 1837 665 111 0 1061 1070 02:42:12 Swap: 1023 1 1022 02:42:12 02:42:12 02:42:12 ---> ip addr: 02:42:12 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:42:12 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:42:12 inet 127.0.0.1/8 scope host lo 02:42:12 valid_lft forever preferred_lft forever 02:42:12 inet6 ::1/128 scope host 02:42:12 valid_lft forever preferred_lft forever 02:42:12 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:42:12 link/ether fa:16:3e:3c:91:bc brd ff:ff:ff:ff:ff:ff 02:42:12 inet 10.30.122.79/23 brd 10.30.123.255 scope global dynamic eth0 02:42:12 valid_lft 86082sec preferred_lft 86082sec 02:42:12 inet6 fe80::f816:3eff:fe3c:91bc/64 scope link 02:42:12 valid_lft forever preferred_lft forever 02:42:12 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:42:12 link/ether 02:42:c2:a4:89:66 brd ff:ff:ff:ff:ff:ff 02:42:12 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:42:12 valid_lft forever preferred_lft forever 02:42:12 inet6 fe80::42:c2ff:fea4:8966/64 scope link 02:42:12 valid_lft forever preferred_lft forever 02:42:12 02:42:12 02:42:12 ---> sar -b -r -n DEV: 02:42:12 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/10/20 _x86_64_ (4 CPU) 02:42:12 02:42:12 02:36:36 LINUX RESTART (4 CPU) 02:42:12 02:42:12 02:37:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:42:12 02:38:03 138.58 47.64 90.95 0.00 7721.57 40356.29 0.00 02:42:12 02:39:01 3.41 0.00 3.41 0.00 0.00 115.59 0.00 02:42:12 02:40:01 0.37 0.00 0.37 0.00 0.00 5.81 0.00 02:42:12 02:41:01 0.23 0.00 0.23 0.00 0.00 1.93 0.00 02:42:12 02:42:01 110.25 62.11 48.15 0.00 5964.09 15570.34 0.00 02:42:12 Average: 50.96 22.14 28.82 0.00 2759.81 11293.18 0.00 02:42:12 02:42:12 02:37:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:42:12 02:38:03 164992 0 555804 29.54 2620 1158140 1102296 37.62 406252 1147832 128 02:42:12 02:39:01 166656 0 554232 29.46 2620 1158048 1102132 37.61 406936 1146308 16 02:42:12 02:40:01 168804 0 552080 29.34 2620 1158052 1083424 36.98 406216 1145412 8 02:42:12 02:41:01 169816 0 551068 29.29 2620 1158052 1078236 36.80 405548 1145288 8 02:42:12 02:42:01 178812 0 657084 34.92 2620 1043040 1275784 43.54 440848 1039016 53356 02:42:12 Average: 169816 0 574054 30.51 2620 1135066 1128374 38.51 413160 1124771 10703 02:42:12 02:42:12 02:37:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:42:12 02:38:03 eth0 512.83 316.71 1077.36 101.07 0.00 0.00 0.00 0.00 02:42:12 02:38:03 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:42:12 02:38:03 docker0 5.93 3.89 1.21 12.85 0.00 0.00 0.00 0.00 02:42:12 02:39:01 eth0 2.19 0.81 1.14 0.24 0.00 0.00 0.00 0.00 02:42:12 02:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:42:12 02:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:42:12 02:40:01 eth0 0.60 0.43 0.28 0.21 0.00 0.00 0.00 0.00 02:42:12 02:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:42:12 02:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:42:12 02:41:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:42:12 02:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:42:12 02:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:42:12 02:42:01 eth0 206.09 171.93 2163.64 19.35 0.00 0.00 0.00 0.00 02:42:12 02:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:42:12 02:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:42:12 Average: eth0 145.44 98.76 654.60 24.34 0.00 0.00 0.00 0.00 02:42:12 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:42:12 Average: docker0 1.19 0.78 0.24 2.59 0.00 0.00 0.00 0.00 02:42:12 02:42:12 02:42:12 ---> sar -P ALL: 02:42:12 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/10/20 _x86_64_ (4 CPU) 02:42:12 02:42:12 02:36:36 LINUX RESTART (4 CPU) 02:42:12 02:42:12 02:37:01 CPU %user %nice %system %iowait %steal %idle 02:42:12 02:38:03 all 14.44 0.00 7.25 7.94 0.02 70.36 02:42:12 02:38:03 0 14.18 0.00 7.48 7.97 0.02 70.35 02:42:12 02:38:03 1 14.12 0.00 7.39 9.81 0.02 68.66 02:42:12 02:38:03 2 14.28 0.00 7.65 7.45 0.03 70.59 02:42:12 02:38:03 3 15.16 0.00 6.47 6.52 0.00 71.86 02:42:12 02:39:01 all 0.18 0.00 0.06 0.00 0.00 99.76 02:42:12 02:39:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:42:12 02:39:01 1 0.05 0.00 0.09 0.00 0.00 99.86 02:42:12 02:39:01 2 0.10 0.00 0.07 0.00 0.00 99.83 02:42:12 02:39:01 3 0.53 0.00 0.03 0.00 0.00 99.43 02:42:12 02:40:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:42:12 02:40:01 0 0.00 0.00 0.03 0.00 0.00 99.97 02:42:12 02:40:01 1 0.05 0.00 0.05 0.00 0.00 99.90 02:42:12 02:40:01 2 0.05 0.00 0.02 0.00 0.00 99.93 02:42:12 02:40:01 3 0.48 0.00 0.03 0.00 0.00 99.48 02:42:12 02:41:01 all 0.09 0.00 0.03 0.00 0.00 99.88 02:42:12 02:41:01 0 0.02 0.00 0.03 0.00 0.00 99.95 02:42:12 02:41:01 1 0.03 0.00 0.03 0.00 0.00 99.93 02:42:12 02:41:01 2 0.02 0.00 0.02 0.00 0.00 99.97 02:42:12 02:41:01 3 0.28 0.00 0.03 0.00 0.00 99.68 02:42:12 02:42:01 all 5.63 0.00 3.43 1.49 0.00 89.45 02:42:12 02:42:01 0 5.15 0.00 3.44 0.35 0.00 91.06 02:42:12 02:42:01 1 5.13 0.00 2.72 0.37 0.02 91.77 02:42:12 02:42:01 2 5.83 0.00 3.76 1.15 0.00 89.27 02:42:12 02:42:01 3 6.44 0.00 3.79 4.08 0.00 85.69 02:42:12 Average: all 4.10 0.00 2.16 1.89 0.00 91.85 02:42:12 Average: 0 3.88 0.00 2.21 1.66 0.00 92.24 02:42:12 Average: 1 3.88 0.00 2.06 2.04 0.01 92.01 02:42:12 Average: 2 4.06 0.00 2.31 1.72 0.01 91.90 02:42:12 Average: 3 4.58 0.00 2.07 2.12 0.00 91.23 02:42:12 02:42:12 02:42:12