Pull request #200 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/go-mod-messaging Obtained Jenkinsfile from e8e57f3b0af30f535f07ddfc2349a27bb1632bae+3ead65670aea3dec93ac8c340c7a6e593617ecdf (3b98ba405b745fe57fca76738da419f368071af6) 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-ssh7354195334906103498.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1439082584205074367.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-200/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-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11644199370749538540.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5291280878952947501.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-200/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-200/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh178929977370419920.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-messaging, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-messaging-settings PROJECT: go-mod-messaging USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-messaging DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1151’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1152 in /w/workspace/xfoundry_go-mod-messaging_PR-200 [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-200 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 3ead65670aea3dec93ac8c340c7a6e593617ecdf into PR head commit e8e57f3b0af30f535f07ddfc2349a27bb1632bae Merge succeeded, producing e8e57f3b0af30f535f07ddfc2349a27bb1632bae Checking out Revision e8e57f3b0af30f535f07ddfc2349a27bb1632bae (PR-200) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8e57f3b0af30f535f07ddfc2349a27bb1632bae # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3ead65670aea3dec93ac8c340c7a6e593617ecdf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8e57f3b0af30f535f07ddfc2349a27bb1632bae # timeout=10 Commit message: "refactor!: Reduce MessageBus config to have a single host" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:57:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:57:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:57:49 ========================================================= 23:57:49 EdgeX Global Pipelines Version Info 23:57:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 78d6cd1e095edec6898cd82f88f9daef173f7922 # timeout=10 23:57:50 ------------------- 23:57:50 stable info: 23:57:50 ------------------- 23:57:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:57:50 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:57:50 Message: update stable to v1.0.244 23:57:50 ------------------- 23:57:50 experimental info: 23:57:50 ------------------- 23:57:50 Commited By: **** collab-it+edgex@linuxfoundation.org 23:57:50 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:57:50 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-200 [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-200 [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-200 [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8e57f3b0af30f535f07ddfc2349a27bb1632bae [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8e57f3 [Pipeline] echo 23:57:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:57:51 + git rev-list -1 --merges e8e57f3b0af30f535f07ddfc2349a27bb1632bae~1..e8e57f3b0af30f535f07ddfc2349a27bb1632bae [Pipeline] echo 23:57:51 -----------> git rev-list -1 --merges e8e57f3b0af30f535f07ddfc2349a27bb1632bae~1..e8e57f3b0af30f535f07ddfc2349a27bb1632bae e8e57f3b0af30f535f07ddfc2349a27bb1632bae [false] [Pipeline] sh 23:57:52 + git log --format=format:%s -1 e8e57f3b0af30f535f07ddfc2349a27bb1632bae [Pipeline] echo 23:57:52 ========================================================= 23:57:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:57:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:57:52 + git log --format=format:%s -1 e8e57f3b0af30f535f07ddfc2349a27bb1632bae [Pipeline] echo 23:57:52 [semverPrep] GIT_COMMIT: e8e57f3b0af30f535f07ddfc2349a27bb1632bae, Commit Message: refactor!: Reduce MessageBus config to have a single host [Pipeline] echo 23:57:52 [semverPrep] This is not a build commit. [Pipeline] sh 23:57:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:57:52 + grep -v github /etc/ssh/ssh_known_hosts 23:57:52 + [ -e /tmp/ssh_known_hosts ] 23:57:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:57:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:57:52 + sudo tee -a /etc/ssh/ssh_known_hosts 23:57:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:53 23:57:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:54 0.1.4: Pulling from edgex-devops/py-git-semver 23:57:54 b85a868b505f: Pulling fs layer 23:57:54 e2be974225ed: Pulling fs layer 23:57:54 339a4e72a1f5: Pulling fs layer 23:57:54 988bab9f4d93: Pulling fs layer 23:57:54 1469e6f7b9e6: Pulling fs layer 23:57:54 eaf3925da568: Pulling fs layer 23:57:54 bab4dde63d76: Pulling fs layer 23:57:54 988bab9f4d93: Waiting 23:57:54 bde34c3a00c8: Pulling fs layer 23:57:54 1469e6f7b9e6: Waiting 23:57:54 eaf3925da568: Waiting 23:57:54 b352a97aabf1: Pulling fs layer 23:57:54 bab4dde63d76: Waiting 23:57:54 bde34c3a00c8: Waiting 23:57:54 b352a97aabf1: Waiting 23:57:54 4872d77fe225: Pulling fs layer 23:57:54 5851b861e8e6: Pulling fs layer 23:57:54 4872d77fe225: Waiting 23:57:54 5851b861e8e6: Waiting 23:57:54 e2be974225ed: Download complete 23:57:54 988bab9f4d93: Download complete 23:57:54 1469e6f7b9e6: Verifying Checksum 23:57:54 1469e6f7b9e6: Download complete 23:57:54 eaf3925da568: Verifying Checksum 23:57:54 eaf3925da568: Download complete 23:57:54 339a4e72a1f5: Verifying Checksum 23:57:54 339a4e72a1f5: Download complete 23:57:54 bde34c3a00c8: Download complete 23:57:54 b352a97aabf1: Download complete 23:57:54 4872d77fe225: Verifying Checksum 23:57:54 4872d77fe225: Download complete 23:57:54 5851b861e8e6: Verifying Checksum 23:57:54 5851b861e8e6: Download complete 23:57:54 b85a868b505f: Verifying Checksum 23:57:54 b85a868b505f: Download complete 23:57:54 bab4dde63d76: Verifying Checksum 23:57:54 bab4dde63d76: Download complete 23:57:55 b85a868b505f: Pull complete 23:57:55 e2be974225ed: Pull complete 23:57:56 339a4e72a1f5: Pull complete 23:57:56 988bab9f4d93: Pull complete 23:57:56 1469e6f7b9e6: Pull complete 23:57:56 eaf3925da568: Pull complete 23:57:58 bab4dde63d76: Pull complete 23:57:58 bde34c3a00c8: Pull complete 23:57:58 b352a97aabf1: Pull complete 23:57:58 4872d77fe225: Pull complete 23:57:58 5851b861e8e6: Pull complete 23:57:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:57:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:58 prd-ubuntu20.04-docker-8c-8g-1152 does not seem to be running inside a container 23:57:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-200 -v /w/workspace/xfoundry_go-mod-messaging_PR-200:/w/workspace/xfoundry_go-mod-messaging_PR-200:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-200@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-200@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 23:58:00 $ docker top 3ed2d17417009025a416dbb792ed33079ddd7cfb3cb9fb4eadc57104dfc8b481 -eo pid,comm 23:58:00 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). 23:58:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:58:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:00 [ssh-agent] Looking for ssh-agent implementation... 23:58:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:01 $ docker exec 3ed2d17417009025a416dbb792ed33079ddd7cfb3cb9fb4eadc57104dfc8b481 ssh-agent 23:58:01 SSH_AUTH_SOCK=/tmp/ssh-oBKU6gkzx4ST/agent.33 23:58:01 SSH_AGENT_PID=39 23:58:01 Running ssh-add (command line suppressed) 23:58:01 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-200@tmp/private_key_3572536073171142990.key (/w/workspace/xfoundry_go-mod-messaging_PR-200@tmp/private_key_3572536073171142990.key) 23:58:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:01 + git tag --points-at HEAD [Pipeline] } 23:58:01 $ docker exec --env ******** --env ******** 3ed2d17417009025a416dbb792ed33079ddd7cfb3cb9fb4eadc57104dfc8b481 ssh-agent -k 23:58:01 unset SSH_AUTH_SOCK; 23:58:01 unset SSH_AGENT_PID; 23:58:01 echo Agent pid 39 killed; 23:58:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:58:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:01 [ssh-agent] Looking for ssh-agent implementation... 23:58:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:01 $ docker exec 3ed2d17417009025a416dbb792ed33079ddd7cfb3cb9fb4eadc57104dfc8b481 ssh-agent 23:58:02 SSH_AUTH_SOCK=/tmp/ssh-BMd6mPN0rqtU/agent.70 23:58:02 SSH_AGENT_PID=77 23:58:02 Running ssh-add (command line suppressed) 23:58:02 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-200@tmp/private_key_15230220935106010427.key (/w/workspace/xfoundry_go-mod-messaging_PR-200@tmp/private_key_15230220935106010427.key) 23:58:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:02 + git semver init 23:58:02 2023-01-04 23:58:02,722 [run_init] DEBUG init version:0.0.0 force:False 23:58:02 2023-01-04 23:58:02,723 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-200/.semver 23:58:02 2023-01-04 23:58:02,723 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-200/.semver 23:58:02 2023-01-04 23:58:02,724 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-200/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-200, universal_newlines=False, shell=None, istream=None) 23:58:04 2023-01-04 23:58:03,838 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-200/.git/info/exclude 23:58:04 2023-01-04 23:58:03,839 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-200/.semver/PR-200 with force:False 23:58:04 2023-01-04 23:58:03,839 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-200/.semver/PR-200 23:58:04 2023-01-04 23:58:03,844 [execute] INFO git cat-file --batch-check 23:58:04 2023-01-04 23:58:03,844 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-200/.semver, universal_newlines=False, shell=None, istream=) 23:58:04 2023-01-04 23:58:03,851 [execute] INFO git cat-file --batch 23:58:04 2023-01-04 23:58:03,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-200/.semver, universal_newlines=False, shell=None, istream=) 23:58:04 2023-01-04 23:58:03,857 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-200/.semver/PR-200 23:58:04 0.0.0 [Pipeline] } 23:58:04 $ docker exec --env ******** --env ******** 3ed2d17417009025a416dbb792ed33079ddd7cfb3cb9fb4eadc57104dfc8b481 ssh-agent -k 23:58:04 unset SSH_AUTH_SOCK; 23:58:04 unset SSH_AGENT_PID; 23:58:04 echo Agent pid 77 killed; 23:58:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:58:04 + git semver [Pipeline] } 23:58:04 $ docker stop --time=1 3ed2d17417009025a416dbb792ed33079ddd7cfb3cb9fb4eadc57104dfc8b481 23:58:06 $ docker rm -f --volumes 3ed2d17417009025a416dbb792ed33079ddd7cfb3cb9fb4eadc57104dfc8b481 [Pipeline] // withDockerContainer [Pipeline] sh 23:58:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:58:06 Stashed 1 file(s) [Pipeline] echo 23:58:06 [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 23:58:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:58:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:58:06 ========================================================= 23:58:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:58:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 23:58:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:58:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:58:07 213ec9aee27d: Pulling fs layer 23:58:07 4583459ba037: Pulling fs layer 23:58:07 93c1e223e6f2: Pulling fs layer 23:58:07 53926ce57604: Pulling fs layer 23:58:07 21b2b0c7a3f4: Pulling fs layer 23:58:07 22ff95d597cd: Pulling fs layer 23:58:07 12d6caf4c0d1: Pulling fs layer 23:58:07 96b7cbca73a9: Pulling fs layer 23:58:07 a7acece74701: Pulling fs layer 23:58:07 53926ce57604: Waiting 23:58:07 21b2b0c7a3f4: Waiting 23:58:07 22ff95d597cd: Waiting 23:58:07 12d6caf4c0d1: Waiting 23:58:07 a7acece74701: Waiting 23:58:07 96b7cbca73a9: Waiting 23:58:07 93c1e223e6f2: Verifying Checksum 23:58:07 93c1e223e6f2: Download complete 23:58:07 4583459ba037: Download complete 23:58:07 21b2b0c7a3f4: Verifying Checksum 23:58:07 21b2b0c7a3f4: Download complete 23:58:07 22ff95d597cd: Verifying Checksum 23:58:07 22ff95d597cd: Download complete 23:58:07 213ec9aee27d: Download complete 23:58:07 12d6caf4c0d1: Verifying Checksum 23:58:07 12d6caf4c0d1: Download complete 23:58:07 213ec9aee27d: Pull complete 23:58:07 4583459ba037: Pull complete 23:58:07 93c1e223e6f2: Pull complete 23:58:07 a7acece74701: Verifying Checksum 23:58:07 a7acece74701: Download complete 23:58:07 96b7cbca73a9: Verifying Checksum 23:58:07 96b7cbca73a9: Download complete 23:58:07 53926ce57604: Verifying Checksum 23:58:07 53926ce57604: Download complete 23:58:12 53926ce57604: Pull complete 23:58:12 21b2b0c7a3f4: Pull complete 23:58:12 22ff95d597cd: Pull complete 23:58:12 12d6caf4c0d1: Pull complete 23:58:14 96b7cbca73a9: Pull complete 23:58:14 a7acece74701: Pull complete 23:58:14 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:58:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:58:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 23:58:15 + 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 23:58:15 + docker inspect -f . ci-base-image-x86_64 23:58:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:15 prd-ubuntu20.04-docker-8c-8g-1152 does not seem to be running inside a container 23:58:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-200 -v /w/workspace/xfoundry_go-mod-messaging_PR-200:/w/workspace/xfoundry_go-mod-messaging_PR-200:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-200@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-200@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 23:58:19 $ docker top 8a79ea2c385a94a3af8e0ac8c61cc3c66a718a462d95219760c5e7aca891a166 -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:19 + go version 23:58:19 go version go1.18.7 linux/amd64 [Pipeline] } 23:58:19 $ docker stop --time=1 8a79ea2c385a94a3af8e0ac8c61cc3c66a718a462d95219760c5e7aca891a166 23:58:20 $ docker rm -f --volumes 8a79ea2c385a94a3af8e0ac8c61cc3c66a718a462d95219760c5e7aca891a166 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:21 + docker inspect -f . ci-base-image-x86_64 23:58:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:21 prd-ubuntu20.04-docker-8c-8g-1152 does not seem to be running inside a container 23:58:21 $ 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-200 -v /w/workspace/xfoundry_go-mod-messaging_PR-200:/w/workspace/xfoundry_go-mod-messaging_PR-200:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-200@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-200@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 23:58:21 $ docker top 6dc2801cb55fc8469ae69fd08d4a1b5f7bda913b1bd4e278db00afc3c3dcd78c -eo pid,comm [Pipeline] { 23:58:21 Still waiting to schedule task 23:58:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [Pipeline] sh 23:58:22 + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-messaging_PR-200 [Pipeline] fileExists [Pipeline] sh 23:58:22 + make test 23:58:22 go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... 23:58:22 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:58:22 go: downloading github.com/stretchr/testify v1.8.1 23:58:22 go: downloading github.com/nats-io/nats.go v1.20.0 23:58:22 go: downloading github.com/google/uuid v1.3.0 23:58:22 go: downloading github.com/nats-io/nats-server/v2 v2.9.9 23:58:22 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.2 23:58:22 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 23:58:22 go: downloading github.com/davecgh/go-spew v1.1.1 23:58:22 go: downloading github.com/stretchr/objx v0.5.0 23:58:22 go: downloading github.com/pmezard/go-difflib v1.0.0 23:58:22 go: downloading gopkg.in/yaml.v3 v3.0.1 23:58:22 go: downloading github.com/nats-io/nkeys v0.3.0 23:58:22 go: downloading github.com/nats-io/nuid v1.0.1 23:58:22 go: downloading github.com/go-playground/validator/v10 v10.11.1 23:58:22 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 23:58:22 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 23:58:22 go: downloading github.com/gorilla/websocket v1.4.2 23:58:22 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 23:58:22 go: downloading github.com/leodido/go-urn v1.2.1 23:58:22 go: downloading github.com/go-playground/universal-translator v0.18.0 23:58:22 go: downloading golang.org/x/crypto v0.0.0-20221010152910-d6f0a8c073c2 23:58:22 go: downloading golang.org/x/text v0.3.7 23:58:22 go: downloading github.com/go-playground/locales v0.14.0 23:58:23 go: downloading github.com/x448/float16 v0.8.4 23:58:23 go: downloading github.com/klauspost/compress v1.15.11 23:58:23 go: downloading github.com/minio/highwayhash v1.0.2 23:58:23 go: downloading github.com/nats-io/jwt/v2 v2.3.0 23:58:23 go: downloading golang.org/x/time v0.0.0-20220922220347-f3bd1da661af 23:58:23 go: downloading golang.org/x/sys v0.0.0-20221010170243-090e33056c14 23:58:45 ok github.com/edgexfoundry/go-mod-messaging/v3/clients 0.055s coverage: 66.4% of statements 23:58:45 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg [no test files] 23:58:45 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 0.067s coverage: 91.1% of statements 23:58:45 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats 0.054s coverage: 87.5% of statements 23:58:45 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] 23:58:45 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] 23:58:50 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 0.107s coverage: 35.9% of statements 23:58:50 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 0.044s coverage: 67.5% of statements 23:58:50 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] 23:58:50 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 0.034s coverage: 87.5% of statements 23:58:50 ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] 23:58:50 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 0.039s coverage: 100.0% of statements 23:58:50 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 0.051s coverage: 100.0% of statements 23:58:50 ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 0.042s coverage: 95.1% of statements 23:59:00 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." 23:59:00 go vet ./... 23:59:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:59:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 23:59:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:59:02 $ docker stop --time=1 6dc2801cb55fc8469ae69fd08d4a1b5f7bda913b1bd4e278db00afc3c3dcd78c 23:59:05 $ docker rm -f --volumes 6dc2801cb55fc8469ae69fd08d4a1b5f7bda913b1bd4e278db00afc3c3dcd78c [Pipeline] // withDockerContainer [Pipeline] sh 23:59:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:59:05 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 23:59:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:06 23:59:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:06 latest: Pulling from edgex-lftools-log-publisher 23:59:06 5eb5b503b376: Pulling fs layer 23:59:06 5c69ac0246d0: Pulling fs layer 23:59:06 ec43610c2a17: Pulling fs layer 23:59:06 3a2ae6a8a46f: Pulling fs layer 23:59:06 33b1e0a273af: Pulling fs layer 23:59:06 5d3b04190fa2: Pulling fs layer 23:59:06 2f39f015ded8: Pulling fs layer 23:59:06 3a2ae6a8a46f: Waiting 23:59:06 2f39f015ded8: Waiting 23:59:06 33b1e0a273af: Waiting 23:59:06 5d3b04190fa2: Waiting 23:59:06 5c69ac0246d0: Verifying Checksum 23:59:06 5c69ac0246d0: Download complete 23:59:06 3a2ae6a8a46f: Download complete 23:59:06 33b1e0a273af: Verifying Checksum 23:59:06 33b1e0a273af: Download complete 23:59:06 5d3b04190fa2: Verifying Checksum 23:59:06 5d3b04190fa2: Download complete 23:59:06 ec43610c2a17: Verifying Checksum 23:59:06 ec43610c2a17: Download complete 23:59:06 5eb5b503b376: Verifying Checksum 23:59:06 5eb5b503b376: Download complete 23:59:07 2f39f015ded8: Download complete 23:59:07 5eb5b503b376: Pull complete 23:59:08 5c69ac0246d0: Pull complete 23:59:08 ec43610c2a17: Pull complete 23:59:08 3a2ae6a8a46f: Pull complete 23:59:08 33b1e0a273af: Pull complete 23:59:08 5d3b04190fa2: Pull complete 23:59:13 2f39f015ded8: Pull complete 23:59:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:59:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:13 prd-ubuntu20.04-docker-8c-8g-1152 does not seem to be running inside a container 23:59:13 $ 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-200 -v /w/workspace/xfoundry_go-mod-messaging_PR-200:/w/workspace/xfoundry_go-mod-messaging_PR-200:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-200@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-200@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 23:59:15 $ docker top f38f79ec247c9b74fb6950398677a02cd8feef94154635b98fb688218baa05fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:59:16 ---> job-cost.sh 23:59:16 lf-activate-venv: SKIPPING 23:59:16 INFO: No Stack... 23:59:16 INFO: Retrieving Pricing Info for: v3-standard-8 23:59:16 INFO: Archiving Costs [Pipeline] sh 23:59:17 + cut -d, -f6 23:59:17 + cat /w/workspace/xfoundry_go-mod-messaging_PR-200/archives/cost.csv [Pipeline] lock 23:59:17 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-200-7-stack-cost] 23:59:17 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-200-7-stack-cost] did not exist. Created. 23:59:17 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-200-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:59:17 + echo total: 0.2199999988079071 [Pipeline] stash 23:59:17 Stashed 1 file(s) [Pipeline] } 23:59:17 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-200-7-stack-cost] [Pipeline] // lock [Pipeline] } 23:59:17 $ docker stop --time=1 f38f79ec247c9b74fb6950398677a02cd8feef94154635b98fb688218baa05fd 23:59:18 $ docker rm -f --volumes f38f79ec247c9b74fb6950398677a02cd8feef94154635b98fb688218baa05fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:59:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1154 in /w/workspace/xfoundry_go-mod-messaging_PR-200 [Pipeline] { [Pipeline] ws 23:59:53 Running in /w/workspace/go-mod-messaging/7 [Pipeline] { [Pipeline] checkout 23:59:53 Selected Git installation does not exist. Using Default 23:59:53 The recommended git tool is: NONE 23:59:58 using credential edgex-jenkins-ssh 23:59:58 Cloning the remote Git repository 23:59:58 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 23:59:58 > git init /w/workspace/go-mod-messaging/7 # timeout=10 23:59:58 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 23:59:58 > git --version # timeout=10 23:59:58 > git --version # 'git version 2.25.1' 23:59:58 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:59 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 23:59:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:00:00 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 00:00:01 Merging remotes/origin/main commit 3ead65670aea3dec93ac8c340c7a6e593617ecdf into PR head commit e8e57f3b0af30f535f07ddfc2349a27bb1632bae 00:00:01 Merge succeeded, producing e8e57f3b0af30f535f07ddfc2349a27bb1632bae 00:00:01 Checking out Revision e8e57f3b0af30f535f07ddfc2349a27bb1632bae (PR-200) 00:00:00 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 00:00:00 using GIT_SSH to set credentials SSH Credentials for GitHub 00:00:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:00:01 > git config core.sparsecheckout # timeout=10 00:00:01 > git checkout -f e8e57f3b0af30f535f07ddfc2349a27bb1632bae # timeout=10 00:00:01 > git remote # timeout=10 00:00:01 > git config --get remote.origin.url # timeout=10 00:00:01 using GIT_SSH to set credentials SSH Credentials for GitHub 00:00:01 > git merge 3ead65670aea3dec93ac8c340c7a6e593617ecdf # timeout=10 00:00:01 > git rev-parse HEAD^{commit} # timeout=10 00:00:01 > git config core.sparsecheckout # timeout=10 00:00:01 > git checkout -f e8e57f3b0af30f535f07ddfc2349a27bb1632bae # timeout=10 00:00:05 Commit message: "refactor!: Reduce MessageBus config to have a single host" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:00:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:00:06 % Total % Received % Xferd Average Speed Time Time Time Current 00:00:06 Dload Upload Total Spent Left Speed 00:00:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78709 0 --:--:-- --:--:-- --:--:-- 79198 [Pipeline] sh 00:00:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:00:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:00:07 + sudo tee /etc/docker/daemon.new 00:00:07 { 00:00:07 "registry-mirrors": [ 00:00:07 "https://nexus3.edgexfoundry.org:10001" 00:00:07 ], 00:00:07 "bip": "10.250.0.254/24", 00:00:07 "hosts": [ 00:00:07 "tcp://0.0.0.0:5555", 00:00:07 "unix:///var/run/docker.sock" 00:00:07 ], 00:00:07 "mtu": 1458, 00:00:07 "selinux-enabled": true, 00:00:07 "seccomp-profile": "/etc/docker/seccomp.json" 00:00:07 } [Pipeline] sh 00:00:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:00:07 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 00:00:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:00:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:00:30 ========================================================= 00:00:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:00:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:00:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:00:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:00:31 9b18e9b68314: Pulling fs layer 00:00:31 35d82f9e3411: Pulling fs layer 00:00:31 e16973657156: Pulling fs layer 00:00:31 fc693d55d65f: Pulling fs layer 00:00:31 7e9fc2657dce: Pulling fs layer 00:00:31 dda99020689f: Pulling fs layer 00:00:31 db1c61fa0a46: Pulling fs layer 00:00:31 891c053d2c06: Pulling fs layer 00:00:31 dda99020689f: Waiting 00:00:31 db1c61fa0a46: Waiting 00:00:31 891c053d2c06: Waiting 00:00:31 7e9fc2657dce: Waiting 00:00:31 fc693d55d65f: Waiting 00:00:31 e16973657156: Download complete 00:00:31 35d82f9e3411: Verifying Checksum 00:00:31 35d82f9e3411: Download complete 00:00:31 7e9fc2657dce: Verifying Checksum 00:00:31 7e9fc2657dce: Download complete 00:00:31 dda99020689f: Verifying Checksum 00:00:31 dda99020689f: Download complete 00:00:31 9b18e9b68314: Verifying Checksum 00:00:32 9b18e9b68314: Pull complete 00:00:32 891c053d2c06: Verifying Checksum 00:00:32 891c053d2c06: Download complete 00:00:32 35d82f9e3411: Pull complete 00:00:33 e16973657156: Pull complete 00:00:33 db1c61fa0a46: Download complete 00:00:34 fc693d55d65f: Verifying Checksum 00:00:34 fc693d55d65f: Download complete 00:00:46 fc693d55d65f: Pull complete 00:00:46 7e9fc2657dce: Pull complete 00:00:46 dda99020689f: Pull complete 00:00:53 db1c61fa0a46: Pull complete 00:00:54 891c053d2c06: Pull complete 00:00:54 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:00:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:00:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 00:00:54 + 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 00:00:54 + docker inspect -f . ci-base-image-arm64 00:00:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:00:55 prd-ubuntu20.04-docker-arm64-4c-16g-1154 does not seem to be running inside a container 00:00:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/7 -v /w/workspace/go-mod-messaging/7:/w/workspace/go-mod-messaging/7:rw,z -v /w/workspace/go-mod-messaging/7@tmp:/w/workspace/go-mod-messaging/7@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-arm64 cat 00:00:58 $ docker top 167f56b818f0aac10c25ac5efaea12e7d839ded9145f1c0774d2e7192cef4dfb -eo pid,comm [Pipeline] { [Pipeline] sh 00:00:58 + go version 00:00:58 go version go1.18.7 linux/arm64 [Pipeline] } 00:00:58 $ docker stop --time=1 167f56b818f0aac10c25ac5efaea12e7d839ded9145f1c0774d2e7192cef4dfb 00:01:00 $ docker rm -f --volumes 167f56b818f0aac10c25ac5efaea12e7d839ded9145f1c0774d2e7192cef4dfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:01 + docker inspect -f . ci-base-image-arm64 00:01:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:01 prd-ubuntu20.04-docker-arm64-4c-16g-1154 does not seem to be running inside a container 00:01:01 $ 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/7 -v /w/workspace/go-mod-messaging/7:/w/workspace/go-mod-messaging/7:rw,z -v /w/workspace/go-mod-messaging/7@tmp:/w/workspace/go-mod-messaging/7@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-arm64 cat 00:01:02 $ docker top 20ccd015e82c9cf7b761b3c11fce0536fd0484785e7f769dd6b746a94809c71a -eo pid,comm [Pipeline] { [Pipeline] sh 00:01:03 + git config --global --add safe.directory /w/workspace/go-mod-messaging/7 [Pipeline] fileExists [Pipeline] sh 00:01:03 + make test 00:01:03 go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... 00:01:03 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.2 00:01:04 go: downloading github.com/stretchr/testify v1.8.1 00:01:04 go: downloading github.com/nats-io/nats.go v1.20.0 00:01:04 go: downloading github.com/google/uuid v1.3.0 00:01:04 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 00:01:04 go: downloading github.com/nats-io/nats-server/v2 v2.9.9 00:01:04 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:01:04 go: downloading github.com/go-playground/validator/v10 v10.11.1 00:01:04 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 00:01:04 go: downloading github.com/davecgh/go-spew v1.1.1 00:01:04 go: downloading github.com/pmezard/go-difflib v1.0.0 00:01:04 go: downloading github.com/stretchr/objx v0.5.0 00:01:04 go: downloading gopkg.in/yaml.v3 v3.0.1 00:01:04 go: downloading github.com/nats-io/nkeys v0.3.0 00:01:04 go: downloading github.com/nats-io/nuid v1.0.1 00:01:04 go: downloading github.com/gorilla/websocket v1.4.2 00:01:04 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 00:01:04 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 00:01:05 go: downloading github.com/x448/float16 v0.8.4 00:01:05 go: downloading github.com/go-playground/universal-translator v0.18.0 00:01:05 go: downloading github.com/leodido/go-urn v1.2.1 00:01:05 go: downloading golang.org/x/crypto v0.0.0-20221010152910-d6f0a8c073c2 00:01:05 go: downloading golang.org/x/text v0.3.7 00:01:05 go: downloading github.com/go-playground/locales v0.14.0 00:01:05 go: downloading github.com/klauspost/compress v1.15.11 00:01:05 go: downloading github.com/minio/highwayhash v1.0.2 00:01:05 go: downloading github.com/nats-io/jwt/v2 v2.3.0 00:01:05 go: downloading golang.org/x/time v0.0.0-20220922220347-f3bd1da661af 00:02:57 ok github.com/edgexfoundry/go-mod-messaging/v3/clients 0.248s coverage: 66.4% of statements 00:02:57 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg [no test files] 00:02:57 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 0.272s coverage: 91.1% of statements 00:02:57 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats 0.222s coverage: 87.5% of statements 00:02:57 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] 00:02:57 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] 00:03:54 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 0.310s coverage: 35.9% of statements 00:03:54 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 0.136s coverage: 67.5% of statements 00:03:54 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] 00:03:54 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 0.085s coverage: 87.5% of statements 00:03:54 ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] 00:03:54 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 0.066s coverage: 100.0% of statements 00:03:54 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 0.072s coverage: 100.0% of statements 00:03:54 ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 0.084s coverage: 95.1% of statements 00:03:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:03:54 go vet ./... 00:04:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:04:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 00:04:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:04:41 $ docker stop --time=1 20ccd015e82c9cf7b761b3c11fce0536fd0484785e7f769dd6b746a94809c71a 00:04:43 $ docker rm -f --volumes 20ccd015e82c9cf7b761b3c11fce0536fd0484785e7f769dd6b746a94809c71a [Pipeline] // withDockerContainer [Pipeline] sh 00:04:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:04:45 Warning: overwriting stash ‘coverage-report’ 00:04:45 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 00:04:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:04:46 00:04:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:04:47 arm64: Pulling from edgex-lftools-log-publisher 00:04:47 8998bd30e6a1: Pulling fs layer 00:04:47 04944245beec: Pulling fs layer 00:04:47 699f458cf7ca: Pulling fs layer 00:04:47 765212b225bb: Pulling fs layer 00:04:47 f23df028b6ca: Pulling fs layer 00:04:47 d65c8cfc05b1: Pulling fs layer 00:04:47 2437ff75d9bd: Pulling fs layer 00:04:47 d65c8cfc05b1: Waiting 00:04:47 765212b225bb: Waiting 00:04:47 2437ff75d9bd: Waiting 00:04:47 f23df028b6ca: Waiting 00:04:47 04944245beec: Verifying Checksum 00:04:47 04944245beec: Download complete 00:04:47 765212b225bb: Verifying Checksum 00:04:47 765212b225bb: Download complete 00:04:47 f23df028b6ca: Verifying Checksum 00:04:47 f23df028b6ca: Download complete 00:04:47 d65c8cfc05b1: Verifying Checksum 00:04:47 d65c8cfc05b1: Download complete 00:04:47 699f458cf7ca: Verifying Checksum 00:04:47 699f458cf7ca: Download complete 00:04:48 8998bd30e6a1: Download complete 00:04:50 2437ff75d9bd: Verifying Checksum 00:04:50 2437ff75d9bd: Download complete 00:04:55 8998bd30e6a1: Pull complete 00:04:55 04944245beec: Pull complete 00:04:56 699f458cf7ca: Pull complete 00:04:56 765212b225bb: Pull complete 00:04:57 f23df028b6ca: Pull complete 00:04:57 d65c8cfc05b1: Pull complete 00:05:19 2437ff75d9bd: Pull complete 00:05:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:05:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:05:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:05:20 prd-ubuntu20.04-docker-arm64-4c-16g-1154 does not seem to be running inside a container 00:05:20 $ 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/7 -v /w/workspace/go-mod-messaging/7:/w/workspace/go-mod-messaging/7:rw,z -v /w/workspace/go-mod-messaging/7@tmp:/w/workspace/go-mod-messaging/7@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:arm64 cat 00:05:21 $ docker top a581562936168805688902ffb4cbadf568e6342fddd04076237104203bb33749 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:05:22 ---> job-cost.sh 00:05:22 lf-activate-venv: SKIPPING 00:05:22 INFO: No Stack... 00:05:22 INFO: Retrieving Pricing Info for: v3-standard-4 00:05:23 INFO: Archiving Costs [Pipeline] sh 00:05:24 + cat /w/workspace/go-mod-messaging/7/archives/cost.csv 00:05:24 + cut -d, -f6 [Pipeline] lock 00:05:24 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-200-7-stack-cost] 00:05:24 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-200-7-stack-cost] did not exist. Created. 00:05:24 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-200-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:05:24 /w/workspace/go-mod-messaging/7@tmp/durable-360017d1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:05:25 + echo total: 0.10999999940395355 [Pipeline] stash 00:05:25 Warning: overwriting stash ‘stack-cost’ 00:05:25 Stashed 1 file(s) [Pipeline] } 00:05:25 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-200-7-stack-cost] [Pipeline] // lock [Pipeline] } 00:05:25 $ docker stop --time=1 a581562936168805688902ffb4cbadf568e6342fddd04076237104203bb33749 00:05:26 $ docker rm -f --volumes a581562936168805688902ffb4cbadf568e6342fddd04076237104203bb33749 [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 00:05:27 provisioning config files... 00:05:27 copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-200@tmp/config2641721015094980018tmp [Pipeline] { [Pipeline] sh 00:05:27 + set +x 00:05:27 + bash -s -- 00:05:27 + curl -s https://codecov.io/bash 00:05:27 00:05:27 _____ _ 00:05:27 / ____| | | 00:05:27 | | ___ __| | ___ ___ _____ __ 00:05:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:05:27 | |___| (_) | (_| | __/ (_| (_) \ V / 00:05:27 \_____\___/ \__,_|\___|\___\___/ \_/ 00:05:27 Bash-1.0.6 00:05:27 00:05:27 00:05:27 ==> git version 2.25.1 found 00:05:27 ==> 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 00:05:27 Release-Date: 2020-01-08 00:05:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:05:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:05:27 ==> Jenkins CI detected. 00:05:27 current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-200 00:05:27 project root: . 00:05:27 --> token set from env 00:05:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:05:27 ==> Running gcov in . (disable via -X gcov) 00:05:27 ==> Python coveragepy not found 00:05:27 ==> Searching for coverage reports in: 00:05:27 + . 00:05:27 -> Found 1 reports 00:05:27 ==> Detecting git/mercurial file structure 00:05:27 ==> Reading reports 00:05:27 + ./coverage.out bytes=36245 00:05:27 ==> Appending adjustments 00:05:27 https://docs.codecov.io/docs/fixing-reports 00:05:27 + Found adjustments 00:05:27 ==> Gzipping contents 00:05:27 8.0K /tmp/codecov.4UgB6z.gz 00:05:27 ==> Uploading reports 00:05:27 url: https://codecov.io 00:05:27 query: branch=PR-200&commit=e8e57f3b0af30f535f07ddfc2349a27bb1632bae&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-200%2F7%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=200&job=&cmd_args= 00:05:27 -> Pinging Codecov 00:05:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-200&commit=e8e57f3b0af30f535f07ddfc2349a27bb1632bae&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-200%2F7%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=200&job=&cmd_args= 00:05:28 -> Uploading to 00:05:28 https://storage.googleapis.com/codecov/v4/raw/2023-01-05/F6E385568367DD0E4001BA4F8F1CB792/e8e57f3b0af30f535f07ddfc2349a27bb1632bae/8390db24-f826-4ea9-96d3-aa6f9093ba0c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230105%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230105T000528Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c6392d2be8c44be33f9882ca90dd2bf23e7c3e1cea6504b3f0cb17e41ce24b96 00:05:28 % Total % Received % Xferd Average Speed Time Time Time Current 00:05:28 Dload Upload Total Spent Left Speed 00:05:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7445 0 0 100 7445 0 30892 --:--:-- --:--:-- --:--:-- 30892 00:05:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-messaging/commit/e8e57f3b0af30f535f07ddfc2349a27bb1632bae [Pipeline] } 00:05:28 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 00:05:29 + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-200/archives ] 00:05:29 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-200/archives 00:05:29 total 16 00:05:29 drwxr-xr-x 3 root root 4096 Jan 4 23:59 . 00:05:29 drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 23:59 .. 00:05:29 drwxr-xr-x 2 root root 4096 Jan 4 23:59 cost 00:05:29 -rw-r--r-- 1 root root 88 Jan 4 23:59 cost.csv 00:05:29 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-200/archives 00:05:29 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-200/archives 00:05:29 total 16 00:05:29 drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 23:59 . 00:05:29 drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 23:59 .. 00:05:29 drwxr-xr-x 2 jenkins jenkins 4096 Jan 4 23:59 cost 00:05:29 -rw-r--r-- 1 jenkins jenkins 88 Jan 4 23:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:05:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:05:30 ---> package-listing.sh 00:05:30 ++ facter osfamily 00:05:30 ++ tr '[:upper:]' '[:lower:]' 00:05:30 + OS_FAMILY=debian 00:05:30 + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-200 00:05:30 + START_PACKAGES=/tmp/packages_start.txt 00:05:30 + END_PACKAGES=/tmp/packages_end.txt 00:05:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:05:30 + PACKAGES=/tmp/packages_start.txt 00:05:30 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-200 ']' 00:05:30 + PACKAGES=/tmp/packages_end.txt 00:05:30 + case "${OS_FAMILY}" in 00:05:30 + dpkg -l 00:05:30 + grep '^ii' 00:05:30 + '[' -f /tmp/packages_start.txt ']' 00:05:30 + '[' -f /tmp/packages_end.txt ']' 00:05:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:05:30 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-200 ']' 00:05:30 + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-200/archives/ 00:05:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-200/archives/ [Pipeline] echo 00:05:30 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-200/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:05:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:05:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:05:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:05:31 prd-ubuntu20.04-docker-8c-8g-1152 does not seem to be running inside a container 00:05:31 $ 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-200/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-200 -v /w/workspace/xfoundry_go-mod-messaging_PR-200:/w/workspace/xfoundry_go-mod-messaging_PR-200:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-200@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-200@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 00:05:31 $ docker top f6e3a3c9483a738f31955e8a3dce8994441725cdfd6c3c8d12eafc4a77e215c2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:05:32 + touch /tmp/pre-build-complete [Pipeline] sh 00:05:32 + mkdir -p /var/log/sysstat [Pipeline] sh 00:05:32 + ls /var/log/sa-host 00:05:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:05:32 provisioning config files... 00:05:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-200@tmp/config7637717027202988211tmp [Pipeline] { [Pipeline] echo 00:05:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:05:33 ---> create-netrc.sh [Pipeline] } 00:05:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:05:33 ---> python-tools-install.sh [Pipeline] echo 00:05:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:05:33 ---> sudo-logs.sh 00:05:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:05:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:05:34 ---> job-cost.sh 00:05:34 lf-activate-venv: SKIPPING 00:05:34 DEBUG: total: 0.2199999988079071 00:05:34 INFO: Retrieving Stack Cost... 00:05:34 INFO: Retrieving Pricing Info for: v3-standard-8 00:05:35 INFO: Archiving Costs [Pipeline] echo 00:05:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:05:35 ---> logs-deploy.sh 00:05:35 lf-activate-venv: SKIPPING 00:05:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-200/7 00:05:35 INFO: archiving workspace using pattern(s): 00:05:36 Archives upload complete. 00:05:36 INFO: archiving logs to Nexus