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 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc+3ead65670aea3dec93ac8c340c7a6e593617ecdf (6a0ae8e148c341d64defe723330f01b8f756c554) 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-ssh15919941840189825694.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-ssh10327767758216112626.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-ssh6692875482814926642.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-ssh18403216947879589496.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-ssh10347412082036408580.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-782 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 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc Merge succeeded, producing 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc Checking out Revision 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc (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 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc # 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 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc # 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 21:58:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:58:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:58:40 ========================================================= 21:58:40 EdgeX Global Pipelines Version Info 21:58:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7328a116d9775579aba8c9dc6789b66a0c5ec081 # timeout=10 21:58:41 ------------------- 21:58:41 stable info: 21:58:41 ------------------- 21:58:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:58:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:58:41 Message: update stable to v1.0.244 21:58:41 ------------------- 21:58:41 experimental info: 21:58:41 ------------------- 21:58:41 Commited By: **** collab-it+edgex@linuxfoundation.org 21:58:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:58:41 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 21:58:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-200 [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-200 [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-200 [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 67d561d [Pipeline] echo 21:58:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:58:42 + git rev-list -1 --merges 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc~1..67d561d87c6a787a5cc57ea1fdd60b6271ce51bc [Pipeline] echo 21:58:42 -----------> git rev-list -1 --merges 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc~1..67d561d87c6a787a5cc57ea1fdd60b6271ce51bc 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc [false] [Pipeline] sh 21:58:43 + git log --format=format:%s -1 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc [Pipeline] echo 21:58:43 ========================================================= 21:58:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:58:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:58:43 + git log --format=format:%s -1 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc [Pipeline] echo 21:58:43 [semverPrep] GIT_COMMIT: 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc, Commit Message: refactor!: Reduce MessageBus config to have a single host [Pipeline] echo 21:58:43 [semverPrep] This is not a build commit. [Pipeline] sh 21:58:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:58:43 + grep -v github /etc/ssh/ssh_known_hosts 21:58:43 + [ -e /tmp/ssh_known_hosts ] 21:58:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:58:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:58:43 + sudo tee -a /etc/ssh/ssh_known_hosts 21:58:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:58:44 21:58:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:58:44 0.1.4: Pulling from edgex-devops/py-git-semver 21:58:44 b85a868b505f: Pulling fs layer 21:58:44 e2be974225ed: Pulling fs layer 21:58:44 339a4e72a1f5: Pulling fs layer 21:58:44 988bab9f4d93: Pulling fs layer 21:58:44 1469e6f7b9e6: Pulling fs layer 21:58:44 eaf3925da568: Pulling fs layer 21:58:44 bab4dde63d76: Pulling fs layer 21:58:44 bde34c3a00c8: Pulling fs layer 21:58:44 b352a97aabf1: Pulling fs layer 21:58:44 4872d77fe225: Pulling fs layer 21:58:44 5851b861e8e6: Pulling fs layer 21:58:44 bab4dde63d76: Waiting 21:58:44 4872d77fe225: Waiting 21:58:44 bde34c3a00c8: Waiting 21:58:44 988bab9f4d93: Waiting 21:58:44 b352a97aabf1: Waiting 21:58:44 1469e6f7b9e6: Waiting 21:58:44 5851b861e8e6: Waiting 21:58:44 eaf3925da568: Waiting 21:58:45 e2be974225ed: Verifying Checksum 21:58:45 e2be974225ed: Download complete 21:58:45 988bab9f4d93: Download complete 21:58:45 1469e6f7b9e6: Verifying Checksum 21:58:45 1469e6f7b9e6: Download complete 21:58:45 eaf3925da568: Verifying Checksum 21:58:45 eaf3925da568: Download complete 21:58:45 339a4e72a1f5: Verifying Checksum 21:58:45 339a4e72a1f5: Download complete 21:58:45 bde34c3a00c8: Verifying Checksum 21:58:45 bde34c3a00c8: Download complete 21:58:45 b352a97aabf1: Verifying Checksum 21:58:45 b352a97aabf1: Download complete 21:58:45 4872d77fe225: Download complete 21:58:45 5851b861e8e6: Verifying Checksum 21:58:45 5851b861e8e6: Download complete 21:58:45 b85a868b505f: Verifying Checksum 21:58:45 b85a868b505f: Download complete 21:58:45 bab4dde63d76: Verifying Checksum 21:58:45 bab4dde63d76: Download complete 21:58:46 b85a868b505f: Pull complete 21:58:46 e2be974225ed: Pull complete 21:58:47 339a4e72a1f5: Pull complete 21:58:47 988bab9f4d93: Pull complete 21:58:47 1469e6f7b9e6: Pull complete 21:58:47 eaf3925da568: Pull complete 21:58:49 bab4dde63d76: Pull complete 21:58:49 bde34c3a00c8: Pull complete 21:58:49 b352a97aabf1: Pull complete 21:58:49 4872d77fe225: Pull complete 21:58:49 5851b861e8e6: Pull complete 21:58:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:58:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:58:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:58:49 prd-ubuntu20.04-docker-8c-8g-782 does not seem to be running inside a container 21:58:49 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:58:51 $ docker top 2855459fc9151ebdda39596587ce3adfc9796ada0838c21779fbf19bac0053ca -eo pid,comm 21:58:51 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). 21:58:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:58:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:58:51 [ssh-agent] Looking for ssh-agent implementation... 21:58:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:58:51 $ docker exec 2855459fc9151ebdda39596587ce3adfc9796ada0838c21779fbf19bac0053ca ssh-agent 21:58:51 SSH_AUTH_SOCK=/tmp/ssh-atnaktGJcm4n/agent.32 21:58:51 SSH_AGENT_PID=38 21:58:51 Running ssh-add (command line suppressed) 21:58:51 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-200@tmp/private_key_8371037783133470461.key (/w/workspace/xfoundry_go-mod-messaging_PR-200@tmp/private_key_8371037783133470461.key) 21:58:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:58:51 + git tag --points-at HEAD [Pipeline] } 21:58:51 $ docker exec --env ******** --env ******** 2855459fc9151ebdda39596587ce3adfc9796ada0838c21779fbf19bac0053ca ssh-agent -k 21:58:51 unset SSH_AUTH_SOCK; 21:58:51 unset SSH_AGENT_PID; 21:58:51 echo Agent pid 38 killed; 21:58:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:58:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:58:52 [ssh-agent] Looking for ssh-agent implementation... 21:58:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:58:52 $ docker exec 2855459fc9151ebdda39596587ce3adfc9796ada0838c21779fbf19bac0053ca ssh-agent 21:58:52 SSH_AUTH_SOCK=/tmp/ssh-OgEt0ReRRnDF/agent.70 21:58:52 SSH_AGENT_PID=76 21:58:52 Running ssh-add (command line suppressed) 21:58:52 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-200@tmp/private_key_2921168996780618888.key (/w/workspace/xfoundry_go-mod-messaging_PR-200@tmp/private_key_2921168996780618888.key) 21:58:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:58:52 + git semver init 21:58:52 2023-01-01 21:58:52,891 [run_init] DEBUG init version:0.0.0 force:False 21:58:52 2023-01-01 21:58:52,892 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-200/.semver 21:58:52 2023-01-01 21:58:52,893 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-200/.semver 21:58:52 2023-01-01 21:58:52,893 [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) 21:58:53 2023-01-01 21:58:53,621 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-200/.git/info/exclude 21:58:53 2023-01-01 21:58:53,622 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-200/.semver/PR-200 with force:False 21:58:53 2023-01-01 21:58:53,622 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-200/.semver/PR-200 21:58:53 2023-01-01 21:58:53,625 [execute] INFO git cat-file --batch-check 21:58:53 2023-01-01 21:58:53,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-200/.semver, universal_newlines=False, shell=None, istream=) 21:58:53 2023-01-01 21:58:53,632 [execute] INFO git cat-file --batch 21:58:53 2023-01-01 21:58:53,633 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-200/.semver, universal_newlines=False, shell=None, istream=) 21:58:53 2023-01-01 21:58:53,637 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-200/.semver/PR-200 21:58:53 0.0.0 [Pipeline] } 21:58:53 $ docker exec --env ******** --env ******** 2855459fc9151ebdda39596587ce3adfc9796ada0838c21779fbf19bac0053ca ssh-agent -k 21:58:54 unset SSH_AUTH_SOCK; 21:58:54 unset SSH_AGENT_PID; 21:58:54 echo Agent pid 76 killed; 21:58:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:58:54 + git semver [Pipeline] } 21:58:54 $ docker stop --time=1 2855459fc9151ebdda39596587ce3adfc9796ada0838c21779fbf19bac0053ca 21:58:55 $ docker rm -f --volumes 2855459fc9151ebdda39596587ce3adfc9796ada0838c21779fbf19bac0053ca [Pipeline] // withDockerContainer [Pipeline] sh 21:58:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:58:56 Stashed 1 file(s) [Pipeline] echo 21:58:56 [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 21:58:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:58:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:58:56 ========================================================= 21:58:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:58:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:58:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:58:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:58:56 213ec9aee27d: Pulling fs layer 21:58:56 4583459ba037: Pulling fs layer 21:58:56 93c1e223e6f2: Pulling fs layer 21:58:56 53926ce57604: Pulling fs layer 21:58:56 21b2b0c7a3f4: Pulling fs layer 21:58:56 22ff95d597cd: Pulling fs layer 21:58:56 12d6caf4c0d1: Pulling fs layer 21:58:56 96b7cbca73a9: Pulling fs layer 21:58:56 a7acece74701: Pulling fs layer 21:58:56 21b2b0c7a3f4: Waiting 21:58:56 96b7cbca73a9: Waiting 21:58:56 22ff95d597cd: Waiting 21:58:56 12d6caf4c0d1: Waiting 21:58:56 a7acece74701: Waiting 21:58:56 53926ce57604: Waiting 21:58:56 93c1e223e6f2: Download complete 21:58:56 4583459ba037: Verifying Checksum 21:58:56 4583459ba037: Download complete 21:58:56 21b2b0c7a3f4: Download complete 21:58:56 22ff95d597cd: Verifying Checksum 21:58:56 22ff95d597cd: Download complete 21:58:56 213ec9aee27d: Download complete 21:58:56 12d6caf4c0d1: Verifying Checksum 21:58:56 12d6caf4c0d1: Download complete 21:58:57 213ec9aee27d: Pull complete 21:58:57 4583459ba037: Pull complete 21:58:57 93c1e223e6f2: Pull complete 21:58:57 a7acece74701: Verifying Checksum 21:58:57 a7acece74701: Download complete 21:58:57 96b7cbca73a9: Verifying Checksum 21:58:57 96b7cbca73a9: Download complete 21:58:57 53926ce57604: Verifying Checksum 21:58:57 53926ce57604: Download complete 21:59:01 53926ce57604: Pull complete 21:59:01 21b2b0c7a3f4: Pull complete 21:59:02 22ff95d597cd: Pull complete 21:59:02 12d6caf4c0d1: Pull complete 21:59:04 96b7cbca73a9: Pull complete 21:59:05 a7acece74701: Pull complete 21:59:05 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:59:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:59:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 21:59:05 + 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 21:59:05 + docker inspect -f . ci-base-image-x86_64 21:59:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:05 prd-ubuntu20.04-docker-8c-8g-782 does not seem to be running inside a container 21:59:05 $ 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 ******** ci-base-image-x86_64 cat 21:59:09 $ docker top b977e8b436ea929deeb6a7bd35708b4b3ef8e74f35cd52cbcc1f6984efb188f8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:59:09 + go version 21:59:09 go version go1.18.7 linux/amd64 [Pipeline] } 21:59:09 $ docker stop --time=1 b977e8b436ea929deeb6a7bd35708b4b3ef8e74f35cd52cbcc1f6984efb188f8 21:59:10 $ docker rm -f --volumes b977e8b436ea929deeb6a7bd35708b4b3ef8e74f35cd52cbcc1f6984efb188f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:11 + docker inspect -f . ci-base-image-x86_64 21:59:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:11 prd-ubuntu20.04-docker-8c-8g-782 does not seem to be running inside a container 21:59:11 $ 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 ******** ci-base-image-x86_64 cat 21:59:11 Still waiting to schedule task 21:59:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:59:11 $ docker top c31bac11b95e8d7cb0a62f2177dcd3ee0028d712448874a1d2247f2f5de89d4e -eo pid,comm [Pipeline] { [Pipeline] sh 21:59:12 + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-messaging_PR-200 [Pipeline] fileExists [Pipeline] sh 21:59:12 + make test 21:59:12 go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... 21:59:12 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:59:12 go: downloading github.com/stretchr/testify v1.8.1 21:59:12 go: downloading github.com/google/uuid v1.3.0 21:59:12 go: downloading github.com/nats-io/nats.go v1.20.0 21:59:12 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 21:59:12 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.2 21:59:12 go: downloading github.com/nats-io/nats-server/v2 v2.9.9 21:59:12 go: downloading github.com/davecgh/go-spew v1.1.1 21:59:12 go: downloading github.com/pmezard/go-difflib v1.0.0 21:59:12 go: downloading gopkg.in/yaml.v3 v3.0.1 21:59:12 go: downloading github.com/stretchr/objx v0.5.0 21:59:12 go: downloading github.com/gorilla/websocket v1.4.2 21:59:12 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 21:59:12 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 21:59:12 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 21:59:12 go: downloading github.com/go-playground/validator/v10 v10.11.1 21:59:12 go: downloading github.com/nats-io/nkeys v0.3.0 21:59:12 go: downloading github.com/nats-io/nuid v1.0.1 21:59:12 go: downloading golang.org/x/crypto v0.0.0-20221010152910-d6f0a8c073c2 21:59:12 go: downloading github.com/x448/float16 v0.8.4 21:59:12 go: downloading golang.org/x/text v0.3.7 21:59:12 go: downloading github.com/leodido/go-urn v1.2.1 21:59:12 go: downloading github.com/go-playground/universal-translator v0.18.0 21:59:12 go: downloading github.com/go-playground/locales v0.14.0 21:59:13 go: downloading github.com/klauspost/compress v1.15.11 21:59:13 go: downloading github.com/minio/highwayhash v1.0.2 21:59:13 go: downloading github.com/nats-io/jwt/v2 v2.3.0 21:59:13 go: downloading golang.org/x/time v0.0.0-20220922220347-f3bd1da661af 21:59:13 go: downloading golang.org/x/sys v0.0.0-20221010170243-090e33056c14 21:59:31 # github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats [github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats.test] 21:59:31 internal/pkg/nats/client_test.go:242:32: unknown field 'SubscribeHost' in struct literal of type types.MessageBusConfig 21:59:31 ok github.com/edgexfoundry/go-mod-messaging/v3/clients 0.066s coverage: 66.4% of statements 21:59:31 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg [no test files] 21:59:31 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 0.104s coverage: 91.1% of statements 21:59:31 FAIL github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats [build failed] 21:59:31 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] 21:59:31 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] 21:59:41 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 0.107s coverage: 35.9% of statements 21:59:41 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 0.056s coverage: 67.5% of statements 21:59:41 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] 21:59:41 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 0.033s coverage: 87.5% of statements 21:59:41 ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] 21:59:41 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 0.053s coverage: 100.0% of statements 21:59:41 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 0.031s coverage: 100.0% of statements 21:59:41 ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 0.044s coverage: 95.1% of statements 21:59:41 FAIL 21:59:41 make: *** [Makefile:12: unittest] Error 2 [Pipeline] } 21:59:41 $ docker stop --time=1 c31bac11b95e8d7cb0a62f2177dcd3ee0028d712448874a1d2247f2f5de89d4e 21:59:44 $ docker rm -f --volumes c31bac11b95e8d7cb0a62f2177dcd3ee0028d712448874a1d2247f2f5de89d4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:45 21:59:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:45 latest: Pulling from edgex-lftools-log-publisher 21:59:45 5eb5b503b376: Pulling fs layer 21:59:45 5c69ac0246d0: Pulling fs layer 21:59:45 ec43610c2a17: Pulling fs layer 21:59:45 3a2ae6a8a46f: Pulling fs layer 21:59:45 33b1e0a273af: Pulling fs layer 21:59:45 5d3b04190fa2: Pulling fs layer 21:59:45 2f39f015ded8: Pulling fs layer 21:59:45 5d3b04190fa2: Waiting 21:59:45 33b1e0a273af: Waiting 21:59:45 2f39f015ded8: Waiting 21:59:45 3a2ae6a8a46f: Waiting 21:59:45 5c69ac0246d0: Verifying Checksum 21:59:45 5c69ac0246d0: Download complete 21:59:45 3a2ae6a8a46f: Verifying Checksum 21:59:45 3a2ae6a8a46f: Download complete 21:59:46 33b1e0a273af: Verifying Checksum 21:59:46 33b1e0a273af: Download complete 21:59:46 ec43610c2a17: Verifying Checksum 21:59:46 ec43610c2a17: Download complete 21:59:46 5d3b04190fa2: Download complete 21:59:46 5eb5b503b376: Verifying Checksum 21:59:46 5eb5b503b376: Download complete 21:59:46 2f39f015ded8: Download complete 21:59:47 5eb5b503b376: Pull complete 21:59:47 5c69ac0246d0: Pull complete 21:59:47 ec43610c2a17: Pull complete 21:59:48 3a2ae6a8a46f: Pull complete 21:59:48 33b1e0a273af: Pull complete 21:59:48 5d3b04190fa2: Pull complete 21:59:52 2f39f015ded8: Pull complete 21:59:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:59:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:52 prd-ubuntu20.04-docker-8c-8g-782 does not seem to be running inside a container 21:59:52 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:59:55 $ docker top 82eb49f09a2579a66b10272bf2944da5603e43648c5d6762a1b18831afc1dfbe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:56 ---> job-cost.sh 21:59:56 lf-activate-venv: SKIPPING 21:59:56 INFO: No Stack... 21:59:56 INFO: Retrieving Pricing Info for: v3-standard-8 21:59:56 INFO: Archiving Costs [Pipeline] sh 21:59:56 + cat /w/workspace/xfoundry_go-mod-messaging_PR-200/archives/cost.csv 21:59:56 + cut -d, -f6 [Pipeline] lock 21:59:56 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-200-4-stack-cost] 21:59:56 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-200-4-stack-cost] did not exist. Created. 21:59:56 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-200-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:59:57 + echo total: 0.2199999988079071 [Pipeline] stash 21:59:57 Stashed 1 file(s) [Pipeline] } 21:59:57 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-200-4-stack-cost] [Pipeline] // lock [Pipeline] } 21:59:57 $ docker stop --time=1 82eb49f09a2579a66b10272bf2944da5603e43648c5d6762a1b18831afc1dfbe 21:59:58 $ docker rm -f --volumes 82eb49f09a2579a66b10272bf2944da5603e43648c5d6762a1b18831afc1dfbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:59:58 Failed in branch amd64 22:00:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-783 in /w/workspace/xfoundry_go-mod-messaging_PR-200 [Pipeline] { [Pipeline] ws 22:00:43 Running in /w/workspace/go-mod-messaging/4 [Pipeline] { [Pipeline] checkout 22:00:43 Selected Git installation does not exist. Using Default 22:00:43 The recommended git tool is: NONE 22:00:48 using credential edgex-jenkins-ssh 22:00:48 Cloning the remote Git repository 22:00:48 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 22:00:48 > git init /w/workspace/go-mod-messaging/4 # timeout=10 22:00:48 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 22:00:48 > git --version # timeout=10 22:00:48 > git --version # 'git version 2.25.1' 22:00:48 using GIT_SSH to set credentials SSH Credentials for GitHub 22:00:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:00:49 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 22:00:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:00:50 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 22:00:50 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 22:00:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:00:50 > 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 22:00:51 Merging remotes/origin/main commit 3ead65670aea3dec93ac8c340c7a6e593617ecdf into PR head commit 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc 22:00:51 Merge succeeded, producing 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc 22:00:51 Checking out Revision 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc (PR-200) 22:00:51 > git config core.sparsecheckout # timeout=10 22:00:51 > git checkout -f 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc # timeout=10 22:00:51 > git remote # timeout=10 22:00:51 > git config --get remote.origin.url # timeout=10 22:00:51 using GIT_SSH to set credentials SSH Credentials for GitHub 22:00:51 > git merge 3ead65670aea3dec93ac8c340c7a6e593617ecdf # timeout=10 22:00:51 > git rev-parse HEAD^{commit} # timeout=10 22:00:51 > git config core.sparsecheckout # timeout=10 22:00:51 > git checkout -f 67d561d87c6a787a5cc57ea1fdd60b6271ce51bc # timeout=10 22:00:54 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 22:00:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:00:55 % Total % Received % Xferd Average Speed Time Time Time Current 22:00:55 Dload Upload Total Spent Left Speed 22:00:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh 22:00:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:00:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:00:56 + sudo tee /etc/docker/daemon.new 22:00:56 { 22:00:56 "registry-mirrors": [ 22:00:56 "https://nexus3.edgexfoundry.org:10001" 22:00:56 ], 22:00:56 "bip": "10.250.0.254/24", 22:00:56 "hosts": [ 22:00:56 "tcp://0.0.0.0:5555", 22:00:56 "unix:///var/run/docker.sock" 22:00:56 ], 22:00:56 "mtu": 1458, 22:00:56 "selinux-enabled": true, 22:00:56 "seccomp-profile": "/etc/docker/seccomp.json" 22:00:56 } [Pipeline] sh 22:00:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:00:57 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 22:01:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:01:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:01:15 ========================================================= 22:01:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:01:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 22:01:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:01:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:01:16 9b18e9b68314: Pulling fs layer 22:01:16 35d82f9e3411: Pulling fs layer 22:01:16 e16973657156: Pulling fs layer 22:01:16 fc693d55d65f: Pulling fs layer 22:01:16 7e9fc2657dce: Pulling fs layer 22:01:16 dda99020689f: Pulling fs layer 22:01:16 db1c61fa0a46: Pulling fs layer 22:01:16 891c053d2c06: Pulling fs layer 22:01:16 fc693d55d65f: Waiting 22:01:16 7e9fc2657dce: Waiting 22:01:16 dda99020689f: Waiting 22:01:16 db1c61fa0a46: Waiting 22:01:16 891c053d2c06: Waiting 22:01:16 e16973657156: Verifying Checksum 22:01:16 e16973657156: Download complete 22:01:16 35d82f9e3411: Verifying Checksum 22:01:16 35d82f9e3411: Download complete 22:01:16 7e9fc2657dce: Verifying Checksum 22:01:16 7e9fc2657dce: Download complete 22:01:16 dda99020689f: Verifying Checksum 22:01:16 dda99020689f: Download complete 22:01:16 9b18e9b68314: Verifying Checksum 22:01:16 9b18e9b68314: Download complete 22:01:17 9b18e9b68314: Pull complete 22:01:17 891c053d2c06: Verifying Checksum 22:01:17 891c053d2c06: Download complete 22:01:18 35d82f9e3411: Pull complete 22:01:18 e16973657156: Pull complete 22:01:19 db1c61fa0a46: Download complete 22:01:19 fc693d55d65f: Verifying Checksum 22:01:19 fc693d55d65f: Download complete 22:01:32 fc693d55d65f: Pull complete 22:01:32 7e9fc2657dce: Pull complete 22:01:32 dda99020689f: Pull complete 22:01:38 db1c61fa0a46: Pull complete 22:01:39 891c053d2c06: Pull complete 22:01:39 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:01:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:01:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 22:01:39 + 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 22:01:40 + docker inspect -f . ci-base-image-arm64 22:01:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:40 prd-ubuntu20.04-docker-arm64-4c-16g-783 does not seem to be running inside a container 22:01:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/4 -v /w/workspace/go-mod-messaging/4:/w/workspace/go-mod-messaging/4:rw,z -v /w/workspace/go-mod-messaging/4@tmp:/w/workspace/go-mod-messaging/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:01:43 $ docker top daaff60879d43f54420cef7f222dc724c3a32edbfabc137a8ced080ca5b8a5cf -eo pid,comm [Pipeline] { [Pipeline] sh 22:01:44 + go version 22:01:44 go version go1.18.7 linux/arm64 [Pipeline] } 22:01:44 $ docker stop --time=1 daaff60879d43f54420cef7f222dc724c3a32edbfabc137a8ced080ca5b8a5cf 22:01:46 $ docker rm -f --volumes daaff60879d43f54420cef7f222dc724c3a32edbfabc137a8ced080ca5b8a5cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:46 + docker inspect -f . ci-base-image-arm64 22:01:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:46 prd-ubuntu20.04-docker-arm64-4c-16g-783 does not seem to be running inside a container 22:01:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/go-mod-messaging/4 -v /w/workspace/go-mod-messaging/4:/w/workspace/go-mod-messaging/4:rw,z -v /w/workspace/go-mod-messaging/4@tmp:/w/workspace/go-mod-messaging/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:01:50 $ docker top 8dd2261c4c751fadf06dc64b608876c281f29341247a2fdf95e4559865bb0794 -eo pid,comm [Pipeline] { [Pipeline] sh 22:01:50 + git config --global --add safe.directory /w/workspace/go-mod-messaging/4 [Pipeline] fileExists [Pipeline] sh 22:01:50 + make test 22:01:50 go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... 22:01:51 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.2 22:01:51 go: downloading github.com/stretchr/testify v1.8.1 22:01:51 go: downloading github.com/nats-io/nats.go v1.20.0 22:01:51 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 22:01:51 go: downloading github.com/google/uuid v1.3.0 22:01:51 go: downloading github.com/nats-io/nats-server/v2 v2.9.9 22:01:51 go: downloading github.com/go-redis/redis/v7 v7.3.0 22:01:51 go: downloading github.com/go-playground/validator/v10 v10.11.1 22:01:51 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 22:01:51 go: downloading github.com/davecgh/go-spew v1.1.1 22:01:51 go: downloading github.com/pmezard/go-difflib v1.0.0 22:01:52 go: downloading github.com/stretchr/objx v0.5.0 22:01:52 go: downloading gopkg.in/yaml.v3 v3.0.1 22:01:52 go: downloading github.com/gorilla/websocket v1.4.2 22:01:52 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 22:01:52 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 22:01:52 go: downloading github.com/nats-io/nkeys v0.3.0 22:01:52 go: downloading github.com/nats-io/nuid v1.0.1 22:01:52 go: downloading github.com/x448/float16 v0.8.4 22:01:52 go: downloading github.com/go-playground/universal-translator v0.18.0 22:01:52 go: downloading github.com/leodido/go-urn v1.2.1 22:01:52 go: downloading golang.org/x/crypto v0.0.0-20221010152910-d6f0a8c073c2 22:01:52 go: downloading golang.org/x/text v0.3.7 22:01:52 go: downloading github.com/go-playground/locales v0.14.0 22:01:53 go: downloading github.com/klauspost/compress v1.15.11 22:01:53 go: downloading github.com/minio/highwayhash v1.0.2 22:01:53 go: downloading github.com/nats-io/jwt/v2 v2.3.0 22:01:53 go: downloading golang.org/x/time v0.0.0-20220922220347-f3bd1da661af 22:03:29 # github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats [github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats.test] 22:03:29 internal/pkg/nats/client_test.go:242:32: unknown field 'SubscribeHost' in struct literal of type types.MessageBusConfig 22:03:33 ok github.com/edgexfoundry/go-mod-messaging/v3/clients 0.296s coverage: 66.4% of statements 22:03:33 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg [no test files] 22:03:33 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 0.242s coverage: 91.1% of statements 22:03:33 FAIL github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats [build failed] 22:03:33 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] 22:03:33 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] 22:04:29 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 0.278s coverage: 35.9% of statements 22:04:29 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 0.156s coverage: 67.5% of statements 22:04:29 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] 22:04:29 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 0.087s coverage: 87.5% of statements 22:04:29 ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] 22:04:29 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 0.099s coverage: 100.0% of statements 22:04:29 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 0.060s coverage: 100.0% of statements 22:04:29 ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 0.080s coverage: 95.1% of statements 22:04:29 FAIL 22:04:29 make: *** [Makefile:12: unittest] Error 2 [Pipeline] } 22:04:29 $ docker stop --time=1 8dd2261c4c751fadf06dc64b608876c281f29341247a2fdf95e4559865bb0794 22:04:31 $ docker rm -f --volumes 8dd2261c4c751fadf06dc64b608876c281f29341247a2fdf95e4559865bb0794 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:04:33 22:04:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:04:33 arm64: Pulling from edgex-lftools-log-publisher 22:04:33 8998bd30e6a1: Pulling fs layer 22:04:33 04944245beec: Pulling fs layer 22:04:33 699f458cf7ca: Pulling fs layer 22:04:33 765212b225bb: Pulling fs layer 22:04:33 f23df028b6ca: Pulling fs layer 22:04:33 d65c8cfc05b1: Pulling fs layer 22:04:33 2437ff75d9bd: Pulling fs layer 22:04:33 765212b225bb: Waiting 22:04:33 f23df028b6ca: Waiting 22:04:33 d65c8cfc05b1: Waiting 22:04:33 04944245beec: Download complete 22:04:33 765212b225bb: Download complete 22:04:34 f23df028b6ca: Verifying Checksum 22:04:34 f23df028b6ca: Download complete 22:04:34 d65c8cfc05b1: Verifying Checksum 22:04:34 d65c8cfc05b1: Download complete 22:04:34 699f458cf7ca: Verifying Checksum 22:04:34 699f458cf7ca: Download complete 22:04:34 8998bd30e6a1: Verifying Checksum 22:04:34 8998bd30e6a1: Download complete 22:04:36 2437ff75d9bd: Download complete 22:04:37 8998bd30e6a1: Pull complete 22:04:38 04944245beec: Pull complete 22:04:39 699f458cf7ca: Pull complete 22:04:39 765212b225bb: Pull complete 22:04:40 f23df028b6ca: Pull complete 22:04:41 d65c8cfc05b1: Pull complete 22:04:56 2437ff75d9bd: Pull complete 22:04:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:04:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:04:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:04:56 prd-ubuntu20.04-docker-arm64-4c-16g-783 does not seem to be running inside a container 22:04:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-messaging/4 -v /w/workspace/go-mod-messaging/4:/w/workspace/go-mod-messaging/4:rw,z -v /w/workspace/go-mod-messaging/4@tmp:/w/workspace/go-mod-messaging/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:04:59 $ docker top 78f774549b6e49ef768990bb7dda846bac10ece403f49adbc7cd6b496297bff1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:05:00 ---> job-cost.sh 22:05:00 lf-activate-venv: SKIPPING 22:05:00 INFO: No Stack... 22:05:00 INFO: Retrieving Pricing Info for: v3-standard-4 22:05:01 INFO: Archiving Costs [Pipeline] sh 22:05:01 + cat /w/workspace/go-mod-messaging/4/archives/cost.csv 22:05:01 + cut -d, -f6 [Pipeline] lock 22:05:02 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-200-4-stack-cost] 22:05:02 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-200-4-stack-cost] did not exist. Created. 22:05:02 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-200-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:05:02 /w/workspace/go-mod-messaging/4@tmp/durable-aadaeaf4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:05:03 + echo total: 0.10999999940395355 [Pipeline] stash 22:05:03 Warning: overwriting stash ‘stack-cost’ 22:05:04 Stashed 1 file(s) [Pipeline] } 22:05:04 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-200-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:05:04 $ docker stop --time=1 78f774549b6e49ef768990bb7dda846bac10ece403f49adbc7cd6b496297bff1 22:05:06 $ docker rm -f --volumes 78f774549b6e49ef768990bb7dda846bac10ece403f49adbc7cd6b496297bff1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:05:06 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 22:05:07 + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-200/archives ] 22:05:07 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-200/archives 22:05:07 total 16 22:05:07 drwxr-xr-x 3 root root 4096 Jan 1 21:59 . 22:05:07 drwxrwxr-x 10 jenkins jenkins 4096 Jan 1 21:59 .. 22:05:07 drwxr-xr-x 2 root root 4096 Jan 1 21:59 cost 22:05:07 -rw-r--r-- 1 root root 88 Jan 1 21:59 cost.csv 22:05:07 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-200/archives 22:05:07 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-200/archives 22:05:07 total 16 22:05:07 drwxr-xr-x 3 jenkins jenkins 4096 Jan 1 21:59 . 22:05:07 drwxrwxr-x 10 jenkins jenkins 4096 Jan 1 21:59 .. 22:05:07 drwxr-xr-x 2 jenkins jenkins 4096 Jan 1 21:59 cost 22:05:07 -rw-r--r-- 1 jenkins jenkins 88 Jan 1 21:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:05:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:05:08 ---> package-listing.sh 22:05:08 ++ facter osfamily 22:05:08 ++ tr '[:upper:]' '[:lower:]' 22:05:08 + OS_FAMILY=debian 22:05:08 + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-200 22:05:08 + START_PACKAGES=/tmp/packages_start.txt 22:05:08 + END_PACKAGES=/tmp/packages_end.txt 22:05:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:05:08 + PACKAGES=/tmp/packages_start.txt 22:05:08 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-200 ']' 22:05:08 + PACKAGES=/tmp/packages_end.txt 22:05:08 + case "${OS_FAMILY}" in 22:05:08 + dpkg -l 22:05:08 + grep '^ii' 22:05:08 + '[' -f /tmp/packages_start.txt ']' 22:05:08 + '[' -f /tmp/packages_end.txt ']' 22:05:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:05:08 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-200 ']' 22:05:08 + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-200/archives/ 22:05:08 + 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 22:05:08 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 22:05:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:05:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:09 prd-ubuntu20.04-docker-8c-8g-782 does not seem to be running inside a container 22:05:09 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:05:10 $ docker top d6e97892300de7251dca73042224bca31d3d9b59f1dd0b261a6af8b3a1d10d8f -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:10 + touch /tmp/pre-build-complete [Pipeline] sh 22:05:10 + mkdir -p /var/log/sysstat [Pipeline] sh 22:05:11 + ls /var/log/sa-host 22:05:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:05:11 provisioning config files... 22:05:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-200@tmp/config15170340143766661390tmp [Pipeline] { [Pipeline] echo 22:05:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:05:11 ---> create-netrc.sh [Pipeline] } 22:05:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:05:11 ---> python-tools-install.sh [Pipeline] echo 22:05:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:05:12 ---> sudo-logs.sh 22:05:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:05:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:05:12 ---> job-cost.sh 22:05:12 lf-activate-venv: SKIPPING 22:05:12 DEBUG: total: 0.2199999988079071 22:05:12 INFO: Retrieving Stack Cost... 22:05:13 INFO: Retrieving Pricing Info for: v3-standard-8 22:05:13 INFO: Archiving Costs [Pipeline] echo 22:05:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:05:13 ---> logs-deploy.sh 22:05:13 lf-activate-venv: SKIPPING 22:05:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-200/4 22:05:13 INFO: archiving workspace using pattern(s): 22:05:14 Archives upload complete. 22:05:14 INFO: archiving logs to Nexus