Pull request #158 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 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9+9d74f03b02b9392daee0521e7be44585f6ab257e (b7fdb739b7d7cbe1985b64b52f94de5992fa86cd) 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-ssh14426171707021798411.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh6908775307355292746.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-158/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-158/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15803985146457675149.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh4864262301145785412.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-158/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-158/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13459443971352833385.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 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-16370 in /w/workspace/xfoundry_go-mod-messaging_PR-158 [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-158 # 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 9d74f03b02b9392daee0521e7be44585f6ab257e into PR head commit 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 Merge succeeded, producing 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 Checking out Revision 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 (PR-158) > 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/158/head:refs/remotes/origin/PR-158 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 # 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 9d74f03b02b9392daee0521e7be44585f6ab257e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 # timeout=10 Commit message: "fix: Add retry of publish if error is EOF" > git rev-list --no-walk e5d7af468312b7a2f104e871cadfac39372e559d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:52:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:52:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:52:28 ========================================================= 17:52:28 EdgeX Global Pipelines Version Info 17:52:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:52:28 ------------------- 17:52:28 stable info: 17:52:28 ------------------- 17:52:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:52:28 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 17:52:28 Message: update stable to v1.0.234 17:52:29 ------------------- 17:52:29 experimental info: 17:52:29 ------------------- 17:52:29 Commited By: **** collab-it+edgex@linuxfoundation.org 17:52:29 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 17:52:29 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:52:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:52:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:52:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:52:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:52:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-158 [Pipeline] echo 17:52:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-158 [Pipeline] echo 17:52:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-158 [Pipeline] echo 17:52:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 [Pipeline] echo 17:52:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 54dc8da [Pipeline] echo 17:52:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:52:30 + git rev-list -1 --merges 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9~1..54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 [Pipeline] echo 17:52:30 -----------> git rev-list -1 --merges 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9~1..54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 [false] [Pipeline] sh 17:52:30 + git log --format=format:%s -1 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 [Pipeline] echo 17:52:30 ========================================================= 17:52:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:52:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:31 + git log --format=format:%s -1 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 [Pipeline] echo 17:52:31 [semverPrep] GIT_COMMIT: 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9, Commit Message: fix: Add retry of publish if error is EOF [Pipeline] echo 17:52:31 [semverPrep] This is not a build commit. [Pipeline] sh 17:52:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:52:31 + grep -v github /etc/ssh/ssh_known_hosts 17:52:31 + [ -e /tmp/ssh_known_hosts ] 17:52:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:52:31 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 17:52:31 tee -a /etc/ssh/ssh_known_hosts 17:52:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:32 17:52:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:32 0.1.4: Pulling from edgex-devops/py-git-semver 17:52:32 42c077c10790: Pulling fs layer 17:52:32 f63e77b7563a: Pulling fs layer 17:52:32 bd5fdadae976: Pulling fs layer 17:52:32 205491f53016: Pulling fs layer 17:52:32 df18705c85c3: Pulling fs layer 17:52:32 bdb3f477010e: Pulling fs layer 17:52:32 c8a8fc8e1c8f: Pulling fs layer 17:52:32 2c6e9b1d212d: Pulling fs layer 17:52:32 bdb8f0575790: Pulling fs layer 17:52:32 386e3cb2ff24: Pulling fs layer 17:52:32 2343380bae48: Pulling fs layer 17:52:32 c8a8fc8e1c8f: Waiting 17:52:32 2c6e9b1d212d: Waiting 17:52:32 386e3cb2ff24: Waiting 17:52:32 2343380bae48: Waiting 17:52:32 bdb8f0575790: Waiting 17:52:32 205491f53016: Waiting 17:52:32 df18705c85c3: Waiting 17:52:32 bdb3f477010e: Waiting 17:52:32 f63e77b7563a: Verifying Checksum 17:52:32 f63e77b7563a: Download complete 17:52:32 205491f53016: Download complete 17:52:32 df18705c85c3: Verifying Checksum 17:52:32 df18705c85c3: Download complete 17:52:32 bd5fdadae976: Verifying Checksum 17:52:32 bd5fdadae976: Download complete 17:52:32 bdb3f477010e: Verifying Checksum 17:52:32 bdb3f477010e: Download complete 17:52:32 2c6e9b1d212d: Verifying Checksum 17:52:32 2c6e9b1d212d: Download complete 17:52:32 bdb8f0575790: Download complete 17:52:32 386e3cb2ff24: Download complete 17:52:32 2343380bae48: Verifying Checksum 17:52:32 2343380bae48: Download complete 17:52:32 42c077c10790: Verifying Checksum 17:52:32 42c077c10790: Download complete 17:52:33 c8a8fc8e1c8f: Verifying Checksum 17:52:33 c8a8fc8e1c8f: Download complete 17:52:34 42c077c10790: Pull complete 17:52:34 f63e77b7563a: Pull complete 17:52:35 bd5fdadae976: Pull complete 17:52:35 205491f53016: Pull complete 17:52:35 df18705c85c3: Pull complete 17:52:35 bdb3f477010e: Pull complete 17:52:37 c8a8fc8e1c8f: Pull complete 17:52:37 2c6e9b1d212d: Pull complete 17:52:37 bdb8f0575790: Pull complete 17:52:38 386e3cb2ff24: Pull complete 17:52:38 2343380bae48: Pull complete 17:52:38 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 17:52:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:38 prd-ubuntu20.04-docker-8c-8g-16370 does not seem to be running inside a container 17:52:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-158 -v /w/workspace/xfoundry_go-mod-messaging_PR-158:/w/workspace/xfoundry_go-mod-messaging_PR-158:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-158@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-158@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 17:52:39 $ docker top c241ffceb46444cd3151f9d291f56d83c85114266fc75b4d6eace4c10a65c264 -eo pid,comm 17:52:39 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). 17:52:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:52:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:39 [ssh-agent] Looking for ssh-agent implementation... 17:52:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:40 $ docker exec c241ffceb46444cd3151f9d291f56d83c85114266fc75b4d6eace4c10a65c264 ssh-agent 17:52:40 SSH_AUTH_SOCK=/tmp/ssh-0erHEX1KwiTY/agent.33 17:52:40 SSH_AGENT_PID=39 17:52:40 Running ssh-add (command line suppressed) 17:52:40 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-158@tmp/private_key_3639520159018295749.key (/w/workspace/xfoundry_go-mod-messaging_PR-158@tmp/private_key_3639520159018295749.key) 17:52:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:40 + git tag --points-at HEAD [Pipeline] } 17:52:40 $ docker exec --env ******** --env ******** c241ffceb46444cd3151f9d291f56d83c85114266fc75b4d6eace4c10a65c264 ssh-agent -k 17:52:40 unset SSH_AUTH_SOCK; 17:52:40 unset SSH_AGENT_PID; 17:52:40 echo Agent pid 39 killed; 17:52:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:52:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:40 [ssh-agent] Looking for ssh-agent implementation... 17:52:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:40 $ docker exec c241ffceb46444cd3151f9d291f56d83c85114266fc75b4d6eace4c10a65c264 ssh-agent 17:52:41 SSH_AUTH_SOCK=/tmp/ssh-VrhLXsDFRA6B/agent.72 17:52:41 SSH_AGENT_PID=78 17:52:41 Running ssh-add (command line suppressed) 17:52:41 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-158@tmp/private_key_5607782767073899523.key (/w/workspace/xfoundry_go-mod-messaging_PR-158@tmp/private_key_5607782767073899523.key) 17:52:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:41 + git semver init 17:52:41 2022-06-29 17:52:41,682 [run_init] DEBUG init version:0.0.0 force:False 17:52:41 2022-06-29 17:52:41,683 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-158/.semver 17:52:41 2022-06-29 17:52:41,683 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-158/.semver 17:52:41 2022-06-29 17:52:41,683 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-158/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-158, universal_newlines=False, shell=None, istream=None) 17:52:42 2022-06-29 17:52:42,302 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-158/.git/info/exclude 17:52:42 2022-06-29 17:52:42,303 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-158/.semver/PR-158 with force:False 17:52:42 2022-06-29 17:52:42,303 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-158/.semver/PR-158 17:52:42 2022-06-29 17:52:42,307 [execute] INFO git cat-file --batch-check 17:52:42 2022-06-29 17:52:42,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-158/.semver, universal_newlines=False, shell=None, istream=) 17:52:42 2022-06-29 17:52:42,314 [execute] INFO git cat-file --batch 17:52:42 2022-06-29 17:52:42,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-158/.semver, universal_newlines=False, shell=None, istream=) 17:52:42 2022-06-29 17:52:42,316 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-158/.semver/PR-158 17:52:42 0.0.0 [Pipeline] } 17:52:42 $ docker exec --env ******** --env ******** c241ffceb46444cd3151f9d291f56d83c85114266fc75b4d6eace4c10a65c264 ssh-agent -k 17:52:42 unset SSH_AUTH_SOCK; 17:52:42 unset SSH_AGENT_PID; 17:52:42 echo Agent pid 78 killed; 17:52:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:52:43 + git semver [Pipeline] } 17:52:43 $ docker stop --time=1 c241ffceb46444cd3151f9d291f56d83c85114266fc75b4d6eace4c10a65c264 17:52:44 $ docker rm -f c241ffceb46444cd3151f9d291f56d83c85114266fc75b4d6eace4c10a65c264 [Pipeline] // withDockerContainer [Pipeline] sh 17:52:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:52:45 Stashed 1 file(s) [Pipeline] echo 17:52:45 [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 17:52:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:45 ========================================================= 17:52:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:52:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:52:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:52:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:52:45 59bf1c3509f3: Pulling fs layer 17:52:45 666ba61612fd: Pulling fs layer 17:52:45 8ed8ca486205: Pulling fs layer 17:52:45 cc1cd167ecdc: Pulling fs layer 17:52:45 c516ae0d96e1: Pulling fs layer 17:52:45 684cea983483: Pulling fs layer 17:52:45 dd3240ac7de5: Pulling fs layer 17:52:45 b1e948a4e11c: Pulling fs layer 17:52:45 a8fd76ee1af6: Pulling fs layer 17:52:45 646ad004c059: Pulling fs layer 17:52:45 cc1cd167ecdc: Waiting 17:52:45 684cea983483: Waiting 17:52:45 c516ae0d96e1: Waiting 17:52:45 dd3240ac7de5: Waiting 17:52:45 646ad004c059: Waiting 17:52:45 b1e948a4e11c: Waiting 17:52:45 8ed8ca486205: Verifying Checksum 17:52:45 8ed8ca486205: Download complete 17:52:45 666ba61612fd: Verifying Checksum 17:52:45 666ba61612fd: Download complete 17:52:45 c516ae0d96e1: Verifying Checksum 17:52:45 c516ae0d96e1: Download complete 17:52:45 684cea983483: Verifying Checksum 17:52:45 684cea983483: Download complete 17:52:45 dd3240ac7de5: Verifying Checksum 17:52:45 dd3240ac7de5: Download complete 17:52:45 59bf1c3509f3: Download complete 17:52:46 b1e948a4e11c: Verifying Checksum 17:52:46 b1e948a4e11c: Download complete 17:52:46 59bf1c3509f3: Pull complete 17:52:46 666ba61612fd: Pull complete 17:52:46 8ed8ca486205: Pull complete 17:52:46 646ad004c059: Verifying Checksum 17:52:46 646ad004c059: Download complete 17:52:46 a8fd76ee1af6: Verifying Checksum 17:52:46 a8fd76ee1af6: Download complete 17:52:46 cc1cd167ecdc: Download complete 17:52:50 cc1cd167ecdc: Pull complete 17:52:50 c516ae0d96e1: Pull complete 17:52:50 684cea983483: Pull complete 17:52:50 dd3240ac7de5: Pull complete 17:52:51 b1e948a4e11c: Pull complete 17:52:53 a8fd76ee1af6: Pull complete 17:52:54 646ad004c059: Pull complete 17:52:54 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 17:52:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:52:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 17:52:54 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:54 + docker inspect -f . ci-base-image-x86_64 17:52:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:54 prd-ubuntu20.04-docker-8c-8g-16370 does not seem to be running inside a container 17:52:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-158 -v /w/workspace/xfoundry_go-mod-messaging_PR-158:/w/workspace/xfoundry_go-mod-messaging_PR-158:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-158@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-158@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 17:52:57 $ docker top 44381ca841d730ce71d2d54e4ee04357b5e067d83a977a24c223dd70cb96c312 -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:57 + go version 17:52:57 go version go1.17.7 linux/amd64 [Pipeline] } 17:52:57 $ docker stop --time=1 44381ca841d730ce71d2d54e4ee04357b5e067d83a977a24c223dd70cb96c312 17:52:58 $ docker rm -f 44381ca841d730ce71d2d54e4ee04357b5e067d83a977a24c223dd70cb96c312 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:59 + docker inspect -f . ci-base-image-x86_64 17:52:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:59 prd-ubuntu20.04-docker-8c-8g-16370 does not seem to be running inside a container 17:52:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-158 -v /w/workspace/xfoundry_go-mod-messaging_PR-158:/w/workspace/xfoundry_go-mod-messaging_PR-158:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-158@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-158@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 17:52:59 $ docker top 9b10fa4f9a8f40c727afccb92d8e3c92828b6df6dbbe4a2874b7d8d2e90856e7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:53:00 + make test 17:53:00 CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... 17:53:00 go: downloading github.com/stretchr/testify v1.7.5 17:53:00 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 17:53:00 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:53:00 go: downloading github.com/pebbe/zmq4 v1.2.7 17:53:00 go: downloading github.com/pmezard/go-difflib v1.0.0 17:53:00 go: downloading github.com/davecgh/go-spew v1.1.1 17:53:00 go: downloading github.com/stretchr/objx v0.4.0 17:53:00 go: downloading gopkg.in/yaml.v3 v3.0.1 17:53:00 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 17:53:00 go: downloading github.com/gorilla/websocket v1.4.2 17:53:00 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 17:53:00 Still waiting to schedule task 17:53:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:53:10 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 17:53:14 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.062s coverage: 90.4% of statements 17:53:24 --- FAIL: TestClient_Subscribe (10.01s) 17:53:24 --- FAIL: TestClient_Subscribe/Multiple_messages_and_errors_and_messages (10.01s) 17:53:24 client_test.go:496: Timed out waiting for messages 17:53:24 FAIL 17:53:24 coverage: 70.2% of statements 17:53:24 FAIL github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 10.036s 17:53:24 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 17:53:36 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.400s coverage: 83.8% of statements 17:53:36 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.036s coverage: 85.7% of statements 17:53:36 ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] 17:53:36 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.029s coverage: 100.0% of statements 17:53:36 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.043s coverage: 100.0% of statements 17:53:36 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.027s coverage: 90.9% of statements 17:53:36 FAIL 17:53:36 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 17:53:36 $ docker stop --time=1 9b10fa4f9a8f40c727afccb92d8e3c92828b6df6dbbe4a2874b7d8d2e90856e7 17:53:38 $ docker rm -f 9b10fa4f9a8f40c727afccb92d8e3c92828b6df6dbbe4a2874b7d8d2e90856e7 [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 17:53:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:39 17:53:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:39 latest: Pulling from edgex-lftools-log-publisher 17:53:39 5eb5b503b376: Pulling fs layer 17:53:39 5c69ac0246d0: Pulling fs layer 17:53:39 ec43610c2a17: Pulling fs layer 17:53:39 3a2ae6a8a46f: Pulling fs layer 17:53:39 33b1e0a273af: Pulling fs layer 17:53:39 5d3b04190fa2: Pulling fs layer 17:53:39 2f39f015ded8: Pulling fs layer 17:53:39 3a2ae6a8a46f: Waiting 17:53:39 33b1e0a273af: Waiting 17:53:39 5d3b04190fa2: Waiting 17:53:39 2f39f015ded8: Waiting 17:53:39 5c69ac0246d0: Download complete 17:53:39 3a2ae6a8a46f: Download complete 17:53:39 33b1e0a273af: Verifying Checksum 17:53:39 33b1e0a273af: Download complete 17:53:39 ec43610c2a17: Verifying Checksum 17:53:39 ec43610c2a17: Download complete 17:53:39 5d3b04190fa2: Download complete 17:53:39 5eb5b503b376: Verifying Checksum 17:53:39 5eb5b503b376: Download complete 17:53:40 2f39f015ded8: Download complete 17:53:40 5eb5b503b376: Pull complete 17:53:41 5c69ac0246d0: Pull complete 17:53:41 ec43610c2a17: Pull complete 17:53:41 3a2ae6a8a46f: Pull complete 17:53:41 33b1e0a273af: Pull complete 17:53:41 5d3b04190fa2: Pull complete 17:53:47 2f39f015ded8: Pull complete 17:53:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:53:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:47 prd-ubuntu20.04-docker-8c-8g-16370 does not seem to be running inside a container 17:53:47 $ 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-158 -v /w/workspace/xfoundry_go-mod-messaging_PR-158:/w/workspace/xfoundry_go-mod-messaging_PR-158:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-158@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-158@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 17:53:48 $ docker top 2a6db61fc2a1297dff9a99800757e27ce9c37b60fd6b83abe5a3553a27c3a3ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:49 ---> job-cost.sh 17:53:49 lf-activate-venv: SKIPPING 17:53:49 INFO: No Stack... 17:53:49 INFO: Retrieving Pricing Info for: v3-standard-8 17:53:49 INFO: Archiving Costs [Pipeline] sh 17:53:50 + cat /w/workspace/xfoundry_go-mod-messaging_PR-158/archives/cost.csv 17:53:50 + cut -d, -f6 [Pipeline] lock 17:53:50 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-158-3-stack-cost] 17:53:50 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-158-3-stack-cost] did not exist. Created. 17:53:50 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-158-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:53:50 + echo total: 0.2199999988079071 [Pipeline] stash 17:53:50 Stashed 1 file(s) [Pipeline] } 17:53:50 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-158-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:53:50 $ docker stop --time=1 2a6db61fc2a1297dff9a99800757e27ce9c37b60fd6b83abe5a3553a27c3a3ef 17:53:51 $ docker rm -f 2a6db61fc2a1297dff9a99800757e27ce9c37b60fd6b83abe5a3553a27c3a3ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:53:51 Failed in branch amd64 17:54:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16371 in /w/workspace/xfoundry_go-mod-messaging_PR-158 [Pipeline] { [Pipeline] ws 17:54:37 Running in /w/workspace/go-mod-messaging/3 [Pipeline] { [Pipeline] checkout 17:54:37 Selected Git installation does not exist. Using Default 17:54:37 The recommended git tool is: NONE 17:54:43 using credential edgex-jenkins-ssh 17:54:43 Cloning the remote Git repository 17:54:43 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 17:54:44 > git init /w/workspace/go-mod-messaging/3 # timeout=10 17:54:44 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 17:54:44 > git --version # timeout=10 17:54:44 > git --version # 'git version 2.25.1' 17:54:44 using GIT_SSH to set credentials SSH Credentials for GitHub 17:54:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:54:45 Merging remotes/origin/main commit 9d74f03b02b9392daee0521e7be44585f6ab257e into PR head commit 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 17:54:45 Merge succeeded, producing 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 17:54:45 Checking out Revision 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 (PR-158) 17:54:45 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 17:54:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:54:45 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 17:54:45 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 17:54:45 using GIT_SSH to set credentials SSH Credentials for GitHub 17:54:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:54:45 > git config core.sparsecheckout # timeout=10 17:54:45 > git checkout -f 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 # timeout=10 17:54:45 > git remote # timeout=10 17:54:45 > git config --get remote.origin.url # timeout=10 17:54:45 using GIT_SSH to set credentials SSH Credentials for GitHub 17:54:45 > git merge 9d74f03b02b9392daee0521e7be44585f6ab257e # timeout=10 17:54:45 > git rev-parse HEAD^{commit} # timeout=10 17:54:45 > git config core.sparsecheckout # timeout=10 17:54:45 > git checkout -f 54dc8dab169c59b7d80d9e39aed3fcf437cf1ce9 # timeout=10 17:54:50 Commit message: "fix: Add retry of publish if error is EOF" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:54:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:54:50 % Total % Received % Xferd Average Speed Time Time Time Current 17:54:50 Dload Upload Total Spent Left Speed 17:54:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98814 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh 17:54:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:54:52 + sudo tee /etc/docker/daemon.new 17:54:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:54:52 { 17:54:52 "registry-mirrors": [ 17:54:52 "https://nexus3.edgexfoundry.org:10001" 17:54:52 ], 17:54:52 "bip": "10.250.0.254/24", 17:54:52 "hosts": [ 17:54:52 "tcp://0.0.0.0:5555", 17:54:52 "unix:///var/run/docker.sock" 17:54:52 ], 17:54:52 "mtu": 1458, 17:54:52 "selinux-enabled": true, 17:54:52 "seccomp-profile": "/etc/docker/seccomp.json" 17:54:52 } [Pipeline] sh 17:54:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:54:52 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 17:55:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:55:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:55:11 ========================================================= 17:55:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:55:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:55:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:55:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:55:12 9b3977197b4f: Pulling fs layer 17:55:12 1a89e8eeedd5: Pulling fs layer 17:55:12 94645a83ff95: Pulling fs layer 17:55:12 e6fb740bc735: Pulling fs layer 17:55:12 3a77bd46dcc9: Pulling fs layer 17:55:12 355e64cbe906: Pulling fs layer 17:55:12 63ab81a10011: Pulling fs layer 17:55:12 555d1d1c4555: Pulling fs layer 17:55:12 7d9057610161: Pulling fs layer 17:55:12 355e64cbe906: Waiting 17:55:12 63ab81a10011: Waiting 17:55:12 e6fb740bc735: Waiting 17:55:12 3a77bd46dcc9: Waiting 17:55:12 555d1d1c4555: Waiting 17:55:12 7d9057610161: Waiting 17:55:12 94645a83ff95: Verifying Checksum 17:55:12 94645a83ff95: Download complete 17:55:12 1a89e8eeedd5: Download complete 17:55:12 3a77bd46dcc9: Verifying Checksum 17:55:12 3a77bd46dcc9: Download complete 17:55:12 355e64cbe906: Verifying Checksum 17:55:12 355e64cbe906: Download complete 17:55:12 9b3977197b4f: Download complete 17:55:12 63ab81a10011: Verifying Checksum 17:55:12 63ab81a10011: Download complete 17:55:13 9b3977197b4f: Pull complete 17:55:13 7d9057610161: Verifying Checksum 17:55:13 7d9057610161: Download complete 17:55:14 1a89e8eeedd5: Pull complete 17:55:14 94645a83ff95: Pull complete 17:55:14 555d1d1c4555: Verifying Checksum 17:55:14 555d1d1c4555: Download complete 17:55:15 e6fb740bc735: Verifying Checksum 17:55:15 e6fb740bc735: Download complete 17:55:28 e6fb740bc735: Pull complete 17:55:28 3a77bd46dcc9: Pull complete 17:55:28 355e64cbe906: Pull complete 17:55:28 63ab81a10011: Pull complete 17:55:34 555d1d1c4555: Pull complete 17:55:36 7d9057610161: Pull complete 17:55:36 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 17:55:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:55:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 17:55:36 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:36 + docker inspect -f . ci-base-image-arm64 17:55:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:37 prd-ubuntu20.04-docker-arm64-4c-16g-16371 does not seem to be running inside a container 17:55:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/3 -v /w/workspace/go-mod-messaging/3:/w/workspace/go-mod-messaging/3:rw,z -v /w/workspace/go-mod-messaging/3@tmp:/w/workspace/go-mod-messaging/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:55:40 $ docker top a5684fafc05dbbe4725d84844be15c90f9b273e09ea331a65df6a17e11ae52f4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:55:41 + go version 17:55:41 go version go1.17.7 linux/arm64 [Pipeline] } 17:55:41 $ docker stop --time=1 a5684fafc05dbbe4725d84844be15c90f9b273e09ea331a65df6a17e11ae52f4 17:55:42 $ docker rm -f a5684fafc05dbbe4725d84844be15c90f9b273e09ea331a65df6a17e11ae52f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:43 + docker inspect -f . ci-base-image-arm64 17:55:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:43 prd-ubuntu20.04-docker-arm64-4c-16g-16371 does not seem to be running inside a container 17:55:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/3 -v /w/workspace/go-mod-messaging/3:/w/workspace/go-mod-messaging/3:rw,z -v /w/workspace/go-mod-messaging/3@tmp:/w/workspace/go-mod-messaging/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:55:44 $ docker top 13da8a8ca45d7303e72e35caf82e7f965358f22019eb4e00cc63483e02c45fdf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:55:45 + make test 17:55:45 CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... 17:55:45 go: downloading github.com/pebbe/zmq4 v1.2.7 17:55:45 go: downloading github.com/stretchr/testify v1.7.5 17:55:45 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 17:55:46 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:55:46 go: downloading github.com/davecgh/go-spew v1.1.1 17:55:46 go: downloading github.com/pmezard/go-difflib v1.0.0 17:55:46 go: downloading gopkg.in/yaml.v3 v3.0.1 17:55:46 go: downloading github.com/stretchr/objx v0.4.0 17:55:46 go: downloading github.com/gorilla/websocket v1.4.2 17:55:46 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 17:55:46 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 17:56:43 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 17:56:58 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.228s coverage: 90.4% of statements 17:57:10 --- FAIL: TestClient_Subscribe (10.01s) 17:57:10 --- FAIL: TestClient_Subscribe/Multiple_messages_and_errors_and_messages (10.00s) 17:57:10 client_test.go:496: Timed out waiting for messages 17:57:10 FAIL 17:57:10 coverage: 70.2% of statements 17:57:10 FAIL github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 10.105s 17:57:10 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 17:57:19 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.512s coverage: 83.8% of statements 17:57:19 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.066s coverage: 85.7% of statements 17:57:19 ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] 17:57:19 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.074s coverage: 100.0% of statements 17:57:19 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.053s coverage: 100.0% of statements 17:57:19 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.064s coverage: 90.9% of statements 17:57:19 FAIL 17:57:19 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 17:57:19 $ docker stop --time=1 13da8a8ca45d7303e72e35caf82e7f965358f22019eb4e00cc63483e02c45fdf 17:57:20 $ docker rm -f 13da8a8ca45d7303e72e35caf82e7f965358f22019eb4e00cc63483e02c45fdf [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 17:57:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:57:22 17:57:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:57:22 arm64: Pulling from edgex-lftools-log-publisher 17:57:22 8998bd30e6a1: Pulling fs layer 17:57:22 04944245beec: Pulling fs layer 17:57:22 699f458cf7ca: Pulling fs layer 17:57:22 765212b225bb: Pulling fs layer 17:57:22 f23df028b6ca: Pulling fs layer 17:57:22 d65c8cfc05b1: Pulling fs layer 17:57:22 2437ff75d9bd: Pulling fs layer 17:57:22 f23df028b6ca: Waiting 17:57:22 d65c8cfc05b1: Waiting 17:57:22 2437ff75d9bd: Waiting 17:57:22 765212b225bb: Waiting 17:57:22 04944245beec: Verifying Checksum 17:57:22 04944245beec: Download complete 17:57:22 765212b225bb: Verifying Checksum 17:57:22 765212b225bb: Download complete 17:57:22 f23df028b6ca: Verifying Checksum 17:57:22 f23df028b6ca: Download complete 17:57:22 d65c8cfc05b1: Verifying Checksum 17:57:22 d65c8cfc05b1: Download complete 17:57:22 699f458cf7ca: Verifying Checksum 17:57:22 699f458cf7ca: Download complete 17:57:23 8998bd30e6a1: Verifying Checksum 17:57:23 8998bd30e6a1: Download complete 17:57:25 2437ff75d9bd: Verifying Checksum 17:57:25 2437ff75d9bd: Download complete 17:57:27 8998bd30e6a1: Pull complete 17:57:27 04944245beec: Pull complete 17:57:29 699f458cf7ca: Pull complete 17:57:29 765212b225bb: Pull complete 17:57:30 f23df028b6ca: Pull complete 17:57:30 d65c8cfc05b1: Pull complete 17:57:45 2437ff75d9bd: Pull complete 17:57:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:57:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:57:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:46 prd-ubuntu20.04-docker-arm64-4c-16g-16371 does not seem to be running inside a container 17:57:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-messaging/3 -v /w/workspace/go-mod-messaging/3:/w/workspace/go-mod-messaging/3:rw,z -v /w/workspace/go-mod-messaging/3@tmp:/w/workspace/go-mod-messaging/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:57:48 $ docker top c4c62e702980f1e3bf62d50c57d862fb9c0de2f2bcddcc5abd9dad698538a2df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:49 ---> job-cost.sh 17:57:49 lf-activate-venv: SKIPPING 17:57:49 INFO: No Stack... 17:57:50 INFO: Retrieving Pricing Info for: v3-standard-4 17:57:50 INFO: Archiving Costs [Pipeline] sh 17:57:51 + cat /w/workspace/go-mod-messaging/3/archives/cost.csv 17:57:51 + cut -d, -f6 [Pipeline] lock 17:57:51 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-158-3-stack-cost] 17:57:51 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-158-3-stack-cost] did not exist. Created. 17:57:51 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-158-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:57:52 /w/workspace/go-mod-messaging/3@tmp/durable-1a6e8a71/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:57:53 + echo total: 0.10999999940395355 [Pipeline] stash 17:57:53 Warning: overwriting stash ‘stack-cost’ 17:57:53 Stashed 1 file(s) [Pipeline] } 17:57:53 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-158-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:57:53 $ docker stop --time=1 c4c62e702980f1e3bf62d50c57d862fb9c0de2f2bcddcc5abd9dad698538a2df 17:57:55 $ docker rm -f c4c62e702980f1e3bf62d50c57d862fb9c0de2f2bcddcc5abd9dad698538a2df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:57:55 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:57:56 + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-158/archives ] 17:57:56 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-158/archives 17:57:56 total 16 17:57:56 drwxr-xr-x 3 root root 4096 Jun 29 17:53 . 17:57:56 drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 17:53 .. 17:57:56 drwxr-xr-x 2 root root 4096 Jun 29 17:53 cost 17:57:56 -rw-r--r-- 1 root root 87 Jun 29 17:53 cost.csv 17:57:56 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-158/archives 17:57:56 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-158/archives 17:57:56 total 16 17:57:56 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 17:53 . 17:57:56 drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 17:53 .. 17:57:56 drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 17:53 cost 17:57:56 -rw-r--r-- 1 jenkins jenkins 87 Jun 29 17:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:57:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:57:57 ---> package-listing.sh 17:57:57 ++ facter osfamily 17:57:57 ++ tr '[:upper:]' '[:lower:]' 17:57:57 + OS_FAMILY=debian 17:57:57 + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-158 17:57:57 + START_PACKAGES=/tmp/packages_start.txt 17:57:57 + END_PACKAGES=/tmp/packages_end.txt 17:57:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:57:57 + PACKAGES=/tmp/packages_start.txt 17:57:57 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-158 ']' 17:57:57 + PACKAGES=/tmp/packages_end.txt 17:57:57 + case "${OS_FAMILY}" in 17:57:57 + dpkg -l 17:57:57 + grep '^ii' 17:57:57 + '[' -f /tmp/packages_start.txt ']' 17:57:57 + '[' -f /tmp/packages_end.txt ']' 17:57:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:57:57 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-158 ']' 17:57:57 + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-158/archives/ 17:57:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-158/archives/ [Pipeline] echo 17:57:57 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-158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:57:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:57:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:58 prd-ubuntu20.04-docker-8c-8g-16370 does not seem to be running inside a container 17:57:58 $ 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-158/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-158 -v /w/workspace/xfoundry_go-mod-messaging_PR-158:/w/workspace/xfoundry_go-mod-messaging_PR-158:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-158@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-158@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 17:57:58 $ docker top f06c398e59f5fab2d28044ac92523b454b4f3de4e825e12c087ebff7617dcacf -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:59 + touch /tmp/pre-build-complete [Pipeline] sh 17:57:59 + mkdir -p /var/log/sysstat [Pipeline] sh 17:57:59 + ls /var/log/sa-host 17:57:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:59 provisioning config files... 17:57:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-158@tmp/config655173799775728312tmp [Pipeline] { [Pipeline] echo 17:57:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:58:00 ---> create-netrc.sh [Pipeline] } 17:58:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:58:00 ---> python-tools-install.sh [Pipeline] echo 17:58:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:58:00 ---> sudo-logs.sh 17:58:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:58:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:58:01 ---> job-cost.sh 17:58:01 lf-activate-venv: SKIPPING 17:58:01 DEBUG: total: 0.2199999988079071 17:58:01 INFO: Retrieving Stack Cost... 17:58:01 INFO: Retrieving Pricing Info for: v3-standard-8 17:58:01 INFO: Archiving Costs [Pipeline] echo 17:58:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:58:02 ---> logs-deploy.sh 17:58:02 lf-activate-venv: SKIPPING 17:58:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-158/3 17:58:02 INFO: archiving workspace using pattern(s): 17:58:03 Archives upload complete. 17:58:03 INFO: archiving logs to Nexus