Pull request #327 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e0b483c57f256c29eb9113db60e7e4c1e47acf34+d08104d583edec144a859d292c93deafa67e8019 (179dc4cf8a4e28df9fc737f15106210a0bc53ec5) 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-ssh14383702976290872993.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-ssh7206025159842321496.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-327/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-327/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6879216376535815167.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-327/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7482960840626121117.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-ssh1238030184990775750.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-327/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-327/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7744874824145493726.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4461 in /w/workspace/gexfoundry_go-mod-secrets_PR-327 [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-327 # 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/327/head:refs/remotes/origin/PR-327 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d08104d583edec144a859d292c93deafa67e8019 into PR head commit e0b483c57f256c29eb9113db60e7e4c1e47acf34 Merge succeeded, producing e0b483c57f256c29eb9113db60e7e4c1e47acf34 Checking out Revision e0b483c57f256c29eb9113db60e7e4c1e47acf34 (PR-327) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v4" 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 e0b483c57f256c29eb9113db60e7e4c1e47acf34 # 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 d08104d583edec144a859d292c93deafa67e8019 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0b483c57f256c29eb9113db60e7e4c1e47acf34 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:00:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:00:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:00:11 ========================================================= 06:00:11 EdgeX Global Pipelines Version Info 06:00:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:00:13 ------------------- 06:00:13 stable info: 06:00:13 ------------------- 06:00:13 Commited By: Ginny Guan ginny@iotechsys.com 06:00:13 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 06:00:13 Message: update stable to v1.0.274 06:00:13 ------------------- 06:00:13 experimental info: 06:00:13 ------------------- 06:00:13 Commited By: Ginny Guan ginny@iotechsys.com 06:00:13 Commit SHA: 274fe4ad960081a284537894dddd28d0c782a18e 06:00:13 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:00:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 06:00:13 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 06:00:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:00:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:00:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:00:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:00:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:00:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:00:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 06:00:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:00:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:00:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-327 [Pipeline] echo 06:00:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-327 [Pipeline] echo 06:00:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-327 [Pipeline] echo 06:00:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0b483c57f256c29eb9113db60e7e4c1e47acf34 [Pipeline] echo 06:00:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0b483c [Pipeline] echo 06:00:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:00:15 + git rev-list -1 --merges e0b483c57f256c29eb9113db60e7e4c1e47acf34~1..e0b483c57f256c29eb9113db60e7e4c1e47acf34 [Pipeline] echo 06:00:15 -----------> git rev-list -1 --merges e0b483c57f256c29eb9113db60e7e4c1e47acf34~1..e0b483c57f256c29eb9113db60e7e4c1e47acf34 e0b483c57f256c29eb9113db60e7e4c1e47acf34 [false] [Pipeline] sh 06:00:16 + git log --format=format:%s -1 e0b483c57f256c29eb9113db60e7e4c1e47acf34 [Pipeline] echo 06:00:16 ========================================================= 06:00:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:00:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:16 + git log --format=format:%s -1 e0b483c57f256c29eb9113db60e7e4c1e47acf34 [Pipeline] echo 06:00:16 [semverPrep] GIT_COMMIT: e0b483c57f256c29eb9113db60e7e4c1e47acf34, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v4 [Pipeline] echo 06:00:16 [semverPrep] This is not a build commit. [Pipeline] sh 06:00:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:00:17 + grep -v github /etc/ssh/ssh_known_hosts 06:00:17 + [ -e /tmp/ssh_known_hosts ] 06:00:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:00:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:00:17 + sudo tee -a /etc/ssh/ssh_known_hosts 06:00:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:17 06:00:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:18 0.1.4: Pulling from edgex-devops/py-git-semver 06:00:18 3dae71ba6b94: Pulling fs layer 06:00:18 6bf1a483ea7c: Pulling fs layer 06:00:18 f5dfc541a4d3: Pulling fs layer 06:00:18 461d9e800cba: Pulling fs layer 06:00:18 80192f66455f: Pulling fs layer 06:00:18 2e8e34ca0e6c: Pulling fs layer 06:00:18 a29436f7fd5d: Pulling fs layer 06:00:18 923cac83aea3: Pulling fs layer 06:00:18 25ad8b0a4227: Pulling fs layer 06:00:18 db01528c6b51: Pulling fs layer 06:00:18 28988de357af: Pulling fs layer 06:00:18 80192f66455f: Waiting 06:00:18 2e8e34ca0e6c: Waiting 06:00:18 923cac83aea3: Waiting 06:00:18 a29436f7fd5d: Waiting 06:00:18 25ad8b0a4227: Waiting 06:00:18 db01528c6b51: Waiting 06:00:18 28988de357af: Waiting 06:00:18 461d9e800cba: Waiting 06:00:18 6bf1a483ea7c: Verifying Checksum 06:00:18 6bf1a483ea7c: Download complete 06:00:18 461d9e800cba: Verifying Checksum 06:00:18 461d9e800cba: Download complete 06:00:18 80192f66455f: Download complete 06:00:18 f5dfc541a4d3: Verifying Checksum 06:00:18 f5dfc541a4d3: Download complete 06:00:18 3dae71ba6b94: Verifying Checksum 06:00:18 923cac83aea3: Download complete 06:00:18 25ad8b0a4227: Verifying Checksum 06:00:18 25ad8b0a4227: Download complete 06:00:18 db01528c6b51: Verifying Checksum 06:00:18 db01528c6b51: Download complete 06:00:18 28988de357af: Verifying Checksum 06:00:18 28988de357af: Download complete 06:00:19 a29436f7fd5d: Verifying Checksum 06:00:19 a29436f7fd5d: Download complete 06:00:19 2e8e34ca0e6c: Verifying Checksum 06:00:19 2e8e34ca0e6c: Download complete 06:00:20 3dae71ba6b94: Pull complete 06:00:20 6bf1a483ea7c: Pull complete 06:00:21 f5dfc541a4d3: Pull complete 06:00:21 461d9e800cba: Pull complete 06:00:21 80192f66455f: Pull complete 06:00:26 2e8e34ca0e6c: Pull complete 06:00:26 a29436f7fd5d: Pull complete 06:00:26 923cac83aea3: Pull complete 06:00:27 25ad8b0a4227: Pull complete 06:00:27 db01528c6b51: Pull complete 06:00:27 28988de357af: Pull complete 06:00:27 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 06:00:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:27 prd-ubuntu20.04-docker-8c-8g-4461 does not seem to be running inside a container 06:00:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_PR-327 -v /w/workspace/gexfoundry_go-mod-secrets_PR-327:/w/workspace/gexfoundry_go-mod-secrets_PR-327:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-327@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-327@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 06:00:29 $ docker top b769983469dcfd1643c18b89af9f658cae7c03d4b05659d6b5166596697616bb -eo pid,comm 06:00: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). 06:00:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:29 [ssh-agent] Looking for ssh-agent implementation... 06:00:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:29 $ docker exec b769983469dcfd1643c18b89af9f658cae7c03d4b05659d6b5166596697616bb ssh-agent 06:00:30 SSH_AUTH_SOCK=/tmp/ssh-aKJDAsckAdOC/agent.33 06:00:30 SSH_AGENT_PID=39 06:00:30 Running ssh-add (command line suppressed) 06:00:30 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-327@tmp/private_key_5345199701726277671.key (/w/workspace/gexfoundry_go-mod-secrets_PR-327@tmp/private_key_5345199701726277671.key) 06:00:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:30 + git tag --points-at HEAD [Pipeline] } 06:00:30 $ docker exec --env ******** --env ******** b769983469dcfd1643c18b89af9f658cae7c03d4b05659d6b5166596697616bb ssh-agent -k 06:00:30 unset SSH_AUTH_SOCK; 06:00:30 unset SSH_AGENT_PID; 06:00:30 echo Agent pid 39 killed; 06:00:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:00:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:30 [ssh-agent] Looking for ssh-agent implementation... 06:00:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:30 $ docker exec b769983469dcfd1643c18b89af9f658cae7c03d4b05659d6b5166596697616bb ssh-agent 06:00:30 SSH_AUTH_SOCK=/tmp/ssh-c4zUgGHQQ5iE/agent.72 06:00:30 SSH_AGENT_PID=78 06:00:30 Running ssh-add (command line suppressed) 06:00:31 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-327@tmp/private_key_18025247672982980358.key (/w/workspace/gexfoundry_go-mod-secrets_PR-327@tmp/private_key_18025247672982980358.key) 06:00:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:31 + git semver init 06:00:31 2025-07-03 06:00:31,649 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 06:00:31 2025-07-03 06:00:31,655 [run_init] DEBUG init version:0.0.0 force:False 06:00:31 2025-07-03 06:00:31,656 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_go-mod-secrets_PR-327/.semver 06:00:31 2025-07-03 06:00:31,657 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-secrets.git /w/workspace/gexfoundry_go-mod-secrets_PR-327/.semver 06:00:31 2025-07-03 06:00:31,657 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-secrets.git', '/w/workspace/gexfoundry_go-mod-secrets_PR-327/.semver'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-327, stdin=None, shell=False, universal_newlines=False) 06:00:33 2025-07-03 06:00:32,657 [append_file] DEBUG append to file:/w/workspace/gexfoundry_go-mod-secrets_PR-327/.git/info/exclude 06:00:33 2025-07-03 06:00:32,657 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_go-mod-secrets_PR-327/.semver/PR-327 with force:False 06:00:33 2025-07-03 06:00:32,657 [write_file] DEBUG write to file:/w/workspace/gexfoundry_go-mod-secrets_PR-327/.semver/PR-327 06:00:33 2025-07-03 06:00:32,661 [execute] INFO git cat-file --batch-check 06:00:33 2025-07-03 06:00:32,661 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-327/.semver, stdin=, shell=False, universal_newlines=False) 06:00:33 2025-07-03 06:00:32,665 [execute] INFO git cat-file --batch 06:00:33 2025-07-03 06:00:32,665 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_go-mod-secrets_PR-327/.semver, stdin=, shell=False, universal_newlines=False) 06:00:33 2025-07-03 06:00:32,669 [read_version] DEBUG read version from /w/workspace/gexfoundry_go-mod-secrets_PR-327/.semver/PR-327 06:00:33 0.0.0 [Pipeline] } 06:00:33 $ docker exec --env ******** --env ******** b769983469dcfd1643c18b89af9f658cae7c03d4b05659d6b5166596697616bb ssh-agent -k 06:00:33 unset SSH_AUTH_SOCK; 06:00:33 unset SSH_AGENT_PID; 06:00:33 echo Agent pid 78 killed; 06:00:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:33 + git semver [Pipeline] } 06:00:33 $ docker stop --time=1 b769983469dcfd1643c18b89af9f658cae7c03d4b05659d6b5166596697616bb 06:00:35 $ docker rm -f --volumes b769983469dcfd1643c18b89af9f658cae7c03d4b05659d6b5166596697616bb [Pipeline] // withDockerContainer [Pipeline] sh 06:00:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:00:35 Stashed 1 file(s) [Pipeline] echo 06:00:36 [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 06:00:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:00:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:00:37 ========================================================= 06:00:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:00:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 06:00:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:00:37 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:37 0a9a5dfd008f: Pulling fs layer 06:00:37 36466aa92d05: Pulling fs layer 06:00:37 e10405b45d13: Pulling fs layer 06:00:37 096b7ceb2af7: Pulling fs layer 06:00:37 4f4fb700ef54: Pulling fs layer 06:00:37 8213a616a21b: Pulling fs layer 06:00:37 985586143405: Pulling fs layer 06:00:37 0eae2285b678: Pulling fs layer 06:00:37 d3ac315be8c5: Pulling fs layer 06:00:37 8213a616a21b: Waiting 06:00:37 985586143405: Waiting 06:00:37 0eae2285b678: Waiting 06:00:37 d3ac315be8c5: Waiting 06:00:37 4f4fb700ef54: Waiting 06:00:37 096b7ceb2af7: Waiting 06:00:37 36466aa92d05: Download complete 06:00:37 096b7ceb2af7: Download complete 06:00:37 4f4fb700ef54: Verifying Checksum 06:00:37 4f4fb700ef54: Download complete 06:00:37 8213a616a21b: Verifying Checksum 06:00:37 8213a616a21b: Download complete 06:00:37 0a9a5dfd008f: Verifying Checksum 06:00:37 0a9a5dfd008f: Download complete 06:00:37 985586143405: Verifying Checksum 06:00:37 985586143405: Download complete 06:00:38 0a9a5dfd008f: Pull complete 06:00:38 36466aa92d05: Pull complete 06:00:38 d3ac315be8c5: Verifying Checksum 06:00:38 d3ac315be8c5: Download complete 06:00:38 e10405b45d13: Verifying Checksum 06:00:38 e10405b45d13: Download complete 06:00:38 0eae2285b678: Verifying Checksum 06:00:38 0eae2285b678: Download complete 06:00:44 e10405b45d13: Pull complete 06:00:44 096b7ceb2af7: Pull complete 06:00:44 4f4fb700ef54: Pull complete 06:00:44 8213a616a21b: Pull complete 06:00:44 985586143405: Pull complete 06:00:48 0eae2285b678: Pull complete 06:00:48 d3ac315be8c5: Pull complete 06:00:48 Digest: sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 06:00:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:00:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [Pipeline] sh 06:00:48 + 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 06:00:49 + docker inspect -f . ci-base-image-x86_64 06:00:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:49 prd-ubuntu20.04-docker-8c-8g-4461 does not seem to be running inside a container 06:00:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-secrets_PR-327 -v /w/workspace/gexfoundry_go-mod-secrets_PR-327:/w/workspace/gexfoundry_go-mod-secrets_PR-327:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-327@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-327@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 06:00:51 $ docker top fd85639c5582d913e95d93b2066b1f178f34fc2d11621d97d3c3cb21f34db259 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:51 + go version 06:00:51 go version go1.23.9 linux/amd64 [Pipeline] } 06:00:51 $ docker stop --time=1 fd85639c5582d913e95d93b2066b1f178f34fc2d11621d97d3c3cb21f34db259 06:00:52 $ docker rm -f --volumes fd85639c5582d913e95d93b2066b1f178f34fc2d11621d97d3c3cb21f34db259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:53 + docker inspect -f . ci-base-image-x86_64 06:00:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:53 prd-ubuntu20.04-docker-8c-8g-4461 does not seem to be running inside a container 06:00:53 $ 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-327 -v /w/workspace/gexfoundry_go-mod-secrets_PR-327:/w/workspace/gexfoundry_go-mod-secrets_PR-327:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-327@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-327@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 06:00:54 $ docker top c2dbc3c3d6180815aaba89bd84b34ece5ab596b2acd5867fb5da25bb72b2cafc -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:54 + git config --global --add safe.directory /w/workspace/gexfoundry_go-mod-secrets_PR-327 [Pipeline] fileExists [Pipeline] sh 06:00:54 + make test 06:00:54 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 06:00:54 go: downloading github.com/stretchr/testify v1.10.0 06:00:54 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.1.0-dev.7 06:00:54 go: downloading github.com/spiffe/go-spiffe/v2 v2.5.0 06:00:55 go: downloading github.com/davecgh/go-spew v1.1.1 06:00:55 go: downloading github.com/pmezard/go-difflib v1.0.0 06:00:55 go: downloading github.com/stretchr/objx v0.5.2 06:00:55 go: downloading github.com/zeebo/errs v1.4.0 06:00:55 go: downloading google.golang.org/grpc v1.70.0 06:00:55 go: downloading gopkg.in/yaml.v3 v3.0.1 06:00:55 go: downloading github.com/go-jose/go-jose/v4 v4.0.5 06:00:55 go: downloading google.golang.org/protobuf v1.36.1 06:00:56 go: downloading github.com/go-kit/log v0.2.1 06:00:56 go: downloading github.com/go-playground/validator/v10 v10.27.0 06:00:56 go: downloading github.com/google/uuid v1.6.0 06:00:56 go: downloading golang.org/x/crypto v0.36.0 06:00:56 go: downloading golang.org/x/net v0.38.0 06:00:56 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a 06:00:56 go: downloading golang.org/x/sys v0.31.0 06:00:56 go: downloading github.com/go-logfmt/logfmt v0.5.1 06:00:56 go: downloading github.com/gabriel-vasile/mimetype v1.4.8 06:00:56 go: downloading github.com/leodido/go-urn v1.4.0 06:00:56 go: downloading github.com/go-playground/universal-translator v0.18.1 06:00:56 go: downloading golang.org/x/text v0.23.0 06:00:56 go: downloading github.com/go-playground/locales v0.14.1 06:01:18 ? github.com/edgexfoundry/go-mod-secrets/v4/pkg/keys [no test files] 06:01:18 github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/authtokenloader/mocks coverage: 0.0% of statements 06:01:18 github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/fileioperformer/mocks coverage: 0.0% of statements 06:01:19 github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/runtimetokenprovider/mocks coverage: 0.0% of statements 06:01:19 github.com/edgexfoundry/go-mod-secrets/v4/secrets/mocks coverage: 0.0% of statements 06:01:24 ok github.com/edgexfoundry/go-mod-secrets/v4/internal/pkg/openbao 8.929s coverage: 74.5% of statements 06:01:24 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg 1.023s coverage: 52.2% of statements 06:01:25 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/listener 10.034s coverage: 96.7% of statements 06:01:25 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/authtokenloader 1.020s coverage: 82.9% of statements 06:01:25 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/fileioperformer 1.017s coverage: 100.0% of statements 06:01:25 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/token/runtimetokenprovider 1.033s coverage: 55.8% of statements 06:01:25 ok github.com/edgexfoundry/go-mod-secrets/v4/pkg/types 1.031s coverage: 73.7% of statements 06:01:25 ok github.com/edgexfoundry/go-mod-secrets/v4/secrets 1.033s coverage: 100.0% of statements 06:01:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:01:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:01:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 06:01:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 06:01:48 $ docker stop --time=1 c2dbc3c3d6180815aaba89bd84b34ece5ab596b2acd5867fb5da25bb72b2cafc 06:01:50 $ docker rm -f --volumes c2dbc3c3d6180815aaba89bd84b34ece5ab596b2acd5867fb5da25bb72b2cafc [Pipeline] // withDockerContainer [Pipeline] sh 06:01:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:01:51 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 06:01:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:52 06:01:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:53 latest: Pulling from edgex-lftools-log-publisher 06:01:53 5eb5b503b376: Pulling fs layer 06:01:53 5c69ac0246d0: Pulling fs layer 06:01:53 ec43610c2a17: Pulling fs layer 06:01:53 3a2ae6a8a46f: Pulling fs layer 06:01:53 33b1e0a273af: Pulling fs layer 06:01:53 5d3b04190fa2: Pulling fs layer 06:01:53 3a2ae6a8a46f: Waiting 06:01:53 2f39f015ded8: Pulling fs layer 06:01:53 5d3b04190fa2: Waiting 06:01:53 33b1e0a273af: Waiting 06:01:53 2f39f015ded8: Waiting 06:01:53 5c69ac0246d0: Verifying Checksum 06:01:53 5c69ac0246d0: Download complete 06:01:53 3a2ae6a8a46f: Verifying Checksum 06:01:53 3a2ae6a8a46f: Download complete 06:01:53 33b1e0a273af: Verifying Checksum 06:01:53 33b1e0a273af: Download complete 06:01:53 5d3b04190fa2: Verifying Checksum 06:01:53 5d3b04190fa2: Download complete 06:01:53 ec43610c2a17: Verifying Checksum 06:01:53 ec43610c2a17: Download complete 06:01:53 5eb5b503b376: Verifying Checksum 06:01:53 5eb5b503b376: Download complete 06:01:53 2f39f015ded8: Verifying Checksum 06:01:53 2f39f015ded8: Download complete 06:01:55 5eb5b503b376: Pull complete 06:01:55 5c69ac0246d0: Pull complete 06:01:55 ec43610c2a17: Pull complete 06:01:55 3a2ae6a8a46f: Pull complete 06:01:56 33b1e0a273af: Pull complete 06:01:56 5d3b04190fa2: Pull complete 06:02:02 2f39f015ded8: Pull complete 06:02:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:02:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:02 prd-ubuntu20.04-docker-8c-8g-4461 does not seem to be running inside a container 06:02:02 $ 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-327 -v /w/workspace/gexfoundry_go-mod-secrets_PR-327:/w/workspace/gexfoundry_go-mod-secrets_PR-327:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-327@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-327@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 06:02:04 $ docker top ff51cd6c10698cc18f69fbc94b8695477634603dfa614f68748f93af8c0b5620 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:04 ---> job-cost.sh 06:02:04 lf-activate-venv: SKIPPING 06:02:04 INFO: No Stack... 06:02:04 INFO: Retrieving Pricing Info for: v3-standard-8 06:02:05 INFO: Archiving Costs [Pipeline] sh 06:02:05 + cat /w/workspace/gexfoundry_go-mod-secrets_PR-327/archives/cost.csv 06:02:05 + cut -d, -f6 [Pipeline] lock 06:02:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-go-mod-secrets-PR-327-1-stack-cost] 06:02:05 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-327-1-stack-cost] did not exist. Created. 06:02:05 Lock acquired on [Resource: jenkins-edgexfoundry-go-mod-secrets-PR-327-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:05 + echo total: 0.2199999988079071 [Pipeline] stash 06:02:05 Stashed 1 file(s) [Pipeline] } 06:02:05 Lock released on resource [Resource: jenkins-edgexfoundry-go-mod-secrets-PR-327-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:02:05 $ docker stop --time=1 ff51cd6c10698cc18f69fbc94b8695477634603dfa614f68748f93af8c0b5620 06:02:07 $ docker rm -f --volumes ff51cd6c10698cc18f69fbc94b8695477634603dfa614f68748f93af8c0b5620 [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 06:02:07 provisioning config files... 06:02:07 copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-327@tmp/config16456597793267698733tmp [Pipeline] { [Pipeline] sh 06:02:08 + set +x 06:02:08 + curl -s https://codecov.io/bash 06:02:08 + bash -s -- 06:02:08 06:02:08 _____ _ 06:02:08 / ____| | | 06:02:08 | | ___ __| | ___ ___ _____ __ 06:02:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:02:08 | |___| (_) | (_| | __/ (_| (_) \ V / 06:02:08 \_____\___/ \__,_|\___|\___\___/ \_/ 06:02:08 Bash-1.0.6 06:02:08 06:02:08 06:02:08 ==> git version 2.25.1 found 06:02:08 ==> 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 06:02:08 Release-Date: 2020-01-08 06:02:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:02:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:02:08 ==> Jenkins CI detected. 06:02:08 current dir:  /w/workspace/gexfoundry_go-mod-secrets_PR-327 06:02:08 project root: . 06:02:08 --> token set from env 06:02:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:02:08 ==> Running gcov in . (disable via -X gcov) 06:02:08 ==> Python coveragepy not found 06:02:08 ==> Searching for coverage reports in: 06:02:08 + . 06:02:08 -> Found 1 reports 06:02:08 ==> Detecting git/mercurial file structure 06:02:08 ==> Reading reports 06:02:08 + ./coverage.out bytes=78429 06:02:08 ==> Appending adjustments 06:02:08 https://docs.codecov.io/docs/fixing-reports 06:02:08 + Found adjustments 06:02:08 ==> Gzipping contents 06:02:08 12K /tmp/codecov.HMBJ16.gz 06:02:08 ==> Uploading reports 06:02:08 url: https://codecov.io 06:02:08 query: branch=PR-327&commit=e0b483c57f256c29eb9113db60e7e4c1e47acf34&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-327%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=327&job=&cmd_args= 06:02:08 -> Pinging Codecov 06:02:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-327&commit=e0b483c57f256c29eb9113db60e7e4c1e47acf34&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-327%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=327&job=&cmd_args= 06:02:08 -> Uploading to 06:02:08 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/go-mod-secrets/e0b483c57f256c29eb9113db60e7e4c1e47acf34/2182013c-9f89-4a9b-841b-5fdd7d3ec783.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250703%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250703T060208Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=96ccebf47124fd0a703cfcc95edab028f668217e170d7f0287cd10d11b09f477 06:02:08 % Total % Received % Xferd Average Speed Time Time Time Current 06:02:08 Dload Upload Total Spent Left Speed 06:02:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10825 0 0 100 10825 0 39652 --:--:-- --:--:-- --:--:-- 39652 06:02:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-secrets/commit/e0b483c57f256c29eb9113db60e7e4c1e47acf34 [Pipeline] } 06:02:09 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 06:02:11 + [ -d /w/workspace/gexfoundry_go-mod-secrets_PR-327/archives ] 06:02:11 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-327/archives 06:02:11 total 16 06:02:11 drwxr-xr-x 3 root root 4096 Jul 3 06:02 . 06:02:11 drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 06:02 .. 06:02:11 drwxr-xr-x 2 root root 4096 Jul 3 06:02 cost 06:02:11 -rw-r--r-- 1 root root 86 Jul 3 06:02 cost.csv 06:02:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-secrets_PR-327/archives 06:02:11 + ls -al /w/workspace/gexfoundry_go-mod-secrets_PR-327/archives 06:02:11 total 16 06:02:11 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 06:02 . 06:02:11 drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 06:02 .. 06:02:11 drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 06:02 cost 06:02:11 -rw-r--r-- 1 jenkins jenkins 86 Jul 3 06:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:02:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:02:12 ---> package-listing.sh 06:02:12 ++ facter osfamily 06:02:12 ++ tr '[:upper:]' '[:lower:]' 06:02:12 + OS_FAMILY=debian 06:02:12 + workspace=/w/workspace/gexfoundry_go-mod-secrets_PR-327 06:02:12 + START_PACKAGES=/tmp/packages_start.txt 06:02:12 + END_PACKAGES=/tmp/packages_end.txt 06:02:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:02:12 + PACKAGES=/tmp/packages_start.txt 06:02:12 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-327 ']' 06:02:12 + PACKAGES=/tmp/packages_end.txt 06:02:12 + case "${OS_FAMILY}" in 06:02:12 + dpkg -l 06:02:12 + grep '^ii' 06:02:12 + '[' -f /tmp/packages_start.txt ']' 06:02:12 + '[' -f /tmp/packages_end.txt ']' 06:02:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:02:12 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-327 ']' 06:02:12 + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_PR-327/archives/ 06:02:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-secrets_PR-327/archives/ [Pipeline] echo 06:02:12 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-327/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:02:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:13 prd-ubuntu20.04-docker-8c-8g-4461 does not seem to be running inside a container 06:02:13 $ 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-327/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-327 -v /w/workspace/gexfoundry_go-mod-secrets_PR-327:/w/workspace/gexfoundry_go-mod-secrets_PR-327:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-327@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-327@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 06:02:14 $ docker top fd2e0f6e3eb1428d8f8af07822ec85b384ccb3125982ee299db0fc7e63a059b5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:14 + touch /tmp/pre-build-complete [Pipeline] sh 06:02:14 + mkdir -p /var/log/sysstat [Pipeline] sh 06:02:15 + ls /var/log/sa-host 06:02:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:15 provisioning config files... 06:02:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-327@tmp/config4595648810433874230tmp [Pipeline] { [Pipeline] echo 06:02:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:02:15 ---> create-netrc.sh [Pipeline] } 06:02:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:02:16 ---> python-tools-install.sh [Pipeline] echo 06:02:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:02:16 ---> sudo-logs.sh 06:02:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:02:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:02:16 ---> job-cost.sh 06:02:16 lf-activate-venv: SKIPPING 06:02:16 DEBUG: total: 0.2199999988079071 06:02:16 INFO: Retrieving Stack Cost... 06:02:16 INFO: Retrieving Pricing Info for: v3-standard-8 06:02:17 INFO: Archiving Costs [Pipeline] echo 06:02:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:02:17 ---> logs-deploy.sh 06:02:17 lf-activate-venv: SKIPPING 06:02:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-327/1 06:02:17 INFO: archiving workspace using pattern(s): 06:02:18 Archives upload complete. 06:02:18 INFO: archiving logs to Nexus