Pull request #230 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/go-mod-messaging Obtained Jenkinsfile from aaa950fe6606317cbcce1abe3a790b5bf530ded6+36fc100f4d31ea74ed8da62417d344024d4561ab (7e3246e840ddc116d9dc7329d7847cdcf35d8a30) 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-ssh10181974141731968325.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh9647346960414223089.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-230/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-230/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15995863620444113476.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh10886626968534648683.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-230/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-230/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8636935335312912294.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.18 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8418 in /w/workspace/xfoundry_go-mod-messaging_PR-230 [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-230 # 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/230/head:refs/remotes/origin/PR-230 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 36fc100f4d31ea74ed8da62417d344024d4561ab into PR head commit aaa950fe6606317cbcce1abe3a790b5bf530ded6 Merge succeeded, producing c4e955cd131497388ade69ddcfe84fad2d5b7dd0 Checking out Revision c4e955cd131497388ade69ddcfe84fad2d5b7dd0 (PR-230) > git config core.sparsecheckout # timeout=10 > git checkout -f aaa950fe6606317cbcce1abe3a790b5bf530ded6 # 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 36fc100f4d31ea74ed8da62417d344024d4561ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c4e955cd131497388ade69ddcfe84fad2d5b7dd0 # timeout=10 Commit message: "Merge commit '36fc100f4d31ea74ed8da62417d344024d4561ab' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 7fedeecceec383a5fcebb6a2619d6ff699ed1cdb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-06T23:35:22.806Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-06T23:35:22.883Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-06T23:35:22.900Z] ========================================================= [2023-03-06T23:35:22.900Z] EdgeX Global Pipelines Version Info [2023-03-06T23:35:22.900Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:35:23.615Z] ------------------- [2023-03-06T23:35:23.615Z] stable info: [2023-03-06T23:35:23.615Z] ------------------- [2023-03-06T23:35:23.615Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-06T23:35:23.615Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-06T23:35:23.615Z] Message: update stable to v1.0.244 [2023-03-06T23:35:24.184Z] ------------------- [2023-03-06T23:35:24.184Z] experimental info: [2023-03-06T23:35:24.184Z] ------------------- [2023-03-06T23:35:24.184Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-06T23:35:24.184Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-06T23:35:24.184Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-06T23:35:24.348Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2023-03-06T23:35:24.363Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2023-03-06T23:35:24.381Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-06T23:35:24.395Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-06T23:35:24.405Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-06T23:35:24.419Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-06T23:35:24.434Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-06T23:35:24.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-06T23:35:24.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-06T23:35:24.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-06T23:35:24.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-06T23:35:24.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo [2023-03-06T23:35:24.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-06T23:35:24.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-06T23:35:24.541Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-03-06T23:35:24.560Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-06T23:35:24.575Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-06T23:35:24.585Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-06T23:35:24.601Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-06T23:35:24.612Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-06T23:35:24.629Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-06T23:35:24.648Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-06T23:35:24.661Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-06T23:35:24.675Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-06T23:35:24.689Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-03-06T23:35:24.703Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-06T23:35:24.717Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-06T23:35:24.732Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-230 [Pipeline] echo [2023-03-06T23:35:24.745Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-230 [Pipeline] echo [2023-03-06T23:35:24.758Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-230 [Pipeline] echo [2023-03-06T23:35:24.774Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4e955cd131497388ade69ddcfe84fad2d5b7dd0 [Pipeline] echo [2023-03-06T23:35:24.793Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4e955c [Pipeline] echo [2023-03-06T23:35:24.809Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-06T23:35:25.155Z] + git rev-list -1 --merges c4e955cd131497388ade69ddcfe84fad2d5b7dd0~1..c4e955cd131497388ade69ddcfe84fad2d5b7dd0 [Pipeline] echo [2023-03-06T23:35:25.194Z] -----------> git rev-list -1 --merges c4e955cd131497388ade69ddcfe84fad2d5b7dd0~1..c4e955cd131497388ade69ddcfe84fad2d5b7dd0 c4e955cd131497388ade69ddcfe84fad2d5b7dd0 [2023-03-06T23:35:25.194Z] c4e955cd131497388ade69ddcfe84fad2d5b7dd0 [false] [Pipeline] sh [2023-03-06T23:35:25.477Z] + git log --format=format:%s -1 c4e955cd131497388ade69ddcfe84fad2d5b7dd0 [Pipeline] echo [2023-03-06T23:35:25.491Z] ========================================================= [2023-03-06T23:35:25.491Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-06T23:35:25.491Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-06T23:35:25.804Z] + git log --format=format:%s -1 c4e955cd131497388ade69ddcfe84fad2d5b7dd0 [Pipeline] echo [2023-03-06T23:35:25.816Z] [semverPrep] GIT_COMMIT: c4e955cd131497388ade69ddcfe84fad2d5b7dd0, Commit Message: Merge commit '36fc100f4d31ea74ed8da62417d344024d4561ab' into HEAD [Pipeline] echo [2023-03-06T23:35:25.823Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-06T23:35:26.152Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-06T23:35:26.152Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-06T23:35:26.152Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-06T23:35:26.152Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-06T23:35:26.152Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-06T23:35:26.152Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-06T23:35:26.152Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:35:26.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-06T23:35:26.556Z] [2023-03-06T23:35:26.556Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:35:26.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-06T23:35:26.862Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-06T23:35:26.862Z] b85a868b505f: Pulling fs layer [2023-03-06T23:35:26.862Z] e2be974225ed: Pulling fs layer [2023-03-06T23:35:26.862Z] 339a4e72a1f5: Pulling fs layer [2023-03-06T23:35:26.862Z] 988bab9f4d93: Pulling fs layer [2023-03-06T23:35:26.862Z] 1469e6f7b9e6: Pulling fs layer [2023-03-06T23:35:26.862Z] eaf3925da568: Pulling fs layer [2023-03-06T23:35:26.862Z] bab4dde63d76: Pulling fs layer [2023-03-06T23:35:26.862Z] bde34c3a00c8: Pulling fs layer [2023-03-06T23:35:26.862Z] b352a97aabf1: Pulling fs layer [2023-03-06T23:35:26.862Z] 4872d77fe225: Pulling fs layer [2023-03-06T23:35:26.862Z] 5851b861e8e6: Pulling fs layer [2023-03-06T23:35:26.862Z] 988bab9f4d93: Waiting [2023-03-06T23:35:26.862Z] eaf3925da568: Waiting [2023-03-06T23:35:26.862Z] 1469e6f7b9e6: Waiting [2023-03-06T23:35:26.862Z] bab4dde63d76: Waiting [2023-03-06T23:35:26.862Z] bde34c3a00c8: Waiting [2023-03-06T23:35:26.862Z] b352a97aabf1: Waiting [2023-03-06T23:35:26.862Z] 4872d77fe225: Waiting [2023-03-06T23:35:26.862Z] 5851b861e8e6: Waiting [2023-03-06T23:35:27.122Z] e2be974225ed: Download complete [2023-03-06T23:35:27.122Z] 988bab9f4d93: Verifying Checksum [2023-03-06T23:35:27.122Z] 988bab9f4d93: Download complete [2023-03-06T23:35:27.122Z] 1469e6f7b9e6: Verifying Checksum [2023-03-06T23:35:27.122Z] 1469e6f7b9e6: Download complete [2023-03-06T23:35:27.122Z] eaf3925da568: Download complete [2023-03-06T23:35:27.122Z] 339a4e72a1f5: Verifying Checksum [2023-03-06T23:35:27.122Z] 339a4e72a1f5: Download complete [2023-03-06T23:35:27.122Z] bde34c3a00c8: Download complete [2023-03-06T23:35:27.122Z] b352a97aabf1: Download complete [2023-03-06T23:35:27.122Z] 4872d77fe225: Verifying Checksum [2023-03-06T23:35:27.122Z] 4872d77fe225: Download complete [2023-03-06T23:35:27.122Z] 5851b861e8e6: Download complete [2023-03-06T23:35:27.380Z] b85a868b505f: Download complete [2023-03-06T23:35:27.639Z] bab4dde63d76: Verifying Checksum [2023-03-06T23:35:27.639Z] bab4dde63d76: Download complete [2023-03-06T23:35:28.582Z] b85a868b505f: Pull complete [2023-03-06T23:35:28.582Z] e2be974225ed: Pull complete [2023-03-06T23:35:28.903Z] 339a4e72a1f5: Pull complete [2023-03-06T23:35:29.175Z] 988bab9f4d93: Pull complete [2023-03-06T23:35:29.433Z] 1469e6f7b9e6: Pull complete [2023-03-06T23:35:29.433Z] eaf3925da568: Pull complete [2023-03-06T23:35:31.341Z] bab4dde63d76: Pull complete [2023-03-06T23:35:31.341Z] bde34c3a00c8: Pull complete [2023-03-06T23:35:31.341Z] b352a97aabf1: Pull complete [2023-03-06T23:35:31.341Z] 4872d77fe225: Pull complete [2023-03-06T23:35:31.341Z] 5851b861e8e6: Pull complete [2023-03-06T23:35:31.341Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-06T23:35:31.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-06T23:35:31.341Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T23:35:31.425Z] prd-ubuntu20.04-docker-8c-8g-8418 does not seem to be running inside a container [2023-03-06T23:35:31.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-230 -v /w/workspace/xfoundry_go-mod-messaging_PR-230:/w/workspace/xfoundry_go-mod-messaging_PR-230:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-230@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-230@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-06T23:35:33.871Z] $ docker top a326e3df6263cfe02e6713503d83feda888148b509f407a5d66d617f273e77d7 -eo pid,comm [2023-03-06T23:35:33.921Z] 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-03-06T23:35:33.921Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-06T23:35:33.952Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-06T23:35:33.952Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-06T23:35:34.065Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-06T23:35:34.069Z] $ docker exec a326e3df6263cfe02e6713503d83feda888148b509f407a5d66d617f273e77d7 ssh-agent [2023-03-06T23:35:34.167Z] SSH_AUTH_SOCK=/tmp/ssh-kXdvfHDFqpv3/agent.32 [2023-03-06T23:35:34.167Z] SSH_AGENT_PID=38 [2023-03-06T23:35:34.172Z] Running ssh-add (command line suppressed) [2023-03-06T23:35:34.273Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-230@tmp/private_key_13982400719600659228.key (/w/workspace/xfoundry_go-mod-messaging_PR-230@tmp/private_key_13982400719600659228.key) [2023-03-06T23:35:34.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-06T23:35:34.569Z] + git tag --points-at HEAD [Pipeline] } [2023-03-06T23:35:34.589Z] $ docker exec --env ******** --env ******** a326e3df6263cfe02e6713503d83feda888148b509f407a5d66d617f273e77d7 ssh-agent -k [2023-03-06T23:35:34.689Z] unset SSH_AUTH_SOCK; [2023-03-06T23:35:34.689Z] unset SSH_AGENT_PID; [2023-03-06T23:35:34.689Z] echo Agent pid 38 killed; [2023-03-06T23:35:34.694Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-06T23:35:34.721Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-06T23:35:34.721Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-06T23:35:34.827Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-06T23:35:34.832Z] $ docker exec a326e3df6263cfe02e6713503d83feda888148b509f407a5d66d617f273e77d7 ssh-agent [2023-03-06T23:35:34.950Z] SSH_AUTH_SOCK=/tmp/ssh-XE9L9T3bQi7L/agent.70 [2023-03-06T23:35:34.950Z] SSH_AGENT_PID=76 [2023-03-06T23:35:34.954Z] Running ssh-add (command line suppressed) [2023-03-06T23:35:35.047Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-230@tmp/private_key_8935451260394250258.key (/w/workspace/xfoundry_go-mod-messaging_PR-230@tmp/private_key_8935451260394250258.key) [2023-03-06T23:35:35.058Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-06T23:35:35.344Z] + git semver init [2023-03-06T23:35:35.604Z] 2023-03-06 23:35:35,525 [run_init] DEBUG init version:0.0.0 force:False [2023-03-06T23:35:35.604Z] 2023-03-06 23:35:35,526 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-230/.semver [2023-03-06T23:35:35.604Z] 2023-03-06 23:35:35,527 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-230/.semver [2023-03-06T23:35:35.604Z] 2023-03-06 23:35:35,527 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-230/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-230, universal_newlines=False, shell=None, istream=None) [2023-03-06T23:35:36.538Z] 2023-03-06 23:35:36,365 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-230/.git/info/exclude [2023-03-06T23:35:36.538Z] 2023-03-06 23:35:36,366 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-230/.semver/PR-230 with force:False [2023-03-06T23:35:36.538Z] 2023-03-06 23:35:36,366 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-230/.semver/PR-230 [2023-03-06T23:35:36.538Z] 2023-03-06 23:35:36,370 [execute] INFO git cat-file --batch-check [2023-03-06T23:35:36.538Z] 2023-03-06 23:35:36,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-230/.semver, universal_newlines=False, shell=None, istream=) [2023-03-06T23:35:36.538Z] 2023-03-06 23:35:36,376 [execute] INFO git cat-file --batch [2023-03-06T23:35:36.538Z] 2023-03-06 23:35:36,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-230/.semver, universal_newlines=False, shell=None, istream=) [2023-03-06T23:35:36.538Z] 2023-03-06 23:35:36,382 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-230/.semver/PR-230 [2023-03-06T23:35:36.538Z] 0.0.0 [Pipeline] } [2023-03-06T23:35:36.551Z] $ docker exec --env ******** --env ******** a326e3df6263cfe02e6713503d83feda888148b509f407a5d66d617f273e77d7 ssh-agent -k [2023-03-06T23:35:36.642Z] unset SSH_AUTH_SOCK; [2023-03-06T23:35:36.643Z] unset SSH_AGENT_PID; [2023-03-06T23:35:36.643Z] echo Agent pid 76 killed; [2023-03-06T23:35:36.651Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-06T23:35:36.955Z] + git semver [Pipeline] } [2023-03-06T23:35:37.226Z] $ docker stop --time=1 a326e3df6263cfe02e6713503d83feda888148b509f407a5d66d617f273e77d7 [2023-03-06T23:35:38.523Z] $ docker rm -f --volumes a326e3df6263cfe02e6713503d83feda888148b509f407a5d66d617f273e77d7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-06T23:35:38.867Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-06T23:35:39.070Z] Stashed 1 file(s) [Pipeline] echo [2023-03-06T23:35:39.073Z] [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-03-06T23:35:39.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T23:35:39.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T23:35:39.257Z] ========================================================= [2023-03-06T23:35:39.257Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-06T23:35:39.257Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-03-06T23:35:39.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-06T23:35:39.549Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-06T23:35:39.549Z] 213ec9aee27d: Pulling fs layer [2023-03-06T23:35:39.549Z] 4583459ba037: Pulling fs layer [2023-03-06T23:35:39.549Z] 93c1e223e6f2: Pulling fs layer [2023-03-06T23:35:39.549Z] 53926ce57604: Pulling fs layer [2023-03-06T23:35:39.549Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-06T23:35:39.549Z] 53926ce57604: Waiting [2023-03-06T23:35:39.549Z] 22ff95d597cd: Pulling fs layer [2023-03-06T23:35:39.549Z] 12d6caf4c0d1: Pulling fs layer [2023-03-06T23:35:39.549Z] 96b7cbca73a9: Pulling fs layer [2023-03-06T23:35:39.549Z] a7acece74701: Pulling fs layer [2023-03-06T23:35:39.549Z] 21b2b0c7a3f4: Waiting [2023-03-06T23:35:39.549Z] 96b7cbca73a9: Waiting [2023-03-06T23:35:39.549Z] a7acece74701: Waiting [2023-03-06T23:35:39.549Z] 22ff95d597cd: Waiting [2023-03-06T23:35:39.549Z] 12d6caf4c0d1: Waiting [2023-03-06T23:35:39.549Z] 93c1e223e6f2: Download complete [2023-03-06T23:35:39.549Z] 4583459ba037: Verifying Checksum [2023-03-06T23:35:39.549Z] 4583459ba037: Download complete [2023-03-06T23:35:39.549Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-06T23:35:39.549Z] 21b2b0c7a3f4: Download complete [2023-03-06T23:35:39.549Z] 22ff95d597cd: Download complete [2023-03-06T23:35:39.549Z] 213ec9aee27d: Verifying Checksum [2023-03-06T23:35:39.549Z] 12d6caf4c0d1: Download complete [2023-03-06T23:35:39.812Z] 213ec9aee27d: Pull complete [2023-03-06T23:35:39.812Z] 4583459ba037: Pull complete [2023-03-06T23:35:40.074Z] 93c1e223e6f2: Pull complete [2023-03-06T23:35:40.074Z] a7acece74701: Verifying Checksum [2023-03-06T23:35:40.074Z] a7acece74701: Download complete [2023-03-06T23:35:40.332Z] 96b7cbca73a9: Download complete [2023-03-06T23:35:40.332Z] 53926ce57604: Verifying Checksum [2023-03-06T23:35:40.332Z] 53926ce57604: Download complete [2023-03-06T23:35:44.519Z] 53926ce57604: Pull complete [2023-03-06T23:35:44.519Z] 21b2b0c7a3f4: Pull complete [2023-03-06T23:35:44.519Z] 22ff95d597cd: Pull complete [2023-03-06T23:35:44.519Z] 12d6caf4c0d1: Pull complete [2023-03-06T23:35:46.436Z] 96b7cbca73a9: Pull complete [2023-03-06T23:35:47.003Z] a7acece74701: Pull complete [2023-03-06T23:35:47.261Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-06T23:35:47.261Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-06T23:35:47.261Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2023-03-06T23:35:47.548Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:35:47.846Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-06T23:35:47.846Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T23:35:47.912Z] prd-ubuntu20.04-docker-8c-8g-8418 does not seem to be running inside a container [2023-03-06T23:35:47.945Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-230 -v /w/workspace/xfoundry_go-mod-messaging_PR-230:/w/workspace/xfoundry_go-mod-messaging_PR-230:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-230@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-230@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-06T23:35:52.400Z] $ docker top 0a4a04d64d4757769b4bc1c0c50e1c79b040c910fb7afffd55f7c7cff3a61be2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T23:35:52.737Z] + go version [2023-03-06T23:35:52.737Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-06T23:35:52.750Z] $ docker stop --time=1 0a4a04d64d4757769b4bc1c0c50e1c79b040c910fb7afffd55f7c7cff3a61be2 [2023-03-06T23:35:54.015Z] $ docker rm -f --volumes 0a4a04d64d4757769b4bc1c0c50e1c79b040c910fb7afffd55f7c7cff3a61be2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:35:54.149Z] Still waiting to schedule task [2023-03-06T23:35:54.149Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-06T23:35:54.389Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-06T23:35:54.390Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T23:35:54.458Z] prd-ubuntu20.04-docker-8c-8g-8418 does not seem to be running inside a container [2023-03-06T23:35:54.489Z] $ 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-230 -v /w/workspace/xfoundry_go-mod-messaging_PR-230:/w/workspace/xfoundry_go-mod-messaging_PR-230:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-230@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-230@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-06T23:35:54.835Z] $ docker top 26d83fc00943c044551febaf301325e731e2daf7e4028ac404d49a95455c3da3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T23:35:55.173Z] + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-messaging_PR-230 [Pipeline] fileExists [Pipeline] sh [2023-03-06T23:35:55.465Z] + make test [2023-03-06T23:35:55.465Z] go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2023-03-06T23:35:55.465Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-03-06T23:35:55.465Z] go: downloading github.com/stretchr/testify v1.8.2 [2023-03-06T23:35:55.465Z] go: downloading github.com/nats-io/nats.go v1.24.0 [2023-03-06T23:35:55.465Z] go: downloading github.com/google/uuid v1.3.0 [2023-03-06T23:35:55.465Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-03-06T23:35:55.465Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-03-06T23:35:55.465Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.14 [2023-03-06T23:35:55.465Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.22 [2023-03-06T23:35:55.465Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-03-06T23:35:55.465Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-03-06T23:35:55.465Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-03-06T23:35:55.465Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-03-06T23:35:55.465Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-03-06T23:35:55.465Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-03-06T23:35:55.465Z] go: downloading golang.org/x/net v0.7.0 [2023-03-06T23:35:55.465Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2023-03-06T23:35:55.723Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2023-03-06T23:35:55.723Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-03-06T23:35:55.723Z] go: downloading github.com/go-playground/validator/v10 v10.11.2 [2023-03-06T23:35:55.723Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-03-06T23:35:55.723Z] go: downloading golang.org/x/crypto v0.5.0 [2023-03-06T23:35:55.723Z] go: downloading github.com/x448/float16 v0.8.4 [2023-03-06T23:35:55.723Z] go: downloading golang.org/x/text v0.7.0 [2023-03-06T23:35:55.723Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-03-06T23:35:55.723Z] go: downloading github.com/leodido/go-urn v1.2.1 [2023-03-06T23:35:55.723Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-03-06T23:35:55.723Z] go: downloading github.com/klauspost/compress v1.15.15 [2023-03-06T23:35:55.723Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-03-06T23:35:55.723Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2023-03-06T23:35:55.723Z] go: downloading golang.org/x/time v0.3.0 [2023-03-06T23:35:55.723Z] go: downloading golang.org/x/sys v0.5.0 [2023-03-06T23:36:13.800Z] ok github.com/edgexfoundry/go-mod-messaging/v3/clients 0.051s coverage: 88.6% of statements [2023-03-06T23:36:16.333Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg 5.035s coverage: 19.8% of statements [2023-03-06T23:36:16.333Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 0.082s coverage: 88.8% of statements [2023-03-06T23:36:16.333Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats 0.043s coverage: 89.1% of statements [2023-03-06T23:36:16.333Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] [2023-03-06T23:36:16.333Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] [2023-03-06T23:36:20.529Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 0.095s coverage: 35.9% of statements [2023-03-06T23:36:20.529Z] --- FAIL: TestClient_Unsubscribe (1.00s) [2023-03-06T23:36:20.529Z] client_test.go:532: [2023-03-06T23:36:20.529Z] Error Trace: /w/workspace/xfoundry_go-mod-messaging_PR-230/internal/pkg/redis/client_test.go:532 [2023-03-06T23:36:20.529Z] Error: Should be true [2023-03-06T23:36:20.529Z] Test: TestClient_Unsubscribe [2023-03-06T23:36:20.529Z] FAIL [2023-03-06T23:36:20.529Z] coverage: 67.3% of statements [2023-03-06T23:36:20.529Z] FAIL github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 1.020s [2023-03-06T23:36:20.529Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] [2023-03-06T23:36:20.529Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 0.032s coverage: 87.5% of statements [2023-03-06T23:36:20.529Z] ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] [2023-03-06T23:36:20.529Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 0.033s coverage: 100.0% of statements [2023-03-06T23:36:20.529Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 0.031s coverage: 100.0% of statements [2023-03-06T23:36:20.529Z] ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 0.037s coverage: 95.1% of statements [2023-03-06T23:36:20.529Z] FAIL [2023-03-06T23:36:20.529Z] make: *** [Makefile:12: unittest] Error 1 [Pipeline] } [2023-03-06T23:36:20.546Z] $ docker stop --time=1 26d83fc00943c044551febaf301325e731e2daf7e4028ac404d49a95455c3da3 [2023-03-06T23:36:25.547Z] $ docker rm -f --volumes 26d83fc00943c044551febaf301325e731e2daf7e4028ac404d49a95455c3da3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:36:26.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T23:36:26.166Z] [2023-03-06T23:36:26.166Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:36:26.466Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T23:36:26.466Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-06T23:36:26.466Z] 5eb5b503b376: Pulling fs layer [2023-03-06T23:36:26.466Z] 5c69ac0246d0: Pulling fs layer [2023-03-06T23:36:26.466Z] ec43610c2a17: Pulling fs layer [2023-03-06T23:36:26.466Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-06T23:36:26.466Z] 33b1e0a273af: Pulling fs layer [2023-03-06T23:36:26.466Z] 5d3b04190fa2: Pulling fs layer [2023-03-06T23:36:26.466Z] 2f39f015ded8: Pulling fs layer [2023-03-06T23:36:26.466Z] 33b1e0a273af: Waiting [2023-03-06T23:36:26.466Z] 5d3b04190fa2: Waiting [2023-03-06T23:36:26.466Z] 2f39f015ded8: Waiting [2023-03-06T23:36:26.466Z] 3a2ae6a8a46f: Waiting [2023-03-06T23:36:26.466Z] 5c69ac0246d0: Download complete [2023-03-06T23:36:26.466Z] 3a2ae6a8a46f: Download complete [2023-03-06T23:36:26.725Z] 33b1e0a273af: Verifying Checksum [2023-03-06T23:36:26.725Z] 33b1e0a273af: Download complete [2023-03-06T23:36:26.725Z] 5d3b04190fa2: Download complete [2023-03-06T23:36:26.725Z] ec43610c2a17: Verifying Checksum [2023-03-06T23:36:26.725Z] ec43610c2a17: Download complete [2023-03-06T23:36:26.725Z] 5eb5b503b376: Verifying Checksum [2023-03-06T23:36:26.725Z] 5eb5b503b376: Download complete [2023-03-06T23:36:27.296Z] 2f39f015ded8: Download complete [2023-03-06T23:36:27.869Z] 5eb5b503b376: Pull complete [2023-03-06T23:36:27.869Z] 5c69ac0246d0: Pull complete [2023-03-06T23:36:28.440Z] ec43610c2a17: Pull complete [2023-03-06T23:36:28.440Z] 3a2ae6a8a46f: Pull complete [2023-03-06T23:36:28.698Z] 33b1e0a273af: Pull complete [2023-03-06T23:36:28.698Z] 5d3b04190fa2: Pull complete [2023-03-06T23:36:32.884Z] 2f39f015ded8: Pull complete [2023-03-06T23:36:32.884Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-06T23:36:32.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T23:36:32.884Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T23:36:32.955Z] prd-ubuntu20.04-docker-8c-8g-8418 does not seem to be running inside a container [2023-03-06T23:36:32.982Z] $ 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-230 -v /w/workspace/xfoundry_go-mod-messaging_PR-230:/w/workspace/xfoundry_go-mod-messaging_PR-230:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-230@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-230@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-06T23:36:37.460Z] $ docker top 91a88876d142388803da0a9645f91cca6b34196cffe750bb2811d58ff8446da5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:36:37.828Z] ---> job-cost.sh [2023-03-06T23:36:37.828Z] lf-activate-venv: SKIPPING [2023-03-06T23:36:37.828Z] INFO: No Stack... [2023-03-06T23:36:38.086Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-06T23:36:38.345Z] INFO: Archiving Costs [Pipeline] sh [2023-03-06T23:36:38.633Z] + cat /w/workspace/xfoundry_go-mod-messaging_PR-230/archives/cost.csv [2023-03-06T23:36:38.633Z] + cut -d, -f6 [Pipeline] lock [2023-03-06T23:36:38.648Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-230-2-stack-cost] [2023-03-06T23:36:38.657Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-230-2-stack-cost] did not exist. Created. [2023-03-06T23:36:38.657Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-230-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-06T23:36:38.954Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-06T23:36:38.994Z] Stashed 1 file(s) [Pipeline] } [2023-03-06T23:36:39.001Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-230-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-06T23:36:39.018Z] $ docker stop --time=1 91a88876d142388803da0a9645f91cca6b34196cffe750bb2811d58ff8446da5 [2023-03-06T23:36:40.150Z] $ docker rm -f --volumes 91a88876d142388803da0a9645f91cca6b34196cffe750bb2811d58ff8446da5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-06T23:36:40.235Z] Failed in branch amd64 [2023-03-06T23:39:12.408Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8421 in /w/workspace/xfoundry_go-mod-messaging_PR-230 [Pipeline] { [Pipeline] ws [2023-03-06T23:39:12.422Z] Running in /w/workspace/go-mod-messaging/2 [Pipeline] { [Pipeline] checkout [2023-03-06T23:39:12.465Z] Selected Git installation does not exist. Using Default [2023-03-06T23:39:12.465Z] The recommended git tool is: NONE [2023-03-06T23:39:19.199Z] using credential edgex-jenkins-ssh [2023-03-06T23:39:19.219Z] Cloning the remote Git repository [2023-03-06T23:39:19.293Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2023-03-06T23:39:19.383Z] > git init /w/workspace/go-mod-messaging/2 # timeout=10 [2023-03-06T23:39:19.565Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2023-03-06T23:39:19.566Z] > git --version # timeout=10 [2023-03-06T23:39:19.586Z] > git --version # 'git version 2.25.1' [2023-03-06T23:39:19.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-06T23:39:19.662Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-06T23:39:20.792Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2023-03-06T23:39:20.830Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-06T23:39:22.681Z] Merging remotes/origin/main commit 36fc100f4d31ea74ed8da62417d344024d4561ab into PR head commit aaa950fe6606317cbcce1abe3a790b5bf530ded6 [2023-03-06T23:39:21.936Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2023-03-06T23:39:21.999Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2023-03-06T23:39:22.000Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-06T23:39:22.021Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/230/head:refs/remotes/origin/PR-230 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-06T23:39:23.020Z] Merge succeeded, producing 65a00df99ebf113eea11541c46764ff992a37eb1 [2023-03-06T23:39:23.020Z] Checking out Revision 65a00df99ebf113eea11541c46764ff992a37eb1 (PR-230) [2023-03-06T23:39:22.702Z] > git config core.sparsecheckout # timeout=10 [2023-03-06T23:39:22.729Z] > git checkout -f aaa950fe6606317cbcce1abe3a790b5bf530ded6 # timeout=10 [2023-03-06T23:39:22.831Z] > git remote # timeout=10 [2023-03-06T23:39:22.857Z] > git config --get remote.origin.url # timeout=10 [2023-03-06T23:39:22.878Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-06T23:39:22.896Z] > git merge 36fc100f4d31ea74ed8da62417d344024d4561ab # timeout=10 [2023-03-06T23:39:22.993Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-06T23:39:23.027Z] > git config core.sparsecheckout # timeout=10 [2023-03-06T23:39:23.047Z] > git checkout -f 65a00df99ebf113eea11541c46764ff992a37eb1 # timeout=10 [2023-03-06T23:39:26.654Z] Commit message: "Merge commit '36fc100f4d31ea74ed8da62417d344024d4561ab' into HEAD" [2023-03-06T23:39:26.690Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-06T23:39:26.664Z] > git rev-list --no-walk 7fedeecceec383a5fcebb6a2619d6ff699ed1cdb # timeout=10 [2023-03-06T23:39:27.691Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-06T23:39:27.691Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-06T23:39:27.691Z] Dload Upload Total Spent Left Speed [2023-03-06T23:39:27.691Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh [2023-03-06T23:39:28.505Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-06T23:39:28.848Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-06T23:39:28.848Z] + sudo tee /etc/docker/daemon.new [2023-03-06T23:39:28.848Z] { [2023-03-06T23:39:28.848Z] "registry-mirrors": [ [2023-03-06T23:39:28.848Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-06T23:39:28.848Z] ], [2023-03-06T23:39:28.848Z] "bip": "10.250.0.254/24", [2023-03-06T23:39:28.848Z] "hosts": [ [2023-03-06T23:39:28.848Z] "tcp://0.0.0.0:5555", [2023-03-06T23:39:28.848Z] "unix:///var/run/docker.sock" [2023-03-06T23:39:28.848Z] ], [2023-03-06T23:39:28.849Z] "mtu": 1458, [2023-03-06T23:39:28.849Z] "selinux-enabled": true, [2023-03-06T23:39:28.849Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-06T23:39:28.849Z] } [Pipeline] sh [2023-03-06T23:39:29.188Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-06T23:39:29.531Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-03-06T23:39:48.084Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T23:39:48.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T23:39:48.112Z] ========================================================= [2023-03-06T23:39:48.112Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-06T23:39:48.112Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-03-06T23:39:48.450Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-06T23:39:49.042Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-06T23:39:49.042Z] 9b18e9b68314: Pulling fs layer [2023-03-06T23:39:49.042Z] 35d82f9e3411: Pulling fs layer [2023-03-06T23:39:49.042Z] e16973657156: Pulling fs layer [2023-03-06T23:39:49.042Z] fc693d55d65f: Pulling fs layer [2023-03-06T23:39:49.042Z] 7e9fc2657dce: Pulling fs layer [2023-03-06T23:39:49.042Z] dda99020689f: Pulling fs layer [2023-03-06T23:39:49.042Z] db1c61fa0a46: Pulling fs layer [2023-03-06T23:39:49.042Z] 891c053d2c06: Pulling fs layer [2023-03-06T23:39:49.042Z] fc693d55d65f: Waiting [2023-03-06T23:39:49.042Z] 7e9fc2657dce: Waiting [2023-03-06T23:39:49.042Z] dda99020689f: Waiting [2023-03-06T23:39:49.042Z] db1c61fa0a46: Waiting [2023-03-06T23:39:49.042Z] 891c053d2c06: Waiting [2023-03-06T23:39:49.042Z] e16973657156: Verifying Checksum [2023-03-06T23:39:49.042Z] e16973657156: Download complete [2023-03-06T23:39:49.042Z] 35d82f9e3411: Download complete [2023-03-06T23:39:49.042Z] 7e9fc2657dce: Download complete [2023-03-06T23:39:49.042Z] dda99020689f: Download complete [2023-03-06T23:39:49.042Z] 9b18e9b68314: Verifying Checksum [2023-03-06T23:39:49.042Z] 9b18e9b68314: Download complete [2023-03-06T23:39:50.022Z] 9b18e9b68314: Pull complete [2023-03-06T23:39:50.294Z] 891c053d2c06: Verifying Checksum [2023-03-06T23:39:50.294Z] 891c053d2c06: Download complete [2023-03-06T23:39:50.567Z] 35d82f9e3411: Pull complete [2023-03-06T23:39:50.850Z] e16973657156: Pull complete [2023-03-06T23:39:51.442Z] db1c61fa0a46: Verifying Checksum [2023-03-06T23:39:51.442Z] db1c61fa0a46: Download complete [2023-03-06T23:39:52.033Z] fc693d55d65f: Verifying Checksum [2023-03-06T23:39:52.033Z] fc693d55d65f: Download complete [2023-03-06T23:40:04.405Z] fc693d55d65f: Pull complete [2023-03-06T23:40:04.405Z] 7e9fc2657dce: Pull complete [2023-03-06T23:40:04.405Z] dda99020689f: Pull complete [2023-03-06T23:40:09.771Z] db1c61fa0a46: Pull complete [2023-03-06T23:40:13.132Z] 891c053d2c06: Pull complete [2023-03-06T23:40:13.132Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-06T23:40:13.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-06T23:40:13.132Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2023-03-06T23:40:13.467Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:40:13.824Z] + docker inspect -f . ci-base-image-arm64 [2023-03-06T23:40:13.824Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T23:40:14.057Z] prd-ubuntu20.04-docker-arm64-4c-16g-8421 does not seem to be running inside a container [2023-03-06T23:40:14.149Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-06T23:40:17.758Z] $ docker top b2a5c07a55f1548a1740b5d57594b17647e0c5e5a3afcf98473bfe25aa856751 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T23:40:18.661Z] + go version [2023-03-06T23:40:18.661Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-06T23:40:18.686Z] $ docker stop --time=1 b2a5c07a55f1548a1740b5d57594b17647e0c5e5a3afcf98473bfe25aa856751 [2023-03-06T23:40:20.443Z] $ docker rm -f --volumes b2a5c07a55f1548a1740b5d57594b17647e0c5e5a3afcf98473bfe25aa856751 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:40:21.029Z] + docker inspect -f . ci-base-image-arm64 [2023-03-06T23:40:21.029Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T23:40:21.248Z] prd-ubuntu20.04-docker-arm64-4c-16g-8421 does not seem to be running inside a container [2023-03-06T23:40:21.343Z] $ 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/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-06T23:40:22.763Z] $ docker top d8973c3127a5fc2ebb55760f2c45e050fdfb6f70812f69f068a6c007025c8d2d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T23:40:23.679Z] + git config --global --add safe.directory /w/workspace/go-mod-messaging/2 [Pipeline] fileExists [Pipeline] sh [2023-03-06T23:40:24.348Z] + make test [2023-03-06T23:40:24.348Z] go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2023-03-06T23:40:24.348Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.22 [2023-03-06T23:40:24.617Z] go: downloading github.com/google/uuid v1.3.0 [2023-03-06T23:40:24.617Z] go: downloading github.com/stretchr/testify v1.8.2 [2023-03-06T23:40:24.886Z] go: downloading github.com/nats-io/nats.go v1.24.0 [2023-03-06T23:40:24.886Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-03-06T23:40:24.886Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.14 [2023-03-06T23:40:24.886Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-03-06T23:40:24.886Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-03-06T23:40:25.157Z] go: downloading github.com/go-playground/validator/v10 v10.11.2 [2023-03-06T23:40:25.157Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-03-06T23:40:25.157Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-03-06T23:40:25.157Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-03-06T23:40:25.157Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-03-06T23:40:25.157Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-03-06T23:40:25.427Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-03-06T23:40:25.427Z] go: downloading golang.org/x/net v0.7.0 [2023-03-06T23:40:25.427Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2023-03-06T23:40:25.427Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2023-03-06T23:40:25.427Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-03-06T23:40:25.427Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-03-06T23:40:25.427Z] go: downloading github.com/x448/float16 v0.8.4 [2023-03-06T23:40:25.427Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-03-06T23:40:25.427Z] go: downloading github.com/leodido/go-urn v1.2.1 [2023-03-06T23:40:25.698Z] go: downloading golang.org/x/crypto v0.5.0 [2023-03-06T23:40:25.966Z] go: downloading golang.org/x/text v0.7.0 [2023-03-06T23:40:26.240Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-03-06T23:40:26.240Z] go: downloading github.com/klauspost/compress v1.15.15 [2023-03-06T23:40:26.508Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-03-06T23:40:26.508Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2023-03-06T23:40:26.508Z] go: downloading golang.org/x/time v0.3.0 [2023-03-06T23:42:33.258Z] ok github.com/edgexfoundry/go-mod-messaging/v3/clients 0.320s coverage: 88.6% of statements [2023-03-06T23:42:33.258Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg 5.102s coverage: 19.8% of statements [2023-03-06T23:42:33.258Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 0.265s coverage: 88.8% of statements [2023-03-06T23:42:33.258Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats 0.234s coverage: 89.1% of statements [2023-03-06T23:42:33.258Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] [2023-03-06T23:42:33.258Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] [2023-03-06T23:43:41.140Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 0.321s coverage: 35.9% of statements [2023-03-06T23:43:41.140Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 2.203s coverage: 67.3% of statements [2023-03-06T23:43:41.140Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] [2023-03-06T23:43:41.140Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 0.103s coverage: 87.5% of statements [2023-03-06T23:43:41.140Z] ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] [2023-03-06T23:43:41.140Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 0.077s coverage: 100.0% of statements [2023-03-06T23:43:41.140Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 0.062s coverage: 100.0% of statements [2023-03-06T23:43:41.140Z] ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 0.176s coverage: 95.1% of statements [2023-03-06T23:43:41.140Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-06T23:43:41.140Z] go vet ./... [2023-03-06T23:44:49.069Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-06T23:44:49.069Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-03-06T23:44:49.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-06T23:44:49.104Z] $ docker stop --time=1 d8973c3127a5fc2ebb55760f2c45e050fdfb6f70812f69f068a6c007025c8d2d [2023-03-06T23:44:51.107Z] $ docker rm -f --volumes d8973c3127a5fc2ebb55760f2c45e050fdfb6f70812f69f068a6c007025c8d2d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-06T23:44:53.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-06T23:44:53.893Z] 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-03-06T23:44:54.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-06T23:44:54.352Z] [2023-03-06T23:44:54.352Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:44:54.688Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-06T23:44:54.688Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-06T23:44:54.688Z] 8998bd30e6a1: Pulling fs layer [2023-03-06T23:44:54.688Z] 04944245beec: Pulling fs layer [2023-03-06T23:44:54.688Z] 699f458cf7ca: Pulling fs layer [2023-03-06T23:44:54.688Z] 765212b225bb: Pulling fs layer [2023-03-06T23:44:54.688Z] f23df028b6ca: Pulling fs layer [2023-03-06T23:44:54.688Z] d65c8cfc05b1: Pulling fs layer [2023-03-06T23:44:54.688Z] 2437ff75d9bd: Pulling fs layer [2023-03-06T23:44:54.688Z] 765212b225bb: Waiting [2023-03-06T23:44:54.688Z] f23df028b6ca: Waiting [2023-03-06T23:44:54.688Z] d65c8cfc05b1: Waiting [2023-03-06T23:44:54.688Z] 2437ff75d9bd: Waiting [2023-03-06T23:44:54.955Z] 04944245beec: Verifying Checksum [2023-03-06T23:44:54.955Z] 04944245beec: Download complete [2023-03-06T23:44:54.955Z] 765212b225bb: Verifying Checksum [2023-03-06T23:44:54.955Z] 765212b225bb: Download complete [2023-03-06T23:44:54.955Z] f23df028b6ca: Download complete [2023-03-06T23:44:54.955Z] d65c8cfc05b1: Verifying Checksum [2023-03-06T23:44:54.955Z] d65c8cfc05b1: Download complete [2023-03-06T23:44:55.224Z] 699f458cf7ca: Verifying Checksum [2023-03-06T23:44:55.224Z] 699f458cf7ca: Download complete [2023-03-06T23:44:55.493Z] 8998bd30e6a1: Verifying Checksum [2023-03-06T23:44:55.493Z] 8998bd30e6a1: Download complete [2023-03-06T23:44:58.084Z] 2437ff75d9bd: Verifying Checksum [2023-03-06T23:44:58.084Z] 2437ff75d9bd: Download complete [2023-03-06T23:45:00.677Z] 8998bd30e6a1: Pull complete [2023-03-06T23:45:00.677Z] 04944245beec: Pull complete [2023-03-06T23:45:02.100Z] 699f458cf7ca: Pull complete [2023-03-06T23:45:02.378Z] 765212b225bb: Pull complete [2023-03-06T23:45:02.967Z] f23df028b6ca: Pull complete [2023-03-06T23:45:03.235Z] d65c8cfc05b1: Pull complete [2023-03-06T23:45:18.256Z] 2437ff75d9bd: Pull complete [2023-03-06T23:45:18.256Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-06T23:45:18.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-06T23:45:18.256Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T23:45:18.460Z] prd-ubuntu20.04-docker-arm64-4c-16g-8421 does not seem to be running inside a container [2023-03-06T23:45:18.534Z] $ 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/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-06T23:45:21.456Z] $ docker top de853563d0b514d834afffacc708cde297e6e3298806b033b6ab3930172ac07d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:45:22.366Z] ---> job-cost.sh [2023-03-06T23:45:22.366Z] lf-activate-venv: SKIPPING [2023-03-06T23:45:22.366Z] INFO: No Stack... [2023-03-06T23:45:22.959Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-06T23:45:23.940Z] INFO: Archiving Costs [Pipeline] sh [2023-03-06T23:45:24.606Z] + cat /w/workspace/go-mod-messaging/2/archives/cost.csv [2023-03-06T23:45:24.606Z] + cut -d, -f6 [Pipeline] lock [2023-03-06T23:45:24.684Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-230-2-stack-cost] [2023-03-06T23:45:24.690Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-230-2-stack-cost] did not exist. Created. [2023-03-06T23:45:24.690Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-230-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-06T23:45:25.356Z] /w/workspace/go-mod-messaging/2@tmp/durable-6bbf789b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-06T23:45:26.031Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-06T23:45:26.054Z] Warning: overwriting stash ‘stack-cost’ [2023-03-06T23:45:26.108Z] Stashed 1 file(s) [Pipeline] } [2023-03-06T23:45:26.116Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-230-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-06T23:45:26.131Z] $ docker stop --time=1 de853563d0b514d834afffacc708cde297e6e3298806b033b6ab3930172ac07d [2023-03-06T23:45:27.735Z] $ docker rm -f --volumes de853563d0b514d834afffacc708cde297e6e3298806b033b6ab3930172ac07d [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-03-06T23:45:28.660Z] + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-230/archives ] [2023-03-06T23:45:28.660Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-230/archives [2023-03-06T23:45:28.660Z] total 16 [2023-03-06T23:45:28.660Z] drwxr-xr-x 3 root root 4096 Mar 6 23:36 . [2023-03-06T23:45:28.660Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 6 23:36 .. [2023-03-06T23:45:28.660Z] drwxr-xr-x 2 root root 4096 Mar 6 23:36 cost [2023-03-06T23:45:28.660Z] -rw-r--r-- 1 root root 88 Mar 6 23:36 cost.csv [2023-03-06T23:45:28.660Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-230/archives [2023-03-06T23:45:28.660Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-230/archives [2023-03-06T23:45:28.660Z] total 16 [2023-03-06T23:45:28.660Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 6 23:36 . [2023-03-06T23:45:28.660Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 6 23:36 .. [2023-03-06T23:45:28.660Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 6 23:36 cost [2023-03-06T23:45:28.660Z] -rw-r--r-- 1 jenkins jenkins 88 Mar 6 23:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:45:28.949Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:45:29.808Z] ---> package-listing.sh [2023-03-06T23:45:29.808Z] ++ facter osfamily [2023-03-06T23:45:29.808Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-06T23:45:30.066Z] + OS_FAMILY=debian [2023-03-06T23:45:30.066Z] + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-230 [2023-03-06T23:45:30.066Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-06T23:45:30.066Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-06T23:45:30.066Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-06T23:45:30.066Z] + PACKAGES=/tmp/packages_start.txt [2023-03-06T23:45:30.066Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-230 ']' [2023-03-06T23:45:30.066Z] + PACKAGES=/tmp/packages_end.txt [2023-03-06T23:45:30.066Z] + case "${OS_FAMILY}" in [2023-03-06T23:45:30.066Z] + dpkg -l [2023-03-06T23:45:30.066Z] + grep '^ii' [2023-03-06T23:45:30.066Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-06T23:45:30.066Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-06T23:45:30.066Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-06T23:45:30.066Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-230 ']' [2023-03-06T23:45:30.066Z] + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-230/archives/ [2023-03-06T23:45:30.066Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-230/archives/ [Pipeline] echo [2023-03-06T23:45:30.077Z] 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-230/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-06T23:45:30.354Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:45:30.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T23:45:30.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T23:45:30.987Z] prd-ubuntu20.04-docker-8c-8g-8418 does not seem to be running inside a container [2023-03-06T23:45:31.016Z] $ 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-230/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-230 -v /w/workspace/xfoundry_go-mod-messaging_PR-230:/w/workspace/xfoundry_go-mod-messaging_PR-230:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-230@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-230@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-06T23:45:31.194Z] $ docker top 33cd1d2b094a1fdf92e81e8117396ae6b723367b35c3ec372c89961a5d471766 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T23:45:31.536Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-06T23:45:31.820Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-06T23:45:32.102Z] + ls /var/log/sa-host [2023-03-06T23:45:32.102Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-06T23:45:32.168Z] provisioning config files... [2023-03-06T23:45:32.179Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-230@tmp/config12485120843558637221tmp [Pipeline] { [Pipeline] echo [2023-03-06T23:45:32.195Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:45:32.476Z] ---> create-netrc.sh [Pipeline] } [2023-03-06T23:45:32.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:45:32.818Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-06T23:45:32.828Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:45:33.113Z] ---> sudo-logs.sh [2023-03-06T23:45:33.113Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-06T23:45:33.142Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:45:33.423Z] ---> job-cost.sh [2023-03-06T23:45:33.423Z] lf-activate-venv: SKIPPING [2023-03-06T23:45:33.423Z] DEBUG: total: 0.2199999988079071 [2023-03-06T23:45:33.423Z] INFO: Retrieving Stack Cost... [2023-03-06T23:45:33.681Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-06T23:45:34.248Z] INFO: Archiving Costs [Pipeline] echo [2023-03-06T23:45:34.261Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:45:34.539Z] ---> logs-deploy.sh [2023-03-06T23:45:34.539Z] lf-activate-venv: SKIPPING [2023-03-06T23:45:34.539Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-230/2 [2023-03-06T23:45:34.539Z] INFO: archiving workspace using pattern(s): [2023-03-06T23:45:35.476Z] Archives upload complete. [2023-03-06T23:45:35.476Z] INFO: archiving logs to Nexus