Pull request #183 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b2bff62971d1c8dc0e34ef98b2a4b932643a8299+d067308007d93fc1c65528eaf1d43967cb797470 (64defb29139c6e56307ac9e055ac09f61dbbfa39) 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-ssh3496555313929135673.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh17327066373681401105.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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9032432944902951744.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18190791121128594894.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh4714524852218922296.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-183/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-183/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5381408134046209536.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-messaging, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-messaging-settings PROJECT: go-mod-messaging USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-messaging DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24116 in /w/workspace/xfoundry_go-mod-messaging_PR-183 [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-183 # 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/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d067308007d93fc1c65528eaf1d43967cb797470 into PR head commit b2bff62971d1c8dc0e34ef98b2a4b932643a8299 Merge succeeded, producing b2bff62971d1c8dc0e34ef98b2a4b932643a8299 Checking out Revision b2bff62971d1c8dc0e34ef98b2a4b932643a8299 (PR-183) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:59:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:59:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f b2bff62971d1c8dc0e34ef98b2a4b932643a8299 # 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 d067308007d93fc1c65528eaf1d43967cb797470 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2bff62971d1c8dc0e34ef98b2a4b932643a8299 # timeout=10 [Pipeline] echo 18:59:55 ========================================================= 18:59:55 EdgeX Global Pipelines Version Info 18:59:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:59:56 ------------------- 18:59:56 stable info: 18:59:56 ------------------- 18:59:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:59:56 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:59:56 Message: update stable to v1.0.243 18:59:56 ------------------- 18:59:56 experimental info: 18:59:56 ------------------- 18:59:56 Commited By: **** collab-it+edgex@linuxfoundation.org 18:59:56 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:59:56 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:59:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 18:59:56 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 18:59:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-183 [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-183 [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-183 [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2bff62971d1c8dc0e34ef98b2a4b932643a8299 [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2bff62 [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:59:58 + git rev-list -1 --merges b2bff62971d1c8dc0e34ef98b2a4b932643a8299~1..b2bff62971d1c8dc0e34ef98b2a4b932643a8299 [Pipeline] echo 18:59:58 -----------> git rev-list -1 --merges b2bff62971d1c8dc0e34ef98b2a4b932643a8299~1..b2bff62971d1c8dc0e34ef98b2a4b932643a8299 b2bff62971d1c8dc0e34ef98b2a4b932643a8299 [false] [Pipeline] sh 18:59:58 + git log --format=format:%s -1 b2bff62971d1c8dc0e34ef98b2a4b932643a8299 [Pipeline] echo 18:59:59 ========================================================= 18:59:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:59:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:59:59 + git log --format=format:%s -1 b2bff62971d1c8dc0e34ef98b2a4b932643a8299 [Pipeline] echo 18:59:59 [semverPrep] GIT_COMMIT: b2bff62971d1c8dc0e34ef98b2a4b932643a8299, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo 18:59:59 [semverPrep] This is not a build commit. [Pipeline] sh 18:59:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:59:59 + grep -v github /etc/ssh/ssh_known_hosts 18:59:59 + [ -e /tmp/ssh_known_hosts ] 18:59:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:59:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 18:59:59 sudo tee -a /etc/ssh/ssh_known_hosts 18:59:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:00 19:00:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:00 0.1.4: Pulling from edgex-devops/py-git-semver 19:00:00 b85a868b505f: Pulling fs layer 19:00:00 e2be974225ed: Pulling fs layer 19:00:00 339a4e72a1f5: Pulling fs layer 19:00:00 988bab9f4d93: Pulling fs layer 19:00:00 1469e6f7b9e6: Pulling fs layer 19:00:00 eaf3925da568: Pulling fs layer 19:00:00 bab4dde63d76: Pulling fs layer 19:00:00 bde34c3a00c8: Pulling fs layer 19:00:00 b352a97aabf1: Pulling fs layer 19:00:00 4872d77fe225: Pulling fs layer 19:00:00 5851b861e8e6: Pulling fs layer 19:00:00 bab4dde63d76: Waiting 19:00:00 bde34c3a00c8: Waiting 19:00:00 b352a97aabf1: Waiting 19:00:00 4872d77fe225: Waiting 19:00:00 988bab9f4d93: Waiting 19:00:00 eaf3925da568: Waiting 19:00:00 5851b861e8e6: Waiting 19:00:00 1469e6f7b9e6: Waiting 19:00:00 e2be974225ed: Download complete 19:00:00 988bab9f4d93: Verifying Checksum 19:00:00 988bab9f4d93: Download complete 19:00:01 1469e6f7b9e6: Verifying Checksum 19:00:01 1469e6f7b9e6: Download complete 19:00:01 339a4e72a1f5: Verifying Checksum 19:00:01 339a4e72a1f5: Download complete 19:00:01 eaf3925da568: Verifying Checksum 19:00:01 eaf3925da568: Download complete 19:00:01 bde34c3a00c8: Verifying Checksum 19:00:01 bde34c3a00c8: Download complete 19:00:01 b352a97aabf1: Download complete 19:00:01 4872d77fe225: Verifying Checksum 19:00:01 4872d77fe225: Download complete 19:00:01 5851b861e8e6: Download complete 19:00:01 b85a868b505f: Verifying Checksum 19:00:01 b85a868b505f: Download complete 19:00:01 bab4dde63d76: Verifying Checksum 19:00:01 bab4dde63d76: Download complete 19:00:02 b85a868b505f: Pull complete 19:00:02 e2be974225ed: Pull complete 19:00:02 339a4e72a1f5: Pull complete 19:00:03 988bab9f4d93: Pull complete 19:00:03 1469e6f7b9e6: Pull complete 19:00:03 eaf3925da568: Pull complete 19:00:05 bab4dde63d76: Pull complete 19:00:05 bde34c3a00c8: Pull complete 19:00:05 b352a97aabf1: Pull complete 19:00:05 4872d77fe225: Pull complete 19:00:05 5851b861e8e6: Pull complete 19:00:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:00:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:05 prd-ubuntu20.04-docker-8c-8g-24116 does not seem to be running inside a container 19:00:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-183 -v /w/workspace/xfoundry_go-mod-messaging_PR-183:/w/workspace/xfoundry_go-mod-messaging_PR-183:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-183@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-183@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:00:08 $ docker top 309119a2bc710b10bb4185f17359d86516ed34ddc65e3b444357dae7124d8c82 -eo pid,comm 19:00:08 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). 19:00:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:00:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:00:08 [ssh-agent] Looking for ssh-agent implementation... 19:00:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:00:08 $ docker exec 309119a2bc710b10bb4185f17359d86516ed34ddc65e3b444357dae7124d8c82 ssh-agent 19:00:08 SSH_AUTH_SOCK=/tmp/ssh-eJ8vT4w1d60u/agent.31 19:00:08 SSH_AGENT_PID=37 19:00:08 Running ssh-add (command line suppressed) 19:00:08 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-183@tmp/private_key_3620326108607117536.key (/w/workspace/xfoundry_go-mod-messaging_PR-183@tmp/private_key_3620326108607117536.key) 19:00:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:00:09 + git tag --points-at HEAD [Pipeline] } 19:00:09 $ docker exec --env ******** --env ******** 309119a2bc710b10bb4185f17359d86516ed34ddc65e3b444357dae7124d8c82 ssh-agent -k 19:00:09 unset SSH_AUTH_SOCK; 19:00:09 unset SSH_AGENT_PID; 19:00:09 echo Agent pid 37 killed; 19:00:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:00:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:00:09 [ssh-agent] Looking for ssh-agent implementation... 19:00:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:00:09 $ docker exec 309119a2bc710b10bb4185f17359d86516ed34ddc65e3b444357dae7124d8c82 ssh-agent 19:00:09 SSH_AUTH_SOCK=/tmp/ssh-u3GLjZ4na92n/agent.69 19:00:09 SSH_AGENT_PID=75 19:00:09 Running ssh-add (command line suppressed) 19:00:09 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-183@tmp/private_key_6341714093772806434.key (/w/workspace/xfoundry_go-mod-messaging_PR-183@tmp/private_key_6341714093772806434.key) 19:00:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:00:09 + git semver init 19:00:10 2022-10-24 19:00:10,127 [run_init] DEBUG init version:0.0.0 force:False 19:00:10 2022-10-24 19:00:10,127 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-183/.semver 19:00:10 2022-10-24 19:00:10,128 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-183/.semver 19:00:10 2022-10-24 19:00:10,128 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-183/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-183, universal_newlines=False, shell=None, istream=None) 19:00:11 2022-10-24 19:00:10,998 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-183/.git/info/exclude 19:00:11 2022-10-24 19:00:10,999 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-183/.semver/PR-183 with force:False 19:00:11 2022-10-24 19:00:10,999 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-183/.semver/PR-183 19:00:11 2022-10-24 19:00:11,003 [execute] INFO git cat-file --batch-check 19:00:11 2022-10-24 19:00:11,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-183/.semver, universal_newlines=False, shell=None, istream=) 19:00:11 2022-10-24 19:00:11,009 [execute] INFO git cat-file --batch 19:00:11 2022-10-24 19:00:11,009 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-183/.semver, universal_newlines=False, shell=None, istream=) 19:00:11 2022-10-24 19:00:11,018 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-183/.semver/PR-183 19:00:11 0.0.0 [Pipeline] } 19:00:11 $ docker exec --env ******** --env ******** 309119a2bc710b10bb4185f17359d86516ed34ddc65e3b444357dae7124d8c82 ssh-agent -k 19:00:11 unset SSH_AUTH_SOCK; 19:00:11 unset SSH_AGENT_PID; 19:00:11 echo Agent pid 75 killed; 19:00:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:00:11 + git semver [Pipeline] } 19:00:11 $ docker stop --time=1 309119a2bc710b10bb4185f17359d86516ed34ddc65e3b444357dae7124d8c82 19:00:13 $ docker rm -f 309119a2bc710b10bb4185f17359d86516ed34ddc65e3b444357dae7124d8c82 [Pipeline] // withDockerContainer [Pipeline] sh 19:00:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:00:13 Stashed 1 file(s) [Pipeline] echo 19:00:13 [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 19:00:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:00:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:00:14 ========================================================= 19:00:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:00:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 19:00:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:00:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:00:14 213ec9aee27d: Pulling fs layer 19:00:14 4583459ba037: Pulling fs layer 19:00:14 93c1e223e6f2: Pulling fs layer 19:00:14 53926ce57604: Pulling fs layer 19:00:14 21b2b0c7a3f4: Pulling fs layer 19:00:14 30f14e443154: Pulling fs layer 19:00:14 801331c1e519: Pulling fs layer 19:00:14 99cc6dd402b0: Pulling fs layer 19:00:14 7d9ed39f4882: Pulling fs layer 19:00:14 30f14e443154: Waiting 19:00:14 53926ce57604: Waiting 19:00:14 21b2b0c7a3f4: Waiting 19:00:14 801331c1e519: Waiting 19:00:14 99cc6dd402b0: Waiting 19:00:14 93c1e223e6f2: Verifying Checksum 19:00:14 93c1e223e6f2: Download complete 19:00:14 4583459ba037: Download complete 19:00:14 21b2b0c7a3f4: Verifying Checksum 19:00:14 21b2b0c7a3f4: Download complete 19:00:14 30f14e443154: Verifying Checksum 19:00:14 30f14e443154: Download complete 19:00:14 213ec9aee27d: Verifying Checksum 19:00:14 213ec9aee27d: Download complete 19:00:14 801331c1e519: Verifying Checksum 19:00:14 801331c1e519: Download complete 19:00:15 213ec9aee27d: Pull complete 19:00:15 4583459ba037: Pull complete 19:00:15 93c1e223e6f2: Pull complete 19:00:15 7d9ed39f4882: Verifying Checksum 19:00:15 7d9ed39f4882: Download complete 19:00:15 53926ce57604: Verifying Checksum 19:00:15 53926ce57604: Download complete 19:00:16 99cc6dd402b0: Verifying Checksum 19:00:16 99cc6dd402b0: Download complete 19:00:19 53926ce57604: Pull complete 19:00:19 21b2b0c7a3f4: Pull complete 19:00:19 30f14e443154: Pull complete 19:00:19 801331c1e519: Pull complete 19:00:21 99cc6dd402b0: Pull complete 19:00:22 7d9ed39f4882: Pull complete 19:00:22 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 19:00:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:00:22 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 19:00:22 + 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 19:00:23 + docker inspect -f . ci-base-image-x86_64 19:00:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:23 prd-ubuntu20.04-docker-8c-8g-24116 does not seem to be running inside a container 19:00:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-183 -v /w/workspace/xfoundry_go-mod-messaging_PR-183:/w/workspace/xfoundry_go-mod-messaging_PR-183:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-183@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-183@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 ******** ci-base-image-x86_64 cat 19:00:27 $ docker top 3bfa13132e01584060a509223f92be21e86b0b9b3a8149708c867624b421cf20 -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:28 + go version 19:00:28 go version go1.18.7 linux/amd64 [Pipeline] } 19:00:28 $ docker stop --time=1 3bfa13132e01584060a509223f92be21e86b0b9b3a8149708c867624b421cf20 19:00:29 Still waiting to schedule task 19:00:29 ‘prd-ubuntu20.04-docker-arm64-4c-16g-23397’ is offline 19:00:29 $ docker rm -f 3bfa13132e01584060a509223f92be21e86b0b9b3a8149708c867624b421cf20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:30 + docker inspect -f . ci-base-image-x86_64 19:00:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:30 prd-ubuntu20.04-docker-8c-8g-24116 does not seem to be running inside a container 19:00:30 $ 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-183 -v /w/workspace/xfoundry_go-mod-messaging_PR-183:/w/workspace/xfoundry_go-mod-messaging_PR-183:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-183@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-183@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 ******** ci-base-image-x86_64 cat 19:00:30 $ docker top b566c1be836e44d00ecb737213fb2c478502b7c9ae13a1262220265d734a1493 -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:31 + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-messaging_PR-183 [Pipeline] fileExists [Pipeline] sh 19:00:31 + make test 19:00:31 CGO_ENABLED=1 GO111MODULE=on go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... 19:00:31 go: downloading github.com/go-redis/redis/v7 v7.3.0 19:00:31 go: downloading github.com/stretchr/testify v1.8.1 19:00:31 go: downloading github.com/pebbe/zmq4 v1.2.7 19:00:31 go: downloading github.com/nats-io/nats.go v1.18.0 19:00:31 go: downloading github.com/google/uuid v1.3.0 19:00:31 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.3.0-dev.18 19:00:31 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 19:00:31 go: downloading github.com/nats-io/nats-server/v2 v2.9.3 19:00:31 go: downloading github.com/pmezard/go-difflib v1.0.0 19:00:31 go: downloading gopkg.in/yaml.v3 v3.0.1 19:00:31 go: downloading github.com/davecgh/go-spew v1.1.1 19:00:31 go: downloading github.com/stretchr/objx v0.5.0 19:00:31 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 19:00:31 go: downloading github.com/go-playground/validator/v10 v10.11.1 19:00:31 go: downloading github.com/nats-io/nkeys v0.3.0 19:00:31 go: downloading github.com/nats-io/nuid v1.0.1 19:00:31 go: downloading github.com/gorilla/websocket v1.4.2 19:00:31 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 19:00:31 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 19:00:31 go: downloading golang.org/x/crypto v0.0.0-20221010152910-d6f0a8c073c2 19:00:31 go: downloading github.com/x448/float16 v0.8.4 19:00:31 go: downloading golang.org/x/text v0.3.7 19:00:31 go: downloading github.com/leodido/go-urn v1.2.1 19:00:31 go: downloading github.com/go-playground/universal-translator v0.18.0 19:00:31 go: downloading github.com/go-playground/locales v0.14.0 19:00:31 go: downloading github.com/klauspost/compress v1.15.11 19:00:31 go: downloading github.com/nats-io/jwt/v2 v2.3.0 19:00:31 go: downloading github.com/minio/highwayhash v1.0.2 19:00:31 go: downloading golang.org/x/time v0.0.0-20220922220347-f3bd1da661af 19:00:31 go: downloading golang.org/x/sys v0.0.0-20221010170243-090e33056c14 19:00:50 ok github.com/edgexfoundry/go-mod-messaging/v2/clients 0.059s coverage: 66.4% of statements 19:00:50 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 19:00:50 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.078s coverage: 90.4% of statements 19:00:50 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.044s coverage: 87.7% of statements 19:00:50 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces [no test files] 19:00:50 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] 19:00:58 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.096s coverage: 35.9% of statements 19:00:58 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.034s coverage: 68.5% of statements 19:00:58 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 19:01:10 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.416s coverage: 83.8% of statements 19:01:10 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.034s coverage: 88.9% of statements 19:01:10 ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] 19:01:10 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.029s coverage: 100.0% of statements 19:01:10 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.043s coverage: 100.0% of statements 19:01:10 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.049s coverage: 95.1% of statements 19:01:10 CGO_ENABLED=1 GO111MODULE=on go test -tags no-zmq -race ./... -coverprofile=coverage.out ./... 19:01:10 ok github.com/edgexfoundry/go-mod-messaging/v2/clients 0.068s coverage: 66.4% of statements 19:01:10 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 19:01:10 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.067s coverage: 90.4% of statements 19:01:10 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.025s coverage: 100.0% of statements 19:01:10 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] 19:01:10 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.034s coverage: 100.0% of statements 19:01:10 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.047s coverage: 68.5% of statements 19:01:10 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 19:01:32 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.374s coverage: 83.8% of statements 19:01:32 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.037s coverage: 88.9% of statements 19:01:32 ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] 19:01:32 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.040s coverage: 100.0% of statements 19:01:32 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.015s coverage: 100.0% of statements 19:01:32 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.031s coverage: 95.1% of statements 19:01:40 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." 19:01:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:01:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:01:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 19:01:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:01:42 $ docker stop --time=1 b566c1be836e44d00ecb737213fb2c478502b7c9ae13a1262220265d734a1493 19:01:44 $ docker rm -f b566c1be836e44d00ecb737213fb2c478502b7c9ae13a1262220265d734a1493 [Pipeline] // withDockerContainer [Pipeline] sh 19:01:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:01:44 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 19:01:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:45 19:01:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:46 latest: Pulling from edgex-lftools-log-publisher 19:01:46 5eb5b503b376: Pulling fs layer 19:01:46 5c69ac0246d0: Pulling fs layer 19:01:46 ec43610c2a17: Pulling fs layer 19:01:46 3a2ae6a8a46f: Pulling fs layer 19:01:46 33b1e0a273af: Pulling fs layer 19:01:46 5d3b04190fa2: Pulling fs layer 19:01:46 2f39f015ded8: Pulling fs layer 19:01:46 33b1e0a273af: Waiting 19:01:46 5d3b04190fa2: Waiting 19:01:46 2f39f015ded8: Waiting 19:01:46 3a2ae6a8a46f: Waiting 19:01:46 5c69ac0246d0: Download complete 19:01:46 3a2ae6a8a46f: Download complete 19:01:46 33b1e0a273af: Verifying Checksum 19:01:46 33b1e0a273af: Download complete 19:01:46 5d3b04190fa2: Verifying Checksum 19:01:46 5d3b04190fa2: Download complete 19:01:46 ec43610c2a17: Verifying Checksum 19:01:46 ec43610c2a17: Download complete 19:01:46 5eb5b503b376: Verifying Checksum 19:01:46 5eb5b503b376: Download complete 19:01:47 2f39f015ded8: Download complete 19:01:47 5eb5b503b376: Pull complete 19:01:47 5c69ac0246d0: Pull complete 19:01:48 ec43610c2a17: Pull complete 19:01:48 3a2ae6a8a46f: Pull complete 19:01:48 33b1e0a273af: Pull complete 19:01:48 5d3b04190fa2: Pull complete 19:01:52 2f39f015ded8: Pull complete 19:01:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:01:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:53 prd-ubuntu20.04-docker-8c-8g-24116 does not seem to be running inside a container 19:01:53 $ 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-183 -v /w/workspace/xfoundry_go-mod-messaging_PR-183:/w/workspace/xfoundry_go-mod-messaging_PR-183:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-183@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-183@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:01:56 $ docker top ffa4fb48d9f80ea97bf2a698bdc29cb1b5307ab144baed93d55078e623a639f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:56 ---> job-cost.sh 19:01:56 lf-activate-venv: SKIPPING 19:01:56 INFO: No Stack... 19:01:56 INFO: Retrieving Pricing Info for: v3-standard-8 19:01:57 INFO: Archiving Costs [Pipeline] sh 19:01:57 + cat /w/workspace/xfoundry_go-mod-messaging_PR-183/archives/cost.csv 19:01:57 + cut -d, -f6 [Pipeline] lock 19:01:57 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-183-1-stack-cost] 19:01:57 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-183-1-stack-cost] did not exist. Created. 19:01:57 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:01:57 + echo total: 0.2199999988079071 [Pipeline] stash 19:01:57 Stashed 1 file(s) [Pipeline] } 19:01:57 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:01:57 $ docker stop --time=1 ffa4fb48d9f80ea97bf2a698bdc29cb1b5307ab144baed93d55078e623a639f1 19:01:59 $ docker rm -f ffa4fb48d9f80ea97bf2a698bdc29cb1b5307ab144baed93d55078e623a639f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:59:55 Cancelling nested steps due to timeout [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:59:55 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:00:03 + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-183/archives ] 01:00:03 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-183/archives 01:00:03 total 16 01:00:03 drwxr-xr-x 3 root root 4096 Oct 24 19:01 . 01:00:03 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 19:01 .. 01:00:03 drwxr-xr-x 2 root root 4096 Oct 24 19:01 cost 01:00:03 -rw-r--r-- 1 root root 88 Oct 24 19:01 cost.csv 01:00:03 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-183/archives 01:00:03 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-183/archives 01:00:03 total 16 01:00:03 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 19:01 . 01:00:03 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 19:01 .. 01:00:03 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 19:01 cost 01:00:03 -rw-r--r-- 1 jenkins jenkins 88 Oct 24 19:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:00:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:00:04 ---> package-listing.sh 01:00:04 ++ facter osfamily 01:00:04 ++ tr '[:upper:]' '[:lower:]' 01:00:04 + OS_FAMILY=debian 01:00:04 + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-183 01:00:04 + START_PACKAGES=/tmp/packages_start.txt 01:00:04 + END_PACKAGES=/tmp/packages_end.txt 01:00:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:00:04 + PACKAGES=/tmp/packages_start.txt 01:00:04 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-183 ']' 01:00:04 + PACKAGES=/tmp/packages_end.txt 01:00:04 + case "${OS_FAMILY}" in 01:00:04 + dpkg -l 01:00:04 + grep '^ii' 01:00:04 + '[' -f /tmp/packages_start.txt ']' 01:00:04 + '[' -f /tmp/packages_end.txt ']' 01:00:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:00:04 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-183 ']' 01:00:04 + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-183/archives/ 01:00:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-183/archives/ [Pipeline] echo 01:00:04 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-183/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:00:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:00:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:05 prd-ubuntu20.04-docker-8c-8g-24116 does not seem to be running inside a container 01:00:05 $ 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-183/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-183 -v /w/workspace/xfoundry_go-mod-messaging_PR-183:/w/workspace/xfoundry_go-mod-messaging_PR-183:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-183@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-183@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:00:06 $ docker top fcb542d3e9aac3ac80cd1d49d2791f211fc6f0c4599eb168c86fb67da07fdf2b -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:06 + touch /tmp/pre-build-complete [Pipeline] sh 01:00:06 + mkdir -p /var/log/sysstat [Pipeline] sh 01:00:07 + ls /var/log/sa-host 01:00:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:00:07 provisioning config files... 01:00:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-183@tmp/config15620947400819484010tmp [Pipeline] { [Pipeline] echo 01:00:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:00:07 ---> create-netrc.sh [Pipeline] } 01:00:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:00:08 ---> python-tools-install.sh [Pipeline] echo 01:00:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:00:08 ---> sudo-logs.sh 01:00:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:00:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:00:08 ---> job-cost.sh 01:00:08 lf-activate-venv: SKIPPING 01:00:08 DEBUG: total: 0.2199999988079071 01:00:08 INFO: Retrieving Stack Cost... 01:00:09 INFO: Retrieving Pricing Info for: v3-standard-8 01:00:09 INFO: Archiving Costs [Pipeline] echo 01:00:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:00:10 ---> logs-deploy.sh 01:00:10 lf-activate-venv: SKIPPING 01:00:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-183/1 01:00:10 INFO: archiving workspace using pattern(s): 01:00:11 Archives upload complete. 01:00:11 INFO: archiving logs to Nexus