Pull request #699 opened 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 58b8b4bc41ce6f7a1dbe3f3412e4301586b7a828 rather than f2f5da54507356a77248adf6511146391f590b58 Obtained Jenkinsfile from 58b8b4bc41ce6f7a1dbe3f3412e4301586b7a828 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-ssh2416126583228543142.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-ssh9803611278268592505.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-699/workspace@libs/edgex-global-pipelines # timeout=10 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-699/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13919024833650387182.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-699/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12767163785751231583.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1500017850862215747.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-699/workspace@libs/lf-pipelines # timeout=10 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-699/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14710943589536844836.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5318 in /w/workspace/dry_go-mod-core-contracts_PR-699 [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-699 # 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-699@tmp/jenkins-gitclient-ssh5453934519688271756.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub [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-699@tmp/jenkins-gitclient-ssh1913701123035710205.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/699/head:refs/remotes/origin/PR-699 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 58b8b4bc41ce6f7a1dbe3f3412e4301586b7a828 into PR head commit f2f5da54507356a77248adf6511146391f590b58 Merge succeeded, producing f2f5da54507356a77248adf6511146391f590b58 Checking out Revision f2f5da54507356a77248adf6511146391f590b58 (PR-699) > git config core.sparsecheckout # timeout=10 > git checkout -f f2f5da54507356a77248adf6511146391f590b58 # 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-699@tmp/jenkins-gitclient-ssh6992958430212437284.key > git merge 58b8b4bc41ce6f7a1dbe3f3412e4301586b7a828 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2f5da54507356a77248adf6511146391f590b58 # timeout=10 Commit message: "feat: add ProtocolPropertiesRequest for validate API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:35:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:35:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:35:03 ========================================================= 02:35:03 EdgeX Global Pipelines Version Info 02:35:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:35:04 ------------------- 02:35:04 stable info: 02:35:04 ------------------- 02:35:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:35:04 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 02:35:04 Message: update stable to v1.0.220 02:35:05 ------------------- 02:35:05 experimental info: 02:35:05 ------------------- 02:35:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:35:05 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 02:35:05 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:35:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 02:35:05 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 02:35:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:35:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:35:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:35:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:35:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:35:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:35:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:35:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:35:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:35:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo 02:35:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-699 [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-699 [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-699 [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2f5da54507356a77248adf6511146391f590b58 [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2f5da5 [Pipeline] echo 02:35:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:35:07 + git rev-list -1 --merges f2f5da54507356a77248adf6511146391f590b58~1..f2f5da54507356a77248adf6511146391f590b58 [Pipeline] echo 02:35:07 -----------> git rev-list -1 --merges f2f5da54507356a77248adf6511146391f590b58~1..f2f5da54507356a77248adf6511146391f590b58 f2f5da54507356a77248adf6511146391f590b58 [false] [Pipeline] sh 02:35:07 + git log --format=format:%s -1 f2f5da54507356a77248adf6511146391f590b58 [Pipeline] echo 02:35:07 ========================================================= 02:35:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:35:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:35:08 + git log --format=format:%s -1 f2f5da54507356a77248adf6511146391f590b58 [Pipeline] echo 02:35:08 [semverPrep] GIT_COMMIT: f2f5da54507356a77248adf6511146391f590b58, Commit Message: feat: add ProtocolPropertiesRequest for validate API [Pipeline] echo 02:35:08 [semverPrep] This is not a build commit. [Pipeline] sh 02:35:08 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 02:35:08 + grep -v github /etc/ssh/ssh_known_hosts 02:35:08 + '[' -e /tmp/ssh_known_hosts ']' 02:35:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:35:08 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 02:35:08 + sudo tee -a /etc/ssh/ssh_known_hosts 02:35:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:35:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:35:09 02:35:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:35:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:35:09 latest: Pulling from edgex-devops/git-semver 02:35:09 a0d0a0d46f8b: Pulling fs layer 02:35:09 3e5f54012d9b: Pulling fs layer 02:35:09 4c7163046ea9: Pulling fs layer 02:35:09 0c2d73faf560: Pulling fs layer 02:35:09 0c2d73faf560: Waiting 02:35:09 3e5f54012d9b: Verifying Checksum 02:35:09 3e5f54012d9b: Download complete 02:35:09 a0d0a0d46f8b: Verifying Checksum 02:35:09 a0d0a0d46f8b: Download complete 02:35:09 4c7163046ea9: Verifying Checksum 02:35:09 4c7163046ea9: Download complete 02:35:09 0c2d73faf560: Verifying Checksum 02:35:09 0c2d73faf560: Download complete 02:35:09 a0d0a0d46f8b: Pull complete 02:35:09 3e5f54012d9b: Pull complete 02:35:10 4c7163046ea9: Pull complete 02:35:10 0c2d73faf560: Pull complete 02:35:10 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 02:35:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:35:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:35:10 prd-centos7-docker-4c-2g-5318 does not seem to be running inside a container 02:35:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-699 -v /w/workspace/dry_go-mod-core-contracts_PR-699:/w/workspace/dry_go-mod-core-contracts_PR-699:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-699@tmp:/w/workspace/dry_go-mod-core-contracts_PR-699@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:35:10 $ docker top 359f0ae0cc606734fa652278795dac3a1c417a3ea825935dc457c6b4daafb631 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:35:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:35:11 [ssh-agent] Looking for ssh-agent implementation... 02:35:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:35:11 $ docker exec 359f0ae0cc606734fa652278795dac3a1c417a3ea825935dc457c6b4daafb631 ssh-agent 02:35:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFjPOne/agent.14 02:35:11 SSH_AGENT_PID=21 02:35:11 Running ssh-add (command line suppressed) 02:35:11 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-699@tmp/private_key_4879899539345214659.key (/w/workspace/dry_go-mod-core-contracts_PR-699@tmp/private_key_4879899539345214659.key) 02:35:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:35:11 + git tag --points-at HEAD [Pipeline] } 02:35:11 $ docker exec --env ******** --env ******** 359f0ae0cc606734fa652278795dac3a1c417a3ea825935dc457c6b4daafb631 ssh-agent -k 02:35:11 unset SSH_AUTH_SOCK; 02:35:11 unset SSH_AGENT_PID; 02:35:11 echo Agent pid 21 killed; 02:35:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:35:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:35:12 [ssh-agent] Looking for ssh-agent implementation... 02:35:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:35:12 $ docker exec 359f0ae0cc606734fa652278795dac3a1c417a3ea825935dc457c6b4daafb631 ssh-agent 02:35:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAOjHao/agent.56 02:35:12 SSH_AGENT_PID=63 02:35:12 Running ssh-add (command line suppressed) 02:35:12 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-699@tmp/private_key_2007139999689865095.key (/w/workspace/dry_go-mod-core-contracts_PR-699@tmp/private_key_2007139999689865095.key) 02:35:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:35:12 + git semver init 02:35:12 # -> Open(): unable to determine branch for HEAD 02:35:12 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-699/.git 02:35:12 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-699 02:35:12 # $SEMVER_REMOTE_NAME = origin 02:35:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:35:12 # $SEMVER_USER_NAME = edgex-jenkins 02:35:12 # $SEMVER_BRANCH = PR-699 02:35:12 # $SEMVER_TEMP = /tmp/semver-792563744 02:35:12 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 02:35:13 # '/tmp/semver-792563744' -> '/w/workspace/dry_go-mod-core-contracts_PR-699/.semver' 02:35:13 # -> Force: false 02:35:13 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-699/.semver [Pipeline] } 02:35:13 $ docker exec --env ******** --env ******** 359f0ae0cc606734fa652278795dac3a1c417a3ea825935dc457c6b4daafb631 ssh-agent -k 02:35:13 unset SSH_AUTH_SOCK; 02:35:13 unset SSH_AGENT_PID; 02:35:13 echo Agent pid 63 killed; 02:35:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:35:14 + git semver [Pipeline] } 02:35:14 $ docker stop --time=1 359f0ae0cc606734fa652278795dac3a1c417a3ea825935dc457c6b4daafb631 02:35:15 $ docker rm -f 359f0ae0cc606734fa652278795dac3a1c417a3ea825935dc457c6b4daafb631 [Pipeline] // withDockerContainer [Pipeline] sh 02:35:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:35:16 Stashed 1 file(s) [Pipeline] echo 02:35:16 [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 02:35:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:16 ========================================================= 02:35:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:35:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 02:35:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:35:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:35:17 59bf1c3509f3: Pulling fs layer 02:35:17 666ba61612fd: Pulling fs layer 02:35:17 8ed8ca486205: Pulling fs layer 02:35:17 4fe6c5a15a65: Pulling fs layer 02:35:17 22a0e8bec74d: Pulling fs layer 02:35:17 640e595b4fbd: Pulling fs layer 02:35:17 763cafe07f6e: Pulling fs layer 02:35:17 0c0b528cf693: Pulling fs layer 02:35:17 10935f4eaf8b: Pulling fs layer 02:35:17 4fe6c5a15a65: Waiting 02:35:17 22a0e8bec74d: Waiting 02:35:17 640e595b4fbd: Waiting 02:35:17 763cafe07f6e: Waiting 02:35:17 0c0b528cf693: Waiting 02:35:17 10935f4eaf8b: Waiting 02:35:17 8ed8ca486205: Download complete 02:35:17 666ba61612fd: Verifying Checksum 02:35:17 666ba61612fd: Download complete 02:35:17 22a0e8bec74d: Verifying Checksum 02:35:17 22a0e8bec74d: Download complete 02:35:17 640e595b4fbd: Verifying Checksum 02:35:17 640e595b4fbd: Download complete 02:35:17 763cafe07f6e: Verifying Checksum 02:35:17 763cafe07f6e: Download complete 02:35:17 59bf1c3509f3: Verifying Checksum 02:35:17 59bf1c3509f3: Download complete 02:35:17 0c0b528cf693: Verifying Checksum 02:35:17 0c0b528cf693: Download complete 02:35:17 4fe6c5a15a65: Verifying Checksum 02:35:17 4fe6c5a15a65: Download complete 02:35:17 10935f4eaf8b: Verifying Checksum 02:35:17 10935f4eaf8b: Download complete 02:35:17 59bf1c3509f3: Pull complete 02:35:18 666ba61612fd: Pull complete 02:35:18 8ed8ca486205: Pull complete 02:35:22 4fe6c5a15a65: Pull complete 02:35:22 22a0e8bec74d: Pull complete 02:35:22 640e595b4fbd: Pull complete 02:35:22 763cafe07f6e: Pull complete 02:35:22 0c0b528cf693: Pull complete 02:35:24 10935f4eaf8b: Pull complete 02:35:24 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 02:35:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:35:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 02:35:24 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 02:35:24 + docker inspect -f . ci-base-image-x86_64 02:35:24 . [Pipeline] withDockerContainer 02:35:25 prd-centos7-docker-4c-2g-5318 does not seem to be running inside a container 02:35:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_go-mod-core-contracts_PR-699 -v /w/workspace/dry_go-mod-core-contracts_PR-699:/w/workspace/dry_go-mod-core-contracts_PR-699:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-699@tmp:/w/workspace/dry_go-mod-core-contracts_PR-699@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 ******** ci-base-image-x86_64 cat 02:35:27 $ docker top cc1276259a177c109d02470068820389618bf7bfb38ff9d80febaa4c26ea6aeb -eo pid,comm [Pipeline] { [Pipeline] sh 02:35:28 + go version 02:35:28 go version go1.17.6 linux/amd64 [Pipeline] } 02:35:28 $ docker stop --time=1 cc1276259a177c109d02470068820389618bf7bfb38ff9d80febaa4c26ea6aeb 02:35:29 $ docker rm -f cc1276259a177c109d02470068820389618bf7bfb38ff9d80febaa4c26ea6aeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:35:30 + docker inspect -f . ci-base-image-x86_64 02:35:30 . [Pipeline] withDockerContainer 02:35:30 prd-centos7-docker-4c-2g-5318 does not seem to be running inside a container 02:35:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_go-mod-core-contracts_PR-699 -v /w/workspace/dry_go-mod-core-contracts_PR-699:/w/workspace/dry_go-mod-core-contracts_PR-699:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-699@tmp:/w/workspace/dry_go-mod-core-contracts_PR-699@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 ******** ci-base-image-x86_64 cat 02:35:30 $ docker top ae5b9e66e187abcf087b155161bfb8b17bda4d5662a2560933e7ad50d6cc432e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:35:31 + make test 02:35:31 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:35:31 go: downloading github.com/google/uuid v1.3.0 02:35:31 go: downloading github.com/stretchr/testify v1.7.0 02:35:31 go: downloading github.com/go-kit/log v0.2.0 02:35:31 go: downloading github.com/go-playground/validator/v10 v10.10.0 02:35:31 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 02:35:31 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 02:35:31 go: downloading github.com/davecgh/go-spew v1.1.1 02:35:31 go: downloading github.com/pmezard/go-difflib v1.0.0 02:35:31 go: downloading github.com/stretchr/objx v0.1.1 02:35:31 go: downloading github.com/go-logfmt/logfmt v0.5.1 02:35:31 Still waiting to schedule task 02:35:31 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:35:31 go: downloading github.com/go-playground/universal-translator v0.18.0 02:35:31 go: downloading github.com/leodido/go-urn v1.2.1 02:35:31 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 02:35:31 go: downloading golang.org/x/text v0.3.7 02:35:32 go: downloading github.com/x448/float16 v0.8.4 02:35:32 go: downloading github.com/go-playground/locales v0.14.0 02:35:33 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 02:35:43 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.054s coverage: 83.6% of statements 02:35:43 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 02:35:43 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 02:35:43 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 02:35:43 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.005s coverage: 29.4% of statements 02:35:43 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 02:35:44 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.007s coverage: 47.0% of statements 02:35:44 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.013s coverage: 90.5% of statements 02:35:45 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.029s coverage: 86.9% of statements 02:35:45 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.005s coverage: 59.5% of statements 02:35:45 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.017s coverage: 36.1% of statements 02:35:45 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.006s coverage: 48.7% of statements 02:36:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:36:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:36:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 02:36:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:36:12 $ docker stop --time=1 ae5b9e66e187abcf087b155161bfb8b17bda4d5662a2560933e7ad50d6cc432e 02:36:14 $ docker rm -f ae5b9e66e187abcf087b155161bfb8b17bda4d5662a2560933e7ad50d6cc432e [Pipeline] // withDockerContainer [Pipeline] sh 02:36:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:36: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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:36:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:15 02:36:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:36:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:16 latest: Pulling from edgex-lftools-log-publisher 02:36:16 b4d181a07f80: Pulling fs layer 02:36:16 a1111a8f2ec3: Pulling fs layer 02:36:16 ed53099fbce6: Pulling fs layer 02:36:16 dc539afda2c1: Pulling fs layer 02:36:16 77bc0d833cb6: Pulling fs layer 02:36:16 9065ff56babe: Pulling fs layer 02:36:16 d287ab97295c: Pulling fs layer 02:36:16 dc539afda2c1: Waiting 02:36:16 77bc0d833cb6: Waiting 02:36:16 9065ff56babe: Waiting 02:36:16 d287ab97295c: Waiting 02:36:16 a1111a8f2ec3: Verifying Checksum 02:36:16 a1111a8f2ec3: Download complete 02:36:16 dc539afda2c1: Verifying Checksum 02:36:16 dc539afda2c1: Download complete 02:36:16 ed53099fbce6: Verifying Checksum 02:36:16 ed53099fbce6: Download complete 02:36:16 9065ff56babe: Verifying Checksum 02:36:16 9065ff56babe: Download complete 02:36:16 77bc0d833cb6: Verifying Checksum 02:36:16 77bc0d833cb6: Download complete 02:36:16 b4d181a07f80: Verifying Checksum 02:36:16 b4d181a07f80: Download complete 02:36:16 d287ab97295c: Verifying Checksum 02:36:16 d287ab97295c: Download complete 02:36:17 b4d181a07f80: Pull complete 02:36:17 a1111a8f2ec3: Pull complete 02:36:18 ed53099fbce6: Pull complete 02:36:18 dc539afda2c1: Pull complete 02:36:19 77bc0d833cb6: Pull complete 02:36:20 9065ff56babe: Pull complete 02:36:30 d287ab97295c: Pull complete 02:36:30 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 02:36:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:36:30 prd-centos7-docker-4c-2g-5318 does not seem to be running inside a container 02:36:30 $ 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-699 -v /w/workspace/dry_go-mod-core-contracts_PR-699:/w/workspace/dry_go-mod-core-contracts_PR-699:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-699@tmp:/w/workspace/dry_go-mod-core-contracts_PR-699@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:36:33 $ docker top 9db1229b03110719214b4c65f35a986e277c53e7e016aa5e8ff7419887b379ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:36:33 ---> job-cost.sh 02:36:33 lf-activate-venv: SKIPPING 02:36:33 INFO: No Stack... 02:36:33 INFO: Retrieving Pricing Info for: v3-standard-2 02:36:34 INFO: Archiving Costs [Pipeline] sh 02:36:34 + cat /w/workspace/dry_go-mod-core-contracts_PR-699/archives/cost.csv 02:36:34 + cut -d, -f6 [Pipeline] lock 02:36:34 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-699-1-stack-cost] 02:36:34 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-699-1-stack-cost] did not exist. Created. 02:36:34 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-699-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:36:34 + echo total: 0.05999999865889549 [Pipeline] stash 02:36:34 Stashed 1 file(s) [Pipeline] } 02:36:35 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-699-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:36:35 $ docker stop --time=1 9db1229b03110719214b4c65f35a986e277c53e7e016aa5e8ff7419887b379ac 02:36:36 $ docker rm -f 9db1229b03110719214b4c65f35a986e277c53e7e016aa5e8ff7419887b379ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:36:55 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5319 in /w/workspace/dry_go-mod-core-contracts_PR-699 [Pipeline] { [Pipeline] ws 02:36:55 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 02:36:55 Selected Git installation does not exist. Using Default 02:36:55 The recommended git tool is: NONE 02:37:00 using credential edgex-jenkins-ssh 02:37:00 Cloning the remote Git repository 02:37:00 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 02:37:00 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 02:37:00 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 02:37:00 > git --version # timeout=10 02:37:00 > git --version # 'git version 2.17.1' 02:37:00 using GIT_SSH to set credentials SSH Credentials for GitHub 02:37:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:37:02 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 02:37:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:37:02 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 02:37:02 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 02:37:02 using GIT_SSH to set credentials SSH Credentials for GitHub 02:37:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/699/head:refs/remotes/origin/PR-699 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:37:03 Merging remotes/origin/main commit 58b8b4bc41ce6f7a1dbe3f3412e4301586b7a828 into PR head commit f2f5da54507356a77248adf6511146391f590b58 02:37:03 Merge succeeded, producing f2f5da54507356a77248adf6511146391f590b58 02:37:03 Checking out Revision f2f5da54507356a77248adf6511146391f590b58 (PR-699) 02:37:03 > git config core.sparsecheckout # timeout=10 02:37:03 > git checkout -f f2f5da54507356a77248adf6511146391f590b58 # timeout=10 02:37:03 > git remote # timeout=10 02:37:03 > git config --get remote.origin.url # timeout=10 02:37:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:37:03 > git merge 58b8b4bc41ce6f7a1dbe3f3412e4301586b7a828 # timeout=10 02:37:03 > git rev-parse HEAD^{commit} # timeout=10 02:37:03 > git config core.sparsecheckout # timeout=10 02:37:03 > git checkout -f f2f5da54507356a77248adf6511146391f590b58 # timeout=10 02:37:07 Commit message: "feat: add ProtocolPropertiesRequest for validate API" 02:37:07 > git --version # timeout=10 02:37:07 > git --version # 'git version 2.17.1' 02:37:07 fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:37:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:37:08 % Total % Received % Xferd Average Speed Time Time Time Current 02:37:08 Dload Upload Total Spent Left Speed 02:37:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 99521 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 02:37:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:37:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:37:09 + sudo tee /etc/docker/daemon.new 02:37:09 { 02:37:09 "registry-mirrors": [ 02:37:09 "https://nexus3.edgexfoundry.org:10001" 02:37:09 ], 02:37:09 "bip": "10.250.0.254/24", 02:37:09 "hosts": [ 02:37:09 "tcp://0.0.0.0:5555", 02:37:09 "unix:///var/run/docker.sock" 02:37:09 ], 02:37:09 "mtu": 1458, 02:37:09 "selinux-enabled": true, 02:37:09 "seccomp-profile": "/etc/docker/seccomp.json" 02:37:09 } [Pipeline] sh 02:37:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:37:10 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 02:37:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:37:29 ========================================================= 02:37:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:37:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 02:37:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:37:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:37:30 9b3977197b4f: Pulling fs layer 02:37:30 1a89e8eeedd5: Pulling fs layer 02:37:30 94645a83ff95: Pulling fs layer 02:37:30 3f3a8bcf1eab: Pulling fs layer 02:37:30 0c92f367c5e7: Pulling fs layer 02:37:30 f7c0051592d6: Pulling fs layer 02:37:30 a227ed2f7395: Pulling fs layer 02:37:30 7b1c46037f91: Pulling fs layer 02:37:30 0c92f367c5e7: Waiting 02:37:30 f7c0051592d6: Waiting 02:37:30 a227ed2f7395: Waiting 02:37:30 7b1c46037f91: Waiting 02:37:30 3f3a8bcf1eab: Waiting 02:37:30 94645a83ff95: Verifying Checksum 02:37:30 94645a83ff95: Download complete 02:37:30 1a89e8eeedd5: Download complete 02:37:30 0c92f367c5e7: Verifying Checksum 02:37:30 0c92f367c5e7: Download complete 02:37:30 f7c0051592d6: Verifying Checksum 02:37:30 f7c0051592d6: Download complete 02:37:30 a227ed2f7395: Verifying Checksum 02:37:30 a227ed2f7395: Download complete 02:37:30 9b3977197b4f: Download complete 02:37:31 9b3977197b4f: Pull complete 02:37:31 1a89e8eeedd5: Pull complete 02:37:32 94645a83ff95: Pull complete 02:37:32 7b1c46037f91: Verifying Checksum 02:37:32 7b1c46037f91: Download complete 02:37:32 3f3a8bcf1eab: Verifying Checksum 02:37:32 3f3a8bcf1eab: Download complete 02:37:45 3f3a8bcf1eab: Pull complete 02:37:45 0c92f367c5e7: Pull complete 02:37:45 f7c0051592d6: Pull complete 02:37:45 a227ed2f7395: Pull complete 02:37:50 7b1c46037f91: Pull complete 02:37:50 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 02:37:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:37:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 02:37:51 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 02:37:51 + docker inspect -f . ci-base-image-arm64 02:37:51 . [Pipeline] withDockerContainer 02:37:51 prd-ubuntu18.04-docker-arm64-4c-16g-5319 does not seem to be running inside a container 02:37:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** ci-base-image-arm64 cat 02:37:54 $ docker top c914f889735fdb79382f9e1407649a4a92f28c8c5a53c3455e6c53cd73ce389d -eo pid,comm [Pipeline] { [Pipeline] sh 02:37:55 + go version 02:37:55 go version go1.17.6 linux/arm64 [Pipeline] } 02:37:55 $ docker stop --time=1 c914f889735fdb79382f9e1407649a4a92f28c8c5a53c3455e6c53cd73ce389d 02:37:57 $ docker rm -f c914f889735fdb79382f9e1407649a4a92f28c8c5a53c3455e6c53cd73ce389d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:37:58 + docker inspect -f . ci-base-image-arm64 02:37:58 . [Pipeline] withDockerContainer 02:37:58 prd-ubuntu18.04-docker-arm64-4c-16g-5319 does not seem to be running inside a container 02:37:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** ci-base-image-arm64 cat 02:37:59 $ docker top dd3d48b54014d26aad5097a68e84c89b8792a855bb49f2413c4025a51f3bb4d6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:38:00 + make test 02:38:00 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:38:00 go: downloading github.com/google/uuid v1.3.0 02:38:00 go: downloading github.com/go-kit/log v0.2.0 02:38:00 go: downloading github.com/stretchr/testify v1.7.0 02:38:00 go: downloading github.com/go-playground/validator/v10 v10.10.0 02:38:01 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 02:38:01 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 02:38:01 go: downloading github.com/go-logfmt/logfmt v0.5.1 02:38:01 go: downloading github.com/davecgh/go-spew v1.1.1 02:38:01 go: downloading github.com/pmezard/go-difflib v1.0.0 02:38:01 go: downloading github.com/stretchr/objx v0.1.1 02:38:01 go: downloading github.com/go-playground/universal-translator v0.18.0 02:38:01 go: downloading github.com/leodido/go-urn v1.2.1 02:38:01 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 02:38:01 go: downloading golang.org/x/text v0.3.7 02:38:01 go: downloading github.com/x448/float16 v0.8.4 02:38:01 go: downloading github.com/go-playground/locales v0.14.0 02:38:05 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 02:38:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.374s coverage: 83.6% of statements 02:38:37 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 02:38:37 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 02:38:37 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 02:38:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.054s coverage: 29.4% of statements 02:38:37 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 02:38:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.131s coverage: 47.0% of statements 02:38:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.057s coverage: 90.5% of statements 02:38:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.205s coverage: 86.9% of statements 02:38:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.037s coverage: 59.5% of statements 02:38:37 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.016s coverage: 36.1% of statements 02:38:38 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.036s coverage: 48.7% of statements 02:38:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:38:38 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:38:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:38:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 02:38:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:38:53 $ docker stop --time=1 dd3d48b54014d26aad5097a68e84c89b8792a855bb49f2413c4025a51f3bb4d6 02:38:55 $ docker rm -f dd3d48b54014d26aad5097a68e84c89b8792a855bb49f2413c4025a51f3bb4d6 [Pipeline] // withDockerContainer [Pipeline] sh 02:38:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:38:56 Warning: overwriting stash ‘coverage-report’ 02:38:57 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 02:38:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:38:58 02:38:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:38:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:38:58 arm64: Pulling from edgex-lftools-log-publisher 02:38:58 448f6bf000e3: Pulling fs layer 02:38:58 f757da607395: Pulling fs layer 02:38:58 05883995daec: Pulling fs layer 02:38:58 8603b9c90790: Pulling fs layer 02:38:58 1560dd03e051: Pulling fs layer 02:38:58 27f5ce0e4adf: Pulling fs layer 02:38:58 c2d8d7efcc4b: Pulling fs layer 02:38:58 8603b9c90790: Waiting 02:38:58 27f5ce0e4adf: Waiting 02:38:58 c2d8d7efcc4b: Waiting 02:38:58 1560dd03e051: Waiting 02:38:58 f757da607395: Verifying Checksum 02:38:58 f757da607395: Download complete 02:38:58 8603b9c90790: Download complete 02:38:58 1560dd03e051: Verifying Checksum 02:38:58 1560dd03e051: Download complete 02:38:58 27f5ce0e4adf: Verifying Checksum 02:38:58 27f5ce0e4adf: Download complete 02:38:58 05883995daec: Verifying Checksum 02:38:58 05883995daec: Download complete 02:38:59 448f6bf000e3: Verifying Checksum 02:38:59 448f6bf000e3: Download complete 02:39:01 c2d8d7efcc4b: Verifying Checksum 02:39:01 c2d8d7efcc4b: Download complete 02:39:03 448f6bf000e3: Pull complete 02:39:03 f757da607395: Pull complete 02:39:04 05883995daec: Pull complete 02:39:05 8603b9c90790: Pull complete 02:39:06 1560dd03e051: Pull complete 02:39:06 27f5ce0e4adf: Pull complete 02:39:21 c2d8d7efcc4b: Pull complete 02:39:21 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 02:39:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:39:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:39:21 prd-ubuntu18.04-docker-arm64-4c-16g-5319 does not seem to be running inside a container 02:39:21 $ 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/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:39:24 $ docker top ff0074d2df56148269d364c72a54064e98084612b70d2e71232b23d9ffb7af1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:25 ---> job-cost.sh 02:39:25 lf-activate-venv: SKIPPING 02:39:25 INFO: No Stack... 02:39:25 INFO: Retrieving Pricing Info for: v3-standard-4 02:39:26 INFO: Archiving Costs [Pipeline] sh 02:39:26 + cat /w/workspace/go-mod-core-contracts/1/archives/cost.csv 02:39:26 + cut -d, -f6 [Pipeline] lock 02:39:26 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-699-1-stack-cost] 02:39:26 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-699-1-stack-cost] did not exist. Created. 02:39:26 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-699-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:39:27 /w/workspace/go-mod-core-contracts/1@tmp/durable-9cae9691/script.sh: 1: /w/workspace/go-mod-core-contracts/1@tmp/durable-9cae9691/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:39:28 + echo total: 0.10999999940395355 [Pipeline] stash 02:39:28 Warning: overwriting stash ‘stack-cost’ 02:39:28 Stashed 1 file(s) [Pipeline] } 02:39:28 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-699-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:39:28 $ docker stop --time=1 ff0074d2df56148269d364c72a54064e98084612b70d2e71232b23d9ffb7af1c 02:39:30 $ docker rm -f ff0074d2df56148269d364c72a54064e98084612b70d2e71232b23d9ffb7af1c [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 02:39:31 provisioning config files... 02:39:31 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-699@tmp/config2894257367976970414tmp [Pipeline] { [Pipeline] sh 02:39:31 + set +x 02:39:31 + curl -s https://codecov.io/bash 02:39:31 + bash -s -- 02:39:31 02:39:31 _____ _ 02:39:31 / ____| | | 02:39:31 | | ___ __| | ___ ___ _____ __ 02:39:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:39:31 | |___| (_) | (_| | __/ (_| (_) \ V / 02:39:31 \_____\___/ \__,_|\___|\___\___/ \_/ 02:39:31 Bash-1.0.6 02:39:31 02:39:31 02:39:31 ==> git version 2.24.4 found 02:39:31 ==> 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 02:39:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:39:31 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:39:31 ==> Jenkins CI detected. 02:39:31 current dir:  /w/workspace/dry_go-mod-core-contracts_PR-699 02:39:31 project root: . 02:39:31 --> token set from env 02:39:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:39:31 ==> Running gcov in . (disable via -X gcov) 02:39:31 ==> Python coveragepy not found 02:39:31 ==> Searching for coverage reports in: 02:39:31 + . 02:39:31 -> Found 1 reports 02:39:31 ==> Detecting git/mercurial file structure 02:39:31 ==> Reading reports 02:39:31 + ./coverage.out bytes=104188 02:39:31 ==> Appending adjustments 02:39:31 https://docs.codecov.io/docs/fixing-reports 02:39:32 + Found adjustments 02:39:32 ==> Gzipping contents 02:39:32 16K /tmp/codecov.xsopa9.gz 02:39:32 ==> Uploading reports 02:39:32 url: https://codecov.io 02:39:32 query: branch=PR-699&commit=f2f5da54507356a77248adf6511146391f590b58&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-699%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=699&job=&cmd_args= 02:39:32 -> Pinging Codecov 02:39:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=ed6cf6b4-2a06-43fb-b229-bfa3e55f90ff&branch=PR-699&commit=f2f5da54507356a77248adf6511146391f590b58&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-699%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=699&job=&cmd_args= 02:39:32 -> Uploading to 02:39:32 https://storage.googleapis.com/codecov/v4/raw/2022-02-16/71470A77251A30514AAF9C0BB2E5B6CE/f2f5da54507356a77248adf6511146391f590b58/8681f008-d139-4a2a-8741-f3799e371def.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220216T023932Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9b1a7a206a8938e4c07961a2248d5aa13168136a168460ce657f18f1821420ad 02:39:32 % Total % Received % Xferd Average Speed Time Time Time Current 02:39:32 Dload Upload Total Spent Left Speed 02:39:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15606 0 0 100 15606 0 39865 --:--:-- --:--:-- --:--:-- 39913 02:39:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/f2f5da54507356a77248adf6511146391f590b58 [Pipeline] } 02:39:32 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 02:39:34 + '[' -d /w/workspace/dry_go-mod-core-contracts_PR-699/archives ']' 02:39:34 + ls -al /w/workspace/dry_go-mod-core-contracts_PR-699/archives 02:39:34 total 8 02:39:34 drwxr-xr-x. 3 root root 34 Feb 16 02:36 . 02:39:34 drwxrwxr-x. 11 jenkins jenkins 4096 Feb 16 02:36 .. 02:39:34 drwxr-xr-x. 2 root root 6 Feb 16 02:36 cost 02:39:34 -rw-r--r--. 1 root root 92 Feb 16 02:36 cost.csv 02:39:34 + sudo chown -R jenkins:jenkins /w/workspace/dry_go-mod-core-contracts_PR-699/archives 02:39:34 + ls -al /w/workspace/dry_go-mod-core-contracts_PR-699/archives 02:39:34 total 8 02:39:34 drwxr-xr-x. 3 jenkins jenkins 34 Feb 16 02:36 . 02:39:34 drwxrwxr-x. 11 jenkins jenkins 4096 Feb 16 02:36 .. 02:39:34 drwxr-xr-x. 2 jenkins jenkins 6 Feb 16 02:36 cost 02:39:34 -rw-r--r--. 1 jenkins jenkins 92 Feb 16 02:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:39:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:39:35 ---> package-listing.sh 02:39:35 ++ facter osfamily 02:39:35 ++ tr '[:upper:]' '[:lower:]' 02:39:35 + OS_FAMILY=redhat 02:39:35 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-699 02:39:35 + START_PACKAGES=/tmp/packages_start.txt 02:39:35 + END_PACKAGES=/tmp/packages_end.txt 02:39:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:39:35 + PACKAGES=/tmp/packages_start.txt 02:39:35 + '[' /w/workspace/dry_go-mod-core-contracts_PR-699 ']' 02:39:35 + PACKAGES=/tmp/packages_end.txt 02:39:35 + case "${OS_FAMILY}" in 02:39:35 + sort 02:39:35 + rpm -qa 02:39:36 + '[' -f /tmp/packages_start.txt ']' 02:39:36 + '[' -f /tmp/packages_end.txt ']' 02:39:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:39:36 + '[' /w/workspace/dry_go-mod-core-contracts_PR-699 ']' 02:39:36 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-699/archives/ 02:39:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-699/archives/ [Pipeline] echo 02:39:36 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-699/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:39:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:39:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:39:37 . [Pipeline] withDockerContainer 02:39:37 prd-centos7-docker-4c-2g-5318 does not seem to be running inside a container 02:39:37 $ 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-699/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-699 -v /w/workspace/dry_go-mod-core-contracts_PR-699:/w/workspace/dry_go-mod-core-contracts_PR-699:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-699@tmp:/w/workspace/dry_go-mod-core-contracts_PR-699@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:10003/edgex-lftools-log-publisher:latest cat 02:39:37 $ docker top 5dc4a84b9dccf06513cf218b03f6f38187f14e362f1127a7377cf6491e829182 -eo pid,comm [Pipeline] { [Pipeline] sh 02:39:38 + touch /tmp/pre-build-complete [Pipeline] sh 02:39:38 + mkdir -p /var/log/sysstat [Pipeline] sh 02:39:38 + ls /var/log/sa-host 02:39:38 + sadf -c /var/log/sa-host/sa16 02:39:38 file_magic: OK 02:39:38 HZ: Using current value: 100 02:39:38 file_header: OK 02:39:38 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:39:38 Statistics: 02:39:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:39:38 File successfully converted to sysstat format version 12.0.3 02:39:38 + sadf -c /var/log/sa-host/sa17 02:39:38 file_magic: OK 02:39:38 HZ: Using current value: 100 02:39:38 file_header: OK 02:39:38 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:39:38 Statistics: 02:39:38 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:39:38 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:39:39 provisioning config files... 02:39:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-699@tmp/config2682818263494968477tmp [Pipeline] { [Pipeline] echo 02:39:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:39:39 ---> create-netrc.sh [Pipeline] } 02:39:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:39:39 ---> python-tools-install.sh [Pipeline] echo 02:39:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:39:40 ---> sudo-logs.sh 02:39:40 Archiving 'sudo' log.. 02:39:40 sudo: unable to resolve host prd-centos7-docker-4c-2g-5318.novalocal: Name or service not known 02:39:40 sudo: unable to resolve host prd-centos7-docker-4c-2g-5318.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 02:39:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:39:40 ---> job-cost.sh 02:39:40 lf-activate-venv: SKIPPING 02:39:40 DEBUG: total: 0.05999999865889549 02:39:40 INFO: Retrieving Stack Cost... 02:39:40 INFO: Retrieving Pricing Info for: v3-standard-2 02:39:41 INFO: Archiving Costs [Pipeline] echo 02:39:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:39:41 ---> logs-deploy.sh 02:39:41 lf-activate-venv: SKIPPING 02:39:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-699/1 02:39:41 INFO: archiving workspace using pattern(s): 02:39:42 Archives upload complete. 02:39:42 INFO: archiving logs to Nexus