Pull request #847 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6bef35ec0ae6b21301420dece5c3d581c2b41344+0dd9d639d1f482fdf0723045cd400818db30d93c (064c5da46e81845e6901dd1aba060985edc36455) 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-ssh1077871193488080494.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-ssh620812288634825571.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 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-bootstrap/branches/PR-847/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-bootstrap/branches/PR-847/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17954816595577874011.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-bootstrap/branches/PR-847/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17700463417226862356.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa # timeout=10 Commit message: "fix: add new goLTSImages 1.23 (#466)" > 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 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-ssh5617393976310170110.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-bootstrap/branches/PR-847/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-bootstrap/branches/PR-847/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1387185263088086309.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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-bootstrap, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-bootstrap-settings PROJECT: go-mod-bootstrap USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 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-bootstrap 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-41199 in /w/workspace/xfoundry_go-mod-bootstrap_PR-847 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git > git init /w/workspace/xfoundry_go-mod-bootstrap_PR-847 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0dd9d639d1f482fdf0723045cd400818db30d93c into PR head commit 6bef35ec0ae6b21301420dece5c3d581c2b41344 Merge succeeded, producing 6bef35ec0ae6b21301420dece5c3d581c2b41344 Checking out Revision 6bef35ec0ae6b21301420dece5c3d581c2b41344 (PR-847) Commit message: "build(deps): bump golang.org/x/net from 0.34.0 to 0.36.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/847/head:refs/remotes/origin/PR-847 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6bef35ec0ae6b21301420dece5c3d581c2b41344 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0dd9d639d1f482fdf0723045cd400818db30d93c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6bef35ec0ae6b21301420dece5c3d581c2b41344 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:58:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:58:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:58:47 ========================================================= 01:58:47 EdgeX Global Pipelines Version Info 01:58:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:58:48 ------------------- 01:58:48 stable info: 01:58:48 ------------------- 01:58:48 Commited By: Cherry Wang cherry@iotechsys.com 01:58:48 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 01:58:48 Message: update stable to v1.0.271 01:58:48 ------------------- 01:58:48 experimental info: 01:58:48 ------------------- 01:58:48 Commited By: **** collab-it+edgex@linuxfoundation.org 01:58:48 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 01:58:48 Message: update experimental to v1.0.272 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:58:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:58:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:58:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:58:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:58:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:58:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:58:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 01:58:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:58:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:58:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-847 [Pipeline] echo 01:58:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-847 [Pipeline] echo 01:58:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-847 [Pipeline] echo 01:58:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6bef35ec0ae6b21301420dece5c3d581c2b41344 [Pipeline] echo 01:58:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6bef35e [Pipeline] echo 01:58:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:58:51 + git rev-list -1 --merges 6bef35ec0ae6b21301420dece5c3d581c2b41344~1..6bef35ec0ae6b21301420dece5c3d581c2b41344 [Pipeline] echo 01:58:51 -----------> git rev-list -1 --merges 6bef35ec0ae6b21301420dece5c3d581c2b41344~1..6bef35ec0ae6b21301420dece5c3d581c2b41344 6bef35ec0ae6b21301420dece5c3d581c2b41344 [false] [Pipeline] sh 01:58:51 + git log --format=format:%s -1 6bef35ec0ae6b21301420dece5c3d581c2b41344 [Pipeline] echo 01:58:51 ========================================================= 01:58:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:58:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:58:52 + git log --format=format:%s -1 6bef35ec0ae6b21301420dece5c3d581c2b41344 [Pipeline] echo 01:58:52 [semverPrep] GIT_COMMIT: 6bef35ec0ae6b21301420dece5c3d581c2b41344, Commit Message: build(deps): bump golang.org/x/net from 0.34.0 to 0.36.0 [Pipeline] echo 01:58:52 [semverPrep] This is not a build commit. [Pipeline] sh 01:58:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:58:52 + grep -v github /etc/ssh/ssh_known_hosts 01:58:52 + [ -e /tmp/ssh_known_hosts ] 01:58:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:58:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:58:52 + sudo tee -a /etc/ssh/ssh_known_hosts 01:58:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:53 01:58:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:53 0.1.4: Pulling from edgex-devops/py-git-semver 01:58:53 b85a868b505f: Pulling fs layer 01:58:53 e2be974225ed: Pulling fs layer 01:58:53 339a4e72a1f5: Pulling fs layer 01:58:53 988bab9f4d93: Pulling fs layer 01:58:53 1469e6f7b9e6: Pulling fs layer 01:58:53 eaf3925da568: Pulling fs layer 01:58:53 bab4dde63d76: Pulling fs layer 01:58:53 bde34c3a00c8: Pulling fs layer 01:58:53 b352a97aabf1: Pulling fs layer 01:58:53 4872d77fe225: Pulling fs layer 01:58:53 5851b861e8e6: Pulling fs layer 01:58:53 b352a97aabf1: Waiting 01:58:53 bde34c3a00c8: Waiting 01:58:53 1469e6f7b9e6: Waiting 01:58:53 5851b861e8e6: Waiting 01:58:53 eaf3925da568: Waiting 01:58:53 bab4dde63d76: Waiting 01:58:53 988bab9f4d93: Waiting 01:58:53 4872d77fe225: Waiting 01:58:53 e2be974225ed: Verifying Checksum 01:58:53 e2be974225ed: Download complete 01:58:53 988bab9f4d93: Verifying Checksum 01:58:53 988bab9f4d93: Download complete 01:58:53 1469e6f7b9e6: Verifying Checksum 01:58:53 1469e6f7b9e6: Download complete 01:58:53 339a4e72a1f5: Verifying Checksum 01:58:53 339a4e72a1f5: Download complete 01:58:53 eaf3925da568: Download complete 01:58:53 bde34c3a00c8: Verifying Checksum 01:58:53 bde34c3a00c8: Download complete 01:58:53 b352a97aabf1: Verifying Checksum 01:58:53 b352a97aabf1: Download complete 01:58:53 4872d77fe225: Download complete 01:58:53 5851b861e8e6: Verifying Checksum 01:58:53 5851b861e8e6: Download complete 01:58:53 b85a868b505f: Verifying Checksum 01:58:53 b85a868b505f: Download complete 01:58:54 bab4dde63d76: Verifying Checksum 01:58:54 bab4dde63d76: Download complete 01:58:55 b85a868b505f: Pull complete 01:58:55 e2be974225ed: Pull complete 01:58:55 339a4e72a1f5: Pull complete 01:58:56 988bab9f4d93: Pull complete 01:58:56 1469e6f7b9e6: Pull complete 01:58:56 eaf3925da568: Pull complete 01:58:58 bab4dde63d76: Pull complete 01:58:58 bde34c3a00c8: Pull complete 01:58:58 b352a97aabf1: Pull complete 01:58:58 4872d77fe225: Pull complete 01:58:58 5851b861e8e6: Pull complete 01:58:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:58:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:58 prd-ubuntu20.04-docker-8c-8g-41199 does not seem to be running inside a container 01:58:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-847 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-847:/w/workspace/xfoundry_go-mod-bootstrap_PR-847:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-847@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-847@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:59:00 $ docker top 8c24edc3f2aee587d2917cdf36623cad2067838c8da48eecc8e6e79ca25951bc -eo pid,comm 01:59:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:59:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:59:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:00 [ssh-agent] Looking for ssh-agent implementation... 01:59:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:00 $ docker exec 8c24edc3f2aee587d2917cdf36623cad2067838c8da48eecc8e6e79ca25951bc ssh-agent 01:59:00 SSH_AUTH_SOCK=/tmp/ssh-rgKzwMf4qr5I/agent.31 01:59:00 SSH_AGENT_PID=37 01:59:00 Running ssh-add (command line suppressed) 01:59:01 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-847@tmp/private_key_1513759410099429755.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-847@tmp/private_key_1513759410099429755.key) 01:59:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:01 + git tag --points-at HEAD [Pipeline] } 01:59:01 $ docker exec --env ******** --env ******** 8c24edc3f2aee587d2917cdf36623cad2067838c8da48eecc8e6e79ca25951bc ssh-agent -k 01:59:01 unset SSH_AUTH_SOCK; 01:59:01 unset SSH_AGENT_PID; 01:59:01 echo Agent pid 37 killed; 01:59:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:59:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:01 [ssh-agent] Looking for ssh-agent implementation... 01:59:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:01 $ docker exec 8c24edc3f2aee587d2917cdf36623cad2067838c8da48eecc8e6e79ca25951bc ssh-agent 01:59:01 SSH_AUTH_SOCK=/tmp/ssh-3SlhmVSMSMUy/agent.70 01:59:01 SSH_AGENT_PID=76 01:59:01 Running ssh-add (command line suppressed) 01:59:02 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-847@tmp/private_key_176743226957286008.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-847@tmp/private_key_176743226957286008.key) 01:59:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:02 + git semver init 01:59:02 2025-03-13 01:59:02,547 [run_init] DEBUG init version:0.0.0 force:False 01:59:02 2025-03-13 01:59:02,548 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-bootstrap_PR-847/.semver 01:59:02 2025-03-13 01:59:02,549 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/xfoundry_go-mod-bootstrap_PR-847/.semver 01:59:02 2025-03-13 01:59:02,549 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-bootstrap.git', '/w/workspace/xfoundry_go-mod-bootstrap_PR-847/.semver'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-847, universal_newlines=False, shell=None, istream=None) 01:59:04 2025-03-13 01:59:03,925 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-847/.git/info/exclude 01:59:04 2025-03-13 01:59:03,925 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-bootstrap_PR-847/.semver/PR-847 with force:False 01:59:04 2025-03-13 01:59:03,926 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-847/.semver/PR-847 01:59:04 2025-03-13 01:59:03,930 [execute] INFO git cat-file --batch-check 01:59:04 2025-03-13 01:59:03,931 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-847/.semver, universal_newlines=False, shell=None, istream=) 01:59:04 2025-03-13 01:59:03,936 [execute] INFO git cat-file --batch 01:59:04 2025-03-13 01:59:03,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-847/.semver, universal_newlines=False, shell=None, istream=) 01:59:04 2025-03-13 01:59:03,941 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-bootstrap_PR-847/.semver/PR-847 01:59:04 0.0.0 [Pipeline] } 01:59:04 $ docker exec --env ******** --env ******** 8c24edc3f2aee587d2917cdf36623cad2067838c8da48eecc8e6e79ca25951bc ssh-agent -k 01:59:04 unset SSH_AUTH_SOCK; 01:59:04 unset SSH_AGENT_PID; 01:59:04 echo Agent pid 76 killed; 01:59:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:59:04 + git semver [Pipeline] } 01:59:04 $ docker stop --time=1 8c24edc3f2aee587d2917cdf36623cad2067838c8da48eecc8e6e79ca25951bc 01:59:06 $ docker rm -f --volumes 8c24edc3f2aee587d2917cdf36623cad2067838c8da48eecc8e6e79ca25951bc [Pipeline] // withDockerContainer [Pipeline] sh 01:59:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:59:06 Stashed 1 file(s) [Pipeline] echo 01:59:06 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 01:59:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:59:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:59:08 ========================================================= 01:59:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:59:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 01:59:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:59:08 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:59:08 da9db072f522: Pulling fs layer 01:59:08 6ef4a4ee8ca5: Pulling fs layer 01:59:08 06f05ace1117: Pulling fs layer 01:59:08 5fe327b54edc: Pulling fs layer 01:59:08 4f4fb700ef54: Pulling fs layer 01:59:08 92a5565b7b96: Pulling fs layer 01:59:08 ff9bb7016b71: Pulling fs layer 01:59:08 b67dba6c2c7d: Pulling fs layer 01:59:08 a813b0c90790: Pulling fs layer 01:59:08 5fe327b54edc: Waiting 01:59:08 4f4fb700ef54: Waiting 01:59:08 a813b0c90790: Waiting 01:59:08 b67dba6c2c7d: Waiting 01:59:08 92a5565b7b96: Waiting 01:59:08 ff9bb7016b71: Waiting 01:59:08 6ef4a4ee8ca5: Verifying Checksum 01:59:08 6ef4a4ee8ca5: Download complete 01:59:08 5fe327b54edc: Verifying Checksum 01:59:08 5fe327b54edc: Download complete 01:59:08 4f4fb700ef54: Verifying Checksum 01:59:08 4f4fb700ef54: Download complete 01:59:08 92a5565b7b96: Download complete 01:59:08 da9db072f522: Download complete 01:59:08 ff9bb7016b71: Verifying Checksum 01:59:08 ff9bb7016b71: Download complete 01:59:08 da9db072f522: Pull complete 01:59:08 a813b0c90790: Verifying Checksum 01:59:08 a813b0c90790: Download complete 01:59:08 6ef4a4ee8ca5: Pull complete 01:59:09 06f05ace1117: Download complete 01:59:09 b67dba6c2c7d: Verifying Checksum 01:59:09 b67dba6c2c7d: Download complete 01:59:13 06f05ace1117: Pull complete 01:59:13 5fe327b54edc: Pull complete 01:59:13 4f4fb700ef54: Pull complete 01:59:13 92a5565b7b96: Pull complete 01:59:13 ff9bb7016b71: Pull complete 01:59:15 b67dba6c2c7d: Pull complete 01:59:15 a813b0c90790: Pull complete 01:59:15 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 01:59:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:59:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [Pipeline] sh 01:59:16 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:16 + docker inspect -f . ci-base-image-x86_64 01:59:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:16 prd-ubuntu20.04-docker-8c-8g-41199 does not seem to be running inside a container 01:59:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-847 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-847:/w/workspace/xfoundry_go-mod-bootstrap_PR-847:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-847@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-847@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:59:19 $ docker top 28939f2478dd7b8bd9f020769372c99877e40f1a6d595380b02ef6e1054b7a11 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:19 + go version 01:59:19 go version go1.23.4 linux/amd64 [Pipeline] } 01:59:19 $ docker stop --time=1 28939f2478dd7b8bd9f020769372c99877e40f1a6d595380b02ef6e1054b7a11 01:59:21 $ docker rm -f --volumes 28939f2478dd7b8bd9f020769372c99877e40f1a6d595380b02ef6e1054b7a11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:21 + docker inspect -f . ci-base-image-x86_64 01:59:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:21 prd-ubuntu20.04-docker-8c-8g-41199 does not seem to be running inside a container 01:59:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_go-mod-bootstrap_PR-847 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-847:/w/workspace/xfoundry_go-mod-bootstrap_PR-847:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-847@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-847@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:59:22 $ docker top fd809e91b1d3c8f3c594b6a1e046bfa43e60b08c66bc57d0e384fe16d539e330 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:22 + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-bootstrap_PR-847 [Pipeline] fileExists [Pipeline] sh 01:59:23 + make test 01:59:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:59:23 go: downloading github.com/mitchellh/mapstructure v1.5.0 01:59:23 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.1 01:59:23 go: downloading github.com/labstack/echo/v4 v4.13.3 01:59:23 go: downloading github.com/google/uuid v1.6.0 01:59:23 go: downloading github.com/stretchr/testify v1.10.0 01:59:23 go: downloading github.com/eclipse/paho.mqtt.golang v1.5.0 01:59:23 go: downloading github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0 01:59:23 go: downloading github.com/edgexfoundry/go-mod-registry/v4 v4.0.1 01:59:23 go: downloading github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0 01:59:23 go: downloading github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0 01:59:23 go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 01:59:23 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 01:59:23 go: downloading github.com/openziti/sdk-golang v0.24.1 01:59:23 go: downloading github.com/mitchellh/copystructure v1.2.0 01:59:23 go: downloading gopkg.in/yaml.v3 v3.0.1 01:59:23 go: downloading github.com/hashicorp/go-multierror v1.1.1 01:59:23 go: downloading github.com/sirupsen/logrus v1.9.3 01:59:23 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 01:59:23 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 01:59:23 go: downloading github.com/labstack/gommon v0.4.2 01:59:23 go: downloading golang.org/x/crypto v0.35.0 01:59:23 go: downloading golang.org/x/net v0.36.0 01:59:23 go: downloading github.com/gorilla/websocket v1.5.3 01:59:23 go: downloading golang.org/x/sync v0.11.0 01:59:23 go: downloading github.com/go-kit/log v0.2.1 01:59:23 go: downloading github.com/go-playground/validator/v10 v10.25.0 01:59:23 go: downloading github.com/fxamacker/cbor/v2 v2.7.0 01:59:23 go: downloading github.com/valyala/fasttemplate v1.2.2 01:59:23 go: downloading golang.org/x/time v0.8.0 01:59:23 go: downloading github.com/michaelquigley/pfxlog v0.6.10 01:59:23 go: downloading github.com/openziti/channel/v3 v3.0.27 01:59:23 go: downloading github.com/openziti/edge-api v0.26.38 01:59:23 go: downloading github.com/openziti/foundation/v2 v2.0.56 01:59:23 go: downloading github.com/openziti/secretstream v0.1.28 01:59:23 go: downloading github.com/openziti/transport/v2 v2.0.160 01:59:23 go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 01:59:23 go: downloading github.com/pkg/errors v0.9.1 01:59:23 go: downloading github.com/mitchellh/reflectwalk v1.0.2 01:59:23 go: downloading github.com/stretchr/objx v0.5.2 01:59:23 go: downloading github.com/hashicorp/errwrap v1.1.0 01:59:23 go: downloading github.com/spiffe/go-spiffe/v2 v2.5.0 01:59:24 go: downloading github.com/go-openapi/runtime v0.28.0 01:59:24 go: downloading github.com/go-openapi/strfmt v0.23.0 01:59:24 go: downloading github.com/go-resty/resty/v2 v2.16.4 01:59:24 go: downloading github.com/cenkalti/backoff/v4 v4.3.0 01:59:24 go: downloading github.com/kataras/go-events v0.0.3 01:59:24 go: downloading github.com/openziti/identity v1.0.94 01:59:24 go: downloading github.com/openziti/metrics v1.2.65 01:59:24 go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 01:59:24 go: downloading github.com/zitadel/oidc/v2 v2.12.2 01:59:24 go: downloading golang.org/x/oauth2 v0.25.0 01:59:24 go: downloading golang.org/x/sys v0.30.0 01:59:24 go: downloading github.com/mattn/go-colorable v0.1.13 01:59:24 go: downloading github.com/mattn/go-isatty v0.0.20 01:59:24 go: downloading github.com/go-logfmt/logfmt v0.5.1 01:59:24 go: downloading github.com/x448/float16 v0.8.4 01:59:24 go: downloading github.com/gabriel-vasile/mimetype v1.4.8 01:59:24 go: downloading github.com/go-playground/universal-translator v0.18.1 01:59:24 go: downloading github.com/leodido/go-urn v1.4.0 01:59:24 go: downloading golang.org/x/text v0.22.0 01:59:24 go: downloading github.com/valyala/bytebufferpool v1.0.0 01:59:24 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d 01:59:24 go: downloading github.com/speps/go-hashids v2.0.0+incompatible 01:59:24 go: downloading google.golang.org/protobuf v1.36.3 01:59:24 go: downloading github.com/spf13/cast v1.7.1 01:59:24 go: downloading github.com/zeebo/errs v1.4.0 01:59:24 go: downloading google.golang.org/grpc v1.70.0 01:59:24 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 01:59:24 go: downloading github.com/go-openapi/errors v0.22.0 01:59:24 go: downloading github.com/oklog/ulid v1.3.1 01:59:24 go: downloading go.mongodb.org/mongo-driver v1.17.0 01:59:24 go: downloading github.com/go-openapi/swag v0.23.0 01:59:24 go: downloading github.com/opentracing/opentracing-go v1.2.0 01:59:24 go: downloading go.opentelemetry.io/otel v1.32.0 01:59:25 go: downloading go.opentelemetry.io/otel/trace v1.32.0 01:59:25 go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa 01:59:25 go: downloading github.com/go-openapi/validate v0.24.0 01:59:25 go: downloading github.com/mitchellh/go-ps v1.0.0 01:59:25 go: downloading github.com/shirou/gopsutil/v3 v3.24.5 01:59:25 go: downloading github.com/fsnotify/fsnotify v1.7.0 01:59:25 go: downloading gopkg.in/go-jose/go-jose.v2 v2.6.3 01:59:25 go: downloading github.com/gorilla/securecookie v1.1.2 01:59:25 go: downloading github.com/gorilla/schema v1.4.1 01:59:25 go: downloading github.com/muhlemmer/gu v0.3.1 01:59:25 go: downloading golang.org/x/term v0.29.0 01:59:25 go: downloading github.com/go-playground/locales v0.14.1 01:59:25 go: downloading github.com/go-jose/go-jose/v4 v4.0.5 01:59:25 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a 01:59:25 go: downloading github.com/go-openapi/analysis v0.23.0 01:59:25 go: downloading github.com/go-openapi/loads v0.22.0 01:59:25 go: downloading github.com/go-openapi/spec v0.21.0 01:59:25 go: downloading github.com/mailru/easyjson v0.7.7 01:59:25 go: downloading github.com/go-logr/logr v1.4.2 01:59:25 go: downloading go.opentelemetry.io/otel/metric v1.32.0 01:59:25 go: downloading github.com/tklauser/go-sysconf v0.3.12 01:59:25 go: downloading github.com/go-openapi/jsonpointer v0.21.0 01:59:25 go: downloading github.com/josharian/intern v1.0.0 01:59:25 go: downloading github.com/go-logr/stdr v1.2.2 01:59:25 go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 01:59:25 go: downloading github.com/tklauser/numcpus v0.6.1 01:59:25 go: downloading github.com/go-openapi/jsonreference v0.21.0 01:59:26 go: updates to go.mod needed; to update it: 01:59:26 go mod tidy 01:59:26 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 01:59:26 $ docker stop --time=1 fd809e91b1d3c8f3c594b6a1e046bfa43e60b08c66bc57d0e384fe16d539e330 01:59:28 $ docker rm -f --volumes fd809e91b1d3c8f3c594b6a1e046bfa43e60b08c66bc57d0e384fe16d539e330 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:30 01:59:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:31 latest: Pulling from edgex-lftools-log-publisher 01:59:31 5eb5b503b376: Pulling fs layer 01:59:31 5c69ac0246d0: Pulling fs layer 01:59:31 ec43610c2a17: Pulling fs layer 01:59:31 3a2ae6a8a46f: Pulling fs layer 01:59:31 33b1e0a273af: Pulling fs layer 01:59:31 5d3b04190fa2: Pulling fs layer 01:59:31 2f39f015ded8: Pulling fs layer 01:59:31 3a2ae6a8a46f: Waiting 01:59:31 33b1e0a273af: Waiting 01:59:31 5c69ac0246d0: Download complete 01:59:31 3a2ae6a8a46f: Verifying Checksum 01:59:31 3a2ae6a8a46f: Download complete 01:59:31 33b1e0a273af: Verifying Checksum 01:59:31 33b1e0a273af: Download complete 01:59:31 ec43610c2a17: Download complete 01:59:31 5d3b04190fa2: Verifying Checksum 01:59:31 5d3b04190fa2: Download complete 01:59:31 5eb5b503b376: Verifying Checksum 01:59:31 5eb5b503b376: Download complete 01:59:31 2f39f015ded8: Download complete 01:59:32 5eb5b503b376: Pull complete 01:59:32 5c69ac0246d0: Pull complete 01:59:33 ec43610c2a17: Pull complete 01:59:33 3a2ae6a8a46f: Pull complete 01:59:33 33b1e0a273af: Pull complete 01:59:33 5d3b04190fa2: Pull complete 01:59:38 2f39f015ded8: Pull complete 01:59:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:59:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:39 prd-ubuntu20.04-docker-8c-8g-41199 does not seem to be running inside a container 01:59:39 $ 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/xfoundry_go-mod-bootstrap_PR-847 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-847:/w/workspace/xfoundry_go-mod-bootstrap_PR-847:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-847@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-847@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 01:59:40 $ docker top abe24cdb4dbd3893bf0aa263589a2c2eb2e68585186d63c9e70b9dd6972946b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:41 ---> job-cost.sh 01:59:41 lf-activate-venv: SKIPPING 01:59:41 INFO: No Stack... 01:59:41 INFO: Retrieving Pricing Info for: v3-standard-8 01:59:41 INFO: Archiving Costs [Pipeline] sh 01:59:42 + cat /w/workspace/xfoundry_go-mod-bootstrap_PR-847/archives/cost.csv 01:59:42 + cut -d, -f6 [Pipeline] lock 01:59:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-go-mod-bootstrap-PR-847-1-stack-cost] 01:59:42 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-847-1-stack-cost] did not exist. Created. 01:59:42 Lock acquired on [Resource: jenkins-edgexfoundry-go-mod-bootstrap-PR-847-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:59:42 + echo total: 0.2199999988079071 [Pipeline] stash 01:59:42 Stashed 1 file(s) [Pipeline] } 01:59:42 Lock released on resource [Resource: jenkins-edgexfoundry-go-mod-bootstrap-PR-847-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:59:42 $ docker stop --time=1 abe24cdb4dbd3893bf0aa263589a2c2eb2e68585186d63c9e70b9dd6972946b6 01:59:43 $ docker rm -f --volumes abe24cdb4dbd3893bf0aa263589a2c2eb2e68585186d63c9e70b9dd6972946b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:59:44 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:59:46 + [ -d /w/workspace/xfoundry_go-mod-bootstrap_PR-847/archives ] 01:59:46 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-847/archives 01:59:46 total 16 01:59:46 drwxr-xr-x 3 root root 4096 Mar 13 01:59 . 01:59:46 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 01:59 .. 01:59:46 drwxr-xr-x 2 root root 4096 Mar 13 01:59 cost 01:59:46 -rw-r--r-- 1 root root 88 Mar 13 01:59 cost.csv 01:59:46 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-bootstrap_PR-847/archives 01:59:46 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-847/archives 01:59:46 total 16 01:59:46 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 01:59 . 01:59:46 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 01:59 .. 01:59:46 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 01:59 cost 01:59:46 -rw-r--r-- 1 jenkins jenkins 88 Mar 13 01:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:59:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:59:47 ---> package-listing.sh 01:59:47 ++ facter osfamily 01:59:47 ++ tr '[:upper:]' '[:lower:]' 01:59:48 + OS_FAMILY=debian 01:59:48 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-847 01:59:48 + START_PACKAGES=/tmp/packages_start.txt 01:59:48 + END_PACKAGES=/tmp/packages_end.txt 01:59:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:59:48 + PACKAGES=/tmp/packages_start.txt 01:59:48 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-847 ']' 01:59:48 + PACKAGES=/tmp/packages_end.txt 01:59:48 + case "${OS_FAMILY}" in 01:59:48 + dpkg -l 01:59:48 + grep '^ii' 01:59:48 + '[' -f /tmp/packages_start.txt ']' 01:59:48 + '[' -f /tmp/packages_end.txt ']' 01:59:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:59:48 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-847 ']' 01:59:48 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-847/archives/ 01:59:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-847/archives/ [Pipeline] echo 01:59:48 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-bootstrap_PR-847/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:59:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:49 prd-ubuntu20.04-docker-8c-8g-41199 does not seem to be running inside a container 01:59:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-bootstrap_PR-847/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-bootstrap_PR-847 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-847:/w/workspace/xfoundry_go-mod-bootstrap_PR-847:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-847@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-847@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:10003/edgex-lftools-log-publisher:latest cat 01:59:49 $ docker top 45990b1da8e51f1a3a88ab6e3a3d9f71fb245d4fd3d3797fa63c932639b371f0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:49 + touch /tmp/pre-build-complete [Pipeline] sh 01:59:50 + mkdir -p /var/log/sysstat [Pipeline] sh 01:59:50 + ls /var/log/sa-host 01:59:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:50 provisioning config files... 01:59:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-847@tmp/config15174929065851243544tmp [Pipeline] { [Pipeline] echo 01:59:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:59:51 ---> create-netrc.sh [Pipeline] } 01:59:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:59:51 ---> python-tools-install.sh [Pipeline] echo 01:59:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:59:51 ---> sudo-logs.sh 01:59:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:59:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:59:52 ---> job-cost.sh 01:59:52 lf-activate-venv: SKIPPING 01:59:52 DEBUG: total: 0.2199999988079071 01:59:52 INFO: Retrieving Stack Cost... 01:59:52 INFO: Retrieving Pricing Info for: v3-standard-8 01:59:52 INFO: Archiving Costs [Pipeline] echo 01:59:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:59:53 ---> logs-deploy.sh 01:59:53 lf-activate-venv: SKIPPING 01:59:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-847/1 01:59:53 INFO: archiving workspace using pattern(s): 01:59:54 Archives upload complete. 01:59:54 INFO: archiving logs to Nexus