Pull request #178 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 hahattan for edgexfoundry/go-mod-messaging Loading trusted files from base branch main at e07deede33163783d351f26f2515f09a7f1118bf rather than a7ad705e8b8100faf4bf8dc66270388eb2835933 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-ssh10352744562732936262.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-ssh13415604961030550332.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-178/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-178/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10774972462045917556.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-ssh10588502589772107190.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-178/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-178/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14505879574232608284.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-8295 in /w/workspace/xfoundry_go-mod-messaging_PR-178 [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-178 # 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/178/head:refs/remotes/origin/PR-178 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e07deede33163783d351f26f2515f09a7f1118bf into PR head commit a7ad705e8b8100faf4bf8dc66270388eb2835933 Merge succeeded, producing a7ad705e8b8100faf4bf8dc66270388eb2835933 Checking out Revision a7ad705e8b8100faf4bf8dc66270388eb2835933 (PR-178) > git config core.sparsecheckout # timeout=10 > git checkout -f a7ad705e8b8100faf4bf8dc66270388eb2835933 # 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 a7ad705e8b8100faf4bf8dc66270388eb2835933 # timeout=10 Commit message: "test: add unit tests for Messaging-based CommandClient" First time build. Skipping changelog. > git rev-list --no-walk ada00c38fcbe923efba4bf8fb0cc49138a7ae4e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-17T10:43:08.292Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-17T10:43:08.357Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-17T10:43:08.376Z] ========================================================= [2022-10-17T10:43:08.376Z] EdgeX Global Pipelines Version Info [2022-10-17T10:43:08.376Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-17T10:43:09.099Z] ------------------- [2022-10-17T10:43:09.099Z] stable info: [2022-10-17T10:43:09.099Z] ------------------- [2022-10-17T10:43:09.099Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-17T10:43:09.099Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T10:43:09.099Z] Message: update stable to v1.0.239 [2022-10-17T10:43:09.669Z] ------------------- [2022-10-17T10:43:09.669Z] experimental info: [2022-10-17T10:43:09.669Z] ------------------- [2022-10-17T10:43:09.669Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-17T10:43:09.669Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T10:43:09.669Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-17T10:43:09.845Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2022-10-17T10:43:09.856Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2022-10-17T10:43:09.872Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-17T10:43:09.887Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-17T10:43:09.900Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-17T10:43:09.916Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-17T10:43:09.926Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-17T10:43:09.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-17T10:43:09.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-17T10:43:09.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-17T10:43:09.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-17T10:43:09.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo [2022-10-17T10:43:10.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-17T10:43:10.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-17T10:43:10.028Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T10:43:10.040Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T10:43:10.051Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T10:43:10.065Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T10:43:10.077Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-17T10:43:10.089Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-17T10:43:10.100Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-17T10:43:10.111Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-17T10:43:10.122Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-17T10:43:10.142Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-17T10:43:10.159Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-10-17T10:43:10.176Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-17T10:43:10.191Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-17T10:43:10.203Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-178 [Pipeline] echo [2022-10-17T10:43:10.219Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-178 [Pipeline] echo [2022-10-17T10:43:10.229Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-178 [Pipeline] echo [2022-10-17T10:43:10.241Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a7ad705e8b8100faf4bf8dc66270388eb2835933 [Pipeline] echo [2022-10-17T10:43:10.255Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a7ad705 [Pipeline] echo [2022-10-17T10:43:10.266Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-17T10:43:10.604Z] + git rev-list -1 --merges a7ad705e8b8100faf4bf8dc66270388eb2835933~1..a7ad705e8b8100faf4bf8dc66270388eb2835933 [Pipeline] echo [2022-10-17T10:43:10.672Z] -----------> git rev-list -1 --merges a7ad705e8b8100faf4bf8dc66270388eb2835933~1..a7ad705e8b8100faf4bf8dc66270388eb2835933 a7ad705e8b8100faf4bf8dc66270388eb2835933 [false] [Pipeline] sh [2022-10-17T10:43:10.958Z] + git log --format=format:%s -1 a7ad705e8b8100faf4bf8dc66270388eb2835933 [Pipeline] echo [2022-10-17T10:43:10.971Z] ========================================================= [2022-10-17T10:43:10.971Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-17T10:43:10.971Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T10:43:11.296Z] + git log --format=format:%s -1 a7ad705e8b8100faf4bf8dc66270388eb2835933 [Pipeline] echo [2022-10-17T10:43:11.308Z] [semverPrep] GIT_COMMIT: a7ad705e8b8100faf4bf8dc66270388eb2835933, Commit Message: test: add unit tests for Messaging-based CommandClient [Pipeline] echo [2022-10-17T10:43:11.318Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-17T10:43:11.680Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T10:43:11.680Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-17T10:43:11.680Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-17T10:43:11.680Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-17T10:43:11.680Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-17T10:43:11.680Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-17T10:43:11.680Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T10:43:12.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T10:43:12.350Z] [2022-10-17T10:43:12.350Z] 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-17T10:43:12.647Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T10:43:12.907Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-17T10:43:12.907Z] b85a868b505f: Pulling fs layer [2022-10-17T10:43:12.907Z] e2be974225ed: Pulling fs layer [2022-10-17T10:43:12.907Z] 339a4e72a1f5: Pulling fs layer [2022-10-17T10:43:12.907Z] 988bab9f4d93: Pulling fs layer [2022-10-17T10:43:12.907Z] 1469e6f7b9e6: Pulling fs layer [2022-10-17T10:43:12.907Z] eaf3925da568: Pulling fs layer [2022-10-17T10:43:12.907Z] bab4dde63d76: Pulling fs layer [2022-10-17T10:43:12.907Z] 988bab9f4d93: Waiting [2022-10-17T10:43:12.907Z] bde34c3a00c8: Pulling fs layer [2022-10-17T10:43:12.907Z] b352a97aabf1: Pulling fs layer [2022-10-17T10:43:12.907Z] 1469e6f7b9e6: Waiting [2022-10-17T10:43:12.907Z] 4872d77fe225: Pulling fs layer [2022-10-17T10:43:12.907Z] eaf3925da568: Waiting [2022-10-17T10:43:12.907Z] bab4dde63d76: Waiting [2022-10-17T10:43:12.907Z] 5851b861e8e6: Pulling fs layer [2022-10-17T10:43:12.907Z] bde34c3a00c8: Waiting [2022-10-17T10:43:12.907Z] b352a97aabf1: Waiting [2022-10-17T10:43:12.907Z] 5851b861e8e6: Waiting [2022-10-17T10:43:12.907Z] e2be974225ed: Download complete [2022-10-17T10:43:12.907Z] 988bab9f4d93: Download complete [2022-10-17T10:43:12.907Z] 1469e6f7b9e6: Download complete [2022-10-17T10:43:12.907Z] 339a4e72a1f5: Verifying Checksum [2022-10-17T10:43:12.907Z] 339a4e72a1f5: Download complete [2022-10-17T10:43:12.907Z] eaf3925da568: Verifying Checksum [2022-10-17T10:43:12.907Z] eaf3925da568: Download complete [2022-10-17T10:43:13.169Z] bde34c3a00c8: Verifying Checksum [2022-10-17T10:43:13.169Z] bde34c3a00c8: Download complete [2022-10-17T10:43:13.169Z] b352a97aabf1: Verifying Checksum [2022-10-17T10:43:13.169Z] b352a97aabf1: Download complete [2022-10-17T10:43:13.169Z] 4872d77fe225: Verifying Checksum [2022-10-17T10:43:13.169Z] 4872d77fe225: Download complete [2022-10-17T10:43:13.169Z] 5851b861e8e6: Download complete [2022-10-17T10:43:13.169Z] b85a868b505f: Verifying Checksum [2022-10-17T10:43:13.169Z] b85a868b505f: Download complete [2022-10-17T10:43:13.428Z] bab4dde63d76: Verifying Checksum [2022-10-17T10:43:13.428Z] bab4dde63d76: Download complete [2022-10-17T10:43:14.362Z] b85a868b505f: Pull complete [2022-10-17T10:43:14.621Z] e2be974225ed: Pull complete [2022-10-17T10:43:15.188Z] 339a4e72a1f5: Pull complete [2022-10-17T10:43:15.188Z] 988bab9f4d93: Pull complete [2022-10-17T10:43:15.448Z] 1469e6f7b9e6: Pull complete [2022-10-17T10:43:15.448Z] eaf3925da568: Pull complete [2022-10-17T10:43:17.352Z] bab4dde63d76: Pull complete [2022-10-17T10:43:17.352Z] bde34c3a00c8: Pull complete [2022-10-17T10:43:17.352Z] b352a97aabf1: Pull complete [2022-10-17T10:43:17.352Z] 4872d77fe225: Pull complete [2022-10-17T10:43:17.352Z] 5851b861e8e6: Pull complete [2022-10-17T10:43:17.352Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-17T10:43:17.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T10:43:17.352Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T10:43:17.498Z] prd-ubuntu20.04-docker-8c-8g-8295 does not seem to be running inside a container [2022-10-17T10:43:17.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-178 -v /w/workspace/xfoundry_go-mod-messaging_PR-178:/w/workspace/xfoundry_go-mod-messaging_PR-178:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-178@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-178@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-devops/py-git-semver:0.1.4 cat [2022-10-17T10:43:20.146Z] $ docker top 1953eec3deabfd264d0d137fbd63b1d00afa6a33cc8b5723401ab8bde080c896 -eo pid,comm [2022-10-17T10:43:20.199Z] 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-17T10:43:20.199Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T10:43:20.238Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T10:43:20.238Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T10:43:20.338Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T10:43:20.339Z] $ docker exec 1953eec3deabfd264d0d137fbd63b1d00afa6a33cc8b5723401ab8bde080c896 ssh-agent [2022-10-17T10:43:20.431Z] SSH_AUTH_SOCK=/tmp/ssh-98SUGRS1CzzN/agent.31 [2022-10-17T10:43:20.431Z] SSH_AGENT_PID=37 [2022-10-17T10:43:20.441Z] Running ssh-add (command line suppressed) [2022-10-17T10:43:20.542Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-178@tmp/private_key_11064389987834803911.key (/w/workspace/xfoundry_go-mod-messaging_PR-178@tmp/private_key_11064389987834803911.key) [2022-10-17T10:43:20.559Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T10:43:20.845Z] + git tag --points-at HEAD [Pipeline] } [2022-10-17T10:43:20.855Z] $ docker exec --env ******** --env ******** 1953eec3deabfd264d0d137fbd63b1d00afa6a33cc8b5723401ab8bde080c896 ssh-agent -k [2022-10-17T10:43:20.951Z] unset SSH_AUTH_SOCK; [2022-10-17T10:43:20.951Z] unset SSH_AGENT_PID; [2022-10-17T10:43:20.951Z] echo Agent pid 37 killed; [2022-10-17T10:43:20.961Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-17T10:43:20.989Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T10:43:20.989Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T10:43:21.098Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T10:43:21.099Z] $ docker exec 1953eec3deabfd264d0d137fbd63b1d00afa6a33cc8b5723401ab8bde080c896 ssh-agent [2022-10-17T10:43:21.202Z] SSH_AUTH_SOCK=/tmp/ssh-TFRKV9PzvsBp/agent.69 [2022-10-17T10:43:21.202Z] SSH_AGENT_PID=75 [2022-10-17T10:43:21.206Z] Running ssh-add (command line suppressed) [2022-10-17T10:43:21.301Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-178@tmp/private_key_13472794899849299721.key (/w/workspace/xfoundry_go-mod-messaging_PR-178@tmp/private_key_13472794899849299721.key) [2022-10-17T10:43:21.313Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T10:43:21.593Z] + git semver init [2022-10-17T10:43:21.851Z] 2022-10-17 10:43:21,743 [run_init] DEBUG init version:0.0.0 force:False [2022-10-17T10:43:21.851Z] 2022-10-17 10:43:21,743 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-178/.semver [2022-10-17T10:43:21.851Z] 2022-10-17 10:43:21,743 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-178/.semver [2022-10-17T10:43:21.851Z] 2022-10-17 10:43:21,744 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-178/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-178, universal_newlines=False, shell=None, istream=None) [2022-10-17T10:43:22.785Z] 2022-10-17 10:43:22,548 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-178/.git/info/exclude [2022-10-17T10:43:22.785Z] 2022-10-17 10:43:22,548 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-178/.semver/PR-178 with force:False [2022-10-17T10:43:22.785Z] 2022-10-17 10:43:22,548 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-178/.semver/PR-178 [2022-10-17T10:43:22.785Z] 2022-10-17 10:43:22,551 [execute] INFO git cat-file --batch-check [2022-10-17T10:43:22.785Z] 2022-10-17 10:43:22,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-178/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T10:43:22.785Z] 2022-10-17 10:43:22,556 [execute] INFO git cat-file --batch [2022-10-17T10:43:22.785Z] 2022-10-17 10:43:22,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-178/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T10:43:22.785Z] 2022-10-17 10:43:22,561 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-178/.semver/PR-178 [2022-10-17T10:43:22.785Z] 0.0.0 [Pipeline] } [2022-10-17T10:43:22.793Z] $ docker exec --env ******** --env ******** 1953eec3deabfd264d0d137fbd63b1d00afa6a33cc8b5723401ab8bde080c896 ssh-agent -k [2022-10-17T10:43:22.885Z] unset SSH_AUTH_SOCK; [2022-10-17T10:43:22.886Z] unset SSH_AGENT_PID; [2022-10-17T10:43:22.886Z] echo Agent pid 75 killed; [2022-10-17T10:43:22.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T10:43:23.201Z] + git semver [Pipeline] } [2022-10-17T10:43:23.468Z] $ docker stop --time=1 1953eec3deabfd264d0d137fbd63b1d00afa6a33cc8b5723401ab8bde080c896 [2022-10-17T10:43:24.756Z] $ docker rm -f 1953eec3deabfd264d0d137fbd63b1d00afa6a33cc8b5723401ab8bde080c896 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T10:43:25.087Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-17T10:43:25.253Z] Stashed 1 file(s) [Pipeline] echo [2022-10-17T10:43:25.256Z] [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-17T10:43:25.414Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T10:43:25.430Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T10:43:25.438Z] ========================================================= [2022-10-17T10:43:25.438Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-17T10:43:25.438Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-10-17T10:43:25.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T10:43:25.733Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-17T10:43:25.733Z] 213ec9aee27d: Pulling fs layer [2022-10-17T10:43:25.733Z] 4583459ba037: Pulling fs layer [2022-10-17T10:43:25.733Z] 93c1e223e6f2: Pulling fs layer [2022-10-17T10:43:25.733Z] 53926ce57604: Pulling fs layer [2022-10-17T10:43:25.733Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-17T10:43:25.733Z] 30f14e443154: Pulling fs layer [2022-10-17T10:43:25.733Z] 801331c1e519: Pulling fs layer [2022-10-17T10:43:25.733Z] 99cc6dd402b0: Pulling fs layer [2022-10-17T10:43:25.733Z] 7d9ed39f4882: Pulling fs layer [2022-10-17T10:43:25.733Z] 53926ce57604: Waiting [2022-10-17T10:43:25.733Z] 21b2b0c7a3f4: Waiting [2022-10-17T10:43:25.733Z] 30f14e443154: Waiting [2022-10-17T10:43:25.733Z] 7d9ed39f4882: Waiting [2022-10-17T10:43:25.733Z] 801331c1e519: Waiting [2022-10-17T10:43:25.733Z] 99cc6dd402b0: Waiting [2022-10-17T10:43:25.733Z] 93c1e223e6f2: Verifying Checksum [2022-10-17T10:43:25.733Z] 93c1e223e6f2: Download complete [2022-10-17T10:43:25.733Z] 4583459ba037: Download complete [2022-10-17T10:43:25.733Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-17T10:43:25.733Z] 21b2b0c7a3f4: Download complete [2022-10-17T10:43:25.733Z] 30f14e443154: Verifying Checksum [2022-10-17T10:43:25.733Z] 30f14e443154: Download complete [2022-10-17T10:43:25.733Z] 213ec9aee27d: Verifying Checksum [2022-10-17T10:43:25.733Z] 213ec9aee27d: Download complete [2022-10-17T10:43:25.733Z] 801331c1e519: Download complete [2022-10-17T10:43:25.992Z] 213ec9aee27d: Pull complete [2022-10-17T10:43:25.992Z] 4583459ba037: Pull complete [2022-10-17T10:43:26.256Z] 93c1e223e6f2: Pull complete [2022-10-17T10:43:26.256Z] 7d9ed39f4882: Verifying Checksum [2022-10-17T10:43:26.256Z] 7d9ed39f4882: Download complete [2022-10-17T10:43:26.516Z] 99cc6dd402b0: Verifying Checksum [2022-10-17T10:43:26.516Z] 99cc6dd402b0: Download complete [2022-10-17T10:43:26.516Z] 53926ce57604: Verifying Checksum [2022-10-17T10:43:26.516Z] 53926ce57604: Download complete [2022-10-17T10:43:30.726Z] 53926ce57604: Pull complete [2022-10-17T10:43:30.726Z] 21b2b0c7a3f4: Pull complete [2022-10-17T10:43:30.726Z] 30f14e443154: Pull complete [2022-10-17T10:43:30.726Z] 801331c1e519: Pull complete [2022-10-17T10:43:32.623Z] 99cc6dd402b0: Pull complete [2022-10-17T10:43:33.189Z] 7d9ed39f4882: Pull complete [2022-10-17T10:43:33.189Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-17T10:43:33.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T10:43:33.189Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2022-10-17T10:43:33.475Z] + 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-17T10:43:33.766Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T10:43:33.766Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T10:43:33.833Z] prd-ubuntu20.04-docker-8c-8g-8295 does not seem to be running inside a container [2022-10-17T10:43:33.859Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-178 -v /w/workspace/xfoundry_go-mod-messaging_PR-178:/w/workspace/xfoundry_go-mod-messaging_PR-178:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-178@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-178@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 ******** -e ******** ci-base-image-x86_64 cat [2022-10-17T10:43:37.324Z] $ docker top db9643cd92260e27f568a6169a5c2373e25bd1dea17980cc31148e0e81ab44a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T10:43:37.664Z] + go version [2022-10-17T10:43:37.664Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-17T10:43:37.674Z] $ docker stop --time=1 db9643cd92260e27f568a6169a5c2373e25bd1dea17980cc31148e0e81ab44a2 [2022-10-17T10:43:38.959Z] $ docker rm -f db9643cd92260e27f568a6169a5c2373e25bd1dea17980cc31148e0e81ab44a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T10:43:39.336Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T10:43:39.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T10:43:39.391Z] prd-ubuntu20.04-docker-8c-8g-8295 does not seem to be running inside a container [2022-10-17T10:43:39.417Z] $ 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-178 -v /w/workspace/xfoundry_go-mod-messaging_PR-178:/w/workspace/xfoundry_go-mod-messaging_PR-178:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-178@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-178@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 ******** -e ******** ci-base-image-x86_64 cat [2022-10-17T10:43:39.781Z] $ docker top 8ce8a50d49118c4e7c7dfc880c03cd154106d785489dd8c0fb2e935ed97f7489 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T10:43:40.119Z] + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-messaging_PR-178 [Pipeline] fileExists [Pipeline] sh [2022-10-17T10:43:40.352Z] Still waiting to schedule task [2022-10-17T10:43:40.352Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-17T10:43:40.413Z] + make test [2022-10-17T10:43:40.414Z] CGO_ENABLED=1 GO111MODULE=on go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2022-10-17T10:43:40.414Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-10-17T10:43:40.414Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.3.0-dev.18 [2022-10-17T10:43:40.414Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-10-17T10:43:40.414Z] go: downloading github.com/nats-io/nats.go v1.17.0 [2022-10-17T10:43:40.414Z] go: downloading github.com/google/uuid v1.3.0 [2022-10-17T10:43:40.414Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-10-17T10:43:40.414Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-10-17T10:43:40.414Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.2 [2022-10-17T10:43:40.673Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-10-17T10:43:40.673Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-10-17T10:43:40.673Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-10-17T10:43:40.673Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-10-17T10:43:40.673Z] go: downloading github.com/go-playground/validator/v10 v10.11.1 [2022-10-17T10:43:40.673Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-10-17T10:43:40.673Z] go: downloading github.com/x448/float16 v0.8.4 [2022-10-17T10:43:40.673Z] go: downloading golang.org/x/text v0.3.7 [2022-10-17T10:43:40.673Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-10-17T10:43:40.673Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-10-17T10:43:40.673Z] go: downloading golang.org/x/crypto v0.0.0-20221010152910-d6f0a8c073c2 [2022-10-17T10:43:40.673Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-10-17T10:43:40.673Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-10-17T10:43:40.673Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-10-17T10:43:40.673Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-10-17T10:43:40.673Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-10-17T10:43:40.673Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-10-17T10:43:40.673Z] go: downloading github.com/klauspost/compress v1.15.11 [2022-10-17T10:43:40.673Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-10-17T10:43:40.673Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-10-17T10:43:41.240Z] go: downloading golang.org/x/time v0.0.0-20220922220347-f3bd1da661af [2022-10-17T10:43:41.240Z] go: downloading golang.org/x/sys v0.0.0-20221010170243-090e33056c14 [2022-10-17T10:43:59.325Z] ok github.com/edgexfoundry/go-mod-messaging/v2/clients 0.065s coverage: 66.4% of statements [2022-10-17T10:43:59.325Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-10-17T10:43:59.325Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.096s coverage: 90.4% of statements [2022-10-17T10:43:59.325Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.053s coverage: 87.7% of statements [2022-10-17T10:43:59.325Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces [no test files] [2022-10-17T10:43:59.325Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-10-17T10:44:07.452Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.106s coverage: 35.9% of statements [2022-10-17T10:44:07.452Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.039s coverage: 68.5% of statements [2022-10-17T10:44:07.452Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-10-17T10:44:19.666Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.376s coverage: 83.8% of statements [2022-10-17T10:44:19.666Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.033s coverage: 88.9% of statements [2022-10-17T10:44:19.666Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-10-17T10:44:19.666Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.037s coverage: 100.0% of statements [2022-10-17T10:44:19.666Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.040s coverage: 100.0% of statements [2022-10-17T10:44:19.666Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.031s coverage: 95.1% of statements [2022-10-17T10:44:19.666Z] CGO_ENABLED=1 GO111MODULE=on go test -tags no-zmq -race ./... -coverprofile=coverage.out ./... [2022-10-17T10:44:20.601Z] ok github.com/edgexfoundry/go-mod-messaging/v2/clients 0.058s coverage: 66.4% of statements [2022-10-17T10:44:20.601Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-10-17T10:44:20.601Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.072s coverage: 90.4% of statements [2022-10-17T10:44:20.601Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.024s coverage: 100.0% of statements [2022-10-17T10:44:20.601Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-10-17T10:44:20.601Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.020s coverage: 100.0% of statements [2022-10-17T10:44:20.601Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.043s coverage: 68.5% of statements [2022-10-17T10:44:20.601Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-10-17T10:44:42.531Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.380s coverage: 83.8% of statements [2022-10-17T10:44:42.531Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.037s coverage: 88.9% of statements [2022-10-17T10:44:42.531Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-10-17T10:44:42.532Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.030s coverage: 100.0% of statements [2022-10-17T10:44:42.532Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.032s coverage: 100.0% of statements [2022-10-17T10:44:42.532Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.028s coverage: 95.1% of statements [2022-10-17T10:44:50.631Z] 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-17T10:44:50.631Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T10:44:53.155Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T10:44:53.155Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-10-17T10:44:53.166Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T10:44:53.178Z] $ docker stop --time=1 8ce8a50d49118c4e7c7dfc880c03cd154106d785489dd8c0fb2e935ed97f7489 [2022-10-17T10:44:54.858Z] $ docker rm -f 8ce8a50d49118c4e7c7dfc880c03cd154106d785489dd8c0fb2e935ed97f7489 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T10:44:55.382Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T10:44:55.432Z] 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-17T10:44:55.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T10:44:55.877Z] [2022-10-17T10:44:55.877Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T10:44:56.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T10:44:56.172Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-17T10:44:56.172Z] 5eb5b503b376: Pulling fs layer [2022-10-17T10:44:56.172Z] 5c69ac0246d0: Pulling fs layer [2022-10-17T10:44:56.172Z] ec43610c2a17: Pulling fs layer [2022-10-17T10:44:56.172Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-17T10:44:56.172Z] 33b1e0a273af: Pulling fs layer [2022-10-17T10:44:56.172Z] 5d3b04190fa2: Pulling fs layer [2022-10-17T10:44:56.172Z] 2f39f015ded8: Pulling fs layer [2022-10-17T10:44:56.172Z] 3a2ae6a8a46f: Waiting [2022-10-17T10:44:56.172Z] 5d3b04190fa2: Waiting [2022-10-17T10:44:56.172Z] 33b1e0a273af: Waiting [2022-10-17T10:44:56.172Z] 5c69ac0246d0: Verifying Checksum [2022-10-17T10:44:56.172Z] 5c69ac0246d0: Download complete [2022-10-17T10:44:56.172Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-17T10:44:56.172Z] 3a2ae6a8a46f: Download complete [2022-10-17T10:44:56.431Z] 33b1e0a273af: Verifying Checksum [2022-10-17T10:44:56.431Z] 33b1e0a273af: Download complete [2022-10-17T10:44:56.431Z] 5d3b04190fa2: Verifying Checksum [2022-10-17T10:44:56.431Z] 5d3b04190fa2: Download complete [2022-10-17T10:44:56.431Z] ec43610c2a17: Download complete [2022-10-17T10:44:56.695Z] 5eb5b503b376: Verifying Checksum [2022-10-17T10:44:56.695Z] 5eb5b503b376: Download complete [2022-10-17T10:44:57.260Z] 2f39f015ded8: Download complete [2022-10-17T10:44:57.824Z] 5eb5b503b376: Pull complete [2022-10-17T10:44:57.824Z] 5c69ac0246d0: Pull complete [2022-10-17T10:44:58.389Z] ec43610c2a17: Pull complete [2022-10-17T10:44:58.389Z] 3a2ae6a8a46f: Pull complete [2022-10-17T10:44:58.647Z] 33b1e0a273af: Pull complete [2022-10-17T10:44:58.647Z] 5d3b04190fa2: Pull complete [2022-10-17T10:45:02.838Z] 2f39f015ded8: Pull complete [2022-10-17T10:45:02.838Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-17T10:45:02.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T10:45:02.838Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T10:45:02.921Z] prd-ubuntu20.04-docker-8c-8g-8295 does not seem to be running inside a container [2022-10-17T10:45:02.947Z] $ 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-178 -v /w/workspace/xfoundry_go-mod-messaging_PR-178:/w/workspace/xfoundry_go-mod-messaging_PR-178:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-178@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-178@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-17T10:45:05.496Z] $ docker top 9da8836ab8f29ab4220711afce8b5b325b1306cdc43a7a850dd1984e2e296090 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T10:45:05.891Z] ---> job-cost.sh [2022-10-17T10:45:05.891Z] lf-activate-venv: SKIPPING [2022-10-17T10:45:05.891Z] INFO: No Stack... [2022-10-17T10:45:06.149Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T10:45:06.409Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T10:45:06.697Z] + cat /w/workspace/xfoundry_go-mod-messaging_PR-178/archives/cost.csv [2022-10-17T10:45:06.697Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T10:45:06.710Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-178-3-stack-cost] [2022-10-17T10:45:06.716Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-178-3-stack-cost] did not exist. Created. [2022-10-17T10:45:06.716Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-178-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T10:45:07.015Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-17T10:45:07.036Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T10:45:07.042Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-178-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T10:45:07.060Z] $ docker stop --time=1 9da8836ab8f29ab4220711afce8b5b325b1306cdc43a7a850dd1984e2e296090 [2022-10-17T10:45:08.210Z] $ docker rm -f 9da8836ab8f29ab4220711afce8b5b325b1306cdc43a7a850dd1984e2e296090 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-17T10:45:16.240Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8296 in /w/workspace/xfoundry_go-mod-messaging_PR-178 [Pipeline] { [Pipeline] ws [2022-10-17T10:45:16.252Z] Running in /w/workspace/go-mod-messaging/3 [Pipeline] { [Pipeline] checkout [2022-10-17T10:45:16.289Z] Selected Git installation does not exist. Using Default [2022-10-17T10:45:16.289Z] The recommended git tool is: NONE [2022-10-17T10:45:21.132Z] using credential edgex-jenkins-ssh [2022-10-17T10:45:21.146Z] Cloning the remote Git repository [2022-10-17T10:45:21.185Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2022-10-17T10:45:21.260Z] > git init /w/workspace/go-mod-messaging/3 # timeout=10 [2022-10-17T10:45:21.414Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2022-10-17T10:45:21.415Z] > git --version # timeout=10 [2022-10-17T10:45:21.435Z] > git --version # 'git version 2.25.1' [2022-10-17T10:45:21.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T10:45:21.476Z] Verifying host key using known hosts file [2022-10-17T10:45:21.641Z] 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-17T10:45:21.654Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T10:45:22.473Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2022-10-17T10:45:22.497Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T10:45:23.277Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2022-10-17T10:45:23.322Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2022-10-17T10:45:23.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T10:45:23.328Z] Verifying host key using known hosts file [2022-10-17T10:45:23.334Z] 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-17T10:45:23.345Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/178/head:refs/remotes/origin/PR-178 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-17T10:45:23.948Z] Merging remotes/origin/main commit e07deede33163783d351f26f2515f09a7f1118bf into PR head commit a7ad705e8b8100faf4bf8dc66270388eb2835933 [2022-10-17T10:45:24.140Z] Merge succeeded, producing a7ad705e8b8100faf4bf8dc66270388eb2835933 [2022-10-17T10:45:24.141Z] Checking out Revision a7ad705e8b8100faf4bf8dc66270388eb2835933 (PR-178) [2022-10-17T10:45:23.965Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T10:45:23.982Z] > git checkout -f a7ad705e8b8100faf4bf8dc66270388eb2835933 # timeout=10 [2022-10-17T10:45:24.062Z] > git remote # timeout=10 [2022-10-17T10:45:24.077Z] > git config --get remote.origin.url # timeout=10 [2022-10-17T10:45:24.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T10:45:24.093Z] Verifying host key using known hosts file [2022-10-17T10:45:24.097Z] 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-17T10:45:24.104Z] > git merge e07deede33163783d351f26f2515f09a7f1118bf # timeout=10 [2022-10-17T10:45:24.127Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-17T10:45:24.149Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T10:45:24.162Z] > git checkout -f a7ad705e8b8100faf4bf8dc66270388eb2835933 # timeout=10 [2022-10-17T10:45:27.608Z] Commit message: "test: add unit tests for Messaging-based CommandClient" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T10:45:28.564Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-17T10:45:28.564Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T10:45:28.564Z] Dload Upload Total Spent Left Speed [2022-10-17T10:45:28.564Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99228 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh [2022-10-17T10:45:29.259Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-17T10:45:29.596Z] + sudo tee /etc/docker/daemon.new [2022-10-17T10:45:29.596Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-17T10:45:29.596Z] { [2022-10-17T10:45:29.596Z] "registry-mirrors": [ [2022-10-17T10:45:29.596Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-17T10:45:29.596Z] ], [2022-10-17T10:45:29.596Z] "bip": "10.250.0.254/24", [2022-10-17T10:45:29.596Z] "hosts": [ [2022-10-17T10:45:29.596Z] "tcp://0.0.0.0:5555", [2022-10-17T10:45:29.596Z] "unix:///var/run/docker.sock" [2022-10-17T10:45:29.596Z] ], [2022-10-17T10:45:29.596Z] "mtu": 1458, [2022-10-17T10:45:29.596Z] "selinux-enabled": true, [2022-10-17T10:45:29.596Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-17T10:45:29.596Z] } [Pipeline] sh [2022-10-17T10:45:29.922Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-17T10:45:30.263Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-10-17T10:45:48.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T10:45:48.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T10:45:48.660Z] ========================================================= [2022-10-17T10:45:48.660Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-17T10:45:48.660Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-10-17T10:45:48.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T10:45:49.566Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-17T10:45:49.566Z] 9b18e9b68314: Pulling fs layer [2022-10-17T10:45:49.566Z] d32db5db7311: Pulling fs layer [2022-10-17T10:45:49.566Z] d0c4b47475fc: Pulling fs layer [2022-10-17T10:45:49.566Z] 5831b945b038: Pulling fs layer [2022-10-17T10:45:49.566Z] 86bbec2aaacd: Pulling fs layer [2022-10-17T10:45:49.566Z] e10730c5d714: Pulling fs layer [2022-10-17T10:45:49.566Z] 5dd5c2283517: Pulling fs layer [2022-10-17T10:45:49.566Z] d5ac0230b979: Pulling fs layer [2022-10-17T10:45:49.566Z] 5831b945b038: Waiting [2022-10-17T10:45:49.566Z] 86bbec2aaacd: Waiting [2022-10-17T10:45:49.566Z] e10730c5d714: Waiting [2022-10-17T10:45:49.566Z] d5ac0230b979: Waiting [2022-10-17T10:45:49.566Z] 5dd5c2283517: Waiting [2022-10-17T10:45:49.566Z] d0c4b47475fc: Verifying Checksum [2022-10-17T10:45:49.566Z] d0c4b47475fc: Download complete [2022-10-17T10:45:49.566Z] d32db5db7311: Verifying Checksum [2022-10-17T10:45:49.566Z] d32db5db7311: Download complete [2022-10-17T10:45:49.566Z] 86bbec2aaacd: Verifying Checksum [2022-10-17T10:45:49.566Z] 86bbec2aaacd: Download complete [2022-10-17T10:45:49.566Z] e10730c5d714: Verifying Checksum [2022-10-17T10:45:49.566Z] e10730c5d714: Download complete [2022-10-17T10:45:49.566Z] 9b18e9b68314: Verifying Checksum [2022-10-17T10:45:50.561Z] 9b18e9b68314: Pull complete [2022-10-17T10:45:50.561Z] d5ac0230b979: Verifying Checksum [2022-10-17T10:45:50.561Z] d5ac0230b979: Download complete [2022-10-17T10:45:51.151Z] d32db5db7311: Pull complete [2022-10-17T10:45:51.423Z] d0c4b47475fc: Pull complete [2022-10-17T10:45:51.695Z] 5dd5c2283517: Verifying Checksum [2022-10-17T10:45:51.696Z] 5dd5c2283517: Download complete [2022-10-17T10:45:52.283Z] 5831b945b038: Download complete [2022-10-17T10:46:07.314Z] 5831b945b038: Pull complete [2022-10-17T10:46:07.314Z] 86bbec2aaacd: Pull complete [2022-10-17T10:46:07.314Z] e10730c5d714: Pull complete [2022-10-17T10:46:11.578Z] 5dd5c2283517: Pull complete [2022-10-17T10:46:12.990Z] d5ac0230b979: Pull complete [2022-10-17T10:46:12.990Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-17T10:46:12.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T10:46:12.990Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2022-10-17T10:46:13.311Z] + 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-17T10:46:13.642Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T10:46:13.642Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T10:46:13.895Z] prd-ubuntu20.04-docker-arm64-4c-16g-8296 does not seem to be running inside a container [2022-10-17T10:46:13.961Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/3 -v /w/workspace/go-mod-messaging/3:/w/workspace/go-mod-messaging/3:rw,z -v /w/workspace/go-mod-messaging/3@tmp:/w/workspace/go-mod-messaging/3@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-17T10:46:17.100Z] $ docker top daa28eb7181f69ff2b29ad7746e98c7ba954418bde2ca944158cf91ec373f38d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T10:46:17.930Z] + go version [2022-10-17T10:46:17.930Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-17T10:46:17.953Z] $ docker stop --time=1 daa28eb7181f69ff2b29ad7746e98c7ba954418bde2ca944158cf91ec373f38d [2022-10-17T10:46:19.589Z] $ docker rm -f daa28eb7181f69ff2b29ad7746e98c7ba954418bde2ca944158cf91ec373f38d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T10:46:20.117Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T10:46:20.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T10:46:20.277Z] prd-ubuntu20.04-docker-arm64-4c-16g-8296 does not seem to be running inside a container [2022-10-17T10:46:20.338Z] $ 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/3 -v /w/workspace/go-mod-messaging/3:/w/workspace/go-mod-messaging/3:rw,z -v /w/workspace/go-mod-messaging/3@tmp:/w/workspace/go-mod-messaging/3@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-17T10:46:21.452Z] $ docker top e07b0c18da431d6a9ae30304d766e5c51c469828a6d83970d9b1251a5abf8a01 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T10:46:21.947Z] + git config --global --add safe.directory /w/workspace/go-mod-messaging/3 [Pipeline] fileExists [Pipeline] sh [2022-10-17T10:46:22.285Z] + make test [2022-10-17T10:46:22.285Z] CGO_ENABLED=1 GO111MODULE=on go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2022-10-17T10:46:22.553Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.3.0-dev.18 [2022-10-17T10:46:22.821Z] go: downloading github.com/stretchr/testify v1.8.0 [2022-10-17T10:46:22.821Z] go: downloading github.com/nats-io/nats.go v1.17.0 [2022-10-17T10:46:22.821Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-10-17T10:46:22.821Z] go: downloading github.com/google/uuid v1.3.0 [2022-10-17T10:46:22.821Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.2 [2022-10-17T10:46:23.092Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-10-17T10:46:23.092Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-10-17T10:46:23.092Z] go: downloading github.com/go-playground/validator/v10 v10.11.1 [2022-10-17T10:46:23.092Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-10-17T10:46:23.363Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-10-17T10:46:23.363Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-10-17T10:46:23.363Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-10-17T10:46:23.363Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-10-17T10:46:23.363Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-10-17T10:46:23.363Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-10-17T10:46:23.363Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-10-17T10:46:23.632Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-10-17T10:46:23.632Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-10-17T10:46:23.632Z] go: downloading github.com/x448/float16 v0.8.4 [2022-10-17T10:46:23.632Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-10-17T10:46:23.632Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-10-17T10:46:23.632Z] go: downloading golang.org/x/crypto v0.0.0-20221010152910-d6f0a8c073c2 [2022-10-17T10:46:23.899Z] go: downloading golang.org/x/text v0.3.7 [2022-10-17T10:46:24.181Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-10-17T10:46:24.461Z] go: downloading github.com/klauspost/compress v1.15.11 [2022-10-17T10:46:24.461Z] go: downloading github.com/minio/highwayhash v1.0.2 [2022-10-17T10:46:24.461Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2022-10-17T10:46:24.733Z] go: downloading golang.org/x/time v0.0.0-20220922220347-f3bd1da661af [2022-10-17T10:48:01.405Z] ok github.com/edgexfoundry/go-mod-messaging/v2/clients 0.253s coverage: 66.4% of statements [2022-10-17T10:48:01.405Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-10-17T10:48:01.405Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.289s coverage: 90.4% of statements [2022-10-17T10:48:01.405Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.210s coverage: 87.7% of statements [2022-10-17T10:48:01.405Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces [no test files] [2022-10-17T10:48:01.405Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-10-17T10:49:09.289Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.290s coverage: 35.9% of statements [2022-10-17T10:49:09.289Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.139s coverage: 68.5% of statements [2022-10-17T10:49:09.289Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-10-17T10:49:09.289Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.541s coverage: 83.8% of statements [2022-10-17T10:49:09.289Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.120s coverage: 88.9% of statements [2022-10-17T10:49:09.289Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-10-17T10:49:09.289Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.108s coverage: 100.0% of statements [2022-10-17T10:49:09.289Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.067s coverage: 100.0% of statements [2022-10-17T10:49:09.289Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.160s coverage: 95.1% of statements [2022-10-17T10:49:09.289Z] CGO_ENABLED=1 GO111MODULE=on go test -tags no-zmq -race ./... -coverprofile=coverage.out ./... [2022-10-17T10:49:09.289Z] ok github.com/edgexfoundry/go-mod-messaging/v2/clients 0.285s coverage: 66.4% of statements [2022-10-17T10:49:09.289Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-10-17T10:49:09.289Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.222s coverage: 90.4% of statements [2022-10-17T10:49:09.289Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.078s coverage: 100.0% of statements [2022-10-17T10:49:09.289Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] [2022-10-17T10:49:09.289Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.098s coverage: 100.0% of statements [2022-10-17T10:49:09.289Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.140s coverage: 68.5% of statements [2022-10-17T10:49:09.289Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-10-17T10:49:31.338Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.469s coverage: 83.8% of statements [2022-10-17T10:49:31.338Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.069s coverage: 88.9% of statements [2022-10-17T10:49:31.338Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-10-17T10:49:31.338Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.070s coverage: 100.0% of statements [2022-10-17T10:49:31.338Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.069s coverage: 100.0% of statements [2022-10-17T10:49:31.338Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.083s coverage: 95.1% of statements [2022-10-17T10:49:31.338Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-17T10:49:31.338Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T10:50:27.787Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T10:50:27.787Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-10-17T10:50:27.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T10:50:27.817Z] $ docker stop --time=1 e07b0c18da431d6a9ae30304d766e5c51c469828a6d83970d9b1251a5abf8a01 [2022-10-17T10:50:29.917Z] $ docker rm -f e07b0c18da431d6a9ae30304d766e5c51c469828a6d83970d9b1251a5abf8a01 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T10:50:32.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T10:50:32.129Z] Warning: overwriting stash ‘coverage-report’ [2022-10-17T10:50:32.665Z] 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-17T10:50:33.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T10:50:33.131Z] [2022-10-17T10:50:33.131Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T10:50:33.473Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T10:50:33.763Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-17T10:50:33.763Z] 8998bd30e6a1: Pulling fs layer [2022-10-17T10:50:33.763Z] 04944245beec: Pulling fs layer [2022-10-17T10:50:33.763Z] 699f458cf7ca: Pulling fs layer [2022-10-17T10:50:33.763Z] 765212b225bb: Pulling fs layer [2022-10-17T10:50:33.763Z] f23df028b6ca: Pulling fs layer [2022-10-17T10:50:33.763Z] d65c8cfc05b1: Pulling fs layer [2022-10-17T10:50:33.763Z] 2437ff75d9bd: Pulling fs layer [2022-10-17T10:50:33.763Z] 765212b225bb: Waiting [2022-10-17T10:50:33.763Z] d65c8cfc05b1: Waiting [2022-10-17T10:50:33.763Z] 2437ff75d9bd: Waiting [2022-10-17T10:50:33.763Z] f23df028b6ca: Waiting [2022-10-17T10:50:33.763Z] 04944245beec: Verifying Checksum [2022-10-17T10:50:33.763Z] 04944245beec: Download complete [2022-10-17T10:50:34.030Z] 765212b225bb: Verifying Checksum [2022-10-17T10:50:34.030Z] 765212b225bb: Download complete [2022-10-17T10:50:34.030Z] f23df028b6ca: Verifying Checksum [2022-10-17T10:50:34.030Z] f23df028b6ca: Download complete [2022-10-17T10:50:34.030Z] d65c8cfc05b1: Verifying Checksum [2022-10-17T10:50:34.030Z] d65c8cfc05b1: Download complete [2022-10-17T10:50:34.313Z] 699f458cf7ca: Verifying Checksum [2022-10-17T10:50:34.313Z] 699f458cf7ca: Download complete [2022-10-17T10:50:34.913Z] 8998bd30e6a1: Verifying Checksum [2022-10-17T10:50:34.913Z] 8998bd30e6a1: Download complete [2022-10-17T10:50:37.505Z] 2437ff75d9bd: Download complete [2022-10-17T10:50:40.086Z] 8998bd30e6a1: Pull complete [2022-10-17T10:50:40.086Z] 04944245beec: Pull complete [2022-10-17T10:50:41.502Z] 699f458cf7ca: Pull complete [2022-10-17T10:50:41.769Z] 765212b225bb: Pull complete [2022-10-17T10:50:42.351Z] f23df028b6ca: Pull complete [2022-10-17T10:50:42.619Z] d65c8cfc05b1: Pull complete [2022-10-17T10:50:57.797Z] 2437ff75d9bd: Pull complete [2022-10-17T10:50:57.797Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-17T10:50:57.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T10:50:57.797Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T10:50:57.988Z] prd-ubuntu20.04-docker-arm64-4c-16g-8296 does not seem to be running inside a container [2022-10-17T10:50:58.056Z] $ 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/3 -v /w/workspace/go-mod-messaging/3:/w/workspace/go-mod-messaging/3:rw,z -v /w/workspace/go-mod-messaging/3@tmp:/w/workspace/go-mod-messaging/3@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-17T10:51:00.397Z] $ docker top 45013063ebe7b2d768487152cad13b82b8c7da34bf6fa205c9e3cd03a0751c39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T10:51:00.922Z] ---> job-cost.sh [2022-10-17T10:51:01.192Z] lf-activate-venv: SKIPPING [2022-10-17T10:51:01.192Z] INFO: No Stack... [2022-10-17T10:51:01.779Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-17T10:51:02.744Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T10:51:03.075Z] + cat /w/workspace/go-mod-messaging/3/archives/cost.csv [2022-10-17T10:51:03.075Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T10:51:03.142Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-178-3-stack-cost] [2022-10-17T10:51:03.155Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-178-3-stack-cost] did not exist. Created. [2022-10-17T10:51:03.155Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-178-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T10:51:03.805Z] /w/workspace/go-mod-messaging/3@tmp/durable-1edfeb83/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-17T10:51:04.454Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-17T10:51:04.475Z] Warning: overwriting stash ‘stack-cost’ [2022-10-17T10:51:04.516Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T10:51:04.523Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-178-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T10:51:04.543Z] $ docker stop --time=1 45013063ebe7b2d768487152cad13b82b8c7da34bf6fa205c9e3cd03a0751c39 [2022-10-17T10:51:06.013Z] $ docker rm -f 45013063ebe7b2d768487152cad13b82b8c7da34bf6fa205c9e3cd03a0751c39 [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-17T10:51:06.393Z] provisioning config files... [2022-10-17T10:51:06.403Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-178@tmp/config7944835441834125587tmp [Pipeline] { [Pipeline] sh [2022-10-17T10:51:06.694Z] + set +x [2022-10-17T10:51:06.694Z] + curl -s https://codecov.io/bash [2022-10-17T10:51:06.694Z] + bash -s -- [2022-10-17T10:51:06.694Z] [2022-10-17T10:51:06.694Z] _____ _ [2022-10-17T10:51:06.694Z] / ____| | | [2022-10-17T10:51:06.694Z] | | ___ __| | ___ ___ _____ __ [2022-10-17T10:51:06.694Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-17T10:51:06.694Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-17T10:51:06.694Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-17T10:51:06.694Z] Bash-1.0.6 [2022-10-17T10:51:06.694Z] [2022-10-17T10:51:06.694Z] [2022-10-17T10:51:06.694Z] ==> git version 2.25.1 found [2022-10-17T10:51:06.694Z] ==> 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-17T10:51:06.694Z] Release-Date: 2020-01-08 [2022-10-17T10:51:06.694Z] 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-17T10:51:06.694Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-17T10:51:06.694Z] ==> Jenkins CI detected. [2022-10-17T10:51:06.694Z] current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-178 [2022-10-17T10:51:06.694Z] project root: . [2022-10-17T10:51:06.694Z] --> token set from env [2022-10-17T10:51:06.694Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-17T10:51:06.694Z] ==> Running gcov in . (disable via -X gcov) [2022-10-17T10:51:06.694Z] ==> Python coveragepy not found [2022-10-17T10:51:06.694Z] ==> Searching for coverage reports in: [2022-10-17T10:51:06.694Z] + . [2022-10-17T10:51:06.694Z] -> Found 1 reports [2022-10-17T10:51:06.694Z] ==> Detecting git/mercurial file structure [2022-10-17T10:51:06.694Z] ==> Reading reports [2022-10-17T10:51:06.694Z] + ./coverage.out bytes=33413 [2022-10-17T10:51:06.694Z] ==> Appending adjustments [2022-10-17T10:51:06.694Z] https://docs.codecov.io/docs/fixing-reports [2022-10-17T10:51:06.953Z] + Found adjustments [2022-10-17T10:51:06.954Z] ==> Gzipping contents [2022-10-17T10:51:06.954Z] 8.0K /tmp/codecov.8Iyl1f.gz [2022-10-17T10:51:06.954Z] ==> Uploading reports [2022-10-17T10:51:06.954Z] url: https://codecov.io [2022-10-17T10:51:06.954Z] query: branch=PR-178&commit=a7ad705e8b8100faf4bf8dc66270388eb2835933&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-178%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=178&job=&cmd_args= [2022-10-17T10:51:06.954Z] -> Pinging Codecov [2022-10-17T10:51:06.954Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-178&commit=a7ad705e8b8100faf4bf8dc66270388eb2835933&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-178%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=178&job=&cmd_args= [2022-10-17T10:51:07.213Z] -> Uploading to [2022-10-17T10:51:07.213Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-17/F6E385568367DD0E4001BA4F8F1CB792/a7ad705e8b8100faf4bf8dc66270388eb2835933/2797f8a1-f485-4135-bef3-a659dd5e1ffa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T105107Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2fd991cc29fc8d75ea98a15dd491a1ce04d744d74e5b7cac9a3226e42a67dcff [2022-10-17T10:51:07.213Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T10:51:07.213Z] Dload Upload Total Spent Left Speed [2022-10-17T10:51:07.471Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8053 0 0 100 8053 0 34711 --:--:-- --:--:-- --:--:-- 34711 [2022-10-17T10:51:07.471Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-messaging/commit/a7ad705e8b8100faf4bf8dc66270388eb2835933 [Pipeline] } [2022-10-17T10:51:07.477Z] 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-17T10:51:08.114Z] + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-178/archives ] [2022-10-17T10:51:08.115Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-178/archives [2022-10-17T10:51:08.115Z] total 16 [2022-10-17T10:51:08.115Z] drwxr-xr-x 3 root root 4096 Oct 17 10:45 . [2022-10-17T10:51:08.115Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 10:45 .. [2022-10-17T10:51:08.115Z] drwxr-xr-x 2 root root 4096 Oct 17 10:45 cost [2022-10-17T10:51:08.115Z] -rw-r--r-- 1 root root 88 Oct 17 10:45 cost.csv [2022-10-17T10:51:08.115Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-178/archives [2022-10-17T10:51:08.115Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-178/archives [2022-10-17T10:51:08.115Z] total 16 [2022-10-17T10:51:08.115Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 10:45 . [2022-10-17T10:51:08.115Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 10:45 .. [2022-10-17T10:51:08.115Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 10:45 cost [2022-10-17T10:51:08.115Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 17 10:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-17T10:51:08.399Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T10:51:09.256Z] ---> package-listing.sh [2022-10-17T10:51:09.256Z] ++ facter osfamily [2022-10-17T10:51:09.256Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-17T10:51:09.256Z] + OS_FAMILY=debian [2022-10-17T10:51:09.256Z] + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-178 [2022-10-17T10:51:09.256Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-17T10:51:09.256Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-17T10:51:09.256Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-17T10:51:09.256Z] + PACKAGES=/tmp/packages_start.txt [2022-10-17T10:51:09.256Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-178 ']' [2022-10-17T10:51:09.256Z] + PACKAGES=/tmp/packages_end.txt [2022-10-17T10:51:09.256Z] + case "${OS_FAMILY}" in [2022-10-17T10:51:09.256Z] + dpkg -l [2022-10-17T10:51:09.256Z] + grep '^ii' [2022-10-17T10:51:09.515Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-17T10:51:09.515Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-17T10:51:09.515Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-17T10:51:09.515Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-178 ']' [2022-10-17T10:51:09.515Z] + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-178/archives/ [2022-10-17T10:51:09.515Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-178/archives/ [Pipeline] echo [2022-10-17T10:51:09.526Z] 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-178/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-17T10:51:09.800Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T10:51:10.353Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T10:51:10.354Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T10:51:10.416Z] prd-ubuntu20.04-docker-8c-8g-8295 does not seem to be running inside a container [2022-10-17T10:51:10.440Z] $ 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-178/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-178 -v /w/workspace/xfoundry_go-mod-messaging_PR-178:/w/workspace/xfoundry_go-mod-messaging_PR-178:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-178@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-178@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:latest cat [2022-10-17T10:51:10.643Z] $ docker top 35c846614f185b7e667a93d68e7ba8d3d08d174de429a2de47283ccc71168434 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T10:51:10.981Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-17T10:51:11.263Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-17T10:51:11.546Z] + ls /var/log/sa-host [2022-10-17T10:51:11.546Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T10:51:11.693Z] provisioning config files... [2022-10-17T10:51:11.700Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-178@tmp/config744583055224977969tmp [Pipeline] { [Pipeline] echo [2022-10-17T10:51:11.711Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T10:51:11.993Z] ---> create-netrc.sh [Pipeline] } [2022-10-17T10:51:12.000Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-17T10:51:12.332Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-17T10:51:12.342Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T10:51:12.625Z] ---> sudo-logs.sh [2022-10-17T10:51:12.625Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-17T10:51:12.645Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T10:51:12.925Z] ---> job-cost.sh [2022-10-17T10:51:12.925Z] lf-activate-venv: SKIPPING [2022-10-17T10:51:12.925Z] DEBUG: total: 0.2199999988079071 [2022-10-17T10:51:12.925Z] INFO: Retrieving Stack Cost... [2022-10-17T10:51:13.183Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T10:51:13.441Z] INFO: Archiving Costs [Pipeline] echo [2022-10-17T10:51:13.452Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T10:51:13.734Z] ---> logs-deploy.sh [2022-10-17T10:51:13.734Z] lf-activate-venv: SKIPPING [2022-10-17T10:51:13.734Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-178/3 [2022-10-17T10:51:13.734Z] INFO: archiving workspace using pattern(s): [2022-10-17T10:51:14.668Z] Archives upload complete. [2022-10-17T10:51:14.668Z] INFO: archiving logs to Nexus