Pull request #691 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 bnevis-i for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb+1b42ad9ec4f5fe660ba505bdee6f829ebfec5a2e (fddc323909d0aaf897c6f973bdbb0165f1cdcb92) 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-ssh13792214802676364077.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh11722010818921811422.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-691/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-691/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9124476142514230083.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-691/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1455475923832417931.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh6659965868232747540.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-691/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-691/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9630961242959962650.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-core-contracts DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-751 in /w/workspace/dry_go-mod-core-contracts_PR-691 [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-691 # 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-691@tmp/jenkins-gitclient-ssh8098115092535017609.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 1b42ad9ec4f5fe660ba505bdee6f829ebfec5a2e into PR head commit ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb > 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-691@tmp/jenkins-gitclient-ssh3181993256928097318.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/691/head:refs/remotes/origin/PR-691 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb Checking out Revision ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb (PR-691) > git checkout -f ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb # 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-691@tmp/jenkins-gitclient-ssh7400301432905840823.key > git merge 1b42ad9ec4f5fe660ba505bdee6f829ebfec5a2e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb # timeout=10 Commit message: "feat(security): Enable gosec and default linter set" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:57:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:57:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:57:06 ========================================================= 04:57:06 EdgeX Global Pipelines Version Info 04:57:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:57:07 ------------------- 04:57:07 stable info: 04:57:07 ------------------- 04:57:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:57:07 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 04:57:07 Message: update stable to v1.0.217 04:57:08 ------------------- 04:57:08 experimental info: 04:57:08 ------------------- 04:57:08 Commited By: **** collab-it+edgex@linuxfoundation.org 04:57:08 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 04:57:08 Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:57:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 04:57:08 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 04:57:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:57:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:57:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:57:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:57:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:57:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:57:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-691 [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-691 [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-691 [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff641aa [Pipeline] echo 04:57:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:57:10 + git rev-list -1 --merges ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb~1..ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb [Pipeline] echo 04:57:10 -----------> git rev-list -1 --merges ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb~1..ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb [false] [Pipeline] sh 04:57:10 + git log --format=format:%s -1 ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb [Pipeline] echo 04:57:10 ========================================================= 04:57:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:57:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:57:11 + git log --format=format:%s -1 ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb [Pipeline] echo 04:57:11 [semverPrep] GIT_COMMIT: ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo 04:57:11 [semverPrep] This is not a build commit. [Pipeline] sh 04:57:11 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:57:11 + grep -v github /etc/ssh/ssh_known_hosts 04:57:11 + '[' -e /tmp/ssh_known_hosts ']' 04:57:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:57:11 + sudo tee -a /etc/ssh/ssh_known_hosts 04:57:11 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 04:57:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:57:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:57:12 04:57:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:57:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:57:12 latest: Pulling from edgex-devops/git-semver 04:57:12 a0d0a0d46f8b: Pulling fs layer 04:57:12 3e5f54012d9b: Pulling fs layer 04:57:12 4c7163046ea9: Pulling fs layer 04:57:12 0c2d73faf560: Pulling fs layer 04:57:12 0c2d73faf560: Waiting 04:57:12 3e5f54012d9b: Verifying Checksum 04:57:12 3e5f54012d9b: Download complete 04:57:12 a0d0a0d46f8b: Verifying Checksum 04:57:12 a0d0a0d46f8b: Download complete 04:57:12 0c2d73faf560: Verifying Checksum 04:57:12 0c2d73faf560: Download complete 04:57:12 4c7163046ea9: Verifying Checksum 04:57:12 4c7163046ea9: Download complete 04:57:12 a0d0a0d46f8b: Pull complete 04:57:12 3e5f54012d9b: Pull complete 04:57:13 4c7163046ea9: Pull complete 04:57:13 0c2d73faf560: Pull complete 04:57:13 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:57:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:57:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:57:13 prd-centos7-docker-4c-2g-751 does not seem to be running inside a container 04:57:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-691 -v /w/workspace/dry_go-mod-core-contracts_PR-691:/w/workspace/dry_go-mod-core-contracts_PR-691:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-691@tmp:/w/workspace/dry_go-mod-core-contracts_PR-691@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:57:14 $ docker top b4a3acd1497f14f36d24c85e30aba7513b6585886df1cff47006905f2e57006c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:57:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:57:14 [ssh-agent] Looking for ssh-agent implementation... 04:57:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:57:14 $ docker exec b4a3acd1497f14f36d24c85e30aba7513b6585886df1cff47006905f2e57006c ssh-agent 04:57:14 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXffEfnl/agent.15 04:57:14 SSH_AGENT_PID=21 04:57:14 Running ssh-add (command line suppressed) 04:57:14 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-691@tmp/private_key_3589315230580164537.key (/w/workspace/dry_go-mod-core-contracts_PR-691@tmp/private_key_3589315230580164537.key) 04:57:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:57:15 + git tag --points-at HEAD [Pipeline] } 04:57:15 $ docker exec --env ******** --env ******** b4a3acd1497f14f36d24c85e30aba7513b6585886df1cff47006905f2e57006c ssh-agent -k 04:57:15 unset SSH_AUTH_SOCK; 04:57:15 unset SSH_AGENT_PID; 04:57:15 echo Agent pid 21 killed; 04:57:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:57:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:57:15 [ssh-agent] Looking for ssh-agent implementation... 04:57:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:57:15 $ docker exec b4a3acd1497f14f36d24c85e30aba7513b6585886df1cff47006905f2e57006c ssh-agent 04:57:15 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnKfOKj/agent.53 04:57:15 SSH_AGENT_PID=60 04:57:15 Running ssh-add (command line suppressed) 04:57:15 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-691@tmp/private_key_7495587096110249885.key (/w/workspace/dry_go-mod-core-contracts_PR-691@tmp/private_key_7495587096110249885.key) 04:57:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:57:16 + git semver init 04:57:16 # -> Open(): unable to determine branch for HEAD 04:57:16 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-691/.git 04:57:16 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-691 04:57:16 # $SEMVER_REMOTE_NAME = origin 04:57:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:57:16 # $SEMVER_USER_NAME = edgex-jenkins 04:57:16 # $SEMVER_BRANCH = PR-691 04:57:16 # $SEMVER_TEMP = /tmp/semver-041434538 04:57:16 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 04:57:17 # '/tmp/semver-041434538' -> '/w/workspace/dry_go-mod-core-contracts_PR-691/.semver' 04:57:17 # -> Force: false 04:57:17 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-691/.semver [Pipeline] } 04:57:17 $ docker exec --env ******** --env ******** b4a3acd1497f14f36d24c85e30aba7513b6585886df1cff47006905f2e57006c ssh-agent -k 04:57:17 unset SSH_AUTH_SOCK; 04:57:17 unset SSH_AGENT_PID; 04:57:17 echo Agent pid 60 killed; 04:57:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:57:17 + git semver [Pipeline] } 04:57:17 $ docker stop --time=1 b4a3acd1497f14f36d24c85e30aba7513b6585886df1cff47006905f2e57006c 04:57:18 $ docker rm -f b4a3acd1497f14f36d24c85e30aba7513b6585886df1cff47006905f2e57006c [Pipeline] // withDockerContainer [Pipeline] sh 04:57:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:57:19 Stashed 1 file(s) [Pipeline] echo 04:57:19 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 04:57:34 Still waiting to schedule task 04:57:34 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-751’ 04:57:35 Still waiting to schedule task 04:57:35 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:58:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-752 in /w/workspace/dry_go-mod-core-contracts_PR-691 [Pipeline] { [Pipeline] ws 04:58:58 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 04:58:58 Selected Git installation does not exist. Using Default 04:58:58 The recommended git tool is: NONE 04:59:02 using credential edgex-jenkins-ssh 04:59:03 Cloning the remote Git repository 04:59:03 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 04:59:03 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 04:59:03 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 04:59:03 > git --version # timeout=10 04:59:03 > git --version # 'git version 2.17.1' 04:59:03 using GIT_SSH to set credentials SSH Credentials for GitHub 04:59:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:59:05 Merging remotes/origin/main commit 1b42ad9ec4f5fe660ba505bdee6f829ebfec5a2e into PR head commit ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb 04:59:05 Merge succeeded, producing ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb 04:59:05 Checking out Revision ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb (PR-691) 04:59:04 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 04:59:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:59:04 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 04:59:04 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 04:59:04 using GIT_SSH to set credentials SSH Credentials for GitHub 04:59:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/691/head:refs/remotes/origin/PR-691 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:59:05 > git config core.sparsecheckout # timeout=10 04:59:05 > git checkout -f ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb # timeout=10 04:59:05 > git remote # timeout=10 04:59:05 > git config --get remote.origin.url # timeout=10 04:59:05 using GIT_SSH to set credentials SSH Credentials for GitHub 04:59:05 > git merge 1b42ad9ec4f5fe660ba505bdee6f829ebfec5a2e # timeout=10 04:59:05 > git rev-parse HEAD^{commit} # timeout=10 04:59:05 > git config core.sparsecheckout # timeout=10 04:59:05 > git checkout -f ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb # timeout=10 04:59:10 Commit message: "feat(security): Enable gosec and default linter set" 04:59:10 > git --version # timeout=10 04:59:10 > git --version # 'git version 2.17.1' 04:59:10 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:59:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:59:11 % Total % Received % Xferd Average Speed Time Time Time Current 04:59:11 Dload Upload Total Spent Left Speed 04:59:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 77281 0 --:--:-- --:--:-- --:--:-- 77789 [Pipeline] sh 04:59:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:59:12 + sudo tee /etc/docker/daemon.new 04:59:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:59:12 { 04:59:12 "registry-mirrors": [ 04:59:12 "https://nexus3.edgexfoundry.org:10001" 04:59:12 ], 04:59:12 "bip": "10.250.0.254/24", 04:59:12 "hosts": [ 04:59:12 "tcp://0.0.0.0:5555", 04:59:12 "unix:///var/run/docker.sock" 04:59:12 ], 04:59:12 "mtu": 1458, 04:59:12 "selinux-enabled": true, 04:59:12 "seccomp-profile": "/etc/docker/seccomp.json" 04:59:12 } [Pipeline] sh 04:59:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:59:12 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 04:59:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:59:31 ========================================================= 04:59:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:59:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:59:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:59:32 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:59:32 552d1f2373af: Pulling fs layer 04:59:32 ea3f2d53f512: Pulling fs layer 04:59:32 9e70ebbbe112: Pulling fs layer 04:59:32 7a9cfe048b4a: Pulling fs layer 04:59:32 72dc09318566: Pulling fs layer 04:59:32 f4f7b4309257: Pulling fs layer 04:59:32 0ac9a79272e3: Pulling fs layer 04:59:32 b78e95d17946: Pulling fs layer 04:59:32 72dc09318566: Waiting 04:59:32 f4f7b4309257: Waiting 04:59:32 0ac9a79272e3: Waiting 04:59:32 b78e95d17946: Waiting 04:59:32 7a9cfe048b4a: Waiting 04:59:32 9e70ebbbe112: Verifying Checksum 04:59:32 9e70ebbbe112: Download complete 04:59:32 ea3f2d53f512: Verifying Checksum 04:59:32 ea3f2d53f512: Download complete 04:59:32 72dc09318566: Verifying Checksum 04:59:32 72dc09318566: Download complete 04:59:32 f4f7b4309257: Verifying Checksum 04:59:32 f4f7b4309257: Download complete 04:59:32 552d1f2373af: Verifying Checksum 04:59:32 552d1f2373af: Download complete 04:59:32 0ac9a79272e3: Verifying Checksum 04:59:32 0ac9a79272e3: Download complete 04:59:33 552d1f2373af: Pull complete 04:59:34 ea3f2d53f512: Pull complete 04:59:34 9e70ebbbe112: Pull complete 04:59:34 b78e95d17946: Verifying Checksum 04:59:34 b78e95d17946: Download complete 04:59:35 7a9cfe048b4a: Verifying Checksum 04:59:35 7a9cfe048b4a: Download complete 04:59:43 Running on prd-centos7-docker-4c-2g-753 in /w/workspace/dry_go-mod-core-contracts_PR-691 [Pipeline] { [Pipeline] ws 04:59:43 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 04:59:43 Selected Git installation does not exist. Using Default 04:59:43 The recommended git tool is: NONE 04:59:45 using credential edgex-jenkins-ssh 04:59:45 Cloning the remote Git repository 04:59:45 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 04:59:45 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 04:59:45 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 04:59:45 > git --version # timeout=10 04:59:45 > git --version # 'git version 2.24.4' 04:59:45 using GIT_SSH to set credentials SSH Credentials for GitHub 04:59:46 [INFO] Currently running in a labeled security context 04:59:46 [INFO] Currently SELinux is 'enforcing' on the host 04:59:46 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/1@tmp/jenkins-gitclient-ssh5865720377349305020.key 04:59:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:59:47 Merging remotes/origin/main commit 1b42ad9ec4f5fe660ba505bdee6f829ebfec5a2e into PR head commit ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb 04:59:47 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 04:59:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:59:47 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 04:59:47 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 04:59:47 using GIT_SSH to set credentials SSH Credentials for GitHub 04:59:47 [INFO] Currently running in a labeled security context 04:59:47 [INFO] Currently SELinux is 'enforcing' on the host 04:59:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/1@tmp/jenkins-gitclient-ssh842919512799384504.key 04:59:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/691/head:refs/remotes/origin/PR-691 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:59:47 > git config core.sparsecheckout # timeout=10 04:59:47 Merge succeeded, producing ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb 04:59:47 Checking out Revision ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb (PR-691) 04:59:47 7a9cfe048b4a: Pull complete 04:59:47 72dc09318566: Pull complete 04:59:47 f4f7b4309257: Pull complete 04:59:47 0ac9a79272e3: Pull complete 04:59:47 > git checkout -f ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb # timeout=10 04:59:47 > git remote # timeout=10 04:59:47 > git config --get remote.origin.url # timeout=10 04:59:47 using GIT_SSH to set credentials SSH Credentials for GitHub 04:59:47 [INFO] Currently running in a labeled security context 04:59:47 [INFO] Currently SELinux is 'enforcing' on the host 04:59:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/1@tmp/jenkins-gitclient-ssh8751510325818647851.key 04:59:47 > git merge 1b42ad9ec4f5fe660ba505bdee6f829ebfec5a2e # timeout=10 04:59:47 > git rev-parse HEAD^{commit} # timeout=10 04:59:47 > git config core.sparsecheckout # timeout=10 04:59:47 > git checkout -f ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb # timeout=10 04:59:50 Commit message: "feat(security): Enable gosec and default linter set" 04:59:51 > git --version # timeout=10 04:59:51 > git --version # 'git version 2.24.4' 04:59:51 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:59:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:59:51 ========================================================= 04:59:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:59:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:59:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:59:52 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:59:52 a0d0a0d46f8b: Pulling fs layer 04:59:52 31adcdaf11c8: Pulling fs layer 04:59:52 b8b176561691: Pulling fs layer 04:59:52 4527c011a84f: Pulling fs layer 04:59:52 5d74067f8e1e: Pulling fs layer 04:59:52 e0aca202a116: Pulling fs layer 04:59:52 3a43be97a3b4: Pulling fs layer 04:59:52 34cad66bf833: Pulling fs layer 04:59:52 b4e3c513aaa6: Pulling fs layer 04:59:52 4527c011a84f: Waiting 04:59:52 5d74067f8e1e: Waiting 04:59:52 e0aca202a116: Waiting 04:59:52 3a43be97a3b4: Waiting 04:59:52 34cad66bf833: Waiting 04:59:52 b4e3c513aaa6: Waiting 04:59:52 b8b176561691: Verifying Checksum 04:59:52 b8b176561691: Download complete 04:59:52 31adcdaf11c8: Verifying Checksum 04:59:52 31adcdaf11c8: Download complete 04:59:52 5d74067f8e1e: Verifying Checksum 04:59:52 5d74067f8e1e: Download complete 04:59:52 e0aca202a116: Verifying Checksum 04:59:52 e0aca202a116: Download complete 04:59:52 3a43be97a3b4: Verifying Checksum 04:59:52 3a43be97a3b4: Download complete 04:59:52 a0d0a0d46f8b: Verifying Checksum 04:59:52 a0d0a0d46f8b: Download complete 04:59:52 34cad66bf833: Verifying Checksum 04:59:52 34cad66bf833: Download complete 04:59:52 a0d0a0d46f8b: Pull complete 04:59:52 4527c011a84f: Verifying Checksum 04:59:52 4527c011a84f: Download complete 04:59:52 b4e3c513aaa6: Verifying Checksum 04:59:52 b4e3c513aaa6: Download complete 04:59:52 31adcdaf11c8: Pull complete 04:59:52 b8b176561691: Pull complete 04:59:52 b78e95d17946: Pull complete 04:59:52 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:59:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:59:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 04:59:53 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 04:59:53 + docker inspect -f . ci-base-image-arm64 04:59:53 . [Pipeline] withDockerContainer 04:59:53 prd-ubuntu18.04-docker-arm64-4c-16g-752 does not seem to be running inside a container 04:59:54 $ 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 04:59:56 $ docker top 0c819a523cc6612ad76e5a25f980c2066a9c426ff6e45e94a690431928fae707 -eo pid,comm 04:59:57 4527c011a84f: Pull complete 04:59:57 5d74067f8e1e: Pull complete 04:59:57 e0aca202a116: Pull complete 04:59:57 3a43be97a3b4: Pull complete 04:59:57 34cad66bf833: Pull complete [Pipeline] { [Pipeline] sh 04:59:57 + go version 04:59:57 go version go1.16.8 linux/arm64 [Pipeline] } 04:59:57 $ docker stop --time=1 0c819a523cc6612ad76e5a25f980c2066a9c426ff6e45e94a690431928fae707 04:59:59 $ docker rm -f 0c819a523cc6612ad76e5a25f980c2066a9c426ff6e45e94a690431928fae707 04:59:59 b4e3c513aaa6: Pull complete 04:59:59 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 04:59:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:59:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:00:00 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 05:00:00 + docker inspect -f . ci-base-image-arm64 05:00:00 . [Pipeline] withDockerContainer 05:00:00 + docker inspect -f . ci-base-image-x86_64 05:00:00 . 05:00:00 prd-ubuntu18.04-docker-arm64-4c-16g-752 does not seem to be running inside a container 05:00:00 $ 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:00:01 $ docker top 0a4c8d339ed1ffef5bdf56c9557604acb91fe0a1881a013415e991296e69806e -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 05:00:02 prd-centos7-docker-4c-2g-753 does not seem to be running inside a container 05:00:02 $ 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-x86_64 cat 05:00:04 $ docker top eca3622d4d16aa9d8c03ed10ac96e4ed81c3bdd05d0aca745a0deec455cd0370 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [Pipeline] sh 05:00:05 + go version 05:00:05 go version go1.16.8 linux/amd64 [Pipeline] } 05:00:05 $ docker stop --time=1 eca3622d4d16aa9d8c03ed10ac96e4ed81c3bdd05d0aca745a0deec455cd0370 05:00:05 + make test 05:00:05 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 05:00:06 $ docker rm -f eca3622d4d16aa9d8c03ed10ac96e4ed81c3bdd05d0aca745a0deec455cd0370 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:00:06 + docker inspect -f . ci-base-image-x86_64 05:00:06 . [Pipeline] withDockerContainer 05:00:07 prd-centos7-docker-4c-2g-753 does not seem to be running inside a container 05:00:07 $ 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-x86_64 cat 05:00:07 $ docker top b01bae13711ebeacaf4b056f75373dae8dc6f6da2534c0cacde2ce4f354b10cb -eo pid,comm 05:00:07 go: downloading github.com/google/uuid v1.3.0 05:00:07 go: downloading github.com/go-kit/kit v0.11.0 05:00:07 go: downloading github.com/stretchr/testify v1.7.0 05:00:07 go: downloading github.com/go-playground/validator/v10 v10.9.0 05:00:07 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 05:00:07 go: downloading github.com/fxamacker/cbor/v2 v2.3.1 05:00:07 go: downloading github.com/davecgh/go-spew v1.1.1 05:00:07 go: downloading github.com/pmezard/go-difflib v1.0.0 05:00:07 go: downloading github.com/stretchr/objx v0.1.1 [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:00:07 go: downloading github.com/go-playground/universal-translator v0.18.0 05:00:07 go: downloading github.com/leodido/go-urn v1.2.1 05:00:07 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 05:00:07 go: downloading golang.org/x/text v0.3.6 05:00:07 go: downloading github.com/go-logfmt/logfmt v0.5.0 05:00:07 go: downloading github.com/x448/float16 v0.8.4 05:00:07 + make test 05:00:07 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 05:00:07 go: downloading github.com/go-playground/locales v0.14.0 05:00:09 go: downloading github.com/google/uuid v1.3.0 05:00:09 go: downloading github.com/stretchr/testify v1.7.0 05:00:09 go: downloading github.com/fxamacker/cbor/v2 v2.3.1 05:00:09 go: downloading github.com/go-kit/kit v0.11.0 05:00:09 go: downloading github.com/go-playground/validator/v10 v10.9.0 05:00:09 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 05:00:09 go: downloading github.com/davecgh/go-spew v1.1.1 05:00:09 go: downloading github.com/pmezard/go-difflib v1.0.0 05:00:09 go: downloading github.com/stretchr/objx v0.1.1 05:00:09 go: downloading github.com/x448/float16 v0.8.4 05:00:09 go: downloading github.com/go-playground/universal-translator v0.18.0 05:00:09 go: downloading github.com/leodido/go-urn v1.2.1 05:00:09 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 05:00:09 go: downloading golang.org/x/text v0.3.6 05:00:09 go: downloading github.com/go-logfmt/logfmt v0.5.0 05:00:09 go: downloading github.com/go-playground/locales v0.14.0 05:00:10 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 05:00:11 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 05:00:20 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.047s coverage: 83.6% of statements 05:00:20 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 05:00:20 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 05:00:20 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 05:00:20 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.008s coverage: 29.4% of statements 05:00:20 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 05:00:20 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.007s coverage: 47.0% of statements 05:00:20 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.021s coverage: 90.5% of statements 05:00:21 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.033s coverage: 86.8% of statements 05:00:21 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.008s coverage: 59.5% of statements 05:00:21 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.002s coverage: 36.1% of statements 05:00:21 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.006s coverage: 48.7% of statements 05:00:34 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:00:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:00:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 05:00:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:00:37 $ docker stop --time=1 b01bae13711ebeacaf4b056f75373dae8dc6f6da2534c0cacde2ce4f354b10cb 05:00:39 $ docker rm -f b01bae13711ebeacaf4b056f75373dae8dc6f6da2534c0cacde2ce4f354b10cb [Pipeline] // withDockerContainer [Pipeline] sh 05:00:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:00:40 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:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:00:41 05:00:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:00:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:00:41 latest: Pulling from edgex-lftools-log-publisher 05:00:41 b4d181a07f80: Pulling fs layer 05:00:41 a1111a8f2ec3: Pulling fs layer 05:00:41 ed53099fbce6: Pulling fs layer 05:00:41 dc539afda2c1: Pulling fs layer 05:00:41 77bc0d833cb6: Pulling fs layer 05:00:41 9065ff56babe: Pulling fs layer 05:00:41 d287ab97295c: Pulling fs layer 05:00:41 dc539afda2c1: Waiting 05:00:41 77bc0d833cb6: Waiting 05:00:41 9065ff56babe: Waiting 05:00:41 d287ab97295c: Waiting 05:00:41 a1111a8f2ec3: Verifying Checksum 05:00:41 a1111a8f2ec3: Download complete 05:00:41 dc539afda2c1: Verifying Checksum 05:00:41 dc539afda2c1: Download complete 05:00:41 77bc0d833cb6: Verifying Checksum 05:00:41 77bc0d833cb6: Download complete 05:00:41 9065ff56babe: Verifying Checksum 05:00:41 9065ff56babe: Download complete 05:00:41 ed53099fbce6: Verifying Checksum 05:00:41 ed53099fbce6: Download complete 05:00:41 b4d181a07f80: Verifying Checksum 05:00:41 b4d181a07f80: Download complete 05:00:42 d287ab97295c: Verifying Checksum 05:00:42 d287ab97295c: Download complete 05:00:43 b4d181a07f80: Pull complete 05:00:43 a1111a8f2ec3: Pull complete 05:00:43 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.527s coverage: 83.6% of statements 05:00:43 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 05:00:43 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 05:00:43 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 05:00:43 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.035s coverage: 29.4% of statements 05:00:43 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 05:00:43 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.097s coverage: 47.0% of statements 05:00:43 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.037s coverage: 90.5% of statements 05:00:44 ed53099fbce6: Pull complete 05:00:44 dc539afda2c1: Pull complete 05:00:44 77bc0d833cb6: Pull complete 05:00:44 9065ff56babe: Pull complete 05:00:44 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.295s coverage: 86.8% of statements 05:00:44 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.064s coverage: 59.5% of statements 05:00:45 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.013s coverage: 36.1% of statements 05:00:45 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.036s coverage: 48.7% of statements 05:00:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:00:46 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:00:49 d287ab97295c: Pull complete 05:00:49 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:00:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:00:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:00:49 prd-centos7-docker-4c-2g-753 does not seem to be running inside a container 05:00:49 $ 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:latest cat 05:00:52 $ docker top 67a0d9183925d9251c9d799a059454ed014be59ccacd1c8d2e7003c3a49e4398 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:00:52 ---> job-cost.sh 05:00:52 lf-activate-venv: SKIPPING 05:00:52 INFO: No Stack... 05:00:52 INFO: Retrieving Pricing Info for: v3-standard-2 05:00:53 INFO: Archiving Costs [Pipeline] sh 05:00:53 + cat /w/workspace/go-mod-core-contracts/1/archives/cost.csv 05:00:53 + cut -d, -f6 [Pipeline] lock 05:00:53 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-1-stack-cost] 05:00:53 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-1-stack-cost] did not exist. Created. 05:00:53 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:00:53 + echo total: 0.05999999865889549 [Pipeline] stash 05:00:53 Stashed 1 file(s) [Pipeline] } 05:00:53 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:00:54 $ docker stop --time=1 67a0d9183925d9251c9d799a059454ed014be59ccacd1c8d2e7003c3a49e4398 05:00:55 $ docker rm -f 67a0d9183925d9251c9d799a059454ed014be59ccacd1c8d2e7003c3a49e4398 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:01:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:01:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 05:01:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:01:08 $ docker stop --time=1 0a4c8d339ed1ffef5bdf56c9557604acb91fe0a1881a013415e991296e69806e 05:01:10 $ docker rm -f 0a4c8d339ed1ffef5bdf56c9557604acb91fe0a1881a013415e991296e69806e [Pipeline] // withDockerContainer [Pipeline] sh 05:01:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:01:11 Warning: overwriting stash ‘coverage-report’ 05:01:12 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:01:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:01:13 05:01:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:01:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:01:13 arm64: Pulling from edgex-lftools-log-publisher 05:01:13 448f6bf000e3: Pulling fs layer 05:01:13 f757da607395: Pulling fs layer 05:01:13 05883995daec: Pulling fs layer 05:01:13 8603b9c90790: Pulling fs layer 05:01:13 1560dd03e051: Pulling fs layer 05:01:13 27f5ce0e4adf: Pulling fs layer 05:01:13 c2d8d7efcc4b: Pulling fs layer 05:01:13 8603b9c90790: Waiting 05:01:13 1560dd03e051: Waiting 05:01:13 27f5ce0e4adf: Waiting 05:01:13 c2d8d7efcc4b: Waiting 05:01:13 f757da607395: Verifying Checksum 05:01:13 f757da607395: Download complete 05:01:13 8603b9c90790: Verifying Checksum 05:01:13 8603b9c90790: Download complete 05:01:13 1560dd03e051: Verifying Checksum 05:01:13 1560dd03e051: Download complete 05:01:13 27f5ce0e4adf: Verifying Checksum 05:01:13 27f5ce0e4adf: Download complete 05:01:13 05883995daec: Verifying Checksum 05:01:13 05883995daec: Download complete 05:01:14 448f6bf000e3: Verifying Checksum 05:01:14 448f6bf000e3: Download complete 05:01:16 c2d8d7efcc4b: Verifying Checksum 05:01:16 c2d8d7efcc4b: Download complete 05:01:18 448f6bf000e3: Pull complete 05:01:18 f757da607395: Pull complete 05:01:20 05883995daec: Pull complete 05:01:20 8603b9c90790: Pull complete 05:01:21 1560dd03e051: Pull complete 05:01:21 27f5ce0e4adf: Pull complete 05:01:36 c2d8d7efcc4b: Pull complete 05:01:36 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 05:01:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:01:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:01:36 prd-ubuntu18.04-docker-arm64-4c-16g-752 does not seem to be running inside a container 05:01:36 $ 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:01:39 $ docker top 179f5f3ec990dd9765bab6999b02b301c7512dd8ccf43f7309d83cf1b10e43ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:40 ---> job-cost.sh 05:01:40 lf-activate-venv: SKIPPING 05:01:40 INFO: No Stack... 05:01:40 INFO: Retrieving Pricing Info for: v3-standard-4 05:01:40 INFO: Archiving Costs [Pipeline] sh 05:01:41 + cut -d, -f6 05:01:41 + cat /w/workspace/go-mod-core-contracts/1/archives/cost.csv [Pipeline] lock 05:01:41 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-1-stack-cost] 05:01:41 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-1-stack-cost] did not exist. Created. 05:01:41 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:01:42 /w/workspace/go-mod-core-contracts/1@tmp/durable-ead44257/script.sh: 1: /w/workspace/go-mod-core-contracts/1@tmp/durable-ead44257/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:01:43 + echo total: 0.10999999940395355 [Pipeline] stash 05:01:43 Warning: overwriting stash ‘stack-cost’ 05:01:43 Stashed 1 file(s) [Pipeline] } 05:01:43 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-691-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:01:43 $ docker stop --time=1 179f5f3ec990dd9765bab6999b02b301c7512dd8ccf43f7309d83cf1b10e43ef 05:01:44 $ docker rm -f 179f5f3ec990dd9765bab6999b02b301c7512dd8ccf43f7309d83cf1b10e43ef [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:01:45 provisioning config files... 05:01:45 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-691@tmp/config4619865452870125039tmp [Pipeline] { [Pipeline] sh 05:01:46 + set +x 05:01:46 + curl -s https://codecov.io/bash 05:01:46 + bash -s -- 05:01:46 05:01:46 _____ _ 05:01:46 / ____| | | 05:01:46 | | ___ __| | ___ ___ _____ __ 05:01:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:01:46 | |___| (_) | (_| | __/ (_| (_) \ V / 05:01:46 \_____\___/ \__,_|\___|\___\___/ \_/ 05:01:46 Bash-1.0.6 05:01:46 05:01:46 05:01:46 ==> git version 2.24.4 found 05:01:46 ==> 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:01:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:01:46 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:01:46 ==> Jenkins CI detected. 05:01:46 current dir:  /w/workspace/dry_go-mod-core-contracts_PR-691 05:01:46 project root: . 05:01:46 --> token set from env 05:01:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:01:46 ==> Running gcov in . (disable via -X gcov) 05:01:46 ==> Python coveragepy not found 05:01:46 ==> Searching for coverage reports in: 05:01:46 + . 05:01:46 -> Found 1 reports 05:01:46 ==> Detecting git/mercurial file structure 05:01:46 ==> Reading reports 05:01:46 + ./coverage.out bytes=103586 05:01:46 ==> Appending adjustments 05:01:46 https://docs.codecov.io/docs/fixing-reports 05:01:46 + Found adjustments 05:01:46 ==> Gzipping contents 05:01:46 16K /tmp/codecov.p9gItw.gz 05:01:46 ==> Uploading reports 05:01:46 url: https://codecov.io 05:01:46 query: branch=PR-691&commit=ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-691%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=691&job=&cmd_args= 05:01:46 -> Pinging Codecov 05:01:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=ed6cf6b4-2a06-43fb-b229-bfa3e55f90ff&branch=PR-691&commit=ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-691%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=691&job=&cmd_args= 05:01:47 -> Uploading to 05:01:47 https://storage.googleapis.com/codecov/v4/raw/2022-01-05/71470A77251A30514AAF9C0BB2E5B6CE/ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb/e8b04f47-153e-4fa3-9ebc-120a76cd93a8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220105%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220105T050147Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0937ca639e6ff2181098debf82fee938b97e7d1940f93d41ced0cd85ad1e91f 05:01:47 % Total % Received % Xferd Average Speed Time Time Time Current 05:01:47 Dload Upload Total Spent Left Speed 05:01:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15438 0 0 100 15438 0 43456 --:--:-- --:--:-- --:--:-- 43365 100 15438 0 0 100 15438 0 43437 --:--:-- --:--:-- --:--:-- 43365 05:01:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/ff641aabd5cbe752d0c0c7b861dbd0e2ed86dcbb [Pipeline] } 05:01:47 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:01:49 + '[' -d /w/workspace/dry_go-mod-core-contracts_PR-691/archives ']' [Pipeline] libraryResource [Pipeline] sh 05:01:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:01:49 ---> package-listing.sh 05:01:49 ++ facter osfamily 05:01:49 ++ tr '[:upper:]' '[:lower:]' 05:01:50 + OS_FAMILY=redhat 05:01:50 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-691 05:01:50 + START_PACKAGES=/tmp/packages_start.txt 05:01:50 + END_PACKAGES=/tmp/packages_end.txt 05:01:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:01:50 + PACKAGES=/tmp/packages_start.txt 05:01:50 + '[' /w/workspace/dry_go-mod-core-contracts_PR-691 ']' 05:01:50 + PACKAGES=/tmp/packages_end.txt 05:01:50 + case "${OS_FAMILY}" in 05:01:50 + rpm -qa 05:01:50 + sort 05:01:50 + '[' -f /tmp/packages_start.txt ']' 05:01:50 + '[' -f /tmp/packages_end.txt ']' 05:01:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:01:50 + '[' /w/workspace/dry_go-mod-core-contracts_PR-691 ']' 05:01:50 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-691/archives/ 05:01:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-691/archives/ [Pipeline] echo 05:01:50 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-691/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:01:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:01:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:01:51 05:01:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:01:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:01:52 latest: Pulling from edgex-lftools-log-publisher 05:01:52 b4d181a07f80: Pulling fs layer 05:01:52 a1111a8f2ec3: Pulling fs layer 05:01:52 ed53099fbce6: Pulling fs layer 05:01:52 dc539afda2c1: Pulling fs layer 05:01:52 77bc0d833cb6: Pulling fs layer 05:01:52 9065ff56babe: Pulling fs layer 05:01:52 d287ab97295c: Pulling fs layer 05:01:52 77bc0d833cb6: Waiting 05:01:52 9065ff56babe: Waiting 05:01:52 d287ab97295c: Waiting 05:01:52 dc539afda2c1: Waiting 05:01:52 a1111a8f2ec3: Verifying Checksum 05:01:52 a1111a8f2ec3: Download complete 05:01:52 dc539afda2c1: Verifying Checksum 05:01:52 dc539afda2c1: Download complete 05:01:52 ed53099fbce6: Verifying Checksum 05:01:52 ed53099fbce6: Download complete 05:01:52 9065ff56babe: Verifying Checksum 05:01:52 9065ff56babe: Download complete 05:01:52 77bc0d833cb6: Verifying Checksum 05:01:52 77bc0d833cb6: Download complete 05:01:52 b4d181a07f80: Download complete 05:01:52 d287ab97295c: Verifying Checksum 05:01:52 d287ab97295c: Download complete 05:01:53 b4d181a07f80: Pull complete 05:01:53 a1111a8f2ec3: Pull complete 05:01:54 ed53099fbce6: Pull complete 05:01:54 dc539afda2c1: Pull complete 05:01:55 77bc0d833cb6: Pull complete 05:01:55 9065ff56babe: Pull complete 05:02:00 d287ab97295c: Pull complete 05:02:00 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:02:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:02:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:02:00 prd-centos7-docker-4c-2g-751 does not seem to be running inside a container 05:02:00 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-691/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-691 -v /w/workspace/dry_go-mod-core-contracts_PR-691:/w/workspace/dry_go-mod-core-contracts_PR-691:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-691@tmp:/w/workspace/dry_go-mod-core-contracts_PR-691@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:02:03 $ docker top 44477d383013f106fadd439b080ae135c968bff8416d5940996879f85b77945e -eo pid,comm [Pipeline] { [Pipeline] sh 05:02:03 + touch /tmp/pre-build-complete [Pipeline] sh 05:02:04 + mkdir -p /var/log/sysstat [Pipeline] sh 05:02:04 + ls /var/log/sa-host 05:02:04 + sadf -c /var/log/sa-host/sa05 05:02:04 file_magic: OK 05:02:04 HZ: Using current value: 100 05:02:04 file_header: OK 05:02:04 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:02:04 Statistics: 05:02:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:02:04 File successfully converted to sysstat format version 12.0.3 05:02:04 + sadf -c /var/log/sa-host/sa17 05:02:04 file_magic: OK 05:02:04 HZ: Using current value: 100 05:02:04 file_header: OK 05:02:04 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:02:04 Statistics: 05:02:04 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:02:04 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:02:04 provisioning config files... 05:02:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-691@tmp/config4941842547105911576tmp [Pipeline] { [Pipeline] echo 05:02:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:02:05 ---> create-netrc.sh [Pipeline] } 05:02:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:02:05 ---> python-tools-install.sh [Pipeline] echo 05:02:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:02:06 ---> sudo-logs.sh 05:02:06 Archiving 'sudo' log.. 05:02:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-751.novalocal: Name or service not known 05:02:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-751.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 05:02:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:02:06 ---> job-cost.sh 05:02:06 lf-activate-venv: SKIPPING 05:02:06 DEBUG: total: 0.10999999940395355 05:02:06 INFO: Retrieving Stack Cost... 05:02:06 INFO: Retrieving Pricing Info for: v3-standard-2 05:02:07 INFO: Archiving Costs [Pipeline] echo 05:02:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:02:07 ---> logs-deploy.sh 05:02:07 lf-activate-venv: SKIPPING 05:02:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-691/1 05:02:07 INFO: archiving workspace using pattern(s): 05:02:08 Archives upload complete. 05:02:08 INFO: archiving logs to Nexus