Pull request #286 updated 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 jinlinGuan for edgexfoundry/go-mod-secrets Obtained Jenkinsfile from b27c706aeb0f47a6460337e2afa65f99e528af6f+3d5f65ec3fa04f2081f9d01cd790ba6870172a81 (5abea8d0bc0658d0587273b67c76e451d4d2eba2) 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-ssh7564226893889487199.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh2408500635939941659.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-secrets/branches/PR-286/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-secrets/branches/PR-286/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12456516602178451441.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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 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-ssh9519420376811652163.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-secrets/branches/PR-286/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-secrets/branches/PR-286/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15337479040440459193.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-secrets, 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-secrets-settings PROJECT: go-mod-secrets 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-secrets 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 ‘prd-ubuntu20.04-docker-8c-8g-23594’ is offline Running on prd-ubuntu20.04-docker-8c-8g-23597 in /w/workspace/gexfoundry_go-mod-secrets_PR-286 [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-secrets.git > git init /w/workspace/gexfoundry_go-mod-secrets_PR-286 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.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-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.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-secrets.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git using GIT_SSH to set credentials SSH Credentials for GitHub Merging remotes/origin/main commit 3d5f65ec3fa04f2081f9d01cd790ba6870172a81 into PR head commit b27c706aeb0f47a6460337e2afa65f99e528af6f Merge succeeded, producing b27c706aeb0f47a6460337e2afa65f99e528af6f Checking out Revision b27c706aeb0f47a6460337e2afa65f99e528af6f (PR-286) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/286/head:refs/remotes/origin/PR-286 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b27c706aeb0f47a6460337e2afa65f99e528af6f # 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 3d5f65ec3fa04f2081f9d01cd790ba6870172a81 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b27c706aeb0f47a6460337e2afa65f99e528af6f # timeout=10 Commit message: "refactor!: update module to v4 and replace vault with openbao" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:14:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:14:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:14:06 ========================================================= 08:14:06 EdgeX Global Pipelines Version Info 08:14:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4e60e115f1662c2c31286eff7a0d0a4b7fc4053b # timeout=10 08:14:07 ------------------- 08:14:07 stable info: 08:14:07 ------------------- 08:14:07 Commited By: Ginny Guan ginny@iotechsys.com 08:14:07 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 08:14:07 Message: update stable to v1.0.265 08:14:08 ------------------- 08:14:08 experimental info: 08:14:08 ------------------- 08:14:08 Commited By: Cherry Wang cherry@iotechsys.com 08:14:08 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 08:14:08 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-286 [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-286 [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-286 [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b27c706aeb0f47a6460337e2afa65f99e528af6f [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b27c706 [Pipeline] echo 08:14:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:14:09 + git rev-list -1 --merges b27c706aeb0f47a6460337e2afa65f99e528af6f~1..b27c706aeb0f47a6460337e2afa65f99e528af6f [Pipeline] echo 08:14:09 -----------> git rev-list -1 --merges b27c706aeb0f47a6460337e2afa65f99e528af6f~1..b27c706aeb0f47a6460337e2afa65f99e528af6f b27c706aeb0f47a6460337e2afa65f99e528af6f [false] [Pipeline] sh 08:14:09 + git log --format=format:%s -1 b27c706aeb0f47a6460337e2afa65f99e528af6f [Pipeline] echo 08:14:09 ========================================================= 08:14:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:14:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:14:09 + git log --format=format:%s -1 b27c706aeb0f47a6460337e2afa65f99e528af6f [Pipeline] echo 08:14:09 [semverPrep] GIT_COMMIT: b27c706aeb0f47a6460337e2afa65f99e528af6f, Commit Message: refactor!: update module to v4 and replace vault with openbao [Pipeline] echo 08:14:10 [semverPrep] This is not a build commit. [Pipeline] sh 08:14:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:14:10 + grep -v github /etc/ssh/ssh_known_hosts 08:14:10 + [ -e /tmp/ssh_known_hosts ] 08:14:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:14:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:14:10 + sudo tee -a /etc/ssh/ssh_known_hosts 08:14:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:14:10 08:14:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:14:11 0.1.4: Pulling from edgex-devops/py-git-semver 08:14:11 b85a868b505f: Pulling fs layer 08:14:11 e2be974225ed: Pulling fs layer 08:14:11 339a4e72a1f5: Pulling fs layer 08:14:11 988bab9f4d93: Pulling fs layer 08:14:11 1469e6f7b9e6: Pulling fs layer 08:14:11 eaf3925da568: Pulling fs layer 08:14:11 bab4dde63d76: Pulling fs layer 08:14:11 bde34c3a00c8: Pulling fs layer 08:14:11 b352a97aabf1: Pulling fs layer 08:14:11 4872d77fe225: Pulling fs layer 08:14:11 5851b861e8e6: Pulling fs layer 08:14:11 b352a97aabf1: Waiting 08:14:11 bab4dde63d76: Waiting 08:14:11 bde34c3a00c8: Waiting 08:14:11 4872d77fe225: Waiting 08:14:11 5851b861e8e6: Waiting 08:14:11 988bab9f4d93: Waiting 08:14:11 1469e6f7b9e6: Waiting 08:14:11 eaf3925da568: Waiting 08:14:11 e2be974225ed: Verifying Checksum 08:14:11 e2be974225ed: Download complete 08:14:11 988bab9f4d93: Verifying Checksum 08:14:11 988bab9f4d93: Download complete 08:14:11 1469e6f7b9e6: Verifying Checksum 08:14:11 1469e6f7b9e6: Download complete 08:14:11 eaf3925da568: Download complete 08:14:11 339a4e72a1f5: Verifying Checksum 08:14:11 339a4e72a1f5: Download complete 08:14:11 bde34c3a00c8: Verifying Checksum 08:14:11 bde34c3a00c8: Download complete 08:14:11 b352a97aabf1: Verifying Checksum 08:14:11 4872d77fe225: Verifying Checksum 08:14:11 4872d77fe225: Download complete 08:14:11 5851b861e8e6: Verifying Checksum 08:14:11 5851b861e8e6: Download complete 08:14:11 b85a868b505f: Verifying Checksum 08:14:11 b85a868b505f: Download complete 08:14:11 bab4dde63d76: Verifying Checksum 08:14:11 bab4dde63d76: Download complete 08:14:12 b85a868b505f: Pull complete 08:14:12 e2be974225ed: Pull complete 08:14:13 339a4e72a1f5: Pull complete 08:14:13 988bab9f4d93: Pull complete 08:14:13 1469e6f7b9e6: Pull complete 08:14:13 eaf3925da568: Pull complete 08:14:15 bab4dde63d76: Pull complete 08:14:15 bde34c3a00c8: Pull complete 08:14:15 b352a97aabf1: Pull complete 08:14:15 4872d77fe225: Pull complete 08:14:15 5851b861e8e6: Pull complete 08:14:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:14:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:14:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:15 prd-ubuntu20.04-docker-8c-8g-23597 does not seem to be running inside a container 08:14:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_PR-286 -v /w/workspace/gexfoundry_go-mod-secrets_PR-286:/w/workspace/gexfoundry_go-mod-secrets_PR-286:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-286@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-286@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-devops/py-git-semver:0.1.4 cat 08:14:18 $ docker top 5b5bada9c454512e1c13341410915c0ab156c53d5d3a66f2663af9b6f8faae77 -eo pid,comm 08:14:18 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). 08:14:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:14:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:14:18 [ssh-agent] Looking for ssh-agent implementation... 08:14:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:14:18 $ docker exec 5b5bada9c454512e1c13341410915c0ab156c53d5d3a66f2663af9b6f8faae77 ssh-agent 08:14:18 SSH_AUTH_SOCK=/tmp/ssh-4J7H43behzh0/agent.32 08:14:18 SSH_AGENT_PID=38 08:14:18 Running ssh-add (command line suppressed) 08:14:18 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-286@tmp/private_key_3374880135177315892.key (/w/workspace/gexfoundry_go-mod-secrets_PR-286@tmp/private_key_3374880135177315892.key) 08:14:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:14:19 + git tag --points-at HEAD [Pipeline] } 08:14:19 $ docker exec --env ******** --env ******** 5b5bada9c454512e1c13341410915c0ab156c53d5d3a66f2663af9b6f8faae77 ssh-agent -k 08:14:19 unset SSH_AUTH_SOCK; 08:14:19 unset SSH_AGENT_PID; 08:14:19 echo Agent pid 38 killed; 08:14:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:14:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:14:19 [ssh-agent] Looking for ssh-agent implementation... 08:14:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:14:19 $ docker exec 5b5bada9c454512e1c13341410915c0ab156c53d5d3a66f2663af9b6f8faae77 ssh-agent 08:14:19 SSH_AUTH_SOCK=/tmp/ssh-rami3wEXLPoU/agent.71 08:14:19 SSH_AGENT_PID=77 08:14:19 Running ssh-add (command line suppressed) 08:14:19 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-286@tmp/private_key_8448154246492252071.key (/w/workspace/gexfoundry_go-mod-secrets_PR-286@tmp/private_key_8448154246492252071.key) 08:14:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:14:19 + git semver init 08:14:20 2024-10-23 08:14:20,146 [run_init] DEBUG init version:0.0.0 force:False 08:14:20 2024-10-23 08:14:20,147 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_go-mod-secrets_PR-286/.semver 08:14:20 2024-10-23 08:14:20,147 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-secrets.git /w/workspace/gexfoundry_go-mod-secrets_PR-286/.semver 08:14:20 2024-10-23 08:14:20,147 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-secrets.git', '/w/workspace/gexfoundry_go-mod-secrets_PR-286/.semver'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-286, universal_newlines=False, shell=None, istream=None) 08:14:21 2024-10-23 08:14:20,999 [append_file] DEBUG append to file:/w/workspace/gexfoundry_go-mod-secrets_PR-286/.git/info/exclude 08:14:21 2024-10-23 08:14:21,000 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_go-mod-secrets_PR-286/.semver/PR-286 with force:False 08:14:21 2024-10-23 08:14:21,000 [write_file] DEBUG write to file:/w/workspace/gexfoundry_go-mod-secrets_PR-286/.semver/PR-286 08:14:21 2024-10-23 08:14:21,003 [execute] INFO git cat-file --batch-check 08:14:21 2024-10-23 08:14:21,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-286/.semver, universal_newlines=False, shell=None, istream=) 08:14:21 2024-10-23 08:14:21,010 [execute] INFO git cat-file --batch 08:14:21 2024-10-23 08:14:21,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-286/.semver, universal_newlines=False, shell=None, istream=) 08:14:21 2024-10-23 08:14:21,016 [read_version] DEBUG read version from /w/workspace/gexfoundry_go-mod-secrets_PR-286/.semver/PR-286 08:14:21 0.0.0 [Pipeline] } 08:14:21 $ docker exec --env ******** --env ******** 5b5bada9c454512e1c13341410915c0ab156c53d5d3a66f2663af9b6f8faae77 ssh-agent -k 08:14:21 unset SSH_AUTH_SOCK; 08:14:21 unset SSH_AGENT_PID; 08:14:21 echo Agent pid 77 killed; 08:14:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:14:21 + git semver [Pipeline] } 08:14:21 $ docker stop --time=1 5b5bada9c454512e1c13341410915c0ab156c53d5d3a66f2663af9b6f8faae77 08:14:23 $ docker rm -f --volumes 5b5bada9c454512e1c13341410915c0ab156c53d5d3a66f2663af9b6f8faae77 [Pipeline] // withDockerContainer [Pipeline] sh 08:14:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:14:23 Stashed 1 file(s) [Pipeline] echo 08:14:23 [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 08:14:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:14:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:14:24 ========================================================= 08:14:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 08:14:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 08:14:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:14:24 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 08:14:24 43c4264eed91: Pulling fs layer 08:14:24 4cc291be95ef: Pulling fs layer 08:14:24 2ac1f1163629: Pulling fs layer 08:14:24 5c3c966382ef: Pulling fs layer 08:14:24 4f4fb700ef54: Pulling fs layer 08:14:24 5d5c8e513c77: Pulling fs layer 08:14:24 9f66e0745190: Pulling fs layer 08:14:24 f49a43e4bbc0: Pulling fs layer 08:14:24 561ebcabdf7f: Pulling fs layer 08:14:24 f49a43e4bbc0: Waiting 08:14:24 5d5c8e513c77: Waiting 08:14:24 9f66e0745190: Waiting 08:14:24 561ebcabdf7f: Waiting 08:14:24 5c3c966382ef: Waiting 08:14:24 4f4fb700ef54: Waiting 08:14:24 4cc291be95ef: Download complete 08:14:24 5c3c966382ef: Verifying Checksum 08:14:24 5c3c966382ef: Download complete 08:14:24 4f4fb700ef54: Verifying Checksum 08:14:24 4f4fb700ef54: Download complete 08:14:24 5d5c8e513c77: Download complete 08:14:24 43c4264eed91: Download complete 08:14:24 9f66e0745190: Download complete 08:14:24 43c4264eed91: Pull complete 08:14:24 561ebcabdf7f: Download complete 08:14:24 4cc291be95ef: Pull complete 08:14:24 2ac1f1163629: Verifying Checksum 08:14:24 2ac1f1163629: Download complete 08:14:25 f49a43e4bbc0: Verifying Checksum 08:14:25 f49a43e4bbc0: Download complete 08:14:28 2ac1f1163629: Pull complete 08:14:28 5c3c966382ef: Pull complete 08:14:28 4f4fb700ef54: Pull complete 08:14:28 5d5c8e513c77: Pull complete 08:14:28 9f66e0745190: Pull complete 08:14:30 f49a43e4bbc0: Pull complete 08:14:31 561ebcabdf7f: Pull complete 08:14:31 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 08:14:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:14:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [Pipeline] sh 08:14:31 + 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 08:14:32 + docker inspect -f . ci-base-image-x86_64 08:14:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:32 prd-ubuntu20.04-docker-8c-8g-23597 does not seem to be running inside a container 08:14:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-286 -v /w/workspace/gexfoundry_go-mod-secrets_PR-286:/w/workspace/gexfoundry_go-mod-secrets_PR-286:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-286@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-286@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:14:37 $ docker top a8ac604f23ab7402fac8ee81e0b19eecf552f7f29b79856a2958867c56b27485 -eo pid,comm [Pipeline] { [Pipeline] sh 08:14:37 + go version 08:14:37 go version go1.23.2 linux/amd64 [Pipeline] } 08:14:37 $ docker stop --time=1 a8ac604f23ab7402fac8ee81e0b19eecf552f7f29b79856a2958867c56b27485 08:14:38 Still waiting to schedule task 08:14:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-23596’ is offline 08:14:39 $ docker rm -f --volumes a8ac604f23ab7402fac8ee81e0b19eecf552f7f29b79856a2958867c56b27485 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:39 + docker inspect -f . ci-base-image-x86_64 08:14:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:39 prd-ubuntu20.04-docker-8c-8g-23597 does not seem to be running inside a container 08:14:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_go-mod-secrets_PR-286 -v /w/workspace/gexfoundry_go-mod-secrets_PR-286:/w/workspace/gexfoundry_go-mod-secrets_PR-286:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-286@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-286@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:14:40 $ docker top 5de9176fa17136ef36e8c3986e5a1fad6365b6feb32d490e55e06cf4adcf1bb7 -eo pid,comm [Pipeline] { [Pipeline] sh 08:14:40 + git config --global --add safe.directory /w/workspace/gexfoundry_go-mod-secrets_PR-286 [Pipeline] fileExists [Pipeline] sh 08:14:40 + make test 08:14:40 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 08:14:40 go: downloading github.com/stretchr/testify v1.9.0 08:14:40 go: downloading github.com/spiffe/go-spiffe/v2 v2.4.0 08:14:40 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.1 08:14:41 go: downloading github.com/davecgh/go-spew v1.1.1 08:14:41 go: downloading github.com/pmezard/go-difflib v1.0.0 08:14:41 go: downloading github.com/stretchr/objx v0.5.2 08:14:41 go: downloading gopkg.in/yaml.v3 v3.0.1 08:14:41 go: downloading github.com/zeebo/errs v1.3.0 08:14:41 go: downloading google.golang.org/grpc v1.67.1 08:14:41 go: downloading github.com/go-playground/validator/v10 v10.22.1 08:14:41 go: downloading github.com/go-kit/log v0.2.1 08:14:41 go: downloading github.com/google/uuid v1.6.0 08:14:41 go: downloading github.com/go-jose/go-jose/v4 v4.0.4 08:14:41 go: downloading google.golang.org/protobuf v1.34.2 08:14:41 go: downloading github.com/go-logfmt/logfmt v0.5.1 08:14:41 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 08:14:41 go: downloading github.com/go-playground/universal-translator v0.18.1 08:14:41 go: downloading github.com/leodido/go-urn v1.4.0 08:14:41 go: downloading golang.org/x/crypto v0.26.0 08:14:41 go: downloading golang.org/x/text v0.17.0 08:14:41 go: downloading github.com/go-playground/locales v0.14.1 08:14:41 go: downloading golang.org/x/net v0.28.0 08:14:41 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 08:14:41 go: downloading golang.org/x/sys v0.24.0 08:14:59 ? github.com/edgexfoundry/go-mod-secrets/v4/pkg/keys [no test files] 08:14:59 github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/authtokenloader/mocks coverage: 0.0% of statements 08:14:59 github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/fileioperformer/mocks coverage: 0.0% of statements 08:15:01 github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/runtimetokenprovider/mocks coverage: 0.0% of statements 08:15:01 github.com/edgexfoundry/go-mod-secrets/v4/secrets/mocks coverage: 0.0% of statements 08:15:08 ok github.com/edgexfoundry/go-mod-secrets/v4/internal/pkg/openbao 8.803s coverage: 74.5% of statements 08:15:08 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg 1.023s coverage: 52.2% of statements 08:15:08 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/listener 10.028s coverage: 96.7% of statements 08:15:08 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/authtokenloader 1.015s coverage: 89.5% of statements 08:15:08 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/fileioperformer 1.017s coverage: 100.0% of statements 08:15:08 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/runtimetokenprovider 1.023s coverage: 55.8% of statements 08:15:08 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/types 1.015s coverage: 73.7% of statements 08:15:08 ok github.com/edgexfoundry/go-mod-secrets/v4/secrets 1.023s coverage: 100.0% of statements 08:15:26 pkg/token/authtokenloader/methods_test.go:32:7: G101: Potential hardcoded credentials (gosec) 08:15:26 const secretStoreInitJSON = `{"root_token":"some-token-value"}` 08:15:26 ^ 08:15:26 internal/pkg/openbao/constants.go:46:2: G101: Potential hardcoded credentials (gosec) 08:15:26 lookupSelfTokenAPI = "/v1/auth/token/lookup-self" 08:15:26 ^ 08:15:26 internal/pkg/openbao/constants.go:47:2: G101: Potential hardcoded credentials (gosec) 08:15:26 renewSelfTokenAPI = "/v1/auth/token/renew-self" 08:15:26 ^ 08:15:26 make: *** [Makefile:20: lint] Error 1 [Pipeline] } 08:15:26 $ docker stop --time=1 5de9176fa17136ef36e8c3986e5a1fad6365b6feb32d490e55e06cf4adcf1bb7 08:15:30 $ docker rm -f --volumes 5de9176fa17136ef36e8c3986e5a1fad6365b6feb32d490e55e06cf4adcf1bb7 [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 08:15:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:15:31 08:15:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:15:31 latest: Pulling from edgex-lftools-log-publisher 08:15:31 5eb5b503b376: Pulling fs layer 08:15:31 5c69ac0246d0: Pulling fs layer 08:15:31 ec43610c2a17: Pulling fs layer 08:15:31 3a2ae6a8a46f: Pulling fs layer 08:15:31 33b1e0a273af: Pulling fs layer 08:15:31 5d3b04190fa2: Pulling fs layer 08:15:31 2f39f015ded8: Pulling fs layer 08:15:31 5d3b04190fa2: Waiting 08:15:31 3a2ae6a8a46f: Waiting 08:15:31 33b1e0a273af: Waiting 08:15:31 2f39f015ded8: Waiting 08:15:31 5c69ac0246d0: Download complete 08:15:31 3a2ae6a8a46f: Verifying Checksum 08:15:31 3a2ae6a8a46f: Download complete 08:15:31 33b1e0a273af: Verifying Checksum 08:15:31 33b1e0a273af: Download complete 08:15:31 5d3b04190fa2: Verifying Checksum 08:15:31 5d3b04190fa2: Download complete 08:15:31 ec43610c2a17: Verifying Checksum 08:15:31 ec43610c2a17: Download complete 08:15:31 5eb5b503b376: Verifying Checksum 08:15:31 5eb5b503b376: Download complete 08:15:32 2f39f015ded8: Download complete 08:15:33 5eb5b503b376: Pull complete 08:15:33 5c69ac0246d0: Pull complete 08:15:33 ec43610c2a17: Pull complete 08:15:33 3a2ae6a8a46f: Pull complete 08:15:33 33b1e0a273af: Pull complete 08:15:33 5d3b04190fa2: Pull complete 08:15:38 2f39f015ded8: Pull complete 08:15:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:15:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:15:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:38 prd-ubuntu20.04-docker-8c-8g-23597 does not seem to be running inside a container 08:15:38 $ 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/gexfoundry_go-mod-secrets_PR-286 -v /w/workspace/gexfoundry_go-mod-secrets_PR-286:/w/workspace/gexfoundry_go-mod-secrets_PR-286:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-286@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-286@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:15:43 $ docker top 32cd9332b129af0d338ae27522e819587848fb7c23eba3eaa1577460e27a5c8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:15:44 ---> job-cost.sh 08:15:44 lf-activate-venv: SKIPPING 08:15:44 INFO: No Stack... 08:15:44 INFO: Retrieving Pricing Info for: v3-standard-8 08:15:44 INFO: Archiving Costs [Pipeline] sh 08:15:45 + cat /w/workspace/gexfoundry_go-mod-secrets_PR-286/archives/cost.csv 08:15:45 + cut -d, -f6 [Pipeline] lock 08:15:45 Trying to acquire lock on [Resource: jenkins-edgexfoundry-go-mod-secrets-PR-286-3-stack-cost] 08:15:45 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-286-3-stack-cost] did not exist. Created. 08:15:45 Lock acquired on [Resource: jenkins-edgexfoundry-go-mod-secrets-PR-286-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:15:45 + echo total: 0.2199999988079071 [Pipeline] stash 08:15:45 Stashed 1 file(s) [Pipeline] } 08:15:45 Lock released on resource [Resource: jenkins-edgexfoundry-go-mod-secrets-PR-286-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:15:45 $ docker stop --time=1 32cd9332b129af0d338ae27522e819587848fb7c23eba3eaa1577460e27a5c8b 08:15:46 $ docker rm -f --volumes 32cd9332b129af0d338ae27522e819587848fb7c23eba3eaa1577460e27a5c8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:15:46 Failed in branch amd64 08:16:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23598 in /w/workspace/gexfoundry_go-mod-secrets_PR-286 [Pipeline] { [Pipeline] ws 08:16:06 Running in /w/workspace/go-mod-secrets/3 [Pipeline] { [Pipeline] checkout 08:16:09 The recommended git tool is: git 08:16:13 using credential edgex-jenkins-ssh 08:16:13 Cloning the remote Git repository 08:16:13 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 08:16:13 > git init /w/workspace/go-mod-secrets/3 # timeout=10 08:16:13 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 08:16:13 > git --version # timeout=10 08:16:13 > git --version # 'git version 2.25.1' 08:16:13 using GIT_SSH to set credentials SSH Credentials for GitHub 08:16:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:16:15 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 08:16:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:16:16 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 08:16:16 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 08:16:16 using GIT_SSH to set credentials SSH Credentials for GitHub 08:16:17 Merging remotes/origin/main commit 3d5f65ec3fa04f2081f9d01cd790ba6870172a81 into PR head commit b27c706aeb0f47a6460337e2afa65f99e528af6f 08:16:17 Merge succeeded, producing b27c706aeb0f47a6460337e2afa65f99e528af6f 08:16:17 Checking out Revision b27c706aeb0f47a6460337e2afa65f99e528af6f (PR-286) 08:16:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/286/head:refs/remotes/origin/PR-286 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:16:17 > git config core.sparsecheckout # timeout=10 08:16:17 > git checkout -f b27c706aeb0f47a6460337e2afa65f99e528af6f # timeout=10 08:16:17 > git remote # timeout=10 08:16:17 > git config --get remote.origin.url # timeout=10 08:16:17 using GIT_SSH to set credentials SSH Credentials for GitHub 08:16:17 > git merge 3d5f65ec3fa04f2081f9d01cd790ba6870172a81 # timeout=10 08:16:17 > git rev-parse HEAD^{commit} # timeout=10 08:16:17 > git config core.sparsecheckout # timeout=10 08:16:17 > git checkout -f b27c706aeb0f47a6460337e2afa65f99e528af6f # timeout=10 08:16:21 Commit message: "refactor!: update module to v4 and replace vault with openbao" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:16:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:16:22 % Total % Received % Xferd Average Speed Time Time Time Current 08:16:22 Dload Upload Total Spent Left Speed 08:16:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97k 0 --:--:-- --:--:-- --:--:-- 97k 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 99441 [Pipeline] sh 08:16:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:16:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:16:23 + sudo tee /etc/docker/daemon.new 08:16:23 { 08:16:23 "registry-mirrors": [ 08:16:23 "https://nexus3.edgexfoundry.org:10001" 08:16:23 ], 08:16:23 "bip": "10.250.0.254/24", 08:16:23 "hosts": [ 08:16:23 "tcp://0.0.0.0:5555", 08:16:23 "unix:///var/run/docker.sock" 08:16:23 ], 08:16:23 "mtu": 1458, 08:16:23 "selinux-enabled": true, 08:16:23 "seccomp-profile": "/etc/docker/seccomp.json" 08:16:23 } [Pipeline] sh 08:16:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:16:24 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 08:16:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:16:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:16:42 ========================================================= 08:16:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 08:16:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 08:16:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 08:16:43 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:16:43 cf04c63912e1: Pulling fs layer 08:16:43 55b35a11ae5e: Pulling fs layer 08:16:43 a37a00ec5f00: Pulling fs layer 08:16:43 50b3750afda1: Pulling fs layer 08:16:43 4f4fb700ef54: Pulling fs layer 08:16:43 80978eb59214: Pulling fs layer 08:16:43 c9f46d7d2bd2: Pulling fs layer 08:16:43 c5a475d317c9: Pulling fs layer 08:16:43 4f4fb700ef54: Waiting 08:16:43 80978eb59214: Waiting 08:16:43 c9f46d7d2bd2: Waiting 08:16:43 50b3750afda1: Waiting 08:16:43 c5a475d317c9: Waiting 08:16:43 55b35a11ae5e: Verifying Checksum 08:16:43 55b35a11ae5e: Download complete 08:16:43 50b3750afda1: Verifying Checksum 08:16:43 50b3750afda1: Download complete 08:16:43 4f4fb700ef54: Verifying Checksum 08:16:43 4f4fb700ef54: Download complete 08:16:43 cf04c63912e1: Verifying Checksum 08:16:43 cf04c63912e1: Download complete 08:16:43 80978eb59214: Verifying Checksum 08:16:43 80978eb59214: Download complete 08:16:44 cf04c63912e1: Pull complete 08:16:45 55b35a11ae5e: Pull complete 08:16:49 c5a475d317c9: Verifying Checksum 08:16:49 c5a475d317c9: Download complete 08:16:50 a37a00ec5f00: Download complete 08:16:50 c9f46d7d2bd2: Verifying Checksum 08:16:50 c9f46d7d2bd2: Download complete 08:17:03 a37a00ec5f00: Pull complete 08:17:03 50b3750afda1: Pull complete 08:17:03 4f4fb700ef54: Pull complete 08:17:03 80978eb59214: Pull complete 08:17:11 c9f46d7d2bd2: Pull complete 08:17:12 c5a475d317c9: Pull complete 08:17:12 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 08:17:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 08:17:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [Pipeline] sh 08:17:12 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:12 + docker inspect -f . ci-base-image-arm64 08:17:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:13 prd-ubuntu20.04-docker-arm64-4c-16g-23598 does not seem to be running inside a container 08:17:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/3 -v /w/workspace/go-mod-secrets/3:/w/workspace/go-mod-secrets/3:rw,z -v /w/workspace/go-mod-secrets/3@tmp:/w/workspace/go-mod-secrets/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:17:16 $ docker top 5d22948c79b5d83aff81ecb59181bc19f7529e11d3bd40e0ebd5bc32a1af1288 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:16 + go version 08:17:16 go version go1.23.2 linux/arm64 [Pipeline] } 08:17:16 $ docker stop --time=1 5d22948c79b5d83aff81ecb59181bc19f7529e11d3bd40e0ebd5bc32a1af1288 08:17:18 $ docker rm -f --volumes 5d22948c79b5d83aff81ecb59181bc19f7529e11d3bd40e0ebd5bc32a1af1288 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:19 + docker inspect -f . ci-base-image-arm64 08:17:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:19 prd-ubuntu20.04-docker-arm64-4c-16g-23598 does not seem to be running inside a container 08:17:19 $ 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-secrets/3 -v /w/workspace/go-mod-secrets/3:/w/workspace/go-mod-secrets/3:rw,z -v /w/workspace/go-mod-secrets/3@tmp:/w/workspace/go-mod-secrets/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:17:20 $ docker top bf47a6ad87f938bbc7d97824c661232fdb0eded38c0c26006a04148525437d31 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:21 + git config --global --add safe.directory /w/workspace/go-mod-secrets/3 [Pipeline] fileExists [Pipeline] sh 08:17:22 + make test 08:17:22 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 08:17:22 go: downloading github.com/stretchr/testify v1.9.0 08:17:22 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.1 08:17:22 go: downloading github.com/spiffe/go-spiffe/v2 v2.4.0 08:17:23 go: downloading github.com/davecgh/go-spew v1.1.1 08:17:23 go: downloading github.com/pmezard/go-difflib v1.0.0 08:17:23 go: downloading github.com/stretchr/objx v0.5.2 08:17:23 go: downloading gopkg.in/yaml.v3 v3.0.1 08:17:23 go: downloading github.com/go-kit/log v0.2.1 08:17:23 go: downloading github.com/go-playground/validator/v10 v10.22.1 08:17:23 go: downloading github.com/google/uuid v1.6.0 08:17:23 go: downloading github.com/zeebo/errs v1.3.0 08:17:23 go: downloading google.golang.org/grpc v1.67.1 08:17:25 go: downloading github.com/go-jose/go-jose/v4 v4.0.4 08:17:25 go: downloading google.golang.org/protobuf v1.34.2 08:17:25 go: downloading github.com/go-logfmt/logfmt v0.5.1 08:17:25 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 08:17:26 go: downloading github.com/go-playground/universal-translator v0.18.1 08:17:26 go: downloading golang.org/x/crypto v0.26.0 08:17:26 go: downloading github.com/leodido/go-urn v1.4.0 08:17:26 go: downloading golang.org/x/text v0.17.0 08:17:27 go: downloading golang.org/x/net v0.28.0 08:17:27 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 08:17:27 go: downloading github.com/go-playground/locales v0.14.1 08:17:28 go: downloading golang.org/x/sys v0.24.0 08:19:35 ? github.com/edgexfoundry/go-mod-secrets/v4/pkg/keys [no test files] 08:19:35 github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/authtokenloader/mocks coverage: 0.0% of statements 08:19:35 github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/fileioperformer/mocks coverage: 0.0% of statements 08:19:35 ok github.com/edgexfoundry/go-mod-secrets/v4/internal/pkg/openbao 11.860s coverage: 74.5% of statements 08:19:35 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg 1.117s coverage: 52.2% of statements 08:19:35 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/listener 10.129s coverage: 96.7% of statements 08:19:35 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/authtokenloader 1.090s coverage: 89.5% of statements 08:19:35 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/fileioperformer 1.069s coverage: 100.0% of statements 08:20:14 github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/runtimetokenprovider/mocks coverage: 0.0% of statements 08:20:15 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/runtimetokenprovider 1.128s coverage: 55.8% of statements 08:20:15 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/types 1.088s coverage: 73.7% of statements 08:20:15 ok github.com/edgexfoundry/go-mod-secrets/v4/secrets 1.109s coverage: 100.0% of statements 08:20:15 github.com/edgexfoundry/go-mod-secrets/v4/secrets/mocks coverage: 0.0% of statements 08:20:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:20:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:22:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:22:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 08:22:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:22:38 $ docker stop --time=1 bf47a6ad87f938bbc7d97824c661232fdb0eded38c0c26006a04148525437d31 08:22:40 $ docker rm -f --volumes bf47a6ad87f938bbc7d97824c661232fdb0eded38c0c26006a04148525437d31 [Pipeline] // withDockerContainer [Pipeline] sh 08:22:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:22:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:22:44 08:22:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:22:44 arm64: Pulling from edgex-lftools-log-publisher 08:22:44 8998bd30e6a1: Pulling fs layer 08:22:44 04944245beec: Pulling fs layer 08:22:44 699f458cf7ca: Pulling fs layer 08:22:44 765212b225bb: Pulling fs layer 08:22:44 f23df028b6ca: Pulling fs layer 08:22:44 d65c8cfc05b1: Pulling fs layer 08:22:44 2437ff75d9bd: Pulling fs layer 08:22:44 765212b225bb: Waiting 08:22:44 f23df028b6ca: Waiting 08:22:44 d65c8cfc05b1: Waiting 08:22:44 04944245beec: Verifying Checksum 08:22:44 04944245beec: Download complete 08:22:44 765212b225bb: Verifying Checksum 08:22:44 765212b225bb: Download complete 08:22:45 f23df028b6ca: Verifying Checksum 08:22:45 f23df028b6ca: Download complete 08:22:45 d65c8cfc05b1: Verifying Checksum 08:22:45 d65c8cfc05b1: Download complete 08:22:45 699f458cf7ca: Verifying Checksum 08:22:45 699f458cf7ca: Download complete 08:22:45 8998bd30e6a1: Verifying Checksum 08:22:45 8998bd30e6a1: Download complete 08:22:48 2437ff75d9bd: Verifying Checksum 08:22:48 2437ff75d9bd: Download complete 08:22:50 8998bd30e6a1: Pull complete 08:22:50 04944245beec: Pull complete 08:22:51 699f458cf7ca: Pull complete 08:22:52 765212b225bb: Pull complete 08:22:53 f23df028b6ca: Pull complete 08:22:53 d65c8cfc05b1: Pull complete 08:23:11 2437ff75d9bd: Pull complete 08:23:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:23:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:23:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:23:11 prd-ubuntu20.04-docker-arm64-4c-16g-23598 does not seem to be running inside a container 08:23:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-secrets/3 -v /w/workspace/go-mod-secrets/3:/w/workspace/go-mod-secrets/3:rw,z -v /w/workspace/go-mod-secrets/3@tmp:/w/workspace/go-mod-secrets/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:23:13 $ docker top 598da1bc3098d19740a4b57061a3f48207bdc67b5b571f8116decb413be60f55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:23:14 ---> job-cost.sh 08:23:14 lf-activate-venv: SKIPPING 08:23:14 INFO: No Stack... 08:23:15 INFO: Retrieving Pricing Info for: v3-standard-4 08:23:15 INFO: Archiving Costs [Pipeline] sh 08:23:16 + cat /w/workspace/go-mod-secrets/3/archives/cost.csv 08:23:16 + cut -d, -f6 [Pipeline] lock 08:23:16 Trying to acquire lock on [Resource: jenkins-edgexfoundry-go-mod-secrets-PR-286-3-stack-cost] 08:23:16 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-286-3-stack-cost] did not exist. Created. 08:23:16 Lock acquired on [Resource: jenkins-edgexfoundry-go-mod-secrets-PR-286-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:23:17 /w/workspace/go-mod-secrets/3@tmp/durable-0b9b2ab6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:23:17 + echo total: 0.10999999940395355 [Pipeline] stash 08:23:17 Warning: overwriting stash ‘stack-cost’ 08:23:17 Stashed 1 file(s) [Pipeline] } 08:23:17 Lock released on resource [Resource: jenkins-edgexfoundry-go-mod-secrets-PR-286-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:23:17 $ docker stop --time=1 598da1bc3098d19740a4b57061a3f48207bdc67b5b571f8116decb413be60f55 08:23:19 $ docker rm -f --volumes 598da1bc3098d19740a4b57061a3f48207bdc67b5b571f8116decb413be60f55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) 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 08:23:20 + [ -d /w/workspace/gexfoundry_go-mod-secrets_PR-286/archives ] 08:23:20 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-286/archives 08:23:20 total 16 08:23:20 drwxr-xr-x 3 root root 4096 Oct 23 08:15 . 08:23:20 drwxrwxr-x 9 jenkins jenkins 4096 Oct 23 08:15 .. 08:23:20 drwxr-xr-x 2 root root 4096 Oct 23 08:15 cost 08:23:20 -rw-r--r-- 1 root root 86 Oct 23 08:15 cost.csv 08:23:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-secrets_PR-286/archives 08:23:20 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-286/archives 08:23:20 total 16 08:23:20 drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 08:15 . 08:23:20 drwxrwxr-x 9 jenkins jenkins 4096 Oct 23 08:15 .. 08:23:20 drwxr-xr-x 2 jenkins jenkins 4096 Oct 23 08:15 cost 08:23:20 -rw-r--r-- 1 jenkins jenkins 86 Oct 23 08:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:23:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:23:21 ---> package-listing.sh 08:23:21 ++ facter osfamily 08:23:21 ++ tr '[:upper:]' '[:lower:]' 08:23:22 + OS_FAMILY=debian 08:23:22 + workspace=/w/workspace/gexfoundry_go-mod-secrets_PR-286 08:23:22 + START_PACKAGES=/tmp/packages_start.txt 08:23:22 + END_PACKAGES=/tmp/packages_end.txt 08:23:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:23:22 + PACKAGES=/tmp/packages_start.txt 08:23:22 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-286 ']' 08:23:22 + PACKAGES=/tmp/packages_end.txt 08:23:22 + case "${OS_FAMILY}" in 08:23:22 + dpkg -l 08:23:22 + grep '^ii' 08:23:22 + '[' -f /tmp/packages_start.txt ']' 08:23:22 + '[' -f /tmp/packages_end.txt ']' 08:23:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:23:22 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-286 ']' 08:23:22 + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_PR-286/archives/ 08:23:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-secrets_PR-286/archives/ [Pipeline] echo 08:23:22 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/gexfoundry_go-mod-secrets_PR-286/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:23:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:23:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:23:22 prd-ubuntu20.04-docker-8c-8g-23597 does not seem to be running inside a container 08:23:22 $ 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/gexfoundry_go-mod-secrets_PR-286/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-secrets_PR-286 -v /w/workspace/gexfoundry_go-mod-secrets_PR-286:/w/workspace/gexfoundry_go-mod-secrets_PR-286:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-286@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-286@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:23:22 $ docker top 1911d5c290582604187f926af9cbd63fb47145d6b6a02b0051166f70def4b227 -eo pid,comm [Pipeline] { [Pipeline] sh 08:23:23 + touch /tmp/pre-build-complete [Pipeline] sh 08:23:23 + mkdir -p /var/log/sysstat [Pipeline] sh 08:23:23 + ls /var/log/sa-host 08:23:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:23:24 provisioning config files... 08:23:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-286@tmp/config16215069670287279498tmp [Pipeline] { [Pipeline] echo 08:23:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:23:24 ---> create-netrc.sh [Pipeline] } 08:23:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:23:24 ---> python-tools-install.sh [Pipeline] echo 08:23:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:23:25 ---> sudo-logs.sh 08:23:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:23:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:23:25 ---> job-cost.sh 08:23:25 lf-activate-venv: SKIPPING 08:23:25 DEBUG: total: 0.2199999988079071 08:23:25 INFO: Retrieving Stack Cost... 08:23:25 INFO: Retrieving Pricing Info for: v3-standard-8 08:23:26 INFO: Archiving Costs [Pipeline] echo 08:23:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:23:26 ---> logs-deploy.sh 08:23:26 lf-activate-venv: SKIPPING 08:23:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-286/3 08:23:26 INFO: archiving workspace using pattern(s): 08:23:27 Archives upload complete. 08:23:27 INFO: archiving logs to Nexus