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