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 cb74613304170fa318f55a553a79b6ebd3a8f3e8 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-11573 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 Merging remotes/origin/master commit af8aa216260df0556b394ae78b2a31d110cb53a2 into PR head commit cb74613304170fa318f55a553a79b6ebd3a8f3e8 Merge succeeded, producing cb74613304170fa318f55a553a79b6ebd3a8f3e8 Checking out Revision cb74613304170fa318f55a553a79b6ebd3a8f3e8 (PR-365) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f cb74613304170fa318f55a553a79b6ebd3a8f3e8 # 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 cb74613304170fa318f55a553a79b6ebd3a8f3e8 # timeout=10 Commit message: "feat(clients): Add V2 GeneralClient" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:14:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 00d92353d3b98494156096540949efecd4ba5283 # timeout=10 07:14:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:14:36 ========================================================= 07:14:36 EdgeX Global Pipelines Version Info 07:14:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:14:38 ------------------- 07:14:38 stable info: 07:14:38 ------------------- 07:14:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:14:38 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 07:14:38 Message: update stable to v1.0.162 07:14:39 ------------------- 07:14:39 experimental info: 07:14:39 ------------------- 07:14:39 Commited By: **** collab-it+edgex@linuxfoundation.org 07:14:39 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 07:14:39 Message: update experimental to v1.0.162 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 07:14:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 07:14:40 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 07:14:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:14:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:14:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 07:14:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:14:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:14:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:14:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 07:14:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:14:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:14:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:14:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:14:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:14:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 07:14:43 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:14:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo 07:14:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo 07:14:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo 07:14:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb74613304170fa318f55a553a79b6ebd3a8f3e8 [Pipeline] echo 07:14:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb74613 [Pipeline] echo 07:14:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:14:44 provisioning config files... 07:14:44 copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/config7894155629861210411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:44 ---> docker-login.sh 07:14:44 nexus3.edgexfoundry.org:10001 07:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:45 Configure a credential helper to remove this warning. See 07:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:45 07:14:45 Login Succeeded 07:14:45 nexus3.edgexfoundry.org:10002 07:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:46 Configure a credential helper to remove this warning. See 07:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:46 07:14:46 Login Succeeded 07:14:46 nexus3.edgexfoundry.org:10003 07:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:46 Configure a credential helper to remove this warning. See 07:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:46 07:14:46 Login Succeeded 07:14:46 nexus3.edgexfoundry.org:10004 07:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:46 Configure a credential helper to remove this warning. See 07:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:46 07:14:46 Login Succeeded 07:14:46 docker.io 07:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:47 Configure a credential helper to remove this warning. See 07:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:47 07:14:47 Login Succeeded 07:14:47 ---> docker-login.sh ends [Pipeline] } 07:14:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:14:48 + git log --format=format:%s -1 cb74613304170fa318f55a553a79b6ebd3a8f3e8 [Pipeline] echo 07:14:48 GIT_COMMIT: cb74613304170fa318f55a553a79b6ebd3a8f3e8, Commit Message: feat(clients): Add V2 GeneralClient [Pipeline] echo 07:14:48 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:14:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:49 07:14:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:14:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:50 latest: Pulling from edgex-devops/git-semver 07:14:50 31603596830f: Pulling fs layer 07:14:50 2a8b12db71e7: Pulling fs layer 07:14:50 6ca5941a6612: Pulling fs layer 07:14:50 ecc8261a40a4: Pulling fs layer 07:14:50 ecc8261a40a4: Waiting 07:14:50 2a8b12db71e7: Verifying Checksum 07:14:50 2a8b12db71e7: Download complete 07:14:52 31603596830f: Verifying Checksum 07:14:52 31603596830f: Download complete 07:14:52 6ca5941a6612: Verifying Checksum 07:14:52 6ca5941a6612: Download complete 07:14:52 ecc8261a40a4: Verifying Checksum 07:14:52 ecc8261a40a4: Download complete 07:14:53 31603596830f: Pull complete 07:14:53 2a8b12db71e7: Pull complete 07:14:55 6ca5941a6612: Pull complete 07:14:55 ecc8261a40a4: Pull complete 07:14:55 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:14:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:14:56 prd-centos7-docker-4c-2g-11573 does not seem to be running inside a container 07:14:56 $ 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 07:14:58 $ docker top 280d4b24f9ad43ade3590fdc0cfbf64e1533f61ddf17c5b602d11fab0f18414a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:14:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:58 [ssh-agent] Looking for ssh-agent implementation... 07:14:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:59 $ docker exec 280d4b24f9ad43ade3590fdc0cfbf64e1533f61ddf17c5b602d11fab0f18414a ssh-agent 07:14:59 SSH_AUTH_SOCK=/tmp/ssh-Y1p7wzbvUQNo/agent.12 07:14:59 SSH_AGENT_PID=17 07:14:59 Running ssh-add (command line suppressed) 07:15:00 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_3588955153064842550.key (/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_3588955153064842550.key) 07:15:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:01 + git tag --points-at HEAD [Pipeline] } 07:15:01 $ docker exec --env ******** --env ******** 280d4b24f9ad43ade3590fdc0cfbf64e1533f61ddf17c5b602d11fab0f18414a ssh-agent -k 07:15:01 unset SSH_AUTH_SOCK; 07:15:01 unset SSH_AGENT_PID; 07:15:01 echo Agent pid 17 killed; 07:15:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:15:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:02 [ssh-agent] Looking for ssh-agent implementation... 07:15:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:03 $ docker exec 280d4b24f9ad43ade3590fdc0cfbf64e1533f61ddf17c5b602d11fab0f18414a ssh-agent 07:15:03 SSH_AUTH_SOCK=/tmp/ssh-zC71HmsxqaZU/agent.46 07:15:03 SSH_AGENT_PID=52 07:15:03 Running ssh-add (command line suppressed) 07:15:04 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_5511875446685489848.key (/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_5511875446685489848.key) 07:15:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:05 + git semver init 07:15:05 # -> Open(): unable to determine branch for HEAD 07:15:05 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-365/.git 07:15:05 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-365 07:15:05 # $SEMVER_REMOTE_NAME = origin 07:15:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:15:05 # $SEMVER_USER_NAME = edgex-jenkins 07:15:05 # $SEMVER_BRANCH = PR-365 07:15:05 # $SEMVER_TEMP = /tmp/semver-656944079 07:15:05 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 07:15:06 # '/tmp/semver-656944079' -> '/w/workspace/dry_go-mod-core-contracts_PR-365/.semver' 07:15:06 # -> Force: false 07:15:06 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-365/.semver [Pipeline] } 07:15:07 $ docker exec --env ******** --env ******** 280d4b24f9ad43ade3590fdc0cfbf64e1533f61ddf17c5b602d11fab0f18414a ssh-agent -k 07:15:07 unset SSH_AUTH_SOCK; 07:15:07 unset SSH_AGENT_PID; 07:15:07 echo Agent pid 52 killed; 07:15:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:15:09 + git semver [Pipeline] } 07:15:09 $ docker stop --time=1 280d4b24f9ad43ade3590fdc0cfbf64e1533f61ddf17c5b602d11fab0f18414a 07:15:11 $ docker rm -f 280d4b24f9ad43ade3590fdc0cfbf64e1533f61ddf17c5b602d11fab0f18414a [Pipeline] // withDockerContainer [Pipeline] sh 07:15:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:15:14 Stashed 1 file(s) [Pipeline] echo 07:15:14 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 07:15:29 Still waiting to schedule task 07:15:29 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-11573’ 07:15:29 Still waiting to schedule task 07:15:29 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:17:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-11574 in /w/workspace/dry_go-mod-core-contracts_PR-365 [Pipeline] { [Pipeline] ws 07:17:14 Running in /w/workspace/go-mod-core-contracts/4 [Pipeline] { [Pipeline] checkout 07:17:19 using credential edgex-jenkins-ssh 07:17:19 Cloning the remote Git repository 07:17:19 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 07:17:19 > git init /w/workspace/go-mod-core-contracts/4 # timeout=10 07:17:20 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 07:17:20 > git --version # timeout=10 07:17:20 > git --version # 'git version 2.17.1' 07:17:20 using GIT_SSH to set credentials SSH Credentials for GitHub 07:17:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:17:21 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 07:17:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:17:21 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 07:17:21 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 07:17:21 using GIT_SSH to set credentials SSH Credentials for GitHub 07:17:21 > 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 07:17:22 Merging remotes/origin/master commit af8aa216260df0556b394ae78b2a31d110cb53a2 into PR head commit cb74613304170fa318f55a553a79b6ebd3a8f3e8 07:17:22 Merge succeeded, producing cb74613304170fa318f55a553a79b6ebd3a8f3e8 07:17:22 Checking out Revision cb74613304170fa318f55a553a79b6ebd3a8f3e8 (PR-365) 07:17:22 > git config core.sparsecheckout # timeout=10 07:17:22 > git checkout -f cb74613304170fa318f55a553a79b6ebd3a8f3e8 # timeout=10 07:17:22 > git remote # timeout=10 07:17:22 > git config --get remote.origin.url # timeout=10 07:17:22 using GIT_SSH to set credentials SSH Credentials for GitHub 07:17:22 > git merge af8aa216260df0556b394ae78b2a31d110cb53a2 # timeout=10 07:17:22 > git rev-parse HEAD^{commit} # timeout=10 07:17:22 > git config core.sparsecheckout # timeout=10 07:17:22 > git checkout -f cb74613304170fa318f55a553a79b6ebd3a8f3e8 # timeout=10 07:17:26 Commit message: "feat(clients): Add V2 GeneralClient" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:17:27 provisioning config files... 07:17:27 copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/go-mod-core-contracts/4@tmp/config2504883902343810907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:17:28 ---> docker-login.sh 07:17:28 nexus3.edgexfoundry.org:10001 07:17:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:30 Configure a credential helper to remove this warning. See 07:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:30 07:17:30 Login Succeeded 07:17:30 nexus3.edgexfoundry.org:10002 07:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:30 Configure a credential helper to remove this warning. See 07:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:30 07:17:30 Login Succeeded 07:17:30 nexus3.edgexfoundry.org:10003 07:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:31 Configure a credential helper to remove this warning. See 07:17:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:31 07:17:31 Login Succeeded 07:17:31 nexus3.edgexfoundry.org:10004 07:17:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:31 Configure a credential helper to remove this warning. See 07:17:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:31 07:17:31 Login Succeeded 07:17:31 docker.io 07:17:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:32 Configure a credential helper to remove this warning. See 07:17:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:32 07:17:32 Login Succeeded 07:17:32 ---> docker-login.sh ends [Pipeline] } 07:17:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:17:33 ========================================================= 07:17:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:17:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:17:33 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 07:17:34 Sending build context to Docker daemon 1.833MB 07:17:34 Step 1/7 : ARG BASE=golang:1.15-alpine 07:17:34 Step 2/7 : FROM ${BASE} 07:17:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:17:34 b538f80385f9: Pulling fs layer 07:17:34 74f711af9a0d: Pulling fs layer 07:17:34 99f96fe45779: Pulling fs layer 07:17:34 8529a6b9a6be: Pulling fs layer 07:17:34 45590311c82a: Pulling fs layer 07:17:34 69ca0ff8b7b3: Pulling fs layer 07:17:34 209524e5b208: Pulling fs layer 07:17:34 8529a6b9a6be: Waiting 07:17:34 45590311c82a: Waiting 07:17:34 69ca0ff8b7b3: Waiting 07:17:34 209524e5b208: Waiting 07:17:34 99f96fe45779: Verifying Checksum 07:17:34 99f96fe45779: Download complete 07:17:34 74f711af9a0d: Verifying Checksum 07:17:34 74f711af9a0d: Download complete 07:17:34 45590311c82a: Verifying Checksum 07:17:34 45590311c82a: Download complete 07:17:34 69ca0ff8b7b3: Verifying Checksum 07:17:34 69ca0ff8b7b3: Download complete 07:17:34 b538f80385f9: Download complete 07:17:35 b538f80385f9: Pull complete 07:17:35 74f711af9a0d: Pull complete 07:17:36 99f96fe45779: Pull complete 07:17:36 209524e5b208: Verifying Checksum 07:17:36 209524e5b208: Download complete 07:17:38 8529a6b9a6be: Verifying Checksum 07:17:38 8529a6b9a6be: Download complete 07:17:50 8529a6b9a6be: Pull complete 07:17:50 45590311c82a: Pull complete 07:17:50 69ca0ff8b7b3: Pull complete 07:17:53 209524e5b208: Pull complete 07:17:53 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 07:17:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:17:53 ---> 5bddaf1c2fca 07:17:53 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:17:56 ---> Running in 4916283684e3 07:17:56 Removing intermediate container 4916283684e3 07:17:56 ---> f4223dcc03a4 07:17:56 Step 4/7 : RUN apk add bash 07:17:56 ---> Running in 37abde44e0be 07:17:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:17:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:18:00 OK: 142 MiB in 39 packages 07:18:01 Removing intermediate container 37abde44e0be 07:18:01 ---> 2801c6fa291e 07:18:01 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 07:18:01 ---> Running in 4887980ca6cb 07:18:02 Removing intermediate container 4887980ca6cb 07:18:02 ---> 3a05bcbcf64f 07:18:02 Step 6/7 : COPY go.mod . 07:18:02 Running on prd-centos7-docker-4c-2g-11575 in /w/workspace/dry_go-mod-core-contracts_PR-365 [Pipeline] { [Pipeline] ws 07:18:02 Running in /w/workspace/go-mod-core-contracts/4 [Pipeline] { [Pipeline] checkout 07:18:02 ---> 2f0c68eb1d1d 07:18:02 Step 7/7 : RUN go mod download 07:18:02 ---> Running in 0cfa899d4588 07:18:05 using credential edgex-jenkins-ssh 07:18:05 Cloning the remote Git repository 07:18:05 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 07:18:05 > git init /w/workspace/go-mod-core-contracts/4 # timeout=10 07:18:05 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 07:18:05 > git --version # timeout=10 07:18:05 > git --version # 'git version 2.16.5' 07:18:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:18:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:18:06 Merging remotes/origin/master commit af8aa216260df0556b394ae78b2a31d110cb53a2 into PR head commit cb74613304170fa318f55a553a79b6ebd3a8f3e8 07:18:07 Merge succeeded, producing cb74613304170fa318f55a553a79b6ebd3a8f3e8 07:18:07 Checking out Revision cb74613304170fa318f55a553a79b6ebd3a8f3e8 (PR-365) 07:18:06 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 07:18:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:18:06 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 07:18:06 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 07:18:06 using GIT_SSH to set credentials SSH Credentials for GitHub 07:18: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 07:18:06 > git config core.sparsecheckout # timeout=10 07:18:06 > git checkout -f cb74613304170fa318f55a553a79b6ebd3a8f3e8 # timeout=10 07:18:07 > git remote # timeout=10 07:18:07 > git config --get remote.origin.url # timeout=10 07:18:07 using GIT_SSH to set credentials SSH Credentials for GitHub 07:18:07 > git merge af8aa216260df0556b394ae78b2a31d110cb53a2 # timeout=10 07:18:07 > git rev-parse HEAD^{commit} # timeout=10 07:18:07 > git config core.sparsecheckout # timeout=10 07:18:07 > git checkout -f cb74613304170fa318f55a553a79b6ebd3a8f3e8 # timeout=10 07:18:10 Commit message: "feat(clients): Add V2 GeneralClient" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:18:11 provisioning config files... 07:18:11 copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/go-mod-core-contracts/4@tmp/config4371965021326121344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:12 ---> docker-login.sh 07:18:12 nexus3.edgexfoundry.org:10001 07:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:12 Configure a credential helper to remove this warning. See 07:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:12 07:18:12 Login Succeeded 07:18:12 nexus3.edgexfoundry.org:10002 07:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:12 Configure a credential helper to remove this warning. See 07:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:12 07:18:12 Login Succeeded 07:18:12 nexus3.edgexfoundry.org:10003 07:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:12 Configure a credential helper to remove this warning. See 07:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:12 07:18:12 Login Succeeded 07:18:12 nexus3.edgexfoundry.org:10004 07:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:13 Configure a credential helper to remove this warning. See 07:18:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:13 07:18:13 Login Succeeded 07:18:13 docker.io 07:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:13 Configure a credential helper to remove this warning. See 07:18:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:13 07:18:13 Login Succeeded 07:18:13 ---> docker-login.sh ends [Pipeline] } 07:18:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:18:13 ========================================================= 07:18:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:18:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:18: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 . 07:18:14 Sending build context to Docker daemon 1.833MB 07:18:14 Step 1/7 : ARG BASE=golang:1.15-alpine 07:18:14 Step 2/7 : FROM ${BASE} 07:18:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:18:14 df20fa9351a1: Pulling fs layer 07:18:14 ed8968b2872e: Pulling fs layer 07:18:14 a92cc7c5fd73: Pulling fs layer 07:18:14 e871e8e8d7a9: Pulling fs layer 07:18:14 e73272ec9a57: Pulling fs layer 07:18:14 1e910a182e73: Pulling fs layer 07:18:14 4e634b169226: Pulling fs layer 07:18:14 e73272ec9a57: Waiting 07:18:14 1e910a182e73: Waiting 07:18:14 4e634b169226: Waiting 07:18:14 e871e8e8d7a9: Waiting 07:18:14 a92cc7c5fd73: Verifying Checksum 07:18:14 a92cc7c5fd73: Download complete 07:18:14 ed8968b2872e: Verifying Checksum 07:18:14 ed8968b2872e: Download complete 07:18:14 e73272ec9a57: Verifying Checksum 07:18:14 e73272ec9a57: Download complete 07:18:14 df20fa9351a1: Verifying Checksum 07:18:14 df20fa9351a1: Download complete 07:18:14 1e910a182e73: Verifying Checksum 07:18:14 1e910a182e73: Download complete 07:18:14 df20fa9351a1: Pull complete 07:18:15 ed8968b2872e: Pull complete 07:18:15 a92cc7c5fd73: Pull complete 07:18:16 4e634b169226: Verifying Checksum 07:18:16 4e634b169226: Download complete 07:18:17 e871e8e8d7a9: Verifying Checksum 07:18:17 e871e8e8d7a9: Download complete 07:18:18 Removing intermediate container 0cfa899d4588 07:18:18 ---> 55a2b887d06d 07:18:18 Successfully built 55a2b887d06d 07:18:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:18:18 + docker inspect -f . ci-base-image-arm64 07:18:18 . [Pipeline] withDockerContainer 07:18:18 prd-ubuntu18.04-docker-arm64-4c-16g-11574 does not seem to be running inside a container 07:18:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@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 07:18:20 $ docker top 08e9e44b39dd31c843d2de46f4df16c90ffec2ac7833de5e9a7487b19d735263 -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:22 + go version 07:18:22 go version go1.15.2 linux/arm64 [Pipeline] } 07:18:22 $ docker stop --time=1 08e9e44b39dd31c843d2de46f4df16c90ffec2ac7833de5e9a7487b19d735263 07:18:23 e871e8e8d7a9: Pull complete 07:18:23 e73272ec9a57: Pull complete 07:18:23 1e910a182e73: Pull complete 07:18:24 $ docker rm -f 08e9e44b39dd31c843d2de46f4df16c90ffec2ac7833de5e9a7487b19d735263 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:18:25 + docker inspect -f . ci-base-image-arm64 07:18:25 . [Pipeline] withDockerContainer 07:18:25 prd-ubuntu18.04-docker-arm64-4c-16g-11574 does not seem to be running inside a container 07:18:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@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 07:18:27 $ docker top 248206f24bebd1853b36a5130f73de9b667d4ea1369c51b8ba122e76549bd81d -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:28 4e634b169226: Pull complete 07:18:28 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 07:18:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:18:28 ---> f7629b54cfaa 07:18:28 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 07:18:28 ---> Running in 7e2413cad1e4 07:18:28 Removing intermediate container 7e2413cad1e4 07:18:28 ---> 5646c99db344 07:18:28 Step 4/7 : RUN apk add bash 07:18:28 ---> Running in 8d3d26d92ddc 07:18:28 + make test 07:18:28 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:18:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:18:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:18:30 OK: 166 MiB in 39 packages 07:18:31 Removing intermediate container 8d3d26d92ddc 07:18:31 ---> 3a4bcef64756 07:18:31 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 07:18:31 ---> Running in e8029f35ce4a 07:18:31 Removing intermediate container e8029f35ce4a 07:18:31 ---> 543c5e814cc3 07:18:31 Step 6/7 : COPY go.mod . 07:18:31 ---> 958507199b4f 07:18:31 Step 7/7 : RUN go mod download 07:18:31 ---> Running in 998ec2fba1fa 07:18:43 Removing intermediate container 998ec2fba1fa 07:18:43 ---> 94cd763ed1fe 07:18:43 Successfully built 94cd763ed1fe 07:18:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:18:44 + docker inspect -f . ci-base-image-x86_64 07:18:44 . [Pipeline] withDockerContainer 07:18:44 prd-centos7-docker-4c-2g-11575 does not seem to be running inside a container 07:18:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:18:45 $ docker top 7e7381f3ef03e1dc085fd4c9fed604fc0794c4c87e6c4268d4e59d51363e7092 -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:45 + go version 07:18:45 go version go1.15.2 linux/amd64 [Pipeline] } 07:18:45 $ docker stop --time=1 7e7381f3ef03e1dc085fd4c9fed604fc0794c4c87e6c4268d4e59d51363e7092 07:18:47 $ docker rm -f 7e7381f3ef03e1dc085fd4c9fed604fc0794c4c87e6c4268d4e59d51363e7092 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:18:47 + docker inspect -f . ci-base-image-x86_64 07:18:47 . [Pipeline] withDockerContainer 07:18:48 prd-centos7-docker-4c-2g-11575 does not seem to be running inside a container 07:18:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:18:48 $ docker top 5323adf4d39391c6ea11c36ac5c8082dfe77f0410cda5d1e7ff3803e074b2d93 -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:49 + make test 07:18:49 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:18:51 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 07:18:51 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.044s coverage: 85.7% of statements 07:18:51 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.036s coverage: 100.0% of statements 07:18:53 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.041s coverage: 45.4% of statements 07:18:53 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.034s coverage: 77.8% of statements 07:18:53 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 07:18:53 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.022s coverage: 6.4% of statements 07:18:55 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.043s coverage: 14.7% of statements 07:18:55 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.043s coverage: 100.0% of statements 07:18:56 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 07:18:56 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.016s coverage: 85.7% of statements 07:18:56 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.011s coverage: 100.0% of statements 07:18:56 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.072s coverage: 91.8% of statements 07:18:56 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 07:18:56 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 07:18:56 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.037s coverage: 100.0% of statements 07:18:56 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.035s coverage: 45.4% of statements 07:18:56 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.012s coverage: 77.8% of statements 07:18:56 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 07:18:56 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.043s coverage: 6.4% of statements 07:18:56 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.039s coverage: 48.9% of statements 07:18:57 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.037s coverage: 14.7% of statements 07:18:57 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.027s coverage: 100.0% of statements 07:18:57 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.030s coverage: 91.8% of statements 07:18:57 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 07:18:57 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 07:18:57 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.004s coverage: 100.0% of statements 07:18:59 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.006s coverage: 48.9% of statements 07:19:00 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.020s coverage: 63.0% of statements 07:19:00 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.037s coverage: 26.3% of statements 07:19:00 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.038s coverage: 15.4% of statements 07:19:00 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.041s coverage: 15.4% of statements 07:19:00 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.006s coverage: 14.3% of statements 07:19:00 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 07:19:00 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/general 0.016s coverage: 81.0% of statements 07:19:00 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/helper [no test files] 07:19:00 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.044s coverage: 29.1% of statements 07:19:00 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.068s coverage: 100.0% of statements 07:19:01 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.016s coverage: 94.4% of statements 07:19:01 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.010s coverage: 100.0% of statements 07:19:01 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 07:19:01 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:19:02 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.096s coverage: 63.0% of statements 07:19:02 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.017s coverage: 26.3% of statements 07:19:02 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.023s coverage: 15.4% of statements 07:19:02 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.010s coverage: 15.4% of statements 07:19:02 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.035s coverage: 14.3% of statements 07:19:02 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 07:19:02 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/general 0.051s coverage: 81.0% of statements 07:19:02 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/helper [no test files] 07:19:02 gofmt -l . 07:19:02 [ "`gofmt -l .`" = "" ] [Pipeline] } 07:19:02 $ docker stop --time=1 5323adf4d39391c6ea11c36ac5c8082dfe77f0410cda5d1e7ff3803e074b2d93 07:19:02 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.056s coverage: 29.1% of statements 07:19:02 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.039s coverage: 100.0% of statements 07:19:04 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.057s coverage: 94.4% of statements 07:19:04 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.024s coverage: 100.0% of statements 07:19:04 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 07:19:05 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:19:05 $ docker rm -f 5323adf4d39391c6ea11c36ac5c8082dfe77f0410cda5d1e7ff3803e074b2d93 [Pipeline] // withDockerContainer [Pipeline] sh 07:19:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:19:06 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] } 07:19:09 gofmt -l . 07:19:09 [ "`gofmt -l .`" = "" ] [Pipeline] } 07:19:10 $ docker stop --time=1 248206f24bebd1853b36a5130f73de9b667d4ea1369c51b8ba122e76549bd81d 07:19:12 $ docker rm -f 248206f24bebd1853b36a5130f73de9b667d4ea1369c51b8ba122e76549bd81d [Pipeline] // withDockerContainer [Pipeline] sh 07:19:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:19:13 Warning: overwriting stash ‘coverage-report’ 07:19:14 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 07:19:16 provisioning config files... 07:19:16 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/config4393497211502963177tmp [Pipeline] { [Pipeline] sh 07:19:16 + set +x 07:19:16 + curl -s https://codecov.io/bash 07:19:16 + bash -s -- 07:19:16 07:19:16 _____ _ 07:19:16 / ____| | | 07:19:16 | | ___ __| | ___ ___ _____ __ 07:19:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:19:16 | |___| (_) | (_| | __/ (_| (_) \ V / 07:19:16 \_____\___/ \__,_|\___|\___\___/ \_/ 07:19:16 Bash-20201106-81372f2 07:19:16 07:19:16 07:19:16 ==> Jenkins CI detected. 07:19:16 project root: . 07:19:16 --> token set from env 07:19:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:19:17 ==> Running gcov in . (disable via -X gcov) 07:19:17 ==> Python coveragepy not found 07:19:17 ==> Searching for coverage reports in: 07:19:17 + . 07:19:17 -> Found 1 reports 07:19:17 ==> Detecting git/mercurial file structure 07:19:17 ==> Reading reports 07:19:17 + ./coverage.out bytes=107063 07:19:17 ==> Appending adjustments 07:19:17 https://docs.codecov.io/docs/fixing-reports 07:19:18 + Found adjustments 07:19:18 ==> Gzipping contents 07:19:18 ==> Uploading reports 07:19:18 url: https://codecov.io 07:19:18 query: branch=PR-365&commit=cb74613304170fa318f55a553a79b6ebd3a8f3e8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-365%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=365&job=&cmd_args= 07:19:18 -> Pinging Codecov 07:19:18 https://codecov.io/upload/v4?package=bash-20201106-81372f2&token=secret&branch=PR-365&commit=cb74613304170fa318f55a553a79b6ebd3a8f3e8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-365%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=365&job=&cmd_args= 07:19:19 -> Uploading to 07:19:19 https://storage.googleapis.com/codecov/v4/raw/2020-11-09/71470A77251A30514AAF9C0BB2E5B6CE/cb74613304170fa318f55a553a79b6ebd3a8f3e8/98e118a2-3710-4c18-837c-e93786dc3fbe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201109T071918Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2582ce8d017965d6f342789dff978de2fad24780a10234c2c1b50b3cd7360608 07:19:19 % Total % Received % Xferd Average Speed Time Time Time Current 07:19:19 Dload Upload Total Spent Left Speed 07:19:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17279 0 0 100 17279 0 32611 --:--:-- --:--:-- --:--:-- 32601 100 17279 0 0 100 17279 0 32592 --:--:-- --:--:-- --:--:-- 32601 07:19:19 -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/cb74613304170fa318f55a553a79b6ebd3a8f3e8 [Pipeline] } 07:19:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 07:19:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:19:23 ---> package-listing.sh 07:19:23 ++ tr '[:upper:]' '[:lower:]' 07:19:23 ++ facter osfamily 07:19:23 + OS_FAMILY=redhat 07:19:23 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-365 07:19:23 + START_PACKAGES=/tmp/packages_start.txt 07:19:23 + END_PACKAGES=/tmp/packages_end.txt 07:19:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:19:23 + PACKAGES=/tmp/packages_start.txt 07:19:23 + '[' /w/workspace/dry_go-mod-core-contracts_PR-365 ']' 07:19:23 + PACKAGES=/tmp/packages_end.txt 07:19:23 + case "${OS_FAMILY}" in 07:19:23 + rpm -qa 07:19:23 + sort 07:19:30 + '[' -f /tmp/packages_start.txt ']' 07:19:30 + '[' -f /tmp/packages_end.txt ']' 07:19:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:19:30 + '[' /w/workspace/dry_go-mod-core-contracts_PR-365 ']' 07:19:30 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-365/archives/ 07:19:30 + 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 07:19:30 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 07:19:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:19:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:19:31 07:19:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:19:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:19:32 alpine: Pulling from edgex-lftools-log-publisher 07:19:32 df20fa9351a1: Pulling fs layer 07:19:32 36b3adc4ff6f: Pulling fs layer 07:19:32 8ad3a11d3b57: Pulling fs layer 07:19:32 46f8f816bc3b: Pulling fs layer 07:19:32 93b61091891f: Pulling fs layer 07:19:32 93b9cdb0e59b: Pulling fs layer 07:19:32 5e14af77c1be: Pulling fs layer 07:19:32 01666e4c0597: Pulling fs layer 07:19:32 aa168da1d23b: Pulling fs layer 07:19:32 93b9cdb0e59b: Waiting 07:19:32 5e14af77c1be: Waiting 07:19:32 01666e4c0597: Waiting 07:19:32 aa168da1d23b: Waiting 07:19:32 46f8f816bc3b: Waiting 07:19:32 93b61091891f: Waiting 07:19:32 36b3adc4ff6f: Verifying Checksum 07:19:32 36b3adc4ff6f: Download complete 07:19:32 46f8f816bc3b: Verifying Checksum 07:19:32 46f8f816bc3b: Download complete 07:19:32 df20fa9351a1: Verifying Checksum 07:19:32 df20fa9351a1: Download complete 07:19:32 93b9cdb0e59b: Verifying Checksum 07:19:32 93b9cdb0e59b: Download complete 07:19:32 93b61091891f: Verifying Checksum 07:19:32 93b61091891f: Download complete 07:19:32 5e14af77c1be: Verifying Checksum 07:19:32 5e14af77c1be: Download complete 07:19:32 01666e4c0597: Download complete 07:19:33 df20fa9351a1: Pull complete 07:19:33 8ad3a11d3b57: Verifying Checksum 07:19:33 8ad3a11d3b57: Download complete 07:19:33 36b3adc4ff6f: Pull complete 07:19:35 8ad3a11d3b57: Pull complete 07:19:35 46f8f816bc3b: Pull complete 07:19:36 93b61091891f: Pull complete 07:19:36 93b9cdb0e59b: Pull complete 07:19:36 5e14af77c1be: Pull complete 07:19:36 01666e4c0597: Pull complete 07:19:40 aa168da1d23b: Verifying Checksum 07:19:40 aa168da1d23b: Download complete 07:19:53 aa168da1d23b: Pull complete 07:19:53 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:19:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:19:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:19:53 prd-centos7-docker-4c-2g-11573 does not seem to be running inside a container 07:19:53 $ 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 07:19:59 $ docker top 2ff704eb13272cea66c4b0df311e90c4521f03f9b5fe51c4f55f96509c9f3c6f -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:00 + touch /tmp/pre-build-complete [Pipeline] sh 07:20:01 + mkdir -p /var/log/sa [Pipeline] sh 07:20:01 + ls /var/log/sa-host 07:20:01 + sadf -c /var/log/sa-host/sa05 07:20:01 file_magic: OK 07:20:01 HZ: Using current value: 100 07:20:01 file_header: OK 07:20:01 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:20:01 Statistics: 07:20:01 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:20:01 File successfully converted to sysstat format version 12.2.1 07:20:01 + sadf -c /var/log/sa-host/sa09 07:20:01 file_magic: OK 07:20:01 HZ: Using current value: 100 07:20:01 file_header: OK 07:20:01 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:20:01 Statistics: 07:20:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:20:01 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:20:02 provisioning config files... 07:20:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/config8305067992777503396tmp [Pipeline] { [Pipeline] echo 07:20:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:20:03 ---> create-netrc.sh [Pipeline] } 07:20:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:20:03 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:20:04 ---> python-tools-install.sh [Pipeline] echo 07:20:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:20:05 ---> sudo-logs.sh 07:20:05 Archiving 'sudo' log.. [Pipeline] echo 07:20:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:20:06 ---> job-cost.sh 07:20:06 lf-activate-venv: SKIPPING 07:20:06 INFO: No Stack... 07:20:07 INFO: Retrieving Pricing Info for: v1-standard-2 07:20:07 INFO: Archiving Costs [Pipeline] echo 07:20:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:20:08 ---> logs-deploy.sh 07:20:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-365/4 07:20:08 INFO: archiving workspace using pattern(s): 07:20:12 Archives upload complete. 07:20:12 INFO: archiving logs to Nexus 07:20:14 ---> uname -a: 07:20:14 Linux prd-centos7-docker-4c-2g-11573.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 07:20:14 07:20:14 07:20:14 ---> lscpu: 07:20:14 Architecture: x86_64 07:20:14 CPU op-mode(s): 32-bit, 64-bit 07:20:14 Byte Order: Little Endian 07:20:14 Address sizes: 40 bits physical, 48 bits virtual 07:20:14 CPU(s): 4 07:20:14 On-line CPU(s) list: 0-3 07:20:14 Thread(s) per core: 1 07:20:14 Core(s) per socket: 1 07:20:14 Socket(s): 4 07:20:14 NUMA node(s): 1 07:20:14 Vendor ID: GenuineIntel 07:20:14 CPU family: 6 07:20:14 Model: 44 07:20:14 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:20:14 Stepping: 1 07:20:14 CPU MHz: 2933.436 07:20:14 BogoMIPS: 5866.87 07:20:14 Virtualization: VT-x 07:20:14 Hypervisor vendor: KVM 07:20:14 Virtualization type: full 07:20:14 L1d cache: 128 KiB 07:20:14 L1i cache: 128 KiB 07:20:14 L2 cache: 16 MiB 07:20:14 L3 cache: 64 MiB 07:20:14 NUMA node0 CPU(s): 0-3 07:20:14 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:20:14 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:20:14 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:20:14 Vulnerability Meltdown: Mitigation; PTI 07:20:14 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:20:14 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:20:14 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:20:14 Vulnerability Tsx async abort: Not affected 07:20:14 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 07:20:14 07:20:14 07:20:14 ---> nproc: 07:20:14 4 07:20:14 07:20:14 07:20:14 ---> df -h: 07:20:14 Filesystem Size Used Available Use% Mounted on 07:20:14 overlay 50.0G 7.2G 42.8G 14% / 07:20:14 tmpfs 64.0M 0 64.0M 0% /dev 07:20:14 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:20:14 shm 64.0M 0 64.0M 0% /dev/shm 07:20:14 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 07:20:14 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 07:20:14 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 07:20:14 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 07:20:14 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 07:20:14 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 07:20:14 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 07:20:14 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 07:20:14 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dry_go-mod-core-contracts_PR-365 07:20:14 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dry_go-mod-core-contracts_PR-365@tmp 07:20:14 07:20:14 07:20:14 ---> free -m: 07:20:14 total used free shared buff/cache available 07:20:14 Mem: 1837 698 104 0 1034 1036 07:20:14 Swap: 1023 1 1022 07:20:14 07:20:14 07:20:14 ---> ip addr: 07:20:14 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:20:14 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:20:14 inet 127.0.0.1/8 scope host lo 07:20:14 valid_lft forever preferred_lft forever 07:20:14 inet6 ::1/128 scope host 07:20:14 valid_lft forever preferred_lft forever 07:20:14 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:20:14 link/ether fa:16:3e:af:24:6a brd ff:ff:ff:ff:ff:ff 07:20:14 inet 10.30.122.23/23 brd 10.30.123.255 scope global dynamic eth0 07:20:14 valid_lft 85999sec preferred_lft 85999sec 07:20:14 inet6 fe80::f816:3eff:feaf:246a/64 scope link 07:20:14 valid_lft forever preferred_lft forever 07:20:14 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:20:14 link/ether 02:42:82:15:a1:ba brd ff:ff:ff:ff:ff:ff 07:20:14 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:20:14 valid_lft forever preferred_lft forever 07:20:14 inet6 fe80::42:82ff:fe15:a1ba/64 scope link 07:20:14 valid_lft forever preferred_lft forever 07:20:14 07:20:14 07:20:14 ---> sar -b -r -n DEV: 07:20:14 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/09/20 _x86_64_ (4 CPU) 07:20:14 07:20:14 07:13:12 LINUX RESTART (4 CPU) 07:20:14 07:20:14 07:14:03 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:20:14 07:15:01 77.95 39.75 38.20 0.00 7654.75 4969.42 0.00 07:20:14 07:16:02 9.81 2.51 7.31 0.00 138.67 209.83 0.00 07:20:14 07:17:01 1.79 0.00 1.79 0.00 0.00 35.44 0.00 07:20:14 07:18:01 0.32 0.00 0.32 0.00 0.00 3.53 0.00 07:20:14 07:19:01 0.22 0.00 0.22 0.00 0.00 2.63 0.00 07:20:14 Average: 17.80 8.34 9.46 0.00 1535.60 1029.36 0.00 07:20:14 07:20:14 07:14:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:20:14 07:15:01 122752 0 641220 34.08 2620 1114964 1574888 53.75 475904 1120628 56 07:20:14 07:16:02 153108 0 605420 32.18 2620 1120408 1158984 39.55 451136 1116248 20 07:20:14 07:17:01 165352 0 593168 31.53 2620 1120416 1076084 36.72 444604 1112172 12 07:20:14 07:18:01 162708 0 595812 31.67 2620 1120416 1076320 36.73 450696 1108728 8 07:20:14 07:19:01 162200 0 596312 31.69 2620 1120424 1076424 36.74 459896 1099960 8 07:20:14 Average: 153224 0 606386 32.23 2620 1119326 1192540 40.70 456447 1111547 21 07:20:14 07:20:14 07:14:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:20:14 07:15:01 eth0 236.93 169.88 1054.85 65.69 0.00 0.00 0.00 0.00 07:20:14 07:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:20:14 07:15:01 vethae23436 0.00 0.20 0.00 0.02 0.00 0.00 0.00 0.00 07:20:14 07:15:01 docker0 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 07:20:14 07:16:02 eth0 22.41 23.44 30.25 31.88 0.00 0.00 0.00 0.00 07:20:14 07:16:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:20:14 07:16:02 docker0 5.55 4.75 1.18 12.97 0.00 0.00 0.00 0.00 07:20:14 07:17:01 eth0 0.57 0.02 0.05 0.00 0.00 0.00 0.00 0.00 07:20:14 07:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:20:14 07:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:20:14 07:18:01 eth0 1.33 0.58 1.23 0.19 0.00 0.00 0.00 0.00 07:20:14 07:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:20:14 07:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:20:14 07:19:01 eth0 0.42 0.30 0.26 0.23 0.00 0.00 0.00 0.00 07:20:14 07:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:20:14 07:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:20:14 Average: eth0 51.65 38.37 214.17 19.46 0.00 0.00 0.00 0.00 07:20:14 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:20:14 Average: docker0 1.12 0.98 0.24 2.62 0.00 0.00 0.00 0.00 07:20:14 07:20:14 07:20:14 ---> sar -P ALL: 07:20:14 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 11/09/20 _x86_64_ (4 CPU) 07:20:14 07:20:14 07:13:12 LINUX RESTART (4 CPU) 07:20:14 07:20:14 07:14:03 CPU %user %nice %system %iowait %steal %idle 07:20:14 07:15:01 all 16.20 0.00 7.68 2.69 21.13 52.30 07:20:14 07:15:01 0 12.96 0.00 6.76 2.44 23.27 54.57 07:20:14 07:15:01 1 18.69 0.00 7.60 2.62 20.00 51.08 07:20:14 07:15:01 2 11.57 0.00 7.91 3.59 22.51 54.41 07:20:14 07:15:01 3 22.14 0.00 8.50 2.07 18.47 48.83 07:20:14 07:16:02 all 1.16 0.00 0.84 0.16 6.32 91.53 07:20:14 07:16:02 0 0.98 0.00 0.55 0.35 7.07 91.05 07:20:14 07:16:02 1 1.55 0.00 1.20 0.06 6.59 90.59 07:20:14 07:16:02 2 1.16 0.00 0.89 0.15 5.83 91.97 07:20:14 07:16:02 3 0.94 0.00 0.71 0.08 5.76 92.51 07:20:14 07:17:01 all 0.07 0.00 0.08 0.00 0.40 99.45 07:20:14 07:17:01 0 0.00 0.00 0.03 0.00 0.29 99.68 07:20:14 07:17:01 1 0.03 0.00 0.08 0.00 0.32 99.56 07:20:14 07:17:01 2 0.20 0.00 0.15 0.00 0.59 99.05 07:20:14 07:17:01 3 0.05 0.00 0.07 0.00 0.39 99.49 07:20:14 07:18:01 all 0.07 0.00 0.04 0.00 0.28 99.61 07:20:14 07:18:01 0 0.03 0.00 0.03 0.00 0.28 99.65 07:20:14 07:18:01 1 0.03 0.00 0.07 0.00 0.12 99.78 07:20:14 07:18:01 2 0.18 0.00 0.03 0.00 0.40 99.38 07:20:14 07:18:01 3 0.03 0.00 0.03 0.00 0.32 99.62 07:20:14 07:19:01 all 0.09 0.00 0.05 0.00 0.23 99.63 07:20:14 07:19:01 0 0.02 0.00 0.03 0.00 0.30 99.65 07:20:14 07:19:01 1 0.00 0.00 0.13 0.00 0.17 99.70 07:20:14 07:19:01 2 0.30 0.00 0.03 0.00 0.32 99.35 07:20:14 07:19:01 3 0.05 0.00 0.02 0.00 0.13 99.80 07:20:14 Average: all 3.53 0.00 1.74 0.57 5.71 88.45 07:20:14 Average: 0 2.85 0.00 1.51 0.57 6.37 88.71 07:20:14 Average: 1 4.03 0.00 1.81 0.53 5.43 88.19 07:20:14 Average: 2 2.76 0.00 1.86 0.77 6.09 88.52 07:20:14 Average: 3 4.49 0.00 1.81 0.42 4.92 88.37 07:20:14 07:20:14 07:20:14