Pull request #698 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch main at 5d87b2f966db113d6ca9721a778849f7608cccf2 rather than e6de2b00477451558048d3e8279c3deae42b3f0b Obtained Jenkinsfile from 5d87b2f966db113d6ca9721a778849f7608cccf2 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6580808050559742077.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10182752020656448098.key > 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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-698/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-698/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6222086852179570467.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18329123206939878718.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-698/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-698/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1050221923801365912.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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:pre] ========================================================= [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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: 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: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4960’ Running on prd-centos7-docker-4c-2g-4962 in /w/workspace/dry_go-mod-core-contracts_PR-698 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-698 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-698@tmp/jenkins-gitclient-ssh5767887509237790648.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5d87b2f966db113d6ca9721a778849f7608cccf2 into PR head commit e6de2b00477451558048d3e8279c3deae42b3f0b Merge succeeded, producing e6de2b00477451558048d3e8279c3deae42b3f0b Checking out Revision e6de2b00477451558048d3e8279c3deae42b3f0b (PR-698) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-698@tmp/jenkins-gitclient-ssh8552812660521223936.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/698/head:refs/remotes/origin/PR-698 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6de2b00477451558048d3e8279c3deae42b3f0b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-698@tmp/jenkins-gitclient-ssh707074489292413356.key > git merge 5d87b2f966db113d6ca9721a778849f7608cccf2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6de2b00477451558048d3e8279c3deae42b3f0b # timeout=10 Commit message: "feat: add validate API route for device service" First time build. Skipping changelog. > git rev-list --no-walk 69c37f2e0a3d6fc2183fdefdf629f0e722a7119f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:50:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:50:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:50:39 ========================================================= 05:50:39 EdgeX Global Pipelines Version Info 05:50:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:50:40 ------------------- 05:50:40 stable info: 05:50:40 ------------------- 05:50:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:50:40 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 05:50:40 Message: update stable to v1.0.220 05:50:40 ------------------- 05:50:40 experimental info: 05:50:40 ------------------- 05:50:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:50:40 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 05:50:40 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-698 [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-698 [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-698 [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e6de2b00477451558048d3e8279c3deae42b3f0b [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e6de2b0 [Pipeline] echo 05:50:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:50:41 + git rev-list -1 --merges e6de2b00477451558048d3e8279c3deae42b3f0b~1..e6de2b00477451558048d3e8279c3deae42b3f0b [Pipeline] echo 05:50:42 -----------> git rev-list -1 --merges e6de2b00477451558048d3e8279c3deae42b3f0b~1..e6de2b00477451558048d3e8279c3deae42b3f0b e6de2b00477451558048d3e8279c3deae42b3f0b [false] [Pipeline] sh 05:50:42 + git log --format=format:%s -1 e6de2b00477451558048d3e8279c3deae42b3f0b [Pipeline] echo 05:50:42 ========================================================= 05:50:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:50:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:50:42 + git log --format=format:%s -1 e6de2b00477451558048d3e8279c3deae42b3f0b [Pipeline] echo 05:50:42 [semverPrep] GIT_COMMIT: e6de2b00477451558048d3e8279c3deae42b3f0b, Commit Message: feat: add validate API route for device service [Pipeline] echo 05:50:42 [semverPrep] This is not a build commit. [Pipeline] sh 05:50:43 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 05:50:43 + grep -v github /etc/ssh/ssh_known_hosts 05:50:43 + '[' -e /tmp/ssh_known_hosts ']' 05:50:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:50:43 + sudo tee -a /etc/ssh/ssh_known_hosts 05:50:43 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 05:50:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:50:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:43 05:50:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:50:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:43 latest: Pulling from edgex-devops/git-semver 05:50:43 a0d0a0d46f8b: Pulling fs layer 05:50:43 3e5f54012d9b: Pulling fs layer 05:50:43 4c7163046ea9: Pulling fs layer 05:50:43 0c2d73faf560: Pulling fs layer 05:50:43 0c2d73faf560: Waiting 05:50:43 3e5f54012d9b: Verifying Checksum 05:50:43 3e5f54012d9b: Download complete 05:50:43 a0d0a0d46f8b: Download complete 05:50:43 4c7163046ea9: Verifying Checksum 05:50:43 4c7163046ea9: Download complete 05:50:44 0c2d73faf560: Verifying Checksum 05:50:44 0c2d73faf560: Download complete 05:50:44 a0d0a0d46f8b: Pull complete 05:50:44 3e5f54012d9b: Pull complete 05:50:44 4c7163046ea9: Pull complete 05:50:44 0c2d73faf560: Pull complete 05:50:44 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:50:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:50:44 prd-centos7-docker-4c-2g-4962 does not seem to be running inside a container 05:50:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-698 -v /w/workspace/dry_go-mod-core-contracts_PR-698:/w/workspace/dry_go-mod-core-contracts_PR-698:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-698@tmp:/w/workspace/dry_go-mod-core-contracts_PR-698@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:50:45 $ docker top 94272317d4ad52e9ef6cab5517140c0b56ece31cd07cce7cd7d5ed667e35e9bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:50:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:45 [ssh-agent] Looking for ssh-agent implementation... 05:50:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:45 $ docker exec 94272317d4ad52e9ef6cab5517140c0b56ece31cd07cce7cd7d5ed667e35e9bc ssh-agent 05:50:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfbEgCC/agent.14 05:50:45 SSH_AGENT_PID=21 05:50:45 Running ssh-add (command line suppressed) 05:50:45 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-698@tmp/private_key_4431574229315984340.key (/w/workspace/dry_go-mod-core-contracts_PR-698@tmp/private_key_4431574229315984340.key) 05:50:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:46 + git tag --points-at HEAD [Pipeline] } 05:50:46 $ docker exec --env ******** --env ******** 94272317d4ad52e9ef6cab5517140c0b56ece31cd07cce7cd7d5ed667e35e9bc ssh-agent -k 05:50:46 unset SSH_AUTH_SOCK; 05:50:46 unset SSH_AGENT_PID; 05:50:46 echo Agent pid 21 killed; 05:50:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:50:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:46 [ssh-agent] Looking for ssh-agent implementation... 05:50:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:46 $ docker exec 94272317d4ad52e9ef6cab5517140c0b56ece31cd07cce7cd7d5ed667e35e9bc ssh-agent 05:50:46 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkJLNnG/agent.55 05:50:46 SSH_AGENT_PID=61 05:50:46 Running ssh-add (command line suppressed) 05:50:46 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-698@tmp/private_key_2563392073343757320.key (/w/workspace/dry_go-mod-core-contracts_PR-698@tmp/private_key_2563392073343757320.key) 05:50:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:46 + git semver init 05:50:46 # -> Open(): unable to determine branch for HEAD 05:50:46 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-698/.git 05:50:46 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-698 05:50:46 # $SEMVER_REMOTE_NAME = origin 05:50:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:50:46 # $SEMVER_USER_NAME = edgex-jenkins 05:50:46 # $SEMVER_BRANCH = PR-698 05:50:46 # $SEMVER_TEMP = /tmp/semver-262046677 05:50:46 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 05:50:47 # '/tmp/semver-262046677' -> '/w/workspace/dry_go-mod-core-contracts_PR-698/.semver' 05:50:47 # -> Force: false 05:50:47 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-698/.semver [Pipeline] } 05:50:47 $ docker exec --env ******** --env ******** 94272317d4ad52e9ef6cab5517140c0b56ece31cd07cce7cd7d5ed667e35e9bc ssh-agent -k 05:50:47 unset SSH_AUTH_SOCK; 05:50:47 unset SSH_AGENT_PID; 05:50:47 echo Agent pid 61 killed; 05:50:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:50:48 + git semver [Pipeline] } 05:50:48 $ docker stop --time=1 94272317d4ad52e9ef6cab5517140c0b56ece31cd07cce7cd7d5ed667e35e9bc 05:50:49 $ docker rm -f 94272317d4ad52e9ef6cab5517140c0b56ece31cd07cce7cd7d5ed667e35e9bc [Pipeline] // withDockerContainer [Pipeline] sh 05:50:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:50:50 Stashed 1 file(s) [Pipeline] echo 05:50:50 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:50:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:50:50 ========================================================= 05:50:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:50:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 05:50:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:50:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:50:50 59bf1c3509f3: Pulling fs layer 05:50:50 666ba61612fd: Pulling fs layer 05:50:50 8ed8ca486205: Pulling fs layer 05:50:50 4fe6c5a15a65: Pulling fs layer 05:50:50 22a0e8bec74d: Pulling fs layer 05:50:50 640e595b4fbd: Pulling fs layer 05:50:50 763cafe07f6e: Pulling fs layer 05:50:50 0c0b528cf693: Pulling fs layer 05:50:50 10935f4eaf8b: Pulling fs layer 05:50:50 4fe6c5a15a65: Waiting 05:50:50 22a0e8bec74d: Waiting 05:50:50 640e595b4fbd: Waiting 05:50:50 763cafe07f6e: Waiting 05:50:50 0c0b528cf693: Waiting 05:50:50 10935f4eaf8b: Waiting 05:50:50 8ed8ca486205: Verifying Checksum 05:50:50 8ed8ca486205: Download complete 05:50:50 666ba61612fd: Verifying Checksum 05:50:50 666ba61612fd: Download complete 05:50:50 22a0e8bec74d: Verifying Checksum 05:50:50 22a0e8bec74d: Download complete 05:50:50 640e595b4fbd: Verifying Checksum 05:50:50 640e595b4fbd: Download complete 05:50:50 59bf1c3509f3: Verifying Checksum 05:50:50 59bf1c3509f3: Download complete 05:50:50 763cafe07f6e: Verifying Checksum 05:50:50 763cafe07f6e: Download complete 05:50:50 0c0b528cf693: Verifying Checksum 05:50:50 0c0b528cf693: Download complete 05:50:51 10935f4eaf8b: Verifying Checksum 05:50:51 10935f4eaf8b: Download complete 05:50:51 59bf1c3509f3: Pull complete 05:50:51 4fe6c5a15a65: Verifying Checksum 05:50:51 4fe6c5a15a65: Download complete 05:50:51 666ba61612fd: Pull complete 05:50:51 8ed8ca486205: Pull complete 05:50:55 4fe6c5a15a65: Pull complete 05:50:55 22a0e8bec74d: Pull complete 05:50:55 640e595b4fbd: Pull complete 05:50:55 763cafe07f6e: Pull complete 05:50:55 0c0b528cf693: Pull complete 05:50:57 10935f4eaf8b: Pull complete 05:50:57 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:50:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:50:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 05:50:57 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 05:50:58 + docker inspect -f . ci-base-image-x86_64 05:50:58 . [Pipeline] withDockerContainer 05:50:58 prd-centos7-docker-4c-2g-4962 does not seem to be running inside a container 05:50:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_go-mod-core-contracts_PR-698 -v /w/workspace/dry_go-mod-core-contracts_PR-698:/w/workspace/dry_go-mod-core-contracts_PR-698:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-698@tmp:/w/workspace/dry_go-mod-core-contracts_PR-698@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:51:00 $ docker top beff78e031837b99713d2b09e6485a8006bc733407efaa455f5cb3b6689d5fa0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:00 + go version 05:51:00 go version go1.17.6 linux/amd64 [Pipeline] } 05:51:00 $ docker stop --time=1 beff78e031837b99713d2b09e6485a8006bc733407efaa455f5cb3b6689d5fa0 05:51:01 $ docker rm -f beff78e031837b99713d2b09e6485a8006bc733407efaa455f5cb3b6689d5fa0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:51:02 + docker inspect -f . ci-base-image-x86_64 05:51:02 . [Pipeline] withDockerContainer 05:51:02 prd-centos7-docker-4c-2g-4962 does not seem to be running inside a container 05:51:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_go-mod-core-contracts_PR-698 -v /w/workspace/dry_go-mod-core-contracts_PR-698:/w/workspace/dry_go-mod-core-contracts_PR-698:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-698@tmp:/w/workspace/dry_go-mod-core-contracts_PR-698@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:51:02 $ docker top 33992ad64db9a9011b6d848d302ef5609178143d87e9849614648c6ec7131e5e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:51:03 + make test 05:51:03 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 05:51:03 go: downloading github.com/google/uuid v1.3.0 05:51:03 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 05:51:03 go: downloading github.com/stretchr/testify v1.7.0 05:51:03 go: downloading github.com/go-kit/log v0.2.0 05:51:03 go: downloading github.com/go-playground/validator/v10 v10.10.0 05:51:03 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 05:51:03 go: downloading github.com/x448/float16 v0.8.4 05:51:03 go: downloading github.com/davecgh/go-spew v1.1.1 05:51:03 go: downloading github.com/pmezard/go-difflib v1.0.0 05:51:03 go: downloading github.com/go-logfmt/logfmt v0.5.1 05:51:03 go: downloading github.com/stretchr/objx v0.1.1 05:51:03 go: downloading github.com/go-playground/universal-translator v0.18.0 05:51:03 go: downloading github.com/leodido/go-urn v1.2.1 05:51:03 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 05:51:03 go: downloading golang.org/x/text v0.3.7 05:51:03 go: downloading github.com/go-playground/locales v0.14.0 05:51:04 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 05:51:05 Still waiting to schedule task 05:51:05 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4961’ is offline 05:51:14 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.046s coverage: 83.6% of statements 05:51:14 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 05:51:14 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 05:51:14 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 05:51:14 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.005s coverage: 29.4% of statements 05:51:14 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 05:51:14 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.008s coverage: 47.0% of statements 05:51:14 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.016s coverage: 90.5% of statements 05:51:14 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.028s coverage: 86.8% of statements 05:51:14 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.006s coverage: 59.5% of statements 05:51:15 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.003s coverage: 36.1% of statements 05:51:15 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.006s coverage: 48.7% of statements 05:51:27 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:51:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:51:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 05:51:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:51:29 $ docker stop --time=1 33992ad64db9a9011b6d848d302ef5609178143d87e9849614648c6ec7131e5e 05:51:31 $ docker rm -f 33992ad64db9a9011b6d848d302ef5609178143d87e9849614648c6ec7131e5e [Pipeline] // withDockerContainer [Pipeline] sh 05:51:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:51:32 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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:51:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:51:32 05:51:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:51:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:51:33 latest: Pulling from edgex-lftools-log-publisher 05:51:33 b4d181a07f80: Pulling fs layer 05:51:33 a1111a8f2ec3: Pulling fs layer 05:51:33 ed53099fbce6: Pulling fs layer 05:51:33 dc539afda2c1: Pulling fs layer 05:51:33 77bc0d833cb6: Pulling fs layer 05:51:33 9065ff56babe: Pulling fs layer 05:51:33 d287ab97295c: Pulling fs layer 05:51:33 dc539afda2c1: Waiting 05:51:33 77bc0d833cb6: Waiting 05:51:33 9065ff56babe: Waiting 05:51:33 d287ab97295c: Waiting 05:51:33 a1111a8f2ec3: Verifying Checksum 05:51:33 a1111a8f2ec3: Download complete 05:51:33 dc539afda2c1: Verifying Checksum 05:51:33 dc539afda2c1: Download complete 05:51:33 ed53099fbce6: Verifying Checksum 05:51:33 ed53099fbce6: Download complete 05:51:33 9065ff56babe: Verifying Checksum 05:51:33 9065ff56babe: Download complete 05:51:33 77bc0d833cb6: Verifying Checksum 05:51:33 77bc0d833cb6: Download complete 05:51:33 b4d181a07f80: Verifying Checksum 05:51:33 b4d181a07f80: Download complete 05:51:33 d287ab97295c: Verifying Checksum 05:51:33 d287ab97295c: Download complete 05:51:34 b4d181a07f80: Pull complete 05:51:34 a1111a8f2ec3: Pull complete 05:51:35 ed53099fbce6: Pull complete 05:51:35 dc539afda2c1: Pull complete 05:51:35 77bc0d833cb6: Pull complete 05:51:35 9065ff56babe: Pull complete 05:51:41 d287ab97295c: Pull complete 05:51:41 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:51:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:51:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:51:41 prd-centos7-docker-4c-2g-4962 does not seem to be running inside a container 05:51:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-698 -v /w/workspace/dry_go-mod-core-contracts_PR-698:/w/workspace/dry_go-mod-core-contracts_PR-698:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-698@tmp:/w/workspace/dry_go-mod-core-contracts_PR-698@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:51:43 $ docker top 9b52e5321dd3786da4ac1edd63e0767367ce27009727307c897c1d06de30ba73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:43 ---> job-cost.sh 05:51:43 lf-activate-venv: SKIPPING 05:51:43 INFO: No Stack... 05:51:44 INFO: Retrieving Pricing Info for: v3-standard-2 05:51:44 INFO: Archiving Costs [Pipeline] sh 05:51:44 + cat /w/workspace/dry_go-mod-core-contracts_PR-698/archives/cost.csv 05:51:44 + cut -d, -f6 [Pipeline] lock 05:51:44 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-698-3-stack-cost] 05:51:44 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-698-3-stack-cost] did not exist. Created. 05:51:44 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-698-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:51:45 + echo total: 0.05999999865889549 [Pipeline] stash 05:51:45 Stashed 1 file(s) [Pipeline] } 05:51:45 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-698-3-stack-cost] [Pipeline] // lock [Pipeline] } 05:51:45 $ docker stop --time=1 9b52e5321dd3786da4ac1edd63e0767367ce27009727307c897c1d06de30ba73 05:51:46 $ docker rm -f 9b52e5321dd3786da4ac1edd63e0767367ce27009727307c897c1d06de30ba73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:52:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4964 in /w/workspace/dry_go-mod-core-contracts_PR-698 [Pipeline] { [Pipeline] ws 05:52:26 Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout 05:52:26 Selected Git installation does not exist. Using Default 05:52:26 The recommended git tool is: NONE 05:52:31 using credential edgex-jenkins-ssh 05:52:31 Cloning the remote Git repository 05:52:31 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 05:52:31 > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 05:52:31 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 05:52:31 > git --version # timeout=10 05:52:31 > git --version # 'git version 2.17.1' 05:52:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:33 Merging remotes/origin/main commit 5d87b2f966db113d6ca9721a778849f7608cccf2 into PR head commit e6de2b00477451558048d3e8279c3deae42b3f0b 05:52:34 Merge succeeded, producing e6de2b00477451558048d3e8279c3deae42b3f0b 05:52:34 Checking out Revision e6de2b00477451558048d3e8279c3deae42b3f0b (PR-698) 05:52:32 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 05:52:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:32 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 05:52:33 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 05:52:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/698/head:refs/remotes/origin/PR-698 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:52:33 > git config core.sparsecheckout # timeout=10 05:52:33 > git checkout -f e6de2b00477451558048d3e8279c3deae42b3f0b # timeout=10 05:52:33 > git remote # timeout=10 05:52:33 > git config --get remote.origin.url # timeout=10 05:52:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:33 > git merge 5d87b2f966db113d6ca9721a778849f7608cccf2 # timeout=10 05:52:33 > git rev-parse HEAD^{commit} # timeout=10 05:52:34 > git config core.sparsecheckout # timeout=10 05:52:34 > git checkout -f e6de2b00477451558048d3e8279c3deae42b3f0b # timeout=10 05:52:38 Commit message: "feat: add validate API route for device service" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:52:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:52:38 % Total % Received % Xferd Average Speed Time Time Time Current 05:52:38 Dload Upload Total Spent Left Speed 05:52:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 99521 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 05:52:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:52:39 + sudo tee /etc/docker/daemon.new 05:52:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:52:39 { 05:52:39 "registry-mirrors": [ 05:52:39 "https://nexus3.edgexfoundry.org:10001" 05:52:39 ], 05:52:39 "bip": "10.250.0.254/24", 05:52:39 "hosts": [ 05:52:39 "tcp://0.0.0.0:5555", 05:52:39 "unix:///var/run/docker.sock" 05:52:39 ], 05:52:39 "mtu": 1458, 05:52:39 "selinux-enabled": true, 05:52:39 "seccomp-profile": "/etc/docker/seccomp.json" 05:52:39 } [Pipeline] sh 05:52:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:52:40 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 05:52:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:52:59 ========================================================= 05:52:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:52:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 05:52:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:53:00 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:53:00 9b3977197b4f: Pulling fs layer 05:53:00 1a89e8eeedd5: Pulling fs layer 05:53:00 94645a83ff95: Pulling fs layer 05:53:00 3f3a8bcf1eab: Pulling fs layer 05:53:00 0c92f367c5e7: Pulling fs layer 05:53:00 f7c0051592d6: Pulling fs layer 05:53:00 a227ed2f7395: Pulling fs layer 05:53:00 7b1c46037f91: Pulling fs layer 05:53:00 3f3a8bcf1eab: Waiting 05:53:00 0c92f367c5e7: Waiting 05:53:00 f7c0051592d6: Waiting 05:53:00 a227ed2f7395: Waiting 05:53:00 94645a83ff95: Verifying Checksum 05:53:00 94645a83ff95: Download complete 05:53:00 1a89e8eeedd5: Verifying Checksum 05:53:00 1a89e8eeedd5: Download complete 05:53:00 0c92f367c5e7: Verifying Checksum 05:53:00 0c92f367c5e7: Download complete 05:53:00 f7c0051592d6: Verifying Checksum 05:53:00 f7c0051592d6: Download complete 05:53:00 9b3977197b4f: Verifying Checksum 05:53:00 9b3977197b4f: Download complete 05:53:00 a227ed2f7395: Verifying Checksum 05:53:00 a227ed2f7395: Download complete 05:53:01 9b3977197b4f: Pull complete 05:53:01 1a89e8eeedd5: Pull complete 05:53:01 94645a83ff95: Pull complete 05:53:02 7b1c46037f91: Verifying Checksum 05:53:02 7b1c46037f91: Download complete 05:53:02 3f3a8bcf1eab: Download complete 05:53:15 3f3a8bcf1eab: Pull complete 05:53:15 0c92f367c5e7: Pull complete 05:53:15 f7c0051592d6: Pull complete 05:53:15 a227ed2f7395: Pull complete 05:53:20 7b1c46037f91: Pull complete 05:53:20 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:53:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:53:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 05:53:20 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 05:53:21 + docker inspect -f . ci-base-image-arm64 05:53:21 . [Pipeline] withDockerContainer 05:53:21 prd-ubuntu18.04-docker-arm64-4c-16g-4964 does not seem to be running inside a container 05:53:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:53:24 $ docker top a3506c6b31b2f471eea15eaf05ee2676fcaff4df3bbdc19c01486358ad7384db -eo pid,comm [Pipeline] { [Pipeline] sh 05:53:25 + go version 05:53:25 go version go1.17.6 linux/arm64 [Pipeline] } 05:53:25 $ docker stop --time=1 a3506c6b31b2f471eea15eaf05ee2676fcaff4df3bbdc19c01486358ad7384db 05:53:27 $ docker rm -f a3506c6b31b2f471eea15eaf05ee2676fcaff4df3bbdc19c01486358ad7384db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:53:27 + docker inspect -f . ci-base-image-arm64 05:53:27 . [Pipeline] withDockerContainer 05:53:27 prd-ubuntu18.04-docker-arm64-4c-16g-4964 does not seem to be running inside a container 05:53:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:53:29 $ docker top e88c8c50284ace84b9ffa0d191e8318d0cdb9e9f7919e6a5bc1923dab25e496b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:53:30 + make test 05:53:30 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 05:53:30 go: downloading github.com/google/uuid v1.3.0 05:53:30 go: downloading github.com/go-kit/log v0.2.0 05:53:30 go: downloading github.com/stretchr/testify v1.7.0 05:53:30 go: downloading github.com/go-playground/validator/v10 v10.10.0 05:53:30 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 05:53:30 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 05:53:30 go: downloading github.com/go-logfmt/logfmt v0.5.1 05:53:30 go: downloading github.com/davecgh/go-spew v1.1.1 05:53:30 go: downloading github.com/pmezard/go-difflib v1.0.0 05:53:30 go: downloading github.com/stretchr/objx v0.1.1 05:53:30 go: downloading github.com/go-playground/universal-translator v0.18.0 05:53:30 go: downloading github.com/leodido/go-urn v1.2.1 05:53:30 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 05:53:30 go: downloading golang.org/x/text v0.3.7 05:53:30 go: downloading github.com/x448/float16 v0.8.4 05:53:30 go: downloading github.com/go-playground/locales v0.14.0 05:53:34 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 05:54:07 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.394s coverage: 83.6% of statements 05:54:07 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 05:54:07 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 05:54:07 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 05:54:07 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.038s coverage: 29.4% of statements 05:54:07 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 05:54:07 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.127s coverage: 47.0% of statements 05:54:07 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.126s coverage: 90.5% of statements 05:54:07 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.217s coverage: 86.8% of statements 05:54:07 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.056s coverage: 59.5% of statements 05:54:07 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.014s coverage: 36.1% of statements 05:54:07 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.036s coverage: 48.7% of statements 05:54:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:54:07 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:54:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:54:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 05:54:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:54:23 $ docker stop --time=1 e88c8c50284ace84b9ffa0d191e8318d0cdb9e9f7919e6a5bc1923dab25e496b 05:54:25 $ docker rm -f e88c8c50284ace84b9ffa0d191e8318d0cdb9e9f7919e6a5bc1923dab25e496b [Pipeline] // withDockerContainer [Pipeline] sh 05:54:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:54:26 Warning: overwriting stash ‘coverage-report’ 05:54:27 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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:54:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:54:27 05:54:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:54:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:54:28 arm64: Pulling from edgex-lftools-log-publisher 05:54:28 448f6bf000e3: Pulling fs layer 05:54:28 f757da607395: Pulling fs layer 05:54:28 05883995daec: Pulling fs layer 05:54:28 8603b9c90790: Pulling fs layer 05:54:28 1560dd03e051: Pulling fs layer 05:54:28 27f5ce0e4adf: Pulling fs layer 05:54:28 c2d8d7efcc4b: Pulling fs layer 05:54:28 8603b9c90790: Waiting 05:54:28 1560dd03e051: Waiting 05:54:28 27f5ce0e4adf: Waiting 05:54:28 c2d8d7efcc4b: Waiting 05:54:28 f757da607395: Verifying Checksum 05:54:28 f757da607395: Download complete 05:54:28 8603b9c90790: Verifying Checksum 05:54:28 8603b9c90790: Download complete 05:54:28 1560dd03e051: Verifying Checksum 05:54:28 1560dd03e051: Download complete 05:54:28 27f5ce0e4adf: Download complete 05:54:28 05883995daec: Verifying Checksum 05:54:28 05883995daec: Download complete 05:54:28 448f6bf000e3: Download complete 05:54:31 c2d8d7efcc4b: Verifying Checksum 05:54:31 c2d8d7efcc4b: Download complete 05:54:32 448f6bf000e3: Pull complete 05:54:33 f757da607395: Pull complete 05:54:34 05883995daec: Pull complete 05:54:34 8603b9c90790: Pull complete 05:54:35 1560dd03e051: Pull complete 05:54:35 27f5ce0e4adf: Pull complete 05:54:50 c2d8d7efcc4b: Pull complete 05:54:50 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 05:54:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:54:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:54:50 prd-ubuntu18.04-docker-arm64-4c-16g-4964 does not seem to be running inside a container 05:54:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:54:53 $ docker top c5641de3be8f685cf7d07af8db73f34ef24af181e2210fc37f4117f581b32221 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:54 ---> job-cost.sh 05:54:54 lf-activate-venv: SKIPPING 05:54:54 INFO: No Stack... 05:54:54 INFO: Retrieving Pricing Info for: v3-standard-4 05:54:54 INFO: Archiving Costs [Pipeline] sh 05:54:55 + cat /w/workspace/go-mod-core-contracts/3/archives/cost.csv 05:54:55 + cut -d, -f6 [Pipeline] lock 05:54:55 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-698-3-stack-cost] 05:54:55 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-698-3-stack-cost] did not exist. Created. 05:54:55 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-698-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:54:56 /w/workspace/go-mod-core-contracts/3@tmp/durable-020eeb06/script.sh: 1: /w/workspace/go-mod-core-contracts/3@tmp/durable-020eeb06/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:54:57 + echo total: 0.10999999940395355 [Pipeline] stash 05:54:57 Warning: overwriting stash ‘stack-cost’ 05:54:57 Stashed 1 file(s) [Pipeline] } 05:54:57 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-698-3-stack-cost] [Pipeline] // lock [Pipeline] } 05:54:57 $ docker stop --time=1 c5641de3be8f685cf7d07af8db73f34ef24af181e2210fc37f4117f581b32221 05:54:58 $ docker rm -f c5641de3be8f685cf7d07af8db73f34ef24af181e2210fc37f4117f581b32221 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] configFileProvider 05:54:59 provisioning config files... 05:54:59 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-698@tmp/config2729882620637914116tmp [Pipeline] { [Pipeline] sh 05:54:59 + set +x 05:54:59 + curl -s https://codecov.io/bash 05:54:59 + bash -s -- 05:54:59 05:54:59 _____ _ 05:54:59 / ____| | | 05:54:59 | | ___ __| | ___ ___ _____ __ 05:54:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:54:59 | |___| (_) | (_| | __/ (_| (_) \ V / 05:54:59 \_____\___/ \__,_|\___|\___\___/ \_/ 05:54:59 Bash-1.0.6 05:54:59 05:54:59 05:54:59 ==> git version 2.24.4 found 05:54:59 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 05:54:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:54:59 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:54:59 ==> Jenkins CI detected. 05:54:59 current dir:  /w/workspace/dry_go-mod-core-contracts_PR-698 05:54:59 project root: . 05:54:59 --> token set from env 05:54:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:54:59 ==> Running gcov in . (disable via -X gcov) 05:54:59 ==> Python coveragepy not found 05:54:59 ==> Searching for coverage reports in: 05:54:59 + . 05:54:59 -> Found 1 reports 05:54:59 ==> Detecting git/mercurial file structure 05:54:59 ==> Reading reports 05:54:59 + ./coverage.out bytes=103587 05:54:59 ==> Appending adjustments 05:54:59 https://docs.codecov.io/docs/fixing-reports 05:55:00 + Found adjustments 05:55:00 ==> Gzipping contents 05:55:00 16K /tmp/codecov.9P1eEz.gz 05:55:00 ==> Uploading reports 05:55:00 url: https://codecov.io 05:55:00 query: branch=PR-698&commit=e6de2b00477451558048d3e8279c3deae42b3f0b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-698%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=698&job=&cmd_args= 05:55:00 -> Pinging Codecov 05:55:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=ed6cf6b4-2a06-43fb-b229-bfa3e55f90ff&branch=PR-698&commit=e6de2b00477451558048d3e8279c3deae42b3f0b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-698%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=698&job=&cmd_args= 05:55:00 -> Uploading to 05:55:00 https://storage.googleapis.com/codecov/v4/raw/2022-02-10/71470A77251A30514AAF9C0BB2E5B6CE/e6de2b00477451558048d3e8279c3deae42b3f0b/bc2b9c6e-5933-4d2f-9d27-84bdcb3e6a4b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220210%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220210T055500Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45f377326f7576aeb099fc97a21567cdee7f7a866504623cfc6aa4923efe171e 05:55:00 % Total % Received % Xferd Average Speed Time Time Time Current 05:55:00 Dload Upload Total Spent Left Speed 05:55:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15433 0 0 100 15433 0 45012 --:--:-- --:--:-- --:--:-- 44994 05:55:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/e6de2b00477451558048d3e8279c3deae42b3f0b [Pipeline] } 05:55:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:55:01 + '[' -d /w/workspace/dry_go-mod-core-contracts_PR-698/archives ']' 05:55:01 + ls -al /w/workspace/dry_go-mod-core-contracts_PR-698/archives 05:55:01 total 8 05:55:01 drwxr-xr-x. 3 root root 34 Feb 10 05:51 . 05:55:01 drwxrwxr-x. 11 jenkins jenkins 4096 Feb 10 05:51 .. 05:55:01 drwxr-xr-x. 2 root root 6 Feb 10 05:51 cost 05:55:01 -rw-r--r--. 1 root root 92 Feb 10 05:51 cost.csv 05:55:01 + sudo chown -R jenkins:jenkins /w/workspace/dry_go-mod-core-contracts_PR-698/archives 05:55:01 + ls -al /w/workspace/dry_go-mod-core-contracts_PR-698/archives 05:55:01 total 8 05:55:01 drwxr-xr-x. 3 jenkins jenkins 34 Feb 10 05:51 . 05:55:01 drwxrwxr-x. 11 jenkins jenkins 4096 Feb 10 05:51 .. 05:55:01 drwxr-xr-x. 2 jenkins jenkins 6 Feb 10 05:51 cost 05:55:01 -rw-r--r--. 1 jenkins jenkins 92 Feb 10 05:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:55:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:55:02 ---> package-listing.sh 05:55:02 ++ tr '[:upper:]' '[:lower:]' 05:55:02 ++ facter osfamily 05:55:02 + OS_FAMILY=redhat 05:55:02 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-698 05:55:02 + START_PACKAGES=/tmp/packages_start.txt 05:55:02 + END_PACKAGES=/tmp/packages_end.txt 05:55:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:55:02 + PACKAGES=/tmp/packages_start.txt 05:55:02 + '[' /w/workspace/dry_go-mod-core-contracts_PR-698 ']' 05:55:02 + PACKAGES=/tmp/packages_end.txt 05:55:02 + case "${OS_FAMILY}" in 05:55:02 + rpm -qa 05:55:02 + sort 05:55:03 + '[' -f /tmp/packages_start.txt ']' 05:55:03 + '[' -f /tmp/packages_end.txt ']' 05:55:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:55:03 + '[' /w/workspace/dry_go-mod-core-contracts_PR-698 ']' 05:55:03 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-698/archives/ 05:55:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-698/archives/ [Pipeline] echo 05:55:03 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-698/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:55:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:55:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:55:03 . [Pipeline] withDockerContainer 05:55:04 prd-centos7-docker-4c-2g-4962 does not seem to be running inside a container 05:55:04 $ 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-698/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-698 -v /w/workspace/dry_go-mod-core-contracts_PR-698:/w/workspace/dry_go-mod-core-contracts_PR-698:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-698@tmp:/w/workspace/dry_go-mod-core-contracts_PR-698@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:55:04 $ docker top 7949880e51e006d075179551d9573f6efe5e3445200f9c006c0f59aadf254928 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:04 + touch /tmp/pre-build-complete [Pipeline] sh 05:55:04 + mkdir -p /var/log/sysstat [Pipeline] sh 05:55:05 + ls /var/log/sa-host 05:55:05 + sadf -c /var/log/sa-host/sa10 05:55:05 file_magic: OK 05:55:05 HZ: Using current value: 100 05:55:05 file_header: OK 05:55: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 05:55:05 Statistics: 05:55:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:55:05 File successfully converted to sysstat format version 12.0.3 05:55:05 + sadf -c /var/log/sa-host/sa17 05:55:05 file_magic: OK 05:55:05 HZ: Using current value: 100 05:55:05 file_header: OK 05:55: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 05:55:05 Statistics: 05:55:05 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:55:05 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:55:05 provisioning config files... 05:55:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-698@tmp/config6247534019603405649tmp [Pipeline] { [Pipeline] echo 05:55:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:55:05 ---> create-netrc.sh [Pipeline] } 05:55:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:55:05 ---> python-tools-install.sh [Pipeline] echo 05:55:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:55:06 ---> sudo-logs.sh 05:55:06 Archiving 'sudo' log.. 05:55:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-4962.novalocal: Name or service not known 05:55:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-4962.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 05:55:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:55:06 ---> job-cost.sh 05:55:06 lf-activate-venv: SKIPPING 05:55:06 DEBUG: total: 0.05999999865889549 05:55:06 INFO: Retrieving Stack Cost... 05:55:06 INFO: Retrieving Pricing Info for: v3-standard-2 05:55:07 INFO: Archiving Costs [Pipeline] echo 05:55:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:55:07 ---> logs-deploy.sh 05:55:07 lf-activate-venv: SKIPPING 05:55:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-698/3 05:55:07 INFO: archiving workspace using pattern(s): 05:55:07 Archives upload complete. 05:55:08 INFO: archiving logs to Nexus