Pull request #179 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 e07deede33163783d351f26f2515f09a7f1118bf rather than 503ca6282290f3788817ba4f9f24bb6960acdcc8 Obtained Jenkinsfile from e07deede33163783d351f26f2515f09a7f1118bf 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-ssh11459308053404384872.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh7267933834058956309.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-179/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-179/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12916685030664723288.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh5285308226772608995.key Verifying host key using known hosts file > 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-179/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-179/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1136170210775623137.key Verifying host key using known hosts file > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7926 in /w/workspace/xfoundry_go-mod-messaging_PR-179 [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-179 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e07deede33163783d351f26f2515f09a7f1118bf into PR head commit 503ca6282290f3788817ba4f9f24bb6960acdcc8 Merge succeeded, producing 503ca6282290f3788817ba4f9f24bb6960acdcc8 Checking out Revision 503ca6282290f3788817ba4f9f24bb6960acdcc8 (PR-179) > git config core.sparsecheckout # timeout=10 > git checkout -f 503ca6282290f3788817ba4f9f24bb6960acdcc8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge e07deede33163783d351f26f2515f09a7f1118bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 503ca6282290f3788817ba4f9f24bb6960acdcc8 # timeout=10 Commit message: "feat: Jetstream ExactlyOnce Configuration" First time build. Skipping changelog. > git rev-list --no-walk e84efa0a1dd3ed9c68f9b295a574b7251babb9db # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-15T23:28:40.028Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-15T23:28:40.077Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-15T23:28:40.088Z] ========================================================= [2022-10-15T23:28:40.088Z] EdgeX Global Pipelines Version Info [2022-10-15T23:28:40.088Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-15T23:28:40.789Z] ------------------- [2022-10-15T23:28:40.789Z] stable info: [2022-10-15T23:28:40.789Z] ------------------- [2022-10-15T23:28:40.789Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-15T23:28:40.789Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-15T23:28:40.789Z] Message: update stable to v1.0.239 [2022-10-15T23:28:41.358Z] ------------------- [2022-10-15T23:28:41.358Z] experimental info: [2022-10-15T23:28:41.358Z] ------------------- [2022-10-15T23:28:41.358Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-15T23:28:41.358Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-15T23:28:41.358Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-15T23:28:41.522Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2022-10-15T23:28:41.538Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2022-10-15T23:28:41.548Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-15T23:28:41.561Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-15T23:28:41.572Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-15T23:28:41.585Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-15T23:28:41.599Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-15T23:28:41.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-15T23:28:41.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-15T23:28:41.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-15T23:28:41.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-15T23:28:41.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo [2022-10-15T23:28:41.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-15T23:28:41.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-15T23:28:41.696Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-10-15T23:28:41.707Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-15T23:28:41.719Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-15T23:28:41.731Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-15T23:28:41.748Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-15T23:28:41.765Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-15T23:28:41.780Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-15T23:28:41.790Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-15T23:28:41.801Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-15T23:28:41.814Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-15T23:28:41.928Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-10-15T23:28:41.938Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-15T23:28:41.946Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-15T23:28:41.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo [2022-10-15T23:28:41.962Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo [2022-10-15T23:28:41.970Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo [2022-10-15T23:28:41.979Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 503ca6282290f3788817ba4f9f24bb6960acdcc8 [Pipeline] echo [2022-10-15T23:28:41.987Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 503ca62 [Pipeline] echo [2022-10-15T23:28:41.995Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-15T23:28:42.328Z] + git rev-list -1 --merges 503ca6282290f3788817ba4f9f24bb6960acdcc8~1..503ca6282290f3788817ba4f9f24bb6960acdcc8 [Pipeline] echo [2022-10-15T23:28:42.362Z] -----------> git rev-list -1 --merges 503ca6282290f3788817ba4f9f24bb6960acdcc8~1..503ca6282290f3788817ba4f9f24bb6960acdcc8 503ca6282290f3788817ba4f9f24bb6960acdcc8 [false] [Pipeline] sh [2022-10-15T23:28:42.648Z] + git log --format=format:%s -1 503ca6282290f3788817ba4f9f24bb6960acdcc8 [Pipeline] echo [2022-10-15T23:28:42.661Z] ========================================================= [2022-10-15T23:28:42.661Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-15T23:28:42.661Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-15T23:28:42.975Z] + git log --format=format:%s -1 503ca6282290f3788817ba4f9f24bb6960acdcc8 [Pipeline] echo [2022-10-15T23:28:42.986Z] [semverPrep] GIT_COMMIT: 503ca6282290f3788817ba4f9f24bb6960acdcc8, Commit Message: feat: Jetstream ExactlyOnce Configuration [Pipeline] echo [2022-10-15T23:28:42.996Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-15T23:28:43.360Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-15T23:28:43.361Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-15T23:28:43.361Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-15T23:28:43.361Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-15T23:28:43.361Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-15T23:28:43.361Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-15T23:28:43.361Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-15T23:28:43.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-15T23:28:44.030Z] [2022-10-15T23:28:44.030Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-15T23:28:44.333Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-15T23:28:44.333Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-15T23:28:44.333Z] b85a868b505f: Pulling fs layer [2022-10-15T23:28:44.333Z] e2be974225ed: Pulling fs layer [2022-10-15T23:28:44.333Z] 339a4e72a1f5: Pulling fs layer [2022-10-15T23:28:44.333Z] 988bab9f4d93: Pulling fs layer [2022-10-15T23:28:44.333Z] 1469e6f7b9e6: Pulling fs layer [2022-10-15T23:28:44.333Z] eaf3925da568: Pulling fs layer [2022-10-15T23:28:44.333Z] bab4dde63d76: Pulling fs layer [2022-10-15T23:28:44.333Z] bde34c3a00c8: Pulling fs layer [2022-10-15T23:28:44.333Z] b352a97aabf1: Pulling fs layer [2022-10-15T23:28:44.333Z] 4872d77fe225: Pulling fs layer [2022-10-15T23:28:44.333Z] 5851b861e8e6: Pulling fs layer [2022-10-15T23:28:44.333Z] 1469e6f7b9e6: Waiting [2022-10-15T23:28:44.333Z] eaf3925da568: Waiting [2022-10-15T23:28:44.333Z] bab4dde63d76: Waiting [2022-10-15T23:28:44.333Z] b352a97aabf1: Waiting [2022-10-15T23:28:44.333Z] 988bab9f4d93: Waiting [2022-10-15T23:28:44.333Z] bde34c3a00c8: Waiting [2022-10-15T23:28:44.599Z] e2be974225ed: Download complete [2022-10-15T23:28:44.599Z] 988bab9f4d93: Verifying Checksum [2022-10-15T23:28:44.599Z] 988bab9f4d93: Download complete [2022-10-15T23:28:44.599Z] 1469e6f7b9e6: Verifying Checksum [2022-10-15T23:28:44.599Z] 1469e6f7b9e6: Download complete [2022-10-15T23:28:44.599Z] 339a4e72a1f5: Verifying Checksum [2022-10-15T23:28:44.599Z] 339a4e72a1f5: Download complete [2022-10-15T23:28:44.599Z] eaf3925da568: Verifying Checksum [2022-10-15T23:28:44.599Z] eaf3925da568: Download complete [2022-10-15T23:28:44.599Z] bde34c3a00c8: Verifying Checksum [2022-10-15T23:28:44.599Z] bde34c3a00c8: Download complete [2022-10-15T23:28:44.599Z] b352a97aabf1: Download complete [2022-10-15T23:28:44.599Z] 4872d77fe225: Verifying Checksum [2022-10-15T23:28:44.599Z] 4872d77fe225: Download complete [2022-10-15T23:28:44.599Z] 5851b861e8e6: Download complete [2022-10-15T23:28:44.864Z] b85a868b505f: Verifying Checksum [2022-10-15T23:28:44.864Z] b85a868b505f: Download complete [2022-10-15T23:28:45.128Z] bab4dde63d76: Verifying Checksum [2022-10-15T23:28:45.128Z] bab4dde63d76: Download complete [2022-10-15T23:28:46.069Z] b85a868b505f: Pull complete [2022-10-15T23:28:46.069Z] e2be974225ed: Pull complete [2022-10-15T23:28:46.637Z] 339a4e72a1f5: Pull complete [2022-10-15T23:28:46.637Z] 988bab9f4d93: Pull complete [2022-10-15T23:28:46.896Z] 1469e6f7b9e6: Pull complete [2022-10-15T23:28:46.896Z] eaf3925da568: Pull complete [2022-10-15T23:28:48.799Z] bab4dde63d76: Pull complete [2022-10-15T23:28:48.799Z] bde34c3a00c8: Pull complete [2022-10-15T23:28:48.799Z] b352a97aabf1: Pull complete [2022-10-15T23:28:48.799Z] 4872d77fe225: Pull complete [2022-10-15T23:28:49.059Z] 5851b861e8e6: Pull complete [2022-10-15T23:28:49.059Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-15T23:28:49.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-15T23:28:49.059Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-15T23:28:49.145Z] prd-ubuntu20.04-docker-8c-8g-7926 does not seem to be running inside a container [2022-10-15T23:28:49.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-179 -v /w/workspace/xfoundry_go-mod-messaging_PR-179:/w/workspace/xfoundry_go-mod-messaging_PR-179:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-179@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-179@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 [2022-10-15T23:28:51.567Z] $ docker top a330f0dc50d0f505fbf70fc87ae2f877455813cbe6e44384f31756e4116bfa35 -eo pid,comm [2022-10-15T23:28:51.634Z] 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). [2022-10-15T23:28:51.635Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-15T23:28:51.663Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-15T23:28:51.663Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-15T23:28:51.776Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-15T23:28:51.769Z] $ docker exec a330f0dc50d0f505fbf70fc87ae2f877455813cbe6e44384f31756e4116bfa35 ssh-agent [2022-10-15T23:28:51.878Z] SSH_AUTH_SOCK=/tmp/ssh-2kyeGrwBkf0C/agent.32 [2022-10-15T23:28:51.878Z] SSH_AGENT_PID=38 [2022-10-15T23:28:51.884Z] Running ssh-add (command line suppressed) [2022-10-15T23:28:51.992Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-179@tmp/private_key_18339835167549785571.key (/w/workspace/xfoundry_go-mod-messaging_PR-179@tmp/private_key_18339835167549785571.key) [2022-10-15T23:28:52.018Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-15T23:28:52.307Z] + git tag --points-at HEAD [Pipeline] } [2022-10-15T23:28:52.308Z] $ docker exec --env ******** --env ******** a330f0dc50d0f505fbf70fc87ae2f877455813cbe6e44384f31756e4116bfa35 ssh-agent -k [2022-10-15T23:28:52.406Z] unset SSH_AUTH_SOCK; [2022-10-15T23:28:52.406Z] unset SSH_AGENT_PID; [2022-10-15T23:28:52.407Z] echo Agent pid 38 killed; [2022-10-15T23:28:52.429Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-15T23:28:52.453Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-15T23:28:52.453Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-15T23:28:52.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-15T23:28:52.560Z] $ docker exec a330f0dc50d0f505fbf70fc87ae2f877455813cbe6e44384f31756e4116bfa35 ssh-agent [2022-10-15T23:28:52.675Z] SSH_AUTH_SOCK=/tmp/ssh-ofas4Qc44BYT/agent.69 [2022-10-15T23:28:52.675Z] SSH_AGENT_PID=75 [2022-10-15T23:28:52.692Z] Running ssh-add (command line suppressed) [2022-10-15T23:28:52.781Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-179@tmp/private_key_2144147238536480.key (/w/workspace/xfoundry_go-mod-messaging_PR-179@tmp/private_key_2144147238536480.key) [2022-10-15T23:28:52.805Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-15T23:28:53.092Z] + git semver init [2022-10-15T23:28:53.351Z] 2022-10-15 23:28:53,250 [run_init] DEBUG init version:0.0.0 force:False [2022-10-15T23:28:53.351Z] 2022-10-15 23:28:53,250 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-179/.semver [2022-10-15T23:28:53.351Z] 2022-10-15 23:28:53,251 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-179/.semver [2022-10-15T23:28:53.351Z] 2022-10-15 23:28:53,251 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-179/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-179, universal_newlines=False, shell=None, istream=None) [2022-10-15T23:28:54.290Z] 2022-10-15 23:28:54,036 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-179/.git/info/exclude [2022-10-15T23:28:54.290Z] 2022-10-15 23:28:54,037 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-179/.semver/PR-179 with force:False [2022-10-15T23:28:54.290Z] 2022-10-15 23:28:54,037 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-179/.semver/PR-179 [2022-10-15T23:28:54.290Z] 2022-10-15 23:28:54,041 [execute] INFO git cat-file --batch-check [2022-10-15T23:28:54.290Z] 2022-10-15 23:28:54,042 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-179/.semver, universal_newlines=False, shell=None, istream=) [2022-10-15T23:28:54.290Z] 2022-10-15 23:28:54,046 [execute] INFO git cat-file --batch [2022-10-15T23:28:54.290Z] 2022-10-15 23:28:54,047 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-179/.semver, universal_newlines=False, shell=None, istream=) [2022-10-15T23:28:54.290Z] 2022-10-15 23:28:54,050 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-179/.semver/PR-179 [2022-10-15T23:28:54.290Z] 0.0.0 [Pipeline] } [2022-10-15T23:28:54.294Z] $ docker exec --env ******** --env ******** a330f0dc50d0f505fbf70fc87ae2f877455813cbe6e44384f31756e4116bfa35 ssh-agent -k [2022-10-15T23:28:54.390Z] unset SSH_AUTH_SOCK; [2022-10-15T23:28:54.391Z] unset SSH_AGENT_PID; [2022-10-15T23:28:54.392Z] echo Agent pid 75 killed; [2022-10-15T23:28:54.408Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-15T23:28:54.706Z] + git semver [Pipeline] } [2022-10-15T23:28:54.971Z] $ docker stop --time=1 a330f0dc50d0f505fbf70fc87ae2f877455813cbe6e44384f31756e4116bfa35 [2022-10-15T23:28:56.299Z] $ docker rm -f a330f0dc50d0f505fbf70fc87ae2f877455813cbe6e44384f31756e4116bfa35 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-15T23:28:56.654Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-15T23:28:56.847Z] Stashed 1 file(s) [Pipeline] echo [2022-10-15T23:28:56.849Z] [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 [2022-10-15T23:28:56.972Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-15T23:28:56.983Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-15T23:28:56.989Z] ========================================================= [2022-10-15T23:28:56.989Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-15T23:28:56.989Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-10-15T23:28:57.283Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-15T23:28:57.283Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-15T23:28:57.283Z] 213ec9aee27d: Pulling fs layer [2022-10-15T23:28:57.283Z] 4583459ba037: Pulling fs layer [2022-10-15T23:28:57.283Z] 93c1e223e6f2: Pulling fs layer [2022-10-15T23:28:57.283Z] 53926ce57604: Pulling fs layer [2022-10-15T23:28:57.283Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-15T23:28:57.283Z] 30f14e443154: Pulling fs layer [2022-10-15T23:28:57.283Z] 801331c1e519: Pulling fs layer [2022-10-15T23:28:57.283Z] 21b2b0c7a3f4: Waiting [2022-10-15T23:28:57.283Z] 53926ce57604: Waiting [2022-10-15T23:28:57.283Z] 30f14e443154: Waiting [2022-10-15T23:28:57.283Z] 99cc6dd402b0: Pulling fs layer [2022-10-15T23:28:57.283Z] 7d9ed39f4882: Pulling fs layer [2022-10-15T23:28:57.283Z] 801331c1e519: Waiting [2022-10-15T23:28:57.283Z] 99cc6dd402b0: Waiting [2022-10-15T23:28:57.283Z] 93c1e223e6f2: Verifying Checksum [2022-10-15T23:28:57.283Z] 93c1e223e6f2: Download complete [2022-10-15T23:28:57.283Z] 4583459ba037: Download complete [2022-10-15T23:28:57.283Z] 21b2b0c7a3f4: Download complete [2022-10-15T23:28:57.283Z] 30f14e443154: Verifying Checksum [2022-10-15T23:28:57.283Z] 30f14e443154: Download complete [2022-10-15T23:28:57.283Z] 213ec9aee27d: Download complete [2022-10-15T23:28:57.283Z] 801331c1e519: Download complete [2022-10-15T23:28:57.543Z] 213ec9aee27d: Pull complete [2022-10-15T23:28:57.543Z] 4583459ba037: Pull complete [2022-10-15T23:28:57.807Z] 93c1e223e6f2: Pull complete [2022-10-15T23:28:58.068Z] 7d9ed39f4882: Verifying Checksum [2022-10-15T23:28:58.068Z] 7d9ed39f4882: Download complete [2022-10-15T23:28:58.328Z] 99cc6dd402b0: Verifying Checksum [2022-10-15T23:28:58.328Z] 99cc6dd402b0: Download complete [2022-10-15T23:28:58.588Z] 53926ce57604: Verifying Checksum [2022-10-15T23:28:58.588Z] 53926ce57604: Download complete [2022-10-15T23:29:02.774Z] 53926ce57604: Pull complete [2022-10-15T23:29:02.774Z] 21b2b0c7a3f4: Pull complete [2022-10-15T23:29:02.774Z] 30f14e443154: Pull complete [2022-10-15T23:29:02.774Z] 801331c1e519: Pull complete [2022-10-15T23:29:04.675Z] 99cc6dd402b0: Pull complete [2022-10-15T23:29:05.240Z] 7d9ed39f4882: Pull complete [2022-10-15T23:29:05.240Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-15T23:29:05.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-15T23:29:05.240Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2022-10-15T23:29:05.528Z] + 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 [2022-10-15T23:29:05.833Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-15T23:29:05.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-15T23:29:05.893Z] prd-ubuntu20.04-docker-8c-8g-7926 does not seem to be running inside a container [2022-10-15T23:29:05.923Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-179 -v /w/workspace/xfoundry_go-mod-messaging_PR-179:/w/workspace/xfoundry_go-mod-messaging_PR-179:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-179@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-179@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 [2022-10-15T23:29:10.249Z] $ docker top b70fa45e314d000a82d6e35bb0d6d7b81b1f70419d5192adde48e31b5f6aa32f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-15T23:29:10.591Z] + go version [2022-10-15T23:29:10.591Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-15T23:29:10.602Z] $ docker stop --time=1 b70fa45e314d000a82d6e35bb0d6d7b81b1f70419d5192adde48e31b5f6aa32f [2022-10-15T23:29:11.919Z] Still waiting to schedule task [2022-10-15T23:29:11.919Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-15T23:29:11.929Z] $ docker rm -f b70fa45e314d000a82d6e35bb0d6d7b81b1f70419d5192adde48e31b5f6aa32f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-15T23:29:12.334Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-15T23:29:12.334Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-15T23:29:12.402Z] prd-ubuntu20.04-docker-8c-8g-7926 does not seem to be running inside a container [2022-10-15T23:29:12.437Z] $ 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-179 -v /w/workspace/xfoundry_go-mod-messaging_PR-179:/w/workspace/xfoundry_go-mod-messaging_PR-179:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-179@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-179@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 [2022-10-15T23:29:12.785Z] $ docker top 4cbdd72bd1f8629c84435eae1e212fde18eb9d107a25f69fcd364d114a9496d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-15T23:29:13.124Z] + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-messaging_PR-179 [Pipeline] fileExists [Pipeline] sh [2022-10-15T23:29:13.421Z] + make test [2022-10-15T23:29:13.421Z] CGO_ENABLED=1 GO111MODULE=on go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2022-10-15T23:29:13.421Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-10-15T23:29:13.421Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-10-15T23:29:13.421Z] go: downloading github.com/nats-io/nats.go v1.17.0 [2022-10-15T23:29:13.421Z] go: downloading github.com/google/uuid v1.3.0 [2022-10-15T23:29:13.421Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-10-15T23:29:13.421Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.2 [2022-10-15T23:29:13.421Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-10-15T23:29:13.421Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-10-15T23:29:13.421Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-10-15T23:29:13.421Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-10-15T23:29:13.679Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-10-15T23:29:13.679Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-10-15T23:29:13.679Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-10-15T23:29:13.679Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-10-15T23:29:13.679Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-10-15T23:29:13.679Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-10-15T23:29:13.679Z] go: downloading golang.org/x/crypto v0.0.0-20220926161630-eccd6366d1be [2022-10-15T23:29:13.939Z] go: downloading github.com/klauspost/compress v1.15.11 [2022-10-15T23:29:13.939Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-10-15T23:29:13.939Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-10-15T23:29:13.939Z] go: downloading golang.org/x/time v0.0.0-20220922220347-f3bd1da661af [2022-10-15T23:29:13.939Z] go: downloading golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec [2022-10-15T23:29:26.151Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-10-15T23:29:30.333Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.057s coverage: 90.4% of statements [2022-10-15T23:29:30.592Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.051s coverage: 87.0% of statements [2022-10-15T23:29:30.592Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces [no test files] [2022-10-15T23:29:30.592Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-10-15T23:29:40.593Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.147s coverage: 84.6% of statements [2022-10-15T23:29:40.593Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.062s coverage: 68.5% of statements [2022-10-15T23:29:40.593Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-10-15T23:29:52.798Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.381s coverage: 83.8% of statements [2022-10-15T23:29:52.798Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.035s coverage: 88.9% of statements [2022-10-15T23:29:52.798Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-10-15T23:29:52.798Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.026s coverage: 100.0% of statements [2022-10-15T23:29:52.798Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.054s coverage: 100.0% of statements [2022-10-15T23:29:52.798Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.043s coverage: 95.1% of statements [2022-10-15T23:29:52.798Z] CGO_ENABLED=1 GO111MODULE=on go test -tags no-zmq -race ./... -coverprofile=coverage.out ./... [2022-10-15T23:29:52.798Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-10-15T23:29:52.798Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.079s coverage: 90.4% of statements [2022-10-15T23:29:52.798Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.033s coverage: 100.0% of statements [2022-10-15T23:29:52.798Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-10-15T23:29:52.798Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.027s coverage: 100.0% of statements [2022-10-15T23:29:52.798Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.057s coverage: 68.5% of statements [2022-10-15T23:29:52.798Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-10-15T23:30:14.762Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.406s coverage: 83.8% of statements [2022-10-15T23:30:14.762Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.028s coverage: 88.9% of statements [2022-10-15T23:30:14.762Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-10-15T23:30:14.762Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.030s coverage: 100.0% of statements [2022-10-15T23:30:14.762Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.023s coverage: 100.0% of statements [2022-10-15T23:30:14.762Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.032s coverage: 95.1% of statements [2022-10-15T23:30:26.988Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-15T23:30:26.988Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-15T23:30:28.368Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-15T23:30:28.368Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-10-15T23:30:28.383Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-15T23:30:28.404Z] $ docker stop --time=1 4cbdd72bd1f8629c84435eae1e212fde18eb9d107a25f69fcd364d114a9496d3 [2022-10-15T23:30:35.226Z] $ docker rm -f 4cbdd72bd1f8629c84435eae1e212fde18eb9d107a25f69fcd364d114a9496d3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-15T23:30:36.059Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-15T23:30:36.111Z] 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 [2022-10-15T23:30:36.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-15T23:30:36.580Z] [2022-10-15T23:30:36.580Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-15T23:30:36.881Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-15T23:30:37.818Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-15T23:30:37.818Z] 5eb5b503b376: Pulling fs layer [2022-10-15T23:30:37.818Z] 5c69ac0246d0: Pulling fs layer [2022-10-15T23:30:37.818Z] ec43610c2a17: Pulling fs layer [2022-10-15T23:30:37.818Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-15T23:30:37.818Z] 33b1e0a273af: Pulling fs layer [2022-10-15T23:30:37.818Z] 5d3b04190fa2: Pulling fs layer [2022-10-15T23:30:37.818Z] 2f39f015ded8: Pulling fs layer [2022-10-15T23:30:37.818Z] 3a2ae6a8a46f: Waiting [2022-10-15T23:30:37.818Z] 33b1e0a273af: Waiting [2022-10-15T23:30:37.818Z] 5d3b04190fa2: Waiting [2022-10-15T23:30:37.818Z] 2f39f015ded8: Waiting [2022-10-15T23:30:37.818Z] 5c69ac0246d0: Download complete [2022-10-15T23:30:37.818Z] 3a2ae6a8a46f: Download complete [2022-10-15T23:30:37.818Z] 33b1e0a273af: Verifying Checksum [2022-10-15T23:30:37.818Z] 33b1e0a273af: Download complete [2022-10-15T23:30:37.818Z] ec43610c2a17: Verifying Checksum [2022-10-15T23:30:37.818Z] ec43610c2a17: Download complete [2022-10-15T23:30:37.818Z] 5d3b04190fa2: Verifying Checksum [2022-10-15T23:30:37.818Z] 5d3b04190fa2: Download complete [2022-10-15T23:30:38.077Z] 5eb5b503b376: Verifying Checksum [2022-10-15T23:30:38.077Z] 5eb5b503b376: Download complete [2022-10-15T23:30:38.642Z] 2f39f015ded8: Download complete [2022-10-15T23:30:40.542Z] 5eb5b503b376: Pull complete [2022-10-15T23:30:41.917Z] 5c69ac0246d0: Pull complete [2022-10-15T23:30:43.817Z] ec43610c2a17: Pull complete [2022-10-15T23:30:44.534Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7927 in /w/workspace/xfoundry_go-mod-messaging_PR-179 [Pipeline] { [Pipeline] ws [2022-10-15T23:30:44.546Z] Running in /w/workspace/go-mod-messaging/4 [Pipeline] { [Pipeline] checkout [2022-10-15T23:30:44.584Z] Selected Git installation does not exist. Using Default [2022-10-15T23:30:44.584Z] The recommended git tool is: NONE [2022-10-15T23:30:44.754Z] 3a2ae6a8a46f: Pull complete [2022-10-15T23:30:45.689Z] 33b1e0a273af: Pull complete [2022-10-15T23:30:46.624Z] 5d3b04190fa2: Pull complete [2022-10-15T23:30:49.418Z] using credential edgex-jenkins-ssh [2022-10-15T23:30:49.434Z] Cloning the remote Git repository [2022-10-15T23:30:49.479Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2022-10-15T23:30:49.559Z] > git init /w/workspace/go-mod-messaging/4 # timeout=10 [2022-10-15T23:30:49.709Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2022-10-15T23:30:49.710Z] > git --version # timeout=10 [2022-10-15T23:30:49.731Z] > git --version # 'git version 2.25.1' [2022-10-15T23:30:49.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-15T23:30:49.784Z] Verifying host key using known hosts file [2022-10-15T23:30:49.966Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-15T23:30:49.980Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-15T23:30:51.882Z] 2f39f015ded8: Pull complete [2022-10-15T23:30:51.882Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-15T23:30:51.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-15T23:30:51.882Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-15T23:30:51.954Z] prd-ubuntu20.04-docker-8c-8g-7926 does not seem to be running inside a container [2022-10-15T23:30:51.993Z] $ 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-179 -v /w/workspace/xfoundry_go-mod-messaging_PR-179:/w/workspace/xfoundry_go-mod-messaging_PR-179:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-179@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-179@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 [2022-10-15T23:30:50.784Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2022-10-15T23:30:50.816Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-15T23:30:51.598Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2022-10-15T23:30:51.643Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2022-10-15T23:30:51.643Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-15T23:30:51.648Z] Verifying host key using known hosts file [2022-10-15T23:30:51.655Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-15T23:30:51.665Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-15T23:30:52.273Z] Merging remotes/origin/main commit e07deede33163783d351f26f2515f09a7f1118bf into PR head commit 503ca6282290f3788817ba4f9f24bb6960acdcc8 [2022-10-15T23:30:52.483Z] Merge succeeded, producing 503ca6282290f3788817ba4f9f24bb6960acdcc8 [2022-10-15T23:30:52.484Z] Checking out Revision 503ca6282290f3788817ba4f9f24bb6960acdcc8 (PR-179) [2022-10-15T23:30:52.294Z] > git config core.sparsecheckout # timeout=10 [2022-10-15T23:30:52.310Z] > git checkout -f 503ca6282290f3788817ba4f9f24bb6960acdcc8 # timeout=10 [2022-10-15T23:30:52.398Z] > git remote # timeout=10 [2022-10-15T23:30:52.413Z] > git config --get remote.origin.url # timeout=10 [2022-10-15T23:30:52.433Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-15T23:30:52.439Z] Verifying host key using known hosts file [2022-10-15T23:30:52.442Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-15T23:30:52.452Z] > git merge e07deede33163783d351f26f2515f09a7f1118bf # timeout=10 [2022-10-15T23:30:52.472Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-15T23:30:52.492Z] > git config core.sparsecheckout # timeout=10 [2022-10-15T23:30:52.503Z] > git checkout -f 503ca6282290f3788817ba4f9f24bb6960acdcc8 # timeout=10 [2022-10-15T23:30:55.207Z] $ docker top bdd810cc4f8fa89b734693fbc54c1cefdc7796df9356061711c520e1ae32cdc0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-15T23:30:55.583Z] ---> job-cost.sh [2022-10-15T23:30:55.583Z] lf-activate-venv: SKIPPING [2022-10-15T23:30:55.583Z] INFO: No Stack... [2022-10-15T23:30:55.846Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-15T23:30:55.945Z] Commit message: "feat: Jetstream ExactlyOnce Configuration" [2022-10-15T23:30:56.102Z] INFO: Archiving Costs [Pipeline] sh [2022-10-15T23:30:56.265Z] [2022-10-15T23:30:56.265Z] GitHub has been notified of this commit’s build result [2022-10-15T23:30:56.265Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-15T23:30:56.387Z] + cat /w/workspace/xfoundry_go-mod-messaging_PR-179/archives/cost.csv [2022-10-15T23:30:56.388Z] + cut -d, -f6 [Pipeline] lock [2022-10-15T23:30:56.489Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-179-4-stack-cost] [2022-10-15T23:30:56.497Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-179-4-stack-cost] did not exist. Created. [2022-10-15T23:30:56.497Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-179-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-15T23:30:56.794Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-15T23:30:56.794Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-15T23:30:56.794Z] Dload Upload Total Spent Left Speed [2022-10-15T23:30:56.794Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 75915 0 --:--:-- --:--:-- --:--:-- 75915 [2022-10-15T23:30:56.799Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-15T23:30:56.831Z] Stashed 1 file(s) [Pipeline] } [2022-10-15T23:30:56.840Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-179-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-15T23:30:56.867Z] $ docker stop --time=1 bdd810cc4f8fa89b734693fbc54c1cefdc7796df9356061711c520e1ae32cdc0 [2022-10-15T23:30:58.022Z] $ docker rm -f bdd810cc4f8fa89b734693fbc54c1cefdc7796df9356061711c520e1ae32cdc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-15T23:30:58.371Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-15T23:30:58.697Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-15T23:30:58.697Z] + sudo tee /etc/docker/daemon.new [2022-10-15T23:30:58.697Z] { [2022-10-15T23:30:58.697Z] "registry-mirrors": [ [2022-10-15T23:30:58.697Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-15T23:30:58.697Z] ], [2022-10-15T23:30:58.697Z] "bip": "10.250.0.254/24", [2022-10-15T23:30:58.697Z] "hosts": [ [2022-10-15T23:30:58.697Z] "tcp://0.0.0.0:5555", [2022-10-15T23:30:58.697Z] "unix:///var/run/docker.sock" [2022-10-15T23:30:58.697Z] ], [2022-10-15T23:30:58.697Z] "mtu": 1458, [2022-10-15T23:30:58.697Z] "selinux-enabled": true, [2022-10-15T23:30:58.697Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-15T23:30:58.697Z] } [Pipeline] sh [2022-10-15T23:30:59.014Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-15T23:30:59.337Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-10-15T23:31:17.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-15T23:31:17.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-15T23:31:17.721Z] ========================================================= [2022-10-15T23:31:17.721Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-15T23:31:17.721Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-10-15T23:31:18.043Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-15T23:31:18.651Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-15T23:31:18.651Z] 9b18e9b68314: Pulling fs layer [2022-10-15T23:31:18.651Z] d32db5db7311: Pulling fs layer [2022-10-15T23:31:18.651Z] d0c4b47475fc: Pulling fs layer [2022-10-15T23:31:18.651Z] 5831b945b038: Pulling fs layer [2022-10-15T23:31:18.651Z] 86bbec2aaacd: Pulling fs layer [2022-10-15T23:31:18.651Z] e10730c5d714: Pulling fs layer [2022-10-15T23:31:18.651Z] 5dd5c2283517: Pulling fs layer [2022-10-15T23:31:18.651Z] d5ac0230b979: Pulling fs layer [2022-10-15T23:31:18.651Z] 86bbec2aaacd: Waiting [2022-10-15T23:31:18.651Z] e10730c5d714: Waiting [2022-10-15T23:31:18.651Z] 5dd5c2283517: Waiting [2022-10-15T23:31:18.651Z] d5ac0230b979: Waiting [2022-10-15T23:31:18.651Z] 5831b945b038: Waiting [2022-10-15T23:31:18.651Z] d0c4b47475fc: Download complete [2022-10-15T23:31:18.651Z] d32db5db7311: Download complete [2022-10-15T23:31:18.651Z] 86bbec2aaacd: Verifying Checksum [2022-10-15T23:31:18.651Z] 86bbec2aaacd: Download complete [2022-10-15T23:31:18.651Z] e10730c5d714: Verifying Checksum [2022-10-15T23:31:18.651Z] e10730c5d714: Download complete [2022-10-15T23:31:18.651Z] 9b18e9b68314: Verifying Checksum [2022-10-15T23:31:18.651Z] 9b18e9b68314: Download complete [2022-10-15T23:31:19.623Z] d5ac0230b979: Verifying Checksum [2022-10-15T23:31:19.623Z] d5ac0230b979: Download complete [2022-10-15T23:31:19.897Z] 9b18e9b68314: Pull complete [2022-10-15T23:31:20.490Z] d32db5db7311: Pull complete [2022-10-15T23:31:20.759Z] d0c4b47475fc: Pull complete [2022-10-15T23:31:20.759Z] 5dd5c2283517: Verifying Checksum [2022-10-15T23:31:20.759Z] 5dd5c2283517: Download complete [2022-10-15T23:31:21.346Z] 5831b945b038: Verifying Checksum [2022-10-15T23:31:21.346Z] 5831b945b038: Download complete [2022-10-15T23:31:33.698Z] 5831b945b038: Pull complete [2022-10-15T23:31:33.698Z] 86bbec2aaacd: Pull complete [2022-10-15T23:31:33.698Z] e10730c5d714: Pull complete [2022-10-15T23:31:40.369Z] 5dd5c2283517: Pull complete [2022-10-15T23:31:41.352Z] d5ac0230b979: Pull complete [2022-10-15T23:31:41.352Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-15T23:31:41.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-15T23:31:41.352Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2022-10-15T23:31:41.933Z] + 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 [2022-10-15T23:31:42.263Z] + docker inspect -f . ci-base-image-arm64 [2022-10-15T23:31:42.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-15T23:31:42.437Z] prd-ubuntu20.04-docker-arm64-4c-16g-7927 does not seem to be running inside a container [2022-10-15T23:31:42.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/4 -v /w/workspace/go-mod-messaging/4:/w/workspace/go-mod-messaging/4:rw,z -v /w/workspace/go-mod-messaging/4@tmp:/w/workspace/go-mod-messaging/4@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 [2022-10-15T23:31:45.461Z] $ docker top c30cbf4b84660d50981838e32170320427da5cc68ce7ec88c6da8617c473f666 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-15T23:31:46.278Z] + go version [2022-10-15T23:31:46.278Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-15T23:31:46.297Z] $ docker stop --time=1 c30cbf4b84660d50981838e32170320427da5cc68ce7ec88c6da8617c473f666 [2022-10-15T23:31:47.951Z] $ docker rm -f c30cbf4b84660d50981838e32170320427da5cc68ce7ec88c6da8617c473f666 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-15T23:31:48.461Z] + docker inspect -f . ci-base-image-arm64 [2022-10-15T23:31:48.462Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-15T23:31:48.634Z] prd-ubuntu20.04-docker-arm64-4c-16g-7927 does not seem to be running inside a container [2022-10-15T23:31:48.700Z] $ 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/4 -v /w/workspace/go-mod-messaging/4:/w/workspace/go-mod-messaging/4:rw,z -v /w/workspace/go-mod-messaging/4@tmp:/w/workspace/go-mod-messaging/4@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 [2022-10-15T23:31:49.870Z] $ docker top c109547402e7382cf97d7143fedcffa96dcc0c8804b6870d38e6f78e57141073 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-15T23:31:50.371Z] + git config --global --add safe.directory /w/workspace/go-mod-messaging/4 [Pipeline] fileExists [Pipeline] sh [2022-10-15T23:31:50.697Z] + make test [2022-10-15T23:31:50.697Z] CGO_ENABLED=1 GO111MODULE=on go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2022-10-15T23:31:50.964Z] go: downloading github.com/nats-io/nats.go v1.17.0 [2022-10-15T23:31:50.964Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-10-15T23:31:50.964Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-10-15T23:31:51.235Z] go: downloading github.com/google/uuid v1.3.0 [2022-10-15T23:31:51.235Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.2 [2022-10-15T23:31:51.235Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-10-15T23:31:51.235Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-10-15T23:31:51.502Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-10-15T23:31:51.502Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-10-15T23:31:51.502Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-10-15T23:31:51.502Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-10-15T23:31:51.502Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-10-15T23:31:51.502Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-10-15T23:31:51.502Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-10-15T23:31:51.502Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-10-15T23:31:51.502Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-10-15T23:31:51.768Z] go: downloading golang.org/x/crypto v0.0.0-20220926161630-eccd6366d1be [2022-10-15T23:31:52.353Z] go: downloading github.com/klauspost/compress v1.15.11 [2022-10-15T23:31:52.353Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-10-15T23:31:52.353Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-10-15T23:31:52.353Z] go: downloading golang.org/x/time v0.0.0-20220922220347-f3bd1da661af [2022-10-15T23:33:00.246Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-10-15T23:33:15.236Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.211s coverage: 90.4% of statements [2022-10-15T23:33:30.234Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.198s coverage: 87.0% of statements [2022-10-15T23:33:30.234Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces [no test files] [2022-10-15T23:33:30.234Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-10-15T23:34:26.613Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.398s coverage: 84.6% of statements [2022-10-15T23:34:26.613Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.113s coverage: 68.5% of statements [2022-10-15T23:34:26.613Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-10-15T23:34:26.613Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.466s coverage: 83.8% of statements [2022-10-15T23:34:26.613Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.077s coverage: 88.9% of statements [2022-10-15T23:34:26.613Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-10-15T23:34:26.613Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.069s coverage: 100.0% of statements [2022-10-15T23:34:26.613Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.060s coverage: 100.0% of statements [2022-10-15T23:34:26.613Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.070s coverage: 95.1% of statements [2022-10-15T23:34:26.613Z] CGO_ENABLED=1 GO111MODULE=on go test -tags no-zmq -race ./... -coverprofile=coverage.out ./... [2022-10-15T23:34:26.613Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-10-15T23:34:26.613Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.280s coverage: 90.4% of statements [2022-10-15T23:34:26.613Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.063s coverage: 100.0% of statements [2022-10-15T23:34:26.613Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-10-15T23:34:26.613Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.062s coverage: 100.0% of statements [2022-10-15T23:34:26.613Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.176s coverage: 68.5% of statements [2022-10-15T23:34:26.613Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-10-15T23:34:48.659Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.467s coverage: 83.8% of statements [2022-10-15T23:34:48.659Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.067s coverage: 88.9% of statements [2022-10-15T23:34:48.659Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-10-15T23:34:48.659Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.080s coverage: 100.0% of statements [2022-10-15T23:34:48.659Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.064s coverage: 100.0% of statements [2022-10-15T23:34:48.659Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.081s coverage: 95.1% of statements [2022-10-15T23:34:48.659Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-15T23:34:48.659Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-15T23:35:35.501Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-15T23:35:35.501Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-10-15T23:35:35.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-15T23:35:35.534Z] $ docker stop --time=1 c109547402e7382cf97d7143fedcffa96dcc0c8804b6870d38e6f78e57141073 [2022-10-15T23:35:37.608Z] $ docker rm -f c109547402e7382cf97d7143fedcffa96dcc0c8804b6870d38e6f78e57141073 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-15T23:35:39.077Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-15T23:35:39.098Z] Warning: overwriting stash ‘coverage-report’ [2022-10-15T23:35:39.530Z] 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 [2022-10-15T23:35:39.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-15T23:35:39.978Z] [2022-10-15T23:35:39.978Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-15T23:35:40.309Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-15T23:35:40.577Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-15T23:35:40.577Z] 8998bd30e6a1: Pulling fs layer [2022-10-15T23:35:40.577Z] 04944245beec: Pulling fs layer [2022-10-15T23:35:40.577Z] 699f458cf7ca: Pulling fs layer [2022-10-15T23:35:40.577Z] 765212b225bb: Pulling fs layer [2022-10-15T23:35:40.577Z] f23df028b6ca: Pulling fs layer [2022-10-15T23:35:40.577Z] d65c8cfc05b1: Pulling fs layer [2022-10-15T23:35:40.577Z] 2437ff75d9bd: Pulling fs layer [2022-10-15T23:35:40.577Z] f23df028b6ca: Waiting [2022-10-15T23:35:40.577Z] d65c8cfc05b1: Waiting [2022-10-15T23:35:40.577Z] 2437ff75d9bd: Waiting [2022-10-15T23:35:40.577Z] 765212b225bb: Waiting [2022-10-15T23:35:40.577Z] 04944245beec: Verifying Checksum [2022-10-15T23:35:40.577Z] 04944245beec: Download complete [2022-10-15T23:35:40.577Z] 765212b225bb: Verifying Checksum [2022-10-15T23:35:40.577Z] 765212b225bb: Download complete [2022-10-15T23:35:40.577Z] f23df028b6ca: Verifying Checksum [2022-10-15T23:35:40.577Z] f23df028b6ca: Download complete [2022-10-15T23:35:40.577Z] d65c8cfc05b1: Verifying Checksum [2022-10-15T23:35:40.577Z] d65c8cfc05b1: Download complete [2022-10-15T23:35:40.844Z] 699f458cf7ca: Verifying Checksum [2022-10-15T23:35:40.844Z] 699f458cf7ca: Download complete [2022-10-15T23:35:41.113Z] 8998bd30e6a1: Verifying Checksum [2022-10-15T23:35:41.113Z] 8998bd30e6a1: Download complete [2022-10-15T23:35:44.463Z] 2437ff75d9bd: Verifying Checksum [2022-10-15T23:35:44.463Z] 2437ff75d9bd: Download complete [2022-10-15T23:35:46.405Z] 8998bd30e6a1: Pull complete [2022-10-15T23:35:46.672Z] 04944245beec: Pull complete [2022-10-15T23:35:48.631Z] 699f458cf7ca: Pull complete [2022-10-15T23:35:50.040Z] 765212b225bb: Pull complete [2022-10-15T23:35:51.002Z] f23df028b6ca: Pull complete [2022-10-15T23:35:52.944Z] d65c8cfc05b1: Pull complete [2022-10-15T23:36:11.360Z] 2437ff75d9bd: Pull complete [2022-10-15T23:36:11.360Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-15T23:36:11.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-15T23:36:11.360Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-15T23:36:11.548Z] prd-ubuntu20.04-docker-arm64-4c-16g-7927 does not seem to be running inside a container [2022-10-15T23:36:11.620Z] $ 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/4 -v /w/workspace/go-mod-messaging/4:/w/workspace/go-mod-messaging/4:rw,z -v /w/workspace/go-mod-messaging/4@tmp:/w/workspace/go-mod-messaging/4@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 [2022-10-15T23:36:13.756Z] $ docker top d7169b590dbe1f34f8a0bf5b5d2183d804cf419b8df7c904d974b537e618f0ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-15T23:36:14.604Z] ---> job-cost.sh [2022-10-15T23:36:14.604Z] lf-activate-venv: SKIPPING [2022-10-15T23:36:14.604Z] INFO: No Stack... [2022-10-15T23:36:15.189Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-15T23:36:15.771Z] INFO: Archiving Costs [Pipeline] sh [2022-10-15T23:36:16.089Z] + cut -d, -f6 [2022-10-15T23:36:16.089Z] + cat /w/workspace/go-mod-messaging/4/archives/cost.csv [Pipeline] lock [2022-10-15T23:36:16.414Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-179-4-stack-cost] [2022-10-15T23:36:16.423Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-179-4-stack-cost] did not exist. Created. [2022-10-15T23:36:16.423Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-179-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-15T23:36:16.754Z] /w/workspace/go-mod-messaging/4@tmp/durable-99590387/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-15T23:36:17.667Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-15T23:36:17.690Z] Warning: overwriting stash ‘stack-cost’ [2022-10-15T23:36:17.732Z] Stashed 1 file(s) [Pipeline] } [2022-10-15T23:36:17.739Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-179-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-15T23:36:17.756Z] $ docker stop --time=1 d7169b590dbe1f34f8a0bf5b5d2183d804cf419b8df7c904d974b537e618f0ff [2022-10-15T23:36:19.254Z] $ docker rm -f d7169b590dbe1f34f8a0bf5b5d2183d804cf419b8df7c904d974b537e618f0ff [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 [2022-10-15T23:36:19.746Z] provisioning config files... [2022-10-15T23:36:19.757Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-179@tmp/config10165402021975256956tmp [Pipeline] { [Pipeline] sh [2022-10-15T23:36:20.047Z] + set +x [2022-10-15T23:36:20.047Z] + curl -s https://codecov.io/bash [2022-10-15T23:36:20.047Z] + bash -s -- [2022-10-15T23:36:20.047Z] [2022-10-15T23:36:20.047Z] _____ _ [2022-10-15T23:36:20.047Z] / ____| | | [2022-10-15T23:36:20.047Z] | | ___ __| | ___ ___ _____ __ [2022-10-15T23:36:20.047Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-15T23:36:20.047Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-15T23:36:20.047Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-15T23:36:20.047Z] Bash-1.0.6 [2022-10-15T23:36:20.047Z] [2022-10-15T23:36:20.047Z] [2022-10-15T23:36:20.047Z] ==> git version 2.25.1 found [2022-10-15T23:36:20.047Z] ==> 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 [2022-10-15T23:36:20.047Z] Release-Date: 2020-01-08 [2022-10-15T23:36:20.047Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-15T23:36:20.047Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-15T23:36:20.047Z] ==> Jenkins CI detected. [2022-10-15T23:36:20.047Z] current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-179 [2022-10-15T23:36:20.047Z] project root: . [2022-10-15T23:36:20.047Z] --> token set from env [2022-10-15T23:36:20.047Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-15T23:36:20.047Z] ==> Running gcov in . (disable via -X gcov) [2022-10-15T23:36:20.047Z] ==> Python coveragepy not found [2022-10-15T23:36:20.047Z] ==> Searching for coverage reports in: [2022-10-15T23:36:20.047Z] + . [2022-10-15T23:36:20.047Z] -> Found 1 reports [2022-10-15T23:36:20.047Z] ==> Detecting git/mercurial file structure [2022-10-15T23:36:20.047Z] ==> Reading reports [2022-10-15T23:36:20.306Z] + ./coverage.out bytes=25878 [2022-10-15T23:36:20.306Z] ==> Appending adjustments [2022-10-15T23:36:20.306Z] https://docs.codecov.io/docs/fixing-reports [2022-10-15T23:36:20.306Z] + Found adjustments [2022-10-15T23:36:20.306Z] ==> Gzipping contents [2022-10-15T23:36:20.306Z] 8.0K /tmp/codecov.ZxG30z.gz [2022-10-15T23:36:20.306Z] ==> Uploading reports [2022-10-15T23:36:20.306Z] url: https://codecov.io [2022-10-15T23:36:20.306Z] query: branch=PR-179&commit=503ca6282290f3788817ba4f9f24bb6960acdcc8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-179%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=179&job=&cmd_args= [2022-10-15T23:36:20.306Z] -> Pinging Codecov [2022-10-15T23:36:20.306Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-179&commit=503ca6282290f3788817ba4f9f24bb6960acdcc8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-179%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=179&job=&cmd_args= [2022-10-15T23:36:20.874Z] -> Uploading to [2022-10-15T23:36:20.874Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-15/F6E385568367DD0E4001BA4F8F1CB792/503ca6282290f3788817ba4f9f24bb6960acdcc8/6980f1b9-4e88-4968-a0d0-4ef27dab9379.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221015%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221015T233620Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d1a55f56fff772c79f7145c00ec6acfdcfe4bd3fc9230472e438f3b614e41c99 [2022-10-15T23:36:20.874Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-15T23:36:20.874Z] Dload Upload Total Spent Left Speed [2022-10-15T23:36:20.874Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7027 0 0 100 7027 0 29902 --:--:-- --:--:-- --:--:-- 29902 [2022-10-15T23:36:20.874Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-messaging/commit/503ca6282290f3788817ba4f9f24bb6960acdcc8 [Pipeline] } [2022-10-15T23:36:21.141Z] 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 [2022-10-15T23:36:21.788Z] + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-179/archives ] [2022-10-15T23:36:21.788Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-179/archives [2022-10-15T23:36:21.788Z] total 16 [2022-10-15T23:36:21.788Z] drwxr-xr-x 3 root root 4096 Oct 15 23:30 . [2022-10-15T23:36:21.788Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 15 23:30 .. [2022-10-15T23:36:21.788Z] drwxr-xr-x 2 root root 4096 Oct 15 23:30 cost [2022-10-15T23:36:21.788Z] -rw-r--r-- 1 root root 88 Oct 15 23:30 cost.csv [2022-10-15T23:36:21.788Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-179/archives [2022-10-15T23:36:21.788Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-179/archives [2022-10-15T23:36:21.788Z] total 16 [2022-10-15T23:36:21.788Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 15 23:30 . [2022-10-15T23:36:21.788Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 15 23:30 .. [2022-10-15T23:36:21.788Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 15 23:30 cost [2022-10-15T23:36:21.788Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 15 23:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-15T23:36:22.081Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-15T23:36:22.939Z] ---> package-listing.sh [2022-10-15T23:36:22.939Z] ++ facter osfamily [2022-10-15T23:36:22.939Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-15T23:36:23.198Z] + OS_FAMILY=debian [2022-10-15T23:36:23.198Z] + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-179 [2022-10-15T23:36:23.198Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-15T23:36:23.198Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-15T23:36:23.198Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-15T23:36:23.198Z] + PACKAGES=/tmp/packages_start.txt [2022-10-15T23:36:23.198Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-179 ']' [2022-10-15T23:36:23.198Z] + PACKAGES=/tmp/packages_end.txt [2022-10-15T23:36:23.198Z] + case "${OS_FAMILY}" in [2022-10-15T23:36:23.198Z] + dpkg -l [2022-10-15T23:36:23.198Z] + grep '^ii' [2022-10-15T23:36:23.198Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-15T23:36:23.198Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-15T23:36:23.198Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-15T23:36:23.198Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-179 ']' [2022-10-15T23:36:23.198Z] + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-179/archives/ [2022-10-15T23:36:23.198Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-179/archives/ [Pipeline] echo [2022-10-15T23:36:23.209Z] 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-179/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-15T23:36:23.485Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-15T23:36:24.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-15T23:36:24.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-15T23:36:24.106Z] prd-ubuntu20.04-docker-8c-8g-7926 does not seem to be running inside a container [2022-10-15T23:36:24.153Z] $ 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-179/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-179 -v /w/workspace/xfoundry_go-mod-messaging_PR-179:/w/workspace/xfoundry_go-mod-messaging_PR-179:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-179@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-179@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 [2022-10-15T23:36:24.330Z] $ docker top 90094fe03fbd4b0a5fc39256cdc24bd93693b76058cbef05e4107de97faf5294 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-15T23:36:24.652Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-15T23:36:24.935Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-15T23:36:25.219Z] + ls /var/log/sa-host [2022-10-15T23:36:25.219Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-15T23:36:25.357Z] provisioning config files... [2022-10-15T23:36:25.365Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-179@tmp/config15081346711197890588tmp [Pipeline] { [Pipeline] echo [2022-10-15T23:36:25.378Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-15T23:36:25.662Z] ---> create-netrc.sh [Pipeline] } [2022-10-15T23:36:25.669Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-15T23:36:25.997Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-15T23:36:26.006Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-15T23:36:26.291Z] ---> sudo-logs.sh [2022-10-15T23:36:26.291Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-15T23:36:26.314Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-15T23:36:26.598Z] ---> job-cost.sh [2022-10-15T23:36:26.598Z] lf-activate-venv: SKIPPING [2022-10-15T23:36:26.599Z] DEBUG: total: 0.2199999988079071 [2022-10-15T23:36:26.599Z] INFO: Retrieving Stack Cost... [2022-10-15T23:36:26.856Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-15T23:36:27.114Z] INFO: Archiving Costs [Pipeline] echo [2022-10-15T23:36:27.124Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-15T23:36:27.403Z] ---> logs-deploy.sh [2022-10-15T23:36:27.403Z] lf-activate-venv: SKIPPING [2022-10-15T23:36:27.403Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-179/4 [2022-10-15T23:36:27.403Z] INFO: archiving workspace using pattern(s): [2022-10-15T23:36:28.340Z] Archives upload complete. [2022-10-15T23:36:28.340Z] INFO: archiving logs to Nexus