Pull request #158 opened 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 86586774a763b27269a636f7354772f7866227c1+9d74f03b02b9392daee0521e7be44585f6ab257e (2b13becdd89bcc18bdefcb84c1dc5fecb8165462) 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-ssh2314643278385673714.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-ssh17476106104675203164.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-158/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-158/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6400559006666040101.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-158/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh923419744703058221.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6154035774643894271.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-158/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-158/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13670081724860037327.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16288’ Running on prd-ubuntu20.04-docker-8c-8g-16293 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 86586774a763b27269a636f7354772f7866227c1 Merge succeeded, producing 86586774a763b27269a636f7354772f7866227c1 Checking out Revision 86586774a763b27269a636f7354772f7866227c1 (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 86586774a763b27269a636f7354772f7866227c1 # 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 86586774a763b27269a636f7354772f7866227c1 # timeout=10 Commit message: "feat: Handle repeated error better to not spam logs" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:55:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:55:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:55:44 ========================================================= 00:55:44 EdgeX Global Pipelines Version Info 00:55:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:55:45 ------------------- 00:55:45 stable info: 00:55:45 ------------------- 00:55:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:55:45 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 00:55:45 Message: update stable to v1.0.234 00:55:46 ------------------- 00:55:46 experimental info: 00:55:46 ------------------- 00:55:46 Commited By: **** collab-it+edgex@linuxfoundation.org 00:55:46 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 00:55:46 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:55:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 00:55:46 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 00:55:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:55:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:55:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:55:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:55:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:55:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:55:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:55:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:55:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:55:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo 00:55:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-158 [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-158 [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-158 [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 86586774a763b27269a636f7354772f7866227c1 [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8658677 [Pipeline] echo 00:55:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:55:48 + git rev-list -1 --merges 86586774a763b27269a636f7354772f7866227c1~1..86586774a763b27269a636f7354772f7866227c1 [Pipeline] echo 00:55:48 -----------> git rev-list -1 --merges 86586774a763b27269a636f7354772f7866227c1~1..86586774a763b27269a636f7354772f7866227c1 86586774a763b27269a636f7354772f7866227c1 [false] [Pipeline] sh 00:55:48 + git log --format=format:%s -1 86586774a763b27269a636f7354772f7866227c1 [Pipeline] echo 00:55:48 ========================================================= 00:55:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:55:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:55:49 + git log --format=format:%s -1 86586774a763b27269a636f7354772f7866227c1 [Pipeline] echo 00:55:49 [semverPrep] GIT_COMMIT: 86586774a763b27269a636f7354772f7866227c1, Commit Message: feat: Handle repeated error better to not spam logs [Pipeline] echo 00:55:49 [semverPrep] This is not a build commit. [Pipeline] sh 00:55:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:55:49 + grep -v github /etc/ssh/ssh_known_hosts 00:55:49 + [ -e /tmp/ssh_known_hosts ] 00:55:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:55:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:55:49 + sudo tee -a /etc/ssh/ssh_known_hosts 00:55:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:50 00:55:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:50 0.1.4: Pulling from edgex-devops/py-git-semver 00:55:50 42c077c10790: Pulling fs layer 00:55:50 f63e77b7563a: Pulling fs layer 00:55:50 bd5fdadae976: Pulling fs layer 00:55:50 205491f53016: Pulling fs layer 00:55:50 df18705c85c3: Pulling fs layer 00:55:50 bdb3f477010e: Pulling fs layer 00:55:50 c8a8fc8e1c8f: Pulling fs layer 00:55:50 2c6e9b1d212d: Pulling fs layer 00:55:50 bdb8f0575790: Pulling fs layer 00:55:50 386e3cb2ff24: Pulling fs layer 00:55:50 2343380bae48: Pulling fs layer 00:55:50 205491f53016: Waiting 00:55:50 df18705c85c3: Waiting 00:55:50 2c6e9b1d212d: Waiting 00:55:50 bdb3f477010e: Waiting 00:55:50 2343380bae48: Waiting 00:55:50 c8a8fc8e1c8f: Waiting 00:55:50 386e3cb2ff24: Waiting 00:55:50 bdb8f0575790: Waiting 00:55:50 f63e77b7563a: Download complete 00:55:50 205491f53016: Verifying Checksum 00:55:50 205491f53016: Download complete 00:55:51 bd5fdadae976: Verifying Checksum 00:55:51 bd5fdadae976: Download complete 00:55:51 df18705c85c3: Verifying Checksum 00:55:51 df18705c85c3: Download complete 00:55:51 bdb3f477010e: Verifying Checksum 00:55:51 bdb3f477010e: Download complete 00:55:51 2c6e9b1d212d: Download complete 00:55:51 bdb8f0575790: Verifying Checksum 00:55:51 bdb8f0575790: Download complete 00:55:51 386e3cb2ff24: Verifying Checksum 00:55:51 386e3cb2ff24: Download complete 00:55:51 2343380bae48: Verifying Checksum 00:55:51 2343380bae48: Download complete 00:55:51 42c077c10790: Download complete 00:55:51 c8a8fc8e1c8f: Verifying Checksum 00:55:51 c8a8fc8e1c8f: Download complete 00:55:52 42c077c10790: Pull complete 00:55:52 f63e77b7563a: Pull complete 00:55:53 bd5fdadae976: Pull complete 00:55:53 205491f53016: Pull complete 00:55:53 df18705c85c3: Pull complete 00:55:53 bdb3f477010e: Pull complete 00:55:55 c8a8fc8e1c8f: Pull complete 00:55:55 2c6e9b1d212d: Pull complete 00:55:55 bdb8f0575790: Pull complete 00:55:55 386e3cb2ff24: Pull complete 00:55:55 2343380bae48: Pull complete 00:55:56 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 00:55:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:56 prd-ubuntu20.04-docker-8c-8g-16293 does not seem to be running inside a container 00:55:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:55:57 $ docker top 944eedd8e8c95a888f247669e3533db02be3850b6d9266745722d17d993964e6 -eo pid,comm 00:55:57 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). 00:55:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:55:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:58 [ssh-agent] Looking for ssh-agent implementation... 00:55:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:58 $ docker exec 944eedd8e8c95a888f247669e3533db02be3850b6d9266745722d17d993964e6 ssh-agent 00:55:58 SSH_AUTH_SOCK=/tmp/ssh-gqRz2l5Lks5h/agent.32 00:55:58 SSH_AGENT_PID=39 00:55:58 Running ssh-add (command line suppressed) 00:55:58 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-158@tmp/private_key_1606476257051084571.key (/w/workspace/xfoundry_go-mod-messaging_PR-158@tmp/private_key_1606476257051084571.key) 00:55:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:58 + git tag --points-at HEAD [Pipeline] } 00:55:58 $ docker exec --env ******** --env ******** 944eedd8e8c95a888f247669e3533db02be3850b6d9266745722d17d993964e6 ssh-agent -k 00:55:59 unset SSH_AUTH_SOCK; 00:55:59 unset SSH_AGENT_PID; 00:55:59 echo Agent pid 39 killed; 00:55:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:55:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:59 [ssh-agent] Looking for ssh-agent implementation... 00:55:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:59 $ docker exec 944eedd8e8c95a888f247669e3533db02be3850b6d9266745722d17d993964e6 ssh-agent 00:55:59 SSH_AUTH_SOCK=/tmp/ssh-aebIDCzzr4XH/agent.73 00:55:59 SSH_AGENT_PID=80 00:55:59 Running ssh-add (command line suppressed) 00:55:59 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-158@tmp/private_key_2197671856475319065.key (/w/workspace/xfoundry_go-mod-messaging_PR-158@tmp/private_key_2197671856475319065.key) 00:55:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:59 + git semver init 00:56:00 2022-06-29 00:56:00,102 [run_init] DEBUG init version:0.0.0 force:False 00:56:00 2022-06-29 00:56:00,103 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-158/.semver 00:56:00 2022-06-29 00:56:00,103 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-158/.semver 00:56:00 2022-06-29 00:56:00,103 [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) 00:56:00 2022-06-29 00:56:00,711 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-158/.git/info/exclude 00:56:00 2022-06-29 00:56:00,712 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-158/.semver/PR-158 with force:False 00:56:00 2022-06-29 00:56:00,712 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-158/.semver/PR-158 00:56:00 2022-06-29 00:56:00,717 [execute] INFO git cat-file --batch-check 00:56:00 2022-06-29 00:56:00,717 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-158/.semver, universal_newlines=False, shell=None, istream=) 00:56:00 2022-06-29 00:56:00,723 [execute] INFO git cat-file --batch 00:56:00 2022-06-29 00:56:00,723 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-158/.semver, universal_newlines=False, shell=None, istream=) 00:56:00 2022-06-29 00:56:00,728 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-158/.semver/PR-158 00:56:00 0.0.0 [Pipeline] } 00:56:01 $ docker exec --env ******** --env ******** 944eedd8e8c95a888f247669e3533db02be3850b6d9266745722d17d993964e6 ssh-agent -k 00:56:01 unset SSH_AUTH_SOCK; 00:56:01 unset SSH_AGENT_PID; 00:56:01 echo Agent pid 80 killed; 00:56:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:56:01 + git semver [Pipeline] } 00:56:01 $ docker stop --time=1 944eedd8e8c95a888f247669e3533db02be3850b6d9266745722d17d993964e6 00:56:03 $ docker rm -f 944eedd8e8c95a888f247669e3533db02be3850b6d9266745722d17d993964e6 [Pipeline] // withDockerContainer [Pipeline] sh 00:56:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:56:03 Stashed 1 file(s) [Pipeline] echo 00:56:03 [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 00:56:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:56:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:56:04 ========================================================= 00:56:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:56:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:56:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:56:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:56:04 59bf1c3509f3: Pulling fs layer 00:56:04 666ba61612fd: Pulling fs layer 00:56:04 8ed8ca486205: Pulling fs layer 00:56:04 cc1cd167ecdc: Pulling fs layer 00:56:04 c516ae0d96e1: Pulling fs layer 00:56:04 684cea983483: Pulling fs layer 00:56:04 dd3240ac7de5: Pulling fs layer 00:56:04 b1e948a4e11c: Pulling fs layer 00:56:04 a8fd76ee1af6: Pulling fs layer 00:56:04 646ad004c059: Pulling fs layer 00:56:04 c516ae0d96e1: Waiting 00:56:04 684cea983483: Waiting 00:56:04 b1e948a4e11c: Waiting 00:56:04 a8fd76ee1af6: Waiting 00:56:04 646ad004c059: Waiting 00:56:04 dd3240ac7de5: Waiting 00:56:04 cc1cd167ecdc: Waiting 00:56:04 8ed8ca486205: Verifying Checksum 00:56:04 8ed8ca486205: Download complete 00:56:04 666ba61612fd: Download complete 00:56:04 c516ae0d96e1: Verifying Checksum 00:56:04 c516ae0d96e1: Download complete 00:56:04 684cea983483: Verifying Checksum 00:56:04 684cea983483: Download complete 00:56:04 dd3240ac7de5: Verifying Checksum 00:56:04 dd3240ac7de5: Download complete 00:56:04 59bf1c3509f3: Verifying Checksum 00:56:04 59bf1c3509f3: Download complete 00:56:05 b1e948a4e11c: Verifying Checksum 00:56:05 b1e948a4e11c: Download complete 00:56:05 59bf1c3509f3: Pull complete 00:56:05 666ba61612fd: Pull complete 00:56:05 8ed8ca486205: Pull complete 00:56:05 646ad004c059: Verifying Checksum 00:56:05 646ad004c059: Download complete 00:56:05 cc1cd167ecdc: Verifying Checksum 00:56:05 cc1cd167ecdc: Download complete 00:56:05 a8fd76ee1af6: Verifying Checksum 00:56:05 a8fd76ee1af6: Download complete 00:56:09 cc1cd167ecdc: Pull complete 00:56:09 c516ae0d96e1: Pull complete 00:56:09 684cea983483: Pull complete 00:56:09 dd3240ac7de5: Pull complete 00:56:09 b1e948a4e11c: Pull complete 00:56:11 a8fd76ee1af6: Pull complete 00:56:12 646ad004c059: Pull complete 00:56:12 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 00:56:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:56:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 00:56:13 + 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 00:56:13 + docker inspect -f . ci-base-image-x86_64 00:56:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:13 prd-ubuntu20.04-docker-8c-8g-16293 does not seem to be running inside a container 00:56:13 $ 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 ******** ci-base-image-x86_64 cat 00:56:15 $ docker top c8c50a1933870fa8c9b20a7c3d28b073690896d47f85cb07907e84e7564f4e70 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:16 + go version 00:56:16 go version go1.17.7 linux/amd64 [Pipeline] } 00:56:16 $ docker stop --time=1 c8c50a1933870fa8c9b20a7c3d28b073690896d47f85cb07907e84e7564f4e70 00:56:17 $ docker rm -f c8c50a1933870fa8c9b20a7c3d28b073690896d47f85cb07907e84e7564f4e70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:18 + docker inspect -f . ci-base-image-x86_64 00:56:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:18 prd-ubuntu20.04-docker-8c-8g-16293 does not seem to be running inside a container 00:56:18 $ 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 ******** ci-base-image-x86_64 cat 00:56:18 $ docker top 4ee04759aac50411a0c15668b84ccdb3745ad104b194c294ebc6a64ca44b2389 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:56:19 Still waiting to schedule task 00:56:19 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16292’ 00:56:19 + make test 00:56:19 CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... 00:56:19 go: downloading github.com/stretchr/testify v1.7.5 00:56:19 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 00:56:19 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:56:19 go: downloading github.com/pebbe/zmq4 v1.2.7 00:56:19 go: downloading github.com/pmezard/go-difflib v1.0.0 00:56:19 go: downloading github.com/stretchr/objx v0.4.0 00:56:19 go: downloading github.com/davecgh/go-spew v1.1.1 00:56:19 go: downloading gopkg.in/yaml.v3 v3.0.1 00:56:19 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 00:56:19 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 00:56:19 go: downloading github.com/gorilla/websocket v1.4.2 00:56:29 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 00:56:32 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.053s coverage: 90.4% of statements 00:56:42 ================== 00:56:42 WARNING: DATA RACE 00:56:42 Write at 0x00c0002100b0 by goroutine 36: 00:56:42 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe.func1() 00:56:42 /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client.go:171 +0x291 00:56:42 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe·dwrap·1() 00:56:42 /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client.go:176 +0x66 00:56:42 00:56:42 Previous write at 0x00c0002100b0 by goroutine 35: 00:56:42 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe.func1() 00:56:42 /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client.go:171 +0x291 00:56:42 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe·dwrap·1() 00:56:42 /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client.go:176 +0x66 00:56:42 00:56:42 Goroutine 36 (running) created at: 00:56:42 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe() 00:56:42 /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client.go:153 +0x264 00:56:42 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.TestClient_Subscribe.func1() 00:56:42 /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client_test.go:360 +0x3a4 00:56:42 testing.tRunner() 00:56:42 /usr/local/go/src/testing/testing.go:1259 +0x22f 00:56:42 testing.(*T).Run·dwrap·21() 00:56:42 /usr/local/go/src/testing/testing.go:1306 +0x47 00:56:42 00:56:42 Goroutine 35 (running) created at: 00:56:42 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe() 00:56:42 /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client.go:153 +0x264 00:56:42 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.TestClient_Subscribe.func1() 00:56:42 /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client_test.go:360 +0x3a4 00:56:42 testing.tRunner() 00:56:42 /usr/local/go/src/testing/testing.go:1259 +0x22f 00:56:42 testing.(*T).Run·dwrap·21() 00:56:42 /usr/local/go/src/testing/testing.go:1306 +0x47 00:56:42 ================== 00:56:42 --- FAIL: TestClient_Subscribe (10.01s) 00:56:42 --- FAIL: TestClient_Subscribe/Single_error (0.00s) 00:56:42 testing.go:1152: race detected during execution of test 00:56:42 --- FAIL: TestClient_Subscribe/Multiple_messages_and_errors_and_messages (10.00s) 00:56:42 client_test.go:496: Timed out waiting for messages 00:56:42 testing.go:1152: race detected during execution of test 00:56:42 FAIL 00:56:42 coverage: 70.2% of statements 00:56:42 FAIL github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 10.036s 00:56:42 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 00:56:55 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.379s coverage: 83.8% of statements 00:56:55 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.037s coverage: 85.7% of statements 00:56:55 ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] 00:56:55 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.039s coverage: 100.0% of statements 00:56:55 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.024s coverage: 100.0% of statements 00:56:55 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.030s coverage: 90.9% of statements 00:56:55 FAIL 00:56:55 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 00:56:55 $ docker stop --time=1 4ee04759aac50411a0c15668b84ccdb3745ad104b194c294ebc6a64ca44b2389 00:56:57 $ docker rm -f 4ee04759aac50411a0c15668b84ccdb3745ad104b194c294ebc6a64ca44b2389 [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 00:56:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:58 00:56:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:58 latest: Pulling from edgex-lftools-log-publisher 00:56:58 5eb5b503b376: Pulling fs layer 00:56:58 5c69ac0246d0: Pulling fs layer 00:56:58 ec43610c2a17: Pulling fs layer 00:56:58 3a2ae6a8a46f: Pulling fs layer 00:56:58 33b1e0a273af: Pulling fs layer 00:56:58 5d3b04190fa2: Pulling fs layer 00:56:58 2f39f015ded8: Pulling fs layer 00:56:58 33b1e0a273af: Waiting 00:56:58 5d3b04190fa2: Waiting 00:56:58 2f39f015ded8: Waiting 00:56:58 3a2ae6a8a46f: Waiting 00:56:58 5c69ac0246d0: Download complete 00:56:58 3a2ae6a8a46f: Verifying Checksum 00:56:58 3a2ae6a8a46f: Download complete 00:56:58 33b1e0a273af: Verifying Checksum 00:56:58 33b1e0a273af: Download complete 00:56:58 5d3b04190fa2: Download complete 00:56:58 ec43610c2a17: Verifying Checksum 00:56:58 ec43610c2a17: Download complete 00:56:58 5eb5b503b376: Verifying Checksum 00:56:58 5eb5b503b376: Download complete 00:56:59 2f39f015ded8: Download complete 00:57:00 5eb5b503b376: Pull complete 00:57:00 5c69ac0246d0: Pull complete 00:57:00 ec43610c2a17: Pull complete 00:57:00 3a2ae6a8a46f: Pull complete 00:57:01 33b1e0a273af: Pull complete 00:57:01 5d3b04190fa2: Pull complete 00:57:06 2f39f015ded8: Pull complete 00:57:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:57:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:06 prd-ubuntu20.04-docker-8c-8g-16293 does not seem to be running inside a container 00:57:06 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:57:08 $ docker top 1b13f89ccfd1ac36d40343fd03e97d8a9065032508a402e6d1ce5411079d4151 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:09 ---> job-cost.sh 00:57:09 lf-activate-venv: SKIPPING 00:57:09 INFO: No Stack... 00:57:09 INFO: Retrieving Pricing Info for: v3-standard-8 00:57:09 INFO: Archiving Costs [Pipeline] sh 00:57:10 + cat /w/workspace/xfoundry_go-mod-messaging_PR-158/archives/cost.csv 00:57:10 + cut -d, -f6 [Pipeline] lock 00:57:10 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] 00:57:10 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] did not exist. Created. 00:57:10 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:57:10 + echo total: 0.2199999988079071 [Pipeline] stash 00:57:10 Stashed 1 file(s) [Pipeline] } 00:57:10 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:57:10 $ docker stop --time=1 1b13f89ccfd1ac36d40343fd03e97d8a9065032508a402e6d1ce5411079d4151 00:57:11 $ docker rm -f 1b13f89ccfd1ac36d40343fd03e97d8a9065032508a402e6d1ce5411079d4151 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:57:12 Failed in branch amd64 00:59:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16294 in /w/workspace/xfoundry_go-mod-messaging_PR-158 [Pipeline] { [Pipeline] ws 00:59:59 Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout 00:59:59 Selected Git installation does not exist. Using Default 00:59:59 The recommended git tool is: NONE 01:00:07 using credential edgex-jenkins-ssh 01:00:07 Cloning the remote Git repository 01:00:07 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 01:00:07 > git init /w/workspace/go-mod-messaging/1 # timeout=10 01:00:07 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 01:00:07 > git --version # timeout=10 01:00:07 > git --version # 'git version 2.25.1' 01:00:07 using GIT_SSH to set credentials SSH Credentials for GitHub 01:00:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:00:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 01:00:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:00:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 01:00:08 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 01:00:08 using GIT_SSH to set credentials SSH Credentials for GitHub 01:00:08 > 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 01:00:09 Merging remotes/origin/main commit 9d74f03b02b9392daee0521e7be44585f6ab257e into PR head commit 86586774a763b27269a636f7354772f7866227c1 01:00:09 Merge succeeded, producing 86586774a763b27269a636f7354772f7866227c1 01:00:09 Checking out Revision 86586774a763b27269a636f7354772f7866227c1 (PR-158) 01:00:09 > git config core.sparsecheckout # timeout=10 01:00:09 > git checkout -f 86586774a763b27269a636f7354772f7866227c1 # timeout=10 01:00:09 > git remote # timeout=10 01:00:09 > git config --get remote.origin.url # timeout=10 01:00:09 using GIT_SSH to set credentials SSH Credentials for GitHub 01:00:09 > git merge 9d74f03b02b9392daee0521e7be44585f6ab257e # timeout=10 01:00:09 > git rev-parse HEAD^{commit} # timeout=10 01:00:09 > git config core.sparsecheckout # timeout=10 01:00:09 > git checkout -f 86586774a763b27269a636f7354772f7866227c1 # timeout=10 01:00:13 Commit message: "feat: Handle repeated error better to not spam logs" 01:00:13 > git --version # timeout=10 01:00:13 > git --version # 'git version 2.25.1' 01:00:13 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:00:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:00:14 % Total % Received % Xferd Average Speed Time Time Time Current 01:00:14 Dload Upload Total Spent Left Speed 01:00:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 90095 0 --:--:-- --:--:-- --:--:-- 90095 [Pipeline] sh 01:00:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:00:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:00:16 + sudo tee /etc/docker/daemon.new 01:00:16 { 01:00:16 "registry-mirrors": [ 01:00:16 "https://nexus3.edgexfoundry.org:10001" 01:00:16 ], 01:00:16 "bip": "10.250.0.254/24", 01:00:16 "hosts": [ 01:00:16 "tcp://0.0.0.0:5555", 01:00:16 "unix:///var/run/docker.sock" 01:00:16 ], 01:00:16 "mtu": 1458, 01:00:16 "selinux-enabled": true, 01:00:16 "seccomp-profile": "/etc/docker/seccomp.json" 01:00:16 } [Pipeline] sh 01:00:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:00:16 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 01:00:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:00:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:00:35 ========================================================= 01:00:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:00:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 01:00:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:00:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:00:36 9b3977197b4f: Pulling fs layer 01:00:36 1a89e8eeedd5: Pulling fs layer 01:00:36 94645a83ff95: Pulling fs layer 01:00:36 e6fb740bc735: Pulling fs layer 01:00:36 3a77bd46dcc9: Pulling fs layer 01:00:36 355e64cbe906: Pulling fs layer 01:00:36 63ab81a10011: Pulling fs layer 01:00:36 555d1d1c4555: Pulling fs layer 01:00:36 7d9057610161: Pulling fs layer 01:00:36 355e64cbe906: Waiting 01:00:36 63ab81a10011: Waiting 01:00:36 e6fb740bc735: Waiting 01:00:36 3a77bd46dcc9: Waiting 01:00:36 7d9057610161: Waiting 01:00:36 555d1d1c4555: Waiting 01:00:36 94645a83ff95: Verifying Checksum 01:00:36 94645a83ff95: Download complete 01:00:36 1a89e8eeedd5: Verifying Checksum 01:00:36 1a89e8eeedd5: Download complete 01:00:36 3a77bd46dcc9: Download complete 01:00:36 355e64cbe906: Verifying Checksum 01:00:36 355e64cbe906: Download complete 01:00:36 9b3977197b4f: Verifying Checksum 01:00:36 9b3977197b4f: Download complete 01:00:37 63ab81a10011: Verifying Checksum 01:00:37 63ab81a10011: Download complete 01:00:38 9b3977197b4f: Pull complete 01:00:38 7d9057610161: Verifying Checksum 01:00:38 7d9057610161: Download complete 01:00:38 1a89e8eeedd5: Pull complete 01:00:38 94645a83ff95: Pull complete 01:00:39 555d1d1c4555: Verifying Checksum 01:00:39 555d1d1c4555: Download complete 01:00:39 e6fb740bc735: Verifying Checksum 01:00:39 e6fb740bc735: Download complete 01:00:52 e6fb740bc735: Pull complete 01:00:52 3a77bd46dcc9: Pull complete 01:00:52 355e64cbe906: Pull complete 01:00:52 63ab81a10011: Pull complete 01:00:58 555d1d1c4555: Pull complete 01:01:00 7d9057610161: Pull complete 01:01:00 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 01:01:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:01:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 01:01:00 + 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 01:01:01 + docker inspect -f . ci-base-image-arm64 01:01:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:01 prd-ubuntu20.04-docker-arm64-4c-16g-16294 does not seem to be running inside a container 01:01:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@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 ******** ci-base-image-arm64 cat 01:01:04 $ docker top 063573d5338853cb8826e8b5954712dbf0cbdfe9775fb46a4e28d2da257918d9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:05 + go version 01:01:05 go version go1.17.7 linux/arm64 [Pipeline] } 01:01:05 $ docker stop --time=1 063573d5338853cb8826e8b5954712dbf0cbdfe9775fb46a4e28d2da257918d9 01:01:07 $ docker rm -f 063573d5338853cb8826e8b5954712dbf0cbdfe9775fb46a4e28d2da257918d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:08 + docker inspect -f . ci-base-image-arm64 01:01:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:08 prd-ubuntu20.04-docker-arm64-4c-16g-16294 does not seem to be running inside a container 01:01:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@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 ******** ci-base-image-arm64 cat 01:01:10 $ docker top aeffc40edda178a48539dc0a7e2f208357be2ba65b3fc9fdd3000883dc7472d5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:01:11 + make test 01:01:11 CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... 01:01:11 go: downloading github.com/stretchr/testify v1.7.5 01:01:11 go: downloading github.com/pebbe/zmq4 v1.2.7 01:01:11 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 01:01:11 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:01:11 go: downloading github.com/davecgh/go-spew v1.1.1 01:01:11 go: downloading github.com/pmezard/go-difflib v1.0.0 01:01:11 go: downloading github.com/stretchr/objx v0.4.0 01:01:11 go: downloading gopkg.in/yaml.v3 v3.0.1 01:01:11 go: downloading github.com/gorilla/websocket v1.4.2 01:01:11 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 01:01:11 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 01:02:08 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 01:02:30 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.202s coverage: 90.4% of statements 01:02:42 ================== 01:02:42 WARNING: DATA RACE 01:02:42 Write at 0x00c0000945e0 by goroutine 36: 01:02:42 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe.func1() 01:02:42 /w/workspace/go-mod-messaging/1/internal/pkg/redis/client.go:171 +0x264 01:02:42 01:02:42 Previous write at 0x00c0000945e0 by goroutine 35: 01:02:42 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe.func1() 01:02:42 /w/workspace/go-mod-messaging/1/internal/pkg/redis/client.go:171 +0x264 01:02:42 01:02:42 Goroutine 36 (running) created at: 01:02:42 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe() 01:02:42 /w/workspace/go-mod-messaging/1/internal/pkg/redis/client.go:153 +0x2a4 01:02:42 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.TestClient_Subscribe.func1() 01:02:42 /w/workspace/go-mod-messaging/1/internal/pkg/redis/client_test.go:360 +0x29c 01:02:42 testing.tRunner() 01:02:42 /usr/local/go/src/testing/testing.go:1259 +0x198 01:02:42 01:02:42 Goroutine 35 (running) created at: 01:02:42 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe() 01:02:42 /w/workspace/go-mod-messaging/1/internal/pkg/redis/client.go:153 +0x2a4 01:02:42 github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.TestClient_Subscribe.func1() 01:02:42 /w/workspace/go-mod-messaging/1/internal/pkg/redis/client_test.go:360 +0x29c 01:02:42 testing.tRunner() 01:02:42 /usr/local/go/src/testing/testing.go:1259 +0x198 01:02:42 ================== 01:02:42 --- FAIL: TestClient_Subscribe (10.02s) 01:02:42 --- FAIL: TestClient_Subscribe/Single_error (0.00s) 01:02:42 testing.go:1152: race detected during execution of test 01:02:42 --- FAIL: TestClient_Subscribe/Multiple_messages_and_errors_and_messages (10.00s) 01:02:42 client_test.go:496: Timed out waiting for messages 01:02:42 testing.go:1152: race detected during execution of test 01:02:42 FAIL 01:02:42 coverage: 70.2% of statements 01:02:42 FAIL github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 10.109s 01:02:42 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 01:02:49 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.472s coverage: 83.8% of statements 01:02:49 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.069s coverage: 85.7% of statements 01:02:49 ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] 01:02:49 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.074s coverage: 100.0% of statements 01:02:49 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.064s coverage: 100.0% of statements 01:02:49 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.067s coverage: 90.9% of statements 01:02:49 FAIL 01:02:49 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 01:02:49 $ docker stop --time=1 aeffc40edda178a48539dc0a7e2f208357be2ba65b3fc9fdd3000883dc7472d5 01:02:51 $ docker rm -f aeffc40edda178a48539dc0a7e2f208357be2ba65b3fc9fdd3000883dc7472d5 [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 01:02:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:02:53 01:02:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:02:53 arm64: Pulling from edgex-lftools-log-publisher 01:02:53 8998bd30e6a1: Pulling fs layer 01:02:53 04944245beec: Pulling fs layer 01:02:53 699f458cf7ca: Pulling fs layer 01:02:53 765212b225bb: Pulling fs layer 01:02:53 f23df028b6ca: Pulling fs layer 01:02:53 d65c8cfc05b1: Pulling fs layer 01:02:53 2437ff75d9bd: Pulling fs layer 01:02:53 f23df028b6ca: Waiting 01:02:53 765212b225bb: Waiting 01:02:53 d65c8cfc05b1: Waiting 01:02:53 2437ff75d9bd: Waiting 01:02:53 04944245beec: Verifying Checksum 01:02:53 04944245beec: Download complete 01:02:53 765212b225bb: Verifying Checksum 01:02:53 765212b225bb: Download complete 01:02:53 f23df028b6ca: Verifying Checksum 01:02:53 f23df028b6ca: Download complete 01:02:53 d65c8cfc05b1: Verifying Checksum 01:02:53 d65c8cfc05b1: Download complete 01:02:54 699f458cf7ca: Verifying Checksum 01:02:54 699f458cf7ca: Download complete 01:02:54 8998bd30e6a1: Download complete 01:02:57 2437ff75d9bd: Verifying Checksum 01:02:57 2437ff75d9bd: Download complete 01:02:59 8998bd30e6a1: Pull complete 01:02:59 04944245beec: Pull complete 01:03:00 699f458cf7ca: Pull complete 01:03:01 765212b225bb: Pull complete 01:03:01 f23df028b6ca: Pull complete 01:03:01 d65c8cfc05b1: Pull complete 01:03:17 2437ff75d9bd: Pull complete 01:03:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:03:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:03:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:17 prd-ubuntu20.04-docker-arm64-4c-16g-16294 does not seem to be running inside a container 01:03:17 $ 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/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@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:arm64 cat 01:03:20 $ docker top fe3659c176d8f059b9a19f4a4cb2c6e9585be00f6ef0d3a55682d98bd7a96913 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:03:21 ---> job-cost.sh 01:03:21 lf-activate-venv: SKIPPING 01:03:21 INFO: No Stack... 01:03:21 INFO: Retrieving Pricing Info for: v3-standard-4 01:03:22 INFO: Archiving Costs [Pipeline] sh 01:03:23 + cat /w/workspace/go-mod-messaging/1/archives/cost.csv 01:03:23 + cut -d, -f6 [Pipeline] lock 01:03:23 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] 01:03:23 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] did not exist. Created. 01:03:23 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:03:24 /w/workspace/go-mod-messaging/1@tmp/durable-19d91e70/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:03:24 + echo total: 0.10999999940395355 [Pipeline] stash 01:03:24 Warning: overwriting stash ‘stack-cost’ 01:03:25 Stashed 1 file(s) [Pipeline] } 01:03:25 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:03:25 $ docker stop --time=1 fe3659c176d8f059b9a19f4a4cb2c6e9585be00f6ef0d3a55682d98bd7a96913 01:03:26 $ docker rm -f fe3659c176d8f059b9a19f4a4cb2c6e9585be00f6ef0d3a55682d98bd7a96913 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:03:27 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:03:29 + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-158/archives ] 01:03:29 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-158/archives 01:03:29 total 16 01:03:29 drwxr-xr-x 3 root root 4096 Jun 29 00:57 . 01:03:29 drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 00:57 .. 01:03:29 drwxr-xr-x 2 root root 4096 Jun 29 00:57 cost 01:03:29 -rw-r--r-- 1 root root 87 Jun 29 00:57 cost.csv 01:03:29 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-158/archives 01:03:29 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-158/archives 01:03:29 total 16 01:03:29 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 00:57 . 01:03:29 drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 00:57 .. 01:03:29 drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 00:57 cost 01:03:29 -rw-r--r-- 1 jenkins jenkins 87 Jun 29 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:03:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:03:31 ---> package-listing.sh 01:03:31 ++ facter osfamily 01:03:31 ++ tr '[:upper:]' '[:lower:]' 01:03:31 + OS_FAMILY=debian 01:03:31 + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-158 01:03:31 + START_PACKAGES=/tmp/packages_start.txt 01:03:31 + END_PACKAGES=/tmp/packages_end.txt 01:03:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:03:31 + PACKAGES=/tmp/packages_start.txt 01:03:31 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-158 ']' 01:03:31 + PACKAGES=/tmp/packages_end.txt 01:03:31 + case "${OS_FAMILY}" in 01:03:31 + dpkg -l 01:03:31 + grep '^ii' 01:03:31 + '[' -f /tmp/packages_start.txt ']' 01:03:31 + '[' -f /tmp/packages_end.txt ']' 01:03:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:03:31 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-158 ']' 01:03:31 + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-158/archives/ 01:03:31 + 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 01:03:31 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 01:03:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:03:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:32 prd-ubuntu20.04-docker-8c-8g-16293 does not seem to be running inside a container 01:03:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:03:32 $ docker top 089dd93a33ae425513f0d4c8d9b15313690f4637086987ee0fdb75c232a942da -eo pid,comm [Pipeline] { [Pipeline] sh 01:03:33 + touch /tmp/pre-build-complete [Pipeline] sh 01:03:33 + mkdir -p /var/log/sysstat [Pipeline] sh 01:03:33 + ls /var/log/sa-host 01:03:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:03:33 provisioning config files... 01:03:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-158@tmp/config736481361410660241tmp [Pipeline] { [Pipeline] echo 01:03:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:03:34 ---> create-netrc.sh [Pipeline] } 01:03:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:03:34 ---> python-tools-install.sh [Pipeline] echo 01:03:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:03:35 ---> sudo-logs.sh 01:03:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:03:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:03:35 ---> job-cost.sh 01:03:35 lf-activate-venv: SKIPPING 01:03:35 DEBUG: total: 0.2199999988079071 01:03:35 INFO: Retrieving Stack Cost... 01:03:35 INFO: Retrieving Pricing Info for: v3-standard-8 01:03:36 INFO: Archiving Costs [Pipeline] echo 01:03:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:03:36 ---> logs-deploy.sh 01:03:36 lf-activate-venv: SKIPPING 01:03:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-158/1 01:03:36 INFO: archiving workspace using pattern(s): 01:03:37 Archives upload complete. 01:03:37 INFO: archiving logs to Nexus