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 [2022-06-29T00:55:44.509Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T00:55:44.652Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T00:55:44.725Z] ========================================================= [2022-06-29T00:55:44.725Z] EdgeX Global Pipelines Version Info [2022-06-29T00:55:44.725Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-29T00:55:45.529Z] ------------------- [2022-06-29T00:55:45.529Z] stable info: [2022-06-29T00:55:45.529Z] ------------------- [2022-06-29T00:55:45.529Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T00:55:45.529Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T00:55:45.529Z] Message: update stable to v1.0.234 [2022-06-29T00:55:46.104Z] ------------------- [2022-06-29T00:55:46.104Z] experimental info: [2022-06-29T00:55:46.104Z] ------------------- [2022-06-29T00:55:46.104Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T00:55:46.104Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T00:55:46.104Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T00:55:46.496Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2022-06-29T00:55:46.535Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2022-06-29T00:55:46.576Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T00:55:46.623Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T00:55:46.659Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T00:55:46.696Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T00:55:46.734Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T00:55:46.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-29T00:55:46.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T00:55:46.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T00:55:46.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T00:55:46.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo [2022-06-29T00:55:46.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T00:55:47.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T00:55:47.073Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T00:55:47.114Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T00:55:47.156Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T00:55:47.192Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T00:55:47.238Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T00:55:47.276Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T00:55:47.321Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-29T00:55:47.364Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-29T00:55:47.405Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T00:55:47.452Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T00:55:47.500Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-06-29T00:55:47.544Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T00:55:47.591Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T00:55:47.637Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-158 [Pipeline] echo [2022-06-29T00:55:47.677Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-158 [Pipeline] echo [2022-06-29T00:55:47.724Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-158 [Pipeline] echo [2022-06-29T00:55:47.771Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 86586774a763b27269a636f7354772f7866227c1 [Pipeline] echo [2022-06-29T00:55:47.812Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8658677 [Pipeline] echo [2022-06-29T00:55:47.853Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-29T00:55:48.382Z] + git rev-list -1 --merges 86586774a763b27269a636f7354772f7866227c1~1..86586774a763b27269a636f7354772f7866227c1 [Pipeline] echo [2022-06-29T00:55:48.435Z] -----------> git rev-list -1 --merges 86586774a763b27269a636f7354772f7866227c1~1..86586774a763b27269a636f7354772f7866227c1 86586774a763b27269a636f7354772f7866227c1 [false] [Pipeline] sh [2022-06-29T00:55:48.752Z] + git log --format=format:%s -1 86586774a763b27269a636f7354772f7866227c1 [Pipeline] echo [2022-06-29T00:55:48.792Z] ========================================================= [2022-06-29T00:55:48.792Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T00:55:48.792Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T00:55:49.232Z] + git log --format=format:%s -1 86586774a763b27269a636f7354772f7866227c1 [Pipeline] echo [2022-06-29T00:55:49.265Z] [semverPrep] GIT_COMMIT: 86586774a763b27269a636f7354772f7866227c1, Commit Message: feat: Handle repeated error better to not spam logs [Pipeline] echo [2022-06-29T00:55:49.298Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T00:55:49.704Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T00:55:49.704Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T00:55:49.704Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T00:55:49.704Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T00:55:49.704Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-29T00:55:49.704Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-29T00:55:49.704Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T00:55:50.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T00:55:50.463Z] [2022-06-29T00:55:50.463Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T00:55:50.849Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T00:55:50.849Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T00:55:50.849Z] 42c077c10790: Pulling fs layer [2022-06-29T00:55:50.849Z] f63e77b7563a: Pulling fs layer [2022-06-29T00:55:50.849Z] bd5fdadae976: Pulling fs layer [2022-06-29T00:55:50.849Z] 205491f53016: Pulling fs layer [2022-06-29T00:55:50.849Z] df18705c85c3: Pulling fs layer [2022-06-29T00:55:50.849Z] bdb3f477010e: Pulling fs layer [2022-06-29T00:55:50.849Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T00:55:50.849Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T00:55:50.849Z] bdb8f0575790: Pulling fs layer [2022-06-29T00:55:50.849Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T00:55:50.849Z] 2343380bae48: Pulling fs layer [2022-06-29T00:55:50.849Z] 205491f53016: Waiting [2022-06-29T00:55:50.849Z] df18705c85c3: Waiting [2022-06-29T00:55:50.849Z] 2c6e9b1d212d: Waiting [2022-06-29T00:55:50.849Z] bdb3f477010e: Waiting [2022-06-29T00:55:50.849Z] 2343380bae48: Waiting [2022-06-29T00:55:50.849Z] c8a8fc8e1c8f: Waiting [2022-06-29T00:55:50.849Z] 386e3cb2ff24: Waiting [2022-06-29T00:55:50.849Z] bdb8f0575790: Waiting [2022-06-29T00:55:50.849Z] f63e77b7563a: Download complete [2022-06-29T00:55:50.849Z] 205491f53016: Verifying Checksum [2022-06-29T00:55:50.849Z] 205491f53016: Download complete [2022-06-29T00:55:51.113Z] bd5fdadae976: Verifying Checksum [2022-06-29T00:55:51.113Z] bd5fdadae976: Download complete [2022-06-29T00:55:51.113Z] df18705c85c3: Verifying Checksum [2022-06-29T00:55:51.113Z] df18705c85c3: Download complete [2022-06-29T00:55:51.113Z] bdb3f477010e: Verifying Checksum [2022-06-29T00:55:51.113Z] bdb3f477010e: Download complete [2022-06-29T00:55:51.113Z] 2c6e9b1d212d: Download complete [2022-06-29T00:55:51.113Z] bdb8f0575790: Verifying Checksum [2022-06-29T00:55:51.113Z] bdb8f0575790: Download complete [2022-06-29T00:55:51.113Z] 386e3cb2ff24: Verifying Checksum [2022-06-29T00:55:51.113Z] 386e3cb2ff24: Download complete [2022-06-29T00:55:51.113Z] 2343380bae48: Verifying Checksum [2022-06-29T00:55:51.113Z] 2343380bae48: Download complete [2022-06-29T00:55:51.113Z] 42c077c10790: Download complete [2022-06-29T00:55:51.373Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-29T00:55:51.373Z] c8a8fc8e1c8f: Download complete [2022-06-29T00:55:52.755Z] 42c077c10790: Pull complete [2022-06-29T00:55:52.755Z] f63e77b7563a: Pull complete [2022-06-29T00:55:53.327Z] bd5fdadae976: Pull complete [2022-06-29T00:55:53.327Z] 205491f53016: Pull complete [2022-06-29T00:55:53.588Z] df18705c85c3: Pull complete [2022-06-29T00:55:53.588Z] bdb3f477010e: Pull complete [2022-06-29T00:55:55.499Z] c8a8fc8e1c8f: Pull complete [2022-06-29T00:55:55.499Z] 2c6e9b1d212d: Pull complete [2022-06-29T00:55:55.761Z] bdb8f0575790: Pull complete [2022-06-29T00:55:55.761Z] 386e3cb2ff24: Pull complete [2022-06-29T00:55:55.761Z] 2343380bae48: Pull complete [2022-06-29T00:55:56.023Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T00:55:56.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T00:55:56.023Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T00:55:56.248Z] prd-ubuntu20.04-docker-8c-8g-16293 does not seem to be running inside a container [2022-06-29T00:55:56.291Z] $ 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 [2022-06-29T00:55:57.915Z] $ docker top 944eedd8e8c95a888f247669e3533db02be3850b6d9266745722d17d993964e6 -eo pid,comm [2022-06-29T00:55:57.985Z] 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). [2022-06-29T00:55:57.985Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T00:55:58.107Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T00:55:58.107Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T00:55:58.243Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T00:55:58.249Z] $ docker exec 944eedd8e8c95a888f247669e3533db02be3850b6d9266745722d17d993964e6 ssh-agent [2022-06-29T00:55:58.369Z] SSH_AUTH_SOCK=/tmp/ssh-gqRz2l5Lks5h/agent.32 [2022-06-29T00:55:58.369Z] SSH_AGENT_PID=39 [2022-06-29T00:55:58.376Z] Running ssh-add (command line suppressed) [2022-06-29T00:55:58.510Z] 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) [2022-06-29T00:55:58.522Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T00:55:58.857Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T00:55:58.889Z] $ docker exec --env ******** --env ******** 944eedd8e8c95a888f247669e3533db02be3850b6d9266745722d17d993964e6 ssh-agent -k [2022-06-29T00:55:59.000Z] unset SSH_AUTH_SOCK; [2022-06-29T00:55:59.001Z] unset SSH_AGENT_PID; [2022-06-29T00:55:59.001Z] echo Agent pid 39 killed; [2022-06-29T00:55:59.009Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T00:55:59.102Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T00:55:59.102Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T00:55:59.240Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T00:55:59.247Z] $ docker exec 944eedd8e8c95a888f247669e3533db02be3850b6d9266745722d17d993964e6 ssh-agent [2022-06-29T00:55:59.387Z] SSH_AUTH_SOCK=/tmp/ssh-aebIDCzzr4XH/agent.73 [2022-06-29T00:55:59.387Z] SSH_AGENT_PID=80 [2022-06-29T00:55:59.395Z] Running ssh-add (command line suppressed) [2022-06-29T00:55:59.533Z] 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) [2022-06-29T00:55:59.546Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T00:55:59.894Z] + git semver init [2022-06-29T00:56:00.154Z] 2022-06-29 00:56:00,102 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T00:56:00.154Z] 2022-06-29 00:56:00,103 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-158/.semver [2022-06-29T00:56:00.154Z] 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 [2022-06-29T00:56:00.154Z] 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) [2022-06-29T00:56:00.727Z] 2022-06-29 00:56:00,711 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-158/.git/info/exclude [2022-06-29T00:56:00.727Z] 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 [2022-06-29T00:56:00.727Z] 2022-06-29 00:56:00,712 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-158/.semver/PR-158 [2022-06-29T00:56:00.727Z] 2022-06-29 00:56:00,717 [execute] INFO git cat-file --batch-check [2022-06-29T00:56:00.727Z] 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=) [2022-06-29T00:56:00.727Z] 2022-06-29 00:56:00,723 [execute] INFO git cat-file --batch [2022-06-29T00:56:00.727Z] 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=) [2022-06-29T00:56:00.727Z] 2022-06-29 00:56:00,728 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-158/.semver/PR-158 [2022-06-29T00:56:00.727Z] 0.0.0 [Pipeline] } [2022-06-29T00:56:01.010Z] $ docker exec --env ******** --env ******** 944eedd8e8c95a888f247669e3533db02be3850b6d9266745722d17d993964e6 ssh-agent -k [2022-06-29T00:56:01.115Z] unset SSH_AUTH_SOCK; [2022-06-29T00:56:01.115Z] unset SSH_AGENT_PID; [2022-06-29T00:56:01.115Z] echo Agent pid 80 killed; [2022-06-29T00:56:01.127Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T00:56:01.553Z] + git semver [Pipeline] } [2022-06-29T00:56:01.847Z] $ docker stop --time=1 944eedd8e8c95a888f247669e3533db02be3850b6d9266745722d17d993964e6 [2022-06-29T00:56:03.182Z] $ docker rm -f 944eedd8e8c95a888f247669e3533db02be3850b6d9266745722d17d993964e6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T00:56:03.613Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T00:56:03.927Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T00:56:03.946Z] [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 [2022-06-29T00:56:04.523Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T00:56:04.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T00:56:04.587Z] ========================================================= [2022-06-29T00:56:04.587Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T00:56:04.587Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-06-29T00:56:04.972Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T00:56:04.972Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T00:56:04.972Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T00:56:04.972Z] 666ba61612fd: Pulling fs layer [2022-06-29T00:56:04.972Z] 8ed8ca486205: Pulling fs layer [2022-06-29T00:56:04.972Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T00:56:04.972Z] c516ae0d96e1: Pulling fs layer [2022-06-29T00:56:04.972Z] 684cea983483: Pulling fs layer [2022-06-29T00:56:04.972Z] dd3240ac7de5: Pulling fs layer [2022-06-29T00:56:04.972Z] b1e948a4e11c: Pulling fs layer [2022-06-29T00:56:04.972Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T00:56:04.972Z] 646ad004c059: Pulling fs layer [2022-06-29T00:56:04.972Z] c516ae0d96e1: Waiting [2022-06-29T00:56:04.972Z] 684cea983483: Waiting [2022-06-29T00:56:04.972Z] b1e948a4e11c: Waiting [2022-06-29T00:56:04.972Z] a8fd76ee1af6: Waiting [2022-06-29T00:56:04.972Z] 646ad004c059: Waiting [2022-06-29T00:56:04.972Z] dd3240ac7de5: Waiting [2022-06-29T00:56:04.972Z] cc1cd167ecdc: Waiting [2022-06-29T00:56:04.972Z] 8ed8ca486205: Verifying Checksum [2022-06-29T00:56:04.972Z] 8ed8ca486205: Download complete [2022-06-29T00:56:04.972Z] 666ba61612fd: Download complete [2022-06-29T00:56:04.972Z] c516ae0d96e1: Verifying Checksum [2022-06-29T00:56:04.972Z] c516ae0d96e1: Download complete [2022-06-29T00:56:04.972Z] 684cea983483: Verifying Checksum [2022-06-29T00:56:04.972Z] 684cea983483: Download complete [2022-06-29T00:56:04.972Z] dd3240ac7de5: Verifying Checksum [2022-06-29T00:56:04.972Z] dd3240ac7de5: Download complete [2022-06-29T00:56:04.972Z] 59bf1c3509f3: Verifying Checksum [2022-06-29T00:56:04.972Z] 59bf1c3509f3: Download complete [2022-06-29T00:56:05.242Z] b1e948a4e11c: Verifying Checksum [2022-06-29T00:56:05.242Z] b1e948a4e11c: Download complete [2022-06-29T00:56:05.242Z] 59bf1c3509f3: Pull complete [2022-06-29T00:56:05.242Z] 666ba61612fd: Pull complete [2022-06-29T00:56:05.503Z] 8ed8ca486205: Pull complete [2022-06-29T00:56:05.503Z] 646ad004c059: Verifying Checksum [2022-06-29T00:56:05.503Z] 646ad004c059: Download complete [2022-06-29T00:56:05.766Z] cc1cd167ecdc: Verifying Checksum [2022-06-29T00:56:05.766Z] cc1cd167ecdc: Download complete [2022-06-29T00:56:05.766Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T00:56:05.766Z] a8fd76ee1af6: Download complete [2022-06-29T00:56:09.972Z] cc1cd167ecdc: Pull complete [2022-06-29T00:56:09.972Z] c516ae0d96e1: Pull complete [2022-06-29T00:56:09.972Z] 684cea983483: Pull complete [2022-06-29T00:56:09.972Z] dd3240ac7de5: Pull complete [2022-06-29T00:56:09.972Z] b1e948a4e11c: Pull complete [2022-06-29T00:56:11.905Z] a8fd76ee1af6: Pull complete [2022-06-29T00:56:12.853Z] 646ad004c059: Pull complete [2022-06-29T00:56:12.853Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T00:56:12.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T00:56:12.853Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh [2022-06-29T00:56:13.166Z] + 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 [2022-06-29T00:56:13.553Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T00:56:13.553Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T00:56:13.726Z] prd-ubuntu20.04-docker-8c-8g-16293 does not seem to be running inside a container [2022-06-29T00:56:13.768Z] $ 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 [2022-06-29T00:56:15.835Z] $ docker top c8c50a1933870fa8c9b20a7c3d28b073690896d47f85cb07907e84e7564f4e70 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T00:56:16.235Z] + go version [2022-06-29T00:56:16.236Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T00:56:16.265Z] $ docker stop --time=1 c8c50a1933870fa8c9b20a7c3d28b073690896d47f85cb07907e84e7564f4e70 [2022-06-29T00:56:17.543Z] $ 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 [2022-06-29T00:56:18.320Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T00:56:18.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T00:56:18.491Z] prd-ubuntu20.04-docker-8c-8g-16293 does not seem to be running inside a container [2022-06-29T00:56:18.529Z] $ 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 [2022-06-29T00:56:18.948Z] $ docker top 4ee04759aac50411a0c15668b84ccdb3745ad104b194c294ebc6a64ca44b2389 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T00:56:19.367Z] Still waiting to schedule task [2022-06-29T00:56:19.367Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16292’ [2022-06-29T00:56:19.394Z] + make test [2022-06-29T00:56:19.394Z] CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... [2022-06-29T00:56:19.394Z] go: downloading github.com/stretchr/testify v1.7.5 [2022-06-29T00:56:19.394Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-06-29T00:56:19.394Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-29T00:56:19.394Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-29T00:56:19.394Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-29T00:56:19.394Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-06-29T00:56:19.394Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-29T00:56:19.394Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-06-29T00:56:19.654Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-06-29T00:56:19.654Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2022-06-29T00:56:19.654Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-29T00:56:29.657Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-06-29T00:56:32.955Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.053s coverage: 90.4% of statements [2022-06-29T00:56:42.960Z] ================== [2022-06-29T00:56:42.960Z] WARNING: DATA RACE [2022-06-29T00:56:42.960Z] Write at 0x00c0002100b0 by goroutine 36: [2022-06-29T00:56:42.960Z] github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe.func1() [2022-06-29T00:56:42.960Z] /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client.go:171 +0x291 [2022-06-29T00:56:42.960Z] github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe·dwrap·1() [2022-06-29T00:56:42.960Z] /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client.go:176 +0x66 [2022-06-29T00:56:42.960Z] [2022-06-29T00:56:42.960Z] Previous write at 0x00c0002100b0 by goroutine 35: [2022-06-29T00:56:42.960Z] github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe.func1() [2022-06-29T00:56:42.960Z] /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client.go:171 +0x291 [2022-06-29T00:56:42.960Z] github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe·dwrap·1() [2022-06-29T00:56:42.960Z] /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client.go:176 +0x66 [2022-06-29T00:56:42.960Z] [2022-06-29T00:56:42.960Z] Goroutine 36 (running) created at: [2022-06-29T00:56:42.960Z] github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe() [2022-06-29T00:56:42.960Z] /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client.go:153 +0x264 [2022-06-29T00:56:42.960Z] github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.TestClient_Subscribe.func1() [2022-06-29T00:56:42.960Z] /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client_test.go:360 +0x3a4 [2022-06-29T00:56:42.960Z] testing.tRunner() [2022-06-29T00:56:42.960Z] /usr/local/go/src/testing/testing.go:1259 +0x22f [2022-06-29T00:56:42.960Z] testing.(*T).Run·dwrap·21() [2022-06-29T00:56:42.960Z] /usr/local/go/src/testing/testing.go:1306 +0x47 [2022-06-29T00:56:42.960Z] [2022-06-29T00:56:42.960Z] Goroutine 35 (running) created at: [2022-06-29T00:56:42.960Z] github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe() [2022-06-29T00:56:42.960Z] /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client.go:153 +0x264 [2022-06-29T00:56:42.960Z] github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.TestClient_Subscribe.func1() [2022-06-29T00:56:42.960Z] /w/workspace/xfoundry_go-mod-messaging_PR-158/internal/pkg/redis/client_test.go:360 +0x3a4 [2022-06-29T00:56:42.960Z] testing.tRunner() [2022-06-29T00:56:42.960Z] /usr/local/go/src/testing/testing.go:1259 +0x22f [2022-06-29T00:56:42.960Z] testing.(*T).Run·dwrap·21() [2022-06-29T00:56:42.960Z] /usr/local/go/src/testing/testing.go:1306 +0x47 [2022-06-29T00:56:42.960Z] ================== [2022-06-29T00:56:42.960Z] --- FAIL: TestClient_Subscribe (10.01s) [2022-06-29T00:56:42.960Z] --- FAIL: TestClient_Subscribe/Single_error (0.00s) [2022-06-29T00:56:42.960Z] testing.go:1152: race detected during execution of test [2022-06-29T00:56:42.960Z] --- FAIL: TestClient_Subscribe/Multiple_messages_and_errors_and_messages (10.00s) [2022-06-29T00:56:42.960Z] client_test.go:496: Timed out waiting for messages [2022-06-29T00:56:42.960Z] testing.go:1152: race detected during execution of test [2022-06-29T00:56:42.960Z] FAIL [2022-06-29T00:56:42.960Z] coverage: 70.2% of statements [2022-06-29T00:56:42.960Z] FAIL github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 10.036s [2022-06-29T00:56:42.960Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-06-29T00:56:55.315Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.379s coverage: 83.8% of statements [2022-06-29T00:56:55.315Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.037s coverage: 85.7% of statements [2022-06-29T00:56:55.315Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-06-29T00:56:55.315Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.039s coverage: 100.0% of statements [2022-06-29T00:56:55.315Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.024s coverage: 100.0% of statements [2022-06-29T00:56:55.315Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.030s coverage: 90.9% of statements [2022-06-29T00:56:55.315Z] FAIL [2022-06-29T00:56:55.315Z] make: *** [Makefile:10: unittest] Error 1 [Pipeline] } [2022-06-29T00:56:55.365Z] $ docker stop --time=1 4ee04759aac50411a0c15668b84ccdb3745ad104b194c294ebc6a64ca44b2389 [2022-06-29T00:56:57.045Z] $ 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 [2022-06-29T00:56:58.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T00:56:58.195Z] [2022-06-29T00:56:58.195Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T00:56:58.572Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T00:56:58.572Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T00:56:58.572Z] 5eb5b503b376: Pulling fs layer [2022-06-29T00:56:58.572Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T00:56:58.572Z] ec43610c2a17: Pulling fs layer [2022-06-29T00:56:58.572Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T00:56:58.572Z] 33b1e0a273af: Pulling fs layer [2022-06-29T00:56:58.572Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T00:56:58.572Z] 2f39f015ded8: Pulling fs layer [2022-06-29T00:56:58.572Z] 33b1e0a273af: Waiting [2022-06-29T00:56:58.572Z] 5d3b04190fa2: Waiting [2022-06-29T00:56:58.572Z] 2f39f015ded8: Waiting [2022-06-29T00:56:58.572Z] 3a2ae6a8a46f: Waiting [2022-06-29T00:56:58.572Z] 5c69ac0246d0: Download complete [2022-06-29T00:56:58.572Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-29T00:56:58.572Z] 3a2ae6a8a46f: Download complete [2022-06-29T00:56:58.834Z] 33b1e0a273af: Verifying Checksum [2022-06-29T00:56:58.834Z] 33b1e0a273af: Download complete [2022-06-29T00:56:58.834Z] 5d3b04190fa2: Download complete [2022-06-29T00:56:58.834Z] ec43610c2a17: Verifying Checksum [2022-06-29T00:56:58.834Z] ec43610c2a17: Download complete [2022-06-29T00:56:58.834Z] 5eb5b503b376: Verifying Checksum [2022-06-29T00:56:58.834Z] 5eb5b503b376: Download complete [2022-06-29T00:56:59.404Z] 2f39f015ded8: Download complete [2022-06-29T00:57:00.344Z] 5eb5b503b376: Pull complete [2022-06-29T00:57:00.344Z] 5c69ac0246d0: Pull complete [2022-06-29T00:57:00.915Z] ec43610c2a17: Pull complete [2022-06-29T00:57:00.915Z] 3a2ae6a8a46f: Pull complete [2022-06-29T00:57:01.176Z] 33b1e0a273af: Pull complete [2022-06-29T00:57:01.176Z] 5d3b04190fa2: Pull complete [2022-06-29T00:57:06.459Z] 2f39f015ded8: Pull complete [2022-06-29T00:57:06.459Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T00:57:06.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T00:57:06.459Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T00:57:06.689Z] prd-ubuntu20.04-docker-8c-8g-16293 does not seem to be running inside a container [2022-06-29T00:57:06.728Z] $ 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 [2022-06-29T00:57:08.579Z] $ docker top 1b13f89ccfd1ac36d40343fd03e97d8a9065032508a402e6d1ce5411079d4151 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T00:57:09.060Z] ---> job-cost.sh [2022-06-29T00:57:09.060Z] lf-activate-venv: SKIPPING [2022-06-29T00:57:09.060Z] INFO: No Stack... [2022-06-29T00:57:09.322Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T00:57:09.894Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T00:57:10.213Z] + cat /w/workspace/xfoundry_go-mod-messaging_PR-158/archives/cost.csv [2022-06-29T00:57:10.214Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T00:57:10.250Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] [2022-06-29T00:57:10.255Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] did not exist. Created. [2022-06-29T00:57:10.255Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T00:57:10.647Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T00:57:10.698Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T00:57:10.722Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T00:57:10.801Z] $ docker stop --time=1 1b13f89ccfd1ac36d40343fd03e97d8a9065032508a402e6d1ce5411079d4151 [2022-06-29T00:57:11.954Z] $ docker rm -f 1b13f89ccfd1ac36d40343fd03e97d8a9065032508a402e6d1ce5411079d4151 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T00:57:12.318Z] Failed in branch amd64 [2022-06-29T00:59:59.494Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16294 in /w/workspace/xfoundry_go-mod-messaging_PR-158 [Pipeline] { [Pipeline] ws [2022-06-29T00:59:59.536Z] Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout [2022-06-29T00:59:59.612Z] Selected Git installation does not exist. Using Default [2022-06-29T00:59:59.612Z] The recommended git tool is: NONE [2022-06-29T01:00:07.185Z] using credential edgex-jenkins-ssh [2022-06-29T01:00:07.204Z] Cloning the remote Git repository [2022-06-29T01:00:07.267Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2022-06-29T01:00:07.353Z] > git init /w/workspace/go-mod-messaging/1 # timeout=10 [2022-06-29T01:00:07.515Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2022-06-29T01:00:07.517Z] > git --version # timeout=10 [2022-06-29T01:00:07.567Z] > git --version # 'git version 2.25.1' [2022-06-29T01:00:07.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T01:00:07.728Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T01:00:08.437Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2022-06-29T01:00:08.463Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T01:00:08.502Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2022-06-29T01:00:08.562Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2022-06-29T01:00:08.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T01:00:08.579Z] > 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 [2022-06-29T01:00:09.088Z] Merging remotes/origin/main commit 9d74f03b02b9392daee0521e7be44585f6ab257e into PR head commit 86586774a763b27269a636f7354772f7866227c1 [2022-06-29T01:00:09.345Z] Merge succeeded, producing 86586774a763b27269a636f7354772f7866227c1 [2022-06-29T01:00:09.346Z] Checking out Revision 86586774a763b27269a636f7354772f7866227c1 (PR-158) [2022-06-29T01:00:09.109Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T01:00:09.143Z] > git checkout -f 86586774a763b27269a636f7354772f7866227c1 # timeout=10 [2022-06-29T01:00:09.244Z] > git remote # timeout=10 [2022-06-29T01:00:09.262Z] > git config --get remote.origin.url # timeout=10 [2022-06-29T01:00:09.278Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T01:00:09.292Z] > git merge 9d74f03b02b9392daee0521e7be44585f6ab257e # timeout=10 [2022-06-29T01:00:09.319Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-29T01:00:09.356Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T01:00:09.376Z] > git checkout -f 86586774a763b27269a636f7354772f7866227c1 # timeout=10 [2022-06-29T01:00:13.524Z] Commit message: "feat: Handle repeated error better to not spam logs" [2022-06-29T01:00:13.583Z] > git --version # timeout=10 [2022-06-29T01:00:13.594Z] > git --version # 'git version 2.25.1' [2022-06-29T01:00:13.609Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T01:00:14.843Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T01:00:14.843Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T01:00:14.843Z] Dload Upload Total Spent Left Speed [2022-06-29T01:00:14.843Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 90095 0 --:--:-- --:--:-- --:--:-- 90095 [Pipeline] sh [2022-06-29T01:00:15.898Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T01:00:16.256Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T01:00:16.256Z] + sudo tee /etc/docker/daemon.new [2022-06-29T01:00:16.256Z] { [2022-06-29T01:00:16.256Z] "registry-mirrors": [ [2022-06-29T01:00:16.256Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T01:00:16.256Z] ], [2022-06-29T01:00:16.256Z] "bip": "10.250.0.254/24", [2022-06-29T01:00:16.256Z] "hosts": [ [2022-06-29T01:00:16.256Z] "tcp://0.0.0.0:5555", [2022-06-29T01:00:16.256Z] "unix:///var/run/docker.sock" [2022-06-29T01:00:16.256Z] ], [2022-06-29T01:00:16.256Z] "mtu": 1458, [2022-06-29T01:00:16.256Z] "selinux-enabled": true, [2022-06-29T01:00:16.256Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T01:00:16.256Z] } [Pipeline] sh [2022-06-29T01:00:16.618Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T01:00:16.976Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-06-29T01:00:35.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T01:00:35.699Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T01:00:35.732Z] ========================================================= [2022-06-29T01:00:35.732Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T01:00:35.732Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-06-29T01:00:36.161Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T01:00:36.766Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T01:00:36.766Z] 9b3977197b4f: Pulling fs layer [2022-06-29T01:00:36.766Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T01:00:36.766Z] 94645a83ff95: Pulling fs layer [2022-06-29T01:00:36.766Z] e6fb740bc735: Pulling fs layer [2022-06-29T01:00:36.766Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T01:00:36.766Z] 355e64cbe906: Pulling fs layer [2022-06-29T01:00:36.766Z] 63ab81a10011: Pulling fs layer [2022-06-29T01:00:36.766Z] 555d1d1c4555: Pulling fs layer [2022-06-29T01:00:36.766Z] 7d9057610161: Pulling fs layer [2022-06-29T01:00:36.766Z] 355e64cbe906: Waiting [2022-06-29T01:00:36.766Z] 63ab81a10011: Waiting [2022-06-29T01:00:36.766Z] e6fb740bc735: Waiting [2022-06-29T01:00:36.766Z] 3a77bd46dcc9: Waiting [2022-06-29T01:00:36.766Z] 7d9057610161: Waiting [2022-06-29T01:00:36.766Z] 555d1d1c4555: Waiting [2022-06-29T01:00:36.766Z] 94645a83ff95: Verifying Checksum [2022-06-29T01:00:36.766Z] 94645a83ff95: Download complete [2022-06-29T01:00:36.766Z] 1a89e8eeedd5: Verifying Checksum [2022-06-29T01:00:36.766Z] 1a89e8eeedd5: Download complete [2022-06-29T01:00:36.766Z] 3a77bd46dcc9: Download complete [2022-06-29T01:00:36.766Z] 355e64cbe906: Verifying Checksum [2022-06-29T01:00:36.766Z] 355e64cbe906: Download complete [2022-06-29T01:00:36.766Z] 9b3977197b4f: Verifying Checksum [2022-06-29T01:00:36.766Z] 9b3977197b4f: Download complete [2022-06-29T01:00:37.046Z] 63ab81a10011: Verifying Checksum [2022-06-29T01:00:37.046Z] 63ab81a10011: Download complete [2022-06-29T01:00:38.045Z] 9b3977197b4f: Pull complete [2022-06-29T01:00:38.045Z] 7d9057610161: Verifying Checksum [2022-06-29T01:00:38.045Z] 7d9057610161: Download complete [2022-06-29T01:00:38.323Z] 1a89e8eeedd5: Pull complete [2022-06-29T01:00:38.601Z] 94645a83ff95: Pull complete [2022-06-29T01:00:39.204Z] 555d1d1c4555: Verifying Checksum [2022-06-29T01:00:39.204Z] 555d1d1c4555: Download complete [2022-06-29T01:00:39.804Z] e6fb740bc735: Verifying Checksum [2022-06-29T01:00:39.804Z] e6fb740bc735: Download complete [2022-06-29T01:00:52.214Z] e6fb740bc735: Pull complete [2022-06-29T01:00:52.214Z] 3a77bd46dcc9: Pull complete [2022-06-29T01:00:52.214Z] 355e64cbe906: Pull complete [2022-06-29T01:00:52.214Z] 63ab81a10011: Pull complete [2022-06-29T01:00:58.932Z] 555d1d1c4555: Pull complete [2022-06-29T01:01:00.374Z] 7d9057610161: Pull complete [2022-06-29T01:01:00.374Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T01:01:00.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T01:01:00.374Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh [2022-06-29T01:01:00.729Z] + 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 [2022-06-29T01:01:01.147Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T01:01:01.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T01:01:01.485Z] prd-ubuntu20.04-docker-arm64-4c-16g-16294 does not seem to be running inside a container [2022-06-29T01:01:01.586Z] $ 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 [2022-06-29T01:01:04.594Z] $ docker top 063573d5338853cb8826e8b5954712dbf0cbdfe9775fb46a4e28d2da257918d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T01:01:05.560Z] + go version [2022-06-29T01:01:05.560Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T01:01:05.600Z] $ docker stop --time=1 063573d5338853cb8826e8b5954712dbf0cbdfe9775fb46a4e28d2da257918d9 [2022-06-29T01:01:07.263Z] $ 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 [2022-06-29T01:01:08.244Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T01:01:08.244Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T01:01:08.588Z] prd-ubuntu20.04-docker-arm64-4c-16g-16294 does not seem to be running inside a container [2022-06-29T01:01:08.704Z] $ 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 [2022-06-29T01:01:10.048Z] $ docker top aeffc40edda178a48539dc0a7e2f208357be2ba65b3fc9fdd3000883dc7472d5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T01:01:11.065Z] + make test [2022-06-29T01:01:11.065Z] CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... [2022-06-29T01:01:11.065Z] go: downloading github.com/stretchr/testify v1.7.5 [2022-06-29T01:01:11.065Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-29T01:01:11.340Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 [2022-06-29T01:01:11.340Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-29T01:01:11.619Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-29T01:01:11.619Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-29T01:01:11.619Z] go: downloading github.com/stretchr/objx v0.4.0 [2022-06-29T01:01:11.619Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2022-06-29T01:01:11.619Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-29T01:01:11.619Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2022-06-29T01:01:11.619Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-06-29T01:02:08.217Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-06-29T01:02:30.447Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.202s coverage: 90.4% of statements [2022-06-29T01:02:42.852Z] ================== [2022-06-29T01:02:42.852Z] WARNING: DATA RACE [2022-06-29T01:02:42.852Z] Write at 0x00c0000945e0 by goroutine 36: [2022-06-29T01:02:42.852Z] github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe.func1() [2022-06-29T01:02:42.852Z] /w/workspace/go-mod-messaging/1/internal/pkg/redis/client.go:171 +0x264 [2022-06-29T01:02:42.852Z] [2022-06-29T01:02:42.852Z] Previous write at 0x00c0000945e0 by goroutine 35: [2022-06-29T01:02:42.852Z] github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe.func1() [2022-06-29T01:02:42.852Z] /w/workspace/go-mod-messaging/1/internal/pkg/redis/client.go:171 +0x264 [2022-06-29T01:02:42.852Z] [2022-06-29T01:02:42.852Z] Goroutine 36 (running) created at: [2022-06-29T01:02:42.852Z] github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe() [2022-06-29T01:02:42.852Z] /w/workspace/go-mod-messaging/1/internal/pkg/redis/client.go:153 +0x2a4 [2022-06-29T01:02:42.852Z] github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.TestClient_Subscribe.func1() [2022-06-29T01:02:42.852Z] /w/workspace/go-mod-messaging/1/internal/pkg/redis/client_test.go:360 +0x29c [2022-06-29T01:02:42.852Z] testing.tRunner() [2022-06-29T01:02:42.852Z] /usr/local/go/src/testing/testing.go:1259 +0x198 [2022-06-29T01:02:42.852Z] [2022-06-29T01:02:42.852Z] Goroutine 35 (running) created at: [2022-06-29T01:02:42.852Z] github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.Client.Subscribe() [2022-06-29T01:02:42.852Z] /w/workspace/go-mod-messaging/1/internal/pkg/redis/client.go:153 +0x2a4 [2022-06-29T01:02:42.852Z] github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis.TestClient_Subscribe.func1() [2022-06-29T01:02:42.852Z] /w/workspace/go-mod-messaging/1/internal/pkg/redis/client_test.go:360 +0x29c [2022-06-29T01:02:42.852Z] testing.tRunner() [2022-06-29T01:02:42.852Z] /usr/local/go/src/testing/testing.go:1259 +0x198 [2022-06-29T01:02:42.852Z] ================== [2022-06-29T01:02:42.852Z] --- FAIL: TestClient_Subscribe (10.02s) [2022-06-29T01:02:42.852Z] --- FAIL: TestClient_Subscribe/Single_error (0.00s) [2022-06-29T01:02:42.852Z] testing.go:1152: race detected during execution of test [2022-06-29T01:02:42.852Z] --- FAIL: TestClient_Subscribe/Multiple_messages_and_errors_and_messages (10.00s) [2022-06-29T01:02:42.852Z] client_test.go:496: Timed out waiting for messages [2022-06-29T01:02:42.852Z] testing.go:1152: race detected during execution of test [2022-06-29T01:02:42.852Z] FAIL [2022-06-29T01:02:42.852Z] coverage: 70.2% of statements [2022-06-29T01:02:42.852Z] FAIL github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 10.109s [2022-06-29T01:02:42.852Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-06-29T01:02:49.555Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.472s coverage: 83.8% of statements [2022-06-29T01:02:49.555Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.069s coverage: 85.7% of statements [2022-06-29T01:02:49.555Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-06-29T01:02:49.555Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.074s coverage: 100.0% of statements [2022-06-29T01:02:49.555Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.064s coverage: 100.0% of statements [2022-06-29T01:02:49.555Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.067s coverage: 90.9% of statements [2022-06-29T01:02:49.555Z] FAIL [2022-06-29T01:02:49.829Z] make: *** [Makefile:10: unittest] Error 1 [Pipeline] } [2022-06-29T01:02:49.870Z] $ docker stop --time=1 aeffc40edda178a48539dc0a7e2f208357be2ba65b3fc9fdd3000883dc7472d5 [2022-06-29T01:02:51.613Z] $ 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 [2022-06-29T01:02:53.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T01:02:53.181Z] [2022-06-29T01:02:53.181Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T01:02:53.603Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T01:02:53.877Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T01:02:53.877Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T01:02:53.877Z] 04944245beec: Pulling fs layer [2022-06-29T01:02:53.877Z] 699f458cf7ca: Pulling fs layer [2022-06-29T01:02:53.877Z] 765212b225bb: Pulling fs layer [2022-06-29T01:02:53.877Z] f23df028b6ca: Pulling fs layer [2022-06-29T01:02:53.877Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T01:02:53.877Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T01:02:53.877Z] f23df028b6ca: Waiting [2022-06-29T01:02:53.877Z] 765212b225bb: Waiting [2022-06-29T01:02:53.877Z] d65c8cfc05b1: Waiting [2022-06-29T01:02:53.877Z] 2437ff75d9bd: Waiting [2022-06-29T01:02:53.877Z] 04944245beec: Verifying Checksum [2022-06-29T01:02:53.877Z] 04944245beec: Download complete [2022-06-29T01:02:53.877Z] 765212b225bb: Verifying Checksum [2022-06-29T01:02:53.877Z] 765212b225bb: Download complete [2022-06-29T01:02:53.877Z] f23df028b6ca: Verifying Checksum [2022-06-29T01:02:53.877Z] f23df028b6ca: Download complete [2022-06-29T01:02:53.877Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T01:02:53.877Z] d65c8cfc05b1: Download complete [2022-06-29T01:02:54.152Z] 699f458cf7ca: Verifying Checksum [2022-06-29T01:02:54.152Z] 699f458cf7ca: Download complete [2022-06-29T01:02:54.433Z] 8998bd30e6a1: Download complete [2022-06-29T01:02:57.072Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T01:02:57.072Z] 2437ff75d9bd: Download complete [2022-06-29T01:02:59.053Z] 8998bd30e6a1: Pull complete [2022-06-29T01:02:59.327Z] 04944245beec: Pull complete [2022-06-29T01:03:00.767Z] 699f458cf7ca: Pull complete [2022-06-29T01:03:01.045Z] 765212b225bb: Pull complete [2022-06-29T01:03:01.643Z] f23df028b6ca: Pull complete [2022-06-29T01:03:01.916Z] d65c8cfc05b1: Pull complete [2022-06-29T01:03:17.001Z] 2437ff75d9bd: Pull complete [2022-06-29T01:03:17.001Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T01:03:17.001Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T01:03:17.001Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T01:03:17.415Z] prd-ubuntu20.04-docker-arm64-4c-16g-16294 does not seem to be running inside a container [2022-06-29T01:03:17.507Z] $ 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 [2022-06-29T01:03:20.036Z] $ docker top fe3659c176d8f059b9a19f4a4cb2c6e9585be00f6ef0d3a55682d98bd7a96913 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T01:03:21.046Z] ---> job-cost.sh [2022-06-29T01:03:21.046Z] lf-activate-venv: SKIPPING [2022-06-29T01:03:21.046Z] INFO: No Stack... [2022-06-29T01:03:21.639Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T01:03:22.615Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T01:03:23.295Z] + cat /w/workspace/go-mod-messaging/1/archives/cost.csv [2022-06-29T01:03:23.295Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T01:03:23.379Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] [2022-06-29T01:03:23.384Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] did not exist. Created. [2022-06-29T01:03:23.384Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T01:03:24.144Z] /w/workspace/go-mod-messaging/1@tmp/durable-19d91e70/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T01:03:24.847Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T01:03:24.883Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T01:03:25.336Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T01:03:25.353Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-158-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T01:03:25.451Z] $ docker stop --time=1 fe3659c176d8f059b9a19f4a4cb2c6e9585be00f6ef0d3a55682d98bd7a96913 [2022-06-29T01:03:26.962Z] $ 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] } [2022-06-29T01:03:27.770Z] 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 [2022-06-29T01:03:29.820Z] + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-158/archives ] [2022-06-29T01:03:29.820Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-158/archives [2022-06-29T01:03:29.820Z] total 16 [2022-06-29T01:03:29.820Z] drwxr-xr-x 3 root root 4096 Jun 29 00:57 . [2022-06-29T01:03:29.820Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 00:57 .. [2022-06-29T01:03:29.820Z] drwxr-xr-x 2 root root 4096 Jun 29 00:57 cost [2022-06-29T01:03:29.820Z] -rw-r--r-- 1 root root 87 Jun 29 00:57 cost.csv [2022-06-29T01:03:29.820Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-158/archives [2022-06-29T01:03:29.820Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-158/archives [2022-06-29T01:03:29.820Z] total 16 [2022-06-29T01:03:29.820Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 00:57 . [2022-06-29T01:03:29.820Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 00:57 .. [2022-06-29T01:03:29.820Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 00:57 cost [2022-06-29T01:03:29.820Z] -rw-r--r-- 1 jenkins jenkins 87 Jun 29 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T01:03:30.152Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T01:03:31.060Z] ---> package-listing.sh [2022-06-29T01:03:31.060Z] ++ facter osfamily [2022-06-29T01:03:31.060Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T01:03:31.322Z] + OS_FAMILY=debian [2022-06-29T01:03:31.322Z] + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-158 [2022-06-29T01:03:31.322Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T01:03:31.322Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T01:03:31.322Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T01:03:31.322Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T01:03:31.322Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-158 ']' [2022-06-29T01:03:31.322Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T01:03:31.322Z] + case "${OS_FAMILY}" in [2022-06-29T01:03:31.322Z] + dpkg -l [2022-06-29T01:03:31.322Z] + grep '^ii' [2022-06-29T01:03:31.322Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T01:03:31.322Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T01:03:31.322Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T01:03:31.322Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-158 ']' [2022-06-29T01:03:31.322Z] + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-158/archives/ [2022-06-29T01:03:31.322Z] + 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 [2022-06-29T01:03:31.356Z] 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 [2022-06-29T01:03:31.660Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T01:03:32.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T01:03:32.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T01:03:32.457Z] prd-ubuntu20.04-docker-8c-8g-16293 does not seem to be running inside a container [2022-06-29T01:03:32.492Z] $ 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 [2022-06-29T01:03:32.689Z] $ docker top 089dd93a33ae425513f0d4c8d9b15313690f4637086987ee0fdb75c232a942da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T01:03:33.098Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T01:03:33.420Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T01:03:33.734Z] + ls /var/log/sa-host [2022-06-29T01:03:33.734Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T01:03:33.929Z] provisioning config files... [2022-06-29T01:03:33.944Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-158@tmp/config736481361410660241tmp [Pipeline] { [Pipeline] echo [2022-06-29T01:03:33.997Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T01:03:34.320Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T01:03:34.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T01:03:34.804Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T01:03:34.843Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T01:03:35.181Z] ---> sudo-logs.sh [2022-06-29T01:03:35.182Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T01:03:35.264Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T01:03:35.579Z] ---> job-cost.sh [2022-06-29T01:03:35.579Z] lf-activate-venv: SKIPPING [2022-06-29T01:03:35.579Z] DEBUG: total: 0.2199999988079071 [2022-06-29T01:03:35.579Z] INFO: Retrieving Stack Cost... [2022-06-29T01:03:35.839Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T01:03:36.410Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T01:03:36.441Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T01:03:36.750Z] ---> logs-deploy.sh [2022-06-29T01:03:36.750Z] lf-activate-venv: SKIPPING [2022-06-29T01:03:36.750Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-158/1 [2022-06-29T01:03:36.750Z] INFO: archiving workspace using pattern(s): [2022-06-29T01:03:37.689Z] Archives upload complete. [2022-06-29T01:03:37.689Z] INFO: archiving logs to Nexus