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