Pull request #235 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 AlexCuse for edgexfoundry/go-mod-messaging Loading trusted files from base branch main at 7e853350e9894937d379e560e3d42626dd911f6d rather than 19700dceac01abd7fb05d0f4a6ec78c8d2ddf9db Obtained Jenkinsfile from 7e853350e9894937d379e560e3d42626dd911f6d 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-ssh15869939847713369566.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh766768135682174017.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-235/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-235/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15699266541418964494.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh5395849064489580388.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-235/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-235/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13426203118283723910.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.20 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 Running on prd-ubuntu20.04-docker-8c-8g-12598 in /w/workspace/xfoundry_go-mod-messaging_PR-235 [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-235 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7e853350e9894937d379e560e3d42626dd911f6d into PR head commit 19700dceac01abd7fb05d0f4a6ec78c8d2ddf9db Merge succeeded, producing 3647ac9826bed2067cd04f01e8b35f9b97de0ac8 Checking out Revision 3647ac9826bed2067cd04f01e8b35f9b97de0ac8 (PR-235) > 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/235/head:refs/remotes/origin/PR-235 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 19700dceac01abd7fb05d0f4a6ec78c8d2ddf9db # 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 7e853350e9894937d379e560e3d42626dd911f6d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3647ac9826bed2067cd04f01e8b35f9b97de0ac8 # timeout=10 Commit message: "Merge commit '7e853350e9894937d379e560e3d42626dd911f6d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-03T17:24:31.728Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-03T17:24:31.777Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-03T17:24:31.791Z] ========================================================= [2023-05-03T17:24:31.791Z] EdgeX Global Pipelines Version Info [2023-05-03T17:24:31.791Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4931991bf2ad327ca11478c94b209fb7ee41df00 # timeout=10 [2023-05-03T17:24:32.497Z] ------------------- [2023-05-03T17:24:32.497Z] stable info: [2023-05-03T17:24:32.497Z] ------------------- [2023-05-03T17:24:32.497Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-05-03T17:24:32.497Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-03T17:24:32.497Z] Message: update stable to v1.0.248 [2023-05-03T17:24:33.068Z] ------------------- [2023-05-03T17:24:33.068Z] experimental info: [2023-05-03T17:24:33.068Z] ------------------- [2023-05-03T17:24:33.068Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-03T17:24:33.068Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-03T17:24:33.068Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-03T17:24:33.243Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2023-05-03T17:24:33.252Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2023-05-03T17:24:33.261Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-03T17:24:33.276Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-03T17:24:33.295Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-03T17:24:33.311Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-03T17:24:33.328Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-03T17:24:33.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-03T17:24:33.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-03T17:24:33.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-03T17:24:33.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-03T17:24:33.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo [2023-05-03T17:24:33.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-03T17:24:33.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-03T17:24:33.437Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T17:24:33.447Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T17:24:33.459Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T17:24:33.473Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T17:24:33.487Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-03T17:24:33.504Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-03T17:24:33.517Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-03T17:24:33.528Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-03T17:24:33.540Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-03T17:24:33.552Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-03T17:24:33.567Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-05-03T17:24:33.583Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-03T17:24:33.598Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-03T17:24:33.609Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-235 [Pipeline] echo [2023-05-03T17:24:33.623Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-235 [Pipeline] echo [2023-05-03T17:24:33.634Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-235 [Pipeline] echo [2023-05-03T17:24:33.646Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3647ac9826bed2067cd04f01e8b35f9b97de0ac8 [Pipeline] echo [2023-05-03T17:24:33.661Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3647ac9 [Pipeline] echo [2023-05-03T17:24:33.673Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-03T17:24:34.034Z] + git rev-list -1 --merges 3647ac9826bed2067cd04f01e8b35f9b97de0ac8~1..3647ac9826bed2067cd04f01e8b35f9b97de0ac8 [Pipeline] echo [2023-05-03T17:24:34.052Z] -----------> git rev-list -1 --merges 3647ac9826bed2067cd04f01e8b35f9b97de0ac8~1..3647ac9826bed2067cd04f01e8b35f9b97de0ac8 3647ac9826bed2067cd04f01e8b35f9b97de0ac8 [2023-05-03T17:24:34.052Z] 3647ac9826bed2067cd04f01e8b35f9b97de0ac8 [false] [Pipeline] sh [2023-05-03T17:24:34.347Z] + git log --format=format:%s -1 3647ac9826bed2067cd04f01e8b35f9b97de0ac8 [Pipeline] echo [2023-05-03T17:24:34.364Z] ========================================================= [2023-05-03T17:24:34.364Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-03T17:24:34.364Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T17:24:34.711Z] + git log --format=format:%s -1 3647ac9826bed2067cd04f01e8b35f9b97de0ac8 [Pipeline] echo [2023-05-03T17:24:34.723Z] [semverPrep] GIT_COMMIT: 3647ac9826bed2067cd04f01e8b35f9b97de0ac8, Commit Message: Merge commit '7e853350e9894937d379e560e3d42626dd911f6d' into HEAD [Pipeline] echo [2023-05-03T17:24:34.734Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-03T17:24:35.116Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-03T17:24:35.116Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-03T17:24:35.116Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-03T17:24:35.116Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-03T17:24:35.116Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-03T17:24:35.116Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-03T17:24:35.116Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T17:24:35.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T17:24:35.813Z] [2023-05-03T17:24:35.813Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T17:24:36.115Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T17:24:36.375Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-03T17:24:36.375Z] b85a868b505f: Pulling fs layer [2023-05-03T17:24:36.375Z] e2be974225ed: Pulling fs layer [2023-05-03T17:24:36.375Z] 339a4e72a1f5: Pulling fs layer [2023-05-03T17:24:36.375Z] 988bab9f4d93: Pulling fs layer [2023-05-03T17:24:36.375Z] 1469e6f7b9e6: Pulling fs layer [2023-05-03T17:24:36.375Z] eaf3925da568: Pulling fs layer [2023-05-03T17:24:36.375Z] bab4dde63d76: Pulling fs layer [2023-05-03T17:24:36.375Z] bde34c3a00c8: Pulling fs layer [2023-05-03T17:24:36.375Z] b352a97aabf1: Pulling fs layer [2023-05-03T17:24:36.375Z] 4872d77fe225: Pulling fs layer [2023-05-03T17:24:36.375Z] 5851b861e8e6: Pulling fs layer [2023-05-03T17:24:36.375Z] eaf3925da568: Waiting [2023-05-03T17:24:36.375Z] bde34c3a00c8: Waiting [2023-05-03T17:24:36.375Z] b352a97aabf1: Waiting [2023-05-03T17:24:36.375Z] bab4dde63d76: Waiting [2023-05-03T17:24:36.375Z] 1469e6f7b9e6: Waiting [2023-05-03T17:24:36.375Z] 5851b861e8e6: Waiting [2023-05-03T17:24:36.375Z] 988bab9f4d93: Waiting [2023-05-03T17:24:36.375Z] 4872d77fe225: Waiting [2023-05-03T17:24:36.375Z] e2be974225ed: Download complete [2023-05-03T17:24:36.375Z] 988bab9f4d93: Verifying Checksum [2023-05-03T17:24:36.375Z] 988bab9f4d93: Download complete [2023-05-03T17:24:36.375Z] 1469e6f7b9e6: Verifying Checksum [2023-05-03T17:24:36.375Z] 1469e6f7b9e6: Download complete [2023-05-03T17:24:36.375Z] 339a4e72a1f5: Verifying Checksum [2023-05-03T17:24:36.375Z] 339a4e72a1f5: Download complete [2023-05-03T17:24:36.375Z] eaf3925da568: Verifying Checksum [2023-05-03T17:24:36.375Z] eaf3925da568: Download complete [2023-05-03T17:24:36.375Z] bde34c3a00c8: Download complete [2023-05-03T17:24:36.375Z] b352a97aabf1: Download complete [2023-05-03T17:24:36.375Z] 4872d77fe225: Download complete [2023-05-03T17:24:36.635Z] 5851b861e8e6: Download complete [2023-05-03T17:24:36.635Z] b85a868b505f: Verifying Checksum [2023-05-03T17:24:36.892Z] bab4dde63d76: Verifying Checksum [2023-05-03T17:24:36.892Z] bab4dde63d76: Download complete [2023-05-03T17:24:37.939Z] b85a868b505f: Pull complete [2023-05-03T17:24:37.939Z] e2be974225ed: Pull complete [2023-05-03T17:24:38.508Z] 339a4e72a1f5: Pull complete [2023-05-03T17:24:38.508Z] 988bab9f4d93: Pull complete [2023-05-03T17:24:38.767Z] 1469e6f7b9e6: Pull complete [2023-05-03T17:24:39.026Z] eaf3925da568: Pull complete [2023-05-03T17:24:40.933Z] bab4dde63d76: Pull complete [2023-05-03T17:24:40.933Z] bde34c3a00c8: Pull complete [2023-05-03T17:24:41.194Z] b352a97aabf1: Pull complete [2023-05-03T17:24:41.194Z] 4872d77fe225: Pull complete [2023-05-03T17:24:41.453Z] 5851b861e8e6: Pull complete [2023-05-03T17:24:41.453Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-03T17:24:41.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T17:24:41.453Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T17:24:41.533Z] prd-ubuntu20.04-docker-8c-8g-12598 does not seem to be running inside a container [2023-05-03T17:24:41.567Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-235 -v /w/workspace/xfoundry_go-mod-messaging_PR-235:/w/workspace/xfoundry_go-mod-messaging_PR-235:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-235@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-235@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-05-03T17:24:43.734Z] $ docker top a2f2dfe38ad148c5fbe7ed2705810ecf6ec14b413575b39c4511e5c33cef3200 -eo pid,comm [2023-05-03T17:24:43.778Z] 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-05-03T17:24:43.778Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-03T17:24:43.817Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T17:24:43.818Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T17:24:43.938Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T17:24:43.949Z] $ docker exec a2f2dfe38ad148c5fbe7ed2705810ecf6ec14b413575b39c4511e5c33cef3200 ssh-agent [2023-05-03T17:24:44.048Z] SSH_AUTH_SOCK=/tmp/ssh-WuhUEJYAEYkx/agent.33 [2023-05-03T17:24:44.048Z] SSH_AGENT_PID=39 [2023-05-03T17:24:44.053Z] Running ssh-add (command line suppressed) [2023-05-03T17:24:44.170Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-235@tmp/private_key_10031241971362188810.key (/w/workspace/xfoundry_go-mod-messaging_PR-235@tmp/private_key_10031241971362188810.key) [2023-05-03T17:24:44.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T17:24:44.464Z] + git tag --points-at HEAD [Pipeline] } [2023-05-03T17:24:44.491Z] $ docker exec --env ******** --env ******** a2f2dfe38ad148c5fbe7ed2705810ecf6ec14b413575b39c4511e5c33cef3200 ssh-agent -k [2023-05-03T17:24:44.579Z] unset SSH_AUTH_SOCK; [2023-05-03T17:24:44.579Z] unset SSH_AGENT_PID; [2023-05-03T17:24:44.579Z] echo Agent pid 39 killed; [2023-05-03T17:24:44.580Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-03T17:24:44.605Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T17:24:44.605Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T17:24:44.709Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T17:24:44.721Z] $ docker exec a2f2dfe38ad148c5fbe7ed2705810ecf6ec14b413575b39c4511e5c33cef3200 ssh-agent [2023-05-03T17:24:44.820Z] SSH_AUTH_SOCK=/tmp/ssh-6OeVn0RP3hvE/agent.71 [2023-05-03T17:24:44.820Z] SSH_AGENT_PID=77 [2023-05-03T17:24:44.825Z] Running ssh-add (command line suppressed) [2023-05-03T17:24:44.931Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-235@tmp/private_key_6901551056742752272.key (/w/workspace/xfoundry_go-mod-messaging_PR-235@tmp/private_key_6901551056742752272.key) [2023-05-03T17:24:44.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T17:24:45.229Z] + git semver init [2023-05-03T17:24:45.491Z] 2023-05-03 17:24:45,419 [run_init] DEBUG init version:0.0.0 force:False [2023-05-03T17:24:45.491Z] 2023-05-03 17:24:45,420 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-235/.semver [2023-05-03T17:24:45.491Z] 2023-05-03 17:24:45,420 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-235/.semver [2023-05-03T17:24:45.491Z] 2023-05-03 17:24:45,420 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-235/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-235, universal_newlines=False, shell=None, istream=None) [2023-05-03T17:24:46.430Z] 2023-05-03 17:24:46,136 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-235/.git/info/exclude [2023-05-03T17:24:46.430Z] 2023-05-03 17:24:46,137 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-235/.semver/PR-235 with force:False [2023-05-03T17:24:46.430Z] 2023-05-03 17:24:46,137 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-235/.semver/PR-235 [2023-05-03T17:24:46.430Z] 2023-05-03 17:24:46,141 [execute] INFO git cat-file --batch-check [2023-05-03T17:24:46.430Z] 2023-05-03 17:24:46,142 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-235/.semver, universal_newlines=False, shell=None, istream=) [2023-05-03T17:24:46.431Z] 2023-05-03 17:24:46,149 [execute] INFO git cat-file --batch [2023-05-03T17:24:46.431Z] 2023-05-03 17:24:46,150 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-235/.semver, universal_newlines=False, shell=None, istream=) [2023-05-03T17:24:46.431Z] 2023-05-03 17:24:46,155 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-235/.semver/PR-235 [2023-05-03T17:24:46.431Z] 0.0.0 [Pipeline] } [2023-05-03T17:24:46.448Z] $ docker exec --env ******** --env ******** a2f2dfe38ad148c5fbe7ed2705810ecf6ec14b413575b39c4511e5c33cef3200 ssh-agent -k [2023-05-03T17:24:46.547Z] unset SSH_AUTH_SOCK; [2023-05-03T17:24:46.548Z] unset SSH_AGENT_PID; [2023-05-03T17:24:46.548Z] echo Agent pid 77 killed; [2023-05-03T17:24:46.551Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-03T17:24:46.865Z] + git semver [Pipeline] } [2023-05-03T17:24:47.146Z] $ docker stop --time=1 a2f2dfe38ad148c5fbe7ed2705810ecf6ec14b413575b39c4511e5c33cef3200 [2023-05-03T17:24:48.431Z] $ docker rm -f --volumes a2f2dfe38ad148c5fbe7ed2705810ecf6ec14b413575b39c4511e5c33cef3200 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T17:24:48.764Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-03T17:24:48.983Z] Stashed 1 file(s) [Pipeline] echo [2023-05-03T17:24:48.986Z] [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-05-03T17:24:49.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T17:24:49.204Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T17:24:49.216Z] ========================================================= [2023-05-03T17:24:49.216Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-03T17:24:49.216Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-05-03T17:24:49.511Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-03T17:24:49.512Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-03T17:24:49.512Z] f56be85fc22e: Pulling fs layer [2023-05-03T17:24:49.512Z] 85791d961cd3: Pulling fs layer [2023-05-03T17:24:49.512Z] d694b5ae8c79: Pulling fs layer [2023-05-03T17:24:49.512Z] 9f32a84ed3da: Pulling fs layer [2023-05-03T17:24:49.512Z] 4d19c01a9841: Pulling fs layer [2023-05-03T17:24:49.512Z] 9325e15d5711: Pulling fs layer [2023-05-03T17:24:49.512Z] 556b6ee489ea: Pulling fs layer [2023-05-03T17:24:49.512Z] c5a4b2cf53e6: Pulling fs layer [2023-05-03T17:24:49.512Z] 4d19c01a9841: Waiting [2023-05-03T17:24:49.512Z] 556b6ee489ea: Waiting [2023-05-03T17:24:49.512Z] 9325e15d5711: Waiting [2023-05-03T17:24:49.512Z] 9f32a84ed3da: Waiting [2023-05-03T17:24:49.512Z] 85791d961cd3: Download complete [2023-05-03T17:24:49.512Z] 9f32a84ed3da: Verifying Checksum [2023-05-03T17:24:49.512Z] 4d19c01a9841: Verifying Checksum [2023-05-03T17:24:49.512Z] f56be85fc22e: Download complete [2023-05-03T17:24:49.512Z] 9325e15d5711: Verifying Checksum [2023-05-03T17:24:49.512Z] 9325e15d5711: Download complete [2023-05-03T17:24:49.773Z] f56be85fc22e: Pull complete [2023-05-03T17:24:49.773Z] 85791d961cd3: Pull complete [2023-05-03T17:24:50.033Z] c5a4b2cf53e6: Verifying Checksum [2023-05-03T17:24:50.033Z] c5a4b2cf53e6: Download complete [2023-05-03T17:24:50.291Z] d694b5ae8c79: Verifying Checksum [2023-05-03T17:24:50.291Z] d694b5ae8c79: Download complete [2023-05-03T17:24:50.291Z] 556b6ee489ea: Verifying Checksum [2023-05-03T17:24:50.291Z] 556b6ee489ea: Download complete [2023-05-03T17:24:53.572Z] d694b5ae8c79: Pull complete [2023-05-03T17:24:53.572Z] 9f32a84ed3da: Pull complete [2023-05-03T17:24:53.572Z] 4d19c01a9841: Pull complete [2023-05-03T17:24:53.572Z] 9325e15d5711: Pull complete [2023-05-03T17:24:56.100Z] 556b6ee489ea: Pull complete [2023-05-03T17:24:57.033Z] c5a4b2cf53e6: Pull complete [2023-05-03T17:24:57.033Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-03T17:24:57.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-03T17:24:57.033Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh [2023-05-03T17:24:57.315Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T17:24:57.617Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-03T17:24:57.617Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T17:24:57.696Z] prd-ubuntu20.04-docker-8c-8g-12598 does not seem to be running inside a container [2023-05-03T17:24:57.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-235 -v /w/workspace/xfoundry_go-mod-messaging_PR-235:/w/workspace/xfoundry_go-mod-messaging_PR-235:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-235@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-235@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-05-03T17:25:00.523Z] $ docker top a307b44ea7a15f39ae6bded2a90d6589723e85bc4920310be9c691c1e0c1b3e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T17:25:00.864Z] + go version [2023-05-03T17:25:00.864Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-03T17:25:00.883Z] $ docker stop --time=1 a307b44ea7a15f39ae6bded2a90d6589723e85bc4920310be9c691c1e0c1b3e5 [2023-05-03T17:25:02.161Z] $ docker rm -f --volumes a307b44ea7a15f39ae6bded2a90d6589723e85bc4920310be9c691c1e0c1b3e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T17:25:02.551Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-03T17:25:02.551Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T17:25:02.620Z] prd-ubuntu20.04-docker-8c-8g-12598 does not seem to be running inside a container [2023-05-03T17:25:02.658Z] $ 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-235 -v /w/workspace/xfoundry_go-mod-messaging_PR-235:/w/workspace/xfoundry_go-mod-messaging_PR-235:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-235@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-235@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-05-03T17:25:02.979Z] $ docker top 740fdb73e6b7e85f6531ff07889078d80dc6d0be4239e564f3f0ec9151bd6c2c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T17:25:03.315Z] + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-messaging_PR-235 [Pipeline] fileExists [Pipeline] sh [2023-05-03T17:25:03.606Z] + make test [2023-05-03T17:25:03.606Z] go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2023-05-03T17:25:03.606Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.39 [2023-05-03T17:25:03.606Z] go: downloading github.com/google/uuid v1.3.0 [2023-05-03T17:25:03.606Z] go: downloading github.com/stretchr/testify v1.8.2 [2023-05-03T17:25:03.606Z] go: downloading github.com/nats-io/nats.go v1.25.0 [2023-05-03T17:25:03.606Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-05-03T17:25:03.863Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.16 [2023-05-03T17:25:03.863Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-05-03T17:25:03.863Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-05-03T17:25:03.863Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-05-03T17:25:03.863Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-05-03T17:25:03.863Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-05-03T17:25:03.863Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-05-03T17:25:03.863Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-05-03T17:25:03.863Z] go: downloading github.com/go-playground/validator/v10 v10.13.0 [2023-05-03T17:25:03.863Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-05-03T17:25:03.863Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-05-03T17:25:03.863Z] go: downloading golang.org/x/net v0.9.0 [2023-05-03T17:25:03.863Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2023-05-03T17:25:03.863Z] go: downloading github.com/nats-io/nkeys v0.4.4 [2023-05-03T17:25:03.863Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-05-03T17:25:03.863Z] go: downloading github.com/x448/float16 v0.8.4 [2023-05-03T17:25:03.863Z] go: downloading golang.org/x/crypto v0.8.0 [2023-05-03T17:25:03.863Z] go: downloading github.com/leodido/go-urn v1.2.3 [2023-05-03T17:25:03.863Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-05-03T17:25:03.863Z] go: downloading golang.org/x/text v0.9.0 [2023-05-03T17:25:04.110Z] Still waiting to schedule task [2023-05-03T17:25:04.111Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-03T17:25:04.122Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-05-03T17:25:04.123Z] go: downloading github.com/klauspost/compress v1.16.4 [2023-05-03T17:25:04.123Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-05-03T17:25:04.123Z] go: downloading github.com/nats-io/jwt/v2 v2.4.1 [2023-05-03T17:25:04.123Z] go: downloading golang.org/x/time v0.3.0 [2023-05-03T17:25:04.123Z] go: downloading golang.org/x/sys v0.7.0 [2023-05-03T17:25:22.210Z] ok github.com/edgexfoundry/go-mod-messaging/v3/clients 0.059s coverage: 88.6% of statements [2023-05-03T17:25:22.210Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] [2023-05-03T17:25:22.210Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] [2023-05-03T17:25:25.492Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg 5.053s coverage: 19.8% of statements [2023-05-03T17:25:25.492Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 0.084s coverage: 88.8% of statements [2023-05-03T17:25:25.492Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats 0.078s coverage: 89.1% of statements [2023-05-03T17:25:29.681Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] [2023-05-03T17:25:29.681Z] ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] [2023-05-03T17:25:29.681Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 0.122s coverage: 35.9% of statements [2023-05-03T17:25:29.681Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 0.163s coverage: 61.3% of statements [2023-05-03T17:25:29.681Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 0.048s coverage: 87.5% of statements [2023-05-03T17:25:29.681Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 0.051s coverage: 100.0% of statements [2023-05-03T17:25:29.681Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 0.047s coverage: 100.0% of statements [2023-05-03T17:25:29.681Z] ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 0.056s coverage: 95.1% of statements [2023-05-03T17:25:44.558Z] go vet ./... [2023-05-03T17:25:44.558Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-03T17:25:44.558Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-05-03T17:25:44.572Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-03T17:25:44.594Z] $ docker stop --time=1 740fdb73e6b7e85f6531ff07889078d80dc6d0be4239e564f3f0ec9151bd6c2c [2023-05-03T17:25:46.961Z] $ docker rm -f --volumes 740fdb73e6b7e85f6531ff07889078d80dc6d0be4239e564f3f0ec9151bd6c2c [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T17:25:47.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-03T17:25:47.549Z] 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-05-03T17:25:47.999Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T17:25:47.999Z] [2023-05-03T17:25:47.999Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T17:25:48.291Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T17:25:48.291Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-03T17:25:48.291Z] 5eb5b503b376: Pulling fs layer [2023-05-03T17:25:48.291Z] 5c69ac0246d0: Pulling fs layer [2023-05-03T17:25:48.291Z] ec43610c2a17: Pulling fs layer [2023-05-03T17:25:48.291Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-03T17:25:48.291Z] 33b1e0a273af: Pulling fs layer [2023-05-03T17:25:48.291Z] 5d3b04190fa2: Pulling fs layer [2023-05-03T17:25:48.291Z] 2f39f015ded8: Pulling fs layer [2023-05-03T17:25:48.291Z] 2f39f015ded8: Waiting [2023-05-03T17:25:48.291Z] 3a2ae6a8a46f: Waiting [2023-05-03T17:25:48.291Z] 5d3b04190fa2: Waiting [2023-05-03T17:25:48.291Z] 33b1e0a273af: Waiting [2023-05-03T17:25:48.291Z] 5c69ac0246d0: Download complete [2023-05-03T17:25:48.291Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-03T17:25:48.291Z] 3a2ae6a8a46f: Download complete [2023-05-03T17:25:48.291Z] 33b1e0a273af: Verifying Checksum [2023-05-03T17:25:48.291Z] 33b1e0a273af: Download complete [2023-05-03T17:25:48.291Z] 5d3b04190fa2: Verifying Checksum [2023-05-03T17:25:48.291Z] 5d3b04190fa2: Download complete [2023-05-03T17:25:48.549Z] ec43610c2a17: Verifying Checksum [2023-05-03T17:25:48.549Z] ec43610c2a17: Download complete [2023-05-03T17:25:48.549Z] 5eb5b503b376: Verifying Checksum [2023-05-03T17:25:48.549Z] 5eb5b503b376: Download complete [2023-05-03T17:25:49.115Z] 2f39f015ded8: Download complete [2023-05-03T17:25:49.682Z] 5eb5b503b376: Pull complete [2023-05-03T17:25:49.682Z] 5c69ac0246d0: Pull complete [2023-05-03T17:25:50.247Z] ec43610c2a17: Pull complete [2023-05-03T17:25:50.247Z] 3a2ae6a8a46f: Pull complete [2023-05-03T17:25:50.247Z] 33b1e0a273af: Pull complete [2023-05-03T17:25:50.507Z] 5d3b04190fa2: Pull complete [2023-05-03T17:25:54.698Z] 2f39f015ded8: Pull complete [2023-05-03T17:25:54.698Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-03T17:25:54.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T17:25:54.698Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T17:25:54.764Z] prd-ubuntu20.04-docker-8c-8g-12598 does not seem to be running inside a container [2023-05-03T17:25:54.808Z] $ 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-235 -v /w/workspace/xfoundry_go-mod-messaging_PR-235:/w/workspace/xfoundry_go-mod-messaging_PR-235:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-235@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-235@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-05-03T17:25:56.775Z] $ docker top 365c8a7f38f2a3c2365853a6d5e84d4e46dd7485ab2802f2fee7ed7e5fdd1746 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T17:25:57.175Z] ---> job-cost.sh [2023-05-03T17:25:57.175Z] lf-activate-venv: SKIPPING [2023-05-03T17:25:57.175Z] INFO: No Stack... [2023-05-03T17:25:57.744Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-03T17:25:58.004Z] INFO: Archiving Costs [Pipeline] sh [2023-05-03T17:25:58.296Z] + cat /w/workspace/xfoundry_go-mod-messaging_PR-235/archives/cost.csv [2023-05-03T17:25:58.296Z] + cut -d, -f6 [Pipeline] lock [2023-05-03T17:25:58.309Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-235-10-stack-cost] [2023-05-03T17:25:58.317Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-235-10-stack-cost] did not exist. Created. [2023-05-03T17:25:58.317Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-235-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-03T17:25:58.614Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-03T17:25:58.636Z] Stashed 1 file(s) [Pipeline] } [2023-05-03T17:25:58.645Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-235-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-03T17:25:58.671Z] $ docker stop --time=1 365c8a7f38f2a3c2365853a6d5e84d4e46dd7485ab2802f2fee7ed7e5fdd1746 [2023-05-03T17:25:59.812Z] $ docker rm -f --volumes 365c8a7f38f2a3c2365853a6d5e84d4e46dd7485ab2802f2fee7ed7e5fdd1746 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-03T17:26:37.770Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12603 in /w/workspace/xfoundry_go-mod-messaging_PR-235 [Pipeline] { [Pipeline] ws [2023-05-03T17:26:37.786Z] Running in /w/workspace/go-mod-messaging/10 [Pipeline] { [Pipeline] checkout [2023-05-03T17:26:37.821Z] Selected Git installation does not exist. Using Default [2023-05-03T17:26:37.821Z] The recommended git tool is: NONE [2023-05-03T17:26:45.337Z] using credential edgex-jenkins-ssh [2023-05-03T17:26:45.359Z] Cloning the remote Git repository [2023-05-03T17:26:45.416Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2023-05-03T17:26:45.522Z] > git init /w/workspace/go-mod-messaging/10 # timeout=10 [2023-05-03T17:26:45.683Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2023-05-03T17:26:45.684Z] > git --version # timeout=10 [2023-05-03T17:26:45.710Z] > git --version # 'git version 2.25.1' [2023-05-03T17:26:45.713Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T17:26:45.865Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-03T17:26:46.765Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2023-05-03T17:26:46.790Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-03T17:26:47.601Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2023-05-03T17:26:47.649Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2023-05-03T17:26:47.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T17:26:47.667Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/235/head:refs/remotes/origin/PR-235 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-03T17:26:48.235Z] Merging remotes/origin/main commit 7e853350e9894937d379e560e3d42626dd911f6d into PR head commit 19700dceac01abd7fb05d0f4a6ec78c8d2ddf9db [2023-05-03T17:26:48.586Z] Merge succeeded, producing e2a28f0136d78456c8e47a6de3ee42300e91b40e [2023-05-03T17:26:48.586Z] Checking out Revision e2a28f0136d78456c8e47a6de3ee42300e91b40e (PR-235) [2023-05-03T17:26:48.254Z] > git config core.sparsecheckout # timeout=10 [2023-05-03T17:26:48.334Z] > git checkout -f 19700dceac01abd7fb05d0f4a6ec78c8d2ddf9db # timeout=10 [2023-05-03T17:26:48.425Z] > git remote # timeout=10 [2023-05-03T17:26:48.445Z] > git config --get remote.origin.url # timeout=10 [2023-05-03T17:26:48.480Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T17:26:48.494Z] > git merge 7e853350e9894937d379e560e3d42626dd911f6d # timeout=10 [2023-05-03T17:26:48.572Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-03T17:26:48.594Z] > git config core.sparsecheckout # timeout=10 [2023-05-03T17:26:48.609Z] > git checkout -f e2a28f0136d78456c8e47a6de3ee42300e91b40e # timeout=10 [2023-05-03T17:26:52.091Z] Commit message: "Merge commit '7e853350e9894937d379e560e3d42626dd911f6d' into HEAD" [2023-05-03T17:26:52.116Z] First time build. Skipping changelog. [2023-05-03T17:26:52.102Z] > git rev-list --no-walk 4931991bf2ad327ca11478c94b209fb7ee41df00 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T17:26:53.086Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-03T17:26:53.086Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T17:26:53.086Z] Dload Upload Total Spent Left Speed [2023-05-03T17:26:53.086Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 86732 0 --:--:-- --:--:-- --:--:-- 86054 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-05-03T17:26:53.825Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-03T17:26:54.154Z] + sudo tee /etc/docker/daemon.new [2023-05-03T17:26:54.154Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-03T17:26:54.154Z] { [2023-05-03T17:26:54.154Z] "registry-mirrors": [ [2023-05-03T17:26:54.154Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-03T17:26:54.154Z] ], [2023-05-03T17:26:54.154Z] "bip": "10.250.0.254/24", [2023-05-03T17:26:54.154Z] "hosts": [ [2023-05-03T17:26:54.154Z] "tcp://0.0.0.0:5555", [2023-05-03T17:26:54.154Z] "unix:///var/run/docker.sock" [2023-05-03T17:26:54.154Z] ], [2023-05-03T17:26:54.154Z] "mtu": 1458, [2023-05-03T17:26:54.154Z] "selinux-enabled": true, [2023-05-03T17:26:54.154Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-03T17:26:54.154Z] } [Pipeline] sh [2023-05-03T17:26:54.485Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-03T17:26:54.818Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-05-03T17:27:13.321Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T17:27:13.336Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T17:27:13.348Z] ========================================================= [2023-05-03T17:27:13.348Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-03T17:27:13.348Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-05-03T17:27:13.673Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-03T17:27:14.279Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-03T17:27:14.279Z] c41833b44d91: Pulling fs layer [2023-05-03T17:27:14.279Z] ed15518f5707: Pulling fs layer [2023-05-03T17:27:14.279Z] feae8fd75edb: Pulling fs layer [2023-05-03T17:27:14.279Z] 242c74f7c9fa: Pulling fs layer [2023-05-03T17:27:14.279Z] 3cdef696dda3: Pulling fs layer [2023-05-03T17:27:14.279Z] 2ced38df9373: Pulling fs layer [2023-05-03T17:27:14.279Z] 58f1dce35555: Pulling fs layer [2023-05-03T17:27:14.279Z] 242c74f7c9fa: Waiting [2023-05-03T17:27:14.279Z] 3cdef696dda3: Waiting [2023-05-03T17:27:14.279Z] 2ced38df9373: Waiting [2023-05-03T17:27:14.279Z] 58f1dce35555: Waiting [2023-05-03T17:27:14.279Z] ed15518f5707: Verifying Checksum [2023-05-03T17:27:14.279Z] ed15518f5707: Download complete [2023-05-03T17:27:14.279Z] 242c74f7c9fa: Verifying Checksum [2023-05-03T17:27:14.279Z] 242c74f7c9fa: Download complete [2023-05-03T17:27:14.279Z] 3cdef696dda3: Verifying Checksum [2023-05-03T17:27:14.279Z] 3cdef696dda3: Download complete [2023-05-03T17:27:14.279Z] c41833b44d91: Verifying Checksum [2023-05-03T17:27:14.279Z] c41833b44d91: Download complete [2023-05-03T17:27:15.265Z] c41833b44d91: Pull complete [2023-05-03T17:27:15.857Z] 58f1dce35555: Verifying Checksum [2023-05-03T17:27:15.857Z] 58f1dce35555: Download complete [2023-05-03T17:27:15.857Z] ed15518f5707: Pull complete [2023-05-03T17:27:16.831Z] feae8fd75edb: Verifying Checksum [2023-05-03T17:27:16.831Z] feae8fd75edb: Download complete [2023-05-03T17:27:16.831Z] 2ced38df9373: Verifying Checksum [2023-05-03T17:27:16.831Z] 2ced38df9373: Download complete [2023-05-03T17:27:29.198Z] feae8fd75edb: Pull complete [2023-05-03T17:27:29.198Z] 242c74f7c9fa: Pull complete [2023-05-03T17:27:29.198Z] 3cdef696dda3: Pull complete [2023-05-03T17:27:35.873Z] 2ced38df9373: Pull complete [2023-05-03T17:27:38.465Z] 58f1dce35555: Pull complete [2023-05-03T17:27:38.465Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-03T17:27:38.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-03T17:27:38.465Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh [2023-05-03T17:27:38.786Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T17:27:39.118Z] + docker inspect -f . ci-base-image-arm64 [2023-05-03T17:27:39.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T17:27:39.321Z] prd-ubuntu20.04-docker-arm64-4c-16g-12603 does not seem to be running inside a container [2023-05-03T17:27:39.391Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/10 -v /w/workspace/go-mod-messaging/10:/w/workspace/go-mod-messaging/10:rw,z -v /w/workspace/go-mod-messaging/10@tmp:/w/workspace/go-mod-messaging/10@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-05-03T17:27:42.332Z] $ docker top 5d0c04915cf1461accfdd79aae04a4ed6c9e796e353d6dbd1d5344912ab80523 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T17:27:43.153Z] + go version [2023-05-03T17:27:43.154Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-03T17:27:43.174Z] $ docker stop --time=1 5d0c04915cf1461accfdd79aae04a4ed6c9e796e353d6dbd1d5344912ab80523 [2023-05-03T17:27:44.818Z] $ docker rm -f --volumes 5d0c04915cf1461accfdd79aae04a4ed6c9e796e353d6dbd1d5344912ab80523 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T17:27:45.348Z] + docker inspect -f . ci-base-image-arm64 [2023-05-03T17:27:45.348Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T17:27:45.525Z] prd-ubuntu20.04-docker-arm64-4c-16g-12603 does not seem to be running inside a container [2023-05-03T17:27:45.593Z] $ 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/10 -v /w/workspace/go-mod-messaging/10:/w/workspace/go-mod-messaging/10:rw,z -v /w/workspace/go-mod-messaging/10@tmp:/w/workspace/go-mod-messaging/10@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-05-03T17:27:46.775Z] $ docker top af6c48fa05705ded35ca0253ae9ea0a4ac6129ea7e4ccee3878d81b89975f79a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T17:27:47.278Z] + git config --global --add safe.directory /w/workspace/go-mod-messaging/10 [Pipeline] fileExists [Pipeline] sh [2023-05-03T17:27:47.879Z] + make test [2023-05-03T17:27:47.879Z] go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2023-05-03T17:27:48.147Z] go: downloading github.com/google/uuid v1.3.0 [2023-05-03T17:27:48.147Z] go: downloading github.com/stretchr/testify v1.8.2 [2023-05-03T17:27:48.147Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-05-03T17:27:48.417Z] go: downloading github.com/nats-io/nats.go v1.25.0 [2023-05-03T17:27:48.417Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-05-03T17:27:48.417Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.39 [2023-05-03T17:27:48.684Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.16 [2023-05-03T17:27:48.953Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-05-03T17:27:49.222Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-05-03T17:27:49.222Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-05-03T17:27:49.222Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-05-03T17:27:49.222Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-05-03T17:27:49.222Z] go: downloading golang.org/x/net v0.9.0 [2023-05-03T17:27:49.489Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2023-05-03T17:27:49.489Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-05-03T17:27:49.489Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-05-03T17:27:49.489Z] go: downloading github.com/nats-io/nkeys v0.4.4 [2023-05-03T17:27:49.489Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-05-03T17:27:49.489Z] go: downloading github.com/go-playground/validator/v10 v10.13.0 [2023-05-03T17:27:49.765Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-05-03T17:27:49.765Z] go: downloading golang.org/x/crypto v0.8.0 [2023-05-03T17:27:50.360Z] go: downloading github.com/x448/float16 v0.8.4 [2023-05-03T17:27:50.360Z] go: downloading github.com/klauspost/compress v1.16.4 [2023-05-03T17:27:51.308Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-05-03T17:27:51.308Z] go: downloading github.com/nats-io/jwt/v2 v2.4.1 [2023-05-03T17:27:51.308Z] go: downloading golang.org/x/time v0.3.0 [2023-05-03T17:27:51.308Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-05-03T17:27:51.308Z] go: downloading github.com/leodido/go-urn v1.2.3 [2023-05-03T17:27:51.308Z] go: downloading golang.org/x/text v0.9.0 [2023-05-03T17:27:51.308Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-05-03T17:29:42.988Z] ok github.com/edgexfoundry/go-mod-messaging/v3/clients 0.310s coverage: 88.6% of statements [2023-05-03T17:29:42.988Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] [2023-05-03T17:29:42.988Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] [2023-05-03T17:29:42.988Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg 5.242s coverage: 19.8% of statements [2023-05-03T17:29:42.988Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 0.356s coverage: 88.8% of statements [2023-05-03T17:29:42.988Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats 0.389s coverage: 89.1% of statements [2023-05-03T17:31:05.003Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] [2023-05-03T17:31:05.003Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 0.518s coverage: 35.9% of statements [2023-05-03T17:31:05.003Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 0.398s coverage: 61.3% of statements [2023-05-03T17:31:05.003Z] ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] [2023-05-03T17:31:05.003Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 0.204s coverage: 87.5% of statements [2023-05-03T17:31:05.003Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 0.274s coverage: 100.0% of statements [2023-05-03T17:31:05.003Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 0.210s coverage: 100.0% of statements [2023-05-03T17:31:05.003Z] ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 0.208s coverage: 95.1% of statements [2023-05-03T17:31:05.003Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-03T17:31:05.003Z] go vet ./... [2023-05-03T17:32:56.673Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-03T17:32:56.673Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-05-03T17:32:56.693Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-03T17:32:56.708Z] $ docker stop --time=1 af6c48fa05705ded35ca0253ae9ea0a4ac6129ea7e4ccee3878d81b89975f79a [2023-05-03T17:32:59.672Z] $ docker rm -f --volumes af6c48fa05705ded35ca0253ae9ea0a4ac6129ea7e4ccee3878d81b89975f79a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T17:33:01.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-03T17:33:01.796Z] Warning: overwriting stash ‘coverage-report’ [2023-05-03T17:33:02.282Z] 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-05-03T17:33:02.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T17:33:02.750Z] [2023-05-03T17:33:02.750Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T17:33:03.079Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T17:33:03.348Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-03T17:33:03.348Z] 8998bd30e6a1: Pulling fs layer [2023-05-03T17:33:03.348Z] 04944245beec: Pulling fs layer [2023-05-03T17:33:03.348Z] 699f458cf7ca: Pulling fs layer [2023-05-03T17:33:03.348Z] 765212b225bb: Pulling fs layer [2023-05-03T17:33:03.348Z] f23df028b6ca: Pulling fs layer [2023-05-03T17:33:03.348Z] d65c8cfc05b1: Pulling fs layer [2023-05-03T17:33:03.348Z] 2437ff75d9bd: Pulling fs layer [2023-05-03T17:33:03.348Z] f23df028b6ca: Waiting [2023-05-03T17:33:03.348Z] d65c8cfc05b1: Waiting [2023-05-03T17:33:03.348Z] 2437ff75d9bd: Waiting [2023-05-03T17:33:03.348Z] 765212b225bb: Waiting [2023-05-03T17:33:03.348Z] 04944245beec: Verifying Checksum [2023-05-03T17:33:03.348Z] 04944245beec: Download complete [2023-05-03T17:33:03.348Z] 765212b225bb: Verifying Checksum [2023-05-03T17:33:03.348Z] 765212b225bb: Download complete [2023-05-03T17:33:03.348Z] f23df028b6ca: Download complete [2023-05-03T17:33:03.348Z] d65c8cfc05b1: Verifying Checksum [2023-05-03T17:33:03.348Z] d65c8cfc05b1: Download complete [2023-05-03T17:33:03.616Z] 699f458cf7ca: Verifying Checksum [2023-05-03T17:33:03.616Z] 699f458cf7ca: Download complete [2023-05-03T17:33:03.885Z] 8998bd30e6a1: Verifying Checksum [2023-05-03T17:33:03.885Z] 8998bd30e6a1: Download complete [2023-05-03T17:33:06.470Z] 2437ff75d9bd: Verifying Checksum [2023-05-03T17:33:06.470Z] 2437ff75d9bd: Download complete [2023-05-03T17:33:07.880Z] 8998bd30e6a1: Pull complete [2023-05-03T17:33:08.148Z] 04944245beec: Pull complete [2023-05-03T17:33:09.565Z] 699f458cf7ca: Pull complete [2023-05-03T17:33:09.834Z] 765212b225bb: Pull complete [2023-05-03T17:33:13.181Z] f23df028b6ca: Pull complete [2023-05-03T17:33:13.181Z] d65c8cfc05b1: Pull complete [2023-05-03T17:33:28.178Z] 2437ff75d9bd: Pull complete [2023-05-03T17:33:28.178Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-03T17:33:28.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T17:33:28.178Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T17:33:28.446Z] prd-ubuntu20.04-docker-arm64-4c-16g-12603 does not seem to be running inside a container [2023-05-03T17:33:28.530Z] $ 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/10 -v /w/workspace/go-mod-messaging/10:/w/workspace/go-mod-messaging/10:rw,z -v /w/workspace/go-mod-messaging/10@tmp:/w/workspace/go-mod-messaging/10@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-05-03T17:33:30.974Z] $ docker top e498fb153fa4aee67d03fb293bc24c2ce2abdb2344ef45eba3f59eab8e9c957e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T17:33:31.539Z] ---> job-cost.sh [2023-05-03T17:33:31.813Z] lf-activate-venv: SKIPPING [2023-05-03T17:33:31.813Z] INFO: No Stack... [2023-05-03T17:33:32.089Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-03T17:33:33.074Z] INFO: Archiving Costs [Pipeline] sh [2023-05-03T17:33:33.728Z] + cut -d, -f6 [2023-05-03T17:33:33.728Z] + cat /w/workspace/go-mod-messaging/10/archives/cost.csv [Pipeline] lock [2023-05-03T17:33:33.797Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-235-10-stack-cost] [2023-05-03T17:33:33.803Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-235-10-stack-cost] did not exist. Created. [2023-05-03T17:33:33.804Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-235-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-03T17:33:34.147Z] /w/workspace/go-mod-messaging/10@tmp/durable-382c0448/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-03T17:33:34.813Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-03T17:33:34.833Z] Warning: overwriting stash ‘stack-cost’ [2023-05-03T17:33:34.879Z] Stashed 1 file(s) [Pipeline] } [2023-05-03T17:33:34.886Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-235-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-03T17:33:34.905Z] $ docker stop --time=1 e498fb153fa4aee67d03fb293bc24c2ce2abdb2344ef45eba3f59eab8e9c957e [2023-05-03T17:33:36.384Z] $ docker rm -f --volumes e498fb153fa4aee67d03fb293bc24c2ce2abdb2344ef45eba3f59eab8e9c957e [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-05-03T17:33:36.785Z] provisioning config files... [2023-05-03T17:33:36.796Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-235@tmp/config15480696401861430701tmp [Pipeline] { [Pipeline] sh [2023-05-03T17:33:37.088Z] + set +x [2023-05-03T17:33:37.088Z] + curl -s https://codecov.io/bash [2023-05-03T17:33:37.088Z] + bash -s -- [2023-05-03T17:33:37.088Z] [2023-05-03T17:33:37.088Z] _____ _ [2023-05-03T17:33:37.088Z] / ____| | | [2023-05-03T17:33:37.088Z] | | ___ __| | ___ ___ _____ __ [2023-05-03T17:33:37.088Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-03T17:33:37.088Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-03T17:33:37.088Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-03T17:33:37.088Z] Bash-1.0.6 [2023-05-03T17:33:37.088Z] [2023-05-03T17:33:37.088Z] [2023-05-03T17:33:37.088Z] ==> git version 2.25.1 found [2023-05-03T17:33:37.088Z] ==> 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-05-03T17:33:37.088Z] Release-Date: 2020-01-08 [2023-05-03T17:33:37.088Z] 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-05-03T17:33:37.088Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-03T17:33:37.088Z] ==> Jenkins CI detected. [2023-05-03T17:33:37.088Z] current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-235 [2023-05-03T17:33:37.088Z] project root: . [2023-05-03T17:33:37.088Z] --> token set from env [2023-05-03T17:33:37.088Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-03T17:33:37.347Z] ==> Running gcov in . (disable via -X gcov) [2023-05-03T17:33:37.347Z] ==> Python coveragepy not found [2023-05-03T17:33:37.347Z] ==> Searching for coverage reports in: [2023-05-03T17:33:37.347Z] + . [2023-05-03T17:33:37.347Z] -> Found 1 reports [2023-05-03T17:33:37.347Z] ==> Detecting git/mercurial file structure [2023-05-03T17:33:37.347Z] ==> Reading reports [2023-05-03T17:33:37.347Z] + ./coverage.out bytes=41815 [2023-05-03T17:33:37.347Z] ==> Appending adjustments [2023-05-03T17:33:37.347Z] https://docs.codecov.io/docs/fixing-reports [2023-05-03T17:33:37.607Z] + Found adjustments [2023-05-03T17:33:37.607Z] ==> Gzipping contents [2023-05-03T17:33:37.607Z] 12K /tmp/codecov.JZSxUP.gz [2023-05-03T17:33:37.607Z] ==> Uploading reports [2023-05-03T17:33:37.607Z] url: https://codecov.io [2023-05-03T17:33:37.607Z] query: branch=PR-235&commit=3647ac9826bed2067cd04f01e8b35f9b97de0ac8&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-235%2F10%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=235&job=&cmd_args= [2023-05-03T17:33:37.607Z] -> Pinging Codecov [2023-05-03T17:33:37.607Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-235&commit=3647ac9826bed2067cd04f01e8b35f9b97de0ac8&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-235%2F10%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=235&job=&cmd_args= [2023-05-03T17:34:25.358Z] -> Uploading to [2023-05-03T17:34:25.358Z] [2023-05-03T17:34:25.358Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T17:34:25.358Z] Dload Upload Total Spent Left Speed [2023-05-03T17:34:25.358Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: [2023-05-03T17:34:25.358Z] X> Failed to upload [2023-05-03T17:34:25.358Z] ==> Uploading to Codecov [2023-05-03T17:34:25.358Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T17:34:25.358Z] Dload Upload Total Spent Left Speed [2023-05-03T17:34:25.358Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8531 100 249 100 8282 1682 55959 --:--:-- --:--:-- --:--:-- 57641 [2023-05-03T17:34:25.358Z] Reports have been successfully queued for processing at {"message": "Coverage reports upload successfully", "uploaded": true, "queued": true, "id": "f939bfcf-a56d-4b7c-9bcf-1683b233cb02", "url": "https://app.codecov.io/github/edgexfoundry/go-mod-messaging/commit/3647ac9826bed2067cd04f01e8b35f9b97de0ac8"} [Pipeline] } [2023-05-03T17:34:25.364Z] 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-05-03T17:34:26.127Z] + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-235/archives ] [2023-05-03T17:34:26.128Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-235/archives [2023-05-03T17:34:26.128Z] total 16 [2023-05-03T17:34:26.128Z] drwxr-xr-x 3 root root 4096 May 3 17:25 . [2023-05-03T17:34:26.128Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 17:25 .. [2023-05-03T17:34:26.128Z] drwxr-xr-x 2 root root 4096 May 3 17:25 cost [2023-05-03T17:34:26.128Z] -rw-r--r-- 1 root root 90 May 3 17:25 cost.csv [2023-05-03T17:34:26.128Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-235/archives [2023-05-03T17:34:26.128Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-235/archives [2023-05-03T17:34:26.128Z] total 16 [2023-05-03T17:34:26.128Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 17:25 . [2023-05-03T17:34:26.128Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 17:25 .. [2023-05-03T17:34:26.128Z] drwxr-xr-x 2 jenkins jenkins 4096 May 3 17:25 cost [2023-05-03T17:34:26.128Z] -rw-r--r-- 1 jenkins jenkins 90 May 3 17:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-03T17:34:26.420Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T17:34:27.280Z] ---> package-listing.sh [2023-05-03T17:34:27.280Z] ++ facter osfamily [2023-05-03T17:34:27.280Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-03T17:34:27.538Z] + OS_FAMILY=debian [2023-05-03T17:34:27.539Z] + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-235 [2023-05-03T17:34:27.539Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-03T17:34:27.539Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-03T17:34:27.539Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-03T17:34:27.539Z] + PACKAGES=/tmp/packages_start.txt [2023-05-03T17:34:27.539Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-235 ']' [2023-05-03T17:34:27.539Z] + PACKAGES=/tmp/packages_end.txt [2023-05-03T17:34:27.539Z] + case "${OS_FAMILY}" in [2023-05-03T17:34:27.539Z] + dpkg -l [2023-05-03T17:34:27.539Z] + grep '^ii' [2023-05-03T17:34:27.539Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-03T17:34:27.539Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-03T17:34:27.539Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-03T17:34:27.539Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-235 ']' [2023-05-03T17:34:27.539Z] + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-235/archives/ [2023-05-03T17:34:27.539Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-235/archives/ [Pipeline] echo [2023-05-03T17:34:27.549Z] 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-235/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-03T17:34:27.827Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T17:34:28.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T17:34:28.128Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T17:34:28.199Z] prd-ubuntu20.04-docker-8c-8g-12598 does not seem to be running inside a container [2023-05-03T17:34:28.239Z] $ 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-235/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-235 -v /w/workspace/xfoundry_go-mod-messaging_PR-235:/w/workspace/xfoundry_go-mod-messaging_PR-235:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-235@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-235@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-05-03T17:34:28.472Z] $ docker top a6fe81359278f9485a4f265a849287244a68a772087e048f72ca808057747a08 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T17:34:28.805Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-03T17:34:29.093Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-03T17:34:29.376Z] + ls /var/log/sa-host [2023-05-03T17:34:29.376Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T17:34:29.530Z] provisioning config files... [2023-05-03T17:34:29.538Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-235@tmp/config893043051021640021tmp [Pipeline] { [Pipeline] echo [2023-05-03T17:34:29.550Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T17:34:29.833Z] ---> create-netrc.sh [Pipeline] } [2023-05-03T17:34:29.839Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-03T17:34:30.171Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-03T17:34:30.178Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T17:34:30.462Z] ---> sudo-logs.sh [2023-05-03T17:34:30.462Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-03T17:34:30.492Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T17:34:30.775Z] ---> job-cost.sh [2023-05-03T17:34:30.775Z] lf-activate-venv: SKIPPING [2023-05-03T17:34:30.775Z] DEBUG: total: 0.2199999988079071 [2023-05-03T17:34:30.775Z] INFO: Retrieving Stack Cost... [2023-05-03T17:34:31.034Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-03T17:34:31.292Z] INFO: Archiving Costs [Pipeline] echo [2023-05-03T17:34:31.302Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T17:34:31.583Z] ---> logs-deploy.sh [2023-05-03T17:34:31.583Z] lf-activate-venv: SKIPPING [2023-05-03T17:34:31.583Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-235/10 [2023-05-03T17:34:31.583Z] INFO: archiving workspace using pattern(s): [2023-05-03T17:34:32.522Z] Archives upload complete. [2023-05-03T17:34:32.522Z] INFO: archiving logs to Nexus