Pull request #325 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1419143ddbc6b5284be335b393d5dacda0df36a3+ef0f75a02e1e509fb665ca03e7a7873b6a8dab90 (fd7c0557af503775dbf7dfdff307782a09ab13b2) 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-ssh3956960440293008214.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh191257743670109072.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-secrets/branches/PR-325/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-secrets/branches/PR-325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9385916962401116389.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-secrets/branches/PR-325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14587223318200800277.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh8303538327756617934.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-secrets/branches/PR-325/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-secrets/branches/PR-325/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5335209108142755820.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17 in /w/workspace/gexfoundry_go-mod-secrets_PR-325 [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-325 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/325/head:refs/remotes/origin/PR-325 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ef0f75a02e1e509fb665ca03e7a7873b6a8dab90 into PR head commit 1419143ddbc6b5284be335b393d5dacda0df36a3 Merge succeeded, producing 1419143ddbc6b5284be335b393d5dacda0df36a3 Checking out Revision 1419143ddbc6b5284be335b393d5dacda0df36a3 (PR-325) Commit message: "build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a > git config core.sparsecheckout # timeout=10 > git checkout -f 1419143ddbc6b5284be335b393d5dacda0df36a3 # 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 ef0f75a02e1e509fb665ca03e7a7873b6a8dab90 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1419143ddbc6b5284be335b393d5dacda0df36a3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:22:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:22:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:22:14 ========================================================= 23:22:14 EdgeX Global Pipelines Version Info 23:22:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:22:15 ------------------- 23:22:15 stable info: 23:22:15 ------------------- 23:22:15 Commited By: Ginny Guan ginny@iotechsys.com 23:22:15 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 23:22:15 Message: update stable to v1.0.274 23:22:16 ------------------- 23:22:16 experimental info: 23:22:16 ------------------- 23:22:16 Commited By: Ginny Guan ginny@iotechsys.com 23:22:16 Commit SHA: d23c20eb9a5ec3463b7c8c72fdbb28744bcccce8 23:22:16 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:22:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 23:22:16 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 23:22:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:22:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:22:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:22:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 23:22:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:22:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:22:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:22:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:22:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:22:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-325 [Pipeline] echo 23:22:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-325 [Pipeline] echo 23:22:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-325 [Pipeline] echo 23:22:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1419143ddbc6b5284be335b393d5dacda0df36a3 [Pipeline] echo 23:22:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1419143 [Pipeline] echo 23:22:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:22:18 + git rev-list -1 --merges 1419143ddbc6b5284be335b393d5dacda0df36a3~1..1419143ddbc6b5284be335b393d5dacda0df36a3 [Pipeline] echo 23:22:18 -----------> git rev-list -1 --merges 1419143ddbc6b5284be335b393d5dacda0df36a3~1..1419143ddbc6b5284be335b393d5dacda0df36a3 1419143ddbc6b5284be335b393d5dacda0df36a3 [false] [Pipeline] sh 23:22:19 + git log --format=format:%s -1 1419143ddbc6b5284be335b393d5dacda0df36a3 [Pipeline] echo 23:22:19 ========================================================= 23:22:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:22:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:22:19 + git log --format=format:%s -1 1419143ddbc6b5284be335b393d5dacda0df36a3 [Pipeline] echo 23:22:19 [semverPrep] GIT_COMMIT: 1419143ddbc6b5284be335b393d5dacda0df36a3, Commit Message: build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 [Pipeline] echo 23:22:19 [semverPrep] This is not a build commit. [Pipeline] sh 23:22:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:22:20 + grep -v github /etc/ssh/ssh_known_hosts 23:22:20 + [ -e /tmp/ssh_known_hosts ] 23:22:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:22:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:22:20 + sudo tee -a /etc/ssh/ssh_known_hosts 23:22:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:22:20 23:22:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:22:21 0.1.4: Pulling from edgex-devops/py-git-semver 23:22:21 b85a868b505f: Pulling fs layer 23:22:21 e2be974225ed: Pulling fs layer 23:22:21 339a4e72a1f5: Pulling fs layer 23:22:21 988bab9f4d93: Pulling fs layer 23:22:21 1469e6f7b9e6: Pulling fs layer 23:22:21 eaf3925da568: Pulling fs layer 23:22:21 988bab9f4d93: Waiting 23:22:21 bab4dde63d76: Pulling fs layer 23:22:21 1469e6f7b9e6: Waiting 23:22:21 bde34c3a00c8: Pulling fs layer 23:22:21 eaf3925da568: Waiting 23:22:21 b352a97aabf1: Pulling fs layer 23:22:21 4872d77fe225: Pulling fs layer 23:22:21 5851b861e8e6: Pulling fs layer 23:22:21 bde34c3a00c8: Waiting 23:22:21 b352a97aabf1: Waiting 23:22:21 5851b861e8e6: Waiting 23:22:21 e2be974225ed: Verifying Checksum 23:22:21 e2be974225ed: Download complete 23:22:21 988bab9f4d93: Verifying Checksum 23:22:21 988bab9f4d93: Download complete 23:22:21 1469e6f7b9e6: Verifying Checksum 23:22:21 1469e6f7b9e6: Download complete 23:22:21 eaf3925da568: Download complete 23:22:21 339a4e72a1f5: Verifying Checksum 23:22:21 339a4e72a1f5: Download complete 23:22:21 bde34c3a00c8: Verifying Checksum 23:22:21 bde34c3a00c8: Download complete 23:22:21 b352a97aabf1: Verifying Checksum 23:22:21 b352a97aabf1: Download complete 23:22:21 4872d77fe225: Verifying Checksum 23:22:21 4872d77fe225: Download complete 23:22:21 5851b861e8e6: Verifying Checksum 23:22:21 5851b861e8e6: Download complete 23:22:21 b85a868b505f: Verifying Checksum 23:22:21 b85a868b505f: Download complete 23:22:22 bab4dde63d76: Verifying Checksum 23:22:22 bab4dde63d76: Download complete 23:22:23 b85a868b505f: Pull complete 23:22:23 e2be974225ed: Pull complete 23:22:23 339a4e72a1f5: Pull complete 23:22:23 988bab9f4d93: Pull complete 23:22:23 1469e6f7b9e6: Pull complete 23:22:23 eaf3925da568: Pull complete 23:22:25 bab4dde63d76: Pull complete 23:22:25 bde34c3a00c8: Pull complete 23:22:25 b352a97aabf1: Pull complete 23:22:25 4872d77fe225: Pull complete 23:22:25 5851b861e8e6: Pull complete 23:22:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:22:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:22:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:25 prd-ubuntu20.04-docker-8c-8g-17 does not seem to be running inside a container 23:22:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_PR-325 -v /w/workspace/gexfoundry_go-mod-secrets_PR-325:/w/workspace/gexfoundry_go-mod-secrets_PR-325:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-325@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:22:29 $ docker top 0b544d13178e4169912c6e48929452145b71ad1d9b77edd8b9c0e71b38090df8 -eo pid,comm 23:22:29 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). 23:22:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:22:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:22:29 [ssh-agent] Looking for ssh-agent implementation... 23:22:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:22:29 $ docker exec 0b544d13178e4169912c6e48929452145b71ad1d9b77edd8b9c0e71b38090df8 ssh-agent 23:22:29 SSH_AUTH_SOCK=/tmp/ssh-eEIN3wsK4MnJ/agent.32 23:22:29 SSH_AGENT_PID=38 23:22:29 Running ssh-add (command line suppressed) 23:22:29 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-325@tmp/private_key_2447113666921159574.key (/w/workspace/gexfoundry_go-mod-secrets_PR-325@tmp/private_key_2447113666921159574.key) 23:22:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:22:30 + git tag --points-at HEAD [Pipeline] } 23:22:30 $ docker exec --env ******** --env ******** 0b544d13178e4169912c6e48929452145b71ad1d9b77edd8b9c0e71b38090df8 ssh-agent -k 23:22:30 unset SSH_AUTH_SOCK; 23:22:30 unset SSH_AGENT_PID; 23:22:30 echo Agent pid 38 killed; 23:22:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:22:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:22:30 [ssh-agent] Looking for ssh-agent implementation... 23:22:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:22:30 $ docker exec 0b544d13178e4169912c6e48929452145b71ad1d9b77edd8b9c0e71b38090df8 ssh-agent 23:22:30 SSH_AUTH_SOCK=/tmp/ssh-c5SrC8b32k8z/agent.71 23:22:30 SSH_AGENT_PID=77 23:22:30 Running ssh-add (command line suppressed) 23:22:30 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-325@tmp/private_key_811588727441962164.key (/w/workspace/gexfoundry_go-mod-secrets_PR-325@tmp/private_key_811588727441962164.key) 23:22:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:22:31 + git semver init 23:22:31 2025-04-16 23:22:31,313 [run_init] DEBUG init version:0.0.0 force:False 23:22:31 2025-04-16 23:22:31,314 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_go-mod-secrets_PR-325/.semver 23:22:31 2025-04-16 23:22:31,314 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-secrets.git /w/workspace/gexfoundry_go-mod-secrets_PR-325/.semver 23:22:31 2025-04-16 23:22:31,314 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-secrets.git', '/w/workspace/gexfoundry_go-mod-secrets_PR-325/.semver'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-325, universal_newlines=False, shell=None, istream=None) 23:22:32 2025-04-16 23:22:32,371 [append_file] DEBUG append to file:/w/workspace/gexfoundry_go-mod-secrets_PR-325/.git/info/exclude 23:22:32 2025-04-16 23:22:32,371 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_go-mod-secrets_PR-325/.semver/PR-325 with force:False 23:22:32 2025-04-16 23:22:32,371 [write_file] DEBUG write to file:/w/workspace/gexfoundry_go-mod-secrets_PR-325/.semver/PR-325 23:22:32 2025-04-16 23:22:32,376 [execute] INFO git cat-file --batch-check 23:22:32 2025-04-16 23:22:32,376 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-325/.semver, universal_newlines=False, shell=None, istream=) 23:22:32 2025-04-16 23:22:32,382 [execute] INFO git cat-file --batch 23:22:32 2025-04-16 23:22:32,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-325/.semver, universal_newlines=False, shell=None, istream=) 23:22:32 2025-04-16 23:22:32,386 [read_version] DEBUG read version from /w/workspace/gexfoundry_go-mod-secrets_PR-325/.semver/PR-325 23:22:32 0.0.0 [Pipeline] } 23:22:32 $ docker exec --env ******** --env ******** 0b544d13178e4169912c6e48929452145b71ad1d9b77edd8b9c0e71b38090df8 ssh-agent -k 23:22:32 unset SSH_AUTH_SOCK; 23:22:32 unset SSH_AGENT_PID; 23:22:32 echo Agent pid 77 killed; 23:22:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:22:33 + git semver [Pipeline] } 23:22:33 $ docker stop --time=1 0b544d13178e4169912c6e48929452145b71ad1d9b77edd8b9c0e71b38090df8 23:22:34 $ docker rm -f --volumes 0b544d13178e4169912c6e48929452145b71ad1d9b77edd8b9c0e71b38090df8 [Pipeline] // withDockerContainer [Pipeline] sh 23:22:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:22:35 Stashed 1 file(s) [Pipeline] echo 23:22:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 23:22:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 23:22:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 23:22:36 ========================================================= 23:22:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 23:22:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 23:22:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 23:22:37 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 23:22:37 0a9a5dfd008f: Pulling fs layer 23:22:37 dbfa0bcfca99: Pulling fs layer 23:22:37 70eabb1d9476: Pulling fs layer 23:22:37 957bedc73fa3: Pulling fs layer 23:22:37 4f4fb700ef54: Pulling fs layer 23:22:37 f40432e63723: Pulling fs layer 23:22:37 90b4343acab7: Pulling fs layer 23:22:37 9f67ea4ac784: Pulling fs layer 23:22:37 9228b9a606be: Pulling fs layer 23:22:37 957bedc73fa3: Waiting 23:22:37 9f67ea4ac784: Waiting 23:22:37 4f4fb700ef54: Waiting 23:22:37 f40432e63723: Waiting 23:22:37 9228b9a606be: Waiting 23:22:37 90b4343acab7: Waiting 23:22:37 dbfa0bcfca99: Verifying Checksum 23:22:37 dbfa0bcfca99: Download complete 23:22:37 957bedc73fa3: Verifying Checksum 23:22:37 957bedc73fa3: Download complete 23:22:37 4f4fb700ef54: Download complete 23:22:37 f40432e63723: Download complete 23:22:37 0a9a5dfd008f: Verifying Checksum 23:22:37 0a9a5dfd008f: Download complete 23:22:37 90b4343acab7: Verifying Checksum 23:22:37 90b4343acab7: Download complete 23:22:37 0a9a5dfd008f: Pull complete 23:22:37 9228b9a606be: Verifying Checksum 23:22:37 9228b9a606be: Download complete 23:22:37 dbfa0bcfca99: Pull complete 23:22:38 70eabb1d9476: Download complete 23:22:38 9f67ea4ac784: Verifying Checksum 23:22:38 9f67ea4ac784: Download complete 23:22:41 70eabb1d9476: Pull complete 23:22:41 957bedc73fa3: Pull complete 23:22:41 4f4fb700ef54: Pull complete 23:22:41 f40432e63723: Pull complete 23:22:41 90b4343acab7: Pull complete 23:22:43 9f67ea4ac784: Pull complete 23:22:43 9228b9a606be: Pull complete 23:22:43 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 23:22:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 23:22:43 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [Pipeline] sh 23:22:44 + 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 23:22:44 + docker inspect -f . ci-base-image-x86_64 23:22:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:44 prd-ubuntu20.04-docker-8c-8g-17 does not seem to be running inside a container 23:22:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-325 -v /w/workspace/gexfoundry_go-mod-secrets_PR-325:/w/workspace/gexfoundry_go-mod-secrets_PR-325:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-325@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:22:49 $ docker top ca04f99bb712b6b997d574fdb6010323f98d9cd8e5c0bf16388777b60ecad053 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:50 + go version 23:22:50 go version go1.23.8 linux/amd64 [Pipeline] } 23:22:50 $ docker stop --time=1 ca04f99bb712b6b997d574fdb6010323f98d9cd8e5c0bf16388777b60ecad053 23:22:51 $ docker rm -f --volumes ca04f99bb712b6b997d574fdb6010323f98d9cd8e5c0bf16388777b60ecad053 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:52 + docker inspect -f . ci-base-image-x86_64 23:22:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:52 prd-ubuntu20.04-docker-8c-8g-17 does not seem to be running inside a container 23:22:52 $ 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-325 -v /w/workspace/gexfoundry_go-mod-secrets_PR-325:/w/workspace/gexfoundry_go-mod-secrets_PR-325:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-325@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:22:52 $ docker top b4656797ef960bf6a98c8400c6a4a4d6d80cd32082f4d1d9851e3ab06f487e94 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:53 + git config --global --add safe.directory /w/workspace/gexfoundry_go-mod-secrets_PR-325 [Pipeline] fileExists [Pipeline] sh 23:22:53 + make test 23:22:53 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 23:22:53 go: downloading github.com/stretchr/testify v1.10.0 23:22:53 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.1.0-dev.1 23:22:53 go: downloading github.com/spiffe/go-spiffe/v2 v2.5.0 23:22:53 go: downloading github.com/davecgh/go-spew v1.1.1 23:22:53 go: downloading github.com/pmezard/go-difflib v1.0.0 23:22:53 go: downloading github.com/stretchr/objx v0.5.2 23:22:53 go: downloading github.com/zeebo/errs v1.4.0 23:22:53 go: downloading google.golang.org/grpc v1.70.0 23:22:53 go: downloading github.com/go-kit/log v0.2.1 23:22:53 go: downloading github.com/go-playground/validator/v10 v10.25.0 23:22:53 go: downloading github.com/google/uuid v1.6.0 23:22:53 go: downloading gopkg.in/yaml.v3 v3.0.1 23:22:53 go: downloading github.com/go-jose/go-jose/v4 v4.0.5 23:22:53 go: downloading google.golang.org/protobuf v1.36.1 23:22:54 go: downloading github.com/go-logfmt/logfmt v0.5.1 23:22:54 go: downloading github.com/gabriel-vasile/mimetype v1.4.8 23:22:54 go: downloading github.com/leodido/go-urn v1.4.0 23:22:54 go: downloading github.com/go-playground/universal-translator v0.18.1 23:22:54 go: downloading golang.org/x/crypto v0.36.0 23:22:54 go: downloading golang.org/x/text v0.23.0 23:22:54 go: downloading golang.org/x/net v0.38.0 23:22:54 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a 23:22:54 go: downloading github.com/go-playground/locales v0.14.1 23:22:54 go: downloading golang.org/x/sys v0.31.0 23:23:12 ? github.com/edgexfoundry/go-mod-secrets/v4/pkg/keys [no test files] 23:23:12 github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/authtokenloader/mocks coverage: 0.0% of statements 23:23:12 github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/fileioperformer/mocks coverage: 0.0% of statements 23:23:13 github.com/edgexfoundry/go-mod-secrets/v4/secrets/mocks coverage: 0.0% of statements 23:23:13 github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/runtimetokenprovider/mocks coverage: 0.0% of statements 23:23:20 ok github.com/edgexfoundry/go-mod-secrets/v4/internal/pkg/openbao 8.832s coverage: 74.5% of statements 23:23:20 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg 1.024s coverage: 52.2% of statements 23:23:20 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/listener 10.036s coverage: 96.7% of statements 23:23:20 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/authtokenloader 1.016s coverage: 82.9% of statements 23:23:20 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/fileioperformer 1.020s coverage: 100.0% of statements 23:23:20 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/runtimetokenprovider 1.026s coverage: 55.8% of statements 23:23:20 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/types 1.017s coverage: 73.7% of statements 23:23:20 ok github.com/edgexfoundry/go-mod-secrets/v4/secrets 1.026s coverage: 100.0% of statements 23:23:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:23:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:23:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 23:23:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 23:23:40 $ docker stop --time=1 b4656797ef960bf6a98c8400c6a4a4d6d80cd32082f4d1d9851e3ab06f487e94 23:23:45 $ docker rm -f --volumes b4656797ef960bf6a98c8400c6a4a4d6d80cd32082f4d1d9851e3ab06f487e94 [Pipeline] // withDockerContainer [Pipeline] sh 23:23:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:23:46 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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:47 23:23:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:48 latest: Pulling from edgex-lftools-log-publisher 23:23:48 5eb5b503b376: Pulling fs layer 23:23:48 5c69ac0246d0: Pulling fs layer 23:23:48 ec43610c2a17: Pulling fs layer 23:23:48 3a2ae6a8a46f: Pulling fs layer 23:23:48 33b1e0a273af: Pulling fs layer 23:23:48 5d3b04190fa2: Pulling fs layer 23:23:48 2f39f015ded8: Pulling fs layer 23:23:48 33b1e0a273af: Waiting 23:23:48 5d3b04190fa2: Waiting 23:23:48 2f39f015ded8: Waiting 23:23:48 3a2ae6a8a46f: Waiting 23:23:48 5c69ac0246d0: Verifying Checksum 23:23:48 5c69ac0246d0: Download complete 23:23:48 33b1e0a273af: Verifying Checksum 23:23:48 33b1e0a273af: Download complete 23:23:48 5d3b04190fa2: Download complete 23:23:48 ec43610c2a17: Verifying Checksum 23:23:48 ec43610c2a17: Download complete 23:23:48 5eb5b503b376: Download complete 23:23:49 2f39f015ded8: Download complete 23:23:49 5eb5b503b376: Pull complete 23:23:49 5c69ac0246d0: Pull complete 23:23:50 ec43610c2a17: Pull complete 23:23:50 3a2ae6a8a46f: Pull complete 23:23:50 33b1e0a273af: Pull complete 23:23:50 5d3b04190fa2: Pull complete 23:23:54 2f39f015ded8: Pull complete 23:23:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:23:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:55 prd-ubuntu20.04-docker-8c-8g-17 does not seem to be running inside a container 23:23:55 $ 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-325 -v /w/workspace/gexfoundry_go-mod-secrets_PR-325:/w/workspace/gexfoundry_go-mod-secrets_PR-325:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-325@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-325@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 23:23:59 $ docker top ed054637969b21a6e491936e2237dc4b8682e0c59f9cd72d4b4b62e774361c16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:23:59 ---> job-cost.sh 23:23:59 lf-activate-venv: SKIPPING 23:23:59 INFO: No Stack... 23:24:00 INFO: Retrieving Pricing Info for: v3-standard-8 23:24:00 INFO: Archiving Costs [Pipeline] sh 23:24:00 + cat /w/workspace/gexfoundry_go-mod-secrets_PR-325/archives/cost.csv 23:24:00 + cut -d, -f6 [Pipeline] lock 23:24:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-go-mod-secrets-PR-325-1-stack-cost] 23:24:00 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-325-1-stack-cost] did not exist. Created. 23:24:00 Lock acquired on [Resource: jenkins-edgexfoundry-go-mod-secrets-PR-325-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:24:01 + echo total: 0.2199999988079071 [Pipeline] stash 23:24:01 Stashed 1 file(s) [Pipeline] } 23:24:01 Lock released on resource [Resource: jenkins-edgexfoundry-go-mod-secrets-PR-325-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:24:01 $ docker stop --time=1 ed054637969b21a6e491936e2237dc4b8682e0c59f9cd72d4b4b62e774361c16 23:24:02 $ docker rm -f --volumes ed054637969b21a6e491936e2237dc4b8682e0c59f9cd72d4b4b62e774361c16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:24:03 provisioning config files... 23:24:03 copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-325@tmp/config9075896010564830115tmp [Pipeline] { [Pipeline] sh 23:24:03 + set +x 23:24:03 + + curl -sbash https://codecov.io/bash -s 23:24:03 -- 23:24:03 23:24:03 _____ _ 23:24:03 / ____| | | 23:24:03 | | ___ __| | ___ ___ _____ __ 23:24:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:24:03 | |___| (_) | (_| | __/ (_| (_) \ V / 23:24:03 \_____\___/ \__,_|\___|\___\___/ \_/ 23:24:03 Bash-1.0.6 23:24:03 23:24:03 23:24:03 ==> git version 2.25.1 found 23:24:03 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:24:03 Release-Date: 2020-01-08 23:24:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:24:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:24:03 ==> Jenkins CI detected. 23:24:03 current dir:  /w/workspace/gexfoundry_go-mod-secrets_PR-325 23:24:03 project root: . 23:24:03 --> token set from env 23:24:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:24:03 ==> Running gcov in . (disable via -X gcov) 23:24:03 ==> Python coveragepy not found 23:24:03 ==> Searching for coverage reports in: 23:24:03 + . 23:24:03 -> Found 1 reports 23:24:03 ==> Detecting git/mercurial file structure 23:24:03 ==> Reading reports 23:24:03 + ./coverage.out bytes=78429 23:24:03 ==> Appending adjustments 23:24:03 https://docs.codecov.io/docs/fixing-reports 23:24:03 + Found adjustments 23:24:03 ==> Gzipping contents 23:24:03 12K /tmp/codecov.DEF3wC.gz 23:24:03 ==> Uploading reports 23:24:03 url: https://codecov.io 23:24:03 query: branch=PR-325&commit=1419143ddbc6b5284be335b393d5dacda0df36a3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-325%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=325&job=&cmd_args= 23:24:03 -> Pinging Codecov 23:24:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-325&commit=1419143ddbc6b5284be335b393d5dacda0df36a3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-325%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=325&job=&cmd_args= 23:24:03 -> Uploading to 23:24:03 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/go-mod-secrets/1419143ddbc6b5284be335b393d5dacda0df36a3/726fdd02-c0eb-4ba3-a9c2-cb4a26c23c39.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250416%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250416T232403Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=76f65eabbcea5cc019b38c21e618c499478f2114d7f41823a751a43c0ca594c2 23:24:03 % Total % Received % Xferd Average Speed Time Time Time Current 23:24:03 Dload Upload Total Spent Left Speed 23:24:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10842 0 0 100 10842 0 67341 --:--:-- --:--:-- --:--:-- 67341 23:24:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-secrets/commit/1419143ddbc6b5284be335b393d5dacda0df36a3 [Pipeline] } 23:24:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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 23:24:06 + [ -d /w/workspace/gexfoundry_go-mod-secrets_PR-325/archives ] 23:24:06 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-325/archives 23:24:06 total 16 23:24:06 drwxr-xr-x 3 root root 4096 Apr 16 23:24 . 23:24:06 drwxrwxr-x 9 jenkins jenkins 4096 Apr 16 23:24 .. 23:24:06 drwxr-xr-x 2 root root 4096 Apr 16 23:24 cost 23:24:06 -rw-r--r-- 1 root root 86 Apr 16 23:24 cost.csv 23:24:06 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-secrets_PR-325/archives 23:24:06 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-325/archives 23:24:06 total 16 23:24:06 drwxr-xr-x 3 jenkins jenkins 4096 Apr 16 23:24 . 23:24:06 drwxrwxr-x 9 jenkins jenkins 4096 Apr 16 23:24 .. 23:24:06 drwxr-xr-x 2 jenkins jenkins 4096 Apr 16 23:24 cost 23:24:06 -rw-r--r-- 1 jenkins jenkins 86 Apr 16 23:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:24:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:24:07 ---> package-listing.sh 23:24:07 ++ facter osfamily 23:24:07 ++ tr '[:upper:]' '[:lower:]' 23:24:07 + OS_FAMILY=debian 23:24:07 + workspace=/w/workspace/gexfoundry_go-mod-secrets_PR-325 23:24:07 + START_PACKAGES=/tmp/packages_start.txt 23:24:07 + END_PACKAGES=/tmp/packages_end.txt 23:24:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:24:07 + PACKAGES=/tmp/packages_start.txt 23:24:07 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-325 ']' 23:24:07 + PACKAGES=/tmp/packages_end.txt 23:24:07 + case "${OS_FAMILY}" in 23:24:07 + dpkg -l 23:24:07 + grep '^ii' 23:24:07 + '[' -f /tmp/packages_start.txt ']' 23:24:07 + '[' -f /tmp/packages_end.txt ']' 23:24:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:24:07 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-325 ']' 23:24:07 + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_PR-325/archives/ 23:24:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-secrets_PR-325/archives/ [Pipeline] echo 23:24:07 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-325/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:24:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:24:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:08 prd-ubuntu20.04-docker-8c-8g-17 does not seem to be running inside a container 23:24:08 $ 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-325/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-325 -v /w/workspace/gexfoundry_go-mod-secrets_PR-325:/w/workspace/gexfoundry_go-mod-secrets_PR-325:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-325@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:24:09 $ docker top 94d7115836942f676b659def841efdc0f67c216042bb8e2f580992d583ab16ae -eo pid,comm [Pipeline] { [Pipeline] sh 23:24:09 + touch /tmp/pre-build-complete [Pipeline] sh 23:24:09 + mkdir -p /var/log/sysstat [Pipeline] sh 23:24:10 + ls /var/log/sa-host 23:24:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:24:10 provisioning config files... 23:24:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-325@tmp/config13399739692789534707tmp [Pipeline] { [Pipeline] echo 23:24:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:24:10 ---> create-netrc.sh [Pipeline] } 23:24:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:24:11 ---> python-tools-install.sh [Pipeline] echo 23:24:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:24:11 ---> sudo-logs.sh 23:24:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:24:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:24:11 ---> job-cost.sh 23:24:11 lf-activate-venv: SKIPPING 23:24:11 DEBUG: total: 0.2199999988079071 23:24:11 INFO: Retrieving Stack Cost... 23:24:11 INFO: Retrieving Pricing Info for: v3-standard-8 23:24:12 INFO: Archiving Costs [Pipeline] echo 23:24:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:24:12 ---> logs-deploy.sh 23:24:12 lf-activate-venv: SKIPPING 23:24:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-325/1 23:24:12 INFO: archiving workspace using pattern(s): 23:24:13 Archives upload complete. 23:24:13 INFO: archiving logs to Nexus