Pull request #739 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 dovholuknf for edgexfoundry/go-mod-bootstrap Loading trusted files from base branch main at 5dc0b864f016c3135c854d4ba75023b221602801 rather than 05eec779e624697710171986d71756b7eb41a19b Obtained Jenkinsfile from 5dc0b864f016c3135c854d4ba75023b221602801 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-ssh14945420137130762932.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh12719931132054347686.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 590556114a56c6d90cc8043840e039c2f74196dc 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-739/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-739/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7012969114067916074.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-739/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7327941863145430846.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh1869743498533366227.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-739/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-739/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2634021537913395296.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 590556114a56c6d90cc8043840e039c2f74196dc 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.21 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-6290 in /w/workspace/xfoundry_go-mod-bootstrap_PR-739 [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-739 # 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 > 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/739/head:refs/remotes/origin/PR-739 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5dc0b864f016c3135c854d4ba75023b221602801 into PR head commit 05eec779e624697710171986d71756b7eb41a19b Merge succeeded, producing 05eec779e624697710171986d71756b7eb41a19b Checking out Revision 05eec779e624697710171986d71756b7eb41a19b (PR-739) > git config core.sparsecheckout # timeout=10 > git checkout -f 05eec779e624697710171986d71756b7eb41a19b # 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 5dc0b864f016c3135c854d4ba75023b221602801 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05eec779e624697710171986d71756b7eb41a19b # timeout=10 Commit message: "fix: remove unused import" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:56:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:56:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:56:58 ========================================================= 04:56:58 EdgeX Global Pipelines Version Info 04:56:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:56:59 ------------------- 04:56:59 stable info: 04:56:59 ------------------- 04:56:59 Commited By: Ginny Guan ginny@iotechsys.com 04:56:59 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 04:56:59 Message: update stable to v1.0.260 04:57:00 ------------------- 04:57:00 experimental info: 04:57:00 ------------------- 04:57:00 Commited By: Ginny Guan ginny@iotechsys.com 04:57:00 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 04:57:00 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:57:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 04:57:00 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 04:57:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:57:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:57:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:57:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:57:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:57:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:57:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:57:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 04:57:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:57:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:57:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-739 [Pipeline] echo 04:57:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-739 [Pipeline] echo 04:57:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-739 [Pipeline] echo 04:57:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05eec779e624697710171986d71756b7eb41a19b [Pipeline] echo 04:57:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 05eec77 [Pipeline] echo 04:57:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:57:03 + git rev-list -1 --merges 05eec779e624697710171986d71756b7eb41a19b~1..05eec779e624697710171986d71756b7eb41a19b [Pipeline] echo 04:57:03 -----------> git rev-list -1 --merges 05eec779e624697710171986d71756b7eb41a19b~1..05eec779e624697710171986d71756b7eb41a19b 05eec779e624697710171986d71756b7eb41a19b [false] [Pipeline] sh 04:57:03 + git log --format=format:%s -1 05eec779e624697710171986d71756b7eb41a19b [Pipeline] echo 04:57:03 ========================================================= 04:57:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:57:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:57:04 + git log --format=format:%s -1 05eec779e624697710171986d71756b7eb41a19b [Pipeline] echo 04:57:04 [semverPrep] GIT_COMMIT: 05eec779e624697710171986d71756b7eb41a19b, Commit Message: fix: remove unused import [Pipeline] echo 04:57:04 [semverPrep] This is not a build commit. [Pipeline] sh 04:57:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:57:04 + grep -v github /etc/ssh/ssh_known_hosts 04:57:04 + [ -e /tmp/ssh_known_hosts ] 04:57:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:57:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:57:04 + sudo tee -a /etc/ssh/ssh_known_hosts 04:57:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:57:05 04:57:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:57:06 0.1.4: Pulling from edgex-devops/py-git-semver 04:57:06 b85a868b505f: Pulling fs layer 04:57:06 e2be974225ed: Pulling fs layer 04:57:06 339a4e72a1f5: Pulling fs layer 04:57:06 988bab9f4d93: Pulling fs layer 04:57:06 1469e6f7b9e6: Pulling fs layer 04:57:06 eaf3925da568: Pulling fs layer 04:57:06 bab4dde63d76: Pulling fs layer 04:57:06 bde34c3a00c8: Pulling fs layer 04:57:06 b352a97aabf1: Pulling fs layer 04:57:06 4872d77fe225: Pulling fs layer 04:57:06 5851b861e8e6: Pulling fs layer 04:57:06 bab4dde63d76: Waiting 04:57:06 bde34c3a00c8: Waiting 04:57:06 b352a97aabf1: Waiting 04:57:06 4872d77fe225: Waiting 04:57:06 5851b861e8e6: Waiting 04:57:06 988bab9f4d93: Waiting 04:57:06 1469e6f7b9e6: Waiting 04:57:06 e2be974225ed: Verifying Checksum 04:57:06 e2be974225ed: Download complete 04:57:06 988bab9f4d93: Verifying Checksum 04:57:06 988bab9f4d93: Download complete 04:57:06 1469e6f7b9e6: Verifying Checksum 04:57:06 1469e6f7b9e6: Download complete 04:57:06 339a4e72a1f5: Verifying Checksum 04:57:06 339a4e72a1f5: Download complete 04:57:06 eaf3925da568: Verifying Checksum 04:57:06 eaf3925da568: Download complete 04:57:06 bde34c3a00c8: Verifying Checksum 04:57:06 bde34c3a00c8: Download complete 04:57:06 b352a97aabf1: Download complete 04:57:06 4872d77fe225: Verifying Checksum 04:57:06 4872d77fe225: Download complete 04:57:06 5851b861e8e6: Download complete 04:57:06 b85a868b505f: Verifying Checksum 04:57:06 b85a868b505f: Download complete 04:57:06 bab4dde63d76: Verifying Checksum 04:57:06 bab4dde63d76: Download complete 04:57:07 b85a868b505f: Pull complete 04:57:07 e2be974225ed: Pull complete 04:57:08 339a4e72a1f5: Pull complete 04:57:08 988bab9f4d93: Pull complete 04:57:08 1469e6f7b9e6: Pull complete 04:57:08 eaf3925da568: Pull complete 04:57:10 bab4dde63d76: Pull complete 04:57:10 bde34c3a00c8: Pull complete 04:57:10 b352a97aabf1: Pull complete 04:57:10 4872d77fe225: Pull complete 04:57:10 5851b861e8e6: Pull complete 04:57:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:57:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:57:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:11 prd-ubuntu20.04-docker-8c-8g-6290 does not seem to be running inside a container 04:57:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-739 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-739:/w/workspace/xfoundry_go-mod-bootstrap_PR-739:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-739@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-739@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:10003/edgex-devops/py-git-semver:0.1.4 cat 04:57:14 $ docker top 3e79018e2de7ee80985bac39a45043d780834d0e4d9c54329ee116515968978e -eo pid,comm 04:57:14 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). 04:57:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [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 3e79018e2de7ee80985bac39a45043d780834d0e4d9c54329ee116515968978e ssh-agent 04:57:15 SSH_AUTH_SOCK=/tmp/ssh-ku5ujhXG6Rbw/agent.32 04:57:15 SSH_AGENT_PID=38 04:57:15 Running ssh-add (command line suppressed) 04:57:15 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-739@tmp/private_key_4315297577704171551.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-739@tmp/private_key_4315297577704171551.key) 04:57:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:57:15 + git tag --points-at HEAD [Pipeline] } 04:57:15 $ docker exec --env ******** --env ******** 3e79018e2de7ee80985bac39a45043d780834d0e4d9c54329ee116515968978e ssh-agent -k 04:57:15 unset SSH_AUTH_SOCK; 04:57:15 unset SSH_AGENT_PID; 04:57:15 echo Agent pid 38 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 3e79018e2de7ee80985bac39a45043d780834d0e4d9c54329ee116515968978e ssh-agent 04:57:16 SSH_AUTH_SOCK=/tmp/ssh-L7AJ0OhbbD2Y/agent.71 04:57:16 SSH_AGENT_PID=77 04:57:16 Running ssh-add (command line suppressed) 04:57:16 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-739@tmp/private_key_11674852943681414825.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-739@tmp/private_key_11674852943681414825.key) 04:57:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:57:16 + git semver init 04:57:16 2024-07-24 04:57:16,798 [run_init] DEBUG init version:0.0.0 force:False 04:57:16 2024-07-24 04:57:16,799 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-bootstrap_PR-739/.semver 04:57:16 2024-07-24 04:57:16,800 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/xfoundry_go-mod-bootstrap_PR-739/.semver 04:57:16 2024-07-24 04:57:16,800 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-bootstrap.git', '/w/workspace/xfoundry_go-mod-bootstrap_PR-739/.semver'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-739, universal_newlines=False, shell=None, istream=None) 04:57:18 2024-07-24 04:57:17,825 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-739/.git/info/exclude 04:57:18 2024-07-24 04:57:17,826 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-bootstrap_PR-739/.semver/PR-739 with force:False 04:57:18 2024-07-24 04:57:17,826 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-739/.semver/PR-739 04:57:18 2024-07-24 04:57:17,831 [execute] INFO git cat-file --batch-check 04:57:18 2024-07-24 04:57:17,831 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-739/.semver, universal_newlines=False, shell=None, istream=) 04:57:18 2024-07-24 04:57:17,838 [execute] INFO git cat-file --batch 04:57:18 2024-07-24 04:57:17,838 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-739/.semver, universal_newlines=False, shell=None, istream=) 04:57:18 2024-07-24 04:57:17,844 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-bootstrap_PR-739/.semver/PR-739 04:57:18 0.0.0 [Pipeline] } 04:57:18 $ docker exec --env ******** --env ******** 3e79018e2de7ee80985bac39a45043d780834d0e4d9c54329ee116515968978e ssh-agent -k 04:57:18 unset SSH_AUTH_SOCK; 04:57:18 unset SSH_AGENT_PID; 04:57:18 echo Agent pid 77 killed; 04:57:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:57:18 + git semver [Pipeline] } 04:57:19 $ docker stop --time=1 3e79018e2de7ee80985bac39a45043d780834d0e4d9c54329ee116515968978e 04:57:20 $ docker rm -f --volumes 3e79018e2de7ee80985bac39a45043d780834d0e4d9c54329ee116515968978e [Pipeline] // withDockerContainer [Pipeline] sh 04:57:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:57:21 Stashed 1 file(s) [Pipeline] echo 04:57:21 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:57:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:57:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:57:21 ========================================================= 04:57:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:57:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:57:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:57:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:57:22 619be1103602: Pulling fs layer 04:57:22 7862e08f4a3e: Pulling fs layer 04:57:22 5df492c9dc93: Pulling fs layer 04:57:22 7629e6793208: Pulling fs layer 04:57:22 4f4fb700ef54: Pulling fs layer 04:57:22 fb5054dd5b73: Pulling fs layer 04:57:22 eeca6798cff9: Pulling fs layer 04:57:22 aa269ceb94a6: Pulling fs layer 04:57:22 ada007ff1a6a: Pulling fs layer 04:57:22 fb5054dd5b73: Waiting 04:57:22 eeca6798cff9: Waiting 04:57:22 aa269ceb94a6: Waiting 04:57:22 ada007ff1a6a: Waiting 04:57:22 7629e6793208: Waiting 04:57:22 4f4fb700ef54: Waiting 04:57:22 7862e08f4a3e: Verifying Checksum 04:57:22 7862e08f4a3e: Download complete 04:57:22 7629e6793208: Verifying Checksum 04:57:22 7629e6793208: Download complete 04:57:22 4f4fb700ef54: Download complete 04:57:22 fb5054dd5b73: Verifying Checksum 04:57:22 fb5054dd5b73: Download complete 04:57:22 619be1103602: Verifying Checksum 04:57:22 619be1103602: Download complete 04:57:22 eeca6798cff9: Verifying Checksum 04:57:22 eeca6798cff9: Download complete 04:57:22 619be1103602: Pull complete 04:57:22 ada007ff1a6a: Verifying Checksum 04:57:22 ada007ff1a6a: Download complete 04:57:22 7862e08f4a3e: Pull complete 04:57:22 5df492c9dc93: Verifying Checksum 04:57:22 5df492c9dc93: Download complete 04:57:23 aa269ceb94a6: Verifying Checksum 04:57:23 aa269ceb94a6: Download complete 04:57:26 5df492c9dc93: Pull complete 04:57:26 7629e6793208: Pull complete 04:57:26 4f4fb700ef54: Pull complete 04:57:26 fb5054dd5b73: Pull complete 04:57:26 eeca6798cff9: Pull complete 04:57:29 aa269ceb94a6: Pull complete 04:57:29 ada007ff1a6a: Pull complete 04:57:29 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:57:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:57:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [Pipeline] sh 04:57:30 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:30 + docker inspect -f . ci-base-image-x86_64 04:57:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:30 prd-ubuntu20.04-docker-8c-8g-6290 does not seem to be running inside a container 04:57:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-739 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-739:/w/workspace/xfoundry_go-mod-bootstrap_PR-739:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-739@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-739@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 04:57:35 $ docker top 3e5b7211731b9bd28d0d2bdda1278503c93640964e20d57ca39f95f1ada8743e -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:35 + go version 04:57:35 go version go1.21.9 linux/amd64 [Pipeline] } 04:57:35 $ docker stop --time=1 3e5b7211731b9bd28d0d2bdda1278503c93640964e20d57ca39f95f1ada8743e 04:57:36 Still waiting to schedule task 04:57:36 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:57:36 $ docker rm -f --volumes 3e5b7211731b9bd28d0d2bdda1278503c93640964e20d57ca39f95f1ada8743e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:37 + docker inspect -f . ci-base-image-x86_64 04:57:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:37 prd-ubuntu20.04-docker-8c-8g-6290 does not seem to be running inside a container 04:57:37 $ 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-739 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-739:/w/workspace/xfoundry_go-mod-bootstrap_PR-739:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-739@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-739@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 04:57:38 $ docker top 8606070adcd8ae00778a0158d7d527e1b6fed115fa6400512b41ddd26a5804bc -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:38 + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-bootstrap_PR-739 [Pipeline] fileExists [Pipeline] sh 04:57:39 + make test 04:57:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:57:39 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 04:57:39 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.30 04:57:39 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.29 04:57:39 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.13 04:57:39 go: downloading github.com/google/uuid v1.6.0 04:57:39 go: downloading github.com/labstack/echo/v4 v4.11.4 04:57:39 go: downloading github.com/openziti/sdk-golang v0.23.39 04:57:39 go: downloading github.com/stretchr/testify v1.9.0 04:57:39 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 04:57:39 go: downloading github.com/mitchellh/mapstructure v1.5.0 04:57:39 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.11 04:57:39 go: downloading github.com/mitchellh/copystructure v1.2.0 04:57:39 go: downloading gopkg.in/yaml.v3 v3.0.1 04:57:39 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.9 04:57:39 go: downloading github.com/hashicorp/go-multierror v1.1.1 04:57:39 go: downloading github.com/sirupsen/logrus v1.9.3 04:57:39 go: downloading github.com/gorilla/websocket v1.5.1 04:57:39 go: downloading golang.org/x/net v0.27.0 04:57:39 go: downloading golang.org/x/sync v0.7.0 04:57:39 go: downloading github.com/fxamacker/cbor/v2 v2.7.0 04:57:39 go: downloading github.com/go-kit/log v0.2.1 04:57:39 go: downloading github.com/go-playground/validator/v10 v10.22.0 04:57:39 go: downloading github.com/go-openapi/runtime v0.28.0 04:57:39 go: downloading github.com/go-openapi/strfmt v0.23.0 04:57:39 go: downloading github.com/go-resty/resty/v2 v2.13.1 04:57:39 go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 04:57:39 go: downloading github.com/michaelquigley/pfxlog v0.6.10 04:57:39 go: downloading github.com/openziti/edge-api v0.26.21 04:57:39 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 04:57:40 go: downloading github.com/openziti/foundation/v2 v2.0.47 04:57:40 go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 04:57:40 go: downloading github.com/zitadel/oidc/v2 v2.12.0 04:57:40 go: downloading github.com/openziti/identity v1.0.81 04:57:40 go: downloading github.com/pkg/errors v0.9.1 04:57:40 go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 04:57:40 go: downloading golang.org/x/oauth2 v0.21.0 04:57:40 go: downloading github.com/cenkalti/backoff/v4 v4.3.0 04:57:40 go: downloading github.com/kataras/go-events v0.0.3 04:57:40 go: downloading github.com/openziti/channel/v2 v2.0.136 04:57:40 go: downloading github.com/openziti/metrics v1.2.56 04:57:40 go: downloading github.com/openziti/secretstream v0.1.21 04:57:40 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 04:57:40 go: downloading github.com/openziti/transport/v2 v2.0.138 04:57:40 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 04:57:41 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 04:57:41 go: downloading github.com/stretchr/objx v0.5.2 04:57:41 go: downloading github.com/mitchellh/reflectwalk v1.0.2 04:57:41 go: downloading github.com/hashicorp/errwrap v1.1.0 04:57:41 go: downloading golang.org/x/sys v0.22.0 04:57:41 go: downloading github.com/spiffe/go-spiffe/v2 v2.3.0 04:57:41 go: downloading github.com/labstack/gommon v0.4.2 04:57:41 go: downloading golang.org/x/crypto v0.25.0 04:57:41 go: downloading github.com/valyala/fasttemplate v1.2.2 04:57:41 go: downloading golang.org/x/time v0.5.0 04:57:41 go: downloading github.com/go-redis/redis/v7 v7.3.0 04:57:41 go: downloading github.com/hashicorp/consul/api v1.29.2 04:57:41 go: downloading github.com/go-logfmt/logfmt v0.5.1 04:57:41 go: downloading github.com/x448/float16 v0.8.4 04:57:41 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 04:57:41 go: downloading github.com/go-openapi/errors v0.22.0 04:57:41 go: downloading github.com/oklog/ulid v1.3.1 04:57:41 go: downloading go.mongodb.org/mongo-driver v1.16.0 04:57:41 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 04:57:41 go: downloading github.com/go-playground/universal-translator v0.18.1 04:57:41 go: downloading github.com/leodido/go-urn v1.4.0 04:57:41 go: downloading golang.org/x/text v0.16.0 04:57:41 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d 04:57:41 go: downloading github.com/go-openapi/swag v0.23.0 04:57:41 go: downloading github.com/opentracing/opentracing-go v1.2.0 04:57:41 go: downloading go.opentelemetry.io/otel v1.28.0 04:57:41 go: downloading go.opentelemetry.io/otel/trace v1.28.0 04:57:41 go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa 04:57:41 go: downloading github.com/go-openapi/validate v0.24.0 04:57:41 go: downloading github.com/fsnotify/fsnotify v1.7.0 04:57:41 go: downloading gopkg.in/square/go-jose.v2 v2.6.0 04:57:41 go: downloading github.com/gorilla/securecookie v1.1.1 04:57:42 go: downloading github.com/gorilla/schema v1.4.1 04:57:42 go: downloading github.com/muhlemmer/gu v0.3.1 04:57:42 go: downloading github.com/mitchellh/go-ps v1.0.0 04:57:42 go: downloading github.com/shirou/gopsutil/v3 v3.24.5 04:57:42 go: downloading github.com/speps/go-hashids v2.0.0+incompatible 04:57:42 go: downloading github.com/golang/protobuf v1.5.4 04:57:42 go: downloading google.golang.org/protobuf v1.34.2 04:57:42 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:57:42 go: downloading github.com/spf13/cast v1.6.0 04:57:42 go: downloading github.com/mattn/go-colorable v0.1.13 04:57:42 go: downloading github.com/mattn/go-isatty v0.0.20 04:57:42 go: downloading google.golang.org/grpc v1.64.1 04:57:42 go: downloading github.com/zeebo/errs v1.3.0 04:57:42 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 04:57:42 go: downloading github.com/hashicorp/go-hclog v1.5.0 04:57:42 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 04:57:42 go: downloading github.com/hashicorp/serf v0.10.1 04:57:42 go: downloading github.com/valyala/bytebufferpool v1.0.0 04:57:42 go: downloading github.com/go-playground/locales v0.14.1 04:57:42 go: downloading golang.org/x/term v0.22.0 04:57:42 go: downloading github.com/go-openapi/analysis v0.23.0 04:57:42 go: downloading github.com/go-openapi/loads v0.22.0 04:57:42 go: downloading github.com/go-openapi/spec v0.21.0 04:57:42 go: downloading github.com/mailru/easyjson v0.7.7 04:57:42 go: downloading github.com/go-logr/logr v1.4.2 04:57:42 go: downloading go.opentelemetry.io/otel/metric v1.28.0 04:57:42 go: downloading github.com/tklauser/go-sysconf v0.3.12 04:57:42 go: downloading github.com/go-openapi/jsonpointer v0.21.0 04:57:42 go: downloading github.com/go-jose/go-jose/v4 v4.0.2 04:57:42 go: downloading github.com/fatih/color v1.16.0 04:57:42 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 04:57:42 go: downloading github.com/josharian/intern v1.0.0 04:57:42 go: downloading github.com/go-logr/stdr v1.2.2 04:57:42 go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 04:57:42 go: downloading github.com/tklauser/numcpus v0.6.1 04:57:42 go: downloading github.com/armon/go-metrics v0.4.1 04:57:42 go: downloading github.com/go-openapi/jsonreference v0.21.0 04:57:42 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 04:57:42 go: downloading github.com/hashicorp/golang-lru v0.5.4 04:57:57 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] 04:57:57 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] 04:58:15 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] 04:58:15 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] 04:58:15 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] 04:58:15 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/zerotrust [no test files] 04:58:16 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.079s coverage: 33.8% of statements 04:58:16 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/controller 0.014s coverage: 93.5% of statements 04:58:16 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.011s coverage: 91.9% of statements 04:58:16 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/file 0.336s coverage: 88.2% of statements 04:58:16 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.006s coverage: 84.4% of statements 04:58:16 --- FAIL: TestClientsBootstrapHandler (0.00s) 04:58:16 --- FAIL: TestClientsBootstrapHandler/All_ClientsBootstrap (0.00s) 04:58:16 panic: runtime error: invalid memory address or nil pointer dereference [recovered] 04:58:16 panic: runtime error: invalid memory address or nil pointer dereference 04:58:16 [signal SIGSEGV: segmentation violation code=0x1 addr=0x68 pc=0x105bbcb] 04:58:16 04:58:16 goroutine 7 [running]: 04:58:16 testing.tRunner.func1.2({0x1214300, 0x2013dd0}) 04:58:16 /usr/local/go/src/testing/testing.go:1545 +0x238 04:58:16 testing.tRunner.func1() 04:58:16 /usr/local/go/src/testing/testing.go:1548 +0x397 04:58:16 panic({0x1214300?, 0x2013dd0?}) 04:58:16 /usr/local/go/src/runtime/panic.go:914 +0x21f 04:58:16 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/zerotrust.HttpTransportFromClient({0x0, 0x0}, 0xc0003b9ac0, {0x1620fa0, 0x2067620}) 04:58:16 /w/workspace/xfoundry_go-mod-bootstrap_PR-739/bootstrap/zerotrust/zerotrust.go:66 +0x2b 04:58:16 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers.(*ClientsBootstrap).BootstrapHandler(0xc0000f3de8, {0x16186e0?, 0x2067620?}, 0xc000092c90?, {{0xc1a040599a88f524, 0x7e26fc, 0x2037d40}, 0x3b9aca00, 0x3b9aca00}, 0xc0003b73e0) 04:58:16 /w/workspace/xfoundry_go-mod-bootstrap_PR-739/bootstrap/handlers/clients.go:75 +0x83a 04:58:16 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers.TestClientsBootstrapHandler.func1(0x0?) 04:58:16 /w/workspace/xfoundry_go-mod-bootstrap_PR-739/bootstrap/handlers/clients_test.go:234 +0xa45 04:58:16 testing.tRunner(0xc000377380, 0xc0003c05a0) 04:58:16 /usr/local/go/src/testing/testing.go:1595 +0xff 04:58:16 created by testing.(*T).Run in goroutine 6 04:58:16 /usr/local/go/src/testing/testing.go:1648 +0x3ad 04:58:16 FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 0.016s 04:58:16 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.010s coverage: 100.0% of statements 04:58:16 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.316s coverage: 87.7% of statements 04:58:16 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration 0.010s coverage: 26.3% of statements 04:58:18 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret 3.040s coverage: 75.8% of statements 04:58:18 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils 0.007s coverage: 50.9% of statements 04:58:18 ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.006s coverage: 31.2% of statements 04:58:18 ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.005s coverage: 91.3% of statements 04:58:18 FAIL 04:58:18 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 04:58:18 $ docker stop --time=1 8606070adcd8ae00778a0158d7d527e1b6fed115fa6400512b41ddd26a5804bc 04:58:22 $ docker rm -f --volumes 8606070adcd8ae00778a0158d7d527e1b6fed115fa6400512b41ddd26a5804bc [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 04:58:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:58:24 04:58:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:58:25 latest: Pulling from edgex-lftools-log-publisher 04:58:25 5eb5b503b376: Pulling fs layer 04:58:25 5c69ac0246d0: Pulling fs layer 04:58:25 ec43610c2a17: Pulling fs layer 04:58:25 3a2ae6a8a46f: Pulling fs layer 04:58:25 33b1e0a273af: Pulling fs layer 04:58:25 5d3b04190fa2: Pulling fs layer 04:58:25 2f39f015ded8: Pulling fs layer 04:58:25 3a2ae6a8a46f: Waiting 04:58:25 33b1e0a273af: Waiting 04:58:25 5d3b04190fa2: Waiting 04:58:25 2f39f015ded8: Waiting 04:58:25 5c69ac0246d0: Download complete 04:58:25 3a2ae6a8a46f: Verifying Checksum 04:58:25 3a2ae6a8a46f: Download complete 04:58:25 33b1e0a273af: Verifying Checksum 04:58:25 33b1e0a273af: Download complete 04:58:25 ec43610c2a17: Verifying Checksum 04:58:25 ec43610c2a17: Download complete 04:58:25 5d3b04190fa2: Verifying Checksum 04:58:25 5d3b04190fa2: Download complete 04:58:25 5eb5b503b376: Verifying Checksum 04:58:25 5eb5b503b376: Download complete 04:58:25 2f39f015ded8: Download complete 04:58:26 5eb5b503b376: Pull complete 04:58:26 5c69ac0246d0: Pull complete 04:58:27 ec43610c2a17: Pull complete 04:58:27 3a2ae6a8a46f: Pull complete 04:58:27 33b1e0a273af: Pull complete 04:58:27 5d3b04190fa2: Pull complete 04:58:31 2f39f015ded8: Pull complete 04:58:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:58:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:58:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:31 prd-ubuntu20.04-docker-8c-8g-6290 does not seem to be running inside a container 04:58:31 $ 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-739 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-739:/w/workspace/xfoundry_go-mod-bootstrap_PR-739:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-739@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-739@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 04:58:36 $ docker top 6a736a1911895639b8f00808497647ba5acfb27055b4fc98385cf845c9cf3c56 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:36 ---> job-cost.sh 04:58:36 lf-activate-venv: SKIPPING 04:58:36 INFO: No Stack... 04:58:37 INFO: Retrieving Pricing Info for: v3-standard-8 04:58:37 INFO: Archiving Costs [Pipeline] sh 04:58:37 + cat /w/workspace/xfoundry_go-mod-bootstrap_PR-739/archives/cost.csv 04:58:37 + cut -d, -f6 [Pipeline] lock 04:58:37 Trying to acquire lock on [Resource: jenkins-edgexfoundry-go-mod-bootstrap-PR-739-1-stack-cost] 04:58:37 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-739-1-stack-cost] did not exist. Created. 04:58:37 Lock acquired on [Resource: jenkins-edgexfoundry-go-mod-bootstrap-PR-739-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:58:38 + echo total: 0.2199999988079071 [Pipeline] stash 04:58:38 Stashed 1 file(s) [Pipeline] } 04:58:38 Lock released on resource [Resource: jenkins-edgexfoundry-go-mod-bootstrap-PR-739-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:58:38 $ docker stop --time=1 6a736a1911895639b8f00808497647ba5acfb27055b4fc98385cf845c9cf3c56 04:58:39 $ docker rm -f --volumes 6a736a1911895639b8f00808497647ba5acfb27055b4fc98385cf845c9cf3c56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:58:40 Failed in branch amd64 05:00:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6291 in /w/workspace/xfoundry_go-mod-bootstrap_PR-739 [Pipeline] { [Pipeline] ws 05:00:43 Running in /w/workspace/go-mod-bootstrap/1 [Pipeline] { [Pipeline] checkout 05:00:46 The recommended git tool is: git 05:00:54 using credential edgex-jenkins-ssh 05:00:54 Cloning the remote Git repository 05:00:54 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 05:00:54 > git init /w/workspace/go-mod-bootstrap/1 # timeout=10 05:00:54 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 05:00:54 > git --version # timeout=10 05:00:54 > git --version # 'git version 2.25.1' 05:00:54 using GIT_SSH to set credentials SSH Credentials for GitHub 05:00:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:00:57 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 05:00:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:00:58 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 05:00:58 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 05:00:58 using GIT_SSH to set credentials SSH Credentials for GitHub 05:00:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/739/head:refs/remotes/origin/PR-739 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:00:59 Merging remotes/origin/main commit 5dc0b864f016c3135c854d4ba75023b221602801 into PR head commit 05eec779e624697710171986d71756b7eb41a19b 05:00:59 Merge succeeded, producing 05eec779e624697710171986d71756b7eb41a19b 05:00:59 Checking out Revision 05eec779e624697710171986d71756b7eb41a19b (PR-739) 05:00:59 > git config core.sparsecheckout # timeout=10 05:00:59 > git checkout -f 05eec779e624697710171986d71756b7eb41a19b # timeout=10 05:00:59 > git remote # timeout=10 05:00:59 > git config --get remote.origin.url # timeout=10 05:00:59 using GIT_SSH to set credentials SSH Credentials for GitHub 05:00:59 > git merge 5dc0b864f016c3135c854d4ba75023b221602801 # timeout=10 05:00:59 > git rev-parse HEAD^{commit} # timeout=10 05:00:59 > git config core.sparsecheckout # timeout=10 05:00:59 > git checkout -f 05eec779e624697710171986d71756b7eb41a19b # timeout=10 05:01:03 Commit message: "fix: remove unused import" 05:01:03 > git --version # timeout=10 05:01:03 > git --version # 'git version 2.25.1' 05:01:03 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:01:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:01:05 % Total % Received % Xferd Average Speed Time Time Time Current 05:01:05 Dload Upload Total Spent Left Speed 05:01:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 05:01:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:01:06 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 05:01:06 /etc/docker/daemon.json 05:01:06 { 05:01:06 "registry-mirrors": [ 05:01:06 "https://nexus3.edgexfoundry.org:10001" 05:01:06 ], 05:01:06 "bip": "10.250.0.254/24", 05:01:06 "hosts": [ 05:01:06 "tcp://0.0.0.0:5555", 05:01:06 "unix:///var/run/docker.sock" 05:01:06 ], 05:01:06 "mtu": 1458, 05:01:06 "selinux-enabled": true, 05:01:06 "seccomp-profile": "/etc/docker/seccomp.json" 05:01:06 } [Pipeline] sh 05:01:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:01:07 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 05:01:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:01:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:01:25 ========================================================= 05:01:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:01:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 05:01:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:01:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:01:26 c6b39de5b339: Pulling fs layer 05:01:26 a69c41024577: Pulling fs layer 05:01:26 d6de4b400683: Pulling fs layer 05:01:26 35cb2a7552d0: Pulling fs layer 05:01:26 4f4fb700ef54: Pulling fs layer 05:01:26 464afbd9ba4c: Pulling fs layer 05:01:26 00f215d4a9da: Pulling fs layer 05:01:26 d496ad576159: Pulling fs layer 05:01:26 35cb2a7552d0: Waiting 05:01:26 4f4fb700ef54: Waiting 05:01:26 464afbd9ba4c: Waiting 05:01:26 00f215d4a9da: Waiting 05:01:26 d496ad576159: Waiting 05:01:26 a69c41024577: Verifying Checksum 05:01:26 a69c41024577: Download complete 05:01:26 35cb2a7552d0: Verifying Checksum 05:01:26 35cb2a7552d0: Download complete 05:01:26 4f4fb700ef54: Verifying Checksum 05:01:26 4f4fb700ef54: Download complete 05:01:26 c6b39de5b339: Download complete 05:01:26 464afbd9ba4c: Verifying Checksum 05:01:26 464afbd9ba4c: Download complete 05:01:27 d496ad576159: Verifying Checksum 05:01:27 d496ad576159: Download complete 05:01:27 c6b39de5b339: Pull complete 05:01:28 a69c41024577: Pull complete 05:01:28 d6de4b400683: Verifying Checksum 05:01:28 d6de4b400683: Download complete 05:01:29 00f215d4a9da: Verifying Checksum 05:01:29 00f215d4a9da: Download complete 05:01:42 d6de4b400683: Pull complete 05:01:42 35cb2a7552d0: Pull complete 05:01:42 4f4fb700ef54: Pull complete 05:01:42 464afbd9ba4c: Pull complete 05:01:51 00f215d4a9da: Pull complete 05:01:52 d496ad576159: Pull complete 05:01:52 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:01:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:01:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] sh 05:01:52 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:52 + docker inspect -f . ci-base-image-arm64 05:01:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:53 prd-ubuntu20.04-docker-arm64-4c-16g-6291 does not seem to be running inside a container 05:01:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/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:01:56 $ docker top 5bd110da61b44ab6a0b0b8d3a1d9ae968037ce302b696bfe59b519d4a5142f50 -eo pid,comm [Pipeline] { [Pipeline] sh 05:01:57 + go version 05:01:57 go version go1.21.9 linux/arm64 [Pipeline] } 05:01:57 $ docker stop --time=1 5bd110da61b44ab6a0b0b8d3a1d9ae968037ce302b696bfe59b519d4a5142f50 05:01:58 $ docker rm -f --volumes 5bd110da61b44ab6a0b0b8d3a1d9ae968037ce302b696bfe59b519d4a5142f50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:59 + docker inspect -f . ci-base-image-arm64 05:01:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:59 prd-ubuntu20.04-docker-arm64-4c-16g-6291 does not seem to be running inside a container 05:01:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:02:02 $ docker top 95194fd4879afcaab03db75c4730973aa5c28f3123a7d25d033c60b28fd89c37 -eo pid,comm [Pipeline] { [Pipeline] sh 05:02:02 + git config --global --add safe.directory /w/workspace/go-mod-bootstrap/1 [Pipeline] fileExists [Pipeline] sh 05:02:03 + make test 05:02:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 05:02:03 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.30 05:02:03 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 05:02:04 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.11 05:02:04 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.13 05:02:04 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.29 05:02:04 go: downloading github.com/labstack/echo/v4 v4.11.4 05:02:04 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.9 05:02:04 go: downloading github.com/mitchellh/copystructure v1.2.0 05:02:04 go: downloading gopkg.in/yaml.v3 v3.0.1 05:02:04 go: downloading github.com/stretchr/testify v1.9.0 05:02:04 go: downloading github.com/mitchellh/mapstructure v1.5.0 05:02:04 go: downloading github.com/google/uuid v1.6.0 05:02:04 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 05:02:04 go: downloading github.com/hashicorp/go-multierror v1.1.1 05:02:04 go: downloading github.com/openziti/sdk-golang v0.23.39 05:02:04 go: downloading github.com/sirupsen/logrus v1.9.3 05:02:04 go: downloading github.com/gorilla/websocket v1.5.1 05:02:04 go: downloading golang.org/x/sync v0.7.0 05:02:04 go: downloading golang.org/x/net v0.27.0 05:02:04 go: downloading github.com/go-kit/log v0.2.1 05:02:04 go: downloading github.com/go-playground/validator/v10 v10.22.0 05:02:05 go: downloading github.com/mitchellh/reflectwalk v1.0.2 05:02:05 go: downloading github.com/labstack/gommon v0.4.2 05:02:05 go: downloading golang.org/x/crypto v0.25.0 05:02:06 go: downloading github.com/spiffe/go-spiffe/v2 v2.3.0 05:02:06 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 05:02:06 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 05:02:06 go: downloading github.com/stretchr/objx v0.5.2 05:02:06 go: downloading github.com/fxamacker/cbor/v2 v2.7.0 05:02:06 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 05:02:06 go: downloading github.com/valyala/fasttemplate v1.2.2 05:02:06 go: downloading golang.org/x/time v0.5.0 05:02:06 go: downloading github.com/hashicorp/errwrap v1.1.0 05:02:06 go: downloading golang.org/x/sys v0.22.0 05:02:06 go: downloading github.com/go-openapi/runtime v0.28.0 05:02:06 go: downloading github.com/go-openapi/strfmt v0.23.0 05:02:06 go: downloading github.com/go-resty/resty/v2 v2.13.1 05:02:06 go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 05:02:06 go: downloading github.com/michaelquigley/pfxlog v0.6.10 05:02:06 go: downloading github.com/openziti/edge-api v0.26.21 05:02:10 go: downloading github.com/openziti/foundation/v2 v2.0.47 05:02:10 go: downloading github.com/openziti/channel/v2 v2.0.136 05:02:10 go: downloading github.com/openziti/identity v1.0.81 05:02:10 go: downloading github.com/cenkalti/backoff/v4 v4.3.0 05:02:10 go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 05:02:10 go: downloading github.com/pkg/errors v0.9.1 05:02:10 go: downloading github.com/openziti/secretstream v0.1.21 05:02:10 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 05:02:10 go: downloading github.com/zitadel/oidc/v2 v2.12.0 05:02:10 go: downloading github.com/openziti/transport/v2 v2.0.138 05:02:10 go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 05:02:10 go: downloading github.com/kataras/go-events v0.0.3 05:02:10 go: downloading github.com/openziti/metrics v1.2.56 05:02:10 go: downloading golang.org/x/oauth2 v0.21.0 05:02:10 go: downloading github.com/hashicorp/consul/api v1.29.2 05:02:10 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:02:10 go: downloading github.com/spf13/cast v1.6.0 05:02:10 go: downloading github.com/go-logfmt/logfmt v0.5.1 05:02:10 go: downloading github.com/go-redis/redis/v7 v7.3.0 05:02:10 go: downloading github.com/mattn/go-colorable v0.1.13 05:02:10 go: downloading github.com/mattn/go-isatty v0.0.20 05:02:10 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 05:02:10 go: downloading github.com/go-playground/universal-translator v0.18.1 05:02:10 go: downloading github.com/leodido/go-urn v1.4.0 05:02:10 go: downloading golang.org/x/text v0.16.0 05:02:10 go: downloading github.com/zeebo/errs v1.3.0 05:02:10 go: downloading google.golang.org/grpc v1.64.1 05:02:12 go: downloading github.com/valyala/bytebufferpool v1.0.0 05:02:12 go: downloading github.com/x448/float16 v0.8.4 05:02:12 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 05:02:12 go: downloading github.com/go-openapi/errors v0.22.0 05:02:12 go: downloading github.com/oklog/ulid v1.3.1 05:02:12 go: downloading go.mongodb.org/mongo-driver v1.16.0 05:02:15 go: downloading github.com/go-openapi/swag v0.23.0 05:02:15 go: downloading github.com/opentracing/opentracing-go v1.2.0 05:02:15 go: downloading go.opentelemetry.io/otel v1.28.0 05:02:15 go: downloading go.opentelemetry.io/otel/trace v1.28.0 05:02:15 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d 05:02:15 go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa 05:02:15 go: downloading github.com/go-openapi/validate v0.24.0 05:02:16 go: downloading github.com/speps/go-hashids v2.0.0+incompatible 05:02:16 go: downloading github.com/golang/protobuf v1.5.4 05:02:16 go: downloading google.golang.org/protobuf v1.34.2 05:02:16 go: downloading github.com/fsnotify/fsnotify v1.7.0 05:02:16 go: downloading github.com/gorilla/securecookie v1.1.1 05:02:16 go: downloading gopkg.in/square/go-jose.v2 v2.6.0 05:02:16 go: downloading github.com/mitchellh/go-ps v1.0.0 05:02:16 go: downloading github.com/shirou/gopsutil/v3 v3.24.5 05:02:17 go: downloading github.com/gorilla/schema v1.4.1 05:02:17 go: downloading github.com/muhlemmer/gu v0.3.1 05:02:17 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 05:02:17 go: downloading github.com/hashicorp/go-hclog v1.5.0 05:02:17 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 05:02:17 go: downloading github.com/hashicorp/serf v0.10.1 05:02:17 go: downloading github.com/go-playground/locales v0.14.1 05:02:17 go: downloading github.com/go-jose/go-jose/v4 v4.0.2 05:02:17 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 05:02:17 go: downloading github.com/mailru/easyjson v0.7.7 05:02:17 go: downloading github.com/go-openapi/analysis v0.23.0 05:02:17 go: downloading github.com/go-openapi/loads v0.22.0 05:02:17 go: downloading github.com/go-openapi/spec v0.21.0 05:02:18 go: downloading github.com/go-logr/logr v1.4.2 05:02:18 go: downloading go.opentelemetry.io/otel/metric v1.28.0 05:02:18 go: downloading golang.org/x/term v0.22.0 05:02:18 go: downloading github.com/go-openapi/jsonpointer v0.21.0 05:02:18 go: downloading github.com/tklauser/go-sysconf v0.3.12 05:02:18 go: downloading github.com/fatih/color v1.16.0 05:02:18 go: downloading github.com/josharian/intern v1.0.0 05:02:18 go: downloading github.com/armon/go-metrics v0.4.1 05:02:18 go: downloading github.com/go-logr/stdr v1.2.2 05:02:18 go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 05:02:18 go: downloading github.com/go-openapi/jsonreference v0.21.0 05:02:18 go: downloading github.com/tklauser/numcpus v0.6.1 05:02:18 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 05:02:18 go: downloading github.com/hashicorp/golang-lru v0.5.4 05:04:10 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] 05:04:11 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] 05:04:33 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.138s coverage: 33.8% of statements 05:05:41 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/controller 0.111s coverage: 93.5% of statements 05:05:41 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.063s coverage: 91.9% of statements 05:05:41 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/file 0.440s coverage: 88.2% of statements 05:05:41 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.044s coverage: 84.4% of statements 05:05:47 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] 05:05:47 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] 05:05:47 --- FAIL: TestClientsBootstrapHandler (0.00s) 05:05:47 --- FAIL: TestClientsBootstrapHandler/All_ClientsBootstrap (0.00s) 05:05:47 panic: runtime error: invalid memory address or nil pointer dereference [recovered] 05:05:47 panic: runtime error: invalid memory address or nil pointer dereference 05:05:47 [signal SIGSEGV: segmentation violation code=0x1 addr=0x68 pc=0xbc88fc] 05:05:47 05:05:47 goroutine 7 [running]: 05:05:47 testing.tRunner.func1.2({0xd7f240, 0x1b5def0}) 05:05:47 /usr/local/go/src/testing/testing.go:1545 +0x1c4 05:05:47 testing.tRunner.func1() 05:05:47 /usr/local/go/src/testing/testing.go:1548 +0x360 05:05:47 panic({0xd7f240?, 0x1b5def0?}) 05:05:47 /usr/local/go/src/runtime/panic.go:914 +0x218 05:05:47 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/zerotrust.HttpTransportFromClient({0x0, 0x0}, 0x40003139c0, {0x118cb80, 0x1bb78a0}) 05:05:47 /w/workspace/go-mod-bootstrap/1/bootstrap/zerotrust/zerotrust.go:66 +0x2c 05:05:47 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers.(*ClientsBootstrap).BootstrapHandler(0x40000e3de0, {0x1184298?, 0x1bb78a0?}, 0x4000086c88?, {{0xc1a040cad30ee50e, 0x32d577e, 0x1b81e80}, 0x3b9aca00, 0x3b9aca00}, 0x400030f400) 05:05:47 /w/workspace/go-mod-bootstrap/1/bootstrap/handlers/clients.go:75 +0x67c 05:05:47 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers.TestClientsBootstrapHandler.func1(0x0?) 05:05:47 /w/workspace/go-mod-bootstrap/1/bootstrap/handlers/clients_test.go:234 +0x8e8 05:05:47 testing.tRunner(0x40002f3380, 0x400031a5a0) 05:05:47 /usr/local/go/src/testing/testing.go:1595 +0xe8 05:05:47 created by testing.(*T).Run in goroutine 6 05:05:47 /usr/local/go/src/testing/testing.go:1648 +0x33c 05:05:47 FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 0.088s 05:05:47 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.043s coverage: 100.0% of statements 05:05:53 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.365s coverage: 87.7% of statements 05:05:53 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration 0.035s coverage: 26.3% of statements 05:05:54 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] 05:05:55 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/zerotrust [no test files] 05:05:57 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret 3.125s coverage: 75.8% of statements 05:05:57 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils 0.031s coverage: 50.9% of statements 05:05:57 ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.022s coverage: 31.2% of statements 05:05:57 ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.018s coverage: 91.3% of statements 05:05:57 FAIL 05:05:58 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 05:05:58 $ docker stop --time=1 95194fd4879afcaab03db75c4730973aa5c28f3123a7d25d033c60b28fd89c37 05:06:00 $ docker rm -f --volumes 95194fd4879afcaab03db75c4730973aa5c28f3123a7d25d033c60b28fd89c37 [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:06:05 05:06:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:06:06 arm64: Pulling from edgex-lftools-log-publisher 05:06:06 8998bd30e6a1: Pulling fs layer 05:06:06 04944245beec: Pulling fs layer 05:06:06 699f458cf7ca: Pulling fs layer 05:06:06 765212b225bb: Pulling fs layer 05:06:06 f23df028b6ca: Pulling fs layer 05:06:06 d65c8cfc05b1: Pulling fs layer 05:06:06 2437ff75d9bd: Pulling fs layer 05:06:06 f23df028b6ca: Waiting 05:06:06 d65c8cfc05b1: Waiting 05:06:06 765212b225bb: Waiting 05:06:06 2437ff75d9bd: Waiting 05:06:06 04944245beec: Verifying Checksum 05:06:06 04944245beec: Download complete 05:06:06 765212b225bb: Download complete 05:06:06 f23df028b6ca: Verifying Checksum 05:06:06 f23df028b6ca: Download complete 05:06:06 d65c8cfc05b1: Verifying Checksum 05:06:06 d65c8cfc05b1: Download complete 05:06:06 699f458cf7ca: Verifying Checksum 05:06:06 699f458cf7ca: Download complete 05:06:07 8998bd30e6a1: Verifying Checksum 05:06:07 8998bd30e6a1: Download complete 05:06:10 2437ff75d9bd: Verifying Checksum 05:06:10 2437ff75d9bd: Download complete 05:06:12 8998bd30e6a1: Pull complete 05:06:12 04944245beec: Pull complete 05:06:14 699f458cf7ca: Pull complete 05:06:14 765212b225bb: Pull complete 05:06:15 f23df028b6ca: Pull complete 05:06:15 d65c8cfc05b1: Pull complete 05:06:33 2437ff75d9bd: Pull complete 05:06:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:06:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:06:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:33 prd-ubuntu20.04-docker-arm64-4c-16g-6291 does not seem to be running inside a container 05:06:33 $ 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-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/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:06:36 $ docker top de201d6976bcde2770f4161408b68a9431705c85afc8a6ca0833eeb7cb0c8433 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:37 ---> job-cost.sh 05:06:37 lf-activate-venv: SKIPPING 05:06:37 INFO: No Stack... 05:06:37 INFO: Retrieving Pricing Info for: v3-standard-4 05:06:38 INFO: Archiving Costs [Pipeline] sh 05:06:39 + cat /w/workspace/go-mod-bootstrap/1/archives/cost.csv 05:06:39 + cut -d, -f6 [Pipeline] lock 05:06:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-go-mod-bootstrap-PR-739-1-stack-cost] 05:06:39 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-739-1-stack-cost] did not exist. Created. 05:06:39 Lock acquired on [Resource: jenkins-edgexfoundry-go-mod-bootstrap-PR-739-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:40 /w/workspace/go-mod-bootstrap/1@tmp/durable-6e1fac69/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:06:40 + echo total: 0.10999999940395355 [Pipeline] stash 05:06:40 Warning: overwriting stash ‘stack-cost’ 05:06:41 Stashed 1 file(s) [Pipeline] } 05:06:41 Lock released on resource [Resource: jenkins-edgexfoundry-go-mod-bootstrap-PR-739-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:41 $ docker stop --time=1 de201d6976bcde2770f4161408b68a9431705c85afc8a6ca0833eeb7cb0c8433 05:06:43 $ docker rm -f --volumes de201d6976bcde2770f4161408b68a9431705c85afc8a6ca0833eeb7cb0c8433 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:06:44 Failed in branch arm64 [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 05:06:46 + [ -d /w/workspace/xfoundry_go-mod-bootstrap_PR-739/archives ] 05:06:46 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-739/archives 05:06:46 total 16 05:06:46 drwxr-xr-x 3 root root 4096 Jul 24 04:58 . 05:06:46 drwxrwxr-x 9 jenkins jenkins 4096 Jul 24 04:58 .. 05:06:46 drwxr-xr-x 2 root root 4096 Jul 24 04:58 cost 05:06:46 -rw-r--r-- 1 root root 88 Jul 24 04:58 cost.csv 05:06:46 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-bootstrap_PR-739/archives 05:06:46 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-739/archives 05:06:46 total 16 05:06:46 drwxr-xr-x 3 jenkins jenkins 4096 Jul 24 04:58 . 05:06:46 drwxrwxr-x 9 jenkins jenkins 4096 Jul 24 04:58 .. 05:06:46 drwxr-xr-x 2 jenkins jenkins 4096 Jul 24 04:58 cost 05:06:46 -rw-r--r-- 1 jenkins jenkins 88 Jul 24 04:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:06:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:06:47 ---> package-listing.sh 05:06:47 ++ facter osfamily 05:06:47 ++ tr '[:upper:]' '[:lower:]' 05:06:48 + OS_FAMILY=debian 05:06:48 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-739 05:06:48 + START_PACKAGES=/tmp/packages_start.txt 05:06:48 + END_PACKAGES=/tmp/packages_end.txt 05:06:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:06:48 + PACKAGES=/tmp/packages_start.txt 05:06:48 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-739 ']' 05:06:48 + PACKAGES=/tmp/packages_end.txt 05:06:48 + case "${OS_FAMILY}" in 05:06:48 + dpkg -l 05:06:48 + grep '^ii' 05:06:48 + '[' -f /tmp/packages_start.txt ']' 05:06:48 + '[' -f /tmp/packages_end.txt ']' 05:06:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:06:48 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-739 ']' 05:06:48 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-739/archives/ 05:06:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-739/archives/ [Pipeline] echo 05:06: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-739/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:06:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:49 prd-ubuntu20.04-docker-8c-8g-6290 does not seem to be running inside a container 05:06: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-739/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-739 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-739:/w/workspace/xfoundry_go-mod-bootstrap_PR-739:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-739@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-739@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:06:50 $ docker top d60d51bb2f6256dca74ae24472c5e9f676134f4f3ca76bff8781050c217e667a -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:50 + touch /tmp/pre-build-complete [Pipeline] sh 05:06:51 + mkdir -p /var/log/sysstat [Pipeline] sh 05:06:51 + ls /var/log/sa-host 05:06:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:06:51 provisioning config files... 05:06:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-739@tmp/config10061342546435512092tmp [Pipeline] { [Pipeline] echo 05:06:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:06:52 ---> create-netrc.sh [Pipeline] } 05:06:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:06:52 ---> python-tools-install.sh [Pipeline] echo 05:06:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:06:53 ---> sudo-logs.sh 05:06:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:06:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:06:53 ---> job-cost.sh 05:06:53 lf-activate-venv: SKIPPING 05:06:53 DEBUG: total: 0.2199999988079071 05:06:53 INFO: Retrieving Stack Cost... 05:06:53 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:53 INFO: Archiving Costs [Pipeline] echo 05:06:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:06:54 ---> logs-deploy.sh 05:06:54 lf-activate-venv: SKIPPING 05:06:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-739/1 05:06:54 INFO: archiving workspace using pattern(s): 05:07:00 Archives upload complete. 05:07:00 INFO: archiving logs to Nexus