Pull request #291 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d4f2a07578240ab886011388918d81e70d119a50+0c655b0b2b6a0d85a91ef5af57fc4d542ae64db4 (b919923e5945810a689384ca3bbd90d41446283a) 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-ssh13816778688791056911.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh6766923369712349326.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-291/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-291/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5696742339684842413.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-291/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17587954301146564081.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh13972233242813327558.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-291/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-291/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4325085117345111621.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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 on ‘prd-ubuntu20.04-docker-8c-8g-15629’ Running on prd-ubuntu20.04-docker-8c-8g-15649 in /w/workspace/xfoundry_go-mod-messaging_PR-291 [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-291 # 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 > 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/291/head:refs/remotes/origin/PR-291 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0c655b0b2b6a0d85a91ef5af57fc4d542ae64db4 into PR head commit d4f2a07578240ab886011388918d81e70d119a50 Merge succeeded, producing d4f2a07578240ab886011388918d81e70d119a50 Checking out Revision d4f2a07578240ab886011388918d81e70d119a50 (PR-291) Commit message: "build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-31T21:36:35.343Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-31T21:36:35.546Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f d4f2a07578240ab886011388918d81e70d119a50 # 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 0c655b0b2b6a0d85a91ef5af57fc4d542ae64db4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4f2a07578240ab886011388918d81e70d119a50 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-31T21:36:35.654Z] ========================================================= [2023-10-31T21:36:35.654Z] EdgeX Global Pipelines Version Info [2023-10-31T21:36:35.655Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:36:36.531Z] ------------------- [2023-10-31T21:36:36.531Z] stable info: [2023-10-31T21:36:36.531Z] ------------------- [2023-10-31T21:36:36.531Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-31T21:36:36.531Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-31T21:36:36.531Z] Message: update stable to v1.0.254 [2023-10-31T21:36:37.102Z] ------------------- [2023-10-31T21:36:37.102Z] experimental info: [2023-10-31T21:36:37.102Z] ------------------- [2023-10-31T21:36:37.102Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-31T21:36:37.102Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-10-31T21:36:37.102Z] Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-31T21:36:37.406Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2023-10-31T21:36:37.456Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2023-10-31T21:36:37.500Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-31T21:36:37.543Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-31T21:36:37.597Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-31T21:36:37.660Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-31T21:36:37.702Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-31T21:36:37.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-31T21:36:37.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-31T21:36:37.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-31T21:36:37.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-31T21:36:37.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo [2023-10-31T21:36:37.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-31T21:36:38.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-31T21:36:38.050Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-10-31T21:36:38.090Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-31T21:36:38.137Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-31T21:36:38.180Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-31T21:36:38.221Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-31T21:36:38.275Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-31T21:36:38.325Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-31T21:36:38.376Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-31T21:36:38.422Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-31T21:36:38.470Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-31T21:36:38.519Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-10-31T21:36:38.566Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-31T21:36:38.614Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-31T21:36:38.662Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-291 [Pipeline] echo [2023-10-31T21:36:38.712Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-291 [Pipeline] echo [2023-10-31T21:36:38.758Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-291 [Pipeline] echo [2023-10-31T21:36:38.799Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d4f2a07578240ab886011388918d81e70d119a50 [Pipeline] echo [2023-10-31T21:36:38.843Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d4f2a07 [Pipeline] echo [2023-10-31T21:36:38.885Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-31T21:36:39.473Z] + git rev-list -1 --merges d4f2a07578240ab886011388918d81e70d119a50~1..d4f2a07578240ab886011388918d81e70d119a50 [Pipeline] echo [2023-10-31T21:36:39.569Z] -----------> git rev-list -1 --merges d4f2a07578240ab886011388918d81e70d119a50~1..d4f2a07578240ab886011388918d81e70d119a50 d4f2a07578240ab886011388918d81e70d119a50 [false] [Pipeline] sh [2023-10-31T21:36:39.937Z] + git log --format=format:%s -1 d4f2a07578240ab886011388918d81e70d119a50 [Pipeline] echo [2023-10-31T21:36:39.972Z] ========================================================= [2023-10-31T21:36:39.973Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-31T21:36:39.973Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T21:36:40.505Z] + git log --format=format:%s -1 d4f2a07578240ab886011388918d81e70d119a50 [Pipeline] echo [2023-10-31T21:36:40.540Z] [semverPrep] GIT_COMMIT: d4f2a07578240ab886011388918d81e70d119a50, Commit Message: build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6 [Pipeline] echo [2023-10-31T21:36:40.574Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-31T21:36:41.079Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-31T21:36:41.079Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-31T21:36:41.079Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-31T21:36:41.079Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-31T21:36:41.079Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-31T21:36:41.079Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-31T21:36:41.079Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:36:41.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T21:36:41.837Z] [2023-10-31T21:36:41.837Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:36:42.220Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T21:36:42.220Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-31T21:36:42.220Z] b85a868b505f: Pulling fs layer [2023-10-31T21:36:42.220Z] e2be974225ed: Pulling fs layer [2023-10-31T21:36:42.220Z] 339a4e72a1f5: Pulling fs layer [2023-10-31T21:36:42.220Z] 988bab9f4d93: Pulling fs layer [2023-10-31T21:36:42.220Z] 1469e6f7b9e6: Pulling fs layer [2023-10-31T21:36:42.220Z] eaf3925da568: Pulling fs layer [2023-10-31T21:36:42.220Z] bab4dde63d76: Pulling fs layer [2023-10-31T21:36:42.220Z] bde34c3a00c8: Pulling fs layer [2023-10-31T21:36:42.220Z] b352a97aabf1: Pulling fs layer [2023-10-31T21:36:42.220Z] 4872d77fe225: Pulling fs layer [2023-10-31T21:36:42.220Z] 5851b861e8e6: Pulling fs layer [2023-10-31T21:36:42.220Z] eaf3925da568: Waiting [2023-10-31T21:36:42.220Z] bab4dde63d76: Waiting [2023-10-31T21:36:42.220Z] b352a97aabf1: Waiting [2023-10-31T21:36:42.220Z] 988bab9f4d93: Waiting [2023-10-31T21:36:42.220Z] bde34c3a00c8: Waiting [2023-10-31T21:36:42.220Z] 1469e6f7b9e6: Waiting [2023-10-31T21:36:42.220Z] 4872d77fe225: Waiting [2023-10-31T21:36:42.220Z] 5851b861e8e6: Waiting [2023-10-31T21:36:42.220Z] e2be974225ed: Verifying Checksum [2023-10-31T21:36:42.220Z] e2be974225ed: Download complete [2023-10-31T21:36:42.220Z] 988bab9f4d93: Download complete [2023-10-31T21:36:42.481Z] 339a4e72a1f5: Verifying Checksum [2023-10-31T21:36:42.481Z] 339a4e72a1f5: Download complete [2023-10-31T21:36:42.481Z] eaf3925da568: Verifying Checksum [2023-10-31T21:36:42.481Z] eaf3925da568: Download complete [2023-10-31T21:36:42.481Z] 1469e6f7b9e6: Verifying Checksum [2023-10-31T21:36:42.481Z] 1469e6f7b9e6: Download complete [2023-10-31T21:36:42.481Z] bde34c3a00c8: Download complete [2023-10-31T21:36:42.481Z] b352a97aabf1: Download complete [2023-10-31T21:36:42.481Z] 4872d77fe225: Verifying Checksum [2023-10-31T21:36:42.481Z] 4872d77fe225: Download complete [2023-10-31T21:36:42.481Z] 5851b861e8e6: Verifying Checksum [2023-10-31T21:36:42.481Z] 5851b861e8e6: Download complete [2023-10-31T21:36:42.481Z] b85a868b505f: Verifying Checksum [2023-10-31T21:36:42.481Z] b85a868b505f: Download complete [2023-10-31T21:36:43.051Z] bab4dde63d76: Verifying Checksum [2023-10-31T21:36:43.051Z] bab4dde63d76: Download complete [2023-10-31T21:36:43.985Z] b85a868b505f: Pull complete [2023-10-31T21:36:43.985Z] e2be974225ed: Pull complete [2023-10-31T21:36:44.252Z] 339a4e72a1f5: Pull complete [2023-10-31T21:36:44.512Z] 988bab9f4d93: Pull complete [2023-10-31T21:36:44.772Z] 1469e6f7b9e6: Pull complete [2023-10-31T21:36:44.772Z] eaf3925da568: Pull complete [2023-10-31T21:36:46.683Z] bab4dde63d76: Pull complete [2023-10-31T21:36:46.945Z] bde34c3a00c8: Pull complete [2023-10-31T21:36:47.535Z] b352a97aabf1: Pull complete [2023-10-31T21:36:47.535Z] 4872d77fe225: Pull complete [2023-10-31T21:36:47.535Z] 5851b861e8e6: Pull complete [2023-10-31T21:36:47.535Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-31T21:36:47.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T21:36:47.535Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:36:47.781Z] prd-ubuntu20.04-docker-8c-8g-15649 does not seem to be running inside a container [2023-10-31T21:36:47.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-291 -v /w/workspace/xfoundry_go-mod-messaging_PR-291:/w/workspace/xfoundry_go-mod-messaging_PR-291:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-291@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-291@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 [2023-10-31T21:36:51.871Z] $ docker top ad72e9ddaa88108bb45a8fdba0c8190cbcd9c7495af4c8481096404927199565 -eo pid,comm [2023-10-31T21:36:51.926Z] 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). [2023-10-31T21:36:51.926Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-31T21:36:52.055Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-31T21:36:52.055Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-31T21:36:52.166Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-31T21:36:52.176Z] $ docker exec ad72e9ddaa88108bb45a8fdba0c8190cbcd9c7495af4c8481096404927199565 ssh-agent [2023-10-31T21:36:52.275Z] SSH_AUTH_SOCK=/tmp/ssh-Gl3m8cZ1oppi/agent.31 [2023-10-31T21:36:52.275Z] SSH_AGENT_PID=37 [2023-10-31T21:36:52.282Z] Running ssh-add (command line suppressed) [2023-10-31T21:36:52.380Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-291@tmp/private_key_16369252330321672395.key (/w/workspace/xfoundry_go-mod-messaging_PR-291@tmp/private_key_16369252330321672395.key) [2023-10-31T21:36:52.393Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-31T21:36:52.728Z] + git tag --points-at HEAD [Pipeline] } [2023-10-31T21:36:52.759Z] $ docker exec --env ******** --env ******** ad72e9ddaa88108bb45a8fdba0c8190cbcd9c7495af4c8481096404927199565 ssh-agent -k [2023-10-31T21:36:52.855Z] unset SSH_AUTH_SOCK; [2023-10-31T21:36:52.856Z] unset SSH_AGENT_PID; [2023-10-31T21:36:52.857Z] echo Agent pid 37 killed; [2023-10-31T21:36:52.864Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-31T21:36:52.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-31T21:36:52.965Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-31T21:36:53.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-31T21:36:53.086Z] $ docker exec ad72e9ddaa88108bb45a8fdba0c8190cbcd9c7495af4c8481096404927199565 ssh-agent [2023-10-31T21:36:53.194Z] SSH_AUTH_SOCK=/tmp/ssh-kFBJb1W45d86/agent.70 [2023-10-31T21:36:53.194Z] SSH_AGENT_PID=76 [2023-10-31T21:36:53.199Z] Running ssh-add (command line suppressed) [2023-10-31T21:36:53.309Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-291@tmp/private_key_2266676421095064513.key (/w/workspace/xfoundry_go-mod-messaging_PR-291@tmp/private_key_2266676421095064513.key) [2023-10-31T21:36:53.326Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-31T21:36:53.666Z] + git semver init [2023-10-31T21:36:53.926Z] 2023-10-31 21:36:53,857 [run_init] DEBUG init version:0.0.0 force:False [2023-10-31T21:36:53.926Z] 2023-10-31 21:36:53,858 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-291/.semver [2023-10-31T21:36:53.926Z] 2023-10-31 21:36:53,858 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-291/.semver [2023-10-31T21:36:53.926Z] 2023-10-31 21:36:53,859 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-291/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-291, universal_newlines=False, shell=None, istream=None) [2023-10-31T21:36:54.866Z] 2023-10-31 21:36:54,769 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-291/.git/info/exclude [2023-10-31T21:36:54.866Z] 2023-10-31 21:36:54,770 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-291/.semver/PR-291 with force:False [2023-10-31T21:36:54.866Z] 2023-10-31 21:36:54,770 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-291/.semver/PR-291 [2023-10-31T21:36:54.866Z] 2023-10-31 21:36:54,773 [execute] INFO git cat-file --batch-check [2023-10-31T21:36:54.866Z] 2023-10-31 21:36:54,773 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-291/.semver, universal_newlines=False, shell=None, istream=) [2023-10-31T21:36:54.866Z] 2023-10-31 21:36:54,780 [execute] INFO git cat-file --batch [2023-10-31T21:36:54.866Z] 2023-10-31 21:36:54,780 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-291/.semver, universal_newlines=False, shell=None, istream=) [2023-10-31T21:36:54.866Z] 2023-10-31 21:36:54,785 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-291/.semver/PR-291 [2023-10-31T21:36:54.866Z] 0.0.0 [Pipeline] } [2023-10-31T21:36:54.899Z] $ docker exec --env ******** --env ******** ad72e9ddaa88108bb45a8fdba0c8190cbcd9c7495af4c8481096404927199565 ssh-agent -k [2023-10-31T21:36:54.996Z] unset SSH_AUTH_SOCK; [2023-10-31T21:36:54.997Z] unset SSH_AGENT_PID; [2023-10-31T21:36:54.997Z] echo Agent pid 76 killed; [2023-10-31T21:36:55.002Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-31T21:36:55.438Z] + git semver [Pipeline] } [2023-10-31T21:36:55.731Z] $ docker stop --time=1 ad72e9ddaa88108bb45a8fdba0c8190cbcd9c7495af4c8481096404927199565 [2023-10-31T21:36:57.145Z] $ docker rm -f --volumes ad72e9ddaa88108bb45a8fdba0c8190cbcd9c7495af4c8481096404927199565 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-31T21:36:57.534Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-31T21:36:57.785Z] Stashed 1 file(s) [Pipeline] echo [2023-10-31T21:36:57.811Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2023-10-31T21:36:58.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:36:58.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:36:58.584Z] ========================================================= [2023-10-31T21:36:58.584Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-31T21:36:58.584Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-10-31T21:36:58.999Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-31T21:36:59.000Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-31T21:36:59.000Z] 7264a8db6415: Pulling fs layer [2023-10-31T21:36:59.000Z] c4d48a809fc2: Pulling fs layer [2023-10-31T21:36:59.000Z] 4f1c88b9dad5: Pulling fs layer [2023-10-31T21:36:59.000Z] ad3a456e5733: Pulling fs layer [2023-10-31T21:36:59.000Z] 33e27b845d1e: Pulling fs layer [2023-10-31T21:36:59.000Z] c68163c4e522: Pulling fs layer [2023-10-31T21:36:59.000Z] 50da416c3ac9: Pulling fs layer [2023-10-31T21:36:59.000Z] 33e27b845d1e: Waiting [2023-10-31T21:36:59.000Z] 23d2d4c4bb30: Pulling fs layer [2023-10-31T21:36:59.000Z] 50da416c3ac9: Waiting [2023-10-31T21:36:59.000Z] c68163c4e522: Waiting [2023-10-31T21:36:59.000Z] ad3a456e5733: Waiting [2023-10-31T21:36:59.000Z] c4d48a809fc2: Verifying Checksum [2023-10-31T21:36:59.000Z] c4d48a809fc2: Download complete [2023-10-31T21:36:59.000Z] ad3a456e5733: Verifying Checksum [2023-10-31T21:36:59.000Z] ad3a456e5733: Download complete [2023-10-31T21:36:59.000Z] 33e27b845d1e: Verifying Checksum [2023-10-31T21:36:59.000Z] 33e27b845d1e: Download complete [2023-10-31T21:36:59.259Z] 7264a8db6415: Verifying Checksum [2023-10-31T21:36:59.259Z] 7264a8db6415: Download complete [2023-10-31T21:36:59.259Z] c68163c4e522: Verifying Checksum [2023-10-31T21:36:59.259Z] c68163c4e522: Download complete [2023-10-31T21:36:59.259Z] 7264a8db6415: Pull complete [2023-10-31T21:36:59.521Z] 23d2d4c4bb30: Verifying Checksum [2023-10-31T21:36:59.521Z] 23d2d4c4bb30: Download complete [2023-10-31T21:36:59.521Z] c4d48a809fc2: Pull complete [2023-10-31T21:36:59.820Z] 4f1c88b9dad5: Verifying Checksum [2023-10-31T21:36:59.820Z] 4f1c88b9dad5: Download complete [2023-10-31T21:37:00.079Z] 50da416c3ac9: Verifying Checksum [2023-10-31T21:37:00.079Z] 50da416c3ac9: Download complete [2023-10-31T21:37:03.372Z] 4f1c88b9dad5: Pull complete [2023-10-31T21:37:03.642Z] ad3a456e5733: Pull complete [2023-10-31T21:37:03.901Z] 33e27b845d1e: Pull complete [2023-10-31T21:37:04.161Z] c68163c4e522: Pull complete [2023-10-31T21:37:07.468Z] 50da416c3ac9: Pull complete [2023-10-31T21:37:07.733Z] 23d2d4c4bb30: Pull complete [2023-10-31T21:37:07.998Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-31T21:37:07.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-31T21:37:07.998Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [Pipeline] sh [2023-10-31T21:37:08.312Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:37:08.687Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-31T21:37:08.687Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:37:08.850Z] prd-ubuntu20.04-docker-8c-8g-15649 does not seem to be running inside a container [2023-10-31T21:37:08.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-291 -v /w/workspace/xfoundry_go-mod-messaging_PR-291:/w/workspace/xfoundry_go-mod-messaging_PR-291:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-291@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-291@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 [2023-10-31T21:37:13.310Z] Still waiting to schedule task [2023-10-31T21:37:13.310Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15630’ [2023-10-31T21:37:15.308Z] $ docker top 29ab85302c1534e09aecd7e94526682eaf9c3b6d947668fd40b753d900605db0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:37:15.703Z] + go version [2023-10-31T21:37:15.703Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-31T21:37:15.744Z] $ docker stop --time=1 29ab85302c1534e09aecd7e94526682eaf9c3b6d947668fd40b753d900605db0 [2023-10-31T21:37:17.153Z] $ docker rm -f --volumes 29ab85302c1534e09aecd7e94526682eaf9c3b6d947668fd40b753d900605db0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:37:18.025Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-31T21:37:18.025Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:37:18.171Z] prd-ubuntu20.04-docker-8c-8g-15649 does not seem to be running inside a container [2023-10-31T21:37:18.207Z] $ 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-291 -v /w/workspace/xfoundry_go-mod-messaging_PR-291:/w/workspace/xfoundry_go-mod-messaging_PR-291:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-291@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-291@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 [2023-10-31T21:37:18.559Z] $ docker top eee7d1f482d57bed21a11f4226a1710a5b90f455df9eb578043bd562bfdc3b97 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:37:18.964Z] + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-messaging_PR-291 [Pipeline] fileExists [Pipeline] sh [2023-10-31T21:37:19.320Z] + make test [2023-10-31T21:37:19.320Z] go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2023-10-31T21:37:19.320Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-10-31T21:37:19.320Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-10-31T21:37:19.320Z] go: downloading github.com/nats-io/nats.go v1.31.0 [2023-10-31T21:37:19.320Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-10-31T21:37:19.320Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.17 [2023-10-31T21:37:19.320Z] go: downloading github.com/google/uuid v1.3.1 [2023-10-31T21:37:19.583Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2023-10-31T21:37:19.583Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-10-31T21:37:19.583Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-10-31T21:37:19.583Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-10-31T21:37:19.583Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-10-31T21:37:19.583Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-10-31T21:37:19.583Z] go: downloading github.com/go-playground/validator/v10 v10.15.5 [2023-10-31T21:37:19.583Z] go: downloading github.com/fxamacker/cbor/v2 v2.5.0 [2023-10-31T21:37:19.583Z] go: downloading github.com/gorilla/websocket v1.5.0 [2023-10-31T21:37:19.583Z] go: downloading golang.org/x/net v0.17.0 [2023-10-31T21:37:19.583Z] go: downloading golang.org/x/sync v0.1.0 [2023-10-31T21:37:19.842Z] go: downloading github.com/klauspost/compress v1.17.1 [2023-10-31T21:37:19.842Z] go: downloading github.com/nats-io/nkeys v0.4.6 [2023-10-31T21:37:19.842Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-10-31T21:37:19.842Z] go: downloading github.com/x448/float16 v0.8.4 [2023-10-31T21:37:19.842Z] go: downloading golang.org/x/crypto v0.14.0 [2023-10-31T21:37:19.842Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-10-31T21:37:19.842Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2023-10-31T21:37:19.842Z] go: downloading github.com/leodido/go-urn v1.2.4 [2023-10-31T21:37:19.842Z] go: downloading golang.org/x/text v0.13.0 [2023-10-31T21:37:20.104Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-10-31T21:37:20.104Z] go: downloading golang.org/x/sys v0.13.0 [2023-10-31T21:37:42.106Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] [2023-10-31T21:37:42.106Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] [2023-10-31T21:37:42.106Z] ok github.com/edgexfoundry/go-mod-messaging/v3/clients 1.053s coverage: 88.6% of statements [2023-10-31T21:37:42.106Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] [2023-10-31T21:37:42.106Z] ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] [2023-10-31T21:37:45.415Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg 6.043s coverage: 19.8% of statements [2023-10-31T21:37:45.415Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 1.066s coverage: 88.8% of statements [2023-10-31T21:37:45.415Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats 1.071s coverage: 86.2% of statements [2023-10-31T21:37:45.415Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 1.048s coverage: 15.4% of statements [2023-10-31T21:37:45.415Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 1.170s coverage: 61.3% of statements [2023-10-31T21:37:45.415Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 1.042s coverage: 87.5% of statements [2023-10-31T21:37:45.415Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 1.039s coverage: 100.0% of statements [2023-10-31T21:37:45.415Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 1.042s coverage: 100.0% of statements [2023-10-31T21:37:45.415Z] ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 1.050s coverage: 95.1% of statements [2023-10-31T21:38:07.375Z] go vet ./... [2023-10-31T21:38:07.375Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-31T21:38:07.375Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-10-31T21:38:07.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-31T21:38:07.444Z] $ docker stop --time=1 eee7d1f482d57bed21a11f4226a1710a5b90f455df9eb578043bd562bfdc3b97 [2023-10-31T21:38:13.926Z] $ docker rm -f --volumes eee7d1f482d57bed21a11f4226a1710a5b90f455df9eb578043bd562bfdc3b97 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-31T21:38:14.655Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-31T21:38:14.748Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:38:15.840Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:38:15.840Z] [2023-10-31T21:38:15.840Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:38:16.234Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:38:16.494Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-31T21:38:16.494Z] 5eb5b503b376: Pulling fs layer [2023-10-31T21:38:16.494Z] 5c69ac0246d0: Pulling fs layer [2023-10-31T21:38:16.494Z] ec43610c2a17: Pulling fs layer [2023-10-31T21:38:16.494Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-31T21:38:16.494Z] 33b1e0a273af: Pulling fs layer [2023-10-31T21:38:16.494Z] 5d3b04190fa2: Pulling fs layer [2023-10-31T21:38:16.494Z] 2f39f015ded8: Pulling fs layer [2023-10-31T21:38:16.494Z] 33b1e0a273af: Waiting [2023-10-31T21:38:16.494Z] 5d3b04190fa2: Waiting [2023-10-31T21:38:16.494Z] 3a2ae6a8a46f: Waiting [2023-10-31T21:38:16.494Z] 2f39f015ded8: Waiting [2023-10-31T21:38:16.494Z] 5c69ac0246d0: Verifying Checksum [2023-10-31T21:38:16.494Z] 5c69ac0246d0: Download complete [2023-10-31T21:38:16.494Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-31T21:38:16.494Z] 3a2ae6a8a46f: Download complete [2023-10-31T21:38:16.494Z] 33b1e0a273af: Verifying Checksum [2023-10-31T21:38:16.494Z] 33b1e0a273af: Download complete [2023-10-31T21:38:16.494Z] 5d3b04190fa2: Verifying Checksum [2023-10-31T21:38:16.494Z] 5d3b04190fa2: Download complete [2023-10-31T21:38:16.494Z] ec43610c2a17: Verifying Checksum [2023-10-31T21:38:16.494Z] ec43610c2a17: Download complete [2023-10-31T21:38:16.752Z] 5eb5b503b376: Verifying Checksum [2023-10-31T21:38:16.752Z] 5eb5b503b376: Download complete [2023-10-31T21:38:17.317Z] 2f39f015ded8: Verifying Checksum [2023-10-31T21:38:17.317Z] 2f39f015ded8: Download complete [2023-10-31T21:38:17.884Z] 5eb5b503b376: Pull complete [2023-10-31T21:38:18.142Z] 5c69ac0246d0: Pull complete [2023-10-31T21:38:18.707Z] ec43610c2a17: Pull complete [2023-10-31T21:38:18.968Z] 3a2ae6a8a46f: Pull complete [2023-10-31T21:38:19.227Z] 33b1e0a273af: Pull complete [2023-10-31T21:38:19.227Z] 5d3b04190fa2: Pull complete [2023-10-31T21:38:24.509Z] 2f39f015ded8: Pull complete [2023-10-31T21:38:24.509Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-31T21:38:24.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:38:24.509Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:38:24.736Z] prd-ubuntu20.04-docker-8c-8g-15649 does not seem to be running inside a container [2023-10-31T21:38:24.772Z] $ 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-291 -v /w/workspace/xfoundry_go-mod-messaging_PR-291:/w/workspace/xfoundry_go-mod-messaging_PR-291:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-291@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-291@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 [2023-10-31T21:38:29.034Z] $ docker top 0e1e6644ab49376444f309e7f772d4868321738cb1a7e4966f924d8c3eeb9ba6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:38:29.492Z] ---> job-cost.sh [2023-10-31T21:38:29.492Z] lf-activate-venv: SKIPPING [2023-10-31T21:38:29.492Z] INFO: No Stack... [2023-10-31T21:38:29.751Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-31T21:38:30.319Z] INFO: Archiving Costs [Pipeline] sh [2023-10-31T21:38:30.630Z] + cat /w/workspace/xfoundry_go-mod-messaging_PR-291/archives/cost.csv [2023-10-31T21:38:30.630Z] + cut -d, -f6 [Pipeline] lock [2023-10-31T21:38:30.669Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-291-1-stack-cost] [2023-10-31T21:38:30.674Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-291-1-stack-cost] did not exist. Created. [2023-10-31T21:38:30.674Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-291-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-31T21:38:31.062Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-31T21:38:31.109Z] Stashed 1 file(s) [Pipeline] } [2023-10-31T21:38:31.142Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-291-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-31T21:38:31.228Z] $ docker stop --time=1 0e1e6644ab49376444f309e7f772d4868321738cb1a7e4966f924d8c3eeb9ba6 [2023-10-31T21:38:32.539Z] $ docker rm -f --volumes 0e1e6644ab49376444f309e7f772d4868321738cb1a7e4966f924d8c3eeb9ba6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-31T21:40:08.975Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15659 in /w/workspace/xfoundry_go-mod-messaging_PR-291 [Pipeline] { [Pipeline] ws [2023-10-31T21:40:09.044Z] Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout [2023-10-31T21:40:09.133Z] Selected Git installation does not exist. Using Default [2023-10-31T21:40:09.133Z] The recommended git tool is: NONE [2023-10-31T21:40:15.710Z] using credential edgex-jenkins-ssh [2023-10-31T21:40:15.729Z] Cloning the remote Git repository [2023-10-31T21:40:15.795Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2023-10-31T21:40:15.915Z] > git init /w/workspace/go-mod-messaging/1 # timeout=10 [2023-10-31T21:40:16.117Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2023-10-31T21:40:16.119Z] > git --version # timeout=10 [2023-10-31T21:40:16.145Z] > git --version # 'git version 2.25.1' [2023-10-31T21:40:16.148Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-31T21:40:16.358Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-31T21:40:17.336Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2023-10-31T21:40:17.360Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-31T21:40:19.409Z] Merging remotes/origin/main commit 0c655b0b2b6a0d85a91ef5af57fc4d542ae64db4 into PR head commit d4f2a07578240ab886011388918d81e70d119a50 [2023-10-31T21:40:18.624Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2023-10-31T21:40:18.679Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2023-10-31T21:40:18.680Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-31T21:40:18.701Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-31T21:40:19.436Z] > git config core.sparsecheckout # timeout=10 [2023-10-31T21:40:19.529Z] > git checkout -f d4f2a07578240ab886011388918d81e70d119a50 # timeout=10 [2023-10-31T21:40:19.821Z] Merge succeeded, producing d4f2a07578240ab886011388918d81e70d119a50 [2023-10-31T21:40:19.821Z] Checking out Revision d4f2a07578240ab886011388918d81e70d119a50 (PR-291) [2023-10-31T21:40:20.654Z] Commit message: "build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" [2023-10-31T21:40:20.734Z] > git --version # timeout=10 [2023-10-31T21:40:20.748Z] > git --version # 'git version 2.25.1' [2023-10-31T21:40:20.773Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-31T21:40:19.650Z] > git remote # timeout=10 [2023-10-31T21:40:19.674Z] > git config --get remote.origin.url # timeout=10 [2023-10-31T21:40:19.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-31T21:40:19.723Z] > git merge 0c655b0b2b6a0d85a91ef5af57fc4d542ae64db4 # timeout=10 [2023-10-31T21:40:19.797Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-31T21:40:19.831Z] > git config core.sparsecheckout # timeout=10 [2023-10-31T21:40:19.854Z] > git checkout -f d4f2a07578240ab886011388918d81e70d119a50 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T21:40:21.922Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-31T21:40:21.922Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-31T21:40:21.922Z] Dload Upload Total Spent Left Speed [2023-10-31T21:40:21.922Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh [2023-10-31T21:40:22.661Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-31T21:40:23.044Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-31T21:40:23.044Z] + sudo tee /etc/docker/daemon.new [2023-10-31T21:40:23.044Z] { [2023-10-31T21:40:23.044Z] "registry-mirrors": [ [2023-10-31T21:40:23.044Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-31T21:40:23.044Z] ], [2023-10-31T21:40:23.044Z] "bip": "10.250.0.254/24", [2023-10-31T21:40:23.044Z] "hosts": [ [2023-10-31T21:40:23.044Z] "tcp://0.0.0.0:5555", [2023-10-31T21:40:23.044Z] "unix:///var/run/docker.sock" [2023-10-31T21:40:23.044Z] ], [2023-10-31T21:40:23.044Z] "mtu": 1458, [2023-10-31T21:40:23.044Z] "selinux-enabled": true, [2023-10-31T21:40:23.044Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-31T21:40:23.044Z] } [Pipeline] sh [2023-10-31T21:40:23.442Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-31T21:40:23.829Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-10-31T21:40:42.734Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:40:42.776Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:40:42.815Z] ========================================================= [2023-10-31T21:40:42.815Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-31T21:40:42.815Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-10-31T21:40:43.281Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-31T21:40:44.275Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-31T21:40:44.275Z] 9fda8d8052c6: Pulling fs layer [2023-10-31T21:40:44.275Z] 5d54e960e981: Pulling fs layer [2023-10-31T21:40:44.275Z] c4a7e357bf2a: Pulling fs layer [2023-10-31T21:40:44.275Z] f0e02332f6b5: Pulling fs layer [2023-10-31T21:40:44.275Z] cefa15bbcfad: Pulling fs layer [2023-10-31T21:40:44.275Z] 17808c966233: Pulling fs layer [2023-10-31T21:40:44.275Z] f4c1fc716caa: Pulling fs layer [2023-10-31T21:40:44.275Z] 17808c966233: Waiting [2023-10-31T21:40:44.275Z] f4c1fc716caa: Waiting [2023-10-31T21:40:44.275Z] cefa15bbcfad: Waiting [2023-10-31T21:40:44.275Z] f0e02332f6b5: Waiting [2023-10-31T21:40:44.275Z] 5d54e960e981: Verifying Checksum [2023-10-31T21:40:44.275Z] 5d54e960e981: Download complete [2023-10-31T21:40:44.275Z] f0e02332f6b5: Verifying Checksum [2023-10-31T21:40:44.275Z] f0e02332f6b5: Download complete [2023-10-31T21:40:44.275Z] 9fda8d8052c6: Verifying Checksum [2023-10-31T21:40:44.275Z] 9fda8d8052c6: Download complete [2023-10-31T21:40:44.275Z] cefa15bbcfad: Verifying Checksum [2023-10-31T21:40:44.275Z] cefa15bbcfad: Download complete [2023-10-31T21:40:44.884Z] f4c1fc716caa: Verifying Checksum [2023-10-31T21:40:44.884Z] f4c1fc716caa: Download complete [2023-10-31T21:40:45.164Z] 9fda8d8052c6: Pull complete [2023-10-31T21:40:45.765Z] 5d54e960e981: Pull complete [2023-10-31T21:40:46.042Z] c4a7e357bf2a: Verifying Checksum [2023-10-31T21:40:46.042Z] c4a7e357bf2a: Download complete [2023-10-31T21:40:47.486Z] 17808c966233: Verifying Checksum [2023-10-31T21:40:47.486Z] 17808c966233: Download complete [2023-10-31T21:40:59.926Z] c4a7e357bf2a: Pull complete [2023-10-31T21:40:59.926Z] f0e02332f6b5: Pull complete [2023-10-31T21:40:59.926Z] cefa15bbcfad: Pull complete [2023-10-31T21:41:10.148Z] 17808c966233: Pull complete [2023-10-31T21:41:10.743Z] f4c1fc716caa: Pull complete [2023-10-31T21:41:10.743Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-31T21:41:10.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-31T21:41:10.743Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] sh [2023-10-31T21:41:11.103Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:41:11.584Z] + docker inspect -f . ci-base-image-arm64 [2023-10-31T21:41:11.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:41:11.955Z] prd-ubuntu20.04-docker-arm64-4c-16g-15659 does not seem to be running inside a container [2023-10-31T21:41:12.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@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-arm64 cat [2023-10-31T21:41:14.610Z] $ docker top 357817fd7100cf0f2f72015a8b7e5a0cc2603bc3b40f7e080285d2d9d4fd19f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:41:15.543Z] + go version [2023-10-31T21:41:15.543Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-31T21:41:15.588Z] $ docker stop --time=1 357817fd7100cf0f2f72015a8b7e5a0cc2603bc3b40f7e080285d2d9d4fd19f8 [2023-10-31T21:41:17.342Z] $ docker rm -f --volumes 357817fd7100cf0f2f72015a8b7e5a0cc2603bc3b40f7e080285d2d9d4fd19f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:41:18.295Z] + docker inspect -f . ci-base-image-arm64 [2023-10-31T21:41:18.295Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:41:18.594Z] prd-ubuntu20.04-docker-arm64-4c-16g-15659 does not seem to be running inside a container [2023-10-31T21:41:18.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@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-arm64 cat [2023-10-31T21:41:20.067Z] $ docker top 5abca732a2dd062fa4484e2d972197d0076066354ce5956c10d5f117494643fd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:41:21.012Z] + git config --global --add safe.directory /w/workspace/go-mod-messaging/1 [Pipeline] fileExists [Pipeline] sh [2023-10-31T21:41:21.763Z] + make test [2023-10-31T21:41:21.763Z] go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2023-10-31T21:41:21.763Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2023-10-31T21:41:22.032Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-10-31T21:41:22.033Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-10-31T21:41:22.033Z] go: downloading github.com/nats-io/nats.go v1.31.0 [2023-10-31T21:41:22.302Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.17 [2023-10-31T21:41:22.302Z] go: downloading github.com/google/uuid v1.3.1 [2023-10-31T21:41:22.302Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-10-31T21:41:23.276Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-10-31T21:41:23.276Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-10-31T21:41:23.276Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-10-31T21:41:23.276Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-10-31T21:41:23.276Z] go: downloading github.com/gorilla/websocket v1.5.0 [2023-10-31T21:41:23.276Z] go: downloading golang.org/x/net v0.17.0 [2023-10-31T21:41:23.276Z] go: downloading golang.org/x/sync v0.1.0 [2023-10-31T21:41:23.276Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-10-31T21:41:23.276Z] go: downloading github.com/klauspost/compress v1.17.1 [2023-10-31T21:41:23.276Z] go: downloading github.com/nats-io/nkeys v0.4.6 [2023-10-31T21:41:23.276Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-10-31T21:41:23.276Z] go: downloading github.com/go-playground/validator/v10 v10.15.5 [2023-10-31T21:41:23.276Z] go: downloading github.com/fxamacker/cbor/v2 v2.5.0 [2023-10-31T21:41:23.867Z] go: downloading golang.org/x/crypto v0.14.0 [2023-10-31T21:41:25.316Z] go: downloading github.com/x448/float16 v0.8.4 [2023-10-31T21:41:25.316Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2023-10-31T21:41:25.316Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-10-31T21:41:25.316Z] go: downloading github.com/leodido/go-urn v1.2.4 [2023-10-31T21:41:25.316Z] go: downloading golang.org/x/text v0.13.0 [2023-10-31T21:41:25.590Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-10-31T21:43:47.722Z] ok github.com/edgexfoundry/go-mod-messaging/v3/clients 1.323s coverage: 88.6% of statements [2023-10-31T21:43:47.722Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] [2023-10-31T21:43:47.722Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] [2023-10-31T21:43:47.722Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg 6.260s coverage: 19.8% of statements [2023-10-31T21:43:47.722Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 1.399s coverage: 88.8% of statements [2023-10-31T21:43:47.722Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats 1.416s coverage: 86.2% of statements [2023-10-31T21:43:47.722Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] [2023-10-31T21:43:47.993Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 1.262s coverage: 15.4% of statements [2023-10-31T21:43:48.269Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 1.428s coverage: 61.3% of statements [2023-10-31T21:43:48.864Z] ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] [2023-10-31T21:43:50.288Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 1.305s coverage: 87.5% of statements [2023-10-31T21:43:52.259Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 1.234s coverage: 100.0% of statements [2023-10-31T21:43:52.259Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 1.230s coverage: 100.0% of statements [2023-10-31T21:43:52.528Z] ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 1.236s coverage: 95.1% of statements [2023-10-31T21:43:53.117Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-31T21:43:53.117Z] go vet ./... [2023-10-31T21:46:14.976Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-31T21:46:14.976Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-10-31T21:46:15.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-31T21:46:15.062Z] $ docker stop --time=1 5abca732a2dd062fa4484e2d972197d0076066354ce5956c10d5f117494643fd [2023-10-31T21:46:17.149Z] $ docker rm -f --volumes 5abca732a2dd062fa4484e2d972197d0076066354ce5956c10d5f117494643fd [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-31T21:46:20.193Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-31T21:46:20.243Z] Warning: overwriting stash ‘coverage-report’ [2023-10-31T21:46:21.074Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:46:22.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T21:46:22.113Z] [2023-10-31T21:46:22.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:46:22.566Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T21:46:22.841Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-31T21:46:22.841Z] 8998bd30e6a1: Pulling fs layer [2023-10-31T21:46:22.841Z] 04944245beec: Pulling fs layer [2023-10-31T21:46:22.841Z] 699f458cf7ca: Pulling fs layer [2023-10-31T21:46:22.841Z] 765212b225bb: Pulling fs layer [2023-10-31T21:46:22.841Z] f23df028b6ca: Pulling fs layer [2023-10-31T21:46:22.841Z] d65c8cfc05b1: Pulling fs layer [2023-10-31T21:46:22.841Z] 2437ff75d9bd: Pulling fs layer [2023-10-31T21:46:22.841Z] 765212b225bb: Waiting [2023-10-31T21:46:22.841Z] f23df028b6ca: Waiting [2023-10-31T21:46:22.841Z] d65c8cfc05b1: Waiting [2023-10-31T21:46:22.841Z] 2437ff75d9bd: Waiting [2023-10-31T21:46:22.841Z] 04944245beec: Download complete [2023-10-31T21:46:22.841Z] 765212b225bb: Verifying Checksum [2023-10-31T21:46:22.841Z] 765212b225bb: Download complete [2023-10-31T21:46:23.122Z] f23df028b6ca: Verifying Checksum [2023-10-31T21:46:23.122Z] f23df028b6ca: Download complete [2023-10-31T21:46:23.122Z] d65c8cfc05b1: Verifying Checksum [2023-10-31T21:46:23.122Z] d65c8cfc05b1: Download complete [2023-10-31T21:46:23.398Z] 699f458cf7ca: Verifying Checksum [2023-10-31T21:46:23.398Z] 699f458cf7ca: Download complete [2023-10-31T21:46:23.673Z] 8998bd30e6a1: Verifying Checksum [2023-10-31T21:46:23.673Z] 8998bd30e6a1: Download complete [2023-10-31T21:46:27.053Z] 2437ff75d9bd: Verifying Checksum [2023-10-31T21:46:27.053Z] 2437ff75d9bd: Download complete [2023-10-31T21:46:29.018Z] 8998bd30e6a1: Pull complete [2023-10-31T21:46:29.607Z] 04944245beec: Pull complete [2023-10-31T21:46:31.570Z] 699f458cf7ca: Pull complete [2023-10-31T21:46:31.570Z] 765212b225bb: Pull complete [2023-10-31T21:46:32.544Z] f23df028b6ca: Pull complete [2023-10-31T21:46:32.817Z] d65c8cfc05b1: Pull complete [2023-10-31T21:46:51.075Z] 2437ff75d9bd: Pull complete [2023-10-31T21:46:51.075Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-31T21:46:51.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T21:46:51.075Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:46:51.428Z] prd-ubuntu20.04-docker-arm64-4c-16g-15659 does not seem to be running inside a container [2023-10-31T21:46:51.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@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:arm64 cat [2023-10-31T21:46:54.779Z] $ docker top 6dba8327db93f3c857844c7f489e325728a3ce5c046c3b4dbcb4b674e6f23415 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:46:55.755Z] ---> job-cost.sh [2023-10-31T21:46:55.755Z] lf-activate-venv: SKIPPING [2023-10-31T21:46:55.755Z] INFO: No Stack... [2023-10-31T21:46:56.026Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-31T21:46:56.997Z] INFO: Archiving Costs [Pipeline] sh [2023-10-31T21:46:57.690Z] + cut -d, -f6 [2023-10-31T21:46:57.690Z] + cat /w/workspace/go-mod-messaging/1/archives/cost.csv [Pipeline] lock [2023-10-31T21:46:57.792Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-291-1-stack-cost] [2023-10-31T21:46:57.796Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-291-1-stack-cost] did not exist. Created. [2023-10-31T21:46:57.797Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-291-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-31T21:46:58.541Z] /w/workspace/go-mod-messaging/1@tmp/durable-40b653ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-31T21:46:59.240Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-31T21:46:59.278Z] Warning: overwriting stash ‘stack-cost’ [2023-10-31T21:46:59.348Z] Stashed 1 file(s) [Pipeline] } [2023-10-31T21:46:59.365Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-291-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-31T21:46:59.446Z] $ docker stop --time=1 6dba8327db93f3c857844c7f489e325728a3ce5c046c3b4dbcb4b674e6f23415 [2023-10-31T21:47:01.009Z] $ docker rm -f --volumes 6dba8327db93f3c857844c7f489e325728a3ce5c046c3b4dbcb4b674e6f23415 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-31T21:47:02.156Z] provisioning config files... [2023-10-31T21:47:02.167Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-291@tmp/config9459908223051806383tmp [Pipeline] { [Pipeline] sh [2023-10-31T21:47:02.500Z] + set +x [2023-10-31T21:47:02.500Z] + curl+ -s https://codecov.io/bash [2023-10-31T21:47:02.500Z] bash -s -- [2023-10-31T21:47:02.500Z] [2023-10-31T21:47:02.500Z] _____ _ [2023-10-31T21:47:02.500Z] / ____| | | [2023-10-31T21:47:02.500Z] | | ___ __| | ___ ___ _____ __ [2023-10-31T21:47:02.500Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-31T21:47:02.500Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-31T21:47:02.500Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-31T21:47:02.500Z] Bash-1.0.6 [2023-10-31T21:47:02.500Z] [2023-10-31T21:47:02.500Z] [2023-10-31T21:47:02.500Z] ==> git version 2.25.1 found [2023-10-31T21:47:02.500Z] ==> 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 [2023-10-31T21:47:02.500Z] Release-Date: 2020-01-08 [2023-10-31T21:47:02.500Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-31T21:47:02.500Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-31T21:47:02.500Z] ==> Jenkins CI detected. [2023-10-31T21:47:02.500Z] current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-291 [2023-10-31T21:47:02.500Z] project root: . [2023-10-31T21:47:02.500Z] --> token set from env [2023-10-31T21:47:02.500Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-31T21:47:02.500Z] ==> Running gcov in . (disable via -X gcov) [2023-10-31T21:47:02.500Z] ==> Python coveragepy not found [2023-10-31T21:47:02.500Z] ==> Searching for coverage reports in: [2023-10-31T21:47:02.500Z] + . [2023-10-31T21:47:02.500Z] -> Found 1 reports [2023-10-31T21:47:02.500Z] ==> Detecting git/mercurial file structure [2023-10-31T21:47:02.500Z] ==> Reading reports [2023-10-31T21:47:02.500Z] + ./coverage.out bytes=42718 [2023-10-31T21:47:02.500Z] ==> Appending adjustments [2023-10-31T21:47:02.500Z] https://docs.codecov.io/docs/fixing-reports [2023-10-31T21:47:02.761Z] + Found adjustments [2023-10-31T21:47:02.761Z] ==> Gzipping contents [2023-10-31T21:47:02.761Z] 12K /tmp/codecov.QpNywO.gz [2023-10-31T21:47:02.761Z] ==> Uploading reports [2023-10-31T21:47:02.761Z] url: https://codecov.io [2023-10-31T21:47:02.761Z] query: branch=PR-291&commit=d4f2a07578240ab886011388918d81e70d119a50&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-291%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=291&job=&cmd_args= [2023-10-31T21:47:02.761Z] -> Pinging Codecov [2023-10-31T21:47:02.761Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-291&commit=d4f2a07578240ab886011388918d81e70d119a50&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-291%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=291&job=&cmd_args= [2023-10-31T21:47:03.027Z] -> Uploading to [2023-10-31T21:47:03.027Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-31/F6E385568367DD0E4001BA4F8F1CB792/d4f2a07578240ab886011388918d81e70d119a50/794a835b-d565-406f-81d6-dcf65eee1598.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231031%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231031T214702Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8b0f5b36bb2233386a9f10f99df80354f886b4a649bbb745990b4ce45aa9ef23 [2023-10-31T21:47:03.027Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-31T21:47:03.027Z] Dload Upload Total Spent Left Speed [2023-10-31T21:47:03.288Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8360 0 0 100 8360 0 32403 --:--:-- --:--:-- --:--:-- 32403 [2023-10-31T21:47:03.288Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-messaging/commit/d4f2a07578240ab886011388918d81e70d119a50 [Pipeline] } [2023-10-31T21:47:03.316Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-31T21:47:05.253Z] + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-291/archives ] [2023-10-31T21:47:05.253Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-291/archives [2023-10-31T21:47:05.253Z] total 16 [2023-10-31T21:47:05.253Z] drwxr-xr-x 3 root root 4096 Oct 31 21:38 . [2023-10-31T21:47:05.253Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 21:38 .. [2023-10-31T21:47:05.253Z] drwxr-xr-x 2 root root 4096 Oct 31 21:38 cost [2023-10-31T21:47:05.253Z] -rw-r--r-- 1 root root 88 Oct 31 21:38 cost.csv [2023-10-31T21:47:05.253Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-291/archives [2023-10-31T21:47:05.253Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-291/archives [2023-10-31T21:47:05.253Z] total 16 [2023-10-31T21:47:05.253Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:38 . [2023-10-31T21:47:05.253Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 21:38 .. [2023-10-31T21:47:05.253Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 21:38 cost [2023-10-31T21:47:05.253Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 31 21:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:47:05.581Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:47:06.478Z] ---> package-listing.sh [2023-10-31T21:47:06.478Z] ++ facter osfamily [2023-10-31T21:47:06.478Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-31T21:47:06.743Z] + OS_FAMILY=debian [2023-10-31T21:47:06.743Z] + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-291 [2023-10-31T21:47:06.743Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-31T21:47:06.743Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-31T21:47:06.743Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-31T21:47:06.743Z] + PACKAGES=/tmp/packages_start.txt [2023-10-31T21:47:06.743Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-291 ']' [2023-10-31T21:47:06.743Z] + PACKAGES=/tmp/packages_end.txt [2023-10-31T21:47:06.743Z] + case "${OS_FAMILY}" in [2023-10-31T21:47:06.743Z] + dpkg -l [2023-10-31T21:47:06.743Z] + grep '^ii' [2023-10-31T21:47:06.743Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-31T21:47:06.743Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-31T21:47:06.743Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-31T21:47:06.743Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-291 ']' [2023-10-31T21:47:06.743Z] + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-291/archives/ [2023-10-31T21:47:06.743Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-291/archives/ [Pipeline] echo [2023-10-31T21:47:06.782Z] 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-291/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-31T21:47:07.076Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:47:07.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:47:07.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:47:07.860Z] prd-ubuntu20.04-docker-8c-8g-15649 does not seem to be running inside a container [2023-10-31T21:47:07.884Z] $ 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-291/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-291 -v /w/workspace/xfoundry_go-mod-messaging_PR-291:/w/workspace/xfoundry_go-mod-messaging_PR-291:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-291@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-291@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 [2023-10-31T21:47:08.097Z] $ docker top 664675552c0e1be230215e6ca17bc86363790d3246deb5cf5bca3ef0d0b823e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:47:08.512Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-31T21:47:08.824Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-31T21:47:09.143Z] + ls /var/log/sa-host [2023-10-31T21:47:09.143Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T21:47:09.297Z] provisioning config files... [2023-10-31T21:47:09.308Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-291@tmp/config7093351276506400744tmp [Pipeline] { [Pipeline] echo [2023-10-31T21:47:09.359Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:47:09.675Z] ---> create-netrc.sh [Pipeline] } [2023-10-31T21:47:09.710Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:47:10.131Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-31T21:47:10.164Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:47:10.531Z] ---> sudo-logs.sh [2023-10-31T21:47:10.531Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-31T21:47:10.614Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:47:10.928Z] ---> job-cost.sh [2023-10-31T21:47:10.928Z] lf-activate-venv: SKIPPING [2023-10-31T21:47:10.928Z] DEBUG: total: 0.2199999988079071 [2023-10-31T21:47:10.928Z] INFO: Retrieving Stack Cost... [2023-10-31T21:47:11.188Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-31T21:47:11.758Z] INFO: Archiving Costs [Pipeline] echo [2023-10-31T21:47:11.794Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:47:12.108Z] ---> logs-deploy.sh [2023-10-31T21:47:12.108Z] lf-activate-venv: SKIPPING [2023-10-31T21:47:12.108Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-291/1 [2023-10-31T21:47:12.108Z] INFO: archiving workspace using pattern(s): [2023-10-31T21:47:13.488Z] Archives upload complete. [2023-10-31T21:47:13.488Z] INFO: archiving logs to Nexus [2023-10-31T21:47:14.055Z] ---> uname -a: [2023-10-31T21:47:14.055Z] Linux prd-ubuntu20-04-docker-8c-8g-15649 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-10-31T21:47:14.055Z] [2023-10-31T21:47:14.055Z] [2023-10-31T21:47:14.055Z] ---> lscpu: [2023-10-31T21:47:14.055Z] Architecture: x86_64 [2023-10-31T21:47:14.055Z] CPU op-mode(s): 32-bit, 64-bit [2023-10-31T21:47:14.055Z] Byte Order: Little Endian [2023-10-31T21:47:14.055Z] Address sizes: 40 bits physical, 48 bits virtual [2023-10-31T21:47:14.055Z] CPU(s): 8 [2023-10-31T21:47:14.055Z] On-line CPU(s) list: 0-7 [2023-10-31T21:47:14.055Z] Thread(s) per core: 1 [2023-10-31T21:47:14.055Z] Core(s) per socket: 1 [2023-10-31T21:47:14.055Z] Socket(s): 8 [2023-10-31T21:47:14.055Z] NUMA node(s): 1 [2023-10-31T21:47:14.055Z] Vendor ID: AuthenticAMD [2023-10-31T21:47:14.055Z] CPU family: 23 [2023-10-31T21:47:14.055Z] Model: 49 [2023-10-31T21:47:14.055Z] Model name: AMD EPYC-Rome Processor [2023-10-31T21:47:14.055Z] Stepping: 0 [2023-10-31T21:47:14.055Z] CPU MHz: 2799.998 [2023-10-31T21:47:14.055Z] BogoMIPS: 5599.99 [2023-10-31T21:47:14.055Z] Virtualization: AMD-V [2023-10-31T21:47:14.055Z] Hypervisor vendor: KVM [2023-10-31T21:47:14.055Z] Virtualization type: full [2023-10-31T21:47:14.055Z] L1d cache: 256 KiB [2023-10-31T21:47:14.055Z] L1i cache: 256 KiB [2023-10-31T21:47:14.055Z] L2 cache: 4 MiB [2023-10-31T21:47:14.055Z] L3 cache: 128 MiB [2023-10-31T21:47:14.055Z] NUMA node0 CPU(s): 0-7 [2023-10-31T21:47:14.055Z] Vulnerability Itlb multihit: Not affected [2023-10-31T21:47:14.055Z] Vulnerability L1tf: Not affected [2023-10-31T21:47:14.055Z] Vulnerability Mds: Not affected [2023-10-31T21:47:14.055Z] Vulnerability Meltdown: Not affected [2023-10-31T21:47:14.055Z] Vulnerability Mmio stale data: Not affected [2023-10-31T21:47:14.055Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-10-31T21:47:14.055Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-10-31T21:47:14.055Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-10-31T21:47:14.055Z] Vulnerability Srbds: Not affected [2023-10-31T21:47:14.055Z] Vulnerability Tsx async abort: Not affected [2023-10-31T21:47:14.056Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-10-31T21:47:14.056Z] [2023-10-31T21:47:14.056Z] [2023-10-31T21:47:14.056Z] ---> nproc: [2023-10-31T21:47:14.056Z] 8 [2023-10-31T21:47:14.056Z] [2023-10-31T21:47:14.056Z] [2023-10-31T21:47:14.056Z] ---> df -h: [2023-10-31T21:47:14.056Z] Filesystem Size Used Avail Use% Mounted on [2023-10-31T21:47:14.056Z] overlay 155G 11G 145G 7% / [2023-10-31T21:47:14.056Z] tmpfs 64M 0 64M 0% /dev [2023-10-31T21:47:14.056Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-10-31T21:47:14.056Z] shm 64M 0 64M 0% /dev/shm [2023-10-31T21:47:14.056Z] /dev/vda1 155G 11G 145G 7% /facter-os [2023-10-31T21:47:14.056Z] [2023-10-31T21:47:14.056Z]