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