Pull request #423 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3+53a0ec228fbf49ea511d724de1103786325b3993 (1fed5ea9ede594f7c9ca88d5d03afd79ad28d64e) 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-ssh14874184805965934648.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-ssh11230076912321106837.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-messaging/branches/PR-423/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-messaging/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8649810344562874587.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-messaging/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17931967996439253048.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-ssh6946035809624456399.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-messaging/branches/PR-423/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-messaging/branches/PR-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10212956579174174610.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-messaging, 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-messaging-settings PROJECT: go-mod-messaging 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-messaging 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-4477 in /w/workspace/xfoundry_go-mod-messaging_PR-423 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git > git init /w/workspace/xfoundry_go-mod-messaging_PR-423 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.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-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 53a0ec228fbf49ea511d724de1103786325b3993 into PR head commit 6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3 Merge succeeded, producing 6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3 Checking out Revision 6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3 (PR-423) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.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-messaging.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3 # 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 53a0ec228fbf49ea511d724de1103786325b3993 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3 # timeout=10 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 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:00:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:00:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:00:32 ========================================================= 17:00:32 EdgeX Global Pipelines Version Info 17:00:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:00:33 ------------------- 17:00:33 stable info: 17:00:33 ------------------- 17:00:33 Commited By: Ginny Guan ginny@iotechsys.com 17:00:33 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 17:00:33 Message: update stable to v1.0.274 17:00:33 ------------------- 17:00:33 experimental info: 17:00:33 ------------------- 17:00:33 Commited By: Ginny Guan ginny@iotechsys.com 17:00:33 Commit SHA: 274fe4ad960081a284537894dddd28d0c782a18e 17:00:33 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:00:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:00:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:00:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:00:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:00:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:00:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:00:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:00:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:00:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:00:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:00:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo 17:00:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo 17:00:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo 17:00:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3 [Pipeline] echo 17:00:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6de10c2 [Pipeline] echo 17:00:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:00:36 + git rev-list -1 --merges 6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3~1..6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3 [Pipeline] echo 17:00:36 -----------> git rev-list -1 --merges 6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3~1..6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3 6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3 [false] [Pipeline] sh 17:00:36 + git log --format=format:%s -1 6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3 [Pipeline] echo 17:00:36 ========================================================= 17:00:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:00:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:00:37 + git log --format=format:%s -1 6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3 [Pipeline] echo 17:00:37 [semverPrep] GIT_COMMIT: 6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v4 [Pipeline] echo 17:00:37 [semverPrep] This is not a build commit. [Pipeline] sh 17:00:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:00:37 + grep -v github /etc/ssh/ssh_known_hosts 17:00:37 + [ -e /tmp/ssh_known_hosts ] 17:00:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:00:37 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 17:00:37 tee -a /etc/ssh/ssh_known_hosts 17:00:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:00:38 17:00:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:00:38 0.1.4: Pulling from edgex-devops/py-git-semver 17:00:38 3dae71ba6b94: Pulling fs layer 17:00:38 6bf1a483ea7c: Pulling fs layer 17:00:38 f5dfc541a4d3: Pulling fs layer 17:00:38 461d9e800cba: Pulling fs layer 17:00:38 80192f66455f: Pulling fs layer 17:00:38 2e8e34ca0e6c: Pulling fs layer 17:00:38 a29436f7fd5d: Pulling fs layer 17:00:38 923cac83aea3: Pulling fs layer 17:00:38 25ad8b0a4227: Pulling fs layer 17:00:38 db01528c6b51: Pulling fs layer 17:00:38 28988de357af: Pulling fs layer 17:00:38 80192f66455f: Waiting 17:00:38 2e8e34ca0e6c: Waiting 17:00:38 a29436f7fd5d: Waiting 17:00:38 923cac83aea3: Waiting 17:00:38 25ad8b0a4227: Waiting 17:00:38 db01528c6b51: Waiting 17:00:38 28988de357af: Waiting 17:00:38 461d9e800cba: Waiting 17:00:38 6bf1a483ea7c: Verifying Checksum 17:00:38 6bf1a483ea7c: Download complete 17:00:38 461d9e800cba: Download complete 17:00:38 80192f66455f: Verifying Checksum 17:00:38 80192f66455f: Download complete 17:00:38 f5dfc541a4d3: Verifying Checksum 17:00:38 f5dfc541a4d3: Download complete 17:00:39 3dae71ba6b94: Verifying Checksum 17:00:39 3dae71ba6b94: Download complete 17:00:39 923cac83aea3: Verifying Checksum 17:00:39 25ad8b0a4227: Verifying Checksum 17:00:39 25ad8b0a4227: Download complete 17:00:39 db01528c6b51: Download complete 17:00:39 28988de357af: Download complete 17:00:39 a29436f7fd5d: Verifying Checksum 17:00:39 a29436f7fd5d: Download complete 17:00:39 2e8e34ca0e6c: Verifying Checksum 17:00:39 2e8e34ca0e6c: Download complete 17:00:40 3dae71ba6b94: Pull complete 17:00:40 6bf1a483ea7c: Pull complete 17:00:41 f5dfc541a4d3: Pull complete 17:00:41 461d9e800cba: Pull complete 17:00:41 80192f66455f: Pull complete 17:00:46 2e8e34ca0e6c: Pull complete 17:00:46 a29436f7fd5d: Pull complete 17:00:46 923cac83aea3: Pull complete 17:00:46 25ad8b0a4227: Pull complete 17:00:46 db01528c6b51: Pull complete 17:00:46 28988de357af: Pull complete 17:00:46 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 17:00:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:00:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:46 prd-ubuntu20.04-docker-8c-8g-4477 does not seem to be running inside a container 17:00:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-423 -v /w/workspace/xfoundry_go-mod-messaging_PR-423:/w/workspace/xfoundry_go-mod-messaging_PR-423:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-423@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-423@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 17:00:51 $ docker top 0e35c2c2a8190e090cebf4a82a4f169a915a267617a9a6703c3d99f4df865b01 -eo pid,comm 17:00:51 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). 17:00:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:00:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:00:52 [ssh-agent] Looking for ssh-agent implementation... 17:00:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:00:52 $ docker exec 0e35c2c2a8190e090cebf4a82a4f169a915a267617a9a6703c3d99f4df865b01 ssh-agent 17:00:52 SSH_AUTH_SOCK=/tmp/ssh-igdHXKlN8WQY/agent.32 17:00:52 SSH_AGENT_PID=38 17:00:52 Running ssh-add (command line suppressed) 17:00:52 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-423@tmp/private_key_7129528756524040317.key (/w/workspace/xfoundry_go-mod-messaging_PR-423@tmp/private_key_7129528756524040317.key) 17:00:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:00:52 + git tag --points-at HEAD [Pipeline] } 17:00:52 $ docker exec --env ******** --env ******** 0e35c2c2a8190e090cebf4a82a4f169a915a267617a9a6703c3d99f4df865b01 ssh-agent -k 17:00:52 unset SSH_AUTH_SOCK; 17:00:52 unset SSH_AGENT_PID; 17:00:52 echo Agent pid 38 killed; 17:00:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:00:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:00:52 [ssh-agent] Looking for ssh-agent implementation... 17:00:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:00:53 $ docker exec 0e35c2c2a8190e090cebf4a82a4f169a915a267617a9a6703c3d99f4df865b01 ssh-agent 17:00:53 SSH_AUTH_SOCK=/tmp/ssh-Efcaa4erscTB/agent.71 17:00:53 SSH_AGENT_PID=77 17:00:53 Running ssh-add (command line suppressed) 17:00:53 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-423@tmp/private_key_1051337542259633823.key (/w/workspace/xfoundry_go-mod-messaging_PR-423@tmp/private_key_1051337542259633823.key) 17:00:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:00:53 + git semver init 17:00:53 2025-07-03 17:00:53,833 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 17:00:53 2025-07-03 17:00:53,837 [run_init] DEBUG init version:0.0.0 force:False 17:00:53 2025-07-03 17:00:53,838 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-423/.semver 17:00:53 2025-07-03 17:00:53,838 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-423/.semver 17:00:53 2025-07-03 17:00:53,838 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-423/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-423, stdin=None, shell=False, universal_newlines=False) 17:00:54 2025-07-03 17:00:54,594 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-423/.git/info/exclude 17:00:54 2025-07-03 17:00:54,594 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-423/.semver/PR-423 with force:False 17:00:54 2025-07-03 17:00:54,594 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-423/.semver/PR-423 17:00:54 2025-07-03 17:00:54,599 [execute] INFO git cat-file --batch-check 17:00:54 2025-07-03 17:00:54,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-423/.semver, stdin=, shell=False, universal_newlines=False) 17:00:54 2025-07-03 17:00:54,604 [execute] INFO git cat-file --batch 17:00:54 2025-07-03 17:00:54,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-423/.semver, stdin=, shell=False, universal_newlines=False) 17:00:54 2025-07-03 17:00:54,607 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-423/.semver/PR-423 17:00:54 0.0.0 [Pipeline] } 17:00:54 $ docker exec --env ******** --env ******** 0e35c2c2a8190e090cebf4a82a4f169a915a267617a9a6703c3d99f4df865b01 ssh-agent -k 17:00:54 unset SSH_AUTH_SOCK; 17:00:54 unset SSH_AGENT_PID; 17:00:54 echo Agent pid 77 killed; 17:00:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:00:55 + git semver [Pipeline] } 17:00:55 $ docker stop --time=1 0e35c2c2a8190e090cebf4a82a4f169a915a267617a9a6703c3d99f4df865b01 17:00:56 $ docker rm -f --volumes 0e35c2c2a8190e090cebf4a82a4f169a915a267617a9a6703c3d99f4df865b01 [Pipeline] // withDockerContainer [Pipeline] sh 17:00:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:00:57 Stashed 1 file(s) [Pipeline] echo 17:00:57 [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 17:00:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 17:00:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 17:00:59 ========================================================= 17:00:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 17:00:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:00:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 17:00:59 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 17:00:59 0a9a5dfd008f: Pulling fs layer 17:00:59 36466aa92d05: Pulling fs layer 17:00:59 e10405b45d13: Pulling fs layer 17:00:59 096b7ceb2af7: Pulling fs layer 17:00:59 4f4fb700ef54: Pulling fs layer 17:00:59 8213a616a21b: Pulling fs layer 17:00:59 985586143405: Pulling fs layer 17:00:59 0eae2285b678: Pulling fs layer 17:00:59 d3ac315be8c5: Pulling fs layer 17:00:59 8213a616a21b: Waiting 17:00:59 096b7ceb2af7: Waiting 17:00:59 4f4fb700ef54: Waiting 17:00:59 0eae2285b678: Waiting 17:00:59 d3ac315be8c5: Waiting 17:00:59 985586143405: Waiting 17:00:59 36466aa92d05: Verifying Checksum 17:00:59 36466aa92d05: Download complete 17:00:59 096b7ceb2af7: Verifying Checksum 17:00:59 096b7ceb2af7: Download complete 17:00:59 4f4fb700ef54: Verifying Checksum 17:00:59 4f4fb700ef54: Download complete 17:00:59 8213a616a21b: Verifying Checksum 17:00:59 8213a616a21b: Download complete 17:00:59 0a9a5dfd008f: Verifying Checksum 17:00:59 0a9a5dfd008f: Download complete 17:00:59 985586143405: Verifying Checksum 17:00:59 985586143405: Download complete 17:00:59 0a9a5dfd008f: Pull complete 17:00:59 d3ac315be8c5: Verifying Checksum 17:00:59 d3ac315be8c5: Download complete 17:01:00 36466aa92d05: Pull complete 17:01:00 e10405b45d13: Verifying Checksum 17:01:00 e10405b45d13: Download complete 17:01:00 0eae2285b678: Verifying Checksum 17:01:00 0eae2285b678: Download complete 17:01:06 e10405b45d13: Pull complete 17:01:06 096b7ceb2af7: Pull complete 17:01:06 4f4fb700ef54: Pull complete 17:01:06 8213a616a21b: Pull complete 17:01:06 985586143405: Pull complete 17:01:08 0eae2285b678: Pull complete 17:01:08 d3ac315be8c5: Pull complete 17:01:08 Digest: sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 17:01:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 17:01:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [Pipeline] sh 17:01:09 + 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 17:01:09 + docker inspect -f . ci-base-image-x86_64 17:01:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:09 prd-ubuntu20.04-docker-8c-8g-4477 does not seem to be running inside a container 17:01:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-423 -v /w/workspace/xfoundry_go-mod-messaging_PR-423:/w/workspace/xfoundry_go-mod-messaging_PR-423:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-423@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-423@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 17:01:14 $ docker top 3ee3ed1120bd0c30c52273d096b8e901e044f1147e9cd928ea5e2beeb9dfcbda -eo pid,comm [Pipeline] { [Pipeline] sh 17:01:14 + go version 17:01:14 go version go1.23.9 linux/amd64 [Pipeline] } 17:01:14 $ docker stop --time=1 3ee3ed1120bd0c30c52273d096b8e901e044f1147e9cd928ea5e2beeb9dfcbda 17:01:16 $ docker rm -f --volumes 3ee3ed1120bd0c30c52273d096b8e901e044f1147e9cd928ea5e2beeb9dfcbda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:16 + docker inspect -f . ci-base-image-x86_64 17:01:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:17 prd-ubuntu20.04-docker-8c-8g-4477 does not seem to be running inside a container 17:01:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_go-mod-messaging_PR-423 -v /w/workspace/xfoundry_go-mod-messaging_PR-423:/w/workspace/xfoundry_go-mod-messaging_PR-423:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-423@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-423@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 17:01:17 $ docker top 4fcbd578d634a1054ec6324118741b50da92e1c0e8f8ab100909bd87ac4cc6e5 -eo pid,comm [Pipeline] { [Pipeline] sh 17:01:17 + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-messaging_PR-423 [Pipeline] fileExists [Pipeline] sh 17:01:18 + make test 17:01:18 go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... 17:01:18 go: downloading github.com/stretchr/testify v1.10.0 17:01:18 go: downloading github.com/google/uuid v1.6.0 17:01:18 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.1.0-dev.7 17:01:18 go: downloading github.com/fxamacker/cbor/v2 v2.8.0 17:01:18 go: downloading github.com/nats-io/nats.go v1.42.0 17:01:18 go: downloading github.com/eclipse/paho.mqtt.golang v1.5.0 17:01:18 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:01:18 go: downloading github.com/x448/float16 v0.8.4 17:01:18 go: downloading github.com/davecgh/go-spew v1.1.1 17:01:18 go: downloading github.com/pmezard/go-difflib v1.0.0 17:01:18 go: downloading github.com/stretchr/objx v0.5.2 17:01:18 go: downloading github.com/go-playground/validator/v10 v10.27.0 17:01:18 go: downloading github.com/hashicorp/errwrap v1.0.0 17:01:18 go: downloading github.com/gorilla/websocket v1.5.3 17:01:18 go: downloading golang.org/x/net v0.38.0 17:01:18 go: downloading golang.org/x/sync v0.13.0 17:01:18 go: downloading gopkg.in/yaml.v3 v3.0.1 17:01:18 go: downloading github.com/klauspost/compress v1.18.0 17:01:18 go: downloading github.com/nats-io/nkeys v0.4.11 17:01:18 go: downloading github.com/nats-io/nuid v1.0.1 17:01:18 go: downloading github.com/gabriel-vasile/mimetype v1.4.8 17:01:18 go: downloading github.com/go-playground/universal-translator v0.18.1 17:01:18 go: downloading github.com/leodido/go-urn v1.4.0 17:01:18 go: downloading golang.org/x/crypto v0.37.0 17:01:18 go: downloading golang.org/x/text v0.24.0 17:01:18 go: downloading github.com/go-playground/locales v0.14.1 17:01:19 go: downloading golang.org/x/sys v0.32.0 17:01:41 ? github.com/edgexfoundry/go-mod-messaging/v4/internal/pkg/nats/interfaces [no test files] 17:01:41 github.com/edgexfoundry/go-mod-messaging/v4/internal/pkg/nats/interfaces/mocks coverage: 0.0% of statements 17:01:41 ok github.com/edgexfoundry/go-mod-messaging/v4/clients 1.026s coverage: 86.0% of statements 17:01:41 github.com/edgexfoundry/go-mod-messaging/v4/messaging/mocks coverage: 0.0% of statements 17:01:45 ok github.com/edgexfoundry/go-mod-messaging/v4/internal/pkg 6.029s coverage: 19.3% of statements 17:01:45 ok github.com/edgexfoundry/go-mod-messaging/v4/internal/pkg/mqtt 1.059s coverage: 85.2% of statements 17:01:45 ok github.com/edgexfoundry/go-mod-messaging/v4/internal/pkg/nats 1.043s coverage: 80.2% of statements 17:01:45 ok github.com/edgexfoundry/go-mod-messaging/v4/internal/pkg/nats/jetstream 1.021s coverage: 15.4% of statements 17:01:45 ok github.com/edgexfoundry/go-mod-messaging/v4/messaging 1.023s coverage: 100.0% of statements 17:01:45 ok github.com/edgexfoundry/go-mod-messaging/v4/messaging/mqtt 1.024s coverage: 100.0% of statements 17:01:45 ok github.com/edgexfoundry/go-mod-messaging/v4/pkg/types 1.026s coverage: 61.5% of statements 17:02:00 go vet ./... 17:02:20 Cannot contact prd-ubuntu20.04-docker-8c-8g-4477: java.lang.InterruptedException 17:02:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:02:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 17:02:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 17:02:40 $ docker stop --time=1 4fcbd578d634a1054ec6324118741b50da92e1c0e8f8ab100909bd87ac4cc6e5 17:02:41 $ docker rm -f --volumes 4fcbd578d634a1054ec6324118741b50da92e1c0e8f8ab100909bd87ac4cc6e5 [Pipeline] // withDockerContainer [Pipeline] sh 17:02:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:02:42 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 17:02:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:02:43 17:02:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:02:43 latest: Pulling from edgex-lftools-log-publisher 17:02:43 5eb5b503b376: Pulling fs layer 17:02:43 5c69ac0246d0: Pulling fs layer 17:02:43 ec43610c2a17: Pulling fs layer 17:02:43 3a2ae6a8a46f: Pulling fs layer 17:02:43 33b1e0a273af: Pulling fs layer 17:02:43 5d3b04190fa2: Pulling fs layer 17:02:43 2f39f015ded8: Pulling fs layer 17:02:43 3a2ae6a8a46f: Waiting 17:02:43 5d3b04190fa2: Waiting 17:02:43 2f39f015ded8: Waiting 17:02:43 33b1e0a273af: Waiting 17:02:43 5c69ac0246d0: Verifying Checksum 17:02:43 3a2ae6a8a46f: Verifying Checksum 17:02:43 3a2ae6a8a46f: Download complete 17:02:43 33b1e0a273af: Verifying Checksum 17:02:43 33b1e0a273af: Download complete 17:02:43 5d3b04190fa2: Verifying Checksum 17:02:43 5d3b04190fa2: Download complete 17:02:43 ec43610c2a17: Verifying Checksum 17:02:43 ec43610c2a17: Download complete 17:02:44 5eb5b503b376: Verifying Checksum 17:02:44 5eb5b503b376: Download complete 17:02:44 2f39f015ded8: Download complete 17:02:45 5eb5b503b376: Pull complete 17:02:45 5c69ac0246d0: Pull complete 17:02:46 ec43610c2a17: Pull complete 17:02:46 3a2ae6a8a46f: Pull complete 17:02:46 33b1e0a273af: Pull complete 17:02:46 5d3b04190fa2: Pull complete 17:02:51 2f39f015ded8: Pull complete 17:02:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:02:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:02:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:52 prd-ubuntu20.04-docker-8c-8g-4477 does not seem to be running inside a container 17:02:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-messaging_PR-423 -v /w/workspace/xfoundry_go-mod-messaging_PR-423:/w/workspace/xfoundry_go-mod-messaging_PR-423:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-423@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-423@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 17:02:56 $ docker top 937a2813438c1c12c0d4c30c646f02404df24234712530c4cb499f3899324c6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:02:57 ---> job-cost.sh 17:02:57 lf-activate-venv: SKIPPING 17:02:57 INFO: No Stack... 17:02:57 INFO: Retrieving Pricing Info for: v3-standard-8 17:02:57 INFO: Archiving Costs [Pipeline] sh 17:02:57 + cat /w/workspace/xfoundry_go-mod-messaging_PR-423/archives/cost.csv 17:02:57 + cut -d, -f6 [Pipeline] lock 17:02:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-go-mod-messaging-PR-423-1-stack-cost] 17:02:57 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-423-1-stack-cost] did not exist. Created. 17:02:57 Lock acquired on [Resource: jenkins-edgexfoundry-go-mod-messaging-PR-423-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:02:58 + echo total: 0.2199999988079071 [Pipeline] stash 17:02:58 Stashed 1 file(s) [Pipeline] } 17:02:58 Lock released on resource [Resource: jenkins-edgexfoundry-go-mod-messaging-PR-423-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:02:58 $ docker stop --time=1 937a2813438c1c12c0d4c30c646f02404df24234712530c4cb499f3899324c6f 17:02:59 $ docker rm -f --volumes 937a2813438c1c12c0d4c30c646f02404df24234712530c4cb499f3899324c6f [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 17:03:00 provisioning config files... 17:03:00 copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-423@tmp/config4754071118546850498tmp [Pipeline] { [Pipeline] sh 17:03:00 + set +x 17:03:00 + curl -s https://codecov.io/bash 17:03:00 + bash -s -- 17:03:00 17:03:00 _____ _ 17:03:00 / ____| | | 17:03:00 | | ___ __| | ___ ___ _____ __ 17:03:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:03:00 | |___| (_) | (_| | __/ (_| (_) \ V / 17:03:00 \_____\___/ \__,_|\___|\___\___/ \_/ 17:03:00 Bash-1.0.6 17:03:00 17:03:00 17:03:00 ==> git version 2.25.1 found 17:03:00 ==> 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 17:03:00 Release-Date: 2020-01-08 17:03:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:03:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:03:00 ==> Jenkins CI detected. 17:03:00 current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-423 17:03:00 project root: . 17:03:00 --> token set from env 17:03:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:03:00 ==> Running gcov in . (disable via -X gcov) 17:03:00 ==> Python coveragepy not found 17:03:00 ==> Searching for coverage reports in: 17:03:00 + . 17:03:00 -> Found 1 reports 17:03:00 ==> Detecting git/mercurial file structure 17:03:00 ==> Reading reports 17:03:00 + ./coverage.out bytes=60312 17:03:01 ==> Appending adjustments 17:03:01 https://docs.codecov.io/docs/fixing-reports 17:03:01 + Found adjustments 17:03:01 ==> Gzipping contents 17:03:01 12K /tmp/codecov.fPWxSV.gz 17:03:01 ==> Uploading reports 17:03:01 url: https://codecov.io 17:03:01 query: branch=PR-423&commit=6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-423%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=423&job=&cmd_args= 17:03:01 -> Pinging Codecov 17:03:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-423&commit=6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-423%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=423&job=&cmd_args= 17:03:01 -> Uploading to 17:03:01 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/go-mod-messaging/6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3/77143fc2-d5ea-4612-91fa-1ec0fb3ead6c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250703%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250703T170301Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=b589897e5115e9bcc9bad73eed62d1b5ff8577acc2842ee5d3eb2ef59d79142d 17:03:01 % Total % Received % Xferd Average Speed Time Time Time Current 17:03:01 Dload Upload Total Spent Left Speed 17:03:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8450 0 0 100 8450 0 34917 --:--:-- --:--:-- --:--:-- 34917 17:03:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-messaging/commit/6de10c2e19d53fb7c1c6fb01ab457e2257c8fcb3 [Pipeline] } 17:03:01 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 17:03:03 + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-423/archives ] 17:03:03 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-423/archives 17:03:03 total 16 17:03:03 drwxr-xr-x 3 root root 4096 Jul 3 17:02 . 17:03:03 drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 17:02 .. 17:03:03 drwxr-xr-x 2 root root 4096 Jul 3 17:02 cost 17:03:03 -rw-r--r-- 1 root root 88 Jul 3 17:02 cost.csv 17:03:03 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-423/archives 17:03:03 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-423/archives 17:03:03 total 16 17:03:03 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 17:02 . 17:03:03 drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 17:02 .. 17:03:03 drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 17:02 cost 17:03:03 -rw-r--r-- 1 jenkins jenkins 88 Jul 3 17:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:03:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:03:05 ---> package-listing.sh 17:03:05 ++ facter osfamily 17:03:05 ++ tr '[:upper:]' '[:lower:]' 17:03:05 + OS_FAMILY=debian 17:03:05 + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-423 17:03:05 + START_PACKAGES=/tmp/packages_start.txt 17:03:05 + END_PACKAGES=/tmp/packages_end.txt 17:03:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:03:05 + PACKAGES=/tmp/packages_start.txt 17:03:05 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-423 ']' 17:03:05 + PACKAGES=/tmp/packages_end.txt 17:03:05 + case "${OS_FAMILY}" in 17:03:05 + dpkg -l 17:03:05 + grep '^ii' 17:03:05 + '[' -f /tmp/packages_start.txt ']' 17:03:05 + '[' -f /tmp/packages_end.txt ']' 17:03:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:03:05 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-423 ']' 17:03:05 + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-423/archives/ 17:03:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-423/archives/ [Pipeline] echo 17:03:05 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-messaging_PR-423/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:03:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:03:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:03:06 prd-ubuntu20.04-docker-8c-8g-4477 does not seem to be running inside a container 17:03:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-messaging_PR-423/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-messaging_PR-423 -v /w/workspace/xfoundry_go-mod-messaging_PR-423:/w/workspace/xfoundry_go-mod-messaging_PR-423:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-423@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-423@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 17:03:06 $ docker top 6c8d722a12e47f56846af1c7acc0c1b26ed05fa72ee1506c148f10d9d22ae4cb -eo pid,comm [Pipeline] { [Pipeline] sh 17:03:07 + touch /tmp/pre-build-complete [Pipeline] sh 17:03:07 + mkdir -p /var/log/sysstat [Pipeline] sh 17:03:07 + ls /var/log/sa-host 17:03:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:03:07 provisioning config files... 17:03:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-423@tmp/config14604363008075071674tmp [Pipeline] { [Pipeline] echo 17:03:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:03:08 ---> create-netrc.sh [Pipeline] } 17:03:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:03:08 ---> python-tools-install.sh [Pipeline] echo 17:03:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:03:09 ---> sudo-logs.sh 17:03:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:03:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:03:09 ---> job-cost.sh 17:03:09 lf-activate-venv: SKIPPING 17:03:09 DEBUG: total: 0.2199999988079071 17:03:09 INFO: Retrieving Stack Cost... 17:03:09 INFO: Retrieving Pricing Info for: v3-standard-8 17:03:09 INFO: Archiving Costs [Pipeline] echo 17:03:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:03:10 ---> logs-deploy.sh 17:03:10 lf-activate-venv: SKIPPING 17:03:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-423/1 17:03:10 INFO: archiving workspace using pattern(s): 17:03:11 Archives upload complete. 17:03:11 INFO: archiving logs to Nexus