Pull request #143 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 FelixTing for edgexfoundry/go-mod-messaging Loading trusted files from base branch main at 910d84162688bbccf14f81cbd7c538e61fcf6e89 rather than 41d6aac2cfe156a4f8b75a57e486b446619cf435 Obtained Jenkinsfile from 910d84162688bbccf14f81cbd7c538e61fcf6e89 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-ssh15240063305970618111.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12044908579228744708.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-143/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-143/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16702439992704342072.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13124142883931277487.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-143/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-143/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12843673461626815546.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-messaging, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-messaging-settings PROJECT: go-mod-messaging USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-messaging DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-23515’ is offline Running on prd-ubuntu20.04-docker-8c-8g-23517 in /w/workspace/xfoundry_go-mod-messaging_PR-143 [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-143 # 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 910d84162688bbccf14f81cbd7c538e61fcf6e89 into PR head commit 41d6aac2cfe156a4f8b75a57e486b446619cf435 Merge succeeded, producing 41d6aac2cfe156a4f8b75a57e486b446619cf435 Checking out Revision 41d6aac2cfe156a4f8b75a57e486b446619cf435 (PR-143) > 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/143/head:refs/remotes/origin/PR-143 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 41d6aac2cfe156a4f8b75a57e486b446619cf435 # 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 910d84162688bbccf14f81cbd7c538e61fcf6e89 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 41d6aac2cfe156a4f8b75a57e486b446619cf435 # timeout=10 Commit message: "feat: Allow user to bring their own CA in the client" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:56:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:56:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:56:39 ========================================================= 02:56:39 EdgeX Global Pipelines Version Info 02:56:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk fbf334d944b936464a7cc36edf23d4a0f9eb6720 # timeout=10 02:56:39 ------------------- 02:56:39 stable info: 02:56:39 ------------------- 02:56:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:56:39 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 02:56:39 Message: update stable to v1.0.239 02:56:40 ------------------- 02:56:40 experimental info: 02:56:40 ------------------- 02:56:40 Commited By: **** collab-it+edgex@linuxfoundation.org 02:56:40 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 02:56:40 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:56:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-143 [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-143 [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-143 [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 41d6aac2cfe156a4f8b75a57e486b446619cf435 [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 41d6aac [Pipeline] echo 02:56:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:56:41 + git rev-list -1 --merges 41d6aac2cfe156a4f8b75a57e486b446619cf435~1..41d6aac2cfe156a4f8b75a57e486b446619cf435 [Pipeline] echo 02:56:41 -----------> git rev-list -1 --merges 41d6aac2cfe156a4f8b75a57e486b446619cf435~1..41d6aac2cfe156a4f8b75a57e486b446619cf435 41d6aac2cfe156a4f8b75a57e486b446619cf435 [false] [Pipeline] sh 02:56:41 + git log --format=format:%s -1 41d6aac2cfe156a4f8b75a57e486b446619cf435 [Pipeline] echo 02:56:41 ========================================================= 02:56:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:56:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:56:42 + git log --format=format:%s -1 41d6aac2cfe156a4f8b75a57e486b446619cf435 [Pipeline] echo 02:56:42 [semverPrep] GIT_COMMIT: 41d6aac2cfe156a4f8b75a57e486b446619cf435, Commit Message: feat: Allow user to bring their own CA in the client [Pipeline] echo 02:56:42 [semverPrep] This is not a build commit. [Pipeline] sh 02:56:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:56:42 + grep -v github /etc/ssh/ssh_known_hosts 02:56:42 + [ -e /tmp/ssh_known_hosts ] 02:56:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:56:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:56:42 + sudo tee -a /etc/ssh/ssh_known_hosts 02:56:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:56:43 02:56:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:56:43 0.1.4: Pulling from edgex-devops/py-git-semver 02:56:43 b85a868b505f: Pulling fs layer 02:56:43 e2be974225ed: Pulling fs layer 02:56:43 339a4e72a1f5: Pulling fs layer 02:56:43 988bab9f4d93: Pulling fs layer 02:56:43 1469e6f7b9e6: Pulling fs layer 02:56:43 eaf3925da568: Pulling fs layer 02:56:43 bab4dde63d76: Pulling fs layer 02:56:43 bde34c3a00c8: Pulling fs layer 02:56:43 b352a97aabf1: Pulling fs layer 02:56:43 1469e6f7b9e6: Waiting 02:56:43 988bab9f4d93: Waiting 02:56:43 eaf3925da568: Waiting 02:56:43 bab4dde63d76: Waiting 02:56:43 bde34c3a00c8: Waiting 02:56:43 b352a97aabf1: Waiting 02:56:43 4872d77fe225: Pulling fs layer 02:56:43 5851b861e8e6: Pulling fs layer 02:56:43 4872d77fe225: Waiting 02:56:43 5851b861e8e6: Waiting 02:56:43 e2be974225ed: Download complete 02:56:43 988bab9f4d93: Verifying Checksum 02:56:43 988bab9f4d93: Download complete 02:56:43 1469e6f7b9e6: Verifying Checksum 02:56:43 1469e6f7b9e6: Download complete 02:56:43 339a4e72a1f5: Verifying Checksum 02:56:43 339a4e72a1f5: Download complete 02:56:43 eaf3925da568: Download complete 02:56:43 bde34c3a00c8: Download complete 02:56:43 b352a97aabf1: Verifying Checksum 02:56:43 b352a97aabf1: Download complete 02:56:43 4872d77fe225: Verifying Checksum 02:56:43 4872d77fe225: Download complete 02:56:43 5851b861e8e6: Verifying Checksum 02:56:43 5851b861e8e6: Download complete 02:56:44 b85a868b505f: Verifying Checksum 02:56:44 b85a868b505f: Download complete 02:56:44 bab4dde63d76: Verifying Checksum 02:56:44 bab4dde63d76: Download complete 02:56:45 b85a868b505f: Pull complete 02:56:45 e2be974225ed: Pull complete 02:56:45 339a4e72a1f5: Pull complete 02:56:45 988bab9f4d93: Pull complete 02:56:46 1469e6f7b9e6: Pull complete 02:56:46 eaf3925da568: Pull complete 02:56:48 bab4dde63d76: Pull complete 02:56:48 bde34c3a00c8: Pull complete 02:56:48 b352a97aabf1: Pull complete 02:56:48 4872d77fe225: Pull complete 02:56:48 5851b861e8e6: Pull complete 02:56:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:56:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:56:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:56:48 prd-ubuntu20.04-docker-8c-8g-23517 does not seem to be running inside a container 02:56:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-143 -v /w/workspace/xfoundry_go-mod-messaging_PR-143:/w/workspace/xfoundry_go-mod-messaging_PR-143:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-143@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-143@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 02:56:50 $ docker top 73306bc184749aeec7421613f99771887ab435750a4e8b8e47ca20968da204df -eo pid,comm 02:56:50 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). 02:56:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:56:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:56:50 [ssh-agent] Looking for ssh-agent implementation... 02:56:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:56:50 $ docker exec 73306bc184749aeec7421613f99771887ab435750a4e8b8e47ca20968da204df ssh-agent 02:56:50 SSH_AUTH_SOCK=/tmp/ssh-llyfhpUCrGZT/agent.32 02:56:50 SSH_AGENT_PID=39 02:56:50 Running ssh-add (command line suppressed) 02:56:50 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-143@tmp/private_key_7877988097017977312.key (/w/workspace/xfoundry_go-mod-messaging_PR-143@tmp/private_key_7877988097017977312.key) 02:56:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:56:50 + git tag --points-at HEAD [Pipeline] } 02:56:50 $ docker exec --env ******** --env ******** 73306bc184749aeec7421613f99771887ab435750a4e8b8e47ca20968da204df ssh-agent -k 02:56:51 unset SSH_AUTH_SOCK; 02:56:51 unset SSH_AGENT_PID; 02:56:51 echo Agent pid 39 killed; 02:56:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:56:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:56:51 [ssh-agent] Looking for ssh-agent implementation... 02:56:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:56:51 $ docker exec 73306bc184749aeec7421613f99771887ab435750a4e8b8e47ca20968da204df ssh-agent 02:56:51 SSH_AUTH_SOCK=/tmp/ssh-yupB26R7K7YJ/agent.73 02:56:51 SSH_AGENT_PID=79 02:56:51 Running ssh-add (command line suppressed) 02:56:51 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-143@tmp/private_key_3125306488512541022.key (/w/workspace/xfoundry_go-mod-messaging_PR-143@tmp/private_key_3125306488512541022.key) 02:56:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:56:51 + git semver init 02:56:52 2022-08-25 02:56:51,923 [run_init] DEBUG init version:0.0.0 force:False 02:56:52 2022-08-25 02:56:51,924 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-143/.semver 02:56:52 2022-08-25 02:56:51,924 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-143/.semver 02:56:52 2022-08-25 02:56:51,924 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-143/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-143, universal_newlines=False, shell=None, istream=None) 02:56:52 2022-08-25 02:56:52,573 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-143/.git/info/exclude 02:56:52 2022-08-25 02:56:52,574 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-143/.semver/PR-143 with force:False 02:56:52 2022-08-25 02:56:52,574 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-143/.semver/PR-143 02:56:52 2022-08-25 02:56:52,578 [execute] INFO git cat-file --batch-check 02:56:52 2022-08-25 02:56:52,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-143/.semver, universal_newlines=False, shell=None, istream=) 02:56:52 2022-08-25 02:56:52,584 [execute] INFO git cat-file --batch 02:56:52 2022-08-25 02:56:52,585 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-143/.semver, universal_newlines=False, shell=None, istream=) 02:56:52 2022-08-25 02:56:52,590 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-143/.semver/PR-143 02:56:52 0.0.0 [Pipeline] } 02:56:52 $ docker exec --env ******** --env ******** 73306bc184749aeec7421613f99771887ab435750a4e8b8e47ca20968da204df ssh-agent -k 02:56:53 unset SSH_AUTH_SOCK; 02:56:53 unset SSH_AGENT_PID; 02:56:53 echo Agent pid 79 killed; 02:56:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:56:53 + git semver [Pipeline] } 02:56:53 $ docker stop --time=1 73306bc184749aeec7421613f99771887ab435750a4e8b8e47ca20968da204df 02:56:54 $ docker rm -f 73306bc184749aeec7421613f99771887ab435750a4e8b8e47ca20968da204df [Pipeline] // withDockerContainer [Pipeline] sh 02:56:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:56:55 Stashed 1 file(s) [Pipeline] echo 02:56:55 [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 02:56:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:56:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:56:55 ========================================================= 02:56:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:56:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 02:56:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:56:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:56:56 2408cc74d12b: Pulling fs layer 02:56:56 ea60b727a1ce: Pulling fs layer 02:56:56 30c4a7721957: Pulling fs layer 02:56:56 370296b7ddb6: Pulling fs layer 02:56:56 7c6cee850709: Pulling fs layer 02:56:56 39a5fcdaea64: Pulling fs layer 02:56:56 370296b7ddb6: Waiting 02:56:56 7c6cee850709: Waiting 02:56:56 d94ebbe4e438: Pulling fs layer 02:56:56 bcfd1f05c69d: Pulling fs layer 02:56:56 59ccb84bbe0f: Pulling fs layer 02:56:56 39a5fcdaea64: Waiting 02:56:56 d94ebbe4e438: Waiting 02:56:56 bcfd1f05c69d: Waiting 02:56:56 59ccb84bbe0f: Waiting 02:56:56 30c4a7721957: Verifying Checksum 02:56:56 30c4a7721957: Download complete 02:56:56 ea60b727a1ce: Verifying Checksum 02:56:56 ea60b727a1ce: Download complete 02:56:56 7c6cee850709: Verifying Checksum 02:56:56 7c6cee850709: Download complete 02:56:56 39a5fcdaea64: Verifying Checksum 02:56:56 39a5fcdaea64: Download complete 02:56:56 2408cc74d12b: Verifying Checksum 02:56:56 2408cc74d12b: Download complete 02:56:56 d94ebbe4e438: Download complete 02:56:56 2408cc74d12b: Pull complete 02:56:56 ea60b727a1ce: Pull complete 02:56:56 30c4a7721957: Pull complete 02:56:56 59ccb84bbe0f: Verifying Checksum 02:56:56 59ccb84bbe0f: Download complete 02:56:56 bcfd1f05c69d: Verifying Checksum 02:56:56 bcfd1f05c69d: Download complete 02:56:56 370296b7ddb6: Verifying Checksum 02:56:56 370296b7ddb6: Download complete 02:57:01 370296b7ddb6: Pull complete 02:57:01 7c6cee850709: Pull complete 02:57:01 39a5fcdaea64: Pull complete 02:57:01 d94ebbe4e438: Pull complete 02:57:03 bcfd1f05c69d: Pull complete 02:57:03 59ccb84bbe0f: Pull complete 02:57:03 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 02:57:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:57:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 02:57:03 + 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 02:57:04 + docker inspect -f . ci-base-image-x86_64 02:57:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:57:04 prd-ubuntu20.04-docker-8c-8g-23517 does not seem to be running inside a container 02:57:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-143 -v /w/workspace/xfoundry_go-mod-messaging_PR-143:/w/workspace/xfoundry_go-mod-messaging_PR-143:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-143@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-143@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 02:57:06 $ docker top d67d1758915bb981b04d41a7c62faaee7f5cad046a6a384e203fc871cb6e88d5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:57:07 + go version 02:57:07 go version go1.18.3 linux/amd64 [Pipeline] } 02:57:07 $ docker stop --time=1 d67d1758915bb981b04d41a7c62faaee7f5cad046a6a384e203fc871cb6e88d5 02:57:08 $ docker rm -f d67d1758915bb981b04d41a7c62faaee7f5cad046a6a384e203fc871cb6e88d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:08 + docker inspect -f . ci-base-image-x86_64 02:57:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:57:08 prd-ubuntu20.04-docker-8c-8g-23517 does not seem to be running inside a container 02:57:08 $ 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-143 -v /w/workspace/xfoundry_go-mod-messaging_PR-143:/w/workspace/xfoundry_go-mod-messaging_PR-143:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-143@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-143@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 02:57:09 $ docker top 81537b80dd44fa7ddeb0aeee9d5aae8e0b5da6ae1a18e60d911b6274459607a5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:57:09 + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-messaging_PR-143 [Pipeline] fileExists [Pipeline] sh 02:57:09 + make test 02:57:09 CGO_ENABLED=1 GO111MODULE=on go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... 02:57:09 go: downloading github.com/stretchr/testify v1.8.0 02:57:09 go: downloading github.com/pebbe/zmq4 v1.2.7 02:57:09 go: downloading github.com/nats-io/nats.go v1.16.0 02:57:09 go: downloading github.com/google/uuid v1.3.0 02:57:09 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 02:57:09 go: downloading github.com/go-redis/redis/v7 v7.3.0 02:57:09 go: downloading github.com/gorilla/websocket v1.4.2 02:57:09 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 02:57:09 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 02:57:09 go: downloading github.com/davecgh/go-spew v1.1.1 02:57:09 go: downloading github.com/pmezard/go-difflib v1.0.0 02:57:09 go: downloading github.com/stretchr/objx v0.4.0 02:57:09 go: downloading gopkg.in/yaml.v3 v3.0.1 02:57:10 go: downloading github.com/nats-io/nuid v1.0.1 02:57:10 go: downloading github.com/nats-io/nkeys v0.3.0 02:57:10 go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e 02:57:10 Still waiting to schedule task 02:57:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-23516’ is offline 02:57:22 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 02:57:25 # github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 02:57:25 internal/pkg/nats/options.go:119:127: not enough arguments in call to pkg.GenerateTLSForClientClientOptions 02:57:25 have (string, pkg.TlsConfigurationOptions, func(certPEMBlock []byte, keyPEMBlock []byte) (tls.Certificate, error), func(certFile string, keyFile string) (tls.Certificate, error)) 02:57:25 want (string, pkg.TlsConfigurationOptions, pkg.X509KeyPairCreator, pkg.X509KeyLoader, pkg.X509CaCertCreator, pkg.X509CaCertLoader, pkg.PEMDecoder) 02:57:25 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.064s coverage: 90.4% of statements 02:57:25 FAIL github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats [build failed] 02:57:25 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces [no test files] 02:57:25 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] 02:57:25 FAIL github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream [build failed] 02:57:25 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.047s coverage: 68.5% of statements 02:57:25 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 02:57:47 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.376s coverage: 83.8% of statements 02:57:47 FAIL github.com/edgexfoundry/go-mod-messaging/v2/messaging [build failed] 02:57:47 ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] 02:57:47 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.037s coverage: 100.0% of statements 02:57:47 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.024s coverage: 100.0% of statements 02:57:47 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.029s coverage: 90.9% of statements 02:57:47 FAIL 02:57:47 make: *** [Makefile:12: unittest] Error 2 [Pipeline] } 02:57:47 $ docker stop --time=1 81537b80dd44fa7ddeb0aeee9d5aae8e0b5da6ae1a18e60d911b6274459607a5 02:57:49 $ docker rm -f 81537b80dd44fa7ddeb0aeee9d5aae8e0b5da6ae1a18e60d911b6274459607a5 [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 02:57:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:57:50 02:57:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:57:50 latest: Pulling from edgex-lftools-log-publisher 02:57:50 5eb5b503b376: Pulling fs layer 02:57:50 5c69ac0246d0: Pulling fs layer 02:57:50 ec43610c2a17: Pulling fs layer 02:57:50 3a2ae6a8a46f: Pulling fs layer 02:57:50 33b1e0a273af: Pulling fs layer 02:57:50 5d3b04190fa2: Pulling fs layer 02:57:50 2f39f015ded8: Pulling fs layer 02:57:50 3a2ae6a8a46f: Waiting 02:57:50 33b1e0a273af: Waiting 02:57:50 5d3b04190fa2: Waiting 02:57:50 2f39f015ded8: Waiting 02:57:50 5c69ac0246d0: Verifying Checksum 02:57:50 5c69ac0246d0: Download complete 02:57:50 3a2ae6a8a46f: Verifying Checksum 02:57:50 3a2ae6a8a46f: Download complete 02:57:50 33b1e0a273af: Verifying Checksum 02:57:50 33b1e0a273af: Download complete 02:57:50 5d3b04190fa2: Download complete 02:57:50 ec43610c2a17: Verifying Checksum 02:57:50 ec43610c2a17: Download complete 02:57:50 5eb5b503b376: Verifying Checksum 02:57:50 5eb5b503b376: Download complete 02:57:51 2f39f015ded8: Download complete 02:57:51 5eb5b503b376: Pull complete 02:57:51 5c69ac0246d0: Pull complete 02:57:52 ec43610c2a17: Pull complete 02:57:52 3a2ae6a8a46f: Pull complete 02:57:52 33b1e0a273af: Pull complete 02:57:52 5d3b04190fa2: Pull complete 02:57:56 2f39f015ded8: Pull complete 02:57:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:57:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:57:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:57:56 prd-ubuntu20.04-docker-8c-8g-23517 does not seem to be running inside a container 02:57: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/xfoundry_go-mod-messaging_PR-143 -v /w/workspace/xfoundry_go-mod-messaging_PR-143:/w/workspace/xfoundry_go-mod-messaging_PR-143:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-143@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-143@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 02:57:58 $ docker top 04178a0df96ec57de8f610058fb3aae151611e8bcffb107e64b3c39dfc8d96d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:57:58 ---> job-cost.sh 02:57:58 lf-activate-venv: SKIPPING 02:57:58 INFO: No Stack... 02:57:59 INFO: Retrieving Pricing Info for: v3-standard-8 02:57:59 INFO: Archiving Costs [Pipeline] sh 02:58:00 + cat /w/workspace/xfoundry_go-mod-messaging_PR-143/archives/cost.csv 02:58:00 + cut -d, -f6 [Pipeline] lock 02:58:00 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-143-10-stack-cost] 02:58:00 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-143-10-stack-cost] did not exist. Created. 02:58:00 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-143-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:58:00 + echo total: 0.2199999988079071 [Pipeline] stash 02:58:00 Stashed 1 file(s) [Pipeline] } 02:58:00 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-143-10-stack-cost] [Pipeline] // lock [Pipeline] } 02:58:00 $ docker stop --time=1 04178a0df96ec57de8f610058fb3aae151611e8bcffb107e64b3c39dfc8d96d3 02:58:01 $ docker rm -f 04178a0df96ec57de8f610058fb3aae151611e8bcffb107e64b3c39dfc8d96d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:58:01 Failed in branch amd64 02:58:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23518 in /w/workspace/xfoundry_go-mod-messaging_PR-143 [Pipeline] { [Pipeline] ws 02:58:52 Running in /w/workspace/go-mod-messaging/10 [Pipeline] { [Pipeline] checkout 02:58:52 Selected Git installation does not exist. Using Default 02:58:52 The recommended git tool is: NONE 02:58:58 using credential edgex-jenkins-ssh 02:58:58 Cloning the remote Git repository 02:58:58 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 02:58:58 > git init /w/workspace/go-mod-messaging/10 # timeout=10 02:58:58 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 02:58:58 > git --version # timeout=10 02:58:58 > git --version # 'git version 2.25.1' 02:58:58 using GIT_SSH to set credentials SSH Credentials for GitHub 02:58:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:58:59 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 02:59:00 Merging remotes/origin/main commit 910d84162688bbccf14f81cbd7c538e61fcf6e89 into PR head commit 41d6aac2cfe156a4f8b75a57e486b446619cf435 02:59:00 Merge succeeded, producing 41d6aac2cfe156a4f8b75a57e486b446619cf435 02:59:00 Checking out Revision 41d6aac2cfe156a4f8b75a57e486b446619cf435 (PR-143) 02:58:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:58:59 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 02:58:59 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 02:58:59 using GIT_SSH to set credentials SSH Credentials for GitHub 02:58:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/143/head:refs/remotes/origin/PR-143 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:59:00 > git config core.sparsecheckout # timeout=10 02:59:00 > git checkout -f 41d6aac2cfe156a4f8b75a57e486b446619cf435 # timeout=10 02:59:00 > git remote # timeout=10 02:59:00 > git config --get remote.origin.url # timeout=10 02:59:00 using GIT_SSH to set credentials SSH Credentials for GitHub 02:59:00 > git merge 910d84162688bbccf14f81cbd7c538e61fcf6e89 # timeout=10 02:59:00 > git rev-parse HEAD^{commit} # timeout=10 02:59:00 > git config core.sparsecheckout # timeout=10 02:59:00 > git checkout -f 41d6aac2cfe156a4f8b75a57e486b446619cf435 # timeout=10 02:59:05 Commit message: "feat: Allow user to bring their own CA in the client" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:59:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:59:05 % Total % Received % Xferd Average Speed Time Time Time Current 02:59:05 Dload Upload Total Spent Left Speed 02:59:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91985 0 --:--:-- --:--:-- --:--:-- 91985 [Pipeline] sh 02:59:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:59:07 + sudo tee /etc/docker/daemon.new 02:59:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:59:07 { 02:59:07 "registry-mirrors": [ 02:59:07 "https://nexus3.edgexfoundry.org:10001" 02:59:07 ], 02:59:07 "bip": "10.250.0.254/24", 02:59:07 "hosts": [ 02:59:07 "tcp://0.0.0.0:5555", 02:59:07 "unix:///var/run/docker.sock" 02:59:07 ], 02:59:07 "mtu": 1458, 02:59:07 "selinux-enabled": true, 02:59:07 "seccomp-profile": "/etc/docker/seccomp.json" 02:59:07 } [Pipeline] sh 02:59:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:59:07 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 02:59:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:59:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:59:26 ========================================================= 02:59:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:59:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 02:59:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:59:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:59:28 b3c136eddcbf: Pulling fs layer 02:59:28 c0a3192eca97: Pulling fs layer 02:59:28 a050256f5b6f: Pulling fs layer 02:59:28 656be50a0ddc: Pulling fs layer 02:59:28 2bbca73fdf42: Pulling fs layer 02:59:28 46d945488cbd: Pulling fs layer 02:59:28 8a5474983e97: Pulling fs layer 02:59:28 329c88fbcd65: Pulling fs layer 02:59:28 46d945488cbd: Waiting 02:59:28 8a5474983e97: Waiting 02:59:28 329c88fbcd65: Waiting 02:59:28 656be50a0ddc: Waiting 02:59:28 2bbca73fdf42: Waiting 02:59:28 a050256f5b6f: Verifying Checksum 02:59:28 a050256f5b6f: Download complete 02:59:28 c0a3192eca97: Verifying Checksum 02:59:28 c0a3192eca97: Download complete 02:59:28 2bbca73fdf42: Verifying Checksum 02:59:28 2bbca73fdf42: Download complete 02:59:28 46d945488cbd: Verifying Checksum 02:59:28 46d945488cbd: Download complete 02:59:28 b3c136eddcbf: Verifying Checksum 02:59:29 b3c136eddcbf: Pull complete 02:59:29 329c88fbcd65: Verifying Checksum 02:59:29 329c88fbcd65: Download complete 02:59:29 c0a3192eca97: Pull complete 02:59:29 a050256f5b6f: Pull complete 02:59:30 8a5474983e97: Verifying Checksum 02:59:30 8a5474983e97: Download complete 02:59:30 656be50a0ddc: Verifying Checksum 02:59:30 656be50a0ddc: Download complete 02:59:43 656be50a0ddc: Pull complete 02:59:43 2bbca73fdf42: Pull complete 02:59:43 46d945488cbd: Pull complete 02:59:50 8a5474983e97: Pull complete 02:59:52 329c88fbcd65: Pull complete 02:59:52 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 02:59:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:59:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 02:59:52 + 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 02:59:52 + docker inspect -f . ci-base-image-arm64 02:59:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:53 prd-ubuntu20.04-docker-arm64-4c-16g-23518 does not seem to be running inside a container 02:59:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/10 -v /w/workspace/go-mod-messaging/10:/w/workspace/go-mod-messaging/10:rw,z -v /w/workspace/go-mod-messaging/10@tmp:/w/workspace/go-mod-messaging/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:59:56 $ docker top 36afa16876a352e4d0f8e648b28696734d290045f4039125061fd7babdd33dbe -eo pid,comm [Pipeline] { [Pipeline] sh 02:59:57 + go version 02:59:57 go version go1.18.3 linux/arm64 [Pipeline] } 02:59:57 $ docker stop --time=1 36afa16876a352e4d0f8e648b28696734d290045f4039125061fd7babdd33dbe 02:59:58 $ docker rm -f 36afa16876a352e4d0f8e648b28696734d290045f4039125061fd7babdd33dbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:59 + docker inspect -f . ci-base-image-arm64 02:59:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:59 prd-ubuntu20.04-docker-arm64-4c-16g-23518 does not seem to be running inside a container 02:59:59 $ 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/10 -v /w/workspace/go-mod-messaging/10:/w/workspace/go-mod-messaging/10:rw,z -v /w/workspace/go-mod-messaging/10@tmp:/w/workspace/go-mod-messaging/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:00:01 $ docker top 7ccdd563f52e2b35e3507e588b615ede8a390a193b588db3b50339a3c2435784 -eo pid,comm [Pipeline] { [Pipeline] sh 03:00:02 + git config --global --add safe.directory /w/workspace/go-mod-messaging/10 [Pipeline] fileExists [Pipeline] sh 03:00:02 + make test 03:00:02 CGO_ENABLED=1 GO111MODULE=on go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... 03:00:02 go: downloading github.com/nats-io/nats.go v1.16.0 03:00:02 go: downloading github.com/stretchr/testify v1.8.0 03:00:02 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 03:00:03 go: downloading github.com/google/uuid v1.3.0 03:00:03 go: downloading github.com/pebbe/zmq4 v1.2.7 03:00:03 go: downloading github.com/go-redis/redis/v7 v7.3.0 03:00:03 go: downloading github.com/davecgh/go-spew v1.1.1 03:00:03 go: downloading github.com/pmezard/go-difflib v1.0.0 03:00:03 go: downloading github.com/stretchr/objx v0.4.0 03:00:03 go: downloading gopkg.in/yaml.v3 v3.0.1 03:00:03 go: downloading github.com/gorilla/websocket v1.4.2 03:00:03 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 03:00:03 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 03:00:03 go: downloading github.com/nats-io/nkeys v0.3.0 03:00:03 go: downloading github.com/nats-io/nuid v1.0.1 03:00:03 go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e 03:01:00 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 03:01:22 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.215s coverage: 90.4% of statements 03:01:27 # github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 03:01:27 internal/pkg/nats/options.go:119:127: not enough arguments in call to pkg.GenerateTLSForClientClientOptions 03:01:27 have (string, pkg.TlsConfigurationOptions, func(certPEMBlock []byte, keyPEMBlock []byte) (tls.Certificate, error), func(certFile string, keyFile string) (tls.Certificate, error)) 03:01:27 want (string, pkg.TlsConfigurationOptions, pkg.X509KeyPairCreator, pkg.X509KeyLoader, pkg.X509CaCertCreator, pkg.X509CaCertLoader, pkg.PEMDecoder) 03:01:27 FAIL github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats [build failed] 03:01:27 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces [no test files] 03:01:27 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/interfaces/mocks [no test files] 03:01:27 FAIL github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream [build failed] 03:01:29 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.117s coverage: 68.5% of statements 03:01:29 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 03:01:48 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.474s coverage: 83.8% of statements 03:01:48 FAIL github.com/edgexfoundry/go-mod-messaging/v2/messaging [build failed] 03:01:48 ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] 03:01:48 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.092s coverage: 100.0% of statements 03:01:48 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.094s coverage: 100.0% of statements 03:01:48 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.063s coverage: 90.9% of statements 03:01:48 FAIL 03:01:48 make: *** [Makefile:12: unittest] Error 2 [Pipeline] } 03:01:48 $ docker stop --time=1 7ccdd563f52e2b35e3507e588b615ede8a390a193b588db3b50339a3c2435784 03:01:49 $ docker rm -f 7ccdd563f52e2b35e3507e588b615ede8a390a193b588db3b50339a3c2435784 [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 03:01:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:01:50 03:01:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:01:51 arm64: Pulling from edgex-lftools-log-publisher 03:01:51 8998bd30e6a1: Pulling fs layer 03:01:51 04944245beec: Pulling fs layer 03:01:51 699f458cf7ca: Pulling fs layer 03:01:51 765212b225bb: Pulling fs layer 03:01:51 f23df028b6ca: Pulling fs layer 03:01:51 d65c8cfc05b1: Pulling fs layer 03:01:51 2437ff75d9bd: Pulling fs layer 03:01:51 f23df028b6ca: Waiting 03:01:51 d65c8cfc05b1: Waiting 03:01:51 765212b225bb: Waiting 03:01:51 04944245beec: Verifying Checksum 03:01:51 04944245beec: Download complete 03:01:51 765212b225bb: Verifying Checksum 03:01:51 765212b225bb: Download complete 03:01:51 f23df028b6ca: Verifying Checksum 03:01:51 f23df028b6ca: Download complete 03:01:51 d65c8cfc05b1: Verifying Checksum 03:01:51 d65c8cfc05b1: Download complete 03:01:51 699f458cf7ca: Verifying Checksum 03:01:51 699f458cf7ca: Download complete 03:01:52 8998bd30e6a1: Download complete 03:01:54 2437ff75d9bd: Download complete 03:01:56 8998bd30e6a1: Pull complete 03:01:56 04944245beec: Pull complete 03:01:58 699f458cf7ca: Pull complete 03:01:58 765212b225bb: Pull complete 03:01:59 f23df028b6ca: Pull complete 03:01:59 d65c8cfc05b1: Pull complete 03:02:14 2437ff75d9bd: Pull complete 03:02:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:02:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:02:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:14 prd-ubuntu20.04-docker-arm64-4c-16g-23518 does not seem to be running inside a container 03:02:15 $ 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/10 -v /w/workspace/go-mod-messaging/10:/w/workspace/go-mod-messaging/10:rw,z -v /w/workspace/go-mod-messaging/10@tmp:/w/workspace/go-mod-messaging/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:02:17 $ docker top 2a23c0d67523e7914273846e0e0f0f982ecac8dd9991adb6db40ee6604e7b027 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:02:18 ---> job-cost.sh 03:02:18 lf-activate-venv: SKIPPING 03:02:18 INFO: No Stack... 03:02:19 INFO: Retrieving Pricing Info for: v3-standard-4 03:02:20 INFO: Archiving Costs [Pipeline] sh 03:02:20 + cat /w/workspace/go-mod-messaging/10/archives/cost.csv 03:02:20 + cut -d, -f6 [Pipeline] lock 03:02:20 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-143-10-stack-cost] 03:02:20 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-143-10-stack-cost] did not exist. Created. 03:02:20 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-143-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:02:21 /w/workspace/go-mod-messaging/10@tmp/durable-a969d942/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:02:22 + echo total: 0.10999999940395355 [Pipeline] stash 03:02:22 Warning: overwriting stash ‘stack-cost’ 03:02:22 Stashed 1 file(s) [Pipeline] } 03:02:22 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-143-10-stack-cost] [Pipeline] // lock [Pipeline] } 03:02:22 $ docker stop --time=1 2a23c0d67523e7914273846e0e0f0f982ecac8dd9991adb6db40ee6604e7b027 03:02:24 $ docker rm -f 2a23c0d67523e7914273846e0e0f0f982ecac8dd9991adb6db40ee6604e7b027 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:02:24 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 03:02:25 + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-143/archives ] 03:02:25 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-143/archives 03:02:25 total 16 03:02:25 drwxr-xr-x 3 root root 4096 Aug 25 02:57 . 03:02:25 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 02:58 .. 03:02:25 drwxr-xr-x 2 root root 4096 Aug 25 02:57 cost 03:02:25 -rw-r--r-- 1 root root 89 Aug 25 02:57 cost.csv 03:02:25 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-143/archives 03:02:25 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-143/archives 03:02:25 total 16 03:02:25 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 02:57 . 03:02:25 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 02:58 .. 03:02:25 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 02:57 cost 03:02:25 -rw-r--r-- 1 jenkins jenkins 89 Aug 25 02:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:02:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:02:26 ---> package-listing.sh 03:02:26 ++ tr '[:upper:]' '[:lower:]' 03:02:26 ++ facter osfamily 03:02:26 + OS_FAMILY=debian 03:02:26 + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-143 03:02:26 + START_PACKAGES=/tmp/packages_start.txt 03:02:26 + END_PACKAGES=/tmp/packages_end.txt 03:02:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:02:26 + PACKAGES=/tmp/packages_start.txt 03:02:26 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-143 ']' 03:02:26 + PACKAGES=/tmp/packages_end.txt 03:02:26 + case "${OS_FAMILY}" in 03:02:26 + dpkg -l 03:02:26 + grep '^ii' 03:02:26 + '[' -f /tmp/packages_start.txt ']' 03:02:26 + '[' -f /tmp/packages_end.txt ']' 03:02:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:02:26 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-143 ']' 03:02:26 + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-143/archives/ 03:02:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-143/archives/ [Pipeline] echo 03:02:26 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-143/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:02:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:02:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:27 prd-ubuntu20.04-docker-8c-8g-23517 does not seem to be running inside a container 03:02:27 $ 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-143/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-143 -v /w/workspace/xfoundry_go-mod-messaging_PR-143:/w/workspace/xfoundry_go-mod-messaging_PR-143:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-143@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-143@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 03:02:27 $ docker top 681aa69bbab9e32030924d207be9e45551966792c85e3b6991e4a06f7fbf7b00 -eo pid,comm [Pipeline] { [Pipeline] sh 03:02:28 + touch /tmp/pre-build-complete [Pipeline] sh 03:02:28 + mkdir -p /var/log/sysstat [Pipeline] sh 03:02:28 + ls /var/log/sa-host 03:02:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:02:28 provisioning config files... 03:02:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-143@tmp/config3507442070217484334tmp [Pipeline] { [Pipeline] echo 03:02:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:02:29 ---> create-netrc.sh [Pipeline] } 03:02:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:02:29 ---> python-tools-install.sh [Pipeline] echo 03:02:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:02:30 ---> sudo-logs.sh 03:02:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:02:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:02:30 ---> job-cost.sh 03:02:30 lf-activate-venv: SKIPPING 03:02:30 DEBUG: total: 0.2199999988079071 03:02:30 INFO: Retrieving Stack Cost... 03:02:30 INFO: Retrieving Pricing Info for: v3-standard-8 03:02:31 INFO: Archiving Costs [Pipeline] echo 03:02:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:02:31 ---> logs-deploy.sh 03:02:31 lf-activate-venv: SKIPPING 03:02:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-143/10 03:02:31 INFO: archiving workspace using pattern(s): 03:02:32 Archives upload complete. 03:02:32 INFO: archiving logs to Nexus